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 classSearchParser.FieldContextstatic classSearchParser.GroupContextstatic classSearchParser.NamedContextstatic classSearchParser.NotContextstatic classSearchParser.OrContextstatic classSearchParser.StartContextstatic classSearchParser.TagContextstatic classSearchParser.TermContextstatic classSearchParser.WordContextstatic classSearchParser.WordsContext -
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNstatic String_serializedATNstatic intCLOSE_PARENstatic intDOTstatic intEQUALstatic intNOTstatic intOPEN_PARENstatic intORstatic intRULE_fieldstatic intRULE_groupstatic intRULE_namedstatic intRULE_notstatic intRULE_orstatic intRULE_startstatic intRULE_tagstatic intRULE_termstatic intRULE_wordstatic intRULE_wordsstatic String[]ruleNamesstatic intTAGstatic String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWORDstatic intWS -
Constructor Summary
Constructors Constructor Description SearchParser(org.antlr.v4.runtime.TokenStream input) -
Method Summary
Modifier and Type Method Description SearchParser.FieldContextfield()org.antlr.v4.runtime.atn.ATNgetATN()StringgetGrammarFileName()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()SearchParser.GroupContextgroup()SearchParser.NamedContextnamed()SearchParser.NotContextnot()SearchParser.OrContextor()SearchParser.StartContextstart()SearchParser.TagContexttag()SearchParser.TermContextterm()SearchParser.WordContextword()SearchParser.WordsContextwords()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, unrollRecursionContextsMethods 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.UseVOCABULARYinstead. -
_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:
getTokenNamesin 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:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATNin 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:
getATNin 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
-