Class ASTSubtractNode

    • Constructor Detail

      • ASTSubtractNode

        public ASTSubtractNode​(int id)
        Parameters:
        id -
      • ASTSubtractNode

        public ASTSubtractNode​(Parser p,
                               int id)
        Parameters:
        p -
        id -
    • Method Detail

      • perform

        public java.lang.Number perform​(java.lang.Number left,
                                        java.lang.Number right,
                                        InternalContextAdapter context)
        Description copied from class: ASTMathNode
        Performs the math operation represented by this node.
        Specified by:
        perform in class ASTMathNode