Class tcpBaseVisitor<Result>
This class provides an empty implementation of ItcpVisitor<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.Tcpheader
Assembly: Tcpheader.dll
Syntax
public class tcpBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ItcpVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAcknumber(tcpParser.AcknumberContext)
Visit a parse tree produced by acknumber().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAcknumber(tcpParser.AcknumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.AcknumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitByte_(tcpParser.Byte_Context)
Visit a parse tree produced by byte_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitByte_(tcpParser.Byte_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Byte_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitChecksum(tcpParser.ChecksumContext)
Visit a parse tree produced by checksum().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitChecksum(tcpParser.ChecksumContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.ChecksumContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDestinationport(tcpParser.DestinationportContext)
Visit a parse tree produced by destinationport().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDestinationport(tcpParser.DestinationportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.DestinationportContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDword_(tcpParser.Dword_Context)
Visit a parse tree produced by dword_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDword_(tcpParser.Dword_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Dword_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFlags(tcpParser.FlagsContext)
Visit a parse tree produced by flags().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFlags(tcpParser.FlagsContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.FlagsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSegmentheader(tcpParser.SegmentheaderContext)
Visit a parse tree produced by segmentheader().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSegmentheader(tcpParser.SegmentheaderContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SegmentheaderContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSequencenumber(tcpParser.SequencenumberContext)
Visit a parse tree produced by sequencenumber().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSequencenumber(tcpParser.SequencenumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SequencenumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSourceport(tcpParser.SourceportContext)
Visit a parse tree produced by sourceport().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSourceport(tcpParser.SourceportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SourceportContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUrgent(tcpParser.UrgentContext)
Visit a parse tree produced by urgent().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUrgent(tcpParser.UrgentContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.UrgentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWindowsize(tcpParser.WindowsizeContext)
Visit a parse tree produced by windowsize().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWindowsize(tcpParser.WindowsizeContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.WindowsizeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWord_(tcpParser.Word_Context)
Visit a parse tree produced by word_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWord_(tcpParser.Word_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Word_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |