@malloydata/malloy 0.0.397 → 0.0.399
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/lang/ast/index.d.ts +1 -0
- package/dist/lang/ast/index.js +1 -0
- package/dist/lang/ast/statements/export-statement.d.ts +12 -0
- package/dist/lang/ast/statements/export-statement.js +53 -0
- package/dist/lang/ast/types/malloy-element.d.ts +1 -0
- package/dist/lang/ast/types/malloy-element.js +5 -2
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +124 -123
- package/dist/lang/lib/Malloy/MalloyLexer.js +1418 -1411
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +302 -274
- package/dist/lang/lib/Malloy/MalloyParser.js +2748 -2557
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +22 -0
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +14 -0
- package/dist/lang/malloy-to-ast.d.ts +1 -0
- package/dist/lang/malloy-to-ast.js +7 -0
- package/dist/lang/parse-log.d.ts +3 -0
- package/dist/model/filter_compilers.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
|
@@ -67,129 +67,130 @@ export declare class MalloyParser extends Parser {
|
|
|
67
67
|
static readonly ELSE = 56;
|
|
68
68
|
static readonly END = 57;
|
|
69
69
|
static readonly EXCLUDE = 58;
|
|
70
|
-
static readonly
|
|
71
|
-
static readonly
|
|
72
|
-
static readonly
|
|
73
|
-
static readonly
|
|
74
|
-
static readonly
|
|
75
|
-
static readonly
|
|
76
|
-
static readonly
|
|
77
|
-
static readonly
|
|
78
|
-
static readonly
|
|
79
|
-
static readonly
|
|
80
|
-
static readonly
|
|
81
|
-
static readonly
|
|
82
|
-
static readonly
|
|
83
|
-
static readonly
|
|
84
|
-
static readonly
|
|
85
|
-
static readonly
|
|
86
|
-
static readonly
|
|
87
|
-
static readonly
|
|
88
|
-
static readonly
|
|
89
|
-
static readonly
|
|
90
|
-
static readonly
|
|
91
|
-
static readonly
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
98
|
-
static readonly
|
|
99
|
-
static readonly
|
|
100
|
-
static readonly
|
|
101
|
-
static readonly
|
|
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
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
70
|
+
static readonly EXPORT = 59;
|
|
71
|
+
static readonly EXTEND = 60;
|
|
72
|
+
static readonly FALSE = 61;
|
|
73
|
+
static readonly FILTER = 62;
|
|
74
|
+
static readonly FULL = 63;
|
|
75
|
+
static readonly FOR = 64;
|
|
76
|
+
static readonly FROM = 65;
|
|
77
|
+
static readonly HAS = 66;
|
|
78
|
+
static readonly HOUR = 67;
|
|
79
|
+
static readonly IMPORT = 68;
|
|
80
|
+
static readonly INCLUDE = 69;
|
|
81
|
+
static readonly INNER = 70;
|
|
82
|
+
static readonly IS = 71;
|
|
83
|
+
static readonly IN = 72;
|
|
84
|
+
static readonly INTERNAL_KW = 73;
|
|
85
|
+
static readonly JSON = 74;
|
|
86
|
+
static readonly LAST = 75;
|
|
87
|
+
static readonly LEFT = 76;
|
|
88
|
+
static readonly LIKE = 77;
|
|
89
|
+
static readonly MAX = 78;
|
|
90
|
+
static readonly MIN = 79;
|
|
91
|
+
static readonly MINUTE = 80;
|
|
92
|
+
static readonly MONTH = 81;
|
|
93
|
+
static readonly NOT = 82;
|
|
94
|
+
static readonly NOW = 83;
|
|
95
|
+
static readonly NULL = 84;
|
|
96
|
+
static readonly NUMBER = 85;
|
|
97
|
+
static readonly ON = 86;
|
|
98
|
+
static readonly OR = 87;
|
|
99
|
+
static readonly PICK = 88;
|
|
100
|
+
static readonly PRIVATE_KW = 89;
|
|
101
|
+
static readonly PUBLIC_KW = 90;
|
|
102
|
+
static readonly QUARTER = 91;
|
|
103
|
+
static readonly RIGHT = 92;
|
|
104
|
+
static readonly SECOND = 93;
|
|
105
|
+
static readonly STRING = 94;
|
|
106
|
+
static readonly SOURCE_KW = 95;
|
|
107
|
+
static readonly SUM = 96;
|
|
108
|
+
static readonly SQL = 97;
|
|
109
|
+
static readonly TABLE = 98;
|
|
110
|
+
static readonly THEN = 99;
|
|
111
|
+
static readonly THIS = 100;
|
|
112
|
+
static readonly TIMESTAMPTZ = 101;
|
|
113
|
+
static readonly TIMESTAMP = 102;
|
|
114
|
+
static readonly TO = 103;
|
|
115
|
+
static readonly TRUE = 104;
|
|
116
|
+
static readonly TURTLE = 105;
|
|
117
|
+
static readonly WEEK = 106;
|
|
118
|
+
static readonly WHEN = 107;
|
|
119
|
+
static readonly WITH = 108;
|
|
120
|
+
static readonly YEAR = 109;
|
|
121
|
+
static readonly UNGROUPED = 110;
|
|
122
|
+
static readonly VIRTUAL = 111;
|
|
123
|
+
static readonly HACKY_REGEX = 112;
|
|
124
|
+
static readonly RAW_SQ = 113;
|
|
125
|
+
static readonly RAW_DQ = 114;
|
|
126
|
+
static readonly SQ3_FILTER = 115;
|
|
127
|
+
static readonly SQ_FILTER = 116;
|
|
128
|
+
static readonly DQ3_FILTER = 117;
|
|
129
|
+
static readonly DQ_FILTER = 118;
|
|
130
|
+
static readonly BQ3_FILTER = 119;
|
|
131
|
+
static readonly BQ_FILTER = 120;
|
|
132
|
+
static readonly SQ_STRING = 121;
|
|
133
|
+
static readonly DQ_STRING = 122;
|
|
134
|
+
static readonly BQ_STRING = 123;
|
|
135
|
+
static readonly DOC_BLOCK_ANNOTATION_BEGIN = 124;
|
|
136
|
+
static readonly BLOCK_ANNOTATION_BEGIN = 125;
|
|
137
|
+
static readonly DOC_ANNOTATION = 126;
|
|
138
|
+
static readonly ANNOTATION = 127;
|
|
139
|
+
static readonly AMPER = 128;
|
|
140
|
+
static readonly ARROW = 129;
|
|
141
|
+
static readonly FAT_ARROW = 130;
|
|
142
|
+
static readonly OPAREN = 131;
|
|
143
|
+
static readonly CPAREN = 132;
|
|
144
|
+
static readonly OBRACK = 133;
|
|
145
|
+
static readonly CBRACK = 134;
|
|
146
|
+
static readonly OCURLY = 135;
|
|
147
|
+
static readonly CCURLY = 136;
|
|
148
|
+
static readonly DOUBLECOLON = 137;
|
|
149
|
+
static readonly TRIPLECOLON = 138;
|
|
150
|
+
static readonly EXCLAM = 139;
|
|
151
|
+
static readonly COLON = 140;
|
|
152
|
+
static readonly COMMA = 141;
|
|
153
|
+
static readonly DOT = 142;
|
|
154
|
+
static readonly LT = 143;
|
|
155
|
+
static readonly GT = 144;
|
|
156
|
+
static readonly EQ = 145;
|
|
157
|
+
static readonly NE = 146;
|
|
158
|
+
static readonly LTE = 147;
|
|
159
|
+
static readonly GTE = 148;
|
|
160
|
+
static readonly PLUS = 149;
|
|
161
|
+
static readonly MINUS = 150;
|
|
162
|
+
static readonly STAR = 151;
|
|
163
|
+
static readonly STARSTAR = 152;
|
|
164
|
+
static readonly SLASH = 153;
|
|
165
|
+
static readonly BAR = 154;
|
|
166
|
+
static readonly SEMI = 155;
|
|
167
|
+
static readonly NOT_MATCH = 156;
|
|
168
|
+
static readonly MATCH = 157;
|
|
169
|
+
static readonly PERCENT = 158;
|
|
170
|
+
static readonly DOUBLE_QMARK = 159;
|
|
171
|
+
static readonly QMARK = 160;
|
|
172
|
+
static readonly LITERAL_TIMESTAMP = 161;
|
|
173
|
+
static readonly LITERAL_HOUR = 162;
|
|
174
|
+
static readonly LITERAL_DAY = 163;
|
|
175
|
+
static readonly LITERAL_QUARTER = 164;
|
|
176
|
+
static readonly LITERAL_MONTH = 165;
|
|
177
|
+
static readonly LITERAL_WEEK = 166;
|
|
178
|
+
static readonly LITERAL_YEAR = 167;
|
|
179
|
+
static readonly GIVEN_REF = 168;
|
|
180
|
+
static readonly IDENTIFIER = 169;
|
|
181
|
+
static readonly PERCENT_LITERAL = 170;
|
|
182
|
+
static readonly NUMERIC_LITERAL = 171;
|
|
183
|
+
static readonly INTEGER_LITERAL = 172;
|
|
184
|
+
static readonly BLOCK_COMMENT = 173;
|
|
185
|
+
static readonly COMMENT_TO_EOL = 174;
|
|
186
|
+
static readonly WHITE_SPACE = 175;
|
|
187
|
+
static readonly SQL_BEGIN = 176;
|
|
188
|
+
static readonly UNWATED_CHARS_TRAILING_NUMBERS = 177;
|
|
189
|
+
static readonly UNEXPECTED_CHAR = 178;
|
|
190
|
+
static readonly OPEN_CODE = 179;
|
|
191
|
+
static readonly SQL_END = 180;
|
|
192
|
+
static readonly BLOCK_ANNOTATION_END = 181;
|
|
193
|
+
static readonly BLOCK_ANNOTATION_TEXT = 182;
|
|
193
194
|
static readonly RULE_malloyDocument = 0;
|
|
194
195
|
static readonly RULE_malloyStatement = 1;
|
|
195
196
|
static readonly RULE_defineSourceStatement = 2;
|
|
@@ -222,157 +223,159 @@ export declare class MalloyParser extends Parser {
|
|
|
222
223
|
static readonly RULE_importSelect = 29;
|
|
223
224
|
static readonly RULE_importItem = 30;
|
|
224
225
|
static readonly RULE_importURL = 31;
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
285
|
-
static readonly
|
|
286
|
-
static readonly
|
|
287
|
-
static readonly
|
|
288
|
-
static readonly
|
|
289
|
-
static readonly
|
|
290
|
-
static readonly
|
|
291
|
-
static readonly
|
|
292
|
-
static readonly
|
|
293
|
-
static readonly
|
|
294
|
-
static readonly
|
|
295
|
-
static readonly
|
|
296
|
-
static readonly
|
|
297
|
-
static readonly
|
|
298
|
-
static readonly
|
|
299
|
-
static readonly
|
|
300
|
-
static readonly
|
|
301
|
-
static readonly
|
|
302
|
-
static readonly
|
|
303
|
-
static readonly
|
|
304
|
-
static readonly
|
|
305
|
-
static readonly
|
|
306
|
-
static readonly
|
|
307
|
-
static readonly
|
|
308
|
-
static readonly
|
|
309
|
-
static readonly
|
|
310
|
-
static readonly
|
|
311
|
-
static readonly
|
|
312
|
-
static readonly
|
|
313
|
-
static readonly
|
|
314
|
-
static readonly
|
|
315
|
-
static readonly
|
|
316
|
-
static readonly
|
|
317
|
-
static readonly
|
|
318
|
-
static readonly
|
|
319
|
-
static readonly
|
|
320
|
-
static readonly
|
|
321
|
-
static readonly
|
|
322
|
-
static readonly
|
|
323
|
-
static readonly
|
|
324
|
-
static readonly
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
-
static readonly
|
|
328
|
-
static readonly
|
|
329
|
-
static readonly
|
|
330
|
-
static readonly
|
|
331
|
-
static readonly
|
|
332
|
-
static readonly
|
|
333
|
-
static readonly
|
|
334
|
-
static readonly
|
|
335
|
-
static readonly
|
|
336
|
-
static readonly
|
|
337
|
-
static readonly
|
|
338
|
-
static readonly
|
|
339
|
-
static readonly
|
|
340
|
-
static readonly
|
|
341
|
-
static readonly
|
|
342
|
-
static readonly
|
|
343
|
-
static readonly
|
|
344
|
-
static readonly
|
|
345
|
-
static readonly
|
|
346
|
-
static readonly
|
|
347
|
-
static readonly
|
|
348
|
-
static readonly
|
|
349
|
-
static readonly
|
|
350
|
-
static readonly
|
|
351
|
-
static readonly
|
|
352
|
-
static readonly
|
|
353
|
-
static readonly
|
|
354
|
-
static readonly
|
|
355
|
-
static readonly
|
|
356
|
-
static readonly
|
|
357
|
-
static readonly
|
|
358
|
-
static readonly
|
|
359
|
-
static readonly
|
|
360
|
-
static readonly
|
|
361
|
-
static readonly
|
|
362
|
-
static readonly
|
|
363
|
-
static readonly
|
|
364
|
-
static readonly
|
|
365
|
-
static readonly
|
|
366
|
-
static readonly
|
|
367
|
-
static readonly
|
|
368
|
-
static readonly
|
|
369
|
-
static readonly
|
|
370
|
-
static readonly
|
|
371
|
-
static readonly
|
|
372
|
-
static readonly
|
|
373
|
-
static readonly
|
|
374
|
-
static readonly
|
|
375
|
-
static readonly
|
|
226
|
+
static readonly RULE_exportStatement = 32;
|
|
227
|
+
static readonly RULE_exportItem = 33;
|
|
228
|
+
static readonly RULE_docAnnotations = 34;
|
|
229
|
+
static readonly RULE_ignoredObjectAnnotations = 35;
|
|
230
|
+
static readonly RULE_ignoredModelAnnotations = 36;
|
|
231
|
+
static readonly RULE_topLevelQueryDefs = 37;
|
|
232
|
+
static readonly RULE_topLevelQueryDef = 38;
|
|
233
|
+
static readonly RULE_refineOperator = 39;
|
|
234
|
+
static readonly RULE_turtleName = 40;
|
|
235
|
+
static readonly RULE_sqlSource = 41;
|
|
236
|
+
static readonly RULE_exploreTable = 42;
|
|
237
|
+
static readonly RULE_virtualSource = 43;
|
|
238
|
+
static readonly RULE_connectionId = 44;
|
|
239
|
+
static readonly RULE_queryProperties = 45;
|
|
240
|
+
static readonly RULE_queryName = 46;
|
|
241
|
+
static readonly RULE_sourcePropertyList = 47;
|
|
242
|
+
static readonly RULE_sourceDefinition = 48;
|
|
243
|
+
static readonly RULE_sqExplore = 49;
|
|
244
|
+
static readonly RULE_sourceParameters = 50;
|
|
245
|
+
static readonly RULE_legalParamType = 51;
|
|
246
|
+
static readonly RULE_sourceParameter = 52;
|
|
247
|
+
static readonly RULE_parameterNameDef = 53;
|
|
248
|
+
static readonly RULE_sourceNameDef = 54;
|
|
249
|
+
static readonly RULE_exploreProperties = 55;
|
|
250
|
+
static readonly RULE_exploreStatement = 56;
|
|
251
|
+
static readonly RULE_accessLabel = 57;
|
|
252
|
+
static readonly RULE_accessModifierList = 58;
|
|
253
|
+
static readonly RULE_defMeasures = 59;
|
|
254
|
+
static readonly RULE_defDimensions = 60;
|
|
255
|
+
static readonly RULE_renameList = 61;
|
|
256
|
+
static readonly RULE_renameEntry = 62;
|
|
257
|
+
static readonly RULE_defList = 63;
|
|
258
|
+
static readonly RULE_fieldDef = 64;
|
|
259
|
+
static readonly RULE_fieldNameDef = 65;
|
|
260
|
+
static readonly RULE_joinNameDef = 66;
|
|
261
|
+
static readonly RULE_declareStatement = 67;
|
|
262
|
+
static readonly RULE_joinStatement = 68;
|
|
263
|
+
static readonly RULE_queryExtend = 69;
|
|
264
|
+
static readonly RULE_modEither = 70;
|
|
265
|
+
static readonly RULE_sourceArguments = 71;
|
|
266
|
+
static readonly RULE_argumentId = 72;
|
|
267
|
+
static readonly RULE_sourceArgument = 73;
|
|
268
|
+
static readonly RULE_sqExpr = 74;
|
|
269
|
+
static readonly RULE_sourceTypeConstraints = 75;
|
|
270
|
+
static readonly RULE_userTypeName = 76;
|
|
271
|
+
static readonly RULE_includeBlock = 77;
|
|
272
|
+
static readonly RULE_includeItem = 78;
|
|
273
|
+
static readonly RULE_orphanedAnnotation = 79;
|
|
274
|
+
static readonly RULE_accessLabelProp = 80;
|
|
275
|
+
static readonly RULE_includeExceptList = 81;
|
|
276
|
+
static readonly RULE_includeExceptListItem = 82;
|
|
277
|
+
static readonly RULE_includeList = 83;
|
|
278
|
+
static readonly RULE_includeField = 84;
|
|
279
|
+
static readonly RULE_segExpr = 85;
|
|
280
|
+
static readonly RULE_vExpr = 86;
|
|
281
|
+
static readonly RULE_queryExtendStatement = 87;
|
|
282
|
+
static readonly RULE_queryExtendStatementList = 88;
|
|
283
|
+
static readonly RULE_joinList = 89;
|
|
284
|
+
static readonly RULE_isExplore = 90;
|
|
285
|
+
static readonly RULE_matrixOperation = 91;
|
|
286
|
+
static readonly RULE_joinFrom = 92;
|
|
287
|
+
static readonly RULE_joinDef = 93;
|
|
288
|
+
static readonly RULE_joinExpression = 94;
|
|
289
|
+
static readonly RULE_filterStatement = 95;
|
|
290
|
+
static readonly RULE_fieldProperties = 96;
|
|
291
|
+
static readonly RULE_aggregateOrdering = 97;
|
|
292
|
+
static readonly RULE_aggregateOrderBySpec = 98;
|
|
293
|
+
static readonly RULE_aggregateOrderByStatement = 99;
|
|
294
|
+
static readonly RULE_fieldPropertyLimitStatement = 100;
|
|
295
|
+
static readonly RULE_fieldPropertyStatement = 101;
|
|
296
|
+
static readonly RULE_filterClauseList = 102;
|
|
297
|
+
static readonly RULE_whereStatement = 103;
|
|
298
|
+
static readonly RULE_havingStatement = 104;
|
|
299
|
+
static readonly RULE_subQueryDefList = 105;
|
|
300
|
+
static readonly RULE_exploreQueryNameDef = 106;
|
|
301
|
+
static readonly RULE_exploreQueryDef = 107;
|
|
302
|
+
static readonly RULE_drillStatement = 108;
|
|
303
|
+
static readonly RULE_drillClauseList = 109;
|
|
304
|
+
static readonly RULE_queryStatement = 110;
|
|
305
|
+
static readonly RULE_queryJoinStatement = 111;
|
|
306
|
+
static readonly RULE_groupByStatement = 112;
|
|
307
|
+
static readonly RULE_queryFieldList = 113;
|
|
308
|
+
static readonly RULE_queryFieldEntry = 114;
|
|
309
|
+
static readonly RULE_nestStatement = 115;
|
|
310
|
+
static readonly RULE_nestedQueryList = 116;
|
|
311
|
+
static readonly RULE_nestEntry = 117;
|
|
312
|
+
static readonly RULE_aggregateStatement = 118;
|
|
313
|
+
static readonly RULE_calculateStatement = 119;
|
|
314
|
+
static readonly RULE_projectStatement = 120;
|
|
315
|
+
static readonly RULE_partitionByStatement = 121;
|
|
316
|
+
static readonly RULE_groupedByStatement = 122;
|
|
317
|
+
static readonly RULE_orderByStatement = 123;
|
|
318
|
+
static readonly RULE_ordering = 124;
|
|
319
|
+
static readonly RULE_orderBySpec = 125;
|
|
320
|
+
static readonly RULE_limitStatement = 126;
|
|
321
|
+
static readonly RULE_bySpec = 127;
|
|
322
|
+
static readonly RULE_topStatement = 128;
|
|
323
|
+
static readonly RULE_indexElement = 129;
|
|
324
|
+
static readonly RULE_indexFields = 130;
|
|
325
|
+
static readonly RULE_indexStatement = 131;
|
|
326
|
+
static readonly RULE_sampleStatement = 132;
|
|
327
|
+
static readonly RULE_timezoneStatement = 133;
|
|
328
|
+
static readonly RULE_queryAnnotation = 134;
|
|
329
|
+
static readonly RULE_sampleSpec = 135;
|
|
330
|
+
static readonly RULE_aggregate = 136;
|
|
331
|
+
static readonly RULE_malloyType = 137;
|
|
332
|
+
static readonly RULE_malloyBasicType = 138;
|
|
333
|
+
static readonly RULE_malloyRecordType = 139;
|
|
334
|
+
static readonly RULE_malloyRecordField = 140;
|
|
335
|
+
static readonly RULE_compareOp = 141;
|
|
336
|
+
static readonly RULE_string = 142;
|
|
337
|
+
static readonly RULE_shortString = 143;
|
|
338
|
+
static readonly RULE_rawString = 144;
|
|
339
|
+
static readonly RULE_numericLiteral = 145;
|
|
340
|
+
static readonly RULE_literal = 146;
|
|
341
|
+
static readonly RULE_dateLiteral = 147;
|
|
342
|
+
static readonly RULE_tablePath = 148;
|
|
343
|
+
static readonly RULE_tableURI = 149;
|
|
344
|
+
static readonly RULE_id = 150;
|
|
345
|
+
static readonly RULE_timeframe = 151;
|
|
346
|
+
static readonly RULE_ungroup = 152;
|
|
347
|
+
static readonly RULE_malloyOrSQLType = 153;
|
|
348
|
+
static readonly RULE_fieldExpr = 154;
|
|
349
|
+
static readonly RULE_partialCompare = 155;
|
|
350
|
+
static readonly RULE_partialTest = 156;
|
|
351
|
+
static readonly RULE_partialAllowedFieldExpr = 157;
|
|
352
|
+
static readonly RULE_fieldExprList = 158;
|
|
353
|
+
static readonly RULE_pickStatement = 159;
|
|
354
|
+
static readonly RULE_pick = 160;
|
|
355
|
+
static readonly RULE_caseStatement = 161;
|
|
356
|
+
static readonly RULE_caseWhen = 162;
|
|
357
|
+
static readonly RULE_recordKey = 163;
|
|
358
|
+
static readonly RULE_recordElement = 164;
|
|
359
|
+
static readonly RULE_argumentList = 165;
|
|
360
|
+
static readonly RULE_fieldNameList = 166;
|
|
361
|
+
static readonly RULE_fieldCollection = 167;
|
|
362
|
+
static readonly RULE_collectionWildCard = 168;
|
|
363
|
+
static readonly RULE_starQualified = 169;
|
|
364
|
+
static readonly RULE_taggedRef = 170;
|
|
365
|
+
static readonly RULE_refExpr = 171;
|
|
366
|
+
static readonly RULE_collectionMember = 172;
|
|
367
|
+
static readonly RULE_fieldPath = 173;
|
|
368
|
+
static readonly RULE_joinName = 174;
|
|
369
|
+
static readonly RULE_fieldName = 175;
|
|
370
|
+
static readonly RULE_sqlExploreNameRef = 176;
|
|
371
|
+
static readonly RULE_nameSQLBlock = 177;
|
|
372
|
+
static readonly RULE_connectionName = 178;
|
|
373
|
+
static readonly RULE_tripFilterString = 179;
|
|
374
|
+
static readonly RULE_tickFilterString = 180;
|
|
375
|
+
static readonly RULE_filterString = 181;
|
|
376
|
+
static readonly RULE_debugExpr = 182;
|
|
377
|
+
static readonly RULE_debugPartial = 183;
|
|
378
|
+
static readonly RULE_experimentalStatementForTesting = 184;
|
|
376
379
|
static readonly ruleNames: string[];
|
|
377
380
|
private static readonly _LITERAL_NAMES;
|
|
378
381
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -416,6 +419,8 @@ export declare class MalloyParser extends Parser {
|
|
|
416
419
|
importSelect(): ImportSelectContext;
|
|
417
420
|
importItem(): ImportItemContext;
|
|
418
421
|
importURL(): ImportURLContext;
|
|
422
|
+
exportStatement(): ExportStatementContext;
|
|
423
|
+
exportItem(): ExportItemContext;
|
|
419
424
|
docAnnotations(): DocAnnotationsContext;
|
|
420
425
|
ignoredObjectAnnotations(): IgnoredObjectAnnotationsContext;
|
|
421
426
|
ignoredModelAnnotations(): IgnoredModelAnnotationsContext;
|
|
@@ -604,6 +609,7 @@ export declare class MalloyStatementContext extends ParserRuleContext {
|
|
|
604
609
|
defineQuery(): DefineQueryContext | undefined;
|
|
605
610
|
defineGivenStatement(): DefineGivenStatementContext | undefined;
|
|
606
611
|
importStatement(): ImportStatementContext | undefined;
|
|
612
|
+
exportStatement(): ExportStatementContext | undefined;
|
|
607
613
|
runStatement(): RunStatementContext | undefined;
|
|
608
614
|
docAnnotations(): DocAnnotationsContext | undefined;
|
|
609
615
|
ignoredObjectAnnotations(): IgnoredObjectAnnotationsContext | undefined;
|
|
@@ -950,6 +956,28 @@ export declare class ImportURLContext extends ParserRuleContext {
|
|
|
950
956
|
exitRule(listener: MalloyParserListener): void;
|
|
951
957
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
952
958
|
}
|
|
959
|
+
export declare class ExportStatementContext extends ParserRuleContext {
|
|
960
|
+
EXPORT(): TerminalNode;
|
|
961
|
+
OCURLY(): TerminalNode;
|
|
962
|
+
exportItem(): ExportItemContext[];
|
|
963
|
+
exportItem(i: number): ExportItemContext;
|
|
964
|
+
CCURLY(): TerminalNode;
|
|
965
|
+
COMMA(): TerminalNode[];
|
|
966
|
+
COMMA(i: number): TerminalNode;
|
|
967
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
968
|
+
get ruleIndex(): number;
|
|
969
|
+
enterRule(listener: MalloyParserListener): void;
|
|
970
|
+
exitRule(listener: MalloyParserListener): void;
|
|
971
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
972
|
+
}
|
|
973
|
+
export declare class ExportItemContext extends ParserRuleContext {
|
|
974
|
+
id(): IdContext;
|
|
975
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
976
|
+
get ruleIndex(): number;
|
|
977
|
+
enterRule(listener: MalloyParserListener): void;
|
|
978
|
+
exitRule(listener: MalloyParserListener): void;
|
|
979
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
980
|
+
}
|
|
953
981
|
export declare class DocAnnotationsContext extends ParserRuleContext {
|
|
954
982
|
docAnnotation(): DocAnnotationContext[];
|
|
955
983
|
docAnnotation(i: number): DocAnnotationContext;
|