Class memcached_protocolBaseVisitor<Result>
This class provides an empty implementation of Imemcached_protocolVisitor<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.Memcached_protocol
Assembly: Memcached_protocol.dll
Syntax
public class memcached_protocolBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, Imemcached_protocolVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBytes(memcached_protocolParser.BytesContext)
Visit a parse tree produced by bytes().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBytes(memcached_protocolParser.BytesContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.BytesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCas_unique(memcached_protocolParser.Cas_uniqueContext)
Visit a parse tree produced by cas_unique().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCas_unique(memcached_protocolParser.Cas_uniqueContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Cas_uniqueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClient_error_message(memcached_protocolParser.Client_error_messageContext)
Visit a parse tree produced by client_error_message().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitClient_error_message(memcached_protocolParser.Client_error_messageContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Client_error_messageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommand_line(memcached_protocolParser.Command_lineContext)
Visit a parse tree produced by command_line().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCommand_line(memcached_protocolParser.Command_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Command_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCount(memcached_protocolParser.CountContext)
Visit a parse tree produced by count().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCount(memcached_protocolParser.CountContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.CountContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDecrement_command(memcached_protocolParser.Decrement_commandContext)
Visit a parse tree produced by decrement_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDecrement_command(memcached_protocolParser.Decrement_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Decrement_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDelay(memcached_protocolParser.DelayContext)
Visit a parse tree produced by delay().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDelay(memcached_protocolParser.DelayContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.DelayContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDelete_command(memcached_protocolParser.Delete_commandContext)
Visit a parse tree produced by delete_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDelete_command(memcached_protocolParser.Delete_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Delete_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDeletion_response(memcached_protocolParser.Deletion_responseContext)
Visit a parse tree produced by deletion_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDeletion_response(memcached_protocolParser.Deletion_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Deletion_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnd(memcached_protocolParser.EndContext)
Visit a parse tree produced by end().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnd(memcached_protocolParser.EndContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.EndContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitError_response(memcached_protocolParser.Error_responseContext)
Visit a parse tree produced by error_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitError_response(memcached_protocolParser.Error_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Error_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExptime(memcached_protocolParser.ExptimeContext)
Visit a parse tree produced by exptime().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExptime(memcached_protocolParser.ExptimeContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.ExptimeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFlags(memcached_protocolParser.FlagsContext)
Visit a parse tree produced by flags().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFlags(memcached_protocolParser.FlagsContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.FlagsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFlush_command(memcached_protocolParser.Flush_commandContext)
Visit a parse tree produced by flush_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFlush_command(memcached_protocolParser.Flush_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Flush_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGeneral_error(memcached_protocolParser.General_errorContext)
Visit a parse tree produced by general_error().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGeneral_error(memcached_protocolParser.General_errorContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.General_errorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGeneral_statistic(memcached_protocolParser.General_statisticContext)
Visit a parse tree produced by general_statistic().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGeneral_statistic(memcached_protocolParser.General_statisticContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.General_statisticContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIncr_or_decr_response(memcached_protocolParser.Incr_or_decr_responseContext)
Visit a parse tree produced by incr_or_decr_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIncr_or_decr_response(memcached_protocolParser.Incr_or_decr_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Incr_or_decr_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIncrement_command(memcached_protocolParser.Increment_commandContext)
Visit a parse tree produced by increment_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIncrement_command(memcached_protocolParser.Increment_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Increment_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKey(memcached_protocolParser.KeyContext)
Visit a parse tree produced by key().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitKey(memcached_protocolParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.KeyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNoreply(memcached_protocolParser.NoreplyContext)
Visit a parse tree produced by noreply().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNoreply(memcached_protocolParser.NoreplyContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.NoreplyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuit_command(memcached_protocolParser.Quit_commandContext)
Visit a parse tree produced by quit_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuit_command(memcached_protocolParser.Quit_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Quit_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRetrieval_command(memcached_protocolParser.Retrieval_commandContext)
Visit a parse tree produced by retrieval_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRetrieval_command(memcached_protocolParser.Retrieval_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Retrieval_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRetrieval_response(memcached_protocolParser.Retrieval_responseContext)
Visit a parse tree produced by retrieval_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRetrieval_response(memcached_protocolParser.Retrieval_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Retrieval_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitServer_error_message(memcached_protocolParser.Server_error_messageContext)
Visit a parse tree produced by server_error_message().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitServer_error_message(memcached_protocolParser.Server_error_messageContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Server_error_messageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSize(memcached_protocolParser.SizeContext)
Visit a parse tree produced by size().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSize(memcached_protocolParser.SizeContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.SizeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSize_statistic(memcached_protocolParser.Size_statisticContext)
Visit a parse tree produced by size_statistic().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSize_statistic(memcached_protocolParser.Size_statisticContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Size_statisticContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatistic_name(memcached_protocolParser.Statistic_nameContext)
Visit a parse tree produced by statistic_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatistic_name(memcached_protocolParser.Statistic_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Statistic_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatistic_value(memcached_protocolParser.Statistic_valueContext)
Visit a parse tree produced by statistic_value().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatistic_value(memcached_protocolParser.Statistic_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Statistic_valueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatistics_command(memcached_protocolParser.Statistics_commandContext)
Visit a parse tree produced by statistics_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatistics_command(memcached_protocolParser.Statistics_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Statistics_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatistics_option(memcached_protocolParser.Statistics_optionContext)
Visit a parse tree produced by statistics_option().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatistics_option(memcached_protocolParser.Statistics_optionContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Statistics_optionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatistics_response(memcached_protocolParser.Statistics_responseContext)
Visit a parse tree produced by statistics_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatistics_response(memcached_protocolParser.Statistics_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Statistics_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStorage_command(memcached_protocolParser.Storage_commandContext)
Visit a parse tree produced by storage_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStorage_command(memcached_protocolParser.Storage_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Storage_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStorage_command_name(memcached_protocolParser.Storage_command_nameContext)
Visit a parse tree produced by storage_command_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStorage_command_name(memcached_protocolParser.Storage_command_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Storage_command_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStorage_response(memcached_protocolParser.Storage_responseContext)
Visit a parse tree produced by storage_response().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStorage_response(memcached_protocolParser.Storage_responseContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Storage_responseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTime(memcached_protocolParser.TimeContext)
Visit a parse tree produced by time().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTime(memcached_protocolParser.TimeContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.TimeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValue(memcached_protocolParser.ValueContext)
Visit a parse tree produced by value().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitValue(memcached_protocolParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.ValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVerbosity_command(memcached_protocolParser.Verbosity_commandContext)
Visit a parse tree produced by verbosity_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVerbosity_command(memcached_protocolParser.Verbosity_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Verbosity_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVerbosity_level(memcached_protocolParser.Verbosity_levelContext)
Visit a parse tree produced by verbosity_level().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVerbosity_level(memcached_protocolParser.Verbosity_levelContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Verbosity_levelContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVersion_command(memcached_protocolParser.Version_commandContext)
Visit a parse tree produced by version_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVersion_command(memcached_protocolParser.Version_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
memcached_protocolParser.Version_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |