Class OOLogicGrammarParser
java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
com.semedy.reasoner.parser.oologic.OOLogicGrammarParser
public class OOLogicGrammarParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
Fields inherited from class org.antlr.v4.runtime.Recognizer
EOF
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionargument()
atom()
edge()
fact()
function()
org.antlr.v4.runtime.atn.ATN
getATN()
String[]
String[]
implies()
literal()
literals()
module()
number()
orList()
partof()
path()
queries()
query()
ruleAtom()
boolean
sempred
(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex) set()
subway()
term()
variable()
way()
Methods inherited from class org.antlr.v4.runtime.Parser
addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, unrollRecursionContexts
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, getVocabulary, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
Field Details
-
T__24
public static final int T__24- See Also:
-
T__23
public static final int T__23- See Also:
-
T__22
public static final int T__22- See Also:
-
T__21
public static final int T__21- See Also:
-
T__20
public static final int T__20- See Also:
-
T__19
public static final int T__19- See Also:
-
T__18
public static final int T__18- See Also:
-
T__17
public static final int T__17- See Also:
-
T__16
public static final int T__16- See Also:
-
T__15
public static final int T__15- See Also:
-
T__14
public static final int T__14- See Also:
-
T__13
public static final int T__13- See Also:
-
T__12
public static final int T__12- See Also:
-
T__11
public static final int T__11- See Also:
-
T__10
public static final int T__10- See Also:
-
T__9
public static final int T__9- See Also:
-
T__8
public static final int T__8- See Also:
-
T__7
public static final int T__7- See Also:
-
T__6
public static final int T__6- See Also:
-
T__5
public static final int T__5- See Also:
-
T__4
public static final int T__4- See Also:
-
T__3
public static final int T__3- See Also:
-
T__2
public static final int T__2- See Also:
-
T__1
public static final int T__1- See Also:
-
T__0
public static final int T__0- See Also:
-
SINGLE_Q
public static final int SINGLE_Q- See Also:
-
DOUBLE_Q
public static final int DOUBLE_Q- See Also:
-
COMPAREOPERATOR
public static final int COMPAREOPERATOR- See Also:
-
BOOLEANOPERATOR
public static final int BOOLEANOPERATOR- See Also:
-
ASSIGNMENT
public static final int ASSIGNMENT- See Also:
-
INTEGER
public static final int INTEGER- See Also:
-
LONG
public static final int LONG- See Also:
-
FLOAT
public static final int FLOAT- See Also:
-
DOUBLE
public static final int DOUBLE- See Also:
-
SCLASS
public static final int SCLASS- See Also:
-
EXTERNALDATATYPE
public static final int EXTERNALDATATYPE- See Also:
-
SIMPLE_STRING
public static final int SIMPLE_STRING- See Also:
-
REFERENCE
public static final int REFERENCE- See Also:
-
SINGLELINE_COMMENT
public static final int SINGLELINE_COMMENT- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
WS
public static final int WS- See Also:
-
tokenNames
-
RULE_facts_and_rules
public static final int RULE_facts_and_rules- See Also:
-
RULE_partof
public static final int RULE_partof- See Also:
-
RULE_module
public static final int RULE_module- See Also:
-
RULE_groundTerm
public static final int RULE_groundTerm- See Also:
-
RULE_set
public static final int RULE_set- See Also:
-
RULE_enumeration
public static final int RULE_enumeration- See Also:
-
RULE_term
public static final int RULE_term- See Also:
-
RULE_path
public static final int RULE_path- See Also:
-
RULE_edge
public static final int RULE_edge- See Also:
-
RULE_way
public static final int RULE_way- See Also:
-
RULE_subway
public static final int RULE_subway- See Also:
-
RULE_argument
public static final int RULE_argument- See Also:
-
RULE_arguments
public static final int RULE_arguments- See Also:
-
RULE_function
public static final int RULE_function- See Also:
-
RULE_variable
public static final int RULE_variable- See Also:
-
RULE_variables
public static final int RULE_variables- See Also:
-
RULE_builtinAtom
public static final int RULE_builtinAtom- See Also:
-
RULE_predicateAtom
public static final int RULE_predicateAtom- See Also:
-
RULE_atomWOModule
public static final int RULE_atomWOModule- See Also:
-
RULE_atom
public static final int RULE_atom- See Also:
-
RULE_ooMemberAtom
public static final int RULE_ooMemberAtom- See Also:
-
RULE_ooSubClassAtom
public static final int RULE_ooSubClassAtom- See Also:
-
RULE_ooPropertyAtom
public static final int RULE_ooPropertyAtom- See Also:
-
RULE_ooProperties
public static final int RULE_ooProperties- See Also:
-
RULE_ooPropertyName
public static final int RULE_ooPropertyName- See Also:
-
RULE_ooProperty
public static final int RULE_ooProperty- See Also:
-
RULE_pathExpression
public static final int RULE_pathExpression- See Also:
-
RULE_ooPropertyValue
public static final int RULE_ooPropertyValue- See Also:
-
RULE_inputVariables
public static final int RULE_inputVariables- See Also:
-
RULE_aggregationWithoutGrouping
public static final int RULE_aggregationWithoutGrouping- See Also:
-
RULE_aggregationWithGrouping
public static final int RULE_aggregationWithGrouping- See Also:
-
RULE_aggregation
public static final int RULE_aggregation- See Also:
-
RULE_fact
public static final int RULE_fact- See Also:
-
RULE_expression
public static final int RULE_expression- See Also:
-
RULE_simpleExpression
public static final int RULE_simpleExpression- See Also:
-
RULE_boolExpression
public static final int RULE_boolExpression- See Also:
-
RULE_simpleBoolExpression
public static final int RULE_simpleBoolExpression- See Also:
-
RULE_compareAtom
public static final int RULE_compareAtom- See Also:
-
RULE_assignmentAtom
public static final int RULE_assignmentAtom- See Also:
-
RULE_ruleAtom
public static final int RULE_ruleAtom- See Also:
-
RULE_literal
public static final int RULE_literal- See Also:
-
RULE_literals
public static final int RULE_literals- See Also:
-
RULE_headatoms
public static final int RULE_headatoms- See Also:
-
RULE_orList
public static final int RULE_orList- See Also:
-
RULE_reasoningRule
public static final int RULE_reasoningRule- See Also:
-
RULE_query
public static final int RULE_query- See Also:
-
RULE_constraint
public static final int RULE_constraint- See Also:
-
RULE_implies
public static final int RULE_implies- See Also:
-
RULE_queries
public static final int RULE_queries- See Also:
-
RULE_constraints
public static final int RULE_constraints- See Also:
-
RULE_quotedString
public static final int RULE_quotedString- See Also:
-
RULE_semicolon
public static final int RULE_semicolon- See Also:
-
RULE_number
public static final int RULE_number- See Also:
-
ruleNames
-
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
OOLogicGrammarParser
public OOLogicGrammarParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
getGrammarFileName
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getTokenNames
- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
facts_and_rules
public final OOLogicGrammarParser.Facts_and_rulesContext facts_and_rules() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
partof
public final OOLogicGrammarParser.PartofContext partof() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
module
public final OOLogicGrammarParser.ModuleContext module() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
groundTerm
public final OOLogicGrammarParser.GroundTermContext groundTerm() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
set
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumeration
public final OOLogicGrammarParser.EnumerationContext enumeration() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
term
public final OOLogicGrammarParser.TermContext term() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
path
public final OOLogicGrammarParser.PathContext path() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
edge
public final OOLogicGrammarParser.EdgeContext edge() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
way
- Throws:
org.antlr.v4.runtime.RecognitionException
-
subway
public final OOLogicGrammarParser.SubwayContext subway() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
argument
public final OOLogicGrammarParser.ArgumentContext argument() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
arguments
public final OOLogicGrammarParser.ArgumentsContext arguments() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
function
public final OOLogicGrammarParser.FunctionContext function() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
variable
public final OOLogicGrammarParser.VariableContext variable() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
variables
public final OOLogicGrammarParser.VariablesContext variables() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
builtinAtom
public final OOLogicGrammarParser.BuiltinAtomContext builtinAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
predicateAtom
public final OOLogicGrammarParser.PredicateAtomContext predicateAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
atomWOModule
public final OOLogicGrammarParser.AtomWOModuleContext atomWOModule() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
atom
public final OOLogicGrammarParser.AtomContext atom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooMemberAtom
public final OOLogicGrammarParser.OoMemberAtomContext ooMemberAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooSubClassAtom
public final OOLogicGrammarParser.OoSubClassAtomContext ooSubClassAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooPropertyAtom
public final OOLogicGrammarParser.OoPropertyAtomContext ooPropertyAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooProperties
public final OOLogicGrammarParser.OoPropertiesContext ooProperties() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooPropertyName
public final OOLogicGrammarParser.OoPropertyNameContext ooPropertyName() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooProperty
public final OOLogicGrammarParser.OoPropertyContext ooProperty() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
pathExpression
public final OOLogicGrammarParser.PathExpressionContext pathExpression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ooPropertyValue
public final OOLogicGrammarParser.OoPropertyValueContext ooPropertyValue() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
inputVariables
public final OOLogicGrammarParser.InputVariablesContext inputVariables() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
aggregationWithoutGrouping
public final OOLogicGrammarParser.AggregationWithoutGroupingContext aggregationWithoutGrouping() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
aggregationWithGrouping
public final OOLogicGrammarParser.AggregationWithGroupingContext aggregationWithGrouping() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
aggregation
public final OOLogicGrammarParser.AggregationContext aggregation() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
fact
public final OOLogicGrammarParser.FactContext fact() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final OOLogicGrammarParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleExpression
public final OOLogicGrammarParser.SimpleExpressionContext simpleExpression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
boolExpression
public final OOLogicGrammarParser.BoolExpressionContext boolExpression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simpleBoolExpression
public final OOLogicGrammarParser.SimpleBoolExpressionContext simpleBoolExpression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
compareAtom
public final OOLogicGrammarParser.CompareAtomContext compareAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
assignmentAtom
public final OOLogicGrammarParser.AssignmentAtomContext assignmentAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
ruleAtom
public final OOLogicGrammarParser.RuleAtomContext ruleAtom() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
literal
public final OOLogicGrammarParser.LiteralContext literal() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
literals
public final OOLogicGrammarParser.LiteralsContext literals() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
headatoms
public final OOLogicGrammarParser.HeadatomsContext headatoms() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
orList
public final OOLogicGrammarParser.OrListContext orList() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
reasoningRule
public final OOLogicGrammarParser.ReasoningRuleContext reasoningRule() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
query
public final OOLogicGrammarParser.QueryContext query() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
constraint
public final OOLogicGrammarParser.ConstraintContext constraint() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
implies
public final OOLogicGrammarParser.ImpliesContext implies() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
queries
public final OOLogicGrammarParser.QueriesContext queries() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
constraints
public final OOLogicGrammarParser.ConstraintsContext constraints() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
quotedString
public final OOLogicGrammarParser.QuotedStringContext quotedString() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
semicolon
public final OOLogicGrammarParser.SemicolonContext semicolon() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
number
public final OOLogicGrammarParser.NumberContext number() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex) - Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-