public class Assign extends PostfixMathCommand implements CallbackEvaluationI
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Assign() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Node node,
EvaluatorI pv)
For assignment set the value of the variable on the lhs to value returned by evaluating the righthand side.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, run, setCurNumberOfParameterspublic Object evaluate(Node node, EvaluatorI pv) throws ParseException
evaluate in interface CallbackEvaluationInode - The current nodepv - The visitor, can be used evaluate the childrenParseExceptionCopyright © 2018. All rights reserved.