@malloydata/malloy 0.0.242-dev250313002313 → 0.0.242-dev250313045635

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.
@@ -115,64 +115,70 @@ export declare class MalloyParser extends Parser {
115
115
  static readonly HACKY_REGEX = 104;
116
116
  static readonly RAW_SQ = 105;
117
117
  static readonly RAW_DQ = 106;
118
- static readonly SQ_STRING = 107;
119
- static readonly DQ_STRING = 108;
120
- static readonly BQ_STRING = 109;
121
- static readonly DOC_ANNOTATION = 110;
122
- static readonly ANNOTATION = 111;
123
- static readonly AMPER = 112;
124
- static readonly ARROW = 113;
125
- static readonly FAT_ARROW = 114;
126
- static readonly OPAREN = 115;
127
- static readonly CPAREN = 116;
128
- static readonly OBRACK = 117;
129
- static readonly CBRACK = 118;
130
- static readonly OCURLY = 119;
131
- static readonly CCURLY = 120;
132
- static readonly DOUBLECOLON = 121;
133
- static readonly TRIPLECOLON = 122;
134
- static readonly EXCLAM = 123;
135
- static readonly COLON = 124;
136
- static readonly COMMA = 125;
137
- static readonly DOT = 126;
138
- static readonly LT = 127;
139
- static readonly GT = 128;
140
- static readonly EQ = 129;
141
- static readonly NE = 130;
142
- static readonly LTE = 131;
143
- static readonly GTE = 132;
144
- static readonly PLUS = 133;
145
- static readonly MINUS = 134;
146
- static readonly STAR = 135;
147
- static readonly STARSTAR = 136;
148
- static readonly SLASH = 137;
149
- static readonly BAR = 138;
150
- static readonly SEMI = 139;
151
- static readonly NOT_MATCH = 140;
152
- static readonly MATCH = 141;
153
- static readonly PERCENT = 142;
154
- static readonly DOUBLE_QMARK = 143;
155
- static readonly QMARK = 144;
156
- static readonly LITERAL_TIMESTAMP = 145;
157
- static readonly LITERAL_HOUR = 146;
158
- static readonly LITERAL_DAY = 147;
159
- static readonly LITERAL_QUARTER = 148;
160
- static readonly LITERAL_MONTH = 149;
161
- static readonly LITERAL_WEEK = 150;
162
- static readonly LITERAL_YEAR = 151;
163
- static readonly IDENTIFIER = 152;
164
- static readonly PERCENT_LITERAL = 153;
165
- static readonly NUMERIC_LITERAL = 154;
166
- static readonly INTEGER_LITERAL = 155;
167
- static readonly BLOCK_COMMENT = 156;
168
- static readonly COMMENT_TO_EOL = 157;
169
- static readonly WHITE_SPACE = 158;
170
- static readonly SQL_BEGIN = 159;
171
- static readonly CLOSE_CODE = 160;
172
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 161;
173
- static readonly UNEXPECTED_CHAR = 162;
174
- static readonly OPEN_CODE = 163;
175
- static readonly SQL_END = 164;
118
+ static readonly SQ3_FILTER = 107;
119
+ static readonly SQ_FILTER = 108;
120
+ static readonly DQ3_FILTER = 109;
121
+ static readonly DQ_FILTER = 110;
122
+ static readonly BQ3_FILTER = 111;
123
+ static readonly BQ_FILTER = 112;
124
+ static readonly SQ_STRING = 113;
125
+ static readonly DQ_STRING = 114;
126
+ static readonly BQ_STRING = 115;
127
+ static readonly DOC_ANNOTATION = 116;
128
+ static readonly ANNOTATION = 117;
129
+ static readonly AMPER = 118;
130
+ static readonly ARROW = 119;
131
+ static readonly FAT_ARROW = 120;
132
+ static readonly OPAREN = 121;
133
+ static readonly CPAREN = 122;
134
+ static readonly OBRACK = 123;
135
+ static readonly CBRACK = 124;
136
+ static readonly OCURLY = 125;
137
+ static readonly CCURLY = 126;
138
+ static readonly DOUBLECOLON = 127;
139
+ static readonly TRIPLECOLON = 128;
140
+ static readonly EXCLAM = 129;
141
+ static readonly COLON = 130;
142
+ static readonly COMMA = 131;
143
+ static readonly DOT = 132;
144
+ static readonly LT = 133;
145
+ static readonly GT = 134;
146
+ static readonly EQ = 135;
147
+ static readonly NE = 136;
148
+ static readonly LTE = 137;
149
+ static readonly GTE = 138;
150
+ static readonly PLUS = 139;
151
+ static readonly MINUS = 140;
152
+ static readonly STAR = 141;
153
+ static readonly STARSTAR = 142;
154
+ static readonly SLASH = 143;
155
+ static readonly BAR = 144;
156
+ static readonly SEMI = 145;
157
+ static readonly NOT_MATCH = 146;
158
+ static readonly MATCH = 147;
159
+ static readonly PERCENT = 148;
160
+ static readonly DOUBLE_QMARK = 149;
161
+ static readonly QMARK = 150;
162
+ static readonly LITERAL_TIMESTAMP = 151;
163
+ static readonly LITERAL_HOUR = 152;
164
+ static readonly LITERAL_DAY = 153;
165
+ static readonly LITERAL_QUARTER = 154;
166
+ static readonly LITERAL_MONTH = 155;
167
+ static readonly LITERAL_WEEK = 156;
168
+ static readonly LITERAL_YEAR = 157;
169
+ static readonly IDENTIFIER = 158;
170
+ static readonly PERCENT_LITERAL = 159;
171
+ static readonly NUMERIC_LITERAL = 160;
172
+ static readonly INTEGER_LITERAL = 161;
173
+ static readonly BLOCK_COMMENT = 162;
174
+ static readonly COMMENT_TO_EOL = 163;
175
+ static readonly WHITE_SPACE = 164;
176
+ static readonly SQL_BEGIN = 165;
177
+ static readonly CLOSE_CODE = 166;
178
+ static readonly UNWATED_CHARS_TRAILING_NUMBERS = 167;
179
+ static readonly UNEXPECTED_CHAR = 168;
180
+ static readonly OPEN_CODE = 169;
181
+ static readonly SQL_END = 170;
176
182
  static readonly RULE_malloyDocument = 0;
177
183
  static readonly RULE_malloyStatement = 1;
178
184
  static readonly RULE_defineSourceStatement = 2;
@@ -322,9 +328,12 @@ export declare class MalloyParser extends Parser {
322
328
  static readonly RULE_sqlExploreNameRef = 146;
323
329
  static readonly RULE_nameSQLBlock = 147;
324
330
  static readonly RULE_connectionName = 148;
325
- static readonly RULE_debugExpr = 149;
326
- static readonly RULE_debugPartial = 150;
327
- static readonly RULE_experimentalStatementForTesting = 151;
331
+ static readonly RULE_tripFilterString = 149;
332
+ static readonly RULE_tickFilterString = 150;
333
+ static readonly RULE_filterString = 151;
334
+ static readonly RULE_debugExpr = 152;
335
+ static readonly RULE_debugPartial = 153;
336
+ static readonly RULE_experimentalStatementForTesting = 154;
328
337
  static readonly ruleNames: string[];
329
338
  private static readonly _LITERAL_NAMES;
330
339
  private static readonly _SYMBOLIC_NAMES;
@@ -487,6 +496,9 @@ export declare class MalloyParser extends Parser {
487
496
  sqlExploreNameRef(): SqlExploreNameRefContext;
488
497
  nameSQLBlock(): NameSQLBlockContext;
489
498
  connectionName(): ConnectionNameContext;
499
+ tripFilterString(): TripFilterStringContext;
500
+ tickFilterString(): TickFilterStringContext;
501
+ filterString(): FilterStringContext;
490
502
  debugExpr(): DebugExprContext;
491
503
  debugPartial(): DebugPartialContext;
492
504
  experimentalStatementForTesting(): ExperimentalStatementForTestingContext;
@@ -2055,6 +2067,13 @@ export declare class ExprRegexContext extends LiteralContext {
2055
2067
  exitRule(listener: MalloyParserListener): void;
2056
2068
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2057
2069
  }
2070
+ export declare class FilterString_stubContext extends LiteralContext {
2071
+ filterString(): FilterStringContext;
2072
+ constructor(ctx: LiteralContext);
2073
+ enterRule(listener: MalloyParserListener): void;
2074
+ exitRule(listener: MalloyParserListener): void;
2075
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2076
+ }
2058
2077
  export declare class ExprNowContext extends LiteralContext {
2059
2078
  NOW(): TerminalNode;
2060
2079
  constructor(ctx: LiteralContext);
@@ -2771,6 +2790,35 @@ export declare class ConnectionNameContext extends ParserRuleContext {
2771
2790
  exitRule(listener: MalloyParserListener): void;
2772
2791
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2773
2792
  }
2793
+ export declare class TripFilterStringContext extends ParserRuleContext {
2794
+ SQ3_FILTER(): TerminalNode | undefined;
2795
+ BQ3_FILTER(): TerminalNode | undefined;
2796
+ DQ3_FILTER(): TerminalNode | undefined;
2797
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2798
+ get ruleIndex(): number;
2799
+ enterRule(listener: MalloyParserListener): void;
2800
+ exitRule(listener: MalloyParserListener): void;
2801
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2802
+ }
2803
+ export declare class TickFilterStringContext extends ParserRuleContext {
2804
+ SQ_FILTER(): TerminalNode | undefined;
2805
+ BQ_FILTER(): TerminalNode | undefined;
2806
+ DQ_FILTER(): TerminalNode | undefined;
2807
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2808
+ get ruleIndex(): number;
2809
+ enterRule(listener: MalloyParserListener): void;
2810
+ exitRule(listener: MalloyParserListener): void;
2811
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2812
+ }
2813
+ export declare class FilterStringContext extends ParserRuleContext {
2814
+ tripFilterString(): TripFilterStringContext | undefined;
2815
+ tickFilterString(): TickFilterStringContext | undefined;
2816
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2817
+ get ruleIndex(): number;
2818
+ enterRule(listener: MalloyParserListener): void;
2819
+ exitRule(listener: MalloyParserListener): void;
2820
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2821
+ }
2774
2822
  export declare class DebugExprContext extends ParserRuleContext {
2775
2823
  fieldExpr(): FieldExprContext;
2776
2824
  EOF(): TerminalNode;