public class CommonAST extends BaseAST
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
text |
(package private) int |
ttype |
| Modifier and Type | Method and Description |
|---|---|
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,
String txt) |
void |
initialize(Token tok) |
void |
setText(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, xmlSerializeRootOpenint ttype
String text
public CommonAST()
public CommonAST(Token tok)
public String getText()
public int getType()
public void initialize(int t,
String txt)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(AST t)
initialize in interface ASTinitialize in class BaseASTpublic void initialize(Token tok)
initialize in interface ASTinitialize in class BaseASTpublic void setText(String text_)