public abstract class AbstractStandardStackEvaluator extends AbstractStackEvaluator implements StandardEvaluator
Constructor and Description |
---|
AbstractStandardStackEvaluator() |
AbstractStandardStackEvaluator(ExpressionParser parser) |
evaluate
evaluate, evaluate, get, getParser, isStrict, set, setAll, setStrict, value
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, bitwiseAnd, bitwiseOr, braces, brackets, colon, complement, div, dot, dotDiv, dotMul, dotPow, dotRightDiv, dotTranspose, equal, function, greaterThan, greaterThanOrEqual, instanceOf, leftShift, lessThan, lessThanOrEqual, logicalAnd, logicalOr, mod, mul, neg, not, notEqual, parens, pos, pow, rightDiv, rightShift, sub, transpose, unsignedRightShift
public AbstractStandardStackEvaluator()
public AbstractStandardStackEvaluator(ExpressionParser parser)
public Object postInc(Object a)
StandardEvaluator
Operators.POST_INC
operator.postInc
in interface StandardEvaluator
public Object postDec(Object a)
StandardEvaluator
Operators.POST_DEC
operator.postDec
in interface StandardEvaluator
public Object preInc(Object a)
StandardEvaluator
Operators.PRE_INC
operator.preInc
in interface StandardEvaluator
public Object preDec(Object a)
StandardEvaluator
Operators.PRE_DEC
operator.preDec
in interface StandardEvaluator
public Object assign(Object a, Object b)
StandardEvaluator
Operators.ASSIGN
operator.assign
in interface StandardEvaluator
public Object powAssign(Object a, Object b)
StandardEvaluator
Operators.POW_ASSIGN
operator.powAssign
in interface StandardEvaluator
public Object dotPowAssign(Object a, Object b)
StandardEvaluator
Operators.DOT_POW_ASSIGN
operator.dotPowAssign
in interface StandardEvaluator
public Object mulAssign(Object a, Object b)
StandardEvaluator
Operators.MUL_ASSIGN
operator.mulAssign
in interface StandardEvaluator
public Object divAssign(Object a, Object b)
StandardEvaluator
Operators.DIV_ASSIGN
operator.divAssign
in interface StandardEvaluator
public Object modAssign(Object a, Object b)
StandardEvaluator
Operators.MOD_ASSIGN
operator.modAssign
in interface StandardEvaluator
public Object rightDivAssign(Object a, Object b)
StandardEvaluator
Operators.RIGHT_DIV_ASSIGN
operator.rightDivAssign
in interface StandardEvaluator
public Object dotDivAssign(Object a, Object b)
StandardEvaluator
Operators.DOT_DIV_ASSIGN
operator.dotDivAssign
in interface StandardEvaluator
public Object dotRightDivAssign(Object a, Object b)
StandardEvaluator
Operators.DOT_RIGHT_DIV_ASSIGN
operator.dotRightDivAssign
in interface StandardEvaluator
public Object addAssign(Object a, Object b)
StandardEvaluator
Operators.ADD_ASSIGN
operator.addAssign
in interface StandardEvaluator
public Object subAssign(Object a, Object b)
StandardEvaluator
Operators.SUB_ASSIGN
operator.subAssign
in interface StandardEvaluator
public Object andAssign(Object a, Object b)
StandardEvaluator
Operators.AND_ASSIGN
operator.andAssign
in interface StandardEvaluator
public Object orAssign(Object a, Object b)
StandardEvaluator
Operators.OR_ASSIGN
operator.orAssign
in interface StandardEvaluator
public Object leftShiftAssign(Object a, Object b)
StandardEvaluator
Operators.LEFT_SHIFT_ASSIGN
operator.leftShiftAssign
in interface StandardEvaluator
public Object rightShiftAssign(Object a, Object b)
StandardEvaluator
Operators.RIGHT_SHIFT_ASSIGN
operator.rightShiftAssign
in interface StandardEvaluator
public Object unsignedRightShiftAssign(Object a, Object b)
StandardEvaluator
Operators.UNSIGNED_RIGHT_SHIFT_ASSIGN
operator.unsignedRightShiftAssign
in interface StandardEvaluator
public Object execute(Operator op, Deque<Object> stack)
StackEvaluator
operation
with the specified value
stack.execute
in interface StackEvaluator
Copyright © 2015–2022 SciJava. All rights reserved.