Class DivisionExpressionStateObject

All Implemented Interfaces:
StateObject

public class DivisionExpressionStateObject extends ArithmeticExpressionStateObject
TODO:

BNF: arithmetic_expression ::= arithmetic_expression / arithmetic_term

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

    • DivisionExpressionStateObject

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

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

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