Package org.scijava.parsington.eval
Interface StandardTreeEvaluator
- All Superinterfaces:
Evaluator
,StandardEvaluator
,TreeEvaluator
- All Known Implementing Classes:
DefaultTreeEvaluator
Interface for tree-based evaluators which support the standard operators.
- Author:
- Curtis Rueden
-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
execute
(Operator op, SyntaxTree tree) Executes anoperation
on the specifiedsyntax tree
's children.Methods inherited from interface org.scijava.parsington.eval.Evaluator
get, get, getParser, isStrict, set, set, setAll, setStrict, value, var
Methods inherited from interface org.scijava.parsington.eval.StandardEvaluator
add, addAssign, andAssign, assign, bitwiseAnd, bitwiseOr, braces, brackets, colon, complement, div, divAssign, dot, dotDiv, dotDivAssign, dotMul, dotPow, dotPowAssign, dotRightDiv, dotRightDivAssign, dotTranspose, equal, execute, function, greaterThan, greaterThanOrEqual, instanceOf, leftShift, leftShiftAssign, lessThan, lessThanOrEqual, logicalAnd, logicalOr, mod, modAssign, mul, mulAssign, neg, not, notEqual, orAssign, parens, pos, postDec, postInc, pow, powAssign, preDec, preInc, question, rightDiv, rightDivAssign, rightShift, rightShiftAssign, sub, subAssign, transpose, unsignedRightShift, unsignedRightShiftAssign
Methods inherited from interface org.scijava.parsington.eval.TreeEvaluator
evaluate, evaluate, evaluate
-
Method Details
-
execute
Description copied from interface:TreeEvaluator
Executes anoperation
on the specifiedsyntax tree
's children.- Specified by:
execute
in interfaceTreeEvaluator
- Parameters:
op
- The operator to execute.tree
- The syntax tree containing the arguments to pass.- Returns:
- The result of the operation.
-