|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.singularsys.jep.parser.SimpleNode
com.singularsys.jep.parser.ASTVarNode
public class ASTVarNode
Variable Node
Field Summary |
---|
Fields inherited from class com.singularsys.jep.parser.SimpleNode |
---|
children, hooks, id, parent, parser |
Constructor Summary | |
---|---|
ASTVarNode(int id)
|
|
ASTVarNode(Parser p,
int id)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the variable. |
java.lang.Object |
getValue()
Return the value represented by the variable |
Variable |
getVar()
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
setVar(Variable variable)
Sets the name of the variable. |
java.lang.String |
toString()
Creates a string containing the variable's name and value |
Methods inherited from class com.singularsys.jep.parser.SimpleNode |
---|
childrenAccept, dump, getHook, getId, hookKeys, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setHook, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASTVarNode(int id)
public ASTVarNode(Parser p, int id)
Method Detail |
---|
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data) throws JepException
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
JepException
public void setVar(Variable variable)
public Variable getVar()
public java.lang.String getName()
public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |