Class AdditionExpressionStateObject

All Implemented Interfaces:
StateObject

public class AdditionExpressionStateObject extends ArithmeticExpressionStateObject
TODO:

BNF: arithmetic_expression ::= arithmetic_expression + arithmetic_term

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

    • AdditionExpressionStateObject

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

      public AdditionExpressionStateObject(StateObject parent, StateObject leftStateObject, StateObject rightStateObject)
      Creates a new AdditionExpressionStateObject.
      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
    • AdditionExpressionStateObject

      public AdditionExpressionStateObject(StateObject parent, String leftJpqlFragment, String rightJpqlFragment)
      Creates a new AdditionExpressionStateObject.
      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