Class UserAgentBaseListener
- All Implemented Interfaces:
UserAgentListener,org.antlr.v4.runtime.tree.ParseTreeListener
- Direct Known Subclasses:
UserAgent.MutableUserAgent,UserAgentTreeFlattener
UserAgentListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byUserAgentParser.base64().voidEnter a parse tree produced byUserAgentParser.commentBlock().voidEnter a parse tree produced byUserAgentParser.commentEntry().voidEnter a parse tree produced byUserAgentParser.commentProduct().voidEnter a parse tree produced byUserAgentParser.commentSeparator().voidEnter a parse tree produced byUserAgentParser.emailAddress().voidEnter a parse tree produced byUserAgentParser.emptyWord().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byUserAgentParser.keyName().voidEnter a parse tree produced byUserAgentParser.keyValue().voidEnter a parse tree produced byUserAgentParser.keyValueProductVersionName().voidEnter a parse tree produced byUserAgentParser.keyValueVersionName().voidEnter a parse tree produced byUserAgentParser.keyWithoutValue().voidEnter a parse tree produced byUserAgentParser.multipleWords().voidEnter a parse tree produced byUserAgentParser.product().voidEnter a parse tree produced byUserAgentParser.productName().voidEnter a parse tree produced byUserAgentParser.productNameEmail().voidEnter a parse tree produced byUserAgentParser.productNameKeyValue().voidEnter a parse tree produced byUserAgentParser.productNameNoVersion().voidEnter a parse tree produced byUserAgentParser.productNameUrl().voidEnter a parse tree produced byUserAgentParser.productNameUuid().voidEnter a parse tree produced byUserAgentParser.productNameVersion().voidEnter a parse tree produced byUserAgentParser.productNameWords().voidEnter a parse tree produced byUserAgentParser.productVersion().voidEnter a parse tree produced byUserAgentParser.productVersionSingleWord().voidEnter a parse tree produced byUserAgentParser.productVersionWithCommas().voidEnter a parse tree produced byUserAgentParser.productVersionWords().voidEnter a parse tree produced byUserAgentParser.rootElements().voidEnter a parse tree produced byUserAgentParser.rootText().voidEnter a parse tree produced byUserAgentParser.singleVersion().voidEnter a parse tree produced byUserAgentParser.singleVersionWithCommas().voidEnter a parse tree produced byUserAgentParser.siteUrl().voidEnter a parse tree produced byUserAgentParser.userAgent().voidEnter a parse tree produced byUserAgentParser.uuId().voidEnter a parse tree produced byUserAgentParser.versionWords().voidExit a parse tree produced byUserAgentParser.base64().voidExit a parse tree produced byUserAgentParser.commentBlock().voidExit a parse tree produced byUserAgentParser.commentEntry().voidExit a parse tree produced byUserAgentParser.commentProduct().voidExit a parse tree produced byUserAgentParser.commentSeparator().voidExit a parse tree produced byUserAgentParser.emailAddress().voidExit a parse tree produced byUserAgentParser.emptyWord().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byUserAgentParser.keyName().voidExit a parse tree produced byUserAgentParser.keyValue().voidExit a parse tree produced byUserAgentParser.keyValueProductVersionName().voidExit a parse tree produced byUserAgentParser.keyValueVersionName().voidExit a parse tree produced byUserAgentParser.keyWithoutValue().voidExit a parse tree produced byUserAgentParser.multipleWords().voidExit a parse tree produced byUserAgentParser.product().voidExit a parse tree produced byUserAgentParser.productName().voidExit a parse tree produced byUserAgentParser.productNameEmail().voidExit a parse tree produced byUserAgentParser.productNameKeyValue().voidExit a parse tree produced byUserAgentParser.productNameNoVersion().voidExit a parse tree produced byUserAgentParser.productNameUrl().voidExit a parse tree produced byUserAgentParser.productNameUuid().voidExit a parse tree produced byUserAgentParser.productNameVersion().voidExit a parse tree produced byUserAgentParser.productNameWords().voidExit a parse tree produced byUserAgentParser.productVersion().voidExit a parse tree produced byUserAgentParser.productVersionSingleWord().voidExit a parse tree produced byUserAgentParser.productVersionWithCommas().voidExit a parse tree produced byUserAgentParser.productVersionWords().voidExit a parse tree produced byUserAgentParser.rootElements().voidExit a parse tree produced byUserAgentParser.rootText().voidExit a parse tree produced byUserAgentParser.singleVersion().voidExit a parse tree produced byUserAgentParser.singleVersionWithCommas().voidExit a parse tree produced byUserAgentParser.siteUrl().voidExit a parse tree produced byUserAgentParser.userAgent().voidExit a parse tree produced byUserAgentParser.uuId().voidExit a parse tree produced byUserAgentParser.versionWords().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
UserAgentBaseListener
public UserAgentBaseListener()
-
-
Method Details
-
enterUserAgent
Enter a parse tree produced byUserAgentParser.userAgent().The default implementation does nothing.
- Specified by:
enterUserAgentin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitUserAgent
Exit a parse tree produced byUserAgentParser.userAgent().The default implementation does nothing.
- Specified by:
exitUserAgentin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterRootElements
Enter a parse tree produced byUserAgentParser.rootElements().The default implementation does nothing.
- Specified by:
enterRootElementsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitRootElements
Exit a parse tree produced byUserAgentParser.rootElements().The default implementation does nothing.
- Specified by:
exitRootElementsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterRootText
Enter a parse tree produced byUserAgentParser.rootText().The default implementation does nothing.
- Specified by:
enterRootTextin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitRootText
Exit a parse tree produced byUserAgentParser.rootText().The default implementation does nothing.
- Specified by:
exitRootTextin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProduct
Enter a parse tree produced byUserAgentParser.product().The default implementation does nothing.
- Specified by:
enterProductin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProduct
Exit a parse tree produced byUserAgentParser.product().The default implementation does nothing.
- Specified by:
exitProductin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterCommentProduct
Enter a parse tree produced byUserAgentParser.commentProduct().The default implementation does nothing.
- Specified by:
enterCommentProductin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitCommentProduct
Exit a parse tree produced byUserAgentParser.commentProduct().The default implementation does nothing.
- Specified by:
exitCommentProductin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductVersionWords
Enter a parse tree produced byUserAgentParser.productVersionWords().The default implementation does nothing.
- Specified by:
enterProductVersionWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductVersionWords
Exit a parse tree produced byUserAgentParser.productVersionWords().The default implementation does nothing.
- Specified by:
exitProductVersionWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductName
Enter a parse tree produced byUserAgentParser.productName().The default implementation does nothing.
- Specified by:
enterProductNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductName
Exit a parse tree produced byUserAgentParser.productName().The default implementation does nothing.
- Specified by:
exitProductNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameWords
Enter a parse tree produced byUserAgentParser.productNameWords().The default implementation does nothing.
- Specified by:
enterProductNameWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameWords
Exit a parse tree produced byUserAgentParser.productNameWords().The default implementation does nothing.
- Specified by:
exitProductNameWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductVersion
Enter a parse tree produced byUserAgentParser.productVersion().The default implementation does nothing.
- Specified by:
enterProductVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductVersion
Exit a parse tree produced byUserAgentParser.productVersion().The default implementation does nothing.
- Specified by:
exitProductVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductVersionWithCommas
Enter a parse tree produced byUserAgentParser.productVersionWithCommas().The default implementation does nothing.
- Specified by:
enterProductVersionWithCommasin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductVersionWithCommas
Exit a parse tree produced byUserAgentParser.productVersionWithCommas().The default implementation does nothing.
- Specified by:
exitProductVersionWithCommasin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductVersionSingleWord
Enter a parse tree produced byUserAgentParser.productVersionSingleWord().The default implementation does nothing.
- Specified by:
enterProductVersionSingleWordin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductVersionSingleWord
Exit a parse tree produced byUserAgentParser.productVersionSingleWord().The default implementation does nothing.
- Specified by:
exitProductVersionSingleWordin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterSingleVersion
Enter a parse tree produced byUserAgentParser.singleVersion().The default implementation does nothing.
- Specified by:
enterSingleVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitSingleVersion
Exit a parse tree produced byUserAgentParser.singleVersion().The default implementation does nothing.
- Specified by:
exitSingleVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterSingleVersionWithCommas
Enter a parse tree produced byUserAgentParser.singleVersionWithCommas().The default implementation does nothing.
- Specified by:
enterSingleVersionWithCommasin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitSingleVersionWithCommas
Exit a parse tree produced byUserAgentParser.singleVersionWithCommas().The default implementation does nothing.
- Specified by:
exitSingleVersionWithCommasin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameVersion
Enter a parse tree produced byUserAgentParser.productNameVersion().The default implementation does nothing.
- Specified by:
enterProductNameVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameVersion
Exit a parse tree produced byUserAgentParser.productNameVersion().The default implementation does nothing.
- Specified by:
exitProductNameVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameEmail
Enter a parse tree produced byUserAgentParser.productNameEmail().The default implementation does nothing.
- Specified by:
enterProductNameEmailin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameEmail
Exit a parse tree produced byUserAgentParser.productNameEmail().The default implementation does nothing.
- Specified by:
exitProductNameEmailin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameUrl
Enter a parse tree produced byUserAgentParser.productNameUrl().The default implementation does nothing.
- Specified by:
enterProductNameUrlin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameUrl
Exit a parse tree produced byUserAgentParser.productNameUrl().The default implementation does nothing.
- Specified by:
exitProductNameUrlin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameUuid
Enter a parse tree produced byUserAgentParser.productNameUuid().The default implementation does nothing.
- Specified by:
enterProductNameUuidin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameUuid
Exit a parse tree produced byUserAgentParser.productNameUuid().The default implementation does nothing.
- Specified by:
exitProductNameUuidin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterUuId
Enter a parse tree produced byUserAgentParser.uuId().The default implementation does nothing.
- Specified by:
enterUuIdin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitUuId
Exit a parse tree produced byUserAgentParser.uuId().The default implementation does nothing.
- Specified by:
exitUuIdin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterEmailAddress
Enter a parse tree produced byUserAgentParser.emailAddress().The default implementation does nothing.
- Specified by:
enterEmailAddressin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitEmailAddress
Exit a parse tree produced byUserAgentParser.emailAddress().The default implementation does nothing.
- Specified by:
exitEmailAddressin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterSiteUrl
Enter a parse tree produced byUserAgentParser.siteUrl().The default implementation does nothing.
- Specified by:
enterSiteUrlin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitSiteUrl
Exit a parse tree produced byUserAgentParser.siteUrl().The default implementation does nothing.
- Specified by:
exitSiteUrlin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterBase64
Enter a parse tree produced byUserAgentParser.base64().The default implementation does nothing.
- Specified by:
enterBase64in interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitBase64
Exit a parse tree produced byUserAgentParser.base64().The default implementation does nothing.
- Specified by:
exitBase64in interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterCommentSeparator
Enter a parse tree produced byUserAgentParser.commentSeparator().The default implementation does nothing.
- Specified by:
enterCommentSeparatorin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitCommentSeparator
Exit a parse tree produced byUserAgentParser.commentSeparator().The default implementation does nothing.
- Specified by:
exitCommentSeparatorin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterCommentBlock
Enter a parse tree produced byUserAgentParser.commentBlock().The default implementation does nothing.
- Specified by:
enterCommentBlockin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitCommentBlock
Exit a parse tree produced byUserAgentParser.commentBlock().The default implementation does nothing.
- Specified by:
exitCommentBlockin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterCommentEntry
Enter a parse tree produced byUserAgentParser.commentEntry().The default implementation does nothing.
- Specified by:
enterCommentEntryin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitCommentEntry
Exit a parse tree produced byUserAgentParser.commentEntry().The default implementation does nothing.
- Specified by:
exitCommentEntryin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameKeyValue
Enter a parse tree produced byUserAgentParser.productNameKeyValue().The default implementation does nothing.
- Specified by:
enterProductNameKeyValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameKeyValue
Exit a parse tree produced byUserAgentParser.productNameKeyValue().The default implementation does nothing.
- Specified by:
exitProductNameKeyValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterProductNameNoVersion
Enter a parse tree produced byUserAgentParser.productNameNoVersion().The default implementation does nothing.
- Specified by:
enterProductNameNoVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitProductNameNoVersion
Exit a parse tree produced byUserAgentParser.productNameNoVersion().The default implementation does nothing.
- Specified by:
exitProductNameNoVersionin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterKeyValueProductVersionName
Enter a parse tree produced byUserAgentParser.keyValueProductVersionName().The default implementation does nothing.
- Specified by:
enterKeyValueProductVersionNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitKeyValueProductVersionName
Exit a parse tree produced byUserAgentParser.keyValueProductVersionName().The default implementation does nothing.
- Specified by:
exitKeyValueProductVersionNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterKeyValue
Enter a parse tree produced byUserAgentParser.keyValue().The default implementation does nothing.
- Specified by:
enterKeyValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitKeyValue
Exit a parse tree produced byUserAgentParser.keyValue().The default implementation does nothing.
- Specified by:
exitKeyValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterKeyWithoutValue
Enter a parse tree produced byUserAgentParser.keyWithoutValue().The default implementation does nothing.
- Specified by:
enterKeyWithoutValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitKeyWithoutValue
Exit a parse tree produced byUserAgentParser.keyWithoutValue().The default implementation does nothing.
- Specified by:
exitKeyWithoutValuein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterKeyValueVersionName
Enter a parse tree produced byUserAgentParser.keyValueVersionName().The default implementation does nothing.
- Specified by:
enterKeyValueVersionNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitKeyValueVersionName
Exit a parse tree produced byUserAgentParser.keyValueVersionName().The default implementation does nothing.
- Specified by:
exitKeyValueVersionNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterKeyName
Enter a parse tree produced byUserAgentParser.keyName().The default implementation does nothing.
- Specified by:
enterKeyNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitKeyName
Exit a parse tree produced byUserAgentParser.keyName().The default implementation does nothing.
- Specified by:
exitKeyNamein interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterEmptyWord
Enter a parse tree produced byUserAgentParser.emptyWord().The default implementation does nothing.
- Specified by:
enterEmptyWordin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitEmptyWord
Exit a parse tree produced byUserAgentParser.emptyWord().The default implementation does nothing.
- Specified by:
exitEmptyWordin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterMultipleWords
Enter a parse tree produced byUserAgentParser.multipleWords().The default implementation does nothing.
- Specified by:
enterMultipleWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitMultipleWords
Exit a parse tree produced byUserAgentParser.multipleWords().The default implementation does nothing.
- Specified by:
exitMultipleWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterVersionWords
Enter a parse tree produced byUserAgentParser.versionWords().The default implementation does nothing.
- Specified by:
enterVersionWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
exitVersionWords
Exit a parse tree produced byUserAgentParser.versionWords().The default implementation does nothing.
- Specified by:
exitVersionWordsin interfaceUserAgentListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-