-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtidbparser_listener.go
2871 lines (1915 loc) · 119 KB
/
tidbparser_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
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated from TiDBParser.g4 by ANTLR 4.13.1. DO NOT EDIT.
package parser // TiDBParser
import "github.com/antlr4-go/antlr/v4"
// TiDBParserListener is a complete listener for a parse tree produced by TiDBParser.
type TiDBParserListener interface {
antlr.ParseTreeListener
// EnterScript is called when entering the script production.
EnterScript(c *ScriptContext)
// EnterQuery is called when entering the query production.
EnterQuery(c *QueryContext)
// EnterSimpleStatement is called when entering the simpleStatement production.
EnterSimpleStatement(c *SimpleStatementContext)
// EnterCreateStatement is called when entering the createStatement production.
EnterCreateStatement(c *CreateStatementContext)
// EnterDropStatement is called when entering the dropStatement production.
EnterDropStatement(c *DropStatementContext)
// EnterCreateTable is called when entering the createTable production.
EnterCreateTable(c *CreateTableContext)
// EnterCreateView is called when entering the createView production.
EnterCreateView(c *CreateViewContext)
// EnterDropView is called when entering the dropView production.
EnterDropView(c *DropViewContext)
// EnterViewReplaceOrAlgorithm is called when entering the viewReplaceOrAlgorithm production.
EnterViewReplaceOrAlgorithm(c *ViewReplaceOrAlgorithmContext)
// EnterViewAlgorithm is called when entering the viewAlgorithm production.
EnterViewAlgorithm(c *ViewAlgorithmContext)
// EnterViewSuid is called when entering the viewSuid production.
EnterViewSuid(c *ViewSuidContext)
// EnterViewTail is called when entering the viewTail production.
EnterViewTail(c *ViewTailContext)
// EnterViewSelect is called when entering the viewSelect production.
EnterViewSelect(c *ViewSelectContext)
// EnterViewCheckOption is called when entering the viewCheckOption production.
EnterViewCheckOption(c *ViewCheckOptionContext)
// EnterDuplicateAsQueryExpression is called when entering the duplicateAsQueryExpression production.
EnterDuplicateAsQueryExpression(c *DuplicateAsQueryExpressionContext)
// EnterQueryExpressionOrParens is called when entering the queryExpressionOrParens production.
EnterQueryExpressionOrParens(c *QueryExpressionOrParensContext)
// EnterTableElementList is called when entering the tableElementList production.
EnterTableElementList(c *TableElementListContext)
// EnterTableElement is called when entering the tableElement production.
EnterTableElement(c *TableElementContext)
// EnterTableConstraintDef is called when entering the tableConstraintDef production.
EnterTableConstraintDef(c *TableConstraintDefContext)
// EnterIndexOption is called when entering the indexOption production.
EnterIndexOption(c *IndexOptionContext)
// EnterCheckConstraint is called when entering the checkConstraint production.
EnterCheckConstraint(c *CheckConstraintContext)
// EnterIndexNameAndType is called when entering the indexNameAndType production.
EnterIndexNameAndType(c *IndexNameAndTypeContext)
// EnterTemporaryOption is called when entering the temporaryOption production.
EnterTemporaryOption(c *TemporaryOptionContext)
// EnterColumnDef is called when entering the columnDef production.
EnterColumnDef(c *ColumnDefContext)
// EnterColumnOptionList is called when entering the columnOptionList production.
EnterColumnOptionList(c *ColumnOptionListContext)
// EnterColumnOption is called when entering the columnOption production.
EnterColumnOption(c *ColumnOptionContext)
// EnterConstraintName is called when entering the constraintName production.
EnterConstraintName(c *ConstraintNameContext)
// EnterConstraintEnforcement is called when entering the constraintEnforcement production.
EnterConstraintEnforcement(c *ConstraintEnforcementContext)
// EnterSelectStatement is called when entering the selectStatement production.
EnterSelectStatement(c *SelectStatementContext)
// EnterSelectStatementWithInto is called when entering the selectStatementWithInto production.
EnterSelectStatementWithInto(c *SelectStatementWithIntoContext)
// EnterQueryExpression is called when entering the queryExpression production.
EnterQueryExpression(c *QueryExpressionContext)
// EnterQueryExpressionBody is called when entering the queryExpressionBody production.
EnterQueryExpressionBody(c *QueryExpressionBodyContext)
// EnterQueryExpressionParens is called when entering the queryExpressionParens production.
EnterQueryExpressionParens(c *QueryExpressionParensContext)
// EnterQueryPrimary is called when entering the queryPrimary production.
EnterQueryPrimary(c *QueryPrimaryContext)
// EnterQuerySpecification is called when entering the querySpecification production.
EnterQuerySpecification(c *QuerySpecificationContext)
// EnterSubquery is called when entering the subquery production.
EnterSubquery(c *SubqueryContext)
// EnterQuerySpecOption is called when entering the querySpecOption production.
EnterQuerySpecOption(c *QuerySpecOptionContext)
// EnterLimitClause is called when entering the limitClause production.
EnterLimitClause(c *LimitClauseContext)
// EnterSimpleLimitClause is called when entering the simpleLimitClause production.
EnterSimpleLimitClause(c *SimpleLimitClauseContext)
// EnterLimitOptions is called when entering the limitOptions production.
EnterLimitOptions(c *LimitOptionsContext)
// EnterLimitOption is called when entering the limitOption production.
EnterLimitOption(c *LimitOptionContext)
// EnterIntoClause is called when entering the intoClause production.
EnterIntoClause(c *IntoClauseContext)
// EnterProcedureAnalyseClause is called when entering the procedureAnalyseClause production.
EnterProcedureAnalyseClause(c *ProcedureAnalyseClauseContext)
// EnterHavingClause is called when entering the havingClause production.
EnterHavingClause(c *HavingClauseContext)
// EnterWindowClause is called when entering the windowClause production.
EnterWindowClause(c *WindowClauseContext)
// EnterWindowDefinition is called when entering the windowDefinition production.
EnterWindowDefinition(c *WindowDefinitionContext)
// EnterWindowSpec is called when entering the windowSpec production.
EnterWindowSpec(c *WindowSpecContext)
// EnterWindowSpecDetails is called when entering the windowSpecDetails production.
EnterWindowSpecDetails(c *WindowSpecDetailsContext)
// EnterWindowFrameClause is called when entering the windowFrameClause production.
EnterWindowFrameClause(c *WindowFrameClauseContext)
// EnterWindowFrameUnits is called when entering the windowFrameUnits production.
EnterWindowFrameUnits(c *WindowFrameUnitsContext)
// EnterWindowFrameExtent is called when entering the windowFrameExtent production.
EnterWindowFrameExtent(c *WindowFrameExtentContext)
// EnterWindowFrameStart is called when entering the windowFrameStart production.
EnterWindowFrameStart(c *WindowFrameStartContext)
// EnterWindowFrameBetween is called when entering the windowFrameBetween production.
EnterWindowFrameBetween(c *WindowFrameBetweenContext)
// EnterWindowFrameBound is called when entering the windowFrameBound production.
EnterWindowFrameBound(c *WindowFrameBoundContext)
// EnterWindowFrameExclusion is called when entering the windowFrameExclusion production.
EnterWindowFrameExclusion(c *WindowFrameExclusionContext)
// EnterWithClause is called when entering the withClause production.
EnterWithClause(c *WithClauseContext)
// EnterCommonTableExpression is called when entering the commonTableExpression production.
EnterCommonTableExpression(c *CommonTableExpressionContext)
// EnterGroupByClause is called when entering the groupByClause production.
EnterGroupByClause(c *GroupByClauseContext)
// EnterOlapOption is called when entering the olapOption production.
EnterOlapOption(c *OlapOptionContext)
// EnterOrderClause is called when entering the orderClause production.
EnterOrderClause(c *OrderClauseContext)
// EnterDirection is called when entering the direction production.
EnterDirection(c *DirectionContext)
// EnterFromClause is called when entering the fromClause production.
EnterFromClause(c *FromClauseContext)
// EnterTableReferenceList is called when entering the tableReferenceList production.
EnterTableReferenceList(c *TableReferenceListContext)
// EnterTableValueConstructor is called when entering the tableValueConstructor production.
EnterTableValueConstructor(c *TableValueConstructorContext)
// EnterExplicitTable is called when entering the explicitTable production.
EnterExplicitTable(c *ExplicitTableContext)
// EnterRowValueExplicit is called when entering the rowValueExplicit production.
EnterRowValueExplicit(c *RowValueExplicitContext)
// EnterValues is called when entering the values production.
EnterValues(c *ValuesContext)
// EnterSelectOption is called when entering the selectOption production.
EnterSelectOption(c *SelectOptionContext)
// EnterLockingClauseList is called when entering the lockingClauseList production.
EnterLockingClauseList(c *LockingClauseListContext)
// EnterLockingClause is called when entering the lockingClause production.
EnterLockingClause(c *LockingClauseContext)
// EnterLockStrengh is called when entering the lockStrengh production.
EnterLockStrengh(c *LockStrenghContext)
// EnterLockedRowAction is called when entering the lockedRowAction production.
EnterLockedRowAction(c *LockedRowActionContext)
// EnterSelectItemList is called when entering the selectItemList production.
EnterSelectItemList(c *SelectItemListContext)
// EnterSelectItem is called when entering the selectItem production.
EnterSelectItem(c *SelectItemContext)
// EnterSelectAlias is called when entering the selectAlias production.
EnterSelectAlias(c *SelectAliasContext)
// EnterWhereClause is called when entering the whereClause production.
EnterWhereClause(c *WhereClauseContext)
// EnterTableReference is called when entering the tableReference production.
EnterTableReference(c *TableReferenceContext)
// EnterEscapedTableReference is called when entering the escapedTableReference production.
EnterEscapedTableReference(c *EscapedTableReferenceContext)
// EnterJoinedTable is called when entering the joinedTable production.
EnterJoinedTable(c *JoinedTableContext)
// EnterNaturalJoinType is called when entering the naturalJoinType production.
EnterNaturalJoinType(c *NaturalJoinTypeContext)
// EnterInnerJoinType is called when entering the innerJoinType production.
EnterInnerJoinType(c *InnerJoinTypeContext)
// EnterOuterJoinType is called when entering the outerJoinType production.
EnterOuterJoinType(c *OuterJoinTypeContext)
// EnterTableFactor is called when entering the tableFactor production.
EnterTableFactor(c *TableFactorContext)
// EnterSingleTable is called when entering the singleTable production.
EnterSingleTable(c *SingleTableContext)
// EnterSingleTableParens is called when entering the singleTableParens production.
EnterSingleTableParens(c *SingleTableParensContext)
// EnterDerivedTable is called when entering the derivedTable production.
EnterDerivedTable(c *DerivedTableContext)
// EnterTableReferenceListParens is called when entering the tableReferenceListParens production.
EnterTableReferenceListParens(c *TableReferenceListParensContext)
// EnterTableFunction is called when entering the tableFunction production.
EnterTableFunction(c *TableFunctionContext)
// EnterColumnsClause is called when entering the columnsClause production.
EnterColumnsClause(c *ColumnsClauseContext)
// EnterJtColumn is called when entering the jtColumn production.
EnterJtColumn(c *JtColumnContext)
// EnterOnEmptyOrError is called when entering the onEmptyOrError production.
EnterOnEmptyOrError(c *OnEmptyOrErrorContext)
// EnterOnEmpty is called when entering the onEmpty production.
EnterOnEmpty(c *OnEmptyContext)
// EnterOnError is called when entering the onError production.
EnterOnError(c *OnErrorContext)
// EnterJtOnResponse is called when entering the jtOnResponse production.
EnterJtOnResponse(c *JtOnResponseContext)
// EnterSetOprSymbol is called when entering the setOprSymbol production.
EnterSetOprSymbol(c *SetOprSymbolContext)
// EnterSetOprOption is called when entering the setOprOption production.
EnterSetOprOption(c *SetOprOptionContext)
// EnterTableAlias is called when entering the tableAlias production.
EnterTableAlias(c *TableAliasContext)
// EnterIndexHintList is called when entering the indexHintList production.
EnterIndexHintList(c *IndexHintListContext)
// EnterIndexHint is called when entering the indexHint production.
EnterIndexHint(c *IndexHintContext)
// EnterIndexHintType is called when entering the indexHintType production.
EnterIndexHintType(c *IndexHintTypeContext)
// EnterKeyOrIndex is called when entering the keyOrIndex production.
EnterKeyOrIndex(c *KeyOrIndexContext)
// EnterConstraintKeyType is called when entering the constraintKeyType production.
EnterConstraintKeyType(c *ConstraintKeyTypeContext)
// EnterIndexHintClause is called when entering the indexHintClause production.
EnterIndexHintClause(c *IndexHintClauseContext)
// EnterIndexList is called when entering the indexList production.
EnterIndexList(c *IndexListContext)
// EnterIndexListElement is called when entering the indexListElement production.
EnterIndexListElement(c *IndexListElementContext)
// EnterUpdateStatement is called when entering the updateStatement production.
EnterUpdateStatement(c *UpdateStatementContext)
// EnterTransactionOrLockingStatement is called when entering the transactionOrLockingStatement production.
EnterTransactionOrLockingStatement(c *TransactionOrLockingStatementContext)
// EnterTransactionStatement is called when entering the transactionStatement production.
EnterTransactionStatement(c *TransactionStatementContext)
// EnterBeginWork is called when entering the beginWork production.
EnterBeginWork(c *BeginWorkContext)
// EnterTransactionCharacteristic is called when entering the transactionCharacteristic production.
EnterTransactionCharacteristic(c *TransactionCharacteristicContext)
// EnterSavepointStatement is called when entering the savepointStatement production.
EnterSavepointStatement(c *SavepointStatementContext)
// EnterLockStatement is called when entering the lockStatement production.
EnterLockStatement(c *LockStatementContext)
// EnterLockItem is called when entering the lockItem production.
EnterLockItem(c *LockItemContext)
// EnterLockOption is called when entering the lockOption production.
EnterLockOption(c *LockOptionContext)
// EnterXaStatement is called when entering the xaStatement production.
EnterXaStatement(c *XaStatementContext)
// EnterXaConvert is called when entering the xaConvert production.
EnterXaConvert(c *XaConvertContext)
// EnterXid is called when entering the xid production.
EnterXid(c *XidContext)
// EnterReplicationStatement is called when entering the replicationStatement production.
EnterReplicationStatement(c *ReplicationStatementContext)
// EnterResetOption is called when entering the resetOption production.
EnterResetOption(c *ResetOptionContext)
// EnterMasterResetOptions is called when entering the masterResetOptions production.
EnterMasterResetOptions(c *MasterResetOptionsContext)
// EnterReplicationLoad is called when entering the replicationLoad production.
EnterReplicationLoad(c *ReplicationLoadContext)
// EnterChangeMaster is called when entering the changeMaster production.
EnterChangeMaster(c *ChangeMasterContext)
// EnterChangeMasterOptions is called when entering the changeMasterOptions production.
EnterChangeMasterOptions(c *ChangeMasterOptionsContext)
// EnterMasterOption is called when entering the masterOption production.
EnterMasterOption(c *MasterOptionContext)
// EnterPrivilegeCheckDef is called when entering the privilegeCheckDef production.
EnterPrivilegeCheckDef(c *PrivilegeCheckDefContext)
// EnterTablePrimaryKeyCheckDef is called when entering the tablePrimaryKeyCheckDef production.
EnterTablePrimaryKeyCheckDef(c *TablePrimaryKeyCheckDefContext)
// EnterMasterTlsCiphersuitesDef is called when entering the masterTlsCiphersuitesDef production.
EnterMasterTlsCiphersuitesDef(c *MasterTlsCiphersuitesDefContext)
// EnterMasterFileDef is called when entering the masterFileDef production.
EnterMasterFileDef(c *MasterFileDefContext)
// EnterServerIdList is called when entering the serverIdList production.
EnterServerIdList(c *ServerIdListContext)
// EnterChangeReplication is called when entering the changeReplication production.
EnterChangeReplication(c *ChangeReplicationContext)
// EnterFilterDefinition is called when entering the filterDefinition production.
EnterFilterDefinition(c *FilterDefinitionContext)
// EnterFilterDbList is called when entering the filterDbList production.
EnterFilterDbList(c *FilterDbListContext)
// EnterFilterTableList is called when entering the filterTableList production.
EnterFilterTableList(c *FilterTableListContext)
// EnterFilterStringList is called when entering the filterStringList production.
EnterFilterStringList(c *FilterStringListContext)
// EnterFilterWildDbTableString is called when entering the filterWildDbTableString production.
EnterFilterWildDbTableString(c *FilterWildDbTableStringContext)
// EnterFilterDbPairList is called when entering the filterDbPairList production.
EnterFilterDbPairList(c *FilterDbPairListContext)
// EnterSlave is called when entering the slave production.
EnterSlave(c *SlaveContext)
// EnterSlaveUntilOptions is called when entering the slaveUntilOptions production.
EnterSlaveUntilOptions(c *SlaveUntilOptionsContext)
// EnterSlaveConnectionOptions is called when entering the slaveConnectionOptions production.
EnterSlaveConnectionOptions(c *SlaveConnectionOptionsContext)
// EnterSlaveThreadOptions is called when entering the slaveThreadOptions production.
EnterSlaveThreadOptions(c *SlaveThreadOptionsContext)
// EnterSlaveThreadOption is called when entering the slaveThreadOption production.
EnterSlaveThreadOption(c *SlaveThreadOptionContext)
// EnterGroupReplication is called when entering the groupReplication production.
EnterGroupReplication(c *GroupReplicationContext)
// EnterPreparedStatement is called when entering the preparedStatement production.
EnterPreparedStatement(c *PreparedStatementContext)
// EnterExecuteStatement is called when entering the executeStatement production.
EnterExecuteStatement(c *ExecuteStatementContext)
// EnterExecuteVarList is called when entering the executeVarList production.
EnterExecuteVarList(c *ExecuteVarListContext)
// EnterCloneStatement is called when entering the cloneStatement production.
EnterCloneStatement(c *CloneStatementContext)
// EnterDataDirSSL is called when entering the dataDirSSL production.
EnterDataDirSSL(c *DataDirSSLContext)
// EnterSsl is called when entering the ssl production.
EnterSsl(c *SslContext)
// EnterAccountManagementStatement is called when entering the accountManagementStatement production.
EnterAccountManagementStatement(c *AccountManagementStatementContext)
// EnterAlterUser is called when entering the alterUser production.
EnterAlterUser(c *AlterUserContext)
// EnterAlterUserTail is called when entering the alterUserTail production.
EnterAlterUserTail(c *AlterUserTailContext)
// EnterUserFunction is called when entering the userFunction production.
EnterUserFunction(c *UserFunctionContext)
// EnterCreateUser is called when entering the createUser production.
EnterCreateUser(c *CreateUserContext)
// EnterCreateUserTail is called when entering the createUserTail production.
EnterCreateUserTail(c *CreateUserTailContext)
// EnterDefaultRoleClause is called when entering the defaultRoleClause production.
EnterDefaultRoleClause(c *DefaultRoleClauseContext)
// EnterRequireClause is called when entering the requireClause production.
EnterRequireClause(c *RequireClauseContext)
// EnterConnectOptions is called when entering the connectOptions production.
EnterConnectOptions(c *ConnectOptionsContext)
// EnterAccountLockPasswordExpireOptions is called when entering the accountLockPasswordExpireOptions production.
EnterAccountLockPasswordExpireOptions(c *AccountLockPasswordExpireOptionsContext)
// EnterDropUser is called when entering the dropUser production.
EnterDropUser(c *DropUserContext)
// EnterGrant is called when entering the grant production.
EnterGrant(c *GrantContext)
// EnterGrantTargetList is called when entering the grantTargetList production.
EnterGrantTargetList(c *GrantTargetListContext)
// EnterGrantOptions is called when entering the grantOptions production.
EnterGrantOptions(c *GrantOptionsContext)
// EnterExceptRoleList is called when entering the exceptRoleList production.
EnterExceptRoleList(c *ExceptRoleListContext)
// EnterWithRoles is called when entering the withRoles production.
EnterWithRoles(c *WithRolesContext)
// EnterGrantAs is called when entering the grantAs production.
EnterGrantAs(c *GrantAsContext)
// EnterVersionedRequireClause is called when entering the versionedRequireClause production.
EnterVersionedRequireClause(c *VersionedRequireClauseContext)
// EnterRenameUser is called when entering the renameUser production.
EnterRenameUser(c *RenameUserContext)
// EnterRevoke is called when entering the revoke production.
EnterRevoke(c *RevokeContext)
// EnterOnTypeTo is called when entering the onTypeTo production.
EnterOnTypeTo(c *OnTypeToContext)
// EnterAclType is called when entering the aclType production.
EnterAclType(c *AclTypeContext)
// EnterRoleOrPrivilegesList is called when entering the roleOrPrivilegesList production.
EnterRoleOrPrivilegesList(c *RoleOrPrivilegesListContext)
// EnterRoleOrPrivilege is called when entering the roleOrPrivilege production.
EnterRoleOrPrivilege(c *RoleOrPrivilegeContext)
// EnterGrantIdentifier is called when entering the grantIdentifier production.
EnterGrantIdentifier(c *GrantIdentifierContext)
// EnterRequireList is called when entering the requireList production.
EnterRequireList(c *RequireListContext)
// EnterRequireListElement is called when entering the requireListElement production.
EnterRequireListElement(c *RequireListElementContext)
// EnterGrantOption is called when entering the grantOption production.
EnterGrantOption(c *GrantOptionContext)
// EnterSetRole is called when entering the setRole production.
EnterSetRole(c *SetRoleContext)
// EnterRoleList is called when entering the roleList production.
EnterRoleList(c *RoleListContext)
// EnterRole is called when entering the role production.
EnterRole(c *RoleContext)
// EnterTableAdministrationStatement is called when entering the tableAdministrationStatement production.
EnterTableAdministrationStatement(c *TableAdministrationStatementContext)
// EnterHistogram is called when entering the histogram production.
EnterHistogram(c *HistogramContext)
// EnterCheckOption is called when entering the checkOption production.
EnterCheckOption(c *CheckOptionContext)
// EnterRepairType is called when entering the repairType production.
EnterRepairType(c *RepairTypeContext)
// EnterInstallUninstallStatment is called when entering the installUninstallStatment production.
EnterInstallUninstallStatment(c *InstallUninstallStatmentContext)
// EnterSetStatement is called when entering the setStatement production.
EnterSetStatement(c *SetStatementContext)
// EnterStartOptionValueList is called when entering the startOptionValueList production.
EnterStartOptionValueList(c *StartOptionValueListContext)
// EnterTransactionCharacteristics is called when entering the transactionCharacteristics production.
EnterTransactionCharacteristics(c *TransactionCharacteristicsContext)
// EnterTransactionAccessMode is called when entering the transactionAccessMode production.
EnterTransactionAccessMode(c *TransactionAccessModeContext)
// EnterIsolationLevel is called when entering the isolationLevel production.
EnterIsolationLevel(c *IsolationLevelContext)
// EnterOptionValueListContinued is called when entering the optionValueListContinued production.
EnterOptionValueListContinued(c *OptionValueListContinuedContext)
// EnterOptionValueNoOptionType is called when entering the optionValueNoOptionType production.
EnterOptionValueNoOptionType(c *OptionValueNoOptionTypeContext)
// EnterOptionValue is called when entering the optionValue production.
EnterOptionValue(c *OptionValueContext)
// EnterSetSystemVariable is called when entering the setSystemVariable production.
EnterSetSystemVariable(c *SetSystemVariableContext)
// EnterStartOptionValueListFollowingOptionType is called when entering the startOptionValueListFollowingOptionType production.
EnterStartOptionValueListFollowingOptionType(c *StartOptionValueListFollowingOptionTypeContext)
// EnterOptionValueFollowingOptionType is called when entering the optionValueFollowingOptionType production.
EnterOptionValueFollowingOptionType(c *OptionValueFollowingOptionTypeContext)
// EnterSetExprOrDefault is called when entering the setExprOrDefault production.
EnterSetExprOrDefault(c *SetExprOrDefaultContext)
// EnterShowStatement is called when entering the showStatement production.
EnterShowStatement(c *ShowStatementContext)
// EnterShowCommandType is called when entering the showCommandType production.
EnterShowCommandType(c *ShowCommandTypeContext)
// EnterNonBlocking is called when entering the nonBlocking production.
EnterNonBlocking(c *NonBlockingContext)
// EnterFromOrIn is called when entering the fromOrIn production.
EnterFromOrIn(c *FromOrInContext)
// EnterInDb is called when entering the inDb production.
EnterInDb(c *InDbContext)
// EnterProfileType is called when entering the profileType production.
EnterProfileType(c *ProfileTypeContext)
// EnterResourceGroupManagement is called when entering the resourceGroupManagement production.
EnterResourceGroupManagement(c *ResourceGroupManagementContext)
// EnterCreateResourceGroup is called when entering the createResourceGroup production.
EnterCreateResourceGroup(c *CreateResourceGroupContext)
// EnterResourceGroupVcpuList is called when entering the resourceGroupVcpuList production.
EnterResourceGroupVcpuList(c *ResourceGroupVcpuListContext)
// EnterVcpuNumOrRange is called when entering the vcpuNumOrRange production.
EnterVcpuNumOrRange(c *VcpuNumOrRangeContext)
// EnterResourceGroupPriority is called when entering the resourceGroupPriority production.
EnterResourceGroupPriority(c *ResourceGroupPriorityContext)
// EnterResourceGroupEnableDisable is called when entering the resourceGroupEnableDisable production.
EnterResourceGroupEnableDisable(c *ResourceGroupEnableDisableContext)
// EnterAlterResourceGroup is called when entering the alterResourceGroup production.
EnterAlterResourceGroup(c *AlterResourceGroupContext)
// EnterSetResourceGroup is called when entering the setResourceGroup production.
EnterSetResourceGroup(c *SetResourceGroupContext)
// EnterThreadIdList is called when entering the threadIdList production.
EnterThreadIdList(c *ThreadIdListContext)
// EnterDropResourceGroup is called when entering the dropResourceGroup production.
EnterDropResourceGroup(c *DropResourceGroupContext)
// EnterExprOr is called when entering the exprOr production.
EnterExprOr(c *ExprOrContext)
// EnterExprNot is called when entering the exprNot production.
EnterExprNot(c *ExprNotContext)
// EnterExprIs is called when entering the exprIs production.
EnterExprIs(c *ExprIsContext)
// EnterExprAnd is called when entering the exprAnd production.
EnterExprAnd(c *ExprAndContext)
// EnterExprXor is called when entering the exprXor production.
EnterExprXor(c *ExprXorContext)
// EnterPrimaryExprPredicate is called when entering the primaryExprPredicate production.
EnterPrimaryExprPredicate(c *PrimaryExprPredicateContext)
// EnterPrimaryExprCompare is called when entering the primaryExprCompare production.
EnterPrimaryExprCompare(c *PrimaryExprCompareContext)
// EnterPrimaryExprAllAny is called when entering the primaryExprAllAny production.
EnterPrimaryExprAllAny(c *PrimaryExprAllAnyContext)
// EnterPrimaryExprIsNull is called when entering the primaryExprIsNull production.
EnterPrimaryExprIsNull(c *PrimaryExprIsNullContext)
// EnterCompOp is called when entering the compOp production.
EnterCompOp(c *CompOpContext)
// EnterPredicate is called when entering the predicate production.
EnterPredicate(c *PredicateContext)
// EnterPredicateExprIn is called when entering the predicateExprIn production.
EnterPredicateExprIn(c *PredicateExprInContext)
// EnterPredicateExprBetween is called when entering the predicateExprBetween production.
EnterPredicateExprBetween(c *PredicateExprBetweenContext)
// EnterPredicateExprLike is called when entering the predicateExprLike production.
EnterPredicateExprLike(c *PredicateExprLikeContext)
// EnterPredicateExprRegex is called when entering the predicateExprRegex production.
EnterPredicateExprRegex(c *PredicateExprRegexContext)
// EnterBitExpr is called when entering the bitExpr production.
EnterBitExpr(c *BitExprContext)
// EnterSimpleExprConvert is called when entering the simpleExprConvert production.
EnterSimpleExprConvert(c *SimpleExprConvertContext)
// EnterSimpleExprSearchJson is called when entering the simpleExprSearchJson production.
EnterSimpleExprSearchJson(c *SimpleExprSearchJsonContext)
// EnterSimpleExprVariable is called when entering the simpleExprVariable production.
EnterSimpleExprVariable(c *SimpleExprVariableContext)
// EnterSimpleExprCast is called when entering the simpleExprCast production.
EnterSimpleExprCast(c *SimpleExprCastContext)
// EnterSimpleExprUnary is called when entering the simpleExprUnary production.
EnterSimpleExprUnary(c *SimpleExprUnaryContext)
// EnterSimpleExprOdbc is called when entering the simpleExprOdbc production.
EnterSimpleExprOdbc(c *SimpleExprOdbcContext)
// EnterSimpleExprRuntimeFunction is called when entering the simpleExprRuntimeFunction production.
EnterSimpleExprRuntimeFunction(c *SimpleExprRuntimeFunctionContext)
// EnterSimpleExprFunction is called when entering the simpleExprFunction production.
EnterSimpleExprFunction(c *SimpleExprFunctionContext)
// EnterSimpleExprCollate is called when entering the simpleExprCollate production.
EnterSimpleExprCollate(c *SimpleExprCollateContext)
// EnterSimpleExprMatch is called when entering the simpleExprMatch production.
EnterSimpleExprMatch(c *SimpleExprMatchContext)
// EnterSimpleExprWindowingFunction is called when entering the simpleExprWindowingFunction production.
EnterSimpleExprWindowingFunction(c *SimpleExprWindowingFunctionContext)
// EnterSimpleExprBinary is called when entering the simpleExprBinary production.
EnterSimpleExprBinary(c *SimpleExprBinaryContext)
// EnterSimpleExprColumnRef is called when entering the simpleExprColumnRef production.
EnterSimpleExprColumnRef(c *SimpleExprColumnRefContext)
// EnterSimpleExprParamMarker is called when entering the simpleExprParamMarker production.
EnterSimpleExprParamMarker(c *SimpleExprParamMarkerContext)
// EnterSimpleExprSum is called when entering the simpleExprSum production.
EnterSimpleExprSum(c *SimpleExprSumContext)
// EnterSimpleExprConvertUsing is called when entering the simpleExprConvertUsing production.
EnterSimpleExprConvertUsing(c *SimpleExprConvertUsingContext)
// EnterSimpleExprSubQuery is called when entering the simpleExprSubQuery production.
EnterSimpleExprSubQuery(c *SimpleExprSubQueryContext)
// EnterSimpleExprGroupingOperation is called when entering the simpleExprGroupingOperation production.
EnterSimpleExprGroupingOperation(c *SimpleExprGroupingOperationContext)
// EnterSimpleExprNot is called when entering the simpleExprNot production.
EnterSimpleExprNot(c *SimpleExprNotContext)
// EnterSimpleExprValues is called when entering the simpleExprValues production.
EnterSimpleExprValues(c *SimpleExprValuesContext)
// EnterSimpleExprDefault is called when entering the simpleExprDefault production.
EnterSimpleExprDefault(c *SimpleExprDefaultContext)
// EnterSimpleExprList is called when entering the simpleExprList production.
EnterSimpleExprList(c *SimpleExprListContext)
// EnterSimpleExprInterval is called when entering the simpleExprInterval production.
EnterSimpleExprInterval(c *SimpleExprIntervalContext)
// EnterSimpleExprCase is called when entering the simpleExprCase production.
EnterSimpleExprCase(c *SimpleExprCaseContext)
// EnterSimpleExprConcat is called when entering the simpleExprConcat production.
EnterSimpleExprConcat(c *SimpleExprConcatContext)
// EnterSimpleExprLiteral is called when entering the simpleExprLiteral production.
EnterSimpleExprLiteral(c *SimpleExprLiteralContext)
// EnterArrayCast is called when entering the arrayCast production.
EnterArrayCast(c *ArrayCastContext)
// EnterJsonOperator is called when entering the jsonOperator production.
EnterJsonOperator(c *JsonOperatorContext)
// EnterSumExpr is called when entering the sumExpr production.
EnterSumExpr(c *SumExprContext)
// EnterGroupingOperation is called when entering the groupingOperation production.
EnterGroupingOperation(c *GroupingOperationContext)
// EnterWindowFunctionCall is called when entering the windowFunctionCall production.
EnterWindowFunctionCall(c *WindowFunctionCallContext)
// EnterWindowingClause is called when entering the windowingClause production.
EnterWindowingClause(c *WindowingClauseContext)
// EnterLeadLagInfo is called when entering the leadLagInfo production.
EnterLeadLagInfo(c *LeadLagInfoContext)
// EnterNullTreatment is called when entering the nullTreatment production.
EnterNullTreatment(c *NullTreatmentContext)
// EnterJsonFunction is called when entering the jsonFunction production.
EnterJsonFunction(c *JsonFunctionContext)
// EnterInSumExpr is called when entering the inSumExpr production.
EnterInSumExpr(c *InSumExprContext)
// EnterIdentListArg is called when entering the identListArg production.
EnterIdentListArg(c *IdentListArgContext)
// EnterIdentList is called when entering the identList production.
EnterIdentList(c *IdentListContext)
// EnterFulltextOptions is called when entering the fulltextOptions production.
EnterFulltextOptions(c *FulltextOptionsContext)
// EnterRuntimeFunctionCall is called when entering the runtimeFunctionCall production.
EnterRuntimeFunctionCall(c *RuntimeFunctionCallContext)
// EnterGeometryFunction is called when entering the geometryFunction production.
EnterGeometryFunction(c *GeometryFunctionContext)
// EnterTimeFunctionParameters is called when entering the timeFunctionParameters production.
EnterTimeFunctionParameters(c *TimeFunctionParametersContext)
// EnterFractionalPrecision is called when entering the fractionalPrecision production.
EnterFractionalPrecision(c *FractionalPrecisionContext)
// EnterWeightStringLevels is called when entering the weightStringLevels production.
EnterWeightStringLevels(c *WeightStringLevelsContext)
// EnterWeightStringLevelListItem is called when entering the weightStringLevelListItem production.
EnterWeightStringLevelListItem(c *WeightStringLevelListItemContext)
// EnterDateTimeTtype is called when entering the dateTimeTtype production.
EnterDateTimeTtype(c *DateTimeTtypeContext)
// EnterTrimFunction is called when entering the trimFunction production.
EnterTrimFunction(c *TrimFunctionContext)
// EnterSubstringFunction is called when entering the substringFunction production.
EnterSubstringFunction(c *SubstringFunctionContext)
// EnterFunctionCall is called when entering the functionCall production.
EnterFunctionCall(c *FunctionCallContext)
// EnterSearchJsonFunction is called when entering the searchJsonFunction production.
EnterSearchJsonFunction(c *SearchJsonFunctionContext)
// EnterJsonValueReturning is called when entering the jsonValueReturning production.
EnterJsonValueReturning(c *JsonValueReturningContext)
// EnterJsonValueOnEmpty is called when entering the jsonValueOnEmpty production.
EnterJsonValueOnEmpty(c *JsonValueOnEmptyContext)
// EnterJsonValueOnError is called when entering the jsonValueOnError production.
EnterJsonValueOnError(c *JsonValueOnErrorContext)
// EnterUdfExprList is called when entering the udfExprList production.
EnterUdfExprList(c *UdfExprListContext)
// EnterUdfExpr is called when entering the udfExpr production.
EnterUdfExpr(c *UdfExprContext)
// EnterVariable is called when entering the variable production.
EnterVariable(c *VariableContext)
// EnterUserVariable is called when entering the userVariable production.
EnterUserVariable(c *UserVariableContext)
// EnterSystemVariable is called when entering the systemVariable production.
EnterSystemVariable(c *SystemVariableContext)
// EnterInternalVariableName is called when entering the internalVariableName production.
EnterInternalVariableName(c *InternalVariableNameContext)
// EnterWhenExpression is called when entering the whenExpression production.
EnterWhenExpression(c *WhenExpressionContext)
// EnterThenExpression is called when entering the thenExpression production.
EnterThenExpression(c *ThenExpressionContext)
// EnterElseExpression is called when entering the elseExpression production.
EnterElseExpression(c *ElseExpressionContext)
// EnterCastType is called when entering the castType production.
EnterCastType(c *CastTypeContext)
// EnterExprList is called when entering the exprList production.
EnterExprList(c *ExprListContext)
// EnterCharset is called when entering the charset production.
EnterCharset(c *CharsetContext)
// EnterNotRule is called when entering the notRule production.
EnterNotRule(c *NotRuleContext)
// EnterNot2Rule is called when entering the not2Rule production.
EnterNot2Rule(c *Not2RuleContext)
// EnterInterval is called when entering the interval production.
EnterInterval(c *IntervalContext)
// EnterIntervalTimeStamp is called when entering the intervalTimeStamp production.
EnterIntervalTimeStamp(c *IntervalTimeStampContext)
// EnterExprListWithParentheses is called when entering the exprListWithParentheses production.
EnterExprListWithParentheses(c *ExprListWithParenthesesContext)
// EnterExprWithParentheses is called when entering the exprWithParentheses production.
EnterExprWithParentheses(c *ExprWithParenthesesContext)
// EnterSimpleExprWithParentheses is called when entering the simpleExprWithParentheses production.
EnterSimpleExprWithParentheses(c *SimpleExprWithParenthesesContext)
// EnterOrderList is called when entering the orderList production.
EnterOrderList(c *OrderListContext)
// EnterOrderExpression is called when entering the orderExpression production.
EnterOrderExpression(c *OrderExpressionContext)
// EnterGroupList is called when entering the groupList production.
EnterGroupList(c *GroupListContext)
// EnterGroupingExpression is called when entering the groupingExpression production.
EnterGroupingExpression(c *GroupingExpressionContext)
// EnterChannel is called when entering the channel production.
EnterChannel(c *ChannelContext)
// EnterColumnFormat is called when entering the columnFormat production.
EnterColumnFormat(c *ColumnFormatContext)
// EnterStorageMedia is called when entering the storageMedia production.
EnterStorageMedia(c *StorageMediaContext)
// EnterGcolAttribute is called when entering the gcolAttribute production.
EnterGcolAttribute(c *GcolAttributeContext)
// EnterReferences is called when entering the references production.
EnterReferences(c *ReferencesContext)
// EnterDeleteOption is called when entering the deleteOption production.
EnterDeleteOption(c *DeleteOptionContext)
// EnterKeyList is called when entering the keyList production.
EnterKeyList(c *KeyListContext)
// EnterKeyPart is called when entering the keyPart production.
EnterKeyPart(c *KeyPartContext)
// EnterKeyListWithExpression is called when entering the keyListWithExpression production.
EnterKeyListWithExpression(c *KeyListWithExpressionContext)
// EnterKeyPartOrExpression is called when entering the keyPartOrExpression production.
EnterKeyPartOrExpression(c *KeyPartOrExpressionContext)
// EnterKeyListVariants is called when entering the keyListVariants production.
EnterKeyListVariants(c *KeyListVariantsContext)
// EnterIndexType is called when entering the indexType production.
EnterIndexType(c *IndexTypeContext)
// EnterCommonIndexOption is called when entering the commonIndexOption production.
EnterCommonIndexOption(c *CommonIndexOptionContext)
// EnterVisibility is called when entering the visibility production.
EnterVisibility(c *VisibilityContext)
// EnterIndexTypeClause is called when entering the indexTypeClause production.
EnterIndexTypeClause(c *IndexTypeClauseContext)
// EnterFulltextIndexOption is called when entering the fulltextIndexOption production.
EnterFulltextIndexOption(c *FulltextIndexOptionContext)
// EnterSpatialIndexOption is called when entering the spatialIndexOption production.
EnterSpatialIndexOption(c *SpatialIndexOptionContext)
// EnterDataTypeDefinition is called when entering the dataTypeDefinition production.
EnterDataTypeDefinition(c *DataTypeDefinitionContext)
// EnterDataType is called when entering the dataType production.
EnterDataType(c *DataTypeContext)
// EnterNchar is called when entering the nchar production.
EnterNchar(c *NcharContext)
// EnterRealType is called when entering the realType production.
EnterRealType(c *RealTypeContext)
// EnterAutoRandomFieldLength is called when entering the autoRandomFieldLength production.
EnterAutoRandomFieldLength(c *AutoRandomFieldLengthContext)
// EnterFieldLength is called when entering the fieldLength production.
EnterFieldLength(c *FieldLengthContext)
// EnterFieldOptions is called when entering the fieldOptions production.
EnterFieldOptions(c *FieldOptionsContext)
// EnterCharsetWithOptBinary is called when entering the charsetWithOptBinary production.
EnterCharsetWithOptBinary(c *CharsetWithOptBinaryContext)
// EnterAscii is called when entering the ascii production.
EnterAscii(c *AsciiContext)
// EnterUnicode is called when entering the unicode production.