Class SubtractionExpression

  • All Implemented Interfaces:
    Expression

    public final class SubtractionExpression
    extends ArithmeticExpression
    One of the four binary operators. A subtraction is the inverse of addition, it is a mathematical operation representing the removal of the second operand from the first operand.
    BNF: arithmetic_expression ::= arithmetic_expression - arithmetic_term

    Version:
    2.4
    Author:
    Pascal Filion
    Since:
    2.3
    • Constructor Detail

      • SubtractionExpression

        public SubtractionExpression​(AbstractExpression parent)
        Creates a new SubtractionExpression.
        Parameters:
        parent - The parent of this expression