@hamelin.sh/compiler 0.1.32 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/main.d.ts +222 -192
  2. package/dist/main.js +4826 -4628
  3. package/package.json +1 -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
- interface ContextualTranslationErrors {
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 ROWS_COMMAND = 17;
189
- static readonly MATCH_COMMAND = 18;
190
- static readonly AS = 19;
191
- static readonly NODROP = 20;
192
- static readonly PLUS = 21;
193
- static readonly MINUS = 22;
194
- static readonly ASTERISK = 23;
195
- static readonly SLASH = 24;
196
- static readonly PERCENT = 25;
197
- static readonly LCURLY = 26;
198
- static readonly RCURLY = 27;
199
- static readonly COLON = 28;
200
- static readonly QUESTIONMARK = 29;
201
- static readonly EQ = 30;
202
- static readonly NEQ = 31;
203
- static readonly LT = 32;
204
- static readonly LTE = 33;
205
- static readonly GT = 34;
206
- static readonly GTE = 35;
207
- static readonly RANGE = 36;
208
- static readonly ASSIGN = 37;
209
- static readonly AND = 38;
210
- static readonly FALSE = 39;
211
- static readonly IS = 40;
212
- static readonly NOT = 41;
213
- static readonly ISNOT = 42;
214
- static readonly IN = 43;
215
- static readonly NULL = 44;
216
- static readonly OR = 45;
217
- static readonly TRUE = 46;
218
- static readonly UESCAPE = 47;
219
- static readonly WITH = 48;
220
- static readonly BY = 49;
221
- static readonly SORT = 50;
222
- static readonly ASC = 51;
223
- static readonly DESC = 52;
224
- static readonly DISTINCT_BY = 53;
225
- static readonly ON = 54;
226
- static readonly WHEN = 55;
227
- static readonly COMMA = 56;
228
- static readonly PIPE = 57;
229
- static readonly LPARENS = 58;
230
- static readonly RPARENS = 59;
231
- static readonly DOT = 60;
232
- static readonly LBRACKET = 61;
233
- static readonly RBRACKET = 62;
234
- static readonly SINGLE_QUOTED_STRING = 63;
235
- static readonly DOUBLE_QUOTED_STRING = 64;
236
- static readonly SINGLE_QUOTED_UNICODE_STRING = 65;
237
- static readonly DOUBLE_QUOTED_UNICODE_STRING = 66;
238
- static readonly BINARY_LITERAL = 67;
239
- static readonly NANOSECOND_INTERVAL = 68;
240
- static readonly MICROSECOND_INTERVAL = 69;
241
- static readonly MILLISECOND_INTERVAL = 70;
242
- static readonly SECOND_INTERVAL = 71;
243
- static readonly MINUTE_INTERVAL = 72;
244
- static readonly HOUR_INTERVAL = 73;
245
- static readonly DAY_INTERVAL = 74;
246
- static readonly WEEK_INTERVAL = 75;
247
- static readonly MONTH_INTERVAL = 76;
248
- static readonly QUARTER_INTERVAL = 77;
249
- static readonly YEAR_INTERVAL = 78;
250
- static readonly ROWS_LITERAL = 79;
251
- static readonly SECOND_TRUNC = 80;
252
- static readonly MINUTE_TRUNC = 81;
253
- static readonly HOUR_TRUNC = 82;
254
- static readonly DAY_TRUNC = 83;
255
- static readonly WEEK_TRUNC = 84;
256
- static readonly MONTH_TRUNC = 85;
257
- static readonly QUARTER_TRUNC = 86;
258
- static readonly YEAR_TRUNC = 87;
259
- static readonly INTEGER_VALUE = 88;
260
- static readonly DECIMAL_VALUE = 89;
261
- static readonly DOUBLE_VALUE = 90;
262
- static readonly IDENTIFIER = 91;
263
- static readonly BACKQUOTED_IDENTIFIER = 92;
264
- static readonly SIMPLE_COMMENT = 93;
265
- static readonly BRACKETED_COMMENT = 94;
266
- static readonly WS = 95;
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 ROWS_COMMAND = 17;
885
- static readonly MATCH_COMMAND = 18;
886
- static readonly AS = 19;
887
- static readonly NODROP = 20;
888
- static readonly PLUS = 21;
889
- static readonly MINUS = 22;
890
- static readonly ASTERISK = 23;
891
- static readonly SLASH = 24;
892
- static readonly PERCENT = 25;
893
- static readonly LCURLY = 26;
894
- static readonly RCURLY = 27;
895
- static readonly COLON = 28;
896
- static readonly QUESTIONMARK = 29;
897
- static readonly EQ = 30;
898
- static readonly NEQ = 31;
899
- static readonly LT = 32;
900
- static readonly LTE = 33;
901
- static readonly GT = 34;
902
- static readonly GTE = 35;
903
- static readonly RANGE = 36;
904
- static readonly ASSIGN = 37;
905
- static readonly AND = 38;
906
- static readonly FALSE = 39;
907
- static readonly IS = 40;
908
- static readonly NOT = 41;
909
- static readonly ISNOT = 42;
910
- static readonly IN = 43;
911
- static readonly NULL = 44;
912
- static readonly OR = 45;
913
- static readonly TRUE = 46;
914
- static readonly UESCAPE = 47;
915
- static readonly WITH = 48;
916
- static readonly BY = 49;
917
- static readonly SORT = 50;
918
- static readonly ASC = 51;
919
- static readonly DESC = 52;
920
- static readonly DISTINCT_BY = 53;
921
- static readonly ON = 54;
922
- static readonly WHEN = 55;
923
- static readonly COMMA = 56;
924
- static readonly PIPE = 57;
925
- static readonly LPARENS = 58;
926
- static readonly RPARENS = 59;
927
- static readonly DOT = 60;
928
- static readonly LBRACKET = 61;
929
- static readonly RBRACKET = 62;
930
- static readonly SINGLE_QUOTED_STRING = 63;
931
- static readonly DOUBLE_QUOTED_STRING = 64;
932
- static readonly SINGLE_QUOTED_UNICODE_STRING = 65;
933
- static readonly DOUBLE_QUOTED_UNICODE_STRING = 66;
934
- static readonly BINARY_LITERAL = 67;
935
- static readonly NANOSECOND_INTERVAL = 68;
936
- static readonly MICROSECOND_INTERVAL = 69;
937
- static readonly MILLISECOND_INTERVAL = 70;
938
- static readonly SECOND_INTERVAL = 71;
939
- static readonly MINUTE_INTERVAL = 72;
940
- static readonly HOUR_INTERVAL = 73;
941
- static readonly DAY_INTERVAL = 74;
942
- static readonly WEEK_INTERVAL = 75;
943
- static readonly MONTH_INTERVAL = 76;
944
- static readonly QUARTER_INTERVAL = 77;
945
- static readonly YEAR_INTERVAL = 78;
946
- static readonly ROWS_LITERAL = 79;
947
- static readonly SECOND_TRUNC = 80;
948
- static readonly MINUTE_TRUNC = 81;
949
- static readonly HOUR_TRUNC = 82;
950
- static readonly DAY_TRUNC = 83;
951
- static readonly WEEK_TRUNC = 84;
952
- static readonly MONTH_TRUNC = 85;
953
- static readonly QUARTER_TRUNC = 86;
954
- static readonly YEAR_TRUNC = 87;
955
- static readonly INTEGER_VALUE = 88;
956
- static readonly DECIMAL_VALUE = 89;
957
- static readonly DOUBLE_VALUE = 90;
958
- static readonly IDENTIFIER = 91;
959
- static readonly BACKQUOTED_IDENTIFIER = 92;
960
- static readonly SIMPLE_COMMENT = 93;
961
- static readonly BRACKETED_COMMENT = 94;
962
- static readonly WS = 95;
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 };