public static class GroovyParser.ClassDeclarationContext extends GroovyParser.GroovyParserRuleContext
Modifier and Type | Field and Description |
---|---|
GroovyParser.TypeListContext |
is |
GroovyParser.TypeContext |
sc |
GroovyParser.TypeListContext |
scs |
int |
t |
Constructor and Description |
---|
ClassDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
Modifier and Type | Method and Description |
---|---|
<Result> Result |
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor) |
org.antlr.v4.runtime.tree.TerminalNode |
AT() |
org.antlr.v4.runtime.tree.TerminalNode |
CLASS() |
GroovyParser.ClassBodyContext |
classBody() |
org.antlr.v4.runtime.tree.TerminalNode |
ENUM() |
org.antlr.v4.runtime.tree.TerminalNode |
EXTENDS() |
int |
getRuleIndex() |
GroovyParser.IdentifierContext |
identifier() |
org.antlr.v4.runtime.tree.TerminalNode |
IMPLEMENTS() |
org.antlr.v4.runtime.tree.TerminalNode |
INTERFACE() |
List<? extends GroovyParser.NlsContext> |
nls() |
GroovyParser.NlsContext |
nls(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
TRAIT() |
GroovyParser.TypeContext |
type() |
List<? extends GroovyParser.TypeListContext> |
typeList() |
GroovyParser.TypeListContext |
typeList(int i) |
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 int t
public GroovyParser.TypeListContext scs
public GroovyParser.TypeContext sc
public GroovyParser.TypeListContext is
public ClassDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public GroovyParser.IdentifierContext identifier()
public List<? extends GroovyParser.NlsContext> nls()
public GroovyParser.NlsContext nls(int i)
public GroovyParser.ClassBodyContext classBody()
public org.antlr.v4.runtime.tree.TerminalNode CLASS()
public org.antlr.v4.runtime.tree.TerminalNode INTERFACE()
public org.antlr.v4.runtime.tree.TerminalNode ENUM()
public org.antlr.v4.runtime.tree.TerminalNode AT()
public org.antlr.v4.runtime.tree.TerminalNode TRAIT()
public org.antlr.v4.runtime.tree.TerminalNode EXTENDS()
public org.antlr.v4.runtime.tree.TerminalNode IMPLEMENTS()
public GroovyParser.TypeParametersContext typeParameters()
public List<? extends GroovyParser.TypeListContext> typeList()
public GroovyParser.TypeListContext typeList(int i)
public GroovyParser.TypeContext type()
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