public static class GroovyParser.MethodDeclarationContext extends GroovyParser.GroovyParserRuleContext
Constructor and Description |
---|
MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState,
int t,
int ct) |
Modifier and Type | Method and Description |
---|---|
<Result> Result |
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor) |
org.antlr.v4.runtime.tree.TerminalNode |
DEFAULT() |
GroovyParser.ElementValueContext |
elementValue() |
GroovyParser.FormalParametersContext |
formalParameters() |
int |
getRuleIndex() |
org.antlr.v4.runtime.tree.TerminalNode |
LPAREN() |
GroovyParser.MethodBodyContext |
methodBody() |
GroovyParser.MethodNameContext |
methodName() |
GroovyParser.ModifiersOptContext |
modifiersOpt() |
List<? extends GroovyParser.NlsContext> |
nls() |
GroovyParser.NlsContext |
nls(int i) |
GroovyParser.QualifiedClassNameListContext |
qualifiedClassNameList() |
GroovyParser.ReturnTypeContext |
returnType() |
GroovyParser.RparenContext |
rparen() |
org.antlr.v4.runtime.tree.TerminalNode |
THROWS() |
GroovyParser.TypeParametersContext |
typeParameters() |
getMetaDataMap, setMetaDataMap
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, emptyContext, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
depth, getAltNumber, getChildContext, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
public MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t, int ct)
public GroovyParser.ReturnTypeContext returnType()
public GroovyParser.MethodNameContext methodName()
public org.antlr.v4.runtime.tree.TerminalNode LPAREN()
public GroovyParser.RparenContext rparen()
public org.antlr.v4.runtime.tree.TerminalNode DEFAULT()
public List<? extends GroovyParser.NlsContext> nls()
public GroovyParser.NlsContext nls(int i)
public GroovyParser.ElementValueContext elementValue()
public GroovyParser.ModifiersOptContext modifiersOpt()
public GroovyParser.FormalParametersContext formalParameters()
public GroovyParser.TypeParametersContext typeParameters()
public org.antlr.v4.runtime.tree.TerminalNode THROWS()
public GroovyParser.QualifiedClassNameListContext qualifiedClassNameList()
public GroovyParser.MethodBodyContext methodBody()
public int getRuleIndex()
getRuleIndex
in class org.antlr.v4.runtime.RuleContext
public <Result> Result accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)
accept
in interface org.antlr.v4.runtime.tree.ParseTree
accept
in class org.antlr.v4.runtime.RuleContext