Package nl.basjes.parse.useragent.parser
Interface UserAgentTreeWalkerVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor 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 theisSyntaxErrorlabeled alternative inUserAgentTreeWalkerParser.matcherRequire().Visit a parse tree produced by thematcherBaselabeled alternative inUserAgentTreeWalkerParser.matcherRequire().Visit a parse tree produced by thematcherCleanVersionlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherConcatlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherConcatPostfixlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherConcatPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherDefaultIfNulllabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced byUserAgentTreeWalkerParser.matcherExtract().Visit a parse tree produced by thematcherExtractBrandFromUrllabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherIsValidVersionlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherNormalizeBrandlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathIsInLookuplabeled alternative inUserAgentTreeWalkerParser.matcher().visitMatcherPathIsInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsInLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathIsInLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().visitMatcherPathIsNotInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().visitMatcherPathIsNotInLookupPrefix(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathIsNulllabeled alternative inUserAgentTreeWalkerParser.matcherRequire().Visit a parse tree produced by thematcherPathLookuplabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherPathLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherReplaceStringlabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thematcherSegmentRangelabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced byUserAgentTreeWalkerParser.matcherVariable().Visit a parse tree produced by thematcherWordRangelabeled alternative inUserAgentTreeWalkerParser.matcher().Visit a parse tree produced by thenumberRangeAlllabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thenumberRangeEmptylabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thenumberRangeOpenStartToEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thenumberRangeSingleValuelabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thenumberRangeStartToEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thenumberRangeStartToOpenEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().Visit a parse tree produced by thepathFixedValuelabeled alternative inUserAgentTreeWalkerParser.basePath().Visit a parse tree produced by thepathVariablelabeled alternative inUserAgentTreeWalkerParser.basePath().Visit a parse tree produced by thepathWalklabeled alternative inUserAgentTreeWalkerParser.basePath().Visit a parse tree produced by thestepBackToFulllabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepContainsValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepDownlabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepEndsWithValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepEqualsValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepIsInSetlabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepIsNotInSetlabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNextlabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNext2labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNext3labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNext4labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNotContainsValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepNotEqualsValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepPrevlabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepPrev2labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepPrev3labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepPrev4labeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepStartsWithValuelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepUplabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thestepWordRangelabeled alternative inUserAgentTreeWalkerParser.path().Visit a parse tree produced by thewordRangeFirstWordslabeled alternative inUserAgentTreeWalkerParser.wordRange().Visit a parse tree produced by thewordRangeLastWordslabeled alternative inUserAgentTreeWalkerParser.wordRange().Visit a parse tree produced by thewordRangeSingleWordlabeled alternative inUserAgentTreeWalkerParser.wordRange().Visit a parse tree produced by thewordRangeStartToEndlabeled 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 thematcherBaselabeled alternative inUserAgentTreeWalkerParser.matcherRequire().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIsSyntaxError
Visit a parse tree produced by theisSyntaxErrorlabeled alternative inUserAgentTreeWalkerParser.matcherRequire().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNull
Visit a parse tree produced by thematcherPathIsNulllabeled 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 thematcherCleanVersionlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupPrefix
Visit a parse tree produced by thematcherPathLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupContains
Visit a parse tree produced by thematcherPathLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPrefix
Visit a parse tree produced by thematcherConcatPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookup
Visit a parse tree produced by thematcherPathIsInLookuplabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherWordRange
Visit a parse tree produced by thematcherWordRangelabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherSegmentRange
Visit a parse tree produced by thematcherSegmentRangelabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherNormalizeBrand
Visit a parse tree produced by thematcherNormalizeBrandlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherConcat
Visit a parse tree produced by thematcherConcatlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookupContains
T visitMatcherPathIsInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsInLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherIsValidVersion
Visit a parse tree produced by thematcherIsValidVersionlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherDefaultIfNull
Visit a parse tree produced by thematcherDefaultIfNulllabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPath
Visit a parse tree produced by thematcherPathlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNotInLookupPrefix
T visitMatcherPathIsNotInLookupPrefix(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherReplaceString
Visit a parse tree produced by thematcherReplaceStringlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookup
Visit a parse tree produced by thematcherPathLookuplabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherExtractBrandFromUrl
Visit a parse tree produced by thematcherExtractBrandFromUrllabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPostfix
Visit a parse tree produced by thematcherConcatPostfixlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookupPrefix
T visitMatcherPathIsInLookupPrefix(UserAgentTreeWalkerParser.MatcherPathIsInLookupPrefixContext ctx) Visit a parse tree produced by thematcherPathIsInLookupPrefixlabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNotInLookupContains
T visitMatcherPathIsNotInLookupContains(UserAgentTreeWalkerParser.MatcherPathIsNotInLookupContainsContext ctx) Visit a parse tree produced by thematcherPathIsNotInLookupContainslabeled alternative inUserAgentTreeWalkerParser.matcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathFixedValue
Visit a parse tree produced by thepathFixedValuelabeled alternative inUserAgentTreeWalkerParser.basePath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathVariable
Visit a parse tree produced by thepathVariablelabeled alternative inUserAgentTreeWalkerParser.basePath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathWalk
Visit a parse tree produced by thepathWalklabeled alternative inUserAgentTreeWalkerParser.basePath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepDown
Visit a parse tree produced by thestepDownlabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepUp
Visit a parse tree produced by thestepUplabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNext
Visit a parse tree produced by thestepNextlabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNext2
Visit a parse tree produced by thestepNext2labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNext3
Visit a parse tree produced by thestepNext3labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNext4
Visit a parse tree produced by thestepNext4labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepPrev
Visit a parse tree produced by thestepPrevlabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepPrev2
Visit a parse tree produced by thestepPrev2labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepPrev3
Visit a parse tree produced by thestepPrev3labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepPrev4
Visit a parse tree produced by thestepPrev4labeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepEqualsValue
Visit a parse tree produced by thestepEqualsValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNotEqualsValue
Visit a parse tree produced by thestepNotEqualsValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepStartsWithValue
Visit a parse tree produced by thestepStartsWithValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepEndsWithValue
Visit a parse tree produced by thestepEndsWithValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepContainsValue
Visit a parse tree produced by thestepContainsValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepNotContainsValue
Visit a parse tree produced by thestepNotContainsValuelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepIsInSet
Visit a parse tree produced by thestepIsInSetlabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepIsNotInSet
Visit a parse tree produced by thestepIsNotInSetlabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepWordRange
Visit a parse tree produced by thestepWordRangelabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStepBackToFull
Visit a parse tree produced by thestepBackToFulllabeled alternative inUserAgentTreeWalkerParser.path().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToEnd
Visit a parse tree produced by thenumberRangeStartToEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeOpenStartToEnd
Visit a parse tree produced by thenumberRangeOpenStartToEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToOpenEnd
Visit a parse tree produced by thenumberRangeStartToOpenEndlabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeSingleValue
Visit a parse tree produced by thenumberRangeSingleValuelabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeAll
Visit a parse tree produced by thenumberRangeAlllabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberRangeEmpty
Visit a parse tree produced by thenumberRangeEmptylabeled alternative inUserAgentTreeWalkerParser.numberRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWordRangeStartToEnd
Visit a parse tree produced by thewordRangeStartToEndlabeled alternative inUserAgentTreeWalkerParser.wordRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWordRangeFirstWords
Visit a parse tree produced by thewordRangeFirstWordslabeled alternative inUserAgentTreeWalkerParser.wordRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWordRangeLastWords
Visit a parse tree produced by thewordRangeLastWordslabeled alternative inUserAgentTreeWalkerParser.wordRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWordRangeSingleWord
Visit a parse tree produced by thewordRangeSingleWordlabeled alternative inUserAgentTreeWalkerParser.wordRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-