com.singularsys.jep.parser
Class ASTConstant
java.lang.Object
com.singularsys.jep.parser.SimpleNode
com.singularsys.jep.parser.ASTConstant
- All Implemented Interfaces:
- Node
public class ASTConstant
- extends SimpleNode
Constant Node
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 |
ASTConstant
public ASTConstant(int id)
ASTConstant
public ASTConstant(Parser p,
int id)
setValue
public void setValue(java.lang.Object val)
getValue
public java.lang.Object getValue()
jjtAccept
public java.lang.Object jjtAccept(ParserVisitor visitor,
java.lang.Object data)
throws JepException
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
- Throws:
JepException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007 Singular Systems http://www.singularsys.com/jep