polyglot.ast
Interface Ext

All Superinterfaces:
java.lang.Cloneable, Copy
All Known Subinterfaces:
CofferExt, PaoExt
All Known Implementing Classes:
AssignDel_c, AssignExt_c, CofferExt_c, Ext_c, FreeExt_c, JL_c, LocalDeclExt_c, LocalExt_c, NewExt_c, PaoBinaryExt_c, PaoCastExt_c, PaoExt_c, PaoInstanceofDel_c, PaoInstanceofExt_c, ProcedureCallExt_c, ProcedureDeclExt_c, SpecialExt_c

public interface Ext
extends Copy

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.


Method Summary
 void dump(CodeWriter w)
          Dump the AST node for debugging purposes.
 Ext ext()
          An extension of this extension, 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()
          The node that we are extending.
 
Methods inherited from interface polyglot.util.Copy
copy
 

Method Detail

node

Node node()
The node that we are extending.


init

void init(Node node)
Initialize the extension object's pointer back to the node. This also initializes the back pointers for all extensions of the extension.


ext

Ext ext()
An extension of this extension, or null.


ext

Ext ext(Ext ext)
Set the extension of this extension.


dump

void dump(CodeWriter w)
Dump the AST node for debugging purposes.