@malloydata/malloy 0.0.359 → 0.0.361
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/annotation.js +6 -3
- package/dist/connection/registry.d.ts +10 -3
- package/dist/connection/registry.js +8 -3
- package/dist/connection/types.d.ts +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +69 -54
- package/dist/lang/lib/Malloy/MalloyLexer.js +1407 -1287
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +280 -229
- package/dist/lang/lib/Malloy/MalloyParser.js +2668 -2354
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +44 -0
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +28 -0
- package/dist/lang/malloy-to-ast.d.ts +3 -7
- package/dist/lang/malloy-to-ast.js +45 -25
- package/dist/lang/malloy-to-stable-query.d.ts +3 -3
- package/dist/lang/malloy-to-stable-query.js +3 -3
- package/dist/lang/parse-log.d.ts +2 -0
- package/dist/lang/parse-malloy.js +1 -1
- package/dist/lang/parse-tree-walkers/model-annotation-walker.js +5 -6
- package/dist/lang/parse-utils.d.ts +4 -1
- package/dist/lang/parse-utils.js +49 -0
- package/dist/lang/syntax-errors/malloy-parser-error-listener.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
|
@@ -128,222 +128,230 @@ export declare class MalloyParser extends Parser {
|
|
|
128
128
|
static readonly SQ_STRING = 117;
|
|
129
129
|
static readonly DQ_STRING = 118;
|
|
130
130
|
static readonly BQ_STRING = 119;
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly
|
|
135
|
-
static readonly
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
142
|
-
static readonly
|
|
143
|
-
static readonly
|
|
144
|
-
static readonly
|
|
145
|
-
static readonly
|
|
146
|
-
static readonly
|
|
147
|
-
static readonly
|
|
148
|
-
static readonly
|
|
149
|
-
static readonly
|
|
150
|
-
static readonly
|
|
151
|
-
static readonly
|
|
152
|
-
static readonly
|
|
153
|
-
static readonly
|
|
154
|
-
static readonly
|
|
155
|
-
static readonly
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
131
|
+
static readonly DOC_BLOCK_ANNOTATION_BEGIN = 120;
|
|
132
|
+
static readonly BLOCK_ANNOTATION_BEGIN = 121;
|
|
133
|
+
static readonly DOC_ANNOTATION = 122;
|
|
134
|
+
static readonly ANNOTATION = 123;
|
|
135
|
+
static readonly AMPER = 124;
|
|
136
|
+
static readonly ARROW = 125;
|
|
137
|
+
static readonly FAT_ARROW = 126;
|
|
138
|
+
static readonly OPAREN = 127;
|
|
139
|
+
static readonly CPAREN = 128;
|
|
140
|
+
static readonly OBRACK = 129;
|
|
141
|
+
static readonly CBRACK = 130;
|
|
142
|
+
static readonly OCURLY = 131;
|
|
143
|
+
static readonly CCURLY = 132;
|
|
144
|
+
static readonly DOUBLECOLON = 133;
|
|
145
|
+
static readonly TRIPLECOLON = 134;
|
|
146
|
+
static readonly EXCLAM = 135;
|
|
147
|
+
static readonly COLON = 136;
|
|
148
|
+
static readonly COMMA = 137;
|
|
149
|
+
static readonly DOT = 138;
|
|
150
|
+
static readonly LT = 139;
|
|
151
|
+
static readonly GT = 140;
|
|
152
|
+
static readonly EQ = 141;
|
|
153
|
+
static readonly NE = 142;
|
|
154
|
+
static readonly LTE = 143;
|
|
155
|
+
static readonly GTE = 144;
|
|
156
|
+
static readonly PLUS = 145;
|
|
157
|
+
static readonly MINUS = 146;
|
|
158
|
+
static readonly STAR = 147;
|
|
159
|
+
static readonly STARSTAR = 148;
|
|
160
|
+
static readonly SLASH = 149;
|
|
161
|
+
static readonly BAR = 150;
|
|
162
|
+
static readonly SEMI = 151;
|
|
163
|
+
static readonly NOT_MATCH = 152;
|
|
164
|
+
static readonly MATCH = 153;
|
|
165
|
+
static readonly PERCENT = 154;
|
|
166
|
+
static readonly DOUBLE_QMARK = 155;
|
|
167
|
+
static readonly QMARK = 156;
|
|
168
|
+
static readonly LITERAL_TIMESTAMP = 157;
|
|
169
|
+
static readonly LITERAL_HOUR = 158;
|
|
170
|
+
static readonly LITERAL_DAY = 159;
|
|
171
|
+
static readonly LITERAL_QUARTER = 160;
|
|
172
|
+
static readonly LITERAL_MONTH = 161;
|
|
173
|
+
static readonly LITERAL_WEEK = 162;
|
|
174
|
+
static readonly LITERAL_YEAR = 163;
|
|
175
|
+
static readonly IDENTIFIER = 164;
|
|
176
|
+
static readonly PERCENT_LITERAL = 165;
|
|
177
|
+
static readonly NUMERIC_LITERAL = 166;
|
|
178
|
+
static readonly INTEGER_LITERAL = 167;
|
|
179
|
+
static readonly BLOCK_COMMENT = 168;
|
|
180
|
+
static readonly COMMENT_TO_EOL = 169;
|
|
181
|
+
static readonly WHITE_SPACE = 170;
|
|
182
|
+
static readonly SQL_BEGIN = 171;
|
|
183
|
+
static readonly UNWATED_CHARS_TRAILING_NUMBERS = 172;
|
|
184
|
+
static readonly UNEXPECTED_CHAR = 173;
|
|
185
|
+
static readonly OPEN_CODE = 174;
|
|
186
|
+
static readonly SQL_END = 175;
|
|
187
|
+
static readonly BLOCK_ANNOTATION_END = 176;
|
|
188
|
+
static readonly BLOCK_ANNOTATION_TEXT = 177;
|
|
185
189
|
static readonly RULE_malloyDocument = 0;
|
|
186
190
|
static readonly RULE_malloyStatement = 1;
|
|
187
191
|
static readonly RULE_defineSourceStatement = 2;
|
|
188
192
|
static readonly RULE_defineQuery = 3;
|
|
189
193
|
static readonly RULE_topLevelAnonQueryDef = 4;
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
285
|
-
static readonly
|
|
286
|
-
static readonly
|
|
287
|
-
static readonly
|
|
288
|
-
static readonly
|
|
289
|
-
static readonly
|
|
290
|
-
static readonly
|
|
291
|
-
static readonly
|
|
292
|
-
static readonly
|
|
293
|
-
static readonly
|
|
294
|
-
static readonly
|
|
295
|
-
static readonly
|
|
296
|
-
static readonly
|
|
297
|
-
static readonly
|
|
298
|
-
static readonly
|
|
299
|
-
static readonly
|
|
300
|
-
static readonly
|
|
301
|
-
static readonly
|
|
302
|
-
static readonly
|
|
303
|
-
static readonly
|
|
304
|
-
static readonly
|
|
305
|
-
static readonly
|
|
306
|
-
static readonly
|
|
307
|
-
static readonly
|
|
308
|
-
static readonly
|
|
309
|
-
static readonly
|
|
310
|
-
static readonly
|
|
311
|
-
static readonly
|
|
312
|
-
static readonly
|
|
313
|
-
static readonly
|
|
314
|
-
static readonly
|
|
315
|
-
static readonly
|
|
316
|
-
static readonly
|
|
317
|
-
static readonly
|
|
318
|
-
static readonly
|
|
319
|
-
static readonly
|
|
320
|
-
static readonly
|
|
321
|
-
static readonly
|
|
322
|
-
static readonly
|
|
323
|
-
static readonly
|
|
324
|
-
static readonly
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
-
static readonly
|
|
328
|
-
static readonly
|
|
329
|
-
static readonly
|
|
330
|
-
static readonly
|
|
331
|
-
static readonly
|
|
332
|
-
static readonly
|
|
333
|
-
static readonly
|
|
334
|
-
static readonly
|
|
335
|
-
static readonly
|
|
336
|
-
static readonly
|
|
337
|
-
static readonly
|
|
338
|
-
static readonly
|
|
339
|
-
static readonly
|
|
340
|
-
static readonly
|
|
341
|
-
static readonly
|
|
342
|
-
static readonly
|
|
343
|
-
static readonly
|
|
344
|
-
static readonly
|
|
345
|
-
static readonly
|
|
346
|
-
static readonly
|
|
194
|
+
static readonly RULE_annotation = 5;
|
|
195
|
+
static readonly RULE_tags = 6;
|
|
196
|
+
static readonly RULE_blockAnnotation = 7;
|
|
197
|
+
static readonly RULE_docAnnotation = 8;
|
|
198
|
+
static readonly RULE_docBlockAnnotation = 9;
|
|
199
|
+
static readonly RULE_isDefine = 10;
|
|
200
|
+
static readonly RULE_runStatement = 11;
|
|
201
|
+
static readonly RULE_sqlString = 12;
|
|
202
|
+
static readonly RULE_sqlInterpolation = 13;
|
|
203
|
+
static readonly RULE_importStatement = 14;
|
|
204
|
+
static readonly RULE_importSelect = 15;
|
|
205
|
+
static readonly RULE_importItem = 16;
|
|
206
|
+
static readonly RULE_importURL = 17;
|
|
207
|
+
static readonly RULE_docAnnotations = 18;
|
|
208
|
+
static readonly RULE_ignoredObjectAnnotations = 19;
|
|
209
|
+
static readonly RULE_ignoredModelAnnotations = 20;
|
|
210
|
+
static readonly RULE_topLevelQueryDefs = 21;
|
|
211
|
+
static readonly RULE_topLevelQueryDef = 22;
|
|
212
|
+
static readonly RULE_refineOperator = 23;
|
|
213
|
+
static readonly RULE_turtleName = 24;
|
|
214
|
+
static readonly RULE_sqlSource = 25;
|
|
215
|
+
static readonly RULE_exploreTable = 26;
|
|
216
|
+
static readonly RULE_connectionId = 27;
|
|
217
|
+
static readonly RULE_queryProperties = 28;
|
|
218
|
+
static readonly RULE_queryName = 29;
|
|
219
|
+
static readonly RULE_sourcePropertyList = 30;
|
|
220
|
+
static readonly RULE_sourceDefinition = 31;
|
|
221
|
+
static readonly RULE_sqExplore = 32;
|
|
222
|
+
static readonly RULE_sourceParameters = 33;
|
|
223
|
+
static readonly RULE_legalParamType = 34;
|
|
224
|
+
static readonly RULE_sourceParameter = 35;
|
|
225
|
+
static readonly RULE_parameterNameDef = 36;
|
|
226
|
+
static readonly RULE_sourceNameDef = 37;
|
|
227
|
+
static readonly RULE_exploreProperties = 38;
|
|
228
|
+
static readonly RULE_exploreStatement = 39;
|
|
229
|
+
static readonly RULE_accessLabel = 40;
|
|
230
|
+
static readonly RULE_accessModifierList = 41;
|
|
231
|
+
static readonly RULE_defMeasures = 42;
|
|
232
|
+
static readonly RULE_defDimensions = 43;
|
|
233
|
+
static readonly RULE_renameList = 44;
|
|
234
|
+
static readonly RULE_renameEntry = 45;
|
|
235
|
+
static readonly RULE_defList = 46;
|
|
236
|
+
static readonly RULE_fieldDef = 47;
|
|
237
|
+
static readonly RULE_fieldNameDef = 48;
|
|
238
|
+
static readonly RULE_joinNameDef = 49;
|
|
239
|
+
static readonly RULE_declareStatement = 50;
|
|
240
|
+
static readonly RULE_joinStatement = 51;
|
|
241
|
+
static readonly RULE_queryExtend = 52;
|
|
242
|
+
static readonly RULE_modEither = 53;
|
|
243
|
+
static readonly RULE_sourceArguments = 54;
|
|
244
|
+
static readonly RULE_argumentId = 55;
|
|
245
|
+
static readonly RULE_sourceArgument = 56;
|
|
246
|
+
static readonly RULE_sqExpr = 57;
|
|
247
|
+
static readonly RULE_includeBlock = 58;
|
|
248
|
+
static readonly RULE_includeItem = 59;
|
|
249
|
+
static readonly RULE_orphanedAnnotation = 60;
|
|
250
|
+
static readonly RULE_accessLabelProp = 61;
|
|
251
|
+
static readonly RULE_includeExceptList = 62;
|
|
252
|
+
static readonly RULE_includeExceptListItem = 63;
|
|
253
|
+
static readonly RULE_includeList = 64;
|
|
254
|
+
static readonly RULE_includeField = 65;
|
|
255
|
+
static readonly RULE_segExpr = 66;
|
|
256
|
+
static readonly RULE_vExpr = 67;
|
|
257
|
+
static readonly RULE_queryExtendStatement = 68;
|
|
258
|
+
static readonly RULE_queryExtendStatementList = 69;
|
|
259
|
+
static readonly RULE_joinList = 70;
|
|
260
|
+
static readonly RULE_isExplore = 71;
|
|
261
|
+
static readonly RULE_matrixOperation = 72;
|
|
262
|
+
static readonly RULE_joinFrom = 73;
|
|
263
|
+
static readonly RULE_joinDef = 74;
|
|
264
|
+
static readonly RULE_joinExpression = 75;
|
|
265
|
+
static readonly RULE_filterStatement = 76;
|
|
266
|
+
static readonly RULE_fieldProperties = 77;
|
|
267
|
+
static readonly RULE_aggregateOrdering = 78;
|
|
268
|
+
static readonly RULE_aggregateOrderBySpec = 79;
|
|
269
|
+
static readonly RULE_aggregateOrderByStatement = 80;
|
|
270
|
+
static readonly RULE_fieldPropertyLimitStatement = 81;
|
|
271
|
+
static readonly RULE_fieldPropertyStatement = 82;
|
|
272
|
+
static readonly RULE_filterClauseList = 83;
|
|
273
|
+
static readonly RULE_whereStatement = 84;
|
|
274
|
+
static readonly RULE_havingStatement = 85;
|
|
275
|
+
static readonly RULE_subQueryDefList = 86;
|
|
276
|
+
static readonly RULE_exploreQueryNameDef = 87;
|
|
277
|
+
static readonly RULE_exploreQueryDef = 88;
|
|
278
|
+
static readonly RULE_drillStatement = 89;
|
|
279
|
+
static readonly RULE_drillClauseList = 90;
|
|
280
|
+
static readonly RULE_queryStatement = 91;
|
|
281
|
+
static readonly RULE_queryJoinStatement = 92;
|
|
282
|
+
static readonly RULE_groupByStatement = 93;
|
|
283
|
+
static readonly RULE_queryFieldList = 94;
|
|
284
|
+
static readonly RULE_queryFieldEntry = 95;
|
|
285
|
+
static readonly RULE_nestStatement = 96;
|
|
286
|
+
static readonly RULE_nestedQueryList = 97;
|
|
287
|
+
static readonly RULE_nestEntry = 98;
|
|
288
|
+
static readonly RULE_aggregateStatement = 99;
|
|
289
|
+
static readonly RULE_calculateStatement = 100;
|
|
290
|
+
static readonly RULE_projectStatement = 101;
|
|
291
|
+
static readonly RULE_partitionByStatement = 102;
|
|
292
|
+
static readonly RULE_groupedByStatement = 103;
|
|
293
|
+
static readonly RULE_orderByStatement = 104;
|
|
294
|
+
static readonly RULE_ordering = 105;
|
|
295
|
+
static readonly RULE_orderBySpec = 106;
|
|
296
|
+
static readonly RULE_limitStatement = 107;
|
|
297
|
+
static readonly RULE_bySpec = 108;
|
|
298
|
+
static readonly RULE_topStatement = 109;
|
|
299
|
+
static readonly RULE_indexElement = 110;
|
|
300
|
+
static readonly RULE_indexFields = 111;
|
|
301
|
+
static readonly RULE_indexStatement = 112;
|
|
302
|
+
static readonly RULE_sampleStatement = 113;
|
|
303
|
+
static readonly RULE_timezoneStatement = 114;
|
|
304
|
+
static readonly RULE_queryAnnotation = 115;
|
|
305
|
+
static readonly RULE_sampleSpec = 116;
|
|
306
|
+
static readonly RULE_aggregate = 117;
|
|
307
|
+
static readonly RULE_malloyType = 118;
|
|
308
|
+
static readonly RULE_malloyBasicType = 119;
|
|
309
|
+
static readonly RULE_malloyRecordType = 120;
|
|
310
|
+
static readonly RULE_malloyRecordField = 121;
|
|
311
|
+
static readonly RULE_compareOp = 122;
|
|
312
|
+
static readonly RULE_string = 123;
|
|
313
|
+
static readonly RULE_shortString = 124;
|
|
314
|
+
static readonly RULE_rawString = 125;
|
|
315
|
+
static readonly RULE_numericLiteral = 126;
|
|
316
|
+
static readonly RULE_literal = 127;
|
|
317
|
+
static readonly RULE_dateLiteral = 128;
|
|
318
|
+
static readonly RULE_tablePath = 129;
|
|
319
|
+
static readonly RULE_tableURI = 130;
|
|
320
|
+
static readonly RULE_id = 131;
|
|
321
|
+
static readonly RULE_timeframe = 132;
|
|
322
|
+
static readonly RULE_ungroup = 133;
|
|
323
|
+
static readonly RULE_malloyOrSQLType = 134;
|
|
324
|
+
static readonly RULE_fieldExpr = 135;
|
|
325
|
+
static readonly RULE_partialCompare = 136;
|
|
326
|
+
static readonly RULE_partialTest = 137;
|
|
327
|
+
static readonly RULE_partialAllowedFieldExpr = 138;
|
|
328
|
+
static readonly RULE_fieldExprList = 139;
|
|
329
|
+
static readonly RULE_pickStatement = 140;
|
|
330
|
+
static readonly RULE_pick = 141;
|
|
331
|
+
static readonly RULE_caseStatement = 142;
|
|
332
|
+
static readonly RULE_caseWhen = 143;
|
|
333
|
+
static readonly RULE_recordKey = 144;
|
|
334
|
+
static readonly RULE_recordElement = 145;
|
|
335
|
+
static readonly RULE_argumentList = 146;
|
|
336
|
+
static readonly RULE_fieldNameList = 147;
|
|
337
|
+
static readonly RULE_fieldCollection = 148;
|
|
338
|
+
static readonly RULE_collectionWildCard = 149;
|
|
339
|
+
static readonly RULE_starQualified = 150;
|
|
340
|
+
static readonly RULE_taggedRef = 151;
|
|
341
|
+
static readonly RULE_refExpr = 152;
|
|
342
|
+
static readonly RULE_collectionMember = 153;
|
|
343
|
+
static readonly RULE_fieldPath = 154;
|
|
344
|
+
static readonly RULE_joinName = 155;
|
|
345
|
+
static readonly RULE_fieldName = 156;
|
|
346
|
+
static readonly RULE_sqlExploreNameRef = 157;
|
|
347
|
+
static readonly RULE_nameSQLBlock = 158;
|
|
348
|
+
static readonly RULE_connectionName = 159;
|
|
349
|
+
static readonly RULE_tripFilterString = 160;
|
|
350
|
+
static readonly RULE_tickFilterString = 161;
|
|
351
|
+
static readonly RULE_filterString = 162;
|
|
352
|
+
static readonly RULE_debugExpr = 163;
|
|
353
|
+
static readonly RULE_debugPartial = 164;
|
|
354
|
+
static readonly RULE_experimentalStatementForTesting = 165;
|
|
347
355
|
static readonly ruleNames: string[];
|
|
348
356
|
private static readonly _LITERAL_NAMES;
|
|
349
357
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -359,7 +367,11 @@ export declare class MalloyParser extends Parser {
|
|
|
359
367
|
defineSourceStatement(): DefineSourceStatementContext;
|
|
360
368
|
defineQuery(): DefineQueryContext;
|
|
361
369
|
topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
|
|
370
|
+
annotation(): AnnotationContext;
|
|
362
371
|
tags(): TagsContext;
|
|
372
|
+
blockAnnotation(): BlockAnnotationContext;
|
|
373
|
+
docAnnotation(): DocAnnotationContext;
|
|
374
|
+
docBlockAnnotation(): DocBlockAnnotationContext;
|
|
363
375
|
isDefine(): IsDefineContext;
|
|
364
376
|
runStatement(): RunStatementContext;
|
|
365
377
|
sqlString(): SqlStringContext;
|
|
@@ -590,9 +602,51 @@ export declare class TopLevelAnonQueryDefContext extends ParserRuleContext {
|
|
|
590
602
|
exitRule(listener: MalloyParserListener): void;
|
|
591
603
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
592
604
|
}
|
|
605
|
+
export declare class AnnotationContext extends ParserRuleContext {
|
|
606
|
+
ANNOTATION(): TerminalNode | undefined;
|
|
607
|
+
blockAnnotation(): BlockAnnotationContext | undefined;
|
|
608
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
609
|
+
get ruleIndex(): number;
|
|
610
|
+
enterRule(listener: MalloyParserListener): void;
|
|
611
|
+
exitRule(listener: MalloyParserListener): void;
|
|
612
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
613
|
+
}
|
|
593
614
|
export declare class TagsContext extends ParserRuleContext {
|
|
594
|
-
|
|
595
|
-
|
|
615
|
+
annotation(): AnnotationContext[];
|
|
616
|
+
annotation(i: number): AnnotationContext;
|
|
617
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
618
|
+
get ruleIndex(): number;
|
|
619
|
+
enterRule(listener: MalloyParserListener): void;
|
|
620
|
+
exitRule(listener: MalloyParserListener): void;
|
|
621
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
622
|
+
}
|
|
623
|
+
export declare class BlockAnnotationContext extends ParserRuleContext {
|
|
624
|
+
BLOCK_ANNOTATION_BEGIN(): TerminalNode;
|
|
625
|
+
BLOCK_ANNOTATION_END(): TerminalNode | undefined;
|
|
626
|
+
EOF(): TerminalNode | undefined;
|
|
627
|
+
BLOCK_ANNOTATION_TEXT(): TerminalNode[];
|
|
628
|
+
BLOCK_ANNOTATION_TEXT(i: number): TerminalNode;
|
|
629
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
630
|
+
get ruleIndex(): number;
|
|
631
|
+
enterRule(listener: MalloyParserListener): void;
|
|
632
|
+
exitRule(listener: MalloyParserListener): void;
|
|
633
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
634
|
+
}
|
|
635
|
+
export declare class DocAnnotationContext extends ParserRuleContext {
|
|
636
|
+
DOC_ANNOTATION(): TerminalNode | undefined;
|
|
637
|
+
docBlockAnnotation(): DocBlockAnnotationContext | undefined;
|
|
638
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
639
|
+
get ruleIndex(): number;
|
|
640
|
+
enterRule(listener: MalloyParserListener): void;
|
|
641
|
+
exitRule(listener: MalloyParserListener): void;
|
|
642
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
643
|
+
}
|
|
644
|
+
export declare class DocBlockAnnotationContext extends ParserRuleContext {
|
|
645
|
+
DOC_BLOCK_ANNOTATION_BEGIN(): TerminalNode;
|
|
646
|
+
BLOCK_ANNOTATION_END(): TerminalNode | undefined;
|
|
647
|
+
EOF(): TerminalNode | undefined;
|
|
648
|
+
BLOCK_ANNOTATION_TEXT(): TerminalNode[];
|
|
649
|
+
BLOCK_ANNOTATION_TEXT(i: number): TerminalNode;
|
|
596
650
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
597
651
|
get ruleIndex(): number;
|
|
598
652
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -685,8 +739,8 @@ export declare class ImportURLContext extends ParserRuleContext {
|
|
|
685
739
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
686
740
|
}
|
|
687
741
|
export declare class DocAnnotationsContext extends ParserRuleContext {
|
|
688
|
-
|
|
689
|
-
|
|
742
|
+
docAnnotation(): DocAnnotationContext[];
|
|
743
|
+
docAnnotation(i: number): DocAnnotationContext;
|
|
690
744
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
691
745
|
get ruleIndex(): number;
|
|
692
746
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -694,8 +748,8 @@ export declare class DocAnnotationsContext extends ParserRuleContext {
|
|
|
694
748
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
695
749
|
}
|
|
696
750
|
export declare class IgnoredObjectAnnotationsContext extends ParserRuleContext {
|
|
697
|
-
|
|
698
|
-
|
|
751
|
+
annotation(): AnnotationContext[];
|
|
752
|
+
annotation(i: number): AnnotationContext;
|
|
699
753
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
700
754
|
get ruleIndex(): number;
|
|
701
755
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -703,8 +757,8 @@ export declare class IgnoredObjectAnnotationsContext extends ParserRuleContext {
|
|
|
703
757
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
704
758
|
}
|
|
705
759
|
export declare class IgnoredModelAnnotationsContext extends ParserRuleContext {
|
|
706
|
-
|
|
707
|
-
|
|
760
|
+
docAnnotation(): DocAnnotationContext[];
|
|
761
|
+
docAnnotation(i: number): DocAnnotationContext;
|
|
708
762
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
709
763
|
get ruleIndex(): number;
|
|
710
764
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -981,8 +1035,8 @@ export declare class DefExploreTimezoneContext extends ExploreStatementContext {
|
|
|
981
1035
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
982
1036
|
}
|
|
983
1037
|
export declare class DefExploreAnnotationContext extends ExploreStatementContext {
|
|
984
|
-
|
|
985
|
-
|
|
1038
|
+
annotation(): AnnotationContext[];
|
|
1039
|
+
annotation(i: number): AnnotationContext;
|
|
986
1040
|
constructor(ctx: ExploreStatementContext);
|
|
987
1041
|
enterRule(listener: MalloyParserListener): void;
|
|
988
1042
|
exitRule(listener: MalloyParserListener): void;
|
|
@@ -1306,7 +1360,7 @@ export declare class IncludeItemContext extends ParserRuleContext {
|
|
|
1306
1360
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1307
1361
|
}
|
|
1308
1362
|
export declare class OrphanedAnnotationContext extends ParserRuleContext {
|
|
1309
|
-
|
|
1363
|
+
annotation(): AnnotationContext;
|
|
1310
1364
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1311
1365
|
get ruleIndex(): number;
|
|
1312
1366
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1505,11 +1559,10 @@ export declare class JoinDefContext extends ParserRuleContext {
|
|
|
1505
1559
|
copyFrom(ctx: JoinDefContext): void;
|
|
1506
1560
|
}
|
|
1507
1561
|
export declare class JoinWithContext extends JoinDefContext {
|
|
1562
|
+
tags(): TagsContext;
|
|
1508
1563
|
joinFrom(): JoinFromContext;
|
|
1509
1564
|
WITH(): TerminalNode;
|
|
1510
1565
|
fieldExpr(): FieldExprContext;
|
|
1511
|
-
ANNOTATION(): TerminalNode[];
|
|
1512
|
-
ANNOTATION(i: number): TerminalNode;
|
|
1513
1566
|
matrixOperation(): MatrixOperationContext | undefined;
|
|
1514
1567
|
constructor(ctx: JoinDefContext);
|
|
1515
1568
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1517,9 +1570,8 @@ export declare class JoinWithContext extends JoinDefContext {
|
|
|
1517
1570
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1518
1571
|
}
|
|
1519
1572
|
export declare class JoinOnContext extends JoinDefContext {
|
|
1573
|
+
tags(): TagsContext;
|
|
1520
1574
|
joinFrom(): JoinFromContext;
|
|
1521
|
-
ANNOTATION(): TerminalNode[];
|
|
1522
|
-
ANNOTATION(i: number): TerminalNode;
|
|
1523
1575
|
ON(): TerminalNode | undefined;
|
|
1524
1576
|
joinExpression(): JoinExpressionContext | undefined;
|
|
1525
1577
|
matrixOperation(): MatrixOperationContext | undefined;
|
|
@@ -1657,11 +1709,10 @@ export declare class ExploreQueryNameDefContext extends ParserRuleContext {
|
|
|
1657
1709
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1658
1710
|
}
|
|
1659
1711
|
export declare class ExploreQueryDefContext extends ParserRuleContext {
|
|
1712
|
+
tags(): TagsContext;
|
|
1660
1713
|
exploreQueryNameDef(): ExploreQueryNameDefContext;
|
|
1661
1714
|
isDefine(): IsDefineContext;
|
|
1662
1715
|
vExpr(): VExprContext;
|
|
1663
|
-
ANNOTATION(): TerminalNode[];
|
|
1664
|
-
ANNOTATION(i: number): TerminalNode;
|
|
1665
1716
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1666
1717
|
get ruleIndex(): number;
|
|
1667
1718
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1952,7 +2003,7 @@ export declare class TimezoneStatementContext extends ParserRuleContext {
|
|
|
1952
2003
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1953
2004
|
}
|
|
1954
2005
|
export declare class QueryAnnotationContext extends ParserRuleContext {
|
|
1955
|
-
|
|
2006
|
+
annotation(): AnnotationContext;
|
|
1956
2007
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1957
2008
|
get ruleIndex(): number;
|
|
1958
2009
|
enterRule(listener: MalloyParserListener): void;
|