[Java] Class GroovyParser.ScriptStatementContext
- org.apache.groovy.parser.antlr4.GroovyParser.ScriptStatementContext
public static class GroovyParser.ScriptStatementContext extends GroovyParserRuleContext
Constructor Summary
Constructor and description |
---|
ScriptStatementContext
(ParserRuleContext parent, int invokingState) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
<Result> | public Result |
accept(ParseTreeVisitor<? extends Result> visitor) |
public int |
getRuleIndex() | |
public ImportDeclarationContext |
importDeclaration() | |
public MethodDeclarationContext |
methodDeclaration() | |
public StatementContext |
statement() | |
public TypeDeclarationContext |
typeDeclaration() |
Constructor Detail
public ScriptStatementContext(ParserRuleContext parent, int invokingState)
Method Detail
<Result> @Override public Result accept(ParseTreeVisitor<? extends Result> visitor)
@Override public int getRuleIndex()
public ImportDeclarationContext importDeclaration()
public MethodDeclarationContext methodDeclaration()
public StatementContext statement()
public TypeDeclarationContext typeDeclaration()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/parser/antlr4/GroovyParser.ScriptStatementContext.html