Class JavaLanguageParser.RecordDeclarationContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.RecordDeclarationContext
- 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
- Enclosing class:
JavaLanguageParser
public static class JavaLanguageParser.RecordDeclarationContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
FieldsFields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, EMPTY, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContext
invokingState, parent -
Constructor Summary
ConstructorsConstructorDescriptionRecordDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) RecordDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, List<JavaLanguageParser.ModifierContext> mods) -
Method Summary
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods inherited from class org.antlr.v4.runtime.RuleContext
depth, getAltNumber, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
-
Field Details
-
mods
-
-
Constructor Details
-
RecordDeclarationContext
public RecordDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
RecordDeclarationContext
public RecordDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState, List<JavaLanguageParser.ModifierContext> mods)
-
-
Method Details
-
LITERAL_RECORD
public org.antlr.v4.runtime.tree.TerminalNode LITERAL_RECORD() -
id
-
recordComponentsList
-
recordBody
-
typeParameters
-
implementsClause
-
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) - Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-