public class CommonAST extends BaseAST
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
text |
(package private) int |
ttype |
Modifier and Type | Method and Description |
---|---|
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
|
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
public CommonAST()
public CommonAST(Token tok)
public java.lang.String getText()
public int getType()
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_)