Interface IParserConfiguration

    • Method Detail

      • getRootConsumer

        INonTerminalConsumer getRootConsumer()
        Return a references to the same and same again root consumer.
        Returns:
        a consumer that allows to parse the root node of a language.
      • createTerminalConsumers

        void createTerminalConsumers()
        Create any terminal consumers, that are required. This is the first method that is called during the lifecycle. Do not initialize them further. Therefore configureConsumers() will be called.
        See Also:
        configureConsumers()
      • createKeywordConsumer

        KeywordConsumer createKeywordConsumer()
        The created keyword consumer should not be referenced from the parser configuration.
        Returns:
        a fresh keyword consumer.
      • createLiteralConsumer

        EnumLiteralConsumer createLiteralConsumer()
        The created literal consumer should not be referenced from the parser configuration.
        Returns:
        a fresh literal consumer.
      • getInitialHiddenTerminals

        ITerminalConsumer[] getInitialHiddenTerminals()
        Provides access to the initial (e.g. default) hidden terminal consumers.
        Returns:
        the initial hidden terminals.