Class JavaLanguageParser.SwitchBlocksContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.SwitchBlockContext
com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.SwitchBlocksContext
- 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.SwitchBlocksContext
extends JavaLanguageParser.SwitchBlockContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) switchBlockStatementGroup(int i) switchLabel(int i) Methods inherited from class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.SwitchBlockContext
copyFrom, getRuleIndexMethods 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
-
switchBlockStatementGroup
-
groups
-
switchLabel
-
emptyLabels
-
-
Constructor Details
-
SwitchBlocksContext
-
-
Method Details
-
switchBlockStatementGroup
-
switchBlockStatementGroup
-
switchLabel
-
switchLabel
-
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
-