dt-sql-parser 4.0.1 → 4.0.3-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 (44) hide show
  1. package/README.md +6 -1
  2. package/dist/lib/flink/FlinkSqlLexer.js +1 -2
  3. package/dist/lib/flink/FlinkSqlParser.d.ts +14 -6
  4. package/dist/lib/flink/FlinkSqlParser.js +1448 -1379
  5. package/dist/lib/flink/FlinkSqlParserListener.d.ts +5 -5
  6. package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +3 -3
  7. package/dist/lib/hive/HiveSqlLexer.js +1 -2
  8. package/dist/lib/hive/HiveSqlParser.d.ts +1 -0
  9. package/dist/lib/hive/HiveSqlParser.js +537 -527
  10. package/dist/lib/impala/ImpalaSqlLexer.js +1 -2
  11. package/dist/lib/impala/ImpalaSqlParser.d.ts +2 -2
  12. package/dist/lib/impala/ImpalaSqlParser.js +1914 -1924
  13. package/dist/lib/mysql/MySqlLexer.js +1 -2
  14. package/dist/lib/mysql/MySqlParser.d.ts +465 -422
  15. package/dist/lib/mysql/MySqlParser.js +11459 -10508
  16. package/dist/lib/mysql/MySqlParserListener.d.ts +42 -20
  17. package/dist/lib/mysql/MySqlParserVisitor.d.ts +26 -12
  18. package/dist/lib/postgresql/PostgreSqlLexer.js +1 -2
  19. package/dist/lib/postgresql/PostgreSqlParser.d.ts +2025 -6267
  20. package/dist/lib/postgresql/PostgreSqlParser.js +59631 -88362
  21. package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +1688 -6083
  22. package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +712 -3511
  23. package/dist/lib/spark/SparkSqlLexer.js +1 -2
  24. package/dist/lib/spark/SparkSqlParser.js +1 -2
  25. package/dist/lib/trino/TrinoSqlLexer.d.ts +323 -260
  26. package/dist/lib/trino/TrinoSqlLexer.js +1610 -1264
  27. package/dist/lib/trino/TrinoSqlListener.d.ts +1311 -200
  28. package/dist/lib/trino/TrinoSqlParser.d.ts +1884 -546
  29. package/dist/lib/trino/TrinoSqlParser.js +22685 -13468
  30. package/dist/lib/trino/TrinoSqlVisitor.d.ts +761 -69
  31. package/dist/parser/common/basicSQL.js +0 -10
  32. package/dist/parser/common/entityCollector.d.ts +2 -1
  33. package/dist/parser/common/entityCollector.js +1 -0
  34. package/dist/parser/flink/index.js +9 -9
  35. package/dist/parser/hive/index.js +9 -9
  36. package/dist/parser/mysql/mysqlEntityCollector.d.ts +3 -1
  37. package/dist/parser/mysql/mysqlEntityCollector.js +6 -0
  38. package/dist/parser/postgresql/index.js +13 -13
  39. package/dist/parser/postgresql/postgreEntityCollector.d.ts +3 -1
  40. package/dist/parser/postgresql/postgreEntityCollector.js +6 -0
  41. package/dist/parser/trino/index.js +19 -10
  42. package/dist/parser/trino/trinoEntityCollector.d.ts +6 -4
  43. package/dist/parser/trino/trinoEntityCollector.js +9 -3
  44. package/package.json +39 -12
@@ -1,14 +1,16 @@
1
1
  import { ErrorNode, ParseTreeListener, ParserRuleContext, TerminalNode } from "antlr4ng";
2
2
  import { ProgramContext } from "./TrinoSqlParser.js";
3
3
  import { StatementsContext } from "./TrinoSqlParser.js";
4
- import { StandaloneClauseContext } from "./TrinoSqlParser.js";
5
4
  import { SingleStatementContext } from "./TrinoSqlParser.js";
6
5
  import { StandaloneExpressionContext } from "./TrinoSqlParser.js";
7
6
  import { StandalonePathSpecificationContext } from "./TrinoSqlParser.js";
8
7
  import { StandaloneTypeContext } from "./TrinoSqlParser.js";
9
8
  import { StandaloneRowPatternContext } from "./TrinoSqlParser.js";
9
+ import { StandaloneFunctionSpecificationContext } from "./TrinoSqlParser.js";
10
10
  import { StatementDefaultContext } from "./TrinoSqlParser.js";
11
11
  import { UseContext } from "./TrinoSqlParser.js";
12
+ import { CreateCatalogContext } from "./TrinoSqlParser.js";
13
+ import { DropCatalogContext } from "./TrinoSqlParser.js";
12
14
  import { CreateSchemaContext } from "./TrinoSqlParser.js";
13
15
  import { DropSchemaContext } from "./TrinoSqlParser.js";
14
16
  import { RenameSchemaContext } from "./TrinoSqlParser.js";
@@ -19,12 +21,15 @@ import { DropTableContext } from "./TrinoSqlParser.js";
19
21
  import { InsertIntoContext } from "./TrinoSqlParser.js";
20
22
  import { DeleteContext } from "./TrinoSqlParser.js";
21
23
  import { TruncateTableContext } from "./TrinoSqlParser.js";
22
- import { RenameTableContext } from "./TrinoSqlParser.js";
23
24
  import { CommentTableContext } from "./TrinoSqlParser.js";
25
+ import { CommentViewContext } from "./TrinoSqlParser.js";
24
26
  import { CommentColumnContext } from "./TrinoSqlParser.js";
27
+ import { RenameTableContext } from "./TrinoSqlParser.js";
28
+ import { AddColumnContext } from "./TrinoSqlParser.js";
25
29
  import { RenameColumnContext } from "./TrinoSqlParser.js";
26
30
  import { DropColumnContext } from "./TrinoSqlParser.js";
27
- import { AddColumnContext } from "./TrinoSqlParser.js";
31
+ import { SetColumnTypeContext } from "./TrinoSqlParser.js";
32
+ import { DropNotNullConstraintContext } from "./TrinoSqlParser.js";
28
33
  import { SetTableAuthorizationContext } from "./TrinoSqlParser.js";
29
34
  import { SetTablePropertiesContext } from "./TrinoSqlParser.js";
30
35
  import { TableExecuteContext } from "./TrinoSqlParser.js";
@@ -39,20 +44,24 @@ import { DropViewContext } from "./TrinoSqlParser.js";
39
44
  import { RenameViewContext } from "./TrinoSqlParser.js";
40
45
  import { SetViewAuthorizationContext } from "./TrinoSqlParser.js";
41
46
  import { CallContext } from "./TrinoSqlParser.js";
47
+ import { CreateFunctionContext } from "./TrinoSqlParser.js";
48
+ import { DropFunctionContext } from "./TrinoSqlParser.js";
42
49
  import { CreateRoleContext } from "./TrinoSqlParser.js";
43
50
  import { DropRoleContext } from "./TrinoSqlParser.js";
44
51
  import { GrantRolesContext } from "./TrinoSqlParser.js";
52
+ import { GrantPrivilegesContext } from "./TrinoSqlParser.js";
45
53
  import { RevokeRolesContext } from "./TrinoSqlParser.js";
46
- import { SetRoleContext } from "./TrinoSqlParser.js";
47
- import { GrantContext } from "./TrinoSqlParser.js";
54
+ import { RevokePrivilegesContext } from "./TrinoSqlParser.js";
48
55
  import { DenyContext } from "./TrinoSqlParser.js";
49
- import { RevokeContext } from "./TrinoSqlParser.js";
56
+ import { SetRoleContext } from "./TrinoSqlParser.js";
50
57
  import { ShowGrantsContext } from "./TrinoSqlParser.js";
51
58
  import { ExplainContext } from "./TrinoSqlParser.js";
59
+ import { ExplainAnalyzeContext } from "./TrinoSqlParser.js";
52
60
  import { ShowCreateTableContext } from "./TrinoSqlParser.js";
53
61
  import { ShowCreateSchemaContext } from "./TrinoSqlParser.js";
54
62
  import { ShowCreateViewContext } from "./TrinoSqlParser.js";
55
63
  import { ShowCreateMaterializedViewContext } from "./TrinoSqlParser.js";
64
+ import { ShowCreateFunctionContext } from "./TrinoSqlParser.js";
56
65
  import { ShowTablesContext } from "./TrinoSqlParser.js";
57
66
  import { ShowSchemasContext } from "./TrinoSqlParser.js";
58
67
  import { ShowCatalogsContext } from "./TrinoSqlParser.js";
@@ -63,6 +72,8 @@ import { ShowRolesContext } from "./TrinoSqlParser.js";
63
72
  import { ShowRoleGrantsContext } from "./TrinoSqlParser.js";
64
73
  import { ShowFunctionsContext } from "./TrinoSqlParser.js";
65
74
  import { ShowSessionContext } from "./TrinoSqlParser.js";
75
+ import { SetSessionAuthorizationContext } from "./TrinoSqlParser.js";
76
+ import { ResetSessionAuthorizationContext } from "./TrinoSqlParser.js";
66
77
  import { SetSessionContext } from "./TrinoSqlParser.js";
67
78
  import { ResetSessionContext } from "./TrinoSqlParser.js";
68
79
  import { StartTransactionContext } from "./TrinoSqlParser.js";
@@ -71,6 +82,7 @@ import { RollbackContext } from "./TrinoSqlParser.js";
71
82
  import { PrepareContext } from "./TrinoSqlParser.js";
72
83
  import { DeallocateContext } from "./TrinoSqlParser.js";
73
84
  import { ExecuteContext } from "./TrinoSqlParser.js";
85
+ import { ExecuteImmediateContext } from "./TrinoSqlParser.js";
74
86
  import { DescribeInputContext } from "./TrinoSqlParser.js";
75
87
  import { DescribeOutputContext } from "./TrinoSqlParser.js";
76
88
  import { SetPathContext } from "./TrinoSqlParser.js";
@@ -79,6 +91,8 @@ import { UpdateContext } from "./TrinoSqlParser.js";
79
91
  import { MergeContext } from "./TrinoSqlParser.js";
80
92
  import { ShowTableCommentContext } from "./TrinoSqlParser.js";
81
93
  import { ShowColumnCommentContext } from "./TrinoSqlParser.js";
94
+ import { RootQueryContext } from "./TrinoSqlParser.js";
95
+ import { WithFunctionContext } from "./TrinoSqlParser.js";
82
96
  import { QueryStatementContext } from "./TrinoSqlParser.js";
83
97
  import { WithContext } from "./TrinoSqlParser.js";
84
98
  import { TableElementContext } from "./TrinoSqlParser.js";
@@ -119,6 +133,9 @@ import { JoinTypeContext } from "./TrinoSqlParser.js";
119
133
  import { JoinCriteriaContext } from "./TrinoSqlParser.js";
120
134
  import { SampledRelationContext } from "./TrinoSqlParser.js";
121
135
  import { SampleTypeContext } from "./TrinoSqlParser.js";
136
+ import { TrimsSpecificationContext } from "./TrinoSqlParser.js";
137
+ import { ListAggOverflowBehaviorContext } from "./TrinoSqlParser.js";
138
+ import { ListaggCountIndicationContext } from "./TrinoSqlParser.js";
122
139
  import { PatternRecognitionContext } from "./TrinoSqlParser.js";
123
140
  import { MeasureDefinitionContext } from "./TrinoSqlParser.js";
124
141
  import { RowsPerMatchContext } from "./TrinoSqlParser.js";
@@ -130,15 +147,37 @@ import { AliasedRelationContext } from "./TrinoSqlParser.js";
130
147
  import { ColumnListCreateContext } from "./TrinoSqlParser.js";
131
148
  import { ColumnListContext } from "./TrinoSqlParser.js";
132
149
  import { ColumnAliasesContext } from "./TrinoSqlParser.js";
133
- import { TableOrViewRelationContext } from "./TrinoSqlParser.js";
150
+ import { TableNameContext } from "./TrinoSqlParser.js";
134
151
  import { SubqueryRelationContext } from "./TrinoSqlParser.js";
135
152
  import { UnnestContext } from "./TrinoSqlParser.js";
136
153
  import { LateralContext } from "./TrinoSqlParser.js";
154
+ import { TableFunctionInvocationContext } from "./TrinoSqlParser.js";
137
155
  import { ParenthesizedRelationContext } from "./TrinoSqlParser.js";
156
+ import { JsonTableContext } from "./TrinoSqlParser.js";
157
+ import { OrdinalityColumnContext } from "./TrinoSqlParser.js";
158
+ import { ValueColumnContext } from "./TrinoSqlParser.js";
159
+ import { QueryColumnContext } from "./TrinoSqlParser.js";
160
+ import { NestedColumnsContext } from "./TrinoSqlParser.js";
161
+ import { LeafPlanContext } from "./TrinoSqlParser.js";
162
+ import { JoinPlanContext } from "./TrinoSqlParser.js";
163
+ import { UnionPlanContext } from "./TrinoSqlParser.js";
164
+ import { CrossPlanContext } from "./TrinoSqlParser.js";
165
+ import { JsonTablePathNameContext } from "./TrinoSqlParser.js";
166
+ import { PlanPrimaryContext } from "./TrinoSqlParser.js";
167
+ import { JsonTableDefaultPlanContext } from "./TrinoSqlParser.js";
168
+ import { TableFunctionCallContext } from "./TrinoSqlParser.js";
169
+ import { TableFunctionArgumentContext } from "./TrinoSqlParser.js";
170
+ import { TableArgumentContext } from "./TrinoSqlParser.js";
171
+ import { TableArgumentTableContext } from "./TrinoSqlParser.js";
172
+ import { TableArgumentQueryContext } from "./TrinoSqlParser.js";
173
+ import { DescriptorArgumentContext } from "./TrinoSqlParser.js";
174
+ import { DescriptorFieldContext } from "./TrinoSqlParser.js";
175
+ import { CopartitionTablesContext } from "./TrinoSqlParser.js";
138
176
  import { ExpressionContext } from "./TrinoSqlParser.js";
139
177
  import { LogicalNotContext } from "./TrinoSqlParser.js";
140
178
  import { PredicatedContext } from "./TrinoSqlParser.js";
141
- import { LogicalBinaryContext } from "./TrinoSqlParser.js";
179
+ import { OrContext } from "./TrinoSqlParser.js";
180
+ import { AndContext } from "./TrinoSqlParser.js";
142
181
  import { ComparisonContext } from "./TrinoSqlParser.js";
143
182
  import { QuantifiedComparisonContext } from "./TrinoSqlParser.js";
144
183
  import { BetweenContext } from "./TrinoSqlParser.js";
@@ -154,36 +193,56 @@ import { ArithmeticUnaryContext } from "./TrinoSqlParser.js";
154
193
  import { AtTimeZoneContext } from "./TrinoSqlParser.js";
155
194
  import { DereferenceContext } from "./TrinoSqlParser.js";
156
195
  import { TypeConstructorContext } from "./TrinoSqlParser.js";
157
- import { SpecialDateTimeFunctionContext } from "./TrinoSqlParser.js";
196
+ import { JsonValueContext } from "./TrinoSqlParser.js";
197
+ import { CurrentDateContext } from "./TrinoSqlParser.js";
158
198
  import { SubstringContext } from "./TrinoSqlParser.js";
159
199
  import { CastContext } from "./TrinoSqlParser.js";
160
200
  import { LambdaContext } from "./TrinoSqlParser.js";
161
201
  import { ParenthesizedExpressionContext } from "./TrinoSqlParser.js";
202
+ import { TrimContext } from "./TrinoSqlParser.js";
162
203
  import { ParameterContext } from "./TrinoSqlParser.js";
163
204
  import { NormalizeContext } from "./TrinoSqlParser.js";
205
+ import { LocalTimestampContext } from "./TrinoSqlParser.js";
206
+ import { JsonObjectContext } from "./TrinoSqlParser.js";
164
207
  import { IntervalLiteralContext } from "./TrinoSqlParser.js";
165
208
  import { NumericLiteralContext } from "./TrinoSqlParser.js";
166
209
  import { BooleanLiteralContext } from "./TrinoSqlParser.js";
210
+ import { JsonArrayContext } from "./TrinoSqlParser.js";
167
211
  import { SimpleCaseContext } from "./TrinoSqlParser.js";
168
212
  import { ColumnReferenceContext } from "./TrinoSqlParser.js";
169
213
  import { NullLiteralContext } from "./TrinoSqlParser.js";
170
214
  import { RowConstructorContext } from "./TrinoSqlParser.js";
171
215
  import { SubscriptContext } from "./TrinoSqlParser.js";
216
+ import { JsonExistsContext } from "./TrinoSqlParser.js";
172
217
  import { CurrentPathContext } from "./TrinoSqlParser.js";
173
218
  import { SubqueryExpressionContext } from "./TrinoSqlParser.js";
174
219
  import { BinaryLiteralContext } from "./TrinoSqlParser.js";
220
+ import { CurrentTimeContext } from "./TrinoSqlParser.js";
221
+ import { LocalTimeContext } from "./TrinoSqlParser.js";
175
222
  import { CurrentUserContext } from "./TrinoSqlParser.js";
223
+ import { JsonQueryContext } from "./TrinoSqlParser.js";
176
224
  import { MeasureContext } from "./TrinoSqlParser.js";
177
225
  import { ExtractContext } from "./TrinoSqlParser.js";
178
226
  import { StringLiteralContext } from "./TrinoSqlParser.js";
179
227
  import { ArrayConstructorContext } from "./TrinoSqlParser.js";
180
228
  import { FunctionCallContext } from "./TrinoSqlParser.js";
229
+ import { CurrentTimestampContext } from "./TrinoSqlParser.js";
181
230
  import { CurrentSchemaContext } from "./TrinoSqlParser.js";
182
231
  import { ExistsContext } from "./TrinoSqlParser.js";
183
232
  import { PositionContext } from "./TrinoSqlParser.js";
233
+ import { ListaggContext } from "./TrinoSqlParser.js";
184
234
  import { SearchedCaseContext } from "./TrinoSqlParser.js";
185
235
  import { CurrentCatalogContext } from "./TrinoSqlParser.js";
186
236
  import { GroupingOperationContext } from "./TrinoSqlParser.js";
237
+ import { JsonPathInvocationContext } from "./TrinoSqlParser.js";
238
+ import { JsonValueExpressionContext } from "./TrinoSqlParser.js";
239
+ import { JsonRepresentationContext } from "./TrinoSqlParser.js";
240
+ import { JsonArgumentContext } from "./TrinoSqlParser.js";
241
+ import { JsonExistsErrorBehaviorContext } from "./TrinoSqlParser.js";
242
+ import { JsonValueBehaviorContext } from "./TrinoSqlParser.js";
243
+ import { JsonQueryWrapperBehaviorContext } from "./TrinoSqlParser.js";
244
+ import { JsonQueryBehaviorContext } from "./TrinoSqlParser.js";
245
+ import { JsonObjectMemberContext } from "./TrinoSqlParser.js";
187
246
  import { ProcessingModeContext } from "./TrinoSqlParser.js";
188
247
  import { NullTreatmentContext } from "./TrinoSqlParser.js";
189
248
  import { BasicStringLiteralContext } from "./TrinoSqlParser.js";
@@ -245,23 +304,52 @@ import { NamedArgumentContext } from "./TrinoSqlParser.js";
245
304
  import { QualifiedArgumentContext } from "./TrinoSqlParser.js";
246
305
  import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js";
247
306
  import { PathSpecificationContext } from "./TrinoSqlParser.js";
307
+ import { FunctionSpecificationContext } from "./TrinoSqlParser.js";
308
+ import { FunctionDeclarationContext } from "./TrinoSqlParser.js";
309
+ import { FunctionSignatureContext } from "./TrinoSqlParser.js";
310
+ import { ParameterDeclarationContext } from "./TrinoSqlParser.js";
311
+ import { ReturnsClauseContext } from "./TrinoSqlParser.js";
312
+ import { LanguageCharacteristicContext } from "./TrinoSqlParser.js";
313
+ import { DeterministicCharacteristicContext } from "./TrinoSqlParser.js";
314
+ import { ReturnsNullOnNullInputCharacteristicContext } from "./TrinoSqlParser.js";
315
+ import { CalledOnNullInputCharacteristicContext } from "./TrinoSqlParser.js";
316
+ import { SecurityCharacteristicContext } from "./TrinoSqlParser.js";
317
+ import { CommentCharacteristicContext } from "./TrinoSqlParser.js";
318
+ import { ReturnStatementContext } from "./TrinoSqlParser.js";
319
+ import { AssignmentStatementContext } from "./TrinoSqlParser.js";
320
+ import { SimpleCaseStatementContext } from "./TrinoSqlParser.js";
321
+ import { SearchedCaseStatementContext } from "./TrinoSqlParser.js";
322
+ import { IfStatementContext } from "./TrinoSqlParser.js";
323
+ import { IterateStatementContext } from "./TrinoSqlParser.js";
324
+ import { LeaveStatementContext } from "./TrinoSqlParser.js";
325
+ import { CompoundStatementContext } from "./TrinoSqlParser.js";
326
+ import { LoopStatementContext } from "./TrinoSqlParser.js";
327
+ import { WhileStatementContext } from "./TrinoSqlParser.js";
328
+ import { RepeatStatementContext } from "./TrinoSqlParser.js";
329
+ import { CaseStatementWhenClauseContext } from "./TrinoSqlParser.js";
330
+ import { ElseIfClauseContext } from "./TrinoSqlParser.js";
331
+ import { ElseClauseContext } from "./TrinoSqlParser.js";
332
+ import { VariableDeclarationContext } from "./TrinoSqlParser.js";
333
+ import { SqlStatementListContext } from "./TrinoSqlParser.js";
248
334
  import { PrivilegeContext } from "./TrinoSqlParser.js";
335
+ import { EntityKindContext } from "./TrinoSqlParser.js";
336
+ import { GrantObjectContext } from "./TrinoSqlParser.js";
249
337
  import { TableOrViewNameContext } from "./TrinoSqlParser.js";
250
- import { TableNameContext } from "./TrinoSqlParser.js";
338
+ import { TableRefContext } from "./TrinoSqlParser.js";
251
339
  import { TableNameCreateContext } from "./TrinoSqlParser.js";
252
- import { ViewNameContext } from "./TrinoSqlParser.js";
340
+ import { ViewRefContext } from "./TrinoSqlParser.js";
253
341
  import { ViewNameCreateContext } from "./TrinoSqlParser.js";
254
- import { TablePathContext } from "./TrinoSqlParser.js";
255
- import { ViewPathContext } from "./TrinoSqlParser.js";
256
- import { SchemaNameContext } from "./TrinoSqlParser.js";
342
+ import { SchemaRefContext } from "./TrinoSqlParser.js";
257
343
  import { SchemaNameCreateContext } from "./TrinoSqlParser.js";
258
- import { SchemaPathContext } from "./TrinoSqlParser.js";
259
- import { CatalogNameContext } from "./TrinoSqlParser.js";
344
+ import { CatalogRefContext } from "./TrinoSqlParser.js";
260
345
  import { CatalogNameCreateContext } from "./TrinoSqlParser.js";
261
346
  import { FunctionNameContext } from "./TrinoSqlParser.js";
262
- import { ColumnNameContext } from "./TrinoSqlParser.js";
347
+ import { FunctionNameCreateContext } from "./TrinoSqlParser.js";
348
+ import { ColumnRefContext } from "./TrinoSqlParser.js";
263
349
  import { ColumnNameCreateContext } from "./TrinoSqlParser.js";
264
350
  import { QualifiedNameContext } from "./TrinoSqlParser.js";
351
+ import { QueryPeriodContext } from "./TrinoSqlParser.js";
352
+ import { RangeTypeContext } from "./TrinoSqlParser.js";
265
353
  import { SpecifiedPrincipalContext } from "./TrinoSqlParser.js";
266
354
  import { CurrentUserGrantorContext } from "./TrinoSqlParser.js";
267
355
  import { CurrentRoleGrantorContext } from "./TrinoSqlParser.js";
@@ -269,6 +357,7 @@ import { UnspecifiedPrincipalContext } from "./TrinoSqlParser.js";
269
357
  import { UserPrincipalContext } from "./TrinoSqlParser.js";
270
358
  import { RolePrincipalContext } from "./TrinoSqlParser.js";
271
359
  import { RolesContext } from "./TrinoSqlParser.js";
360
+ import { PrivilegeOrRoleContext } from "./TrinoSqlParser.js";
272
361
  import { UnquotedIdentifierContext } from "./TrinoSqlParser.js";
273
362
  import { QuotedIdentifierContext } from "./TrinoSqlParser.js";
274
363
  import { BackQuotedIdentifierContext } from "./TrinoSqlParser.js";
@@ -276,6 +365,8 @@ import { DigitIdentifierContext } from "./TrinoSqlParser.js";
276
365
  import { DecimalLiteralContext } from "./TrinoSqlParser.js";
277
366
  import { DoubleLiteralContext } from "./TrinoSqlParser.js";
278
367
  import { IntegerLiteralContext } from "./TrinoSqlParser.js";
368
+ import { IdentifierUserContext } from "./TrinoSqlParser.js";
369
+ import { StringUserContext } from "./TrinoSqlParser.js";
279
370
  import { NonReservedContext } from "./TrinoSqlParser.js";
280
371
  /**
281
372
  * This interface defines a complete listener for a parse tree produced by
@@ -302,16 +393,6 @@ export declare class TrinoSqlListener implements ParseTreeListener {
302
393
  * @param ctx the parse tree
303
394
  */
304
395
  exitStatements?: (ctx: StatementsContext) => void;
305
- /**
306
- * Enter a parse tree produced by `TrinoSqlParser.standaloneClause`.
307
- * @param ctx the parse tree
308
- */
309
- enterStandaloneClause?: (ctx: StandaloneClauseContext) => void;
310
- /**
311
- * Exit a parse tree produced by `TrinoSqlParser.standaloneClause`.
312
- * @param ctx the parse tree
313
- */
314
- exitStandaloneClause?: (ctx: StandaloneClauseContext) => void;
315
396
  /**
316
397
  * Enter a parse tree produced by `TrinoSqlParser.singleStatement`.
317
398
  * @param ctx the parse tree
@@ -362,6 +443,16 @@ export declare class TrinoSqlListener implements ParseTreeListener {
362
443
  * @param ctx the parse tree
363
444
  */
364
445
  exitStandaloneRowPattern?: (ctx: StandaloneRowPatternContext) => void;
446
+ /**
447
+ * Enter a parse tree produced by `TrinoSqlParser.standaloneFunctionSpecification`.
448
+ * @param ctx the parse tree
449
+ */
450
+ enterStandaloneFunctionSpecification?: (ctx: StandaloneFunctionSpecificationContext) => void;
451
+ /**
452
+ * Exit a parse tree produced by `TrinoSqlParser.standaloneFunctionSpecification`.
453
+ * @param ctx the parse tree
454
+ */
455
+ exitStandaloneFunctionSpecification?: (ctx: StandaloneFunctionSpecificationContext) => void;
365
456
  /**
366
457
  * Enter a parse tree produced by the `statementDefault`
367
458
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -386,6 +477,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
386
477
  * @param ctx the parse tree
387
478
  */
388
479
  exitUse?: (ctx: UseContext) => void;
480
+ /**
481
+ * Enter a parse tree produced by the `createCatalog`
482
+ * labeled alternative in `TrinoSqlParser.statement`.
483
+ * @param ctx the parse tree
484
+ */
485
+ enterCreateCatalog?: (ctx: CreateCatalogContext) => void;
486
+ /**
487
+ * Exit a parse tree produced by the `createCatalog`
488
+ * labeled alternative in `TrinoSqlParser.statement`.
489
+ * @param ctx the parse tree
490
+ */
491
+ exitCreateCatalog?: (ctx: CreateCatalogContext) => void;
492
+ /**
493
+ * Enter a parse tree produced by the `dropCatalog`
494
+ * labeled alternative in `TrinoSqlParser.statement`.
495
+ * @param ctx the parse tree
496
+ */
497
+ enterDropCatalog?: (ctx: DropCatalogContext) => void;
498
+ /**
499
+ * Exit a parse tree produced by the `dropCatalog`
500
+ * labeled alternative in `TrinoSqlParser.statement`.
501
+ * @param ctx the parse tree
502
+ */
503
+ exitDropCatalog?: (ctx: DropCatalogContext) => void;
389
504
  /**
390
505
  * Enter a parse tree produced by the `createSchema`
391
506
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -507,29 +622,29 @@ export declare class TrinoSqlListener implements ParseTreeListener {
507
622
  */
508
623
  exitTruncateTable?: (ctx: TruncateTableContext) => void;
509
624
  /**
510
- * Enter a parse tree produced by the `renameTable`
625
+ * Enter a parse tree produced by the `commentTable`
511
626
  * labeled alternative in `TrinoSqlParser.statement`.
512
627
  * @param ctx the parse tree
513
628
  */
514
- enterRenameTable?: (ctx: RenameTableContext) => void;
629
+ enterCommentTable?: (ctx: CommentTableContext) => void;
515
630
  /**
516
- * Exit a parse tree produced by the `renameTable`
631
+ * Exit a parse tree produced by the `commentTable`
517
632
  * labeled alternative in `TrinoSqlParser.statement`.
518
633
  * @param ctx the parse tree
519
634
  */
520
- exitRenameTable?: (ctx: RenameTableContext) => void;
635
+ exitCommentTable?: (ctx: CommentTableContext) => void;
521
636
  /**
522
- * Enter a parse tree produced by the `commentTable`
637
+ * Enter a parse tree produced by the `commentView`
523
638
  * labeled alternative in `TrinoSqlParser.statement`.
524
639
  * @param ctx the parse tree
525
640
  */
526
- enterCommentTable?: (ctx: CommentTableContext) => void;
641
+ enterCommentView?: (ctx: CommentViewContext) => void;
527
642
  /**
528
- * Exit a parse tree produced by the `commentTable`
643
+ * Exit a parse tree produced by the `commentView`
529
644
  * labeled alternative in `TrinoSqlParser.statement`.
530
645
  * @param ctx the parse tree
531
646
  */
532
- exitCommentTable?: (ctx: CommentTableContext) => void;
647
+ exitCommentView?: (ctx: CommentViewContext) => void;
533
648
  /**
534
649
  * Enter a parse tree produced by the `commentColumn`
535
650
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -542,6 +657,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
542
657
  * @param ctx the parse tree
543
658
  */
544
659
  exitCommentColumn?: (ctx: CommentColumnContext) => void;
660
+ /**
661
+ * Enter a parse tree produced by the `renameTable`
662
+ * labeled alternative in `TrinoSqlParser.statement`.
663
+ * @param ctx the parse tree
664
+ */
665
+ enterRenameTable?: (ctx: RenameTableContext) => void;
666
+ /**
667
+ * Exit a parse tree produced by the `renameTable`
668
+ * labeled alternative in `TrinoSqlParser.statement`.
669
+ * @param ctx the parse tree
670
+ */
671
+ exitRenameTable?: (ctx: RenameTableContext) => void;
672
+ /**
673
+ * Enter a parse tree produced by the `addColumn`
674
+ * labeled alternative in `TrinoSqlParser.statement`.
675
+ * @param ctx the parse tree
676
+ */
677
+ enterAddColumn?: (ctx: AddColumnContext) => void;
678
+ /**
679
+ * Exit a parse tree produced by the `addColumn`
680
+ * labeled alternative in `TrinoSqlParser.statement`.
681
+ * @param ctx the parse tree
682
+ */
683
+ exitAddColumn?: (ctx: AddColumnContext) => void;
545
684
  /**
546
685
  * Enter a parse tree produced by the `renameColumn`
547
686
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -567,17 +706,29 @@ export declare class TrinoSqlListener implements ParseTreeListener {
567
706
  */
568
707
  exitDropColumn?: (ctx: DropColumnContext) => void;
569
708
  /**
570
- * Enter a parse tree produced by the `addColumn`
709
+ * Enter a parse tree produced by the `setColumnType`
571
710
  * labeled alternative in `TrinoSqlParser.statement`.
572
711
  * @param ctx the parse tree
573
712
  */
574
- enterAddColumn?: (ctx: AddColumnContext) => void;
713
+ enterSetColumnType?: (ctx: SetColumnTypeContext) => void;
575
714
  /**
576
- * Exit a parse tree produced by the `addColumn`
715
+ * Exit a parse tree produced by the `setColumnType`
577
716
  * labeled alternative in `TrinoSqlParser.statement`.
578
717
  * @param ctx the parse tree
579
718
  */
580
- exitAddColumn?: (ctx: AddColumnContext) => void;
719
+ exitSetColumnType?: (ctx: SetColumnTypeContext) => void;
720
+ /**
721
+ * Enter a parse tree produced by the `dropNotNullConstraint`
722
+ * labeled alternative in `TrinoSqlParser.statement`.
723
+ * @param ctx the parse tree
724
+ */
725
+ enterDropNotNullConstraint?: (ctx: DropNotNullConstraintContext) => void;
726
+ /**
727
+ * Exit a parse tree produced by the `dropNotNullConstraint`
728
+ * labeled alternative in `TrinoSqlParser.statement`.
729
+ * @param ctx the parse tree
730
+ */
731
+ exitDropNotNullConstraint?: (ctx: DropNotNullConstraintContext) => void;
581
732
  /**
582
733
  * Enter a parse tree produced by the `setTableAuthorization`
583
734
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -746,6 +897,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
746
897
  * @param ctx the parse tree
747
898
  */
748
899
  exitCall?: (ctx: CallContext) => void;
900
+ /**
901
+ * Enter a parse tree produced by the `createFunction`
902
+ * labeled alternative in `TrinoSqlParser.statement`.
903
+ * @param ctx the parse tree
904
+ */
905
+ enterCreateFunction?: (ctx: CreateFunctionContext) => void;
906
+ /**
907
+ * Exit a parse tree produced by the `createFunction`
908
+ * labeled alternative in `TrinoSqlParser.statement`.
909
+ * @param ctx the parse tree
910
+ */
911
+ exitCreateFunction?: (ctx: CreateFunctionContext) => void;
912
+ /**
913
+ * Enter a parse tree produced by the `dropFunction`
914
+ * labeled alternative in `TrinoSqlParser.statement`.
915
+ * @param ctx the parse tree
916
+ */
917
+ enterDropFunction?: (ctx: DropFunctionContext) => void;
918
+ /**
919
+ * Exit a parse tree produced by the `dropFunction`
920
+ * labeled alternative in `TrinoSqlParser.statement`.
921
+ * @param ctx the parse tree
922
+ */
923
+ exitDropFunction?: (ctx: DropFunctionContext) => void;
749
924
  /**
750
925
  * Enter a parse tree produced by the `createRole`
751
926
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -783,41 +958,41 @@ export declare class TrinoSqlListener implements ParseTreeListener {
783
958
  */
784
959
  exitGrantRoles?: (ctx: GrantRolesContext) => void;
785
960
  /**
786
- * Enter a parse tree produced by the `revokeRoles`
961
+ * Enter a parse tree produced by the `grantPrivileges`
787
962
  * labeled alternative in `TrinoSqlParser.statement`.
788
963
  * @param ctx the parse tree
789
964
  */
790
- enterRevokeRoles?: (ctx: RevokeRolesContext) => void;
965
+ enterGrantPrivileges?: (ctx: GrantPrivilegesContext) => void;
791
966
  /**
792
- * Exit a parse tree produced by the `revokeRoles`
967
+ * Exit a parse tree produced by the `grantPrivileges`
793
968
  * labeled alternative in `TrinoSqlParser.statement`.
794
969
  * @param ctx the parse tree
795
970
  */
796
- exitRevokeRoles?: (ctx: RevokeRolesContext) => void;
971
+ exitGrantPrivileges?: (ctx: GrantPrivilegesContext) => void;
797
972
  /**
798
- * Enter a parse tree produced by the `setRole`
973
+ * Enter a parse tree produced by the `revokeRoles`
799
974
  * labeled alternative in `TrinoSqlParser.statement`.
800
975
  * @param ctx the parse tree
801
976
  */
802
- enterSetRole?: (ctx: SetRoleContext) => void;
977
+ enterRevokeRoles?: (ctx: RevokeRolesContext) => void;
803
978
  /**
804
- * Exit a parse tree produced by the `setRole`
979
+ * Exit a parse tree produced by the `revokeRoles`
805
980
  * labeled alternative in `TrinoSqlParser.statement`.
806
981
  * @param ctx the parse tree
807
982
  */
808
- exitSetRole?: (ctx: SetRoleContext) => void;
983
+ exitRevokeRoles?: (ctx: RevokeRolesContext) => void;
809
984
  /**
810
- * Enter a parse tree produced by the `grant`
985
+ * Enter a parse tree produced by the `revokePrivileges`
811
986
  * labeled alternative in `TrinoSqlParser.statement`.
812
987
  * @param ctx the parse tree
813
988
  */
814
- enterGrant?: (ctx: GrantContext) => void;
989
+ enterRevokePrivileges?: (ctx: RevokePrivilegesContext) => void;
815
990
  /**
816
- * Exit a parse tree produced by the `grant`
991
+ * Exit a parse tree produced by the `revokePrivileges`
817
992
  * labeled alternative in `TrinoSqlParser.statement`.
818
993
  * @param ctx the parse tree
819
994
  */
820
- exitGrant?: (ctx: GrantContext) => void;
995
+ exitRevokePrivileges?: (ctx: RevokePrivilegesContext) => void;
821
996
  /**
822
997
  * Enter a parse tree produced by the `deny`
823
998
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -831,17 +1006,17 @@ export declare class TrinoSqlListener implements ParseTreeListener {
831
1006
  */
832
1007
  exitDeny?: (ctx: DenyContext) => void;
833
1008
  /**
834
- * Enter a parse tree produced by the `revoke`
1009
+ * Enter a parse tree produced by the `setRole`
835
1010
  * labeled alternative in `TrinoSqlParser.statement`.
836
1011
  * @param ctx the parse tree
837
1012
  */
838
- enterRevoke?: (ctx: RevokeContext) => void;
1013
+ enterSetRole?: (ctx: SetRoleContext) => void;
839
1014
  /**
840
- * Exit a parse tree produced by the `revoke`
1015
+ * Exit a parse tree produced by the `setRole`
841
1016
  * labeled alternative in `TrinoSqlParser.statement`.
842
1017
  * @param ctx the parse tree
843
1018
  */
844
- exitRevoke?: (ctx: RevokeContext) => void;
1019
+ exitSetRole?: (ctx: SetRoleContext) => void;
845
1020
  /**
846
1021
  * Enter a parse tree produced by the `showGrants`
847
1022
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -866,6 +1041,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
866
1041
  * @param ctx the parse tree
867
1042
  */
868
1043
  exitExplain?: (ctx: ExplainContext) => void;
1044
+ /**
1045
+ * Enter a parse tree produced by the `explainAnalyze`
1046
+ * labeled alternative in `TrinoSqlParser.statement`.
1047
+ * @param ctx the parse tree
1048
+ */
1049
+ enterExplainAnalyze?: (ctx: ExplainAnalyzeContext) => void;
1050
+ /**
1051
+ * Exit a parse tree produced by the `explainAnalyze`
1052
+ * labeled alternative in `TrinoSqlParser.statement`.
1053
+ * @param ctx the parse tree
1054
+ */
1055
+ exitExplainAnalyze?: (ctx: ExplainAnalyzeContext) => void;
869
1056
  /**
870
1057
  * Enter a parse tree produced by the `showCreateTable`
871
1058
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -914,6 +1101,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
914
1101
  * @param ctx the parse tree
915
1102
  */
916
1103
  exitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => void;
1104
+ /**
1105
+ * Enter a parse tree produced by the `showCreateFunction`
1106
+ * labeled alternative in `TrinoSqlParser.statement`.
1107
+ * @param ctx the parse tree
1108
+ */
1109
+ enterShowCreateFunction?: (ctx: ShowCreateFunctionContext) => void;
1110
+ /**
1111
+ * Exit a parse tree produced by the `showCreateFunction`
1112
+ * labeled alternative in `TrinoSqlParser.statement`.
1113
+ * @param ctx the parse tree
1114
+ */
1115
+ exitShowCreateFunction?: (ctx: ShowCreateFunctionContext) => void;
917
1116
  /**
918
1117
  * Enter a parse tree produced by the `showTables`
919
1118
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -1034,6 +1233,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1034
1233
  * @param ctx the parse tree
1035
1234
  */
1036
1235
  exitShowSession?: (ctx: ShowSessionContext) => void;
1236
+ /**
1237
+ * Enter a parse tree produced by the `setSessionAuthorization`
1238
+ * labeled alternative in `TrinoSqlParser.statement`.
1239
+ * @param ctx the parse tree
1240
+ */
1241
+ enterSetSessionAuthorization?: (ctx: SetSessionAuthorizationContext) => void;
1242
+ /**
1243
+ * Exit a parse tree produced by the `setSessionAuthorization`
1244
+ * labeled alternative in `TrinoSqlParser.statement`.
1245
+ * @param ctx the parse tree
1246
+ */
1247
+ exitSetSessionAuthorization?: (ctx: SetSessionAuthorizationContext) => void;
1248
+ /**
1249
+ * Enter a parse tree produced by the `resetSessionAuthorization`
1250
+ * labeled alternative in `TrinoSqlParser.statement`.
1251
+ * @param ctx the parse tree
1252
+ */
1253
+ enterResetSessionAuthorization?: (ctx: ResetSessionAuthorizationContext) => void;
1254
+ /**
1255
+ * Exit a parse tree produced by the `resetSessionAuthorization`
1256
+ * labeled alternative in `TrinoSqlParser.statement`.
1257
+ * @param ctx the parse tree
1258
+ */
1259
+ exitResetSessionAuthorization?: (ctx: ResetSessionAuthorizationContext) => void;
1037
1260
  /**
1038
1261
  * Enter a parse tree produced by the `setSession`
1039
1262
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -1130,6 +1353,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1130
1353
  * @param ctx the parse tree
1131
1354
  */
1132
1355
  exitExecute?: (ctx: ExecuteContext) => void;
1356
+ /**
1357
+ * Enter a parse tree produced by the `executeImmediate`
1358
+ * labeled alternative in `TrinoSqlParser.statement`.
1359
+ * @param ctx the parse tree
1360
+ */
1361
+ enterExecuteImmediate?: (ctx: ExecuteImmediateContext) => void;
1362
+ /**
1363
+ * Exit a parse tree produced by the `executeImmediate`
1364
+ * labeled alternative in `TrinoSqlParser.statement`.
1365
+ * @param ctx the parse tree
1366
+ */
1367
+ exitExecuteImmediate?: (ctx: ExecuteImmediateContext) => void;
1133
1368
  /**
1134
1369
  * Enter a parse tree produced by the `describeInput`
1135
1370
  * labeled alternative in `TrinoSqlParser.statement`.
@@ -1226,6 +1461,26 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1226
1461
  * @param ctx the parse tree
1227
1462
  */
1228
1463
  exitShowColumnComment?: (ctx: ShowColumnCommentContext) => void;
1464
+ /**
1465
+ * Enter a parse tree produced by `TrinoSqlParser.rootQuery`.
1466
+ * @param ctx the parse tree
1467
+ */
1468
+ enterRootQuery?: (ctx: RootQueryContext) => void;
1469
+ /**
1470
+ * Exit a parse tree produced by `TrinoSqlParser.rootQuery`.
1471
+ * @param ctx the parse tree
1472
+ */
1473
+ exitRootQuery?: (ctx: RootQueryContext) => void;
1474
+ /**
1475
+ * Enter a parse tree produced by `TrinoSqlParser.withFunction`.
1476
+ * @param ctx the parse tree
1477
+ */
1478
+ enterWithFunction?: (ctx: WithFunctionContext) => void;
1479
+ /**
1480
+ * Exit a parse tree produced by `TrinoSqlParser.withFunction`.
1481
+ * @param ctx the parse tree
1482
+ */
1483
+ exitWithFunction?: (ctx: WithFunctionContext) => void;
1229
1484
  /**
1230
1485
  * Enter a parse tree produced by the `queryStatement`
1231
1486
  * labeled alternative in `TrinoSqlParser.query`.
@@ -1660,6 +1915,36 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1660
1915
  * @param ctx the parse tree
1661
1916
  */
1662
1917
  exitSampleType?: (ctx: SampleTypeContext) => void;
1918
+ /**
1919
+ * Enter a parse tree produced by `TrinoSqlParser.trimsSpecification`.
1920
+ * @param ctx the parse tree
1921
+ */
1922
+ enterTrimsSpecification?: (ctx: TrimsSpecificationContext) => void;
1923
+ /**
1924
+ * Exit a parse tree produced by `TrinoSqlParser.trimsSpecification`.
1925
+ * @param ctx the parse tree
1926
+ */
1927
+ exitTrimsSpecification?: (ctx: TrimsSpecificationContext) => void;
1928
+ /**
1929
+ * Enter a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`.
1930
+ * @param ctx the parse tree
1931
+ */
1932
+ enterListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => void;
1933
+ /**
1934
+ * Exit a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`.
1935
+ * @param ctx the parse tree
1936
+ */
1937
+ exitListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => void;
1938
+ /**
1939
+ * Enter a parse tree produced by `TrinoSqlParser.listaggCountIndication`.
1940
+ * @param ctx the parse tree
1941
+ */
1942
+ enterListaggCountIndication?: (ctx: ListaggCountIndicationContext) => void;
1943
+ /**
1944
+ * Exit a parse tree produced by `TrinoSqlParser.listaggCountIndication`.
1945
+ * @param ctx the parse tree
1946
+ */
1947
+ exitListaggCountIndication?: (ctx: ListaggCountIndicationContext) => void;
1663
1948
  /**
1664
1949
  * Enter a parse tree produced by `TrinoSqlParser.patternRecognition`.
1665
1950
  * @param ctx the parse tree
@@ -1771,17 +2056,17 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1771
2056
  */
1772
2057
  exitColumnAliases?: (ctx: ColumnAliasesContext) => void;
1773
2058
  /**
1774
- * Enter a parse tree produced by the `tableOrViewRelation`
2059
+ * Enter a parse tree produced by the `tableName`
1775
2060
  * labeled alternative in `TrinoSqlParser.relationPrimary`.
1776
2061
  * @param ctx the parse tree
1777
2062
  */
1778
- enterTableOrViewRelation?: (ctx: TableOrViewRelationContext) => void;
2063
+ enterTableName?: (ctx: TableNameContext) => void;
1779
2064
  /**
1780
- * Exit a parse tree produced by the `tableOrViewRelation`
2065
+ * Exit a parse tree produced by the `tableName`
1781
2066
  * labeled alternative in `TrinoSqlParser.relationPrimary`.
1782
2067
  * @param ctx the parse tree
1783
2068
  */
1784
- exitTableOrViewRelation?: (ctx: TableOrViewRelationContext) => void;
2069
+ exitTableName?: (ctx: TableNameContext) => void;
1785
2070
  /**
1786
2071
  * Enter a parse tree produced by the `subqueryRelation`
1787
2072
  * labeled alternative in `TrinoSqlParser.relationPrimary`.
@@ -1818,6 +2103,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1818
2103
  * @param ctx the parse tree
1819
2104
  */
1820
2105
  exitLateral?: (ctx: LateralContext) => void;
2106
+ /**
2107
+ * Enter a parse tree produced by the `tableFunctionInvocation`
2108
+ * labeled alternative in `TrinoSqlParser.relationPrimary`.
2109
+ * @param ctx the parse tree
2110
+ */
2111
+ enterTableFunctionInvocation?: (ctx: TableFunctionInvocationContext) => void;
2112
+ /**
2113
+ * Exit a parse tree produced by the `tableFunctionInvocation`
2114
+ * labeled alternative in `TrinoSqlParser.relationPrimary`.
2115
+ * @param ctx the parse tree
2116
+ */
2117
+ exitTableFunctionInvocation?: (ctx: TableFunctionInvocationContext) => void;
1821
2118
  /**
1822
2119
  * Enter a parse tree produced by the `parenthesizedRelation`
1823
2120
  * labeled alternative in `TrinoSqlParser.relationPrimary`.
@@ -1831,131 +2128,365 @@ export declare class TrinoSqlListener implements ParseTreeListener {
1831
2128
  */
1832
2129
  exitParenthesizedRelation?: (ctx: ParenthesizedRelationContext) => void;
1833
2130
  /**
1834
- * Enter a parse tree produced by `TrinoSqlParser.expression`.
2131
+ * Enter a parse tree produced by the `jsonTable`
2132
+ * labeled alternative in `TrinoSqlParser.relationPrimary`.
1835
2133
  * @param ctx the parse tree
1836
2134
  */
1837
- enterExpression?: (ctx: ExpressionContext) => void;
2135
+ enterJsonTable?: (ctx: JsonTableContext) => void;
1838
2136
  /**
1839
- * Exit a parse tree produced by `TrinoSqlParser.expression`.
2137
+ * Exit a parse tree produced by the `jsonTable`
2138
+ * labeled alternative in `TrinoSqlParser.relationPrimary`.
1840
2139
  * @param ctx the parse tree
1841
2140
  */
1842
- exitExpression?: (ctx: ExpressionContext) => void;
2141
+ exitJsonTable?: (ctx: JsonTableContext) => void;
1843
2142
  /**
1844
- * Enter a parse tree produced by the `logicalNot`
1845
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2143
+ * Enter a parse tree produced by the `ordinalityColumn`
2144
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1846
2145
  * @param ctx the parse tree
1847
2146
  */
1848
- enterLogicalNot?: (ctx: LogicalNotContext) => void;
2147
+ enterOrdinalityColumn?: (ctx: OrdinalityColumnContext) => void;
1849
2148
  /**
1850
- * Exit a parse tree produced by the `logicalNot`
1851
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2149
+ * Exit a parse tree produced by the `ordinalityColumn`
2150
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1852
2151
  * @param ctx the parse tree
1853
2152
  */
1854
- exitLogicalNot?: (ctx: LogicalNotContext) => void;
2153
+ exitOrdinalityColumn?: (ctx: OrdinalityColumnContext) => void;
1855
2154
  /**
1856
- * Enter a parse tree produced by the `predicated`
1857
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2155
+ * Enter a parse tree produced by the `valueColumn`
2156
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1858
2157
  * @param ctx the parse tree
1859
2158
  */
1860
- enterPredicated?: (ctx: PredicatedContext) => void;
2159
+ enterValueColumn?: (ctx: ValueColumnContext) => void;
1861
2160
  /**
1862
- * Exit a parse tree produced by the `predicated`
1863
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2161
+ * Exit a parse tree produced by the `valueColumn`
2162
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1864
2163
  * @param ctx the parse tree
1865
2164
  */
1866
- exitPredicated?: (ctx: PredicatedContext) => void;
2165
+ exitValueColumn?: (ctx: ValueColumnContext) => void;
1867
2166
  /**
1868
- * Enter a parse tree produced by the `logicalBinary`
1869
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2167
+ * Enter a parse tree produced by the `queryColumn`
2168
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1870
2169
  * @param ctx the parse tree
1871
2170
  */
1872
- enterLogicalBinary?: (ctx: LogicalBinaryContext) => void;
2171
+ enterQueryColumn?: (ctx: QueryColumnContext) => void;
1873
2172
  /**
1874
- * Exit a parse tree produced by the `logicalBinary`
1875
- * labeled alternative in `TrinoSqlParser.booleanExpression`.
2173
+ * Exit a parse tree produced by the `queryColumn`
2174
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1876
2175
  * @param ctx the parse tree
1877
2176
  */
1878
- exitLogicalBinary?: (ctx: LogicalBinaryContext) => void;
2177
+ exitQueryColumn?: (ctx: QueryColumnContext) => void;
1879
2178
  /**
1880
- * Enter a parse tree produced by the `comparison`
1881
- * labeled alternative in `TrinoSqlParser.predicate`.
2179
+ * Enter a parse tree produced by the `nestedColumns`
2180
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1882
2181
  * @param ctx the parse tree
1883
2182
  */
1884
- enterComparison?: (ctx: ComparisonContext) => void;
2183
+ enterNestedColumns?: (ctx: NestedColumnsContext) => void;
1885
2184
  /**
1886
- * Exit a parse tree produced by the `comparison`
1887
- * labeled alternative in `TrinoSqlParser.predicate`.
2185
+ * Exit a parse tree produced by the `nestedColumns`
2186
+ * labeled alternative in `TrinoSqlParser.jsonTableColumn`.
1888
2187
  * @param ctx the parse tree
1889
2188
  */
1890
- exitComparison?: (ctx: ComparisonContext) => void;
2189
+ exitNestedColumns?: (ctx: NestedColumnsContext) => void;
1891
2190
  /**
1892
- * Enter a parse tree produced by the `quantifiedComparison`
1893
- * labeled alternative in `TrinoSqlParser.predicate`.
2191
+ * Enter a parse tree produced by the `leafPlan`
2192
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1894
2193
  * @param ctx the parse tree
1895
2194
  */
1896
- enterQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void;
2195
+ enterLeafPlan?: (ctx: LeafPlanContext) => void;
1897
2196
  /**
1898
- * Exit a parse tree produced by the `quantifiedComparison`
1899
- * labeled alternative in `TrinoSqlParser.predicate`.
2197
+ * Exit a parse tree produced by the `leafPlan`
2198
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1900
2199
  * @param ctx the parse tree
1901
2200
  */
1902
- exitQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void;
2201
+ exitLeafPlan?: (ctx: LeafPlanContext) => void;
1903
2202
  /**
1904
- * Enter a parse tree produced by the `between`
1905
- * labeled alternative in `TrinoSqlParser.predicate`.
2203
+ * Enter a parse tree produced by the `joinPlan`
2204
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1906
2205
  * @param ctx the parse tree
1907
2206
  */
1908
- enterBetween?: (ctx: BetweenContext) => void;
2207
+ enterJoinPlan?: (ctx: JoinPlanContext) => void;
1909
2208
  /**
1910
- * Exit a parse tree produced by the `between`
1911
- * labeled alternative in `TrinoSqlParser.predicate`.
2209
+ * Exit a parse tree produced by the `joinPlan`
2210
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1912
2211
  * @param ctx the parse tree
1913
2212
  */
1914
- exitBetween?: (ctx: BetweenContext) => void;
2213
+ exitJoinPlan?: (ctx: JoinPlanContext) => void;
1915
2214
  /**
1916
- * Enter a parse tree produced by the `inList`
1917
- * labeled alternative in `TrinoSqlParser.predicate`.
2215
+ * Enter a parse tree produced by the `unionPlan`
2216
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1918
2217
  * @param ctx the parse tree
1919
2218
  */
1920
- enterInList?: (ctx: InListContext) => void;
2219
+ enterUnionPlan?: (ctx: UnionPlanContext) => void;
1921
2220
  /**
1922
- * Exit a parse tree produced by the `inList`
1923
- * labeled alternative in `TrinoSqlParser.predicate`.
2221
+ * Exit a parse tree produced by the `unionPlan`
2222
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1924
2223
  * @param ctx the parse tree
1925
2224
  */
1926
- exitInList?: (ctx: InListContext) => void;
2225
+ exitUnionPlan?: (ctx: UnionPlanContext) => void;
1927
2226
  /**
1928
- * Enter a parse tree produced by the `inSubquery`
1929
- * labeled alternative in `TrinoSqlParser.predicate`.
2227
+ * Enter a parse tree produced by the `crossPlan`
2228
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1930
2229
  * @param ctx the parse tree
1931
2230
  */
1932
- enterInSubquery?: (ctx: InSubqueryContext) => void;
2231
+ enterCrossPlan?: (ctx: CrossPlanContext) => void;
1933
2232
  /**
1934
- * Exit a parse tree produced by the `inSubquery`
1935
- * labeled alternative in `TrinoSqlParser.predicate`.
2233
+ * Exit a parse tree produced by the `crossPlan`
2234
+ * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`.
1936
2235
  * @param ctx the parse tree
1937
2236
  */
1938
- exitInSubquery?: (ctx: InSubqueryContext) => void;
2237
+ exitCrossPlan?: (ctx: CrossPlanContext) => void;
1939
2238
  /**
1940
- * Enter a parse tree produced by the `like`
1941
- * labeled alternative in `TrinoSqlParser.predicate`.
2239
+ * Enter a parse tree produced by `TrinoSqlParser.jsonTablePathName`.
1942
2240
  * @param ctx the parse tree
1943
2241
  */
1944
- enterLike?: (ctx: LikeContext) => void;
2242
+ enterJsonTablePathName?: (ctx: JsonTablePathNameContext) => void;
1945
2243
  /**
1946
- * Exit a parse tree produced by the `like`
1947
- * labeled alternative in `TrinoSqlParser.predicate`.
2244
+ * Exit a parse tree produced by `TrinoSqlParser.jsonTablePathName`.
1948
2245
  * @param ctx the parse tree
1949
2246
  */
1950
- exitLike?: (ctx: LikeContext) => void;
2247
+ exitJsonTablePathName?: (ctx: JsonTablePathNameContext) => void;
1951
2248
  /**
1952
- * Enter a parse tree produced by the `nullPredicate`
1953
- * labeled alternative in `TrinoSqlParser.predicate`.
2249
+ * Enter a parse tree produced by `TrinoSqlParser.planPrimary`.
1954
2250
  * @param ctx the parse tree
1955
2251
  */
1956
- enterNullPredicate?: (ctx: NullPredicateContext) => void;
2252
+ enterPlanPrimary?: (ctx: PlanPrimaryContext) => void;
1957
2253
  /**
1958
- * Exit a parse tree produced by the `nullPredicate`
2254
+ * Exit a parse tree produced by `TrinoSqlParser.planPrimary`.
2255
+ * @param ctx the parse tree
2256
+ */
2257
+ exitPlanPrimary?: (ctx: PlanPrimaryContext) => void;
2258
+ /**
2259
+ * Enter a parse tree produced by `TrinoSqlParser.jsonTableDefaultPlan`.
2260
+ * @param ctx the parse tree
2261
+ */
2262
+ enterJsonTableDefaultPlan?: (ctx: JsonTableDefaultPlanContext) => void;
2263
+ /**
2264
+ * Exit a parse tree produced by `TrinoSqlParser.jsonTableDefaultPlan`.
2265
+ * @param ctx the parse tree
2266
+ */
2267
+ exitJsonTableDefaultPlan?: (ctx: JsonTableDefaultPlanContext) => void;
2268
+ /**
2269
+ * Enter a parse tree produced by `TrinoSqlParser.tableFunctionCall`.
2270
+ * @param ctx the parse tree
2271
+ */
2272
+ enterTableFunctionCall?: (ctx: TableFunctionCallContext) => void;
2273
+ /**
2274
+ * Exit a parse tree produced by `TrinoSqlParser.tableFunctionCall`.
2275
+ * @param ctx the parse tree
2276
+ */
2277
+ exitTableFunctionCall?: (ctx: TableFunctionCallContext) => void;
2278
+ /**
2279
+ * Enter a parse tree produced by `TrinoSqlParser.tableFunctionArgument`.
2280
+ * @param ctx the parse tree
2281
+ */
2282
+ enterTableFunctionArgument?: (ctx: TableFunctionArgumentContext) => void;
2283
+ /**
2284
+ * Exit a parse tree produced by `TrinoSqlParser.tableFunctionArgument`.
2285
+ * @param ctx the parse tree
2286
+ */
2287
+ exitTableFunctionArgument?: (ctx: TableFunctionArgumentContext) => void;
2288
+ /**
2289
+ * Enter a parse tree produced by `TrinoSqlParser.tableArgument`.
2290
+ * @param ctx the parse tree
2291
+ */
2292
+ enterTableArgument?: (ctx: TableArgumentContext) => void;
2293
+ /**
2294
+ * Exit a parse tree produced by `TrinoSqlParser.tableArgument`.
2295
+ * @param ctx the parse tree
2296
+ */
2297
+ exitTableArgument?: (ctx: TableArgumentContext) => void;
2298
+ /**
2299
+ * Enter a parse tree produced by the `tableArgumentTable`
2300
+ * labeled alternative in `TrinoSqlParser.tableArgumentRelation`.
2301
+ * @param ctx the parse tree
2302
+ */
2303
+ enterTableArgumentTable?: (ctx: TableArgumentTableContext) => void;
2304
+ /**
2305
+ * Exit a parse tree produced by the `tableArgumentTable`
2306
+ * labeled alternative in `TrinoSqlParser.tableArgumentRelation`.
2307
+ * @param ctx the parse tree
2308
+ */
2309
+ exitTableArgumentTable?: (ctx: TableArgumentTableContext) => void;
2310
+ /**
2311
+ * Enter a parse tree produced by the `tableArgumentQuery`
2312
+ * labeled alternative in `TrinoSqlParser.tableArgumentRelation`.
2313
+ * @param ctx the parse tree
2314
+ */
2315
+ enterTableArgumentQuery?: (ctx: TableArgumentQueryContext) => void;
2316
+ /**
2317
+ * Exit a parse tree produced by the `tableArgumentQuery`
2318
+ * labeled alternative in `TrinoSqlParser.tableArgumentRelation`.
2319
+ * @param ctx the parse tree
2320
+ */
2321
+ exitTableArgumentQuery?: (ctx: TableArgumentQueryContext) => void;
2322
+ /**
2323
+ * Enter a parse tree produced by `TrinoSqlParser.descriptorArgument`.
2324
+ * @param ctx the parse tree
2325
+ */
2326
+ enterDescriptorArgument?: (ctx: DescriptorArgumentContext) => void;
2327
+ /**
2328
+ * Exit a parse tree produced by `TrinoSqlParser.descriptorArgument`.
2329
+ * @param ctx the parse tree
2330
+ */
2331
+ exitDescriptorArgument?: (ctx: DescriptorArgumentContext) => void;
2332
+ /**
2333
+ * Enter a parse tree produced by `TrinoSqlParser.descriptorField`.
2334
+ * @param ctx the parse tree
2335
+ */
2336
+ enterDescriptorField?: (ctx: DescriptorFieldContext) => void;
2337
+ /**
2338
+ * Exit a parse tree produced by `TrinoSqlParser.descriptorField`.
2339
+ * @param ctx the parse tree
2340
+ */
2341
+ exitDescriptorField?: (ctx: DescriptorFieldContext) => void;
2342
+ /**
2343
+ * Enter a parse tree produced by `TrinoSqlParser.copartitionTables`.
2344
+ * @param ctx the parse tree
2345
+ */
2346
+ enterCopartitionTables?: (ctx: CopartitionTablesContext) => void;
2347
+ /**
2348
+ * Exit a parse tree produced by `TrinoSqlParser.copartitionTables`.
2349
+ * @param ctx the parse tree
2350
+ */
2351
+ exitCopartitionTables?: (ctx: CopartitionTablesContext) => void;
2352
+ /**
2353
+ * Enter a parse tree produced by `TrinoSqlParser.expression`.
2354
+ * @param ctx the parse tree
2355
+ */
2356
+ enterExpression?: (ctx: ExpressionContext) => void;
2357
+ /**
2358
+ * Exit a parse tree produced by `TrinoSqlParser.expression`.
2359
+ * @param ctx the parse tree
2360
+ */
2361
+ exitExpression?: (ctx: ExpressionContext) => void;
2362
+ /**
2363
+ * Enter a parse tree produced by the `logicalNot`
2364
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2365
+ * @param ctx the parse tree
2366
+ */
2367
+ enterLogicalNot?: (ctx: LogicalNotContext) => void;
2368
+ /**
2369
+ * Exit a parse tree produced by the `logicalNot`
2370
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2371
+ * @param ctx the parse tree
2372
+ */
2373
+ exitLogicalNot?: (ctx: LogicalNotContext) => void;
2374
+ /**
2375
+ * Enter a parse tree produced by the `predicated`
2376
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2377
+ * @param ctx the parse tree
2378
+ */
2379
+ enterPredicated?: (ctx: PredicatedContext) => void;
2380
+ /**
2381
+ * Exit a parse tree produced by the `predicated`
2382
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2383
+ * @param ctx the parse tree
2384
+ */
2385
+ exitPredicated?: (ctx: PredicatedContext) => void;
2386
+ /**
2387
+ * Enter a parse tree produced by the `or`
2388
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2389
+ * @param ctx the parse tree
2390
+ */
2391
+ enterOr?: (ctx: OrContext) => void;
2392
+ /**
2393
+ * Exit a parse tree produced by the `or`
2394
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2395
+ * @param ctx the parse tree
2396
+ */
2397
+ exitOr?: (ctx: OrContext) => void;
2398
+ /**
2399
+ * Enter a parse tree produced by the `and`
2400
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2401
+ * @param ctx the parse tree
2402
+ */
2403
+ enterAnd?: (ctx: AndContext) => void;
2404
+ /**
2405
+ * Exit a parse tree produced by the `and`
2406
+ * labeled alternative in `TrinoSqlParser.booleanExpression`.
2407
+ * @param ctx the parse tree
2408
+ */
2409
+ exitAnd?: (ctx: AndContext) => void;
2410
+ /**
2411
+ * Enter a parse tree produced by the `comparison`
2412
+ * labeled alternative in `TrinoSqlParser.predicate`.
2413
+ * @param ctx the parse tree
2414
+ */
2415
+ enterComparison?: (ctx: ComparisonContext) => void;
2416
+ /**
2417
+ * Exit a parse tree produced by the `comparison`
2418
+ * labeled alternative in `TrinoSqlParser.predicate`.
2419
+ * @param ctx the parse tree
2420
+ */
2421
+ exitComparison?: (ctx: ComparisonContext) => void;
2422
+ /**
2423
+ * Enter a parse tree produced by the `quantifiedComparison`
2424
+ * labeled alternative in `TrinoSqlParser.predicate`.
2425
+ * @param ctx the parse tree
2426
+ */
2427
+ enterQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void;
2428
+ /**
2429
+ * Exit a parse tree produced by the `quantifiedComparison`
2430
+ * labeled alternative in `TrinoSqlParser.predicate`.
2431
+ * @param ctx the parse tree
2432
+ */
2433
+ exitQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void;
2434
+ /**
2435
+ * Enter a parse tree produced by the `between`
2436
+ * labeled alternative in `TrinoSqlParser.predicate`.
2437
+ * @param ctx the parse tree
2438
+ */
2439
+ enterBetween?: (ctx: BetweenContext) => void;
2440
+ /**
2441
+ * Exit a parse tree produced by the `between`
2442
+ * labeled alternative in `TrinoSqlParser.predicate`.
2443
+ * @param ctx the parse tree
2444
+ */
2445
+ exitBetween?: (ctx: BetweenContext) => void;
2446
+ /**
2447
+ * Enter a parse tree produced by the `inList`
2448
+ * labeled alternative in `TrinoSqlParser.predicate`.
2449
+ * @param ctx the parse tree
2450
+ */
2451
+ enterInList?: (ctx: InListContext) => void;
2452
+ /**
2453
+ * Exit a parse tree produced by the `inList`
2454
+ * labeled alternative in `TrinoSqlParser.predicate`.
2455
+ * @param ctx the parse tree
2456
+ */
2457
+ exitInList?: (ctx: InListContext) => void;
2458
+ /**
2459
+ * Enter a parse tree produced by the `inSubquery`
2460
+ * labeled alternative in `TrinoSqlParser.predicate`.
2461
+ * @param ctx the parse tree
2462
+ */
2463
+ enterInSubquery?: (ctx: InSubqueryContext) => void;
2464
+ /**
2465
+ * Exit a parse tree produced by the `inSubquery`
2466
+ * labeled alternative in `TrinoSqlParser.predicate`.
2467
+ * @param ctx the parse tree
2468
+ */
2469
+ exitInSubquery?: (ctx: InSubqueryContext) => void;
2470
+ /**
2471
+ * Enter a parse tree produced by the `like`
2472
+ * labeled alternative in `TrinoSqlParser.predicate`.
2473
+ * @param ctx the parse tree
2474
+ */
2475
+ enterLike?: (ctx: LikeContext) => void;
2476
+ /**
2477
+ * Exit a parse tree produced by the `like`
2478
+ * labeled alternative in `TrinoSqlParser.predicate`.
2479
+ * @param ctx the parse tree
2480
+ */
2481
+ exitLike?: (ctx: LikeContext) => void;
2482
+ /**
2483
+ * Enter a parse tree produced by the `nullPredicate`
2484
+ * labeled alternative in `TrinoSqlParser.predicate`.
2485
+ * @param ctx the parse tree
2486
+ */
2487
+ enterNullPredicate?: (ctx: NullPredicateContext) => void;
2488
+ /**
2489
+ * Exit a parse tree produced by the `nullPredicate`
1959
2490
  * labeled alternative in `TrinoSqlParser.predicate`.
1960
2491
  * @param ctx the parse tree
1961
2492
  */
@@ -2057,17 +2588,29 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2057
2588
  */
2058
2589
  exitTypeConstructor?: (ctx: TypeConstructorContext) => void;
2059
2590
  /**
2060
- * Enter a parse tree produced by the `specialDateTimeFunction`
2591
+ * Enter a parse tree produced by the `jsonValue`
2592
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2593
+ * @param ctx the parse tree
2594
+ */
2595
+ enterJsonValue?: (ctx: JsonValueContext) => void;
2596
+ /**
2597
+ * Exit a parse tree produced by the `jsonValue`
2061
2598
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
2062
2599
  * @param ctx the parse tree
2063
2600
  */
2064
- enterSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => void;
2601
+ exitJsonValue?: (ctx: JsonValueContext) => void;
2065
2602
  /**
2066
- * Exit a parse tree produced by the `specialDateTimeFunction`
2603
+ * Enter a parse tree produced by the `currentDate`
2067
2604
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
2068
2605
  * @param ctx the parse tree
2069
2606
  */
2070
- exitSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => void;
2607
+ enterCurrentDate?: (ctx: CurrentDateContext) => void;
2608
+ /**
2609
+ * Exit a parse tree produced by the `currentDate`
2610
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2611
+ * @param ctx the parse tree
2612
+ */
2613
+ exitCurrentDate?: (ctx: CurrentDateContext) => void;
2071
2614
  /**
2072
2615
  * Enter a parse tree produced by the `substring`
2073
2616
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2116,6 +2659,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2116
2659
  * @param ctx the parse tree
2117
2660
  */
2118
2661
  exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
2662
+ /**
2663
+ * Enter a parse tree produced by the `trim`
2664
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2665
+ * @param ctx the parse tree
2666
+ */
2667
+ enterTrim?: (ctx: TrimContext) => void;
2668
+ /**
2669
+ * Exit a parse tree produced by the `trim`
2670
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2671
+ * @param ctx the parse tree
2672
+ */
2673
+ exitTrim?: (ctx: TrimContext) => void;
2119
2674
  /**
2120
2675
  * Enter a parse tree produced by the `parameter`
2121
2676
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2140,6 +2695,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2140
2695
  * @param ctx the parse tree
2141
2696
  */
2142
2697
  exitNormalize?: (ctx: NormalizeContext) => void;
2698
+ /**
2699
+ * Enter a parse tree produced by the `localTimestamp`
2700
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2701
+ * @param ctx the parse tree
2702
+ */
2703
+ enterLocalTimestamp?: (ctx: LocalTimestampContext) => void;
2704
+ /**
2705
+ * Exit a parse tree produced by the `localTimestamp`
2706
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2707
+ * @param ctx the parse tree
2708
+ */
2709
+ exitLocalTimestamp?: (ctx: LocalTimestampContext) => void;
2710
+ /**
2711
+ * Enter a parse tree produced by the `jsonObject`
2712
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2713
+ * @param ctx the parse tree
2714
+ */
2715
+ enterJsonObject?: (ctx: JsonObjectContext) => void;
2716
+ /**
2717
+ * Exit a parse tree produced by the `jsonObject`
2718
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2719
+ * @param ctx the parse tree
2720
+ */
2721
+ exitJsonObject?: (ctx: JsonObjectContext) => void;
2143
2722
  /**
2144
2723
  * Enter a parse tree produced by the `intervalLiteral`
2145
2724
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2176,6 +2755,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2176
2755
  * @param ctx the parse tree
2177
2756
  */
2178
2757
  exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
2758
+ /**
2759
+ * Enter a parse tree produced by the `jsonArray`
2760
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2761
+ * @param ctx the parse tree
2762
+ */
2763
+ enterJsonArray?: (ctx: JsonArrayContext) => void;
2764
+ /**
2765
+ * Exit a parse tree produced by the `jsonArray`
2766
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2767
+ * @param ctx the parse tree
2768
+ */
2769
+ exitJsonArray?: (ctx: JsonArrayContext) => void;
2179
2770
  /**
2180
2771
  * Enter a parse tree produced by the `simpleCase`
2181
2772
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2236,6 +2827,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2236
2827
  * @param ctx the parse tree
2237
2828
  */
2238
2829
  exitSubscript?: (ctx: SubscriptContext) => void;
2830
+ /**
2831
+ * Enter a parse tree produced by the `jsonExists`
2832
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2833
+ * @param ctx the parse tree
2834
+ */
2835
+ enterJsonExists?: (ctx: JsonExistsContext) => void;
2836
+ /**
2837
+ * Exit a parse tree produced by the `jsonExists`
2838
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2839
+ * @param ctx the parse tree
2840
+ */
2841
+ exitJsonExists?: (ctx: JsonExistsContext) => void;
2239
2842
  /**
2240
2843
  * Enter a parse tree produced by the `currentPath`
2241
2844
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2272,6 +2875,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2272
2875
  * @param ctx the parse tree
2273
2876
  */
2274
2877
  exitBinaryLiteral?: (ctx: BinaryLiteralContext) => void;
2878
+ /**
2879
+ * Enter a parse tree produced by the `currentTime`
2880
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2881
+ * @param ctx the parse tree
2882
+ */
2883
+ enterCurrentTime?: (ctx: CurrentTimeContext) => void;
2884
+ /**
2885
+ * Exit a parse tree produced by the `currentTime`
2886
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2887
+ * @param ctx the parse tree
2888
+ */
2889
+ exitCurrentTime?: (ctx: CurrentTimeContext) => void;
2890
+ /**
2891
+ * Enter a parse tree produced by the `localTime`
2892
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2893
+ * @param ctx the parse tree
2894
+ */
2895
+ enterLocalTime?: (ctx: LocalTimeContext) => void;
2896
+ /**
2897
+ * Exit a parse tree produced by the `localTime`
2898
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2899
+ * @param ctx the parse tree
2900
+ */
2901
+ exitLocalTime?: (ctx: LocalTimeContext) => void;
2275
2902
  /**
2276
2903
  * Enter a parse tree produced by the `currentUser`
2277
2904
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2284,6 +2911,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2284
2911
  * @param ctx the parse tree
2285
2912
  */
2286
2913
  exitCurrentUser?: (ctx: CurrentUserContext) => void;
2914
+ /**
2915
+ * Enter a parse tree produced by the `jsonQuery`
2916
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2917
+ * @param ctx the parse tree
2918
+ */
2919
+ enterJsonQuery?: (ctx: JsonQueryContext) => void;
2920
+ /**
2921
+ * Exit a parse tree produced by the `jsonQuery`
2922
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2923
+ * @param ctx the parse tree
2924
+ */
2925
+ exitJsonQuery?: (ctx: JsonQueryContext) => void;
2287
2926
  /**
2288
2927
  * Enter a parse tree produced by the `measure`
2289
2928
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2344,6 +2983,18 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2344
2983
  * @param ctx the parse tree
2345
2984
  */
2346
2985
  exitFunctionCall?: (ctx: FunctionCallContext) => void;
2986
+ /**
2987
+ * Enter a parse tree produced by the `currentTimestamp`
2988
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2989
+ * @param ctx the parse tree
2990
+ */
2991
+ enterCurrentTimestamp?: (ctx: CurrentTimestampContext) => void;
2992
+ /**
2993
+ * Exit a parse tree produced by the `currentTimestamp`
2994
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
2995
+ * @param ctx the parse tree
2996
+ */
2997
+ exitCurrentTimestamp?: (ctx: CurrentTimestampContext) => void;
2347
2998
  /**
2348
2999
  * Enter a parse tree produced by the `currentSchema`
2349
3000
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
@@ -2367,55 +3018,157 @@ export declare class TrinoSqlListener implements ParseTreeListener {
2367
3018
  * labeled alternative in `TrinoSqlParser.primaryExpression`.
2368
3019
  * @param ctx the parse tree
2369
3020
  */
2370
- exitExists?: (ctx: ExistsContext) => void;
3021
+ exitExists?: (ctx: ExistsContext) => void;
3022
+ /**
3023
+ * Enter a parse tree produced by the `position`
3024
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3025
+ * @param ctx the parse tree
3026
+ */
3027
+ enterPosition?: (ctx: PositionContext) => void;
3028
+ /**
3029
+ * Exit a parse tree produced by the `position`
3030
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3031
+ * @param ctx the parse tree
3032
+ */
3033
+ exitPosition?: (ctx: PositionContext) => void;
3034
+ /**
3035
+ * Enter a parse tree produced by the `listagg`
3036
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3037
+ * @param ctx the parse tree
3038
+ */
3039
+ enterListagg?: (ctx: ListaggContext) => void;
3040
+ /**
3041
+ * Exit a parse tree produced by the `listagg`
3042
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3043
+ * @param ctx the parse tree
3044
+ */
3045
+ exitListagg?: (ctx: ListaggContext) => void;
3046
+ /**
3047
+ * Enter a parse tree produced by the `searchedCase`
3048
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3049
+ * @param ctx the parse tree
3050
+ */
3051
+ enterSearchedCase?: (ctx: SearchedCaseContext) => void;
3052
+ /**
3053
+ * Exit a parse tree produced by the `searchedCase`
3054
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3055
+ * @param ctx the parse tree
3056
+ */
3057
+ exitSearchedCase?: (ctx: SearchedCaseContext) => void;
3058
+ /**
3059
+ * Enter a parse tree produced by the `currentCatalog`
3060
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3061
+ * @param ctx the parse tree
3062
+ */
3063
+ enterCurrentCatalog?: (ctx: CurrentCatalogContext) => void;
3064
+ /**
3065
+ * Exit a parse tree produced by the `currentCatalog`
3066
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3067
+ * @param ctx the parse tree
3068
+ */
3069
+ exitCurrentCatalog?: (ctx: CurrentCatalogContext) => void;
3070
+ /**
3071
+ * Enter a parse tree produced by the `groupingOperation`
3072
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3073
+ * @param ctx the parse tree
3074
+ */
3075
+ enterGroupingOperation?: (ctx: GroupingOperationContext) => void;
3076
+ /**
3077
+ * Exit a parse tree produced by the `groupingOperation`
3078
+ * labeled alternative in `TrinoSqlParser.primaryExpression`.
3079
+ * @param ctx the parse tree
3080
+ */
3081
+ exitGroupingOperation?: (ctx: GroupingOperationContext) => void;
3082
+ /**
3083
+ * Enter a parse tree produced by `TrinoSqlParser.jsonPathInvocation`.
3084
+ * @param ctx the parse tree
3085
+ */
3086
+ enterJsonPathInvocation?: (ctx: JsonPathInvocationContext) => void;
3087
+ /**
3088
+ * Exit a parse tree produced by `TrinoSqlParser.jsonPathInvocation`.
3089
+ * @param ctx the parse tree
3090
+ */
3091
+ exitJsonPathInvocation?: (ctx: JsonPathInvocationContext) => void;
3092
+ /**
3093
+ * Enter a parse tree produced by `TrinoSqlParser.jsonValueExpression`.
3094
+ * @param ctx the parse tree
3095
+ */
3096
+ enterJsonValueExpression?: (ctx: JsonValueExpressionContext) => void;
3097
+ /**
3098
+ * Exit a parse tree produced by `TrinoSqlParser.jsonValueExpression`.
3099
+ * @param ctx the parse tree
3100
+ */
3101
+ exitJsonValueExpression?: (ctx: JsonValueExpressionContext) => void;
3102
+ /**
3103
+ * Enter a parse tree produced by `TrinoSqlParser.jsonRepresentation`.
3104
+ * @param ctx the parse tree
3105
+ */
3106
+ enterJsonRepresentation?: (ctx: JsonRepresentationContext) => void;
3107
+ /**
3108
+ * Exit a parse tree produced by `TrinoSqlParser.jsonRepresentation`.
3109
+ * @param ctx the parse tree
3110
+ */
3111
+ exitJsonRepresentation?: (ctx: JsonRepresentationContext) => void;
3112
+ /**
3113
+ * Enter a parse tree produced by `TrinoSqlParser.jsonArgument`.
3114
+ * @param ctx the parse tree
3115
+ */
3116
+ enterJsonArgument?: (ctx: JsonArgumentContext) => void;
3117
+ /**
3118
+ * Exit a parse tree produced by `TrinoSqlParser.jsonArgument`.
3119
+ * @param ctx the parse tree
3120
+ */
3121
+ exitJsonArgument?: (ctx: JsonArgumentContext) => void;
3122
+ /**
3123
+ * Enter a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`.
3124
+ * @param ctx the parse tree
3125
+ */
3126
+ enterJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void;
3127
+ /**
3128
+ * Exit a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`.
3129
+ * @param ctx the parse tree
3130
+ */
3131
+ exitJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void;
2371
3132
  /**
2372
- * Enter a parse tree produced by the `position`
2373
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3133
+ * Enter a parse tree produced by `TrinoSqlParser.jsonValueBehavior`.
2374
3134
  * @param ctx the parse tree
2375
3135
  */
2376
- enterPosition?: (ctx: PositionContext) => void;
3136
+ enterJsonValueBehavior?: (ctx: JsonValueBehaviorContext) => void;
2377
3137
  /**
2378
- * Exit a parse tree produced by the `position`
2379
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3138
+ * Exit a parse tree produced by `TrinoSqlParser.jsonValueBehavior`.
2380
3139
  * @param ctx the parse tree
2381
3140
  */
2382
- exitPosition?: (ctx: PositionContext) => void;
3141
+ exitJsonValueBehavior?: (ctx: JsonValueBehaviorContext) => void;
2383
3142
  /**
2384
- * Enter a parse tree produced by the `searchedCase`
2385
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3143
+ * Enter a parse tree produced by `TrinoSqlParser.jsonQueryWrapperBehavior`.
2386
3144
  * @param ctx the parse tree
2387
3145
  */
2388
- enterSearchedCase?: (ctx: SearchedCaseContext) => void;
3146
+ enterJsonQueryWrapperBehavior?: (ctx: JsonQueryWrapperBehaviorContext) => void;
2389
3147
  /**
2390
- * Exit a parse tree produced by the `searchedCase`
2391
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3148
+ * Exit a parse tree produced by `TrinoSqlParser.jsonQueryWrapperBehavior`.
2392
3149
  * @param ctx the parse tree
2393
3150
  */
2394
- exitSearchedCase?: (ctx: SearchedCaseContext) => void;
3151
+ exitJsonQueryWrapperBehavior?: (ctx: JsonQueryWrapperBehaviorContext) => void;
2395
3152
  /**
2396
- * Enter a parse tree produced by the `currentCatalog`
2397
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3153
+ * Enter a parse tree produced by `TrinoSqlParser.jsonQueryBehavior`.
2398
3154
  * @param ctx the parse tree
2399
3155
  */
2400
- enterCurrentCatalog?: (ctx: CurrentCatalogContext) => void;
3156
+ enterJsonQueryBehavior?: (ctx: JsonQueryBehaviorContext) => void;
2401
3157
  /**
2402
- * Exit a parse tree produced by the `currentCatalog`
2403
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3158
+ * Exit a parse tree produced by `TrinoSqlParser.jsonQueryBehavior`.
2404
3159
  * @param ctx the parse tree
2405
3160
  */
2406
- exitCurrentCatalog?: (ctx: CurrentCatalogContext) => void;
3161
+ exitJsonQueryBehavior?: (ctx: JsonQueryBehaviorContext) => void;
2407
3162
  /**
2408
- * Enter a parse tree produced by the `groupingOperation`
2409
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3163
+ * Enter a parse tree produced by `TrinoSqlParser.jsonObjectMember`.
2410
3164
  * @param ctx the parse tree
2411
3165
  */
2412
- enterGroupingOperation?: (ctx: GroupingOperationContext) => void;
3166
+ enterJsonObjectMember?: (ctx: JsonObjectMemberContext) => void;
2413
3167
  /**
2414
- * Exit a parse tree produced by the `groupingOperation`
2415
- * labeled alternative in `TrinoSqlParser.primaryExpression`.
3168
+ * Exit a parse tree produced by `TrinoSqlParser.jsonObjectMember`.
2416
3169
  * @param ctx the parse tree
2417
3170
  */
2418
- exitGroupingOperation?: (ctx: GroupingOperationContext) => void;
3171
+ exitJsonObjectMember?: (ctx: JsonObjectMemberContext) => void;
2419
3172
  /**
2420
3173
  * Enter a parse tree produced by `TrinoSqlParser.processingMode`.
2421
3174
  * @param ctx the parse tree
@@ -3114,6 +3867,310 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3114
3867
  * @param ctx the parse tree
3115
3868
  */
3116
3869
  exitPathSpecification?: (ctx: PathSpecificationContext) => void;
3870
+ /**
3871
+ * Enter a parse tree produced by `TrinoSqlParser.functionSpecification`.
3872
+ * @param ctx the parse tree
3873
+ */
3874
+ enterFunctionSpecification?: (ctx: FunctionSpecificationContext) => void;
3875
+ /**
3876
+ * Exit a parse tree produced by `TrinoSqlParser.functionSpecification`.
3877
+ * @param ctx the parse tree
3878
+ */
3879
+ exitFunctionSpecification?: (ctx: FunctionSpecificationContext) => void;
3880
+ /**
3881
+ * Enter a parse tree produced by `TrinoSqlParser.functionDeclaration`.
3882
+ * @param ctx the parse tree
3883
+ */
3884
+ enterFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void;
3885
+ /**
3886
+ * Exit a parse tree produced by `TrinoSqlParser.functionDeclaration`.
3887
+ * @param ctx the parse tree
3888
+ */
3889
+ exitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void;
3890
+ /**
3891
+ * Enter a parse tree produced by `TrinoSqlParser.functionSignature`.
3892
+ * @param ctx the parse tree
3893
+ */
3894
+ enterFunctionSignature?: (ctx: FunctionSignatureContext) => void;
3895
+ /**
3896
+ * Exit a parse tree produced by `TrinoSqlParser.functionSignature`.
3897
+ * @param ctx the parse tree
3898
+ */
3899
+ exitFunctionSignature?: (ctx: FunctionSignatureContext) => void;
3900
+ /**
3901
+ * Enter a parse tree produced by `TrinoSqlParser.parameterDeclaration`.
3902
+ * @param ctx the parse tree
3903
+ */
3904
+ enterParameterDeclaration?: (ctx: ParameterDeclarationContext) => void;
3905
+ /**
3906
+ * Exit a parse tree produced by `TrinoSqlParser.parameterDeclaration`.
3907
+ * @param ctx the parse tree
3908
+ */
3909
+ exitParameterDeclaration?: (ctx: ParameterDeclarationContext) => void;
3910
+ /**
3911
+ * Enter a parse tree produced by `TrinoSqlParser.returnsClause`.
3912
+ * @param ctx the parse tree
3913
+ */
3914
+ enterReturnsClause?: (ctx: ReturnsClauseContext) => void;
3915
+ /**
3916
+ * Exit a parse tree produced by `TrinoSqlParser.returnsClause`.
3917
+ * @param ctx the parse tree
3918
+ */
3919
+ exitReturnsClause?: (ctx: ReturnsClauseContext) => void;
3920
+ /**
3921
+ * Enter a parse tree produced by the `languageCharacteristic`
3922
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3923
+ * @param ctx the parse tree
3924
+ */
3925
+ enterLanguageCharacteristic?: (ctx: LanguageCharacteristicContext) => void;
3926
+ /**
3927
+ * Exit a parse tree produced by the `languageCharacteristic`
3928
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3929
+ * @param ctx the parse tree
3930
+ */
3931
+ exitLanguageCharacteristic?: (ctx: LanguageCharacteristicContext) => void;
3932
+ /**
3933
+ * Enter a parse tree produced by the `deterministicCharacteristic`
3934
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3935
+ * @param ctx the parse tree
3936
+ */
3937
+ enterDeterministicCharacteristic?: (ctx: DeterministicCharacteristicContext) => void;
3938
+ /**
3939
+ * Exit a parse tree produced by the `deterministicCharacteristic`
3940
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3941
+ * @param ctx the parse tree
3942
+ */
3943
+ exitDeterministicCharacteristic?: (ctx: DeterministicCharacteristicContext) => void;
3944
+ /**
3945
+ * Enter a parse tree produced by the `returnsNullOnNullInputCharacteristic`
3946
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3947
+ * @param ctx the parse tree
3948
+ */
3949
+ enterReturnsNullOnNullInputCharacteristic?: (ctx: ReturnsNullOnNullInputCharacteristicContext) => void;
3950
+ /**
3951
+ * Exit a parse tree produced by the `returnsNullOnNullInputCharacteristic`
3952
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3953
+ * @param ctx the parse tree
3954
+ */
3955
+ exitReturnsNullOnNullInputCharacteristic?: (ctx: ReturnsNullOnNullInputCharacteristicContext) => void;
3956
+ /**
3957
+ * Enter a parse tree produced by the `calledOnNullInputCharacteristic`
3958
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3959
+ * @param ctx the parse tree
3960
+ */
3961
+ enterCalledOnNullInputCharacteristic?: (ctx: CalledOnNullInputCharacteristicContext) => void;
3962
+ /**
3963
+ * Exit a parse tree produced by the `calledOnNullInputCharacteristic`
3964
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3965
+ * @param ctx the parse tree
3966
+ */
3967
+ exitCalledOnNullInputCharacteristic?: (ctx: CalledOnNullInputCharacteristicContext) => void;
3968
+ /**
3969
+ * Enter a parse tree produced by the `securityCharacteristic`
3970
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3971
+ * @param ctx the parse tree
3972
+ */
3973
+ enterSecurityCharacteristic?: (ctx: SecurityCharacteristicContext) => void;
3974
+ /**
3975
+ * Exit a parse tree produced by the `securityCharacteristic`
3976
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3977
+ * @param ctx the parse tree
3978
+ */
3979
+ exitSecurityCharacteristic?: (ctx: SecurityCharacteristicContext) => void;
3980
+ /**
3981
+ * Enter a parse tree produced by the `commentCharacteristic`
3982
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3983
+ * @param ctx the parse tree
3984
+ */
3985
+ enterCommentCharacteristic?: (ctx: CommentCharacteristicContext) => void;
3986
+ /**
3987
+ * Exit a parse tree produced by the `commentCharacteristic`
3988
+ * labeled alternative in `TrinoSqlParser.routineCharacteristic`.
3989
+ * @param ctx the parse tree
3990
+ */
3991
+ exitCommentCharacteristic?: (ctx: CommentCharacteristicContext) => void;
3992
+ /**
3993
+ * Enter a parse tree produced by the `returnStatement`
3994
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
3995
+ * @param ctx the parse tree
3996
+ */
3997
+ enterReturnStatement?: (ctx: ReturnStatementContext) => void;
3998
+ /**
3999
+ * Exit a parse tree produced by the `returnStatement`
4000
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4001
+ * @param ctx the parse tree
4002
+ */
4003
+ exitReturnStatement?: (ctx: ReturnStatementContext) => void;
4004
+ /**
4005
+ * Enter a parse tree produced by the `assignmentStatement`
4006
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4007
+ * @param ctx the parse tree
4008
+ */
4009
+ enterAssignmentStatement?: (ctx: AssignmentStatementContext) => void;
4010
+ /**
4011
+ * Exit a parse tree produced by the `assignmentStatement`
4012
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4013
+ * @param ctx the parse tree
4014
+ */
4015
+ exitAssignmentStatement?: (ctx: AssignmentStatementContext) => void;
4016
+ /**
4017
+ * Enter a parse tree produced by the `simpleCaseStatement`
4018
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4019
+ * @param ctx the parse tree
4020
+ */
4021
+ enterSimpleCaseStatement?: (ctx: SimpleCaseStatementContext) => void;
4022
+ /**
4023
+ * Exit a parse tree produced by the `simpleCaseStatement`
4024
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4025
+ * @param ctx the parse tree
4026
+ */
4027
+ exitSimpleCaseStatement?: (ctx: SimpleCaseStatementContext) => void;
4028
+ /**
4029
+ * Enter a parse tree produced by the `searchedCaseStatement`
4030
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4031
+ * @param ctx the parse tree
4032
+ */
4033
+ enterSearchedCaseStatement?: (ctx: SearchedCaseStatementContext) => void;
4034
+ /**
4035
+ * Exit a parse tree produced by the `searchedCaseStatement`
4036
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4037
+ * @param ctx the parse tree
4038
+ */
4039
+ exitSearchedCaseStatement?: (ctx: SearchedCaseStatementContext) => void;
4040
+ /**
4041
+ * Enter a parse tree produced by the `ifStatement`
4042
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4043
+ * @param ctx the parse tree
4044
+ */
4045
+ enterIfStatement?: (ctx: IfStatementContext) => void;
4046
+ /**
4047
+ * Exit a parse tree produced by the `ifStatement`
4048
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4049
+ * @param ctx the parse tree
4050
+ */
4051
+ exitIfStatement?: (ctx: IfStatementContext) => void;
4052
+ /**
4053
+ * Enter a parse tree produced by the `iterateStatement`
4054
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4055
+ * @param ctx the parse tree
4056
+ */
4057
+ enterIterateStatement?: (ctx: IterateStatementContext) => void;
4058
+ /**
4059
+ * Exit a parse tree produced by the `iterateStatement`
4060
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4061
+ * @param ctx the parse tree
4062
+ */
4063
+ exitIterateStatement?: (ctx: IterateStatementContext) => void;
4064
+ /**
4065
+ * Enter a parse tree produced by the `leaveStatement`
4066
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4067
+ * @param ctx the parse tree
4068
+ */
4069
+ enterLeaveStatement?: (ctx: LeaveStatementContext) => void;
4070
+ /**
4071
+ * Exit a parse tree produced by the `leaveStatement`
4072
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4073
+ * @param ctx the parse tree
4074
+ */
4075
+ exitLeaveStatement?: (ctx: LeaveStatementContext) => void;
4076
+ /**
4077
+ * Enter a parse tree produced by the `compoundStatement`
4078
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4079
+ * @param ctx the parse tree
4080
+ */
4081
+ enterCompoundStatement?: (ctx: CompoundStatementContext) => void;
4082
+ /**
4083
+ * Exit a parse tree produced by the `compoundStatement`
4084
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4085
+ * @param ctx the parse tree
4086
+ */
4087
+ exitCompoundStatement?: (ctx: CompoundStatementContext) => void;
4088
+ /**
4089
+ * Enter a parse tree produced by the `loopStatement`
4090
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4091
+ * @param ctx the parse tree
4092
+ */
4093
+ enterLoopStatement?: (ctx: LoopStatementContext) => void;
4094
+ /**
4095
+ * Exit a parse tree produced by the `loopStatement`
4096
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4097
+ * @param ctx the parse tree
4098
+ */
4099
+ exitLoopStatement?: (ctx: LoopStatementContext) => void;
4100
+ /**
4101
+ * Enter a parse tree produced by the `whileStatement`
4102
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4103
+ * @param ctx the parse tree
4104
+ */
4105
+ enterWhileStatement?: (ctx: WhileStatementContext) => void;
4106
+ /**
4107
+ * Exit a parse tree produced by the `whileStatement`
4108
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4109
+ * @param ctx the parse tree
4110
+ */
4111
+ exitWhileStatement?: (ctx: WhileStatementContext) => void;
4112
+ /**
4113
+ * Enter a parse tree produced by the `repeatStatement`
4114
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4115
+ * @param ctx the parse tree
4116
+ */
4117
+ enterRepeatStatement?: (ctx: RepeatStatementContext) => void;
4118
+ /**
4119
+ * Exit a parse tree produced by the `repeatStatement`
4120
+ * labeled alternative in `TrinoSqlParser.controlStatement`.
4121
+ * @param ctx the parse tree
4122
+ */
4123
+ exitRepeatStatement?: (ctx: RepeatStatementContext) => void;
4124
+ /**
4125
+ * Enter a parse tree produced by `TrinoSqlParser.caseStatementWhenClause`.
4126
+ * @param ctx the parse tree
4127
+ */
4128
+ enterCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => void;
4129
+ /**
4130
+ * Exit a parse tree produced by `TrinoSqlParser.caseStatementWhenClause`.
4131
+ * @param ctx the parse tree
4132
+ */
4133
+ exitCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => void;
4134
+ /**
4135
+ * Enter a parse tree produced by `TrinoSqlParser.elseIfClause`.
4136
+ * @param ctx the parse tree
4137
+ */
4138
+ enterElseIfClause?: (ctx: ElseIfClauseContext) => void;
4139
+ /**
4140
+ * Exit a parse tree produced by `TrinoSqlParser.elseIfClause`.
4141
+ * @param ctx the parse tree
4142
+ */
4143
+ exitElseIfClause?: (ctx: ElseIfClauseContext) => void;
4144
+ /**
4145
+ * Enter a parse tree produced by `TrinoSqlParser.elseClause`.
4146
+ * @param ctx the parse tree
4147
+ */
4148
+ enterElseClause?: (ctx: ElseClauseContext) => void;
4149
+ /**
4150
+ * Exit a parse tree produced by `TrinoSqlParser.elseClause`.
4151
+ * @param ctx the parse tree
4152
+ */
4153
+ exitElseClause?: (ctx: ElseClauseContext) => void;
4154
+ /**
4155
+ * Enter a parse tree produced by `TrinoSqlParser.variableDeclaration`.
4156
+ * @param ctx the parse tree
4157
+ */
4158
+ enterVariableDeclaration?: (ctx: VariableDeclarationContext) => void;
4159
+ /**
4160
+ * Exit a parse tree produced by `TrinoSqlParser.variableDeclaration`.
4161
+ * @param ctx the parse tree
4162
+ */
4163
+ exitVariableDeclaration?: (ctx: VariableDeclarationContext) => void;
4164
+ /**
4165
+ * Enter a parse tree produced by `TrinoSqlParser.sqlStatementList`.
4166
+ * @param ctx the parse tree
4167
+ */
4168
+ enterSqlStatementList?: (ctx: SqlStatementListContext) => void;
4169
+ /**
4170
+ * Exit a parse tree produced by `TrinoSqlParser.sqlStatementList`.
4171
+ * @param ctx the parse tree
4172
+ */
4173
+ exitSqlStatementList?: (ctx: SqlStatementListContext) => void;
3117
4174
  /**
3118
4175
  * Enter a parse tree produced by `TrinoSqlParser.privilege`.
3119
4176
  * @param ctx the parse tree
@@ -3125,85 +4182,85 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3125
4182
  */
3126
4183
  exitPrivilege?: (ctx: PrivilegeContext) => void;
3127
4184
  /**
3128
- * Enter a parse tree produced by `TrinoSqlParser.tableOrViewName`.
4185
+ * Enter a parse tree produced by `TrinoSqlParser.entityKind`.
3129
4186
  * @param ctx the parse tree
3130
4187
  */
3131
- enterTableOrViewName?: (ctx: TableOrViewNameContext) => void;
4188
+ enterEntityKind?: (ctx: EntityKindContext) => void;
3132
4189
  /**
3133
- * Exit a parse tree produced by `TrinoSqlParser.tableOrViewName`.
4190
+ * Exit a parse tree produced by `TrinoSqlParser.entityKind`.
3134
4191
  * @param ctx the parse tree
3135
4192
  */
3136
- exitTableOrViewName?: (ctx: TableOrViewNameContext) => void;
4193
+ exitEntityKind?: (ctx: EntityKindContext) => void;
3137
4194
  /**
3138
- * Enter a parse tree produced by `TrinoSqlParser.tableName`.
4195
+ * Enter a parse tree produced by `TrinoSqlParser.grantObject`.
3139
4196
  * @param ctx the parse tree
3140
4197
  */
3141
- enterTableName?: (ctx: TableNameContext) => void;
4198
+ enterGrantObject?: (ctx: GrantObjectContext) => void;
3142
4199
  /**
3143
- * Exit a parse tree produced by `TrinoSqlParser.tableName`.
4200
+ * Exit a parse tree produced by `TrinoSqlParser.grantObject`.
3144
4201
  * @param ctx the parse tree
3145
4202
  */
3146
- exitTableName?: (ctx: TableNameContext) => void;
4203
+ exitGrantObject?: (ctx: GrantObjectContext) => void;
3147
4204
  /**
3148
- * Enter a parse tree produced by `TrinoSqlParser.tableNameCreate`.
4205
+ * Enter a parse tree produced by `TrinoSqlParser.tableOrViewName`.
3149
4206
  * @param ctx the parse tree
3150
4207
  */
3151
- enterTableNameCreate?: (ctx: TableNameCreateContext) => void;
4208
+ enterTableOrViewName?: (ctx: TableOrViewNameContext) => void;
3152
4209
  /**
3153
- * Exit a parse tree produced by `TrinoSqlParser.tableNameCreate`.
4210
+ * Exit a parse tree produced by `TrinoSqlParser.tableOrViewName`.
3154
4211
  * @param ctx the parse tree
3155
4212
  */
3156
- exitTableNameCreate?: (ctx: TableNameCreateContext) => void;
4213
+ exitTableOrViewName?: (ctx: TableOrViewNameContext) => void;
3157
4214
  /**
3158
- * Enter a parse tree produced by `TrinoSqlParser.viewName`.
4215
+ * Enter a parse tree produced by `TrinoSqlParser.tableRef`.
3159
4216
  * @param ctx the parse tree
3160
4217
  */
3161
- enterViewName?: (ctx: ViewNameContext) => void;
4218
+ enterTableRef?: (ctx: TableRefContext) => void;
3162
4219
  /**
3163
- * Exit a parse tree produced by `TrinoSqlParser.viewName`.
4220
+ * Exit a parse tree produced by `TrinoSqlParser.tableRef`.
3164
4221
  * @param ctx the parse tree
3165
4222
  */
3166
- exitViewName?: (ctx: ViewNameContext) => void;
4223
+ exitTableRef?: (ctx: TableRefContext) => void;
3167
4224
  /**
3168
- * Enter a parse tree produced by `TrinoSqlParser.viewNameCreate`.
4225
+ * Enter a parse tree produced by `TrinoSqlParser.tableNameCreate`.
3169
4226
  * @param ctx the parse tree
3170
4227
  */
3171
- enterViewNameCreate?: (ctx: ViewNameCreateContext) => void;
4228
+ enterTableNameCreate?: (ctx: TableNameCreateContext) => void;
3172
4229
  /**
3173
- * Exit a parse tree produced by `TrinoSqlParser.viewNameCreate`.
4230
+ * Exit a parse tree produced by `TrinoSqlParser.tableNameCreate`.
3174
4231
  * @param ctx the parse tree
3175
4232
  */
3176
- exitViewNameCreate?: (ctx: ViewNameCreateContext) => void;
4233
+ exitTableNameCreate?: (ctx: TableNameCreateContext) => void;
3177
4234
  /**
3178
- * Enter a parse tree produced by `TrinoSqlParser.tablePath`.
4235
+ * Enter a parse tree produced by `TrinoSqlParser.viewRef`.
3179
4236
  * @param ctx the parse tree
3180
4237
  */
3181
- enterTablePath?: (ctx: TablePathContext) => void;
4238
+ enterViewRef?: (ctx: ViewRefContext) => void;
3182
4239
  /**
3183
- * Exit a parse tree produced by `TrinoSqlParser.tablePath`.
4240
+ * Exit a parse tree produced by `TrinoSqlParser.viewRef`.
3184
4241
  * @param ctx the parse tree
3185
4242
  */
3186
- exitTablePath?: (ctx: TablePathContext) => void;
4243
+ exitViewRef?: (ctx: ViewRefContext) => void;
3187
4244
  /**
3188
- * Enter a parse tree produced by `TrinoSqlParser.viewPath`.
4245
+ * Enter a parse tree produced by `TrinoSqlParser.viewNameCreate`.
3189
4246
  * @param ctx the parse tree
3190
4247
  */
3191
- enterViewPath?: (ctx: ViewPathContext) => void;
4248
+ enterViewNameCreate?: (ctx: ViewNameCreateContext) => void;
3192
4249
  /**
3193
- * Exit a parse tree produced by `TrinoSqlParser.viewPath`.
4250
+ * Exit a parse tree produced by `TrinoSqlParser.viewNameCreate`.
3194
4251
  * @param ctx the parse tree
3195
4252
  */
3196
- exitViewPath?: (ctx: ViewPathContext) => void;
4253
+ exitViewNameCreate?: (ctx: ViewNameCreateContext) => void;
3197
4254
  /**
3198
- * Enter a parse tree produced by `TrinoSqlParser.schemaName`.
4255
+ * Enter a parse tree produced by `TrinoSqlParser.schemaRef`.
3199
4256
  * @param ctx the parse tree
3200
4257
  */
3201
- enterSchemaName?: (ctx: SchemaNameContext) => void;
4258
+ enterSchemaRef?: (ctx: SchemaRefContext) => void;
3202
4259
  /**
3203
- * Exit a parse tree produced by `TrinoSqlParser.schemaName`.
4260
+ * Exit a parse tree produced by `TrinoSqlParser.schemaRef`.
3204
4261
  * @param ctx the parse tree
3205
4262
  */
3206
- exitSchemaName?: (ctx: SchemaNameContext) => void;
4263
+ exitSchemaRef?: (ctx: SchemaRefContext) => void;
3207
4264
  /**
3208
4265
  * Enter a parse tree produced by `TrinoSqlParser.schemaNameCreate`.
3209
4266
  * @param ctx the parse tree
@@ -3215,25 +4272,15 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3215
4272
  */
3216
4273
  exitSchemaNameCreate?: (ctx: SchemaNameCreateContext) => void;
3217
4274
  /**
3218
- * Enter a parse tree produced by `TrinoSqlParser.schemaPath`.
3219
- * @param ctx the parse tree
3220
- */
3221
- enterSchemaPath?: (ctx: SchemaPathContext) => void;
3222
- /**
3223
- * Exit a parse tree produced by `TrinoSqlParser.schemaPath`.
3224
- * @param ctx the parse tree
3225
- */
3226
- exitSchemaPath?: (ctx: SchemaPathContext) => void;
3227
- /**
3228
- * Enter a parse tree produced by `TrinoSqlParser.catalogName`.
4275
+ * Enter a parse tree produced by `TrinoSqlParser.catalogRef`.
3229
4276
  * @param ctx the parse tree
3230
4277
  */
3231
- enterCatalogName?: (ctx: CatalogNameContext) => void;
4278
+ enterCatalogRef?: (ctx: CatalogRefContext) => void;
3232
4279
  /**
3233
- * Exit a parse tree produced by `TrinoSqlParser.catalogName`.
4280
+ * Exit a parse tree produced by `TrinoSqlParser.catalogRef`.
3234
4281
  * @param ctx the parse tree
3235
4282
  */
3236
- exitCatalogName?: (ctx: CatalogNameContext) => void;
4283
+ exitCatalogRef?: (ctx: CatalogRefContext) => void;
3237
4284
  /**
3238
4285
  * Enter a parse tree produced by `TrinoSqlParser.catalogNameCreate`.
3239
4286
  * @param ctx the parse tree
@@ -3255,15 +4302,25 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3255
4302
  */
3256
4303
  exitFunctionName?: (ctx: FunctionNameContext) => void;
3257
4304
  /**
3258
- * Enter a parse tree produced by `TrinoSqlParser.columnName`.
4305
+ * Enter a parse tree produced by `TrinoSqlParser.functionNameCreate`.
4306
+ * @param ctx the parse tree
4307
+ */
4308
+ enterFunctionNameCreate?: (ctx: FunctionNameCreateContext) => void;
4309
+ /**
4310
+ * Exit a parse tree produced by `TrinoSqlParser.functionNameCreate`.
4311
+ * @param ctx the parse tree
4312
+ */
4313
+ exitFunctionNameCreate?: (ctx: FunctionNameCreateContext) => void;
4314
+ /**
4315
+ * Enter a parse tree produced by `TrinoSqlParser.columnRef`.
3259
4316
  * @param ctx the parse tree
3260
4317
  */
3261
- enterColumnName?: (ctx: ColumnNameContext) => void;
4318
+ enterColumnRef?: (ctx: ColumnRefContext) => void;
3262
4319
  /**
3263
- * Exit a parse tree produced by `TrinoSqlParser.columnName`.
4320
+ * Exit a parse tree produced by `TrinoSqlParser.columnRef`.
3264
4321
  * @param ctx the parse tree
3265
4322
  */
3266
- exitColumnName?: (ctx: ColumnNameContext) => void;
4323
+ exitColumnRef?: (ctx: ColumnRefContext) => void;
3267
4324
  /**
3268
4325
  * Enter a parse tree produced by `TrinoSqlParser.columnNameCreate`.
3269
4326
  * @param ctx the parse tree
@@ -3284,6 +4341,26 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3284
4341
  * @param ctx the parse tree
3285
4342
  */
3286
4343
  exitQualifiedName?: (ctx: QualifiedNameContext) => void;
4344
+ /**
4345
+ * Enter a parse tree produced by `TrinoSqlParser.queryPeriod`.
4346
+ * @param ctx the parse tree
4347
+ */
4348
+ enterQueryPeriod?: (ctx: QueryPeriodContext) => void;
4349
+ /**
4350
+ * Exit a parse tree produced by `TrinoSqlParser.queryPeriod`.
4351
+ * @param ctx the parse tree
4352
+ */
4353
+ exitQueryPeriod?: (ctx: QueryPeriodContext) => void;
4354
+ /**
4355
+ * Enter a parse tree produced by `TrinoSqlParser.rangeType`.
4356
+ * @param ctx the parse tree
4357
+ */
4358
+ enterRangeType?: (ctx: RangeTypeContext) => void;
4359
+ /**
4360
+ * Exit a parse tree produced by `TrinoSqlParser.rangeType`.
4361
+ * @param ctx the parse tree
4362
+ */
4363
+ exitRangeType?: (ctx: RangeTypeContext) => void;
3287
4364
  /**
3288
4365
  * Enter a parse tree produced by the `specifiedPrincipal`
3289
4366
  * labeled alternative in `TrinoSqlParser.grantor`.
@@ -3366,6 +4443,16 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3366
4443
  * @param ctx the parse tree
3367
4444
  */
3368
4445
  exitRoles?: (ctx: RolesContext) => void;
4446
+ /**
4447
+ * Enter a parse tree produced by `TrinoSqlParser.privilegeOrRole`.
4448
+ * @param ctx the parse tree
4449
+ */
4450
+ enterPrivilegeOrRole?: (ctx: PrivilegeOrRoleContext) => void;
4451
+ /**
4452
+ * Exit a parse tree produced by `TrinoSqlParser.privilegeOrRole`.
4453
+ * @param ctx the parse tree
4454
+ */
4455
+ exitPrivilegeOrRole?: (ctx: PrivilegeOrRoleContext) => void;
3369
4456
  /**
3370
4457
  * Enter a parse tree produced by the `unquotedIdentifier`
3371
4458
  * labeled alternative in `TrinoSqlParser.identifier`.
@@ -3450,6 +4537,30 @@ export declare class TrinoSqlListener implements ParseTreeListener {
3450
4537
  * @param ctx the parse tree
3451
4538
  */
3452
4539
  exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
4540
+ /**
4541
+ * Enter a parse tree produced by the `identifierUser`
4542
+ * labeled alternative in `TrinoSqlParser.authorizationUser`.
4543
+ * @param ctx the parse tree
4544
+ */
4545
+ enterIdentifierUser?: (ctx: IdentifierUserContext) => void;
4546
+ /**
4547
+ * Exit a parse tree produced by the `identifierUser`
4548
+ * labeled alternative in `TrinoSqlParser.authorizationUser`.
4549
+ * @param ctx the parse tree
4550
+ */
4551
+ exitIdentifierUser?: (ctx: IdentifierUserContext) => void;
4552
+ /**
4553
+ * Enter a parse tree produced by the `stringUser`
4554
+ * labeled alternative in `TrinoSqlParser.authorizationUser`.
4555
+ * @param ctx the parse tree
4556
+ */
4557
+ enterStringUser?: (ctx: StringUserContext) => void;
4558
+ /**
4559
+ * Exit a parse tree produced by the `stringUser`
4560
+ * labeled alternative in `TrinoSqlParser.authorizationUser`.
4561
+ * @param ctx the parse tree
4562
+ */
4563
+ exitStringUser?: (ctx: StringUserContext) => void;
3453
4564
  /**
3454
4565
  * Enter a parse tree produced by `TrinoSqlParser.nonReserved`.
3455
4566
  * @param ctx the parse tree