Class beepBaseVisitor<Result>
This class provides an empty implementation of IbeepVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Rfc3080
Assembly: Rfc3080.dll
Syntax
public class beepBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IbeepVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAns(beepParser.AnsContext)
Visit a parse tree produced by ans().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAns(beepParser.AnsContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.AnsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAnsno(beepParser.AnsnoContext)
Visit a parse tree produced by ansno().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAnsno(beepParser.AnsnoContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.AnsnoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitChannel(beepParser.ChannelContext)
Visit a parse tree produced by channel().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitChannel(beepParser.ChannelContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.ChannelContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommon(beepParser.CommonContext)
Visit a parse tree produced by common().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCommon(beepParser.CommonContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.CommonContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitData(beepParser.DataContext)
Visit a parse tree produced by data().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitData(beepParser.DataContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.DataContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitErr(beepParser.ErrContext)
Visit a parse tree produced by err().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitErr(beepParser.ErrContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.ErrContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFrame(beepParser.FrameContext)
Visit a parse tree produced by frame().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFrame(beepParser.FrameContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.FrameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHeader(beepParser.HeaderContext)
Visit a parse tree produced by header().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHeader(beepParser.HeaderContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.HeaderContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMore(beepParser.MoreContext)
Visit a parse tree produced by more().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMore(beepParser.MoreContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.MoreContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMsg(beepParser.MsgContext)
Visit a parse tree produced by msg().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMsg(beepParser.MsgContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.MsgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMsgno(beepParser.MsgnoContext)
Visit a parse tree produced by msgno().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMsgno(beepParser.MsgnoContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.MsgnoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNul(beepParser.NulContext)
Visit a parse tree produced by nul().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNul(beepParser.NulContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.NulContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPayload_trailer(beepParser.Payload_trailerContext)
Visit a parse tree produced by payload_trailer().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPayload_trailer(beepParser.Payload_trailerContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.Payload_trailerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRpy(beepParser.RpyContext)
Visit a parse tree produced by rpy().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRpy(beepParser.RpyContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.RpyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSeqno(beepParser.SeqnoContext)
Visit a parse tree produced by seqno().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSeqno(beepParser.SeqnoContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.SeqnoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSize(beepParser.SizeContext)
Visit a parse tree produced by size().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSize(beepParser.SizeContext context)
Parameters
Type | Name | Description |
---|---|---|
beepParser.SizeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |