Package org.apache.groovy.parser.antlr4
Class GroovyParser.MethodDeclarationContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.MethodDeclarationContext
- All Implemented Interfaces:
- org.antlr.v4.runtime.tree.ParseTree,- org.antlr.v4.runtime.tree.RuleNode,- org.antlr.v4.runtime.tree.SyntaxTree,- org.antlr.v4.runtime.tree.Tree,- NodeMetaDataHandler
- Enclosing class:
- GroovyParser
public static class GroovyParser.MethodDeclarationContext
extends GroovyParser.GroovyParserRuleContext
- 
Field SummaryFieldsFields inherited from class org.antlr.v4.runtime.ParserRuleContextchildren, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContextinvokingState, parent
- 
Constructor SummaryConstructorsConstructorDescriptionMethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t, int ct) 
- 
Method SummaryMethods inherited from class org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContextgetMetaDataMap, setMetaDataMapMethods inherited from class org.antlr.v4.runtime.ParserRuleContextaddAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, emptyContext, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods inherited from class org.antlr.v4.runtime.RuleContextdepth, getAltNumber, getChildContext, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTreeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandlercopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
- 
Field Details- 
tpublic int t
- 
ctpublic int ct
 
- 
- 
Constructor Details- 
MethodDeclarationContextpublic MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) 
- 
MethodDeclarationContextpublic MethodDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t, int ct) 
 
- 
- 
Method Details- 
modifiersOpt
- 
methodName
- 
formalParameters
- 
typeParameters
- 
returnType
- 
nls
- 
nls
- 
DEFAULTpublic org.antlr.v4.runtime.tree.TerminalNode DEFAULT()
- 
elementValue
- 
THROWSpublic org.antlr.v4.runtime.tree.TerminalNode THROWS()
- 
qualifiedClassNameList
- 
methodBody
- 
getRuleIndexpublic int getRuleIndex()- Overrides:
- getRuleIndexin class- org.antlr.v4.runtime.RuleContext
 
- 
acceptpublic <Result> Result accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor) - Specified by:
- acceptin interface- org.antlr.v4.runtime.tree.ParseTree
- Overrides:
- acceptin class- org.antlr.v4.runtime.RuleContext
 
 
-