@malloydata/malloy 0.0.132-dev240315233415 → 0.0.132-dev240318200424
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 -2
- package/dist/index.js +2 -4
- package/dist/lang/ast/index.d.ts +0 -2
- package/dist/lang/ast/index.js +0 -2
- package/dist/lang/index.d.ts +0 -2
- package/dist/lang/index.js +1 -3
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +125 -127
- package/dist/lang/lib/Malloy/MalloyLexer.js +1000 -1017
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +245 -287
- package/dist/lang/lib/Malloy/MalloyParser.js +1808 -2072
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +0 -33
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +0 -21
- package/dist/lang/malloy-to-ast.d.ts +0 -2
- package/dist/lang/malloy-to-ast.js +0 -35
- package/dist/lang/parse-malloy.js +5 -41
- package/dist/lang/parse-tree-walkers/document-symbol-walker.js +0 -10
- package/dist/lang/test/locations.spec.js +0 -23
- package/dist/lang/test/parse.spec.js +0 -11
- package/dist/lang/test/sql-block.spec.js +2 -81
- package/dist/lang/translate-response.d.ts +0 -2
- package/dist/malloy.d.ts +1 -29
- package/dist/malloy.js +1 -37
- package/package.json +1 -1
- package/dist/lang/ast/source-elements/from-sql-source.d.ts +0 -7
- package/dist/lang/ast/source-elements/from-sql-source.js +0 -68
- package/dist/lang/ast/sql-elements/sql-statement.d.ts +0 -21
- package/dist/lang/ast/sql-elements/sql-statement.js +0 -91
- package/dist/lang/parse-tree-walkers/document-highlight-walker.d.ts +0 -83
- package/dist/lang/parse-tree-walkers/document-highlight-walker.js +0 -388
|
@@ -37,133 +37,131 @@ export declare class MalloyParser extends Parser {
|
|
|
37
37
|
static readonly SAMPLE = 26;
|
|
38
38
|
static readonly SELECT = 27;
|
|
39
39
|
static readonly SOURCE = 28;
|
|
40
|
-
static readonly
|
|
41
|
-
static readonly
|
|
42
|
-
static readonly
|
|
43
|
-
static readonly
|
|
44
|
-
static readonly
|
|
45
|
-
static readonly
|
|
46
|
-
static readonly
|
|
47
|
-
static readonly
|
|
48
|
-
static readonly
|
|
49
|
-
static readonly
|
|
50
|
-
static readonly
|
|
51
|
-
static readonly
|
|
52
|
-
static readonly
|
|
53
|
-
static readonly
|
|
54
|
-
static readonly
|
|
55
|
-
static readonly
|
|
56
|
-
static readonly
|
|
57
|
-
static readonly
|
|
58
|
-
static readonly
|
|
59
|
-
static readonly
|
|
60
|
-
static readonly
|
|
61
|
-
static readonly
|
|
62
|
-
static readonly
|
|
63
|
-
static readonly
|
|
64
|
-
static readonly
|
|
65
|
-
static readonly
|
|
66
|
-
static readonly
|
|
67
|
-
static readonly
|
|
68
|
-
static readonly
|
|
69
|
-
static readonly
|
|
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 OPEN_CODE = 154;
|
|
166
|
-
static readonly SQL_END = 155;
|
|
40
|
+
static readonly TOP = 29;
|
|
41
|
+
static readonly WHERE = 30;
|
|
42
|
+
static readonly VIEW = 31;
|
|
43
|
+
static readonly TIMEZONE = 32;
|
|
44
|
+
static readonly ALL = 33;
|
|
45
|
+
static readonly AND = 34;
|
|
46
|
+
static readonly AS = 35;
|
|
47
|
+
static readonly ASC = 36;
|
|
48
|
+
static readonly AVG = 37;
|
|
49
|
+
static readonly BOOLEAN = 38;
|
|
50
|
+
static readonly BY = 39;
|
|
51
|
+
static readonly CASE = 40;
|
|
52
|
+
static readonly CAST = 41;
|
|
53
|
+
static readonly CONDITION = 42;
|
|
54
|
+
static readonly COUNT = 43;
|
|
55
|
+
static readonly DATE = 44;
|
|
56
|
+
static readonly DAY = 45;
|
|
57
|
+
static readonly DESC = 46;
|
|
58
|
+
static readonly DISTINCT = 47;
|
|
59
|
+
static readonly ELSE = 48;
|
|
60
|
+
static readonly END = 49;
|
|
61
|
+
static readonly EXCLUDE = 50;
|
|
62
|
+
static readonly EXTEND = 51;
|
|
63
|
+
static readonly FALSE = 52;
|
|
64
|
+
static readonly FULL = 53;
|
|
65
|
+
static readonly FOR = 54;
|
|
66
|
+
static readonly FROM = 55;
|
|
67
|
+
static readonly HAS = 56;
|
|
68
|
+
static readonly HOUR = 57;
|
|
69
|
+
static readonly IMPORT = 58;
|
|
70
|
+
static readonly INNER = 59;
|
|
71
|
+
static readonly IS = 60;
|
|
72
|
+
static readonly JSON = 61;
|
|
73
|
+
static readonly LAST = 62;
|
|
74
|
+
static readonly LEFT = 63;
|
|
75
|
+
static readonly MAX = 64;
|
|
76
|
+
static readonly MIN = 65;
|
|
77
|
+
static readonly MINUTE = 66;
|
|
78
|
+
static readonly MONTH = 67;
|
|
79
|
+
static readonly NOT = 68;
|
|
80
|
+
static readonly NOW = 69;
|
|
81
|
+
static readonly NULL = 70;
|
|
82
|
+
static readonly NUMBER = 71;
|
|
83
|
+
static readonly ON = 72;
|
|
84
|
+
static readonly OR = 73;
|
|
85
|
+
static readonly PICK = 74;
|
|
86
|
+
static readonly QUARTER = 75;
|
|
87
|
+
static readonly RIGHT = 76;
|
|
88
|
+
static readonly SECOND = 77;
|
|
89
|
+
static readonly STRING = 78;
|
|
90
|
+
static readonly SOURCE_KW = 79;
|
|
91
|
+
static readonly SUM = 80;
|
|
92
|
+
static readonly SQL = 81;
|
|
93
|
+
static readonly TABLE = 82;
|
|
94
|
+
static readonly THEN = 83;
|
|
95
|
+
static readonly THIS = 84;
|
|
96
|
+
static readonly TIMESTAMP = 85;
|
|
97
|
+
static readonly TO = 86;
|
|
98
|
+
static readonly TRUE = 87;
|
|
99
|
+
static readonly TURTLE = 88;
|
|
100
|
+
static readonly WEEK = 89;
|
|
101
|
+
static readonly WHEN = 90;
|
|
102
|
+
static readonly WITH = 91;
|
|
103
|
+
static readonly YEAR = 92;
|
|
104
|
+
static readonly UNGROUPED = 93;
|
|
105
|
+
static readonly STRING_ESCAPE = 94;
|
|
106
|
+
static readonly HACKY_REGEX = 95;
|
|
107
|
+
static readonly SQ_STRING = 96;
|
|
108
|
+
static readonly DQ_STRING = 97;
|
|
109
|
+
static readonly BQ_STRING = 98;
|
|
110
|
+
static readonly DOC_ANNOTATION = 99;
|
|
111
|
+
static readonly ANNOTATION = 100;
|
|
112
|
+
static readonly AMPER = 101;
|
|
113
|
+
static readonly ARROW = 102;
|
|
114
|
+
static readonly FAT_ARROW = 103;
|
|
115
|
+
static readonly OPAREN = 104;
|
|
116
|
+
static readonly CPAREN = 105;
|
|
117
|
+
static readonly OBRACK = 106;
|
|
118
|
+
static readonly CBRACK = 107;
|
|
119
|
+
static readonly OCURLY = 108;
|
|
120
|
+
static readonly CCURLY = 109;
|
|
121
|
+
static readonly DOUBLECOLON = 110;
|
|
122
|
+
static readonly TRIPLECOLON = 111;
|
|
123
|
+
static readonly EXCLAM = 112;
|
|
124
|
+
static readonly COLON = 113;
|
|
125
|
+
static readonly COMMA = 114;
|
|
126
|
+
static readonly DOT = 115;
|
|
127
|
+
static readonly LT = 116;
|
|
128
|
+
static readonly GT = 117;
|
|
129
|
+
static readonly EQ = 118;
|
|
130
|
+
static readonly NE = 119;
|
|
131
|
+
static readonly LTE = 120;
|
|
132
|
+
static readonly GTE = 121;
|
|
133
|
+
static readonly PLUS = 122;
|
|
134
|
+
static readonly MINUS = 123;
|
|
135
|
+
static readonly STAR = 124;
|
|
136
|
+
static readonly STARSTAR = 125;
|
|
137
|
+
static readonly SLASH = 126;
|
|
138
|
+
static readonly BAR = 127;
|
|
139
|
+
static readonly SEMI = 128;
|
|
140
|
+
static readonly NOT_MATCH = 129;
|
|
141
|
+
static readonly MATCH = 130;
|
|
142
|
+
static readonly PERCENT = 131;
|
|
143
|
+
static readonly DOUBLE_QMARK = 132;
|
|
144
|
+
static readonly QMARK = 133;
|
|
145
|
+
static readonly LITERAL_TIMESTAMP = 134;
|
|
146
|
+
static readonly LITERAL_HOUR = 135;
|
|
147
|
+
static readonly LITERAL_DAY = 136;
|
|
148
|
+
static readonly LITERAL_QUARTER = 137;
|
|
149
|
+
static readonly LITERAL_MONTH = 138;
|
|
150
|
+
static readonly LITERAL_WEEK = 139;
|
|
151
|
+
static readonly LITERAL_YEAR = 140;
|
|
152
|
+
static readonly IDENTIFIER = 141;
|
|
153
|
+
static readonly PERCENT_LITERAL = 142;
|
|
154
|
+
static readonly NUMERIC_LITERAL = 143;
|
|
155
|
+
static readonly INTEGER_LITERAL = 144;
|
|
156
|
+
static readonly BLOCK_COMMENT = 145;
|
|
157
|
+
static readonly COMMENT_TO_EOL = 146;
|
|
158
|
+
static readonly WHITE_SPACE = 147;
|
|
159
|
+
static readonly SQL_BEGIN = 148;
|
|
160
|
+
static readonly CLOSE_CODE = 149;
|
|
161
|
+
static readonly UNWATED_CHARS_TRAILING_NUMBERS = 150;
|
|
162
|
+
static readonly UNEXPECTED_CHAR = 151;
|
|
163
|
+
static readonly OPEN_CODE = 152;
|
|
164
|
+
static readonly SQL_END = 153;
|
|
167
165
|
static readonly RULE_malloyDocument = 0;
|
|
168
166
|
static readonly RULE_malloyStatement = 1;
|
|
169
167
|
static readonly RULE_defineSourceStatement = 2;
|
|
@@ -172,129 +170,126 @@ export declare class MalloyParser extends Parser {
|
|
|
172
170
|
static readonly RULE_tags = 5;
|
|
173
171
|
static readonly RULE_isDefine = 6;
|
|
174
172
|
static readonly RULE_runStatement = 7;
|
|
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
|
|
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 RULE_nameSQLBlock = 128;
|
|
296
|
-
static readonly RULE_connectionName = 129;
|
|
297
|
-
static readonly RULE_experimentalStatementForTesting = 130;
|
|
173
|
+
static readonly RULE_sqlString = 8;
|
|
174
|
+
static readonly RULE_sqlInterpolation = 9;
|
|
175
|
+
static readonly RULE_importStatement = 10;
|
|
176
|
+
static readonly RULE_importSelect = 11;
|
|
177
|
+
static readonly RULE_importItem = 12;
|
|
178
|
+
static readonly RULE_importURL = 13;
|
|
179
|
+
static readonly RULE_docAnnotations = 14;
|
|
180
|
+
static readonly RULE_ignoredObjectAnnotations = 15;
|
|
181
|
+
static readonly RULE_ignoredModelAnnotations = 16;
|
|
182
|
+
static readonly RULE_topLevelQueryDefs = 17;
|
|
183
|
+
static readonly RULE_topLevelQueryDef = 18;
|
|
184
|
+
static readonly RULE_refineOperator = 19;
|
|
185
|
+
static readonly RULE_turtleName = 20;
|
|
186
|
+
static readonly RULE_sqlSource = 21;
|
|
187
|
+
static readonly RULE_exploreTable = 22;
|
|
188
|
+
static readonly RULE_connectionId = 23;
|
|
189
|
+
static readonly RULE_queryProperties = 24;
|
|
190
|
+
static readonly RULE_filterShortcut = 25;
|
|
191
|
+
static readonly RULE_queryName = 26;
|
|
192
|
+
static readonly RULE_sourcePropertyList = 27;
|
|
193
|
+
static readonly RULE_sourceDefinition = 28;
|
|
194
|
+
static readonly RULE_sqExplore = 29;
|
|
195
|
+
static readonly RULE_sourceNameDef = 30;
|
|
196
|
+
static readonly RULE_sourceID = 31;
|
|
197
|
+
static readonly RULE_exploreProperties = 32;
|
|
198
|
+
static readonly RULE_exploreStatement = 33;
|
|
199
|
+
static readonly RULE_defMeasures = 34;
|
|
200
|
+
static readonly RULE_defDimensions = 35;
|
|
201
|
+
static readonly RULE_renameList = 36;
|
|
202
|
+
static readonly RULE_exploreRenameDef = 37;
|
|
203
|
+
static readonly RULE_defList = 38;
|
|
204
|
+
static readonly RULE_fieldDef = 39;
|
|
205
|
+
static readonly RULE_fieldNameDef = 40;
|
|
206
|
+
static readonly RULE_joinNameDef = 41;
|
|
207
|
+
static readonly RULE_declareStatement = 42;
|
|
208
|
+
static readonly RULE_joinStatement = 43;
|
|
209
|
+
static readonly RULE_queryExtend = 44;
|
|
210
|
+
static readonly RULE_modEither = 45;
|
|
211
|
+
static readonly RULE_sqExpr = 46;
|
|
212
|
+
static readonly RULE_segExpr = 47;
|
|
213
|
+
static readonly RULE_vExpr = 48;
|
|
214
|
+
static readonly RULE_queryExtendStatement = 49;
|
|
215
|
+
static readonly RULE_queryExtendStatementList = 50;
|
|
216
|
+
static readonly RULE_joinList = 51;
|
|
217
|
+
static readonly RULE_isExplore = 52;
|
|
218
|
+
static readonly RULE_matrixOperation = 53;
|
|
219
|
+
static readonly RULE_joinDef = 54;
|
|
220
|
+
static readonly RULE_joinExpression = 55;
|
|
221
|
+
static readonly RULE_filterStatement = 56;
|
|
222
|
+
static readonly RULE_fieldProperties = 57;
|
|
223
|
+
static readonly RULE_aggregateOrdering = 58;
|
|
224
|
+
static readonly RULE_aggregateOrderBySpec = 59;
|
|
225
|
+
static readonly RULE_aggregateOrderByStatement = 60;
|
|
226
|
+
static readonly RULE_fieldPropertyLimitStatement = 61;
|
|
227
|
+
static readonly RULE_fieldPropertyStatement = 62;
|
|
228
|
+
static readonly RULE_filterClauseList = 63;
|
|
229
|
+
static readonly RULE_whereStatement = 64;
|
|
230
|
+
static readonly RULE_havingStatement = 65;
|
|
231
|
+
static readonly RULE_subQueryDefList = 66;
|
|
232
|
+
static readonly RULE_exploreQueryNameDef = 67;
|
|
233
|
+
static readonly RULE_exploreQueryDef = 68;
|
|
234
|
+
static readonly RULE_queryStatement = 69;
|
|
235
|
+
static readonly RULE_queryJoinStatement = 70;
|
|
236
|
+
static readonly RULE_groupByStatement = 71;
|
|
237
|
+
static readonly RULE_queryFieldList = 72;
|
|
238
|
+
static readonly RULE_queryFieldEntry = 73;
|
|
239
|
+
static readonly RULE_nestStatement = 74;
|
|
240
|
+
static readonly RULE_nestedQueryList = 75;
|
|
241
|
+
static readonly RULE_nestEntry = 76;
|
|
242
|
+
static readonly RULE_aggregateStatement = 77;
|
|
243
|
+
static readonly RULE_calculateStatement = 78;
|
|
244
|
+
static readonly RULE_projectStatement = 79;
|
|
245
|
+
static readonly RULE_partitionByStatement = 80;
|
|
246
|
+
static readonly RULE_orderByStatement = 81;
|
|
247
|
+
static readonly RULE_ordering = 82;
|
|
248
|
+
static readonly RULE_orderBySpec = 83;
|
|
249
|
+
static readonly RULE_limitStatement = 84;
|
|
250
|
+
static readonly RULE_bySpec = 85;
|
|
251
|
+
static readonly RULE_topStatement = 86;
|
|
252
|
+
static readonly RULE_indexElement = 87;
|
|
253
|
+
static readonly RULE_indexFields = 88;
|
|
254
|
+
static readonly RULE_indexStatement = 89;
|
|
255
|
+
static readonly RULE_sampleStatement = 90;
|
|
256
|
+
static readonly RULE_timezoneStatement = 91;
|
|
257
|
+
static readonly RULE_queryAnnotation = 92;
|
|
258
|
+
static readonly RULE_sampleSpec = 93;
|
|
259
|
+
static readonly RULE_aggregate = 94;
|
|
260
|
+
static readonly RULE_malloyType = 95;
|
|
261
|
+
static readonly RULE_compareOp = 96;
|
|
262
|
+
static readonly RULE_string = 97;
|
|
263
|
+
static readonly RULE_shortString = 98;
|
|
264
|
+
static readonly RULE_numericLiteral = 99;
|
|
265
|
+
static readonly RULE_literal = 100;
|
|
266
|
+
static readonly RULE_dateLiteral = 101;
|
|
267
|
+
static readonly RULE_tablePath = 102;
|
|
268
|
+
static readonly RULE_tableURI = 103;
|
|
269
|
+
static readonly RULE_id = 104;
|
|
270
|
+
static readonly RULE_timeframe = 105;
|
|
271
|
+
static readonly RULE_ungroup = 106;
|
|
272
|
+
static readonly RULE_malloyOrSQLType = 107;
|
|
273
|
+
static readonly RULE_fieldExpr = 108;
|
|
274
|
+
static readonly RULE_partialAllowedFieldExpr = 109;
|
|
275
|
+
static readonly RULE_pickStatement = 110;
|
|
276
|
+
static readonly RULE_pick = 111;
|
|
277
|
+
static readonly RULE_argumentList = 112;
|
|
278
|
+
static readonly RULE_fieldNameList = 113;
|
|
279
|
+
static readonly RULE_fieldCollection = 114;
|
|
280
|
+
static readonly RULE_collectionWildCard = 115;
|
|
281
|
+
static readonly RULE_starQualified = 116;
|
|
282
|
+
static readonly RULE_taggedRef = 117;
|
|
283
|
+
static readonly RULE_refExpr = 118;
|
|
284
|
+
static readonly RULE_collectionMember = 119;
|
|
285
|
+
static readonly RULE_fieldPath = 120;
|
|
286
|
+
static readonly RULE_joinName = 121;
|
|
287
|
+
static readonly RULE_fieldName = 122;
|
|
288
|
+
static readonly RULE_justExpr = 123;
|
|
289
|
+
static readonly RULE_sqlExploreNameRef = 124;
|
|
290
|
+
static readonly RULE_nameSQLBlock = 125;
|
|
291
|
+
static readonly RULE_connectionName = 126;
|
|
292
|
+
static readonly RULE_experimentalStatementForTesting = 127;
|
|
298
293
|
static readonly ruleNames: string[];
|
|
299
294
|
private static readonly _LITERAL_NAMES;
|
|
300
295
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -313,9 +308,6 @@ export declare class MalloyParser extends Parser {
|
|
|
313
308
|
tags(): TagsContext;
|
|
314
309
|
isDefine(): IsDefineContext;
|
|
315
310
|
runStatement(): RunStatementContext;
|
|
316
|
-
defineSQLStatement(): DefineSQLStatementContext;
|
|
317
|
-
sqlBlock(): SqlBlockContext;
|
|
318
|
-
blockSQLDef(): BlockSQLDefContext;
|
|
319
311
|
sqlString(): SqlStringContext;
|
|
320
312
|
sqlInterpolation(): SqlInterpolationContext;
|
|
321
313
|
importStatement(): ImportStatementContext;
|
|
@@ -465,7 +457,6 @@ export declare class MalloyDocumentContext extends ParserRuleContext {
|
|
|
465
457
|
}
|
|
466
458
|
export declare class MalloyStatementContext extends ParserRuleContext {
|
|
467
459
|
defineSourceStatement(): DefineSourceStatementContext | undefined;
|
|
468
|
-
defineSQLStatement(): DefineSQLStatementContext | undefined;
|
|
469
460
|
defineQuery(): DefineQueryContext | undefined;
|
|
470
461
|
importStatement(): ImportStatementContext | undefined;
|
|
471
462
|
runStatement(): RunStatementContext | undefined;
|
|
@@ -549,39 +540,6 @@ export declare class RunStatementContext extends ParserRuleContext {
|
|
|
549
540
|
exitRule(listener: MalloyParserListener): void;
|
|
550
541
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
551
542
|
}
|
|
552
|
-
export declare class DefineSQLStatementContext extends ParserRuleContext {
|
|
553
|
-
SQLC(): TerminalNode;
|
|
554
|
-
nameSQLBlock(): NameSQLBlockContext;
|
|
555
|
-
isDefine(): IsDefineContext;
|
|
556
|
-
sqlBlock(): SqlBlockContext;
|
|
557
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
558
|
-
get ruleIndex(): number;
|
|
559
|
-
enterRule(listener: MalloyParserListener): void;
|
|
560
|
-
exitRule(listener: MalloyParserListener): void;
|
|
561
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
562
|
-
}
|
|
563
|
-
export declare class SqlBlockContext extends ParserRuleContext {
|
|
564
|
-
OCURLY(): TerminalNode;
|
|
565
|
-
CCURLY(): TerminalNode;
|
|
566
|
-
blockSQLDef(): BlockSQLDefContext[];
|
|
567
|
-
blockSQLDef(i: number): BlockSQLDefContext;
|
|
568
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
569
|
-
get ruleIndex(): number;
|
|
570
|
-
enterRule(listener: MalloyParserListener): void;
|
|
571
|
-
exitRule(listener: MalloyParserListener): void;
|
|
572
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
573
|
-
}
|
|
574
|
-
export declare class BlockSQLDefContext extends ParserRuleContext {
|
|
575
|
-
CONNECTION(): TerminalNode | undefined;
|
|
576
|
-
connectionName(): ConnectionNameContext | undefined;
|
|
577
|
-
SELECT(): TerminalNode | undefined;
|
|
578
|
-
sqlString(): SqlStringContext | undefined;
|
|
579
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
580
|
-
get ruleIndex(): number;
|
|
581
|
-
enterRule(listener: MalloyParserListener): void;
|
|
582
|
-
exitRule(listener: MalloyParserListener): void;
|
|
583
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
584
|
-
}
|
|
585
543
|
export declare class SqlStringContext extends ParserRuleContext {
|
|
586
544
|
SQL_BEGIN(): TerminalNode;
|
|
587
545
|
SQL_END(): TerminalNode;
|