public static class QLParser.TernaryExprContext
extends org.antlr.v4.runtime.ParserRuleContext
| Modifier and Type | Field and Description |
|---|---|
QLParser.BaseExprContext |
condition |
QLParser.ExpressionContext |
elseExpr |
QLParser.BaseExprContext |
thenExpr |
| Constructor and Description |
|---|
TernaryExprContext(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) |
java.util.List<QLParser.BaseExprContext> |
baseExpr() |
QLParser.BaseExprContext |
baseExpr(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
COLON() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
QLParser.ExpressionContext |
expression() |
int |
getRuleIndex() |
java.util.List<QLParser.NewlinesContext> |
newlines() |
QLParser.NewlinesContext |
newlines(int i) |
org.antlr.v4.runtime.tree.TerminalNode |
QUESTION() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringpublic QLParser.BaseExprContext condition
public QLParser.BaseExprContext thenExpr
public QLParser.ExpressionContext elseExpr
public TernaryExprContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState)
public java.util.List<QLParser.BaseExprContext> baseExpr()
public QLParser.BaseExprContext baseExpr(int i)
public org.antlr.v4.runtime.tree.TerminalNode QUESTION()
public org.antlr.v4.runtime.tree.TerminalNode COLON()
public QLParser.ExpressionContext expression()
public java.util.List<QLParser.NewlinesContext> newlines()
public QLParser.NewlinesContext newlines(int i)
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 © 2012-2025 Alibaba Group. All Rights Reserved.