Class 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.
    • Constructor Detail

      • UnaryOperator

        public UnaryOperator​(java.lang.String oper,
                             int precedence,
                             boolean leftAssoc)