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 byUserAgentTreeWalkerParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitMatcherBase
T visitMatcherBase(UserAgentTreeWalkerParser.MatcherBaseContext ctx)
Visit a parse tree produced by thematcherBase
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIsSyntaxError
T visitIsSyntaxError(UserAgentTreeWalkerParser.IsSyntaxErrorContext ctx)
Visit a parse tree produced by theisSyntaxError
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsNull
T visitMatcherPathIsNull(UserAgentTreeWalkerParser.MatcherPathIsNullContext ctx)
Visit a parse tree produced by thematcherPathIsNull
labeled alternative inUserAgentTreeWalkerParser.matcherRequire()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherExtract
T visitMatcherExtract(UserAgentTreeWalkerParser.MatcherExtractContext ctx)
Visit a parse tree produced byUserAgentTreeWalkerParser.matcherExtract()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherVariable
T visitMatcherVariable(UserAgentTreeWalkerParser.MatcherVariableContext ctx)
Visit a parse tree produced byUserAgentTreeWalkerParser.matcherVariable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherCleanVersion
T visitMatcherCleanVersion(UserAgentTreeWalkerParser.MatcherCleanVersionContext ctx)
Visit a parse tree produced by thematcherCleanVersion
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupPrefix
T visitMatcherPathLookupPrefix(UserAgentTreeWalkerParser.MatcherPathLookupPrefixContext ctx)
Visit a parse tree produced by thematcherPathLookupPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookupContains
T visitMatcherPathLookupContains(UserAgentTreeWalkerParser.MatcherPathLookupContainsContext ctx)
Visit a parse tree produced by thematcherPathLookupContains
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPrefix
T visitMatcherConcatPrefix(UserAgentTreeWalkerParser.MatcherConcatPrefixContext ctx)
Visit a parse tree produced by thematcherConcatPrefix
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathIsInLookup
T visitMatcherPathIsInLookup(UserAgentTreeWalkerParser.MatcherPathIsInLookupContext ctx)
Visit a parse tree produced by thematcherPathIsInLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherWordRange
T visitMatcherWordRange(UserAgentTreeWalkerParser.MatcherWordRangeContext ctx)
Visit a parse tree produced by thematcherWordRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherSegmentRange
T visitMatcherSegmentRange(UserAgentTreeWalkerParser.MatcherSegmentRangeContext ctx)
Visit a parse tree produced by thematcherSegmentRange
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherNormalizeBrand
T visitMatcherNormalizeBrand(UserAgentTreeWalkerParser.MatcherNormalizeBrandContext ctx)
Visit a parse tree produced by thematcherNormalizeBrand
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcat
T visitMatcherConcat(UserAgentTreeWalkerParser.MatcherConcatContext ctx)
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
-
visitMatcherDefaultIfNull
T visitMatcherDefaultIfNull(UserAgentTreeWalkerParser.MatcherDefaultIfNullContext ctx)
Visit a parse tree produced by thematcherDefaultIfNull
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPath
T visitMatcherPath(UserAgentTreeWalkerParser.MatcherPathContext ctx)
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
T visitMatcherReplaceString(UserAgentTreeWalkerParser.MatcherReplaceStringContext ctx)
Visit a parse tree produced by thematcherReplaceString
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherPathLookup
T visitMatcherPathLookup(UserAgentTreeWalkerParser.MatcherPathLookupContext ctx)
Visit a parse tree produced by thematcherPathLookup
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherExtractBrandFromUrl
T visitMatcherExtractBrandFromUrl(UserAgentTreeWalkerParser.MatcherExtractBrandFromUrlContext ctx)
Visit a parse tree produced by thematcherExtractBrandFromUrl
labeled alternative inUserAgentTreeWalkerParser.matcher()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatcherConcatPostfix
T visitMatcherConcatPostfix(UserAgentTreeWalkerParser.MatcherConcatPostfixContext ctx)
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
-
visitPathFixedValue
T visitPathFixedValue(UserAgentTreeWalkerParser.PathFixedValueContext ctx)
Visit a parse tree produced by thepathFixedValue
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathVariable
T visitPathVariable(UserAgentTreeWalkerParser.PathVariableContext ctx)
Visit a parse tree produced by thepathVariable
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathWalk
T visitPathWalk(UserAgentTreeWalkerParser.PathWalkContext ctx)
Visit a parse tree produced by thepathWalk
labeled alternative inUserAgentTreeWalkerParser.basePath()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepDown
T visitStepDown(UserAgentTreeWalkerParser.StepDownContext ctx)
Visit a parse tree produced by thestepDown
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepUp
T visitStepUp(UserAgentTreeWalkerParser.StepUpContext ctx)
Visit a parse tree produced by thestepUp
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext
T visitStepNext(UserAgentTreeWalkerParser.StepNextContext ctx)
Visit a parse tree produced by thestepNext
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext2
T visitStepNext2(UserAgentTreeWalkerParser.StepNext2Context ctx)
Visit a parse tree produced by thestepNext2
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext3
T visitStepNext3(UserAgentTreeWalkerParser.StepNext3Context ctx)
Visit a parse tree produced by thestepNext3
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNext4
T visitStepNext4(UserAgentTreeWalkerParser.StepNext4Context ctx)
Visit a parse tree produced by thestepNext4
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev
T visitStepPrev(UserAgentTreeWalkerParser.StepPrevContext ctx)
Visit a parse tree produced by thestepPrev
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev2
T visitStepPrev2(UserAgentTreeWalkerParser.StepPrev2Context ctx)
Visit a parse tree produced by thestepPrev2
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev3
T visitStepPrev3(UserAgentTreeWalkerParser.StepPrev3Context ctx)
Visit a parse tree produced by thestepPrev3
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepPrev4
T visitStepPrev4(UserAgentTreeWalkerParser.StepPrev4Context ctx)
Visit a parse tree produced by thestepPrev4
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepEqualsValue
T visitStepEqualsValue(UserAgentTreeWalkerParser.StepEqualsValueContext ctx)
Visit a parse tree produced by thestepEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepNotEqualsValue
T visitStepNotEqualsValue(UserAgentTreeWalkerParser.StepNotEqualsValueContext ctx)
Visit a parse tree produced by thestepNotEqualsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepStartsWithValue
T visitStepStartsWithValue(UserAgentTreeWalkerParser.StepStartsWithValueContext ctx)
Visit a parse tree produced by thestepStartsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepEndsWithValue
T visitStepEndsWithValue(UserAgentTreeWalkerParser.StepEndsWithValueContext ctx)
Visit a parse tree produced by thestepEndsWithValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepContainsValue
T visitStepContainsValue(UserAgentTreeWalkerParser.StepContainsValueContext ctx)
Visit a parse tree produced by thestepContainsValue
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepIsInSet
T visitStepIsInSet(UserAgentTreeWalkerParser.StepIsInSetContext ctx)
Visit a parse tree produced by thestepIsInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepIsNotInSet
T visitStepIsNotInSet(UserAgentTreeWalkerParser.StepIsNotInSetContext ctx)
Visit a parse tree produced by thestepIsNotInSet
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepWordRange
T visitStepWordRange(UserAgentTreeWalkerParser.StepWordRangeContext ctx)
Visit a parse tree produced by thestepWordRange
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepBackToFull
T visitStepBackToFull(UserAgentTreeWalkerParser.StepBackToFullContext ctx)
Visit a parse tree produced by thestepBackToFull
labeled alternative inUserAgentTreeWalkerParser.path()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToEnd
T visitNumberRangeStartToEnd(UserAgentTreeWalkerParser.NumberRangeStartToEndContext ctx)
Visit a parse tree produced by thenumberRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeOpenStartToEnd
T visitNumberRangeOpenStartToEnd(UserAgentTreeWalkerParser.NumberRangeOpenStartToEndContext ctx)
Visit a parse tree produced by thenumberRangeOpenStartToEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeStartToOpenEnd
T visitNumberRangeStartToOpenEnd(UserAgentTreeWalkerParser.NumberRangeStartToOpenEndContext ctx)
Visit a parse tree produced by thenumberRangeStartToOpenEnd
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeSingleValue
T visitNumberRangeSingleValue(UserAgentTreeWalkerParser.NumberRangeSingleValueContext ctx)
Visit a parse tree produced by thenumberRangeSingleValue
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeAll
T visitNumberRangeAll(UserAgentTreeWalkerParser.NumberRangeAllContext ctx)
Visit a parse tree produced by thenumberRangeAll
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberRangeEmpty
T visitNumberRangeEmpty(UserAgentTreeWalkerParser.NumberRangeEmptyContext ctx)
Visit a parse tree produced by thenumberRangeEmpty
labeled alternative inUserAgentTreeWalkerParser.numberRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeStartToEnd
T visitWordRangeStartToEnd(UserAgentTreeWalkerParser.WordRangeStartToEndContext ctx)
Visit a parse tree produced by thewordRangeStartToEnd
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeFirstWords
T visitWordRangeFirstWords(UserAgentTreeWalkerParser.WordRangeFirstWordsContext ctx)
Visit a parse tree produced by thewordRangeFirstWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeLastWords
T visitWordRangeLastWords(UserAgentTreeWalkerParser.WordRangeLastWordsContext ctx)
Visit a parse tree produced by thewordRangeLastWords
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWordRangeSingleWord
T visitWordRangeSingleWord(UserAgentTreeWalkerParser.WordRangeSingleWordContext ctx)
Visit a parse tree produced by thewordRangeSingleWord
labeled alternative inUserAgentTreeWalkerParser.wordRange()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-