Show / Hide Table of Contents

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
System.Object
useragentBaseListener
Implements
IuseragentListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Useragent
Assembly: Useragent.dll
Syntax
public class useragentBaseListener : object, IuseragentListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterComment(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IuseragentListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX