Class OperatorNode

  • All Implemented Interfaces:
    ExpNode
    Direct Known Subclasses:
    BinaryExpNode, UnaryExpNode

    public abstract class OperatorNode
    extends java.lang.Object
    implements ExpNode
    An expression node which is an operator (as opposed to an operand). Used to facilitate expression parsing
    • Constructor Detail

      • OperatorNode

        public OperatorNode()
    • Method Detail

      • isOperator

        public boolean isOperator()
        Description copied from interface: ExpNode
        Is this expression node an operator
        Specified by:
        isOperator in interface ExpNode
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object