@malloydata/malloy 0.0.43-dev230622180905 → 0.0.43-dev230622192152

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.
@@ -18,241 +18,251 @@ export declare class MalloyParser extends Parser {
18
18
  static readonly DECLARE = 7;
19
19
  static readonly DIMENSION = 8;
20
20
  static readonly EXCEPT = 9;
21
- static readonly GROUP_BY = 10;
22
- static readonly HAVING = 11;
23
- static readonly INDEX = 12;
24
- static readonly JOIN_CROSS = 13;
25
- static readonly JOIN_ONE = 14;
26
- static readonly JOIN_MANY = 15;
27
- static readonly LIMIT = 16;
28
- static readonly MEASURE = 17;
29
- static readonly NEST = 18;
30
- static readonly ORDER_BY = 19;
31
- static readonly PRIMARY_KEY = 20;
32
- static readonly PROJECT = 21;
33
- static readonly QUERY = 22;
34
- static readonly RENAME = 23;
35
- static readonly SAMPLE = 24;
36
- static readonly SELECT = 25;
37
- static readonly SOURCE = 26;
38
- static readonly SQL = 27;
39
- static readonly TOP = 28;
40
- static readonly WHERE = 29;
41
- static readonly TIMEZONE = 30;
42
- static readonly ALL = 31;
43
- static readonly AND = 32;
44
- static readonly AS = 33;
45
- static readonly ASC = 34;
46
- static readonly AVG = 35;
47
- static readonly BOOLEAN = 36;
48
- static readonly BY = 37;
49
- static readonly CASE = 38;
50
- static readonly CAST = 39;
51
- static readonly CONDITION = 40;
52
- static readonly COUNT = 41;
53
- static readonly DATE = 42;
54
- static readonly DAY = 43;
55
- static readonly DESC = 44;
56
- static readonly DISTINCT = 45;
57
- static readonly ELSE = 46;
58
- static readonly END = 47;
59
- static readonly EXCLUDE = 48;
60
- static readonly FALSE = 49;
61
- static readonly FOR = 50;
62
- static readonly FROM = 51;
63
- static readonly FROM_SQL = 52;
64
- static readonly HAS = 53;
65
- static readonly HOUR = 54;
66
- static readonly IMPORT = 55;
67
- static readonly IS = 56;
68
- static readonly JSON = 57;
69
- static readonly LAST = 58;
70
- static readonly MAX = 59;
71
- static readonly MIN = 60;
72
- static readonly MINUTE = 61;
73
- static readonly MONTH = 62;
74
- static readonly NOT = 63;
75
- static readonly NOW = 64;
76
- static readonly NULL = 65;
77
- static readonly NUMBER = 66;
78
- static readonly ON = 67;
79
- static readonly OR = 68;
80
- static readonly PICK = 69;
81
- static readonly QUARTER = 70;
82
- static readonly SECOND = 71;
83
- static readonly STRING = 72;
84
- static readonly SUM = 73;
85
- static readonly TABLE = 74;
86
- static readonly THEN = 75;
87
- static readonly THIS = 76;
88
- static readonly TIMESTAMP = 77;
89
- static readonly TO = 78;
90
- static readonly TRUE = 79;
91
- static readonly TURTLE = 80;
92
- static readonly WEEK = 81;
93
- static readonly WHEN = 82;
94
- static readonly WITH = 83;
95
- static readonly YEAR = 84;
96
- static readonly UNGROUPED = 85;
97
- static readonly STRING_ESCAPE = 86;
98
- static readonly HACKY_REGEX = 87;
99
- static readonly STRING_LITERAL = 88;
100
- static readonly AMPER = 89;
101
- static readonly ARROW = 90;
102
- static readonly FAT_ARROW = 91;
103
- static readonly OPAREN = 92;
104
- static readonly CPAREN = 93;
105
- static readonly OBRACK = 94;
106
- static readonly CBRACK = 95;
107
- static readonly OCURLY = 96;
108
- static readonly CCURLY = 97;
109
- static readonly DOUBLECOLON = 98;
110
- static readonly EXCLAM = 99;
111
- static readonly COLON = 100;
112
- static readonly COMMA = 101;
113
- static readonly DOT = 102;
114
- static readonly LT = 103;
115
- static readonly GT = 104;
116
- static readonly EQ = 105;
117
- static readonly NE = 106;
118
- static readonly LTE = 107;
119
- static readonly GTE = 108;
120
- static readonly PLUS = 109;
121
- static readonly MINUS = 110;
122
- static readonly STAR = 111;
123
- static readonly STARSTAR = 112;
124
- static readonly SLASH = 113;
125
- static readonly BAR = 114;
126
- static readonly SEMI = 115;
127
- static readonly NOT_MATCH = 116;
128
- static readonly MATCH = 117;
129
- static readonly PERCENT = 118;
130
- static readonly DOUBLE_QMARK = 119;
131
- static readonly QMARK = 120;
132
- static readonly LITERAL_TIMESTAMP = 121;
133
- static readonly LITERAL_HOUR = 122;
134
- static readonly LITERAL_DAY = 123;
135
- static readonly LITERAL_QUARTER = 124;
136
- static readonly LITERAL_MONTH = 125;
137
- static readonly LITERAL_WEEK = 126;
138
- static readonly LITERAL_YEAR = 127;
139
- static readonly IDENTIFIER = 128;
140
- static readonly PERCENT_LITERAL = 129;
141
- static readonly INTEGER_LITERAL = 130;
142
- static readonly NUMERIC_LITERAL = 131;
143
- static readonly OBJECT_NAME_LITERAL = 132;
144
- static readonly BLOCK_COMMENT = 133;
145
- static readonly COMMENT_TO_EOL = 134;
146
- static readonly WHITE_SPACE = 135;
147
- static readonly SQL_BEGIN = 136;
148
- static readonly CLOSE_CODE = 137;
149
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 138;
150
- static readonly UNEXPECTED_CHAR = 139;
151
- static readonly OPEN_CODE = 140;
152
- static readonly SQL_END = 141;
21
+ static readonly EXTENDQ = 10;
22
+ static readonly GROUP_BY = 11;
23
+ static readonly HAVING = 12;
24
+ static readonly INDEX = 13;
25
+ static readonly JOIN_CROSS = 14;
26
+ static readonly JOIN_ONE = 15;
27
+ static readonly JOIN_MANY = 16;
28
+ static readonly LIMIT = 17;
29
+ static readonly MEASURE = 18;
30
+ static readonly NEST = 19;
31
+ static readonly ORDER_BY = 20;
32
+ static readonly PRIMARY_KEY = 21;
33
+ static readonly PROJECT = 22;
34
+ static readonly QUERY = 23;
35
+ static readonly RENAME = 24;
36
+ static readonly RUN = 25;
37
+ static readonly SAMPLE = 26;
38
+ static readonly SELECT = 27;
39
+ static readonly SOURCE = 28;
40
+ static readonly SQL = 29;
41
+ static readonly TOP = 30;
42
+ static readonly WHERE = 31;
43
+ static readonly TIMEZONE = 32;
44
+ static readonly ALL = 33;
45
+ static readonly AND = 34;
46
+ static readonly AS = 35;
47
+ static readonly ASC = 36;
48
+ static readonly AVG = 37;
49
+ static readonly BOOLEAN = 38;
50
+ static readonly BY = 39;
51
+ static readonly CASE = 40;
52
+ static readonly CAST = 41;
53
+ static readonly CONDITION = 42;
54
+ static readonly COUNT = 43;
55
+ static readonly DATE = 44;
56
+ static readonly DAY = 45;
57
+ static readonly DESC = 46;
58
+ static readonly DISTINCT = 47;
59
+ static readonly ELSE = 48;
60
+ static readonly END = 49;
61
+ static readonly EXCLUDE = 50;
62
+ static readonly FALSE = 51;
63
+ static readonly FOR = 52;
64
+ static readonly FROM = 53;
65
+ static readonly FROM_SQL = 54;
66
+ static readonly HAS = 55;
67
+ static readonly HOUR = 56;
68
+ static readonly IMPORT = 57;
69
+ static readonly IS = 58;
70
+ static readonly JSON = 59;
71
+ static readonly LAST = 60;
72
+ static readonly MAX = 61;
73
+ static readonly MIN = 62;
74
+ static readonly MINUTE = 63;
75
+ static readonly MONTH = 64;
76
+ static readonly NOT = 65;
77
+ static readonly NOW = 66;
78
+ static readonly NULL = 67;
79
+ static readonly NUMBER = 68;
80
+ static readonly ON = 69;
81
+ static readonly OR = 70;
82
+ static readonly PICK = 71;
83
+ static readonly QUARTER = 72;
84
+ static readonly SECOND = 73;
85
+ static readonly STRING = 74;
86
+ static readonly SUM = 75;
87
+ static readonly TABLE = 76;
88
+ static readonly THEN = 77;
89
+ static readonly THIS = 78;
90
+ static readonly TIMESTAMP = 79;
91
+ static readonly TO = 80;
92
+ static readonly TRUE = 81;
93
+ static readonly TURTLE = 82;
94
+ static readonly WEEK = 83;
95
+ static readonly WHEN = 84;
96
+ static readonly WITH = 85;
97
+ static readonly YEAR = 86;
98
+ static readonly UNGROUPED = 87;
99
+ static readonly STRING_ESCAPE = 88;
100
+ static readonly HACKY_REGEX = 89;
101
+ static readonly STRING_LITERAL = 90;
102
+ static readonly AMPER = 91;
103
+ static readonly ARROW = 92;
104
+ static readonly FAT_ARROW = 93;
105
+ static readonly OPAREN = 94;
106
+ static readonly CPAREN = 95;
107
+ static readonly OBRACK = 96;
108
+ static readonly CBRACK = 97;
109
+ static readonly OCURLY = 98;
110
+ static readonly CCURLY = 99;
111
+ static readonly DOUBLECOLON = 100;
112
+ static readonly EXCLAM = 101;
113
+ static readonly COLON = 102;
114
+ static readonly COMMA = 103;
115
+ static readonly DOT = 104;
116
+ static readonly LT = 105;
117
+ static readonly GT = 106;
118
+ static readonly EQ = 107;
119
+ static readonly NE = 108;
120
+ static readonly LTE = 109;
121
+ static readonly GTE = 110;
122
+ static readonly PLUS = 111;
123
+ static readonly MINUS = 112;
124
+ static readonly STAR = 113;
125
+ static readonly STARSTAR = 114;
126
+ static readonly SLASH = 115;
127
+ static readonly BAR = 116;
128
+ static readonly SEMI = 117;
129
+ static readonly NOT_MATCH = 118;
130
+ static readonly MATCH = 119;
131
+ static readonly PERCENT = 120;
132
+ static readonly DOUBLE_QMARK = 121;
133
+ static readonly QMARK = 122;
134
+ static readonly LITERAL_TIMESTAMP = 123;
135
+ static readonly LITERAL_HOUR = 124;
136
+ static readonly LITERAL_DAY = 125;
137
+ static readonly LITERAL_QUARTER = 126;
138
+ static readonly LITERAL_MONTH = 127;
139
+ static readonly LITERAL_WEEK = 128;
140
+ static readonly LITERAL_YEAR = 129;
141
+ static readonly IDENTIFIER = 130;
142
+ static readonly PERCENT_LITERAL = 131;
143
+ static readonly INTEGER_LITERAL = 132;
144
+ static readonly NUMERIC_LITERAL = 133;
145
+ static readonly OBJECT_NAME_LITERAL = 134;
146
+ static readonly BLOCK_COMMENT = 135;
147
+ static readonly COMMENT_TO_EOL = 136;
148
+ static readonly WHITE_SPACE = 137;
149
+ static readonly SQL_BEGIN = 138;
150
+ static readonly CLOSE_CODE = 139;
151
+ static readonly UNWATED_CHARS_TRAILING_NUMBERS = 140;
152
+ static readonly UNEXPECTED_CHAR = 141;
153
+ static readonly OPEN_CODE = 142;
154
+ static readonly SQL_END = 143;
153
155
  static readonly RULE_malloyDocument = 0;
154
156
  static readonly RULE_malloyStatement = 1;
155
157
  static readonly RULE_defineSourceStatement = 2;
156
158
  static readonly RULE_defineQuery = 3;
157
159
  static readonly RULE_topLevelAnonQueryDef = 4;
158
- static readonly RULE_defineSQLStatement = 5;
159
- static readonly RULE_sqlBlock = 6;
160
- static readonly RULE_blockSQLDef = 7;
161
- static readonly RULE_sqlString = 8;
162
- static readonly RULE_sqlInterpolation = 9;
163
- static readonly RULE_importStatement = 10;
164
- static readonly RULE_importURL = 11;
165
- static readonly RULE_topLevelQueryDefs = 12;
166
- static readonly RULE_topLevelQueryDef = 13;
167
- static readonly RULE_refineOperator = 14;
168
- static readonly RULE_query = 15;
169
- static readonly RULE_pipelineFromName = 16;
170
- static readonly RULE_firstSegment = 17;
171
- static readonly RULE_pipeElement = 18;
172
- static readonly RULE_exploreTable = 19;
173
- static readonly RULE_queryProperties = 20;
174
- static readonly RULE_filterShortcut = 21;
175
- static readonly RULE_exploreQueryName = 22;
176
- static readonly RULE_queryName = 23;
177
- static readonly RULE_sourcePropertyList = 24;
178
- static readonly RULE_sourceDefinition = 25;
179
- static readonly RULE_explore = 26;
180
- static readonly RULE_exploreSource = 27;
181
- static readonly RULE_sourceNameDef = 28;
182
- static readonly RULE_sourceID = 29;
183
- static readonly RULE_exploreProperties = 30;
184
- static readonly RULE_exploreStatement = 31;
185
- static readonly RULE_renameList = 32;
186
- static readonly RULE_exploreRenameDef = 33;
187
- static readonly RULE_defList = 34;
188
- static readonly RULE_fieldDef = 35;
189
- static readonly RULE_fieldNameDef = 36;
190
- static readonly RULE_joinNameDef = 37;
191
- static readonly RULE_declareStatement = 38;
192
- static readonly RULE_joinStatement = 39;
193
- static readonly RULE_joinList = 40;
194
- static readonly RULE_joinDef = 41;
195
- static readonly RULE_joinExpression = 42;
196
- static readonly RULE_filterStatement = 43;
197
- static readonly RULE_filteredBy = 44;
198
- static readonly RULE_filterClauseList = 45;
199
- static readonly RULE_whereStatement = 46;
200
- static readonly RULE_havingStatement = 47;
201
- static readonly RULE_subQueryDefList = 48;
202
- static readonly RULE_exploreQueryNameDef = 49;
203
- static readonly RULE_exploreQueryDef = 50;
204
- static readonly RULE_queryStatement = 51;
205
- static readonly RULE_groupByStatement = 52;
206
- static readonly RULE_queryFieldList = 53;
207
- static readonly RULE_queryFieldEntry = 54;
208
- static readonly RULE_nestStatement = 55;
209
- static readonly RULE_nestedQueryList = 56;
210
- static readonly RULE_nestEntry = 57;
211
- static readonly RULE_aggregateStatement = 58;
212
- static readonly RULE_calculateStatement = 59;
213
- static readonly RULE_projectStatement = 60;
214
- static readonly RULE_orderByStatement = 61;
215
- static readonly RULE_ordering = 62;
216
- static readonly RULE_orderBySpec = 63;
217
- static readonly RULE_limitStatement = 64;
218
- static readonly RULE_bySpec = 65;
219
- static readonly RULE_topStatement = 66;
220
- static readonly RULE_indexElement = 67;
221
- static readonly RULE_indexFields = 68;
222
- static readonly RULE_indexStatement = 69;
223
- static readonly RULE_sampleStatement = 70;
224
- static readonly RULE_timezoneStatement = 71;
225
- static readonly RULE_sampleSpec = 72;
226
- static readonly RULE_aggregate = 73;
227
- static readonly RULE_malloyType = 74;
228
- static readonly RULE_compareOp = 75;
229
- static readonly RULE_literal = 76;
230
- static readonly RULE_dateLiteral = 77;
231
- static readonly RULE_tableName = 78;
232
- static readonly RULE_id = 79;
233
- static readonly RULE_timeframe = 80;
234
- static readonly RULE_ungroup = 81;
235
- static readonly RULE_fieldExpr = 82;
236
- static readonly RULE_partialAllowedFieldExpr = 83;
237
- static readonly RULE_pickStatement = 84;
238
- static readonly RULE_pick = 85;
239
- static readonly RULE_argumentList = 86;
240
- static readonly RULE_fieldNameList = 87;
241
- static readonly RULE_fieldCollection = 88;
242
- static readonly RULE_collectionWildCard = 89;
243
- static readonly RULE_collectionMember = 90;
244
- static readonly RULE_fieldPath = 91;
245
- static readonly RULE_joinName = 92;
246
- static readonly RULE_fieldName = 93;
247
- static readonly RULE_justExpr = 94;
248
- static readonly RULE_json = 95;
249
- static readonly RULE_jsonValue = 96;
250
- static readonly RULE_jsonObject = 97;
251
- static readonly RULE_jsonProperty = 98;
252
- static readonly RULE_jsonArray = 99;
253
- static readonly RULE_sqlExploreNameRef = 100;
254
- static readonly RULE_nameSQLBlock = 101;
255
- static readonly RULE_connectionName = 102;
160
+ static readonly RULE_runStatement = 5;
161
+ static readonly RULE_defineSQLStatement = 6;
162
+ static readonly RULE_sqlBlock = 7;
163
+ static readonly RULE_blockSQLDef = 8;
164
+ static readonly RULE_sqlString = 9;
165
+ static readonly RULE_sqlInterpolation = 10;
166
+ static readonly RULE_importStatement = 11;
167
+ static readonly RULE_importURL = 12;
168
+ static readonly RULE_topLevelQueryDefs = 13;
169
+ static readonly RULE_topLevelQueryDef = 14;
170
+ static readonly RULE_refineOperator = 15;
171
+ static readonly RULE_query = 16;
172
+ static readonly RULE_pipelineFromName = 17;
173
+ static readonly RULE_firstSegment = 18;
174
+ static readonly RULE_pipeElement = 19;
175
+ static readonly RULE_exploreTable = 20;
176
+ static readonly RULE_queryProperties = 21;
177
+ static readonly RULE_filterShortcut = 22;
178
+ static readonly RULE_exploreQueryName = 23;
179
+ static readonly RULE_queryName = 24;
180
+ static readonly RULE_sourcePropertyList = 25;
181
+ static readonly RULE_sourceDefinition = 26;
182
+ static readonly RULE_explore = 27;
183
+ static readonly RULE_exploreSource = 28;
184
+ static readonly RULE_sourceNameDef = 29;
185
+ static readonly RULE_sourceID = 30;
186
+ static readonly RULE_exploreProperties = 31;
187
+ static readonly RULE_exploreStatement = 32;
188
+ static readonly RULE_defDimensions = 33;
189
+ static readonly RULE_defMeasures = 34;
190
+ static readonly RULE_renameList = 35;
191
+ static readonly RULE_exploreRenameDef = 36;
192
+ static readonly RULE_defList = 37;
193
+ static readonly RULE_fieldDef = 38;
194
+ static readonly RULE_fieldNameDef = 39;
195
+ static readonly RULE_joinNameDef = 40;
196
+ static readonly RULE_declareStatement = 41;
197
+ static readonly RULE_joinStatement = 42;
198
+ static readonly RULE_queryExtend = 43;
199
+ static readonly RULE_queryExtendStatement = 44;
200
+ static readonly RULE_queryExtendStatementList = 45;
201
+ static readonly RULE_joinList = 46;
202
+ static readonly RULE_joinDef = 47;
203
+ static readonly RULE_joinExpression = 48;
204
+ static readonly RULE_filterStatement = 49;
205
+ static readonly RULE_filteredBy = 50;
206
+ static readonly RULE_filterClauseList = 51;
207
+ static readonly RULE_whereStatement = 52;
208
+ static readonly RULE_havingStatement = 53;
209
+ static readonly RULE_subQueryDefList = 54;
210
+ static readonly RULE_exploreQueryNameDef = 55;
211
+ static readonly RULE_exploreQueryDef = 56;
212
+ static readonly RULE_queryStatement = 57;
213
+ static readonly RULE_queryJoinStatement = 58;
214
+ static readonly RULE_groupByStatement = 59;
215
+ static readonly RULE_queryFieldList = 60;
216
+ static readonly RULE_queryFieldEntry = 61;
217
+ static readonly RULE_nestStatement = 62;
218
+ static readonly RULE_nestedQueryList = 63;
219
+ static readonly RULE_nestEntry = 64;
220
+ static readonly RULE_aggregateStatement = 65;
221
+ static readonly RULE_calculateStatement = 66;
222
+ static readonly RULE_projectStatement = 67;
223
+ static readonly RULE_orderByStatement = 68;
224
+ static readonly RULE_ordering = 69;
225
+ static readonly RULE_orderBySpec = 70;
226
+ static readonly RULE_limitStatement = 71;
227
+ static readonly RULE_bySpec = 72;
228
+ static readonly RULE_topStatement = 73;
229
+ static readonly RULE_indexElement = 74;
230
+ static readonly RULE_indexFields = 75;
231
+ static readonly RULE_indexStatement = 76;
232
+ static readonly RULE_sampleStatement = 77;
233
+ static readonly RULE_timezoneStatement = 78;
234
+ static readonly RULE_timezoneName = 79;
235
+ static readonly RULE_sampleSpec = 80;
236
+ static readonly RULE_aggregate = 81;
237
+ static readonly RULE_malloyType = 82;
238
+ static readonly RULE_compareOp = 83;
239
+ static readonly RULE_literal = 84;
240
+ static readonly RULE_dateLiteral = 85;
241
+ static readonly RULE_tableName = 86;
242
+ static readonly RULE_id = 87;
243
+ static readonly RULE_timeframe = 88;
244
+ static readonly RULE_ungroup = 89;
245
+ static readonly RULE_fieldExpr = 90;
246
+ static readonly RULE_partialAllowedFieldExpr = 91;
247
+ static readonly RULE_pickStatement = 92;
248
+ static readonly RULE_pick = 93;
249
+ static readonly RULE_argumentList = 94;
250
+ static readonly RULE_fieldNameList = 95;
251
+ static readonly RULE_fieldCollection = 96;
252
+ static readonly RULE_collectionWildCard = 97;
253
+ static readonly RULE_collectionMember = 98;
254
+ static readonly RULE_fieldPath = 99;
255
+ static readonly RULE_joinName = 100;
256
+ static readonly RULE_fieldName = 101;
257
+ static readonly RULE_justExpr = 102;
258
+ static readonly RULE_json = 103;
259
+ static readonly RULE_jsonValue = 104;
260
+ static readonly RULE_jsonObject = 105;
261
+ static readonly RULE_jsonProperty = 106;
262
+ static readonly RULE_jsonArray = 107;
263
+ static readonly RULE_sqlExploreNameRef = 108;
264
+ static readonly RULE_nameSQLBlock = 109;
265
+ static readonly RULE_connectionName = 110;
256
266
  static readonly ruleNames: string[];
257
267
  private static readonly _LITERAL_NAMES;
258
268
  private static readonly _SYMBOLIC_NAMES;
@@ -268,6 +278,7 @@ export declare class MalloyParser extends Parser {
268
278
  defineSourceStatement(): DefineSourceStatementContext;
269
279
  defineQuery(): DefineQueryContext;
270
280
  topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
281
+ runStatement(): RunStatementContext;
271
282
  defineSQLStatement(): DefineSQLStatementContext;
272
283
  sqlBlock(): SqlBlockContext;
273
284
  blockSQLDef(): BlockSQLDefContext;
@@ -295,6 +306,8 @@ export declare class MalloyParser extends Parser {
295
306
  sourceID(): SourceIDContext;
296
307
  exploreProperties(): ExplorePropertiesContext;
297
308
  exploreStatement(): ExploreStatementContext;
309
+ defDimensions(): DefDimensionsContext;
310
+ defMeasures(): DefMeasuresContext;
298
311
  renameList(): RenameListContext;
299
312
  exploreRenameDef(): ExploreRenameDefContext;
300
313
  defList(): DefListContext;
@@ -303,6 +316,9 @@ export declare class MalloyParser extends Parser {
303
316
  joinNameDef(): JoinNameDefContext;
304
317
  declareStatement(): DeclareStatementContext;
305
318
  joinStatement(): JoinStatementContext;
319
+ queryExtend(): QueryExtendContext;
320
+ queryExtendStatement(): QueryExtendStatementContext;
321
+ queryExtendStatementList(): QueryExtendStatementListContext;
306
322
  joinList(): JoinListContext;
307
323
  joinDef(): JoinDefContext;
308
324
  joinExpression(): JoinExpressionContext;
@@ -315,6 +331,7 @@ export declare class MalloyParser extends Parser {
315
331
  exploreQueryNameDef(): ExploreQueryNameDefContext;
316
332
  exploreQueryDef(): ExploreQueryDefContext;
317
333
  queryStatement(): QueryStatementContext;
334
+ queryJoinStatement(): QueryJoinStatementContext;
318
335
  groupByStatement(): GroupByStatementContext;
319
336
  queryFieldList(): QueryFieldListContext;
320
337
  queryFieldEntry(): QueryFieldEntryContext;
@@ -335,6 +352,7 @@ export declare class MalloyParser extends Parser {
335
352
  indexStatement(): IndexStatementContext;
336
353
  sampleStatement(): SampleStatementContext;
337
354
  timezoneStatement(): TimezoneStatementContext;
355
+ timezoneName(): TimezoneNameContext;
338
356
  sampleSpec(): SampleSpecContext;
339
357
  aggregate(): AggregateContext;
340
358
  malloyType(): MalloyTypeContext;
@@ -393,6 +411,7 @@ export declare class MalloyStatementContext extends ParserRuleContext {
393
411
  defineSQLStatement(): DefineSQLStatementContext | undefined;
394
412
  defineQuery(): DefineQueryContext | undefined;
395
413
  importStatement(): ImportStatementContext | undefined;
414
+ runStatement(): RunStatementContext | undefined;
396
415
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
397
416
  get ruleIndex(): number;
398
417
  enterRule(listener: MalloyParserListener): void;
@@ -437,6 +456,27 @@ export declare class TopLevelAnonQueryDefContext extends ParserRuleContext {
437
456
  exitRule(listener: MalloyParserListener): void;
438
457
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
439
458
  }
459
+ export declare class RunStatementContext extends ParserRuleContext {
460
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
461
+ get ruleIndex(): number;
462
+ copyFrom(ctx: RunStatementContext): void;
463
+ }
464
+ export declare class RunStatementDefContext extends RunStatementContext {
465
+ RUN(): TerminalNode;
466
+ topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
467
+ constructor(ctx: RunStatementContext);
468
+ enterRule(listener: MalloyParserListener): void;
469
+ exitRule(listener: MalloyParserListener): void;
470
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
471
+ }
472
+ export declare class RunStatementRefContext extends RunStatementContext {
473
+ RUN(): TerminalNode;
474
+ queryName(): QueryNameContext;
475
+ constructor(ctx: RunStatementContext);
476
+ enterRule(listener: MalloyParserListener): void;
477
+ exitRule(listener: MalloyParserListener): void;
478
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
479
+ }
440
480
  export declare class DefineSQLStatementContext extends ParserRuleContext {
441
481
  SQL(): TerminalNode;
442
482
  sqlBlock(): SqlBlockContext;
@@ -749,17 +789,15 @@ export declare class ExploreStatementContext extends ParserRuleContext {
749
789
  get ruleIndex(): number;
750
790
  copyFrom(ctx: ExploreStatementContext): void;
751
791
  }
752
- export declare class DefExploreDimensionContext extends ExploreStatementContext {
753
- DIMENSION(): TerminalNode;
754
- defList(): DefListContext;
792
+ export declare class DefExploreDimension_stubContext extends ExploreStatementContext {
793
+ defDimensions(): DefDimensionsContext;
755
794
  constructor(ctx: ExploreStatementContext);
756
795
  enterRule(listener: MalloyParserListener): void;
757
796
  exitRule(listener: MalloyParserListener): void;
758
797
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
759
798
  }
760
- export declare class DefExploreMeasureContext extends ExploreStatementContext {
761
- MEASURE(): TerminalNode;
762
- defList(): DefListContext;
799
+ export declare class DefExploreMeasure_stubContext extends ExploreStatementContext {
800
+ defMeasures(): DefMeasuresContext;
763
801
  constructor(ctx: ExploreStatementContext);
764
802
  enterRule(listener: MalloyParserListener): void;
765
803
  exitRule(listener: MalloyParserListener): void;
@@ -779,7 +817,7 @@ export declare class DefJoin_stubContext extends ExploreStatementContext {
779
817
  exitRule(listener: MalloyParserListener): void;
780
818
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
781
819
  }
782
- export declare class DefExploreWhereContext extends ExploreStatementContext {
820
+ export declare class DefExploreWhere_stubContext extends ExploreStatementContext {
783
821
  whereStatement(): WhereStatementContext;
784
822
  constructor(ctx: ExploreStatementContext);
785
823
  enterRule(listener: MalloyParserListener): void;
@@ -811,7 +849,7 @@ export declare class DefExploreEditFieldContext extends ExploreStatementContext
811
849
  exitRule(listener: MalloyParserListener): void;
812
850
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
813
851
  }
814
- export declare class DefExploreQueryContext extends ExploreStatementContext {
852
+ export declare class DefExploreQuery_stubContext extends ExploreStatementContext {
815
853
  QUERY(): TerminalNode;
816
854
  subQueryDefList(): SubQueryDefListContext;
817
855
  constructor(ctx: ExploreStatementContext);
@@ -826,6 +864,24 @@ export declare class DefExploreTimezoneContext extends ExploreStatementContext {
826
864
  exitRule(listener: MalloyParserListener): void;
827
865
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
828
866
  }
867
+ export declare class DefDimensionsContext extends ParserRuleContext {
868
+ DIMENSION(): TerminalNode;
869
+ defList(): DefListContext;
870
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
871
+ get ruleIndex(): number;
872
+ enterRule(listener: MalloyParserListener): void;
873
+ exitRule(listener: MalloyParserListener): void;
874
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
875
+ }
876
+ export declare class DefMeasuresContext extends ParserRuleContext {
877
+ MEASURE(): TerminalNode;
878
+ defList(): DefListContext;
879
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
880
+ get ruleIndex(): number;
881
+ enterRule(listener: MalloyParserListener): void;
882
+ exitRule(listener: MalloyParserListener): void;
883
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
884
+ }
829
885
  export declare class RenameListContext extends ParserRuleContext {
830
886
  exploreRenameDef(): ExploreRenameDefContext[];
831
887
  exploreRenameDef(i: number): ExploreRenameDefContext;
@@ -922,6 +978,38 @@ export declare class DefJoinCrossContext extends JoinStatementContext {
922
978
  exitRule(listener: MalloyParserListener): void;
923
979
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
924
980
  }
981
+ export declare class QueryExtendContext extends ParserRuleContext {
982
+ EXTENDQ(): TerminalNode;
983
+ queryExtendStatementList(): QueryExtendStatementListContext;
984
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
985
+ get ruleIndex(): number;
986
+ enterRule(listener: MalloyParserListener): void;
987
+ exitRule(listener: MalloyParserListener): void;
988
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
989
+ }
990
+ export declare class QueryExtendStatementContext extends ParserRuleContext {
991
+ defDimensions(): DefDimensionsContext | undefined;
992
+ defMeasures(): DefMeasuresContext | undefined;
993
+ joinStatement(): JoinStatementContext | undefined;
994
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
995
+ get ruleIndex(): number;
996
+ enterRule(listener: MalloyParserListener): void;
997
+ exitRule(listener: MalloyParserListener): void;
998
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
999
+ }
1000
+ export declare class QueryExtendStatementListContext extends ParserRuleContext {
1001
+ OCURLY(): TerminalNode;
1002
+ CCURLY(): TerminalNode;
1003
+ queryExtendStatement(): QueryExtendStatementContext[];
1004
+ queryExtendStatement(i: number): QueryExtendStatementContext;
1005
+ SEMI(): TerminalNode[];
1006
+ SEMI(i: number): TerminalNode;
1007
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1008
+ get ruleIndex(): number;
1009
+ enterRule(listener: MalloyParserListener): void;
1010
+ exitRule(listener: MalloyParserListener): void;
1011
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1012
+ }
925
1013
  export declare class JoinListContext extends ParserRuleContext {
926
1014
  joinDef(): JoinDefContext[];
927
1015
  joinDef(i: number): JoinDefContext;
@@ -1058,7 +1146,8 @@ export declare class ExploreQueryDefContext extends ParserRuleContext {
1058
1146
  export declare class QueryStatementContext extends ParserRuleContext {
1059
1147
  groupByStatement(): GroupByStatementContext | undefined;
1060
1148
  declareStatement(): DeclareStatementContext | undefined;
1061
- joinStatement(): JoinStatementContext | undefined;
1149
+ queryJoinStatement(): QueryJoinStatementContext | undefined;
1150
+ queryExtend(): QueryExtendContext | undefined;
1062
1151
  projectStatement(): ProjectStatementContext | undefined;
1063
1152
  indexStatement(): IndexStatementContext | undefined;
1064
1153
  aggregateStatement(): AggregateStatementContext | undefined;
@@ -1077,6 +1166,14 @@ export declare class QueryStatementContext extends ParserRuleContext {
1077
1166
  exitRule(listener: MalloyParserListener): void;
1078
1167
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1079
1168
  }
1169
+ export declare class QueryJoinStatementContext extends ParserRuleContext {
1170
+ joinStatement(): JoinStatementContext;
1171
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1172
+ get ruleIndex(): number;
1173
+ enterRule(listener: MalloyParserListener): void;
1174
+ exitRule(listener: MalloyParserListener): void;
1175
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1176
+ }
1080
1177
  export declare class GroupByStatementContext extends ParserRuleContext {
1081
1178
  GROUP_BY(): TerminalNode;
1082
1179
  queryFieldList(): QueryFieldListContext;
@@ -1280,6 +1377,14 @@ export declare class SampleStatementContext extends ParserRuleContext {
1280
1377
  }
1281
1378
  export declare class TimezoneStatementContext extends ParserRuleContext {
1282
1379
  TIMEZONE(): TerminalNode;
1380
+ timezoneName(): TimezoneNameContext;
1381
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1382
+ get ruleIndex(): number;
1383
+ enterRule(listener: MalloyParserListener): void;
1384
+ exitRule(listener: MalloyParserListener): void;
1385
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1386
+ }
1387
+ export declare class TimezoneNameContext extends ParserRuleContext {
1283
1388
  STRING_LITERAL(): TerminalNode;
1284
1389
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1285
1390
  get ruleIndex(): number;