dt-sql-parser 4.5.0-beta.3 → 4.5.1-beta.0

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 (65) hide show
  1. package/README.md +2 -1
  2. package/dist/index.d.ts +3 -2
  3. package/dist/index.js +2 -2
  4. package/dist/lib/SQLParserBase.d.ts +13 -1
  5. package/dist/lib/SQLParserBase.js +40 -5
  6. package/dist/lib/flink/FlinkSqlLexer.d.ts +397 -399
  7. package/dist/lib/flink/FlinkSqlLexer.js +2489 -2504
  8. package/dist/lib/flink/FlinkSqlParser.d.ts +617 -726
  9. package/dist/lib/flink/FlinkSqlParser.js +3605 -4908
  10. package/dist/lib/flink/FlinkSqlParserListener.d.ts +33 -90
  11. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +21 -57
  12. package/dist/lib/generic/GenericSqlLexer.d.ts +143 -0
  13. package/dist/lib/generic/GenericSqlLexer.js +603 -0
  14. package/dist/lib/generic/GenericSqlListener.d.ts +1174 -0
  15. package/dist/lib/generic/GenericSqlListener.js +11 -0
  16. package/dist/lib/generic/GenericSqlParser.d.ts +1341 -0
  17. package/dist/lib/generic/GenericSqlParser.js +8041 -0
  18. package/dist/lib/generic/GenericSqlVisitor.d.ts +737 -0
  19. package/dist/lib/generic/GenericSqlVisitor.js +12 -0
  20. package/dist/lib/hive/HiveSqlParser.d.ts +274 -228
  21. package/dist/lib/hive/HiveSqlParser.js +6304 -5912
  22. package/dist/lib/hive/HiveSqlParserListener.d.ts +33 -0
  23. package/dist/lib/hive/HiveSqlParserVisitor.d.ts +21 -0
  24. package/dist/lib/impala/ImpalaSqlParser.d.ts +145 -103
  25. package/dist/lib/impala/ImpalaSqlParser.js +3687 -3320
  26. package/dist/lib/impala/ImpalaSqlParserListener.d.ts +33 -0
  27. package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +21 -0
  28. package/dist/lib/index.d.ts +2 -0
  29. package/dist/lib/index.js +2 -0
  30. package/dist/lib/mysql/MySqlParser.d.ts +161 -94
  31. package/dist/lib/mysql/MySqlParser.js +9959 -9499
  32. package/dist/lib/mysql/MySqlParserListener.d.ts +79 -5
  33. package/dist/lib/mysql/MySqlParserVisitor.d.ts +49 -3
  34. package/dist/lib/postgresql/PostgreSqlParser.d.ts +108 -71
  35. package/dist/lib/postgresql/PostgreSqlParser.js +13330 -10388
  36. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +48 -0
  37. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +30 -0
  38. package/dist/lib/spark/SparkSqlParser.d.ts +185 -145
  39. package/dist/lib/spark/SparkSqlParser.js +5463 -5152
  40. package/dist/lib/spark/SparkSqlParserListener.d.ts +33 -0
  41. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +21 -0
  42. package/dist/parser/common/basicSQL.d.ts +5 -17
  43. package/dist/parser/common/basicSQL.js +3 -74
  44. package/dist/parser/common/entityCollector.js +14 -2
  45. package/dist/parser/flink/index.js +5 -2
  46. package/dist/parser/generic/genericEntityCollector.d.ts +33 -0
  47. package/dist/parser/generic/genericEntityCollector.js +124 -0
  48. package/dist/parser/generic/genericErrorListener.d.ts +6 -0
  49. package/dist/parser/generic/genericErrorListener.js +56 -0
  50. package/dist/parser/generic/genericSemanticContextCollector.d.ts +9 -0
  51. package/dist/parser/generic/genericSemanticContextCollector.js +14 -0
  52. package/dist/parser/generic/genericSplitListener.d.ts +6 -0
  53. package/dist/parser/generic/genericSplitListener.js +6 -0
  54. package/dist/parser/generic/index.d.ts +33 -0
  55. package/dist/parser/generic/index.js +109 -0
  56. package/dist/parser/index.d.ts +1 -0
  57. package/dist/parser/index.js +1 -0
  58. package/dist/parser/mysql/index.js +3 -1
  59. package/dist/parser/mysql/mysqlEntityCollector.d.ts +2 -1
  60. package/dist/parser/mysql/mysqlEntityCollector.js +13 -3
  61. package/dist/parser/mysql/mysqlErrorListener.js +2 -0
  62. package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
  63. package/dist/parser/postgresql/postgreEntityCollector.js +13 -0
  64. package/dist/parser/spark/index.js +3 -1
  65. package/package.json +1 -1
@@ -0,0 +1,1174 @@
1
+ import { ErrorNode, ParseTreeListener, ParserRuleContext, TerminalNode } from "antlr4ng";
2
+ import { ProgramContext } from "./GenericSqlParser.js";
3
+ import { StatementsContext } from "./GenericSqlParser.js";
4
+ import { SingleStatementContext } from "./GenericSqlParser.js";
5
+ import { StatementDefaultContext } from "./GenericSqlParser.js";
6
+ import { InsertContext } from "./GenericSqlParser.js";
7
+ import { UpdateContext } from "./GenericSqlParser.js";
8
+ import { DeleteContext } from "./GenericSqlParser.js";
9
+ import { CreateTableContext } from "./GenericSqlParser.js";
10
+ import { AlterTableContext } from "./GenericSqlParser.js";
11
+ import { DropTableContext } from "./GenericSqlParser.js";
12
+ import { QueryStatementContext } from "./GenericSqlParser.js";
13
+ import { WithClauseContext } from "./GenericSqlParser.js";
14
+ import { NamedQueryContext } from "./GenericSqlParser.js";
15
+ import { QueryNoWithContext } from "./GenericSqlParser.js";
16
+ import { QueryTermContext } from "./GenericSqlParser.js";
17
+ import { QueryPrimaryContext } from "./GenericSqlParser.js";
18
+ import { QuerySpecificationContext } from "./GenericSqlParser.js";
19
+ import { SetQuantifierContext } from "./GenericSqlParser.js";
20
+ import { SelectExpressionElementContext } from "./GenericSqlParser.js";
21
+ import { SelectStarElementContext } from "./GenericSqlParser.js";
22
+ import { SelectAllElementContext } from "./GenericSqlParser.js";
23
+ import { SelectEmptyElementContext } from "./GenericSqlParser.js";
24
+ import { FromClauseContext } from "./GenericSqlParser.js";
25
+ import { SimpleRelationContext } from "./GenericSqlParser.js";
26
+ import { JoinRelationContext } from "./GenericSqlParser.js";
27
+ import { JoinTypeContext } from "./GenericSqlParser.js";
28
+ import { AliasedRelationContext } from "./GenericSqlParser.js";
29
+ import { TableNameRelationContext } from "./GenericSqlParser.js";
30
+ import { SubqueryRelationContext } from "./GenericSqlParser.js";
31
+ import { WhereClauseContext } from "./GenericSqlParser.js";
32
+ import { GroupByClauseContext } from "./GenericSqlParser.js";
33
+ import { HavingClauseContext } from "./GenericSqlParser.js";
34
+ import { OrderByClauseContext } from "./GenericSqlParser.js";
35
+ import { SortItemContext } from "./GenericSqlParser.js";
36
+ import { LimitClauseContext } from "./GenericSqlParser.js";
37
+ import { InsertStatementContext } from "./GenericSqlParser.js";
38
+ import { ColumnListContext } from "./GenericSqlParser.js";
39
+ import { UpdateStatementContext } from "./GenericSqlParser.js";
40
+ import { UpdateAssignmentContext } from "./GenericSqlParser.js";
41
+ import { DeleteStatementContext } from "./GenericSqlParser.js";
42
+ import { CreateTableStatementContext } from "./GenericSqlParser.js";
43
+ import { TableElementContext } from "./GenericSqlParser.js";
44
+ import { ColumnDefinitionContext } from "./GenericSqlParser.js";
45
+ import { ColumnRefCreateContext } from "./GenericSqlParser.js";
46
+ import { TableConstraintContext } from "./GenericSqlParser.js";
47
+ import { AlterTableStatementContext } from "./GenericSqlParser.js";
48
+ import { DropTableStatementContext } from "./GenericSqlParser.js";
49
+ import { ExpressionContext } from "./GenericSqlParser.js";
50
+ import { OrExpressionContext } from "./GenericSqlParser.js";
51
+ import { AndExpressionContext } from "./GenericSqlParser.js";
52
+ import { PredicatedContext } from "./GenericSqlParser.js";
53
+ import { NotExpressionContext } from "./GenericSqlParser.js";
54
+ import { PredicatedExpressionContext } from "./GenericSqlParser.js";
55
+ import { ComparisonPredicateContext } from "./GenericSqlParser.js";
56
+ import { InPredicateContext } from "./GenericSqlParser.js";
57
+ import { InSubqueryPredicateContext } from "./GenericSqlParser.js";
58
+ import { BetweenPredicateContext } from "./GenericSqlParser.js";
59
+ import { LikePredicateContext } from "./GenericSqlParser.js";
60
+ import { NullPredicateContext } from "./GenericSqlParser.js";
61
+ import { DistinctFromPredicateContext } from "./GenericSqlParser.js";
62
+ import { ComparisonOperatorContext } from "./GenericSqlParser.js";
63
+ import { ValueExpressionDefaultContext } from "./GenericSqlParser.js";
64
+ import { ConcatenationContext } from "./GenericSqlParser.js";
65
+ import { ArithmeticBinaryContext } from "./GenericSqlParser.js";
66
+ import { ArithmeticUnaryContext } from "./GenericSqlParser.js";
67
+ import { LiteralExpressionContext } from "./GenericSqlParser.js";
68
+ import { FunctionCallContext } from "./GenericSqlParser.js";
69
+ import { SearchedCaseExpressionContext } from "./GenericSqlParser.js";
70
+ import { SimpleCaseExpressionContext } from "./GenericSqlParser.js";
71
+ import { CastExpressionContext } from "./GenericSqlParser.js";
72
+ import { CoalesceExpressionContext } from "./GenericSqlParser.js";
73
+ import { NullIfExpressionContext } from "./GenericSqlParser.js";
74
+ import { ParenthesizedExpressionContext } from "./GenericSqlParser.js";
75
+ import { ExistsExpressionContext } from "./GenericSqlParser.js";
76
+ import { SubqueryExpressionDefaultContext } from "./GenericSqlParser.js";
77
+ import { ColumnReferenceContext } from "./GenericSqlParser.js";
78
+ import { WhenClauseContext } from "./GenericSqlParser.js";
79
+ import { SubqueryExpressionContext } from "./GenericSqlParser.js";
80
+ import { DataTypeContext } from "./GenericSqlParser.js";
81
+ import { PropertiesContext } from "./GenericSqlParser.js";
82
+ import { PropertyContext } from "./GenericSqlParser.js";
83
+ import { NullLiteralContext } from "./GenericSqlParser.js";
84
+ import { BooleanLiteralContext } from "./GenericSqlParser.js";
85
+ import { IntegerLiteralContext } from "./GenericSqlParser.js";
86
+ import { DecimalLiteralContext } from "./GenericSqlParser.js";
87
+ import { DoubleLiteralContext } from "./GenericSqlParser.js";
88
+ import { StringLiteralContext } from "./GenericSqlParser.js";
89
+ import { BinaryLiteralContext } from "./GenericSqlParser.js";
90
+ import { IdentifierContext } from "./GenericSqlParser.js";
91
+ import { QualifiedNameContext } from "./GenericSqlParser.js";
92
+ import { ColumnRefContext } from "./GenericSqlParser.js";
93
+ import { ColumnNameContext } from "./GenericSqlParser.js";
94
+ import { EmptyColumnContext } from "./GenericSqlParser.js";
95
+ import { TableNameContext } from "./GenericSqlParser.js";
96
+ import { TableNameCreateContext } from "./GenericSqlParser.js";
97
+ import { FunctionNameContext } from "./GenericSqlParser.js";
98
+ import { NonReservedContext } from "./GenericSqlParser.js";
99
+ /**
100
+ * This interface defines a complete listener for a parse tree produced by
101
+ * `GenericSqlParser`.
102
+ */
103
+ export declare class GenericSqlListener implements ParseTreeListener {
104
+ /**
105
+ * Enter a parse tree produced by `GenericSqlParser.program`.
106
+ * @param ctx the parse tree
107
+ */
108
+ enterProgram?: (ctx: ProgramContext) => void;
109
+ /**
110
+ * Exit a parse tree produced by `GenericSqlParser.program`.
111
+ * @param ctx the parse tree
112
+ */
113
+ exitProgram?: (ctx: ProgramContext) => void;
114
+ /**
115
+ * Enter a parse tree produced by `GenericSqlParser.statements`.
116
+ * @param ctx the parse tree
117
+ */
118
+ enterStatements?: (ctx: StatementsContext) => void;
119
+ /**
120
+ * Exit a parse tree produced by `GenericSqlParser.statements`.
121
+ * @param ctx the parse tree
122
+ */
123
+ exitStatements?: (ctx: StatementsContext) => void;
124
+ /**
125
+ * Enter a parse tree produced by `GenericSqlParser.singleStatement`.
126
+ * @param ctx the parse tree
127
+ */
128
+ enterSingleStatement?: (ctx: SingleStatementContext) => void;
129
+ /**
130
+ * Exit a parse tree produced by `GenericSqlParser.singleStatement`.
131
+ * @param ctx the parse tree
132
+ */
133
+ exitSingleStatement?: (ctx: SingleStatementContext) => void;
134
+ /**
135
+ * Enter a parse tree produced by the `statementDefault`
136
+ * labeled alternative in `GenericSqlParser.statement`.
137
+ * @param ctx the parse tree
138
+ */
139
+ enterStatementDefault?: (ctx: StatementDefaultContext) => void;
140
+ /**
141
+ * Exit a parse tree produced by the `statementDefault`
142
+ * labeled alternative in `GenericSqlParser.statement`.
143
+ * @param ctx the parse tree
144
+ */
145
+ exitStatementDefault?: (ctx: StatementDefaultContext) => void;
146
+ /**
147
+ * Enter a parse tree produced by the `insert`
148
+ * labeled alternative in `GenericSqlParser.statement`.
149
+ * @param ctx the parse tree
150
+ */
151
+ enterInsert?: (ctx: InsertContext) => void;
152
+ /**
153
+ * Exit a parse tree produced by the `insert`
154
+ * labeled alternative in `GenericSqlParser.statement`.
155
+ * @param ctx the parse tree
156
+ */
157
+ exitInsert?: (ctx: InsertContext) => void;
158
+ /**
159
+ * Enter a parse tree produced by the `update`
160
+ * labeled alternative in `GenericSqlParser.statement`.
161
+ * @param ctx the parse tree
162
+ */
163
+ enterUpdate?: (ctx: UpdateContext) => void;
164
+ /**
165
+ * Exit a parse tree produced by the `update`
166
+ * labeled alternative in `GenericSqlParser.statement`.
167
+ * @param ctx the parse tree
168
+ */
169
+ exitUpdate?: (ctx: UpdateContext) => void;
170
+ /**
171
+ * Enter a parse tree produced by the `delete`
172
+ * labeled alternative in `GenericSqlParser.statement`.
173
+ * @param ctx the parse tree
174
+ */
175
+ enterDelete?: (ctx: DeleteContext) => void;
176
+ /**
177
+ * Exit a parse tree produced by the `delete`
178
+ * labeled alternative in `GenericSqlParser.statement`.
179
+ * @param ctx the parse tree
180
+ */
181
+ exitDelete?: (ctx: DeleteContext) => void;
182
+ /**
183
+ * Enter a parse tree produced by the `createTable`
184
+ * labeled alternative in `GenericSqlParser.statement`.
185
+ * @param ctx the parse tree
186
+ */
187
+ enterCreateTable?: (ctx: CreateTableContext) => void;
188
+ /**
189
+ * Exit a parse tree produced by the `createTable`
190
+ * labeled alternative in `GenericSqlParser.statement`.
191
+ * @param ctx the parse tree
192
+ */
193
+ exitCreateTable?: (ctx: CreateTableContext) => void;
194
+ /**
195
+ * Enter a parse tree produced by the `alterTable`
196
+ * labeled alternative in `GenericSqlParser.statement`.
197
+ * @param ctx the parse tree
198
+ */
199
+ enterAlterTable?: (ctx: AlterTableContext) => void;
200
+ /**
201
+ * Exit a parse tree produced by the `alterTable`
202
+ * labeled alternative in `GenericSqlParser.statement`.
203
+ * @param ctx the parse tree
204
+ */
205
+ exitAlterTable?: (ctx: AlterTableContext) => void;
206
+ /**
207
+ * Enter a parse tree produced by the `dropTable`
208
+ * labeled alternative in `GenericSqlParser.statement`.
209
+ * @param ctx the parse tree
210
+ */
211
+ enterDropTable?: (ctx: DropTableContext) => void;
212
+ /**
213
+ * Exit a parse tree produced by the `dropTable`
214
+ * labeled alternative in `GenericSqlParser.statement`.
215
+ * @param ctx the parse tree
216
+ */
217
+ exitDropTable?: (ctx: DropTableContext) => void;
218
+ /**
219
+ * Enter a parse tree produced by `GenericSqlParser.queryStatement`.
220
+ * @param ctx the parse tree
221
+ */
222
+ enterQueryStatement?: (ctx: QueryStatementContext) => void;
223
+ /**
224
+ * Exit a parse tree produced by `GenericSqlParser.queryStatement`.
225
+ * @param ctx the parse tree
226
+ */
227
+ exitQueryStatement?: (ctx: QueryStatementContext) => void;
228
+ /**
229
+ * Enter a parse tree produced by `GenericSqlParser.withClause`.
230
+ * @param ctx the parse tree
231
+ */
232
+ enterWithClause?: (ctx: WithClauseContext) => void;
233
+ /**
234
+ * Exit a parse tree produced by `GenericSqlParser.withClause`.
235
+ * @param ctx the parse tree
236
+ */
237
+ exitWithClause?: (ctx: WithClauseContext) => void;
238
+ /**
239
+ * Enter a parse tree produced by `GenericSqlParser.namedQuery`.
240
+ * @param ctx the parse tree
241
+ */
242
+ enterNamedQuery?: (ctx: NamedQueryContext) => void;
243
+ /**
244
+ * Exit a parse tree produced by `GenericSqlParser.namedQuery`.
245
+ * @param ctx the parse tree
246
+ */
247
+ exitNamedQuery?: (ctx: NamedQueryContext) => void;
248
+ /**
249
+ * Enter a parse tree produced by `GenericSqlParser.queryNoWith`.
250
+ * @param ctx the parse tree
251
+ */
252
+ enterQueryNoWith?: (ctx: QueryNoWithContext) => void;
253
+ /**
254
+ * Exit a parse tree produced by `GenericSqlParser.queryNoWith`.
255
+ * @param ctx the parse tree
256
+ */
257
+ exitQueryNoWith?: (ctx: QueryNoWithContext) => void;
258
+ /**
259
+ * Enter a parse tree produced by `GenericSqlParser.queryTerm`.
260
+ * @param ctx the parse tree
261
+ */
262
+ enterQueryTerm?: (ctx: QueryTermContext) => void;
263
+ /**
264
+ * Exit a parse tree produced by `GenericSqlParser.queryTerm`.
265
+ * @param ctx the parse tree
266
+ */
267
+ exitQueryTerm?: (ctx: QueryTermContext) => void;
268
+ /**
269
+ * Enter a parse tree produced by `GenericSqlParser.queryPrimary`.
270
+ * @param ctx the parse tree
271
+ */
272
+ enterQueryPrimary?: (ctx: QueryPrimaryContext) => void;
273
+ /**
274
+ * Exit a parse tree produced by `GenericSqlParser.queryPrimary`.
275
+ * @param ctx the parse tree
276
+ */
277
+ exitQueryPrimary?: (ctx: QueryPrimaryContext) => void;
278
+ /**
279
+ * Enter a parse tree produced by `GenericSqlParser.querySpecification`.
280
+ * @param ctx the parse tree
281
+ */
282
+ enterQuerySpecification?: (ctx: QuerySpecificationContext) => void;
283
+ /**
284
+ * Exit a parse tree produced by `GenericSqlParser.querySpecification`.
285
+ * @param ctx the parse tree
286
+ */
287
+ exitQuerySpecification?: (ctx: QuerySpecificationContext) => void;
288
+ /**
289
+ * Enter a parse tree produced by `GenericSqlParser.setQuantifier`.
290
+ * @param ctx the parse tree
291
+ */
292
+ enterSetQuantifier?: (ctx: SetQuantifierContext) => void;
293
+ /**
294
+ * Exit a parse tree produced by `GenericSqlParser.setQuantifier`.
295
+ * @param ctx the parse tree
296
+ */
297
+ exitSetQuantifier?: (ctx: SetQuantifierContext) => void;
298
+ /**
299
+ * Enter a parse tree produced by the `selectExpressionElement`
300
+ * labeled alternative in `GenericSqlParser.selectItem`.
301
+ * @param ctx the parse tree
302
+ */
303
+ enterSelectExpressionElement?: (ctx: SelectExpressionElementContext) => void;
304
+ /**
305
+ * Exit a parse tree produced by the `selectExpressionElement`
306
+ * labeled alternative in `GenericSqlParser.selectItem`.
307
+ * @param ctx the parse tree
308
+ */
309
+ exitSelectExpressionElement?: (ctx: SelectExpressionElementContext) => void;
310
+ /**
311
+ * Enter a parse tree produced by the `selectStarElement`
312
+ * labeled alternative in `GenericSqlParser.selectItem`.
313
+ * @param ctx the parse tree
314
+ */
315
+ enterSelectStarElement?: (ctx: SelectStarElementContext) => void;
316
+ /**
317
+ * Exit a parse tree produced by the `selectStarElement`
318
+ * labeled alternative in `GenericSqlParser.selectItem`.
319
+ * @param ctx the parse tree
320
+ */
321
+ exitSelectStarElement?: (ctx: SelectStarElementContext) => void;
322
+ /**
323
+ * Enter a parse tree produced by the `selectAllElement`
324
+ * labeled alternative in `GenericSqlParser.selectItem`.
325
+ * @param ctx the parse tree
326
+ */
327
+ enterSelectAllElement?: (ctx: SelectAllElementContext) => void;
328
+ /**
329
+ * Exit a parse tree produced by the `selectAllElement`
330
+ * labeled alternative in `GenericSqlParser.selectItem`.
331
+ * @param ctx the parse tree
332
+ */
333
+ exitSelectAllElement?: (ctx: SelectAllElementContext) => void;
334
+ /**
335
+ * Enter a parse tree produced by the `selectEmptyElement`
336
+ * labeled alternative in `GenericSqlParser.selectItem`.
337
+ * @param ctx the parse tree
338
+ */
339
+ enterSelectEmptyElement?: (ctx: SelectEmptyElementContext) => void;
340
+ /**
341
+ * Exit a parse tree produced by the `selectEmptyElement`
342
+ * labeled alternative in `GenericSqlParser.selectItem`.
343
+ * @param ctx the parse tree
344
+ */
345
+ exitSelectEmptyElement?: (ctx: SelectEmptyElementContext) => void;
346
+ /**
347
+ * Enter a parse tree produced by `GenericSqlParser.fromClause`.
348
+ * @param ctx the parse tree
349
+ */
350
+ enterFromClause?: (ctx: FromClauseContext) => void;
351
+ /**
352
+ * Exit a parse tree produced by `GenericSqlParser.fromClause`.
353
+ * @param ctx the parse tree
354
+ */
355
+ exitFromClause?: (ctx: FromClauseContext) => void;
356
+ /**
357
+ * Enter a parse tree produced by the `simpleRelation`
358
+ * labeled alternative in `GenericSqlParser.relation`.
359
+ * @param ctx the parse tree
360
+ */
361
+ enterSimpleRelation?: (ctx: SimpleRelationContext) => void;
362
+ /**
363
+ * Exit a parse tree produced by the `simpleRelation`
364
+ * labeled alternative in `GenericSqlParser.relation`.
365
+ * @param ctx the parse tree
366
+ */
367
+ exitSimpleRelation?: (ctx: SimpleRelationContext) => void;
368
+ /**
369
+ * Enter a parse tree produced by the `joinRelation`
370
+ * labeled alternative in `GenericSqlParser.relation`.
371
+ * @param ctx the parse tree
372
+ */
373
+ enterJoinRelation?: (ctx: JoinRelationContext) => void;
374
+ /**
375
+ * Exit a parse tree produced by the `joinRelation`
376
+ * labeled alternative in `GenericSqlParser.relation`.
377
+ * @param ctx the parse tree
378
+ */
379
+ exitJoinRelation?: (ctx: JoinRelationContext) => void;
380
+ /**
381
+ * Enter a parse tree produced by `GenericSqlParser.joinType`.
382
+ * @param ctx the parse tree
383
+ */
384
+ enterJoinType?: (ctx: JoinTypeContext) => void;
385
+ /**
386
+ * Exit a parse tree produced by `GenericSqlParser.joinType`.
387
+ * @param ctx the parse tree
388
+ */
389
+ exitJoinType?: (ctx: JoinTypeContext) => void;
390
+ /**
391
+ * Enter a parse tree produced by `GenericSqlParser.aliasedRelation`.
392
+ * @param ctx the parse tree
393
+ */
394
+ enterAliasedRelation?: (ctx: AliasedRelationContext) => void;
395
+ /**
396
+ * Exit a parse tree produced by `GenericSqlParser.aliasedRelation`.
397
+ * @param ctx the parse tree
398
+ */
399
+ exitAliasedRelation?: (ctx: AliasedRelationContext) => void;
400
+ /**
401
+ * Enter a parse tree produced by the `tableNameRelation`
402
+ * labeled alternative in `GenericSqlParser.relationPrimary`.
403
+ * @param ctx the parse tree
404
+ */
405
+ enterTableNameRelation?: (ctx: TableNameRelationContext) => void;
406
+ /**
407
+ * Exit a parse tree produced by the `tableNameRelation`
408
+ * labeled alternative in `GenericSqlParser.relationPrimary`.
409
+ * @param ctx the parse tree
410
+ */
411
+ exitTableNameRelation?: (ctx: TableNameRelationContext) => void;
412
+ /**
413
+ * Enter a parse tree produced by the `subqueryRelation`
414
+ * labeled alternative in `GenericSqlParser.relationPrimary`.
415
+ * @param ctx the parse tree
416
+ */
417
+ enterSubqueryRelation?: (ctx: SubqueryRelationContext) => void;
418
+ /**
419
+ * Exit a parse tree produced by the `subqueryRelation`
420
+ * labeled alternative in `GenericSqlParser.relationPrimary`.
421
+ * @param ctx the parse tree
422
+ */
423
+ exitSubqueryRelation?: (ctx: SubqueryRelationContext) => void;
424
+ /**
425
+ * Enter a parse tree produced by `GenericSqlParser.whereClause`.
426
+ * @param ctx the parse tree
427
+ */
428
+ enterWhereClause?: (ctx: WhereClauseContext) => void;
429
+ /**
430
+ * Exit a parse tree produced by `GenericSqlParser.whereClause`.
431
+ * @param ctx the parse tree
432
+ */
433
+ exitWhereClause?: (ctx: WhereClauseContext) => void;
434
+ /**
435
+ * Enter a parse tree produced by `GenericSqlParser.groupByClause`.
436
+ * @param ctx the parse tree
437
+ */
438
+ enterGroupByClause?: (ctx: GroupByClauseContext) => void;
439
+ /**
440
+ * Exit a parse tree produced by `GenericSqlParser.groupByClause`.
441
+ * @param ctx the parse tree
442
+ */
443
+ exitGroupByClause?: (ctx: GroupByClauseContext) => void;
444
+ /**
445
+ * Enter a parse tree produced by `GenericSqlParser.havingClause`.
446
+ * @param ctx the parse tree
447
+ */
448
+ enterHavingClause?: (ctx: HavingClauseContext) => void;
449
+ /**
450
+ * Exit a parse tree produced by `GenericSqlParser.havingClause`.
451
+ * @param ctx the parse tree
452
+ */
453
+ exitHavingClause?: (ctx: HavingClauseContext) => void;
454
+ /**
455
+ * Enter a parse tree produced by `GenericSqlParser.orderByClause`.
456
+ * @param ctx the parse tree
457
+ */
458
+ enterOrderByClause?: (ctx: OrderByClauseContext) => void;
459
+ /**
460
+ * Exit a parse tree produced by `GenericSqlParser.orderByClause`.
461
+ * @param ctx the parse tree
462
+ */
463
+ exitOrderByClause?: (ctx: OrderByClauseContext) => void;
464
+ /**
465
+ * Enter a parse tree produced by `GenericSqlParser.sortItem`.
466
+ * @param ctx the parse tree
467
+ */
468
+ enterSortItem?: (ctx: SortItemContext) => void;
469
+ /**
470
+ * Exit a parse tree produced by `GenericSqlParser.sortItem`.
471
+ * @param ctx the parse tree
472
+ */
473
+ exitSortItem?: (ctx: SortItemContext) => void;
474
+ /**
475
+ * Enter a parse tree produced by `GenericSqlParser.limitClause`.
476
+ * @param ctx the parse tree
477
+ */
478
+ enterLimitClause?: (ctx: LimitClauseContext) => void;
479
+ /**
480
+ * Exit a parse tree produced by `GenericSqlParser.limitClause`.
481
+ * @param ctx the parse tree
482
+ */
483
+ exitLimitClause?: (ctx: LimitClauseContext) => void;
484
+ /**
485
+ * Enter a parse tree produced by `GenericSqlParser.insertStatement`.
486
+ * @param ctx the parse tree
487
+ */
488
+ enterInsertStatement?: (ctx: InsertStatementContext) => void;
489
+ /**
490
+ * Exit a parse tree produced by `GenericSqlParser.insertStatement`.
491
+ * @param ctx the parse tree
492
+ */
493
+ exitInsertStatement?: (ctx: InsertStatementContext) => void;
494
+ /**
495
+ * Enter a parse tree produced by `GenericSqlParser.columnList`.
496
+ * @param ctx the parse tree
497
+ */
498
+ enterColumnList?: (ctx: ColumnListContext) => void;
499
+ /**
500
+ * Exit a parse tree produced by `GenericSqlParser.columnList`.
501
+ * @param ctx the parse tree
502
+ */
503
+ exitColumnList?: (ctx: ColumnListContext) => void;
504
+ /**
505
+ * Enter a parse tree produced by `GenericSqlParser.updateStatement`.
506
+ * @param ctx the parse tree
507
+ */
508
+ enterUpdateStatement?: (ctx: UpdateStatementContext) => void;
509
+ /**
510
+ * Exit a parse tree produced by `GenericSqlParser.updateStatement`.
511
+ * @param ctx the parse tree
512
+ */
513
+ exitUpdateStatement?: (ctx: UpdateStatementContext) => void;
514
+ /**
515
+ * Enter a parse tree produced by `GenericSqlParser.updateAssignment`.
516
+ * @param ctx the parse tree
517
+ */
518
+ enterUpdateAssignment?: (ctx: UpdateAssignmentContext) => void;
519
+ /**
520
+ * Exit a parse tree produced by `GenericSqlParser.updateAssignment`.
521
+ * @param ctx the parse tree
522
+ */
523
+ exitUpdateAssignment?: (ctx: UpdateAssignmentContext) => void;
524
+ /**
525
+ * Enter a parse tree produced by `GenericSqlParser.deleteStatement`.
526
+ * @param ctx the parse tree
527
+ */
528
+ enterDeleteStatement?: (ctx: DeleteStatementContext) => void;
529
+ /**
530
+ * Exit a parse tree produced by `GenericSqlParser.deleteStatement`.
531
+ * @param ctx the parse tree
532
+ */
533
+ exitDeleteStatement?: (ctx: DeleteStatementContext) => void;
534
+ /**
535
+ * Enter a parse tree produced by `GenericSqlParser.createTableStatement`.
536
+ * @param ctx the parse tree
537
+ */
538
+ enterCreateTableStatement?: (ctx: CreateTableStatementContext) => void;
539
+ /**
540
+ * Exit a parse tree produced by `GenericSqlParser.createTableStatement`.
541
+ * @param ctx the parse tree
542
+ */
543
+ exitCreateTableStatement?: (ctx: CreateTableStatementContext) => void;
544
+ /**
545
+ * Enter a parse tree produced by `GenericSqlParser.tableElement`.
546
+ * @param ctx the parse tree
547
+ */
548
+ enterTableElement?: (ctx: TableElementContext) => void;
549
+ /**
550
+ * Exit a parse tree produced by `GenericSqlParser.tableElement`.
551
+ * @param ctx the parse tree
552
+ */
553
+ exitTableElement?: (ctx: TableElementContext) => void;
554
+ /**
555
+ * Enter a parse tree produced by `GenericSqlParser.columnDefinition`.
556
+ * @param ctx the parse tree
557
+ */
558
+ enterColumnDefinition?: (ctx: ColumnDefinitionContext) => void;
559
+ /**
560
+ * Exit a parse tree produced by `GenericSqlParser.columnDefinition`.
561
+ * @param ctx the parse tree
562
+ */
563
+ exitColumnDefinition?: (ctx: ColumnDefinitionContext) => void;
564
+ /**
565
+ * Enter a parse tree produced by `GenericSqlParser.columnRefCreate`.
566
+ * @param ctx the parse tree
567
+ */
568
+ enterColumnRefCreate?: (ctx: ColumnRefCreateContext) => void;
569
+ /**
570
+ * Exit a parse tree produced by `GenericSqlParser.columnRefCreate`.
571
+ * @param ctx the parse tree
572
+ */
573
+ exitColumnRefCreate?: (ctx: ColumnRefCreateContext) => void;
574
+ /**
575
+ * Enter a parse tree produced by `GenericSqlParser.tableConstraint`.
576
+ * @param ctx the parse tree
577
+ */
578
+ enterTableConstraint?: (ctx: TableConstraintContext) => void;
579
+ /**
580
+ * Exit a parse tree produced by `GenericSqlParser.tableConstraint`.
581
+ * @param ctx the parse tree
582
+ */
583
+ exitTableConstraint?: (ctx: TableConstraintContext) => void;
584
+ /**
585
+ * Enter a parse tree produced by `GenericSqlParser.alterTableStatement`.
586
+ * @param ctx the parse tree
587
+ */
588
+ enterAlterTableStatement?: (ctx: AlterTableStatementContext) => void;
589
+ /**
590
+ * Exit a parse tree produced by `GenericSqlParser.alterTableStatement`.
591
+ * @param ctx the parse tree
592
+ */
593
+ exitAlterTableStatement?: (ctx: AlterTableStatementContext) => void;
594
+ /**
595
+ * Enter a parse tree produced by `GenericSqlParser.dropTableStatement`.
596
+ * @param ctx the parse tree
597
+ */
598
+ enterDropTableStatement?: (ctx: DropTableStatementContext) => void;
599
+ /**
600
+ * Exit a parse tree produced by `GenericSqlParser.dropTableStatement`.
601
+ * @param ctx the parse tree
602
+ */
603
+ exitDropTableStatement?: (ctx: DropTableStatementContext) => void;
604
+ /**
605
+ * Enter a parse tree produced by `GenericSqlParser.expression`.
606
+ * @param ctx the parse tree
607
+ */
608
+ enterExpression?: (ctx: ExpressionContext) => void;
609
+ /**
610
+ * Exit a parse tree produced by `GenericSqlParser.expression`.
611
+ * @param ctx the parse tree
612
+ */
613
+ exitExpression?: (ctx: ExpressionContext) => void;
614
+ /**
615
+ * Enter a parse tree produced by the `orExpression`
616
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
617
+ * @param ctx the parse tree
618
+ */
619
+ enterOrExpression?: (ctx: OrExpressionContext) => void;
620
+ /**
621
+ * Exit a parse tree produced by the `orExpression`
622
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
623
+ * @param ctx the parse tree
624
+ */
625
+ exitOrExpression?: (ctx: OrExpressionContext) => void;
626
+ /**
627
+ * Enter a parse tree produced by the `andExpression`
628
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
629
+ * @param ctx the parse tree
630
+ */
631
+ enterAndExpression?: (ctx: AndExpressionContext) => void;
632
+ /**
633
+ * Exit a parse tree produced by the `andExpression`
634
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
635
+ * @param ctx the parse tree
636
+ */
637
+ exitAndExpression?: (ctx: AndExpressionContext) => void;
638
+ /**
639
+ * Enter a parse tree produced by the `predicated`
640
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
641
+ * @param ctx the parse tree
642
+ */
643
+ enterPredicated?: (ctx: PredicatedContext) => void;
644
+ /**
645
+ * Exit a parse tree produced by the `predicated`
646
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
647
+ * @param ctx the parse tree
648
+ */
649
+ exitPredicated?: (ctx: PredicatedContext) => void;
650
+ /**
651
+ * Enter a parse tree produced by the `notExpression`
652
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
653
+ * @param ctx the parse tree
654
+ */
655
+ enterNotExpression?: (ctx: NotExpressionContext) => void;
656
+ /**
657
+ * Exit a parse tree produced by the `notExpression`
658
+ * labeled alternative in `GenericSqlParser.booleanExpression`.
659
+ * @param ctx the parse tree
660
+ */
661
+ exitNotExpression?: (ctx: NotExpressionContext) => void;
662
+ /**
663
+ * Enter a parse tree produced by `GenericSqlParser.predicatedExpression`.
664
+ * @param ctx the parse tree
665
+ */
666
+ enterPredicatedExpression?: (ctx: PredicatedExpressionContext) => void;
667
+ /**
668
+ * Exit a parse tree produced by `GenericSqlParser.predicatedExpression`.
669
+ * @param ctx the parse tree
670
+ */
671
+ exitPredicatedExpression?: (ctx: PredicatedExpressionContext) => void;
672
+ /**
673
+ * Enter a parse tree produced by the `comparisonPredicate`
674
+ * labeled alternative in `GenericSqlParser.predicate`.
675
+ * @param ctx the parse tree
676
+ */
677
+ enterComparisonPredicate?: (ctx: ComparisonPredicateContext) => void;
678
+ /**
679
+ * Exit a parse tree produced by the `comparisonPredicate`
680
+ * labeled alternative in `GenericSqlParser.predicate`.
681
+ * @param ctx the parse tree
682
+ */
683
+ exitComparisonPredicate?: (ctx: ComparisonPredicateContext) => void;
684
+ /**
685
+ * Enter a parse tree produced by the `inPredicate`
686
+ * labeled alternative in `GenericSqlParser.predicate`.
687
+ * @param ctx the parse tree
688
+ */
689
+ enterInPredicate?: (ctx: InPredicateContext) => void;
690
+ /**
691
+ * Exit a parse tree produced by the `inPredicate`
692
+ * labeled alternative in `GenericSqlParser.predicate`.
693
+ * @param ctx the parse tree
694
+ */
695
+ exitInPredicate?: (ctx: InPredicateContext) => void;
696
+ /**
697
+ * Enter a parse tree produced by the `inSubqueryPredicate`
698
+ * labeled alternative in `GenericSqlParser.predicate`.
699
+ * @param ctx the parse tree
700
+ */
701
+ enterInSubqueryPredicate?: (ctx: InSubqueryPredicateContext) => void;
702
+ /**
703
+ * Exit a parse tree produced by the `inSubqueryPredicate`
704
+ * labeled alternative in `GenericSqlParser.predicate`.
705
+ * @param ctx the parse tree
706
+ */
707
+ exitInSubqueryPredicate?: (ctx: InSubqueryPredicateContext) => void;
708
+ /**
709
+ * Enter a parse tree produced by the `betweenPredicate`
710
+ * labeled alternative in `GenericSqlParser.predicate`.
711
+ * @param ctx the parse tree
712
+ */
713
+ enterBetweenPredicate?: (ctx: BetweenPredicateContext) => void;
714
+ /**
715
+ * Exit a parse tree produced by the `betweenPredicate`
716
+ * labeled alternative in `GenericSqlParser.predicate`.
717
+ * @param ctx the parse tree
718
+ */
719
+ exitBetweenPredicate?: (ctx: BetweenPredicateContext) => void;
720
+ /**
721
+ * Enter a parse tree produced by the `likePredicate`
722
+ * labeled alternative in `GenericSqlParser.predicate`.
723
+ * @param ctx the parse tree
724
+ */
725
+ enterLikePredicate?: (ctx: LikePredicateContext) => void;
726
+ /**
727
+ * Exit a parse tree produced by the `likePredicate`
728
+ * labeled alternative in `GenericSqlParser.predicate`.
729
+ * @param ctx the parse tree
730
+ */
731
+ exitLikePredicate?: (ctx: LikePredicateContext) => void;
732
+ /**
733
+ * Enter a parse tree produced by the `nullPredicate`
734
+ * labeled alternative in `GenericSqlParser.predicate`.
735
+ * @param ctx the parse tree
736
+ */
737
+ enterNullPredicate?: (ctx: NullPredicateContext) => void;
738
+ /**
739
+ * Exit a parse tree produced by the `nullPredicate`
740
+ * labeled alternative in `GenericSqlParser.predicate`.
741
+ * @param ctx the parse tree
742
+ */
743
+ exitNullPredicate?: (ctx: NullPredicateContext) => void;
744
+ /**
745
+ * Enter a parse tree produced by the `distinctFromPredicate`
746
+ * labeled alternative in `GenericSqlParser.predicate`.
747
+ * @param ctx the parse tree
748
+ */
749
+ enterDistinctFromPredicate?: (ctx: DistinctFromPredicateContext) => void;
750
+ /**
751
+ * Exit a parse tree produced by the `distinctFromPredicate`
752
+ * labeled alternative in `GenericSqlParser.predicate`.
753
+ * @param ctx the parse tree
754
+ */
755
+ exitDistinctFromPredicate?: (ctx: DistinctFromPredicateContext) => void;
756
+ /**
757
+ * Enter a parse tree produced by `GenericSqlParser.comparisonOperator`.
758
+ * @param ctx the parse tree
759
+ */
760
+ enterComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
761
+ /**
762
+ * Exit a parse tree produced by `GenericSqlParser.comparisonOperator`.
763
+ * @param ctx the parse tree
764
+ */
765
+ exitComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
766
+ /**
767
+ * Enter a parse tree produced by the `valueExpressionDefault`
768
+ * labeled alternative in `GenericSqlParser.valueExpression`.
769
+ * @param ctx the parse tree
770
+ */
771
+ enterValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => void;
772
+ /**
773
+ * Exit a parse tree produced by the `valueExpressionDefault`
774
+ * labeled alternative in `GenericSqlParser.valueExpression`.
775
+ * @param ctx the parse tree
776
+ */
777
+ exitValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => void;
778
+ /**
779
+ * Enter a parse tree produced by the `concatenation`
780
+ * labeled alternative in `GenericSqlParser.valueExpression`.
781
+ * @param ctx the parse tree
782
+ */
783
+ enterConcatenation?: (ctx: ConcatenationContext) => void;
784
+ /**
785
+ * Exit a parse tree produced by the `concatenation`
786
+ * labeled alternative in `GenericSqlParser.valueExpression`.
787
+ * @param ctx the parse tree
788
+ */
789
+ exitConcatenation?: (ctx: ConcatenationContext) => void;
790
+ /**
791
+ * Enter a parse tree produced by the `arithmeticBinary`
792
+ * labeled alternative in `GenericSqlParser.valueExpression`.
793
+ * @param ctx the parse tree
794
+ */
795
+ enterArithmeticBinary?: (ctx: ArithmeticBinaryContext) => void;
796
+ /**
797
+ * Exit a parse tree produced by the `arithmeticBinary`
798
+ * labeled alternative in `GenericSqlParser.valueExpression`.
799
+ * @param ctx the parse tree
800
+ */
801
+ exitArithmeticBinary?: (ctx: ArithmeticBinaryContext) => void;
802
+ /**
803
+ * Enter a parse tree produced by the `arithmeticUnary`
804
+ * labeled alternative in `GenericSqlParser.valueExpression`.
805
+ * @param ctx the parse tree
806
+ */
807
+ enterArithmeticUnary?: (ctx: ArithmeticUnaryContext) => void;
808
+ /**
809
+ * Exit a parse tree produced by the `arithmeticUnary`
810
+ * labeled alternative in `GenericSqlParser.valueExpression`.
811
+ * @param ctx the parse tree
812
+ */
813
+ exitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => void;
814
+ /**
815
+ * Enter a parse tree produced by the `literalExpression`
816
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
817
+ * @param ctx the parse tree
818
+ */
819
+ enterLiteralExpression?: (ctx: LiteralExpressionContext) => void;
820
+ /**
821
+ * Exit a parse tree produced by the `literalExpression`
822
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
823
+ * @param ctx the parse tree
824
+ */
825
+ exitLiteralExpression?: (ctx: LiteralExpressionContext) => void;
826
+ /**
827
+ * Enter a parse tree produced by the `functionCall`
828
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
829
+ * @param ctx the parse tree
830
+ */
831
+ enterFunctionCall?: (ctx: FunctionCallContext) => void;
832
+ /**
833
+ * Exit a parse tree produced by the `functionCall`
834
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
835
+ * @param ctx the parse tree
836
+ */
837
+ exitFunctionCall?: (ctx: FunctionCallContext) => void;
838
+ /**
839
+ * Enter a parse tree produced by the `searchedCaseExpression`
840
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
841
+ * @param ctx the parse tree
842
+ */
843
+ enterSearchedCaseExpression?: (ctx: SearchedCaseExpressionContext) => void;
844
+ /**
845
+ * Exit a parse tree produced by the `searchedCaseExpression`
846
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
847
+ * @param ctx the parse tree
848
+ */
849
+ exitSearchedCaseExpression?: (ctx: SearchedCaseExpressionContext) => void;
850
+ /**
851
+ * Enter a parse tree produced by the `simpleCaseExpression`
852
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
853
+ * @param ctx the parse tree
854
+ */
855
+ enterSimpleCaseExpression?: (ctx: SimpleCaseExpressionContext) => void;
856
+ /**
857
+ * Exit a parse tree produced by the `simpleCaseExpression`
858
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
859
+ * @param ctx the parse tree
860
+ */
861
+ exitSimpleCaseExpression?: (ctx: SimpleCaseExpressionContext) => void;
862
+ /**
863
+ * Enter a parse tree produced by the `castExpression`
864
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
865
+ * @param ctx the parse tree
866
+ */
867
+ enterCastExpression?: (ctx: CastExpressionContext) => void;
868
+ /**
869
+ * Exit a parse tree produced by the `castExpression`
870
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
871
+ * @param ctx the parse tree
872
+ */
873
+ exitCastExpression?: (ctx: CastExpressionContext) => void;
874
+ /**
875
+ * Enter a parse tree produced by the `coalesceExpression`
876
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
877
+ * @param ctx the parse tree
878
+ */
879
+ enterCoalesceExpression?: (ctx: CoalesceExpressionContext) => void;
880
+ /**
881
+ * Exit a parse tree produced by the `coalesceExpression`
882
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
883
+ * @param ctx the parse tree
884
+ */
885
+ exitCoalesceExpression?: (ctx: CoalesceExpressionContext) => void;
886
+ /**
887
+ * Enter a parse tree produced by the `nullIfExpression`
888
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
889
+ * @param ctx the parse tree
890
+ */
891
+ enterNullIfExpression?: (ctx: NullIfExpressionContext) => void;
892
+ /**
893
+ * Exit a parse tree produced by the `nullIfExpression`
894
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
895
+ * @param ctx the parse tree
896
+ */
897
+ exitNullIfExpression?: (ctx: NullIfExpressionContext) => void;
898
+ /**
899
+ * Enter a parse tree produced by the `parenthesizedExpression`
900
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
901
+ * @param ctx the parse tree
902
+ */
903
+ enterParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
904
+ /**
905
+ * Exit a parse tree produced by the `parenthesizedExpression`
906
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
907
+ * @param ctx the parse tree
908
+ */
909
+ exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
910
+ /**
911
+ * Enter a parse tree produced by the `existsExpression`
912
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
913
+ * @param ctx the parse tree
914
+ */
915
+ enterExistsExpression?: (ctx: ExistsExpressionContext) => void;
916
+ /**
917
+ * Exit a parse tree produced by the `existsExpression`
918
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
919
+ * @param ctx the parse tree
920
+ */
921
+ exitExistsExpression?: (ctx: ExistsExpressionContext) => void;
922
+ /**
923
+ * Enter a parse tree produced by the `subqueryExpressionDefault`
924
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
925
+ * @param ctx the parse tree
926
+ */
927
+ enterSubqueryExpressionDefault?: (ctx: SubqueryExpressionDefaultContext) => void;
928
+ /**
929
+ * Exit a parse tree produced by the `subqueryExpressionDefault`
930
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
931
+ * @param ctx the parse tree
932
+ */
933
+ exitSubqueryExpressionDefault?: (ctx: SubqueryExpressionDefaultContext) => void;
934
+ /**
935
+ * Enter a parse tree produced by the `columnReference`
936
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
937
+ * @param ctx the parse tree
938
+ */
939
+ enterColumnReference?: (ctx: ColumnReferenceContext) => void;
940
+ /**
941
+ * Exit a parse tree produced by the `columnReference`
942
+ * labeled alternative in `GenericSqlParser.primaryExpression`.
943
+ * @param ctx the parse tree
944
+ */
945
+ exitColumnReference?: (ctx: ColumnReferenceContext) => void;
946
+ /**
947
+ * Enter a parse tree produced by `GenericSqlParser.whenClause`.
948
+ * @param ctx the parse tree
949
+ */
950
+ enterWhenClause?: (ctx: WhenClauseContext) => void;
951
+ /**
952
+ * Exit a parse tree produced by `GenericSqlParser.whenClause`.
953
+ * @param ctx the parse tree
954
+ */
955
+ exitWhenClause?: (ctx: WhenClauseContext) => void;
956
+ /**
957
+ * Enter a parse tree produced by `GenericSqlParser.subqueryExpression`.
958
+ * @param ctx the parse tree
959
+ */
960
+ enterSubqueryExpression?: (ctx: SubqueryExpressionContext) => void;
961
+ /**
962
+ * Exit a parse tree produced by `GenericSqlParser.subqueryExpression`.
963
+ * @param ctx the parse tree
964
+ */
965
+ exitSubqueryExpression?: (ctx: SubqueryExpressionContext) => void;
966
+ /**
967
+ * Enter a parse tree produced by `GenericSqlParser.dataType`.
968
+ * @param ctx the parse tree
969
+ */
970
+ enterDataType?: (ctx: DataTypeContext) => void;
971
+ /**
972
+ * Exit a parse tree produced by `GenericSqlParser.dataType`.
973
+ * @param ctx the parse tree
974
+ */
975
+ exitDataType?: (ctx: DataTypeContext) => void;
976
+ /**
977
+ * Enter a parse tree produced by `GenericSqlParser.properties`.
978
+ * @param ctx the parse tree
979
+ */
980
+ enterProperties?: (ctx: PropertiesContext) => void;
981
+ /**
982
+ * Exit a parse tree produced by `GenericSqlParser.properties`.
983
+ * @param ctx the parse tree
984
+ */
985
+ exitProperties?: (ctx: PropertiesContext) => void;
986
+ /**
987
+ * Enter a parse tree produced by `GenericSqlParser.property`.
988
+ * @param ctx the parse tree
989
+ */
990
+ enterProperty?: (ctx: PropertyContext) => void;
991
+ /**
992
+ * Exit a parse tree produced by `GenericSqlParser.property`.
993
+ * @param ctx the parse tree
994
+ */
995
+ exitProperty?: (ctx: PropertyContext) => void;
996
+ /**
997
+ * Enter a parse tree produced by the `nullLiteral`
998
+ * labeled alternative in `GenericSqlParser.literal`.
999
+ * @param ctx the parse tree
1000
+ */
1001
+ enterNullLiteral?: (ctx: NullLiteralContext) => void;
1002
+ /**
1003
+ * Exit a parse tree produced by the `nullLiteral`
1004
+ * labeled alternative in `GenericSqlParser.literal`.
1005
+ * @param ctx the parse tree
1006
+ */
1007
+ exitNullLiteral?: (ctx: NullLiteralContext) => void;
1008
+ /**
1009
+ * Enter a parse tree produced by the `booleanLiteral`
1010
+ * labeled alternative in `GenericSqlParser.literal`.
1011
+ * @param ctx the parse tree
1012
+ */
1013
+ enterBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
1014
+ /**
1015
+ * Exit a parse tree produced by the `booleanLiteral`
1016
+ * labeled alternative in `GenericSqlParser.literal`.
1017
+ * @param ctx the parse tree
1018
+ */
1019
+ exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
1020
+ /**
1021
+ * Enter a parse tree produced by the `integerLiteral`
1022
+ * labeled alternative in `GenericSqlParser.literal`.
1023
+ * @param ctx the parse tree
1024
+ */
1025
+ enterIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
1026
+ /**
1027
+ * Exit a parse tree produced by the `integerLiteral`
1028
+ * labeled alternative in `GenericSqlParser.literal`.
1029
+ * @param ctx the parse tree
1030
+ */
1031
+ exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
1032
+ /**
1033
+ * Enter a parse tree produced by the `decimalLiteral`
1034
+ * labeled alternative in `GenericSqlParser.literal`.
1035
+ * @param ctx the parse tree
1036
+ */
1037
+ enterDecimalLiteral?: (ctx: DecimalLiteralContext) => void;
1038
+ /**
1039
+ * Exit a parse tree produced by the `decimalLiteral`
1040
+ * labeled alternative in `GenericSqlParser.literal`.
1041
+ * @param ctx the parse tree
1042
+ */
1043
+ exitDecimalLiteral?: (ctx: DecimalLiteralContext) => void;
1044
+ /**
1045
+ * Enter a parse tree produced by the `doubleLiteral`
1046
+ * labeled alternative in `GenericSqlParser.literal`.
1047
+ * @param ctx the parse tree
1048
+ */
1049
+ enterDoubleLiteral?: (ctx: DoubleLiteralContext) => void;
1050
+ /**
1051
+ * Exit a parse tree produced by the `doubleLiteral`
1052
+ * labeled alternative in `GenericSqlParser.literal`.
1053
+ * @param ctx the parse tree
1054
+ */
1055
+ exitDoubleLiteral?: (ctx: DoubleLiteralContext) => void;
1056
+ /**
1057
+ * Enter a parse tree produced by the `stringLiteral`
1058
+ * labeled alternative in `GenericSqlParser.literal`.
1059
+ * @param ctx the parse tree
1060
+ */
1061
+ enterStringLiteral?: (ctx: StringLiteralContext) => void;
1062
+ /**
1063
+ * Exit a parse tree produced by the `stringLiteral`
1064
+ * labeled alternative in `GenericSqlParser.literal`.
1065
+ * @param ctx the parse tree
1066
+ */
1067
+ exitStringLiteral?: (ctx: StringLiteralContext) => void;
1068
+ /**
1069
+ * Enter a parse tree produced by the `binaryLiteral`
1070
+ * labeled alternative in `GenericSqlParser.literal`.
1071
+ * @param ctx the parse tree
1072
+ */
1073
+ enterBinaryLiteral?: (ctx: BinaryLiteralContext) => void;
1074
+ /**
1075
+ * Exit a parse tree produced by the `binaryLiteral`
1076
+ * labeled alternative in `GenericSqlParser.literal`.
1077
+ * @param ctx the parse tree
1078
+ */
1079
+ exitBinaryLiteral?: (ctx: BinaryLiteralContext) => void;
1080
+ /**
1081
+ * Enter a parse tree produced by `GenericSqlParser.identifier`.
1082
+ * @param ctx the parse tree
1083
+ */
1084
+ enterIdentifier?: (ctx: IdentifierContext) => void;
1085
+ /**
1086
+ * Exit a parse tree produced by `GenericSqlParser.identifier`.
1087
+ * @param ctx the parse tree
1088
+ */
1089
+ exitIdentifier?: (ctx: IdentifierContext) => void;
1090
+ /**
1091
+ * Enter a parse tree produced by `GenericSqlParser.qualifiedName`.
1092
+ * @param ctx the parse tree
1093
+ */
1094
+ enterQualifiedName?: (ctx: QualifiedNameContext) => void;
1095
+ /**
1096
+ * Exit a parse tree produced by `GenericSqlParser.qualifiedName`.
1097
+ * @param ctx the parse tree
1098
+ */
1099
+ exitQualifiedName?: (ctx: QualifiedNameContext) => void;
1100
+ /**
1101
+ * Enter a parse tree produced by `GenericSqlParser.columnRef`.
1102
+ * @param ctx the parse tree
1103
+ */
1104
+ enterColumnRef?: (ctx: ColumnRefContext) => void;
1105
+ /**
1106
+ * Exit a parse tree produced by `GenericSqlParser.columnRef`.
1107
+ * @param ctx the parse tree
1108
+ */
1109
+ exitColumnRef?: (ctx: ColumnRefContext) => void;
1110
+ /**
1111
+ * Enter a parse tree produced by `GenericSqlParser.columnName`.
1112
+ * @param ctx the parse tree
1113
+ */
1114
+ enterColumnName?: (ctx: ColumnNameContext) => void;
1115
+ /**
1116
+ * Exit a parse tree produced by `GenericSqlParser.columnName`.
1117
+ * @param ctx the parse tree
1118
+ */
1119
+ exitColumnName?: (ctx: ColumnNameContext) => void;
1120
+ /**
1121
+ * Enter a parse tree produced by `GenericSqlParser.emptyColumn`.
1122
+ * @param ctx the parse tree
1123
+ */
1124
+ enterEmptyColumn?: (ctx: EmptyColumnContext) => void;
1125
+ /**
1126
+ * Exit a parse tree produced by `GenericSqlParser.emptyColumn`.
1127
+ * @param ctx the parse tree
1128
+ */
1129
+ exitEmptyColumn?: (ctx: EmptyColumnContext) => void;
1130
+ /**
1131
+ * Enter a parse tree produced by `GenericSqlParser.tableName`.
1132
+ * @param ctx the parse tree
1133
+ */
1134
+ enterTableName?: (ctx: TableNameContext) => void;
1135
+ /**
1136
+ * Exit a parse tree produced by `GenericSqlParser.tableName`.
1137
+ * @param ctx the parse tree
1138
+ */
1139
+ exitTableName?: (ctx: TableNameContext) => void;
1140
+ /**
1141
+ * Enter a parse tree produced by `GenericSqlParser.tableNameCreate`.
1142
+ * @param ctx the parse tree
1143
+ */
1144
+ enterTableNameCreate?: (ctx: TableNameCreateContext) => void;
1145
+ /**
1146
+ * Exit a parse tree produced by `GenericSqlParser.tableNameCreate`.
1147
+ * @param ctx the parse tree
1148
+ */
1149
+ exitTableNameCreate?: (ctx: TableNameCreateContext) => void;
1150
+ /**
1151
+ * Enter a parse tree produced by `GenericSqlParser.functionName`.
1152
+ * @param ctx the parse tree
1153
+ */
1154
+ enterFunctionName?: (ctx: FunctionNameContext) => void;
1155
+ /**
1156
+ * Exit a parse tree produced by `GenericSqlParser.functionName`.
1157
+ * @param ctx the parse tree
1158
+ */
1159
+ exitFunctionName?: (ctx: FunctionNameContext) => void;
1160
+ /**
1161
+ * Enter a parse tree produced by `GenericSqlParser.nonReserved`.
1162
+ * @param ctx the parse tree
1163
+ */
1164
+ enterNonReserved?: (ctx: NonReservedContext) => void;
1165
+ /**
1166
+ * Exit a parse tree produced by `GenericSqlParser.nonReserved`.
1167
+ * @param ctx the parse tree
1168
+ */
1169
+ exitNonReserved?: (ctx: NonReservedContext) => void;
1170
+ visitTerminal(node: TerminalNode): void;
1171
+ visitErrorNode(node: ErrorNode): void;
1172
+ enterEveryRule(node: ParserRuleContext): void;
1173
+ exitEveryRule(node: ParserRuleContext): void;
1174
+ }