Package com.walkfares.odsl.searchgrammar
Class SearchParser
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.walkfares.odsl.searchgrammar.SearchParser
public class SearchParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchParser.FieldContext
static class
SearchParser.GroupContext
static class
SearchParser.NamedContext
static class
SearchParser.NotContext
static class
SearchParser.OrContext
static class
SearchParser.StartContext
static class
SearchParser.TagContext
static class
SearchParser.TermContext
static class
SearchParser.WordContext
static class
SearchParser.WordsContext
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
static String
_serializedATN
static int
CLOSE_PAREN
static int
DOT
static int
EQUAL
static int
NOT
static int
OPEN_PAREN
static int
OR
static int
RULE_field
static int
RULE_group
static int
RULE_named
static int
RULE_not
static int
RULE_or
static int
RULE_start
static int
RULE_tag
static int
RULE_term
static int
RULE_word
static int
RULE_words
static String[]
ruleNames
static int
TAG
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WORD
static int
WS
-
Constructor Summary
Constructors Constructor Description SearchParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
Modifier and Type Method Description SearchParser.FieldContext
field()
org.antlr.v4.runtime.atn.ATN
getATN()
String
getGrammarFileName()
String[]
getRuleNames()
String
getSerializedATN()
String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
SearchParser.GroupContext
group()
SearchParser.NamedContext
named()
SearchParser.NotContext
not()
SearchParser.OrContext
or()
SearchParser.StartContext
start()
SearchParser.TagContext
tag()
SearchParser.TermContext
term()
SearchParser.WordContext
word()
SearchParser.WordsContext
words()
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, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
Field Details
-
CLOSE_PAREN
public static final int CLOSE_PAREN- See Also:
- Constant Field Values
-
EQUAL
public static final int EQUAL- See Also:
- Constant Field Values
-
NOT
public static final int NOT- See Also:
- Constant Field Values
-
DOT
public static final int DOT- See Also:
- Constant Field Values
-
OPEN_PAREN
public static final int OPEN_PAREN- See Also:
- Constant Field Values
-
OR
public static final int OR- See Also:
- Constant Field Values
-
TAG
public static final int TAG- See Also:
- Constant Field Values
-
WORD
public static final int WORD- See Also:
- Constant Field Values
-
WS
public static final int WS- See Also:
- Constant Field Values
-
RULE_start
public static final int RULE_start- See Also:
- Constant Field Values
-
RULE_term
public static final int RULE_term- See Also:
- Constant Field Values
-
RULE_group
public static final int RULE_group- See Also:
- Constant Field Values
-
RULE_or
public static final int RULE_or- See Also:
- Constant Field Values
-
RULE_not
public static final int RULE_not- See Also:
- Constant Field Values
-
RULE_tag
public static final int RULE_tag- See Also:
- Constant Field Values
-
RULE_named
public static final int RULE_named- See Also:
- Constant Field Values
-
RULE_field
public static final int RULE_field- See Also:
- Constant Field Values
-
RULE_word
public static final int RULE_word- See Also:
- Constant Field Values
-
RULE_words
public static final int RULE_words- See Also:
- Constant Field Values
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
SearchParser
public SearchParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
getTokenNames
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileName
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>
-
start
- Throws:
org.antlr.v4.runtime.RecognitionException
-
term
- Throws:
org.antlr.v4.runtime.RecognitionException
-
group
- Throws:
org.antlr.v4.runtime.RecognitionException
-
or
- Throws:
org.antlr.v4.runtime.RecognitionException
-
not
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tag
- Throws:
org.antlr.v4.runtime.RecognitionException
-
named
- Throws:
org.antlr.v4.runtime.RecognitionException
-
field
- Throws:
org.antlr.v4.runtime.RecognitionException
-
word
- Throws:
org.antlr.v4.runtime.RecognitionException
-
words
- Throws:
org.antlr.v4.runtime.RecognitionException
-