Class OOLogicGrammarParser.Facts_and_rulesContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.semedy.reasoner.parser.oologic.OOLogicGrammarParser.Facts_and_rulesContext
- 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:
OOLogicGrammarParser
public static class OOLogicGrammarParser.Facts_and_rulesContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
Fields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, exception, start, stop
Fields inherited from class org.antlr.v4.runtime.RuleContext
EMPTY, invokingState, parent
-
Constructor Summary
ConstructorDescriptionFacts_and_rulesContext
(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and TypeMethodDescriptionconstraint
(int i) void
enterRule
(org.antlr.v4.runtime.tree.ParseTreeListener listener) void
exitRule
(org.antlr.v4.runtime.tree.ParseTreeListener listener) fact()
fact
(int i) int
query()
query
(int i) reasoningRule
(int i) 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
accept, depth, getAltNumber, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
-
Constructor Details
-
Facts_and_rulesContext
public Facts_and_rulesContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
fact
-
reasoningRule
-
reasoningRule
-
constraint
-
query
-
fact
-
query
-
constraint
-
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
-