org.cheffo.jeplite
Class ASTConstant
java.lang.Object
|
+--org.cheffo.jeplite.SimpleNode
|
+--org.cheffo.jeplite.ASTConstant
- public final class ASTConstant
- extends SimpleNode
Methods inherited from class org.cheffo.jeplite.SimpleNode |
childrenAccept, getName, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setName |
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(org.cheffo.jeplite.Parser p,
int id)
setValue
public final void setValue(double val)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleNode
getValue
public final double getValue()
- Overrides:
getValue
in class SimpleNode
getValue
public final void getValue(DoubleStack stack)
- Overrides:
getValue
in class SimpleNode