jigcell.sbml2.jep
Class ASTConstant
java.lang.Object
jigcell.sbml2.jep.SimpleNode
jigcell.sbml2.jep.ASTConstant
- All Implemented Interfaces:
- Node
public class ASTConstant
- extends SimpleNode
Constant Node
Field Summary |
private java.lang.Object |
value
|
Methods inherited from class jigcell.sbml2.jep.SimpleNode |
childrenAccept, childrenAcceptReverse, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
private java.lang.Object value
ASTConstant
public ASTConstant(int id)
ASTConstant
public ASTConstant(Parser p,
int id)
getValue
public java.lang.Object getValue()
jjtAccept
public java.lang.Object jjtAccept(ParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
setValue
public void setValue(java.lang.Object val)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleNode