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
FieldsModifier and TypeFieldDescriptionFields inherited from class RuleContext
invokingState, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ParseTreeVisitor<? extends T> visitor) COLON()voidenterRule(ParseTreeListener listener) voidexitRule(ParseTreeListener listener) Methods inherited from class ExpressionParser.ConditionalExpressionContext
copyFrom, getRuleIndexMethods inherited from class ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods inherited from class 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:
enterRulein classParserRuleContext
-
exitRule
- Overrides:
exitRulein classParserRuleContext
-
accept
- Specified by:
acceptin interfaceParseTree- Overrides:
acceptin classRuleContext
-