@malloydata/malloy 0.0.36-dev230524224445 → 0.0.36-dev230525034638

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.
@@ -77,76 +77,77 @@ export declare class MalloyParser extends Parser {
77
77
  static readonly ON = 66;
78
78
  static readonly OR = 67;
79
79
  static readonly PICK = 68;
80
- static readonly QMARK = 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 COLON = 99;
111
- static readonly COMMA = 100;
112
- static readonly DOT = 101;
113
- static readonly LT = 102;
114
- static readonly GT = 103;
115
- static readonly EQ = 104;
116
- static readonly NE = 105;
117
- static readonly LTE = 106;
118
- static readonly GTE = 107;
119
- static readonly PLUS = 108;
120
- static readonly MINUS = 109;
121
- static readonly STAR = 110;
122
- static readonly STARSTAR = 111;
123
- static readonly SLASH = 112;
124
- static readonly BAR = 113;
125
- static readonly SEMI = 114;
126
- static readonly NOT_MATCH = 115;
127
- static readonly MATCH = 116;
128
- static readonly PERCENT = 117;
129
- static readonly LITERAL_TIMESTAMP = 118;
130
- static readonly LITERAL_HOUR = 119;
131
- static readonly LITERAL_DAY = 120;
132
- static readonly LITERAL_QUARTER = 121;
133
- static readonly LITERAL_MONTH = 122;
134
- static readonly LITERAL_WEEK = 123;
135
- static readonly LITERAL_YEAR = 124;
136
- static readonly IDENTIFIER = 125;
137
- static readonly PERCENT_LITERAL = 126;
138
- static readonly INTEGER_LITERAL = 127;
139
- static readonly NUMERIC_LITERAL = 128;
140
- static readonly OBJECT_NAME_LITERAL = 129;
141
- static readonly BLOCK_COMMENT = 130;
142
- static readonly COMMENT_TO_EOL = 131;
143
- static readonly WHITE_SPACE = 132;
144
- static readonly SQL_BEGIN = 133;
145
- static readonly CLOSE_CODE = 134;
146
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 135;
147
- static readonly UNEXPECTED_CHAR = 136;
148
- static readonly OPEN_CODE = 137;
149
- static readonly SQL_END = 138;
80
+ static readonly QUARTER = 69;
81
+ static readonly SECOND = 70;
82
+ static readonly STRING = 71;
83
+ static readonly SUM = 72;
84
+ static readonly TABLE = 73;
85
+ static readonly THEN = 74;
86
+ static readonly THIS = 75;
87
+ static readonly TIMESTAMP = 76;
88
+ static readonly TO = 77;
89
+ static readonly TRUE = 78;
90
+ static readonly TURTLE = 79;
91
+ static readonly WEEK = 80;
92
+ static readonly WHEN = 81;
93
+ static readonly WITH = 82;
94
+ static readonly YEAR = 83;
95
+ static readonly UNGROUPED = 84;
96
+ static readonly STRING_ESCAPE = 85;
97
+ static readonly HACKY_REGEX = 86;
98
+ static readonly STRING_LITERAL = 87;
99
+ static readonly AMPER = 88;
100
+ static readonly ARROW = 89;
101
+ static readonly FAT_ARROW = 90;
102
+ static readonly OPAREN = 91;
103
+ static readonly CPAREN = 92;
104
+ static readonly OBRACK = 93;
105
+ static readonly CBRACK = 94;
106
+ static readonly OCURLY = 95;
107
+ static readonly CCURLY = 96;
108
+ static readonly DOUBLECOLON = 97;
109
+ static readonly COLON = 98;
110
+ static readonly COMMA = 99;
111
+ static readonly DOT = 100;
112
+ static readonly LT = 101;
113
+ static readonly GT = 102;
114
+ static readonly EQ = 103;
115
+ static readonly NE = 104;
116
+ static readonly LTE = 105;
117
+ static readonly GTE = 106;
118
+ static readonly PLUS = 107;
119
+ static readonly MINUS = 108;
120
+ static readonly STAR = 109;
121
+ static readonly STARSTAR = 110;
122
+ static readonly SLASH = 111;
123
+ static readonly BAR = 112;
124
+ static readonly SEMI = 113;
125
+ static readonly NOT_MATCH = 114;
126
+ static readonly MATCH = 115;
127
+ static readonly PERCENT = 116;
128
+ static readonly DOUBLE_QMARK = 117;
129
+ static readonly QMARK = 118;
130
+ static readonly LITERAL_TIMESTAMP = 119;
131
+ static readonly LITERAL_HOUR = 120;
132
+ static readonly LITERAL_DAY = 121;
133
+ static readonly LITERAL_QUARTER = 122;
134
+ static readonly LITERAL_MONTH = 123;
135
+ static readonly LITERAL_WEEK = 124;
136
+ static readonly LITERAL_YEAR = 125;
137
+ static readonly IDENTIFIER = 126;
138
+ static readonly PERCENT_LITERAL = 127;
139
+ static readonly INTEGER_LITERAL = 128;
140
+ static readonly NUMERIC_LITERAL = 129;
141
+ static readonly OBJECT_NAME_LITERAL = 130;
142
+ static readonly BLOCK_COMMENT = 131;
143
+ static readonly COMMENT_TO_EOL = 132;
144
+ static readonly WHITE_SPACE = 133;
145
+ static readonly SQL_BEGIN = 134;
146
+ static readonly CLOSE_CODE = 135;
147
+ static readonly UNWATED_CHARS_TRAILING_NUMBERS = 136;
148
+ static readonly UNEXPECTED_CHAR = 137;
149
+ static readonly OPEN_CODE = 138;
150
+ static readonly SQL_END = 139;
150
151
  static readonly RULE_malloyDocument = 0;
151
152
  static readonly RULE_malloyStatement = 1;
152
153
  static readonly RULE_defineSourceStatement = 2;
@@ -1557,14 +1558,6 @@ export declare class ExprLiteralContext extends FieldExprContext {
1557
1558
  exitRule(listener: MalloyParserListener): void;
1558
1559
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1559
1560
  }
1560
- export declare class ExprMinusContext extends FieldExprContext {
1561
- MINUS(): TerminalNode;
1562
- fieldExpr(): FieldExprContext;
1563
- constructor(ctx: FieldExprContext);
1564
- enterRule(listener: MalloyParserListener): void;
1565
- exitRule(listener: MalloyParserListener): void;
1566
- accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1567
- }
1568
1561
  export declare class ExprDurationContext extends FieldExprContext {
1569
1562
  fieldExpr(): FieldExprContext;
1570
1563
  timeframe(): TimeframeContext;
@@ -1591,6 +1584,14 @@ export declare class ExprSafeCastContext extends FieldExprContext {
1591
1584
  exitRule(listener: MalloyParserListener): void;
1592
1585
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1593
1586
  }
1587
+ export declare class ExprMinusContext extends FieldExprContext {
1588
+ MINUS(): TerminalNode;
1589
+ fieldExpr(): FieldExprContext;
1590
+ constructor(ctx: FieldExprContext);
1591
+ enterRule(listener: MalloyParserListener): void;
1592
+ exitRule(listener: MalloyParserListener): void;
1593
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1594
+ }
1594
1595
  export declare class ExprMulDivContext extends FieldExprContext {
1595
1596
  fieldExpr(): FieldExprContext[];
1596
1597
  fieldExpr(i: number): FieldExprContext;
@@ -1633,11 +1634,19 @@ export declare class ExprForRangeContext extends FieldExprContext {
1633
1634
  exitRule(listener: MalloyParserListener): void;
1634
1635
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1635
1636
  }
1636
- export declare class ExprLogicalTreeContext extends FieldExprContext {
1637
+ export declare class ExprAndTreeContext extends FieldExprContext {
1638
+ fieldExpr(): FieldExprContext;
1639
+ AMPER(): TerminalNode;
1640
+ partialAllowedFieldExpr(): PartialAllowedFieldExprContext;
1641
+ constructor(ctx: FieldExprContext);
1642
+ enterRule(listener: MalloyParserListener): void;
1643
+ exitRule(listener: MalloyParserListener): void;
1644
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1645
+ }
1646
+ export declare class ExprOrTreeContext extends FieldExprContext {
1637
1647
  fieldExpr(): FieldExprContext;
1648
+ BAR(): TerminalNode;
1638
1649
  partialAllowedFieldExpr(): PartialAllowedFieldExprContext;
1639
- AMPER(): TerminalNode | undefined;
1640
- BAR(): TerminalNode | undefined;
1641
1650
  constructor(ctx: FieldExprContext);
1642
1651
  enterRule(listener: MalloyParserListener): void;
1643
1652
  exitRule(listener: MalloyParserListener): void;
@@ -1654,9 +1663,8 @@ export declare class ExprCompareContext extends FieldExprContext {
1654
1663
  }
1655
1664
  export declare class ExprApplyContext extends FieldExprContext {
1656
1665
  fieldExpr(): FieldExprContext;
1666
+ QMARK(): TerminalNode;
1657
1667
  partialAllowedFieldExpr(): PartialAllowedFieldExprContext;
1658
- COLON(): TerminalNode | undefined;
1659
- QMARK(): TerminalNode | undefined;
1660
1668
  constructor(ctx: FieldExprContext);
1661
1669
  enterRule(listener: MalloyParserListener): void;
1662
1670
  exitRule(listener: MalloyParserListener): void;
@@ -1670,11 +1678,28 @@ export declare class ExprNotContext extends FieldExprContext {
1670
1678
  exitRule(listener: MalloyParserListener): void;
1671
1679
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1672
1680
  }
1673
- export declare class ExprLogicalContext extends FieldExprContext {
1681
+ export declare class ExprLogicalAndContext extends FieldExprContext {
1682
+ fieldExpr(): FieldExprContext[];
1683
+ fieldExpr(i: number): FieldExprContext;
1684
+ AND(): TerminalNode;
1685
+ constructor(ctx: FieldExprContext);
1686
+ enterRule(listener: MalloyParserListener): void;
1687
+ exitRule(listener: MalloyParserListener): void;
1688
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1689
+ }
1690
+ export declare class ExprLogicalOrContext extends FieldExprContext {
1691
+ fieldExpr(): FieldExprContext[];
1692
+ fieldExpr(i: number): FieldExprContext;
1693
+ OR(): TerminalNode;
1694
+ constructor(ctx: FieldExprContext);
1695
+ enterRule(listener: MalloyParserListener): void;
1696
+ exitRule(listener: MalloyParserListener): void;
1697
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1698
+ }
1699
+ export declare class ExprCoalesceContext extends FieldExprContext {
1674
1700
  fieldExpr(): FieldExprContext[];
1675
1701
  fieldExpr(i: number): FieldExprContext;
1676
- AND(): TerminalNode | undefined;
1677
- OR(): TerminalNode | undefined;
1702
+ DOUBLE_QMARK(): TerminalNode;
1678
1703
  constructor(ctx: FieldExprContext);
1679
1704
  enterRule(listener: MalloyParserListener): void;
1680
1705
  exitRule(listener: MalloyParserListener): void;