Package org.apache.groovy.parser.antlr4
Class GroovyParser.ClassBodyDeclarationContext
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.ClassBodyDeclarationContext
- 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.ClassBodyDeclarationContext extends GroovyParser.GroovyParserRuleContext
- 
Field SummaryFields Modifier and Type Field Description inttFields inherited from class org.antlr.v4.runtime.ParserRuleContextchildren, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContextinvokingState, parent
- 
Constructor SummaryConstructors Constructor Description ClassBodyDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)ClassBodyDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t)
- 
Method SummaryModifier and Type Method Description <Result> Resultaccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)GroovyParser.BlockContextblock()intgetRuleIndex()GroovyParser.MemberDeclarationContextmemberDeclaration()GroovyParser.NlsContextnls()org.antlr.v4.runtime.tree.TerminalNodeSTATIC()Methods 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
 
- 
- 
Constructor Details- 
ClassBodyDeclarationContextpublic ClassBodyDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
- 
ClassBodyDeclarationContextpublic ClassBodyDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, int t)
 
- 
- 
Method Details- 
block
- 
STATICpublic org.antlr.v4.runtime.tree.TerminalNode STATIC()
- 
nls
- 
memberDeclaration
- 
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
 
 
-