|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpolyglot.ext.jl.ast.Ext_c
Ext is the super type of all node extension objects.
It contains a pointer back to the node it is extending and a possibly-null
pointer to another extension node.
| Field Summary | |
protected Ext |
ext
|
protected Node |
node
|
| Constructor Summary | |
Ext_c()
|
|
Ext_c(Ext ext)
|
|
| Method Summary | |
java.lang.Object |
copy()
Copy the extension. |
void |
dump(CodeWriter w)
Dump the AST node for debugging purposes. |
Ext |
ext()
Return our extension object, or null. |
Ext |
ext(Ext ext)
Set the extension of this extension. |
void |
init(Node node)
Initialize the extension object's pointer back to the node. |
Node |
node()
Return the node we ultimately extend. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Node node
protected Ext ext
| Constructor Detail |
public Ext_c(Ext ext)
public Ext_c()
| Method Detail |
public void init(Node node)
init in interface Extpublic Node node()
node in interface Extpublic Ext ext()
ext in interface Extpublic Ext ext(Ext ext)
Ext
ext in interface Extpublic java.lang.Object copy()
copy in interface Copypublic java.lang.String toString()
public void dump(CodeWriter w)
dump in interface Ext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||