Class SubtractionExpressionStateObject

All Implemented Interfaces:
StateObject

public class SubtractionExpressionStateObject extends ArithmeticExpressionStateObject
TODO:

BNF: arithmetic_expression ::= arithmetic_expression - arithmetic_term

Since:
2.4
Version:
2.4
See Also:
  • Constructor Details

    • SubtractionExpressionStateObject

      public SubtractionExpressionStateObject(StateObject parent)
      Creates a new SubtractionExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      Throws:
      NullPointerException - The given parent cannot be null
    • SubtractionExpressionStateObject

      public SubtractionExpressionStateObject(StateObject parent, StateObject leftStateObject, StateObject rightStateObject)
      Creates a new SubtractionExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      leftStateObject - The StateObject representing the left expression
      rightStateObject - The StateObject representing the right expression
      Throws:
      NullPointerException - The given parent cannot be null
    • SubtractionExpressionStateObject

      public SubtractionExpressionStateObject(StateObject parent, String leftJpqlFragment, String rightJpqlFragment)
      Creates a new SubtractionExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      leftJpqlFragment - The string representation of the left expression to parse and to convert into a StateObject
      rightJpqlFragment - The string representation of the right expression to parse and to convert into a StateObject
      Throws:
      NullPointerException - The given parent cannot be null
  • Method Details