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 TypeMethodDescriptionvoid
Enter a parse tree produced byUserAgentParser.base64()
.void
Enter a parse tree produced byUserAgentParser.commentBlock()
.void
Enter a parse tree produced byUserAgentParser.commentEntry()
.void
Enter a parse tree produced byUserAgentParser.commentProduct()
.void
Enter a parse tree produced byUserAgentParser.commentSeparator()
.void
Enter a parse tree produced byUserAgentParser.emailAddress()
.void
Enter a parse tree produced byUserAgentParser.emptyWord()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced byUserAgentParser.keyName()
.void
Enter a parse tree produced byUserAgentParser.keyValue()
.void
Enter a parse tree produced byUserAgentParser.keyValueProductVersionName()
.void
Enter a parse tree produced byUserAgentParser.keyValueVersionName()
.void
Enter a parse tree produced byUserAgentParser.keyWithoutValue()
.void
Enter a parse tree produced byUserAgentParser.multipleWords()
.void
Enter a parse tree produced byUserAgentParser.product()
.void
Enter a parse tree produced byUserAgentParser.productName()
.void
Enter a parse tree produced byUserAgentParser.productNameEmail()
.void
Enter a parse tree produced byUserAgentParser.productNameKeyValue()
.void
Enter a parse tree produced byUserAgentParser.productNameNoVersion()
.void
Enter a parse tree produced byUserAgentParser.productNameUrl()
.void
Enter a parse tree produced byUserAgentParser.productNameUuid()
.void
Enter a parse tree produced byUserAgentParser.productNameVersion()
.void
Enter a parse tree produced byUserAgentParser.productNameWords()
.void
Enter a parse tree produced byUserAgentParser.productVersion()
.void
Enter a parse tree produced byUserAgentParser.productVersionSingleWord()
.void
Enter a parse tree produced byUserAgentParser.productVersionWithCommas()
.void
Enter a parse tree produced byUserAgentParser.productVersionWords()
.void
Enter a parse tree produced byUserAgentParser.rootElements()
.void
Enter a parse tree produced byUserAgentParser.rootText()
.void
Enter a parse tree produced byUserAgentParser.singleVersion()
.void
Enter a parse tree produced byUserAgentParser.singleVersionWithCommas()
.void
Enter a parse tree produced byUserAgentParser.siteUrl()
.void
Enter a parse tree produced byUserAgentParser.userAgent()
.void
Enter a parse tree produced byUserAgentParser.uuId()
.void
Enter a parse tree produced byUserAgentParser.versionWords()
.void
Exit a parse tree produced byUserAgentParser.base64()
.void
Exit a parse tree produced byUserAgentParser.commentBlock()
.void
Exit a parse tree produced byUserAgentParser.commentEntry()
.void
Exit a parse tree produced byUserAgentParser.commentProduct()
.void
Exit a parse tree produced byUserAgentParser.commentSeparator()
.void
Exit a parse tree produced byUserAgentParser.emailAddress()
.void
Exit a parse tree produced byUserAgentParser.emptyWord()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced byUserAgentParser.keyName()
.void
Exit a parse tree produced byUserAgentParser.keyValue()
.void
Exit a parse tree produced byUserAgentParser.keyValueProductVersionName()
.void
Exit a parse tree produced byUserAgentParser.keyValueVersionName()
.void
Exit a parse tree produced byUserAgentParser.keyWithoutValue()
.void
Exit a parse tree produced byUserAgentParser.multipleWords()
.void
Exit a parse tree produced byUserAgentParser.product()
.void
Exit a parse tree produced byUserAgentParser.productName()
.void
Exit a parse tree produced byUserAgentParser.productNameEmail()
.void
Exit a parse tree produced byUserAgentParser.productNameKeyValue()
.void
Exit a parse tree produced byUserAgentParser.productNameNoVersion()
.void
Exit a parse tree produced byUserAgentParser.productNameUrl()
.void
Exit a parse tree produced byUserAgentParser.productNameUuid()
.void
Exit a parse tree produced byUserAgentParser.productNameVersion()
.void
Exit a parse tree produced byUserAgentParser.productNameWords()
.void
Exit a parse tree produced byUserAgentParser.productVersion()
.void
Exit a parse tree produced byUserAgentParser.productVersionSingleWord()
.void
Exit a parse tree produced byUserAgentParser.productVersionWithCommas()
.void
Exit a parse tree produced byUserAgentParser.productVersionWords()
.void
Exit a parse tree produced byUserAgentParser.rootElements()
.void
Exit a parse tree produced byUserAgentParser.rootText()
.void
Exit a parse tree produced byUserAgentParser.singleVersion()
.void
Exit a parse tree produced byUserAgentParser.singleVersionWithCommas()
.void
Exit a parse tree produced byUserAgentParser.siteUrl()
.void
Exit a parse tree produced byUserAgentParser.userAgent()
.void
Exit a parse tree produced byUserAgentParser.uuId()
.void
Exit a parse tree produced byUserAgentParser.versionWords()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(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:
enterUserAgent
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitUserAgent
Exit a parse tree produced byUserAgentParser.userAgent()
.The default implementation does nothing.
- Specified by:
exitUserAgent
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterRootElements
Enter a parse tree produced byUserAgentParser.rootElements()
.The default implementation does nothing.
- Specified by:
enterRootElements
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitRootElements
Exit a parse tree produced byUserAgentParser.rootElements()
.The default implementation does nothing.
- Specified by:
exitRootElements
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterRootText
Enter a parse tree produced byUserAgentParser.rootText()
.The default implementation does nothing.
- Specified by:
enterRootText
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitRootText
Exit a parse tree produced byUserAgentParser.rootText()
.The default implementation does nothing.
- Specified by:
exitRootText
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProduct
Enter a parse tree produced byUserAgentParser.product()
.The default implementation does nothing.
- Specified by:
enterProduct
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProduct
Exit a parse tree produced byUserAgentParser.product()
.The default implementation does nothing.
- Specified by:
exitProduct
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterCommentProduct
Enter a parse tree produced byUserAgentParser.commentProduct()
.The default implementation does nothing.
- Specified by:
enterCommentProduct
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitCommentProduct
Exit a parse tree produced byUserAgentParser.commentProduct()
.The default implementation does nothing.
- Specified by:
exitCommentProduct
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductVersionWords
Enter a parse tree produced byUserAgentParser.productVersionWords()
.The default implementation does nothing.
- Specified by:
enterProductVersionWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductVersionWords
Exit a parse tree produced byUserAgentParser.productVersionWords()
.The default implementation does nothing.
- Specified by:
exitProductVersionWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductName
Enter a parse tree produced byUserAgentParser.productName()
.The default implementation does nothing.
- Specified by:
enterProductName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductName
Exit a parse tree produced byUserAgentParser.productName()
.The default implementation does nothing.
- Specified by:
exitProductName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameWords
Enter a parse tree produced byUserAgentParser.productNameWords()
.The default implementation does nothing.
- Specified by:
enterProductNameWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameWords
Exit a parse tree produced byUserAgentParser.productNameWords()
.The default implementation does nothing.
- Specified by:
exitProductNameWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductVersion
Enter a parse tree produced byUserAgentParser.productVersion()
.The default implementation does nothing.
- Specified by:
enterProductVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductVersion
Exit a parse tree produced byUserAgentParser.productVersion()
.The default implementation does nothing.
- Specified by:
exitProductVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductVersionWithCommas
Enter a parse tree produced byUserAgentParser.productVersionWithCommas()
.The default implementation does nothing.
- Specified by:
enterProductVersionWithCommas
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductVersionWithCommas
Exit a parse tree produced byUserAgentParser.productVersionWithCommas()
.The default implementation does nothing.
- Specified by:
exitProductVersionWithCommas
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductVersionSingleWord
Enter a parse tree produced byUserAgentParser.productVersionSingleWord()
.The default implementation does nothing.
- Specified by:
enterProductVersionSingleWord
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductVersionSingleWord
Exit a parse tree produced byUserAgentParser.productVersionSingleWord()
.The default implementation does nothing.
- Specified by:
exitProductVersionSingleWord
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterSingleVersion
Enter a parse tree produced byUserAgentParser.singleVersion()
.The default implementation does nothing.
- Specified by:
enterSingleVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitSingleVersion
Exit a parse tree produced byUserAgentParser.singleVersion()
.The default implementation does nothing.
- Specified by:
exitSingleVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterSingleVersionWithCommas
Enter a parse tree produced byUserAgentParser.singleVersionWithCommas()
.The default implementation does nothing.
- Specified by:
enterSingleVersionWithCommas
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitSingleVersionWithCommas
Exit a parse tree produced byUserAgentParser.singleVersionWithCommas()
.The default implementation does nothing.
- Specified by:
exitSingleVersionWithCommas
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameVersion
Enter a parse tree produced byUserAgentParser.productNameVersion()
.The default implementation does nothing.
- Specified by:
enterProductNameVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameVersion
Exit a parse tree produced byUserAgentParser.productNameVersion()
.The default implementation does nothing.
- Specified by:
exitProductNameVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameEmail
Enter a parse tree produced byUserAgentParser.productNameEmail()
.The default implementation does nothing.
- Specified by:
enterProductNameEmail
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameEmail
Exit a parse tree produced byUserAgentParser.productNameEmail()
.The default implementation does nothing.
- Specified by:
exitProductNameEmail
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameUrl
Enter a parse tree produced byUserAgentParser.productNameUrl()
.The default implementation does nothing.
- Specified by:
enterProductNameUrl
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameUrl
Exit a parse tree produced byUserAgentParser.productNameUrl()
.The default implementation does nothing.
- Specified by:
exitProductNameUrl
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameUuid
Enter a parse tree produced byUserAgentParser.productNameUuid()
.The default implementation does nothing.
- Specified by:
enterProductNameUuid
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameUuid
Exit a parse tree produced byUserAgentParser.productNameUuid()
.The default implementation does nothing.
- Specified by:
exitProductNameUuid
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterUuId
Enter a parse tree produced byUserAgentParser.uuId()
.The default implementation does nothing.
- Specified by:
enterUuId
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitUuId
Exit a parse tree produced byUserAgentParser.uuId()
.The default implementation does nothing.
- Specified by:
exitUuId
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterEmailAddress
Enter a parse tree produced byUserAgentParser.emailAddress()
.The default implementation does nothing.
- Specified by:
enterEmailAddress
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitEmailAddress
Exit a parse tree produced byUserAgentParser.emailAddress()
.The default implementation does nothing.
- Specified by:
exitEmailAddress
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterSiteUrl
Enter a parse tree produced byUserAgentParser.siteUrl()
.The default implementation does nothing.
- Specified by:
enterSiteUrl
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitSiteUrl
Exit a parse tree produced byUserAgentParser.siteUrl()
.The default implementation does nothing.
- Specified by:
exitSiteUrl
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterBase64
Enter a parse tree produced byUserAgentParser.base64()
.The default implementation does nothing.
- Specified by:
enterBase64
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitBase64
Exit a parse tree produced byUserAgentParser.base64()
.The default implementation does nothing.
- Specified by:
exitBase64
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterCommentSeparator
Enter a parse tree produced byUserAgentParser.commentSeparator()
.The default implementation does nothing.
- Specified by:
enterCommentSeparator
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitCommentSeparator
Exit a parse tree produced byUserAgentParser.commentSeparator()
.The default implementation does nothing.
- Specified by:
exitCommentSeparator
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterCommentBlock
Enter a parse tree produced byUserAgentParser.commentBlock()
.The default implementation does nothing.
- Specified by:
enterCommentBlock
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitCommentBlock
Exit a parse tree produced byUserAgentParser.commentBlock()
.The default implementation does nothing.
- Specified by:
exitCommentBlock
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterCommentEntry
Enter a parse tree produced byUserAgentParser.commentEntry()
.The default implementation does nothing.
- Specified by:
enterCommentEntry
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitCommentEntry
Exit a parse tree produced byUserAgentParser.commentEntry()
.The default implementation does nothing.
- Specified by:
exitCommentEntry
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameKeyValue
Enter a parse tree produced byUserAgentParser.productNameKeyValue()
.The default implementation does nothing.
- Specified by:
enterProductNameKeyValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameKeyValue
Exit a parse tree produced byUserAgentParser.productNameKeyValue()
.The default implementation does nothing.
- Specified by:
exitProductNameKeyValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterProductNameNoVersion
Enter a parse tree produced byUserAgentParser.productNameNoVersion()
.The default implementation does nothing.
- Specified by:
enterProductNameNoVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitProductNameNoVersion
Exit a parse tree produced byUserAgentParser.productNameNoVersion()
.The default implementation does nothing.
- Specified by:
exitProductNameNoVersion
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterKeyValueProductVersionName
Enter a parse tree produced byUserAgentParser.keyValueProductVersionName()
.The default implementation does nothing.
- Specified by:
enterKeyValueProductVersionName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitKeyValueProductVersionName
Exit a parse tree produced byUserAgentParser.keyValueProductVersionName()
.The default implementation does nothing.
- Specified by:
exitKeyValueProductVersionName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterKeyValue
Enter a parse tree produced byUserAgentParser.keyValue()
.The default implementation does nothing.
- Specified by:
enterKeyValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitKeyValue
Exit a parse tree produced byUserAgentParser.keyValue()
.The default implementation does nothing.
- Specified by:
exitKeyValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterKeyWithoutValue
Enter a parse tree produced byUserAgentParser.keyWithoutValue()
.The default implementation does nothing.
- Specified by:
enterKeyWithoutValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitKeyWithoutValue
Exit a parse tree produced byUserAgentParser.keyWithoutValue()
.The default implementation does nothing.
- Specified by:
exitKeyWithoutValue
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterKeyValueVersionName
Enter a parse tree produced byUserAgentParser.keyValueVersionName()
.The default implementation does nothing.
- Specified by:
enterKeyValueVersionName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitKeyValueVersionName
Exit a parse tree produced byUserAgentParser.keyValueVersionName()
.The default implementation does nothing.
- Specified by:
exitKeyValueVersionName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterKeyName
Enter a parse tree produced byUserAgentParser.keyName()
.The default implementation does nothing.
- Specified by:
enterKeyName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitKeyName
Exit a parse tree produced byUserAgentParser.keyName()
.The default implementation does nothing.
- Specified by:
exitKeyName
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterEmptyWord
Enter a parse tree produced byUserAgentParser.emptyWord()
.The default implementation does nothing.
- Specified by:
enterEmptyWord
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitEmptyWord
Exit a parse tree produced byUserAgentParser.emptyWord()
.The default implementation does nothing.
- Specified by:
exitEmptyWord
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterMultipleWords
Enter a parse tree produced byUserAgentParser.multipleWords()
.The default implementation does nothing.
- Specified by:
enterMultipleWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitMultipleWords
Exit a parse tree produced byUserAgentParser.multipleWords()
.The default implementation does nothing.
- Specified by:
exitMultipleWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterVersionWords
Enter a parse tree produced byUserAgentParser.versionWords()
.The default implementation does nothing.
- Specified by:
enterVersionWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
exitVersionWords
Exit a parse tree produced byUserAgentParser.versionWords()
.The default implementation does nothing.
- Specified by:
exitVersionWords
in interfaceUserAgentListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-