Class ParserPluginFactory

    • Constructor Detail

      • ParserPluginFactory

        public ParserPluginFactory()
    • Method Detail

      • antlr2

        public static ParserPluginFactory antlr2()
        creates the ANTLR 2.7 parser
        Returns:
        the factory for the parser
      • newInstance

        @Deprecated
        public static ParserPluginFactory newInstance​(boolean useNewParser)
        Deprecated.
        creates the ANTLR 2.7 parser. This method was used to switch between the pre JSR parser and the new ANTLR 2.7 based parser, but even before Groovy 1.0 this method was changed to always return the ANTLR 2.7 parser.
        Parameters:
        useNewParser - - ignored
        Returns:
        the ANTLR 2.7 based parser
      • newInstance

        @Deprecated
        public static ParserPluginFactory newInstance()
        Deprecated.
        creates the ANTLR 2.7 parser. This method was used to switch between the pre JSR parser and the new ANTLR 2.7 based parser, but even before Groovy 1.0 this method was changed to always return the ANTLR 2.7 parser.
        Returns:
        the new parser factory.
      • createParserPlugin

        public abstract ParserPlugin createParserPlugin()