org.nfunk.jep
Class ASTConstant
java.lang.Object
org.nfunk.jep.SimpleNode
org.nfunk.jep.ASTConstant
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- ASTMConstant
public class ASTConstant
- extends SimpleNode
Constant Node
| Methods inherited from class org.nfunk.jep.SimpleNode |
childrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString |
ASTConstant
public ASTConstant(int id)
ASTConstant
public ASTConstant(Parser p,
int id)
setValue
public void setValue(Object val)
getValue
public Object getValue()
jjtAccept
public Object jjtAccept(ParserVisitor visitor,
Object data)
throws ParseException
- Accept the visitor.
- Specified by:
jjtAccept in interface Node- Overrides:
jjtAccept in class SimpleNode
- Throws:
ParseException
toString
public String toString()
- Overrides:
toString in class SimpleNode
Copyright © 2014. All rights reserved.