public static class SimpleLanguageParser.If_statementContext
extends org.antlr.v4.runtime.ParserRuleContext
| Modifier and Type | Field and Description |
|---|---|
SimpleLanguageParser.BlockContext |
block |
SimpleLanguageParser.ExpressionContext |
condition |
org.antlr.v4.runtime.Token |
i |
boolean |
inLoop |
SLStatementNode |
result |
SimpleLanguageParser.BlockContext |
then |
| Constructor and Description |
|---|
If_statementContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
If_statementContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState,
boolean inLoop) |
| Modifier and Type | Method and Description |
|---|---|
List<SimpleLanguageParser.BlockContext> |
block() |
SimpleLanguageParser.BlockContext |
block(int i) |
SimpleLanguageParser.ExpressionContext |
expression() |
int |
getRuleIndex() |
addAnyChild, addChild, addChild, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringpublic boolean inLoop
public SLStatementNode result
public org.antlr.v4.runtime.Token i
public SimpleLanguageParser.ExpressionContext condition
public SimpleLanguageParser.BlockContext then
public SimpleLanguageParser.BlockContext block
public If_statementContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState)
public If_statementContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState,
boolean inLoop)
public SimpleLanguageParser.ExpressionContext expression()
public List<SimpleLanguageParser.BlockContext> block()
public SimpleLanguageParser.BlockContext block(int i)
public int getRuleIndex()
getRuleIndex in class org.antlr.v4.runtime.RuleContext