@malloydata/malloy 0.0.43-dev230622192152 → 0.0.43
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/dialect/dialect.d.ts +1 -0
- package/dist/dialect/duckdb/duckdb.d.ts +1 -0
- package/dist/dialect/duckdb/duckdb.js +5 -2
- package/dist/dialect/postgres/postgres.d.ts +1 -0
- package/dist/dialect/postgres/postgres.js +8 -2
- package/dist/dialect/standardsql/standardsql.d.ts +1 -0
- package/dist/dialect/standardsql/standardsql.js +1 -0
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +44 -43
- package/dist/lang/lib/Malloy/MalloyLexer.js +958 -953
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +58 -56
- package/dist/lang/lib/Malloy/MalloyParser.js +644 -625
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +13 -13
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +8 -8
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ import { ExprFilterContext } from "./MalloyParser";
|
|
|
26
26
|
import { ExprLiteralContext } from "./MalloyParser";
|
|
27
27
|
import { ExprDurationContext } from "./MalloyParser";
|
|
28
28
|
import { ExprTimeTruncContext } from "./MalloyParser";
|
|
29
|
+
import { ExprCastContext } from "./MalloyParser";
|
|
29
30
|
import { ExprSafeCastContext } from "./MalloyParser";
|
|
30
31
|
import { ExprMinusContext } from "./MalloyParser";
|
|
31
32
|
import { ExprMulDivContext } from "./MalloyParser";
|
|
@@ -40,7 +41,6 @@ import { ExprNotContext } from "./MalloyParser";
|
|
|
40
41
|
import { ExprLogicalAndContext } from "./MalloyParser";
|
|
41
42
|
import { ExprLogicalOrContext } from "./MalloyParser";
|
|
42
43
|
import { ExprCoalesceContext } from "./MalloyParser";
|
|
43
|
-
import { ExprCastContext } from "./MalloyParser";
|
|
44
44
|
import { ExprCountDisinctContext } from "./MalloyParser";
|
|
45
45
|
import { ExprAggregateContext } from "./MalloyParser";
|
|
46
46
|
import { ExprExprContext } from "./MalloyParser";
|
|
@@ -509,6 +509,18 @@ export interface MalloyParserListener extends ParseTreeListener {
|
|
|
509
509
|
* @param ctx the parse tree
|
|
510
510
|
*/
|
|
511
511
|
exitExprTimeTrunc?: (ctx: ExprTimeTruncContext) => void;
|
|
512
|
+
/**
|
|
513
|
+
* Enter a parse tree produced by the `exprCast`
|
|
514
|
+
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
515
|
+
* @param ctx the parse tree
|
|
516
|
+
*/
|
|
517
|
+
enterExprCast?: (ctx: ExprCastContext) => void;
|
|
518
|
+
/**
|
|
519
|
+
* Exit a parse tree produced by the `exprCast`
|
|
520
|
+
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
521
|
+
* @param ctx the parse tree
|
|
522
|
+
*/
|
|
523
|
+
exitExprCast?: (ctx: ExprCastContext) => void;
|
|
512
524
|
/**
|
|
513
525
|
* Enter a parse tree produced by the `exprSafeCast`
|
|
514
526
|
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
@@ -677,18 +689,6 @@ export interface MalloyParserListener extends ParseTreeListener {
|
|
|
677
689
|
* @param ctx the parse tree
|
|
678
690
|
*/
|
|
679
691
|
exitExprCoalesce?: (ctx: ExprCoalesceContext) => void;
|
|
680
|
-
/**
|
|
681
|
-
* Enter a parse tree produced by the `exprCast`
|
|
682
|
-
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
683
|
-
* @param ctx the parse tree
|
|
684
|
-
*/
|
|
685
|
-
enterExprCast?: (ctx: ExprCastContext) => void;
|
|
686
|
-
/**
|
|
687
|
-
* Exit a parse tree produced by the `exprCast`
|
|
688
|
-
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
689
|
-
* @param ctx the parse tree
|
|
690
|
-
*/
|
|
691
|
-
exitExprCast?: (ctx: ExprCastContext) => void;
|
|
692
692
|
/**
|
|
693
693
|
* Enter a parse tree produced by the `exprCountDisinct`
|
|
694
694
|
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
@@ -26,6 +26,7 @@ import { ExprFilterContext } from "./MalloyParser";
|
|
|
26
26
|
import { ExprLiteralContext } from "./MalloyParser";
|
|
27
27
|
import { ExprDurationContext } from "./MalloyParser";
|
|
28
28
|
import { ExprTimeTruncContext } from "./MalloyParser";
|
|
29
|
+
import { ExprCastContext } from "./MalloyParser";
|
|
29
30
|
import { ExprSafeCastContext } from "./MalloyParser";
|
|
30
31
|
import { ExprMinusContext } from "./MalloyParser";
|
|
31
32
|
import { ExprMulDivContext } from "./MalloyParser";
|
|
@@ -40,7 +41,6 @@ import { ExprNotContext } from "./MalloyParser";
|
|
|
40
41
|
import { ExprLogicalAndContext } from "./MalloyParser";
|
|
41
42
|
import { ExprLogicalOrContext } from "./MalloyParser";
|
|
42
43
|
import { ExprCoalesceContext } from "./MalloyParser";
|
|
43
|
-
import { ExprCastContext } from "./MalloyParser";
|
|
44
44
|
import { ExprCountDisinctContext } from "./MalloyParser";
|
|
45
45
|
import { ExprAggregateContext } from "./MalloyParser";
|
|
46
46
|
import { ExprExprContext } from "./MalloyParser";
|
|
@@ -377,6 +377,13 @@ export interface MalloyParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
377
377
|
* @return the visitor result
|
|
378
378
|
*/
|
|
379
379
|
visitExprTimeTrunc?: (ctx: ExprTimeTruncContext) => Result;
|
|
380
|
+
/**
|
|
381
|
+
* Visit a parse tree produced by the `exprCast`
|
|
382
|
+
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
383
|
+
* @param ctx the parse tree
|
|
384
|
+
* @return the visitor result
|
|
385
|
+
*/
|
|
386
|
+
visitExprCast?: (ctx: ExprCastContext) => Result;
|
|
380
387
|
/**
|
|
381
388
|
* Visit a parse tree produced by the `exprSafeCast`
|
|
382
389
|
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
@@ -475,13 +482,6 @@ export interface MalloyParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
475
482
|
* @return the visitor result
|
|
476
483
|
*/
|
|
477
484
|
visitExprCoalesce?: (ctx: ExprCoalesceContext) => Result;
|
|
478
|
-
/**
|
|
479
|
-
* Visit a parse tree produced by the `exprCast`
|
|
480
|
-
* labeled alternative in `MalloyParser.fieldExpr`.
|
|
481
|
-
* @param ctx the parse tree
|
|
482
|
-
* @return the visitor result
|
|
483
|
-
*/
|
|
484
|
-
visitExprCast?: (ctx: ExprCastContext) => Result;
|
|
485
485
|
/**
|
|
486
486
|
* Visit a parse tree produced by the `exprCountDisinct`
|
|
487
487
|
* labeled alternative in `MalloyParser.fieldExpr`.
|