Package org.codehaus.groovy.control
Class ParserPluginFactory
- java.lang.Object
-
- org.codehaus.groovy.control.ParserPluginFactory
-
- Direct Known Subclasses:
AntlrParserPluginFactory
public abstract class ParserPluginFactory extends Object
A factory of parser plugin instances
-
-
Constructor Summary
Constructors Constructor Description ParserPluginFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract ParserPlugin
createParserPlugin()
static ParserPluginFactory
newInstance()
Creates a new instance ofParserPluginFactory
.static ParserPluginFactory
newInstance(boolean useNewParser)
Deprecated.usenewInstance()
-
-
-
Method Detail
-
newInstance
@Deprecated public static ParserPluginFactory newInstance(boolean useNewParser)
Deprecated.usenewInstance()
Creates a new instance ofParserPluginFactory
.The
useNewParser
parameter is not used, and this method is kept for backward compatibility.- Parameters:
useNewParser
- unused.- Returns:
- the new parser factory.
-
newInstance
public static ParserPluginFactory newInstance()
Creates a new instance ofParserPluginFactory
.- Returns:
- the new parser factory.
-
createParserPlugin
public abstract ParserPlugin createParserPlugin()
-
-