dt-sql-parser 4.5.0-beta.1 → 4.5.0-beta.3

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 (40) hide show
  1. package/dist/lib/SQLParserBase.d.ts +1 -13
  2. package/dist/lib/SQLParserBase.js +5 -40
  3. package/dist/lib/flink/FlinkSqlLexer.d.ts +399 -397
  4. package/dist/lib/flink/FlinkSqlLexer.js +2504 -2489
  5. package/dist/lib/flink/FlinkSqlParser.d.ts +726 -617
  6. package/dist/lib/flink/FlinkSqlParser.js +4861 -3558
  7. package/dist/lib/flink/FlinkSqlParserListener.d.ts +90 -33
  8. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +57 -21
  9. package/dist/lib/hive/HiveSqlParser.d.ts +228 -274
  10. package/dist/lib/hive/HiveSqlParser.js +5912 -6304
  11. package/dist/lib/hive/HiveSqlParserListener.d.ts +0 -33
  12. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +0 -21
  13. package/dist/lib/impala/ImpalaSqlParser.d.ts +103 -145
  14. package/dist/lib/impala/ImpalaSqlParser.js +3320 -3687
  15. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +0 -33
  16. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +0 -21
  17. package/dist/lib/mysql/MySqlParser.d.ts +94 -161
  18. package/dist/lib/mysql/MySqlParser.js +9499 -9959
  19. package/dist/lib/mysql/MySqlParserListener.d.ts +5 -79
  20. package/dist/lib/mysql/MySqlParserVisitor.d.ts +3 -49
  21. package/dist/lib/postgresql/PostgreSqlParser.d.ts +71 -108
  22. package/dist/lib/postgresql/PostgreSqlParser.js +10388 -13330
  23. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +0 -48
  24. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +0 -30
  25. package/dist/lib/spark/SparkSqlParser.d.ts +145 -185
  26. package/dist/lib/spark/SparkSqlParser.js +5109 -5420
  27. package/dist/lib/spark/SparkSqlParserListener.d.ts +0 -33
  28. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +0 -21
  29. package/dist/parser/common/basicSQL.d.ts +17 -5
  30. package/dist/parser/common/basicSQL.js +74 -3
  31. package/dist/parser/common/entityCollector.js +2 -14
  32. package/dist/parser/flink/index.js +2 -5
  33. package/dist/parser/mysql/index.js +1 -3
  34. package/dist/parser/mysql/mysqlEntityCollector.d.ts +1 -2
  35. package/dist/parser/mysql/mysqlEntityCollector.js +3 -13
  36. package/dist/parser/mysql/mysqlErrorListener.js +0 -2
  37. package/dist/parser/postgresql/postgreEntityCollector.d.ts +1 -3
  38. package/dist/parser/postgresql/postgreEntityCollector.js +0 -13
  39. package/dist/parser/spark/index.js +1 -3
  40. package/package.json +1 -1
@@ -272,10 +272,7 @@ import { JsonOnEmptyContext } from "./MySqlParser.js";
272
272
  import { JsonOnErrorContext } from "./MySqlParser.js";
273
273
  import { SelectSpecContext } from "./MySqlParser.js";
274
274
  import { SelectElementsContext } from "./MySqlParser.js";
275
- import { SelectElement_starContext } from "./MySqlParser.js";
276
- import { SelectElement_labelContext } from "./MySqlParser.js";
277
- import { SelectElement_exprContext } from "./MySqlParser.js";
278
- import { SelectElement_dot_emptyContext } from "./MySqlParser.js";
275
+ import { SelectElementContext } from "./MySqlParser.js";
279
276
  import { TableAllColumnsContext } from "./MySqlParser.js";
280
277
  import { PureAllColumnsContext } from "./MySqlParser.js";
281
278
  import { SelectLiteralColumnNameContext } from "./MySqlParser.js";
@@ -535,10 +532,7 @@ import { UserOrRoleNamesContext } from "./MySqlParser.js";
535
532
  import { UserOrRoleNameContext } from "./MySqlParser.js";
536
533
  import { ColumnNameCreateContext } from "./MySqlParser.js";
537
534
  import { ColumnNamesContext } from "./MySqlParser.js";
538
- import { EmptyColumnContext } from "./MySqlParser.js";
539
535
  import { ColumnNameContext } from "./MySqlParser.js";
540
- import { ColumnNamePathContext } from "./MySqlParser.js";
541
- import { ColumnNamePathAllowEmptyContext } from "./MySqlParser.js";
542
536
  import { TableSpaceNameCreateContext } from "./MySqlParser.js";
543
537
  import { TableSpaceNameContext } from "./MySqlParser.js";
544
538
  import { PartitionNameCreateContext } from "./MySqlParser.js";
@@ -3691,53 +3685,15 @@ export declare class MySqlParserListener implements ParseTreeListener {
3691
3685
  */
3692
3686
  exitSelectElements?: (ctx: SelectElementsContext) => void;
3693
3687
  /**
3694
- * Enter a parse tree produced by the `selectElement_star`
3695
- * labeled alternative in `MySqlParser.selectElement`.
3688
+ * Enter a parse tree produced by `MySqlParser.selectElement`.
3696
3689
  * @param ctx the parse tree
3697
3690
  */
3698
- enterSelectElement_star?: (ctx: SelectElement_starContext) => void;
3691
+ enterSelectElement?: (ctx: SelectElementContext) => void;
3699
3692
  /**
3700
- * Exit a parse tree produced by the `selectElement_star`
3701
- * labeled alternative in `MySqlParser.selectElement`.
3693
+ * Exit a parse tree produced by `MySqlParser.selectElement`.
3702
3694
  * @param ctx the parse tree
3703
3695
  */
3704
- exitSelectElement_star?: (ctx: SelectElement_starContext) => void;
3705
- /**
3706
- * Enter a parse tree produced by the `selectElement_label`
3707
- * labeled alternative in `MySqlParser.selectElement`.
3708
- * @param ctx the parse tree
3709
- */
3710
- enterSelectElement_label?: (ctx: SelectElement_labelContext) => void;
3711
- /**
3712
- * Exit a parse tree produced by the `selectElement_label`
3713
- * labeled alternative in `MySqlParser.selectElement`.
3714
- * @param ctx the parse tree
3715
- */
3716
- exitSelectElement_label?: (ctx: SelectElement_labelContext) => void;
3717
- /**
3718
- * Enter a parse tree produced by the `selectElement_expr`
3719
- * labeled alternative in `MySqlParser.selectElement`.
3720
- * @param ctx the parse tree
3721
- */
3722
- enterSelectElement_expr?: (ctx: SelectElement_exprContext) => void;
3723
- /**
3724
- * Exit a parse tree produced by the `selectElement_expr`
3725
- * labeled alternative in `MySqlParser.selectElement`.
3726
- * @param ctx the parse tree
3727
- */
3728
- exitSelectElement_expr?: (ctx: SelectElement_exprContext) => void;
3729
- /**
3730
- * Enter a parse tree produced by the `selectElement_dot_empty`
3731
- * labeled alternative in `MySqlParser.selectElement`.
3732
- * @param ctx the parse tree
3733
- */
3734
- enterSelectElement_dot_empty?: (ctx: SelectElement_dot_emptyContext) => void;
3735
- /**
3736
- * Exit a parse tree produced by the `selectElement_dot_empty`
3737
- * labeled alternative in `MySqlParser.selectElement`.
3738
- * @param ctx the parse tree
3739
- */
3740
- exitSelectElement_dot_empty?: (ctx: SelectElement_dot_emptyContext) => void;
3696
+ exitSelectElement?: (ctx: SelectElementContext) => void;
3741
3697
  /**
3742
3698
  * Enter a parse tree produced by `MySqlParser.tableAllColumns`.
3743
3699
  * @param ctx the parse tree
@@ -6514,16 +6470,6 @@ export declare class MySqlParserListener implements ParseTreeListener {
6514
6470
  * @param ctx the parse tree
6515
6471
  */
6516
6472
  exitColumnNames?: (ctx: ColumnNamesContext) => void;
6517
- /**
6518
- * Enter a parse tree produced by `MySqlParser.emptyColumn`.
6519
- * @param ctx the parse tree
6520
- */
6521
- enterEmptyColumn?: (ctx: EmptyColumnContext) => void;
6522
- /**
6523
- * Exit a parse tree produced by `MySqlParser.emptyColumn`.
6524
- * @param ctx the parse tree
6525
- */
6526
- exitEmptyColumn?: (ctx: EmptyColumnContext) => void;
6527
6473
  /**
6528
6474
  * Enter a parse tree produced by `MySqlParser.columnName`.
6529
6475
  * @param ctx the parse tree
@@ -6534,26 +6480,6 @@ export declare class MySqlParserListener implements ParseTreeListener {
6534
6480
  * @param ctx the parse tree
6535
6481
  */
6536
6482
  exitColumnName?: (ctx: ColumnNameContext) => void;
6537
- /**
6538
- * Enter a parse tree produced by `MySqlParser.columnNamePath`.
6539
- * @param ctx the parse tree
6540
- */
6541
- enterColumnNamePath?: (ctx: ColumnNamePathContext) => void;
6542
- /**
6543
- * Exit a parse tree produced by `MySqlParser.columnNamePath`.
6544
- * @param ctx the parse tree
6545
- */
6546
- exitColumnNamePath?: (ctx: ColumnNamePathContext) => void;
6547
- /**
6548
- * Enter a parse tree produced by `MySqlParser.columnNamePathAllowEmpty`.
6549
- * @param ctx the parse tree
6550
- */
6551
- enterColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => void;
6552
- /**
6553
- * Exit a parse tree produced by `MySqlParser.columnNamePathAllowEmpty`.
6554
- * @param ctx the parse tree
6555
- */
6556
- exitColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => void;
6557
6483
  /**
6558
6484
  * Enter a parse tree produced by `MySqlParser.tableSpaceNameCreate`.
6559
6485
  * @param ctx the parse tree
@@ -272,10 +272,7 @@ import { JsonOnEmptyContext } from "./MySqlParser.js";
272
272
  import { JsonOnErrorContext } from "./MySqlParser.js";
273
273
  import { SelectSpecContext } from "./MySqlParser.js";
274
274
  import { SelectElementsContext } from "./MySqlParser.js";
275
- import { SelectElement_starContext } from "./MySqlParser.js";
276
- import { SelectElement_labelContext } from "./MySqlParser.js";
277
- import { SelectElement_exprContext } from "./MySqlParser.js";
278
- import { SelectElement_dot_emptyContext } from "./MySqlParser.js";
275
+ import { SelectElementContext } from "./MySqlParser.js";
279
276
  import { TableAllColumnsContext } from "./MySqlParser.js";
280
277
  import { PureAllColumnsContext } from "./MySqlParser.js";
281
278
  import { SelectLiteralColumnNameContext } from "./MySqlParser.js";
@@ -535,10 +532,7 @@ import { UserOrRoleNamesContext } from "./MySqlParser.js";
535
532
  import { UserOrRoleNameContext } from "./MySqlParser.js";
536
533
  import { ColumnNameCreateContext } from "./MySqlParser.js";
537
534
  import { ColumnNamesContext } from "./MySqlParser.js";
538
- import { EmptyColumnContext } from "./MySqlParser.js";
539
535
  import { ColumnNameContext } from "./MySqlParser.js";
540
- import { ColumnNamePathContext } from "./MySqlParser.js";
541
- import { ColumnNamePathAllowEmptyContext } from "./MySqlParser.js";
542
536
  import { TableSpaceNameCreateContext } from "./MySqlParser.js";
543
537
  import { TableSpaceNameContext } from "./MySqlParser.js";
544
538
  import { PartitionNameCreateContext } from "./MySqlParser.js";
@@ -2464,33 +2458,11 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
2464
2458
  */
2465
2459
  visitSelectElements?: (ctx: SelectElementsContext) => Result;
2466
2460
  /**
2467
- * Visit a parse tree produced by the `selectElement_star`
2468
- * labeled alternative in `MySqlParser.selectElement`.
2461
+ * Visit a parse tree produced by `MySqlParser.selectElement`.
2469
2462
  * @param ctx the parse tree
2470
2463
  * @return the visitor result
2471
2464
  */
2472
- visitSelectElement_star?: (ctx: SelectElement_starContext) => Result;
2473
- /**
2474
- * Visit a parse tree produced by the `selectElement_label`
2475
- * labeled alternative in `MySqlParser.selectElement`.
2476
- * @param ctx the parse tree
2477
- * @return the visitor result
2478
- */
2479
- visitSelectElement_label?: (ctx: SelectElement_labelContext) => Result;
2480
- /**
2481
- * Visit a parse tree produced by the `selectElement_expr`
2482
- * labeled alternative in `MySqlParser.selectElement`.
2483
- * @param ctx the parse tree
2484
- * @return the visitor result
2485
- */
2486
- visitSelectElement_expr?: (ctx: SelectElement_exprContext) => Result;
2487
- /**
2488
- * Visit a parse tree produced by the `selectElement_dot_empty`
2489
- * labeled alternative in `MySqlParser.selectElement`.
2490
- * @param ctx the parse tree
2491
- * @return the visitor result
2492
- */
2493
- visitSelectElement_dot_empty?: (ctx: SelectElement_dot_emptyContext) => Result;
2465
+ visitSelectElement?: (ctx: SelectElementContext) => Result;
2494
2466
  /**
2495
2467
  * Visit a parse tree produced by `MySqlParser.tableAllColumns`.
2496
2468
  * @param ctx the parse tree
@@ -4138,30 +4110,12 @@ export declare class MySqlParserVisitor<Result> extends AbstractParseTreeVisitor
4138
4110
  * @return the visitor result
4139
4111
  */
4140
4112
  visitColumnNames?: (ctx: ColumnNamesContext) => Result;
4141
- /**
4142
- * Visit a parse tree produced by `MySqlParser.emptyColumn`.
4143
- * @param ctx the parse tree
4144
- * @return the visitor result
4145
- */
4146
- visitEmptyColumn?: (ctx: EmptyColumnContext) => Result;
4147
4113
  /**
4148
4114
  * Visit a parse tree produced by `MySqlParser.columnName`.
4149
4115
  * @param ctx the parse tree
4150
4116
  * @return the visitor result
4151
4117
  */
4152
4118
  visitColumnName?: (ctx: ColumnNameContext) => Result;
4153
- /**
4154
- * Visit a parse tree produced by `MySqlParser.columnNamePath`.
4155
- * @param ctx the parse tree
4156
- * @return the visitor result
4157
- */
4158
- visitColumnNamePath?: (ctx: ColumnNamePathContext) => Result;
4159
- /**
4160
- * Visit a parse tree produced by `MySqlParser.columnNamePathAllowEmpty`.
4161
- * @param ctx the parse tree
4162
- * @return the visitor result
4163
- */
4164
- visitColumnNamePathAllowEmpty?: (ctx: ColumnNamePathAllowEmptyContext) => Result;
4165
4119
  /**
4166
4120
  * Visit a parse tree produced by `MySqlParser.tableSpaceNameCreate`.
4167
4121
  * @param ctx the parse tree
@@ -998,75 +998,73 @@ export declare class PostgreSqlParser extends SQLParserBase {
998
998
  static readonly RULE_routineName = 399;
999
999
  static readonly RULE_procedureName = 400;
1000
1000
  static readonly RULE_procedureNameCreate = 401;
1001
- static readonly RULE_emptyColumn = 402;
1002
- static readonly RULE_columnName = 403;
1003
- static readonly RULE_columnNamePath = 404;
1004
- static readonly RULE_columnNameCreate = 405;
1005
- static readonly RULE_functionNameCreate = 406;
1006
- static readonly RULE_functionName = 407;
1007
- static readonly RULE_stringConst = 408;
1008
- static readonly RULE_anysconst = 409;
1009
- static readonly RULE_signedConst = 410;
1010
- static readonly RULE_roleSpec = 411;
1011
- static readonly RULE_roleList = 412;
1012
- static readonly RULE_colId = 413;
1013
- static readonly RULE_typeFunctionName = 414;
1014
- static readonly RULE_nonReservedWord = 415;
1015
- static readonly RULE_colLabel = 416;
1016
- static readonly RULE_indirectionLabel = 417;
1017
- static readonly RULE_identifier = 418;
1018
- static readonly RULE_unreservedKeyword = 419;
1019
- static readonly RULE_colNameKeyword = 420;
1020
- static readonly RULE_typeFuncNameKeyword = 421;
1021
- static readonly RULE_reservedKeyword = 422;
1022
- static readonly RULE_plBlock = 423;
1023
- static readonly RULE_labelDecl = 424;
1024
- static readonly RULE_declStatement = 425;
1025
- static readonly RULE_declCursorArg = 426;
1026
- static readonly RULE_assignOperator = 427;
1027
- static readonly RULE_procStmt = 428;
1028
- static readonly RULE_stmtPerform = 429;
1029
- static readonly RULE_stmtCall = 430;
1030
- static readonly RULE_stmtAssign = 431;
1031
- static readonly RULE_stmtGetdiag = 432;
1032
- static readonly RULE_getdiagListItem = 433;
1033
- static readonly RULE_assignVar = 434;
1034
- static readonly RULE_stmtIf = 435;
1035
- static readonly RULE_stmtElse = 436;
1036
- static readonly RULE_stmtCase = 437;
1037
- static readonly RULE_stmtLoopWhileFor = 438;
1038
- static readonly RULE_forControl = 439;
1039
- static readonly RULE_stmtForeach = 440;
1040
- static readonly RULE_stmtExit = 441;
1041
- static readonly RULE_stmtReturn = 442;
1042
- static readonly RULE_stmtRaise = 443;
1043
- static readonly RULE_optRaiseUsingElem = 444;
1044
- static readonly RULE_stmtAssert = 445;
1045
- static readonly RULE_loopBody = 446;
1046
- static readonly RULE_stmtExecsql = 447;
1047
- static readonly RULE_stmtDynexecute = 448;
1048
- static readonly RULE_optExecuteInto = 449;
1049
- static readonly RULE_stmtOpen = 450;
1050
- static readonly RULE_optOpenBoundListItem = 451;
1051
- static readonly RULE_stmtFetch = 452;
1052
- static readonly RULE_optFetchFirection = 453;
1053
- static readonly RULE_stmtMove = 454;
1054
- static readonly RULE_mergeStmt = 455;
1055
- static readonly RULE_dataSource = 456;
1056
- static readonly RULE_mergeWhenClause = 457;
1057
- static readonly RULE_mergeInsert = 458;
1058
- static readonly RULE_mergeUpdate = 459;
1059
- static readonly RULE_defaultValuesOrValues = 460;
1060
- static readonly RULE_exprofdefault = 461;
1061
- static readonly RULE_stmtClose = 462;
1062
- static readonly RULE_stmtNull = 463;
1063
- static readonly RULE_stmtCommitOrRollback = 464;
1064
- static readonly RULE_stmtSet = 465;
1065
- static readonly RULE_cursorVariable = 466;
1066
- static readonly RULE_exceptionSect = 467;
1067
- static readonly RULE_procCondition = 468;
1068
- static readonly RULE_anyIdentifier = 469;
1069
- static readonly RULE_sqlExpression = 470;
1001
+ static readonly RULE_columnName = 402;
1002
+ static readonly RULE_columnNamePath = 403;
1003
+ static readonly RULE_columnNameCreate = 404;
1004
+ static readonly RULE_functionNameCreate = 405;
1005
+ static readonly RULE_functionName = 406;
1006
+ static readonly RULE_stringConst = 407;
1007
+ static readonly RULE_anysconst = 408;
1008
+ static readonly RULE_signedConst = 409;
1009
+ static readonly RULE_roleSpec = 410;
1010
+ static readonly RULE_roleList = 411;
1011
+ static readonly RULE_colId = 412;
1012
+ static readonly RULE_typeFunctionName = 413;
1013
+ static readonly RULE_nonReservedWord = 414;
1014
+ static readonly RULE_colLabel = 415;
1015
+ static readonly RULE_identifier = 416;
1016
+ static readonly RULE_unreservedKeyword = 417;
1017
+ static readonly RULE_colNameKeyword = 418;
1018
+ static readonly RULE_typeFuncNameKeyword = 419;
1019
+ static readonly RULE_reservedKeyword = 420;
1020
+ static readonly RULE_plBlock = 421;
1021
+ static readonly RULE_labelDecl = 422;
1022
+ static readonly RULE_declStatement = 423;
1023
+ static readonly RULE_declCursorArg = 424;
1024
+ static readonly RULE_assignOperator = 425;
1025
+ static readonly RULE_procStmt = 426;
1026
+ static readonly RULE_stmtPerform = 427;
1027
+ static readonly RULE_stmtCall = 428;
1028
+ static readonly RULE_stmtAssign = 429;
1029
+ static readonly RULE_stmtGetdiag = 430;
1030
+ static readonly RULE_getdiagListItem = 431;
1031
+ static readonly RULE_assignVar = 432;
1032
+ static readonly RULE_stmtIf = 433;
1033
+ static readonly RULE_stmtElse = 434;
1034
+ static readonly RULE_stmtCase = 435;
1035
+ static readonly RULE_stmtLoopWhileFor = 436;
1036
+ static readonly RULE_forControl = 437;
1037
+ static readonly RULE_stmtForeach = 438;
1038
+ static readonly RULE_stmtExit = 439;
1039
+ static readonly RULE_stmtReturn = 440;
1040
+ static readonly RULE_stmtRaise = 441;
1041
+ static readonly RULE_optRaiseUsingElem = 442;
1042
+ static readonly RULE_stmtAssert = 443;
1043
+ static readonly RULE_loopBody = 444;
1044
+ static readonly RULE_stmtExecsql = 445;
1045
+ static readonly RULE_stmtDynexecute = 446;
1046
+ static readonly RULE_optExecuteInto = 447;
1047
+ static readonly RULE_stmtOpen = 448;
1048
+ static readonly RULE_optOpenBoundListItem = 449;
1049
+ static readonly RULE_stmtFetch = 450;
1050
+ static readonly RULE_optFetchFirection = 451;
1051
+ static readonly RULE_stmtMove = 452;
1052
+ static readonly RULE_mergeStmt = 453;
1053
+ static readonly RULE_dataSource = 454;
1054
+ static readonly RULE_mergeWhenClause = 455;
1055
+ static readonly RULE_mergeInsert = 456;
1056
+ static readonly RULE_mergeUpdate = 457;
1057
+ static readonly RULE_defaultValuesOrValues = 458;
1058
+ static readonly RULE_exprofdefault = 459;
1059
+ static readonly RULE_stmtClose = 460;
1060
+ static readonly RULE_stmtNull = 461;
1061
+ static readonly RULE_stmtCommitOrRollback = 462;
1062
+ static readonly RULE_stmtSet = 463;
1063
+ static readonly RULE_cursorVariable = 464;
1064
+ static readonly RULE_exceptionSect = 465;
1065
+ static readonly RULE_procCondition = 466;
1066
+ static readonly RULE_anyIdentifier = 467;
1067
+ static readonly RULE_sqlExpression = 468;
1070
1068
  static readonly literalNames: (string | null)[];
1071
1069
  static readonly symbolicNames: (string | null)[];
1072
1070
  static readonly ruleNames: string[];
@@ -1482,7 +1480,6 @@ export declare class PostgreSqlParser extends SQLParserBase {
1482
1480
  routineName(): RoutineNameContext;
1483
1481
  procedureName(): ProcedureNameContext;
1484
1482
  procedureNameCreate(): ProcedureNameCreateContext;
1485
- emptyColumn(): EmptyColumnContext;
1486
1483
  columnName(): ColumnNameContext;
1487
1484
  columnNamePath(): ColumnNamePathContext;
1488
1485
  columnNameCreate(): ColumnNameCreateContext;
@@ -1497,7 +1494,6 @@ export declare class PostgreSqlParser extends SQLParserBase {
1497
1494
  typeFunctionName(): TypeFunctionNameContext;
1498
1495
  nonReservedWord(): NonReservedWordContext;
1499
1496
  colLabel(): ColLabelContext;
1500
- indirectionLabel(): IndirectionLabelContext;
1501
1497
  identifier(): IdentifierContext;
1502
1498
  unreservedKeyword(): UnreservedKeywordContext;
1503
1499
  colNameKeyword(): ColNameKeywordContext;
@@ -1555,7 +1551,7 @@ export declare class PostgreSqlParser extends SQLParserBase {
1555
1551
  private booleanExpression_sempred;
1556
1552
  private valueExpression_sempred;
1557
1553
  private primaryExpression_sempred;
1558
- private targetEl_sempred;
1554
+ private columnName_sempred;
1559
1555
  static readonly _serializedATN: number[];
1560
1556
  private static __ATN;
1561
1557
  static get _ATN(): antlr.ATN;
@@ -7918,7 +7914,7 @@ export declare class When_clauseContext extends antlr.ParserRuleContext {
7918
7914
  export declare class IndirectionElContext extends antlr.ParserRuleContext {
7919
7915
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
7920
7916
  DOT(): antlr.TerminalNode | null;
7921
- indirectionLabel(): IndirectionLabelContext | null;
7917
+ colLabel(): ColLabelContext | null;
7922
7918
  STAR(): antlr.TerminalNode | null;
7923
7919
  OPEN_BRACKET(): antlr.TerminalNode | null;
7924
7920
  CLOSE_BRACKET(): antlr.TerminalNode | null;
@@ -7964,22 +7960,6 @@ export declare class TargetElContext extends antlr.ParserRuleContext {
7964
7960
  get ruleIndex(): number;
7965
7961
  copyFrom(ctx: TargetElContext): void;
7966
7962
  }
7967
- export declare class Target_emptyContext extends TargetElContext {
7968
- constructor(ctx: TargetElContext);
7969
- emptyColumn(): EmptyColumnContext;
7970
- enterRule(listener: PostgreSqlParserListener): void;
7971
- exitRule(listener: PostgreSqlParserListener): void;
7972
- accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
7973
- }
7974
- export declare class Target_dot_emptyContext extends TargetElContext {
7975
- constructor(ctx: TargetElContext);
7976
- colId(): ColIdContext;
7977
- DOT(): antlr.TerminalNode;
7978
- emptyColumn(): EmptyColumnContext;
7979
- enterRule(listener: PostgreSqlParserListener): void;
7980
- exitRule(listener: PostgreSqlParserListener): void;
7981
- accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
7982
- }
7983
7963
  export declare class Target_starContext extends TargetElContext {
7984
7964
  constructor(ctx: TargetElContext);
7985
7965
  tableAllColumns(): TableAllColumnsContext;
@@ -8193,17 +8173,10 @@ export declare class ProcedureNameCreateContext extends antlr.ParserRuleContext
8193
8173
  exitRule(listener: PostgreSqlParserListener): void;
8194
8174
  accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
8195
8175
  }
8196
- export declare class EmptyColumnContext extends antlr.ParserRuleContext {
8197
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
8198
- get ruleIndex(): number;
8199
- enterRule(listener: PostgreSqlParserListener): void;
8200
- exitRule(listener: PostgreSqlParserListener): void;
8201
- accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
8202
- }
8203
8176
  export declare class ColumnNameContext extends antlr.ParserRuleContext {
8204
8177
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
8205
- colId(): ColIdContext;
8206
- optIndirection(): OptIndirectionContext;
8178
+ colId(): ColIdContext | null;
8179
+ optIndirection(): OptIndirectionContext | null;
8207
8180
  get ruleIndex(): number;
8208
8181
  enterRule(listener: PostgreSqlParserListener): void;
8209
8182
  exitRule(listener: PostgreSqlParserListener): void;
@@ -8342,16 +8315,6 @@ export declare class ColLabelContext extends antlr.ParserRuleContext {
8342
8315
  exitRule(listener: PostgreSqlParserListener): void;
8343
8316
  accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
8344
8317
  }
8345
- export declare class IndirectionLabelContext extends antlr.ParserRuleContext {
8346
- constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
8347
- identifier(): IdentifierContext | null;
8348
- colNameKeyword(): ColNameKeywordContext | null;
8349
- typeFuncNameKeyword(): TypeFuncNameKeywordContext | null;
8350
- get ruleIndex(): number;
8351
- enterRule(listener: PostgreSqlParserListener): void;
8352
- exitRule(listener: PostgreSqlParserListener): void;
8353
- accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
8354
- }
8355
8318
  export declare class IdentifierContext extends antlr.ParserRuleContext {
8356
8319
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
8357
8320
  Identifier(): antlr.TerminalNode | null;