Package com.sk89q.worldedit.antlr
Class ExpressionParser.TernaryExprContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.sk89q.worldedit.antlr.ExpressionParser.ConditionalExpressionContext
com.sk89q.worldedit.antlr.ExpressionParser.TernaryExprContext
- All Implemented Interfaces:
ParseTree
,RuleNode
,SyntaxTree
,Tree
- Enclosing class:
ExpressionParser
public static class ExpressionParser.TernaryExprContext
extends ExpressionParser.ConditionalExpressionContext
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, EMPTY, exception, start, stop
Fields inherited from class org.antlr.v4.runtime.RuleContext
invokingState, parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ParseTreeVisitor<? extends T> visitor) COLON()
void
enterRule
(ParseTreeListener listener) void
exitRule
(ParseTreeListener listener) Methods inherited from class com.sk89q.worldedit.antlr.ExpressionParser.ConditionalExpressionContext
copyFrom, getRuleIndex
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
Methods 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
-
condition
-
trueBranch
-
falseBranch
-
-
Constructor Details
-
TernaryExprContext
-
-
Method Details
-
QUESTION_MARK
-
COLON
-
conditionalOrExpression
-
expression
-
conditionalExpression
-
enterRule
- Overrides:
enterRule
in classParserRuleContext
-
exitRule
- Overrides:
exitRule
in classParserRuleContext
-
accept
- Specified by:
accept
in interfaceParseTree
- Overrides:
accept
in classRuleContext
-