Class useragentBaseListener
This class provides an empty implementation of IuseragentListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Useragent
Assembly: Useragent.dll
Syntax
public class useragentBaseListener : object, IuseragentListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterComment(useragentParser.CommentContext)
Enter a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void EnterComment(useragentParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.CommentContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterName(useragentParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(useragentParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.NameContext | context | The parse tree. |
EnterProduct(useragentParser.ProductContext)
Enter a parse tree produced by product().
The default implementation does nothing.
Declaration
public virtual void EnterProduct(useragentParser.ProductContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProductContext | context | The parse tree. |
EnterProg(useragentParser.ProgContext)
Enter a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void EnterProg(useragentParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProgContext | context | The parse tree. |
EnterVersion(useragentParser.VersionContext)
Enter a parse tree produced by version().
The default implementation does nothing.
Declaration
public virtual void EnterVersion(useragentParser.VersionContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.VersionContext | context | The parse tree. |
ExitComment(useragentParser.CommentContext)
Exit a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void ExitComment(useragentParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.CommentContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitName(useragentParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(useragentParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.NameContext | context | The parse tree. |
ExitProduct(useragentParser.ProductContext)
Exit a parse tree produced by product().
The default implementation does nothing.
Declaration
public virtual void ExitProduct(useragentParser.ProductContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProductContext | context | The parse tree. |
ExitProg(useragentParser.ProgContext)
Exit a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void ExitProg(useragentParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProgContext | context | The parse tree. |
ExitVersion(useragentParser.VersionContext)
Exit a parse tree produced by version().
The default implementation does nothing.
Declaration
public virtual void ExitVersion(useragentParser.VersionContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.VersionContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.