/
tnsnamesparser_listener.go
543 lines (363 loc) · 19.5 KB
/
tnsnamesparser_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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
// Code generated from tnsnamesParser.g4 by ANTLR 4.7.2. DO NOT EDIT.
package tnsnames // tnsnamesParser
import "github.com/antlr/antlr4/runtime/Go/antlr"
// tnsnamesParserListener is a complete listener for a parse tree produced by tnsnamesParser.
type tnsnamesParserListener interface {
antlr.ParseTreeListener
// EnterTnsnames is called when entering the tnsnames production.
EnterTnsnames(c *TnsnamesContext)
// EnterTns_entry is called when entering the tns_entry production.
EnterTns_entry(c *Tns_entryContext)
// EnterIfile is called when entering the ifile production.
EnterIfile(c *IfileContext)
// EnterLsnr_entry is called when entering the lsnr_entry production.
EnterLsnr_entry(c *Lsnr_entryContext)
// EnterLsnr_description is called when entering the lsnr_description production.
EnterLsnr_description(c *Lsnr_descriptionContext)
// EnterAlias_list is called when entering the alias_list production.
EnterAlias_list(c *Alias_listContext)
// EnterAlias is called when entering the alias production.
EnterAlias(c *AliasContext)
// EnterDescription_list is called when entering the description_list production.
EnterDescription_list(c *Description_listContext)
// EnterDl_params is called when entering the dl_params production.
EnterDl_params(c *Dl_paramsContext)
// EnterDl_parameter is called when entering the dl_parameter production.
EnterDl_parameter(c *Dl_parameterContext)
// EnterDescription is called when entering the description production.
EnterDescription(c *DescriptionContext)
// EnterD_params is called when entering the d_params production.
EnterD_params(c *D_paramsContext)
// EnterD_parameter is called when entering the d_parameter production.
EnterD_parameter(c *D_parameterContext)
// EnterD_enable is called when entering the d_enable production.
EnterD_enable(c *D_enableContext)
// EnterD_sdu is called when entering the d_sdu production.
EnterD_sdu(c *D_sduContext)
// EnterD_recv_buf is called when entering the d_recv_buf production.
EnterD_recv_buf(c *D_recv_bufContext)
// EnterD_send_buf is called when entering the d_send_buf production.
EnterD_send_buf(c *D_send_bufContext)
// EnterD_service_type is called when entering the d_service_type production.
EnterD_service_type(c *D_service_typeContext)
// EnterD_security is called when entering the d_security production.
EnterD_security(c *D_securityContext)
// EnterD_conn_timeout is called when entering the d_conn_timeout production.
EnterD_conn_timeout(c *D_conn_timeoutContext)
// EnterD_retry_count is called when entering the d_retry_count production.
EnterD_retry_count(c *D_retry_countContext)
// EnterD_tct is called when entering the d_tct production.
EnterD_tct(c *D_tctContext)
// EnterDs_parameter is called when entering the ds_parameter production.
EnterDs_parameter(c *Ds_parameterContext)
// EnterAddress_list is called when entering the address_list production.
EnterAddress_list(c *Address_listContext)
// EnterAl_params is called when entering the al_params production.
EnterAl_params(c *Al_paramsContext)
// EnterAl_parameter is called when entering the al_parameter production.
EnterAl_parameter(c *Al_parameterContext)
// EnterAl_failover is called when entering the al_failover production.
EnterAl_failover(c *Al_failoverContext)
// EnterAl_load_balance is called when entering the al_load_balance production.
EnterAl_load_balance(c *Al_load_balanceContext)
// EnterAl_source_route is called when entering the al_source_route production.
EnterAl_source_route(c *Al_source_routeContext)
// EnterAddress is called when entering the address production.
EnterAddress(c *AddressContext)
// EnterA_params is called when entering the a_params production.
EnterA_params(c *A_paramsContext)
// EnterA_parameter is called when entering the a_parameter production.
EnterA_parameter(c *A_parameterContext)
// EnterProtocol_info is called when entering the protocol_info production.
EnterProtocol_info(c *Protocol_infoContext)
// EnterTcp_protocol is called when entering the tcp_protocol production.
EnterTcp_protocol(c *Tcp_protocolContext)
// EnterTcp_params is called when entering the tcp_params production.
EnterTcp_params(c *Tcp_paramsContext)
// EnterTcp_parameter is called when entering the tcp_parameter production.
EnterTcp_parameter(c *Tcp_parameterContext)
// EnterTcp_host is called when entering the tcp_host production.
EnterTcp_host(c *Tcp_hostContext)
// EnterTcp_port is called when entering the tcp_port production.
EnterTcp_port(c *Tcp_portContext)
// EnterTcp_tcp is called when entering the tcp_tcp production.
EnterTcp_tcp(c *Tcp_tcpContext)
// EnterHost is called when entering the host production.
EnterHost(c *HostContext)
// EnterPort is called when entering the port production.
EnterPort(c *PortContext)
// EnterIpc_protocol is called when entering the ipc_protocol production.
EnterIpc_protocol(c *Ipc_protocolContext)
// EnterIpc_params is called when entering the ipc_params production.
EnterIpc_params(c *Ipc_paramsContext)
// EnterIpc_parameter is called when entering the ipc_parameter production.
EnterIpc_parameter(c *Ipc_parameterContext)
// EnterIpc_ipc is called when entering the ipc_ipc production.
EnterIpc_ipc(c *Ipc_ipcContext)
// EnterIpc_key is called when entering the ipc_key production.
EnterIpc_key(c *Ipc_keyContext)
// EnterSpx_protocol is called when entering the spx_protocol production.
EnterSpx_protocol(c *Spx_protocolContext)
// EnterSpx_params is called when entering the spx_params production.
EnterSpx_params(c *Spx_paramsContext)
// EnterSpx_parameter is called when entering the spx_parameter production.
EnterSpx_parameter(c *Spx_parameterContext)
// EnterSpx_spx is called when entering the spx_spx production.
EnterSpx_spx(c *Spx_spxContext)
// EnterSpx_service is called when entering the spx_service production.
EnterSpx_service(c *Spx_serviceContext)
// EnterNmp_protocol is called when entering the nmp_protocol production.
EnterNmp_protocol(c *Nmp_protocolContext)
// EnterNmp_params is called when entering the nmp_params production.
EnterNmp_params(c *Nmp_paramsContext)
// EnterNmp_parameter is called when entering the nmp_parameter production.
EnterNmp_parameter(c *Nmp_parameterContext)
// EnterNmp_nmp is called when entering the nmp_nmp production.
EnterNmp_nmp(c *Nmp_nmpContext)
// EnterNmp_server is called when entering the nmp_server production.
EnterNmp_server(c *Nmp_serverContext)
// EnterNmp_pipe is called when entering the nmp_pipe production.
EnterNmp_pipe(c *Nmp_pipeContext)
// EnterBeq_protocol is called when entering the beq_protocol production.
EnterBeq_protocol(c *Beq_protocolContext)
// EnterBeq_params is called when entering the beq_params production.
EnterBeq_params(c *Beq_paramsContext)
// EnterBeq_parameter is called when entering the beq_parameter production.
EnterBeq_parameter(c *Beq_parameterContext)
// EnterBeq_beq is called when entering the beq_beq production.
EnterBeq_beq(c *Beq_beqContext)
// EnterBeq_program is called when entering the beq_program production.
EnterBeq_program(c *Beq_programContext)
// EnterBeq_argv0 is called when entering the beq_argv0 production.
EnterBeq_argv0(c *Beq_argv0Context)
// EnterBeq_args is called when entering the beq_args production.
EnterBeq_args(c *Beq_argsContext)
// EnterBa_parameter is called when entering the ba_parameter production.
EnterBa_parameter(c *Ba_parameterContext)
// EnterBa_description is called when entering the ba_description production.
EnterBa_description(c *Ba_descriptionContext)
// EnterBad_params is called when entering the bad_params production.
EnterBad_params(c *Bad_paramsContext)
// EnterBad_parameter is called when entering the bad_parameter production.
EnterBad_parameter(c *Bad_parameterContext)
// EnterBad_local is called when entering the bad_local production.
EnterBad_local(c *Bad_localContext)
// EnterBad_address is called when entering the bad_address production.
EnterBad_address(c *Bad_addressContext)
// EnterConnect_data is called when entering the connect_data production.
EnterConnect_data(c *Connect_dataContext)
// EnterCd_params is called when entering the cd_params production.
EnterCd_params(c *Cd_paramsContext)
// EnterCd_parameter is called when entering the cd_parameter production.
EnterCd_parameter(c *Cd_parameterContext)
// EnterCd_service_name is called when entering the cd_service_name production.
EnterCd_service_name(c *Cd_service_nameContext)
// EnterCd_sid is called when entering the cd_sid production.
EnterCd_sid(c *Cd_sidContext)
// EnterCd_instance_name is called when entering the cd_instance_name production.
EnterCd_instance_name(c *Cd_instance_nameContext)
// EnterCd_failover_mode is called when entering the cd_failover_mode production.
EnterCd_failover_mode(c *Cd_failover_modeContext)
// EnterCd_global_name is called when entering the cd_global_name production.
EnterCd_global_name(c *Cd_global_nameContext)
// EnterCd_hs is called when entering the cd_hs production.
EnterCd_hs(c *Cd_hsContext)
// EnterCd_rdb_database is called when entering the cd_rdb_database production.
EnterCd_rdb_database(c *Cd_rdb_databaseContext)
// EnterCd_server is called when entering the cd_server production.
EnterCd_server(c *Cd_serverContext)
// EnterCd_ur is called when entering the cd_ur production.
EnterCd_ur(c *Cd_urContext)
// EnterFo_params is called when entering the fo_params production.
EnterFo_params(c *Fo_paramsContext)
// EnterFo_parameter is called when entering the fo_parameter production.
EnterFo_parameter(c *Fo_parameterContext)
// EnterFo_type is called when entering the fo_type production.
EnterFo_type(c *Fo_typeContext)
// EnterFo_backup is called when entering the fo_backup production.
EnterFo_backup(c *Fo_backupContext)
// EnterFo_method is called when entering the fo_method production.
EnterFo_method(c *Fo_methodContext)
// EnterFo_retries is called when entering the fo_retries production.
EnterFo_retries(c *Fo_retriesContext)
// EnterFo_delay is called when entering the fo_delay production.
EnterFo_delay(c *Fo_delayContext)
// ExitTnsnames is called when exiting the tnsnames production.
ExitTnsnames(c *TnsnamesContext)
// ExitTns_entry is called when exiting the tns_entry production.
ExitTns_entry(c *Tns_entryContext)
// ExitIfile is called when exiting the ifile production.
ExitIfile(c *IfileContext)
// ExitLsnr_entry is called when exiting the lsnr_entry production.
ExitLsnr_entry(c *Lsnr_entryContext)
// ExitLsnr_description is called when exiting the lsnr_description production.
ExitLsnr_description(c *Lsnr_descriptionContext)
// ExitAlias_list is called when exiting the alias_list production.
ExitAlias_list(c *Alias_listContext)
// ExitAlias is called when exiting the alias production.
ExitAlias(c *AliasContext)
// ExitDescription_list is called when exiting the description_list production.
ExitDescription_list(c *Description_listContext)
// ExitDl_params is called when exiting the dl_params production.
ExitDl_params(c *Dl_paramsContext)
// ExitDl_parameter is called when exiting the dl_parameter production.
ExitDl_parameter(c *Dl_parameterContext)
// ExitDescription is called when exiting the description production.
ExitDescription(c *DescriptionContext)
// ExitD_params is called when exiting the d_params production.
ExitD_params(c *D_paramsContext)
// ExitD_parameter is called when exiting the d_parameter production.
ExitD_parameter(c *D_parameterContext)
// ExitD_enable is called when exiting the d_enable production.
ExitD_enable(c *D_enableContext)
// ExitD_sdu is called when exiting the d_sdu production.
ExitD_sdu(c *D_sduContext)
// ExitD_recv_buf is called when exiting the d_recv_buf production.
ExitD_recv_buf(c *D_recv_bufContext)
// ExitD_send_buf is called when exiting the d_send_buf production.
ExitD_send_buf(c *D_send_bufContext)
// ExitD_service_type is called when exiting the d_service_type production.
ExitD_service_type(c *D_service_typeContext)
// ExitD_security is called when exiting the d_security production.
ExitD_security(c *D_securityContext)
// ExitD_conn_timeout is called when exiting the d_conn_timeout production.
ExitD_conn_timeout(c *D_conn_timeoutContext)
// ExitD_retry_count is called when exiting the d_retry_count production.
ExitD_retry_count(c *D_retry_countContext)
// ExitD_tct is called when exiting the d_tct production.
ExitD_tct(c *D_tctContext)
// ExitDs_parameter is called when exiting the ds_parameter production.
ExitDs_parameter(c *Ds_parameterContext)
// ExitAddress_list is called when exiting the address_list production.
ExitAddress_list(c *Address_listContext)
// ExitAl_params is called when exiting the al_params production.
ExitAl_params(c *Al_paramsContext)
// ExitAl_parameter is called when exiting the al_parameter production.
ExitAl_parameter(c *Al_parameterContext)
// ExitAl_failover is called when exiting the al_failover production.
ExitAl_failover(c *Al_failoverContext)
// ExitAl_load_balance is called when exiting the al_load_balance production.
ExitAl_load_balance(c *Al_load_balanceContext)
// ExitAl_source_route is called when exiting the al_source_route production.
ExitAl_source_route(c *Al_source_routeContext)
// ExitAddress is called when exiting the address production.
ExitAddress(c *AddressContext)
// ExitA_params is called when exiting the a_params production.
ExitA_params(c *A_paramsContext)
// ExitA_parameter is called when exiting the a_parameter production.
ExitA_parameter(c *A_parameterContext)
// ExitProtocol_info is called when exiting the protocol_info production.
ExitProtocol_info(c *Protocol_infoContext)
// ExitTcp_protocol is called when exiting the tcp_protocol production.
ExitTcp_protocol(c *Tcp_protocolContext)
// ExitTcp_params is called when exiting the tcp_params production.
ExitTcp_params(c *Tcp_paramsContext)
// ExitTcp_parameter is called when exiting the tcp_parameter production.
ExitTcp_parameter(c *Tcp_parameterContext)
// ExitTcp_host is called when exiting the tcp_host production.
ExitTcp_host(c *Tcp_hostContext)
// ExitTcp_port is called when exiting the tcp_port production.
ExitTcp_port(c *Tcp_portContext)
// ExitTcp_tcp is called when exiting the tcp_tcp production.
ExitTcp_tcp(c *Tcp_tcpContext)
// ExitHost is called when exiting the host production.
ExitHost(c *HostContext)
// ExitPort is called when exiting the port production.
ExitPort(c *PortContext)
// ExitIpc_protocol is called when exiting the ipc_protocol production.
ExitIpc_protocol(c *Ipc_protocolContext)
// ExitIpc_params is called when exiting the ipc_params production.
ExitIpc_params(c *Ipc_paramsContext)
// ExitIpc_parameter is called when exiting the ipc_parameter production.
ExitIpc_parameter(c *Ipc_parameterContext)
// ExitIpc_ipc is called when exiting the ipc_ipc production.
ExitIpc_ipc(c *Ipc_ipcContext)
// ExitIpc_key is called when exiting the ipc_key production.
ExitIpc_key(c *Ipc_keyContext)
// ExitSpx_protocol is called when exiting the spx_protocol production.
ExitSpx_protocol(c *Spx_protocolContext)
// ExitSpx_params is called when exiting the spx_params production.
ExitSpx_params(c *Spx_paramsContext)
// ExitSpx_parameter is called when exiting the spx_parameter production.
ExitSpx_parameter(c *Spx_parameterContext)
// ExitSpx_spx is called when exiting the spx_spx production.
ExitSpx_spx(c *Spx_spxContext)
// ExitSpx_service is called when exiting the spx_service production.
ExitSpx_service(c *Spx_serviceContext)
// ExitNmp_protocol is called when exiting the nmp_protocol production.
ExitNmp_protocol(c *Nmp_protocolContext)
// ExitNmp_params is called when exiting the nmp_params production.
ExitNmp_params(c *Nmp_paramsContext)
// ExitNmp_parameter is called when exiting the nmp_parameter production.
ExitNmp_parameter(c *Nmp_parameterContext)
// ExitNmp_nmp is called when exiting the nmp_nmp production.
ExitNmp_nmp(c *Nmp_nmpContext)
// ExitNmp_server is called when exiting the nmp_server production.
ExitNmp_server(c *Nmp_serverContext)
// ExitNmp_pipe is called when exiting the nmp_pipe production.
ExitNmp_pipe(c *Nmp_pipeContext)
// ExitBeq_protocol is called when exiting the beq_protocol production.
ExitBeq_protocol(c *Beq_protocolContext)
// ExitBeq_params is called when exiting the beq_params production.
ExitBeq_params(c *Beq_paramsContext)
// ExitBeq_parameter is called when exiting the beq_parameter production.
ExitBeq_parameter(c *Beq_parameterContext)
// ExitBeq_beq is called when exiting the beq_beq production.
ExitBeq_beq(c *Beq_beqContext)
// ExitBeq_program is called when exiting the beq_program production.
ExitBeq_program(c *Beq_programContext)
// ExitBeq_argv0 is called when exiting the beq_argv0 production.
ExitBeq_argv0(c *Beq_argv0Context)
// ExitBeq_args is called when exiting the beq_args production.
ExitBeq_args(c *Beq_argsContext)
// ExitBa_parameter is called when exiting the ba_parameter production.
ExitBa_parameter(c *Ba_parameterContext)
// ExitBa_description is called when exiting the ba_description production.
ExitBa_description(c *Ba_descriptionContext)
// ExitBad_params is called when exiting the bad_params production.
ExitBad_params(c *Bad_paramsContext)
// ExitBad_parameter is called when exiting the bad_parameter production.
ExitBad_parameter(c *Bad_parameterContext)
// ExitBad_local is called when exiting the bad_local production.
ExitBad_local(c *Bad_localContext)
// ExitBad_address is called when exiting the bad_address production.
ExitBad_address(c *Bad_addressContext)
// ExitConnect_data is called when exiting the connect_data production.
ExitConnect_data(c *Connect_dataContext)
// ExitCd_params is called when exiting the cd_params production.
ExitCd_params(c *Cd_paramsContext)
// ExitCd_parameter is called when exiting the cd_parameter production.
ExitCd_parameter(c *Cd_parameterContext)
// ExitCd_service_name is called when exiting the cd_service_name production.
ExitCd_service_name(c *Cd_service_nameContext)
// ExitCd_sid is called when exiting the cd_sid production.
ExitCd_sid(c *Cd_sidContext)
// ExitCd_instance_name is called when exiting the cd_instance_name production.
ExitCd_instance_name(c *Cd_instance_nameContext)
// ExitCd_failover_mode is called when exiting the cd_failover_mode production.
ExitCd_failover_mode(c *Cd_failover_modeContext)
// ExitCd_global_name is called when exiting the cd_global_name production.
ExitCd_global_name(c *Cd_global_nameContext)
// ExitCd_hs is called when exiting the cd_hs production.
ExitCd_hs(c *Cd_hsContext)
// ExitCd_rdb_database is called when exiting the cd_rdb_database production.
ExitCd_rdb_database(c *Cd_rdb_databaseContext)
// ExitCd_server is called when exiting the cd_server production.
ExitCd_server(c *Cd_serverContext)
// ExitCd_ur is called when exiting the cd_ur production.
ExitCd_ur(c *Cd_urContext)
// ExitFo_params is called when exiting the fo_params production.
ExitFo_params(c *Fo_paramsContext)
// ExitFo_parameter is called when exiting the fo_parameter production.
ExitFo_parameter(c *Fo_parameterContext)
// ExitFo_type is called when exiting the fo_type production.
ExitFo_type(c *Fo_typeContext)
// ExitFo_backup is called when exiting the fo_backup production.
ExitFo_backup(c *Fo_backupContext)
// ExitFo_method is called when exiting the fo_method production.
ExitFo_method(c *Fo_methodContext)
// ExitFo_retries is called when exiting the fo_retries production.
ExitFo_retries(c *Fo_retriesContext)
// ExitFo_delay is called when exiting the fo_delay production.
ExitFo_delay(c *Fo_delayContext)
}