public class DefaultTreeEvaluator extends AbstractStandardEvaluator implements StandardTreeEvaluator
standard operators with
common built-in types (i.e.: Booleans, Strings and
Numbers). Simulates the ternary ?: operator including
short-circuiting.The main class, to give it a spin.| Constructor and Description |
|---|
DefaultTreeEvaluator() |
DefaultTreeEvaluator(ExpressionParser parser) |
add, add, add, add, add, add, add, add, bitwiseAnd, bitwiseAnd, bitwiseAnd, bitwiseAnd, bitwiseOr, bitwiseOr, bitwiseOr, bitwiseOr, braces, brackets, colon, complement, complement, complement, div, div, div, div, div, div, div, dot, dotDiv, dotMul, dotPow, dotRightDiv, dotTranspose, equal, function, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, instanceOf, leftShift, leftShift, leftShift, leftShift, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, logicalAnd, logicalAnd, logicalOr, logicalOr, mod, mod, mod, mod, mod, mod, mod, mul, mul, mul, mul, mul, mul, mul, neg, neg, neg, neg, neg, neg, neg, not, not, notEqual, parens, pos, pos, pos, pos, pos, pow, pow, pow, pow, question, rightDiv, rightShift, rightShift, rightShift, rightShift, sub, sub, sub, sub, sub, sub, sub, transpose, unsignedRightShift, unsignedRightShift, unsignedRightShiftget, getParser, isStrict, set, setAll, setStrictclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteadd, 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, unsignedRightShiftAssignevaluate, evaluate, evaluatepublic DefaultTreeEvaluator()
public DefaultTreeEvaluator(ExpressionParser parser)
Copyright © 2015–2023 SciJava. All rights reserved.