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
@@ -1,11 +1,12 @@
1
- // Generated from dt-sql-parser/src/grammar/pgsql/PostgreSQLParser.g4 by ANTLR 4.13.1
1
+ // Generated from dt-sql-parser/src/grammar/postgresql/PostgreSqlParser.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
5
- * by `PostgreSQLParser`.
6
+ * by `PostgreSqlParser`.
6
7
  *
7
8
  * @param <Result> The return type of the visit operation. Use `void` for
8
9
  * operations with no return type.
9
10
  */
10
- export class PostgreSQLParserVisitor extends AbstractParseTreeVisitor {
11
+ export class PostgreSqlParserVisitor extends AbstractParseTreeVisitor {
11
12
  }
@@ -90,305 +90,312 @@ export declare class SparkSqlLexer extends antlr.Lexer {
90
90
  static readonly KW_DFS = 88;
91
91
  static readonly KW_DIRECTORIES = 89;
92
92
  static readonly KW_DIRECTORY = 90;
93
- static readonly KW_DISTINCT = 91;
94
- static readonly KW_DISTRIBUTE = 92;
95
- static readonly KW_DIV = 93;
96
- static readonly KW_DOUBLE = 94;
97
- static readonly KW_DROP = 95;
98
- static readonly KW_ELSE = 96;
99
- static readonly KW_END = 97;
100
- static readonly KW_ESCAPE = 98;
101
- static readonly KW_ESCAPED = 99;
102
- static readonly KW_EXCEPT = 100;
103
- static readonly KW_EXCHANGE = 101;
104
- static readonly KW_EXCLUDE = 102;
105
- static readonly KW_EXISTS = 103;
106
- static readonly KW_EXPLAIN = 104;
107
- static readonly KW_EXPORT = 105;
108
- static readonly KW_EXTENDED = 106;
109
- static readonly KW_EXTERNAL = 107;
110
- static readonly KW_EXTRACT = 108;
111
- static readonly KW_FALSE = 109;
112
- static readonly KW_FETCH = 110;
113
- static readonly KW_FIELDS = 111;
114
- static readonly KW_FILTER = 112;
115
- static readonly KW_FILEFORMAT = 113;
116
- static readonly KW_FIRST = 114;
117
- static readonly KW_FLOAT = 115;
118
- static readonly KW_FOLLOWING = 116;
119
- static readonly KW_FOR = 117;
120
- static readonly KW_FOREIGN = 118;
121
- static readonly KW_FORMAT = 119;
122
- static readonly KW_FORMATTED = 120;
123
- static readonly KW_FROM = 121;
124
- static readonly KW_FULL = 122;
125
- static readonly KW_FUNCTION = 123;
126
- static readonly KW_FUNCTIONS = 124;
127
- static readonly KW_GENERATED = 125;
128
- static readonly KW_GLOBAL = 126;
129
- static readonly KW_GRANT = 127;
130
- static readonly KW_GROUP = 128;
131
- static readonly KW_GROUPING = 129;
132
- static readonly KW_HAVING = 130;
133
- static readonly KW_BINARY_HEX = 131;
134
- static readonly KW_HOUR = 132;
135
- static readonly KW_HOURS = 133;
136
- static readonly KW_IDENTIFIER = 134;
137
- static readonly KW_IF = 135;
138
- static readonly KW_IGNORE = 136;
139
- static readonly KW_IMPORT = 137;
140
- static readonly KW_IN = 138;
141
- static readonly KW_INCLUDE = 139;
142
- static readonly KW_INDEX = 140;
143
- static readonly KW_INDEXES = 141;
144
- static readonly KW_INNER = 142;
145
- static readonly KW_INPATH = 143;
146
- static readonly KW_INPUTFORMAT = 144;
147
- static readonly KW_INSERT = 145;
148
- static readonly KW_INTERSECT = 146;
149
- static readonly KW_INTERVAL = 147;
150
- static readonly KW_INT = 148;
151
- static readonly KW_INTEGER = 149;
152
- static readonly KW_INTO = 150;
153
- static readonly KW_IS = 151;
154
- static readonly KW_ITEMS = 152;
155
- static readonly KW_JOIN = 153;
156
- static readonly KW_KEYS = 154;
157
- static readonly KW_LAST = 155;
158
- static readonly KW_LATERAL = 156;
159
- static readonly KW_LAZY = 157;
160
- static readonly KW_LEADING = 158;
161
- static readonly KW_LEFT = 159;
162
- static readonly KW_LIKE = 160;
163
- static readonly KW_ILIKE = 161;
164
- static readonly KW_LIMIT = 162;
165
- static readonly KW_LINES = 163;
166
- static readonly KW_LIST = 164;
167
- static readonly KW_LOAD = 165;
168
- static readonly KW_LOCAL = 166;
169
- static readonly KW_LOCATION = 167;
170
- static readonly KW_LOCK = 168;
171
- static readonly KW_LOCKS = 169;
172
- static readonly KW_LOGICAL = 170;
173
- static readonly KW_LONG = 171;
174
- static readonly KW_MACRO = 172;
175
- static readonly KW_MAP = 173;
176
- static readonly KW_MATCHED = 174;
177
- static readonly KW_MERGE = 175;
178
- static readonly KW_MICROSECOND = 176;
179
- static readonly KW_MICROSECONDS = 177;
180
- static readonly KW_MILLISECOND = 178;
181
- static readonly KW_MILLISECONDS = 179;
182
- static readonly KW_MINUTE = 180;
183
- static readonly KW_MINUTES = 181;
184
- static readonly KW_MONTH = 182;
185
- static readonly KW_MONTHS = 183;
186
- static readonly KW_MSCK = 184;
187
- static readonly KW_NAME = 185;
188
- static readonly KW_NAMESPACE = 186;
189
- static readonly KW_NAMESPACES = 187;
190
- static readonly KW_NANOSECOND = 188;
191
- static readonly KW_NANOSECONDS = 189;
192
- static readonly KW_NATURAL = 190;
193
- static readonly KW_NO = 191;
194
- static readonly KW_NOSCAN = 192;
195
- static readonly KW_NOT = 193;
196
- static readonly KW_NULL = 194;
197
- static readonly KW_NULLS = 195;
198
- static readonly KW_NUMERIC = 196;
199
- static readonly KW_OF = 197;
200
- static readonly KW_OFFSET = 198;
201
- static readonly KW_ON = 199;
202
- static readonly KW_ONLY = 200;
203
- static readonly KW_OPTION = 201;
204
- static readonly KW_OPTIONS = 202;
205
- static readonly KW_OR = 203;
206
- static readonly KW_ORDER = 204;
207
- static readonly KW_OUT = 205;
208
- static readonly KW_OUTER = 206;
209
- static readonly KW_OUTPUTFORMAT = 207;
210
- static readonly KW_OVER = 208;
211
- static readonly KW_OVERLAPS = 209;
212
- static readonly KW_OVERLAY = 210;
213
- static readonly KW_OVERWRITE = 211;
214
- static readonly KW_PARTITION = 212;
215
- static readonly KW_PARTITIONED = 213;
216
- static readonly KW_PARTITIONS = 214;
217
- static readonly KW_PERCENTILE_CONT = 215;
218
- static readonly KW_PERCENTILE_DISC = 216;
219
- static readonly KW_PERCENTLIT = 217;
220
- static readonly KW_PIVOT = 218;
221
- static readonly KW_PLACING = 219;
222
- static readonly KW_POSITION = 220;
223
- static readonly KW_PRECEDING = 221;
224
- static readonly KW_PRIMARY = 222;
225
- static readonly KW_PRINCIPALS = 223;
226
- static readonly KW_PROPERTIES = 224;
227
- static readonly KW_PURGE = 225;
228
- static readonly KW_QUARTER = 226;
229
- static readonly KW_QUERY = 227;
230
- static readonly KW_RANGE = 228;
231
- static readonly KW_REAL = 229;
232
- static readonly KW_RECORDREADER = 230;
233
- static readonly KW_RECORDWRITER = 231;
234
- static readonly KW_RECOVER = 232;
235
- static readonly KW_REDUCE = 233;
236
- static readonly KW_REFERENCES = 234;
237
- static readonly KW_REFRESH = 235;
238
- static readonly KW_RENAME = 236;
239
- static readonly KW_REPAIR = 237;
240
- static readonly KW_REPEATABLE = 238;
241
- static readonly KW_REPLACE = 239;
242
- static readonly KW_RESET = 240;
243
- static readonly KW_RESPECT = 241;
244
- static readonly KW_RESTRICT = 242;
245
- static readonly KW_REVOKE = 243;
246
- static readonly KW_RIGHT = 244;
247
- static readonly KW_RLIKE = 245;
248
- static readonly KW_REGEXP = 246;
249
- static readonly KW_ROLE = 247;
250
- static readonly KW_ROLES = 248;
251
- static readonly KW_ROLLBACK = 249;
252
- static readonly KW_ROLLUP = 250;
253
- static readonly KW_ROW = 251;
254
- static readonly KW_ROWS = 252;
255
- static readonly KW_SECOND = 253;
256
- static readonly KW_SECONDS = 254;
257
- static readonly KW_SCHEMA = 255;
258
- static readonly KW_SCHEMAS = 256;
259
- static readonly KW_SELECT = 257;
260
- static readonly KW_SEMI = 258;
261
- static readonly KW_SEPARATED = 259;
262
- static readonly KW_SERDE = 260;
263
- static readonly KW_SERDEPROPERTIES = 261;
264
- static readonly KW_SESSION_USER = 262;
265
- static readonly KW_SET = 263;
266
- static readonly KW_MINUS = 264;
267
- static readonly KW_SETS = 265;
268
- static readonly KW_SHORT = 266;
269
- static readonly KW_SHOW = 267;
270
- static readonly KW_SINGLE = 268;
271
- static readonly KW_SKEWED = 269;
272
- static readonly KW_SMALLINT = 270;
273
- static readonly KW_SOME = 271;
274
- static readonly KW_SORT = 272;
275
- static readonly KW_SORTED = 273;
276
- static readonly KW_SOURCE = 274;
277
- static readonly KW_START = 275;
278
- static readonly KW_STATISTICS = 276;
279
- static readonly KW_STORED = 277;
280
- static readonly KW_STRATIFY = 278;
281
- static readonly KW_STRING = 279;
282
- static readonly KW_STRUCT = 280;
283
- static readonly KW_SUBSTR = 281;
284
- static readonly KW_SUBSTRING = 282;
285
- static readonly KW_SYNC = 283;
286
- static readonly KW_SYSTEM = 284;
287
- static readonly KW_SYSTEM_TIME = 285;
288
- static readonly KW_SYSTEM_VERSION = 286;
289
- static readonly KW_TABLE = 287;
290
- static readonly KW_TABLES = 288;
291
- static readonly KW_TABLESAMPLE = 289;
292
- static readonly KW_TARGET = 290;
293
- static readonly KW_TBLPROPERTIES = 291;
294
- static readonly KW_TEMPORARY = 292;
295
- static readonly KW_TERMINATED = 293;
296
- static readonly KW_THEN = 294;
297
- static readonly KW_TIME = 295;
298
- static readonly KW_TIMEDIFF = 296;
299
- static readonly KW_TIMESTAMP = 297;
300
- static readonly KW_TIMESTAMP_LTZ = 298;
301
- static readonly KW_TIMESTAMP_NTZ = 299;
302
- static readonly KW_TIMESTAMPADD = 300;
303
- static readonly KW_TIMESTAMPDIFF = 301;
304
- static readonly KW_TINYINT = 302;
305
- static readonly KW_TO = 303;
306
- static readonly KW_TOUCH = 304;
307
- static readonly KW_TRAILING = 305;
308
- static readonly KW_TRANSACTION = 306;
309
- static readonly KW_TRANSACTIONS = 307;
310
- static readonly KW_TRANSFORM = 308;
311
- static readonly KW_TRIM = 309;
312
- static readonly KW_TRUE = 310;
313
- static readonly KW_TRUNCATE = 311;
314
- static readonly KW_TRY_CAST = 312;
315
- static readonly KW_TYPE = 313;
316
- static readonly KW_UNARCHIVE = 314;
317
- static readonly KW_UNBOUNDED = 315;
318
- static readonly KW_UNCACHE = 316;
319
- static readonly KW_UNION = 317;
320
- static readonly KW_UNIQUE = 318;
321
- static readonly KW_UNKNOWN = 319;
322
- static readonly KW_UNLOCK = 320;
323
- static readonly KW_UNPIVOT = 321;
324
- static readonly KW_UNSET = 322;
325
- static readonly KW_UPDATE = 323;
326
- static readonly KW_USE = 324;
327
- static readonly KW_USER = 325;
328
- static readonly KW_USING = 326;
329
- static readonly KW_VALUES = 327;
330
- static readonly KW_VARCHAR = 328;
331
- static readonly KW_VAR = 329;
332
- static readonly KW_VARIABLE = 330;
333
- static readonly KW_VERSION = 331;
334
- static readonly KW_VIEW = 332;
335
- static readonly KW_VIEWS = 333;
336
- static readonly KW_VOID = 334;
337
- static readonly KW_WEEK = 335;
338
- static readonly KW_WEEKS = 336;
339
- static readonly KW_WHEN = 337;
340
- static readonly KW_WHERE = 338;
341
- static readonly KW_WINDOW = 339;
342
- static readonly KW_WITH = 340;
343
- static readonly KW_WITHIN = 341;
344
- static readonly KW_YEAR = 342;
345
- static readonly KW_YEARS = 343;
346
- static readonly KW_ZONE = 344;
347
- static readonly EQ = 345;
348
- static readonly NSEQ = 346;
349
- static readonly NEQ = 347;
350
- static readonly NEQJ = 348;
351
- static readonly LT = 349;
352
- static readonly LTE = 350;
353
- static readonly GT = 351;
354
- static readonly GTE = 352;
355
- static readonly NOT = 353;
356
- static readonly PLUS = 354;
357
- static readonly MINUS = 355;
358
- static readonly ASTERISK = 356;
359
- static readonly SLASH = 357;
360
- static readonly PERCENT = 358;
361
- static readonly TILDE = 359;
362
- static readonly AMPERSAND = 360;
363
- static readonly PIPE = 361;
364
- static readonly CONCAT_PIPE = 362;
365
- static readonly HAT = 363;
366
- static readonly COLON = 364;
367
- static readonly ARROW = 365;
368
- static readonly FAT_ARROW = 366;
369
- static readonly HENT_START = 367;
370
- static readonly HENT_END = 368;
371
- static readonly QUESTION = 369;
372
- static readonly STRING_LITERAL = 370;
373
- static readonly DOUBLEQUOTED_STRING = 371;
374
- static readonly BIGINT_LITERAL = 372;
375
- static readonly SMALLINT_LITERAL = 373;
376
- static readonly TINYINT_LITERAL = 374;
377
- static readonly INTEGER_VALUE = 375;
378
- static readonly EXPONENT_VALUE = 376;
379
- static readonly DECIMAL_VALUE = 377;
380
- static readonly FLOAT_LITERAL = 378;
381
- static readonly DOUBLE_LITERAL = 379;
382
- static readonly BIGDECIMAL_LITERAL = 380;
383
- static readonly IDENTIFIER = 381;
384
- static readonly BACKQUOTED_IDENTIFIER = 382;
385
- static readonly SIMPLE_COMMENT = 383;
386
- static readonly BRACKETED_COMMENT = 384;
387
- static readonly WS = 385;
388
- static readonly UNRECOGNIZED = 386;
93
+ static readonly KW_DISABLE = 91;
94
+ static readonly KW_DISTINCT = 92;
95
+ static readonly KW_DISTRIBUTE = 93;
96
+ static readonly KW_DIV = 94;
97
+ static readonly KW_DOUBLE = 95;
98
+ static readonly KW_DROP = 96;
99
+ static readonly KW_ELSE = 97;
100
+ static readonly KW_ENABLE = 98;
101
+ static readonly KW_END = 99;
102
+ static readonly KW_ESCAPE = 100;
103
+ static readonly KW_ESCAPED = 101;
104
+ static readonly KW_EXCEPT = 102;
105
+ static readonly KW_EXCHANGE = 103;
106
+ static readonly KW_EXCLUDE = 104;
107
+ static readonly KW_EXISTS = 105;
108
+ static readonly KW_EXPLAIN = 106;
109
+ static readonly KW_EXPORT = 107;
110
+ static readonly KW_EXTENDED = 108;
111
+ static readonly KW_EXTERNAL = 109;
112
+ static readonly KW_EXTRACT = 110;
113
+ static readonly KW_FALSE = 111;
114
+ static readonly KW_FETCH = 112;
115
+ static readonly KW_FIELDS = 113;
116
+ static readonly KW_FILTER = 114;
117
+ static readonly KW_FILEFORMAT = 115;
118
+ static readonly KW_FIRST = 116;
119
+ static readonly KW_FLOAT = 117;
120
+ static readonly KW_FOLLOWING = 118;
121
+ static readonly KW_FOR = 119;
122
+ static readonly KW_FOREIGN = 120;
123
+ static readonly KW_FORMAT = 121;
124
+ static readonly KW_FORMATTED = 122;
125
+ static readonly KW_FROM = 123;
126
+ static readonly KW_FULL = 124;
127
+ static readonly KW_FUNCTION = 125;
128
+ static readonly KW_FUNCTIONS = 126;
129
+ static readonly KW_GENERATED = 127;
130
+ static readonly KW_GLOBAL = 128;
131
+ static readonly KW_GRANT = 129;
132
+ static readonly KW_GROUP = 130;
133
+ static readonly KW_GROUPING = 131;
134
+ static readonly KW_HAVING = 132;
135
+ static readonly KW_BINARY_HEX = 133;
136
+ static readonly KW_HOUR = 134;
137
+ static readonly KW_HOURS = 135;
138
+ static readonly KW_IDENTIFIER = 136;
139
+ static readonly KW_IF = 137;
140
+ static readonly KW_IGNORE = 138;
141
+ static readonly KW_IMPORT = 139;
142
+ static readonly KW_IN = 140;
143
+ static readonly KW_INCLUDE = 141;
144
+ static readonly KW_INDEX = 142;
145
+ static readonly KW_INDEXES = 143;
146
+ static readonly KW_INNER = 144;
147
+ static readonly KW_INPATH = 145;
148
+ static readonly KW_INPUTFORMAT = 146;
149
+ static readonly KW_INSERT = 147;
150
+ static readonly KW_INTERSECT = 148;
151
+ static readonly KW_INTERVAL = 149;
152
+ static readonly KW_INT = 150;
153
+ static readonly KW_INTEGER = 151;
154
+ static readonly KW_INTO = 152;
155
+ static readonly KW_IS = 153;
156
+ static readonly KW_ITEMS = 154;
157
+ static readonly KW_JOIN = 155;
158
+ static readonly KW_KEYS = 156;
159
+ static readonly KW_LAST = 157;
160
+ static readonly KW_LATERAL = 158;
161
+ static readonly KW_LAZY = 159;
162
+ static readonly KW_LEADING = 160;
163
+ static readonly KW_LEFT = 161;
164
+ static readonly KW_LIFECYCLE = 162;
165
+ static readonly KW_LIKE = 163;
166
+ static readonly KW_ILIKE = 164;
167
+ static readonly KW_LIMIT = 165;
168
+ static readonly KW_LINES = 166;
169
+ static readonly KW_LIST = 167;
170
+ static readonly KW_LOAD = 168;
171
+ static readonly KW_LOCAL = 169;
172
+ static readonly KW_LOCATION = 170;
173
+ static readonly KW_LOCK = 171;
174
+ static readonly KW_LOCKS = 172;
175
+ static readonly KW_LOGICAL = 173;
176
+ static readonly KW_LONG = 174;
177
+ static readonly KW_MACRO = 175;
178
+ static readonly KW_MATERIALIZED = 176;
179
+ static readonly KW_MAP = 177;
180
+ static readonly KW_MATCHED = 178;
181
+ static readonly KW_MERGE = 179;
182
+ static readonly KW_MICROSECOND = 180;
183
+ static readonly KW_MICROSECONDS = 181;
184
+ static readonly KW_MILLISECOND = 182;
185
+ static readonly KW_MILLISECONDS = 183;
186
+ static readonly KW_MINUTE = 184;
187
+ static readonly KW_MINUTES = 185;
188
+ static readonly KW_MONTH = 186;
189
+ static readonly KW_MONTHS = 187;
190
+ static readonly KW_MSCK = 188;
191
+ static readonly KW_NAME = 189;
192
+ static readonly KW_NAMESPACE = 190;
193
+ static readonly KW_NAMESPACES = 191;
194
+ static readonly KW_NANOSECOND = 192;
195
+ static readonly KW_NANOSECONDS = 193;
196
+ static readonly KW_NATURAL = 194;
197
+ static readonly KW_NO = 195;
198
+ static readonly KW_NOSCAN = 196;
199
+ static readonly KW_NOT = 197;
200
+ static readonly KW_NULL = 198;
201
+ static readonly KW_NULLS = 199;
202
+ static readonly KW_NUMERIC = 200;
203
+ static readonly KW_OF = 201;
204
+ static readonly KW_OFFSET = 202;
205
+ static readonly KW_ON = 203;
206
+ static readonly KW_ONLY = 204;
207
+ static readonly KW_OPTIMIZE = 205;
208
+ static readonly KW_OPTION = 206;
209
+ static readonly KW_OPTIONS = 207;
210
+ static readonly KW_OR = 208;
211
+ static readonly KW_ORDER = 209;
212
+ static readonly KW_OUT = 210;
213
+ static readonly KW_OUTER = 211;
214
+ static readonly KW_OUTPUTFORMAT = 212;
215
+ static readonly KW_OVER = 213;
216
+ static readonly KW_OVERLAPS = 214;
217
+ static readonly KW_OVERLAY = 215;
218
+ static readonly KW_OVERWRITE = 216;
219
+ static readonly KW_PARTITION = 217;
220
+ static readonly KW_PARTITIONED = 218;
221
+ static readonly KW_PARTITIONS = 219;
222
+ static readonly KW_PERCENTILE_CONT = 220;
223
+ static readonly KW_PERCENTILE_DISC = 221;
224
+ static readonly KW_PERCENTLIT = 222;
225
+ static readonly KW_PIVOT = 223;
226
+ static readonly KW_PLACING = 224;
227
+ static readonly KW_POSITION = 225;
228
+ static readonly KW_PRECEDING = 226;
229
+ static readonly KW_PRIMARY = 227;
230
+ static readonly KW_PRINCIPALS = 228;
231
+ static readonly KW_PROPERTIES = 229;
232
+ static readonly KW_PURGE = 230;
233
+ static readonly KW_QUARTER = 231;
234
+ static readonly KW_QUERY = 232;
235
+ static readonly KW_RANGE = 233;
236
+ static readonly KW_REAL = 234;
237
+ static readonly KW_RECORDREADER = 235;
238
+ static readonly KW_RECORDWRITER = 236;
239
+ static readonly KW_RECOVER = 237;
240
+ static readonly KW_REDUCE = 238;
241
+ static readonly KW_REFERENCES = 239;
242
+ static readonly KW_REFRESH = 240;
243
+ static readonly KW_RENAME = 241;
244
+ static readonly KW_REPAIR = 242;
245
+ static readonly KW_REPEATABLE = 243;
246
+ static readonly KW_REPLACE = 244;
247
+ static readonly KW_RESET = 245;
248
+ static readonly KW_RESPECT = 246;
249
+ static readonly KW_RESTRICT = 247;
250
+ static readonly KW_REWRITE = 248;
251
+ static readonly KW_REVOKE = 249;
252
+ static readonly KW_RIGHT = 250;
253
+ static readonly KW_RLIKE = 251;
254
+ static readonly KW_REGEXP = 252;
255
+ static readonly KW_ROLE = 253;
256
+ static readonly KW_ROLES = 254;
257
+ static readonly KW_ROLLBACK = 255;
258
+ static readonly KW_ROLLUP = 256;
259
+ static readonly KW_ROW = 257;
260
+ static readonly KW_ROWS = 258;
261
+ static readonly KW_SECOND = 259;
262
+ static readonly KW_SECONDS = 260;
263
+ static readonly KW_SCHEMA = 261;
264
+ static readonly KW_SCHEMAS = 262;
265
+ static readonly KW_SELECT = 263;
266
+ static readonly KW_SEMI = 264;
267
+ static readonly KW_SEPARATED = 265;
268
+ static readonly KW_SERDE = 266;
269
+ static readonly KW_SERDEPROPERTIES = 267;
270
+ static readonly KW_SESSION_USER = 268;
271
+ static readonly KW_SET = 269;
272
+ static readonly KW_MINUS = 270;
273
+ static readonly KW_SETS = 271;
274
+ static readonly KW_SHORT = 272;
275
+ static readonly KW_SHOW = 273;
276
+ static readonly KW_SINGLE = 274;
277
+ static readonly KW_SKEWED = 275;
278
+ static readonly KW_SMALLINT = 276;
279
+ static readonly KW_SOME = 277;
280
+ static readonly KW_SORT = 278;
281
+ static readonly KW_SORTED = 279;
282
+ static readonly KW_SOURCE = 280;
283
+ static readonly KW_START = 281;
284
+ static readonly KW_STATISTICS = 282;
285
+ static readonly KW_STORED = 283;
286
+ static readonly KW_STRATIFY = 284;
287
+ static readonly KW_STRING = 285;
288
+ static readonly KW_STRUCT = 286;
289
+ static readonly KW_SUBSTR = 287;
290
+ static readonly KW_SUBSTRING = 288;
291
+ static readonly KW_SYNC = 289;
292
+ static readonly KW_SYSTEM = 290;
293
+ static readonly KW_SYSTEM_TIME = 291;
294
+ static readonly KW_SYSTEM_VERSION = 292;
295
+ static readonly KW_TABLE = 293;
296
+ static readonly KW_TABLES = 294;
297
+ static readonly KW_TABLESAMPLE = 295;
298
+ static readonly KW_TARGET = 296;
299
+ static readonly KW_TBLPROPERTIES = 297;
300
+ static readonly KW_TEMPORARY = 298;
301
+ static readonly KW_TERMINATED = 299;
302
+ static readonly KW_THEN = 300;
303
+ static readonly KW_TIME = 301;
304
+ static readonly KW_TIMEDIFF = 302;
305
+ static readonly KW_TIMESTAMP = 303;
306
+ static readonly KW_TIMESTAMP_LTZ = 304;
307
+ static readonly KW_TIMESTAMP_NTZ = 305;
308
+ static readonly KW_TIMESTAMPADD = 306;
309
+ static readonly KW_TIMESTAMPDIFF = 307;
310
+ static readonly KW_TINYINT = 308;
311
+ static readonly KW_TO = 309;
312
+ static readonly KW_TOUCH = 310;
313
+ static readonly KW_TRAILING = 311;
314
+ static readonly KW_TRANSACTION = 312;
315
+ static readonly KW_TRANSACTIONS = 313;
316
+ static readonly KW_TRANSFORM = 314;
317
+ static readonly KW_TRIM = 315;
318
+ static readonly KW_TRUE = 316;
319
+ static readonly KW_TRUNCATE = 317;
320
+ static readonly KW_TRY_CAST = 318;
321
+ static readonly KW_TYPE = 319;
322
+ static readonly KW_UNARCHIVE = 320;
323
+ static readonly KW_UNBOUNDED = 321;
324
+ static readonly KW_UNCACHE = 322;
325
+ static readonly KW_UNION = 323;
326
+ static readonly KW_UNIQUE = 324;
327
+ static readonly KW_UNKNOWN = 325;
328
+ static readonly KW_UNLOCK = 326;
329
+ static readonly KW_UNPIVOT = 327;
330
+ static readonly KW_UNSET = 328;
331
+ static readonly KW_UPDATE = 329;
332
+ static readonly KW_USE = 330;
333
+ static readonly KW_USER = 331;
334
+ static readonly KW_USING = 332;
335
+ static readonly KW_VALUES = 333;
336
+ static readonly KW_VARCHAR = 334;
337
+ static readonly KW_VAR = 335;
338
+ static readonly KW_VARIABLE = 336;
339
+ static readonly KW_VERSION = 337;
340
+ static readonly KW_VIEW = 338;
341
+ static readonly KW_VIEWS = 339;
342
+ static readonly KW_VOID = 340;
343
+ static readonly KW_WEEK = 341;
344
+ static readonly KW_WEEKS = 342;
345
+ static readonly KW_WHEN = 343;
346
+ static readonly KW_WHERE = 344;
347
+ static readonly KW_WINDOW = 345;
348
+ static readonly KW_WITH = 346;
349
+ static readonly KW_WITHIN = 347;
350
+ static readonly KW_YEAR = 348;
351
+ static readonly KW_YEARS = 349;
352
+ static readonly KW_ZONE = 350;
353
+ static readonly KW_ZORDER = 351;
354
+ static readonly EQ = 352;
355
+ static readonly NSEQ = 353;
356
+ static readonly NEQ = 354;
357
+ static readonly NEQJ = 355;
358
+ static readonly LT = 356;
359
+ static readonly LTE = 357;
360
+ static readonly GT = 358;
361
+ static readonly GTE = 359;
362
+ static readonly NOT = 360;
363
+ static readonly PLUS = 361;
364
+ static readonly MINUS = 362;
365
+ static readonly ASTERISK = 363;
366
+ static readonly SLASH = 364;
367
+ static readonly PERCENT = 365;
368
+ static readonly TILDE = 366;
369
+ static readonly AMPERSAND = 367;
370
+ static readonly PIPE = 368;
371
+ static readonly CONCAT_PIPE = 369;
372
+ static readonly HAT = 370;
373
+ static readonly COLON = 371;
374
+ static readonly ARROW = 372;
375
+ static readonly FAT_ARROW = 373;
376
+ static readonly HENT_START = 374;
377
+ static readonly HENT_END = 375;
378
+ static readonly QUESTION = 376;
379
+ static readonly STRING_LITERAL = 377;
380
+ static readonly DOUBLEQUOTED_STRING = 378;
381
+ static readonly BIGINT_LITERAL = 379;
382
+ static readonly SMALLINT_LITERAL = 380;
383
+ static readonly TINYINT_LITERAL = 381;
384
+ static readonly INTEGER_VALUE = 382;
385
+ static readonly EXPONENT_VALUE = 383;
386
+ static readonly DECIMAL_VALUE = 384;
387
+ static readonly FLOAT_LITERAL = 385;
388
+ static readonly DOUBLE_LITERAL = 386;
389
+ static readonly BIGDECIMAL_LITERAL = 387;
390
+ static readonly IDENTIFIER = 388;
391
+ static readonly BACKQUOTED_IDENTIFIER = 389;
392
+ static readonly SIMPLE_COMMENT = 390;
393
+ static readonly BRACKETED_COMMENT = 391;
394
+ static readonly WS = 392;
395
+ static readonly UNRECOGNIZED = 393;
389
396
  static readonly channelNames: string[];
390
- static readonly literalNames: string[];
391
- static readonly symbolicNames: string[];
397
+ static readonly literalNames: (string | null)[];
398
+ static readonly symbolicNames: (string | null)[];
392
399
  static readonly modeNames: string[];
393
400
  static readonly ruleNames: string[];
394
401
  /**