Class tcpBaseListener
This class provides an empty implementation of ItcpListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Tcpheader
Assembly: Tcpheader.dll
Syntax
public class tcpBaseListener : object, ItcpListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAcknumber(tcpParser.AcknumberContext)
Enter a parse tree produced by acknumber().
The default implementation does nothing.
Declaration
public virtual void EnterAcknumber(tcpParser.AcknumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.AcknumberContext | context | The parse tree. |
EnterByte_(tcpParser.Byte_Context)
Enter a parse tree produced by byte_().
The default implementation does nothing.
Declaration
public virtual void EnterByte_(tcpParser.Byte_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Byte_Context | context | The parse tree. |
EnterChecksum(tcpParser.ChecksumContext)
Enter a parse tree produced by checksum().
The default implementation does nothing.
Declaration
public virtual void EnterChecksum(tcpParser.ChecksumContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.ChecksumContext | context | The parse tree. |
EnterDestinationport(tcpParser.DestinationportContext)
Enter a parse tree produced by destinationport().
The default implementation does nothing.
Declaration
public virtual void EnterDestinationport(tcpParser.DestinationportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.DestinationportContext | context | The parse tree. |
EnterDword_(tcpParser.Dword_Context)
Enter a parse tree produced by dword_().
The default implementation does nothing.
Declaration
public virtual void EnterDword_(tcpParser.Dword_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Dword_Context | 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.
EnterFlags(tcpParser.FlagsContext)
Enter a parse tree produced by flags().
The default implementation does nothing.
Declaration
public virtual void EnterFlags(tcpParser.FlagsContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.FlagsContext | context | The parse tree. |
EnterSegmentheader(tcpParser.SegmentheaderContext)
Enter a parse tree produced by segmentheader().
The default implementation does nothing.
Declaration
public virtual void EnterSegmentheader(tcpParser.SegmentheaderContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SegmentheaderContext | context | The parse tree. |
EnterSequencenumber(tcpParser.SequencenumberContext)
Enter a parse tree produced by sequencenumber().
The default implementation does nothing.
Declaration
public virtual void EnterSequencenumber(tcpParser.SequencenumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SequencenumberContext | context | The parse tree. |
EnterSourceport(tcpParser.SourceportContext)
Enter a parse tree produced by sourceport().
The default implementation does nothing.
Declaration
public virtual void EnterSourceport(tcpParser.SourceportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SourceportContext | context | The parse tree. |
EnterUrgent(tcpParser.UrgentContext)
Enter a parse tree produced by urgent().
The default implementation does nothing.
Declaration
public virtual void EnterUrgent(tcpParser.UrgentContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.UrgentContext | context | The parse tree. |
EnterWindowsize(tcpParser.WindowsizeContext)
Enter a parse tree produced by windowsize().
The default implementation does nothing.
Declaration
public virtual void EnterWindowsize(tcpParser.WindowsizeContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.WindowsizeContext | context | The parse tree. |
EnterWord_(tcpParser.Word_Context)
Enter a parse tree produced by word_().
The default implementation does nothing.
Declaration
public virtual void EnterWord_(tcpParser.Word_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Word_Context | context | The parse tree. |
ExitAcknumber(tcpParser.AcknumberContext)
Exit a parse tree produced by acknumber().
The default implementation does nothing.
Declaration
public virtual void ExitAcknumber(tcpParser.AcknumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.AcknumberContext | context | The parse tree. |
ExitByte_(tcpParser.Byte_Context)
Exit a parse tree produced by byte_().
The default implementation does nothing.
Declaration
public virtual void ExitByte_(tcpParser.Byte_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Byte_Context | context | The parse tree. |
ExitChecksum(tcpParser.ChecksumContext)
Exit a parse tree produced by checksum().
The default implementation does nothing.
Declaration
public virtual void ExitChecksum(tcpParser.ChecksumContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.ChecksumContext | context | The parse tree. |
ExitDestinationport(tcpParser.DestinationportContext)
Exit a parse tree produced by destinationport().
The default implementation does nothing.
Declaration
public virtual void ExitDestinationport(tcpParser.DestinationportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.DestinationportContext | context | The parse tree. |
ExitDword_(tcpParser.Dword_Context)
Exit a parse tree produced by dword_().
The default implementation does nothing.
Declaration
public virtual void ExitDword_(tcpParser.Dword_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Dword_Context | 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.
ExitFlags(tcpParser.FlagsContext)
Exit a parse tree produced by flags().
The default implementation does nothing.
Declaration
public virtual void ExitFlags(tcpParser.FlagsContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.FlagsContext | context | The parse tree. |
ExitSegmentheader(tcpParser.SegmentheaderContext)
Exit a parse tree produced by segmentheader().
The default implementation does nothing.
Declaration
public virtual void ExitSegmentheader(tcpParser.SegmentheaderContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SegmentheaderContext | context | The parse tree. |
ExitSequencenumber(tcpParser.SequencenumberContext)
Exit a parse tree produced by sequencenumber().
The default implementation does nothing.
Declaration
public virtual void ExitSequencenumber(tcpParser.SequencenumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SequencenumberContext | context | The parse tree. |
ExitSourceport(tcpParser.SourceportContext)
Exit a parse tree produced by sourceport().
The default implementation does nothing.
Declaration
public virtual void ExitSourceport(tcpParser.SourceportContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.SourceportContext | context | The parse tree. |
ExitUrgent(tcpParser.UrgentContext)
Exit a parse tree produced by urgent().
The default implementation does nothing.
Declaration
public virtual void ExitUrgent(tcpParser.UrgentContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.UrgentContext | context | The parse tree. |
ExitWindowsize(tcpParser.WindowsizeContext)
Exit a parse tree produced by windowsize().
The default implementation does nothing.
Declaration
public virtual void ExitWindowsize(tcpParser.WindowsizeContext context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.WindowsizeContext | context | The parse tree. |
ExitWord_(tcpParser.Word_Context)
Exit a parse tree produced by word_().
The default implementation does nothing.
Declaration
public virtual void ExitWord_(tcpParser.Word_Context context)
Parameters
Type | Name | Description |
---|---|---|
tcpParser.Word_Context | 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.