|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.ASTNULLType
There is only one instance of this class
Constructor Summary | |
ASTNULLType()
|
Method Summary | |
void |
addChild(AST c)
Add a (rightmost) child to this node |
boolean |
equals(AST t)
|
boolean |
equalsList(AST t)
|
boolean |
equalsListPartial(AST t)
|
boolean |
equalsTree(AST t)
|
boolean |
equalsTreePartial(AST t)
|
ASTEnumeration |
findAll(AST tree)
|
ASTEnumeration |
findAllPartial(AST subtree)
|
AST |
getFirstChild()
Get the first child of this node; null if no children |
AST |
getNextSibling()
Get the next sibling in line after this one |
java.lang.String |
getText()
Get the token text for this node |
int |
getType()
Get the token type for this node |
void |
initialize(AST t)
|
void |
initialize(int t,
java.lang.String txt)
|
void |
initialize(Token t)
|
void |
setFirstChild(AST c)
Set the first child of a node. |
void |
setNextSibling(AST n)
Set the next sibling after this one. |
void |
setText(java.lang.String text)
Set the token text for this node |
void |
setType(int ttype)
Set the token type for this node |
java.lang.String |
toString()
|
java.lang.String |
toStringList()
|
java.lang.String |
toStringTree()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ASTNULLType()
Method Detail |
public void addChild(AST c)
AST
addChild
in interface AST
public boolean equals(AST t)
equals
in interface AST
public boolean equalsList(AST t)
equalsList
in interface AST
public boolean equalsListPartial(AST t)
equalsListPartial
in interface AST
public boolean equalsTree(AST t)
equalsTree
in interface AST
public boolean equalsTreePartial(AST t)
equalsTreePartial
in interface AST
public ASTEnumeration findAll(AST tree)
findAll
in interface AST
public ASTEnumeration findAllPartial(AST subtree)
findAllPartial
in interface AST
public AST getFirstChild()
AST
getFirstChild
in interface AST
public AST getNextSibling()
AST
getNextSibling
in interface AST
public java.lang.String getText()
AST
getText
in interface AST
public int getType()
AST
getType
in interface AST
public void initialize(int t, java.lang.String txt)
initialize
in interface AST
public void initialize(AST t)
initialize
in interface AST
public void initialize(Token t)
initialize
in interface AST
public void setFirstChild(AST c)
AST
setFirstChild
in interface AST
public void setNextSibling(AST n)
AST
setNextSibling
in interface AST
public void setText(java.lang.String text)
AST
setText
in interface AST
public void setType(int ttype)
AST
setType
in interface AST
public java.lang.String toString()
toString
in interface AST
toString
in class java.lang.Object
public java.lang.String toStringList()
toStringList
in interface AST
public java.lang.String toStringTree()
toStringTree
in interface AST
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |