dt-sql-parser 4.1.2-beta.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +51 -0
  2. package/dist/lib/flink/FlinkSqlLexer.d.ts +5 -5
  3. package/dist/lib/flink/FlinkSqlLexer.js +1991 -1992
  4. package/dist/lib/flink/FlinkSqlParser.d.ts +240 -230
  5. package/dist/lib/flink/FlinkSqlParser.js +3036 -2978
  6. package/dist/lib/flink/FlinkSqlParserListener.d.ts +81 -70
  7. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +49 -42
  8. package/dist/lib/hive/HiveSqlParser.d.ts +251 -231
  9. package/dist/lib/hive/HiveSqlParser.js +6264 -5674
  10. package/dist/lib/hive/HiveSqlParserListener.d.ts +32 -10
  11. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +20 -6
  12. package/dist/lib/impala/ImpalaSqlLexer.d.ts +2 -2
  13. package/dist/lib/impala/ImpalaSqlLexer.js +587 -588
  14. package/dist/lib/impala/ImpalaSqlParser.d.ts +151 -113
  15. package/dist/lib/impala/ImpalaSqlParser.js +3464 -3250
  16. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +49 -5
  17. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +31 -3
  18. package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
  19. package/dist/lib/mysql/MySqlLexer.js +3515 -3516
  20. package/dist/lib/mysql/MySqlParser.d.ts +138 -138
  21. package/dist/lib/mysql/MySqlParser.js +511 -511
  22. package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
  23. package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
  24. package/dist/lib/postgresql/PostgreSqlLexer.d.ts +14 -15
  25. package/dist/lib/postgresql/PostgreSqlLexer.js +2077 -2092
  26. package/dist/lib/postgresql/PostgreSqlParser.d.ts +2860 -2980
  27. package/dist/lib/postgresql/PostgreSqlParser.js +20155 -20660
  28. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2110 -2181
  29. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1261 -1301
  30. package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
  31. package/dist/lib/spark/SparkSqlLexer.js +949 -950
  32. package/dist/lib/spark/SparkSqlParser.d.ts +413 -645
  33. package/dist/lib/spark/SparkSqlParser.js +6840 -8200
  34. package/dist/lib/spark/SparkSqlParserListener.d.ts +68 -356
  35. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +42 -225
  36. package/dist/lib/trino/TrinoSqlLexer.d.ts +2 -2
  37. package/dist/lib/trino/TrinoSqlLexer.js +319 -321
  38. package/dist/lib/trino/TrinoSqlListener.d.ts +67 -23
  39. package/dist/lib/trino/TrinoSqlParser.d.ts +210 -181
  40. package/dist/lib/trino/TrinoSqlParser.js +4854 -4695
  41. package/dist/lib/trino/TrinoSqlVisitor.d.ts +42 -14
  42. package/dist/parser/common/basicSQL.d.ts +43 -9
  43. package/dist/parser/common/basicSQL.js +147 -40
  44. package/dist/parser/common/semanticContextCollector.d.ts +50 -0
  45. package/dist/parser/common/semanticContextCollector.js +202 -0
  46. package/dist/parser/common/tokenUtils.d.ts +12 -0
  47. package/dist/parser/common/tokenUtils.js +38 -0
  48. package/dist/parser/common/types.d.ts +25 -0
  49. package/dist/parser/common/types.js +7 -0
  50. package/dist/parser/flink/flinkErrorListener.js +14 -2
  51. package/dist/parser/flink/flinkSemanticContextCollector.d.ts +9 -0
  52. package/dist/parser/flink/flinkSemanticContextCollector.js +14 -0
  53. package/dist/parser/flink/index.d.ts +4 -2
  54. package/dist/parser/flink/index.js +22 -14
  55. package/dist/parser/hive/hiveErrorListener.js +9 -3
  56. package/dist/parser/hive/hiveSemanticContextCollector.d.ts +9 -0
  57. package/dist/parser/hive/hiveSemanticContextCollector.js +14 -0
  58. package/dist/parser/hive/index.d.ts +4 -2
  59. package/dist/parser/hive/index.js +29 -14
  60. package/dist/parser/impala/ImpalaErrorListener.js +8 -2
  61. package/dist/parser/impala/impalaSemanticContextCollector.d.ts +9 -0
  62. package/dist/parser/impala/impalaSemanticContextCollector.js +14 -0
  63. package/dist/parser/impala/index.d.ts +4 -2
  64. package/dist/parser/impala/index.js +21 -14
  65. package/dist/parser/mysql/index.d.ts +4 -2
  66. package/dist/parser/mysql/index.js +10 -14
  67. package/dist/parser/mysql/mysqlErrorListener.js +6 -2
  68. package/dist/parser/mysql/mysqlSemanticContextCollector.d.ts +9 -0
  69. package/dist/parser/mysql/mysqlSemanticContextCollector.js +14 -0
  70. package/dist/parser/postgresql/index.d.ts +4 -2
  71. package/dist/parser/postgresql/index.js +51 -42
  72. package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
  73. package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
  74. package/dist/parser/postgresql/postgreErrorListener.js +36 -30
  75. package/dist/parser/postgresql/postgreSemanticContextCollector.d.ts +9 -0
  76. package/dist/parser/postgresql/postgreSemanticContextCollector.js +14 -0
  77. package/dist/parser/spark/index.d.ts +4 -2
  78. package/dist/parser/spark/index.js +26 -14
  79. package/dist/parser/spark/sparkErrorListener.js +9 -3
  80. package/dist/parser/spark/sparkSemanticContextCollector.d.ts +9 -0
  81. package/dist/parser/spark/sparkSemanticContextCollector.js +14 -0
  82. package/dist/parser/trino/index.d.ts +4 -2
  83. package/dist/parser/trino/index.js +22 -14
  84. package/dist/parser/trino/trinoErrorListener.js +9 -3
  85. package/dist/parser/trino/trinoSemanticContextCollector.d.ts +9 -0
  86. package/dist/parser/trino/trinoSemanticContextCollector.js +14 -0
  87. package/package.json +2 -1
@@ -14,7 +14,7 @@ import { UtilityStatementContext } from "./MySqlParser.js";
14
14
  import { CreateDatabaseContext } from "./MySqlParser.js";
15
15
  import { CreateEventContext } from "./MySqlParser.js";
16
16
  import { CreateIndexContext } from "./MySqlParser.js";
17
- import { CreateLogfileGroupContext } from "./MySqlParser.js";
17
+ import { CreateLogFileGroupContext } from "./MySqlParser.js";
18
18
  import { CreateProcedureContext } from "./MySqlParser.js";
19
19
  import { CreateFunctionContext } from "./MySqlParser.js";
20
20
  import { CreateFunctionLoadableContext } from "./MySqlParser.js";
@@ -23,8 +23,8 @@ import { CreateServerContext } from "./MySqlParser.js";
23
23
  import { QueryCreateTableContext } from "./MySqlParser.js";
24
24
  import { CopyCreateTableContext } from "./MySqlParser.js";
25
25
  import { ColumnCreateTableContext } from "./MySqlParser.js";
26
- import { CreateTablespaceInnodbContext } from "./MySqlParser.js";
27
- import { CreateTablespaceNdbContext } from "./MySqlParser.js";
26
+ import { CreateTableSpaceInnoDBContext } from "./MySqlParser.js";
27
+ import { CreateTableSpaceNDBContext } from "./MySqlParser.js";
28
28
  import { CreateTriggerContext } from "./MySqlParser.js";
29
29
  import { WithClauseContext } from "./MySqlParser.js";
30
30
  import { CommonTableExpressionsContext } from "./MySqlParser.js";
@@ -74,7 +74,7 @@ import { ReferenceActionContext } from "./MySqlParser.js";
74
74
  import { ReferenceControlTypeContext } from "./MySqlParser.js";
75
75
  import { TableOptionEngineContext } from "./MySqlParser.js";
76
76
  import { TableOptionEngineAttributeContext } from "./MySqlParser.js";
77
- import { TableOptionAutoextendSizeContext } from "./MySqlParser.js";
77
+ import { TableOptionAutoExtendSizeContext } from "./MySqlParser.js";
78
78
  import { TableOptionAutoIncrementContext } from "./MySqlParser.js";
79
79
  import { TableOptionAverageContext } from "./MySqlParser.js";
80
80
  import { TableOptionCharsetContext } from "./MySqlParser.js";
@@ -102,12 +102,12 @@ import { TableOptionSecondaryEngineAttributeContext } from "./MySqlParser.js";
102
102
  import { TableOptionRecalculationContext } from "./MySqlParser.js";
103
103
  import { TableOptionPersistentContext } from "./MySqlParser.js";
104
104
  import { TableOptionSamplePageContext } from "./MySqlParser.js";
105
- import { TableOptionTablespaceContext } from "./MySqlParser.js";
105
+ import { TableOptionTableSpaceContext } from "./MySqlParser.js";
106
106
  import { TableOptionTableTypeContext } from "./MySqlParser.js";
107
107
  import { TableOptionTransactionalContext } from "./MySqlParser.js";
108
108
  import { TableOptionUnionContext } from "./MySqlParser.js";
109
109
  import { TableTypeContext } from "./MySqlParser.js";
110
- import { TablespaceStorageContext } from "./MySqlParser.js";
110
+ import { TableSpaceStorageContext } from "./MySqlParser.js";
111
111
  import { PartitionDefinitionsContext } from "./MySqlParser.js";
112
112
  import { PartitionFunctionHashContext } from "./MySqlParser.js";
113
113
  import { PartitionFunctionKeyContext } from "./MySqlParser.js";
@@ -121,25 +121,25 @@ import { PartitionListVectorContext } from "./MySqlParser.js";
121
121
  import { PartitionSimpleContext } from "./MySqlParser.js";
122
122
  import { PartitionDefinerAtomContext } from "./MySqlParser.js";
123
123
  import { PartitionDefinerVectorContext } from "./MySqlParser.js";
124
- import { SubpartitionDefinitionContext } from "./MySqlParser.js";
124
+ import { SubPartitionDefinitionContext } from "./MySqlParser.js";
125
125
  import { PartitionOptionEngineContext } from "./MySqlParser.js";
126
126
  import { PartitionOptionCommentContext } from "./MySqlParser.js";
127
127
  import { PartitionOptionDataDirectoryContext } from "./MySqlParser.js";
128
128
  import { PartitionOptionIndexDirectoryContext } from "./MySqlParser.js";
129
129
  import { PartitionOptionMaxRowsContext } from "./MySqlParser.js";
130
130
  import { PartitionOptionMinRowsContext } from "./MySqlParser.js";
131
- import { PartitionOptionTablespaceContext } from "./MySqlParser.js";
131
+ import { PartitionOptionTableSpaceContext } from "./MySqlParser.js";
132
132
  import { PartitionOptionNodeGroupContext } from "./MySqlParser.js";
133
133
  import { AlterSimpleDatabaseContext } from "./MySqlParser.js";
134
134
  import { AlterUpgradeNameContext } from "./MySqlParser.js";
135
135
  import { AlterEventContext } from "./MySqlParser.js";
136
136
  import { AlterFunctionContext } from "./MySqlParser.js";
137
137
  import { AlterInstanceContext } from "./MySqlParser.js";
138
- import { AlterLogfileGroupContext } from "./MySqlParser.js";
138
+ import { AlterLogFileGroupContext } from "./MySqlParser.js";
139
139
  import { AlterProcedureContext } from "./MySqlParser.js";
140
140
  import { AlterServerContext } from "./MySqlParser.js";
141
141
  import { AlterTableContext } from "./MySqlParser.js";
142
- import { AlterTablespaceContext } from "./MySqlParser.js";
142
+ import { AlterTableSpaceContext } from "./MySqlParser.js";
143
143
  import { AlterViewContext } from "./MySqlParser.js";
144
144
  import { AlterByTableOptionContext } from "./MySqlParser.js";
145
145
  import { AlterByAddColumnContext } from "./MySqlParser.js";
@@ -159,7 +159,7 @@ import { AlterByChangeColumnContext } from "./MySqlParser.js";
159
159
  import { AlterByDefaultCharsetContext } from "./MySqlParser.js";
160
160
  import { AlterByConvertCharsetContext } from "./MySqlParser.js";
161
161
  import { AlterKeysContext } from "./MySqlParser.js";
162
- import { AlterTablespaceOptionContext } from "./MySqlParser.js";
162
+ import { AlterTableSpaceOptionContext } from "./MySqlParser.js";
163
163
  import { AlterByDropColumnContext } from "./MySqlParser.js";
164
164
  import { AlterByDropIndexContext } from "./MySqlParser.js";
165
165
  import { AlterByDropPrimaryKeyContext } from "./MySqlParser.js";
@@ -191,13 +191,13 @@ import { AlterByUpgradePartitioningContext } from "./MySqlParser.js";
191
191
  import { DropDatabaseContext } from "./MySqlParser.js";
192
192
  import { DropEventContext } from "./MySqlParser.js";
193
193
  import { DropIndexContext } from "./MySqlParser.js";
194
- import { DropLogfileGroupContext } from "./MySqlParser.js";
194
+ import { DropLogFileGroupContext } from "./MySqlParser.js";
195
195
  import { DropProcedureContext } from "./MySqlParser.js";
196
196
  import { DropFunctionContext } from "./MySqlParser.js";
197
197
  import { DropServerContext } from "./MySqlParser.js";
198
198
  import { DropSpatialContext } from "./MySqlParser.js";
199
199
  import { DropTableContext } from "./MySqlParser.js";
200
- import { DropTablespaceContext } from "./MySqlParser.js";
200
+ import { DropTableSpaceContext } from "./MySqlParser.js";
201
201
  import { DropTriggerContext } from "./MySqlParser.js";
202
202
  import { DropViewContext } from "./MySqlParser.js";
203
203
  import { DropRoleContext } from "./MySqlParser.js";
@@ -291,7 +291,7 @@ import { StartTransactionContext } from "./MySqlParser.js";
291
291
  import { BeginWorkContext } from "./MySqlParser.js";
292
292
  import { CommitWorkContext } from "./MySqlParser.js";
293
293
  import { RollbackWorkContext } from "./MySqlParser.js";
294
- import { SavepointStatementContext } from "./MySqlParser.js";
294
+ import { SavePointStatementContext } from "./MySqlParser.js";
295
295
  import { RollbackStatementContext } from "./MySqlParser.js";
296
296
  import { ReleaseStatementContext } from "./MySqlParser.js";
297
297
  import { LockTablesContext } from "./MySqlParser.js";
@@ -383,7 +383,7 @@ import { HandlerConditionNotfoundContext } from "./MySqlParser.js";
383
383
  import { HandlerConditionExceptionContext } from "./MySqlParser.js";
384
384
  import { ProcedureSqlStatementContext } from "./MySqlParser.js";
385
385
  import { CaseAlternativeContext } from "./MySqlParser.js";
386
- import { ElifAlternativeContext } from "./MySqlParser.js";
386
+ import { ElseIfAlternativeContext } from "./MySqlParser.js";
387
387
  import { AlterUserContext } from "./MySqlParser.js";
388
388
  import { CreateUserContext } from "./MySqlParser.js";
389
389
  import { DropUserContext } from "./MySqlParser.js";
@@ -394,7 +394,7 @@ import { AlterResourceGroupContext } from "./MySqlParser.js";
394
394
  import { CreateResourceGroupContext } from "./MySqlParser.js";
395
395
  import { DropResourceGroupContext } from "./MySqlParser.js";
396
396
  import { SetResourceGroupContext } from "./MySqlParser.js";
397
- import { ResourceGroupVcpuSpecContext } from "./MySqlParser.js";
397
+ import { ResourceGroupVCpuSpecContext } from "./MySqlParser.js";
398
398
  import { RenameUserContext } from "./MySqlParser.js";
399
399
  import { DetailRevokeContext } from "./MySqlParser.js";
400
400
  import { ShortRevokeContext } from "./MySqlParser.js";
@@ -422,7 +422,7 @@ import { UserLockOptionContext } from "./MySqlParser.js";
422
422
  import { FactorAuthOptionContext } from "./MySqlParser.js";
423
423
  import { RegistrationOptionContext } from "./MySqlParser.js";
424
424
  import { FactorContext } from "./MySqlParser.js";
425
- import { PrivelegeClauseContext } from "./MySqlParser.js";
425
+ import { PrivilegeClauseContext } from "./MySqlParser.js";
426
426
  import { PrivilegeContext } from "./MySqlParser.js";
427
427
  import { CurrentSchemaPriviLevelContext } from "./MySqlParser.js";
428
428
  import { GlobalPrivLevelContext } from "./MySqlParser.js";
@@ -480,7 +480,7 @@ import { ShowFilterContext } from "./MySqlParser.js";
480
480
  import { ShowGlobalInfoClauseContext } from "./MySqlParser.js";
481
481
  import { ShowSchemaEntityContext } from "./MySqlParser.js";
482
482
  import { ShowProfileTypeContext } from "./MySqlParser.js";
483
- import { BinlogStatementContext } from "./MySqlParser.js";
483
+ import { BinLogStatementContext } from "./MySqlParser.js";
484
484
  import { CacheIndexStatementContext } from "./MySqlParser.js";
485
485
  import { FlushStatementContext } from "./MySqlParser.js";
486
486
  import { KillStatementContext } from "./MySqlParser.js";
@@ -530,8 +530,8 @@ import { UserOrRoleNameContext } from "./MySqlParser.js";
530
530
  import { ColumnNameCreateContext } from "./MySqlParser.js";
531
531
  import { ColumnNamesContext } from "./MySqlParser.js";
532
532
  import { ColumnNameContext } from "./MySqlParser.js";
533
- import { TablespaceNameCreateContext } from "./MySqlParser.js";
534
- import { TablespaceNameContext } from "./MySqlParser.js";
533
+ import { TableSpaceNameCreateContext } from "./MySqlParser.js";
534
+ import { TableSpaceNameContext } from "./MySqlParser.js";
535
535
  import { PartitionNameCreateContext } from "./MySqlParser.js";
536
536
  import { PartitionNamesContext } from "./MySqlParser.js";
537
537
  import { PartitionNameContext } from "./MySqlParser.js";
@@ -559,7 +559,7 @@ import { FileSizeLiteralContext } from "./MySqlParser.js";
559
559
  import { StringLiteralContext } from "./MySqlParser.js";
560
560
  import { BooleanLiteralContext } from "./MySqlParser.js";
561
561
  import { HexadecimalLiteralContext } from "./MySqlParser.js";
562
- import { NullNotnullContext } from "./MySqlParser.js";
562
+ import { NullNotNullContext } from "./MySqlParser.js";
563
563
  import { ConstantContext } from "./MySqlParser.js";
564
564
  import { StringDataTypeContext } from "./MySqlParser.js";
565
565
  import { NationalVaryingStringDataTypeContext } from "./MySqlParser.js";
@@ -826,15 +826,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
826
826
  */
827
827
  exitCreateIndex?: (ctx: CreateIndexContext) => void;
828
828
  /**
829
- * Enter a parse tree produced by `MySqlParser.createLogfileGroup`.
829
+ * Enter a parse tree produced by `MySqlParser.createLogFileGroup`.
830
830
  * @param ctx the parse tree
831
831
  */
832
- enterCreateLogfileGroup?: (ctx: CreateLogfileGroupContext) => void;
832
+ enterCreateLogFileGroup?: (ctx: CreateLogFileGroupContext) => void;
833
833
  /**
834
- * Exit a parse tree produced by `MySqlParser.createLogfileGroup`.
834
+ * Exit a parse tree produced by `MySqlParser.createLogFileGroup`.
835
835
  * @param ctx the parse tree
836
836
  */
837
- exitCreateLogfileGroup?: (ctx: CreateLogfileGroupContext) => void;
837
+ exitCreateLogFileGroup?: (ctx: CreateLogFileGroupContext) => void;
838
838
  /**
839
839
  * Enter a parse tree produced by `MySqlParser.createProcedure`.
840
840
  * @param ctx the parse tree
@@ -922,25 +922,25 @@ export declare class MySqlParserListener implements ParseTreeListener {
922
922
  */
923
923
  exitColumnCreateTable?: (ctx: ColumnCreateTableContext) => void;
924
924
  /**
925
- * Enter a parse tree produced by `MySqlParser.createTablespaceInnodb`.
925
+ * Enter a parse tree produced by `MySqlParser.createTableSpaceInnoDB`.
926
926
  * @param ctx the parse tree
927
927
  */
928
- enterCreateTablespaceInnodb?: (ctx: CreateTablespaceInnodbContext) => void;
928
+ enterCreateTableSpaceInnoDB?: (ctx: CreateTableSpaceInnoDBContext) => void;
929
929
  /**
930
- * Exit a parse tree produced by `MySqlParser.createTablespaceInnodb`.
930
+ * Exit a parse tree produced by `MySqlParser.createTableSpaceInnoDB`.
931
931
  * @param ctx the parse tree
932
932
  */
933
- exitCreateTablespaceInnodb?: (ctx: CreateTablespaceInnodbContext) => void;
933
+ exitCreateTableSpaceInnoDB?: (ctx: CreateTableSpaceInnoDBContext) => void;
934
934
  /**
935
- * Enter a parse tree produced by `MySqlParser.createTablespaceNdb`.
935
+ * Enter a parse tree produced by `MySqlParser.createTableSpaceNDB`.
936
936
  * @param ctx the parse tree
937
937
  */
938
- enterCreateTablespaceNdb?: (ctx: CreateTablespaceNdbContext) => void;
938
+ enterCreateTableSpaceNDB?: (ctx: CreateTableSpaceNDBContext) => void;
939
939
  /**
940
- * Exit a parse tree produced by `MySqlParser.createTablespaceNdb`.
940
+ * Exit a parse tree produced by `MySqlParser.createTableSpaceNDB`.
941
941
  * @param ctx the parse tree
942
942
  */
943
- exitCreateTablespaceNdb?: (ctx: CreateTablespaceNdbContext) => void;
943
+ exitCreateTableSpaceNDB?: (ctx: CreateTableSpaceNDBContext) => void;
944
944
  /**
945
945
  * Enter a parse tree produced by `MySqlParser.createTrigger`.
946
946
  * @param ctx the parse tree
@@ -1480,17 +1480,17 @@ export declare class MySqlParserListener implements ParseTreeListener {
1480
1480
  */
1481
1481
  exitTableOptionEngineAttribute?: (ctx: TableOptionEngineAttributeContext) => void;
1482
1482
  /**
1483
- * Enter a parse tree produced by the `tableOptionAutoextendSize`
1483
+ * Enter a parse tree produced by the `tableOptionAutoExtendSize`
1484
1484
  * labeled alternative in `MySqlParser.tableOption`.
1485
1485
  * @param ctx the parse tree
1486
1486
  */
1487
- enterTableOptionAutoextendSize?: (ctx: TableOptionAutoextendSizeContext) => void;
1487
+ enterTableOptionAutoExtendSize?: (ctx: TableOptionAutoExtendSizeContext) => void;
1488
1488
  /**
1489
- * Exit a parse tree produced by the `tableOptionAutoextendSize`
1489
+ * Exit a parse tree produced by the `tableOptionAutoExtendSize`
1490
1490
  * labeled alternative in `MySqlParser.tableOption`.
1491
1491
  * @param ctx the parse tree
1492
1492
  */
1493
- exitTableOptionAutoextendSize?: (ctx: TableOptionAutoextendSizeContext) => void;
1493
+ exitTableOptionAutoExtendSize?: (ctx: TableOptionAutoExtendSizeContext) => void;
1494
1494
  /**
1495
1495
  * Enter a parse tree produced by the `tableOptionAutoIncrement`
1496
1496
  * labeled alternative in `MySqlParser.tableOption`.
@@ -1816,17 +1816,17 @@ export declare class MySqlParserListener implements ParseTreeListener {
1816
1816
  */
1817
1817
  exitTableOptionSamplePage?: (ctx: TableOptionSamplePageContext) => void;
1818
1818
  /**
1819
- * Enter a parse tree produced by the `tableOptionTablespace`
1819
+ * Enter a parse tree produced by the `tableOptionTableSpace`
1820
1820
  * labeled alternative in `MySqlParser.tableOption`.
1821
1821
  * @param ctx the parse tree
1822
1822
  */
1823
- enterTableOptionTablespace?: (ctx: TableOptionTablespaceContext) => void;
1823
+ enterTableOptionTableSpace?: (ctx: TableOptionTableSpaceContext) => void;
1824
1824
  /**
1825
- * Exit a parse tree produced by the `tableOptionTablespace`
1825
+ * Exit a parse tree produced by the `tableOptionTableSpace`
1826
1826
  * labeled alternative in `MySqlParser.tableOption`.
1827
1827
  * @param ctx the parse tree
1828
1828
  */
1829
- exitTableOptionTablespace?: (ctx: TableOptionTablespaceContext) => void;
1829
+ exitTableOptionTableSpace?: (ctx: TableOptionTableSpaceContext) => void;
1830
1830
  /**
1831
1831
  * Enter a parse tree produced by the `tableOptionTableType`
1832
1832
  * labeled alternative in `MySqlParser.tableOption`.
@@ -1874,15 +1874,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
1874
1874
  */
1875
1875
  exitTableType?: (ctx: TableTypeContext) => void;
1876
1876
  /**
1877
- * Enter a parse tree produced by `MySqlParser.tablespaceStorage`.
1877
+ * Enter a parse tree produced by `MySqlParser.tableSpaceStorage`.
1878
1878
  * @param ctx the parse tree
1879
1879
  */
1880
- enterTablespaceStorage?: (ctx: TablespaceStorageContext) => void;
1880
+ enterTableSpaceStorage?: (ctx: TableSpaceStorageContext) => void;
1881
1881
  /**
1882
- * Exit a parse tree produced by `MySqlParser.tablespaceStorage`.
1882
+ * Exit a parse tree produced by `MySqlParser.tableSpaceStorage`.
1883
1883
  * @param ctx the parse tree
1884
1884
  */
1885
- exitTablespaceStorage?: (ctx: TablespaceStorageContext) => void;
1885
+ exitTableSpaceStorage?: (ctx: TableSpaceStorageContext) => void;
1886
1886
  /**
1887
1887
  * Enter a parse tree produced by `MySqlParser.partitionDefinitions`.
1888
1888
  * @param ctx the parse tree
@@ -2034,15 +2034,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
2034
2034
  */
2035
2035
  exitPartitionDefinerVector?: (ctx: PartitionDefinerVectorContext) => void;
2036
2036
  /**
2037
- * Enter a parse tree produced by `MySqlParser.subpartitionDefinition`.
2037
+ * Enter a parse tree produced by `MySqlParser.subPartitionDefinition`.
2038
2038
  * @param ctx the parse tree
2039
2039
  */
2040
- enterSubpartitionDefinition?: (ctx: SubpartitionDefinitionContext) => void;
2040
+ enterSubPartitionDefinition?: (ctx: SubPartitionDefinitionContext) => void;
2041
2041
  /**
2042
- * Exit a parse tree produced by `MySqlParser.subpartitionDefinition`.
2042
+ * Exit a parse tree produced by `MySqlParser.subPartitionDefinition`.
2043
2043
  * @param ctx the parse tree
2044
2044
  */
2045
- exitSubpartitionDefinition?: (ctx: SubpartitionDefinitionContext) => void;
2045
+ exitSubPartitionDefinition?: (ctx: SubPartitionDefinitionContext) => void;
2046
2046
  /**
2047
2047
  * Enter a parse tree produced by the `partitionOptionEngine`
2048
2048
  * labeled alternative in `MySqlParser.partitionOption`.
@@ -2116,17 +2116,17 @@ export declare class MySqlParserListener implements ParseTreeListener {
2116
2116
  */
2117
2117
  exitPartitionOptionMinRows?: (ctx: PartitionOptionMinRowsContext) => void;
2118
2118
  /**
2119
- * Enter a parse tree produced by the `partitionOptionTablespace`
2119
+ * Enter a parse tree produced by the `partitionOptionTableSpace`
2120
2120
  * labeled alternative in `MySqlParser.partitionOption`.
2121
2121
  * @param ctx the parse tree
2122
2122
  */
2123
- enterPartitionOptionTablespace?: (ctx: PartitionOptionTablespaceContext) => void;
2123
+ enterPartitionOptionTableSpace?: (ctx: PartitionOptionTableSpaceContext) => void;
2124
2124
  /**
2125
- * Exit a parse tree produced by the `partitionOptionTablespace`
2125
+ * Exit a parse tree produced by the `partitionOptionTableSpace`
2126
2126
  * labeled alternative in `MySqlParser.partitionOption`.
2127
2127
  * @param ctx the parse tree
2128
2128
  */
2129
- exitPartitionOptionTablespace?: (ctx: PartitionOptionTablespaceContext) => void;
2129
+ exitPartitionOptionTableSpace?: (ctx: PartitionOptionTableSpaceContext) => void;
2130
2130
  /**
2131
2131
  * Enter a parse tree produced by the `partitionOptionNodeGroup`
2132
2132
  * labeled alternative in `MySqlParser.partitionOption`.
@@ -2194,15 +2194,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
2194
2194
  */
2195
2195
  exitAlterInstance?: (ctx: AlterInstanceContext) => void;
2196
2196
  /**
2197
- * Enter a parse tree produced by `MySqlParser.alterLogfileGroup`.
2197
+ * Enter a parse tree produced by `MySqlParser.alterLogFileGroup`.
2198
2198
  * @param ctx the parse tree
2199
2199
  */
2200
- enterAlterLogfileGroup?: (ctx: AlterLogfileGroupContext) => void;
2200
+ enterAlterLogFileGroup?: (ctx: AlterLogFileGroupContext) => void;
2201
2201
  /**
2202
- * Exit a parse tree produced by `MySqlParser.alterLogfileGroup`.
2202
+ * Exit a parse tree produced by `MySqlParser.alterLogFileGroup`.
2203
2203
  * @param ctx the parse tree
2204
2204
  */
2205
- exitAlterLogfileGroup?: (ctx: AlterLogfileGroupContext) => void;
2205
+ exitAlterLogFileGroup?: (ctx: AlterLogFileGroupContext) => void;
2206
2206
  /**
2207
2207
  * Enter a parse tree produced by `MySqlParser.alterProcedure`.
2208
2208
  * @param ctx the parse tree
@@ -2234,15 +2234,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
2234
2234
  */
2235
2235
  exitAlterTable?: (ctx: AlterTableContext) => void;
2236
2236
  /**
2237
- * Enter a parse tree produced by `MySqlParser.alterTablespace`.
2237
+ * Enter a parse tree produced by `MySqlParser.alterTableSpace`.
2238
2238
  * @param ctx the parse tree
2239
2239
  */
2240
- enterAlterTablespace?: (ctx: AlterTablespaceContext) => void;
2240
+ enterAlterTableSpace?: (ctx: AlterTableSpaceContext) => void;
2241
2241
  /**
2242
- * Exit a parse tree produced by `MySqlParser.alterTablespace`.
2242
+ * Exit a parse tree produced by `MySqlParser.alterTableSpace`.
2243
2243
  * @param ctx the parse tree
2244
2244
  */
2245
- exitAlterTablespace?: (ctx: AlterTablespaceContext) => void;
2245
+ exitAlterTableSpace?: (ctx: AlterTableSpaceContext) => void;
2246
2246
  /**
2247
2247
  * Enter a parse tree produced by `MySqlParser.alterView`.
2248
2248
  * @param ctx the parse tree
@@ -2470,17 +2470,17 @@ export declare class MySqlParserListener implements ParseTreeListener {
2470
2470
  */
2471
2471
  exitAlterKeys?: (ctx: AlterKeysContext) => void;
2472
2472
  /**
2473
- * Enter a parse tree produced by the `alterTablespaceOption`
2473
+ * Enter a parse tree produced by the `alterTableSpaceOption`
2474
2474
  * labeled alternative in `MySqlParser.alterOption`.
2475
2475
  * @param ctx the parse tree
2476
2476
  */
2477
- enterAlterTablespaceOption?: (ctx: AlterTablespaceOptionContext) => void;
2477
+ enterAlterTableSpaceOption?: (ctx: AlterTableSpaceOptionContext) => void;
2478
2478
  /**
2479
- * Exit a parse tree produced by the `alterTablespaceOption`
2479
+ * Exit a parse tree produced by the `alterTableSpaceOption`
2480
2480
  * labeled alternative in `MySqlParser.alterOption`.
2481
2481
  * @param ctx the parse tree
2482
2482
  */
2483
- exitAlterTablespaceOption?: (ctx: AlterTablespaceOptionContext) => void;
2483
+ exitAlterTableSpaceOption?: (ctx: AlterTableSpaceOptionContext) => void;
2484
2484
  /**
2485
2485
  * Enter a parse tree produced by the `alterByDropColumn`
2486
2486
  * labeled alternative in `MySqlParser.alterOption`.
@@ -2848,15 +2848,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
2848
2848
  */
2849
2849
  exitDropIndex?: (ctx: DropIndexContext) => void;
2850
2850
  /**
2851
- * Enter a parse tree produced by `MySqlParser.dropLogfileGroup`.
2851
+ * Enter a parse tree produced by `MySqlParser.dropLogFileGroup`.
2852
2852
  * @param ctx the parse tree
2853
2853
  */
2854
- enterDropLogfileGroup?: (ctx: DropLogfileGroupContext) => void;
2854
+ enterDropLogFileGroup?: (ctx: DropLogFileGroupContext) => void;
2855
2855
  /**
2856
- * Exit a parse tree produced by `MySqlParser.dropLogfileGroup`.
2856
+ * Exit a parse tree produced by `MySqlParser.dropLogFileGroup`.
2857
2857
  * @param ctx the parse tree
2858
2858
  */
2859
- exitDropLogfileGroup?: (ctx: DropLogfileGroupContext) => void;
2859
+ exitDropLogFileGroup?: (ctx: DropLogFileGroupContext) => void;
2860
2860
  /**
2861
2861
  * Enter a parse tree produced by `MySqlParser.dropProcedure`.
2862
2862
  * @param ctx the parse tree
@@ -2908,15 +2908,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
2908
2908
  */
2909
2909
  exitDropTable?: (ctx: DropTableContext) => void;
2910
2910
  /**
2911
- * Enter a parse tree produced by `MySqlParser.dropTablespace`.
2911
+ * Enter a parse tree produced by `MySqlParser.dropTableSpace`.
2912
2912
  * @param ctx the parse tree
2913
2913
  */
2914
- enterDropTablespace?: (ctx: DropTablespaceContext) => void;
2914
+ enterDropTableSpace?: (ctx: DropTableSpaceContext) => void;
2915
2915
  /**
2916
- * Exit a parse tree produced by `MySqlParser.dropTablespace`.
2916
+ * Exit a parse tree produced by `MySqlParser.dropTableSpace`.
2917
2917
  * @param ctx the parse tree
2918
2918
  */
2919
- exitDropTablespace?: (ctx: DropTablespaceContext) => void;
2919
+ exitDropTableSpace?: (ctx: DropTableSpaceContext) => void;
2920
2920
  /**
2921
2921
  * Enter a parse tree produced by `MySqlParser.dropTrigger`.
2922
2922
  * @param ctx the parse tree
@@ -3886,15 +3886,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
3886
3886
  */
3887
3887
  exitRollbackWork?: (ctx: RollbackWorkContext) => void;
3888
3888
  /**
3889
- * Enter a parse tree produced by `MySqlParser.savepointStatement`.
3889
+ * Enter a parse tree produced by `MySqlParser.savePointStatement`.
3890
3890
  * @param ctx the parse tree
3891
3891
  */
3892
- enterSavepointStatement?: (ctx: SavepointStatementContext) => void;
3892
+ enterSavePointStatement?: (ctx: SavePointStatementContext) => void;
3893
3893
  /**
3894
- * Exit a parse tree produced by `MySqlParser.savepointStatement`.
3894
+ * Exit a parse tree produced by `MySqlParser.savePointStatement`.
3895
3895
  * @param ctx the parse tree
3896
3896
  */
3897
- exitSavepointStatement?: (ctx: SavepointStatementContext) => void;
3897
+ exitSavePointStatement?: (ctx: SavePointStatementContext) => void;
3898
3898
  /**
3899
3899
  * Enter a parse tree produced by `MySqlParser.rollbackStatement`.
3900
3900
  * @param ctx the parse tree
@@ -4876,15 +4876,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
4876
4876
  */
4877
4877
  exitCaseAlternative?: (ctx: CaseAlternativeContext) => void;
4878
4878
  /**
4879
- * Enter a parse tree produced by `MySqlParser.elifAlternative`.
4879
+ * Enter a parse tree produced by `MySqlParser.elseIfAlternative`.
4880
4880
  * @param ctx the parse tree
4881
4881
  */
4882
- enterElifAlternative?: (ctx: ElifAlternativeContext) => void;
4882
+ enterElseIfAlternative?: (ctx: ElseIfAlternativeContext) => void;
4883
4883
  /**
4884
- * Exit a parse tree produced by `MySqlParser.elifAlternative`.
4884
+ * Exit a parse tree produced by `MySqlParser.elseIfAlternative`.
4885
4885
  * @param ctx the parse tree
4886
4886
  */
4887
- exitElifAlternative?: (ctx: ElifAlternativeContext) => void;
4887
+ exitElseIfAlternative?: (ctx: ElseIfAlternativeContext) => void;
4888
4888
  /**
4889
4889
  * Enter a parse tree produced by `MySqlParser.alterUser`.
4890
4890
  * @param ctx the parse tree
@@ -4986,15 +4986,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
4986
4986
  */
4987
4987
  exitSetResourceGroup?: (ctx: SetResourceGroupContext) => void;
4988
4988
  /**
4989
- * Enter a parse tree produced by `MySqlParser.resourceGroupVcpuSpec`.
4989
+ * Enter a parse tree produced by `MySqlParser.resourceGroupVCpuSpec`.
4990
4990
  * @param ctx the parse tree
4991
4991
  */
4992
- enterResourceGroupVcpuSpec?: (ctx: ResourceGroupVcpuSpecContext) => void;
4992
+ enterResourceGroupVCpuSpec?: (ctx: ResourceGroupVCpuSpecContext) => void;
4993
4993
  /**
4994
- * Exit a parse tree produced by `MySqlParser.resourceGroupVcpuSpec`.
4994
+ * Exit a parse tree produced by `MySqlParser.resourceGroupVCpuSpec`.
4995
4995
  * @param ctx the parse tree
4996
4996
  */
4997
- exitResourceGroupVcpuSpec?: (ctx: ResourceGroupVcpuSpecContext) => void;
4997
+ exitResourceGroupVCpuSpec?: (ctx: ResourceGroupVCpuSpecContext) => void;
4998
4998
  /**
4999
4999
  * Enter a parse tree produced by `MySqlParser.renameUser`.
5000
5000
  * @param ctx the parse tree
@@ -5290,15 +5290,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
5290
5290
  */
5291
5291
  exitFactor?: (ctx: FactorContext) => void;
5292
5292
  /**
5293
- * Enter a parse tree produced by `MySqlParser.privelegeClause`.
5293
+ * Enter a parse tree produced by `MySqlParser.privilegeClause`.
5294
5294
  * @param ctx the parse tree
5295
5295
  */
5296
- enterPrivelegeClause?: (ctx: PrivelegeClauseContext) => void;
5296
+ enterPrivilegeClause?: (ctx: PrivilegeClauseContext) => void;
5297
5297
  /**
5298
- * Exit a parse tree produced by `MySqlParser.privelegeClause`.
5298
+ * Exit a parse tree produced by `MySqlParser.privilegeClause`.
5299
5299
  * @param ctx the parse tree
5300
5300
  */
5301
- exitPrivelegeClause?: (ctx: PrivelegeClauseContext) => void;
5301
+ exitPrivilegeClause?: (ctx: PrivilegeClauseContext) => void;
5302
5302
  /**
5303
5303
  * Enter a parse tree produced by `MySqlParser.privilege`.
5304
5304
  * @param ctx the parse tree
@@ -5942,15 +5942,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
5942
5942
  */
5943
5943
  exitShowProfileType?: (ctx: ShowProfileTypeContext) => void;
5944
5944
  /**
5945
- * Enter a parse tree produced by `MySqlParser.binlogStatement`.
5945
+ * Enter a parse tree produced by `MySqlParser.binLogStatement`.
5946
5946
  * @param ctx the parse tree
5947
5947
  */
5948
- enterBinlogStatement?: (ctx: BinlogStatementContext) => void;
5948
+ enterBinLogStatement?: (ctx: BinLogStatementContext) => void;
5949
5949
  /**
5950
- * Exit a parse tree produced by `MySqlParser.binlogStatement`.
5950
+ * Exit a parse tree produced by `MySqlParser.binLogStatement`.
5951
5951
  * @param ctx the parse tree
5952
5952
  */
5953
- exitBinlogStatement?: (ctx: BinlogStatementContext) => void;
5953
+ exitBinLogStatement?: (ctx: BinLogStatementContext) => void;
5954
5954
  /**
5955
5955
  * Enter a parse tree produced by `MySqlParser.cacheIndexStatement`.
5956
5956
  * @param ctx the parse tree
@@ -6452,25 +6452,25 @@ export declare class MySqlParserListener implements ParseTreeListener {
6452
6452
  */
6453
6453
  exitColumnName?: (ctx: ColumnNameContext) => void;
6454
6454
  /**
6455
- * Enter a parse tree produced by `MySqlParser.tablespaceNameCreate`.
6455
+ * Enter a parse tree produced by `MySqlParser.tableSpaceNameCreate`.
6456
6456
  * @param ctx the parse tree
6457
6457
  */
6458
- enterTablespaceNameCreate?: (ctx: TablespaceNameCreateContext) => void;
6458
+ enterTableSpaceNameCreate?: (ctx: TableSpaceNameCreateContext) => void;
6459
6459
  /**
6460
- * Exit a parse tree produced by `MySqlParser.tablespaceNameCreate`.
6460
+ * Exit a parse tree produced by `MySqlParser.tableSpaceNameCreate`.
6461
6461
  * @param ctx the parse tree
6462
6462
  */
6463
- exitTablespaceNameCreate?: (ctx: TablespaceNameCreateContext) => void;
6463
+ exitTableSpaceNameCreate?: (ctx: TableSpaceNameCreateContext) => void;
6464
6464
  /**
6465
- * Enter a parse tree produced by `MySqlParser.tablespaceName`.
6465
+ * Enter a parse tree produced by `MySqlParser.tableSpaceName`.
6466
6466
  * @param ctx the parse tree
6467
6467
  */
6468
- enterTablespaceName?: (ctx: TablespaceNameContext) => void;
6468
+ enterTableSpaceName?: (ctx: TableSpaceNameContext) => void;
6469
6469
  /**
6470
- * Exit a parse tree produced by `MySqlParser.tablespaceName`.
6470
+ * Exit a parse tree produced by `MySqlParser.tableSpaceName`.
6471
6471
  * @param ctx the parse tree
6472
6472
  */
6473
- exitTablespaceName?: (ctx: TablespaceNameContext) => void;
6473
+ exitTableSpaceName?: (ctx: TableSpaceNameContext) => void;
6474
6474
  /**
6475
6475
  * Enter a parse tree produced by `MySqlParser.partitionNameCreate`.
6476
6476
  * @param ctx the parse tree
@@ -6742,15 +6742,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
6742
6742
  */
6743
6743
  exitHexadecimalLiteral?: (ctx: HexadecimalLiteralContext) => void;
6744
6744
  /**
6745
- * Enter a parse tree produced by `MySqlParser.nullNotnull`.
6745
+ * Enter a parse tree produced by `MySqlParser.nullNotNull`.
6746
6746
  * @param ctx the parse tree
6747
6747
  */
6748
- enterNullNotnull?: (ctx: NullNotnullContext) => void;
6748
+ enterNullNotNull?: (ctx: NullNotNullContext) => void;
6749
6749
  /**
6750
- * Exit a parse tree produced by `MySqlParser.nullNotnull`.
6750
+ * Exit a parse tree produced by `MySqlParser.nullNotNull`.
6751
6751
  * @param ctx the parse tree
6752
6752
  */
6753
- exitNullNotnull?: (ctx: NullNotnullContext) => void;
6753
+ exitNullNotNull?: (ctx: NullNotNullContext) => void;
6754
6754
  /**
6755
6755
  * Enter a parse tree produced by `MySqlParser.constant`.
6756
6756
  * @param ctx the parse tree