public static class JavaParser.EnumDeclarationContext
extends org.antlr.v4.runtime.ParserRuleContext
Constructor and Description |
---|
EnumDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) |
org.antlr.v4.runtime.tree.TerminalNode |
COMMA() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
org.antlr.v4.runtime.tree.TerminalNode |
ENUM() |
JavaParser.EnumBodyDeclarationsContext |
enumBodyDeclarations() |
JavaParser.EnumConstantsContext |
enumConstants() |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
int |
getRuleIndex() |
org.antlr.v4.runtime.tree.TerminalNode |
IDENTIFIER() |
org.antlr.v4.runtime.tree.TerminalNode |
IMPLEMENTS() |
org.antlr.v4.runtime.tree.TerminalNode |
LBRACE() |
org.antlr.v4.runtime.tree.TerminalNode |
RBRACE() |
JavaParser.TypeListContext |
typeList() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
public EnumDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public org.antlr.v4.runtime.tree.TerminalNode ENUM()
public org.antlr.v4.runtime.tree.TerminalNode IDENTIFIER()
public org.antlr.v4.runtime.tree.TerminalNode LBRACE()
public org.antlr.v4.runtime.tree.TerminalNode RBRACE()
public org.antlr.v4.runtime.tree.TerminalNode IMPLEMENTS()
public JavaParser.TypeListContext typeList()
public JavaParser.EnumConstantsContext enumConstants()
public org.antlr.v4.runtime.tree.TerminalNode COMMA()
public JavaParser.EnumBodyDeclarationsContext enumBodyDeclarations()
public int getRuleIndex()
getRuleIndex
in class org.antlr.v4.runtime.RuleContext
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
enterRule
in class org.antlr.v4.runtime.ParserRuleContext
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
exitRule
in class org.antlr.v4.runtime.ParserRuleContext
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
accept
in interface org.antlr.v4.runtime.tree.ParseTree
accept
in class org.antlr.v4.runtime.RuleContext
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.