@malloydata/malloy 0.0.163-dev240808193357 → 0.0.164-dev240808200109
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/lang/lib/Malloy/MalloyParser.d.ts +88 -78
- package/dist/lang/lib/Malloy/MalloyParser.js +1673 -1606
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +11 -0
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +7 -0
- package/dist/lang/malloy-to-ast.d.ts +2 -1
- package/dist/lang/malloy-to-ast.js +13 -8
- package/dist/lang/parse-tree-walkers/document-symbol-walker.js +1 -1
- package/dist/lang/test/parameters.spec.js +21 -1
- package/package.json +1 -1
|
@@ -221,80 +221,81 @@ export declare class MalloyParser extends Parser {
|
|
|
221
221
|
static readonly RULE_joinList = 56;
|
|
222
222
|
static readonly RULE_isExplore = 57;
|
|
223
223
|
static readonly RULE_matrixOperation = 58;
|
|
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
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
285
|
-
static readonly
|
|
286
|
-
static readonly
|
|
287
|
-
static readonly
|
|
288
|
-
static readonly
|
|
289
|
-
static readonly
|
|
290
|
-
static readonly
|
|
291
|
-
static readonly
|
|
292
|
-
static readonly
|
|
293
|
-
static readonly
|
|
294
|
-
static readonly
|
|
295
|
-
static readonly
|
|
296
|
-
static readonly
|
|
297
|
-
static readonly
|
|
224
|
+
static readonly RULE_joinFrom = 59;
|
|
225
|
+
static readonly RULE_joinDef = 60;
|
|
226
|
+
static readonly RULE_joinExpression = 61;
|
|
227
|
+
static readonly RULE_filterStatement = 62;
|
|
228
|
+
static readonly RULE_fieldProperties = 63;
|
|
229
|
+
static readonly RULE_aggregateOrdering = 64;
|
|
230
|
+
static readonly RULE_aggregateOrderBySpec = 65;
|
|
231
|
+
static readonly RULE_aggregateOrderByStatement = 66;
|
|
232
|
+
static readonly RULE_fieldPropertyLimitStatement = 67;
|
|
233
|
+
static readonly RULE_fieldPropertyStatement = 68;
|
|
234
|
+
static readonly RULE_filterClauseList = 69;
|
|
235
|
+
static readonly RULE_whereStatement = 70;
|
|
236
|
+
static readonly RULE_havingStatement = 71;
|
|
237
|
+
static readonly RULE_subQueryDefList = 72;
|
|
238
|
+
static readonly RULE_exploreQueryNameDef = 73;
|
|
239
|
+
static readonly RULE_exploreQueryDef = 74;
|
|
240
|
+
static readonly RULE_queryStatement = 75;
|
|
241
|
+
static readonly RULE_queryJoinStatement = 76;
|
|
242
|
+
static readonly RULE_groupByStatement = 77;
|
|
243
|
+
static readonly RULE_queryFieldList = 78;
|
|
244
|
+
static readonly RULE_queryFieldEntry = 79;
|
|
245
|
+
static readonly RULE_nestStatement = 80;
|
|
246
|
+
static readonly RULE_nestedQueryList = 81;
|
|
247
|
+
static readonly RULE_nestEntry = 82;
|
|
248
|
+
static readonly RULE_aggregateStatement = 83;
|
|
249
|
+
static readonly RULE_calculateStatement = 84;
|
|
250
|
+
static readonly RULE_projectStatement = 85;
|
|
251
|
+
static readonly RULE_partitionByStatement = 86;
|
|
252
|
+
static readonly RULE_orderByStatement = 87;
|
|
253
|
+
static readonly RULE_ordering = 88;
|
|
254
|
+
static readonly RULE_orderBySpec = 89;
|
|
255
|
+
static readonly RULE_limitStatement = 90;
|
|
256
|
+
static readonly RULE_bySpec = 91;
|
|
257
|
+
static readonly RULE_topStatement = 92;
|
|
258
|
+
static readonly RULE_indexElement = 93;
|
|
259
|
+
static readonly RULE_indexFields = 94;
|
|
260
|
+
static readonly RULE_indexStatement = 95;
|
|
261
|
+
static readonly RULE_sampleStatement = 96;
|
|
262
|
+
static readonly RULE_timezoneStatement = 97;
|
|
263
|
+
static readonly RULE_queryAnnotation = 98;
|
|
264
|
+
static readonly RULE_sampleSpec = 99;
|
|
265
|
+
static readonly RULE_aggregate = 100;
|
|
266
|
+
static readonly RULE_malloyType = 101;
|
|
267
|
+
static readonly RULE_compareOp = 102;
|
|
268
|
+
static readonly RULE_string = 103;
|
|
269
|
+
static readonly RULE_shortString = 104;
|
|
270
|
+
static readonly RULE_numericLiteral = 105;
|
|
271
|
+
static readonly RULE_literal = 106;
|
|
272
|
+
static readonly RULE_dateLiteral = 107;
|
|
273
|
+
static readonly RULE_tablePath = 108;
|
|
274
|
+
static readonly RULE_tableURI = 109;
|
|
275
|
+
static readonly RULE_id = 110;
|
|
276
|
+
static readonly RULE_timeframe = 111;
|
|
277
|
+
static readonly RULE_ungroup = 112;
|
|
278
|
+
static readonly RULE_malloyOrSQLType = 113;
|
|
279
|
+
static readonly RULE_fieldExpr = 114;
|
|
280
|
+
static readonly RULE_partialAllowedFieldExpr = 115;
|
|
281
|
+
static readonly RULE_pickStatement = 116;
|
|
282
|
+
static readonly RULE_pick = 117;
|
|
283
|
+
static readonly RULE_argumentList = 118;
|
|
284
|
+
static readonly RULE_fieldNameList = 119;
|
|
285
|
+
static readonly RULE_fieldCollection = 120;
|
|
286
|
+
static readonly RULE_collectionWildCard = 121;
|
|
287
|
+
static readonly RULE_starQualified = 122;
|
|
288
|
+
static readonly RULE_taggedRef = 123;
|
|
289
|
+
static readonly RULE_refExpr = 124;
|
|
290
|
+
static readonly RULE_collectionMember = 125;
|
|
291
|
+
static readonly RULE_fieldPath = 126;
|
|
292
|
+
static readonly RULE_joinName = 127;
|
|
293
|
+
static readonly RULE_fieldName = 128;
|
|
294
|
+
static readonly RULE_justExpr = 129;
|
|
295
|
+
static readonly RULE_sqlExploreNameRef = 130;
|
|
296
|
+
static readonly RULE_nameSQLBlock = 131;
|
|
297
|
+
static readonly RULE_connectionName = 132;
|
|
298
|
+
static readonly RULE_experimentalStatementForTesting = 133;
|
|
298
299
|
static readonly ruleNames: string[];
|
|
299
300
|
private static readonly _LITERAL_NAMES;
|
|
300
301
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -366,6 +367,7 @@ export declare class MalloyParser extends Parser {
|
|
|
366
367
|
joinList(): JoinListContext;
|
|
367
368
|
isExplore(): IsExploreContext;
|
|
368
369
|
matrixOperation(): MatrixOperationContext;
|
|
370
|
+
joinFrom(): JoinFromContext;
|
|
369
371
|
joinDef(): JoinDefContext;
|
|
370
372
|
joinExpression(): JoinExpressionContext;
|
|
371
373
|
filterStatement(): FilterStatementContext;
|
|
@@ -1299,18 +1301,27 @@ export declare class MatrixOperationContext extends ParserRuleContext {
|
|
|
1299
1301
|
exitRule(listener: MalloyParserListener): void;
|
|
1300
1302
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1301
1303
|
}
|
|
1304
|
+
export declare class JoinFromContext extends ParserRuleContext {
|
|
1305
|
+
joinNameDef(): JoinNameDefContext;
|
|
1306
|
+
sourceArguments(): SourceArgumentsContext | undefined;
|
|
1307
|
+
isExplore(): IsExploreContext | undefined;
|
|
1308
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1309
|
+
get ruleIndex(): number;
|
|
1310
|
+
enterRule(listener: MalloyParserListener): void;
|
|
1311
|
+
exitRule(listener: MalloyParserListener): void;
|
|
1312
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1313
|
+
}
|
|
1302
1314
|
export declare class JoinDefContext extends ParserRuleContext {
|
|
1303
1315
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1304
1316
|
get ruleIndex(): number;
|
|
1305
1317
|
copyFrom(ctx: JoinDefContext): void;
|
|
1306
1318
|
}
|
|
1307
1319
|
export declare class JoinWithContext extends JoinDefContext {
|
|
1308
|
-
|
|
1320
|
+
joinFrom(): JoinFromContext;
|
|
1309
1321
|
WITH(): TerminalNode;
|
|
1310
1322
|
fieldExpr(): FieldExprContext;
|
|
1311
1323
|
ANNOTATION(): TerminalNode[];
|
|
1312
1324
|
ANNOTATION(i: number): TerminalNode;
|
|
1313
|
-
isExplore(): IsExploreContext | undefined;
|
|
1314
1325
|
matrixOperation(): MatrixOperationContext | undefined;
|
|
1315
1326
|
constructor(ctx: JoinDefContext);
|
|
1316
1327
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1318,10 +1329,9 @@ export declare class JoinWithContext extends JoinDefContext {
|
|
|
1318
1329
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1319
1330
|
}
|
|
1320
1331
|
export declare class JoinOnContext extends JoinDefContext {
|
|
1321
|
-
|
|
1332
|
+
joinFrom(): JoinFromContext;
|
|
1322
1333
|
ANNOTATION(): TerminalNode[];
|
|
1323
1334
|
ANNOTATION(i: number): TerminalNode;
|
|
1324
|
-
isExplore(): IsExploreContext | undefined;
|
|
1325
1335
|
ON(): TerminalNode | undefined;
|
|
1326
1336
|
joinExpression(): JoinExpressionContext | undefined;
|
|
1327
1337
|
matrixOperation(): MatrixOperationContext | undefined;
|