Class SightlyParser.ExprNodeContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- org.apache.sling.scripting.sightly.impl.parser.expr.generated.SightlyParser.ExprNodeContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree
,org.antlr.v4.runtime.tree.RuleNode
,org.antlr.v4.runtime.tree.SyntaxTree
,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- SightlyParser
public static class SightlyParser.ExprNodeContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Field Summary
Fields Modifier and Type Field Description SightlyParser.OrBinaryOpContext
condition
SightlyParser.OrBinaryOpContext
elseBranch
ExpressionNode
node
SightlyParser.OrBinaryOpContext
orBinaryOp
SightlyParser.OrBinaryOpContext
thenBranch
-
Constructor Summary
Constructors Constructor Description ExprNodeContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
int
getRuleIndex()
List<SightlyParser.OrBinaryOpContext>
orBinaryOp()
SightlyParser.OrBinaryOpContext
orBinaryOp(int i)
org.antlr.v4.runtime.tree.TerminalNode
TERNARY_BRANCHES_OP()
org.antlr.v4.runtime.tree.TerminalNode
TERNARY_Q_OP()
-
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
-
-
-
-
Field Detail
-
node
public ExpressionNode node
-
condition
public SightlyParser.OrBinaryOpContext condition
-
thenBranch
public SightlyParser.OrBinaryOpContext thenBranch
-
elseBranch
public SightlyParser.OrBinaryOpContext elseBranch
-
orBinaryOp
public SightlyParser.OrBinaryOpContext orBinaryOp
-
-
Method Detail
-
TERNARY_Q_OP
public org.antlr.v4.runtime.tree.TerminalNode TERNARY_Q_OP()
-
TERNARY_BRANCHES_OP
public org.antlr.v4.runtime.tree.TerminalNode TERNARY_BRANCHES_OP()
-
orBinaryOp
public List<SightlyParser.OrBinaryOpContext> orBinaryOp()
-
orBinaryOp
public SightlyParser.OrBinaryOpContext orBinaryOp(int i)
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndex
in classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
-