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 Objectexecute(Operator op, SyntaxTree tree) Executes anoperationon the specifiedsyntax tree's children.Methods inherited from interface org.scijava.parsington.eval.Evaluator
get, get, getParser, isStrict, set, set, setAll, setStrict, value, varMethods 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, unsignedRightShiftAssignMethods inherited from interface org.scijava.parsington.eval.TreeEvaluator
evaluate, evaluate, evaluate
-
Method Details
-
execute
Description copied from interface:TreeEvaluatorExecutes anoperationon the specifiedsyntax tree's children.- Specified by:
executein interfaceTreeEvaluator- Parameters:
op- The operator to execute.tree- The syntax tree containing the arguments to pass.- Returns:
- The result of the operation.
-