@malloydata/malloy 0.0.43 → 0.0.44-dev230623185845

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.
Files changed (102) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/dist/index.js +3 -1
  3. package/dist/lang/ast/elements/define-query.d.ts +7 -1
  4. package/dist/lang/ast/elements/define-query.js +10 -1
  5. package/dist/lang/ast/elements/define-source.d.ts +7 -1
  6. package/dist/lang/ast/elements/define-source.js +16 -9
  7. package/dist/lang/ast/elements/pipeline-desc.d.ts +2 -1
  8. package/dist/lang/ast/elements/pipeline-desc.js +6 -2
  9. package/dist/lang/ast/elements/refined-source.d.ts +5 -4
  10. package/dist/lang/ast/elements/refined-source.js +5 -0
  11. package/dist/lang/ast/expressions/expr-id-reference.js +4 -4
  12. package/dist/lang/ast/field-space/column-space-field.d.ts +1 -1
  13. package/dist/lang/ast/field-space/column-space-field.js +3 -3
  14. package/dist/lang/ast/field-space/field-definition-value.d.ts +1 -1
  15. package/dist/lang/ast/field-space/field-definition-value.js +16 -10
  16. package/dist/lang/ast/field-space/query-field-struct.js +1 -0
  17. package/dist/lang/ast/field-space/query-spaces.js +4 -1
  18. package/dist/lang/ast/field-space/reference-field.d.ts +8 -2
  19. package/dist/lang/ast/field-space/reference-field.js +51 -9
  20. package/dist/lang/ast/index.d.ts +2 -2
  21. package/dist/lang/ast/index.js +2 -2
  22. package/dist/lang/ast/query-elements/anonymous-query.d.ts +6 -1
  23. package/dist/lang/ast/query-elements/anonymous-query.js +8 -0
  24. package/dist/lang/ast/query-elements/existing-query.js +3 -0
  25. package/dist/lang/ast/query-elements/full-query.js +7 -4
  26. package/dist/lang/ast/query-elements/run-query.d.ts +6 -1
  27. package/dist/lang/ast/query-elements/run-query.js +11 -1
  28. package/dist/lang/ast/query-items/field-declaration.d.ts +6 -2
  29. package/dist/lang/ast/query-items/field-declaration.js +6 -0
  30. package/dist/lang/ast/query-items/field-references.d.ts +13 -5
  31. package/dist/lang/ast/query-items/field-references.js +10 -4
  32. package/dist/lang/ast/query-properties/aggregate.d.ts +3 -3
  33. package/dist/lang/ast/query-properties/aggregate.js +5 -4
  34. package/dist/lang/ast/query-properties/calculate.d.ts +3 -3
  35. package/dist/lang/ast/query-properties/calculate.js +5 -4
  36. package/dist/lang/ast/query-properties/declare-fields.d.ts +4 -3
  37. package/dist/lang/ast/query-properties/declare-fields.js +5 -4
  38. package/dist/lang/ast/query-properties/dimensions.d.ts +4 -0
  39. package/dist/lang/ast/query-properties/{dimmensions.js → dimensions.js} +4 -3
  40. package/dist/lang/ast/query-properties/extend.d.ts +1 -1
  41. package/dist/lang/ast/query-properties/extend.js +3 -2
  42. package/dist/lang/ast/query-properties/filters.d.ts +0 -1
  43. package/dist/lang/ast/query-properties/filters.js +2 -2
  44. package/dist/lang/ast/query-properties/group-by.d.ts +3 -3
  45. package/dist/lang/ast/query-properties/group-by.js +5 -4
  46. package/dist/lang/ast/query-properties/joins.d.ts +10 -4
  47. package/dist/lang/ast/query-properties/joins.js +16 -2
  48. package/dist/lang/ast/query-properties/measures.d.ts +1 -2
  49. package/dist/lang/ast/query-properties/measures.js +3 -2
  50. package/dist/lang/ast/query-properties/nest.d.ts +5 -1
  51. package/dist/lang/ast/query-properties/nest.js +11 -1
  52. package/dist/lang/ast/query-properties/nests.d.ts +3 -2
  53. package/dist/lang/ast/query-properties/nests.js +4 -3
  54. package/dist/lang/ast/query-properties/ordering.d.ts +1 -0
  55. package/dist/lang/ast/query-properties/ordering.js +2 -1
  56. package/dist/lang/ast/query-properties/project-statement.d.ts +3 -3
  57. package/dist/lang/ast/query-properties/project-statement.js +5 -4
  58. package/dist/lang/ast/query-properties/qop-desc.d.ts +1 -1
  59. package/dist/lang/ast/query-properties/qop-desc.js +3 -2
  60. package/dist/lang/ast/source-properties/renames.d.ts +1 -1
  61. package/dist/lang/ast/source-properties/renames.js +3 -2
  62. package/dist/lang/ast/source-properties/turtles.d.ts +3 -3
  63. package/dist/lang/ast/source-properties/turtles.js +5 -4
  64. package/dist/lang/ast/types/definition-list.d.ts +10 -0
  65. package/dist/lang/ast/types/definition-list.js +52 -0
  66. package/dist/lang/ast/types/malloy-element.d.ts +21 -6
  67. package/dist/lang/ast/types/malloy-element.js +45 -13
  68. package/dist/lang/ast/types/noteable.d.ts +12 -0
  69. package/dist/lang/ast/types/noteable.js +42 -0
  70. package/dist/lang/ast/types/query-extend-property.d.ts +1 -1
  71. package/dist/lang/ast/types/query-extend-property.js +2 -2
  72. package/dist/lang/ast/types/query-property.d.ts +3 -2
  73. package/dist/lang/ast/types/query-property.js +2 -0
  74. package/dist/lang/ast/types/source-desc.d.ts +5 -0
  75. package/dist/lang/ast/types/{explore-desc.js → source-desc.js} +7 -6
  76. package/dist/lang/ast/types/source-property.d.ts +2 -2
  77. package/dist/lang/ast/types/source-property.js +2 -0
  78. package/dist/lang/ast/types/space-field.d.ts +1 -0
  79. package/dist/lang/lib/Malloy/MalloyLexer.d.ts +56 -54
  80. package/dist/lang/lib/Malloy/MalloyLexer.js +1051 -1042
  81. package/dist/lang/lib/Malloy/MalloyParser.d.ts +326 -182
  82. package/dist/lang/lib/Malloy/MalloyParser.js +2894 -1718
  83. package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +133 -19
  84. package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +83 -11
  85. package/dist/lang/malloy-to-ast.d.ts +23 -10
  86. package/dist/lang/malloy-to-ast.js +144 -122
  87. package/dist/lang/parse-tree-walkers/document-symbol-walker.js +2 -1
  88. package/dist/lang/test/annotation.spec.d.ts +1 -0
  89. package/dist/lang/test/annotation.spec.js +565 -0
  90. package/dist/lang/test/parse.spec.js +20 -19
  91. package/dist/lang/test/test-translator.d.ts +2 -2
  92. package/dist/lang/test/test-translator.js +27 -15
  93. package/dist/malloy.d.ts +11 -5
  94. package/dist/malloy.js +16 -0
  95. package/dist/model/malloy_query.js +10 -0
  96. package/dist/model/malloy_types.d.ts +19 -2
  97. package/dist/model/malloy_types.js +1 -1
  98. package/dist/tags.d.ts +21 -0
  99. package/dist/tags.js +155 -0
  100. package/package.json +1 -1
  101. package/dist/lang/ast/query-properties/dimmensions.d.ts +0 -5
  102. package/dist/lang/ast/types/explore-desc.d.ts +0 -5
@@ -99,171 +99,181 @@ export declare class MalloyParser extends Parser {
99
99
  static readonly STRING_ESCAPE = 88;
100
100
  static readonly HACKY_REGEX = 89;
101
101
  static readonly STRING_LITERAL = 90;
102
- static readonly AMPER = 91;
103
- static readonly ARROW = 92;
104
- static readonly FAT_ARROW = 93;
105
- static readonly OPAREN = 94;
106
- static readonly CPAREN = 95;
107
- static readonly OBRACK = 96;
108
- static readonly CBRACK = 97;
109
- static readonly OCURLY = 98;
110
- static readonly CCURLY = 99;
111
- static readonly DOUBLECOLON = 100;
112
- static readonly TRIPLECOLON = 101;
113
- static readonly EXCLAM = 102;
114
- static readonly COLON = 103;
115
- static readonly COMMA = 104;
116
- static readonly DOT = 105;
117
- static readonly LT = 106;
118
- static readonly GT = 107;
119
- static readonly EQ = 108;
120
- static readonly NE = 109;
121
- static readonly LTE = 110;
122
- static readonly GTE = 111;
123
- static readonly PLUS = 112;
124
- static readonly MINUS = 113;
125
- static readonly STAR = 114;
126
- static readonly STARSTAR = 115;
127
- static readonly SLASH = 116;
128
- static readonly BAR = 117;
129
- static readonly SEMI = 118;
130
- static readonly NOT_MATCH = 119;
131
- static readonly MATCH = 120;
132
- static readonly PERCENT = 121;
133
- static readonly DOUBLE_QMARK = 122;
134
- static readonly QMARK = 123;
135
- static readonly LITERAL_TIMESTAMP = 124;
136
- static readonly LITERAL_HOUR = 125;
137
- static readonly LITERAL_DAY = 126;
138
- static readonly LITERAL_QUARTER = 127;
139
- static readonly LITERAL_MONTH = 128;
140
- static readonly LITERAL_WEEK = 129;
141
- static readonly LITERAL_YEAR = 130;
142
- static readonly IDENTIFIER = 131;
143
- static readonly PERCENT_LITERAL = 132;
144
- static readonly INTEGER_LITERAL = 133;
145
- static readonly NUMERIC_LITERAL = 134;
146
- static readonly OBJECT_NAME_LITERAL = 135;
147
- static readonly BLOCK_COMMENT = 136;
148
- static readonly COMMENT_TO_EOL = 137;
149
- static readonly WHITE_SPACE = 138;
150
- static readonly SQL_BEGIN = 139;
151
- static readonly CLOSE_CODE = 140;
152
- static readonly UNWATED_CHARS_TRAILING_NUMBERS = 141;
153
- static readonly UNEXPECTED_CHAR = 142;
154
- static readonly OPEN_CODE = 143;
155
- static readonly SQL_END = 144;
102
+ static readonly DOC_ANNOTATION = 91;
103
+ static readonly ANNOTATION = 92;
104
+ static readonly AMPER = 93;
105
+ static readonly ARROW = 94;
106
+ static readonly FAT_ARROW = 95;
107
+ static readonly OPAREN = 96;
108
+ static readonly CPAREN = 97;
109
+ static readonly OBRACK = 98;
110
+ static readonly CBRACK = 99;
111
+ static readonly OCURLY = 100;
112
+ static readonly CCURLY = 101;
113
+ static readonly DOUBLECOLON = 102;
114
+ static readonly TRIPLECOLON = 103;
115
+ static readonly EXCLAM = 104;
116
+ static readonly COLON = 105;
117
+ static readonly COMMA = 106;
118
+ static readonly DOT = 107;
119
+ static readonly LT = 108;
120
+ static readonly GT = 109;
121
+ static readonly EQ = 110;
122
+ static readonly NE = 111;
123
+ static readonly LTE = 112;
124
+ static readonly GTE = 113;
125
+ static readonly PLUS = 114;
126
+ static readonly MINUS = 115;
127
+ static readonly STAR = 116;
128
+ static readonly STARSTAR = 117;
129
+ static readonly SLASH = 118;
130
+ static readonly BAR = 119;
131
+ static readonly SEMI = 120;
132
+ static readonly NOT_MATCH = 121;
133
+ static readonly MATCH = 122;
134
+ static readonly PERCENT = 123;
135
+ static readonly DOUBLE_QMARK = 124;
136
+ static readonly QMARK = 125;
137
+ static readonly LITERAL_TIMESTAMP = 126;
138
+ static readonly LITERAL_HOUR = 127;
139
+ static readonly LITERAL_DAY = 128;
140
+ static readonly LITERAL_QUARTER = 129;
141
+ static readonly LITERAL_MONTH = 130;
142
+ static readonly LITERAL_WEEK = 131;
143
+ static readonly LITERAL_YEAR = 132;
144
+ static readonly IDENTIFIER = 133;
145
+ static readonly PERCENT_LITERAL = 134;
146
+ static readonly INTEGER_LITERAL = 135;
147
+ static readonly NUMERIC_LITERAL = 136;
148
+ static readonly OBJECT_NAME_LITERAL = 137;
149
+ static readonly BLOCK_COMMENT = 138;
150
+ static readonly COMMENT_TO_EOL = 139;
151
+ static readonly WHITE_SPACE = 140;
152
+ static readonly SQL_BEGIN = 141;
153
+ static readonly CLOSE_CODE = 142;
154
+ static readonly UNWATED_CHARS_TRAILING_NUMBERS = 143;
155
+ static readonly UNEXPECTED_CHAR = 144;
156
+ static readonly OPEN_CODE = 145;
157
+ static readonly SQL_END = 146;
156
158
  static readonly RULE_malloyDocument = 0;
157
159
  static readonly RULE_malloyStatement = 1;
158
160
  static readonly RULE_defineSourceStatement = 2;
159
161
  static readonly RULE_defineQuery = 3;
160
162
  static readonly RULE_topLevelAnonQueryDef = 4;
161
- static readonly RULE_runStatement = 5;
162
- static readonly RULE_defineSQLStatement = 6;
163
- static readonly RULE_sqlBlock = 7;
164
- static readonly RULE_blockSQLDef = 8;
165
- static readonly RULE_sqlString = 9;
166
- static readonly RULE_sqlInterpolation = 10;
167
- static readonly RULE_importStatement = 11;
168
- static readonly RULE_importURL = 12;
169
- static readonly RULE_topLevelQueryDefs = 13;
170
- static readonly RULE_topLevelQueryDef = 14;
171
- static readonly RULE_refineOperator = 15;
172
- static readonly RULE_query = 16;
173
- static readonly RULE_pipelineFromName = 17;
174
- static readonly RULE_firstSegment = 18;
175
- static readonly RULE_pipeElement = 19;
176
- static readonly RULE_exploreTable = 20;
177
- static readonly RULE_queryProperties = 21;
178
- static readonly RULE_filterShortcut = 22;
179
- static readonly RULE_exploreQueryName = 23;
180
- static readonly RULE_queryName = 24;
181
- static readonly RULE_sourcePropertyList = 25;
182
- static readonly RULE_sourceDefinition = 26;
183
- static readonly RULE_explore = 27;
184
- static readonly RULE_exploreSource = 28;
185
- static readonly RULE_sourceNameDef = 29;
186
- static readonly RULE_sourceID = 30;
187
- static readonly RULE_exploreProperties = 31;
188
- static readonly RULE_exploreStatement = 32;
189
- static readonly RULE_defDimensions = 33;
190
- static readonly RULE_defMeasures = 34;
191
- static readonly RULE_renameList = 35;
192
- static readonly RULE_exploreRenameDef = 36;
193
- static readonly RULE_defList = 37;
194
- static readonly RULE_fieldDef = 38;
195
- static readonly RULE_fieldNameDef = 39;
196
- static readonly RULE_joinNameDef = 40;
197
- static readonly RULE_declareStatement = 41;
198
- static readonly RULE_joinStatement = 42;
199
- static readonly RULE_queryExtend = 43;
200
- static readonly RULE_queryExtendStatement = 44;
201
- static readonly RULE_queryExtendStatementList = 45;
202
- static readonly RULE_joinList = 46;
203
- static readonly RULE_joinDef = 47;
204
- static readonly RULE_joinExpression = 48;
205
- static readonly RULE_filterStatement = 49;
206
- static readonly RULE_filteredBy = 50;
207
- static readonly RULE_filterClauseList = 51;
208
- static readonly RULE_whereStatement = 52;
209
- static readonly RULE_havingStatement = 53;
210
- static readonly RULE_subQueryDefList = 54;
211
- static readonly RULE_exploreQueryNameDef = 55;
212
- static readonly RULE_exploreQueryDef = 56;
213
- static readonly RULE_queryStatement = 57;
214
- static readonly RULE_queryJoinStatement = 58;
215
- static readonly RULE_groupByStatement = 59;
216
- static readonly RULE_queryFieldList = 60;
217
- static readonly RULE_queryFieldEntry = 61;
218
- static readonly RULE_nestStatement = 62;
219
- static readonly RULE_nestedQueryList = 63;
220
- static readonly RULE_nestEntry = 64;
221
- static readonly RULE_aggregateStatement = 65;
222
- static readonly RULE_calculateStatement = 66;
223
- static readonly RULE_projectStatement = 67;
224
- static readonly RULE_orderByStatement = 68;
225
- static readonly RULE_ordering = 69;
226
- static readonly RULE_orderBySpec = 70;
227
- static readonly RULE_limitStatement = 71;
228
- static readonly RULE_bySpec = 72;
229
- static readonly RULE_topStatement = 73;
230
- static readonly RULE_indexElement = 74;
231
- static readonly RULE_indexFields = 75;
232
- static readonly RULE_indexStatement = 76;
233
- static readonly RULE_sampleStatement = 77;
234
- static readonly RULE_timezoneStatement = 78;
235
- static readonly RULE_timezoneName = 79;
236
- static readonly RULE_sampleSpec = 80;
237
- static readonly RULE_aggregate = 81;
238
- static readonly RULE_malloyType = 82;
239
- static readonly RULE_compareOp = 83;
240
- static readonly RULE_literal = 84;
241
- static readonly RULE_dateLiteral = 85;
242
- static readonly RULE_tableName = 86;
243
- static readonly RULE_id = 87;
244
- static readonly RULE_timeframe = 88;
245
- static readonly RULE_ungroup = 89;
246
- static readonly RULE_fieldExpr = 90;
247
- static readonly RULE_partialAllowedFieldExpr = 91;
248
- static readonly RULE_pickStatement = 92;
249
- static readonly RULE_pick = 93;
250
- static readonly RULE_argumentList = 94;
251
- static readonly RULE_fieldNameList = 95;
252
- static readonly RULE_fieldCollection = 96;
253
- static readonly RULE_collectionWildCard = 97;
254
- static readonly RULE_collectionMember = 98;
255
- static readonly RULE_fieldPath = 99;
256
- static readonly RULE_joinName = 100;
257
- static readonly RULE_fieldName = 101;
258
- static readonly RULE_justExpr = 102;
259
- static readonly RULE_json = 103;
260
- static readonly RULE_jsonValue = 104;
261
- static readonly RULE_jsonObject = 105;
262
- static readonly RULE_jsonProperty = 106;
263
- static readonly RULE_jsonArray = 107;
264
- static readonly RULE_sqlExploreNameRef = 108;
265
- static readonly RULE_nameSQLBlock = 109;
266
- static readonly RULE_connectionName = 110;
163
+ static readonly RULE_tags = 5;
164
+ static readonly RULE_isDefine = 6;
165
+ static readonly RULE_runStatement = 7;
166
+ static readonly RULE_defineSQLStatement = 8;
167
+ static readonly RULE_sqlBlock = 9;
168
+ static readonly RULE_blockSQLDef = 10;
169
+ static readonly RULE_sqlString = 11;
170
+ static readonly RULE_sqlInterpolation = 12;
171
+ static readonly RULE_importStatement = 13;
172
+ static readonly RULE_importURL = 14;
173
+ static readonly RULE_docAnnotations = 15;
174
+ static readonly RULE_ignoredObjectAnnotations = 16;
175
+ static readonly RULE_ignoredModelAnnotations = 17;
176
+ static readonly RULE_topLevelQueryDefs = 18;
177
+ static readonly RULE_topLevelQueryDef = 19;
178
+ static readonly RULE_refineOperator = 20;
179
+ static readonly RULE_query = 21;
180
+ static readonly RULE_pipelineFromName = 22;
181
+ static readonly RULE_firstSegment = 23;
182
+ static readonly RULE_pipeElement = 24;
183
+ static readonly RULE_exploreTable = 25;
184
+ static readonly RULE_queryProperties = 26;
185
+ static readonly RULE_filterShortcut = 27;
186
+ static readonly RULE_exploreQueryName = 28;
187
+ static readonly RULE_queryName = 29;
188
+ static readonly RULE_sourcePropertyList = 30;
189
+ static readonly RULE_sourceDefinition = 31;
190
+ static readonly RULE_explore = 32;
191
+ static readonly RULE_exploreSource = 33;
192
+ static readonly RULE_sourceNameDef = 34;
193
+ static readonly RULE_sourceID = 35;
194
+ static readonly RULE_exploreProperties = 36;
195
+ static readonly RULE_exploreStatement = 37;
196
+ static readonly RULE_defMeasures = 38;
197
+ static readonly RULE_defDimensions = 39;
198
+ static readonly RULE_renameList = 40;
199
+ static readonly RULE_exploreRenameDef = 41;
200
+ static readonly RULE_defList = 42;
201
+ static readonly RULE_fieldDef = 43;
202
+ static readonly RULE_fieldNameDef = 44;
203
+ static readonly RULE_joinNameDef = 45;
204
+ static readonly RULE_declareStatement = 46;
205
+ static readonly RULE_joinStatement = 47;
206
+ static readonly RULE_queryExtend = 48;
207
+ static readonly RULE_queryExtendStatement = 49;
208
+ static readonly RULE_queryExtendStatementList = 50;
209
+ static readonly RULE_joinList = 51;
210
+ static readonly RULE_isExplore = 52;
211
+ static readonly RULE_joinDef = 53;
212
+ static readonly RULE_joinExpression = 54;
213
+ static readonly RULE_filterStatement = 55;
214
+ static readonly RULE_filteredBy = 56;
215
+ static readonly RULE_filterClauseList = 57;
216
+ static readonly RULE_whereStatement = 58;
217
+ static readonly RULE_havingStatement = 59;
218
+ static readonly RULE_subQueryDefList = 60;
219
+ static readonly RULE_exploreQueryNameDef = 61;
220
+ static readonly RULE_exploreQueryDef = 62;
221
+ static readonly RULE_queryStatement = 63;
222
+ static readonly RULE_queryJoinStatement = 64;
223
+ static readonly RULE_groupByStatement = 65;
224
+ static readonly RULE_queryFieldList = 66;
225
+ static readonly RULE_queryFieldEntry = 67;
226
+ static readonly RULE_nestStatement = 68;
227
+ static readonly RULE_nestedQueryList = 69;
228
+ static readonly RULE_nestEntry = 70;
229
+ static readonly RULE_aggregateStatement = 71;
230
+ static readonly RULE_calculateStatement = 72;
231
+ static readonly RULE_projectStatement = 73;
232
+ static readonly RULE_orderByStatement = 74;
233
+ static readonly RULE_ordering = 75;
234
+ static readonly RULE_orderBySpec = 76;
235
+ static readonly RULE_limitStatement = 77;
236
+ static readonly RULE_bySpec = 78;
237
+ static readonly RULE_topStatement = 79;
238
+ static readonly RULE_indexElement = 80;
239
+ static readonly RULE_indexFields = 81;
240
+ static readonly RULE_indexStatement = 82;
241
+ static readonly RULE_sampleStatement = 83;
242
+ static readonly RULE_timezoneStatement = 84;
243
+ static readonly RULE_timezoneName = 85;
244
+ static readonly RULE_queryAnnotation = 86;
245
+ static readonly RULE_sampleSpec = 87;
246
+ static readonly RULE_aggregate = 88;
247
+ static readonly RULE_malloyType = 89;
248
+ static readonly RULE_compareOp = 90;
249
+ static readonly RULE_literal = 91;
250
+ static readonly RULE_dateLiteral = 92;
251
+ static readonly RULE_tableName = 93;
252
+ static readonly RULE_id = 94;
253
+ static readonly RULE_timeframe = 95;
254
+ static readonly RULE_ungroup = 96;
255
+ static readonly RULE_fieldExpr = 97;
256
+ static readonly RULE_partialAllowedFieldExpr = 98;
257
+ static readonly RULE_pickStatement = 99;
258
+ static readonly RULE_pick = 100;
259
+ static readonly RULE_argumentList = 101;
260
+ static readonly RULE_fieldNameList = 102;
261
+ static readonly RULE_fieldCollection = 103;
262
+ static readonly RULE_collectionWildCard = 104;
263
+ static readonly RULE_taggedRef = 105;
264
+ static readonly RULE_collectionMember = 106;
265
+ static readonly RULE_fieldPath = 107;
266
+ static readonly RULE_joinName = 108;
267
+ static readonly RULE_fieldName = 109;
268
+ static readonly RULE_justExpr = 110;
269
+ static readonly RULE_json = 111;
270
+ static readonly RULE_jsonValue = 112;
271
+ static readonly RULE_jsonObject = 113;
272
+ static readonly RULE_jsonProperty = 114;
273
+ static readonly RULE_jsonArray = 115;
274
+ static readonly RULE_sqlExploreNameRef = 116;
275
+ static readonly RULE_nameSQLBlock = 117;
276
+ static readonly RULE_connectionName = 118;
267
277
  static readonly ruleNames: string[];
268
278
  private static readonly _LITERAL_NAMES;
269
279
  private static readonly _SYMBOLIC_NAMES;
@@ -279,6 +289,8 @@ export declare class MalloyParser extends Parser {
279
289
  defineSourceStatement(): DefineSourceStatementContext;
280
290
  defineQuery(): DefineQueryContext;
281
291
  topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
292
+ tags(): TagsContext;
293
+ isDefine(): IsDefineContext;
282
294
  runStatement(): RunStatementContext;
283
295
  defineSQLStatement(): DefineSQLStatementContext;
284
296
  sqlBlock(): SqlBlockContext;
@@ -287,6 +299,9 @@ export declare class MalloyParser extends Parser {
287
299
  sqlInterpolation(): SqlInterpolationContext;
288
300
  importStatement(): ImportStatementContext;
289
301
  importURL(): ImportURLContext;
302
+ docAnnotations(): DocAnnotationsContext;
303
+ ignoredObjectAnnotations(): IgnoredObjectAnnotationsContext;
304
+ ignoredModelAnnotations(): IgnoredModelAnnotationsContext;
290
305
  topLevelQueryDefs(): TopLevelQueryDefsContext;
291
306
  topLevelQueryDef(): TopLevelQueryDefContext;
292
307
  refineOperator(): RefineOperatorContext;
@@ -307,8 +322,8 @@ export declare class MalloyParser extends Parser {
307
322
  sourceID(): SourceIDContext;
308
323
  exploreProperties(): ExplorePropertiesContext;
309
324
  exploreStatement(): ExploreStatementContext;
310
- defDimensions(): DefDimensionsContext;
311
325
  defMeasures(): DefMeasuresContext;
326
+ defDimensions(): DefDimensionsContext;
312
327
  renameList(): RenameListContext;
313
328
  exploreRenameDef(): ExploreRenameDefContext;
314
329
  defList(): DefListContext;
@@ -321,6 +336,7 @@ export declare class MalloyParser extends Parser {
321
336
  queryExtendStatement(): QueryExtendStatementContext;
322
337
  queryExtendStatementList(): QueryExtendStatementListContext;
323
338
  joinList(): JoinListContext;
339
+ isExplore(): IsExploreContext;
324
340
  joinDef(): JoinDefContext;
325
341
  joinExpression(): JoinExpressionContext;
326
342
  filterStatement(): FilterStatementContext;
@@ -354,6 +370,7 @@ export declare class MalloyParser extends Parser {
354
370
  sampleStatement(): SampleStatementContext;
355
371
  timezoneStatement(): TimezoneStatementContext;
356
372
  timezoneName(): TimezoneNameContext;
373
+ queryAnnotation(): QueryAnnotationContext;
357
374
  sampleSpec(): SampleSpecContext;
358
375
  aggregate(): AggregateContext;
359
376
  malloyType(): MalloyTypeContext;
@@ -373,6 +390,7 @@ export declare class MalloyParser extends Parser {
373
390
  fieldNameList(): FieldNameListContext;
374
391
  fieldCollection(): FieldCollectionContext;
375
392
  collectionWildCard(): CollectionWildCardContext;
393
+ taggedRef(): TaggedRefContext;
376
394
  collectionMember(): CollectionMemberContext;
377
395
  fieldPath(): FieldPathContext;
378
396
  joinName(): JoinNameContext;
@@ -391,6 +409,7 @@ export declare class MalloyParser extends Parser {
391
409
  private static readonly _serializedATNSegments;
392
410
  private static readonly _serializedATNSegment0;
393
411
  private static readonly _serializedATNSegment1;
412
+ private static readonly _serializedATNSegment2;
394
413
  static readonly _serializedATN: string;
395
414
  static __ATN: ATN;
396
415
  static get _ATN(): ATN;
@@ -413,6 +432,8 @@ export declare class MalloyStatementContext extends ParserRuleContext {
413
432
  defineQuery(): DefineQueryContext | undefined;
414
433
  importStatement(): ImportStatementContext | undefined;
415
434
  runStatement(): RunStatementContext | undefined;
435
+ docAnnotations(): DocAnnotationsContext | undefined;
436
+ ignoredObjectAnnotations(): IgnoredObjectAnnotationsContext | undefined;
416
437
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
417
438
  get ruleIndex(): number;
418
439
  enterRule(listener: MalloyParserListener): void;
@@ -420,6 +441,7 @@ export declare class MalloyStatementContext extends ParserRuleContext {
420
441
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
421
442
  }
422
443
  export declare class DefineSourceStatementContext extends ParserRuleContext {
444
+ tags(): TagsContext;
423
445
  SOURCE(): TerminalNode;
424
446
  sourcePropertyList(): SourcePropertyListContext;
425
447
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -433,8 +455,7 @@ export declare class DefineQueryContext extends ParserRuleContext {
433
455
  get ruleIndex(): number;
434
456
  copyFrom(ctx: DefineQueryContext): void;
435
457
  }
436
- export declare class NamedQueries_stubContext extends DefineQueryContext {
437
- QUERY(): TerminalNode;
458
+ export declare class Use_top_level_query_defsContext extends DefineQueryContext {
438
459
  topLevelQueryDefs(): TopLevelQueryDefsContext;
439
460
  constructor(ctx: DefineQueryContext);
440
461
  enterRule(listener: MalloyParserListener): void;
@@ -442,6 +463,7 @@ export declare class NamedQueries_stubContext extends DefineQueryContext {
442
463
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
443
464
  }
444
465
  export declare class AnonymousQueryContext extends DefineQueryContext {
466
+ tags(): TagsContext;
445
467
  QUERY(): TerminalNode;
446
468
  topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
447
469
  constructor(ctx: DefineQueryContext);
@@ -450,6 +472,7 @@ export declare class AnonymousQueryContext extends DefineQueryContext {
450
472
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
451
473
  }
452
474
  export declare class TopLevelAnonQueryDefContext extends ParserRuleContext {
475
+ tags(): TagsContext;
453
476
  query(): QueryContext;
454
477
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
455
478
  get ruleIndex(): number;
@@ -457,14 +480,39 @@ export declare class TopLevelAnonQueryDefContext extends ParserRuleContext {
457
480
  exitRule(listener: MalloyParserListener): void;
458
481
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
459
482
  }
483
+ export declare class TagsContext extends ParserRuleContext {
484
+ ANNOTATION(): TerminalNode[];
485
+ ANNOTATION(i: number): TerminalNode;
486
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
487
+ get ruleIndex(): number;
488
+ enterRule(listener: MalloyParserListener): void;
489
+ exitRule(listener: MalloyParserListener): void;
490
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
491
+ }
492
+ export declare class IsDefineContext extends ParserRuleContext {
493
+ _beforeIs: TagsContext;
494
+ _afterIs: TagsContext;
495
+ IS(): TerminalNode;
496
+ tags(): TagsContext[];
497
+ tags(i: number): TagsContext;
498
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
499
+ get ruleIndex(): number;
500
+ enterRule(listener: MalloyParserListener): void;
501
+ exitRule(listener: MalloyParserListener): void;
502
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
503
+ }
460
504
  export declare class RunStatementContext extends ParserRuleContext {
461
505
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
462
506
  get ruleIndex(): number;
463
507
  copyFrom(ctx: RunStatementContext): void;
464
508
  }
465
509
  export declare class RunStatementDefContext extends RunStatementContext {
510
+ _blockTags: TagsContext;
511
+ _noteTags: TagsContext;
466
512
  RUN(): TerminalNode;
467
513
  topLevelAnonQueryDef(): TopLevelAnonQueryDefContext;
514
+ tags(): TagsContext[];
515
+ tags(i: number): TagsContext;
468
516
  constructor(ctx: RunStatementContext);
469
517
  enterRule(listener: MalloyParserListener): void;
470
518
  exitRule(listener: MalloyParserListener): void;
@@ -480,9 +528,9 @@ export declare class RunStatementRefContext extends RunStatementContext {
480
528
  }
481
529
  export declare class DefineSQLStatementContext extends ParserRuleContext {
482
530
  SQL(): TerminalNode;
531
+ nameSQLBlock(): NameSQLBlockContext;
532
+ isDefine(): IsDefineContext;
483
533
  sqlBlock(): SqlBlockContext;
484
- nameSQLBlock(): NameSQLBlockContext | undefined;
485
- IS(): TerminalNode | undefined;
486
534
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
487
535
  get ruleIndex(): number;
488
536
  enterRule(listener: MalloyParserListener): void;
@@ -549,7 +597,36 @@ export declare class ImportURLContext extends ParserRuleContext {
549
597
  exitRule(listener: MalloyParserListener): void;
550
598
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
551
599
  }
600
+ export declare class DocAnnotationsContext extends ParserRuleContext {
601
+ DOC_ANNOTATION(): TerminalNode[];
602
+ DOC_ANNOTATION(i: number): TerminalNode;
603
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
604
+ get ruleIndex(): number;
605
+ enterRule(listener: MalloyParserListener): void;
606
+ exitRule(listener: MalloyParserListener): void;
607
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
608
+ }
609
+ export declare class IgnoredObjectAnnotationsContext extends ParserRuleContext {
610
+ ANNOTATION(): TerminalNode[];
611
+ ANNOTATION(i: number): TerminalNode;
612
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
613
+ get ruleIndex(): number;
614
+ enterRule(listener: MalloyParserListener): void;
615
+ exitRule(listener: MalloyParserListener): void;
616
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
617
+ }
618
+ export declare class IgnoredModelAnnotationsContext extends ParserRuleContext {
619
+ DOC_ANNOTATION(): TerminalNode[];
620
+ DOC_ANNOTATION(i: number): TerminalNode;
621
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
622
+ get ruleIndex(): number;
623
+ enterRule(listener: MalloyParserListener): void;
624
+ exitRule(listener: MalloyParserListener): void;
625
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
626
+ }
552
627
  export declare class TopLevelQueryDefsContext extends ParserRuleContext {
628
+ tags(): TagsContext;
629
+ QUERY(): TerminalNode;
553
630
  topLevelQueryDef(): TopLevelQueryDefContext[];
554
631
  topLevelQueryDef(i: number): TopLevelQueryDefContext;
555
632
  COMMA(): TerminalNode[];
@@ -561,8 +638,9 @@ export declare class TopLevelQueryDefsContext extends ParserRuleContext {
561
638
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
562
639
  }
563
640
  export declare class TopLevelQueryDefContext extends ParserRuleContext {
641
+ tags(): TagsContext;
564
642
  queryName(): QueryNameContext;
565
- IS(): TerminalNode;
643
+ isDefine(): IsDefineContext;
566
644
  query(): QueryContext;
567
645
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
568
646
  get ruleIndex(): number;
@@ -697,8 +775,9 @@ export declare class SourcePropertyListContext extends ParserRuleContext {
697
775
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
698
776
  }
699
777
  export declare class SourceDefinitionContext extends ParserRuleContext {
778
+ tags(): TagsContext;
700
779
  sourceNameDef(): SourceNameDefContext;
701
- IS(): TerminalNode;
780
+ isDefine(): IsDefineContext;
702
781
  explore(): ExploreContext;
703
782
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
704
783
  get ruleIndex(): number;
@@ -850,7 +929,8 @@ export declare class DefExploreEditFieldContext extends ExploreStatementContext
850
929
  exitRule(listener: MalloyParserListener): void;
851
930
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
852
931
  }
853
- export declare class DefExploreQuery_stubContext extends ExploreStatementContext {
932
+ export declare class DefExploreQueryContext extends ExploreStatementContext {
933
+ tags(): TagsContext;
854
934
  QUERY(): TerminalNode;
855
935
  subQueryDefList(): SubQueryDefListContext;
856
936
  constructor(ctx: ExploreStatementContext);
@@ -865,8 +945,24 @@ export declare class DefExploreTimezoneContext extends ExploreStatementContext {
865
945
  exitRule(listener: MalloyParserListener): void;
866
946
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
867
947
  }
868
- export declare class DefDimensionsContext extends ParserRuleContext {
869
- DIMENSION(): TerminalNode;
948
+ export declare class DefExploreAnnotationContext extends ExploreStatementContext {
949
+ ANNOTATION(): TerminalNode[];
950
+ ANNOTATION(i: number): TerminalNode;
951
+ constructor(ctx: ExploreStatementContext);
952
+ enterRule(listener: MalloyParserListener): void;
953
+ exitRule(listener: MalloyParserListener): void;
954
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
955
+ }
956
+ export declare class DefIgnoreModel_stubContext extends ExploreStatementContext {
957
+ ignoredModelAnnotations(): IgnoredModelAnnotationsContext;
958
+ constructor(ctx: ExploreStatementContext);
959
+ enterRule(listener: MalloyParserListener): void;
960
+ exitRule(listener: MalloyParserListener): void;
961
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
962
+ }
963
+ export declare class DefMeasuresContext extends ParserRuleContext {
964
+ tags(): TagsContext;
965
+ MEASURE(): TerminalNode;
870
966
  defList(): DefListContext;
871
967
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
872
968
  get ruleIndex(): number;
@@ -874,8 +970,9 @@ export declare class DefDimensionsContext extends ParserRuleContext {
874
970
  exitRule(listener: MalloyParserListener): void;
875
971
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
876
972
  }
877
- export declare class DefMeasuresContext extends ParserRuleContext {
878
- MEASURE(): TerminalNode;
973
+ export declare class DefDimensionsContext extends ParserRuleContext {
974
+ tags(): TagsContext;
975
+ DIMENSION(): TerminalNode;
879
976
  defList(): DefListContext;
880
977
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
881
978
  get ruleIndex(): number;
@@ -897,7 +994,7 @@ export declare class RenameListContext extends ParserRuleContext {
897
994
  export declare class ExploreRenameDefContext extends ParserRuleContext {
898
995
  fieldName(): FieldNameContext[];
899
996
  fieldName(i: number): FieldNameContext;
900
- IS(): TerminalNode;
997
+ isDefine(): IsDefineContext;
901
998
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
902
999
  get ruleIndex(): number;
903
1000
  enterRule(listener: MalloyParserListener): void;
@@ -916,8 +1013,9 @@ export declare class DefListContext extends ParserRuleContext {
916
1013
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
917
1014
  }
918
1015
  export declare class FieldDefContext extends ParserRuleContext {
1016
+ tags(): TagsContext;
919
1017
  fieldNameDef(): FieldNameDefContext;
920
- IS(): TerminalNode;
1018
+ isDefine(): IsDefineContext;
921
1019
  fieldExpr(): FieldExprContext;
922
1020
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
923
1021
  get ruleIndex(): number;
@@ -956,6 +1054,7 @@ export declare class JoinStatementContext extends ParserRuleContext {
956
1054
  copyFrom(ctx: JoinStatementContext): void;
957
1055
  }
958
1056
  export declare class DefJoinOneContext extends JoinStatementContext {
1057
+ tags(): TagsContext;
959
1058
  JOIN_ONE(): TerminalNode;
960
1059
  joinList(): JoinListContext;
961
1060
  constructor(ctx: JoinStatementContext);
@@ -964,6 +1063,7 @@ export declare class DefJoinOneContext extends JoinStatementContext {
964
1063
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
965
1064
  }
966
1065
  export declare class DefJoinManyContext extends JoinStatementContext {
1066
+ tags(): TagsContext;
967
1067
  JOIN_MANY(): TerminalNode;
968
1068
  joinList(): JoinListContext;
969
1069
  constructor(ctx: JoinStatementContext);
@@ -972,6 +1072,7 @@ export declare class DefJoinManyContext extends JoinStatementContext {
972
1072
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
973
1073
  }
974
1074
  export declare class DefJoinCrossContext extends JoinStatementContext {
1075
+ tags(): TagsContext;
975
1076
  JOIN_CROSS(): TerminalNode;
976
1077
  joinList(): JoinListContext;
977
1078
  constructor(ctx: JoinStatementContext);
@@ -1022,6 +1123,19 @@ export declare class JoinListContext extends ParserRuleContext {
1022
1123
  exitRule(listener: MalloyParserListener): void;
1023
1124
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1024
1125
  }
1126
+ export declare class IsExploreContext extends ParserRuleContext {
1127
+ _before_is: TagsContext;
1128
+ _after_is: TagsContext;
1129
+ IS(): TerminalNode;
1130
+ explore(): ExploreContext;
1131
+ tags(): TagsContext[];
1132
+ tags(i: number): TagsContext;
1133
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1134
+ get ruleIndex(): number;
1135
+ enterRule(listener: MalloyParserListener): void;
1136
+ exitRule(listener: MalloyParserListener): void;
1137
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1138
+ }
1025
1139
  export declare class JoinDefContext extends ParserRuleContext {
1026
1140
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1027
1141
  get ruleIndex(): number;
@@ -1031,8 +1145,9 @@ export declare class JoinWithContext extends JoinDefContext {
1031
1145
  joinNameDef(): JoinNameDefContext;
1032
1146
  WITH(): TerminalNode;
1033
1147
  fieldExpr(): FieldExprContext;
1034
- IS(): TerminalNode | undefined;
1035
- explore(): ExploreContext | undefined;
1148
+ ANNOTATION(): TerminalNode[];
1149
+ ANNOTATION(i: number): TerminalNode;
1150
+ isExplore(): IsExploreContext | undefined;
1036
1151
  constructor(ctx: JoinDefContext);
1037
1152
  enterRule(listener: MalloyParserListener): void;
1038
1153
  exitRule(listener: MalloyParserListener): void;
@@ -1040,8 +1155,9 @@ export declare class JoinWithContext extends JoinDefContext {
1040
1155
  }
1041
1156
  export declare class JoinOnContext extends JoinDefContext {
1042
1157
  joinNameDef(): JoinNameDefContext;
1043
- IS(): TerminalNode | undefined;
1044
- explore(): ExploreContext | undefined;
1158
+ ANNOTATION(): TerminalNode[];
1159
+ ANNOTATION(i: number): TerminalNode;
1160
+ isExplore(): IsExploreContext | undefined;
1045
1161
  ON(): TerminalNode | undefined;
1046
1162
  joinExpression(): JoinExpressionContext | undefined;
1047
1163
  constructor(ctx: JoinDefContext);
@@ -1136,8 +1252,10 @@ export declare class ExploreQueryNameDefContext extends ParserRuleContext {
1136
1252
  }
1137
1253
  export declare class ExploreQueryDefContext extends ParserRuleContext {
1138
1254
  exploreQueryNameDef(): ExploreQueryNameDefContext;
1139
- IS(): TerminalNode;
1255
+ isDefine(): IsDefineContext;
1140
1256
  pipelineFromName(): PipelineFromNameContext;
1257
+ ANNOTATION(): TerminalNode[];
1258
+ ANNOTATION(i: number): TerminalNode;
1141
1259
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1142
1260
  get ruleIndex(): number;
1143
1261
  enterRule(listener: MalloyParserListener): void;
@@ -1161,6 +1279,8 @@ export declare class QueryStatementContext extends ParserRuleContext {
1161
1279
  nestStatement(): NestStatementContext | undefined;
1162
1280
  sampleStatement(): SampleStatementContext | undefined;
1163
1281
  timezoneStatement(): TimezoneStatementContext | undefined;
1282
+ queryAnnotation(): QueryAnnotationContext | undefined;
1283
+ ignoredModelAnnotations(): IgnoredModelAnnotationsContext | undefined;
1164
1284
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1165
1285
  get ruleIndex(): number;
1166
1286
  enterRule(listener: MalloyParserListener): void;
@@ -1176,6 +1296,7 @@ export declare class QueryJoinStatementContext extends ParserRuleContext {
1176
1296
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1177
1297
  }
1178
1298
  export declare class GroupByStatementContext extends ParserRuleContext {
1299
+ tags(): TagsContext;
1179
1300
  GROUP_BY(): TerminalNode;
1180
1301
  queryFieldList(): QueryFieldListContext;
1181
1302
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1196,7 +1317,7 @@ export declare class QueryFieldListContext extends ParserRuleContext {
1196
1317
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1197
1318
  }
1198
1319
  export declare class QueryFieldEntryContext extends ParserRuleContext {
1199
- fieldPath(): FieldPathContext | undefined;
1320
+ taggedRef(): TaggedRefContext | undefined;
1200
1321
  fieldDef(): FieldDefContext | undefined;
1201
1322
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
1202
1323
  get ruleIndex(): number;
@@ -1205,6 +1326,7 @@ export declare class QueryFieldEntryContext extends ParserRuleContext {
1205
1326
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1206
1327
  }
1207
1328
  export declare class NestStatementContext extends ParserRuleContext {
1329
+ tags(): TagsContext;
1208
1330
  NEST(): TerminalNode;
1209
1331
  nestedQueryList(): NestedQueryListContext;
1210
1332
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1230,6 +1352,7 @@ export declare class NestEntryContext extends ParserRuleContext {
1230
1352
  copyFrom(ctx: NestEntryContext): void;
1231
1353
  }
1232
1354
  export declare class NestExistingContext extends NestEntryContext {
1355
+ tags(): TagsContext;
1233
1356
  queryName(): QueryNameContext;
1234
1357
  queryProperties(): QueryPropertiesContext | undefined;
1235
1358
  refineOperator(): RefineOperatorContext | undefined;
@@ -1239,8 +1362,9 @@ export declare class NestExistingContext extends NestEntryContext {
1239
1362
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1240
1363
  }
1241
1364
  export declare class NestDefContext extends NestEntryContext {
1365
+ tags(): TagsContext;
1242
1366
  queryName(): QueryNameContext;
1243
- IS(): TerminalNode;
1367
+ isDefine(): IsDefineContext;
1244
1368
  pipelineFromName(): PipelineFromNameContext;
1245
1369
  constructor(ctx: NestEntryContext);
1246
1370
  enterRule(listener: MalloyParserListener): void;
@@ -1248,6 +1372,7 @@ export declare class NestDefContext extends NestEntryContext {
1248
1372
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1249
1373
  }
1250
1374
  export declare class AggregateStatementContext extends ParserRuleContext {
1375
+ tags(): TagsContext;
1251
1376
  AGGREGATE(): TerminalNode;
1252
1377
  queryFieldList(): QueryFieldListContext;
1253
1378
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1257,6 +1382,7 @@ export declare class AggregateStatementContext extends ParserRuleContext {
1257
1382
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1258
1383
  }
1259
1384
  export declare class CalculateStatementContext extends ParserRuleContext {
1385
+ tags(): TagsContext;
1260
1386
  CALCULATE(): TerminalNode;
1261
1387
  queryFieldList(): QueryFieldListContext;
1262
1388
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1266,6 +1392,7 @@ export declare class CalculateStatementContext extends ParserRuleContext {
1266
1392
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1267
1393
  }
1268
1394
  export declare class ProjectStatementContext extends ParserRuleContext {
1395
+ tags(): TagsContext;
1269
1396
  PROJECT(): TerminalNode;
1270
1397
  fieldCollection(): FieldCollectionContext;
1271
1398
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -1393,6 +1520,14 @@ export declare class TimezoneNameContext extends ParserRuleContext {
1393
1520
  exitRule(listener: MalloyParserListener): void;
1394
1521
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1395
1522
  }
1523
+ export declare class QueryAnnotationContext extends ParserRuleContext {
1524
+ ANNOTATION(): TerminalNode;
1525
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
1526
+ get ruleIndex(): number;
1527
+ enterRule(listener: MalloyParserListener): void;
1528
+ exitRule(listener: MalloyParserListener): void;
1529
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1530
+ }
1396
1531
  export declare class SampleSpecContext extends ParserRuleContext {
1397
1532
  PERCENT_LITERAL(): TerminalNode | undefined;
1398
1533
  INTEGER_LITERAL(): TerminalNode | undefined;
@@ -1940,8 +2075,17 @@ export declare class CollectionWildCardContext extends ParserRuleContext {
1940
2075
  exitRule(listener: MalloyParserListener): void;
1941
2076
  accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
1942
2077
  }
2078
+ export declare class TaggedRefContext extends ParserRuleContext {
2079
+ tags(): TagsContext;
2080
+ fieldPath(): FieldPathContext;
2081
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2082
+ get ruleIndex(): number;
2083
+ enterRule(listener: MalloyParserListener): void;
2084
+ exitRule(listener: MalloyParserListener): void;
2085
+ accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
2086
+ }
1943
2087
  export declare class CollectionMemberContext extends ParserRuleContext {
1944
- fieldPath(): FieldPathContext | undefined;
2088
+ taggedRef(): TaggedRefContext | undefined;
1945
2089
  collectionWildCard(): CollectionWildCardContext | undefined;
1946
2090
  fieldDef(): FieldDefContext | undefined;
1947
2091
  constructor(parent: ParserRuleContext | undefined, invokingState: number);