Package nl.basjes.parse.useragent.parser
Interface UserAgentVisitor<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:
UserAgentBaseVisitor
,UserAgentGetChildrenVisitor
public interface UserAgentVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byUserAgentParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitUserAgent
T visitUserAgent(UserAgentParser.UserAgentContext ctx)
Visit a parse tree produced byUserAgentParser.userAgent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRootElements
T visitRootElements(UserAgentParser.RootElementsContext ctx)
Visit a parse tree produced byUserAgentParser.rootElements()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRootText
T visitRootText(UserAgentParser.RootTextContext ctx)
Visit a parse tree produced byUserAgentParser.rootText()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProduct
T visitProduct(UserAgentParser.ProductContext ctx)
Visit a parse tree produced byUserAgentParser.product()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentProduct
T visitCommentProduct(UserAgentParser.CommentProductContext ctx)
Visit a parse tree produced byUserAgentParser.commentProduct()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionWords
T visitProductVersionWords(UserAgentParser.ProductVersionWordsContext ctx)
Visit a parse tree produced byUserAgentParser.productVersionWords()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductName
T visitProductName(UserAgentParser.ProductNameContext ctx)
Visit a parse tree produced byUserAgentParser.productName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameWords
T visitProductNameWords(UserAgentParser.ProductNameWordsContext ctx)
Visit a parse tree produced byUserAgentParser.productNameWords()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersion
T visitProductVersion(UserAgentParser.ProductVersionContext ctx)
Visit a parse tree produced byUserAgentParser.productVersion()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionWithCommas
T visitProductVersionWithCommas(UserAgentParser.ProductVersionWithCommasContext ctx)
Visit a parse tree produced byUserAgentParser.productVersionWithCommas()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionSingleWord
T visitProductVersionSingleWord(UserAgentParser.ProductVersionSingleWordContext ctx)
Visit a parse tree produced byUserAgentParser.productVersionSingleWord()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleVersion
T visitSingleVersion(UserAgentParser.SingleVersionContext ctx)
Visit a parse tree produced byUserAgentParser.singleVersion()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleVersionWithCommas
T visitSingleVersionWithCommas(UserAgentParser.SingleVersionWithCommasContext ctx)
Visit a parse tree produced byUserAgentParser.singleVersionWithCommas()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameVersion
T visitProductNameVersion(UserAgentParser.ProductNameVersionContext ctx)
Visit a parse tree produced byUserAgentParser.productNameVersion()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameEmail
T visitProductNameEmail(UserAgentParser.ProductNameEmailContext ctx)
Visit a parse tree produced byUserAgentParser.productNameEmail()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameUrl
T visitProductNameUrl(UserAgentParser.ProductNameUrlContext ctx)
Visit a parse tree produced byUserAgentParser.productNameUrl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameUuid
T visitProductNameUuid(UserAgentParser.ProductNameUuidContext ctx)
Visit a parse tree produced byUserAgentParser.productNameUuid()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUuId
T visitUuId(UserAgentParser.UuIdContext ctx)
Visit a parse tree produced byUserAgentParser.uuId()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmailAddress
T visitEmailAddress(UserAgentParser.EmailAddressContext ctx)
Visit a parse tree produced byUserAgentParser.emailAddress()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSiteUrl
T visitSiteUrl(UserAgentParser.SiteUrlContext ctx)
Visit a parse tree produced byUserAgentParser.siteUrl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBase64
T visitBase64(UserAgentParser.Base64Context ctx)
Visit a parse tree produced byUserAgentParser.base64()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentSeparator
T visitCommentSeparator(UserAgentParser.CommentSeparatorContext ctx)
Visit a parse tree produced byUserAgentParser.commentSeparator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentBlock
T visitCommentBlock(UserAgentParser.CommentBlockContext ctx)
Visit a parse tree produced byUserAgentParser.commentBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentEntry
T visitCommentEntry(UserAgentParser.CommentEntryContext ctx)
Visit a parse tree produced byUserAgentParser.commentEntry()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameKeyValue
T visitProductNameKeyValue(UserAgentParser.ProductNameKeyValueContext ctx)
Visit a parse tree produced byUserAgentParser.productNameKeyValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameNoVersion
T visitProductNameNoVersion(UserAgentParser.ProductNameNoVersionContext ctx)
Visit a parse tree produced byUserAgentParser.productNameNoVersion()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValueProductVersionName
T visitKeyValueProductVersionName(UserAgentParser.KeyValueProductVersionNameContext ctx)
Visit a parse tree produced byUserAgentParser.keyValueProductVersionName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValue
T visitKeyValue(UserAgentParser.KeyValueContext ctx)
Visit a parse tree produced byUserAgentParser.keyValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyWithoutValue
T visitKeyWithoutValue(UserAgentParser.KeyWithoutValueContext ctx)
Visit a parse tree produced byUserAgentParser.keyWithoutValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValueVersionName
T visitKeyValueVersionName(UserAgentParser.KeyValueVersionNameContext ctx)
Visit a parse tree produced byUserAgentParser.keyValueVersionName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyName
T visitKeyName(UserAgentParser.KeyNameContext ctx)
Visit a parse tree produced byUserAgentParser.keyName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyWord
T visitEmptyWord(UserAgentParser.EmptyWordContext ctx)
Visit a parse tree produced byUserAgentParser.emptyWord()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultipleWords
T visitMultipleWords(UserAgentParser.MultipleWordsContext ctx)
Visit a parse tree produced byUserAgentParser.multipleWords()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVersionWords
T visitVersionWords(UserAgentParser.VersionWordsContext ctx)
Visit a parse tree produced byUserAgentParser.versionWords()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-