Package nl.basjes.parse.useragent.parser
Class UserAgentTreeWalkerParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- nl.basjes.parse.useragent.parser.UserAgentTreeWalkerParser
-
public class UserAgentTreeWalkerParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
BACKTOFULL
static int
BLOCKCLOSE
static int
BLOCKOPEN
static int
BRACECLOSE
static int
BRACEOPEN
static int
COLON
static int
CONTAINS
static int
DOT
static int
DOUBLEQUOTE
static int
ENDSWITH
static int
EQUALS
static int
IN
static int
MINUS
static int
NEXT
static int
NEXT2
static int
NEXT3
static int
NEXT4
static int
NOTEQUALS
static int
NOTIN
static int
NUMBER
static int
PATHTOKENNAME
static int
PREV
static int
PREV2
static int
PREV3
static int
PREV4
static int
RULE_basePath
static int
RULE_matcher
static int
RULE_matcherExtract
static int
RULE_matcherRequire
static int
RULE_matcherVariable
static int
RULE_numberRange
static int
RULE_path
static int
RULE_wordRange
static String[]
ruleNames
static int
SEMICOLON
static int
SPACE
static int
STAR
static int
STARTSWITH
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__2
static int
T__3
static int
T__4
static int
T__5
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
UP
static int
VALUE
static int
VALUENAME
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
-
Constructor Summary
Constructors Constructor Description UserAgentTreeWalkerParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UserAgentTreeWalkerParser.BasePathContext
basePath()
org.antlr.v4.runtime.atn.ATN
getATN()
String
getGrammarFileName()
String[]
getRuleNames()
String
getSerializedATN()
String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
UserAgentTreeWalkerParser.MatcherContext
matcher()
UserAgentTreeWalkerParser.MatcherExtractContext
matcherExtract()
UserAgentTreeWalkerParser.MatcherRequireContext
matcherRequire()
UserAgentTreeWalkerParser.MatcherVariableContext
matcherVariable()
UserAgentTreeWalkerParser.NumberRangeContext
numberRange()
UserAgentTreeWalkerParser.PathContext
path()
boolean
sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
UserAgentTreeWalkerParser.WordRangeContext
wordRange()
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, 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, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
PATHTOKENNAME
public static final int PATHTOKENNAME
- See Also:
- Constant Field Values
-
VALUENAME
public static final int VALUENAME
- See Also:
- Constant Field Values
-
VALUE
public static final int VALUE
- See Also:
- Constant Field Values
-
UP
public static final int UP
- See Also:
- Constant Field Values
-
NEXT
public static final int NEXT
- See Also:
- Constant Field Values
-
NEXT2
public static final int NEXT2
- See Also:
- Constant Field Values
-
NEXT3
public static final int NEXT3
- See Also:
- Constant Field Values
-
NEXT4
public static final int NEXT4
- See Also:
- Constant Field Values
-
PREV
public static final int PREV
- See Also:
- Constant Field Values
-
PREV2
public static final int PREV2
- See Also:
- Constant Field Values
-
PREV3
public static final int PREV3
- See Also:
- Constant Field Values
-
PREV4
public static final int PREV4
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
STAR
public static final int STAR
- See Also:
- Constant Field Values
-
IN
public static final int IN
- See Also:
- Constant Field Values
-
NOTIN
public static final int NOTIN
- See Also:
- Constant Field Values
-
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
-
BLOCKOPEN
public static final int BLOCKOPEN
- See Also:
- Constant Field Values
-
BLOCKCLOSE
public static final int BLOCKCLOSE
- See Also:
- Constant Field Values
-
BRACEOPEN
public static final int BRACEOPEN
- See Also:
- Constant Field Values
-
BRACECLOSE
public static final int BRACECLOSE
- See Also:
- Constant Field Values
-
DOUBLEQUOTE
public static final int DOUBLEQUOTE
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
SEMICOLON
public static final int SEMICOLON
- See Also:
- Constant Field Values
-
SPACE
public static final int SPACE
- See Also:
- Constant Field Values
-
NOTEQUALS
public static final int NOTEQUALS
- See Also:
- Constant Field Values
-
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
-
CONTAINS
public static final int CONTAINS
- See Also:
- Constant Field Values
-
STARTSWITH
public static final int STARTSWITH
- See Also:
- Constant Field Values
-
ENDSWITH
public static final int ENDSWITH
- See Also:
- Constant Field Values
-
BACKTOFULL
public static final int BACKTOFULL
- See Also:
- Constant Field Values
-
RULE_matcherRequire
public static final int RULE_matcherRequire
- See Also:
- Constant Field Values
-
RULE_matcherExtract
public static final int RULE_matcherExtract
- See Also:
- Constant Field Values
-
RULE_matcherVariable
public static final int RULE_matcherVariable
- See Also:
- Constant Field Values
-
RULE_matcher
public static final int RULE_matcher
- See Also:
- Constant Field Values
-
RULE_basePath
public static final int RULE_basePath
- See Also:
- Constant Field Values
-
RULE_path
public static final int RULE_path
- See Also:
- Constant Field Values
-
RULE_numberRange
public static final int RULE_numberRange
- See Also:
- Constant Field Values
-
RULE_wordRange
public static final int RULE_wordRange
- See Also:
- Constant Field Values
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] 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
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String 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>
-
matcherRequire
public final UserAgentTreeWalkerParser.MatcherRequireContext matcherRequire() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matcherExtract
public final UserAgentTreeWalkerParser.MatcherExtractContext matcherExtract() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matcherVariable
public final UserAgentTreeWalkerParser.MatcherVariableContext matcherVariable() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
matcher
public final UserAgentTreeWalkerParser.MatcherContext matcher() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
basePath
public final UserAgentTreeWalkerParser.BasePathContext basePath() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
path
public final UserAgentTreeWalkerParser.PathContext path() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
numberRange
public final UserAgentTreeWalkerParser.NumberRangeContext numberRange() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
wordRange
public final UserAgentTreeWalkerParser.WordRangeContext wordRange() 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>
-
-