Show / Hide Table of Contents

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
System.Object
httpBaseListener
Implements
IhttpListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Http
Assembly: Http.dll
Syntax
public class httpBaseListener : object, IhttpListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAbsolute_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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IhttpListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX