/
memcached_protocol_base_listener.go
257 lines (172 loc) · 13.3 KB
/
memcached_protocol_base_listener.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
// Code generated from memcached_protocol.g4 by ANTLR 4.7.2. DO NOT EDIT.
package memcached_protocol // memcached_protocol
import "github.com/antlr/antlr4/runtime/Go/antlr"
// Basememcached_protocolListener is a complete listener for a parse tree produced by memcached_protocolParser.
type Basememcached_protocolListener struct{}
var _ memcached_protocolListener = &Basememcached_protocolListener{}
// VisitTerminal is called when a terminal node is visited.
func (s *Basememcached_protocolListener) VisitTerminal(node antlr.TerminalNode) {}
// VisitErrorNode is called when an error node is visited.
func (s *Basememcached_protocolListener) VisitErrorNode(node antlr.ErrorNode) {}
// EnterEveryRule is called when any rule is entered.
func (s *Basememcached_protocolListener) EnterEveryRule(ctx antlr.ParserRuleContext) {}
// ExitEveryRule is called when any rule is exited.
func (s *Basememcached_protocolListener) ExitEveryRule(ctx antlr.ParserRuleContext) {}
// EnterCommand_line is called when production command_line is entered.
func (s *Basememcached_protocolListener) EnterCommand_line(ctx *Command_lineContext) {}
// ExitCommand_line is called when production command_line is exited.
func (s *Basememcached_protocolListener) ExitCommand_line(ctx *Command_lineContext) {}
// EnterStorage_command is called when production storage_command is entered.
func (s *Basememcached_protocolListener) EnterStorage_command(ctx *Storage_commandContext) {}
// ExitStorage_command is called when production storage_command is exited.
func (s *Basememcached_protocolListener) ExitStorage_command(ctx *Storage_commandContext) {}
// EnterStorage_command_name is called when production storage_command_name is entered.
func (s *Basememcached_protocolListener) EnterStorage_command_name(ctx *Storage_command_nameContext) {}
// ExitStorage_command_name is called when production storage_command_name is exited.
func (s *Basememcached_protocolListener) ExitStorage_command_name(ctx *Storage_command_nameContext) {}
// EnterRetrieval_command is called when production retrieval_command is entered.
func (s *Basememcached_protocolListener) EnterRetrieval_command(ctx *Retrieval_commandContext) {}
// ExitRetrieval_command is called when production retrieval_command is exited.
func (s *Basememcached_protocolListener) ExitRetrieval_command(ctx *Retrieval_commandContext) {}
// EnterDelete_command is called when production delete_command is entered.
func (s *Basememcached_protocolListener) EnterDelete_command(ctx *Delete_commandContext) {}
// ExitDelete_command is called when production delete_command is exited.
func (s *Basememcached_protocolListener) ExitDelete_command(ctx *Delete_commandContext) {}
// EnterIncrement_command is called when production increment_command is entered.
func (s *Basememcached_protocolListener) EnterIncrement_command(ctx *Increment_commandContext) {}
// ExitIncrement_command is called when production increment_command is exited.
func (s *Basememcached_protocolListener) ExitIncrement_command(ctx *Increment_commandContext) {}
// EnterDecrement_command is called when production decrement_command is entered.
func (s *Basememcached_protocolListener) EnterDecrement_command(ctx *Decrement_commandContext) {}
// ExitDecrement_command is called when production decrement_command is exited.
func (s *Basememcached_protocolListener) ExitDecrement_command(ctx *Decrement_commandContext) {}
// EnterStatistics_command is called when production statistics_command is entered.
func (s *Basememcached_protocolListener) EnterStatistics_command(ctx *Statistics_commandContext) {}
// ExitStatistics_command is called when production statistics_command is exited.
func (s *Basememcached_protocolListener) ExitStatistics_command(ctx *Statistics_commandContext) {}
// EnterStatistics_option is called when production statistics_option is entered.
func (s *Basememcached_protocolListener) EnterStatistics_option(ctx *Statistics_optionContext) {}
// ExitStatistics_option is called when production statistics_option is exited.
func (s *Basememcached_protocolListener) ExitStatistics_option(ctx *Statistics_optionContext) {}
// EnterFlush_command is called when production flush_command is entered.
func (s *Basememcached_protocolListener) EnterFlush_command(ctx *Flush_commandContext) {}
// ExitFlush_command is called when production flush_command is exited.
func (s *Basememcached_protocolListener) ExitFlush_command(ctx *Flush_commandContext) {}
// EnterVersion_command is called when production version_command is entered.
func (s *Basememcached_protocolListener) EnterVersion_command(ctx *Version_commandContext) {}
// ExitVersion_command is called when production version_command is exited.
func (s *Basememcached_protocolListener) ExitVersion_command(ctx *Version_commandContext) {}
// EnterVerbosity_command is called when production verbosity_command is entered.
func (s *Basememcached_protocolListener) EnterVerbosity_command(ctx *Verbosity_commandContext) {}
// ExitVerbosity_command is called when production verbosity_command is exited.
func (s *Basememcached_protocolListener) ExitVerbosity_command(ctx *Verbosity_commandContext) {}
// EnterQuit_command is called when production quit_command is entered.
func (s *Basememcached_protocolListener) EnterQuit_command(ctx *Quit_commandContext) {}
// ExitQuit_command is called when production quit_command is exited.
func (s *Basememcached_protocolListener) ExitQuit_command(ctx *Quit_commandContext) {}
// EnterStorage_response is called when production storage_response is entered.
func (s *Basememcached_protocolListener) EnterStorage_response(ctx *Storage_responseContext) {}
// ExitStorage_response is called when production storage_response is exited.
func (s *Basememcached_protocolListener) ExitStorage_response(ctx *Storage_responseContext) {}
// EnterRetrieval_response is called when production retrieval_response is entered.
func (s *Basememcached_protocolListener) EnterRetrieval_response(ctx *Retrieval_responseContext) {}
// ExitRetrieval_response is called when production retrieval_response is exited.
func (s *Basememcached_protocolListener) ExitRetrieval_response(ctx *Retrieval_responseContext) {}
// EnterDeletion_response is called when production deletion_response is entered.
func (s *Basememcached_protocolListener) EnterDeletion_response(ctx *Deletion_responseContext) {}
// ExitDeletion_response is called when production deletion_response is exited.
func (s *Basememcached_protocolListener) ExitDeletion_response(ctx *Deletion_responseContext) {}
// EnterIncr_or_decr_response is called when production incr_or_decr_response is entered.
func (s *Basememcached_protocolListener) EnterIncr_or_decr_response(ctx *Incr_or_decr_responseContext) {
}
// ExitIncr_or_decr_response is called when production incr_or_decr_response is exited.
func (s *Basememcached_protocolListener) ExitIncr_or_decr_response(ctx *Incr_or_decr_responseContext) {
}
// EnterStatistics_response is called when production statistics_response is entered.
func (s *Basememcached_protocolListener) EnterStatistics_response(ctx *Statistics_responseContext) {}
// ExitStatistics_response is called when production statistics_response is exited.
func (s *Basememcached_protocolListener) ExitStatistics_response(ctx *Statistics_responseContext) {}
// EnterError_response is called when production error_response is entered.
func (s *Basememcached_protocolListener) EnterError_response(ctx *Error_responseContext) {}
// ExitError_response is called when production error_response is exited.
func (s *Basememcached_protocolListener) ExitError_response(ctx *Error_responseContext) {}
// EnterGeneral_statistic is called when production general_statistic is entered.
func (s *Basememcached_protocolListener) EnterGeneral_statistic(ctx *General_statisticContext) {}
// ExitGeneral_statistic is called when production general_statistic is exited.
func (s *Basememcached_protocolListener) ExitGeneral_statistic(ctx *General_statisticContext) {}
// EnterSize_statistic is called when production size_statistic is entered.
func (s *Basememcached_protocolListener) EnterSize_statistic(ctx *Size_statisticContext) {}
// ExitSize_statistic is called when production size_statistic is exited.
func (s *Basememcached_protocolListener) ExitSize_statistic(ctx *Size_statisticContext) {}
// EnterGeneral_error is called when production general_error is entered.
func (s *Basememcached_protocolListener) EnterGeneral_error(ctx *General_errorContext) {}
// ExitGeneral_error is called when production general_error is exited.
func (s *Basememcached_protocolListener) ExitGeneral_error(ctx *General_errorContext) {}
// EnterClient_error_message is called when production client_error_message is entered.
func (s *Basememcached_protocolListener) EnterClient_error_message(ctx *Client_error_messageContext) {}
// ExitClient_error_message is called when production client_error_message is exited.
func (s *Basememcached_protocolListener) ExitClient_error_message(ctx *Client_error_messageContext) {}
// EnterServer_error_message is called when production server_error_message is entered.
func (s *Basememcached_protocolListener) EnterServer_error_message(ctx *Server_error_messageContext) {}
// ExitServer_error_message is called when production server_error_message is exited.
func (s *Basememcached_protocolListener) ExitServer_error_message(ctx *Server_error_messageContext) {}
// EnterEnd is called when production end is entered.
func (s *Basememcached_protocolListener) EnterEnd(ctx *EndContext) {}
// ExitEnd is called when production end is exited.
func (s *Basememcached_protocolListener) ExitEnd(ctx *EndContext) {}
// EnterNoreply is called when production noreply is entered.
func (s *Basememcached_protocolListener) EnterNoreply(ctx *NoreplyContext) {}
// ExitNoreply is called when production noreply is exited.
func (s *Basememcached_protocolListener) ExitNoreply(ctx *NoreplyContext) {}
// EnterKey is called when production key is entered.
func (s *Basememcached_protocolListener) EnterKey(ctx *KeyContext) {}
// ExitKey is called when production key is exited.
func (s *Basememcached_protocolListener) ExitKey(ctx *KeyContext) {}
// EnterFlags is called when production flags is entered.
func (s *Basememcached_protocolListener) EnterFlags(ctx *FlagsContext) {}
// ExitFlags is called when production flags is exited.
func (s *Basememcached_protocolListener) ExitFlags(ctx *FlagsContext) {}
// EnterExptime is called when production exptime is entered.
func (s *Basememcached_protocolListener) EnterExptime(ctx *ExptimeContext) {}
// ExitExptime is called when production exptime is exited.
func (s *Basememcached_protocolListener) ExitExptime(ctx *ExptimeContext) {}
// EnterBytes is called when production bytes is entered.
func (s *Basememcached_protocolListener) EnterBytes(ctx *BytesContext) {}
// ExitBytes is called when production bytes is exited.
func (s *Basememcached_protocolListener) ExitBytes(ctx *BytesContext) {}
// EnterCas_unique is called when production cas_unique is entered.
func (s *Basememcached_protocolListener) EnterCas_unique(ctx *Cas_uniqueContext) {}
// ExitCas_unique is called when production cas_unique is exited.
func (s *Basememcached_protocolListener) ExitCas_unique(ctx *Cas_uniqueContext) {}
// EnterValue is called when production value is entered.
func (s *Basememcached_protocolListener) EnterValue(ctx *ValueContext) {}
// ExitValue is called when production value is exited.
func (s *Basememcached_protocolListener) ExitValue(ctx *ValueContext) {}
// EnterTime is called when production time is entered.
func (s *Basememcached_protocolListener) EnterTime(ctx *TimeContext) {}
// ExitTime is called when production time is exited.
func (s *Basememcached_protocolListener) ExitTime(ctx *TimeContext) {}
// EnterDelay is called when production delay is entered.
func (s *Basememcached_protocolListener) EnterDelay(ctx *DelayContext) {}
// ExitDelay is called when production delay is exited.
func (s *Basememcached_protocolListener) ExitDelay(ctx *DelayContext) {}
// EnterVerbosity_level is called when production verbosity_level is entered.
func (s *Basememcached_protocolListener) EnterVerbosity_level(ctx *Verbosity_levelContext) {}
// ExitVerbosity_level is called when production verbosity_level is exited.
func (s *Basememcached_protocolListener) ExitVerbosity_level(ctx *Verbosity_levelContext) {}
// EnterStatistic_name is called when production statistic_name is entered.
func (s *Basememcached_protocolListener) EnterStatistic_name(ctx *Statistic_nameContext) {}
// ExitStatistic_name is called when production statistic_name is exited.
func (s *Basememcached_protocolListener) ExitStatistic_name(ctx *Statistic_nameContext) {}
// EnterStatistic_value is called when production statistic_value is entered.
func (s *Basememcached_protocolListener) EnterStatistic_value(ctx *Statistic_valueContext) {}
// ExitStatistic_value is called when production statistic_value is exited.
func (s *Basememcached_protocolListener) ExitStatistic_value(ctx *Statistic_valueContext) {}
// EnterSize is called when production size is entered.
func (s *Basememcached_protocolListener) EnterSize(ctx *SizeContext) {}
// ExitSize is called when production size is exited.
func (s *Basememcached_protocolListener) ExitSize(ctx *SizeContext) {}
// EnterCount is called when production count is entered.
func (s *Basememcached_protocolListener) EnterCount(ctx *CountContext) {}
// ExitCount is called when production count is exited.
func (s *Basememcached_protocolListener) ExitCount(ctx *CountContext) {}