public static class JavaParser.StatementContext
extends org.antlr.v4.runtime.ParserRuleContext
Modifier and Type | Field and Description |
---|---|
JavaParser.BlockContext |
blockLabel |
org.antlr.v4.runtime.Token |
identifierLabel |
JavaParser.ExpressionContext |
statementExpression |
Constructor and Description |
---|
StatementContext(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 |
ASSERT() |
JavaParser.BlockContext |
block() |
org.antlr.v4.runtime.tree.TerminalNode |
BREAK() |
List<JavaParser.CatchClauseContext> |
catchClause() |
JavaParser.CatchClauseContext |
catchClause(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
CONTINUE() |
org.antlr.v4.runtime.tree.TerminalNode |
DO() |
org.antlr.v4.runtime.tree.TerminalNode |
ELSE() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
List<JavaParser.ExpressionContext> |
expression() |
JavaParser.ExpressionContext |
expression(int i) |
JavaParser.FinallyBlockContext |
finallyBlock() |
org.antlr.v4.runtime.tree.TerminalNode |
FOR() |
JavaParser.ForControlContext |
forControl() |
int |
getRuleIndex() |
org.antlr.v4.runtime.tree.TerminalNode |
IDENTIFIER() |
org.antlr.v4.runtime.tree.TerminalNode |
IF() |
JavaParser.ParExpressionContext |
parExpression() |
JavaParser.ResourceSpecificationContext |
resourceSpecification() |
org.antlr.v4.runtime.tree.TerminalNode |
RETURN() |
org.antlr.v4.runtime.tree.TerminalNode |
SEMI() |
List<JavaParser.StatementContext> |
statement() |
JavaParser.StatementContext |
statement(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
SWITCH() |
List<JavaParser.SwitchBlockStatementGroupContext> |
switchBlockStatementGroup() |
JavaParser.SwitchBlockStatementGroupContext |
switchBlockStatementGroup(int i) |
List<JavaParser.SwitchLabelContext> |
switchLabel() |
JavaParser.SwitchLabelContext |
switchLabel(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
SYNCHRONIZED() |
org.antlr.v4.runtime.tree.TerminalNode |
THROW() |
org.antlr.v4.runtime.tree.TerminalNode |
TRY() |
org.antlr.v4.runtime.tree.TerminalNode |
WHILE() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
public JavaParser.BlockContext blockLabel
public JavaParser.ExpressionContext statementExpression
public org.antlr.v4.runtime.Token identifierLabel
public StatementContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public JavaParser.BlockContext block()
public org.antlr.v4.runtime.tree.TerminalNode ASSERT()
public List<JavaParser.ExpressionContext> expression()
public JavaParser.ExpressionContext expression(int i)
public org.antlr.v4.runtime.tree.TerminalNode IF()
public JavaParser.ParExpressionContext parExpression()
public List<JavaParser.StatementContext> statement()
public JavaParser.StatementContext statement(int i)
public org.antlr.v4.runtime.tree.TerminalNode ELSE()
public org.antlr.v4.runtime.tree.TerminalNode FOR()
public JavaParser.ForControlContext forControl()
public org.antlr.v4.runtime.tree.TerminalNode WHILE()
public org.antlr.v4.runtime.tree.TerminalNode DO()
public org.antlr.v4.runtime.tree.TerminalNode TRY()
public JavaParser.FinallyBlockContext finallyBlock()
public List<JavaParser.CatchClauseContext> catchClause()
public JavaParser.CatchClauseContext catchClause(int i)
public JavaParser.ResourceSpecificationContext resourceSpecification()
public org.antlr.v4.runtime.tree.TerminalNode SWITCH()
public List<JavaParser.SwitchBlockStatementGroupContext> switchBlockStatementGroup()
public JavaParser.SwitchBlockStatementGroupContext switchBlockStatementGroup(int i)
public List<JavaParser.SwitchLabelContext> switchLabel()
public JavaParser.SwitchLabelContext switchLabel(int i)
public org.antlr.v4.runtime.tree.TerminalNode SYNCHRONIZED()
public org.antlr.v4.runtime.tree.TerminalNode RETURN()
public org.antlr.v4.runtime.tree.TerminalNode THROW()
public org.antlr.v4.runtime.tree.TerminalNode BREAK()
public org.antlr.v4.runtime.tree.TerminalNode IDENTIFIER()
public org.antlr.v4.runtime.tree.TerminalNode CONTINUE()
public org.antlr.v4.runtime.tree.TerminalNode SEMI()
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 © 2014–2024 The Apache Software Foundation. All rights reserved.