Package org.daiitech.naftah.parser
Class NaftahParser.LogicalExpressionContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.daiitech.naftah.parser.NaftahParser.LogicalExpressionContext
- 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:
- NaftahParser
public static class NaftahParser.LogicalExpressionContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
Fields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContext
EMPTY, invokingState, parent -
Constructor Summary
ConstructorsConstructorDescriptionLogicalExpressionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) List<org.antlr.v4.runtime.tree.TerminalNode>AND()org.antlr.v4.runtime.tree.TerminalNodeAND(int i) bitwiseExpression(int i) intList<org.antlr.v4.runtime.tree.TerminalNode>OR()org.antlr.v4.runtime.tree.TerminalNodeOR(int i) 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
-
Constructor Details
-
LogicalExpressionContext
public LogicalExpressionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
bitwiseExpression
-
bitwiseExpression
-
AND
-
AND
public org.antlr.v4.runtime.tree.TerminalNode AND(int i) -
OR
-
OR
public org.antlr.v4.runtime.tree.TerminalNode OR(int i) -
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
-