@malloydata/malloy 0.0.61-dev230724132807 → 0.0.61-dev230724162620
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 +23 -8
- package/dist/lang/lib/Malloy/MalloyParser.js +1347 -1241
- 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 +1 -1
- package/dist/lang/malloy-to-ast.js +26 -3
- package/dist/lang/test/parse.spec.js +22 -0
- package/dist/tags.js +2 -2
- package/package.json +1 -1
|
@@ -274,14 +274,15 @@ export declare class MalloyParser extends Parser {
|
|
|
274
274
|
static readonly RULE_fieldCollection = 113;
|
|
275
275
|
static readonly RULE_collectionWildCard = 114;
|
|
276
276
|
static readonly RULE_taggedRef = 115;
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
277
|
+
static readonly RULE_refExpr = 116;
|
|
278
|
+
static readonly RULE_collectionMember = 117;
|
|
279
|
+
static readonly RULE_fieldPath = 118;
|
|
280
|
+
static readonly RULE_joinName = 119;
|
|
281
|
+
static readonly RULE_fieldName = 120;
|
|
282
|
+
static readonly RULE_justExpr = 121;
|
|
283
|
+
static readonly RULE_sqlExploreNameRef = 122;
|
|
284
|
+
static readonly RULE_nameSQLBlock = 123;
|
|
285
|
+
static readonly RULE_connectionName = 124;
|
|
285
286
|
static readonly ruleNames: string[];
|
|
286
287
|
private static readonly _LITERAL_NAMES;
|
|
287
288
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -409,6 +410,7 @@ export declare class MalloyParser extends Parser {
|
|
|
409
410
|
fieldCollection(): FieldCollectionContext;
|
|
410
411
|
collectionWildCard(): CollectionWildCardContext;
|
|
411
412
|
taggedRef(): TaggedRefContext;
|
|
413
|
+
refExpr(): RefExprContext;
|
|
412
414
|
collectionMember(): CollectionMemberContext;
|
|
413
415
|
fieldPath(): FieldPathContext;
|
|
414
416
|
joinName(): JoinNameContext;
|
|
@@ -2229,6 +2231,19 @@ export declare class CollectionWildCardContext extends ParserRuleContext {
|
|
|
2229
2231
|
export declare class TaggedRefContext extends ParserRuleContext {
|
|
2230
2232
|
tags(): TagsContext;
|
|
2231
2233
|
fieldPath(): FieldPathContext;
|
|
2234
|
+
refExpr(): RefExprContext | undefined;
|
|
2235
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2236
|
+
get ruleIndex(): number;
|
|
2237
|
+
enterRule(listener: MalloyParserListener): void;
|
|
2238
|
+
exitRule(listener: MalloyParserListener): void;
|
|
2239
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2240
|
+
}
|
|
2241
|
+
export declare class RefExprContext extends ParserRuleContext {
|
|
2242
|
+
DOT(): TerminalNode;
|
|
2243
|
+
timeframe(): TimeframeContext | undefined;
|
|
2244
|
+
aggregate(): AggregateContext | undefined;
|
|
2245
|
+
OPAREN(): TerminalNode | undefined;
|
|
2246
|
+
CPAREN(): TerminalNode | undefined;
|
|
2232
2247
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2233
2248
|
get ruleIndex(): number;
|
|
2234
2249
|
enterRule(listener: MalloyParserListener): void;
|