Class EncapsulatedIdentificationVariableExpression

    • Constructor Detail

      • EncapsulatedIdentificationVariableExpression

        protected EncapsulatedIdentificationVariableExpression​(AbstractExpression parent,
                                                               java.lang.String identifier)
        Creates a new MapEntryIdentificationVariableExpression.
        Parameters:
        parent - The parent of this expression
        identifier - The JPQL identifier that starts this expression
    • Method Detail

      • parse

        protected AbstractExpression parse​(WordParser wordParser,
                                           java.lang.String queryBNFId,
                                           boolean tolerant)
        Parses the given text by using the specified BNF.
        Overrides:
        parse in class AbstractExpression
        Parameters:
        wordParser - The text to parse based on the current position of the cursor
        queryBNFId - The unique identifier of the JPQLQueryBNF that is used to determine how to parse the text at the current cursor position within the JPQL query
        tolerant - Determines whether the parsing system should be tolerant, meaning if it should try to parse invalid or incomplete queries
        Returns:
        The Expression representing the given sub-query