Show / Hide Table of Contents

Class telephoneBaseVisitor<Result>

This class provides an empty implementation of ItelephoneVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
telephoneBaseVisitor<Result>
Implements
ItelephoneVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Telephone
Assembly: Telephone.dll
Syntax
public class telephoneBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ItelephoneVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAreacode(telephoneParser.AreacodeContext)

Visit a parse tree produced by areacode().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAreacode(telephoneParser.AreacodeContext context)
Parameters
Type Name Description
telephoneParser.AreacodeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExchange(telephoneParser.ExchangeContext)

Visit a parse tree produced by exchange().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExchange(telephoneParser.ExchangeContext context)
Parameters
Type Name Description
telephoneParser.ExchangeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitJapan(telephoneParser.JapanContext)

Visit a parse tree produced by japan().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitJapan(telephoneParser.JapanContext context)
Parameters
Type Name Description
telephoneParser.JapanContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNanp(telephoneParser.NanpContext)

Visit a parse tree produced by nanp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNanp(telephoneParser.NanpContext context)
Parameters
Type Name Description
telephoneParser.NanpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumber(telephoneParser.NumberContext)

Visit a parse tree produced by number().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNumber(telephoneParser.NumberContext context)
Parameters
Type Name Description
telephoneParser.NumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubscriber(telephoneParser.SubscriberContext)

Visit a parse tree produced by subscriber().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSubscriber(telephoneParser.SubscriberContext context)
Parameters
Type Name Description
telephoneParser.SubscriberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariation(telephoneParser.VariationContext)

Visit a parse tree produced by variation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariation(telephoneParser.VariationContext context)
Parameters
Type Name Description
telephoneParser.VariationContext context

The parse tree.

Returns
Type Description
Result

Implements

ItelephoneVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX