java.lang.Object antlr.BaseAST antlr.CommonAST
Common AST node implementation
Constructor Summary | |
CommonAST()
|
|
CommonAST(Token tok)
|
Method Summary | |
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 tok)
|
void |
setText(java.lang.String text_)
Set the token text for this node |
void |
setType(int ttype_)
Set the token type for this node |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CommonAST()
public CommonAST(Token tok)
Method Detail |
public java.lang.String getText()
getText
in interface AST
getText
in class BaseAST
public int getType()
getType
in interface AST
getType
in class BaseAST
public void initialize(int t, java.lang.String txt)
initialize
in interface AST
initialize
in class BaseAST
public void initialize(AST t)
initialize
in interface AST
initialize
in class BaseAST
public void initialize(Token tok)
initialize
in interface AST
initialize
in class BaseAST
public void setText(java.lang.String text_)
setText
in interface AST
setText
in class BaseAST
public void setType(int ttype_)
setType
in interface AST
setType
in class BaseAST