dt-sql-parser 4.0.0-beta.2.2 → 4.0.0-beta.3.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +7 -2
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +8 -2
  5. package/dist/index.js.map +1 -1
  6. package/dist/lib/flinksql/FlinkSqlLexer.d.ts +304 -297
  7. package/dist/lib/flinksql/FlinkSqlLexer.js +1844 -1759
  8. package/dist/lib/flinksql/FlinkSqlLexer.js.map +1 -1
  9. package/dist/lib/flinksql/FlinkSqlParser.d.ts +508 -165
  10. package/dist/lib/flinksql/FlinkSqlParser.js +4281 -2235
  11. package/dist/lib/flinksql/FlinkSqlParser.js.map +1 -1
  12. package/dist/lib/flinksql/FlinkSqlParserListener.d.ts +40 -4
  13. package/dist/lib/flinksql/FlinkSqlParserListener.js +115 -1
  14. package/dist/lib/flinksql/FlinkSqlParserListener.js.map +1 -1
  15. package/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts +21 -4
  16. package/dist/lib/flinksql/FlinkSqlParserVisitor.js +77 -1
  17. package/dist/lib/flinksql/FlinkSqlParserVisitor.js.map +1 -1
  18. package/dist/lib/generic/SqlLexer.d.ts +1054 -1056
  19. package/dist/lib/generic/SqlParser.d.ts +590 -591
  20. package/dist/lib/generic/SqlParserListener.d.ts +2 -4
  21. package/dist/lib/generic/SqlParserVisitor.d.ts +2 -4
  22. package/dist/lib/hive/HiveSql.d.ts +231 -232
  23. package/dist/lib/hive/HiveSqlLexer.d.ts +380 -382
  24. package/dist/lib/hive/HiveSqlListener.d.ts +2 -4
  25. package/dist/lib/hive/HiveSqlVisitor.d.ts +2 -4
  26. package/dist/lib/pgsql/PostgreSQLLexer.d.ts +588 -0
  27. package/dist/lib/pgsql/PostgreSQLLexer.js +4830 -0
  28. package/dist/lib/pgsql/PostgreSQLLexer.js.map +1 -0
  29. package/dist/lib/pgsql/PostgreSQLParser.d.ts +15498 -0
  30. package/dist/lib/pgsql/PostgreSQLParser.js +117176 -0
  31. package/dist/lib/pgsql/PostgreSQLParser.js.map +1 -0
  32. package/dist/lib/pgsql/PostgreSQLParserListener.d.ts +1624 -0
  33. package/dist/lib/pgsql/PostgreSQLParserListener.js +4872 -0
  34. package/dist/lib/pgsql/PostgreSQLParserListener.js.map +1 -0
  35. package/dist/lib/pgsql/PostgreSQLParserVisitor.d.ts +814 -0
  36. package/dist/lib/pgsql/PostgreSQLParserVisitor.js +3252 -0
  37. package/dist/lib/pgsql/PostgreSQLParserVisitor.js.map +1 -0
  38. package/dist/lib/pgsql/base/PostgreSQLLexerBase.d.ts +14 -0
  39. package/dist/lib/pgsql/base/PostgreSQLLexerBase.js +89 -0
  40. package/dist/lib/pgsql/base/PostgreSQLLexerBase.js.map +1 -0
  41. package/dist/lib/pgsql/base/PostgreSQLParserBase.d.ts +13 -0
  42. package/dist/lib/pgsql/base/PostgreSQLParserBase.js +140 -0
  43. package/dist/lib/pgsql/base/PostgreSQLParserBase.js.map +1 -0
  44. package/dist/lib/plsql/PlSqlBaseLexer.d.ts +2 -4
  45. package/dist/lib/plsql/PlSqlBaseParser.d.ts +2 -4
  46. package/dist/lib/plsql/PlSqlLexer.d.ts +2257 -2259
  47. package/dist/lib/plsql/PlSqlParser.d.ts +757 -758
  48. package/dist/lib/plsql/PlSqlParserListener.d.ts +2 -4
  49. package/dist/lib/plsql/PlSqlParserVisitor.d.ts +2 -4
  50. package/dist/lib/spark/SparkSqlLexer.d.ts +299 -301
  51. package/dist/lib/spark/SparkSqlListener.d.ts +2 -4
  52. package/dist/lib/spark/SparkSqlParser.d.ts +293 -294
  53. package/dist/lib/spark/SparkSqlVisitor.d.ts +2 -4
  54. package/dist/parser/common/parserErrorListener.d.ts +1 -1
  55. package/dist/parser/index.d.ts +1 -0
  56. package/dist/parser/index.js +3 -0
  57. package/dist/parser/index.js.map +1 -1
  58. package/dist/parser/pgsql.d.ts +6 -0
  59. package/dist/parser/pgsql.js +19 -0
  60. package/dist/parser/pgsql.js.map +1 -0
  61. package/dist/utils/index.js +24 -16
  62. package/dist/utils/index.js.map +1 -1
  63. package/package.json +2 -2
  64. package/.vscode/launch.json +0 -7
  65. package/.vscode/settings.json +0 -14
  66. package/build/antlr-4.8-complete.jar +0 -0
  67. package/build/antlr4.js +0 -34
@@ -1,6 +1,5 @@
1
- export var FlinkSqlParser: typeof FlinkSqlParser;
2
- declare function FlinkSqlParser(input: any): any;
3
- declare class FlinkSqlParser {
1
+ export function FlinkSqlParser(input: any): this;
2
+ export class FlinkSqlParser {
4
3
  constructor(input: any);
5
4
  _interp: any;
6
5
  ruleNames: string[];
@@ -22,19 +21,32 @@ declare class FlinkSqlParser {
22
21
  showStatememt(): ShowStatememtContext;
23
22
  createTable(): CreateTableContext;
24
23
  columnOptionDefinition(): ColumnOptionDefinitionContext;
24
+ physicalColumnDefinition(): PhysicalColumnDefinitionContext;
25
25
  columnName(): ColumnNameContext;
26
26
  columnNameList(): ColumnNameListContext;
27
27
  columnType(): ColumnTypeContext;
28
28
  lengthOneDimension(): LengthOneDimensionContext;
29
+ lengthTwoOptionalDimension(): LengthTwoOptionalDimensionContext;
30
+ lengthTwoStringDimension(): LengthTwoStringDimensionContext;
31
+ lengthOneTypeDimension(): LengthOneTypeDimensionContext;
32
+ mapTypeDimension(): MapTypeDimensionContext;
33
+ rowTypeDimension(): RowTypeDimensionContext;
34
+ columnConstraint(): ColumnConstraintContext;
29
35
  commentSpec(): CommentSpecContext;
36
+ metadataColumnDefinition(): MetadataColumnDefinitionContext;
37
+ metadataKey(): MetadataKeyContext;
38
+ computedColumnDefinition(): ComputedColumnDefinitionContext;
39
+ computedColumnExpression(): ComputedColumnExpressionContext;
30
40
  watermarkDefinition(): WatermarkDefinitionContext;
31
41
  tableConstraint(): TableConstraintContext;
42
+ constraintName(): ConstraintNameContext;
32
43
  selfDefinitionClause(): SelfDefinitionClauseContext;
33
44
  partitionDefinition(): PartitionDefinitionContext;
34
45
  transformList(): TransformListContext;
35
46
  transform(): TransformContext;
36
47
  transformArgument(): TransformArgumentContext;
37
48
  likeDefinition(): LikeDefinitionContext;
49
+ sourceTable(): SourceTableContext;
38
50
  likeOption(): LikeOptionContext;
39
51
  createCatalog(): CreateCatalogContext;
40
52
  createDatabase(): CreateDatabaseContext;
@@ -55,6 +67,8 @@ declare class FlinkSqlParser {
55
67
  valuesRowDefinition(): ValuesRowDefinitionContext;
56
68
  queryStatement(_p: any): QueryStatementContext;
57
69
  valuesCaluse(): ValuesCaluseContext;
70
+ withItem(): WithItemContext;
71
+ withItemName(): WithItemNameContext;
58
72
  selectStatement(): SelectStatementContext;
59
73
  selectClause(): SelectClauseContext;
60
74
  projectItemDefinition(): ProjectItemDefinitionContext;
@@ -62,6 +76,9 @@ declare class FlinkSqlParser {
62
76
  tableExpression(_p: any): TableExpressionContext;
63
77
  tableReference(): TableReferenceContext;
64
78
  tablePrimary(): TablePrimaryContext;
79
+ tablePath(): TablePathContext;
80
+ systemTimePeriod(): SystemTimePeriodContext;
81
+ dateTimeExpression(): DateTimeExpressionContext;
65
82
  joinCondition(): JoinConditionContext;
66
83
  whereClause(): WhereClauseContext;
67
84
  groupByClause(): GroupByClauseContext;
@@ -84,6 +101,7 @@ declare class FlinkSqlParser {
84
101
  primaryExpression(_p: any): PrimaryExpressionContext;
85
102
  functionName(): FunctionNameContext;
86
103
  dereferenceDefinition(): DereferenceDefinitionContext;
104
+ correlationName(): CorrelationNameContext;
87
105
  qualifiedName(): QualifiedNameContext;
88
106
  interval(): IntervalContext;
89
107
  errorCapturingMultiUnitsInterval(): ErrorCapturingMultiUnitsIntervalContext;
@@ -133,7 +151,7 @@ declare class FlinkSqlParser {
133
151
  valueExpression_sempred(localctx: any, predIndex: any): any;
134
152
  primaryExpression_sempred(localctx: any, predIndex: any): any;
135
153
  }
136
- declare namespace FlinkSqlParser {
154
+ export namespace FlinkSqlParser {
137
155
  export const EOF: number;
138
156
  export const SPACE: number;
139
157
  export const COMMENT_INPUT: number;
@@ -356,8 +374,10 @@ declare namespace FlinkSqlParser {
356
374
  export const SYSTEM: number;
357
375
  export const INCLUDING: number;
358
376
  export const EXCLUDING: number;
377
+ export const OVERWRITING: number;
359
378
  export const CONSTRAINTS: number;
360
379
  export const GENERATED: number;
380
+ export const WATERMARKS: number;
361
381
  export const CATALOG: number;
362
382
  export const LANGUAGE: number;
363
383
  export const CATALOGS: number;
@@ -366,6 +386,9 @@ declare namespace FlinkSqlParser {
366
386
  export const KEY: number;
367
387
  export const PERIOD: number;
368
388
  export const SYSTEM_TIME: number;
389
+ export const ENFORCED: number;
390
+ export const METADATA: number;
391
+ export const VIRTUAL: number;
369
392
  export const STRING: number;
370
393
  export const ARRAY: number;
371
394
  export const MAP: number;
@@ -375,15 +398,19 @@ declare namespace FlinkSqlParser {
375
398
  export const VARBINARY: number;
376
399
  export const BYTES: number;
377
400
  export const DECIMAL: number;
401
+ export const DEC: number;
402
+ export const NUMERIC: number;
378
403
  export const TINYINT: number;
379
404
  export const SMALLINT: number;
380
405
  export const INT: number;
406
+ export const INTEGER: number;
381
407
  export const BIGINT: number;
382
408
  export const FLOAT: number;
383
409
  export const DOUBLE: number;
384
410
  export const DATE: number;
385
411
  export const TIME: number;
386
412
  export const TIMESTAMP: number;
413
+ export const TIMESTAMP_LTZ: number;
387
414
  export const MULTISET: number;
388
415
  export const BOOLEAN: number;
389
416
  export const RAW: number;
@@ -439,19 +466,32 @@ declare namespace FlinkSqlParser {
439
466
  export const RULE_showStatememt: number;
440
467
  export const RULE_createTable: number;
441
468
  export const RULE_columnOptionDefinition: number;
469
+ export const RULE_physicalColumnDefinition: number;
442
470
  export const RULE_columnName: number;
443
471
  export const RULE_columnNameList: number;
444
472
  export const RULE_columnType: number;
445
473
  export const RULE_lengthOneDimension: number;
474
+ export const RULE_lengthTwoOptionalDimension: number;
475
+ export const RULE_lengthTwoStringDimension: number;
476
+ export const RULE_lengthOneTypeDimension: number;
477
+ export const RULE_mapTypeDimension: number;
478
+ export const RULE_rowTypeDimension: number;
479
+ export const RULE_columnConstraint: number;
446
480
  export const RULE_commentSpec: number;
481
+ export const RULE_metadataColumnDefinition: number;
482
+ export const RULE_metadataKey: number;
483
+ export const RULE_computedColumnDefinition: number;
484
+ export const RULE_computedColumnExpression: number;
447
485
  export const RULE_watermarkDefinition: number;
448
486
  export const RULE_tableConstraint: number;
487
+ export const RULE_constraintName: number;
449
488
  export const RULE_selfDefinitionClause: number;
450
489
  export const RULE_partitionDefinition: number;
451
490
  export const RULE_transformList: number;
452
491
  export const RULE_transform: number;
453
492
  export const RULE_transformArgument: number;
454
493
  export const RULE_likeDefinition: number;
494
+ export const RULE_sourceTable: number;
455
495
  export const RULE_likeOption: number;
456
496
  export const RULE_createCatalog: number;
457
497
  export const RULE_createDatabase: number;
@@ -472,6 +512,8 @@ declare namespace FlinkSqlParser {
472
512
  export const RULE_valuesRowDefinition: number;
473
513
  export const RULE_queryStatement: number;
474
514
  export const RULE_valuesCaluse: number;
515
+ export const RULE_withItem: number;
516
+ export const RULE_withItemName: number;
475
517
  export const RULE_selectStatement: number;
476
518
  export const RULE_selectClause: number;
477
519
  export const RULE_projectItemDefinition: number;
@@ -479,6 +521,9 @@ declare namespace FlinkSqlParser {
479
521
  export const RULE_tableExpression: number;
480
522
  export const RULE_tableReference: number;
481
523
  export const RULE_tablePrimary: number;
524
+ export const RULE_tablePath: number;
525
+ export const RULE_systemTimePeriod: number;
526
+ export const RULE_dateTimeExpression: number;
482
527
  export const RULE_joinCondition: number;
483
528
  export const RULE_whereClause: number;
484
529
  export const RULE_groupByClause: number;
@@ -500,6 +545,7 @@ declare namespace FlinkSqlParser {
500
545
  export const RULE_primaryExpression: number;
501
546
  export const RULE_functionName: number;
502
547
  export const RULE_dereferenceDefinition: number;
548
+ export const RULE_correlationName: number;
503
549
  export const RULE_qualifiedName: number;
504
550
  export const RULE_interval: number;
505
551
  export const RULE_errorCapturingMultiUnitsInterval: number;
@@ -555,13 +601,25 @@ declare namespace FlinkSqlParser {
555
601
  export { ShowStatememtContext };
556
602
  export { CreateTableContext };
557
603
  export { ColumnOptionDefinitionContext };
604
+ export { PhysicalColumnDefinitionContext };
558
605
  export { ColumnNameContext };
559
606
  export { ColumnNameListContext };
560
607
  export { ColumnTypeContext };
561
608
  export { LengthOneDimensionContext };
609
+ export { LengthTwoOptionalDimensionContext };
610
+ export { LengthTwoStringDimensionContext };
611
+ export { LengthOneTypeDimensionContext };
612
+ export { MapTypeDimensionContext };
613
+ export { RowTypeDimensionContext };
614
+ export { ColumnConstraintContext };
562
615
  export { CommentSpecContext };
616
+ export { MetadataColumnDefinitionContext };
617
+ export { MetadataKeyContext };
618
+ export { ComputedColumnDefinitionContext };
619
+ export { ComputedColumnExpressionContext };
563
620
  export { WatermarkDefinitionContext };
564
621
  export { TableConstraintContext };
622
+ export { ConstraintNameContext };
565
623
  export { SelfDefinitionClauseContext };
566
624
  export { PartitionDefinitionContext };
567
625
  export { TransformListContext };
@@ -570,6 +628,7 @@ declare namespace FlinkSqlParser {
570
628
  export { TransformContext };
571
629
  export { TransformArgumentContext };
572
630
  export { LikeDefinitionContext };
631
+ export { SourceTableContext };
573
632
  export { LikeOptionContext };
574
633
  export { CreateCatalogContext };
575
634
  export { CreateDatabaseContext };
@@ -589,12 +648,17 @@ declare namespace FlinkSqlParser {
589
648
  export { ValuesDefinitionContext };
590
649
  export { ValuesRowDefinitionContext };
591
650
  export { ValuesCaluseContext };
651
+ export { WithItemContext };
652
+ export { WithItemNameContext };
592
653
  export { SelectStatementContext };
593
654
  export { SelectClauseContext };
594
655
  export { ProjectItemDefinitionContext };
595
656
  export { FromClauseContext };
596
657
  export { TableReferenceContext };
597
658
  export { TablePrimaryContext };
659
+ export { TablePathContext };
660
+ export { SystemTimePeriodContext };
661
+ export { DateTimeExpressionContext };
598
662
  export { JoinConditionContext };
599
663
  export { WhereClauseContext };
600
664
  export { GroupByClauseContext };
@@ -635,6 +699,7 @@ declare namespace FlinkSqlParser {
635
699
  export { FirstContext };
636
700
  export { FunctionNameContext };
637
701
  export { DereferenceDefinitionContext };
702
+ export { CorrelationNameContext };
638
703
  export { QualifiedNameContext };
639
704
  export { IntervalContext };
640
705
  export { ErrorCapturingMultiUnitsIntervalContext };
@@ -684,7 +749,7 @@ declare namespace FlinkSqlParser {
684
749
  export { StrictNonReservedContext };
685
750
  export { NonReservedContext };
686
751
  }
687
- declare function ProgramContext(parser: any, parent: any, invokingState: any): any;
752
+ declare function ProgramContext(parser: any, parent: any, invokingState: any): this;
688
753
  declare class ProgramContext {
689
754
  constructor(parser: any, parent: any, invokingState: any);
690
755
  parser: any;
@@ -696,7 +761,7 @@ declare class ProgramContext {
696
761
  exitRule(listener: any): void;
697
762
  accept(visitor: any): any;
698
763
  }
699
- declare function StatementContext(parser: any, parent: any, invokingState: any): any;
764
+ declare function StatementContext(parser: any, parent: any, invokingState: any): this;
700
765
  declare class StatementContext {
701
766
  constructor(parser: any, parent: any, invokingState: any);
702
767
  parser: any;
@@ -708,7 +773,7 @@ declare class StatementContext {
708
773
  exitRule(listener: any): void;
709
774
  accept(visitor: any): any;
710
775
  }
711
- declare function SqlStatementsContext(parser: any, parent: any, invokingState: any): any;
776
+ declare function SqlStatementsContext(parser: any, parent: any, invokingState: any): this;
712
777
  declare class SqlStatementsContext {
713
778
  constructor(parser: any, parent: any, invokingState: any);
714
779
  parser: any;
@@ -721,7 +786,7 @@ declare class SqlStatementsContext {
721
786
  exitRule(listener: any): void;
722
787
  accept(visitor: any): any;
723
788
  }
724
- declare function SqlStatementContext(parser: any, parent: any, invokingState: any): any;
789
+ declare function SqlStatementContext(parser: any, parent: any, invokingState: any): this;
725
790
  declare class SqlStatementContext {
726
791
  constructor(parser: any, parent: any, invokingState: any);
727
792
  parser: any;
@@ -737,7 +802,7 @@ declare class SqlStatementContext {
737
802
  exitRule(listener: any): void;
738
803
  accept(visitor: any): any;
739
804
  }
740
- declare function EmptyStatementContext(parser: any, parent: any, invokingState: any): any;
805
+ declare function EmptyStatementContext(parser: any, parent: any, invokingState: any): this;
741
806
  declare class EmptyStatementContext {
742
807
  constructor(parser: any, parent: any, invokingState: any);
743
808
  parser: any;
@@ -748,7 +813,7 @@ declare class EmptyStatementContext {
748
813
  exitRule(listener: any): void;
749
814
  accept(visitor: any): any;
750
815
  }
751
- declare function DdlStatementContext(parser: any, parent: any, invokingState: any): any;
816
+ declare function DdlStatementContext(parser: any, parent: any, invokingState: any): this;
752
817
  declare class DdlStatementContext {
753
818
  constructor(parser: any, parent: any, invokingState: any);
754
819
  parser: any;
@@ -770,7 +835,7 @@ declare class DdlStatementContext {
770
835
  exitRule(listener: any): void;
771
836
  accept(visitor: any): any;
772
837
  }
773
- declare function DmlStatementContext(parser: any, parent: any, invokingState: any): any;
838
+ declare function DmlStatementContext(parser: any, parent: any, invokingState: any): this;
774
839
  declare class DmlStatementContext {
775
840
  constructor(parser: any, parent: any, invokingState: any);
776
841
  parser: any;
@@ -782,7 +847,7 @@ declare class DmlStatementContext {
782
847
  exitRule(listener: any): void;
783
848
  accept(visitor: any): any;
784
849
  }
785
- declare function DescribeStatementContext(parser: any, parent: any, invokingState: any): any;
850
+ declare function DescribeStatementContext(parser: any, parent: any, invokingState: any): this;
786
851
  declare class DescribeStatementContext {
787
852
  constructor(parser: any, parent: any, invokingState: any);
788
853
  parser: any;
@@ -794,7 +859,7 @@ declare class DescribeStatementContext {
794
859
  exitRule(listener: any): void;
795
860
  accept(visitor: any): any;
796
861
  }
797
- declare function ExplainStatementContext(parser: any, parent: any, invokingState: any): any;
862
+ declare function ExplainStatementContext(parser: any, parent: any, invokingState: any): this;
798
863
  declare class ExplainStatementContext {
799
864
  constructor(parser: any, parent: any, invokingState: any);
800
865
  parser: any;
@@ -808,7 +873,7 @@ declare class ExplainStatementContext {
808
873
  exitRule(listener: any): void;
809
874
  accept(visitor: any): any;
810
875
  }
811
- declare function UseStatementContext(parser: any, parent: any, invokingState: any): any;
876
+ declare function UseStatementContext(parser: any, parent: any, invokingState: any): this;
812
877
  declare class UseStatementContext {
813
878
  constructor(parser: any, parent: any, invokingState: any);
814
879
  parser: any;
@@ -821,7 +886,7 @@ declare class UseStatementContext {
821
886
  exitRule(listener: any): void;
822
887
  accept(visitor: any): any;
823
888
  }
824
- declare function ShowStatememtContext(parser: any, parent: any, invokingState: any): any;
889
+ declare function ShowStatememtContext(parser: any, parent: any, invokingState: any): this;
825
890
  declare class ShowStatememtContext {
826
891
  constructor(parser: any, parent: any, invokingState: any);
827
892
  parser: any;
@@ -837,7 +902,7 @@ declare class ShowStatememtContext {
837
902
  exitRule(listener: any): void;
838
903
  accept(visitor: any): any;
839
904
  }
840
- declare function CreateTableContext(parser: any, parent: any, invokingState: any): any;
905
+ declare function CreateTableContext(parser: any, parent: any, invokingState: any): this;
841
906
  declare class CreateTableContext {
842
907
  constructor(parser: any, parent: any, invokingState: any);
843
908
  parser: any;
@@ -845,11 +910,12 @@ declare class CreateTableContext {
845
910
  constructor: typeof CreateTableContext;
846
911
  CREATE(): any;
847
912
  TABLE(): any;
848
- uid(): any;
913
+ sourceTable(): any;
849
914
  LR_BRACKET(): any;
850
915
  columnOptionDefinition(i: any): any;
851
916
  RR_BRACKET(): any;
852
917
  withOption(): any;
918
+ ifNotExists(): any;
853
919
  COMMA(i: any): any;
854
920
  watermarkDefinition(): any;
855
921
  tableConstraint(): any;
@@ -861,21 +927,34 @@ declare class CreateTableContext {
861
927
  exitRule(listener: any): void;
862
928
  accept(visitor: any): any;
863
929
  }
864
- declare function ColumnOptionDefinitionContext(parser: any, parent: any, invokingState: any): any;
930
+ declare function ColumnOptionDefinitionContext(parser: any, parent: any, invokingState: any): this;
865
931
  declare class ColumnOptionDefinitionContext {
866
932
  constructor(parser: any, parent: any, invokingState: any);
867
933
  parser: any;
868
934
  ruleIndex: number;
869
935
  constructor: typeof ColumnOptionDefinitionContext;
936
+ physicalColumnDefinition(): any;
937
+ metadataColumnDefinition(): any;
938
+ computedColumnDefinition(): any;
939
+ enterRule(listener: any): void;
940
+ exitRule(listener: any): void;
941
+ accept(visitor: any): any;
942
+ }
943
+ declare function PhysicalColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
944
+ declare class PhysicalColumnDefinitionContext {
945
+ constructor(parser: any, parent: any, invokingState: any);
946
+ parser: any;
947
+ ruleIndex: number;
948
+ constructor: typeof PhysicalColumnDefinitionContext;
870
949
  columnName(): any;
871
950
  columnType(): any;
872
- lengthOneDimension(): any;
873
- columnAlias(): any;
951
+ columnConstraint(): any;
952
+ commentSpec(): any;
874
953
  enterRule(listener: any): void;
875
954
  exitRule(listener: any): void;
876
955
  accept(visitor: any): any;
877
956
  }
878
- declare function ColumnNameContext(parser: any, parent: any, invokingState: any): any;
957
+ declare function ColumnNameContext(parser: any, parent: any, invokingState: any): this;
879
958
  declare class ColumnNameContext {
880
959
  constructor(parser: any, parent: any, invokingState: any);
881
960
  parser: any;
@@ -887,7 +966,7 @@ declare class ColumnNameContext {
887
966
  exitRule(listener: any): void;
888
967
  accept(visitor: any): any;
889
968
  }
890
- declare function ColumnNameListContext(parser: any, parent: any, invokingState: any): any;
969
+ declare function ColumnNameListContext(parser: any, parent: any, invokingState: any): this;
891
970
  declare class ColumnNameListContext {
892
971
  constructor(parser: any, parent: any, invokingState: any);
893
972
  parser: any;
@@ -899,42 +978,53 @@ declare class ColumnNameListContext {
899
978
  exitRule(listener: any): void;
900
979
  accept(visitor: any): any;
901
980
  }
902
- declare function ColumnTypeContext(parser: any, parent: any, invokingState: any): any;
981
+ declare function ColumnTypeContext(parser: any, parent: any, invokingState: any): this;
903
982
  declare class ColumnTypeContext {
904
983
  constructor(parser: any, parent: any, invokingState: any);
905
984
  parser: any;
906
985
  ruleIndex: number;
907
986
  typeName: any;
987
+ type: any;
908
988
  constructor: typeof ColumnTypeContext;
989
+ DATE(): any;
990
+ BOOLEAN(): any;
991
+ NULL(): any;
909
992
  CHAR(): any;
910
993
  VARCHAR(): any;
911
994
  STRING(): any;
912
995
  BINARY(): any;
913
996
  VARBINARY(): any;
914
997
  BYTES(): any;
915
- DECIMAL(): any;
916
998
  TINYINT(): any;
917
999
  SMALLINT(): any;
918
1000
  INT(): any;
1001
+ INTEGER(): any;
919
1002
  BIGINT(): any;
920
- FLOAT(): any;
921
- DOUBLE(): any;
922
- DATE(): any;
923
1003
  TIME(): any;
924
1004
  TIMESTAMP(): any;
1005
+ TIMESTAMP_LTZ(): any;
1006
+ DATETIME(): any;
1007
+ lengthOneDimension(): any;
1008
+ DECIMAL(): any;
1009
+ DEC(): any;
1010
+ NUMERIC(): any;
1011
+ FLOAT(): any;
1012
+ DOUBLE(): any;
1013
+ lengthTwoOptionalDimension(): any;
925
1014
  ARRAY(): any;
926
- MAP(): any;
927
1015
  MULTISET(): any;
1016
+ lengthOneTypeDimension(): any;
1017
+ MAP(): any;
1018
+ mapTypeDimension(): any;
928
1019
  ROW(): any;
929
- BOOLEAN(): any;
1020
+ rowTypeDimension(): any;
930
1021
  RAW(): any;
931
- NULL(): any;
932
- DATETIME(): any;
1022
+ lengthTwoStringDimension(): any;
933
1023
  enterRule(listener: any): void;
934
1024
  exitRule(listener: any): void;
935
1025
  accept(visitor: any): any;
936
1026
  }
937
- declare function LengthOneDimensionContext(parser: any, parent: any, invokingState: any): any;
1027
+ declare function LengthOneDimensionContext(parser: any, parent: any, invokingState: any): this;
938
1028
  declare class LengthOneDimensionContext {
939
1029
  constructor(parser: any, parent: any, invokingState: any);
940
1030
  parser: any;
@@ -947,7 +1037,93 @@ declare class LengthOneDimensionContext {
947
1037
  exitRule(listener: any): void;
948
1038
  accept(visitor: any): any;
949
1039
  }
950
- declare function CommentSpecContext(parser: any, parent: any, invokingState: any): any;
1040
+ declare function LengthTwoOptionalDimensionContext(parser: any, parent: any, invokingState: any): this;
1041
+ declare class LengthTwoOptionalDimensionContext {
1042
+ constructor(parser: any, parent: any, invokingState: any);
1043
+ parser: any;
1044
+ ruleIndex: number;
1045
+ constructor: typeof LengthTwoOptionalDimensionContext;
1046
+ LR_BRACKET(): any;
1047
+ decimalLiteral(i: any): any;
1048
+ RR_BRACKET(): any;
1049
+ COMMA(): any;
1050
+ enterRule(listener: any): void;
1051
+ exitRule(listener: any): void;
1052
+ accept(visitor: any): any;
1053
+ }
1054
+ declare function LengthTwoStringDimensionContext(parser: any, parent: any, invokingState: any): this;
1055
+ declare class LengthTwoStringDimensionContext {
1056
+ constructor(parser: any, parent: any, invokingState: any);
1057
+ parser: any;
1058
+ ruleIndex: number;
1059
+ constructor: typeof LengthTwoStringDimensionContext;
1060
+ LR_BRACKET(): any;
1061
+ stringLiteral(i: any): any;
1062
+ RR_BRACKET(): any;
1063
+ COMMA(): any;
1064
+ enterRule(listener: any): void;
1065
+ exitRule(listener: any): void;
1066
+ accept(visitor: any): any;
1067
+ }
1068
+ declare function LengthOneTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1069
+ declare class LengthOneTypeDimensionContext {
1070
+ constructor(parser: any, parent: any, invokingState: any);
1071
+ parser: any;
1072
+ ruleIndex: number;
1073
+ constructor: typeof LengthOneTypeDimensionContext;
1074
+ LESS_SYMBOL(): any;
1075
+ columnType(): any;
1076
+ GREATER_SYMBOL(): any;
1077
+ enterRule(listener: any): void;
1078
+ exitRule(listener: any): void;
1079
+ accept(visitor: any): any;
1080
+ }
1081
+ declare function MapTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1082
+ declare class MapTypeDimensionContext {
1083
+ constructor(parser: any, parent: any, invokingState: any);
1084
+ parser: any;
1085
+ ruleIndex: number;
1086
+ constructor: typeof MapTypeDimensionContext;
1087
+ LESS_SYMBOL(): any;
1088
+ columnType(i: any): any;
1089
+ GREATER_SYMBOL(): any;
1090
+ COMMA(): any;
1091
+ enterRule(listener: any): void;
1092
+ exitRule(listener: any): void;
1093
+ accept(visitor: any): any;
1094
+ }
1095
+ declare function RowTypeDimensionContext(parser: any, parent: any, invokingState: any): this;
1096
+ declare class RowTypeDimensionContext {
1097
+ constructor(parser: any, parent: any, invokingState: any);
1098
+ parser: any;
1099
+ ruleIndex: number;
1100
+ constructor: typeof RowTypeDimensionContext;
1101
+ LESS_SYMBOL(): any;
1102
+ columnName(i: any): any;
1103
+ columnType(i: any): any;
1104
+ GREATER_SYMBOL(): any;
1105
+ COMMA(i: any): any;
1106
+ enterRule(listener: any): void;
1107
+ exitRule(listener: any): void;
1108
+ accept(visitor: any): any;
1109
+ }
1110
+ declare function ColumnConstraintContext(parser: any, parent: any, invokingState: any): this;
1111
+ declare class ColumnConstraintContext {
1112
+ constructor(parser: any, parent: any, invokingState: any);
1113
+ parser: any;
1114
+ ruleIndex: number;
1115
+ constructor: typeof ColumnConstraintContext;
1116
+ PRIMARY(): any;
1117
+ KEY(): any;
1118
+ CONSTRAINT(): any;
1119
+ constraintName(): any;
1120
+ NOT(): any;
1121
+ ENFORCED(): any;
1122
+ enterRule(listener: any): void;
1123
+ exitRule(listener: any): void;
1124
+ accept(visitor: any): any;
1125
+ }
1126
+ declare function CommentSpecContext(parser: any, parent: any, invokingState: any): this;
951
1127
  declare class CommentSpecContext {
952
1128
  constructor(parser: any, parent: any, invokingState: any);
953
1129
  parser: any;
@@ -959,7 +1135,59 @@ declare class CommentSpecContext {
959
1135
  exitRule(listener: any): void;
960
1136
  accept(visitor: any): any;
961
1137
  }
962
- declare function WatermarkDefinitionContext(parser: any, parent: any, invokingState: any): any;
1138
+ declare function MetadataColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
1139
+ declare class MetadataColumnDefinitionContext {
1140
+ constructor(parser: any, parent: any, invokingState: any);
1141
+ parser: any;
1142
+ ruleIndex: number;
1143
+ constructor: typeof MetadataColumnDefinitionContext;
1144
+ columnName(): any;
1145
+ columnType(): any;
1146
+ METADATA(): any;
1147
+ FROM(): any;
1148
+ metadataKey(): any;
1149
+ VIRTUAL(): any;
1150
+ enterRule(listener: any): void;
1151
+ exitRule(listener: any): void;
1152
+ accept(visitor: any): any;
1153
+ }
1154
+ declare function MetadataKeyContext(parser: any, parent: any, invokingState: any): this;
1155
+ declare class MetadataKeyContext {
1156
+ constructor(parser: any, parent: any, invokingState: any);
1157
+ parser: any;
1158
+ ruleIndex: number;
1159
+ constructor: typeof MetadataKeyContext;
1160
+ STRING_LITERAL(): any;
1161
+ enterRule(listener: any): void;
1162
+ exitRule(listener: any): void;
1163
+ accept(visitor: any): any;
1164
+ }
1165
+ declare function ComputedColumnDefinitionContext(parser: any, parent: any, invokingState: any): this;
1166
+ declare class ComputedColumnDefinitionContext {
1167
+ constructor(parser: any, parent: any, invokingState: any);
1168
+ parser: any;
1169
+ ruleIndex: number;
1170
+ constructor: typeof ComputedColumnDefinitionContext;
1171
+ columnName(): any;
1172
+ AS(): any;
1173
+ computedColumnExpression(): any;
1174
+ commentSpec(): any;
1175
+ enterRule(listener: any): void;
1176
+ exitRule(listener: any): void;
1177
+ accept(visitor: any): any;
1178
+ }
1179
+ declare function ComputedColumnExpressionContext(parser: any, parent: any, invokingState: any): this;
1180
+ declare class ComputedColumnExpressionContext {
1181
+ constructor(parser: any, parent: any, invokingState: any);
1182
+ parser: any;
1183
+ ruleIndex: number;
1184
+ constructor: typeof ComputedColumnExpressionContext;
1185
+ expression(): any;
1186
+ enterRule(listener: any): void;
1187
+ exitRule(listener: any): void;
1188
+ accept(visitor: any): any;
1189
+ }
1190
+ declare function WatermarkDefinitionContext(parser: any, parent: any, invokingState: any): this;
963
1191
  declare class WatermarkDefinitionContext {
964
1192
  constructor(parser: any, parent: any, invokingState: any);
965
1193
  parser: any;
@@ -973,7 +1201,7 @@ declare class WatermarkDefinitionContext {
973
1201
  exitRule(listener: any): void;
974
1202
  accept(visitor: any): any;
975
1203
  }
976
- declare function TableConstraintContext(parser: any, parent: any, invokingState: any): any;
1204
+ declare function TableConstraintContext(parser: any, parent: any, invokingState: any): this;
977
1205
  declare class TableConstraintContext {
978
1206
  constructor(parser: any, parent: any, invokingState: any);
979
1207
  parser: any;
@@ -985,12 +1213,25 @@ declare class TableConstraintContext {
985
1213
  columnNameList(): any;
986
1214
  RR_BRACKET(): any;
987
1215
  CONSTRAINT(): any;
1216
+ constraintName(): any;
1217
+ NOT(): any;
1218
+ ENFORCED(): any;
1219
+ enterRule(listener: any): void;
1220
+ exitRule(listener: any): void;
1221
+ accept(visitor: any): any;
1222
+ }
1223
+ declare function ConstraintNameContext(parser: any, parent: any, invokingState: any): this;
1224
+ declare class ConstraintNameContext {
1225
+ constructor(parser: any, parent: any, invokingState: any);
1226
+ parser: any;
1227
+ ruleIndex: number;
1228
+ constructor: typeof ConstraintNameContext;
988
1229
  identifier(): any;
989
1230
  enterRule(listener: any): void;
990
1231
  exitRule(listener: any): void;
991
1232
  accept(visitor: any): any;
992
1233
  }
993
- declare function SelfDefinitionClauseContext(parser: any, parent: any, invokingState: any): any;
1234
+ declare function SelfDefinitionClauseContext(parser: any, parent: any, invokingState: any): this;
994
1235
  declare class SelfDefinitionClauseContext {
995
1236
  constructor(parser: any, parent: any, invokingState: any);
996
1237
  parser: any;
@@ -1003,7 +1244,7 @@ declare class SelfDefinitionClauseContext {
1003
1244
  exitRule(listener: any): void;
1004
1245
  accept(visitor: any): any;
1005
1246
  }
1006
- declare function PartitionDefinitionContext(parser: any, parent: any, invokingState: any): any;
1247
+ declare function PartitionDefinitionContext(parser: any, parent: any, invokingState: any): this;
1007
1248
  declare class PartitionDefinitionContext {
1008
1249
  constructor(parser: any, parent: any, invokingState: any);
1009
1250
  parser: any;
@@ -1016,7 +1257,7 @@ declare class PartitionDefinitionContext {
1016
1257
  exitRule(listener: any): void;
1017
1258
  accept(visitor: any): any;
1018
1259
  }
1019
- declare function TransformListContext(parser: any, parent: any, invokingState: any): any;
1260
+ declare function TransformListContext(parser: any, parent: any, invokingState: any): this;
1020
1261
  declare class TransformListContext {
1021
1262
  constructor(parser: any, parent: any, invokingState: any);
1022
1263
  parser: any;
@@ -1030,7 +1271,7 @@ declare class TransformListContext {
1030
1271
  exitRule(listener: any): void;
1031
1272
  accept(visitor: any): any;
1032
1273
  }
1033
- declare function TransformContext(parser: any, parent: any, invokingState: any): any;
1274
+ declare function TransformContext(parser: any, parent: any, invokingState: any): this;
1034
1275
  declare class TransformContext {
1035
1276
  constructor(parser: any, parent: any, invokingState: any);
1036
1277
  parser: any;
@@ -1038,7 +1279,7 @@ declare class TransformContext {
1038
1279
  constructor: typeof TransformContext;
1039
1280
  copyFrom(ctx: any): void;
1040
1281
  }
1041
- declare function TransformArgumentContext(parser: any, parent: any, invokingState: any): any;
1282
+ declare function TransformArgumentContext(parser: any, parent: any, invokingState: any): this;
1042
1283
  declare class TransformArgumentContext {
1043
1284
  constructor(parser: any, parent: any, invokingState: any);
1044
1285
  parser: any;
@@ -1050,20 +1291,33 @@ declare class TransformArgumentContext {
1050
1291
  exitRule(listener: any): void;
1051
1292
  accept(visitor: any): any;
1052
1293
  }
1053
- declare function LikeDefinitionContext(parser: any, parent: any, invokingState: any): any;
1294
+ declare function LikeDefinitionContext(parser: any, parent: any, invokingState: any): this;
1054
1295
  declare class LikeDefinitionContext {
1055
1296
  constructor(parser: any, parent: any, invokingState: any);
1056
1297
  parser: any;
1057
1298
  ruleIndex: number;
1058
1299
  constructor: typeof LikeDefinitionContext;
1059
1300
  LIKE(): any;
1060
- identifier(): any;
1061
- likeOption(): any;
1301
+ sourceTable(): any;
1302
+ LR_BRACKET(): any;
1303
+ RR_BRACKET(): any;
1304
+ likeOption(i: any): any;
1062
1305
  enterRule(listener: any): void;
1063
1306
  exitRule(listener: any): void;
1064
1307
  accept(visitor: any): any;
1065
1308
  }
1066
- declare function LikeOptionContext(parser: any, parent: any, invokingState: any): any;
1309
+ declare function SourceTableContext(parser: any, parent: any, invokingState: any): this;
1310
+ declare class SourceTableContext {
1311
+ constructor(parser: any, parent: any, invokingState: any);
1312
+ parser: any;
1313
+ ruleIndex: number;
1314
+ constructor: typeof SourceTableContext;
1315
+ uid(): any;
1316
+ enterRule(listener: any): void;
1317
+ exitRule(listener: any): void;
1318
+ accept(visitor: any): any;
1319
+ }
1320
+ declare function LikeOptionContext(parser: any, parent: any, invokingState: any): this;
1067
1321
  declare class LikeOptionContext {
1068
1322
  constructor(parser: any, parent: any, invokingState: any);
1069
1323
  parser: any;
@@ -1073,13 +1327,16 @@ declare class LikeOptionContext {
1073
1327
  EXCLUDING(): any;
1074
1328
  ALL(): any;
1075
1329
  CONSTRAINTS(): any;
1330
+ PARTITIONS(): any;
1331
+ OVERWRITING(): any;
1076
1332
  GENERATED(): any;
1077
1333
  OPTIONS(): any;
1334
+ WATERMARKS(): any;
1078
1335
  enterRule(listener: any): void;
1079
1336
  exitRule(listener: any): void;
1080
1337
  accept(visitor: any): any;
1081
1338
  }
1082
- declare function CreateCatalogContext(parser: any, parent: any, invokingState: any): any;
1339
+ declare function CreateCatalogContext(parser: any, parent: any, invokingState: any): this;
1083
1340
  declare class CreateCatalogContext {
1084
1341
  constructor(parser: any, parent: any, invokingState: any);
1085
1342
  parser: any;
@@ -1093,7 +1350,7 @@ declare class CreateCatalogContext {
1093
1350
  exitRule(listener: any): void;
1094
1351
  accept(visitor: any): any;
1095
1352
  }
1096
- declare function CreateDatabaseContext(parser: any, parent: any, invokingState: any): any;
1353
+ declare function CreateDatabaseContext(parser: any, parent: any, invokingState: any): this;
1097
1354
  declare class CreateDatabaseContext {
1098
1355
  constructor(parser: any, parent: any, invokingState: any);
1099
1356
  parser: any;
@@ -1109,7 +1366,7 @@ declare class CreateDatabaseContext {
1109
1366
  exitRule(listener: any): void;
1110
1367
  accept(visitor: any): any;
1111
1368
  }
1112
- declare function CreateViewContext(parser: any, parent: any, invokingState: any): any;
1369
+ declare function CreateViewContext(parser: any, parent: any, invokingState: any): this;
1113
1370
  declare class CreateViewContext {
1114
1371
  constructor(parser: any, parent: any, invokingState: any);
1115
1372
  parser: any;
@@ -1128,7 +1385,7 @@ declare class CreateViewContext {
1128
1385
  exitRule(listener: any): void;
1129
1386
  accept(visitor: any): any;
1130
1387
  }
1131
- declare function CreateFunctionContext(parser: any, parent: any, invokingState: any): any;
1388
+ declare function CreateFunctionContext(parser: any, parent: any, invokingState: any): this;
1132
1389
  declare class CreateFunctionContext {
1133
1390
  constructor(parser: any, parent: any, invokingState: any);
1134
1391
  parser: any;
@@ -1147,7 +1404,7 @@ declare class CreateFunctionContext {
1147
1404
  exitRule(listener: any): void;
1148
1405
  accept(visitor: any): any;
1149
1406
  }
1150
- declare function AlterTableContext(parser: any, parent: any, invokingState: any): any;
1407
+ declare function AlterTableContext(parser: any, parent: any, invokingState: any): this;
1151
1408
  declare class AlterTableContext {
1152
1409
  constructor(parser: any, parent: any, invokingState: any);
1153
1410
  parser: any;
@@ -1162,7 +1419,7 @@ declare class AlterTableContext {
1162
1419
  exitRule(listener: any): void;
1163
1420
  accept(visitor: any): any;
1164
1421
  }
1165
- declare function RenameDefinitionContext(parser: any, parent: any, invokingState: any): any;
1422
+ declare function RenameDefinitionContext(parser: any, parent: any, invokingState: any): this;
1166
1423
  declare class RenameDefinitionContext {
1167
1424
  constructor(parser: any, parent: any, invokingState: any);
1168
1425
  parser: any;
@@ -1175,7 +1432,7 @@ declare class RenameDefinitionContext {
1175
1432
  exitRule(listener: any): void;
1176
1433
  accept(visitor: any): any;
1177
1434
  }
1178
- declare function SetKeyValueDefinitionContext(parser: any, parent: any, invokingState: any): any;
1435
+ declare function SetKeyValueDefinitionContext(parser: any, parent: any, invokingState: any): this;
1179
1436
  declare class SetKeyValueDefinitionContext {
1180
1437
  constructor(parser: any, parent: any, invokingState: any);
1181
1438
  parser: any;
@@ -1187,7 +1444,7 @@ declare class SetKeyValueDefinitionContext {
1187
1444
  exitRule(listener: any): void;
1188
1445
  accept(visitor: any): any;
1189
1446
  }
1190
- declare function AlterDatabaseContext(parser: any, parent: any, invokingState: any): any;
1447
+ declare function AlterDatabaseContext(parser: any, parent: any, invokingState: any): this;
1191
1448
  declare class AlterDatabaseContext {
1192
1449
  constructor(parser: any, parent: any, invokingState: any);
1193
1450
  parser: any;
@@ -1201,7 +1458,7 @@ declare class AlterDatabaseContext {
1201
1458
  exitRule(listener: any): void;
1202
1459
  accept(visitor: any): any;
1203
1460
  }
1204
- declare function AlterFunctionContext(parser: any, parent: any, invokingState: any): any;
1461
+ declare function AlterFunctionContext(parser: any, parent: any, invokingState: any): this;
1205
1462
  declare class AlterFunctionContext {
1206
1463
  constructor(parser: any, parent: any, invokingState: any);
1207
1464
  parser: any;
@@ -1220,7 +1477,7 @@ declare class AlterFunctionContext {
1220
1477
  exitRule(listener: any): void;
1221
1478
  accept(visitor: any): any;
1222
1479
  }
1223
- declare function DropTableContext(parser: any, parent: any, invokingState: any): any;
1480
+ declare function DropTableContext(parser: any, parent: any, invokingState: any): this;
1224
1481
  declare class DropTableContext {
1225
1482
  constructor(parser: any, parent: any, invokingState: any);
1226
1483
  parser: any;
@@ -1234,7 +1491,7 @@ declare class DropTableContext {
1234
1491
  exitRule(listener: any): void;
1235
1492
  accept(visitor: any): any;
1236
1493
  }
1237
- declare function DropDatabaseContext(parser: any, parent: any, invokingState: any): any;
1494
+ declare function DropDatabaseContext(parser: any, parent: any, invokingState: any): this;
1238
1495
  declare class DropDatabaseContext {
1239
1496
  constructor(parser: any, parent: any, invokingState: any);
1240
1497
  parser: any;
@@ -1251,7 +1508,7 @@ declare class DropDatabaseContext {
1251
1508
  exitRule(listener: any): void;
1252
1509
  accept(visitor: any): any;
1253
1510
  }
1254
- declare function DropViewContext(parser: any, parent: any, invokingState: any): any;
1511
+ declare function DropViewContext(parser: any, parent: any, invokingState: any): this;
1255
1512
  declare class DropViewContext {
1256
1513
  constructor(parser: any, parent: any, invokingState: any);
1257
1514
  parser: any;
@@ -1266,7 +1523,7 @@ declare class DropViewContext {
1266
1523
  exitRule(listener: any): void;
1267
1524
  accept(visitor: any): any;
1268
1525
  }
1269
- declare function DropFunctionContext(parser: any, parent: any, invokingState: any): any;
1526
+ declare function DropFunctionContext(parser: any, parent: any, invokingState: any): this;
1270
1527
  declare class DropFunctionContext {
1271
1528
  constructor(parser: any, parent: any, invokingState: any);
1272
1529
  parser: any;
@@ -1282,7 +1539,7 @@ declare class DropFunctionContext {
1282
1539
  exitRule(listener: any): void;
1283
1540
  accept(visitor: any): any;
1284
1541
  }
1285
- declare function InsertStatementContext(parser: any, parent: any, invokingState: any): any;
1542
+ declare function InsertStatementContext(parser: any, parent: any, invokingState: any): this;
1286
1543
  declare class InsertStatementContext {
1287
1544
  constructor(parser: any, parent: any, invokingState: any);
1288
1545
  parser: any;
@@ -1299,7 +1556,7 @@ declare class InsertStatementContext {
1299
1556
  exitRule(listener: any): void;
1300
1557
  accept(visitor: any): any;
1301
1558
  }
1302
- declare function InsertPartitionDefinitionContext(parser: any, parent: any, invokingState: any): any;
1559
+ declare function InsertPartitionDefinitionContext(parser: any, parent: any, invokingState: any): this;
1303
1560
  declare class InsertPartitionDefinitionContext {
1304
1561
  constructor(parser: any, parent: any, invokingState: any);
1305
1562
  parser: any;
@@ -1311,7 +1568,7 @@ declare class InsertPartitionDefinitionContext {
1311
1568
  exitRule(listener: any): void;
1312
1569
  accept(visitor: any): any;
1313
1570
  }
1314
- declare function ValuesDefinitionContext(parser: any, parent: any, invokingState: any): any;
1571
+ declare function ValuesDefinitionContext(parser: any, parent: any, invokingState: any): this;
1315
1572
  declare class ValuesDefinitionContext {
1316
1573
  constructor(parser: any, parent: any, invokingState: any);
1317
1574
  parser: any;
@@ -1324,7 +1581,7 @@ declare class ValuesDefinitionContext {
1324
1581
  exitRule(listener: any): void;
1325
1582
  accept(visitor: any): any;
1326
1583
  }
1327
- declare function ValuesRowDefinitionContext(parser: any, parent: any, invokingState: any): any;
1584
+ declare function ValuesRowDefinitionContext(parser: any, parent: any, invokingState: any): this;
1328
1585
  declare class ValuesRowDefinitionContext {
1329
1586
  constructor(parser: any, parent: any, invokingState: any);
1330
1587
  parser: any;
@@ -1338,7 +1595,7 @@ declare class ValuesRowDefinitionContext {
1338
1595
  exitRule(listener: any): void;
1339
1596
  accept(visitor: any): any;
1340
1597
  }
1341
- declare function QueryStatementContext(parser: any, parent: any, invokingState: any): any;
1598
+ declare function QueryStatementContext(parser: any, parent: any, invokingState: any): this;
1342
1599
  declare class QueryStatementContext {
1343
1600
  constructor(parser: any, parent: any, invokingState: any);
1344
1601
  parser: any;
@@ -1348,8 +1605,11 @@ declare class QueryStatementContext {
1348
1605
  right: any;
1349
1606
  constructor: typeof QueryStatementContext;
1350
1607
  valuesCaluse(): any;
1351
- LR_BRACKET(): any;
1608
+ WITH(): any;
1609
+ withItem(i: any): any;
1352
1610
  queryStatement(i: any): any;
1611
+ COMMA(i: any): any;
1612
+ LR_BRACKET(): any;
1353
1613
  RR_BRACKET(): any;
1354
1614
  selectClause(): any;
1355
1615
  orderByCaluse(): any;
@@ -1363,7 +1623,7 @@ declare class QueryStatementContext {
1363
1623
  exitRule(listener: any): void;
1364
1624
  accept(visitor: any): any;
1365
1625
  }
1366
- declare function ValuesCaluseContext(parser: any, parent: any, invokingState: any): any;
1626
+ declare function ValuesCaluseContext(parser: any, parent: any, invokingState: any): this;
1367
1627
  declare class ValuesCaluseContext {
1368
1628
  constructor(parser: any, parent: any, invokingState: any);
1369
1629
  parser: any;
@@ -1376,7 +1636,35 @@ declare class ValuesCaluseContext {
1376
1636
  exitRule(listener: any): void;
1377
1637
  accept(visitor: any): any;
1378
1638
  }
1379
- declare function SelectStatementContext(parser: any, parent: any, invokingState: any): any;
1639
+ declare function WithItemContext(parser: any, parent: any, invokingState: any): this;
1640
+ declare class WithItemContext {
1641
+ constructor(parser: any, parent: any, invokingState: any);
1642
+ parser: any;
1643
+ ruleIndex: number;
1644
+ constructor: typeof WithItemContext;
1645
+ withItemName(): any;
1646
+ AS(): any;
1647
+ LR_BRACKET(i: any): any;
1648
+ queryStatement(): any;
1649
+ RR_BRACKET(i: any): any;
1650
+ columnName(i: any): any;
1651
+ COMMA(i: any): any;
1652
+ enterRule(listener: any): void;
1653
+ exitRule(listener: any): void;
1654
+ accept(visitor: any): any;
1655
+ }
1656
+ declare function WithItemNameContext(parser: any, parent: any, invokingState: any): this;
1657
+ declare class WithItemNameContext {
1658
+ constructor(parser: any, parent: any, invokingState: any);
1659
+ parser: any;
1660
+ ruleIndex: number;
1661
+ constructor: typeof WithItemNameContext;
1662
+ identifier(): any;
1663
+ enterRule(listener: any): void;
1664
+ exitRule(listener: any): void;
1665
+ accept(visitor: any): any;
1666
+ }
1667
+ declare function SelectStatementContext(parser: any, parent: any, invokingState: any): this;
1380
1668
  declare class SelectStatementContext {
1381
1669
  constructor(parser: any, parent: any, invokingState: any);
1382
1670
  parser: any;
@@ -1392,7 +1680,7 @@ declare class SelectStatementContext {
1392
1680
  exitRule(listener: any): void;
1393
1681
  accept(visitor: any): any;
1394
1682
  }
1395
- declare function SelectClauseContext(parser: any, parent: any, invokingState: any): any;
1683
+ declare function SelectClauseContext(parser: any, parent: any, invokingState: any): this;
1396
1684
  declare class SelectClauseContext {
1397
1685
  constructor(parser: any, parent: any, invokingState: any);
1398
1686
  parser: any;
@@ -1407,7 +1695,7 @@ declare class SelectClauseContext {
1407
1695
  exitRule(listener: any): void;
1408
1696
  accept(visitor: any): any;
1409
1697
  }
1410
- declare function ProjectItemDefinitionContext(parser: any, parent: any, invokingState: any): any;
1698
+ declare function ProjectItemDefinitionContext(parser: any, parent: any, invokingState: any): this;
1411
1699
  declare class ProjectItemDefinitionContext {
1412
1700
  constructor(parser: any, parent: any, invokingState: any);
1413
1701
  parser: any;
@@ -1419,7 +1707,7 @@ declare class ProjectItemDefinitionContext {
1419
1707
  exitRule(listener: any): void;
1420
1708
  accept(visitor: any): any;
1421
1709
  }
1422
- declare function FromClauseContext(parser: any, parent: any, invokingState: any): any;
1710
+ declare function FromClauseContext(parser: any, parent: any, invokingState: any): this;
1423
1711
  declare class FromClauseContext {
1424
1712
  constructor(parser: any, parent: any, invokingState: any);
1425
1713
  parser: any;
@@ -1431,7 +1719,7 @@ declare class FromClauseContext {
1431
1719
  exitRule(listener: any): void;
1432
1720
  accept(visitor: any): any;
1433
1721
  }
1434
- declare function TableExpressionContext(parser: any, parent: any, invokingState: any): any;
1722
+ declare function TableExpressionContext(parser: any, parent: any, invokingState: any): this;
1435
1723
  declare class TableExpressionContext {
1436
1724
  constructor(parser: any, parent: any, invokingState: any);
1437
1725
  parser: any;
@@ -1440,8 +1728,10 @@ declare class TableExpressionContext {
1440
1728
  tableReference(i: any): any;
1441
1729
  COMMA(i: any): any;
1442
1730
  tableExpression(i: any): any;
1731
+ CROSS(): any;
1443
1732
  JOIN(): any;
1444
1733
  NATURAL(): any;
1734
+ OUTER(): any;
1445
1735
  joinCondition(): any;
1446
1736
  LEFT(): any;
1447
1737
  RIGHT(): any;
@@ -1451,7 +1741,7 @@ declare class TableExpressionContext {
1451
1741
  exitRule(listener: any): void;
1452
1742
  accept(visitor: any): any;
1453
1743
  }
1454
- declare function TableReferenceContext(parser: any, parent: any, invokingState: any): any;
1744
+ declare function TableReferenceContext(parser: any, parent: any, invokingState: any): this;
1455
1745
  declare class TableReferenceContext {
1456
1746
  constructor(parser: any, parent: any, invokingState: any);
1457
1747
  parser: any;
@@ -1463,25 +1753,67 @@ declare class TableReferenceContext {
1463
1753
  exitRule(listener: any): void;
1464
1754
  accept(visitor: any): any;
1465
1755
  }
1466
- declare function TablePrimaryContext(parser: any, parent: any, invokingState: any): any;
1756
+ declare function TablePrimaryContext(parser: any, parent: any, invokingState: any): this;
1467
1757
  declare class TablePrimaryContext {
1468
1758
  constructor(parser: any, parent: any, invokingState: any);
1469
1759
  parser: any;
1470
1760
  ruleIndex: number;
1471
1761
  constructor: typeof TablePrimaryContext;
1472
- expression(i: any): any;
1762
+ tablePath(): any;
1473
1763
  TABLE(): any;
1764
+ systemTimePeriod(): any;
1765
+ correlationName(): any;
1766
+ AS(): any;
1474
1767
  LATERAL(): any;
1475
1768
  LR_BRACKET(i: any): any;
1476
- uid(): any;
1769
+ functionName(): any;
1770
+ expression(i: any): any;
1477
1771
  RR_BRACKET(i: any): any;
1478
1772
  COMMA(i: any): any;
1773
+ queryStatement(): any;
1479
1774
  UNNEST(): any;
1480
1775
  enterRule(listener: any): void;
1481
1776
  exitRule(listener: any): void;
1482
1777
  accept(visitor: any): any;
1483
1778
  }
1484
- declare function JoinConditionContext(parser: any, parent: any, invokingState: any): any;
1779
+ declare function TablePathContext(parser: any, parent: any, invokingState: any): this;
1780
+ declare class TablePathContext {
1781
+ constructor(parser: any, parent: any, invokingState: any);
1782
+ parser: any;
1783
+ ruleIndex: number;
1784
+ constructor: typeof TablePathContext;
1785
+ uid(): any;
1786
+ enterRule(listener: any): void;
1787
+ exitRule(listener: any): void;
1788
+ accept(visitor: any): any;
1789
+ }
1790
+ declare function SystemTimePeriodContext(parser: any, parent: any, invokingState: any): this;
1791
+ declare class SystemTimePeriodContext {
1792
+ constructor(parser: any, parent: any, invokingState: any);
1793
+ parser: any;
1794
+ ruleIndex: number;
1795
+ constructor: typeof SystemTimePeriodContext;
1796
+ FOR(): any;
1797
+ SYSTEM_TIME(): any;
1798
+ AS(): any;
1799
+ OF(): any;
1800
+ dateTimeExpression(): any;
1801
+ enterRule(listener: any): void;
1802
+ exitRule(listener: any): void;
1803
+ accept(visitor: any): any;
1804
+ }
1805
+ declare function DateTimeExpressionContext(parser: any, parent: any, invokingState: any): this;
1806
+ declare class DateTimeExpressionContext {
1807
+ constructor(parser: any, parent: any, invokingState: any);
1808
+ parser: any;
1809
+ ruleIndex: number;
1810
+ constructor: typeof DateTimeExpressionContext;
1811
+ expression(): any;
1812
+ enterRule(listener: any): void;
1813
+ exitRule(listener: any): void;
1814
+ accept(visitor: any): any;
1815
+ }
1816
+ declare function JoinConditionContext(parser: any, parent: any, invokingState: any): this;
1485
1817
  declare class JoinConditionContext {
1486
1818
  constructor(parser: any, parent: any, invokingState: any);
1487
1819
  parser: any;
@@ -1498,7 +1830,7 @@ declare class JoinConditionContext {
1498
1830
  exitRule(listener: any): void;
1499
1831
  accept(visitor: any): any;
1500
1832
  }
1501
- declare function WhereClauseContext(parser: any, parent: any, invokingState: any): any;
1833
+ declare function WhereClauseContext(parser: any, parent: any, invokingState: any): this;
1502
1834
  declare class WhereClauseContext {
1503
1835
  constructor(parser: any, parent: any, invokingState: any);
1504
1836
  parser: any;
@@ -1510,7 +1842,7 @@ declare class WhereClauseContext {
1510
1842
  exitRule(listener: any): void;
1511
1843
  accept(visitor: any): any;
1512
1844
  }
1513
- declare function GroupByClauseContext(parser: any, parent: any, invokingState: any): any;
1845
+ declare function GroupByClauseContext(parser: any, parent: any, invokingState: any): this;
1514
1846
  declare class GroupByClauseContext {
1515
1847
  constructor(parser: any, parent: any, invokingState: any);
1516
1848
  parser: any;
@@ -1524,7 +1856,7 @@ declare class GroupByClauseContext {
1524
1856
  exitRule(listener: any): void;
1525
1857
  accept(visitor: any): any;
1526
1858
  }
1527
- declare function GroupItemDefinitionContext(parser: any, parent: any, invokingState: any): any;
1859
+ declare function GroupItemDefinitionContext(parser: any, parent: any, invokingState: any): this;
1528
1860
  declare class GroupItemDefinitionContext {
1529
1861
  constructor(parser: any, parent: any, invokingState: any);
1530
1862
  parser: any;
@@ -1543,7 +1875,7 @@ declare class GroupItemDefinitionContext {
1543
1875
  exitRule(listener: any): void;
1544
1876
  accept(visitor: any): any;
1545
1877
  }
1546
- declare function HavingClauseContext(parser: any, parent: any, invokingState: any): any;
1878
+ declare function HavingClauseContext(parser: any, parent: any, invokingState: any): this;
1547
1879
  declare class HavingClauseContext {
1548
1880
  constructor(parser: any, parent: any, invokingState: any);
1549
1881
  parser: any;
@@ -1555,7 +1887,7 @@ declare class HavingClauseContext {
1555
1887
  exitRule(listener: any): void;
1556
1888
  accept(visitor: any): any;
1557
1889
  }
1558
- declare function OrderByCaluseContext(parser: any, parent: any, invokingState: any): any;
1890
+ declare function OrderByCaluseContext(parser: any, parent: any, invokingState: any): this;
1559
1891
  declare class OrderByCaluseContext {
1560
1892
  constructor(parser: any, parent: any, invokingState: any);
1561
1893
  parser: any;
@@ -1569,7 +1901,7 @@ declare class OrderByCaluseContext {
1569
1901
  exitRule(listener: any): void;
1570
1902
  accept(visitor: any): any;
1571
1903
  }
1572
- declare function OrderItemDefitionContext(parser: any, parent: any, invokingState: any): any;
1904
+ declare function OrderItemDefitionContext(parser: any, parent: any, invokingState: any): this;
1573
1905
  declare class OrderItemDefitionContext {
1574
1906
  constructor(parser: any, parent: any, invokingState: any);
1575
1907
  parser: any;
@@ -1582,7 +1914,7 @@ declare class OrderItemDefitionContext {
1582
1914
  exitRule(listener: any): void;
1583
1915
  accept(visitor: any): any;
1584
1916
  }
1585
- declare function LimitClauseContext(parser: any, parent: any, invokingState: any): any;
1917
+ declare function LimitClauseContext(parser: any, parent: any, invokingState: any): this;
1586
1918
  declare class LimitClauseContext {
1587
1919
  constructor(parser: any, parent: any, invokingState: any);
1588
1920
  parser: any;
@@ -1596,7 +1928,7 @@ declare class LimitClauseContext {
1596
1928
  exitRule(listener: any): void;
1597
1929
  accept(visitor: any): any;
1598
1930
  }
1599
- declare function WindowClauseContext(parser: any, parent: any, invokingState: any): any;
1931
+ declare function WindowClauseContext(parser: any, parent: any, invokingState: any): this;
1600
1932
  declare class WindowClauseContext {
1601
1933
  constructor(parser: any, parent: any, invokingState: any);
1602
1934
  parser: any;
@@ -1609,7 +1941,7 @@ declare class WindowClauseContext {
1609
1941
  exitRule(listener: any): void;
1610
1942
  accept(visitor: any): any;
1611
1943
  }
1612
- declare function NamedWindowContext(parser: any, parent: any, invokingState: any): any;
1944
+ declare function NamedWindowContext(parser: any, parent: any, invokingState: any): this;
1613
1945
  declare class NamedWindowContext {
1614
1946
  constructor(parser: any, parent: any, invokingState: any);
1615
1947
  parser: any;
@@ -1623,7 +1955,7 @@ declare class NamedWindowContext {
1623
1955
  exitRule(listener: any): void;
1624
1956
  accept(visitor: any): any;
1625
1957
  }
1626
- declare function WindowSpecContext(parser: any, parent: any, invokingState: any): any;
1958
+ declare function WindowSpecContext(parser: any, parent: any, invokingState: any): this;
1627
1959
  declare class WindowSpecContext {
1628
1960
  constructor(parser: any, parent: any, invokingState: any);
1629
1961
  parser: any;
@@ -1644,7 +1976,7 @@ declare class WindowSpecContext {
1644
1976
  exitRule(listener: any): void;
1645
1977
  accept(visitor: any): any;
1646
1978
  }
1647
- declare function SortItemContext(parser: any, parent: any, invokingState: any): any;
1979
+ declare function SortItemContext(parser: any, parent: any, invokingState: any): this;
1648
1980
  declare class SortItemContext {
1649
1981
  constructor(parser: any, parent: any, invokingState: any);
1650
1982
  parser: any;
@@ -1662,7 +1994,7 @@ declare class SortItemContext {
1662
1994
  exitRule(listener: any): void;
1663
1995
  accept(visitor: any): any;
1664
1996
  }
1665
- declare function WindowFrameContext(parser: any, parent: any, invokingState: any): any;
1997
+ declare function WindowFrameContext(parser: any, parent: any, invokingState: any): this;
1666
1998
  declare class WindowFrameContext {
1667
1999
  constructor(parser: any, parent: any, invokingState: any);
1668
2000
  parser: any;
@@ -1675,7 +2007,7 @@ declare class WindowFrameContext {
1675
2007
  exitRule(listener: any): void;
1676
2008
  accept(visitor: any): any;
1677
2009
  }
1678
- declare function FrameBoundContext(parser: any, parent: any, invokingState: any): any;
2010
+ declare function FrameBoundContext(parser: any, parent: any, invokingState: any): this;
1679
2011
  declare class FrameBoundContext {
1680
2012
  constructor(parser: any, parent: any, invokingState: any);
1681
2013
  parser: any;
@@ -1687,7 +2019,7 @@ declare class FrameBoundContext {
1687
2019
  exitRule(listener: any): void;
1688
2020
  accept(visitor: any): any;
1689
2021
  }
1690
- declare function ExpressionContext(parser: any, parent: any, invokingState: any): any;
2022
+ declare function ExpressionContext(parser: any, parent: any, invokingState: any): this;
1691
2023
  declare class ExpressionContext {
1692
2024
  constructor(parser: any, parent: any, invokingState: any);
1693
2025
  parser: any;
@@ -1698,7 +2030,7 @@ declare class ExpressionContext {
1698
2030
  exitRule(listener: any): void;
1699
2031
  accept(visitor: any): any;
1700
2032
  }
1701
- declare function PredicateContext(parser: any, parent: any, invokingState: any): any;
2033
+ declare function PredicateContext(parser: any, parent: any, invokingState: any): this;
1702
2034
  declare class PredicateContext {
1703
2035
  constructor(parser: any, parent: any, invokingState: any);
1704
2036
  parser: any;
@@ -1735,7 +2067,7 @@ declare class PredicateContext {
1735
2067
  exitRule(listener: any): void;
1736
2068
  accept(visitor: any): any;
1737
2069
  }
1738
- declare function ValueExpressionContext(parser: any, parent: any, invokingState: any): any;
2070
+ declare function ValueExpressionContext(parser: any, parent: any, invokingState: any): this;
1739
2071
  declare class ValueExpressionContext {
1740
2072
  constructor(parser: any, parent: any, invokingState: any);
1741
2073
  parser: any;
@@ -1743,7 +2075,7 @@ declare class ValueExpressionContext {
1743
2075
  constructor: typeof ValueExpressionContext;
1744
2076
  copyFrom(ctx: any): void;
1745
2077
  }
1746
- declare function PrimaryExpressionContext(parser: any, parent: any, invokingState: any): any;
2078
+ declare function PrimaryExpressionContext(parser: any, parent: any, invokingState: any): this;
1747
2079
  declare class PrimaryExpressionContext {
1748
2080
  constructor(parser: any, parent: any, invokingState: any);
1749
2081
  parser: any;
@@ -1751,7 +2083,7 @@ declare class PrimaryExpressionContext {
1751
2083
  constructor: typeof PrimaryExpressionContext;
1752
2084
  copyFrom(ctx: any): void;
1753
2085
  }
1754
- declare function FunctionNameContext(parser: any, parent: any, invokingState: any): any;
2086
+ declare function FunctionNameContext(parser: any, parent: any, invokingState: any): this;
1755
2087
  declare class FunctionNameContext {
1756
2088
  constructor(parser: any, parent: any, invokingState: any);
1757
2089
  parser: any;
@@ -1762,7 +2094,7 @@ declare class FunctionNameContext {
1762
2094
  exitRule(listener: any): void;
1763
2095
  accept(visitor: any): any;
1764
2096
  }
1765
- declare function DereferenceDefinitionContext(parser: any, parent: any, invokingState: any): any;
2097
+ declare function DereferenceDefinitionContext(parser: any, parent: any, invokingState: any): this;
1766
2098
  declare class DereferenceDefinitionContext {
1767
2099
  constructor(parser: any, parent: any, invokingState: any);
1768
2100
  parser: any;
@@ -1773,7 +2105,18 @@ declare class DereferenceDefinitionContext {
1773
2105
  exitRule(listener: any): void;
1774
2106
  accept(visitor: any): any;
1775
2107
  }
1776
- declare function QualifiedNameContext(parser: any, parent: any, invokingState: any): any;
2108
+ declare function CorrelationNameContext(parser: any, parent: any, invokingState: any): this;
2109
+ declare class CorrelationNameContext {
2110
+ constructor(parser: any, parent: any, invokingState: any);
2111
+ parser: any;
2112
+ ruleIndex: number;
2113
+ constructor: typeof CorrelationNameContext;
2114
+ identifier(): any;
2115
+ enterRule(listener: any): void;
2116
+ exitRule(listener: any): void;
2117
+ accept(visitor: any): any;
2118
+ }
2119
+ declare function QualifiedNameContext(parser: any, parent: any, invokingState: any): this;
1777
2120
  declare class QualifiedNameContext {
1778
2121
  constructor(parser: any, parent: any, invokingState: any);
1779
2122
  parser: any;
@@ -1785,7 +2128,7 @@ declare class QualifiedNameContext {
1785
2128
  exitRule(listener: any): void;
1786
2129
  accept(visitor: any): any;
1787
2130
  }
1788
- declare function IntervalContext(parser: any, parent: any, invokingState: any): any;
2131
+ declare function IntervalContext(parser: any, parent: any, invokingState: any): this;
1789
2132
  declare class IntervalContext {
1790
2133
  constructor(parser: any, parent: any, invokingState: any);
1791
2134
  parser: any;
@@ -1798,7 +2141,7 @@ declare class IntervalContext {
1798
2141
  exitRule(listener: any): void;
1799
2142
  accept(visitor: any): any;
1800
2143
  }
1801
- declare function ErrorCapturingMultiUnitsIntervalContext(parser: any, parent: any, invokingState: any): any;
2144
+ declare function ErrorCapturingMultiUnitsIntervalContext(parser: any, parent: any, invokingState: any): this;
1802
2145
  declare class ErrorCapturingMultiUnitsIntervalContext {
1803
2146
  constructor(parser: any, parent: any, invokingState: any);
1804
2147
  parser: any;
@@ -1810,7 +2153,7 @@ declare class ErrorCapturingMultiUnitsIntervalContext {
1810
2153
  exitRule(listener: any): void;
1811
2154
  accept(visitor: any): any;
1812
2155
  }
1813
- declare function MultiUnitsIntervalContext(parser: any, parent: any, invokingState: any): any;
2156
+ declare function MultiUnitsIntervalContext(parser: any, parent: any, invokingState: any): this;
1814
2157
  declare class MultiUnitsIntervalContext {
1815
2158
  constructor(parser: any, parent: any, invokingState: any);
1816
2159
  parser: any;
@@ -1822,7 +2165,7 @@ declare class MultiUnitsIntervalContext {
1822
2165
  exitRule(listener: any): void;
1823
2166
  accept(visitor: any): any;
1824
2167
  }
1825
- declare function ErrorCapturingUnitToUnitIntervalContext(parser: any, parent: any, invokingState: any): any;
2168
+ declare function ErrorCapturingUnitToUnitIntervalContext(parser: any, parent: any, invokingState: any): this;
1826
2169
  declare class ErrorCapturingUnitToUnitIntervalContext {
1827
2170
  constructor(parser: any, parent: any, invokingState: any);
1828
2171
  parser: any;
@@ -1837,7 +2180,7 @@ declare class ErrorCapturingUnitToUnitIntervalContext {
1837
2180
  exitRule(listener: any): void;
1838
2181
  accept(visitor: any): any;
1839
2182
  }
1840
- declare function UnitToUnitIntervalContext(parser: any, parent: any, invokingState: any): any;
2183
+ declare function UnitToUnitIntervalContext(parser: any, parent: any, invokingState: any): this;
1841
2184
  declare class UnitToUnitIntervalContext {
1842
2185
  constructor(parser: any, parent: any, invokingState: any);
1843
2186
  parser: any;
@@ -1853,7 +2196,7 @@ declare class UnitToUnitIntervalContext {
1853
2196
  exitRule(listener: any): void;
1854
2197
  accept(visitor: any): any;
1855
2198
  }
1856
- declare function IntervalValueContext(parser: any, parent: any, invokingState: any): any;
2199
+ declare function IntervalValueContext(parser: any, parent: any, invokingState: any): this;
1857
2200
  declare class IntervalValueContext {
1858
2201
  constructor(parser: any, parent: any, invokingState: any);
1859
2202
  parser: any;
@@ -1868,7 +2211,7 @@ declare class IntervalValueContext {
1868
2211
  exitRule(listener: any): void;
1869
2212
  accept(visitor: any): any;
1870
2213
  }
1871
- declare function ColumnAliasContext(parser: any, parent: any, invokingState: any): any;
2214
+ declare function ColumnAliasContext(parser: any, parent: any, invokingState: any): this;
1872
2215
  declare class ColumnAliasContext {
1873
2216
  constructor(parser: any, parent: any, invokingState: any);
1874
2217
  parser: any;
@@ -1881,7 +2224,7 @@ declare class ColumnAliasContext {
1881
2224
  exitRule(listener: any): void;
1882
2225
  accept(visitor: any): any;
1883
2226
  }
1884
- declare function TableAliasContext(parser: any, parent: any, invokingState: any): any;
2227
+ declare function TableAliasContext(parser: any, parent: any, invokingState: any): this;
1885
2228
  declare class TableAliasContext {
1886
2229
  constructor(parser: any, parent: any, invokingState: any);
1887
2230
  parser: any;
@@ -1894,7 +2237,7 @@ declare class TableAliasContext {
1894
2237
  exitRule(listener: any): void;
1895
2238
  accept(visitor: any): any;
1896
2239
  }
1897
- declare function ErrorCapturingIdentifierContext(parser: any, parent: any, invokingState: any): any;
2240
+ declare function ErrorCapturingIdentifierContext(parser: any, parent: any, invokingState: any): this;
1898
2241
  declare class ErrorCapturingIdentifierContext {
1899
2242
  constructor(parser: any, parent: any, invokingState: any);
1900
2243
  parser: any;
@@ -1906,7 +2249,7 @@ declare class ErrorCapturingIdentifierContext {
1906
2249
  exitRule(listener: any): void;
1907
2250
  accept(visitor: any): any;
1908
2251
  }
1909
- declare function ErrorCapturingIdentifierExtraContext(parser: any, parent: any, invokingState: any): any;
2252
+ declare function ErrorCapturingIdentifierExtraContext(parser: any, parent: any, invokingState: any): this;
1910
2253
  declare class ErrorCapturingIdentifierExtraContext {
1911
2254
  constructor(parser: any, parent: any, invokingState: any);
1912
2255
  parser: any;
@@ -1914,7 +2257,7 @@ declare class ErrorCapturingIdentifierExtraContext {
1914
2257
  constructor: typeof ErrorCapturingIdentifierExtraContext;
1915
2258
  copyFrom(ctx: any): void;
1916
2259
  }
1917
- declare function IdentifierListContext(parser: any, parent: any, invokingState: any): any;
2260
+ declare function IdentifierListContext(parser: any, parent: any, invokingState: any): this;
1918
2261
  declare class IdentifierListContext {
1919
2262
  constructor(parser: any, parent: any, invokingState: any);
1920
2263
  parser: any;
@@ -1927,7 +2270,7 @@ declare class IdentifierListContext {
1927
2270
  exitRule(listener: any): void;
1928
2271
  accept(visitor: any): any;
1929
2272
  }
1930
- declare function IdentifierSeqContext(parser: any, parent: any, invokingState: any): any;
2273
+ declare function IdentifierSeqContext(parser: any, parent: any, invokingState: any): this;
1931
2274
  declare class IdentifierSeqContext {
1932
2275
  constructor(parser: any, parent: any, invokingState: any);
1933
2276
  parser: any;
@@ -1939,7 +2282,7 @@ declare class IdentifierSeqContext {
1939
2282
  exitRule(listener: any): void;
1940
2283
  accept(visitor: any): any;
1941
2284
  }
1942
- declare function IdentifierContext(parser: any, parent: any, invokingState: any): any;
2285
+ declare function IdentifierContext(parser: any, parent: any, invokingState: any): this;
1943
2286
  declare class IdentifierContext {
1944
2287
  constructor(parser: any, parent: any, invokingState: any);
1945
2288
  parser: any;
@@ -1951,7 +2294,7 @@ declare class IdentifierContext {
1951
2294
  exitRule(listener: any): void;
1952
2295
  accept(visitor: any): any;
1953
2296
  }
1954
- declare function StrictIdentifierContext(parser: any, parent: any, invokingState: any): any;
2297
+ declare function StrictIdentifierContext(parser: any, parent: any, invokingState: any): this;
1955
2298
  declare class StrictIdentifierContext {
1956
2299
  constructor(parser: any, parent: any, invokingState: any);
1957
2300
  parser: any;
@@ -1959,7 +2302,7 @@ declare class StrictIdentifierContext {
1959
2302
  constructor: typeof StrictIdentifierContext;
1960
2303
  copyFrom(ctx: any): void;
1961
2304
  }
1962
- declare function UnquotedIdentifierContext(parser: any, parent: any, invokingState: any): any;
2305
+ declare function UnquotedIdentifierContext(parser: any, parent: any, invokingState: any): this;
1963
2306
  declare class UnquotedIdentifierContext {
1964
2307
  constructor(parser: any, parent: any, invokingState: any);
1965
2308
  parser: any;
@@ -1971,7 +2314,7 @@ declare class UnquotedIdentifierContext {
1971
2314
  exitRule(listener: any): void;
1972
2315
  accept(visitor: any): any;
1973
2316
  }
1974
- declare function QuotedIdentifierContext(parser: any, parent: any, invokingState: any): any;
2317
+ declare function QuotedIdentifierContext(parser: any, parent: any, invokingState: any): this;
1975
2318
  declare class QuotedIdentifierContext {
1976
2319
  constructor(parser: any, parent: any, invokingState: any);
1977
2320
  parser: any;
@@ -1982,7 +2325,7 @@ declare class QuotedIdentifierContext {
1982
2325
  exitRule(listener: any): void;
1983
2326
  accept(visitor: any): any;
1984
2327
  }
1985
- declare function WhenClauseContext(parser: any, parent: any, invokingState: any): any;
2328
+ declare function WhenClauseContext(parser: any, parent: any, invokingState: any): this;
1986
2329
  declare class WhenClauseContext {
1987
2330
  constructor(parser: any, parent: any, invokingState: any);
1988
2331
  parser: any;
@@ -1997,7 +2340,7 @@ declare class WhenClauseContext {
1997
2340
  exitRule(listener: any): void;
1998
2341
  accept(visitor: any): any;
1999
2342
  }
2000
- declare function UidListContext(parser: any, parent: any, invokingState: any): any;
2343
+ declare function UidListContext(parser: any, parent: any, invokingState: any): this;
2001
2344
  declare class UidListContext {
2002
2345
  constructor(parser: any, parent: any, invokingState: any);
2003
2346
  parser: any;
@@ -2009,7 +2352,7 @@ declare class UidListContext {
2009
2352
  exitRule(listener: any): void;
2010
2353
  accept(visitor: any): any;
2011
2354
  }
2012
- declare function UidContext(parser: any, parent: any, invokingState: any): any;
2355
+ declare function UidContext(parser: any, parent: any, invokingState: any): this;
2013
2356
  declare class UidContext {
2014
2357
  constructor(parser: any, parent: any, invokingState: any);
2015
2358
  parser: any;
@@ -2021,7 +2364,7 @@ declare class UidContext {
2021
2364
  exitRule(listener: any): void;
2022
2365
  accept(visitor: any): any;
2023
2366
  }
2024
- declare function PlusUidContext(parser: any, parent: any, invokingState: any): any;
2367
+ declare function PlusUidContext(parser: any, parent: any, invokingState: any): this;
2025
2368
  declare class PlusUidContext {
2026
2369
  constructor(parser: any, parent: any, invokingState: any);
2027
2370
  parser: any;
@@ -2035,7 +2378,7 @@ declare class PlusUidContext {
2035
2378
  exitRule(listener: any): void;
2036
2379
  accept(visitor: any): any;
2037
2380
  }
2038
- declare function WithOptionContext(parser: any, parent: any, invokingState: any): any;
2381
+ declare function WithOptionContext(parser: any, parent: any, invokingState: any): this;
2039
2382
  declare class WithOptionContext {
2040
2383
  constructor(parser: any, parent: any, invokingState: any);
2041
2384
  parser: any;
@@ -2047,7 +2390,7 @@ declare class WithOptionContext {
2047
2390
  exitRule(listener: any): void;
2048
2391
  accept(visitor: any): any;
2049
2392
  }
2050
- declare function IfNotExistsContext(parser: any, parent: any, invokingState: any): any;
2393
+ declare function IfNotExistsContext(parser: any, parent: any, invokingState: any): this;
2051
2394
  declare class IfNotExistsContext {
2052
2395
  constructor(parser: any, parent: any, invokingState: any);
2053
2396
  parser: any;
@@ -2060,7 +2403,7 @@ declare class IfNotExistsContext {
2060
2403
  exitRule(listener: any): void;
2061
2404
  accept(visitor: any): any;
2062
2405
  }
2063
- declare function IfExistsContext(parser: any, parent: any, invokingState: any): any;
2406
+ declare function IfExistsContext(parser: any, parent: any, invokingState: any): this;
2064
2407
  declare class IfExistsContext {
2065
2408
  constructor(parser: any, parent: any, invokingState: any);
2066
2409
  parser: any;
@@ -2072,7 +2415,7 @@ declare class IfExistsContext {
2072
2415
  exitRule(listener: any): void;
2073
2416
  accept(visitor: any): any;
2074
2417
  }
2075
- declare function TablePropertyListContext(parser: any, parent: any, invokingState: any): any;
2418
+ declare function TablePropertyListContext(parser: any, parent: any, invokingState: any): this;
2076
2419
  declare class TablePropertyListContext {
2077
2420
  constructor(parser: any, parent: any, invokingState: any);
2078
2421
  parser: any;
@@ -2086,7 +2429,7 @@ declare class TablePropertyListContext {
2086
2429
  exitRule(listener: any): void;
2087
2430
  accept(visitor: any): any;
2088
2431
  }
2089
- declare function TablePropertyContext(parser: any, parent: any, invokingState: any): any;
2432
+ declare function TablePropertyContext(parser: any, parent: any, invokingState: any): this;
2090
2433
  declare class TablePropertyContext {
2091
2434
  constructor(parser: any, parent: any, invokingState: any);
2092
2435
  parser: any;
@@ -2101,7 +2444,7 @@ declare class TablePropertyContext {
2101
2444
  exitRule(listener: any): void;
2102
2445
  accept(visitor: any): any;
2103
2446
  }
2104
- declare function TablePropertyKeyContext(parser: any, parent: any, invokingState: any): any;
2447
+ declare function TablePropertyKeyContext(parser: any, parent: any, invokingState: any): this;
2105
2448
  declare class TablePropertyKeyContext {
2106
2449
  constructor(parser: any, parent: any, invokingState: any);
2107
2450
  parser: any;
@@ -2114,7 +2457,7 @@ declare class TablePropertyKeyContext {
2114
2457
  exitRule(listener: any): void;
2115
2458
  accept(visitor: any): any;
2116
2459
  }
2117
- declare function TablePropertyValueContext(parser: any, parent: any, invokingState: any): any;
2460
+ declare function TablePropertyValueContext(parser: any, parent: any, invokingState: any): this;
2118
2461
  declare class TablePropertyValueContext {
2119
2462
  constructor(parser: any, parent: any, invokingState: any);
2120
2463
  parser: any;
@@ -2128,7 +2471,7 @@ declare class TablePropertyValueContext {
2128
2471
  exitRule(listener: any): void;
2129
2472
  accept(visitor: any): any;
2130
2473
  }
2131
- declare function LogicalOperatorContext(parser: any, parent: any, invokingState: any): any;
2474
+ declare function LogicalOperatorContext(parser: any, parent: any, invokingState: any): this;
2132
2475
  declare class LogicalOperatorContext {
2133
2476
  constructor(parser: any, parent: any, invokingState: any);
2134
2477
  parser: any;
@@ -2142,7 +2485,7 @@ declare class LogicalOperatorContext {
2142
2485
  exitRule(listener: any): void;
2143
2486
  accept(visitor: any): any;
2144
2487
  }
2145
- declare function ComparisonOperatorContext(parser: any, parent: any, invokingState: any): any;
2488
+ declare function ComparisonOperatorContext(parser: any, parent: any, invokingState: any): this;
2146
2489
  declare class ComparisonOperatorContext {
2147
2490
  constructor(parser: any, parent: any, invokingState: any);
2148
2491
  parser: any;
@@ -2156,7 +2499,7 @@ declare class ComparisonOperatorContext {
2156
2499
  exitRule(listener: any): void;
2157
2500
  accept(visitor: any): any;
2158
2501
  }
2159
- declare function BitOperatorContext(parser: any, parent: any, invokingState: any): any;
2502
+ declare function BitOperatorContext(parser: any, parent: any, invokingState: any): this;
2160
2503
  declare class BitOperatorContext {
2161
2504
  constructor(parser: any, parent: any, invokingState: any);
2162
2505
  parser: any;
@@ -2171,7 +2514,7 @@ declare class BitOperatorContext {
2171
2514
  exitRule(listener: any): void;
2172
2515
  accept(visitor: any): any;
2173
2516
  }
2174
- declare function MathOperatorContext(parser: any, parent: any, invokingState: any): any;
2517
+ declare function MathOperatorContext(parser: any, parent: any, invokingState: any): this;
2175
2518
  declare class MathOperatorContext {
2176
2519
  constructor(parser: any, parent: any, invokingState: any);
2177
2520
  parser: any;
@@ -2188,7 +2531,7 @@ declare class MathOperatorContext {
2188
2531
  exitRule(listener: any): void;
2189
2532
  accept(visitor: any): any;
2190
2533
  }
2191
- declare function UnaryOperatorContext(parser: any, parent: any, invokingState: any): any;
2534
+ declare function UnaryOperatorContext(parser: any, parent: any, invokingState: any): this;
2192
2535
  declare class UnaryOperatorContext {
2193
2536
  constructor(parser: any, parent: any, invokingState: any);
2194
2537
  parser: any;
@@ -2203,7 +2546,7 @@ declare class UnaryOperatorContext {
2203
2546
  exitRule(listener: any): void;
2204
2547
  accept(visitor: any): any;
2205
2548
  }
2206
- declare function FullColumnNameContext(parser: any, parent: any, invokingState: any): any;
2549
+ declare function FullColumnNameContext(parser: any, parent: any, invokingState: any): this;
2207
2550
  declare class FullColumnNameContext {
2208
2551
  constructor(parser: any, parent: any, invokingState: any);
2209
2552
  parser: any;
@@ -2214,7 +2557,7 @@ declare class FullColumnNameContext {
2214
2557
  exitRule(listener: any): void;
2215
2558
  accept(visitor: any): any;
2216
2559
  }
2217
- declare function ConstantContext(parser: any, parent: any, invokingState: any): any;
2560
+ declare function ConstantContext(parser: any, parent: any, invokingState: any): this;
2218
2561
  declare class ConstantContext {
2219
2562
  constructor(parser: any, parent: any, invokingState: any);
2220
2563
  parser: any;
@@ -2233,7 +2576,7 @@ declare class ConstantContext {
2233
2576
  exitRule(listener: any): void;
2234
2577
  accept(visitor: any): any;
2235
2578
  }
2236
- declare function StringLiteralContext(parser: any, parent: any, invokingState: any): any;
2579
+ declare function StringLiteralContext(parser: any, parent: any, invokingState: any): this;
2237
2580
  declare class StringLiteralContext {
2238
2581
  constructor(parser: any, parent: any, invokingState: any);
2239
2582
  parser: any;
@@ -2244,7 +2587,7 @@ declare class StringLiteralContext {
2244
2587
  exitRule(listener: any): void;
2245
2588
  accept(visitor: any): any;
2246
2589
  }
2247
- declare function DecimalLiteralContext(parser: any, parent: any, invokingState: any): any;
2590
+ declare function DecimalLiteralContext(parser: any, parent: any, invokingState: any): this;
2248
2591
  declare class DecimalLiteralContext {
2249
2592
  constructor(parser: any, parent: any, invokingState: any);
2250
2593
  parser: any;
@@ -2255,7 +2598,7 @@ declare class DecimalLiteralContext {
2255
2598
  exitRule(listener: any): void;
2256
2599
  accept(visitor: any): any;
2257
2600
  }
2258
- declare function BooleanLiteralContext(parser: any, parent: any, invokingState: any): any;
2601
+ declare function BooleanLiteralContext(parser: any, parent: any, invokingState: any): this;
2259
2602
  declare class BooleanLiteralContext {
2260
2603
  constructor(parser: any, parent: any, invokingState: any);
2261
2604
  parser: any;
@@ -2267,7 +2610,7 @@ declare class BooleanLiteralContext {
2267
2610
  exitRule(listener: any): void;
2268
2611
  accept(visitor: any): any;
2269
2612
  }
2270
- declare function SetQuantifierContext(parser: any, parent: any, invokingState: any): any;
2613
+ declare function SetQuantifierContext(parser: any, parent: any, invokingState: any): this;
2271
2614
  declare class SetQuantifierContext {
2272
2615
  constructor(parser: any, parent: any, invokingState: any);
2273
2616
  parser: any;
@@ -2279,7 +2622,7 @@ declare class SetQuantifierContext {
2279
2622
  exitRule(listener: any): void;
2280
2623
  accept(visitor: any): any;
2281
2624
  }
2282
- declare function AnsiNonReservedContext(parser: any, parent: any, invokingState: any): any;
2625
+ declare function AnsiNonReservedContext(parser: any, parent: any, invokingState: any): this;
2283
2626
  declare class AnsiNonReservedContext {
2284
2627
  constructor(parser: any, parent: any, invokingState: any);
2285
2628
  parser: any;
@@ -2493,7 +2836,7 @@ declare class AnsiNonReservedContext {
2493
2836
  exitRule(listener: any): void;
2494
2837
  accept(visitor: any): any;
2495
2838
  }
2496
- declare function StrictNonReservedContext(parser: any, parent: any, invokingState: any): any;
2839
+ declare function StrictNonReservedContext(parser: any, parent: any, invokingState: any): this;
2497
2840
  declare class StrictNonReservedContext {
2498
2841
  constructor(parser: any, parent: any, invokingState: any);
2499
2842
  parser: any;
@@ -2518,7 +2861,7 @@ declare class StrictNonReservedContext {
2518
2861
  exitRule(listener: any): void;
2519
2862
  accept(visitor: any): any;
2520
2863
  }
2521
- declare function NonReservedContext(parser: any, parent: any, invokingState: any): any;
2864
+ declare function NonReservedContext(parser: any, parent: any, invokingState: any): this;
2522
2865
  declare class NonReservedContext {
2523
2866
  constructor(parser: any, parent: any, invokingState: any);
2524
2867
  parser: any;
@@ -2764,7 +3107,7 @@ declare class NonReservedContext {
2764
3107
  exitRule(listener: any): void;
2765
3108
  accept(visitor: any): any;
2766
3109
  }
2767
- declare function IdentityTransformContext(parser: any, ctx: any): any;
3110
+ declare function IdentityTransformContext(parser: any, ctx: any): this;
2768
3111
  declare class IdentityTransformContext {
2769
3112
  constructor(parser: any, ctx: any);
2770
3113
  constructor: typeof IdentityTransformContext;
@@ -2773,7 +3116,7 @@ declare class IdentityTransformContext {
2773
3116
  exitRule(listener: any): void;
2774
3117
  accept(visitor: any): any;
2775
3118
  }
2776
- declare function ApplyTransformContext(parser: any, ctx: any): any;
3119
+ declare function ApplyTransformContext(parser: any, ctx: any): this;
2777
3120
  declare class ApplyTransformContext {
2778
3121
  constructor(parser: any, ctx: any);
2779
3122
  transformName: any;
@@ -2787,7 +3130,7 @@ declare class ApplyTransformContext {
2787
3130
  exitRule(listener: any): void;
2788
3131
  accept(visitor: any): any;
2789
3132
  }
2790
- declare function LogicalNotContext(parser: any, ctx: any): any;
3133
+ declare function LogicalNotContext(parser: any, ctx: any): this;
2791
3134
  declare class LogicalNotContext {
2792
3135
  constructor(parser: any, ctx: any);
2793
3136
  constructor: typeof LogicalNotContext;
@@ -2797,7 +3140,7 @@ declare class LogicalNotContext {
2797
3140
  exitRule(listener: any): void;
2798
3141
  accept(visitor: any): any;
2799
3142
  }
2800
- declare function PredicatedContext(parser: any, ctx: any): any;
3143
+ declare function PredicatedContext(parser: any, ctx: any): this;
2801
3144
  declare class PredicatedContext {
2802
3145
  constructor(parser: any, ctx: any);
2803
3146
  constructor: typeof PredicatedContext;
@@ -2807,7 +3150,7 @@ declare class PredicatedContext {
2807
3150
  exitRule(listener: any): void;
2808
3151
  accept(visitor: any): any;
2809
3152
  }
2810
- declare function ExistsContext(parser: any, ctx: any): any;
3153
+ declare function ExistsContext(parser: any, ctx: any): this;
2811
3154
  declare class ExistsContext {
2812
3155
  constructor(parser: any, ctx: any);
2813
3156
  constructor: typeof ExistsContext;
@@ -2819,7 +3162,7 @@ declare class ExistsContext {
2819
3162
  exitRule(listener: any): void;
2820
3163
  accept(visitor: any): any;
2821
3164
  }
2822
- declare function LogicalBinaryContext(parser: any, ctx: any): any;
3165
+ declare function LogicalBinaryContext(parser: any, ctx: any): this;
2823
3166
  declare class LogicalBinaryContext {
2824
3167
  constructor(parser: any, ctx: any);
2825
3168
  left: any;
@@ -2833,7 +3176,7 @@ declare class LogicalBinaryContext {
2833
3176
  exitRule(listener: any): void;
2834
3177
  accept(visitor: any): any;
2835
3178
  }
2836
- declare function ValueExpressionDefaultContext(parser: any, ctx: any): any;
3179
+ declare function ValueExpressionDefaultContext(parser: any, ctx: any): this;
2837
3180
  declare class ValueExpressionDefaultContext {
2838
3181
  constructor(parser: any, ctx: any);
2839
3182
  constructor: typeof ValueExpressionDefaultContext;
@@ -2842,7 +3185,7 @@ declare class ValueExpressionDefaultContext {
2842
3185
  exitRule(listener: any): void;
2843
3186
  accept(visitor: any): any;
2844
3187
  }
2845
- declare function ComparisonContext(parser: any, ctx: any): any;
3188
+ declare function ComparisonContext(parser: any, ctx: any): this;
2846
3189
  declare class ComparisonContext {
2847
3190
  constructor(parser: any, ctx: any);
2848
3191
  left: any;
@@ -2854,7 +3197,7 @@ declare class ComparisonContext {
2854
3197
  exitRule(listener: any): void;
2855
3198
  accept(visitor: any): any;
2856
3199
  }
2857
- declare function ArithmeticBinaryContext(parser: any, ctx: any): any;
3200
+ declare function ArithmeticBinaryContext(parser: any, ctx: any): this;
2858
3201
  declare class ArithmeticBinaryContext {
2859
3202
  constructor(parser: any, ctx: any);
2860
3203
  left: any;
@@ -2876,7 +3219,7 @@ declare class ArithmeticBinaryContext {
2876
3219
  exitRule(listener: any): void;
2877
3220
  accept(visitor: any): any;
2878
3221
  }
2879
- declare function ArithmeticUnaryContext(parser: any, ctx: any): any;
3222
+ declare function ArithmeticUnaryContext(parser: any, ctx: any): this;
2880
3223
  declare class ArithmeticUnaryContext {
2881
3224
  constructor(parser: any, ctx: any);
2882
3225
  operator: any;
@@ -2889,7 +3232,7 @@ declare class ArithmeticUnaryContext {
2889
3232
  exitRule(listener: any): void;
2890
3233
  accept(visitor: any): any;
2891
3234
  }
2892
- declare function DereferenceContext(parser: any, ctx: any): any;
3235
+ declare function DereferenceContext(parser: any, ctx: any): this;
2893
3236
  declare class DereferenceContext {
2894
3237
  constructor(parser: any, ctx: any);
2895
3238
  constructor: typeof DereferenceContext;
@@ -2898,7 +3241,7 @@ declare class DereferenceContext {
2898
3241
  exitRule(listener: any): void;
2899
3242
  accept(visitor: any): any;
2900
3243
  }
2901
- declare function SimpleCaseContext(parser: any, ctx: any): any;
3244
+ declare function SimpleCaseContext(parser: any, ctx: any): this;
2902
3245
  declare class SimpleCaseContext {
2903
3246
  constructor(parser: any, ctx: any);
2904
3247
  value: any;
@@ -2913,7 +3256,7 @@ declare class SimpleCaseContext {
2913
3256
  exitRule(listener: any): void;
2914
3257
  accept(visitor: any): any;
2915
3258
  }
2916
- declare function ColumnReferenceContext(parser: any, ctx: any): any;
3259
+ declare function ColumnReferenceContext(parser: any, ctx: any): this;
2917
3260
  declare class ColumnReferenceContext {
2918
3261
  constructor(parser: any, ctx: any);
2919
3262
  constructor: typeof ColumnReferenceContext;
@@ -2922,7 +3265,7 @@ declare class ColumnReferenceContext {
2922
3265
  exitRule(listener: any): void;
2923
3266
  accept(visitor: any): any;
2924
3267
  }
2925
- declare function LastContext(parser: any, ctx: any): any;
3268
+ declare function LastContext(parser: any, ctx: any): this;
2926
3269
  declare class LastContext {
2927
3270
  constructor(parser: any, ctx: any);
2928
3271
  constructor: typeof LastContext;
@@ -2936,7 +3279,7 @@ declare class LastContext {
2936
3279
  exitRule(listener: any): void;
2937
3280
  accept(visitor: any): any;
2938
3281
  }
2939
- declare function StarContext(parser: any, ctx: any): any;
3282
+ declare function StarContext(parser: any, ctx: any): this;
2940
3283
  declare class StarContext {
2941
3284
  constructor(parser: any, ctx: any);
2942
3285
  constructor: typeof StarContext;
@@ -2947,7 +3290,7 @@ declare class StarContext {
2947
3290
  exitRule(listener: any): void;
2948
3291
  accept(visitor: any): any;
2949
3292
  }
2950
- declare function SubscriptContext(parser: any, ctx: any): any;
3293
+ declare function SubscriptContext(parser: any, ctx: any): this;
2951
3294
  declare class SubscriptContext {
2952
3295
  constructor(parser: any, ctx: any);
2953
3296
  value: any;
@@ -2961,7 +3304,7 @@ declare class SubscriptContext {
2961
3304
  exitRule(listener: any): void;
2962
3305
  accept(visitor: any): any;
2963
3306
  }
2964
- declare function SubqueryExpressionContext(parser: any, ctx: any): any;
3307
+ declare function SubqueryExpressionContext(parser: any, ctx: any): this;
2965
3308
  declare class SubqueryExpressionContext {
2966
3309
  constructor(parser: any, ctx: any);
2967
3310
  constructor: typeof SubqueryExpressionContext;
@@ -2972,7 +3315,7 @@ declare class SubqueryExpressionContext {
2972
3315
  exitRule(listener: any): void;
2973
3316
  accept(visitor: any): any;
2974
3317
  }
2975
- declare function CastContext(parser: any, ctx: any): any;
3318
+ declare function CastContext(parser: any, ctx: any): this;
2976
3319
  declare class CastContext {
2977
3320
  constructor(parser: any, ctx: any);
2978
3321
  constructor: typeof CastContext;
@@ -2986,7 +3329,7 @@ declare class CastContext {
2986
3329
  exitRule(listener: any): void;
2987
3330
  accept(visitor: any): any;
2988
3331
  }
2989
- declare function ConstantDefaultContext(parser: any, ctx: any): any;
3332
+ declare function ConstantDefaultContext(parser: any, ctx: any): this;
2990
3333
  declare class ConstantDefaultContext {
2991
3334
  constructor(parser: any, ctx: any);
2992
3335
  constructor: typeof ConstantDefaultContext;
@@ -2995,7 +3338,7 @@ declare class ConstantDefaultContext {
2995
3338
  exitRule(listener: any): void;
2996
3339
  accept(visitor: any): any;
2997
3340
  }
2998
- declare function ParenthesizedExpressionContext(parser: any, ctx: any): any;
3341
+ declare function ParenthesizedExpressionContext(parser: any, ctx: any): this;
2999
3342
  declare class ParenthesizedExpressionContext {
3000
3343
  constructor(parser: any, ctx: any);
3001
3344
  constructor: typeof ParenthesizedExpressionContext;
@@ -3006,7 +3349,7 @@ declare class ParenthesizedExpressionContext {
3006
3349
  exitRule(listener: any): void;
3007
3350
  accept(visitor: any): any;
3008
3351
  }
3009
- declare function FunctionCallContext(parser: any, ctx: any): any;
3352
+ declare function FunctionCallContext(parser: any, ctx: any): this;
3010
3353
  declare class FunctionCallContext {
3011
3354
  constructor(parser: any, ctx: any);
3012
3355
  constructor: typeof FunctionCallContext;
@@ -3020,7 +3363,7 @@ declare class FunctionCallContext {
3020
3363
  exitRule(listener: any): void;
3021
3364
  accept(visitor: any): any;
3022
3365
  }
3023
- declare function SearchedCaseContext(parser: any, ctx: any): any;
3366
+ declare function SearchedCaseContext(parser: any, ctx: any): this;
3024
3367
  declare class SearchedCaseContext {
3025
3368
  constructor(parser: any, ctx: any);
3026
3369
  elseExpression: any;
@@ -3034,7 +3377,7 @@ declare class SearchedCaseContext {
3034
3377
  exitRule(listener: any): void;
3035
3378
  accept(visitor: any): any;
3036
3379
  }
3037
- declare function PositionContext(parser: any, ctx: any): any;
3380
+ declare function PositionContext(parser: any, ctx: any): this;
3038
3381
  declare class PositionContext {
3039
3382
  constructor(parser: any, ctx: any);
3040
3383
  substr: any;
@@ -3049,7 +3392,7 @@ declare class PositionContext {
3049
3392
  exitRule(listener: any): void;
3050
3393
  accept(visitor: any): any;
3051
3394
  }
3052
- declare function FirstContext(parser: any, ctx: any): any;
3395
+ declare function FirstContext(parser: any, ctx: any): this;
3053
3396
  declare class FirstContext {
3054
3397
  constructor(parser: any, ctx: any);
3055
3398
  constructor: typeof FirstContext;
@@ -3063,7 +3406,7 @@ declare class FirstContext {
3063
3406
  exitRule(listener: any): void;
3064
3407
  accept(visitor: any): any;
3065
3408
  }
3066
- declare function ErrorIdentContext(parser: any, ctx: any): any;
3409
+ declare function ErrorIdentContext(parser: any, ctx: any): this;
3067
3410
  declare class ErrorIdentContext {
3068
3411
  constructor(parser: any, ctx: any);
3069
3412
  constructor: typeof ErrorIdentContext;
@@ -3073,7 +3416,7 @@ declare class ErrorIdentContext {
3073
3416
  exitRule(listener: any): void;
3074
3417
  accept(visitor: any): any;
3075
3418
  }
3076
- declare function RealIdentContext(parser: any, ctx: any): any;
3419
+ declare function RealIdentContext(parser: any, ctx: any): this;
3077
3420
  declare class RealIdentContext {
3078
3421
  constructor(parser: any, ctx: any);
3079
3422
  constructor: typeof RealIdentContext;
@@ -3081,7 +3424,7 @@ declare class RealIdentContext {
3081
3424
  exitRule(listener: any): void;
3082
3425
  accept(visitor: any): any;
3083
3426
  }
3084
- declare function QuotedIdentifierAlternativeContext(parser: any, ctx: any): any;
3427
+ declare function QuotedIdentifierAlternativeContext(parser: any, ctx: any): this;
3085
3428
  declare class QuotedIdentifierAlternativeContext {
3086
3429
  constructor(parser: any, ctx: any);
3087
3430
  constructor: typeof QuotedIdentifierAlternativeContext;
@@ -3090,7 +3433,7 @@ declare class QuotedIdentifierAlternativeContext {
3090
3433
  exitRule(listener: any): void;
3091
3434
  accept(visitor: any): any;
3092
3435
  }
3093
- declare function NonReservedKeywordsContext(parser: any, ctx: any): any;
3436
+ declare function NonReservedKeywordsContext(parser: any, ctx: any): this;
3094
3437
  declare class NonReservedKeywordsContext {
3095
3438
  constructor(parser: any, ctx: any);
3096
3439
  constructor: typeof NonReservedKeywordsContext;
@@ -3099,7 +3442,7 @@ declare class NonReservedKeywordsContext {
3099
3442
  exitRule(listener: any): void;
3100
3443
  accept(visitor: any): any;
3101
3444
  }
3102
- declare function UnquotedIdentifierAlternativeContext(parser: any, ctx: any): any;
3445
+ declare function UnquotedIdentifierAlternativeContext(parser: any, ctx: any): this;
3103
3446
  declare class UnquotedIdentifierAlternativeContext {
3104
3447
  constructor(parser: any, ctx: any);
3105
3448
  constructor: typeof UnquotedIdentifierAlternativeContext;
@@ -3108,7 +3451,7 @@ declare class UnquotedIdentifierAlternativeContext {
3108
3451
  exitRule(listener: any): void;
3109
3452
  accept(visitor: any): any;
3110
3453
  }
3111
- declare function AnsiNonReservedKeywordsContext(parser: any, ctx: any): any;
3454
+ declare function AnsiNonReservedKeywordsContext(parser: any, ctx: any): this;
3112
3455
  declare class AnsiNonReservedKeywordsContext {
3113
3456
  constructor(parser: any, ctx: any);
3114
3457
  constructor: typeof AnsiNonReservedKeywordsContext;