Class ParserPluginFactory

java.lang.Object
org.codehaus.groovy.control.ParserPluginFactory
Direct Known Subclasses:
Antlr4PluginFactory, AntlrParserPluginFactory

public abstract class ParserPluginFactory
extends Object
A factory of parser plugin instances.
  • Constructor Details

    • ParserPluginFactory

      public ParserPluginFactory()
  • Method Details

    • createParserPlugin

      public abstract ParserPlugin createParserPlugin()
    • antlr4

      public static ParserPluginFactory antlr4()
      Creates the ANTLR 4 parser.
      Returns:
      the factory for the parser
    • antlr2

      @Deprecated public static ParserPluginFactory antlr2()
      Deprecated.
      Creates the ANTLR 2 parser.
      Returns:
      the factory for the parser