public class OpEquals extends PostfixMathCommand implements CallbackEvaluationI
curNumberOfParameters, name, NaN, numberOfParameters
Constructor and Description |
---|
OpEquals(PostfixMathCommandI fun) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Node node,
Evaluator pv)
For assignment set the value of the variable on the lhs to value returned
by evaluating the right-hand side.
|
PostfixMathCommandI |
getRoot() |
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, run, setCurNumberOfParameters, setName, toString, toString
public OpEquals(PostfixMathCommandI fun)
public PostfixMathCommandI getRoot()
public java.lang.Object evaluate(Node node, Evaluator pv) throws EvaluationException
evaluate
in interface CallbackEvaluationI
node
- The current nodepv
- The visitor, can be used evaluate the childrenEvaluationException
- if the calculation cannot be performedEvaluator
Copyright © 2018 Singular Systems http://www.singularsys.com/jep