@hamelin.sh/compiler 0.1.32-prerelease.20250606T185046 → 0.1.33-prerelease.20250614T203406
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/dist/main.d.ts +222 -192
- package/dist/main.js +4826 -4628
- package/package.json +2 -1
package/dist/main.d.ts
CHANGED
|
@@ -12,6 +12,38 @@ interface FunctionDescription {
|
|
|
12
12
|
parameters: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
interface ContextualTranslationErrors {
|
|
16
|
+
hamelin: string;
|
|
17
|
+
errors: ContextualTranslationError[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type TranslationErrors = TranslationError[];
|
|
21
|
+
|
|
22
|
+
interface Context {
|
|
23
|
+
interval: { start: number; end: number };
|
|
24
|
+
message: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface ContextualTranslationError {
|
|
28
|
+
error: TranslationError;
|
|
29
|
+
pretty: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface TranslationError {
|
|
33
|
+
area: LanguageArea | undefined;
|
|
34
|
+
stage: Stage;
|
|
35
|
+
level: Level;
|
|
36
|
+
primary: Context;
|
|
37
|
+
supporting: Context[] | undefined;
|
|
38
|
+
source_desc: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type Stage = "Translation" | "Parsing" | "SemanticAnalysis";
|
|
42
|
+
|
|
43
|
+
type LanguageArea = "FunctionCall" | "Operator" | "Deref" | "IndexAccess" | "Parsing";
|
|
44
|
+
|
|
45
|
+
type Level = "Error" | "Warning" | "Info";
|
|
46
|
+
|
|
15
47
|
interface ContextualResult {
|
|
16
48
|
hamelin: string;
|
|
17
49
|
errors: ContextualTranslationError[];
|
|
@@ -56,6 +88,7 @@ interface CompletionItem {
|
|
|
56
88
|
|
|
57
89
|
interface Completion {
|
|
58
90
|
at: { start: number; end: number };
|
|
91
|
+
filter: boolean | undefined;
|
|
59
92
|
items: CompletionItem[];
|
|
60
93
|
}
|
|
61
94
|
|
|
@@ -64,39 +97,7 @@ interface Translation {
|
|
|
64
97
|
columns: Column[];
|
|
65
98
|
}
|
|
66
99
|
|
|
67
|
-
|
|
68
|
-
hamelin: string;
|
|
69
|
-
errors: ContextualTranslationError[];
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
type TranslationErrors = TranslationError[];
|
|
73
|
-
|
|
74
|
-
interface Context {
|
|
75
|
-
interval: { start: number; end: number } | undefined;
|
|
76
|
-
message: string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface ContextualTranslationError {
|
|
80
|
-
error: TranslationError;
|
|
81
|
-
pretty: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface TranslationError {
|
|
85
|
-
area: LanguageArea | undefined;
|
|
86
|
-
stage: Stage;
|
|
87
|
-
level: Level;
|
|
88
|
-
primary: Context;
|
|
89
|
-
supporting: Context[] | undefined;
|
|
90
|
-
source_desc: string | undefined;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type Stage = "Translation" | "Parsing" | "SemanticAnalysis";
|
|
94
|
-
|
|
95
|
-
type LanguageArea = "FunctionCall" | "Operator" | "Deref" | "IndexAccess" | "Parsing";
|
|
96
|
-
|
|
97
|
-
type Level = "Error" | "Warning" | "Info";
|
|
98
|
-
|
|
99
|
-
type HamelinType = "binary" | "boolean" | "interval" | "int" | "double" | "rows" | "string" | "timestamp" | "unknown" | { decimal: { precision: number; scale: number } } | { array: { element_type: HamelinType } } | { map: { key_type: HamelinType; value_type: HamelinType } } | { tuple: { elements: HamelinType[] } } | "variant" | { range: { of: HamelinType } } | { struct: Column[] };
|
|
100
|
+
type HamelinType = "binary" | "boolean" | "interval" | "calendarinterval" | "int" | "double" | "rows" | "string" | "timestamp" | "unknown" | { decimal: { precision: number; scale: number } } | { array: { element_type: HamelinType } } | { map: { key_type: HamelinType; value_type: HamelinType } } | { tuple: { elements: HamelinType[] } } | "variant" | { range: { of: HamelinType } } | { struct: Column[] };
|
|
100
101
|
|
|
101
102
|
interface Column {
|
|
102
103
|
name: string;
|
|
@@ -185,85 +186,86 @@ declare class HamelinLexer extends antlr.Lexer {
|
|
|
185
186
|
static readonly LOOKUP_COMMAND = 14;
|
|
186
187
|
static readonly EXPLODE_COMMAND = 15;
|
|
187
188
|
static readonly UNNEST_COMMAND = 16;
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
189
|
+
static readonly NEST_COMMAND = 17;
|
|
190
|
+
static readonly ROWS_COMMAND = 18;
|
|
191
|
+
static readonly MATCH_COMMAND = 19;
|
|
192
|
+
static readonly AS = 20;
|
|
193
|
+
static readonly NODROP = 21;
|
|
194
|
+
static readonly PLUS = 22;
|
|
195
|
+
static readonly MINUS = 23;
|
|
196
|
+
static readonly ASTERISK = 24;
|
|
197
|
+
static readonly SLASH = 25;
|
|
198
|
+
static readonly PERCENT = 26;
|
|
199
|
+
static readonly LCURLY = 27;
|
|
200
|
+
static readonly RCURLY = 28;
|
|
201
|
+
static readonly COLON = 29;
|
|
202
|
+
static readonly QUESTIONMARK = 30;
|
|
203
|
+
static readonly EQ = 31;
|
|
204
|
+
static readonly NEQ = 32;
|
|
205
|
+
static readonly LT = 33;
|
|
206
|
+
static readonly LTE = 34;
|
|
207
|
+
static readonly GT = 35;
|
|
208
|
+
static readonly GTE = 36;
|
|
209
|
+
static readonly RANGE = 37;
|
|
210
|
+
static readonly ASSIGN = 38;
|
|
211
|
+
static readonly AND = 39;
|
|
212
|
+
static readonly FALSE = 40;
|
|
213
|
+
static readonly IS = 41;
|
|
214
|
+
static readonly NOT = 42;
|
|
215
|
+
static readonly ISNOT = 43;
|
|
216
|
+
static readonly IN = 44;
|
|
217
|
+
static readonly NULL = 45;
|
|
218
|
+
static readonly OR = 46;
|
|
219
|
+
static readonly TRUE = 47;
|
|
220
|
+
static readonly UESCAPE = 48;
|
|
221
|
+
static readonly WITH = 49;
|
|
222
|
+
static readonly BY = 50;
|
|
223
|
+
static readonly SORT = 51;
|
|
224
|
+
static readonly ASC = 52;
|
|
225
|
+
static readonly DESC = 53;
|
|
226
|
+
static readonly DISTINCT_BY = 54;
|
|
227
|
+
static readonly ON = 55;
|
|
228
|
+
static readonly WHEN = 56;
|
|
229
|
+
static readonly COMMA = 57;
|
|
230
|
+
static readonly PIPE = 58;
|
|
231
|
+
static readonly LPARENS = 59;
|
|
232
|
+
static readonly RPARENS = 60;
|
|
233
|
+
static readonly DOT = 61;
|
|
234
|
+
static readonly LBRACKET = 62;
|
|
235
|
+
static readonly RBRACKET = 63;
|
|
236
|
+
static readonly SINGLE_QUOTED_STRING = 64;
|
|
237
|
+
static readonly DOUBLE_QUOTED_STRING = 65;
|
|
238
|
+
static readonly SINGLE_QUOTED_UNICODE_STRING = 66;
|
|
239
|
+
static readonly DOUBLE_QUOTED_UNICODE_STRING = 67;
|
|
240
|
+
static readonly BINARY_LITERAL = 68;
|
|
241
|
+
static readonly NANOSECOND_INTERVAL = 69;
|
|
242
|
+
static readonly MICROSECOND_INTERVAL = 70;
|
|
243
|
+
static readonly MILLISECOND_INTERVAL = 71;
|
|
244
|
+
static readonly SECOND_INTERVAL = 72;
|
|
245
|
+
static readonly MINUTE_INTERVAL = 73;
|
|
246
|
+
static readonly HOUR_INTERVAL = 74;
|
|
247
|
+
static readonly DAY_INTERVAL = 75;
|
|
248
|
+
static readonly WEEK_INTERVAL = 76;
|
|
249
|
+
static readonly MONTH_INTERVAL = 77;
|
|
250
|
+
static readonly QUARTER_INTERVAL = 78;
|
|
251
|
+
static readonly YEAR_INTERVAL = 79;
|
|
252
|
+
static readonly ROWS_LITERAL = 80;
|
|
253
|
+
static readonly SECOND_TRUNC = 81;
|
|
254
|
+
static readonly MINUTE_TRUNC = 82;
|
|
255
|
+
static readonly HOUR_TRUNC = 83;
|
|
256
|
+
static readonly DAY_TRUNC = 84;
|
|
257
|
+
static readonly WEEK_TRUNC = 85;
|
|
258
|
+
static readonly MONTH_TRUNC = 86;
|
|
259
|
+
static readonly QUARTER_TRUNC = 87;
|
|
260
|
+
static readonly YEAR_TRUNC = 88;
|
|
261
|
+
static readonly INTEGER_VALUE = 89;
|
|
262
|
+
static readonly DECIMAL_VALUE = 90;
|
|
263
|
+
static readonly DOUBLE_VALUE = 91;
|
|
264
|
+
static readonly IDENTIFIER = 92;
|
|
265
|
+
static readonly BACKQUOTED_IDENTIFIER = 93;
|
|
266
|
+
static readonly SIMPLE_COMMENT = 94;
|
|
267
|
+
static readonly BRACKETED_COMMENT = 95;
|
|
268
|
+
static readonly WS = 96;
|
|
267
269
|
static readonly channelNames: string[];
|
|
268
270
|
static readonly literalNames: (string | null)[];
|
|
269
271
|
static readonly symbolicNames: (string | null)[];
|
|
@@ -476,6 +478,13 @@ declare class HamelinVisitor<Result> extends AbstractParseTreeVisitor<Result> {
|
|
|
476
478
|
* @return the visitor result
|
|
477
479
|
*/
|
|
478
480
|
visitUnnestCommand?: (ctx: UnnestCommandContext) => Result;
|
|
481
|
+
/**
|
|
482
|
+
* Visit a parse tree produced by the `nestCommand`
|
|
483
|
+
* labeled alternative in `HamelinParser.command`.
|
|
484
|
+
* @param ctx the parse tree
|
|
485
|
+
* @return the visitor result
|
|
486
|
+
*/
|
|
487
|
+
visitNestCommand?: (ctx: NestCommandContext) => Result;
|
|
479
488
|
/**
|
|
480
489
|
* Visit a parse tree produced by the `matchCommand`
|
|
481
490
|
* labeled alternative in `HamelinParser.command`.
|
|
@@ -881,85 +890,86 @@ declare class HamelinParser extends antlr.Parser {
|
|
|
881
890
|
static readonly LOOKUP_COMMAND = 14;
|
|
882
891
|
static readonly EXPLODE_COMMAND = 15;
|
|
883
892
|
static readonly UNNEST_COMMAND = 16;
|
|
884
|
-
static readonly
|
|
885
|
-
static readonly
|
|
886
|
-
static readonly
|
|
887
|
-
static readonly
|
|
888
|
-
static readonly
|
|
889
|
-
static readonly
|
|
890
|
-
static readonly
|
|
891
|
-
static readonly
|
|
892
|
-
static readonly
|
|
893
|
-
static readonly
|
|
894
|
-
static readonly
|
|
895
|
-
static readonly
|
|
896
|
-
static readonly
|
|
897
|
-
static readonly
|
|
898
|
-
static readonly
|
|
899
|
-
static readonly
|
|
900
|
-
static readonly
|
|
901
|
-
static readonly
|
|
902
|
-
static readonly
|
|
903
|
-
static readonly
|
|
904
|
-
static readonly
|
|
905
|
-
static readonly
|
|
906
|
-
static readonly
|
|
907
|
-
static readonly
|
|
908
|
-
static readonly
|
|
909
|
-
static readonly
|
|
910
|
-
static readonly
|
|
911
|
-
static readonly
|
|
912
|
-
static readonly
|
|
913
|
-
static readonly
|
|
914
|
-
static readonly
|
|
915
|
-
static readonly
|
|
916
|
-
static readonly
|
|
917
|
-
static readonly
|
|
918
|
-
static readonly
|
|
919
|
-
static readonly
|
|
920
|
-
static readonly
|
|
921
|
-
static readonly
|
|
922
|
-
static readonly
|
|
923
|
-
static readonly
|
|
924
|
-
static readonly
|
|
925
|
-
static readonly
|
|
926
|
-
static readonly
|
|
927
|
-
static readonly
|
|
928
|
-
static readonly
|
|
929
|
-
static readonly
|
|
930
|
-
static readonly
|
|
931
|
-
static readonly
|
|
932
|
-
static readonly
|
|
933
|
-
static readonly
|
|
934
|
-
static readonly
|
|
935
|
-
static readonly
|
|
936
|
-
static readonly
|
|
937
|
-
static readonly
|
|
938
|
-
static readonly
|
|
939
|
-
static readonly
|
|
940
|
-
static readonly
|
|
941
|
-
static readonly
|
|
942
|
-
static readonly
|
|
943
|
-
static readonly
|
|
944
|
-
static readonly
|
|
945
|
-
static readonly
|
|
946
|
-
static readonly
|
|
947
|
-
static readonly
|
|
948
|
-
static readonly
|
|
949
|
-
static readonly
|
|
950
|
-
static readonly
|
|
951
|
-
static readonly
|
|
952
|
-
static readonly
|
|
953
|
-
static readonly
|
|
954
|
-
static readonly
|
|
955
|
-
static readonly
|
|
956
|
-
static readonly
|
|
957
|
-
static readonly
|
|
958
|
-
static readonly
|
|
959
|
-
static readonly
|
|
960
|
-
static readonly
|
|
961
|
-
static readonly
|
|
962
|
-
static readonly
|
|
893
|
+
static readonly NEST_COMMAND = 17;
|
|
894
|
+
static readonly ROWS_COMMAND = 18;
|
|
895
|
+
static readonly MATCH_COMMAND = 19;
|
|
896
|
+
static readonly AS = 20;
|
|
897
|
+
static readonly NODROP = 21;
|
|
898
|
+
static readonly PLUS = 22;
|
|
899
|
+
static readonly MINUS = 23;
|
|
900
|
+
static readonly ASTERISK = 24;
|
|
901
|
+
static readonly SLASH = 25;
|
|
902
|
+
static readonly PERCENT = 26;
|
|
903
|
+
static readonly LCURLY = 27;
|
|
904
|
+
static readonly RCURLY = 28;
|
|
905
|
+
static readonly COLON = 29;
|
|
906
|
+
static readonly QUESTIONMARK = 30;
|
|
907
|
+
static readonly EQ = 31;
|
|
908
|
+
static readonly NEQ = 32;
|
|
909
|
+
static readonly LT = 33;
|
|
910
|
+
static readonly LTE = 34;
|
|
911
|
+
static readonly GT = 35;
|
|
912
|
+
static readonly GTE = 36;
|
|
913
|
+
static readonly RANGE = 37;
|
|
914
|
+
static readonly ASSIGN = 38;
|
|
915
|
+
static readonly AND = 39;
|
|
916
|
+
static readonly FALSE = 40;
|
|
917
|
+
static readonly IS = 41;
|
|
918
|
+
static readonly NOT = 42;
|
|
919
|
+
static readonly ISNOT = 43;
|
|
920
|
+
static readonly IN = 44;
|
|
921
|
+
static readonly NULL = 45;
|
|
922
|
+
static readonly OR = 46;
|
|
923
|
+
static readonly TRUE = 47;
|
|
924
|
+
static readonly UESCAPE = 48;
|
|
925
|
+
static readonly WITH = 49;
|
|
926
|
+
static readonly BY = 50;
|
|
927
|
+
static readonly SORT = 51;
|
|
928
|
+
static readonly ASC = 52;
|
|
929
|
+
static readonly DESC = 53;
|
|
930
|
+
static readonly DISTINCT_BY = 54;
|
|
931
|
+
static readonly ON = 55;
|
|
932
|
+
static readonly WHEN = 56;
|
|
933
|
+
static readonly COMMA = 57;
|
|
934
|
+
static readonly PIPE = 58;
|
|
935
|
+
static readonly LPARENS = 59;
|
|
936
|
+
static readonly RPARENS = 60;
|
|
937
|
+
static readonly DOT = 61;
|
|
938
|
+
static readonly LBRACKET = 62;
|
|
939
|
+
static readonly RBRACKET = 63;
|
|
940
|
+
static readonly SINGLE_QUOTED_STRING = 64;
|
|
941
|
+
static readonly DOUBLE_QUOTED_STRING = 65;
|
|
942
|
+
static readonly SINGLE_QUOTED_UNICODE_STRING = 66;
|
|
943
|
+
static readonly DOUBLE_QUOTED_UNICODE_STRING = 67;
|
|
944
|
+
static readonly BINARY_LITERAL = 68;
|
|
945
|
+
static readonly NANOSECOND_INTERVAL = 69;
|
|
946
|
+
static readonly MICROSECOND_INTERVAL = 70;
|
|
947
|
+
static readonly MILLISECOND_INTERVAL = 71;
|
|
948
|
+
static readonly SECOND_INTERVAL = 72;
|
|
949
|
+
static readonly MINUTE_INTERVAL = 73;
|
|
950
|
+
static readonly HOUR_INTERVAL = 74;
|
|
951
|
+
static readonly DAY_INTERVAL = 75;
|
|
952
|
+
static readonly WEEK_INTERVAL = 76;
|
|
953
|
+
static readonly MONTH_INTERVAL = 77;
|
|
954
|
+
static readonly QUARTER_INTERVAL = 78;
|
|
955
|
+
static readonly YEAR_INTERVAL = 79;
|
|
956
|
+
static readonly ROWS_LITERAL = 80;
|
|
957
|
+
static readonly SECOND_TRUNC = 81;
|
|
958
|
+
static readonly MINUTE_TRUNC = 82;
|
|
959
|
+
static readonly HOUR_TRUNC = 83;
|
|
960
|
+
static readonly DAY_TRUNC = 84;
|
|
961
|
+
static readonly WEEK_TRUNC = 85;
|
|
962
|
+
static readonly MONTH_TRUNC = 86;
|
|
963
|
+
static readonly QUARTER_TRUNC = 87;
|
|
964
|
+
static readonly YEAR_TRUNC = 88;
|
|
965
|
+
static readonly INTEGER_VALUE = 89;
|
|
966
|
+
static readonly DECIMAL_VALUE = 90;
|
|
967
|
+
static readonly DOUBLE_VALUE = 91;
|
|
968
|
+
static readonly IDENTIFIER = 92;
|
|
969
|
+
static readonly BACKQUOTED_IDENTIFIER = 93;
|
|
970
|
+
static readonly SIMPLE_COMMENT = 94;
|
|
971
|
+
static readonly BRACKETED_COMMENT = 95;
|
|
972
|
+
static readonly WS = 96;
|
|
963
973
|
static readonly RULE_queryEOF = 0;
|
|
964
974
|
static readonly RULE_statementEOF = 1;
|
|
965
975
|
static readonly RULE_commandEOF = 2;
|
|
@@ -1277,6 +1287,14 @@ declare class AppendCommandContext extends CommandContext {
|
|
|
1277
1287
|
exitRule(listener: HamelinListener): void;
|
|
1278
1288
|
accept<Result>(visitor: HamelinVisitor<Result>): Result | null;
|
|
1279
1289
|
}
|
|
1290
|
+
declare class NestCommandContext extends CommandContext {
|
|
1291
|
+
constructor(ctx: CommandContext);
|
|
1292
|
+
NEST_COMMAND(): antlr.TerminalNode;
|
|
1293
|
+
identifier(): IdentifierContext;
|
|
1294
|
+
enterRule(listener: HamelinListener): void;
|
|
1295
|
+
exitRule(listener: HamelinListener): void;
|
|
1296
|
+
accept<Result>(visitor: HamelinVisitor<Result>): Result | null;
|
|
1297
|
+
}
|
|
1280
1298
|
declare class LetCommandContext extends CommandContext {
|
|
1281
1299
|
constructor(ctx: CommandContext);
|
|
1282
1300
|
LET_COMMAND(): antlr.TerminalNode;
|
|
@@ -2289,6 +2307,18 @@ declare class HamelinListener implements ParseTreeListener {
|
|
|
2289
2307
|
* @param ctx the parse tree
|
|
2290
2308
|
*/
|
|
2291
2309
|
exitUnnestCommand?: (ctx: UnnestCommandContext) => void;
|
|
2310
|
+
/**
|
|
2311
|
+
* Enter a parse tree produced by the `nestCommand`
|
|
2312
|
+
* labeled alternative in `HamelinParser.command`.
|
|
2313
|
+
* @param ctx the parse tree
|
|
2314
|
+
*/
|
|
2315
|
+
enterNestCommand?: (ctx: NestCommandContext) => void;
|
|
2316
|
+
/**
|
|
2317
|
+
* Exit a parse tree produced by the `nestCommand`
|
|
2318
|
+
* labeled alternative in `HamelinParser.command`.
|
|
2319
|
+
* @param ctx the parse tree
|
|
2320
|
+
*/
|
|
2321
|
+
exitNestCommand?: (ctx: NestCommandContext) => void;
|
|
2292
2322
|
/**
|
|
2293
2323
|
* Enter a parse tree produced by the `matchCommand`
|
|
2294
2324
|
* labeled alternative in `HamelinParser.command`.
|
|
@@ -2967,4 +2997,4 @@ type QuerySort = {
|
|
|
2967
2997
|
*/
|
|
2968
2998
|
declare const getSorts: (hamelinQuery: string) => QuerySort[];
|
|
2969
2999
|
|
|
2970
|
-
export { AggCommandContext, AnyNumberContext, AppendCommandContext, ArrayLiteralContext, AssignmentClauseContext, AssignmentContext, AtLeastOneContext, BackQuotedIdentifierContext, BasicDoubleQuotedStringLiteralContext, BasicSingleQuotedStringLiteralContext, BinaryLiteralContext, BinaryOperatorContext, BooleanLiteralContext, CastContext, type Catalog, CatalogProvider, type Column, ColumnReferenceAltContext, ColumnReferenceContext, CommandContext, CommandEOFContext, type CompileResult, Compiler, type Completion, type CompletionItem, type CompletionItemKind, type Context, type ContextualCompletion, type ContextualResult, type ContextualTranslationError, type ContextualTranslationErrors, DecimalLiteralContext, DerefContext, DropCommandContext, ExactlyContext, ExplodeCommandContext, ExpressionContext, ExpressionEOFContext, ExpressionStatementContext, FromClauseContext, FromCommandContext, FunctionCallContext, type FunctionDescription, GroupClauseContext, HamelinLexer, HamelinListener, HamelinParser, type HamelinType, HamelinVisitor, HamelintypeContext, IdentifierContext, IdentifierEOFContext, IndexAccessContext, type InitInput, type InitOutput, IntegerLiteralContext, IntervalLiteralContext, JoinCommandContext, type LanguageArea, LetCommandContext, type Level, LimitCommandContext, MatchCommandContext, MatchDefineContext, NamedArgumentContext, NestedContext, NullLiteralContext, NumberContext, NumericLiteralContext, PairLiteralContext, ParameterizedTypeContext, ParenthesizedExpressionContext, ParseCommandContext, PatternContext, PipelineAltContext, PipelineContext, PositionalArgumentContext, QuantifiedContext, QuantifierContext, QueryContext, QueryEOFContext, type QuerySort, QueryStatementContext, RowsLiteralContext, ScientificLiteralContext, SelectCommandContext, SelectionContext, SimpleIdentifierContext, SimpleIdentifierEOFContext, SimpleTypeContext, SortCommandContext, SortExpressionContext, type Stage, StandaloneQueryContext, StatementContext, type StatementDatasetsResult, StatementEOFContext, StringContext, StringLiteralContext, StructLiteralContext, StructTypeContext, type SyncInitInput, TableAliasContext, TableReferenceContext, type Translation, type TranslationError, type TranslationErrors, TsTruncContext, TsTruncTimestampLiteralContext, TupleLiteralContext, TupleTypeContext, TypeWithArgumentsContext, UnaryPostfixOperatorContext, UnaryPrefixOperatorContext, UnboundRangeLiteralContext, UnicodeDoubleQuotedStringLiteralContext, UnicodeSingleQuotedStringLiteralContext, UnionCommandContext, UnnestCommandContext, UnquotedIdentifierContext, WhereCommandContext, WindowCommandContext, WithQueryContext, WithinCommandContext, ZeroOrOneContext, compileHamelin, createCompiler, getDatasetsFromQuery, getFunctionDescriptions, getLimits, getSorts, initSync, sampleCatalog };
|
|
3000
|
+
export { AggCommandContext, AnyNumberContext, AppendCommandContext, ArrayLiteralContext, AssignmentClauseContext, AssignmentContext, AtLeastOneContext, BackQuotedIdentifierContext, BasicDoubleQuotedStringLiteralContext, BasicSingleQuotedStringLiteralContext, BinaryLiteralContext, BinaryOperatorContext, BooleanLiteralContext, CastContext, type Catalog, CatalogProvider, type Column, ColumnReferenceAltContext, ColumnReferenceContext, CommandContext, CommandEOFContext, type CompileResult, Compiler, type Completion, type CompletionItem, type CompletionItemKind, type Context, type ContextualCompletion, type ContextualResult, type ContextualTranslationError, type ContextualTranslationErrors, DecimalLiteralContext, DerefContext, DropCommandContext, ExactlyContext, ExplodeCommandContext, ExpressionContext, ExpressionEOFContext, ExpressionStatementContext, FromClauseContext, FromCommandContext, FunctionCallContext, type FunctionDescription, GroupClauseContext, HamelinLexer, HamelinListener, HamelinParser, type HamelinType, HamelinVisitor, HamelintypeContext, IdentifierContext, IdentifierEOFContext, IndexAccessContext, type InitInput, type InitOutput, IntegerLiteralContext, IntervalLiteralContext, JoinCommandContext, type LanguageArea, LetCommandContext, type Level, LimitCommandContext, MatchCommandContext, MatchDefineContext, NamedArgumentContext, NestCommandContext, NestedContext, NullLiteralContext, NumberContext, NumericLiteralContext, PairLiteralContext, ParameterizedTypeContext, ParenthesizedExpressionContext, ParseCommandContext, PatternContext, PipelineAltContext, PipelineContext, PositionalArgumentContext, QuantifiedContext, QuantifierContext, QueryContext, QueryEOFContext, type QuerySort, QueryStatementContext, RowsLiteralContext, ScientificLiteralContext, SelectCommandContext, SelectionContext, SimpleIdentifierContext, SimpleIdentifierEOFContext, SimpleTypeContext, SortCommandContext, SortExpressionContext, type Stage, StandaloneQueryContext, StatementContext, type StatementDatasetsResult, StatementEOFContext, StringContext, StringLiteralContext, StructLiteralContext, StructTypeContext, type SyncInitInput, TableAliasContext, TableReferenceContext, type Translation, type TranslationError, type TranslationErrors, TsTruncContext, TsTruncTimestampLiteralContext, TupleLiteralContext, TupleTypeContext, TypeWithArgumentsContext, UnaryPostfixOperatorContext, UnaryPrefixOperatorContext, UnboundRangeLiteralContext, UnicodeDoubleQuotedStringLiteralContext, UnicodeSingleQuotedStringLiteralContext, UnionCommandContext, UnnestCommandContext, UnquotedIdentifierContext, WhereCommandContext, WindowCommandContext, WithQueryContext, WithinCommandContext, ZeroOrOneContext, compileHamelin, createCompiler, getDatasetsFromQuery, getFunctionDescriptions, getLimits, getSorts, initSync, sampleCatalog };
|