Class UserAgentBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
UserAgentVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
UserAgentGetChildrenVisitor
UserAgentVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byUserAgentParser.base64()
.Visit a parse tree produced byUserAgentParser.commentBlock()
.Visit a parse tree produced byUserAgentParser.commentEntry()
.Visit a parse tree produced byUserAgentParser.commentProduct()
.Visit a parse tree produced byUserAgentParser.commentSeparator()
.Visit a parse tree produced byUserAgentParser.emailAddress()
.Visit a parse tree produced byUserAgentParser.emptyWord()
.Visit a parse tree produced byUserAgentParser.keyName()
.Visit a parse tree produced byUserAgentParser.keyValue()
.Visit a parse tree produced byUserAgentParser.keyValueProductVersionName()
.Visit a parse tree produced byUserAgentParser.keyValueVersionName()
.Visit a parse tree produced byUserAgentParser.keyWithoutValue()
.Visit a parse tree produced byUserAgentParser.multipleWords()
.Visit a parse tree produced byUserAgentParser.product()
.Visit a parse tree produced byUserAgentParser.productName()
.Visit a parse tree produced byUserAgentParser.productNameEmail()
.Visit a parse tree produced byUserAgentParser.productNameKeyValue()
.Visit a parse tree produced byUserAgentParser.productNameNoVersion()
.Visit a parse tree produced byUserAgentParser.productNameUrl()
.Visit a parse tree produced byUserAgentParser.productNameUuid()
.Visit a parse tree produced byUserAgentParser.productNameVersion()
.Visit a parse tree produced byUserAgentParser.productNameWords()
.Visit a parse tree produced byUserAgentParser.productVersion()
.Visit a parse tree produced byUserAgentParser.productVersionSingleWord()
.Visit a parse tree produced byUserAgentParser.productVersionWithCommas()
.Visit a parse tree produced byUserAgentParser.productVersionWords()
.Visit a parse tree produced byUserAgentParser.rootElements()
.Visit a parse tree produced byUserAgentParser.rootText()
.Visit a parse tree produced byUserAgentParser.singleVersion()
.Visit a parse tree produced byUserAgentParser.singleVersionWithCommas()
.Visit a parse tree produced byUserAgentParser.siteUrl()
.Visit a parse tree produced byUserAgentParser.userAgent()
.Visit a parse tree produced byUserAgentParser.uuId()
.Visit a parse tree produced byUserAgentParser.versionWords()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
UserAgentBaseVisitor
public UserAgentBaseVisitor()
-
-
Method Details
-
visitUserAgent
Visit a parse tree produced byUserAgentParser.userAgent()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUserAgent
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRootElements
Visit a parse tree produced byUserAgentParser.rootElements()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRootElements
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRootText
Visit a parse tree produced byUserAgentParser.rootText()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRootText
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProduct
Visit a parse tree produced byUserAgentParser.product()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProduct
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentProduct
Visit a parse tree produced byUserAgentParser.commentProduct()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommentProduct
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionWords
Visit a parse tree produced byUserAgentParser.productVersionWords()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductVersionWords
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductName
Visit a parse tree produced byUserAgentParser.productName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductName
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameWords
Visit a parse tree produced byUserAgentParser.productNameWords()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameWords
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersion
Visit a parse tree produced byUserAgentParser.productVersion()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductVersion
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionWithCommas
Visit a parse tree produced byUserAgentParser.productVersionWithCommas()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductVersionWithCommas
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductVersionSingleWord
Visit a parse tree produced byUserAgentParser.productVersionSingleWord()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductVersionSingleWord
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleVersion
Visit a parse tree produced byUserAgentParser.singleVersion()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleVersion
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleVersionWithCommas
Visit a parse tree produced byUserAgentParser.singleVersionWithCommas()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleVersionWithCommas
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameVersion
Visit a parse tree produced byUserAgentParser.productNameVersion()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameVersion
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameEmail
Visit a parse tree produced byUserAgentParser.productNameEmail()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameEmail
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameUrl
Visit a parse tree produced byUserAgentParser.productNameUrl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameUrl
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameUuid
Visit a parse tree produced byUserAgentParser.productNameUuid()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameUuid
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUuId
Visit a parse tree produced byUserAgentParser.uuId()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUuId
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmailAddress
Visit a parse tree produced byUserAgentParser.emailAddress()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmailAddress
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSiteUrl
Visit a parse tree produced byUserAgentParser.siteUrl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSiteUrl
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBase64
Visit a parse tree produced byUserAgentParser.base64()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBase64
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentSeparator
Visit a parse tree produced byUserAgentParser.commentSeparator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommentSeparator
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentBlock
Visit a parse tree produced byUserAgentParser.commentBlock()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommentBlock
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommentEntry
Visit a parse tree produced byUserAgentParser.commentEntry()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommentEntry
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameKeyValue
Visit a parse tree produced byUserAgentParser.productNameKeyValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameKeyValue
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitProductNameNoVersion
Visit a parse tree produced byUserAgentParser.productNameNoVersion()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProductNameNoVersion
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValueProductVersionName
Visit a parse tree produced byUserAgentParser.keyValueProductVersionName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyValueProductVersionName
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byUserAgentParser.keyValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyValue
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyWithoutValue
Visit a parse tree produced byUserAgentParser.keyWithoutValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyWithoutValue
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyValueVersionName
Visit a parse tree produced byUserAgentParser.keyValueVersionName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyValueVersionName
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyName
Visit a parse tree produced byUserAgentParser.keyName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeyName
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyWord
Visit a parse tree produced byUserAgentParser.emptyWord()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyWord
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultipleWords
Visit a parse tree produced byUserAgentParser.multipleWords()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultipleWords
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVersionWords
Visit a parse tree produced byUserAgentParser.versionWords()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVersionWords
in interfaceUserAgentVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-