Class httpBaseListener
This class provides an empty implementation of IhttpListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Http
Assembly: Http.dll
Syntax
public class httpBaseListener : object, IhttpListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAbsolute_path(httpParser.Absolute_pathContext)
Enter a parse tree produced by absolute_path().
The default implementation does nothing.
Declaration
public virtual void EnterAbsolute_path(httpParser.Absolute_pathContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Absolute_pathContext | 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.
EnterField_content(httpParser.Field_contentContext)
Enter a parse tree produced by field_content().
The default implementation does nothing.
Declaration
public virtual void EnterField_content(httpParser.Field_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_contentContext | context | The parse tree. |
EnterField_name(httpParser.Field_nameContext)
Enter a parse tree produced by field_name().
The default implementation does nothing.
Declaration
public virtual void EnterField_name(httpParser.Field_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_nameContext | context | The parse tree. |
EnterField_value(httpParser.Field_valueContext)
Enter a parse tree produced by field_value().
The default implementation does nothing.
Declaration
public virtual void EnterField_value(httpParser.Field_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_valueContext | context | The parse tree. |
EnterField_vchar(httpParser.Field_vcharContext)
Enter a parse tree produced by field_vchar().
The default implementation does nothing.
Declaration
public virtual void EnterField_vchar(httpParser.Field_vcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_vcharContext | context | The parse tree. |
EnterHeader_field(httpParser.Header_fieldContext)
Enter a parse tree produced by header_field().
The default implementation does nothing.
Declaration
public virtual void EnterHeader_field(httpParser.Header_fieldContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Header_fieldContext | context | The parse tree. |
EnterHttp_message(httpParser.Http_messageContext)
Enter a parse tree produced by http_message().
The default implementation does nothing.
Declaration
public virtual void EnterHttp_message(httpParser.Http_messageContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_messageContext | context | The parse tree. |
EnterHttp_name(httpParser.Http_nameContext)
Enter a parse tree produced by http_name().
The default implementation does nothing.
Declaration
public virtual void EnterHttp_name(httpParser.Http_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_nameContext | context | The parse tree. |
EnterHttp_version(httpParser.Http_versionContext)
Enter a parse tree produced by http_version().
The default implementation does nothing.
Declaration
public virtual void EnterHttp_version(httpParser.Http_versionContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_versionContext | context | The parse tree. |
EnterMethod(httpParser.MethodContext)
Enter a parse tree produced by method().
The default implementation does nothing.
Declaration
public virtual void EnterMethod(httpParser.MethodContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.MethodContext | context | The parse tree. |
EnterObs_fold(httpParser.Obs_foldContext)
Enter a parse tree produced by obs_fold().
The default implementation does nothing.
Declaration
public virtual void EnterObs_fold(httpParser.Obs_foldContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Obs_foldContext | context | The parse tree. |
EnterObs_text(httpParser.Obs_textContext)
Enter a parse tree produced by obs_text().
The default implementation does nothing.
Declaration
public virtual void EnterObs_text(httpParser.Obs_textContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Obs_textContext | context | The parse tree. |
EnterOrigin_form(httpParser.Origin_formContext)
Enter a parse tree produced by origin_form().
The default implementation does nothing.
Declaration
public virtual void EnterOrigin_form(httpParser.Origin_formContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Origin_formContext | context | The parse tree. |
EnterPchar(httpParser.PcharContext)
Enter a parse tree produced by pchar().
The default implementation does nothing.
Declaration
public virtual void EnterPchar(httpParser.PcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.PcharContext | context | The parse tree. |
EnterQuery(httpParser.QueryContext)
Enter a parse tree produced by query().
The default implementation does nothing.
Declaration
public virtual void EnterQuery(httpParser.QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.QueryContext | context | The parse tree. |
EnterRequest_line(httpParser.Request_lineContext)
Enter a parse tree produced by request_line().
The default implementation does nothing.
Declaration
public virtual void EnterRequest_line(httpParser.Request_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Request_lineContext | context | The parse tree. |
EnterRequest_target(httpParser.Request_targetContext)
Enter a parse tree produced by request_target().
The default implementation does nothing.
Declaration
public virtual void EnterRequest_target(httpParser.Request_targetContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Request_targetContext | context | The parse tree. |
EnterSegment(httpParser.SegmentContext)
Enter a parse tree produced by segment().
The default implementation does nothing.
Declaration
public virtual void EnterSegment(httpParser.SegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.SegmentContext | context | The parse tree. |
EnterStart_line(httpParser.Start_lineContext)
Enter a parse tree produced by start_line().
The default implementation does nothing.
Declaration
public virtual void EnterStart_line(httpParser.Start_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Start_lineContext | context | The parse tree. |
EnterSub_delims(httpParser.Sub_delimsContext)
Enter a parse tree produced by sub_delims().
The default implementation does nothing.
Declaration
public virtual void EnterSub_delims(httpParser.Sub_delimsContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Sub_delimsContext | context | The parse tree. |
EnterTchar(httpParser.TcharContext)
Enter a parse tree produced by tchar().
The default implementation does nothing.
Declaration
public virtual void EnterTchar(httpParser.TcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.TcharContext | context | The parse tree. |
EnterToken(httpParser.TokenContext)
Enter a parse tree produced by token().
The default implementation does nothing.
Declaration
public virtual void EnterToken(httpParser.TokenContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.TokenContext | context | The parse tree. |
EnterUnreserved(httpParser.UnreservedContext)
Enter a parse tree produced by unreserved().
The default implementation does nothing.
Declaration
public virtual void EnterUnreserved(httpParser.UnreservedContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.UnreservedContext | context | The parse tree. |
EnterVCHAR(httpParser.VCHARContext)
Enter a parse tree produced by vCHAR().
The default implementation does nothing.
Declaration
public virtual void EnterVCHAR(httpParser.VCHARContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.VCHARContext | context | The parse tree. |
ExitAbsolute_path(httpParser.Absolute_pathContext)
Exit a parse tree produced by absolute_path().
The default implementation does nothing.
Declaration
public virtual void ExitAbsolute_path(httpParser.Absolute_pathContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Absolute_pathContext | 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.
ExitField_content(httpParser.Field_contentContext)
Exit a parse tree produced by field_content().
The default implementation does nothing.
Declaration
public virtual void ExitField_content(httpParser.Field_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_contentContext | context | The parse tree. |
ExitField_name(httpParser.Field_nameContext)
Exit a parse tree produced by field_name().
The default implementation does nothing.
Declaration
public virtual void ExitField_name(httpParser.Field_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_nameContext | context | The parse tree. |
ExitField_value(httpParser.Field_valueContext)
Exit a parse tree produced by field_value().
The default implementation does nothing.
Declaration
public virtual void ExitField_value(httpParser.Field_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_valueContext | context | The parse tree. |
ExitField_vchar(httpParser.Field_vcharContext)
Exit a parse tree produced by field_vchar().
The default implementation does nothing.
Declaration
public virtual void ExitField_vchar(httpParser.Field_vcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Field_vcharContext | context | The parse tree. |
ExitHeader_field(httpParser.Header_fieldContext)
Exit a parse tree produced by header_field().
The default implementation does nothing.
Declaration
public virtual void ExitHeader_field(httpParser.Header_fieldContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Header_fieldContext | context | The parse tree. |
ExitHttp_message(httpParser.Http_messageContext)
Exit a parse tree produced by http_message().
The default implementation does nothing.
Declaration
public virtual void ExitHttp_message(httpParser.Http_messageContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_messageContext | context | The parse tree. |
ExitHttp_name(httpParser.Http_nameContext)
Exit a parse tree produced by http_name().
The default implementation does nothing.
Declaration
public virtual void ExitHttp_name(httpParser.Http_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_nameContext | context | The parse tree. |
ExitHttp_version(httpParser.Http_versionContext)
Exit a parse tree produced by http_version().
The default implementation does nothing.
Declaration
public virtual void ExitHttp_version(httpParser.Http_versionContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Http_versionContext | context | The parse tree. |
ExitMethod(httpParser.MethodContext)
Exit a parse tree produced by method().
The default implementation does nothing.
Declaration
public virtual void ExitMethod(httpParser.MethodContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.MethodContext | context | The parse tree. |
ExitObs_fold(httpParser.Obs_foldContext)
Exit a parse tree produced by obs_fold().
The default implementation does nothing.
Declaration
public virtual void ExitObs_fold(httpParser.Obs_foldContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Obs_foldContext | context | The parse tree. |
ExitObs_text(httpParser.Obs_textContext)
Exit a parse tree produced by obs_text().
The default implementation does nothing.
Declaration
public virtual void ExitObs_text(httpParser.Obs_textContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Obs_textContext | context | The parse tree. |
ExitOrigin_form(httpParser.Origin_formContext)
Exit a parse tree produced by origin_form().
The default implementation does nothing.
Declaration
public virtual void ExitOrigin_form(httpParser.Origin_formContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Origin_formContext | context | The parse tree. |
ExitPchar(httpParser.PcharContext)
Exit a parse tree produced by pchar().
The default implementation does nothing.
Declaration
public virtual void ExitPchar(httpParser.PcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.PcharContext | context | The parse tree. |
ExitQuery(httpParser.QueryContext)
Exit a parse tree produced by query().
The default implementation does nothing.
Declaration
public virtual void ExitQuery(httpParser.QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.QueryContext | context | The parse tree. |
ExitRequest_line(httpParser.Request_lineContext)
Exit a parse tree produced by request_line().
The default implementation does nothing.
Declaration
public virtual void ExitRequest_line(httpParser.Request_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Request_lineContext | context | The parse tree. |
ExitRequest_target(httpParser.Request_targetContext)
Exit a parse tree produced by request_target().
The default implementation does nothing.
Declaration
public virtual void ExitRequest_target(httpParser.Request_targetContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Request_targetContext | context | The parse tree. |
ExitSegment(httpParser.SegmentContext)
Exit a parse tree produced by segment().
The default implementation does nothing.
Declaration
public virtual void ExitSegment(httpParser.SegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.SegmentContext | context | The parse tree. |
ExitStart_line(httpParser.Start_lineContext)
Exit a parse tree produced by start_line().
The default implementation does nothing.
Declaration
public virtual void ExitStart_line(httpParser.Start_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Start_lineContext | context | The parse tree. |
ExitSub_delims(httpParser.Sub_delimsContext)
Exit a parse tree produced by sub_delims().
The default implementation does nothing.
Declaration
public virtual void ExitSub_delims(httpParser.Sub_delimsContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.Sub_delimsContext | context | The parse tree. |
ExitTchar(httpParser.TcharContext)
Exit a parse tree produced by tchar().
The default implementation does nothing.
Declaration
public virtual void ExitTchar(httpParser.TcharContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.TcharContext | context | The parse tree. |
ExitToken(httpParser.TokenContext)
Exit a parse tree produced by token().
The default implementation does nothing.
Declaration
public virtual void ExitToken(httpParser.TokenContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.TokenContext | context | The parse tree. |
ExitUnreserved(httpParser.UnreservedContext)
Exit a parse tree produced by unreserved().
The default implementation does nothing.
Declaration
public virtual void ExitUnreserved(httpParser.UnreservedContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.UnreservedContext | context | The parse tree. |
ExitVCHAR(httpParser.VCHARContext)
Exit a parse tree produced by vCHAR().
The default implementation does nothing.
Declaration
public virtual void ExitVCHAR(httpParser.VCHARContext context)
Parameters
Type | Name | Description |
---|---|---|
httpParser.VCHARContext | 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.