|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--antlr.BaseAST
|
+--antlr.CommonAST
Untamed: Common AST node implementation
| Field Summary | |
(package private) String |
text
|
(package private) int |
ttype
|
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
CommonAST()
Enabled: |
|
CommonAST(Token tok)
Enabled: |
|
| Method Summary | |
String |
getText()
Enabled: Get the token text for this node |
int |
getType()
Enabled: Get the token type for this node |
void |
initialize(AST t)
Enabled: |
void |
initialize(int t,
String txt)
Enabled: |
void |
initialize(Token tok)
Enabled: |
void |
setText(String text_)
Enabled: Set the token text for this node |
void |
setType(int ttype_)
Enabled: Set the token type for this node |
| Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
int ttype
String text
| Constructor Detail |
public CommonAST()
public CommonAST(Token tok)
| Method Detail |
public String getText()
getText in interface ASTgetText in class BaseASTpublic int getType()
getType in interface ASTgetType in class BaseAST
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_)
setText in interface ASTsetText in class BaseASTpublic void setType(int ttype_)
setType in interface ASTsetType in class BaseAST
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||