Package org.apache.groovy.parser.antlr4
Class GroovyParser.ClassDeclarationContext
- 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.ClassDeclarationContext
 
 
 
 
- 
- 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.ClassDeclarationContext extends GroovyParser.GroovyParserRuleContext 
- 
- 
Field SummaryFields Modifier and Type Field Description GroovyParser.TypeListContextisGroovyParser.TypeListContextscsintt
 - 
Constructor SummaryConstructors Constructor Description ClassDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <Result> Resultaccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)org.antlr.v4.runtime.tree.TerminalNodeAT()org.antlr.v4.runtime.tree.TerminalNodeCLASS()GroovyParser.ClassBodyContextclassBody()org.antlr.v4.runtime.tree.TerminalNodeENUM()org.antlr.v4.runtime.tree.TerminalNodeEXTENDS()intgetRuleIndex()GroovyParser.IdentifierContextidentifier()org.antlr.v4.runtime.tree.TerminalNodeIMPLEMENTS()org.antlr.v4.runtime.tree.TerminalNodeINTERFACE()List<? extends GroovyParser.NlsContext>nls()GroovyParser.NlsContextnls(int i)org.antlr.v4.runtime.tree.TerminalNodeTRAIT()List<? extends GroovyParser.TypeListContext>typeList()GroovyParser.TypeListContexttypeList(int i)GroovyParser.TypeParametersContexttypeParameters()- 
Methods inherited from class org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContextgetMetaDataMap, setMetaDataMap
 - 
Methods 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, toInfoString
 - 
Methods inherited from class org.antlr.v4.runtime.RuleContextdepth, getAltNumber, getChildContext, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandlercopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
 
- 
 
- 
- 
- 
Field Detail- 
tpublic int t 
 - 
scspublic GroovyParser.TypeListContext scs 
 - 
ispublic GroovyParser.TypeListContext is 
 
- 
 - 
Method Detail- 
identifierpublic GroovyParser.IdentifierContext identifier() 
 - 
nlspublic List<? extends GroovyParser.NlsContext> nls() 
 - 
nlspublic GroovyParser.NlsContext nls(int i) 
 - 
classBodypublic GroovyParser.ClassBodyContext classBody() 
 - 
CLASSpublic org.antlr.v4.runtime.tree.TerminalNode CLASS() 
 - 
INTERFACEpublic org.antlr.v4.runtime.tree.TerminalNode INTERFACE() 
 - 
ENUMpublic org.antlr.v4.runtime.tree.TerminalNode ENUM() 
 - 
ATpublic org.antlr.v4.runtime.tree.TerminalNode AT() 
 - 
TRAITpublic org.antlr.v4.runtime.tree.TerminalNode TRAIT() 
 - 
typeParameterspublic GroovyParser.TypeParametersContext typeParameters() 
 - 
EXTENDSpublic org.antlr.v4.runtime.tree.TerminalNode EXTENDS() 
 - 
IMPLEMENTSpublic org.antlr.v4.runtime.tree.TerminalNode IMPLEMENTS() 
 - 
typeListpublic List<? extends GroovyParser.TypeListContext> typeList() 
 - 
typeListpublic GroovyParser.TypeListContext typeList(int i) 
 - 
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
 
 
- 
 
-