Class AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression>

    • Constructor Detail

      • AbstractTripleEncapsulatedExpressionHelper

        protected AbstractTripleEncapsulatedExpressionHelper​(AbstractGrammarValidator validator)
    • Method Detail

      • firstCommaMissingKey

        protected abstract java.lang.String firstCommaMissingKey()
      • firstExpressionInvalidKey

        protected abstract java.lang.String firstExpressionInvalidKey()
      • firstExpressionLength

        protected int firstExpressionLength​(T expression)
      • firstExpressionMissingKey

        protected abstract java.lang.String firstExpressionMissingKey()
      • hasFirstExpression

        protected boolean hasFirstExpression​(T expression)
      • hasSecondExpression

        protected boolean hasSecondExpression​(T expression)
      • hasThirdExpression

        protected boolean hasThirdExpression​(T expression)
      • isFirstExpressionValid

        protected boolean isFirstExpressionValid​(T expression)
      • isRightParenthesisMissing

        protected boolean isRightParenthesisMissing​(T expression)
        Determines whether the right parenthesis is missing from the given expression.
        Parameters:
        expression - The Expression to verify for the existence of the right parenthesis by determining if the encapsulated information has been parsed or not
        Returns:
        true if the encapsulated information was parsed and the right parenthesis is missing; false in any other case
      • isSecondExpressionValid

        protected boolean isSecondExpressionValid​(T expression)
      • isThirdExpressionValid

        protected boolean isThirdExpressionValid​(T expression)
      • secondCommaMissingKey

        protected abstract java.lang.String secondCommaMissingKey()
      • secondExpressionInvalidKey

        protected abstract java.lang.String secondExpressionInvalidKey()
      • secondExpressionLength

        protected int secondExpressionLength​(T expression)
      • secondExpressionMissingKey

        protected abstract java.lang.String secondExpressionMissingKey()
      • thirdExpressionInvalidKey

        protected abstract java.lang.String thirdExpressionInvalidKey()
      • thirdExpressionLength

        protected int thirdExpressionLength​(T expression)
      • thirdExpressionMissingKey

        protected abstract java.lang.String thirdExpressionMissingKey()