public class ASTConstant extends SimpleNode
Node.HookKey
Constructor and Description |
---|
ASTConstant(int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the name associated with the node (if any).
|
Operator |
getOperator()
Return the operator associated with a Node (if any)
|
PostfixMathCommandI |
getPFMC()
Return the pfmc of a node (if any)
|
java.lang.Object |
getValue()
Return the value associated with the node (if any).
|
Variable |
getVar()
Return the variable associated with a Node (if any)
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setValue(java.lang.Object val) |
java.lang.String |
toString() |
childIterator, children, childrenAccept, dump, getHook, getId, hookKeys, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, removeHook, setHook, toString
public void setValue(java.lang.Object val)
public java.lang.Object getValue()
Node
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data) throws JepException
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
JepException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
Node
public Operator getOperator()
Node
public PostfixMathCommandI getPFMC()
Node
Copyright © 2018 Singular Systems http://www.singularsys.com/jep