Class telephoneBaseListener
This class provides an empty implementation of ItelephoneListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Telephone
Assembly: Telephone.dll
Syntax
public class telephoneBaseListener : object, ItelephoneListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAreacode(telephoneParser.AreacodeContext)
Enter a parse tree produced by areacode().
The default implementation does nothing.
Declaration
public virtual void EnterAreacode(telephoneParser.AreacodeContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.AreacodeContext | 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.
EnterExchange(telephoneParser.ExchangeContext)
Enter a parse tree produced by exchange().
The default implementation does nothing.
Declaration
public virtual void EnterExchange(telephoneParser.ExchangeContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.ExchangeContext | context | The parse tree. |
EnterJapan(telephoneParser.JapanContext)
Enter a parse tree produced by japan().
The default implementation does nothing.
Declaration
public virtual void EnterJapan(telephoneParser.JapanContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.JapanContext | context | The parse tree. |
EnterNanp(telephoneParser.NanpContext)
Enter a parse tree produced by nanp().
The default implementation does nothing.
Declaration
public virtual void EnterNanp(telephoneParser.NanpContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.NanpContext | context | The parse tree. |
EnterNumber(telephoneParser.NumberContext)
Enter a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void EnterNumber(telephoneParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.NumberContext | context | The parse tree. |
EnterSubscriber(telephoneParser.SubscriberContext)
Enter a parse tree produced by subscriber().
The default implementation does nothing.
Declaration
public virtual void EnterSubscriber(telephoneParser.SubscriberContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.SubscriberContext | context | The parse tree. |
EnterVariation(telephoneParser.VariationContext)
Enter a parse tree produced by variation().
The default implementation does nothing.
Declaration
public virtual void EnterVariation(telephoneParser.VariationContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.VariationContext | context | The parse tree. |
ExitAreacode(telephoneParser.AreacodeContext)
Exit a parse tree produced by areacode().
The default implementation does nothing.
Declaration
public virtual void ExitAreacode(telephoneParser.AreacodeContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.AreacodeContext | 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.
ExitExchange(telephoneParser.ExchangeContext)
Exit a parse tree produced by exchange().
The default implementation does nothing.
Declaration
public virtual void ExitExchange(telephoneParser.ExchangeContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.ExchangeContext | context | The parse tree. |
ExitJapan(telephoneParser.JapanContext)
Exit a parse tree produced by japan().
The default implementation does nothing.
Declaration
public virtual void ExitJapan(telephoneParser.JapanContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.JapanContext | context | The parse tree. |
ExitNanp(telephoneParser.NanpContext)
Exit a parse tree produced by nanp().
The default implementation does nothing.
Declaration
public virtual void ExitNanp(telephoneParser.NanpContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.NanpContext | context | The parse tree. |
ExitNumber(telephoneParser.NumberContext)
Exit a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void ExitNumber(telephoneParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.NumberContext | context | The parse tree. |
ExitSubscriber(telephoneParser.SubscriberContext)
Exit a parse tree produced by subscriber().
The default implementation does nothing.
Declaration
public virtual void ExitSubscriber(telephoneParser.SubscriberContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.SubscriberContext | context | The parse tree. |
ExitVariation(telephoneParser.VariationContext)
Exit a parse tree produced by variation().
The default implementation does nothing.
Declaration
public virtual void ExitVariation(telephoneParser.VariationContext context)
Parameters
Type | Name | Description |
---|---|---|
telephoneParser.VariationContext | 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.