groovy / 4.0.0 / org / apache / groovy / parser / antlr4 / abstractparser.html /

[Java] Class AbstractParser

  • org.apache.groovy.parser.antlr4.AbstractParser
All Implemented Interfaces and Traits:
SyntaxErrorReportable
public abstract class AbstractParser
extends org.apache.groovy.groovysh.Parser
implements SyntaxErrorReportable

Because antlr4 does not support generating parser with specified interface, we have to create a super class for it and implement the interface.

Inherited fields
Fields inherited from class Fields
class org.apache.groovy.groovysh.Parser __$stMC

Constructor Summary

Constructors
Constructor and description
AbstractParser(TokenStream input)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class org.apache.groovy.groovysh.Parser org.apache.groovy.groovysh.Parser#parse(java.util.Collection), org.apache.groovy.groovysh.Parser#setMetaClass(groovy.lang.MetaClass), org.apache.groovy.groovysh.Parser#getMetaClass(), org.apache.groovy.groovysh.Parser#$getLookup(), org.apache.groovy.groovysh.Parser#getNEWLINE(), org.apache.groovy.groovysh.Parser#wait(long, int), org.apache.groovy.groovysh.Parser#wait(), org.apache.groovy.groovysh.Parser#wait(long), org.apache.groovy.groovysh.Parser#equals(java.lang.Object), org.apache.groovy.groovysh.Parser#toString(), org.apache.groovy.groovysh.Parser#hashCode(), org.apache.groovy.groovysh.Parser#getClass(), org.apache.groovy.groovysh.Parser#notify(), org.apache.groovy.groovysh.Parser#notifyAll(), org.apache.groovy.groovysh.Parser#getProperty(java.lang.String), org.apache.groovy.groovysh.Parser#setProperty(java.lang.String, java.lang.Object), org.apache.groovy.groovysh.Parser#invokeMethod(java.lang.String, java.lang.Object)

Constructor Detail

public AbstractParser(TokenStream input)

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/parser/antlr4/AbstractParser.html