public static class ExprParser.TernaryConditionContext
extends org.antlr.v4.runtime.ParserRuleContext
| Modifier and Type | Field and Description |
|---|---|
ExprParser.TernaryConditionContext |
alternative |
ExprParser.OrContext |
condition |
ExprParser.OrContext |
consequent |
| Constructor and Description |
|---|
TernaryConditionContext(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) |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
int |
getRuleIndex() |
List<ExprParser.OrContext> |
or() |
ExprParser.OrContext |
or(int i) |
ExprParser.TernaryConditionContext |
ternaryCondition() |
addChild, addChild, addChild, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringpublic ExprParser.OrContext condition
public ExprParser.OrContext consequent
public ExprParser.TernaryConditionContext alternative
public TernaryConditionContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState)
public List<ExprParser.OrContext> or()
public ExprParser.OrContext or(int i)
public ExprParser.TernaryConditionContext ternaryCondition()
public int getRuleIndex()
getRuleIndex in class org.antlr.v4.runtime.RuleContextpublic void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
enterRule in class org.antlr.v4.runtime.ParserRuleContextpublic void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
exitRule in class org.antlr.v4.runtime.ParserRuleContextpublic <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
accept in interface org.antlr.v4.runtime.tree.ParseTreeaccept in class org.antlr.v4.runtime.RuleContextCopyright © 2019. All rights reserved.