Package org.drools.drl.parser.antlr4
Class DRL10Parser.ConditionalBranchContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.drools.drl.parser.antlr4.DRL10Parser.ConditionalBranchContext
- 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:
- DRL10Parser
public static class DRL10Parser.ConditionalBranchContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, EMPTY, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContext
invokingState, parent -
Constructor Summary
ConstructorsConstructorDescriptionConditionalBranchContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) org.antlr.v4.runtime.tree.TerminalNodeELSE()intorg.antlr.v4.runtime.tree.TerminalNodeIF()org.antlr.v4.runtime.tree.TerminalNodeLPAREN()namedConsequenceInvocation(int i) org.antlr.v4.runtime.tree.TerminalNodeRPAREN()Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods 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
-
do1
-
break1
-
do2
-
break2
-
-
Constructor Details
-
ConditionalBranchContext
public ConditionalBranchContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
IF
public org.antlr.v4.runtime.tree.TerminalNode IF() -
LPAREN
public org.antlr.v4.runtime.tree.TerminalNode LPAREN() -
conditionalOrExpression
-
RPAREN
public org.antlr.v4.runtime.tree.TerminalNode RPAREN() -
namedConsequenceInvocation
-
namedConsequenceInvocation
-
breakingNamedConsequenceInvocation
public List<DRL10Parser.BreakingNamedConsequenceInvocationContext> breakingNamedConsequenceInvocation() -
breakingNamedConsequenceInvocation
public DRL10Parser.BreakingNamedConsequenceInvocationContext breakingNamedConsequenceInvocation(int i) -
ELSE
public org.antlr.v4.runtime.tree.TerminalNode ELSE() -
conditionalBranch
-
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) - Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-