Package com.udojava.evalex
Class Expression.UnaryOperator
- java.lang.Object
-
- com.udojava.evalex.AbstractLazyOperator
-
- com.udojava.evalex.AbstractOperator
-
- com.udojava.evalex.AbstractUnaryOperator
-
- com.udojava.evalex.Expression.UnaryOperator
-
- All Implemented Interfaces:
LazyOperator,Operator
- Enclosing class:
- Expression
public abstract class Expression.UnaryOperator extends AbstractUnaryOperator
Abstract definition of a prefix unary operator with right-side operand. It is defined by its name (pattern), precedence and if it is left- or right-associative. For this class, the operator is expected to have the single operand to its right.
-
-
Field Summary
-
Fields inherited from class com.udojava.evalex.AbstractLazyOperator
booleanOperator, leftAssoc, oper, precedence, unaryOperator
-
-
Constructor Summary
Constructors Constructor Description UnaryOperator(java.lang.String oper, int precedence, boolean leftAssoc)
-
Method Summary
-
Methods inherited from class com.udojava.evalex.AbstractUnaryOperator
eval, eval, evalUnary
-
Methods inherited from class com.udojava.evalex.AbstractLazyOperator
getOper, getPrecedence, isBooleanOperator, isLeftAssoc, isUnaryOperator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.udojava.evalex.LazyOperator
getOper, getPrecedence, isBooleanOperator, isLeftAssoc, isUnaryOperator
-
-