public class ControlNode extends StructureNode
break or continue.ControlRuleNode.HookKey| Modifier and Type | Field and Description |
|---|---|
static int |
CONTROL_ID |
| Constructor and Description |
|---|
ControlNode(java.lang.Object code)
Create a node which returns a specific value
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eval(Evaluator ev)
Returns the code value.
|
java.lang.Object |
getCode() |
java.lang.String |
toString() |
getName, getOperator, getPFMC, getValue, getVar, testConditionchildIterator, children, childrenAccept, dump, getHook, getId, hookKeys, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, removeHook, setHook, toStringpublic static final int CONTROL_ID
public ControlNode(java.lang.Object code)
code - the value to returnpublic java.lang.Object getCode()
public java.lang.Object eval(Evaluator ev)
eval in class StructureNodeev - The evaluator the Evaluator.eval(com.singularsys.jep.parser.Node) can be used to evaluate children.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 Singular Systems http://www.singularsys.com/jep