dt-sql-parser 4.1.1 → 4.1.2-beta.1
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.
- package/dist/lib/flink/FlinkSqlLexer.d.ts +357 -356
- package/dist/lib/flink/FlinkSqlLexer.js +2378 -2376
- package/dist/lib/flink/FlinkSqlParser.d.ts +436 -424
- package/dist/lib/flink/FlinkSqlParser.js +2087 -2005
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +70 -70
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +42 -42
- package/dist/lib/hive/HiveSqlParser.d.ts +10 -10
- package/dist/lib/hive/HiveSqlParser.js +35 -35
- package/dist/lib/hive/HiveSqlParserListener.d.ts +10 -10
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +6 -6
- package/dist/lib/impala/ImpalaSqlLexer.js +582 -583
- package/dist/lib/impala/ImpalaSqlParser.d.ts +4 -4
- package/dist/lib/impala/ImpalaSqlParser.js +16 -16
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +5 -5
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +3 -3
- package/dist/lib/mysql/MySqlLexer.js +3472 -3473
- package/dist/lib/mysql/MySqlParser.d.ts +136 -136
- package/dist/lib/mysql/MySqlParser.js +469 -469
- package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
- package/dist/lib/postgresql/PostgreSqlLexer.d.ts +45 -42
- package/dist/lib/postgresql/PostgreSqlLexer.js +2130 -2108
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2896 -3009
- package/dist/lib/postgresql/PostgreSqlParser.js +20288 -20673
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2104 -2186
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1257 -1304
- package/dist/lib/spark/SparkSqlLexer.js +943 -944
- package/dist/lib/spark/SparkSqlParser.d.ts +67 -67
- package/dist/lib/spark/SparkSqlParser.js +220 -220
- package/dist/lib/spark/SparkSqlParserListener.d.ts +60 -60
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +36 -36
- package/dist/lib/trino/TrinoSqlLexer.js +314 -316
- package/dist/lib/trino/TrinoSqlListener.d.ts +23 -23
- package/dist/lib/trino/TrinoSqlParser.d.ts +30 -30
- package/dist/lib/trino/TrinoSqlParser.js +101 -101
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +14 -14
- package/dist/parser/postgresql/index.js +28 -28
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
- package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
- package/dist/parser/postgresql/postgreErrorListener.js +28 -28
- package/package.json +1 -1
- package/CHANGELOG.md +0 -377
|
@@ -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 {
|
|
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 {
|
|
27
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
534
|
-
import {
|
|
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 {
|
|
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";
|
|
@@ -769,11 +769,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
769
769
|
*/
|
|
770
770
|
visitCreateIndex?: (ctx: CreateIndexContext) => Result;
|
|
771
771
|
/**
|
|
772
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
772
|
+
* Visit a parse tree produced by `MySqlParser.createLogFileGroup`.
|
|
773
773
|
* @param ctx the parse tree
|
|
774
774
|
* @return the visitor result
|
|
775
775
|
*/
|
|
776
|
-
|
|
776
|
+
visitCreateLogFileGroup?: (ctx: CreateLogFileGroupContext) => Result;
|
|
777
777
|
/**
|
|
778
778
|
* Visit a parse tree produced by `MySqlParser.createProcedure`.
|
|
779
779
|
* @param ctx the parse tree
|
|
@@ -826,17 +826,17 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
826
826
|
*/
|
|
827
827
|
visitColumnCreateTable?: (ctx: ColumnCreateTableContext) => Result;
|
|
828
828
|
/**
|
|
829
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
829
|
+
* Visit a parse tree produced by `MySqlParser.createTableSpaceInnoDB`.
|
|
830
830
|
* @param ctx the parse tree
|
|
831
831
|
* @return the visitor result
|
|
832
832
|
*/
|
|
833
|
-
|
|
833
|
+
visitCreateTableSpaceInnoDB?: (ctx: CreateTableSpaceInnoDBContext) => Result;
|
|
834
834
|
/**
|
|
835
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
835
|
+
* Visit a parse tree produced by `MySqlParser.createTableSpaceNDB`.
|
|
836
836
|
* @param ctx the parse tree
|
|
837
837
|
* @return the visitor result
|
|
838
838
|
*/
|
|
839
|
-
|
|
839
|
+
visitCreateTableSpaceNDB?: (ctx: CreateTableSpaceNDBContext) => Result;
|
|
840
840
|
/**
|
|
841
841
|
* Visit a parse tree produced by `MySqlParser.createTrigger`.
|
|
842
842
|
* @param ctx the parse tree
|
|
@@ -1156,12 +1156,12 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
visitTableOptionEngineAttribute?: (ctx: TableOptionEngineAttributeContext) => Result;
|
|
1158
1158
|
/**
|
|
1159
|
-
* Visit a parse tree produced by the `
|
|
1159
|
+
* Visit a parse tree produced by the `tableOptionAutoExtendSize`
|
|
1160
1160
|
* labeled alternative in `MySqlParser.tableOption`.
|
|
1161
1161
|
* @param ctx the parse tree
|
|
1162
1162
|
* @return the visitor result
|
|
1163
1163
|
*/
|
|
1164
|
-
|
|
1164
|
+
visitTableOptionAutoExtendSize?: (ctx: TableOptionAutoExtendSizeContext) => Result;
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Visit a parse tree produced by the `tableOptionAutoIncrement`
|
|
1167
1167
|
* labeled alternative in `MySqlParser.tableOption`.
|
|
@@ -1352,12 +1352,12 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1352
1352
|
*/
|
|
1353
1353
|
visitTableOptionSamplePage?: (ctx: TableOptionSamplePageContext) => Result;
|
|
1354
1354
|
/**
|
|
1355
|
-
* Visit a parse tree produced by the `
|
|
1355
|
+
* Visit a parse tree produced by the `tableOptionTableSpace`
|
|
1356
1356
|
* labeled alternative in `MySqlParser.tableOption`.
|
|
1357
1357
|
* @param ctx the parse tree
|
|
1358
1358
|
* @return the visitor result
|
|
1359
1359
|
*/
|
|
1360
|
-
|
|
1360
|
+
visitTableOptionTableSpace?: (ctx: TableOptionTableSpaceContext) => Result;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Visit a parse tree produced by the `tableOptionTableType`
|
|
1363
1363
|
* labeled alternative in `MySqlParser.tableOption`.
|
|
@@ -1386,11 +1386,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1386
1386
|
*/
|
|
1387
1387
|
visitTableType?: (ctx: TableTypeContext) => Result;
|
|
1388
1388
|
/**
|
|
1389
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1389
|
+
* Visit a parse tree produced by `MySqlParser.tableSpaceStorage`.
|
|
1390
1390
|
* @param ctx the parse tree
|
|
1391
1391
|
* @return the visitor result
|
|
1392
1392
|
*/
|
|
1393
|
-
|
|
1393
|
+
visitTableSpaceStorage?: (ctx: TableSpaceStorageContext) => Result;
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Visit a parse tree produced by `MySqlParser.partitionDefinitions`.
|
|
1396
1396
|
* @param ctx the parse tree
|
|
@@ -1480,11 +1480,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1480
1480
|
*/
|
|
1481
1481
|
visitPartitionDefinerVector?: (ctx: PartitionDefinerVectorContext) => Result;
|
|
1482
1482
|
/**
|
|
1483
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1483
|
+
* Visit a parse tree produced by `MySqlParser.subPartitionDefinition`.
|
|
1484
1484
|
* @param ctx the parse tree
|
|
1485
1485
|
* @return the visitor result
|
|
1486
1486
|
*/
|
|
1487
|
-
|
|
1487
|
+
visitSubPartitionDefinition?: (ctx: SubPartitionDefinitionContext) => Result;
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Visit a parse tree produced by the `partitionOptionEngine`
|
|
1490
1490
|
* labeled alternative in `MySqlParser.partitionOption`.
|
|
@@ -1528,12 +1528,12 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
visitPartitionOptionMinRows?: (ctx: PartitionOptionMinRowsContext) => Result;
|
|
1530
1530
|
/**
|
|
1531
|
-
* Visit a parse tree produced by the `
|
|
1531
|
+
* Visit a parse tree produced by the `partitionOptionTableSpace`
|
|
1532
1532
|
* labeled alternative in `MySqlParser.partitionOption`.
|
|
1533
1533
|
* @param ctx the parse tree
|
|
1534
1534
|
* @return the visitor result
|
|
1535
1535
|
*/
|
|
1536
|
-
|
|
1536
|
+
visitPartitionOptionTableSpace?: (ctx: PartitionOptionTableSpaceContext) => Result;
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Visit a parse tree produced by the `partitionOptionNodeGroup`
|
|
1539
1539
|
* labeled alternative in `MySqlParser.partitionOption`.
|
|
@@ -1574,11 +1574,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1574
1574
|
*/
|
|
1575
1575
|
visitAlterInstance?: (ctx: AlterInstanceContext) => Result;
|
|
1576
1576
|
/**
|
|
1577
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1577
|
+
* Visit a parse tree produced by `MySqlParser.alterLogFileGroup`.
|
|
1578
1578
|
* @param ctx the parse tree
|
|
1579
1579
|
* @return the visitor result
|
|
1580
1580
|
*/
|
|
1581
|
-
|
|
1581
|
+
visitAlterLogFileGroup?: (ctx: AlterLogFileGroupContext) => Result;
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Visit a parse tree produced by `MySqlParser.alterProcedure`.
|
|
1584
1584
|
* @param ctx the parse tree
|
|
@@ -1598,11 +1598,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1598
1598
|
*/
|
|
1599
1599
|
visitAlterTable?: (ctx: AlterTableContext) => Result;
|
|
1600
1600
|
/**
|
|
1601
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1601
|
+
* Visit a parse tree produced by `MySqlParser.alterTableSpace`.
|
|
1602
1602
|
* @param ctx the parse tree
|
|
1603
1603
|
* @return the visitor result
|
|
1604
1604
|
*/
|
|
1605
|
-
|
|
1605
|
+
visitAlterTableSpace?: (ctx: AlterTableSpaceContext) => Result;
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Visit a parse tree produced by `MySqlParser.alterView`.
|
|
1608
1608
|
* @param ctx the parse tree
|
|
@@ -1736,12 +1736,12 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
visitAlterKeys?: (ctx: AlterKeysContext) => Result;
|
|
1738
1738
|
/**
|
|
1739
|
-
* Visit a parse tree produced by the `
|
|
1739
|
+
* Visit a parse tree produced by the `alterTableSpaceOption`
|
|
1740
1740
|
* labeled alternative in `MySqlParser.alterOption`.
|
|
1741
1741
|
* @param ctx the parse tree
|
|
1742
1742
|
* @return the visitor result
|
|
1743
1743
|
*/
|
|
1744
|
-
|
|
1744
|
+
visitAlterTableSpaceOption?: (ctx: AlterTableSpaceOptionContext) => Result;
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Visit a parse tree produced by the `alterByDropColumn`
|
|
1747
1747
|
* labeled alternative in `MySqlParser.alterOption`.
|
|
@@ -1957,11 +1957,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1957
1957
|
*/
|
|
1958
1958
|
visitDropIndex?: (ctx: DropIndexContext) => Result;
|
|
1959
1959
|
/**
|
|
1960
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1960
|
+
* Visit a parse tree produced by `MySqlParser.dropLogFileGroup`.
|
|
1961
1961
|
* @param ctx the parse tree
|
|
1962
1962
|
* @return the visitor result
|
|
1963
1963
|
*/
|
|
1964
|
-
|
|
1964
|
+
visitDropLogFileGroup?: (ctx: DropLogFileGroupContext) => Result;
|
|
1965
1965
|
/**
|
|
1966
1966
|
* Visit a parse tree produced by `MySqlParser.dropProcedure`.
|
|
1967
1967
|
* @param ctx the parse tree
|
|
@@ -1993,11 +1993,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
1993
1993
|
*/
|
|
1994
1994
|
visitDropTable?: (ctx: DropTableContext) => Result;
|
|
1995
1995
|
/**
|
|
1996
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
1996
|
+
* Visit a parse tree produced by `MySqlParser.dropTableSpace`.
|
|
1997
1997
|
* @param ctx the parse tree
|
|
1998
1998
|
* @return the visitor result
|
|
1999
1999
|
*/
|
|
2000
|
-
|
|
2000
|
+
visitDropTableSpace?: (ctx: DropTableSpaceContext) => Result;
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Visit a parse tree produced by `MySqlParser.dropTrigger`.
|
|
2003
2003
|
* @param ctx the parse tree
|
|
@@ -2576,11 +2576,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
2576
2576
|
*/
|
|
2577
2577
|
visitRollbackWork?: (ctx: RollbackWorkContext) => Result;
|
|
2578
2578
|
/**
|
|
2579
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
2579
|
+
* Visit a parse tree produced by `MySqlParser.savePointStatement`.
|
|
2580
2580
|
* @param ctx the parse tree
|
|
2581
2581
|
* @return the visitor result
|
|
2582
2582
|
*/
|
|
2583
|
-
|
|
2583
|
+
visitSavePointStatement?: (ctx: SavePointStatementContext) => Result;
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Visit a parse tree produced by `MySqlParser.rollbackStatement`.
|
|
2586
2586
|
* @param ctx the parse tree
|
|
@@ -3163,11 +3163,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
3163
3163
|
*/
|
|
3164
3164
|
visitCaseAlternative?: (ctx: CaseAlternativeContext) => Result;
|
|
3165
3165
|
/**
|
|
3166
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
3166
|
+
* Visit a parse tree produced by `MySqlParser.elseIfAlternative`.
|
|
3167
3167
|
* @param ctx the parse tree
|
|
3168
3168
|
* @return the visitor result
|
|
3169
3169
|
*/
|
|
3170
|
-
|
|
3170
|
+
visitElseIfAlternative?: (ctx: ElseIfAlternativeContext) => Result;
|
|
3171
3171
|
/**
|
|
3172
3172
|
* Visit a parse tree produced by `MySqlParser.alterUser`.
|
|
3173
3173
|
* @param ctx the parse tree
|
|
@@ -3229,11 +3229,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
3229
3229
|
*/
|
|
3230
3230
|
visitSetResourceGroup?: (ctx: SetResourceGroupContext) => Result;
|
|
3231
3231
|
/**
|
|
3232
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
3232
|
+
* Visit a parse tree produced by `MySqlParser.resourceGroupVCpuSpec`.
|
|
3233
3233
|
* @param ctx the parse tree
|
|
3234
3234
|
* @return the visitor result
|
|
3235
3235
|
*/
|
|
3236
|
-
|
|
3236
|
+
visitResourceGroupVCpuSpec?: (ctx: ResourceGroupVCpuSpecContext) => Result;
|
|
3237
3237
|
/**
|
|
3238
3238
|
* Visit a parse tree produced by `MySqlParser.renameUser`.
|
|
3239
3239
|
* @param ctx the parse tree
|
|
@@ -3409,11 +3409,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
3409
3409
|
*/
|
|
3410
3410
|
visitFactor?: (ctx: FactorContext) => Result;
|
|
3411
3411
|
/**
|
|
3412
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
3412
|
+
* Visit a parse tree produced by `MySqlParser.privilegeClause`.
|
|
3413
3413
|
* @param ctx the parse tree
|
|
3414
3414
|
* @return the visitor result
|
|
3415
3415
|
*/
|
|
3416
|
-
|
|
3416
|
+
visitPrivilegeClause?: (ctx: PrivilegeClauseContext) => Result;
|
|
3417
3417
|
/**
|
|
3418
3418
|
* Visit a parse tree produced by `MySqlParser.privilege`.
|
|
3419
3419
|
* @param ctx the parse tree
|
|
@@ -3793,11 +3793,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
3793
3793
|
*/
|
|
3794
3794
|
visitShowProfileType?: (ctx: ShowProfileTypeContext) => Result;
|
|
3795
3795
|
/**
|
|
3796
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
3796
|
+
* Visit a parse tree produced by `MySqlParser.binLogStatement`.
|
|
3797
3797
|
* @param ctx the parse tree
|
|
3798
3798
|
* @return the visitor result
|
|
3799
3799
|
*/
|
|
3800
|
-
|
|
3800
|
+
visitBinLogStatement?: (ctx: BinLogStatementContext) => Result;
|
|
3801
3801
|
/**
|
|
3802
3802
|
* Visit a parse tree produced by `MySqlParser.cacheIndexStatement`.
|
|
3803
3803
|
* @param ctx the parse tree
|
|
@@ -4098,17 +4098,17 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
4098
4098
|
*/
|
|
4099
4099
|
visitColumnName?: (ctx: ColumnNameContext) => Result;
|
|
4100
4100
|
/**
|
|
4101
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
4101
|
+
* Visit a parse tree produced by `MySqlParser.tableSpaceNameCreate`.
|
|
4102
4102
|
* @param ctx the parse tree
|
|
4103
4103
|
* @return the visitor result
|
|
4104
4104
|
*/
|
|
4105
|
-
|
|
4105
|
+
visitTableSpaceNameCreate?: (ctx: TableSpaceNameCreateContext) => Result;
|
|
4106
4106
|
/**
|
|
4107
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
4107
|
+
* Visit a parse tree produced by `MySqlParser.tableSpaceName`.
|
|
4108
4108
|
* @param ctx the parse tree
|
|
4109
4109
|
* @return the visitor result
|
|
4110
4110
|
*/
|
|
4111
|
-
|
|
4111
|
+
visitTableSpaceName?: (ctx: TableSpaceNameContext) => Result;
|
|
4112
4112
|
/**
|
|
4113
4113
|
* Visit a parse tree produced by `MySqlParser.partitionNameCreate`.
|
|
4114
4114
|
* @param ctx the parse tree
|
|
@@ -4272,11 +4272,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
|
|
|
4272
4272
|
*/
|
|
4273
4273
|
visitHexadecimalLiteral?: (ctx: HexadecimalLiteralContext) => Result;
|
|
4274
4274
|
/**
|
|
4275
|
-
* Visit a parse tree produced by `MySqlParser.
|
|
4275
|
+
* Visit a parse tree produced by `MySqlParser.nullNotNull`.
|
|
4276
4276
|
* @param ctx the parse tree
|
|
4277
4277
|
* @return the visitor result
|
|
4278
4278
|
*/
|
|
4279
|
-
|
|
4279
|
+
visitNullNotNull?: (ctx: NullNotNullContext) => Result;
|
|
4280
4280
|
/**
|
|
4281
4281
|
* Visit a parse tree produced by `MySqlParser.constant`.
|
|
4282
4282
|
* @param ctx the parse tree
|
|
@@ -548,48 +548,51 @@ export declare class PostgreSqlLexer extends antlr.Lexer {
|
|
|
548
548
|
static readonly KW_MAIN = 546;
|
|
549
549
|
static readonly KW_SKIP_LOCKED = 547;
|
|
550
550
|
static readonly KW_BUFFER_USAGE_LIMIT = 548;
|
|
551
|
-
static readonly
|
|
552
|
-
static readonly
|
|
553
|
-
static readonly
|
|
554
|
-
static readonly
|
|
555
|
-
static readonly
|
|
556
|
-
static readonly
|
|
557
|
-
static readonly
|
|
558
|
-
static readonly
|
|
559
|
-
static readonly
|
|
560
|
-
static readonly
|
|
561
|
-
static readonly
|
|
562
|
-
static readonly
|
|
563
|
-
static readonly
|
|
564
|
-
static readonly
|
|
565
|
-
static readonly
|
|
566
|
-
static readonly
|
|
567
|
-
static readonly
|
|
568
|
-
static readonly
|
|
569
|
-
static readonly
|
|
570
|
-
static readonly
|
|
571
|
-
static readonly
|
|
572
|
-
static readonly
|
|
573
|
-
static readonly
|
|
574
|
-
static readonly
|
|
575
|
-
static readonly
|
|
576
|
-
static readonly
|
|
577
|
-
static readonly
|
|
578
|
-
static readonly
|
|
579
|
-
static readonly
|
|
580
|
-
static readonly
|
|
581
|
-
static readonly
|
|
582
|
-
static readonly
|
|
583
|
-
static readonly
|
|
584
|
-
static readonly
|
|
585
|
-
static readonly
|
|
586
|
-
static readonly
|
|
587
|
-
static readonly
|
|
588
|
-
static readonly
|
|
589
|
-
static readonly
|
|
590
|
-
static readonly
|
|
591
|
-
static readonly
|
|
592
|
-
static readonly
|
|
551
|
+
static readonly KW_FORCE_QUOTE = 549;
|
|
552
|
+
static readonly KW_FORCE_NOT_NULL = 550;
|
|
553
|
+
static readonly KW_FORCE_NULL = 551;
|
|
554
|
+
static readonly Identifier = 552;
|
|
555
|
+
static readonly QuotedIdentifier = 553;
|
|
556
|
+
static readonly UnterminatedQuotedIdentifier = 554;
|
|
557
|
+
static readonly InvalidQuotedIdentifier = 555;
|
|
558
|
+
static readonly InvalidUnterminatedQuotedIdentifier = 556;
|
|
559
|
+
static readonly UnicodeQuotedIdentifier = 557;
|
|
560
|
+
static readonly UnterminatedUnicodeQuotedIdentifier = 558;
|
|
561
|
+
static readonly InvalidUnicodeQuotedIdentifier = 559;
|
|
562
|
+
static readonly InvalidUnterminatedUnicodeQuotedIdentifier = 560;
|
|
563
|
+
static readonly StringConstant = 561;
|
|
564
|
+
static readonly UnterminatedStringConstant = 562;
|
|
565
|
+
static readonly UnicodeEscapeStringConstant = 563;
|
|
566
|
+
static readonly UnterminatedUnicodeEscapeStringConstant = 564;
|
|
567
|
+
static readonly BeginDollarStringConstant = 565;
|
|
568
|
+
static readonly BinaryStringConstant = 566;
|
|
569
|
+
static readonly UnterminatedBinaryStringConstant = 567;
|
|
570
|
+
static readonly InvalidBinaryStringConstant = 568;
|
|
571
|
+
static readonly InvalidUnterminatedBinaryStringConstant = 569;
|
|
572
|
+
static readonly HexadecimalStringConstant = 570;
|
|
573
|
+
static readonly UnterminatedHexadecimalStringConstant = 571;
|
|
574
|
+
static readonly InvalidHexadecimalStringConstant = 572;
|
|
575
|
+
static readonly InvalidUnterminatedHexadecimalStringConstant = 573;
|
|
576
|
+
static readonly Integral = 574;
|
|
577
|
+
static readonly NumericFail = 575;
|
|
578
|
+
static readonly Numeric = 576;
|
|
579
|
+
static readonly PLSQLVARIABLENAME = 577;
|
|
580
|
+
static readonly PLSQLIDENTIFIER = 578;
|
|
581
|
+
static readonly Whitespace = 579;
|
|
582
|
+
static readonly Newline = 580;
|
|
583
|
+
static readonly LineComment = 581;
|
|
584
|
+
static readonly BlockComment = 582;
|
|
585
|
+
static readonly UnterminatedBlockComment = 583;
|
|
586
|
+
static readonly MetaCommand = 584;
|
|
587
|
+
static readonly EndMetaCommand = 585;
|
|
588
|
+
static readonly ErrorCharacter = 586;
|
|
589
|
+
static readonly EscapeStringConstant = 587;
|
|
590
|
+
static readonly UnterminatedEscapeStringConstant = 588;
|
|
591
|
+
static readonly InvalidEscapeStringConstant = 589;
|
|
592
|
+
static readonly InvalidUnterminatedEscapeStringConstant = 590;
|
|
593
|
+
static readonly DollarText = 591;
|
|
594
|
+
static readonly EndDollarStringConstant = 592;
|
|
595
|
+
static readonly AfterEscapeStringConstantWithNewlineMode_Continued = 593;
|
|
593
596
|
static readonly EscapeStringConstantMode = 1;
|
|
594
597
|
static readonly AfterEscapeStringConstantMode = 2;
|
|
595
598
|
static readonly AfterEscapeStringConstantWithNewlineMode = 3;
|