@malloydata/malloy 0.0.237-dev250222205057 → 0.0.237-dev250224203840

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.
@@ -112,66 +112,67 @@ export declare class MalloyParser extends Parser {
112
112
  static readonly WITH = 101;
113
113
  static readonly YEAR = 102;
114
114
  static readonly UNGROUPED = 103;
115
- static readonly STRING_ESCAPE = 104;
116
- static readonly HACKY_REGEX = 105;
117
- static readonly SQ_STRING = 106;
118
- static readonly DQ_STRING = 107;
119
- static readonly BQ_STRING = 108;
120
- static readonly DOC_ANNOTATION = 109;
121
- static readonly ANNOTATION = 110;
122
- static readonly AMPER = 111;
123
- static readonly ARROW = 112;
124
- static readonly FAT_ARROW = 113;
125
- static readonly OPAREN = 114;
126
- static readonly CPAREN = 115;
127
- static readonly OBRACK = 116;
128
- static readonly CBRACK = 117;
129
- static readonly OCURLY = 118;
130
- static readonly CCURLY = 119;
131
- static readonly DOUBLECOLON = 120;
132
- static readonly TRIPLECOLON = 121;
133
- static readonly EXCLAM = 122;
134
- static readonly COLON = 123;
135
- static readonly COMMA = 124;
136
- static readonly DOT = 125;
137
- static readonly LT = 126;
138
- static readonly GT = 127;
139
- static readonly EQ = 128;
140
- static readonly NE = 129;
141
- static readonly LTE = 130;
142
- static readonly GTE = 131;
143
- static readonly PLUS = 132;
144
- static readonly MINUS = 133;
145
- static readonly STAR = 134;
146
- static readonly STARSTAR = 135;
147
- static readonly SLASH = 136;
148
- static readonly BAR = 137;
149
- static readonly SEMI = 138;
150
- static readonly NOT_MATCH = 139;
151
- static readonly MATCH = 140;
152
- static readonly PERCENT = 141;
153
- static readonly DOUBLE_QMARK = 142;
154
- static readonly QMARK = 143;
155
- static readonly LITERAL_TIMESTAMP = 144;
156
- static readonly LITERAL_HOUR = 145;
157
- static readonly LITERAL_DAY = 146;
158
- static readonly LITERAL_QUARTER = 147;
159
- static readonly LITERAL_MONTH = 148;
160
- static readonly LITERAL_WEEK = 149;
161
- static readonly LITERAL_YEAR = 150;
162
- static readonly IDENTIFIER = 151;
163
- static readonly PERCENT_LITERAL = 152;
164
- static readonly NUMERIC_LITERAL = 153;
165
- static readonly INTEGER_LITERAL = 154;
166
- static readonly BLOCK_COMMENT = 155;
167
- static readonly COMMENT_TO_EOL = 156;
168
- static readonly WHITE_SPACE = 157;
169
- static readonly SQL_BEGIN = 158;
170
- static readonly CLOSE_CODE = 159;
171
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 160;
172
- static readonly UNEXPECTED_CHAR = 161;
173
- static readonly OPEN_CODE = 162;
174
- static readonly SQL_END = 163;
115
+ static readonly HACKY_REGEX = 104;
116
+ static readonly RAW_SQ = 105;
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;
175
176
  static readonly RULE_malloyDocument = 0;
176
177
  static readonly RULE_malloyStatement = 1;
177
178
  static readonly RULE_defineSourceStatement = 2;
@@ -286,43 +287,44 @@ export declare class MalloyParser extends Parser {
286
287
  static readonly RULE_compareOp = 111;
287
288
  static readonly RULE_string = 112;
288
289
  static readonly RULE_shortString = 113;
289
- static readonly RULE_numericLiteral = 114;
290
- static readonly RULE_literal = 115;
291
- static readonly RULE_dateLiteral = 116;
292
- static readonly RULE_tablePath = 117;
293
- static readonly RULE_tableURI = 118;
294
- static readonly RULE_id = 119;
295
- static readonly RULE_timeframe = 120;
296
- static readonly RULE_ungroup = 121;
297
- static readonly RULE_malloyOrSQLType = 122;
298
- static readonly RULE_fieldExpr = 123;
299
- static readonly RULE_partialCompare = 124;
300
- static readonly RULE_partialTest = 125;
301
- static readonly RULE_partialAllowedFieldExpr = 126;
302
- static readonly RULE_fieldExprList = 127;
303
- static readonly RULE_pickStatement = 128;
304
- static readonly RULE_pick = 129;
305
- static readonly RULE_caseStatement = 130;
306
- static readonly RULE_caseWhen = 131;
307
- static readonly RULE_recordKey = 132;
308
- static readonly RULE_recordElement = 133;
309
- static readonly RULE_argumentList = 134;
310
- static readonly RULE_fieldNameList = 135;
311
- static readonly RULE_fieldCollection = 136;
312
- static readonly RULE_collectionWildCard = 137;
313
- static readonly RULE_starQualified = 138;
314
- static readonly RULE_taggedRef = 139;
315
- static readonly RULE_refExpr = 140;
316
- static readonly RULE_collectionMember = 141;
317
- static readonly RULE_fieldPath = 142;
318
- static readonly RULE_joinName = 143;
319
- static readonly RULE_fieldName = 144;
320
- static readonly RULE_sqlExploreNameRef = 145;
321
- static readonly RULE_nameSQLBlock = 146;
322
- static readonly RULE_connectionName = 147;
323
- static readonly RULE_debugExpr = 148;
324
- static readonly RULE_debugPartial = 149;
325
- static readonly RULE_experimentalStatementForTesting = 150;
290
+ static readonly RULE_rawString = 114;
291
+ static readonly RULE_numericLiteral = 115;
292
+ static readonly RULE_literal = 116;
293
+ static readonly RULE_dateLiteral = 117;
294
+ static readonly RULE_tablePath = 118;
295
+ static readonly RULE_tableURI = 119;
296
+ static readonly RULE_id = 120;
297
+ static readonly RULE_timeframe = 121;
298
+ static readonly RULE_ungroup = 122;
299
+ static readonly RULE_malloyOrSQLType = 123;
300
+ static readonly RULE_fieldExpr = 124;
301
+ static readonly RULE_partialCompare = 125;
302
+ static readonly RULE_partialTest = 126;
303
+ static readonly RULE_partialAllowedFieldExpr = 127;
304
+ static readonly RULE_fieldExprList = 128;
305
+ static readonly RULE_pickStatement = 129;
306
+ static readonly RULE_pick = 130;
307
+ static readonly RULE_caseStatement = 131;
308
+ static readonly RULE_caseWhen = 132;
309
+ static readonly RULE_recordKey = 133;
310
+ static readonly RULE_recordElement = 134;
311
+ static readonly RULE_argumentList = 135;
312
+ static readonly RULE_fieldNameList = 136;
313
+ static readonly RULE_fieldCollection = 137;
314
+ static readonly RULE_collectionWildCard = 138;
315
+ static readonly RULE_starQualified = 139;
316
+ static readonly RULE_taggedRef = 140;
317
+ static readonly RULE_refExpr = 141;
318
+ static readonly RULE_collectionMember = 142;
319
+ static readonly RULE_fieldPath = 143;
320
+ static readonly RULE_joinName = 144;
321
+ static readonly RULE_fieldName = 145;
322
+ static readonly RULE_sqlExploreNameRef = 146;
323
+ static readonly RULE_nameSQLBlock = 147;
324
+ static readonly RULE_connectionName = 148;
325
+ static readonly RULE_debugExpr = 149;
326
+ static readonly RULE_debugPartial = 150;
327
+ static readonly RULE_experimentalStatementForTesting = 151;
326
328
  static readonly ruleNames: string[];
327
329
  private static readonly _LITERAL_NAMES;
328
330
  private static readonly _SYMBOLIC_NAMES;
@@ -449,6 +451,7 @@ export declare class MalloyParser extends Parser {
449
451
  compareOp(): CompareOpContext;
450
452
  string(): StringContext;
451
453
  shortString(): ShortStringContext;
454
+ rawString(): RawStringContext;
452
455
  numericLiteral(): NumericLiteralContext;
453
456
  literal(): LiteralContext;
454
457
  dateLiteral(): DateLiteralContext;
@@ -1979,6 +1982,15 @@ export declare class ShortStringContext extends ParserRuleContext {
1979
1982
  exitRule(listener: MalloyParserListener): void;
1980
1983
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1981
1984
  }
1985
+ export declare class RawStringContext extends ParserRuleContext {
1986
+ RAW_SQ(): TerminalNode | undefined;
1987
+ RAW_DQ(): TerminalNode | undefined;
1988
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1989
+ get ruleIndex(): number;
1990
+ enterRule(listener: MalloyParserListener): void;
1991
+ exitRule(listener: MalloyParserListener): void;
1992
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1993
+ }
1982
1994
  export declare class NumericLiteralContext extends ParserRuleContext {
1983
1995
  NUMERIC_LITERAL(): TerminalNode | undefined;
1984
1996
  INTEGER_LITERAL(): TerminalNode | undefined;
@@ -2000,6 +2012,13 @@ export declare class ExprStringContext extends LiteralContext {
2000
2012
  exitRule(listener: MalloyParserListener): void;
2001
2013
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2002
2014
  }
2015
+ export declare class Stub_rawStringContext extends LiteralContext {
2016
+ rawString(): RawStringContext;
2017
+ constructor(ctx: LiteralContext);
2018
+ enterRule(listener: MalloyParserListener): void;
2019
+ exitRule(listener: MalloyParserListener): void;
2020
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2021
+ }
2003
2022
  export declare class ExprNumberContext extends LiteralContext {
2004
2023
  numericLiteral(): NumericLiteralContext;
2005
2024
  constructor(ctx: LiteralContext);