Class UserAgentBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
UserAgentVisitor<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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TaggregateResult(T arg0, T arg1) protected Tprotected booleanshouldVisitNextChild(org.antlr.v4.runtime.tree.RuleNode arg0, T arg1) visit(org.antlr.v4.runtime.tree.ParseTree arg0) visit(org.antlr.v4.runtime.tree.ParseTree arg0) Visit a parse tree produced byUserAgentParser.base64().visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) 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().visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) 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().visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0) visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0) Visit a parse tree produced byUserAgentParser.userAgent().Visit a parse tree produced byUserAgentParser.uuId().Visit a parse tree produced byUserAgentParser.versionWords().
-
Constructor Details
-
UserAgentBaseVisitor
public UserAgentBaseVisitor()
-
-
Method Details
-
visitUserAgent
Visit a parse tree produced byUserAgentParser.userAgent().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitUserAgentin 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
visitChildren(RuleNode)onctx.- Specified by:
visitRootElementsin 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
visitChildren(RuleNode)onctx.- Specified by:
visitRootTextin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductin 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
visitChildren(RuleNode)onctx.- Specified by:
visitCommentProductin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductVersionWordsin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNamein 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameWordsin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductVersionin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductVersionWithCommasin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductVersionSingleWordin 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
visitChildren(RuleNode)onctx.- Specified by:
visitSingleVersionin 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
visitChildren(RuleNode)onctx.- Specified by:
visitSingleVersionWithCommasin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameVersionin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameEmailin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameUrlin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameUuidin 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
visitChildren(RuleNode)onctx.- Specified by:
visitUuIdin 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
visitChildren(RuleNode)onctx.- Specified by:
visitEmailAddressin 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
visitChildren(RuleNode)onctx.- Specified by:
visitSiteUrlin 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
visitChildren(RuleNode)onctx.- Specified by:
visitBase64in 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
visitChildren(RuleNode)onctx.- Specified by:
visitCommentSeparatorin 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
visitChildren(RuleNode)onctx.- Specified by:
visitCommentBlockin 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
visitChildren(RuleNode)onctx.- Specified by:
visitCommentEntryin 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameKeyValuein 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
visitChildren(RuleNode)onctx.- Specified by:
visitProductNameNoVersionin 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
visitChildren(RuleNode)onctx.- Specified by:
visitKeyValueProductVersionNamein 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
visitChildren(RuleNode)onctx.- Specified by:
visitKeyValuein 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
visitChildren(RuleNode)onctx.- Specified by:
visitKeyWithoutValuein 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
visitChildren(RuleNode)onctx.- Specified by:
visitKeyValueVersionNamein 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
visitChildren(RuleNode)onctx.- Specified by:
visitKeyNamein 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
visitChildren(RuleNode)onctx.- Specified by:
visitEmptyWordin 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
visitChildren(RuleNode)onctx.- Specified by:
visitMultipleWordsin 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
visitChildren(RuleNode)onctx.- Specified by:
visitVersionWordsin interfaceUserAgentVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
defaultResult
-
aggregateResult
-
shouldVisitNextChild
-