|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST com.evelopers.unimod.parser.ConstNode
AST node for numeric constant
Field Summary |
Fields inherited from class antlr.CommonAST |
|
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
ConstNode()
Does nothing. |
|
ConstNode(antlr.Token t)
Creates const for given token. |
Method Summary | |
int |
getValue()
Returns const int value. |
void |
setText(java.lang.String text)
Assigns value of constant. |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, initialize, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, 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 |
Constructor Detail |
public ConstNode()
public ConstNode(antlr.Token t)
t
- tokenMethod Detail |
public void setText(java.lang.String text)
text
- string presentation of constant valuepublic int getValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |