Class UserAgentGetChildrenVisitor
- All Implemented Interfaces:
UserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>,org.antlr.v4.runtime.tree.ParseTreeVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.commentBlock().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.commentEntry().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.commentProduct().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.keyValue().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.keyWithoutValue().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.product().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.productName().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.productNameKeyValue().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.productNameNoVersion().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.productVersion().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.productVersionWithCommas().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.rootElements().Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>Visit a parse tree produced byUserAgentParser.userAgent().Methods inherited from class nl.basjes.parse.useragent.parser.UserAgentBaseVisitor
visitBase64, visitCommentSeparator, visitEmailAddress, visitEmptyWord, visitKeyName, visitKeyValueProductVersionName, visitKeyValueVersionName, visitMultipleWords, visitProductNameEmail, visitProductNameUrl, visitProductNameUuid, visitProductNameVersion, visitProductNameWords, visitProductVersionSingleWord, visitProductVersionWords, visitRootText, visitSingleVersion, visitSingleVersionWithCommas, visitSiteUrl, visitUuId, visitVersionWordsMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
UserAgentGetChildrenVisitor
-
-
Method Details
-
defaultResult
- Overrides:
defaultResultin classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>
-
visitUserAgent
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitUserAgent(UserAgentParser.UserAgentContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitUserAgentin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitUserAgentin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRootElements
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitRootElements(UserAgentParser.RootElementsContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitRootElementsin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitRootElementsin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProduct
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProduct(UserAgentParser.ProductContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProductNameNoVersion
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProductNameNoVersion(UserAgentParser.ProductNameNoVersionContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductNameNoVersionin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductNameNoVersionin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommentProduct
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitCommentProduct(UserAgentParser.CommentProductContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitCommentProductin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitCommentProductin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProductName
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProductName(UserAgentParser.ProductNameContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductNamein interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductNamein classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProductNameKeyValue
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProductNameKeyValue(UserAgentParser.ProductNameKeyValueContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductNameKeyValuein interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductNameKeyValuein classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProductVersion
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProductVersion(UserAgentParser.ProductVersionContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductVersionin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductVersionin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProductVersionWithCommas
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitProductVersionWithCommas(UserAgentParser.ProductVersionWithCommasContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitProductVersionWithCommasin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitProductVersionWithCommasin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValue
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitKeyValue(UserAgentParser.KeyValueContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitKeyValuein interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitKeyValuein classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyWithoutValue
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitKeyWithoutValue(UserAgentParser.KeyWithoutValueContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitKeyWithoutValuein interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitKeyWithoutValuein classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommentBlock
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitCommentBlock(UserAgentParser.CommentBlockContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitCommentBlockin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitCommentBlockin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommentEntry
public Iterator<? extends org.antlr.v4.runtime.tree.ParseTree> visitCommentEntry(UserAgentParser.CommentEntryContext ctx) Description copied from class:UserAgentBaseVisitorVisit 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:
visitCommentEntryin interfaceUserAgentVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Overrides:
visitCommentEntryin classUserAgentBaseVisitor<Iterator<? extends org.antlr.v4.runtime.tree.ParseTree>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-