Class AbstractSingleEncapsulatedExpression

    • Method Detail

      • getEncapsulatedExpressionQueryBNFId

        public abstract String getEncapsulatedExpressionQueryBNFId()
        Returns the BNF used to parse the encapsulated expression.
        Returns:
        The BNF used to parse the encapsulated expression
      • getExpression

        public final Expression getExpression()
        Returns the Expression that is encapsulated within parenthesis.
        Returns:
        The Expression that is encapsulated within parenthesis
      • hasEncapsulatedExpression

        public boolean hasEncapsulatedExpression()
        Determines whether something was parsed after the left parenthesis.
        Specified by:
        hasEncapsulatedExpression in class AbstractEncapsulatedExpression
        Returns:
        true if something was parsed; false otherwise
      • hasExpression

        public final boolean hasExpression()
        Determines whether the encapsulated expression of the query was parsed.
        Returns:
        true if the encapsulated expression was parsed; false if it was not parsed