| |
|
| persistence.antlr.collections.AST
All known Subclasses: persistence.antlr.BaseAST, persistence.antlr.ASTNULLType,
AST | public interface AST (Code) | | Minimal AST node interface used by ANTLR AST generation
and tree-walker.
|
addChild | public void addChild(AST c)(Code) | | Add a (rightmost) child to this node
|
equalsList | public boolean equalsList(AST t)(Code) | | |
equalsListPartial | public boolean equalsListPartial(AST t)(Code) | | |
equalsTree | public boolean equalsTree(AST t)(Code) | | |
equalsTreePartial | public boolean equalsTreePartial(AST t)(Code) | | |
getColumn | public int getColumn()(Code) | | since: 2.7.3 Need for error handling |
getFirstChild | public AST getFirstChild()(Code) | | Get the first child of this node; null if no children
|
getLine | public int getLine()(Code) | | since: 2.7.3 Need for error handling |
getNextSibling | public AST getNextSibling()(Code) | | Get the next sibling in line after this one
|
getNumberOfChildren | public int getNumberOfChildren()(Code) | | Get number of children of this node; if leaf, returns 0
|
getText | public String getText()(Code) | | Get the token text for this node
|
getType | public int getType()(Code) | | Get the token type for this node
|
initialize | public void initialize(AST t)(Code) | | |
setFirstChild | public void setFirstChild(AST c)(Code) | | Set the first child of a node.
|
setNextSibling | public void setNextSibling(AST n)(Code) | | Set the next sibling after this one.
|
setText | public void setText(String text)(Code) | | Set the token text for this node
|
setType | public void setType(int ttype)(Code) | | Set the token type for this node
|
|
|
|