A factory of parser plugin instances
Type Params | Return Type | Name and description |
---|---|---|
|
static ParserPluginFactory |
antlr2() creates the ANTLR 2.7 parser |
|
static ParserPluginFactory |
antlr4() creates the ANTLR 4 parser |
|
ParserPlugin |
createParserPlugin() |
|
static ParserPluginFactory |
newInstance(boolean useNewParser) creates the ANTLR 2.7 parser. |
|
static ParserPluginFactory |
newInstance() creates the ANTLR 2.7 parser. |
creates the ANTLR 2.7 parser
creates the ANTLR 4 parser
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.
useNewParser
- - ignoredcreates 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.