@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.
@@ -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 DOC_ANNOTATION = 120;
132
- static readonly ANNOTATION = 121;
133
- static readonly AMPER = 122;
134
- static readonly ARROW = 123;
135
- static readonly FAT_ARROW = 124;
136
- static readonly OPAREN = 125;
137
- static readonly CPAREN = 126;
138
- static readonly OBRACK = 127;
139
- static readonly CBRACK = 128;
140
- static readonly OCURLY = 129;
141
- static readonly CCURLY = 130;
142
- static readonly DOUBLECOLON = 131;
143
- static readonly TRIPLECOLON = 132;
144
- static readonly EXCLAM = 133;
145
- static readonly COLON = 134;
146
- static readonly COMMA = 135;
147
- static readonly DOT = 136;
148
- static readonly LT = 137;
149
- static readonly GT = 138;
150
- static readonly EQ = 139;
151
- static readonly NE = 140;
152
- static readonly LTE = 141;
153
- static readonly GTE = 142;
154
- static readonly PLUS = 143;
155
- static readonly MINUS = 144;
156
- static readonly STAR = 145;
157
- static readonly STARSTAR = 146;
158
- static readonly SLASH = 147;
159
- static readonly BAR = 148;
160
- static readonly SEMI = 149;
161
- static readonly NOT_MATCH = 150;
162
- static readonly MATCH = 151;
163
- static readonly PERCENT = 152;
164
- static readonly DOUBLE_QMARK = 153;
165
- static readonly QMARK = 154;
166
- static readonly LITERAL_TIMESTAMP = 155;
167
- static readonly LITERAL_HOUR = 156;
168
- static readonly LITERAL_DAY = 157;
169
- static readonly LITERAL_QUARTER = 158;
170
- static readonly LITERAL_MONTH = 159;
171
- static readonly LITERAL_WEEK = 160;
172
- static readonly LITERAL_YEAR = 161;
173
- static readonly IDENTIFIER = 162;
174
- static readonly PERCENT_LITERAL = 163;
175
- static readonly NUMERIC_LITERAL = 164;
176
- static readonly INTEGER_LITERAL = 165;
177
- static readonly BLOCK_COMMENT = 166;
178
- static readonly COMMENT_TO_EOL = 167;
179
- static readonly WHITE_SPACE = 168;
180
- static readonly SQL_BEGIN = 169;
181
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 170;
182
- static readonly UNEXPECTED_CHAR = 171;
183
- static readonly OPEN_CODE = 172;
184
- static readonly SQL_END = 173;
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 RULE_tags = 5;
191
- static readonly RULE_isDefine = 6;
192
- static readonly RULE_runStatement = 7;
193
- static readonly RULE_sqlString = 8;
194
- static readonly RULE_sqlInterpolation = 9;
195
- static readonly RULE_importStatement = 10;
196
- static readonly RULE_importSelect = 11;
197
- static readonly RULE_importItem = 12;
198
- static readonly RULE_importURL = 13;
199
- static readonly RULE_docAnnotations = 14;
200
- static readonly RULE_ignoredObjectAnnotations = 15;
201
- static readonly RULE_ignoredModelAnnotations = 16;
202
- static readonly RULE_topLevelQueryDefs = 17;
203
- static readonly RULE_topLevelQueryDef = 18;
204
- static readonly RULE_refineOperator = 19;
205
- static readonly RULE_turtleName = 20;
206
- static readonly RULE_sqlSource = 21;
207
- static readonly RULE_exploreTable = 22;
208
- static readonly RULE_connectionId = 23;
209
- static readonly RULE_queryProperties = 24;
210
- static readonly RULE_queryName = 25;
211
- static readonly RULE_sourcePropertyList = 26;
212
- static readonly RULE_sourceDefinition = 27;
213
- static readonly RULE_sqExplore = 28;
214
- static readonly RULE_sourceParameters = 29;
215
- static readonly RULE_legalParamType = 30;
216
- static readonly RULE_sourceParameter = 31;
217
- static readonly RULE_parameterNameDef = 32;
218
- static readonly RULE_sourceNameDef = 33;
219
- static readonly RULE_exploreProperties = 34;
220
- static readonly RULE_exploreStatement = 35;
221
- static readonly RULE_accessLabel = 36;
222
- static readonly RULE_accessModifierList = 37;
223
- static readonly RULE_defMeasures = 38;
224
- static readonly RULE_defDimensions = 39;
225
- static readonly RULE_renameList = 40;
226
- static readonly RULE_renameEntry = 41;
227
- static readonly RULE_defList = 42;
228
- static readonly RULE_fieldDef = 43;
229
- static readonly RULE_fieldNameDef = 44;
230
- static readonly RULE_joinNameDef = 45;
231
- static readonly RULE_declareStatement = 46;
232
- static readonly RULE_joinStatement = 47;
233
- static readonly RULE_queryExtend = 48;
234
- static readonly RULE_modEither = 49;
235
- static readonly RULE_sourceArguments = 50;
236
- static readonly RULE_argumentId = 51;
237
- static readonly RULE_sourceArgument = 52;
238
- static readonly RULE_sqExpr = 53;
239
- static readonly RULE_includeBlock = 54;
240
- static readonly RULE_includeItem = 55;
241
- static readonly RULE_orphanedAnnotation = 56;
242
- static readonly RULE_accessLabelProp = 57;
243
- static readonly RULE_includeExceptList = 58;
244
- static readonly RULE_includeExceptListItem = 59;
245
- static readonly RULE_includeList = 60;
246
- static readonly RULE_includeField = 61;
247
- static readonly RULE_segExpr = 62;
248
- static readonly RULE_vExpr = 63;
249
- static readonly RULE_queryExtendStatement = 64;
250
- static readonly RULE_queryExtendStatementList = 65;
251
- static readonly RULE_joinList = 66;
252
- static readonly RULE_isExplore = 67;
253
- static readonly RULE_matrixOperation = 68;
254
- static readonly RULE_joinFrom = 69;
255
- static readonly RULE_joinDef = 70;
256
- static readonly RULE_joinExpression = 71;
257
- static readonly RULE_filterStatement = 72;
258
- static readonly RULE_fieldProperties = 73;
259
- static readonly RULE_aggregateOrdering = 74;
260
- static readonly RULE_aggregateOrderBySpec = 75;
261
- static readonly RULE_aggregateOrderByStatement = 76;
262
- static readonly RULE_fieldPropertyLimitStatement = 77;
263
- static readonly RULE_fieldPropertyStatement = 78;
264
- static readonly RULE_filterClauseList = 79;
265
- static readonly RULE_whereStatement = 80;
266
- static readonly RULE_havingStatement = 81;
267
- static readonly RULE_subQueryDefList = 82;
268
- static readonly RULE_exploreQueryNameDef = 83;
269
- static readonly RULE_exploreQueryDef = 84;
270
- static readonly RULE_drillStatement = 85;
271
- static readonly RULE_drillClauseList = 86;
272
- static readonly RULE_queryStatement = 87;
273
- static readonly RULE_queryJoinStatement = 88;
274
- static readonly RULE_groupByStatement = 89;
275
- static readonly RULE_queryFieldList = 90;
276
- static readonly RULE_queryFieldEntry = 91;
277
- static readonly RULE_nestStatement = 92;
278
- static readonly RULE_nestedQueryList = 93;
279
- static readonly RULE_nestEntry = 94;
280
- static readonly RULE_aggregateStatement = 95;
281
- static readonly RULE_calculateStatement = 96;
282
- static readonly RULE_projectStatement = 97;
283
- static readonly RULE_partitionByStatement = 98;
284
- static readonly RULE_groupedByStatement = 99;
285
- static readonly RULE_orderByStatement = 100;
286
- static readonly RULE_ordering = 101;
287
- static readonly RULE_orderBySpec = 102;
288
- static readonly RULE_limitStatement = 103;
289
- static readonly RULE_bySpec = 104;
290
- static readonly RULE_topStatement = 105;
291
- static readonly RULE_indexElement = 106;
292
- static readonly RULE_indexFields = 107;
293
- static readonly RULE_indexStatement = 108;
294
- static readonly RULE_sampleStatement = 109;
295
- static readonly RULE_timezoneStatement = 110;
296
- static readonly RULE_queryAnnotation = 111;
297
- static readonly RULE_sampleSpec = 112;
298
- static readonly RULE_aggregate = 113;
299
- static readonly RULE_malloyType = 114;
300
- static readonly RULE_malloyBasicType = 115;
301
- static readonly RULE_malloyRecordType = 116;
302
- static readonly RULE_malloyRecordField = 117;
303
- static readonly RULE_compareOp = 118;
304
- static readonly RULE_string = 119;
305
- static readonly RULE_shortString = 120;
306
- static readonly RULE_rawString = 121;
307
- static readonly RULE_numericLiteral = 122;
308
- static readonly RULE_literal = 123;
309
- static readonly RULE_dateLiteral = 124;
310
- static readonly RULE_tablePath = 125;
311
- static readonly RULE_tableURI = 126;
312
- static readonly RULE_id = 127;
313
- static readonly RULE_timeframe = 128;
314
- static readonly RULE_ungroup = 129;
315
- static readonly RULE_malloyOrSQLType = 130;
316
- static readonly RULE_fieldExpr = 131;
317
- static readonly RULE_partialCompare = 132;
318
- static readonly RULE_partialTest = 133;
319
- static readonly RULE_partialAllowedFieldExpr = 134;
320
- static readonly RULE_fieldExprList = 135;
321
- static readonly RULE_pickStatement = 136;
322
- static readonly RULE_pick = 137;
323
- static readonly RULE_caseStatement = 138;
324
- static readonly RULE_caseWhen = 139;
325
- static readonly RULE_recordKey = 140;
326
- static readonly RULE_recordElement = 141;
327
- static readonly RULE_argumentList = 142;
328
- static readonly RULE_fieldNameList = 143;
329
- static readonly RULE_fieldCollection = 144;
330
- static readonly RULE_collectionWildCard = 145;
331
- static readonly RULE_starQualified = 146;
332
- static readonly RULE_taggedRef = 147;
333
- static readonly RULE_refExpr = 148;
334
- static readonly RULE_collectionMember = 149;
335
- static readonly RULE_fieldPath = 150;
336
- static readonly RULE_joinName = 151;
337
- static readonly RULE_fieldName = 152;
338
- static readonly RULE_sqlExploreNameRef = 153;
339
- static readonly RULE_nameSQLBlock = 154;
340
- static readonly RULE_connectionName = 155;
341
- static readonly RULE_tripFilterString = 156;
342
- static readonly RULE_tickFilterString = 157;
343
- static readonly RULE_filterString = 158;
344
- static readonly RULE_debugExpr = 159;
345
- static readonly RULE_debugPartial = 160;
346
- static readonly RULE_experimentalStatementForTesting = 161;
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
- ANNOTATION(): TerminalNode[];
595
- ANNOTATION(i: number): TerminalNode;
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
- DOC_ANNOTATION(): TerminalNode[];
689
- DOC_ANNOTATION(i: number): TerminalNode;
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
- ANNOTATION(): TerminalNode[];
698
- ANNOTATION(i: number): TerminalNode;
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
- DOC_ANNOTATION(): TerminalNode[];
707
- DOC_ANNOTATION(i: number): TerminalNode;
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
- ANNOTATION(): TerminalNode[];
985
- ANNOTATION(i: number): TerminalNode;
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
- ANNOTATION(): TerminalNode;
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
- ANNOTATION(): TerminalNode;
2006
+ annotation(): AnnotationContext;
1956
2007
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1957
2008
  get ruleIndex(): number;
1958
2009
  enterRule(listener: MalloyParserListener): void;