W3cubDocs

/Groovy 3.0

[Java] Class ParserPluginFactory

  • org.codehaus.groovy.control.ParserPluginFactory
public abstract class ParserPluginFactory
extends Object

A factory of parser plugin instances.

Methods Summary

Methods
Type Params Return Type Name and description
public static ParserPluginFactory antlr2()
Creates the ANTLR 2 parser.
public static ParserPluginFactory antlr4()
Creates the ANTLR 4 parser.
public abstract ParserPlugin createParserPlugin()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Method Detail

@Deprecated public static ParserPluginFactory antlr2()

Creates the ANTLR 2 parser.

Returns:
the factory for the parser

public static ParserPluginFactory antlr4()

Creates the ANTLR 4 parser.

Returns:
the factory for the parser

public abstract ParserPlugin createParserPlugin()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/ParserPluginFactory.html