|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ext.jl.ast.Ext_c
public abstract class 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 Ext
public Node node()
node
in interface Ext
public Ext ext()
ext
in interface Ext
public Ext ext(Ext ext)
Ext
ext
in interface Ext
public java.lang.Object copy()
copy
in interface Copy
public java.lang.String toString()
toString
in class java.lang.Object
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 |