dt-sql-parser 4.0.0-ng.2 → 4.0.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 (147) hide show
  1. package/README.md +119 -112
  2. package/dist/index.d.ts +7 -9
  3. package/dist/index.js +4 -7
  4. package/dist/lib/SQLParserBase.d.ts +8 -0
  5. package/dist/lib/SQLParserBase.js +14 -0
  6. package/dist/lib/{flinksql → flink}/FlinkSqlLexer.d.ts +2 -2
  7. package/dist/lib/{flinksql → flink}/FlinkSqlLexer.js +2 -1
  8. package/dist/lib/{flinksql → flink}/FlinkSqlParser.d.ts +5 -11
  9. package/dist/lib/{flinksql → flink}/FlinkSqlParser.js +2065 -2054
  10. package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.d.ts +0 -13
  11. package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.js +1 -1
  12. package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.d.ts +0 -8
  13. package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.js +2 -1
  14. package/dist/lib/hive/HiveSqlLexer.d.ts +258 -257
  15. package/dist/lib/hive/HiveSqlLexer.js +1794 -1786
  16. package/dist/lib/hive/HiveSqlParser.d.ts +1266 -3176
  17. package/dist/lib/hive/HiveSqlParser.js +23046 -33454
  18. package/dist/lib/hive/HiveSqlParserListener.d.ts +141 -2036
  19. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +151 -1358
  20. package/dist/lib/hive/HiveSqlParserVisitor.js +1 -0
  21. package/dist/lib/impala/ImpalaSqlLexer.d.ts +170 -154
  22. package/dist/lib/impala/ImpalaSqlLexer.js +1179 -1099
  23. package/dist/lib/impala/ImpalaSqlParser.d.ts +282 -240
  24. package/dist/lib/impala/ImpalaSqlParser.js +3881 -3744
  25. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -11
  26. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -7
  27. package/dist/lib/impala/ImpalaSqlParserVisitor.js +1 -0
  28. package/dist/lib/index.d.ts +6 -8
  29. package/dist/lib/index.js +6 -8
  30. package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
  31. package/dist/lib/mysql/MySqlLexer.js +1 -0
  32. package/dist/lib/mysql/MySqlParser.d.ts +347 -418
  33. package/dist/lib/mysql/MySqlParser.js +10484 -11099
  34. package/dist/lib/mysql/MySqlParserListener.d.ts +41 -126
  35. package/dist/lib/mysql/MySqlParserVisitor.d.ts +23 -76
  36. package/dist/lib/mysql/MySqlParserVisitor.js +1 -0
  37. package/dist/lib/{pgsql/PostgreSQLLexer.d.ts → postgresql/PostgreSqlLexer.d.ts} +3 -3
  38. package/dist/lib/{pgsql/PostgreSQLLexer.js → postgresql/PostgreSqlLexer.js} +618 -617
  39. package/dist/lib/{pgsql/PostgreSQLParser.d.ts → postgresql/PostgreSqlParser.d.ts} +3598 -3484
  40. package/dist/lib/{pgsql/PostgreSQLParser.js → postgresql/PostgreSqlParser.js} +41502 -42831
  41. package/dist/lib/{pgsql/PostgreSQLParserListener.d.ts → postgresql/PostgreSqlParserListener.d.ts} +2797 -2730
  42. package/dist/lib/{pgsql/PostgreSQLParserListener.js → postgresql/PostgreSqlParserListener.js} +3 -3
  43. package/dist/lib/{pgsql/PostgreSQLParserVisitor.d.ts → postgresql/PostgreSqlParserVisitor.d.ts} +1845 -1810
  44. package/dist/lib/{pgsql/PostgreSQLParserVisitor.js → postgresql/PostgreSqlParserVisitor.js} +4 -3
  45. package/dist/lib/spark/SparkSqlLexer.d.ts +305 -298
  46. package/dist/lib/spark/SparkSqlLexer.js +1777 -1735
  47. package/dist/lib/spark/SparkSqlParser.d.ts +1764 -669
  48. package/dist/lib/spark/SparkSqlParser.js +15460 -10769
  49. package/dist/lib/spark/SparkSqlParserListener.d.ts +1285 -35
  50. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +790 -21
  51. package/dist/lib/spark/SparkSqlParserVisitor.js +1 -0
  52. package/dist/lib/{trinosql → trino}/TrinoSqlLexer.d.ts +2 -2
  53. package/dist/lib/{trinosql → trino}/TrinoSqlLexer.js +2 -1
  54. package/dist/lib/{trinosql → trino}/TrinoSqlListener.d.ts +7 -5
  55. package/dist/lib/{trinosql → trino}/TrinoSqlListener.js +1 -1
  56. package/dist/lib/{trinosql → trino}/TrinoSqlParser.d.ts +11 -5
  57. package/dist/lib/{trinosql → trino}/TrinoSqlParser.js +360 -320
  58. package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.d.ts +4 -3
  59. package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.js +2 -1
  60. package/dist/parser/common/{basicParser.d.ts → basicSQL.d.ts} +22 -19
  61. package/dist/parser/common/{basicParser.js → basicSQL.js} +52 -34
  62. package/dist/parser/common/entityCollector.d.ts +78 -0
  63. package/dist/parser/common/entityCollector.js +191 -0
  64. package/dist/parser/common/{utils/findCaretTokenIndex.d.ts → findCaretTokenIndex.d.ts} +2 -2
  65. package/dist/parser/common/{utils/findCaretTokenIndex.js → findCaretTokenIndex.js} +3 -2
  66. package/dist/parser/common/parseErrorListener.d.ts +6 -6
  67. package/dist/parser/common/parseErrorListener.js +1 -1
  68. package/dist/parser/common/simpleStack.d.ts +10 -0
  69. package/dist/parser/common/simpleStack.js +23 -0
  70. package/dist/parser/common/splitListener.d.ts +8 -0
  71. package/dist/parser/common/splitListener.js +12 -0
  72. package/dist/parser/common/textAndWord.d.ts +52 -0
  73. package/dist/parser/common/textAndWord.js +58 -0
  74. package/dist/parser/common/{basic-parser-types.d.ts → types.d.ts} +4 -31
  75. package/dist/parser/common/types.js +34 -0
  76. package/dist/parser/flink/flinkEntityCollector.d.ts +33 -0
  77. package/dist/parser/flink/flinkEntityCollector.js +84 -0
  78. package/dist/parser/flink/flinkSplitListener.d.ts +6 -0
  79. package/dist/parser/flink/flinkSplitListener.js +6 -0
  80. package/dist/parser/flink/index.d.ts +17 -0
  81. package/dist/parser/{flinksql.js → flink/index.js} +26 -37
  82. package/dist/parser/hive/hiveEntityCollector.d.ts +35 -0
  83. package/dist/parser/hive/hiveEntityCollector.js +90 -0
  84. package/dist/parser/hive/hiveSplitListener.d.ts +6 -0
  85. package/dist/parser/hive/hiveSplitListener.js +6 -0
  86. package/dist/parser/hive/index.d.ts +17 -0
  87. package/dist/parser/{hive.js → hive/index.js} +24 -34
  88. package/dist/parser/impala/impalaEntityCollector.d.ts +35 -0
  89. package/dist/parser/impala/impalaEntityCollector.js +90 -0
  90. package/dist/parser/impala/impalaSplitListener.d.ts +6 -0
  91. package/dist/parser/impala/impalaSplitListener.js +6 -0
  92. package/dist/parser/impala/index.d.ts +17 -0
  93. package/dist/parser/{impala.js → impala/index.js} +24 -34
  94. package/dist/parser/index.d.ts +7 -8
  95. package/dist/parser/index.js +7 -8
  96. package/dist/parser/mysql/index.d.ts +17 -0
  97. package/dist/parser/{mysql.js → mysql/index.js} +24 -34
  98. package/dist/parser/mysql/mysqlEntityCollector.d.ts +37 -0
  99. package/dist/parser/mysql/mysqlEntityCollector.js +96 -0
  100. package/dist/parser/mysql/mysqlSplitListener.d.ts +6 -0
  101. package/dist/parser/mysql/mysqlSplitListener.js +6 -0
  102. package/dist/parser/postgresql/index.d.ts +17 -0
  103. package/dist/parser/postgresql/index.js +130 -0
  104. package/dist/parser/postgresql/postgreEntityCollector.d.ts +37 -0
  105. package/dist/parser/postgresql/postgreEntityCollector.js +96 -0
  106. package/dist/parser/postgresql/postgreSplitListener.d.ts +6 -0
  107. package/dist/parser/postgresql/postgreSplitListener.js +6 -0
  108. package/dist/parser/spark/index.d.ts +17 -0
  109. package/dist/parser/{spark.js → spark/index.js} +29 -40
  110. package/dist/parser/spark/sparkEntityCollector.d.ts +37 -0
  111. package/dist/parser/spark/sparkEntityCollector.js +96 -0
  112. package/dist/parser/spark/sparkSplitListener.d.ts +6 -0
  113. package/dist/parser/spark/sparkSplitListener.js +6 -0
  114. package/dist/parser/trino/index.d.ts +17 -0
  115. package/dist/parser/{trinosql.js → trino/index.js} +25 -36
  116. package/dist/parser/trino/trinoEntityCollector.d.ts +30 -0
  117. package/dist/parser/trino/trinoEntityCollector.js +75 -0
  118. package/dist/parser/trino/trinoSplitListener.d.ts +6 -0
  119. package/dist/parser/trino/trinoSplitListener.js +6 -0
  120. package/package.json +1 -1
  121. package/dist/lib/plsql/PlSqlBaseLexer.d.ts +0 -5
  122. package/dist/lib/plsql/PlSqlBaseLexer.js +0 -7
  123. package/dist/lib/plsql/PlSqlBaseParser.d.ts +0 -10
  124. package/dist/lib/plsql/PlSqlBaseParser.js +0 -22
  125. package/dist/lib/plsql/PlSqlLexer.d.ts +0 -2381
  126. package/dist/lib/plsql/PlSqlLexer.js +0 -16440
  127. package/dist/lib/plsql/PlSqlParser.d.ts +0 -17080
  128. package/dist/lib/plsql/PlSqlParser.js +0 -184484
  129. package/dist/lib/plsql/PlSqlParserListener.d.ts +0 -8003
  130. package/dist/lib/plsql/PlSqlParserListener.js +0 -11
  131. package/dist/lib/plsql/PlSqlParserVisitor.d.ts +0 -5095
  132. package/dist/lib/plsql/PlSqlParserVisitor.js +0 -11
  133. package/dist/parser/common/basic-parser-types.js +0 -34
  134. package/dist/parser/flinksql.d.ts +0 -23
  135. package/dist/parser/hive.d.ts +0 -23
  136. package/dist/parser/impala.d.ts +0 -23
  137. package/dist/parser/mysql.d.ts +0 -23
  138. package/dist/parser/pgsql.d.ts +0 -23
  139. package/dist/parser/pgsql.js +0 -140
  140. package/dist/parser/plsql.d.ts +0 -13
  141. package/dist/parser/plsql.js +0 -25
  142. package/dist/parser/spark.d.ts +0 -23
  143. package/dist/parser/trinosql.d.ts +0 -23
  144. package/dist/utils/index.d.ts +0 -19
  145. package/dist/utils/index.js +0 -170
  146. package/dist/utils/token.d.ts +0 -59
  147. package/dist/utils/token.js +0 -48
@@ -105,6 +105,7 @@ import { QueryStatementContext } from "./ImpalaSqlParser.js";
105
105
  import { WithContext } from "./ImpalaSqlParser.js";
106
106
  import { ConstraintSpecificationContext } from "./ImpalaSqlParser.js";
107
107
  import { ForeignKeySpecificationContext } from "./ImpalaSqlParser.js";
108
+ import { ColumnSpecContext } from "./ImpalaSqlParser.js";
108
109
  import { ColumnDefinitionContext } from "./ImpalaSqlParser.js";
109
110
  import { KuduTableElementContext } from "./ImpalaSqlParser.js";
110
111
  import { KuduColumnDefinitionContext } from "./ImpalaSqlParser.js";
@@ -151,7 +152,6 @@ import { SampledRelationContext } from "./ImpalaSqlParser.js";
151
152
  import { SampleTypeContext } from "./ImpalaSqlParser.js";
152
153
  import { AliasedRelationContext } from "./ImpalaSqlParser.js";
153
154
  import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
154
- import { CreateColumnAliasesContext } from "./ImpalaSqlParser.js";
155
155
  import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
156
156
  import { SubQueryRelationContext } from "./ImpalaSqlParser.js";
157
157
  import { UnnestContext } from "./ImpalaSqlParser.js";
@@ -212,6 +212,7 @@ import { IntervalContext } from "./ImpalaSqlParser.js";
212
212
  import { IntervalFieldContext } from "./ImpalaSqlParser.js";
213
213
  import { NormalFormContext } from "./ImpalaSqlParser.js";
214
214
  import { TypeContext } from "./ImpalaSqlParser.js";
215
+ import { DataTypeContext } from "./ImpalaSqlParser.js";
215
216
  import { TypeParameterContext } from "./ImpalaSqlParser.js";
216
217
  import { BaseTypeContext } from "./ImpalaSqlParser.js";
217
218
  import { WhenClauseContext } from "./ImpalaSqlParser.js";
@@ -1304,6 +1305,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1304
1305
  * @param ctx the parse tree
1305
1306
  */
1306
1307
  exitForeignKeySpecification?: (ctx: ForeignKeySpecificationContext) => void;
1308
+ /**
1309
+ * Enter a parse tree produced by `ImpalaSqlParser.columnSpec`.
1310
+ * @param ctx the parse tree
1311
+ */
1312
+ enterColumnSpec?: (ctx: ColumnSpecContext) => void;
1313
+ /**
1314
+ * Exit a parse tree produced by `ImpalaSqlParser.columnSpec`.
1315
+ * @param ctx the parse tree
1316
+ */
1317
+ exitColumnSpec?: (ctx: ColumnSpecContext) => void;
1307
1318
  /**
1308
1319
  * Enter a parse tree produced by `ImpalaSqlParser.columnDefinition`.
1309
1320
  * @param ctx the parse tree
@@ -1786,16 +1797,6 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
1786
1797
  * @param ctx the parse tree
1787
1798
  */
1788
1799
  exitColumnAliases?: (ctx: ColumnAliasesContext) => void;
1789
- /**
1790
- * Enter a parse tree produced by `ImpalaSqlParser.createColumnAliases`.
1791
- * @param ctx the parse tree
1792
- */
1793
- enterCreateColumnAliases?: (ctx: CreateColumnAliasesContext) => void;
1794
- /**
1795
- * Exit a parse tree produced by `ImpalaSqlParser.createColumnAliases`.
1796
- * @param ctx the parse tree
1797
- */
1798
- exitCreateColumnAliases?: (ctx: CreateColumnAliasesContext) => void;
1799
1800
  /**
1800
1801
  * Enter a parse tree produced by `ImpalaSqlParser.relationPrimary`.
1801
1802
  * @param ctx the parse tree
@@ -2490,6 +2491,16 @@ export declare class ImpalaSqlParserListener implements ParseTreeListener {
2490
2491
  * @param ctx the parse tree
2491
2492
  */
2492
2493
  exitType?: (ctx: TypeContext) => void;
2494
+ /**
2495
+ * Enter a parse tree produced by `ImpalaSqlParser.dataType`.
2496
+ * @param ctx the parse tree
2497
+ */
2498
+ enterDataType?: (ctx: DataTypeContext) => void;
2499
+ /**
2500
+ * Exit a parse tree produced by `ImpalaSqlParser.dataType`.
2501
+ * @param ctx the parse tree
2502
+ */
2503
+ exitDataType?: (ctx: DataTypeContext) => void;
2493
2504
  /**
2494
2505
  * Enter a parse tree produced by `ImpalaSqlParser.typeParameter`.
2495
2506
  * @param ctx the parse tree
@@ -105,6 +105,7 @@ import { QueryStatementContext } from "./ImpalaSqlParser.js";
105
105
  import { WithContext } from "./ImpalaSqlParser.js";
106
106
  import { ConstraintSpecificationContext } from "./ImpalaSqlParser.js";
107
107
  import { ForeignKeySpecificationContext } from "./ImpalaSqlParser.js";
108
+ import { ColumnSpecContext } from "./ImpalaSqlParser.js";
108
109
  import { ColumnDefinitionContext } from "./ImpalaSqlParser.js";
109
110
  import { KuduTableElementContext } from "./ImpalaSqlParser.js";
110
111
  import { KuduColumnDefinitionContext } from "./ImpalaSqlParser.js";
@@ -151,7 +152,6 @@ import { SampledRelationContext } from "./ImpalaSqlParser.js";
151
152
  import { SampleTypeContext } from "./ImpalaSqlParser.js";
152
153
  import { AliasedRelationContext } from "./ImpalaSqlParser.js";
153
154
  import { ColumnAliasesContext } from "./ImpalaSqlParser.js";
154
- import { CreateColumnAliasesContext } from "./ImpalaSqlParser.js";
155
155
  import { RelationPrimaryContext } from "./ImpalaSqlParser.js";
156
156
  import { SubQueryRelationContext } from "./ImpalaSqlParser.js";
157
157
  import { UnnestContext } from "./ImpalaSqlParser.js";
@@ -212,6 +212,7 @@ import { IntervalContext } from "./ImpalaSqlParser.js";
212
212
  import { IntervalFieldContext } from "./ImpalaSqlParser.js";
213
213
  import { NormalFormContext } from "./ImpalaSqlParser.js";
214
214
  import { TypeContext } from "./ImpalaSqlParser.js";
215
+ import { DataTypeContext } from "./ImpalaSqlParser.js";
215
216
  import { TypeParameterContext } from "./ImpalaSqlParser.js";
216
217
  import { BaseTypeContext } from "./ImpalaSqlParser.js";
217
218
  import { WhenClauseContext } from "./ImpalaSqlParser.js";
@@ -883,6 +884,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
883
884
  * @return the visitor result
884
885
  */
885
886
  visitForeignKeySpecification?: (ctx: ForeignKeySpecificationContext) => Result;
887
+ /**
888
+ * Visit a parse tree produced by `ImpalaSqlParser.columnSpec`.
889
+ * @param ctx the parse tree
890
+ * @return the visitor result
891
+ */
892
+ visitColumnSpec?: (ctx: ColumnSpecContext) => Result;
886
893
  /**
887
894
  * Visit a parse tree produced by `ImpalaSqlParser.columnDefinition`.
888
895
  * @param ctx the parse tree
@@ -1170,12 +1177,6 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1170
1177
  * @return the visitor result
1171
1178
  */
1172
1179
  visitColumnAliases?: (ctx: ColumnAliasesContext) => Result;
1173
- /**
1174
- * Visit a parse tree produced by `ImpalaSqlParser.createColumnAliases`.
1175
- * @param ctx the parse tree
1176
- * @return the visitor result
1177
- */
1178
- visitCreateColumnAliases?: (ctx: CreateColumnAliasesContext) => Result;
1179
1180
  /**
1180
1181
  * Visit a parse tree produced by `ImpalaSqlParser.relationPrimary`.
1181
1182
  * @param ctx the parse tree
@@ -1583,6 +1584,12 @@ export declare class ImpalaSqlParserVisitor<Result> extends AbstractParseTreeVis
1583
1584
  * @return the visitor result
1584
1585
  */
1585
1586
  visitType?: (ctx: TypeContext) => Result;
1587
+ /**
1588
+ * Visit a parse tree produced by `ImpalaSqlParser.dataType`.
1589
+ * @param ctx the parse tree
1590
+ * @return the visitor result
1591
+ */
1592
+ visitDataType?: (ctx: DataTypeContext) => Result;
1586
1593
  /**
1587
1594
  * Visit a parse tree produced by `ImpalaSqlParser.typeParameter`.
1588
1595
  * @param ctx the parse tree
@@ -1,4 +1,5 @@
1
1
  // Generated from dt-sql-parser/src/grammar/impala/ImpalaSqlParser.g4 by ANTLR 4.13.1
2
+ // @ts-nocheck
2
3
  import { AbstractParseTreeVisitor } from "antlr4ng";
3
4
  /**
4
5
  * This interface defines a complete generic visitor for a parse tree produced
@@ -1,16 +1,14 @@
1
- export { FlinkSqlParserListener } from './flinksql/FlinkSqlParserListener';
2
- export { FlinkSqlParserVisitor } from './flinksql/FlinkSqlParserVisitor';
1
+ export { FlinkSqlParserListener } from './flink/FlinkSqlParserListener';
2
+ export { FlinkSqlParserVisitor } from './flink/FlinkSqlParserVisitor';
3
3
  export { MySqlParserListener } from './mysql/MySqlParserListener';
4
4
  export { MySqlParserVisitor } from './mysql/MySqlParserVisitor';
5
5
  export { HiveSqlParserListener } from './hive/HiveSqlParserListener';
6
6
  export { HiveSqlParserVisitor } from './hive/HiveSqlParserVisitor';
7
- export { PlSqlParserListener } from './plsql/PlSqlParserListener';
8
- export { PlSqlParserVisitor } from './plsql/PlSqlParserVisitor';
9
7
  export { SparkSqlParserListener } from './spark/SparkSqlParserListener';
10
8
  export { SparkSqlParserVisitor } from './spark/SparkSqlParserVisitor';
11
- export { PostgreSQLParserListener } from './pgsql/PostgreSQLParserListener';
12
- export { PostgreSQLParserVisitor } from './pgsql/PostgreSQLParserVisitor';
13
- export { TrinoSqlListener } from './trinosql/TrinoSqlListener';
14
- export { TrinoSqlVisitor } from './trinosql/TrinoSqlVisitor';
9
+ export { PostgreSqlParserListener } from './postgresql/PostgreSqlParserListener';
10
+ export { PostgreSqlParserVisitor } from './postgresql/PostgreSqlParserVisitor';
11
+ export { TrinoSqlListener } from './trino/TrinoSqlListener';
12
+ export { TrinoSqlVisitor } from './trino/TrinoSqlVisitor';
15
13
  export { ImpalaSqlParserListener } from './impala/ImpalaSqlParserListener';
16
14
  export { ImpalaSqlParserVisitor } from './impala/ImpalaSqlParserVisitor';
package/dist/lib/index.js CHANGED
@@ -1,16 +1,14 @@
1
- export { FlinkSqlParserListener } from './flinksql/FlinkSqlParserListener';
2
- export { FlinkSqlParserVisitor } from './flinksql/FlinkSqlParserVisitor';
1
+ export { FlinkSqlParserListener } from './flink/FlinkSqlParserListener';
2
+ export { FlinkSqlParserVisitor } from './flink/FlinkSqlParserVisitor';
3
3
  export { MySqlParserListener } from './mysql/MySqlParserListener';
4
4
  export { MySqlParserVisitor } from './mysql/MySqlParserVisitor';
5
5
  export { HiveSqlParserListener } from './hive/HiveSqlParserListener';
6
6
  export { HiveSqlParserVisitor } from './hive/HiveSqlParserVisitor';
7
- export { PlSqlParserListener } from './plsql/PlSqlParserListener';
8
- export { PlSqlParserVisitor } from './plsql/PlSqlParserVisitor';
9
7
  export { SparkSqlParserListener } from './spark/SparkSqlParserListener';
10
8
  export { SparkSqlParserVisitor } from './spark/SparkSqlParserVisitor';
11
- export { PostgreSQLParserListener } from './pgsql/PostgreSQLParserListener';
12
- export { PostgreSQLParserVisitor } from './pgsql/PostgreSQLParserVisitor';
13
- export { TrinoSqlListener } from './trinosql/TrinoSqlListener';
14
- export { TrinoSqlVisitor } from './trinosql/TrinoSqlVisitor';
9
+ export { PostgreSqlParserListener } from './postgresql/PostgreSqlParserListener';
10
+ export { PostgreSqlParserVisitor } from './postgresql/PostgreSqlParserVisitor';
11
+ export { TrinoSqlListener } from './trino/TrinoSqlListener';
12
+ export { TrinoSqlVisitor } from './trino/TrinoSqlVisitor';
15
13
  export { ImpalaSqlParserListener } from './impala/ImpalaSqlParserListener';
16
14
  export { ImpalaSqlParserVisitor } from './impala/ImpalaSqlParserVisitor';
@@ -896,8 +896,8 @@ export declare class MySqlLexer extends antlr.Lexer {
896
896
  static readonly PERSIST_ID = 894;
897
897
  static readonly ERROR_RECONGNIGION = 895;
898
898
  static readonly channelNames: string[];
899
- static readonly literalNames: string[];
900
- static readonly symbolicNames: string[];
899
+ static readonly literalNames: (string | null)[];
900
+ static readonly symbolicNames: (string | null)[];
901
901
  static readonly modeNames: string[];
902
902
  static readonly ruleNames: string[];
903
903
  constructor(input: antlr.CharStream);
@@ -1,4 +1,5 @@
1
1
  // Generated from dt-sql-parser/src/grammar/mysql/MySqlLexer.g4 by ANTLR 4.13.1
2
+ // @ts-nocheck
2
3
  import * as antlr from "antlr4ng";
3
4
  class MySqlLexer extends antlr.Lexer {
4
5
  constructor(input) {