@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.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/lang/ast/elements/define-query.d.ts +7 -1
- package/dist/lang/ast/elements/define-query.js +10 -1
- package/dist/lang/ast/elements/define-source.d.ts +7 -1
- package/dist/lang/ast/elements/define-source.js +16 -9
- package/dist/lang/ast/elements/pipeline-desc.d.ts +2 -1
- package/dist/lang/ast/elements/pipeline-desc.js +6 -2
- package/dist/lang/ast/elements/refined-source.d.ts +5 -4
- package/dist/lang/ast/elements/refined-source.js +5 -0
- package/dist/lang/ast/expressions/expr-id-reference.js +4 -4
- package/dist/lang/ast/field-space/column-space-field.d.ts +1 -1
- package/dist/lang/ast/field-space/column-space-field.js +3 -3
- package/dist/lang/ast/field-space/field-definition-value.d.ts +1 -1
- package/dist/lang/ast/field-space/field-definition-value.js +16 -10
- package/dist/lang/ast/field-space/query-field-struct.js +1 -0
- package/dist/lang/ast/field-space/query-spaces.js +4 -1
- package/dist/lang/ast/field-space/reference-field.d.ts +8 -2
- package/dist/lang/ast/field-space/reference-field.js +51 -9
- package/dist/lang/ast/index.d.ts +2 -2
- package/dist/lang/ast/index.js +2 -2
- package/dist/lang/ast/query-elements/anonymous-query.d.ts +6 -1
- package/dist/lang/ast/query-elements/anonymous-query.js +8 -0
- package/dist/lang/ast/query-elements/existing-query.js +3 -0
- package/dist/lang/ast/query-elements/full-query.js +7 -4
- package/dist/lang/ast/query-elements/run-query.d.ts +6 -1
- package/dist/lang/ast/query-elements/run-query.js +11 -1
- package/dist/lang/ast/query-items/field-declaration.d.ts +6 -2
- package/dist/lang/ast/query-items/field-declaration.js +6 -0
- package/dist/lang/ast/query-items/field-references.d.ts +13 -5
- package/dist/lang/ast/query-items/field-references.js +10 -4
- package/dist/lang/ast/query-properties/aggregate.d.ts +3 -3
- package/dist/lang/ast/query-properties/aggregate.js +5 -4
- package/dist/lang/ast/query-properties/calculate.d.ts +3 -3
- package/dist/lang/ast/query-properties/calculate.js +5 -4
- package/dist/lang/ast/query-properties/declare-fields.d.ts +4 -3
- package/dist/lang/ast/query-properties/declare-fields.js +5 -4
- package/dist/lang/ast/query-properties/dimensions.d.ts +4 -0
- package/dist/lang/ast/query-properties/{dimmensions.js → dimensions.js} +4 -3
- package/dist/lang/ast/query-properties/extend.d.ts +1 -1
- package/dist/lang/ast/query-properties/extend.js +3 -2
- package/dist/lang/ast/query-properties/filters.d.ts +0 -1
- package/dist/lang/ast/query-properties/filters.js +2 -2
- package/dist/lang/ast/query-properties/group-by.d.ts +3 -3
- package/dist/lang/ast/query-properties/group-by.js +5 -4
- package/dist/lang/ast/query-properties/joins.d.ts +10 -4
- package/dist/lang/ast/query-properties/joins.js +16 -2
- package/dist/lang/ast/query-properties/measures.d.ts +1 -2
- package/dist/lang/ast/query-properties/measures.js +3 -2
- package/dist/lang/ast/query-properties/nest.d.ts +5 -1
- package/dist/lang/ast/query-properties/nest.js +11 -1
- package/dist/lang/ast/query-properties/nests.d.ts +3 -2
- package/dist/lang/ast/query-properties/nests.js +4 -3
- package/dist/lang/ast/query-properties/ordering.d.ts +1 -0
- package/dist/lang/ast/query-properties/ordering.js +2 -1
- package/dist/lang/ast/query-properties/project-statement.d.ts +3 -3
- package/dist/lang/ast/query-properties/project-statement.js +5 -4
- package/dist/lang/ast/query-properties/qop-desc.d.ts +1 -1
- package/dist/lang/ast/query-properties/qop-desc.js +3 -2
- package/dist/lang/ast/source-properties/renames.d.ts +1 -1
- package/dist/lang/ast/source-properties/renames.js +3 -2
- package/dist/lang/ast/source-properties/turtles.d.ts +3 -3
- package/dist/lang/ast/source-properties/turtles.js +5 -4
- package/dist/lang/ast/types/definition-list.d.ts +10 -0
- package/dist/lang/ast/types/definition-list.js +52 -0
- package/dist/lang/ast/types/malloy-element.d.ts +21 -6
- package/dist/lang/ast/types/malloy-element.js +45 -13
- package/dist/lang/ast/types/noteable.d.ts +12 -0
- package/dist/lang/ast/types/noteable.js +42 -0
- package/dist/lang/ast/types/query-extend-property.d.ts +1 -1
- package/dist/lang/ast/types/query-extend-property.js +2 -2
- package/dist/lang/ast/types/query-property.d.ts +3 -2
- package/dist/lang/ast/types/query-property.js +2 -0
- package/dist/lang/ast/types/source-desc.d.ts +5 -0
- package/dist/lang/ast/types/{explore-desc.js → source-desc.js} +7 -6
- package/dist/lang/ast/types/source-property.d.ts +2 -2
- package/dist/lang/ast/types/source-property.js +2 -0
- package/dist/lang/ast/types/space-field.d.ts +1 -0
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +56 -54
- package/dist/lang/lib/Malloy/MalloyLexer.js +1051 -1042
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +326 -182
- package/dist/lang/lib/Malloy/MalloyParser.js +2894 -1718
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +133 -19
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +83 -11
- package/dist/lang/malloy-to-ast.d.ts +23 -10
- package/dist/lang/malloy-to-ast.js +144 -122
- package/dist/lang/parse-tree-walkers/document-symbol-walker.js +2 -1
- package/dist/lang/test/annotation.spec.d.ts +1 -0
- package/dist/lang/test/annotation.spec.js +565 -0
- package/dist/lang/test/parse.spec.js +20 -19
- package/dist/lang/test/test-translator.d.ts +2 -2
- package/dist/lang/test/test-translator.js +27 -15
- package/dist/malloy.d.ts +11 -5
- package/dist/malloy.js +16 -0
- package/dist/model/malloy_query.js +10 -0
- package/dist/model/malloy_types.d.ts +19 -2
- package/dist/model/malloy_types.js +1 -1
- package/dist/tags.d.ts +21 -0
- package/dist/tags.js +155 -0
- package/package.json +1 -1
- package/dist/lang/ast/query-properties/dimmensions.d.ts +0 -5
- 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
|
|
103
|
-
static readonly
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
122
|
-
static readonly
|
|
123
|
-
static readonly
|
|
124
|
-
static readonly
|
|
125
|
-
static readonly
|
|
126
|
-
static readonly
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
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
|
|
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
|
|
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
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
869
|
-
|
|
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
|
|
878
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1035
|
-
|
|
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
|
-
|
|
1044
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2088
|
+
taggedRef(): TaggedRefContext | undefined;
|
|
1945
2089
|
collectionWildCard(): CollectionWildCardContext | undefined;
|
|
1946
2090
|
fieldDef(): FieldDefContext | undefined;
|
|
1947
2091
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|