Package nl.basjes.parse.useragent.parser
Interface UserAgentTreeWalkerVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
NumberRangeVisitor
,UserAgentTreeWalkerBaseVisitor
,WordRangeVisitor
public interface UserAgentTreeWalkerVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
UserAgentTreeWalkerParser
.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theisSyntaxError
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.Visit a parse tree produced by thematcherBase
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.Visit a parse tree produced by thematcherCleanVersion
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherConcat
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherConcatPostfix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherConcatPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherDefaultIfNull
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced byUserAgentTreeWalkerParser.matcherExtract()
.Visit a parse tree produced by thematcherExtractBrandFromUrl
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherIsValidVersion
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherNormalizeBrand
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPath
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPathIsInLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.visitMatcherPathIsInLookupContains
(UserAgentTreeWalkerParser.MatcherPathIsInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsInLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPathIsInLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.visitMatcherPathIsNotInLookupContains
(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.visitMatcherPathIsNotInLookupPrefix
(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPathIsNull
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.Visit a parse tree produced by thematcherPathLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPathLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherPathLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherReplaceString
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thematcherSegmentRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced byUserAgentTreeWalkerParser.matcherVariable()
.Visit a parse tree produced by thematcherWordRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.Visit a parse tree produced by thenumberRangeAll
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thenumberRangeEmpty
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thenumberRangeOpenStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thenumberRangeSingleValue
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thenumberRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thenumberRangeStartToOpenEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.Visit a parse tree produced by thepathFixedValue
labeled alternative inUserAgentTreeWalkerParser.basePath()
.Visit a parse tree produced by thepathVariable
labeled alternative inUserAgentTreeWalkerParser.basePath()
.Visit a parse tree produced by thepathWalk
labeled alternative inUserAgentTreeWalkerParser.basePath()
.Visit a parse tree produced by thestepBackToFull
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepContainsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepDown
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepEndsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepIsInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepIsNotInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNext
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNext2
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNext3
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNext4
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNotContainsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepNotEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepPrev
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepPrev2
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepPrev3
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepPrev4
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepStartsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepUp
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thestepWordRange
labeled alternative inUserAgentTreeWalkerParser.path()
.Visit a parse tree produced by thewordRangeFirstWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.Visit a parse tree produced by thewordRangeLastWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.Visit a parse tree produced by thewordRangeSingleWord
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.Visit a parse tree produced by thewordRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitMatcherBase
Visit a parse tree produced by thematcherBase
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIsSyntaxError
Visit a parse tree produced by theisSyntaxError
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNull
Visit a parse tree produced by thematcherPathIsNull
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherExtract
Visit a parse tree produced byUserAgentTreeWalkerParser.matcherExtract()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherVariable
Visit a parse tree produced byUserAgentTreeWalkerParser.matcherVariable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherCleanVersion
Visit a parse tree produced by thematcherCleanVersion
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupPrefix
Visit a parse tree produced by thematcherPathLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupContains
Visit a parse tree produced by thematcherPathLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPrefix
Visit a parse tree produced by thematcherConcatPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookup
Visit a parse tree produced by thematcherPathIsInLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherWordRange
Visit a parse tree produced by thematcherWordRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherSegmentRange
Visit a parse tree produced by thematcherSegmentRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherNormalizeBrand
Visit a parse tree produced by thematcherNormalizeBrand
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcat
Visit a parse tree produced by thematcherConcat
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookupContains
T visitMatcherPathIsInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsInLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherIsValidVersion
Visit a parse tree produced by thematcherIsValidVersion
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherDefaultIfNull
Visit a parse tree produced by thematcherDefaultIfNull
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPath
Visit a parse tree produced by thematcherPath
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNotInLookupPrefix
T visitMatcherPathIsNotInLookupPrefix(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherReplaceString
Visit a parse tree produced by thematcherReplaceString
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookup
Visit a parse tree produced by thematcherPathLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherExtractBrandFromUrl
Visit a parse tree produced by thematcherExtractBrandFromUrl
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPostfix
Visit a parse tree produced by thematcherConcatPostfix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookupPrefix
T visitMatcherPathIsInLookupPrefix(UserAgentTreeWalkerParser.MatcherPathIsInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsInLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNotInLookupContains
T visitMatcherPathIsNotInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathFixedValue
Visit a parse tree produced by thepathFixedValue
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathVariable
Visit a parse tree produced by thepathVariable
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathWalk
Visit a parse tree produced by thepathWalk
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepDown
Visit a parse tree produced by thestepDown
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepUp
Visit a parse tree produced by thestepUp
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext
Visit a parse tree produced by thestepNext
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext2
Visit a parse tree produced by thestepNext2
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext3
Visit a parse tree produced by thestepNext3
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext4
Visit a parse tree produced by thestepNext4
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev
Visit a parse tree produced by thestepPrev
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev2
Visit a parse tree produced by thestepPrev2
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev3
Visit a parse tree produced by thestepPrev3
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev4
Visit a parse tree produced by thestepPrev4
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepEqualsValue
Visit a parse tree produced by thestepEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNotEqualsValue
Visit a parse tree produced by thestepNotEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepStartsWithValue
Visit a parse tree produced by thestepStartsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepEndsWithValue
Visit a parse tree produced by thestepEndsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepContainsValue
Visit a parse tree produced by thestepContainsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNotContainsValue
Visit a parse tree produced by thestepNotContainsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepIsInSet
Visit a parse tree produced by thestepIsInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepIsNotInSet
Visit a parse tree produced by thestepIsNotInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepWordRange
Visit a parse tree produced by thestepWordRange
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepBackToFull
Visit a parse tree produced by thestepBackToFull
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToEnd
Visit a parse tree produced by thenumberRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeOpenStartToEnd
Visit a parse tree produced by thenumberRangeOpenStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToOpenEnd
Visit a parse tree produced by thenumberRangeStartToOpenEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeSingleValue
Visit a parse tree produced by thenumberRangeSingleValue
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeAll
Visit a parse tree produced by thenumberRangeAll
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeEmpty
Visit a parse tree produced by thenumberRangeEmpty
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeStartToEnd
Visit a parse tree produced by thewordRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeFirstWords
Visit a parse tree produced by thewordRangeFirstWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeLastWords
Visit a parse tree produced by thewordRangeLastWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeSingleWord
Visit a parse tree produced by thewordRangeSingleWord
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-