public class SequenceNode extends StructureNode
Node.HookKey
Constructor and Description |
---|
SequenceNode() |
Modifier and Type | Method and Description |
---|---|
void |
add(Node n)
Add the next node in the sequence.
|
java.lang.Object |
eval(Evaluator ev)
Will evaluate each of its children in turn.
|
java.lang.String |
toString() |
getName, getOperator, getPFMC, getValue, getVar, testCondition
childIterator, children, childrenAccept, dump, getHook, getId, hookKeys, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, removeHook, setHook, toString
public void add(Node n)
n
- node to addpublic java.lang.Object eval(Evaluator ev) throws EvaluationException
eval
in class StructureNode
ev
- The evaluator the Evaluator.eval(com.singularsys.jep.parser.Node)
can be used to evaluate children.EvaluationException
- if evaluation cannot be performedpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Singular Systems http://www.singularsys.com/jep