dt-sql-parser 4.0.0-beta.4.3 → 4.0.0-beta.4.4
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.
- package/LICENSE +21 -0
- package/README.md +9 -9
- package/dist/lib/trinosql/TrinoSqlLexer.d.ts +232 -232
- package/dist/lib/trinosql/TrinoSqlLexer.js +328 -312
- package/dist/lib/trinosql/TrinoSqlLexer.js.map +1 -1
- package/dist/lib/trinosql/TrinoSqlListener.d.ts +1066 -923
- package/dist/lib/trinosql/TrinoSqlListener.js +1 -1
- package/dist/lib/trinosql/TrinoSqlListener.js.map +1 -1
- package/dist/lib/trinosql/TrinoSqlParser.d.ts +1218 -1084
- package/dist/lib/trinosql/TrinoSqlParser.js +10856 -9918
- package/dist/lib/trinosql/TrinoSqlParser.js.map +1 -1
- package/dist/lib/trinosql/TrinoSqlVisitor.d.ts +589 -498
- package/dist/lib/trinosql/TrinoSqlVisitor.js +1 -1
- package/dist/lib/trinosql/TrinoSqlVisitor.js.map +1 -1
- package/dist/parser/trinosql.d.ts +9 -3
- package/dist/parser/trinosql.js +87 -5
- package/dist/parser/trinosql.js.map +1 -1
- package/dist/utils/findCaretTokenIndex.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
|
|
2
|
-
import {
|
|
2
|
+
import { TableOrViewRelationContext } from "./TrinoSqlParser";
|
|
3
3
|
import { SubqueryRelationContext } from "./TrinoSqlParser";
|
|
4
4
|
import { UnnestContext } from "./TrinoSqlParser";
|
|
5
5
|
import { LateralContext } from "./TrinoSqlParser";
|
|
@@ -38,10 +38,6 @@ import { GroupedPatternContext } from "./TrinoSqlParser";
|
|
|
38
38
|
import { PartitionStartAnchorContext } from "./TrinoSqlParser";
|
|
39
39
|
import { PartitionEndAnchorContext } from "./TrinoSqlParser";
|
|
40
40
|
import { ExcludedPatternContext } from "./TrinoSqlParser";
|
|
41
|
-
import { ZeroOrMoreQuantifierContext } from "./TrinoSqlParser";
|
|
42
|
-
import { OneOrMoreQuantifierContext } from "./TrinoSqlParser";
|
|
43
|
-
import { ZeroOrOneQuantifierContext } from "./TrinoSqlParser";
|
|
44
|
-
import { RangeQuantifierContext } from "./TrinoSqlParser";
|
|
45
41
|
import { DefaultPropertyValueContext } from "./TrinoSqlParser";
|
|
46
42
|
import { NonDefaultPropertyValueContext } from "./TrinoSqlParser";
|
|
47
43
|
import { ExplainFormatContext } from "./TrinoSqlParser";
|
|
@@ -50,29 +46,78 @@ import { SingleGroupingSetContext } from "./TrinoSqlParser";
|
|
|
50
46
|
import { RollupContext } from "./TrinoSqlParser";
|
|
51
47
|
import { CubeContext } from "./TrinoSqlParser";
|
|
52
48
|
import { MultipleGroupingSetsContext } from "./TrinoSqlParser";
|
|
53
|
-
import { ReadUncommittedContext } from "./TrinoSqlParser";
|
|
54
|
-
import { ReadCommittedContext } from "./TrinoSqlParser";
|
|
55
|
-
import { RepeatableReadContext } from "./TrinoSqlParser";
|
|
56
|
-
import { SerializableContext } from "./TrinoSqlParser";
|
|
57
49
|
import { ValueExpressionDefaultContext } from "./TrinoSqlParser";
|
|
58
50
|
import { AtTimeZoneContext } from "./TrinoSqlParser";
|
|
59
51
|
import { ArithmeticUnaryContext } from "./TrinoSqlParser";
|
|
60
52
|
import { ArithmeticBinaryContext } from "./TrinoSqlParser";
|
|
61
53
|
import { ConcatenationContext } from "./TrinoSqlParser";
|
|
62
|
-
import { BasicStringLiteralContext } from "./TrinoSqlParser";
|
|
63
|
-
import { UnicodeStringLiteralContext } from "./TrinoSqlParser";
|
|
64
54
|
import { QuantifiedPrimaryContext } from "./TrinoSqlParser";
|
|
65
55
|
import { PatternConcatenationContext } from "./TrinoSqlParser";
|
|
66
56
|
import { PatternAlternationContext } from "./TrinoSqlParser";
|
|
67
57
|
import { SpecifiedPrincipalContext } from "./TrinoSqlParser";
|
|
68
58
|
import { CurrentUserGrantorContext } from "./TrinoSqlParser";
|
|
69
59
|
import { CurrentRoleGrantorContext } from "./TrinoSqlParser";
|
|
70
|
-
import { UnspecifiedPrincipalContext } from "./TrinoSqlParser";
|
|
71
|
-
import { UserPrincipalContext } from "./TrinoSqlParser";
|
|
72
|
-
import { RolePrincipalContext } from "./TrinoSqlParser";
|
|
73
60
|
import { UnboundedFrameContext } from "./TrinoSqlParser";
|
|
74
61
|
import { CurrentRowBoundContext } from "./TrinoSqlParser";
|
|
75
62
|
import { BoundedFrameContext } from "./TrinoSqlParser";
|
|
63
|
+
import { QueryPrimaryDefaultContext } from "./TrinoSqlParser";
|
|
64
|
+
import { TableContext } from "./TrinoSqlParser";
|
|
65
|
+
import { InlineTableContext } from "./TrinoSqlParser";
|
|
66
|
+
import { SubqueryContext } from "./TrinoSqlParser";
|
|
67
|
+
import { NullLiteralContext } from "./TrinoSqlParser";
|
|
68
|
+
import { IntervalLiteralContext } from "./TrinoSqlParser";
|
|
69
|
+
import { TypeConstructorContext } from "./TrinoSqlParser";
|
|
70
|
+
import { NumericLiteralContext } from "./TrinoSqlParser";
|
|
71
|
+
import { BooleanLiteralContext } from "./TrinoSqlParser";
|
|
72
|
+
import { StringLiteralContext } from "./TrinoSqlParser";
|
|
73
|
+
import { BinaryLiteralContext } from "./TrinoSqlParser";
|
|
74
|
+
import { ParameterContext } from "./TrinoSqlParser";
|
|
75
|
+
import { PositionContext } from "./TrinoSqlParser";
|
|
76
|
+
import { RowConstructorContext } from "./TrinoSqlParser";
|
|
77
|
+
import { FunctionCallContext } from "./TrinoSqlParser";
|
|
78
|
+
import { MeasureContext } from "./TrinoSqlParser";
|
|
79
|
+
import { LambdaContext } from "./TrinoSqlParser";
|
|
80
|
+
import { SubqueryExpressionContext } from "./TrinoSqlParser";
|
|
81
|
+
import { ExistsContext } from "./TrinoSqlParser";
|
|
82
|
+
import { SimpleCaseContext } from "./TrinoSqlParser";
|
|
83
|
+
import { SearchedCaseContext } from "./TrinoSqlParser";
|
|
84
|
+
import { CastContext } from "./TrinoSqlParser";
|
|
85
|
+
import { ArrayConstructorContext } from "./TrinoSqlParser";
|
|
86
|
+
import { SubscriptContext } from "./TrinoSqlParser";
|
|
87
|
+
import { ColumnReferenceContext } from "./TrinoSqlParser";
|
|
88
|
+
import { DereferenceContext } from "./TrinoSqlParser";
|
|
89
|
+
import { SpecialDateTimeFunctionContext } from "./TrinoSqlParser";
|
|
90
|
+
import { CurrentUserContext } from "./TrinoSqlParser";
|
|
91
|
+
import { CurrentCatalogContext } from "./TrinoSqlParser";
|
|
92
|
+
import { CurrentSchemaContext } from "./TrinoSqlParser";
|
|
93
|
+
import { CurrentPathContext } from "./TrinoSqlParser";
|
|
94
|
+
import { SubstringContext } from "./TrinoSqlParser";
|
|
95
|
+
import { NormalizeContext } from "./TrinoSqlParser";
|
|
96
|
+
import { ExtractContext } from "./TrinoSqlParser";
|
|
97
|
+
import { ParenthesizedExpressionContext } from "./TrinoSqlParser";
|
|
98
|
+
import { GroupingOperationContext } from "./TrinoSqlParser";
|
|
99
|
+
import { SelectSingleContext } from "./TrinoSqlParser";
|
|
100
|
+
import { SelectAllContext } from "./TrinoSqlParser";
|
|
101
|
+
import { QualifiedArgumentContext } from "./TrinoSqlParser";
|
|
102
|
+
import { UnqualifiedArgumentContext } from "./TrinoSqlParser";
|
|
103
|
+
import { PositionalArgumentContext } from "./TrinoSqlParser";
|
|
104
|
+
import { NamedArgumentContext } from "./TrinoSqlParser";
|
|
105
|
+
import { MergeUpdateContext } from "./TrinoSqlParser";
|
|
106
|
+
import { MergeDeleteContext } from "./TrinoSqlParser";
|
|
107
|
+
import { MergeInsertContext } from "./TrinoSqlParser";
|
|
108
|
+
import { ZeroOrMoreQuantifierContext } from "./TrinoSqlParser";
|
|
109
|
+
import { OneOrMoreQuantifierContext } from "./TrinoSqlParser";
|
|
110
|
+
import { ZeroOrOneQuantifierContext } from "./TrinoSqlParser";
|
|
111
|
+
import { RangeQuantifierContext } from "./TrinoSqlParser";
|
|
112
|
+
import { ReadUncommittedContext } from "./TrinoSqlParser";
|
|
113
|
+
import { ReadCommittedContext } from "./TrinoSqlParser";
|
|
114
|
+
import { RepeatableReadContext } from "./TrinoSqlParser";
|
|
115
|
+
import { SerializableContext } from "./TrinoSqlParser";
|
|
116
|
+
import { BasicStringLiteralContext } from "./TrinoSqlParser";
|
|
117
|
+
import { UnicodeStringLiteralContext } from "./TrinoSqlParser";
|
|
118
|
+
import { UnspecifiedPrincipalContext } from "./TrinoSqlParser";
|
|
119
|
+
import { UserPrincipalContext } from "./TrinoSqlParser";
|
|
120
|
+
import { RolePrincipalContext } from "./TrinoSqlParser";
|
|
76
121
|
import { StatementDefaultContext } from "./TrinoSqlParser";
|
|
77
122
|
import { UseContext } from "./TrinoSqlParser";
|
|
78
123
|
import { CreateSchemaContext } from "./TrinoSqlParser";
|
|
@@ -147,56 +192,11 @@ import { ShowTableCommentContext } from "./TrinoSqlParser";
|
|
|
147
192
|
import { ShowColumnCommentContext } from "./TrinoSqlParser";
|
|
148
193
|
import { TimeZoneIntervalContext } from "./TrinoSqlParser";
|
|
149
194
|
import { TimeZoneStringContext } from "./TrinoSqlParser";
|
|
150
|
-
import { QueryPrimaryDefaultContext } from "./TrinoSqlParser";
|
|
151
|
-
import { TableContext } from "./TrinoSqlParser";
|
|
152
|
-
import { InlineTableContext } from "./TrinoSqlParser";
|
|
153
|
-
import { SubqueryContext } from "./TrinoSqlParser";
|
|
154
|
-
import { NullLiteralContext } from "./TrinoSqlParser";
|
|
155
|
-
import { IntervalLiteralContext } from "./TrinoSqlParser";
|
|
156
|
-
import { TypeConstructorContext } from "./TrinoSqlParser";
|
|
157
|
-
import { NumericLiteralContext } from "./TrinoSqlParser";
|
|
158
|
-
import { BooleanLiteralContext } from "./TrinoSqlParser";
|
|
159
|
-
import { StringLiteralContext } from "./TrinoSqlParser";
|
|
160
|
-
import { BinaryLiteralContext } from "./TrinoSqlParser";
|
|
161
|
-
import { ParameterContext } from "./TrinoSqlParser";
|
|
162
|
-
import { PositionContext } from "./TrinoSqlParser";
|
|
163
|
-
import { RowConstructorContext } from "./TrinoSqlParser";
|
|
164
|
-
import { FunctionCallContext } from "./TrinoSqlParser";
|
|
165
|
-
import { MeasureContext } from "./TrinoSqlParser";
|
|
166
|
-
import { LambdaContext } from "./TrinoSqlParser";
|
|
167
|
-
import { SubqueryExpressionContext } from "./TrinoSqlParser";
|
|
168
|
-
import { ExistsContext } from "./TrinoSqlParser";
|
|
169
|
-
import { SimpleCaseContext } from "./TrinoSqlParser";
|
|
170
|
-
import { SearchedCaseContext } from "./TrinoSqlParser";
|
|
171
|
-
import { CastContext } from "./TrinoSqlParser";
|
|
172
|
-
import { ArrayConstructorContext } from "./TrinoSqlParser";
|
|
173
|
-
import { SubscriptContext } from "./TrinoSqlParser";
|
|
174
|
-
import { ColumnReferenceContext } from "./TrinoSqlParser";
|
|
175
|
-
import { DereferenceContext } from "./TrinoSqlParser";
|
|
176
|
-
import { SpecialDateTimeFunctionContext } from "./TrinoSqlParser";
|
|
177
|
-
import { CurrentUserContext } from "./TrinoSqlParser";
|
|
178
|
-
import { CurrentCatalogContext } from "./TrinoSqlParser";
|
|
179
|
-
import { CurrentSchemaContext } from "./TrinoSqlParser";
|
|
180
|
-
import { CurrentPathContext } from "./TrinoSqlParser";
|
|
181
|
-
import { SubstringContext } from "./TrinoSqlParser";
|
|
182
|
-
import { NormalizeContext } from "./TrinoSqlParser";
|
|
183
|
-
import { ExtractContext } from "./TrinoSqlParser";
|
|
184
|
-
import { ParenthesizedExpressionContext } from "./TrinoSqlParser";
|
|
185
|
-
import { GroupingOperationContext } from "./TrinoSqlParser";
|
|
186
195
|
import { IsolationLevelContext } from "./TrinoSqlParser";
|
|
187
196
|
import { TransactionAccessModeContext } from "./TrinoSqlParser";
|
|
188
|
-
import { SelectSingleContext } from "./TrinoSqlParser";
|
|
189
|
-
import { SelectAllContext } from "./TrinoSqlParser";
|
|
190
197
|
import { PredicatedContext } from "./TrinoSqlParser";
|
|
191
198
|
import { LogicalNotContext } from "./TrinoSqlParser";
|
|
192
199
|
import { LogicalBinaryContext } from "./TrinoSqlParser";
|
|
193
|
-
import { QualifiedArgumentContext } from "./TrinoSqlParser";
|
|
194
|
-
import { UnqualifiedArgumentContext } from "./TrinoSqlParser";
|
|
195
|
-
import { PositionalArgumentContext } from "./TrinoSqlParser";
|
|
196
|
-
import { NamedArgumentContext } from "./TrinoSqlParser";
|
|
197
|
-
import { MergeUpdateContext } from "./TrinoSqlParser";
|
|
198
|
-
import { MergeDeleteContext } from "./TrinoSqlParser";
|
|
199
|
-
import { MergeInsertContext } from "./TrinoSqlParser";
|
|
200
200
|
import { ProgramContext } from "./TrinoSqlParser";
|
|
201
201
|
import { StatementsContext } from "./TrinoSqlParser";
|
|
202
202
|
import { SingleStatementContext } from "./TrinoSqlParser";
|
|
@@ -280,6 +280,19 @@ import { CallArgumentContext } from "./TrinoSqlParser";
|
|
|
280
280
|
import { PathElementContext } from "./TrinoSqlParser";
|
|
281
281
|
import { PathSpecificationContext } from "./TrinoSqlParser";
|
|
282
282
|
import { PrivilegeContext } from "./TrinoSqlParser";
|
|
283
|
+
import { TableOrViewNameContext } from "./TrinoSqlParser";
|
|
284
|
+
import { TableNameContext } from "./TrinoSqlParser";
|
|
285
|
+
import { TableNameCreateContext } from "./TrinoSqlParser";
|
|
286
|
+
import { ViewNameContext } from "./TrinoSqlParser";
|
|
287
|
+
import { ViewNameCreateContext } from "./TrinoSqlParser";
|
|
288
|
+
import { TablePathContext } from "./TrinoSqlParser";
|
|
289
|
+
import { ViewPathContext } from "./TrinoSqlParser";
|
|
290
|
+
import { SchemaNameContext } from "./TrinoSqlParser";
|
|
291
|
+
import { SchemaNameCreateContext } from "./TrinoSqlParser";
|
|
292
|
+
import { SchemaPathContext } from "./TrinoSqlParser";
|
|
293
|
+
import { CatalogNameContext } from "./TrinoSqlParser";
|
|
294
|
+
import { CatalogNameCreateContext } from "./TrinoSqlParser";
|
|
295
|
+
import { FunctionNameContext } from "./TrinoSqlParser";
|
|
283
296
|
import { QualifiedNameContext } from "./TrinoSqlParser";
|
|
284
297
|
import { GrantorContext } from "./TrinoSqlParser";
|
|
285
298
|
import { PrincipalContext } from "./TrinoSqlParser";
|
|
@@ -296,12 +309,12 @@ import { NonReservedContext } from "./TrinoSqlParser";
|
|
|
296
309
|
*/
|
|
297
310
|
export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
298
311
|
/**
|
|
299
|
-
* Visit a parse tree produced by the `
|
|
312
|
+
* Visit a parse tree produced by the `tableOrViewRelation`
|
|
300
313
|
* labeled alternative in `TrinoSqlParser.relationPrimary`.
|
|
301
314
|
* @param ctx the parse tree
|
|
302
315
|
* @return the visitor result
|
|
303
316
|
*/
|
|
304
|
-
|
|
317
|
+
visitTableOrViewRelation?: (ctx: TableOrViewRelationContext) => Result;
|
|
305
318
|
/**
|
|
306
319
|
* Visit a parse tree produced by the `subqueryRelation`
|
|
307
320
|
* labeled alternative in `TrinoSqlParser.relationPrimary`.
|
|
@@ -568,34 +581,6 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
568
581
|
* @return the visitor result
|
|
569
582
|
*/
|
|
570
583
|
visitExcludedPattern?: (ctx: ExcludedPatternContext) => Result;
|
|
571
|
-
/**
|
|
572
|
-
* Visit a parse tree produced by the `zeroOrMoreQuantifier`
|
|
573
|
-
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
574
|
-
* @param ctx the parse tree
|
|
575
|
-
* @return the visitor result
|
|
576
|
-
*/
|
|
577
|
-
visitZeroOrMoreQuantifier?: (ctx: ZeroOrMoreQuantifierContext) => Result;
|
|
578
|
-
/**
|
|
579
|
-
* Visit a parse tree produced by the `oneOrMoreQuantifier`
|
|
580
|
-
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
581
|
-
* @param ctx the parse tree
|
|
582
|
-
* @return the visitor result
|
|
583
|
-
*/
|
|
584
|
-
visitOneOrMoreQuantifier?: (ctx: OneOrMoreQuantifierContext) => Result;
|
|
585
|
-
/**
|
|
586
|
-
* Visit a parse tree produced by the `zeroOrOneQuantifier`
|
|
587
|
-
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
588
|
-
* @param ctx the parse tree
|
|
589
|
-
* @return the visitor result
|
|
590
|
-
*/
|
|
591
|
-
visitZeroOrOneQuantifier?: (ctx: ZeroOrOneQuantifierContext) => Result;
|
|
592
|
-
/**
|
|
593
|
-
* Visit a parse tree produced by the `rangeQuantifier`
|
|
594
|
-
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
595
|
-
* @param ctx the parse tree
|
|
596
|
-
* @return the visitor result
|
|
597
|
-
*/
|
|
598
|
-
visitRangeQuantifier?: (ctx: RangeQuantifierContext) => Result;
|
|
599
584
|
/**
|
|
600
585
|
* Visit a parse tree produced by the `defaultPropertyValue`
|
|
601
586
|
* labeled alternative in `TrinoSqlParser.propertyValue`.
|
|
@@ -652,34 +637,6 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
652
637
|
* @return the visitor result
|
|
653
638
|
*/
|
|
654
639
|
visitMultipleGroupingSets?: (ctx: MultipleGroupingSetsContext) => Result;
|
|
655
|
-
/**
|
|
656
|
-
* Visit a parse tree produced by the `readUncommitted`
|
|
657
|
-
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
658
|
-
* @param ctx the parse tree
|
|
659
|
-
* @return the visitor result
|
|
660
|
-
*/
|
|
661
|
-
visitReadUncommitted?: (ctx: ReadUncommittedContext) => Result;
|
|
662
|
-
/**
|
|
663
|
-
* Visit a parse tree produced by the `readCommitted`
|
|
664
|
-
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
665
|
-
* @param ctx the parse tree
|
|
666
|
-
* @return the visitor result
|
|
667
|
-
*/
|
|
668
|
-
visitReadCommitted?: (ctx: ReadCommittedContext) => Result;
|
|
669
|
-
/**
|
|
670
|
-
* Visit a parse tree produced by the `repeatableRead`
|
|
671
|
-
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
672
|
-
* @param ctx the parse tree
|
|
673
|
-
* @return the visitor result
|
|
674
|
-
*/
|
|
675
|
-
visitRepeatableRead?: (ctx: RepeatableReadContext) => Result;
|
|
676
|
-
/**
|
|
677
|
-
* Visit a parse tree produced by the `serializable`
|
|
678
|
-
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
679
|
-
* @param ctx the parse tree
|
|
680
|
-
* @return the visitor result
|
|
681
|
-
*/
|
|
682
|
-
visitSerializable?: (ctx: SerializableContext) => Result;
|
|
683
640
|
/**
|
|
684
641
|
* Visit a parse tree produced by the `valueExpressionDefault`
|
|
685
642
|
* labeled alternative in `TrinoSqlParser.valueExpression`.
|
|
@@ -715,20 +672,6 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
715
672
|
* @return the visitor result
|
|
716
673
|
*/
|
|
717
674
|
visitConcatenation?: (ctx: ConcatenationContext) => Result;
|
|
718
|
-
/**
|
|
719
|
-
* Visit a parse tree produced by the `basicStringLiteral`
|
|
720
|
-
* labeled alternative in `TrinoSqlParser.string`.
|
|
721
|
-
* @param ctx the parse tree
|
|
722
|
-
* @return the visitor result
|
|
723
|
-
*/
|
|
724
|
-
visitBasicStringLiteral?: (ctx: BasicStringLiteralContext) => Result;
|
|
725
|
-
/**
|
|
726
|
-
* Visit a parse tree produced by the `unicodeStringLiteral`
|
|
727
|
-
* labeled alternative in `TrinoSqlParser.string`.
|
|
728
|
-
* @param ctx the parse tree
|
|
729
|
-
* @return the visitor result
|
|
730
|
-
*/
|
|
731
|
-
visitUnicodeStringLiteral?: (ctx: UnicodeStringLiteralContext) => Result;
|
|
732
675
|
/**
|
|
733
676
|
* Visit a parse tree produced by the `quantifiedPrimary`
|
|
734
677
|
* labeled alternative in `TrinoSqlParser.rowPattern`.
|
|
@@ -771,27 +714,6 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
771
714
|
* @return the visitor result
|
|
772
715
|
*/
|
|
773
716
|
visitCurrentRoleGrantor?: (ctx: CurrentRoleGrantorContext) => Result;
|
|
774
|
-
/**
|
|
775
|
-
* Visit a parse tree produced by the `unspecifiedPrincipal`
|
|
776
|
-
* labeled alternative in `TrinoSqlParser.principal`.
|
|
777
|
-
* @param ctx the parse tree
|
|
778
|
-
* @return the visitor result
|
|
779
|
-
*/
|
|
780
|
-
visitUnspecifiedPrincipal?: (ctx: UnspecifiedPrincipalContext) => Result;
|
|
781
|
-
/**
|
|
782
|
-
* Visit a parse tree produced by the `userPrincipal`
|
|
783
|
-
* labeled alternative in `TrinoSqlParser.principal`.
|
|
784
|
-
* @param ctx the parse tree
|
|
785
|
-
* @return the visitor result
|
|
786
|
-
*/
|
|
787
|
-
visitUserPrincipal?: (ctx: UserPrincipalContext) => Result;
|
|
788
|
-
/**
|
|
789
|
-
* Visit a parse tree produced by the `rolePrincipal`
|
|
790
|
-
* labeled alternative in `TrinoSqlParser.principal`.
|
|
791
|
-
* @param ctx the parse tree
|
|
792
|
-
* @return the visitor result
|
|
793
|
-
*/
|
|
794
|
-
visitRolePrincipal?: (ctx: RolePrincipalContext) => Result;
|
|
795
717
|
/**
|
|
796
718
|
* Visit a parse tree produced by the `unboundedFrame`
|
|
797
719
|
* labeled alternative in `TrinoSqlParser.frameBound`.
|
|
@@ -814,873 +736,964 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
814
736
|
*/
|
|
815
737
|
visitBoundedFrame?: (ctx: BoundedFrameContext) => Result;
|
|
816
738
|
/**
|
|
817
|
-
* Visit a parse tree produced by the `
|
|
818
|
-
* labeled alternative in `TrinoSqlParser.
|
|
739
|
+
* Visit a parse tree produced by the `queryPrimaryDefault`
|
|
740
|
+
* labeled alternative in `TrinoSqlParser.queryPrimary`.
|
|
819
741
|
* @param ctx the parse tree
|
|
820
742
|
* @return the visitor result
|
|
821
743
|
*/
|
|
822
|
-
|
|
744
|
+
visitQueryPrimaryDefault?: (ctx: QueryPrimaryDefaultContext) => Result;
|
|
823
745
|
/**
|
|
824
|
-
* Visit a parse tree produced by the `
|
|
825
|
-
* labeled alternative in `TrinoSqlParser.
|
|
746
|
+
* Visit a parse tree produced by the `table`
|
|
747
|
+
* labeled alternative in `TrinoSqlParser.queryPrimary`.
|
|
826
748
|
* @param ctx the parse tree
|
|
827
749
|
* @return the visitor result
|
|
828
750
|
*/
|
|
829
|
-
|
|
751
|
+
visitTable?: (ctx: TableContext) => Result;
|
|
830
752
|
/**
|
|
831
|
-
* Visit a parse tree produced by the `
|
|
832
|
-
* labeled alternative in `TrinoSqlParser.
|
|
753
|
+
* Visit a parse tree produced by the `inlineTable`
|
|
754
|
+
* labeled alternative in `TrinoSqlParser.queryPrimary`.
|
|
833
755
|
* @param ctx the parse tree
|
|
834
756
|
* @return the visitor result
|
|
835
757
|
*/
|
|
836
|
-
|
|
758
|
+
visitInlineTable?: (ctx: InlineTableContext) => Result;
|
|
837
759
|
/**
|
|
838
|
-
* Visit a parse tree produced by the `
|
|
839
|
-
* labeled alternative in `TrinoSqlParser.
|
|
760
|
+
* Visit a parse tree produced by the `subquery`
|
|
761
|
+
* labeled alternative in `TrinoSqlParser.queryPrimary`.
|
|
840
762
|
* @param ctx the parse tree
|
|
841
763
|
* @return the visitor result
|
|
842
764
|
*/
|
|
843
|
-
|
|
765
|
+
visitSubquery?: (ctx: SubqueryContext) => Result;
|
|
844
766
|
/**
|
|
845
|
-
* Visit a parse tree produced by the `
|
|
846
|
-
* labeled alternative in `TrinoSqlParser.
|
|
767
|
+
* Visit a parse tree produced by the `nullLiteral`
|
|
768
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
847
769
|
* @param ctx the parse tree
|
|
848
770
|
* @return the visitor result
|
|
849
771
|
*/
|
|
850
|
-
|
|
772
|
+
visitNullLiteral?: (ctx: NullLiteralContext) => Result;
|
|
851
773
|
/**
|
|
852
|
-
* Visit a parse tree produced by the `
|
|
853
|
-
* labeled alternative in `TrinoSqlParser.
|
|
774
|
+
* Visit a parse tree produced by the `intervalLiteral`
|
|
775
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
854
776
|
* @param ctx the parse tree
|
|
855
777
|
* @return the visitor result
|
|
856
778
|
*/
|
|
857
|
-
|
|
779
|
+
visitIntervalLiteral?: (ctx: IntervalLiteralContext) => Result;
|
|
858
780
|
/**
|
|
859
|
-
* Visit a parse tree produced by the `
|
|
860
|
-
* labeled alternative in `TrinoSqlParser.
|
|
781
|
+
* Visit a parse tree produced by the `typeConstructor`
|
|
782
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
861
783
|
* @param ctx the parse tree
|
|
862
784
|
* @return the visitor result
|
|
863
785
|
*/
|
|
864
|
-
|
|
786
|
+
visitTypeConstructor?: (ctx: TypeConstructorContext) => Result;
|
|
865
787
|
/**
|
|
866
|
-
* Visit a parse tree produced by the `
|
|
867
|
-
* labeled alternative in `TrinoSqlParser.
|
|
788
|
+
* Visit a parse tree produced by the `numericLiteral`
|
|
789
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
868
790
|
* @param ctx the parse tree
|
|
869
791
|
* @return the visitor result
|
|
870
792
|
*/
|
|
871
|
-
|
|
793
|
+
visitNumericLiteral?: (ctx: NumericLiteralContext) => Result;
|
|
872
794
|
/**
|
|
873
|
-
* Visit a parse tree produced by the `
|
|
874
|
-
* labeled alternative in `TrinoSqlParser.
|
|
795
|
+
* Visit a parse tree produced by the `booleanLiteral`
|
|
796
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
875
797
|
* @param ctx the parse tree
|
|
876
798
|
* @return the visitor result
|
|
877
799
|
*/
|
|
878
|
-
|
|
800
|
+
visitBooleanLiteral?: (ctx: BooleanLiteralContext) => Result;
|
|
879
801
|
/**
|
|
880
|
-
* Visit a parse tree produced by the `
|
|
881
|
-
* labeled alternative in `TrinoSqlParser.
|
|
802
|
+
* Visit a parse tree produced by the `stringLiteral`
|
|
803
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
882
804
|
* @param ctx the parse tree
|
|
883
805
|
* @return the visitor result
|
|
884
806
|
*/
|
|
885
|
-
|
|
807
|
+
visitStringLiteral?: (ctx: StringLiteralContext) => Result;
|
|
886
808
|
/**
|
|
887
|
-
* Visit a parse tree produced by the `
|
|
888
|
-
* labeled alternative in `TrinoSqlParser.
|
|
809
|
+
* Visit a parse tree produced by the `binaryLiteral`
|
|
810
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
889
811
|
* @param ctx the parse tree
|
|
890
812
|
* @return the visitor result
|
|
891
813
|
*/
|
|
892
|
-
|
|
814
|
+
visitBinaryLiteral?: (ctx: BinaryLiteralContext) => Result;
|
|
893
815
|
/**
|
|
894
|
-
* Visit a parse tree produced by the `
|
|
895
|
-
* labeled alternative in `TrinoSqlParser.
|
|
816
|
+
* Visit a parse tree produced by the `parameter`
|
|
817
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
896
818
|
* @param ctx the parse tree
|
|
897
819
|
* @return the visitor result
|
|
898
820
|
*/
|
|
899
|
-
|
|
821
|
+
visitParameter?: (ctx: ParameterContext) => Result;
|
|
900
822
|
/**
|
|
901
|
-
* Visit a parse tree produced by the `
|
|
902
|
-
* labeled alternative in `TrinoSqlParser.
|
|
823
|
+
* Visit a parse tree produced by the `position`
|
|
824
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
903
825
|
* @param ctx the parse tree
|
|
904
826
|
* @return the visitor result
|
|
905
827
|
*/
|
|
906
|
-
|
|
828
|
+
visitPosition?: (ctx: PositionContext) => Result;
|
|
907
829
|
/**
|
|
908
|
-
* Visit a parse tree produced by the `
|
|
909
|
-
* labeled alternative in `TrinoSqlParser.
|
|
830
|
+
* Visit a parse tree produced by the `rowConstructor`
|
|
831
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
910
832
|
* @param ctx the parse tree
|
|
911
833
|
* @return the visitor result
|
|
912
834
|
*/
|
|
913
|
-
|
|
835
|
+
visitRowConstructor?: (ctx: RowConstructorContext) => Result;
|
|
914
836
|
/**
|
|
915
|
-
* Visit a parse tree produced by the `
|
|
916
|
-
* labeled alternative in `TrinoSqlParser.
|
|
837
|
+
* Visit a parse tree produced by the `functionCall`
|
|
838
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
917
839
|
* @param ctx the parse tree
|
|
918
840
|
* @return the visitor result
|
|
919
841
|
*/
|
|
920
|
-
|
|
842
|
+
visitFunctionCall?: (ctx: FunctionCallContext) => Result;
|
|
921
843
|
/**
|
|
922
|
-
* Visit a parse tree produced by the `
|
|
923
|
-
* labeled alternative in `TrinoSqlParser.
|
|
844
|
+
* Visit a parse tree produced by the `measure`
|
|
845
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
924
846
|
* @param ctx the parse tree
|
|
925
847
|
* @return the visitor result
|
|
926
848
|
*/
|
|
927
|
-
|
|
849
|
+
visitMeasure?: (ctx: MeasureContext) => Result;
|
|
928
850
|
/**
|
|
929
|
-
* Visit a parse tree produced by the `
|
|
930
|
-
* labeled alternative in `TrinoSqlParser.
|
|
851
|
+
* Visit a parse tree produced by the `lambda`
|
|
852
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
931
853
|
* @param ctx the parse tree
|
|
932
854
|
* @return the visitor result
|
|
933
855
|
*/
|
|
934
|
-
|
|
856
|
+
visitLambda?: (ctx: LambdaContext) => Result;
|
|
935
857
|
/**
|
|
936
|
-
* Visit a parse tree produced by the `
|
|
937
|
-
* labeled alternative in `TrinoSqlParser.
|
|
858
|
+
* Visit a parse tree produced by the `subqueryExpression`
|
|
859
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
938
860
|
* @param ctx the parse tree
|
|
939
861
|
* @return the visitor result
|
|
940
862
|
*/
|
|
941
|
-
|
|
863
|
+
visitSubqueryExpression?: (ctx: SubqueryExpressionContext) => Result;
|
|
942
864
|
/**
|
|
943
|
-
* Visit a parse tree produced by the `
|
|
944
|
-
* labeled alternative in `TrinoSqlParser.
|
|
865
|
+
* Visit a parse tree produced by the `exists`
|
|
866
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
945
867
|
* @param ctx the parse tree
|
|
946
868
|
* @return the visitor result
|
|
947
869
|
*/
|
|
948
|
-
|
|
870
|
+
visitExists?: (ctx: ExistsContext) => Result;
|
|
949
871
|
/**
|
|
950
|
-
* Visit a parse tree produced by the `
|
|
951
|
-
* labeled alternative in `TrinoSqlParser.
|
|
872
|
+
* Visit a parse tree produced by the `simpleCase`
|
|
873
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
952
874
|
* @param ctx the parse tree
|
|
953
875
|
* @return the visitor result
|
|
954
876
|
*/
|
|
955
|
-
|
|
877
|
+
visitSimpleCase?: (ctx: SimpleCaseContext) => Result;
|
|
956
878
|
/**
|
|
957
|
-
* Visit a parse tree produced by the `
|
|
958
|
-
* labeled alternative in `TrinoSqlParser.
|
|
879
|
+
* Visit a parse tree produced by the `searchedCase`
|
|
880
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
959
881
|
* @param ctx the parse tree
|
|
960
882
|
* @return the visitor result
|
|
961
883
|
*/
|
|
962
|
-
|
|
884
|
+
visitSearchedCase?: (ctx: SearchedCaseContext) => Result;
|
|
963
885
|
/**
|
|
964
|
-
* Visit a parse tree produced by the `
|
|
965
|
-
* labeled alternative in `TrinoSqlParser.
|
|
886
|
+
* Visit a parse tree produced by the `cast`
|
|
887
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
966
888
|
* @param ctx the parse tree
|
|
967
889
|
* @return the visitor result
|
|
968
890
|
*/
|
|
969
|
-
|
|
891
|
+
visitCast?: (ctx: CastContext) => Result;
|
|
970
892
|
/**
|
|
971
|
-
* Visit a parse tree produced by the `
|
|
972
|
-
* labeled alternative in `TrinoSqlParser.
|
|
893
|
+
* Visit a parse tree produced by the `arrayConstructor`
|
|
894
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
973
895
|
* @param ctx the parse tree
|
|
974
896
|
* @return the visitor result
|
|
975
897
|
*/
|
|
976
|
-
|
|
898
|
+
visitArrayConstructor?: (ctx: ArrayConstructorContext) => Result;
|
|
977
899
|
/**
|
|
978
|
-
* Visit a parse tree produced by the `
|
|
979
|
-
* labeled alternative in `TrinoSqlParser.
|
|
900
|
+
* Visit a parse tree produced by the `subscript`
|
|
901
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
980
902
|
* @param ctx the parse tree
|
|
981
903
|
* @return the visitor result
|
|
982
904
|
*/
|
|
983
|
-
|
|
905
|
+
visitSubscript?: (ctx: SubscriptContext) => Result;
|
|
984
906
|
/**
|
|
985
|
-
* Visit a parse tree produced by the `
|
|
986
|
-
* labeled alternative in `TrinoSqlParser.
|
|
907
|
+
* Visit a parse tree produced by the `columnReference`
|
|
908
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
987
909
|
* @param ctx the parse tree
|
|
988
910
|
* @return the visitor result
|
|
989
911
|
*/
|
|
990
|
-
|
|
912
|
+
visitColumnReference?: (ctx: ColumnReferenceContext) => Result;
|
|
991
913
|
/**
|
|
992
|
-
* Visit a parse tree produced by the `
|
|
993
|
-
* labeled alternative in `TrinoSqlParser.
|
|
914
|
+
* Visit a parse tree produced by the `dereference`
|
|
915
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
994
916
|
* @param ctx the parse tree
|
|
995
917
|
* @return the visitor result
|
|
996
918
|
*/
|
|
997
|
-
|
|
919
|
+
visitDereference?: (ctx: DereferenceContext) => Result;
|
|
998
920
|
/**
|
|
999
|
-
* Visit a parse tree produced by the `
|
|
1000
|
-
* labeled alternative in `TrinoSqlParser.
|
|
921
|
+
* Visit a parse tree produced by the `specialDateTimeFunction`
|
|
922
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1001
923
|
* @param ctx the parse tree
|
|
1002
924
|
* @return the visitor result
|
|
1003
925
|
*/
|
|
1004
|
-
|
|
926
|
+
visitSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => Result;
|
|
1005
927
|
/**
|
|
1006
|
-
* Visit a parse tree produced by the `
|
|
1007
|
-
* labeled alternative in `TrinoSqlParser.
|
|
928
|
+
* Visit a parse tree produced by the `currentUser`
|
|
929
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1008
930
|
* @param ctx the parse tree
|
|
1009
931
|
* @return the visitor result
|
|
1010
932
|
*/
|
|
1011
|
-
|
|
933
|
+
visitCurrentUser?: (ctx: CurrentUserContext) => Result;
|
|
1012
934
|
/**
|
|
1013
|
-
* Visit a parse tree produced by the `
|
|
1014
|
-
* labeled alternative in `TrinoSqlParser.
|
|
935
|
+
* Visit a parse tree produced by the `currentCatalog`
|
|
936
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1015
937
|
* @param ctx the parse tree
|
|
1016
938
|
* @return the visitor result
|
|
1017
939
|
*/
|
|
1018
|
-
|
|
940
|
+
visitCurrentCatalog?: (ctx: CurrentCatalogContext) => Result;
|
|
1019
941
|
/**
|
|
1020
|
-
* Visit a parse tree produced by the `
|
|
1021
|
-
* labeled alternative in `TrinoSqlParser.
|
|
942
|
+
* Visit a parse tree produced by the `currentSchema`
|
|
943
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1022
944
|
* @param ctx the parse tree
|
|
1023
945
|
* @return the visitor result
|
|
1024
946
|
*/
|
|
1025
|
-
|
|
947
|
+
visitCurrentSchema?: (ctx: CurrentSchemaContext) => Result;
|
|
1026
948
|
/**
|
|
1027
|
-
* Visit a parse tree produced by the `
|
|
1028
|
-
* labeled alternative in `TrinoSqlParser.
|
|
949
|
+
* Visit a parse tree produced by the `currentPath`
|
|
950
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1029
951
|
* @param ctx the parse tree
|
|
1030
952
|
* @return the visitor result
|
|
1031
953
|
*/
|
|
1032
|
-
|
|
954
|
+
visitCurrentPath?: (ctx: CurrentPathContext) => Result;
|
|
1033
955
|
/**
|
|
1034
|
-
* Visit a parse tree produced by the `
|
|
1035
|
-
* labeled alternative in `TrinoSqlParser.
|
|
956
|
+
* Visit a parse tree produced by the `substring`
|
|
957
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1036
958
|
* @param ctx the parse tree
|
|
1037
959
|
* @return the visitor result
|
|
1038
960
|
*/
|
|
1039
|
-
|
|
961
|
+
visitSubstring?: (ctx: SubstringContext) => Result;
|
|
1040
962
|
/**
|
|
1041
|
-
* Visit a parse tree produced by the `
|
|
1042
|
-
* labeled alternative in `TrinoSqlParser.
|
|
963
|
+
* Visit a parse tree produced by the `normalize`
|
|
964
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1043
965
|
* @param ctx the parse tree
|
|
1044
966
|
* @return the visitor result
|
|
1045
967
|
*/
|
|
1046
|
-
|
|
968
|
+
visitNormalize?: (ctx: NormalizeContext) => Result;
|
|
1047
969
|
/**
|
|
1048
|
-
* Visit a parse tree produced by the `
|
|
1049
|
-
* labeled alternative in `TrinoSqlParser.
|
|
970
|
+
* Visit a parse tree produced by the `extract`
|
|
971
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1050
972
|
* @param ctx the parse tree
|
|
1051
973
|
* @return the visitor result
|
|
1052
974
|
*/
|
|
1053
|
-
|
|
975
|
+
visitExtract?: (ctx: ExtractContext) => Result;
|
|
1054
976
|
/**
|
|
1055
|
-
* Visit a parse tree produced by the `
|
|
1056
|
-
* labeled alternative in `TrinoSqlParser.
|
|
977
|
+
* Visit a parse tree produced by the `parenthesizedExpression`
|
|
978
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1057
979
|
* @param ctx the parse tree
|
|
1058
980
|
* @return the visitor result
|
|
1059
981
|
*/
|
|
1060
|
-
|
|
982
|
+
visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
|
|
1061
983
|
/**
|
|
1062
|
-
* Visit a parse tree produced by the `
|
|
1063
|
-
* labeled alternative in `TrinoSqlParser.
|
|
984
|
+
* Visit a parse tree produced by the `groupingOperation`
|
|
985
|
+
* labeled alternative in `TrinoSqlParser.primaryExpression`.
|
|
1064
986
|
* @param ctx the parse tree
|
|
1065
987
|
* @return the visitor result
|
|
1066
988
|
*/
|
|
1067
|
-
|
|
989
|
+
visitGroupingOperation?: (ctx: GroupingOperationContext) => Result;
|
|
1068
990
|
/**
|
|
1069
|
-
* Visit a parse tree produced by the `
|
|
1070
|
-
* labeled alternative in `TrinoSqlParser.
|
|
991
|
+
* Visit a parse tree produced by the `selectSingle`
|
|
992
|
+
* labeled alternative in `TrinoSqlParser.selectItem`.
|
|
1071
993
|
* @param ctx the parse tree
|
|
1072
994
|
* @return the visitor result
|
|
1073
995
|
*/
|
|
1074
|
-
|
|
996
|
+
visitSelectSingle?: (ctx: SelectSingleContext) => Result;
|
|
1075
997
|
/**
|
|
1076
|
-
* Visit a parse tree produced by the `
|
|
1077
|
-
* labeled alternative in `TrinoSqlParser.
|
|
998
|
+
* Visit a parse tree produced by the `selectAll`
|
|
999
|
+
* labeled alternative in `TrinoSqlParser.selectItem`.
|
|
1078
1000
|
* @param ctx the parse tree
|
|
1079
1001
|
* @return the visitor result
|
|
1080
1002
|
*/
|
|
1081
|
-
|
|
1003
|
+
visitSelectAll?: (ctx: SelectAllContext) => Result;
|
|
1082
1004
|
/**
|
|
1083
|
-
* Visit a parse tree produced by the `
|
|
1084
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1005
|
+
* Visit a parse tree produced by the `qualifiedArgument`
|
|
1006
|
+
* labeled alternative in `TrinoSqlParser.pathElement`.
|
|
1085
1007
|
* @param ctx the parse tree
|
|
1086
1008
|
* @return the visitor result
|
|
1087
1009
|
*/
|
|
1088
|
-
|
|
1010
|
+
visitQualifiedArgument?: (ctx: QualifiedArgumentContext) => Result;
|
|
1011
|
+
/**
|
|
1012
|
+
* Visit a parse tree produced by the `unqualifiedArgument`
|
|
1013
|
+
* labeled alternative in `TrinoSqlParser.pathElement`.
|
|
1014
|
+
* @param ctx the parse tree
|
|
1015
|
+
* @return the visitor result
|
|
1016
|
+
*/
|
|
1017
|
+
visitUnqualifiedArgument?: (ctx: UnqualifiedArgumentContext) => Result;
|
|
1018
|
+
/**
|
|
1019
|
+
* Visit a parse tree produced by the `positionalArgument`
|
|
1020
|
+
* labeled alternative in `TrinoSqlParser.callArgument`.
|
|
1021
|
+
* @param ctx the parse tree
|
|
1022
|
+
* @return the visitor result
|
|
1023
|
+
*/
|
|
1024
|
+
visitPositionalArgument?: (ctx: PositionalArgumentContext) => Result;
|
|
1025
|
+
/**
|
|
1026
|
+
* Visit a parse tree produced by the `namedArgument`
|
|
1027
|
+
* labeled alternative in `TrinoSqlParser.callArgument`.
|
|
1028
|
+
* @param ctx the parse tree
|
|
1029
|
+
* @return the visitor result
|
|
1030
|
+
*/
|
|
1031
|
+
visitNamedArgument?: (ctx: NamedArgumentContext) => Result;
|
|
1032
|
+
/**
|
|
1033
|
+
* Visit a parse tree produced by the `mergeUpdate`
|
|
1034
|
+
* labeled alternative in `TrinoSqlParser.mergeCase`.
|
|
1035
|
+
* @param ctx the parse tree
|
|
1036
|
+
* @return the visitor result
|
|
1037
|
+
*/
|
|
1038
|
+
visitMergeUpdate?: (ctx: MergeUpdateContext) => Result;
|
|
1039
|
+
/**
|
|
1040
|
+
* Visit a parse tree produced by the `mergeDelete`
|
|
1041
|
+
* labeled alternative in `TrinoSqlParser.mergeCase`.
|
|
1042
|
+
* @param ctx the parse tree
|
|
1043
|
+
* @return the visitor result
|
|
1044
|
+
*/
|
|
1045
|
+
visitMergeDelete?: (ctx: MergeDeleteContext) => Result;
|
|
1046
|
+
/**
|
|
1047
|
+
* Visit a parse tree produced by the `mergeInsert`
|
|
1048
|
+
* labeled alternative in `TrinoSqlParser.mergeCase`.
|
|
1049
|
+
* @param ctx the parse tree
|
|
1050
|
+
* @return the visitor result
|
|
1051
|
+
*/
|
|
1052
|
+
visitMergeInsert?: (ctx: MergeInsertContext) => Result;
|
|
1053
|
+
/**
|
|
1054
|
+
* Visit a parse tree produced by the `zeroOrMoreQuantifier`
|
|
1055
|
+
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
1056
|
+
* @param ctx the parse tree
|
|
1057
|
+
* @return the visitor result
|
|
1058
|
+
*/
|
|
1059
|
+
visitZeroOrMoreQuantifier?: (ctx: ZeroOrMoreQuantifierContext) => Result;
|
|
1060
|
+
/**
|
|
1061
|
+
* Visit a parse tree produced by the `oneOrMoreQuantifier`
|
|
1062
|
+
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
1063
|
+
* @param ctx the parse tree
|
|
1064
|
+
* @return the visitor result
|
|
1065
|
+
*/
|
|
1066
|
+
visitOneOrMoreQuantifier?: (ctx: OneOrMoreQuantifierContext) => Result;
|
|
1067
|
+
/**
|
|
1068
|
+
* Visit a parse tree produced by the `zeroOrOneQuantifier`
|
|
1069
|
+
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
1070
|
+
* @param ctx the parse tree
|
|
1071
|
+
* @return the visitor result
|
|
1072
|
+
*/
|
|
1073
|
+
visitZeroOrOneQuantifier?: (ctx: ZeroOrOneQuantifierContext) => Result;
|
|
1074
|
+
/**
|
|
1075
|
+
* Visit a parse tree produced by the `rangeQuantifier`
|
|
1076
|
+
* labeled alternative in `TrinoSqlParser.patternQuantifier`.
|
|
1077
|
+
* @param ctx the parse tree
|
|
1078
|
+
* @return the visitor result
|
|
1079
|
+
*/
|
|
1080
|
+
visitRangeQuantifier?: (ctx: RangeQuantifierContext) => Result;
|
|
1081
|
+
/**
|
|
1082
|
+
* Visit a parse tree produced by the `readUncommitted`
|
|
1083
|
+
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
1084
|
+
* @param ctx the parse tree
|
|
1085
|
+
* @return the visitor result
|
|
1086
|
+
*/
|
|
1087
|
+
visitReadUncommitted?: (ctx: ReadUncommittedContext) => Result;
|
|
1088
|
+
/**
|
|
1089
|
+
* Visit a parse tree produced by the `readCommitted`
|
|
1090
|
+
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
1091
|
+
* @param ctx the parse tree
|
|
1092
|
+
* @return the visitor result
|
|
1093
|
+
*/
|
|
1094
|
+
visitReadCommitted?: (ctx: ReadCommittedContext) => Result;
|
|
1095
|
+
/**
|
|
1096
|
+
* Visit a parse tree produced by the `repeatableRead`
|
|
1097
|
+
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
1098
|
+
* @param ctx the parse tree
|
|
1099
|
+
* @return the visitor result
|
|
1100
|
+
*/
|
|
1101
|
+
visitRepeatableRead?: (ctx: RepeatableReadContext) => Result;
|
|
1089
1102
|
/**
|
|
1090
|
-
* Visit a parse tree produced by the `
|
|
1091
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1103
|
+
* Visit a parse tree produced by the `serializable`
|
|
1104
|
+
* labeled alternative in `TrinoSqlParser.levelOfIsolation`.
|
|
1092
1105
|
* @param ctx the parse tree
|
|
1093
1106
|
* @return the visitor result
|
|
1094
1107
|
*/
|
|
1095
|
-
|
|
1108
|
+
visitSerializable?: (ctx: SerializableContext) => Result;
|
|
1096
1109
|
/**
|
|
1097
|
-
* Visit a parse tree produced by the `
|
|
1098
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1110
|
+
* Visit a parse tree produced by the `basicStringLiteral`
|
|
1111
|
+
* labeled alternative in `TrinoSqlParser.string`.
|
|
1099
1112
|
* @param ctx the parse tree
|
|
1100
1113
|
* @return the visitor result
|
|
1101
1114
|
*/
|
|
1102
|
-
|
|
1115
|
+
visitBasicStringLiteral?: (ctx: BasicStringLiteralContext) => Result;
|
|
1103
1116
|
/**
|
|
1104
|
-
* Visit a parse tree produced by the `
|
|
1105
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1117
|
+
* Visit a parse tree produced by the `unicodeStringLiteral`
|
|
1118
|
+
* labeled alternative in `TrinoSqlParser.string`.
|
|
1106
1119
|
* @param ctx the parse tree
|
|
1107
1120
|
* @return the visitor result
|
|
1108
1121
|
*/
|
|
1109
|
-
|
|
1122
|
+
visitUnicodeStringLiteral?: (ctx: UnicodeStringLiteralContext) => Result;
|
|
1110
1123
|
/**
|
|
1111
|
-
* Visit a parse tree produced by the `
|
|
1112
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1124
|
+
* Visit a parse tree produced by the `unspecifiedPrincipal`
|
|
1125
|
+
* labeled alternative in `TrinoSqlParser.principal`.
|
|
1113
1126
|
* @param ctx the parse tree
|
|
1114
1127
|
* @return the visitor result
|
|
1115
1128
|
*/
|
|
1116
|
-
|
|
1129
|
+
visitUnspecifiedPrincipal?: (ctx: UnspecifiedPrincipalContext) => Result;
|
|
1117
1130
|
/**
|
|
1118
|
-
* Visit a parse tree produced by the `
|
|
1119
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1131
|
+
* Visit a parse tree produced by the `userPrincipal`
|
|
1132
|
+
* labeled alternative in `TrinoSqlParser.principal`.
|
|
1120
1133
|
* @param ctx the parse tree
|
|
1121
1134
|
* @return the visitor result
|
|
1122
1135
|
*/
|
|
1123
|
-
|
|
1136
|
+
visitUserPrincipal?: (ctx: UserPrincipalContext) => Result;
|
|
1124
1137
|
/**
|
|
1125
|
-
* Visit a parse tree produced by the `
|
|
1126
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1138
|
+
* Visit a parse tree produced by the `rolePrincipal`
|
|
1139
|
+
* labeled alternative in `TrinoSqlParser.principal`.
|
|
1127
1140
|
* @param ctx the parse tree
|
|
1128
1141
|
* @return the visitor result
|
|
1129
1142
|
*/
|
|
1130
|
-
|
|
1143
|
+
visitRolePrincipal?: (ctx: RolePrincipalContext) => Result;
|
|
1131
1144
|
/**
|
|
1132
|
-
* Visit a parse tree produced by the `
|
|
1145
|
+
* Visit a parse tree produced by the `statementDefault`
|
|
1133
1146
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1134
1147
|
* @param ctx the parse tree
|
|
1135
1148
|
* @return the visitor result
|
|
1136
1149
|
*/
|
|
1137
|
-
|
|
1150
|
+
visitStatementDefault?: (ctx: StatementDefaultContext) => Result;
|
|
1138
1151
|
/**
|
|
1139
|
-
* Visit a parse tree produced by the `
|
|
1152
|
+
* Visit a parse tree produced by the `use`
|
|
1140
1153
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1141
1154
|
* @param ctx the parse tree
|
|
1142
1155
|
* @return the visitor result
|
|
1143
1156
|
*/
|
|
1144
|
-
|
|
1157
|
+
visitUse?: (ctx: UseContext) => Result;
|
|
1145
1158
|
/**
|
|
1146
|
-
* Visit a parse tree produced by the `
|
|
1159
|
+
* Visit a parse tree produced by the `createSchema`
|
|
1147
1160
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1148
1161
|
* @param ctx the parse tree
|
|
1149
1162
|
* @return the visitor result
|
|
1150
1163
|
*/
|
|
1151
|
-
|
|
1164
|
+
visitCreateSchema?: (ctx: CreateSchemaContext) => Result;
|
|
1152
1165
|
/**
|
|
1153
|
-
* Visit a parse tree produced by the `
|
|
1166
|
+
* Visit a parse tree produced by the `dropSchema`
|
|
1154
1167
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1155
1168
|
* @param ctx the parse tree
|
|
1156
1169
|
* @return the visitor result
|
|
1157
1170
|
*/
|
|
1158
|
-
|
|
1171
|
+
visitDropSchema?: (ctx: DropSchemaContext) => Result;
|
|
1159
1172
|
/**
|
|
1160
|
-
* Visit a parse tree produced by the `
|
|
1173
|
+
* Visit a parse tree produced by the `renameSchema`
|
|
1161
1174
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1162
1175
|
* @param ctx the parse tree
|
|
1163
1176
|
* @return the visitor result
|
|
1164
1177
|
*/
|
|
1165
|
-
|
|
1178
|
+
visitRenameSchema?: (ctx: RenameSchemaContext) => Result;
|
|
1166
1179
|
/**
|
|
1167
|
-
* Visit a parse tree produced by the `
|
|
1180
|
+
* Visit a parse tree produced by the `setSchemaAuthorization`
|
|
1168
1181
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1169
1182
|
* @param ctx the parse tree
|
|
1170
1183
|
* @return the visitor result
|
|
1171
1184
|
*/
|
|
1172
|
-
|
|
1185
|
+
visitSetSchemaAuthorization?: (ctx: SetSchemaAuthorizationContext) => Result;
|
|
1173
1186
|
/**
|
|
1174
|
-
* Visit a parse tree produced by the `
|
|
1187
|
+
* Visit a parse tree produced by the `createTableAsSelect`
|
|
1175
1188
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1176
1189
|
* @param ctx the parse tree
|
|
1177
1190
|
* @return the visitor result
|
|
1178
1191
|
*/
|
|
1179
|
-
|
|
1192
|
+
visitCreateTableAsSelect?: (ctx: CreateTableAsSelectContext) => Result;
|
|
1180
1193
|
/**
|
|
1181
|
-
* Visit a parse tree produced by the `
|
|
1194
|
+
* Visit a parse tree produced by the `createTable`
|
|
1182
1195
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1183
1196
|
* @param ctx the parse tree
|
|
1184
1197
|
* @return the visitor result
|
|
1185
1198
|
*/
|
|
1186
|
-
|
|
1199
|
+
visitCreateTable?: (ctx: CreateTableContext) => Result;
|
|
1187
1200
|
/**
|
|
1188
|
-
* Visit a parse tree produced by the `
|
|
1201
|
+
* Visit a parse tree produced by the `dropTable`
|
|
1189
1202
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1190
1203
|
* @param ctx the parse tree
|
|
1191
1204
|
* @return the visitor result
|
|
1192
1205
|
*/
|
|
1193
|
-
|
|
1206
|
+
visitDropTable?: (ctx: DropTableContext) => Result;
|
|
1194
1207
|
/**
|
|
1195
|
-
* Visit a parse tree produced by the `
|
|
1208
|
+
* Visit a parse tree produced by the `insertInto`
|
|
1196
1209
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1197
1210
|
* @param ctx the parse tree
|
|
1198
1211
|
* @return the visitor result
|
|
1199
1212
|
*/
|
|
1200
|
-
|
|
1213
|
+
visitInsertInto?: (ctx: InsertIntoContext) => Result;
|
|
1201
1214
|
/**
|
|
1202
|
-
* Visit a parse tree produced by the `
|
|
1215
|
+
* Visit a parse tree produced by the `delete`
|
|
1203
1216
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1204
1217
|
* @param ctx the parse tree
|
|
1205
1218
|
* @return the visitor result
|
|
1206
1219
|
*/
|
|
1207
|
-
|
|
1220
|
+
visitDelete?: (ctx: DeleteContext) => Result;
|
|
1208
1221
|
/**
|
|
1209
|
-
* Visit a parse tree produced by the `
|
|
1222
|
+
* Visit a parse tree produced by the `truncateTable`
|
|
1210
1223
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1211
1224
|
* @param ctx the parse tree
|
|
1212
1225
|
* @return the visitor result
|
|
1213
1226
|
*/
|
|
1214
|
-
|
|
1227
|
+
visitTruncateTable?: (ctx: TruncateTableContext) => Result;
|
|
1215
1228
|
/**
|
|
1216
|
-
* Visit a parse tree produced by the `
|
|
1229
|
+
* Visit a parse tree produced by the `renameTable`
|
|
1217
1230
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1218
1231
|
* @param ctx the parse tree
|
|
1219
1232
|
* @return the visitor result
|
|
1220
1233
|
*/
|
|
1221
|
-
|
|
1234
|
+
visitRenameTable?: (ctx: RenameTableContext) => Result;
|
|
1222
1235
|
/**
|
|
1223
|
-
* Visit a parse tree produced by the `
|
|
1236
|
+
* Visit a parse tree produced by the `commentTable`
|
|
1224
1237
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1225
1238
|
* @param ctx the parse tree
|
|
1226
1239
|
* @return the visitor result
|
|
1227
1240
|
*/
|
|
1228
|
-
|
|
1241
|
+
visitCommentTable?: (ctx: CommentTableContext) => Result;
|
|
1229
1242
|
/**
|
|
1230
|
-
* Visit a parse tree produced by the `
|
|
1243
|
+
* Visit a parse tree produced by the `commentColumn`
|
|
1231
1244
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1232
1245
|
* @param ctx the parse tree
|
|
1233
1246
|
* @return the visitor result
|
|
1234
1247
|
*/
|
|
1235
|
-
|
|
1248
|
+
visitCommentColumn?: (ctx: CommentColumnContext) => Result;
|
|
1236
1249
|
/**
|
|
1237
|
-
* Visit a parse tree produced by the `
|
|
1250
|
+
* Visit a parse tree produced by the `renameColumn`
|
|
1238
1251
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1239
1252
|
* @param ctx the parse tree
|
|
1240
1253
|
* @return the visitor result
|
|
1241
1254
|
*/
|
|
1242
|
-
|
|
1255
|
+
visitRenameColumn?: (ctx: RenameColumnContext) => Result;
|
|
1243
1256
|
/**
|
|
1244
|
-
* Visit a parse tree produced by the `
|
|
1257
|
+
* Visit a parse tree produced by the `dropColumn`
|
|
1245
1258
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1246
1259
|
* @param ctx the parse tree
|
|
1247
1260
|
* @return the visitor result
|
|
1248
1261
|
*/
|
|
1249
|
-
|
|
1262
|
+
visitDropColumn?: (ctx: DropColumnContext) => Result;
|
|
1250
1263
|
/**
|
|
1251
|
-
* Visit a parse tree produced by the `
|
|
1264
|
+
* Visit a parse tree produced by the `addColumn`
|
|
1252
1265
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1253
1266
|
* @param ctx the parse tree
|
|
1254
1267
|
* @return the visitor result
|
|
1255
1268
|
*/
|
|
1256
|
-
|
|
1269
|
+
visitAddColumn?: (ctx: AddColumnContext) => Result;
|
|
1257
1270
|
/**
|
|
1258
|
-
* Visit a parse tree produced by the `
|
|
1271
|
+
* Visit a parse tree produced by the `setTableAuthorization`
|
|
1259
1272
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1260
1273
|
* @param ctx the parse tree
|
|
1261
1274
|
* @return the visitor result
|
|
1262
1275
|
*/
|
|
1263
|
-
|
|
1276
|
+
visitSetTableAuthorization?: (ctx: SetTableAuthorizationContext) => Result;
|
|
1264
1277
|
/**
|
|
1265
|
-
* Visit a parse tree produced by the `
|
|
1278
|
+
* Visit a parse tree produced by the `setTableProperties`
|
|
1266
1279
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1267
1280
|
* @param ctx the parse tree
|
|
1268
1281
|
* @return the visitor result
|
|
1269
1282
|
*/
|
|
1270
|
-
|
|
1283
|
+
visitSetTableProperties?: (ctx: SetTablePropertiesContext) => Result;
|
|
1271
1284
|
/**
|
|
1272
|
-
* Visit a parse tree produced by the `
|
|
1285
|
+
* Visit a parse tree produced by the `tableExecute`
|
|
1273
1286
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1274
1287
|
* @param ctx the parse tree
|
|
1275
1288
|
* @return the visitor result
|
|
1276
1289
|
*/
|
|
1277
|
-
|
|
1290
|
+
visitTableExecute?: (ctx: TableExecuteContext) => Result;
|
|
1278
1291
|
/**
|
|
1279
|
-
* Visit a parse tree produced by the `
|
|
1292
|
+
* Visit a parse tree produced by the `analyze`
|
|
1280
1293
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1281
1294
|
* @param ctx the parse tree
|
|
1282
1295
|
* @return the visitor result
|
|
1283
1296
|
*/
|
|
1284
|
-
|
|
1297
|
+
visitAnalyze?: (ctx: AnalyzeContext) => Result;
|
|
1285
1298
|
/**
|
|
1286
|
-
* Visit a parse tree produced by the `
|
|
1299
|
+
* Visit a parse tree produced by the `createMaterializedView`
|
|
1287
1300
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1288
1301
|
* @param ctx the parse tree
|
|
1289
1302
|
* @return the visitor result
|
|
1290
1303
|
*/
|
|
1291
|
-
|
|
1304
|
+
visitCreateMaterializedView?: (ctx: CreateMaterializedViewContext) => Result;
|
|
1292
1305
|
/**
|
|
1293
|
-
* Visit a parse tree produced by the `
|
|
1306
|
+
* Visit a parse tree produced by the `createView`
|
|
1294
1307
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1295
1308
|
* @param ctx the parse tree
|
|
1296
1309
|
* @return the visitor result
|
|
1297
1310
|
*/
|
|
1298
|
-
|
|
1311
|
+
visitCreateView?: (ctx: CreateViewContext) => Result;
|
|
1299
1312
|
/**
|
|
1300
|
-
* Visit a parse tree produced by the `
|
|
1313
|
+
* Visit a parse tree produced by the `refreshMaterializedView`
|
|
1301
1314
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1302
1315
|
* @param ctx the parse tree
|
|
1303
1316
|
* @return the visitor result
|
|
1304
1317
|
*/
|
|
1305
|
-
|
|
1318
|
+
visitRefreshMaterializedView?: (ctx: RefreshMaterializedViewContext) => Result;
|
|
1306
1319
|
/**
|
|
1307
|
-
* Visit a parse tree produced by the `
|
|
1320
|
+
* Visit a parse tree produced by the `dropMaterializedView`
|
|
1308
1321
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1309
1322
|
* @param ctx the parse tree
|
|
1310
1323
|
* @return the visitor result
|
|
1311
1324
|
*/
|
|
1312
|
-
|
|
1325
|
+
visitDropMaterializedView?: (ctx: DropMaterializedViewContext) => Result;
|
|
1313
1326
|
/**
|
|
1314
|
-
* Visit a parse tree produced by the `
|
|
1327
|
+
* Visit a parse tree produced by the `renameMaterializedView`
|
|
1315
1328
|
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1316
1329
|
* @param ctx the parse tree
|
|
1317
1330
|
* @return the visitor result
|
|
1318
1331
|
*/
|
|
1319
|
-
|
|
1332
|
+
visitRenameMaterializedView?: (ctx: RenameMaterializedViewContext) => Result;
|
|
1320
1333
|
/**
|
|
1321
|
-
* Visit a parse tree produced by the `
|
|
1322
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1334
|
+
* Visit a parse tree produced by the `setMaterializedViewProperties`
|
|
1335
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1323
1336
|
* @param ctx the parse tree
|
|
1324
1337
|
* @return the visitor result
|
|
1325
1338
|
*/
|
|
1326
|
-
|
|
1339
|
+
visitSetMaterializedViewProperties?: (ctx: SetMaterializedViewPropertiesContext) => Result;
|
|
1327
1340
|
/**
|
|
1328
|
-
* Visit a parse tree produced by the `
|
|
1329
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1341
|
+
* Visit a parse tree produced by the `dropView`
|
|
1342
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1330
1343
|
* @param ctx the parse tree
|
|
1331
1344
|
* @return the visitor result
|
|
1332
1345
|
*/
|
|
1333
|
-
|
|
1346
|
+
visitDropView?: (ctx: DropViewContext) => Result;
|
|
1334
1347
|
/**
|
|
1335
|
-
* Visit a parse tree produced by the `
|
|
1336
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1348
|
+
* Visit a parse tree produced by the `renameView`
|
|
1349
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1337
1350
|
* @param ctx the parse tree
|
|
1338
1351
|
* @return the visitor result
|
|
1339
1352
|
*/
|
|
1340
|
-
|
|
1353
|
+
visitRenameView?: (ctx: RenameViewContext) => Result;
|
|
1341
1354
|
/**
|
|
1342
|
-
* Visit a parse tree produced by the `
|
|
1343
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1355
|
+
* Visit a parse tree produced by the `setViewAuthorization`
|
|
1356
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1344
1357
|
* @param ctx the parse tree
|
|
1345
1358
|
* @return the visitor result
|
|
1346
1359
|
*/
|
|
1347
|
-
|
|
1360
|
+
visitSetViewAuthorization?: (ctx: SetViewAuthorizationContext) => Result;
|
|
1348
1361
|
/**
|
|
1349
|
-
* Visit a parse tree produced by the `
|
|
1350
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1362
|
+
* Visit a parse tree produced by the `call`
|
|
1363
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1351
1364
|
* @param ctx the parse tree
|
|
1352
1365
|
* @return the visitor result
|
|
1353
1366
|
*/
|
|
1354
|
-
|
|
1367
|
+
visitCall?: (ctx: CallContext) => Result;
|
|
1355
1368
|
/**
|
|
1356
|
-
* Visit a parse tree produced by the `
|
|
1357
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1369
|
+
* Visit a parse tree produced by the `createRole`
|
|
1370
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1358
1371
|
* @param ctx the parse tree
|
|
1359
1372
|
* @return the visitor result
|
|
1360
1373
|
*/
|
|
1361
|
-
|
|
1374
|
+
visitCreateRole?: (ctx: CreateRoleContext) => Result;
|
|
1362
1375
|
/**
|
|
1363
|
-
* Visit a parse tree produced by the `
|
|
1364
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1376
|
+
* Visit a parse tree produced by the `dropRole`
|
|
1377
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1365
1378
|
* @param ctx the parse tree
|
|
1366
1379
|
* @return the visitor result
|
|
1367
1380
|
*/
|
|
1368
|
-
|
|
1381
|
+
visitDropRole?: (ctx: DropRoleContext) => Result;
|
|
1369
1382
|
/**
|
|
1370
|
-
* Visit a parse tree produced by the `
|
|
1371
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1383
|
+
* Visit a parse tree produced by the `grantRoles`
|
|
1384
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1372
1385
|
* @param ctx the parse tree
|
|
1373
1386
|
* @return the visitor result
|
|
1374
1387
|
*/
|
|
1375
|
-
|
|
1388
|
+
visitGrantRoles?: (ctx: GrantRolesContext) => Result;
|
|
1376
1389
|
/**
|
|
1377
|
-
* Visit a parse tree produced by the `
|
|
1378
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1390
|
+
* Visit a parse tree produced by the `revokeRoles`
|
|
1391
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1379
1392
|
* @param ctx the parse tree
|
|
1380
1393
|
* @return the visitor result
|
|
1381
1394
|
*/
|
|
1382
|
-
|
|
1395
|
+
visitRevokeRoles?: (ctx: RevokeRolesContext) => Result;
|
|
1383
1396
|
/**
|
|
1384
|
-
* Visit a parse tree produced by the `
|
|
1385
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1397
|
+
* Visit a parse tree produced by the `setRole`
|
|
1398
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1386
1399
|
* @param ctx the parse tree
|
|
1387
1400
|
* @return the visitor result
|
|
1388
1401
|
*/
|
|
1389
|
-
|
|
1402
|
+
visitSetRole?: (ctx: SetRoleContext) => Result;
|
|
1390
1403
|
/**
|
|
1391
|
-
* Visit a parse tree produced by the `
|
|
1392
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1404
|
+
* Visit a parse tree produced by the `grant`
|
|
1405
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1393
1406
|
* @param ctx the parse tree
|
|
1394
1407
|
* @return the visitor result
|
|
1395
1408
|
*/
|
|
1396
|
-
|
|
1409
|
+
visitGrant?: (ctx: GrantContext) => Result;
|
|
1397
1410
|
/**
|
|
1398
|
-
* Visit a parse tree produced by the `
|
|
1399
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1411
|
+
* Visit a parse tree produced by the `deny`
|
|
1412
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1400
1413
|
* @param ctx the parse tree
|
|
1401
1414
|
* @return the visitor result
|
|
1402
1415
|
*/
|
|
1403
|
-
|
|
1416
|
+
visitDeny?: (ctx: DenyContext) => Result;
|
|
1404
1417
|
/**
|
|
1405
|
-
* Visit a parse tree produced by the `
|
|
1406
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1418
|
+
* Visit a parse tree produced by the `revoke`
|
|
1419
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1407
1420
|
* @param ctx the parse tree
|
|
1408
1421
|
* @return the visitor result
|
|
1409
1422
|
*/
|
|
1410
|
-
|
|
1423
|
+
visitRevoke?: (ctx: RevokeContext) => Result;
|
|
1411
1424
|
/**
|
|
1412
|
-
* Visit a parse tree produced by the `
|
|
1413
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1425
|
+
* Visit a parse tree produced by the `showGrants`
|
|
1426
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1414
1427
|
* @param ctx the parse tree
|
|
1415
1428
|
* @return the visitor result
|
|
1416
1429
|
*/
|
|
1417
|
-
|
|
1430
|
+
visitShowGrants?: (ctx: ShowGrantsContext) => Result;
|
|
1418
1431
|
/**
|
|
1419
|
-
* Visit a parse tree produced by the `
|
|
1420
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1432
|
+
* Visit a parse tree produced by the `explain`
|
|
1433
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1421
1434
|
* @param ctx the parse tree
|
|
1422
1435
|
* @return the visitor result
|
|
1423
1436
|
*/
|
|
1424
|
-
|
|
1437
|
+
visitExplain?: (ctx: ExplainContext) => Result;
|
|
1425
1438
|
/**
|
|
1426
|
-
* Visit a parse tree produced by the `
|
|
1427
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1439
|
+
* Visit a parse tree produced by the `showCreateTable`
|
|
1440
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1428
1441
|
* @param ctx the parse tree
|
|
1429
1442
|
* @return the visitor result
|
|
1430
1443
|
*/
|
|
1431
|
-
|
|
1444
|
+
visitShowCreateTable?: (ctx: ShowCreateTableContext) => Result;
|
|
1432
1445
|
/**
|
|
1433
|
-
* Visit a parse tree produced by the `
|
|
1434
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1446
|
+
* Visit a parse tree produced by the `showCreateSchema`
|
|
1447
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1435
1448
|
* @param ctx the parse tree
|
|
1436
1449
|
* @return the visitor result
|
|
1437
1450
|
*/
|
|
1438
|
-
|
|
1451
|
+
visitShowCreateSchema?: (ctx: ShowCreateSchemaContext) => Result;
|
|
1439
1452
|
/**
|
|
1440
|
-
* Visit a parse tree produced by the `
|
|
1441
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1453
|
+
* Visit a parse tree produced by the `showCreateView`
|
|
1454
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1442
1455
|
* @param ctx the parse tree
|
|
1443
1456
|
* @return the visitor result
|
|
1444
1457
|
*/
|
|
1445
|
-
|
|
1446
|
-
/**
|
|
1447
|
-
* Visit a parse tree produced by the `
|
|
1448
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1458
|
+
visitShowCreateView?: (ctx: ShowCreateViewContext) => Result;
|
|
1459
|
+
/**
|
|
1460
|
+
* Visit a parse tree produced by the `showCreateMaterializedView`
|
|
1461
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1449
1462
|
* @param ctx the parse tree
|
|
1450
1463
|
* @return the visitor result
|
|
1451
1464
|
*/
|
|
1452
|
-
|
|
1465
|
+
visitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => Result;
|
|
1453
1466
|
/**
|
|
1454
|
-
* Visit a parse tree produced by the `
|
|
1455
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1467
|
+
* Visit a parse tree produced by the `showTables`
|
|
1468
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1456
1469
|
* @param ctx the parse tree
|
|
1457
1470
|
* @return the visitor result
|
|
1458
1471
|
*/
|
|
1459
|
-
|
|
1472
|
+
visitShowTables?: (ctx: ShowTablesContext) => Result;
|
|
1460
1473
|
/**
|
|
1461
|
-
* Visit a parse tree produced by the `
|
|
1462
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1474
|
+
* Visit a parse tree produced by the `showSchemas`
|
|
1475
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1463
1476
|
* @param ctx the parse tree
|
|
1464
1477
|
* @return the visitor result
|
|
1465
1478
|
*/
|
|
1466
|
-
|
|
1479
|
+
visitShowSchemas?: (ctx: ShowSchemasContext) => Result;
|
|
1467
1480
|
/**
|
|
1468
|
-
* Visit a parse tree produced by the `
|
|
1469
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1481
|
+
* Visit a parse tree produced by the `showCatalogs`
|
|
1482
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1470
1483
|
* @param ctx the parse tree
|
|
1471
1484
|
* @return the visitor result
|
|
1472
1485
|
*/
|
|
1473
|
-
|
|
1486
|
+
visitShowCatalogs?: (ctx: ShowCatalogsContext) => Result;
|
|
1474
1487
|
/**
|
|
1475
|
-
* Visit a parse tree produced by the `
|
|
1476
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1488
|
+
* Visit a parse tree produced by the `showColumns`
|
|
1489
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1477
1490
|
* @param ctx the parse tree
|
|
1478
1491
|
* @return the visitor result
|
|
1479
1492
|
*/
|
|
1480
|
-
|
|
1493
|
+
visitShowColumns?: (ctx: ShowColumnsContext) => Result;
|
|
1481
1494
|
/**
|
|
1482
|
-
* Visit a parse tree produced by the `
|
|
1483
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1495
|
+
* Visit a parse tree produced by the `showStats`
|
|
1496
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1484
1497
|
* @param ctx the parse tree
|
|
1485
1498
|
* @return the visitor result
|
|
1486
1499
|
*/
|
|
1487
|
-
|
|
1500
|
+
visitShowStats?: (ctx: ShowStatsContext) => Result;
|
|
1488
1501
|
/**
|
|
1489
|
-
* Visit a parse tree produced by the `
|
|
1490
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1502
|
+
* Visit a parse tree produced by the `showStatsForQuery`
|
|
1503
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1491
1504
|
* @param ctx the parse tree
|
|
1492
1505
|
* @return the visitor result
|
|
1493
1506
|
*/
|
|
1494
|
-
|
|
1507
|
+
visitShowStatsForQuery?: (ctx: ShowStatsForQueryContext) => Result;
|
|
1495
1508
|
/**
|
|
1496
|
-
* Visit a parse tree produced by the `
|
|
1497
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1509
|
+
* Visit a parse tree produced by the `showRoles`
|
|
1510
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1498
1511
|
* @param ctx the parse tree
|
|
1499
1512
|
* @return the visitor result
|
|
1500
1513
|
*/
|
|
1501
|
-
|
|
1514
|
+
visitShowRoles?: (ctx: ShowRolesContext) => Result;
|
|
1502
1515
|
/**
|
|
1503
|
-
* Visit a parse tree produced by the `
|
|
1504
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1516
|
+
* Visit a parse tree produced by the `showRoleGrants`
|
|
1517
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1505
1518
|
* @param ctx the parse tree
|
|
1506
1519
|
* @return the visitor result
|
|
1507
1520
|
*/
|
|
1508
|
-
|
|
1521
|
+
visitShowRoleGrants?: (ctx: ShowRoleGrantsContext) => Result;
|
|
1509
1522
|
/**
|
|
1510
|
-
* Visit a parse tree produced by the `
|
|
1511
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1523
|
+
* Visit a parse tree produced by the `showFunctions`
|
|
1524
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1512
1525
|
* @param ctx the parse tree
|
|
1513
1526
|
* @return the visitor result
|
|
1514
1527
|
*/
|
|
1515
|
-
|
|
1528
|
+
visitShowFunctions?: (ctx: ShowFunctionsContext) => Result;
|
|
1516
1529
|
/**
|
|
1517
|
-
* Visit a parse tree produced by the `
|
|
1518
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1530
|
+
* Visit a parse tree produced by the `showSession`
|
|
1531
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1519
1532
|
* @param ctx the parse tree
|
|
1520
1533
|
* @return the visitor result
|
|
1521
1534
|
*/
|
|
1522
|
-
|
|
1535
|
+
visitShowSession?: (ctx: ShowSessionContext) => Result;
|
|
1523
1536
|
/**
|
|
1524
|
-
* Visit a parse tree produced by the `
|
|
1525
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1537
|
+
* Visit a parse tree produced by the `setSession`
|
|
1538
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1526
1539
|
* @param ctx the parse tree
|
|
1527
1540
|
* @return the visitor result
|
|
1528
1541
|
*/
|
|
1529
|
-
|
|
1542
|
+
visitSetSession?: (ctx: SetSessionContext) => Result;
|
|
1530
1543
|
/**
|
|
1531
|
-
* Visit a parse tree produced by the `
|
|
1532
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1544
|
+
* Visit a parse tree produced by the `resetSession`
|
|
1545
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1533
1546
|
* @param ctx the parse tree
|
|
1534
1547
|
* @return the visitor result
|
|
1535
1548
|
*/
|
|
1536
|
-
|
|
1549
|
+
visitResetSession?: (ctx: ResetSessionContext) => Result;
|
|
1537
1550
|
/**
|
|
1538
|
-
* Visit a parse tree produced by the `
|
|
1539
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1551
|
+
* Visit a parse tree produced by the `startTransaction`
|
|
1552
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1540
1553
|
* @param ctx the parse tree
|
|
1541
1554
|
* @return the visitor result
|
|
1542
1555
|
*/
|
|
1543
|
-
|
|
1556
|
+
visitStartTransaction?: (ctx: StartTransactionContext) => Result;
|
|
1544
1557
|
/**
|
|
1545
|
-
* Visit a parse tree produced by the `
|
|
1546
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1558
|
+
* Visit a parse tree produced by the `commit`
|
|
1559
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1547
1560
|
* @param ctx the parse tree
|
|
1548
1561
|
* @return the visitor result
|
|
1549
1562
|
*/
|
|
1550
|
-
|
|
1563
|
+
visitCommit?: (ctx: CommitContext) => Result;
|
|
1551
1564
|
/**
|
|
1552
|
-
* Visit a parse tree produced by the `
|
|
1553
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1565
|
+
* Visit a parse tree produced by the `rollback`
|
|
1566
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1554
1567
|
* @param ctx the parse tree
|
|
1555
1568
|
* @return the visitor result
|
|
1556
1569
|
*/
|
|
1557
|
-
|
|
1570
|
+
visitRollback?: (ctx: RollbackContext) => Result;
|
|
1558
1571
|
/**
|
|
1559
|
-
* Visit a parse tree produced by the `
|
|
1560
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1572
|
+
* Visit a parse tree produced by the `prepare`
|
|
1573
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1561
1574
|
* @param ctx the parse tree
|
|
1562
1575
|
* @return the visitor result
|
|
1563
1576
|
*/
|
|
1564
|
-
|
|
1577
|
+
visitPrepare?: (ctx: PrepareContext) => Result;
|
|
1565
1578
|
/**
|
|
1566
|
-
* Visit a parse tree produced by the `
|
|
1567
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1579
|
+
* Visit a parse tree produced by the `deallocate`
|
|
1580
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1568
1581
|
* @param ctx the parse tree
|
|
1569
1582
|
* @return the visitor result
|
|
1570
1583
|
*/
|
|
1571
|
-
|
|
1584
|
+
visitDeallocate?: (ctx: DeallocateContext) => Result;
|
|
1572
1585
|
/**
|
|
1573
|
-
* Visit a parse tree produced by the `
|
|
1574
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1586
|
+
* Visit a parse tree produced by the `execute`
|
|
1587
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1575
1588
|
* @param ctx the parse tree
|
|
1576
1589
|
* @return the visitor result
|
|
1577
1590
|
*/
|
|
1578
|
-
|
|
1591
|
+
visitExecute?: (ctx: ExecuteContext) => Result;
|
|
1579
1592
|
/**
|
|
1580
|
-
* Visit a parse tree produced by the `
|
|
1581
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1593
|
+
* Visit a parse tree produced by the `describeInput`
|
|
1594
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1582
1595
|
* @param ctx the parse tree
|
|
1583
1596
|
* @return the visitor result
|
|
1584
1597
|
*/
|
|
1585
|
-
|
|
1598
|
+
visitDescribeInput?: (ctx: DescribeInputContext) => Result;
|
|
1586
1599
|
/**
|
|
1587
|
-
* Visit a parse tree produced by the `
|
|
1588
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1600
|
+
* Visit a parse tree produced by the `describeOutput`
|
|
1601
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1589
1602
|
* @param ctx the parse tree
|
|
1590
1603
|
* @return the visitor result
|
|
1591
1604
|
*/
|
|
1592
|
-
|
|
1605
|
+
visitDescribeOutput?: (ctx: DescribeOutputContext) => Result;
|
|
1593
1606
|
/**
|
|
1594
|
-
* Visit a parse tree produced by the `
|
|
1595
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1607
|
+
* Visit a parse tree produced by the `setPath`
|
|
1608
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1596
1609
|
* @param ctx the parse tree
|
|
1597
1610
|
* @return the visitor result
|
|
1598
1611
|
*/
|
|
1599
|
-
|
|
1612
|
+
visitSetPath?: (ctx: SetPathContext) => Result;
|
|
1600
1613
|
/**
|
|
1601
|
-
* Visit a parse tree produced by the `
|
|
1602
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1614
|
+
* Visit a parse tree produced by the `setTimeZone`
|
|
1615
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1603
1616
|
* @param ctx the parse tree
|
|
1604
1617
|
* @return the visitor result
|
|
1605
1618
|
*/
|
|
1606
|
-
|
|
1619
|
+
visitSetTimeZone?: (ctx: SetTimeZoneContext) => Result;
|
|
1607
1620
|
/**
|
|
1608
|
-
* Visit a parse tree produced by the `
|
|
1609
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1621
|
+
* Visit a parse tree produced by the `update`
|
|
1622
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1610
1623
|
* @param ctx the parse tree
|
|
1611
1624
|
* @return the visitor result
|
|
1612
1625
|
*/
|
|
1613
|
-
|
|
1626
|
+
visitUpdate?: (ctx: UpdateContext) => Result;
|
|
1614
1627
|
/**
|
|
1615
|
-
* Visit a parse tree produced by the `
|
|
1616
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1628
|
+
* Visit a parse tree produced by the `merge`
|
|
1629
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1617
1630
|
* @param ctx the parse tree
|
|
1618
1631
|
* @return the visitor result
|
|
1619
1632
|
*/
|
|
1620
|
-
|
|
1633
|
+
visitMerge?: (ctx: MergeContext) => Result;
|
|
1621
1634
|
/**
|
|
1622
|
-
* Visit a parse tree produced by the `
|
|
1623
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1635
|
+
* Visit a parse tree produced by the `showTableComment`
|
|
1636
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1624
1637
|
* @param ctx the parse tree
|
|
1625
1638
|
* @return the visitor result
|
|
1626
1639
|
*/
|
|
1627
|
-
|
|
1640
|
+
visitShowTableComment?: (ctx: ShowTableCommentContext) => Result;
|
|
1628
1641
|
/**
|
|
1629
|
-
* Visit a parse tree produced by the `
|
|
1630
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1642
|
+
* Visit a parse tree produced by the `showColumnComment`
|
|
1643
|
+
* labeled alternative in `TrinoSqlParser.statement`.
|
|
1631
1644
|
* @param ctx the parse tree
|
|
1632
1645
|
* @return the visitor result
|
|
1633
1646
|
*/
|
|
1634
|
-
|
|
1647
|
+
visitShowColumnComment?: (ctx: ShowColumnCommentContext) => Result;
|
|
1635
1648
|
/**
|
|
1636
|
-
* Visit a parse tree produced by the `
|
|
1637
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1649
|
+
* Visit a parse tree produced by the `timeZoneInterval`
|
|
1650
|
+
* labeled alternative in `TrinoSqlParser.timeZoneSpecifier`.
|
|
1638
1651
|
* @param ctx the parse tree
|
|
1639
1652
|
* @return the visitor result
|
|
1640
1653
|
*/
|
|
1641
|
-
|
|
1654
|
+
visitTimeZoneInterval?: (ctx: TimeZoneIntervalContext) => Result;
|
|
1642
1655
|
/**
|
|
1643
|
-
* Visit a parse tree produced by the `
|
|
1644
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1656
|
+
* Visit a parse tree produced by the `timeZoneString`
|
|
1657
|
+
* labeled alternative in `TrinoSqlParser.timeZoneSpecifier`.
|
|
1645
1658
|
* @param ctx the parse tree
|
|
1646
1659
|
* @return the visitor result
|
|
1647
1660
|
*/
|
|
1648
|
-
|
|
1661
|
+
visitTimeZoneString?: (ctx: TimeZoneStringContext) => Result;
|
|
1649
1662
|
/**
|
|
1650
|
-
* Visit a parse tree produced by the `
|
|
1651
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1663
|
+
* Visit a parse tree produced by the `isolationLevel`
|
|
1664
|
+
* labeled alternative in `TrinoSqlParser.transactionMode`.
|
|
1652
1665
|
* @param ctx the parse tree
|
|
1653
1666
|
* @return the visitor result
|
|
1654
1667
|
*/
|
|
1655
|
-
|
|
1668
|
+
visitIsolationLevel?: (ctx: IsolationLevelContext) => Result;
|
|
1656
1669
|
/**
|
|
1657
|
-
* Visit a parse tree produced by the `
|
|
1658
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1670
|
+
* Visit a parse tree produced by the `transactionAccessMode`
|
|
1671
|
+
* labeled alternative in `TrinoSqlParser.transactionMode`.
|
|
1659
1672
|
* @param ctx the parse tree
|
|
1660
1673
|
* @return the visitor result
|
|
1661
1674
|
*/
|
|
1662
|
-
|
|
1675
|
+
visitTransactionAccessMode?: (ctx: TransactionAccessModeContext) => Result;
|
|
1663
1676
|
/**
|
|
1664
|
-
* Visit a parse tree produced by the `
|
|
1665
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1677
|
+
* Visit a parse tree produced by the `predicated`
|
|
1678
|
+
* labeled alternative in `TrinoSqlParser.booleanExpression`.
|
|
1666
1679
|
* @param ctx the parse tree
|
|
1667
1680
|
* @return the visitor result
|
|
1668
1681
|
*/
|
|
1669
|
-
|
|
1682
|
+
visitPredicated?: (ctx: PredicatedContext) => Result;
|
|
1670
1683
|
/**
|
|
1671
|
-
* Visit a parse tree produced by the `
|
|
1672
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1684
|
+
* Visit a parse tree produced by the `logicalNot`
|
|
1685
|
+
* labeled alternative in `TrinoSqlParser.booleanExpression`.
|
|
1673
1686
|
* @param ctx the parse tree
|
|
1674
1687
|
* @return the visitor result
|
|
1675
1688
|
*/
|
|
1676
|
-
|
|
1689
|
+
visitLogicalNot?: (ctx: LogicalNotContext) => Result;
|
|
1677
1690
|
/**
|
|
1678
|
-
* Visit a parse tree produced by the `
|
|
1679
|
-
* labeled alternative in `TrinoSqlParser.
|
|
1691
|
+
* Visit a parse tree produced by the `logicalBinary`
|
|
1692
|
+
* labeled alternative in `TrinoSqlParser.booleanExpression`.
|
|
1680
1693
|
* @param ctx the parse tree
|
|
1681
1694
|
* @return the visitor result
|
|
1682
1695
|
*/
|
|
1683
|
-
|
|
1696
|
+
visitLogicalBinary?: (ctx: LogicalBinaryContext) => Result;
|
|
1684
1697
|
/**
|
|
1685
1698
|
* Visit a parse tree produced by `TrinoSqlParser.program`.
|
|
1686
1699
|
* @param ctx the parse tree
|
|
@@ -2179,6 +2192,84 @@ export interface TrinoSqlVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
2179
2192
|
* @return the visitor result
|
|
2180
2193
|
*/
|
|
2181
2194
|
visitPrivilege?: (ctx: PrivilegeContext) => Result;
|
|
2195
|
+
/**
|
|
2196
|
+
* Visit a parse tree produced by `TrinoSqlParser.tableOrViewName`.
|
|
2197
|
+
* @param ctx the parse tree
|
|
2198
|
+
* @return the visitor result
|
|
2199
|
+
*/
|
|
2200
|
+
visitTableOrViewName?: (ctx: TableOrViewNameContext) => Result;
|
|
2201
|
+
/**
|
|
2202
|
+
* Visit a parse tree produced by `TrinoSqlParser.tableName`.
|
|
2203
|
+
* @param ctx the parse tree
|
|
2204
|
+
* @return the visitor result
|
|
2205
|
+
*/
|
|
2206
|
+
visitTableName?: (ctx: TableNameContext) => Result;
|
|
2207
|
+
/**
|
|
2208
|
+
* Visit a parse tree produced by `TrinoSqlParser.tableNameCreate`.
|
|
2209
|
+
* @param ctx the parse tree
|
|
2210
|
+
* @return the visitor result
|
|
2211
|
+
*/
|
|
2212
|
+
visitTableNameCreate?: (ctx: TableNameCreateContext) => Result;
|
|
2213
|
+
/**
|
|
2214
|
+
* Visit a parse tree produced by `TrinoSqlParser.viewName`.
|
|
2215
|
+
* @param ctx the parse tree
|
|
2216
|
+
* @return the visitor result
|
|
2217
|
+
*/
|
|
2218
|
+
visitViewName?: (ctx: ViewNameContext) => Result;
|
|
2219
|
+
/**
|
|
2220
|
+
* Visit a parse tree produced by `TrinoSqlParser.viewNameCreate`.
|
|
2221
|
+
* @param ctx the parse tree
|
|
2222
|
+
* @return the visitor result
|
|
2223
|
+
*/
|
|
2224
|
+
visitViewNameCreate?: (ctx: ViewNameCreateContext) => Result;
|
|
2225
|
+
/**
|
|
2226
|
+
* Visit a parse tree produced by `TrinoSqlParser.tablePath`.
|
|
2227
|
+
* @param ctx the parse tree
|
|
2228
|
+
* @return the visitor result
|
|
2229
|
+
*/
|
|
2230
|
+
visitTablePath?: (ctx: TablePathContext) => Result;
|
|
2231
|
+
/**
|
|
2232
|
+
* Visit a parse tree produced by `TrinoSqlParser.viewPath`.
|
|
2233
|
+
* @param ctx the parse tree
|
|
2234
|
+
* @return the visitor result
|
|
2235
|
+
*/
|
|
2236
|
+
visitViewPath?: (ctx: ViewPathContext) => Result;
|
|
2237
|
+
/**
|
|
2238
|
+
* Visit a parse tree produced by `TrinoSqlParser.schemaName`.
|
|
2239
|
+
* @param ctx the parse tree
|
|
2240
|
+
* @return the visitor result
|
|
2241
|
+
*/
|
|
2242
|
+
visitSchemaName?: (ctx: SchemaNameContext) => Result;
|
|
2243
|
+
/**
|
|
2244
|
+
* Visit a parse tree produced by `TrinoSqlParser.schemaNameCreate`.
|
|
2245
|
+
* @param ctx the parse tree
|
|
2246
|
+
* @return the visitor result
|
|
2247
|
+
*/
|
|
2248
|
+
visitSchemaNameCreate?: (ctx: SchemaNameCreateContext) => Result;
|
|
2249
|
+
/**
|
|
2250
|
+
* Visit a parse tree produced by `TrinoSqlParser.schemaPath`.
|
|
2251
|
+
* @param ctx the parse tree
|
|
2252
|
+
* @return the visitor result
|
|
2253
|
+
*/
|
|
2254
|
+
visitSchemaPath?: (ctx: SchemaPathContext) => Result;
|
|
2255
|
+
/**
|
|
2256
|
+
* Visit a parse tree produced by `TrinoSqlParser.catalogName`.
|
|
2257
|
+
* @param ctx the parse tree
|
|
2258
|
+
* @return the visitor result
|
|
2259
|
+
*/
|
|
2260
|
+
visitCatalogName?: (ctx: CatalogNameContext) => Result;
|
|
2261
|
+
/**
|
|
2262
|
+
* Visit a parse tree produced by `TrinoSqlParser.catalogNameCreate`.
|
|
2263
|
+
* @param ctx the parse tree
|
|
2264
|
+
* @return the visitor result
|
|
2265
|
+
*/
|
|
2266
|
+
visitCatalogNameCreate?: (ctx: CatalogNameCreateContext) => Result;
|
|
2267
|
+
/**
|
|
2268
|
+
* Visit a parse tree produced by `TrinoSqlParser.functionName`.
|
|
2269
|
+
* @param ctx the parse tree
|
|
2270
|
+
* @return the visitor result
|
|
2271
|
+
*/
|
|
2272
|
+
visitFunctionName?: (ctx: FunctionNameContext) => Result;
|
|
2182
2273
|
/**
|
|
2183
2274
|
* Visit a parse tree produced by `TrinoSqlParser.qualifiedName`.
|
|
2184
2275
|
* @param ctx the parse tree
|