@malloydata/malloy 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +39 -0
  2. package/dist/connection_utils.d.ts +1 -0
  3. package/dist/connection_utils.js +56 -0
  4. package/dist/dialect/dialect-map.d.ts +3 -0
  5. package/dist/dialect/dialect-map.js +33 -0
  6. package/dist/dialect/dialect.d.ts +64 -0
  7. package/dist/dialect/dialect.js +64 -0
  8. package/dist/dialect/dialect_map.d.ts +3 -0
  9. package/dist/dialect/dialect_map.js +35 -0
  10. package/dist/dialect/duckdb.d.ts +49 -0
  11. package/dist/dialect/duckdb.js +349 -0
  12. package/dist/dialect/index.d.ts +6 -0
  13. package/dist/dialect/index.js +27 -0
  14. package/dist/dialect/postgres.d.ts +49 -0
  15. package/dist/dialect/postgres.js +308 -0
  16. package/dist/dialect/standardsql.d.ts +46 -0
  17. package/dist/dialect/standardsql.js +361 -0
  18. package/dist/index.d.ts +9 -0
  19. package/dist/index.js +47 -0
  20. package/dist/lang/ast/apply-expr.d.ts +16 -0
  21. package/dist/lang/ast/apply-expr.js +215 -0
  22. package/dist/lang/ast/ast-expr.d.ts +291 -0
  23. package/dist/lang/ast/ast-expr.js +1056 -0
  24. package/dist/lang/ast/ast-main.d.ts +480 -0
  25. package/dist/lang/ast/ast-main.js +2096 -0
  26. package/dist/lang/ast/ast-time-expr.d.ts +109 -0
  27. package/dist/lang/ast/ast-time-expr.js +550 -0
  28. package/dist/lang/ast/ast-types.d.ts +83 -0
  29. package/dist/lang/ast/ast-types.js +215 -0
  30. package/dist/lang/ast/index.d.ts +5 -0
  31. package/dist/lang/ast/index.js +34 -0
  32. package/dist/lang/ast/time-utils.d.ts +8 -0
  33. package/dist/lang/ast/time-utils.js +83 -0
  34. package/dist/lang/field-space.d.ts +157 -0
  35. package/dist/lang/field-space.js +651 -0
  36. package/dist/lang/field-utils.d.ts +5 -0
  37. package/dist/lang/field-utils.js +33 -0
  38. package/dist/lang/index.d.ts +9 -0
  39. package/dist/lang/index.js +22 -0
  40. package/dist/lang/lib/Malloy/MalloyLexer.d.ts +156 -0
  41. package/dist/lang/lib/Malloy/MalloyLexer.js +1163 -0
  42. package/dist/lang/lib/Malloy/MalloyListener.d.ts +2026 -0
  43. package/dist/lang/lib/Malloy/MalloyListener.js +4 -0
  44. package/dist/lang/lib/Malloy/MalloyParser.d.ts +1920 -0
  45. package/dist/lang/lib/Malloy/MalloyParser.js +11790 -0
  46. package/dist/lang/lib/Malloy/MalloyVisitor.d.ts +1276 -0
  47. package/dist/lang/lib/Malloy/MalloyVisitor.js +4 -0
  48. package/dist/lang/parse-log.d.ts +27 -0
  49. package/dist/lang/parse-log.js +41 -0
  50. package/dist/lang/parse-malloy.d.ts +245 -0
  51. package/dist/lang/parse-malloy.js +729 -0
  52. package/dist/lang/parse-to-ast.d.ts +156 -0
  53. package/dist/lang/parse-to-ast.js +945 -0
  54. package/dist/lang/parse-tree-walkers/document-completion-walker.d.ts +10 -0
  55. package/dist/lang/parse-tree-walkers/document-completion-walker.js +136 -0
  56. package/dist/lang/parse-tree-walkers/document-help-context-walker.d.ts +9 -0
  57. package/dist/lang/parse-tree-walkers/document-help-context-walker.js +97 -0
  58. package/dist/lang/parse-tree-walkers/document-highlight-walker.d.ts +83 -0
  59. package/dist/lang/parse-tree-walkers/document-highlight-walker.js +375 -0
  60. package/dist/lang/parse-tree-walkers/document-symbol-walker.d.ts +11 -0
  61. package/dist/lang/parse-tree-walkers/document-symbol-walker.js +172 -0
  62. package/dist/lang/parse-tree-walkers/explore-query-walker.d.ts +34 -0
  63. package/dist/lang/parse-tree-walkers/explore-query-walker.js +64 -0
  64. package/dist/lang/parse-tree-walkers/find-external-references.d.ts +11 -0
  65. package/dist/lang/parse-tree-walkers/find-external-references.js +51 -0
  66. package/dist/lang/reference-list.d.ts +10 -0
  67. package/dist/lang/reference-list.js +80 -0
  68. package/dist/lang/space-field.d.ts +119 -0
  69. package/dist/lang/space-field.js +339 -0
  70. package/dist/lang/test/document-help-context-walker.spec.d.ts +1 -0
  71. package/dist/lang/test/document-help-context-walker.spec.js +45 -0
  72. package/dist/lang/test/document-symbol-walker.spec.d.ts +1 -0
  73. package/dist/lang/test/document-symbol-walker.spec.js +100 -0
  74. package/dist/lang/test/field-symbols.spec.d.ts +1 -0
  75. package/dist/lang/test/field-symbols.spec.js +172 -0
  76. package/dist/lang/test/parse.spec.d.ts +12 -0
  77. package/dist/lang/test/parse.spec.js +1936 -0
  78. package/dist/lang/test/test-translator.d.ts +38 -0
  79. package/dist/lang/test/test-translator.js +334 -0
  80. package/dist/lang/zone.d.ts +57 -0
  81. package/dist/lang/zone.js +97 -0
  82. package/dist/malloy.d.ts +1134 -0
  83. package/dist/malloy.js +2354 -0
  84. package/dist/model/index.d.ts +2 -0
  85. package/dist/model/index.js +34 -0
  86. package/dist/model/malloy-query.d.ts +313 -0
  87. package/dist/model/malloy-query.js +2603 -0
  88. package/dist/model/malloy-types.d.ts +404 -0
  89. package/dist/model/malloy-types.js +242 -0
  90. package/dist/model/malloy_query.d.ts +353 -0
  91. package/dist/model/malloy_query.js +2990 -0
  92. package/dist/model/malloy_types.d.ts +502 -0
  93. package/dist/model/malloy_types.js +283 -0
  94. package/dist/model/sql-block.d.ts +11 -0
  95. package/dist/model/sql-block.js +38 -0
  96. package/dist/model/sql_block.d.ts +11 -0
  97. package/dist/model/sql_block.js +41 -0
  98. package/dist/model/utils.d.ts +21 -0
  99. package/dist/model/utils.js +84 -0
  100. package/dist/runtime-types.d.ts +116 -0
  101. package/dist/runtime-types.js +40 -0
  102. package/dist/runtime_types.d.ts +119 -0
  103. package/dist/runtime_types.js +15 -0
  104. package/package.json +36 -0
@@ -0,0 +1,1276 @@
1
+ import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
2
+ import { ExprPartialCompareContext } from "./MalloyParser";
3
+ import { ExprNotPartialContext } from "./MalloyParser";
4
+ import { NameMemberContext } from "./MalloyParser";
5
+ import { WildMemberContext } from "./MalloyParser";
6
+ import { NewMemberContext } from "./MalloyParser";
7
+ import { NamedQueries_stubContext } from "./MalloyParser";
8
+ import { AnonymousQueryContext } from "./MalloyParser";
9
+ import { NamedSourceContext } from "./MalloyParser";
10
+ import { TableSourceContext } from "./MalloyParser";
11
+ import { QuerySourceContext } from "./MalloyParser";
12
+ import { SQLSourceContext } from "./MalloyParser";
13
+ import { LiteralTimestampContext } from "./MalloyParser";
14
+ import { LiteralDayContext } from "./MalloyParser";
15
+ import { LiteralWeekContext } from "./MalloyParser";
16
+ import { LiteralMonthContext } from "./MalloyParser";
17
+ import { LiteralQuarterContext } from "./MalloyParser";
18
+ import { LiteralYearContext } from "./MalloyParser";
19
+ import { ExprStringContext } from "./MalloyParser";
20
+ import { ExprNumberContext } from "./MalloyParser";
21
+ import { ExprTimeContext } from "./MalloyParser";
22
+ import { ExprNULLContext } from "./MalloyParser";
23
+ import { ExprBoolContext } from "./MalloyParser";
24
+ import { ExprRegexContext } from "./MalloyParser";
25
+ import { ExprNowContext } from "./MalloyParser";
26
+ import { QueryFieldRefContext } from "./MalloyParser";
27
+ import { QueryFieldDefContext } from "./MalloyParser";
28
+ import { NestExistingContext } from "./MalloyParser";
29
+ import { NestDefContext } from "./MalloyParser";
30
+ import { ExprFieldPathContext } from "./MalloyParser";
31
+ import { ExprFilterContext } from "./MalloyParser";
32
+ import { ExprLiteralContext } from "./MalloyParser";
33
+ import { ExprMinusContext } from "./MalloyParser";
34
+ import { ExprDurationContext } from "./MalloyParser";
35
+ import { ExprTimeTruncContext } from "./MalloyParser";
36
+ import { ExprSafeCastContext } from "./MalloyParser";
37
+ import { ExprMulDivContext } from "./MalloyParser";
38
+ import { ExprAddSubContext } from "./MalloyParser";
39
+ import { ExprRangeContext } from "./MalloyParser";
40
+ import { ExprForRangeContext } from "./MalloyParser";
41
+ import { ExprLogicalTreeContext } from "./MalloyParser";
42
+ import { ExprCompareContext } from "./MalloyParser";
43
+ import { ExprApplyContext } from "./MalloyParser";
44
+ import { ExprNotContext } from "./MalloyParser";
45
+ import { ExprLogicalContext } from "./MalloyParser";
46
+ import { ExprCastContext } from "./MalloyParser";
47
+ import { ExprCountDisinctContext } from "./MalloyParser";
48
+ import { ExprAggregateContext } from "./MalloyParser";
49
+ import { ExprExprContext } from "./MalloyParser";
50
+ import { ExprFuncContext } from "./MalloyParser";
51
+ import { ExprPickContext } from "./MalloyParser";
52
+ import { ExprUngroupContext } from "./MalloyParser";
53
+ import { ExploreArrowQueryContext } from "./MalloyParser";
54
+ import { ArrowQueryContext } from "./MalloyParser";
55
+ import { DefJoinOneContext } from "./MalloyParser";
56
+ import { DefJoinManyContext } from "./MalloyParser";
57
+ import { DefJoinCrossContext } from "./MalloyParser";
58
+ import { DefExploreDimensionContext } from "./MalloyParser";
59
+ import { DefExploreMeasureContext } from "./MalloyParser";
60
+ import { DefDeclare_stubContext } from "./MalloyParser";
61
+ import { DefJoin_stubContext } from "./MalloyParser";
62
+ import { DefExploreWhereContext } from "./MalloyParser";
63
+ import { DefExplorePrimaryKeyContext } from "./MalloyParser";
64
+ import { DefExploreRenameContext } from "./MalloyParser";
65
+ import { DefExploreEditFieldContext } from "./MalloyParser";
66
+ import { DefExploreQueryContext } from "./MalloyParser";
67
+ import { FilterByShortcutContext } from "./MalloyParser";
68
+ import { FilterByWhereContext } from "./MalloyParser";
69
+ import { JoinWithContext } from "./MalloyParser";
70
+ import { JoinOnContext } from "./MalloyParser";
71
+ import { MalloyDocumentContext } from "./MalloyParser";
72
+ import { MalloyStatementContext } from "./MalloyParser";
73
+ import { DefineExploreStatementContext } from "./MalloyParser";
74
+ import { ExploreKeywordContext } from "./MalloyParser";
75
+ import { DefineQueryContext } from "./MalloyParser";
76
+ import { TopLevelAnonQueryDefContext } from "./MalloyParser";
77
+ import { DefineSQLStatementContext } from "./MalloyParser";
78
+ import { SqlStatementDefContext } from "./MalloyParser";
79
+ import { ImportStatementContext } from "./MalloyParser";
80
+ import { ImportURLContext } from "./MalloyParser";
81
+ import { TopLevelQueryDefsContext } from "./MalloyParser";
82
+ import { TopLevelQueryDefContext } from "./MalloyParser";
83
+ import { RefineOperatorContext } from "./MalloyParser";
84
+ import { QueryContext } from "./MalloyParser";
85
+ import { PipelineFromNameContext } from "./MalloyParser";
86
+ import { FirstSegmentContext } from "./MalloyParser";
87
+ import { PipeElementContext } from "./MalloyParser";
88
+ import { ExploreTableContext } from "./MalloyParser";
89
+ import { QueryPropertiesContext } from "./MalloyParser";
90
+ import { FilterShortcutContext } from "./MalloyParser";
91
+ import { ExploreQueryNameContext } from "./MalloyParser";
92
+ import { QueryNameContext } from "./MalloyParser";
93
+ import { ExploreDefinitionListContext } from "./MalloyParser";
94
+ import { ExploreDefinitionContext } from "./MalloyParser";
95
+ import { ExploreContext } from "./MalloyParser";
96
+ import { ExploreSourceContext } from "./MalloyParser";
97
+ import { ExploreNameDefContext } from "./MalloyParser";
98
+ import { ExploreNameContext } from "./MalloyParser";
99
+ import { ExplorePropertiesContext } from "./MalloyParser";
100
+ import { ExploreStatementContext } from "./MalloyParser";
101
+ import { RenameListContext } from "./MalloyParser";
102
+ import { ExploreRenameDefContext } from "./MalloyParser";
103
+ import { DimensionDefListContext } from "./MalloyParser";
104
+ import { MeasureDefListContext } from "./MalloyParser";
105
+ import { FieldDefContext } from "./MalloyParser";
106
+ import { FieldNameDefContext } from "./MalloyParser";
107
+ import { JoinNameDefContext } from "./MalloyParser";
108
+ import { MeasureDefContext } from "./MalloyParser";
109
+ import { DeclareStatementContext } from "./MalloyParser";
110
+ import { JoinStatementContext } from "./MalloyParser";
111
+ import { JoinListContext } from "./MalloyParser";
112
+ import { JoinDefContext } from "./MalloyParser";
113
+ import { JoinExpressionContext } from "./MalloyParser";
114
+ import { FilterStatementContext } from "./MalloyParser";
115
+ import { FilteredByContext } from "./MalloyParser";
116
+ import { FilterClauseListContext } from "./MalloyParser";
117
+ import { WhereStatementContext } from "./MalloyParser";
118
+ import { HavingStatementContext } from "./MalloyParser";
119
+ import { SubQueryDefListContext } from "./MalloyParser";
120
+ import { ExploreQueryNameDefContext } from "./MalloyParser";
121
+ import { ExploreQueryDefContext } from "./MalloyParser";
122
+ import { QueryStatementContext } from "./MalloyParser";
123
+ import { GroupByStatementContext } from "./MalloyParser";
124
+ import { QueryFieldListContext } from "./MalloyParser";
125
+ import { DimensionDefContext } from "./MalloyParser";
126
+ import { QueryFieldEntryContext } from "./MalloyParser";
127
+ import { NestStatementContext } from "./MalloyParser";
128
+ import { NestedQueryListContext } from "./MalloyParser";
129
+ import { NestEntryContext } from "./MalloyParser";
130
+ import { AggregateStatementContext } from "./MalloyParser";
131
+ import { ProjectStatementContext } from "./MalloyParser";
132
+ import { OrderByStatementContext } from "./MalloyParser";
133
+ import { OrderingContext } from "./MalloyParser";
134
+ import { OrderBySpecContext } from "./MalloyParser";
135
+ import { LimitStatementContext } from "./MalloyParser";
136
+ import { BySpecContext } from "./MalloyParser";
137
+ import { TopStatementContext } from "./MalloyParser";
138
+ import { IndexElementContext } from "./MalloyParser";
139
+ import { IndexFieldsContext } from "./MalloyParser";
140
+ import { IndexStatementContext } from "./MalloyParser";
141
+ import { SampleStatementContext } from "./MalloyParser";
142
+ import { SampleSpecContext } from "./MalloyParser";
143
+ import { AggregateContext } from "./MalloyParser";
144
+ import { MalloyTypeContext } from "./MalloyParser";
145
+ import { CompareOpContext } from "./MalloyParser";
146
+ import { LiteralContext } from "./MalloyParser";
147
+ import { DateLiteralContext } from "./MalloyParser";
148
+ import { TableNameContext } from "./MalloyParser";
149
+ import { IdContext } from "./MalloyParser";
150
+ import { TimeframeContext } from "./MalloyParser";
151
+ import { UngroupContext } from "./MalloyParser";
152
+ import { FieldExprContext } from "./MalloyParser";
153
+ import { PartialAllowedFieldExprContext } from "./MalloyParser";
154
+ import { PickStatementContext } from "./MalloyParser";
155
+ import { PickContext } from "./MalloyParser";
156
+ import { ArgumentListContext } from "./MalloyParser";
157
+ import { FieldNameListContext } from "./MalloyParser";
158
+ import { FieldCollectionContext } from "./MalloyParser";
159
+ import { CollectionMemberContext } from "./MalloyParser";
160
+ import { FieldPathContext } from "./MalloyParser";
161
+ import { JoinNameContext } from "./MalloyParser";
162
+ import { FieldNameContext } from "./MalloyParser";
163
+ import { JustExprContext } from "./MalloyParser";
164
+ import { JsonContext } from "./MalloyParser";
165
+ import { JsonValueContext } from "./MalloyParser";
166
+ import { JsonObjectContext } from "./MalloyParser";
167
+ import { JsonPropertyContext } from "./MalloyParser";
168
+ import { JsonArrayContext } from "./MalloyParser";
169
+ import { SqlBlockContext } from "./MalloyParser";
170
+ import { SqlExploreNameRefContext } from "./MalloyParser";
171
+ import { SqlCommandNameDefContext } from "./MalloyParser";
172
+ import { ConnectionNameContext } from "./MalloyParser";
173
+ /**
174
+ * This interface defines a complete generic visitor for a parse tree produced
175
+ * by `MalloyParser`.
176
+ *
177
+ * @param <Result> The return type of the visit operation. Use `void` for
178
+ * operations with no return type.
179
+ */
180
+ export interface MalloyVisitor<Result> extends ParseTreeVisitor<Result> {
181
+ /**
182
+ * Visit a parse tree produced by the `exprPartialCompare`
183
+ * labeled alternative in `MalloyParser.partialAllowedFieldExpr`.
184
+ * @param ctx the parse tree
185
+ * @return the visitor result
186
+ */
187
+ visitExprPartialCompare?: (ctx: ExprPartialCompareContext) => Result;
188
+ /**
189
+ * Visit a parse tree produced by the `exprNotPartial`
190
+ * labeled alternative in `MalloyParser.partialAllowedFieldExpr`.
191
+ * @param ctx the parse tree
192
+ * @return the visitor result
193
+ */
194
+ visitExprNotPartial?: (ctx: ExprNotPartialContext) => Result;
195
+ /**
196
+ * Visit a parse tree produced by the `nameMember`
197
+ * labeled alternative in `MalloyParser.collectionMember`.
198
+ * @param ctx the parse tree
199
+ * @return the visitor result
200
+ */
201
+ visitNameMember?: (ctx: NameMemberContext) => Result;
202
+ /**
203
+ * Visit a parse tree produced by the `wildMember`
204
+ * labeled alternative in `MalloyParser.collectionMember`.
205
+ * @param ctx the parse tree
206
+ * @return the visitor result
207
+ */
208
+ visitWildMember?: (ctx: WildMemberContext) => Result;
209
+ /**
210
+ * Visit a parse tree produced by the `newMember`
211
+ * labeled alternative in `MalloyParser.collectionMember`.
212
+ * @param ctx the parse tree
213
+ * @return the visitor result
214
+ */
215
+ visitNewMember?: (ctx: NewMemberContext) => Result;
216
+ /**
217
+ * Visit a parse tree produced by the `namedQueries_stub`
218
+ * labeled alternative in `MalloyParser.defineQuery`.
219
+ * @param ctx the parse tree
220
+ * @return the visitor result
221
+ */
222
+ visitNamedQueries_stub?: (ctx: NamedQueries_stubContext) => Result;
223
+ /**
224
+ * Visit a parse tree produced by the `anonymousQuery`
225
+ * labeled alternative in `MalloyParser.defineQuery`.
226
+ * @param ctx the parse tree
227
+ * @return the visitor result
228
+ */
229
+ visitAnonymousQuery?: (ctx: AnonymousQueryContext) => Result;
230
+ /**
231
+ * Visit a parse tree produced by the `NamedSource`
232
+ * labeled alternative in `MalloyParser.exploreSource`.
233
+ * @param ctx the parse tree
234
+ * @return the visitor result
235
+ */
236
+ visitNamedSource?: (ctx: NamedSourceContext) => Result;
237
+ /**
238
+ * Visit a parse tree produced by the `TableSource`
239
+ * labeled alternative in `MalloyParser.exploreSource`.
240
+ * @param ctx the parse tree
241
+ * @return the visitor result
242
+ */
243
+ visitTableSource?: (ctx: TableSourceContext) => Result;
244
+ /**
245
+ * Visit a parse tree produced by the `QuerySource`
246
+ * labeled alternative in `MalloyParser.exploreSource`.
247
+ * @param ctx the parse tree
248
+ * @return the visitor result
249
+ */
250
+ visitQuerySource?: (ctx: QuerySourceContext) => Result;
251
+ /**
252
+ * Visit a parse tree produced by the `SQLSource`
253
+ * labeled alternative in `MalloyParser.exploreSource`.
254
+ * @param ctx the parse tree
255
+ * @return the visitor result
256
+ */
257
+ visitSQLSource?: (ctx: SQLSourceContext) => Result;
258
+ /**
259
+ * Visit a parse tree produced by the `literalTimestamp`
260
+ * labeled alternative in `MalloyParser.dateLiteral`.
261
+ * @param ctx the parse tree
262
+ * @return the visitor result
263
+ */
264
+ visitLiteralTimestamp?: (ctx: LiteralTimestampContext) => Result;
265
+ /**
266
+ * Visit a parse tree produced by the `literalDay`
267
+ * labeled alternative in `MalloyParser.dateLiteral`.
268
+ * @param ctx the parse tree
269
+ * @return the visitor result
270
+ */
271
+ visitLiteralDay?: (ctx: LiteralDayContext) => Result;
272
+ /**
273
+ * Visit a parse tree produced by the `literalWeek`
274
+ * labeled alternative in `MalloyParser.dateLiteral`.
275
+ * @param ctx the parse tree
276
+ * @return the visitor result
277
+ */
278
+ visitLiteralWeek?: (ctx: LiteralWeekContext) => Result;
279
+ /**
280
+ * Visit a parse tree produced by the `literalMonth`
281
+ * labeled alternative in `MalloyParser.dateLiteral`.
282
+ * @param ctx the parse tree
283
+ * @return the visitor result
284
+ */
285
+ visitLiteralMonth?: (ctx: LiteralMonthContext) => Result;
286
+ /**
287
+ * Visit a parse tree produced by the `literalQuarter`
288
+ * labeled alternative in `MalloyParser.dateLiteral`.
289
+ * @param ctx the parse tree
290
+ * @return the visitor result
291
+ */
292
+ visitLiteralQuarter?: (ctx: LiteralQuarterContext) => Result;
293
+ /**
294
+ * Visit a parse tree produced by the `literalYear`
295
+ * labeled alternative in `MalloyParser.dateLiteral`.
296
+ * @param ctx the parse tree
297
+ * @return the visitor result
298
+ */
299
+ visitLiteralYear?: (ctx: LiteralYearContext) => Result;
300
+ /**
301
+ * Visit a parse tree produced by the `exprString`
302
+ * labeled alternative in `MalloyParser.literal`.
303
+ * @param ctx the parse tree
304
+ * @return the visitor result
305
+ */
306
+ visitExprString?: (ctx: ExprStringContext) => Result;
307
+ /**
308
+ * Visit a parse tree produced by the `exprNumber`
309
+ * labeled alternative in `MalloyParser.literal`.
310
+ * @param ctx the parse tree
311
+ * @return the visitor result
312
+ */
313
+ visitExprNumber?: (ctx: ExprNumberContext) => Result;
314
+ /**
315
+ * Visit a parse tree produced by the `exprTime`
316
+ * labeled alternative in `MalloyParser.literal`.
317
+ * @param ctx the parse tree
318
+ * @return the visitor result
319
+ */
320
+ visitExprTime?: (ctx: ExprTimeContext) => Result;
321
+ /**
322
+ * Visit a parse tree produced by the `exprNULL`
323
+ * labeled alternative in `MalloyParser.literal`.
324
+ * @param ctx the parse tree
325
+ * @return the visitor result
326
+ */
327
+ visitExprNULL?: (ctx: ExprNULLContext) => Result;
328
+ /**
329
+ * Visit a parse tree produced by the `exprBool`
330
+ * labeled alternative in `MalloyParser.literal`.
331
+ * @param ctx the parse tree
332
+ * @return the visitor result
333
+ */
334
+ visitExprBool?: (ctx: ExprBoolContext) => Result;
335
+ /**
336
+ * Visit a parse tree produced by the `exprRegex`
337
+ * labeled alternative in `MalloyParser.literal`.
338
+ * @param ctx the parse tree
339
+ * @return the visitor result
340
+ */
341
+ visitExprRegex?: (ctx: ExprRegexContext) => Result;
342
+ /**
343
+ * Visit a parse tree produced by the `exprNow`
344
+ * labeled alternative in `MalloyParser.literal`.
345
+ * @param ctx the parse tree
346
+ * @return the visitor result
347
+ */
348
+ visitExprNow?: (ctx: ExprNowContext) => Result;
349
+ /**
350
+ * Visit a parse tree produced by the `queryFieldRef`
351
+ * labeled alternative in `MalloyParser.queryFieldEntry`.
352
+ * @param ctx the parse tree
353
+ * @return the visitor result
354
+ */
355
+ visitQueryFieldRef?: (ctx: QueryFieldRefContext) => Result;
356
+ /**
357
+ * Visit a parse tree produced by the `queryFieldDef`
358
+ * labeled alternative in `MalloyParser.queryFieldEntry`.
359
+ * @param ctx the parse tree
360
+ * @return the visitor result
361
+ */
362
+ visitQueryFieldDef?: (ctx: QueryFieldDefContext) => Result;
363
+ /**
364
+ * Visit a parse tree produced by the `nestExisting`
365
+ * labeled alternative in `MalloyParser.nestEntry`.
366
+ * @param ctx the parse tree
367
+ * @return the visitor result
368
+ */
369
+ visitNestExisting?: (ctx: NestExistingContext) => Result;
370
+ /**
371
+ * Visit a parse tree produced by the `nestDef`
372
+ * labeled alternative in `MalloyParser.nestEntry`.
373
+ * @param ctx the parse tree
374
+ * @return the visitor result
375
+ */
376
+ visitNestDef?: (ctx: NestDefContext) => Result;
377
+ /**
378
+ * Visit a parse tree produced by the `exprFieldPath`
379
+ * labeled alternative in `MalloyParser.fieldExpr`.
380
+ * @param ctx the parse tree
381
+ * @return the visitor result
382
+ */
383
+ visitExprFieldPath?: (ctx: ExprFieldPathContext) => Result;
384
+ /**
385
+ * Visit a parse tree produced by the `exprFilter`
386
+ * labeled alternative in `MalloyParser.fieldExpr`.
387
+ * @param ctx the parse tree
388
+ * @return the visitor result
389
+ */
390
+ visitExprFilter?: (ctx: ExprFilterContext) => Result;
391
+ /**
392
+ * Visit a parse tree produced by the `exprLiteral`
393
+ * labeled alternative in `MalloyParser.fieldExpr`.
394
+ * @param ctx the parse tree
395
+ * @return the visitor result
396
+ */
397
+ visitExprLiteral?: (ctx: ExprLiteralContext) => Result;
398
+ /**
399
+ * Visit a parse tree produced by the `exprMinus`
400
+ * labeled alternative in `MalloyParser.fieldExpr`.
401
+ * @param ctx the parse tree
402
+ * @return the visitor result
403
+ */
404
+ visitExprMinus?: (ctx: ExprMinusContext) => Result;
405
+ /**
406
+ * Visit a parse tree produced by the `exprDuration`
407
+ * labeled alternative in `MalloyParser.fieldExpr`.
408
+ * @param ctx the parse tree
409
+ * @return the visitor result
410
+ */
411
+ visitExprDuration?: (ctx: ExprDurationContext) => Result;
412
+ /**
413
+ * Visit a parse tree produced by the `exprTimeTrunc`
414
+ * labeled alternative in `MalloyParser.fieldExpr`.
415
+ * @param ctx the parse tree
416
+ * @return the visitor result
417
+ */
418
+ visitExprTimeTrunc?: (ctx: ExprTimeTruncContext) => Result;
419
+ /**
420
+ * Visit a parse tree produced by the `exprSafeCast`
421
+ * labeled alternative in `MalloyParser.fieldExpr`.
422
+ * @param ctx the parse tree
423
+ * @return the visitor result
424
+ */
425
+ visitExprSafeCast?: (ctx: ExprSafeCastContext) => Result;
426
+ /**
427
+ * Visit a parse tree produced by the `exprMulDiv`
428
+ * labeled alternative in `MalloyParser.fieldExpr`.
429
+ * @param ctx the parse tree
430
+ * @return the visitor result
431
+ */
432
+ visitExprMulDiv?: (ctx: ExprMulDivContext) => Result;
433
+ /**
434
+ * Visit a parse tree produced by the `exprAddSub`
435
+ * labeled alternative in `MalloyParser.fieldExpr`.
436
+ * @param ctx the parse tree
437
+ * @return the visitor result
438
+ */
439
+ visitExprAddSub?: (ctx: ExprAddSubContext) => Result;
440
+ /**
441
+ * Visit a parse tree produced by the `exprRange`
442
+ * labeled alternative in `MalloyParser.fieldExpr`.
443
+ * @param ctx the parse tree
444
+ * @return the visitor result
445
+ */
446
+ visitExprRange?: (ctx: ExprRangeContext) => Result;
447
+ /**
448
+ * Visit a parse tree produced by the `exprForRange`
449
+ * labeled alternative in `MalloyParser.fieldExpr`.
450
+ * @param ctx the parse tree
451
+ * @return the visitor result
452
+ */
453
+ visitExprForRange?: (ctx: ExprForRangeContext) => Result;
454
+ /**
455
+ * Visit a parse tree produced by the `exprLogicalTree`
456
+ * labeled alternative in `MalloyParser.fieldExpr`.
457
+ * @param ctx the parse tree
458
+ * @return the visitor result
459
+ */
460
+ visitExprLogicalTree?: (ctx: ExprLogicalTreeContext) => Result;
461
+ /**
462
+ * Visit a parse tree produced by the `exprCompare`
463
+ * labeled alternative in `MalloyParser.fieldExpr`.
464
+ * @param ctx the parse tree
465
+ * @return the visitor result
466
+ */
467
+ visitExprCompare?: (ctx: ExprCompareContext) => Result;
468
+ /**
469
+ * Visit a parse tree produced by the `exprApply`
470
+ * labeled alternative in `MalloyParser.fieldExpr`.
471
+ * @param ctx the parse tree
472
+ * @return the visitor result
473
+ */
474
+ visitExprApply?: (ctx: ExprApplyContext) => Result;
475
+ /**
476
+ * Visit a parse tree produced by the `exprNot`
477
+ * labeled alternative in `MalloyParser.fieldExpr`.
478
+ * @param ctx the parse tree
479
+ * @return the visitor result
480
+ */
481
+ visitExprNot?: (ctx: ExprNotContext) => Result;
482
+ /**
483
+ * Visit a parse tree produced by the `exprLogical`
484
+ * labeled alternative in `MalloyParser.fieldExpr`.
485
+ * @param ctx the parse tree
486
+ * @return the visitor result
487
+ */
488
+ visitExprLogical?: (ctx: ExprLogicalContext) => Result;
489
+ /**
490
+ * Visit a parse tree produced by the `exprCast`
491
+ * labeled alternative in `MalloyParser.fieldExpr`.
492
+ * @param ctx the parse tree
493
+ * @return the visitor result
494
+ */
495
+ visitExprCast?: (ctx: ExprCastContext) => Result;
496
+ /**
497
+ * Visit a parse tree produced by the `exprCountDisinct`
498
+ * labeled alternative in `MalloyParser.fieldExpr`.
499
+ * @param ctx the parse tree
500
+ * @return the visitor result
501
+ */
502
+ visitExprCountDisinct?: (ctx: ExprCountDisinctContext) => Result;
503
+ /**
504
+ * Visit a parse tree produced by the `exprAggregate`
505
+ * labeled alternative in `MalloyParser.fieldExpr`.
506
+ * @param ctx the parse tree
507
+ * @return the visitor result
508
+ */
509
+ visitExprAggregate?: (ctx: ExprAggregateContext) => Result;
510
+ /**
511
+ * Visit a parse tree produced by the `exprExpr`
512
+ * labeled alternative in `MalloyParser.fieldExpr`.
513
+ * @param ctx the parse tree
514
+ * @return the visitor result
515
+ */
516
+ visitExprExpr?: (ctx: ExprExprContext) => Result;
517
+ /**
518
+ * Visit a parse tree produced by the `exprFunc`
519
+ * labeled alternative in `MalloyParser.fieldExpr`.
520
+ * @param ctx the parse tree
521
+ * @return the visitor result
522
+ */
523
+ visitExprFunc?: (ctx: ExprFuncContext) => Result;
524
+ /**
525
+ * Visit a parse tree produced by the `exprPick`
526
+ * labeled alternative in `MalloyParser.fieldExpr`.
527
+ * @param ctx the parse tree
528
+ * @return the visitor result
529
+ */
530
+ visitExprPick?: (ctx: ExprPickContext) => Result;
531
+ /**
532
+ * Visit a parse tree produced by the `exprUngroup`
533
+ * labeled alternative in `MalloyParser.fieldExpr`.
534
+ * @param ctx the parse tree
535
+ * @return the visitor result
536
+ */
537
+ visitExprUngroup?: (ctx: ExprUngroupContext) => Result;
538
+ /**
539
+ * Visit a parse tree produced by the `exploreArrowQuery`
540
+ * labeled alternative in `MalloyParser.query`.
541
+ * @param ctx the parse tree
542
+ * @return the visitor result
543
+ */
544
+ visitExploreArrowQuery?: (ctx: ExploreArrowQueryContext) => Result;
545
+ /**
546
+ * Visit a parse tree produced by the `arrowQuery`
547
+ * labeled alternative in `MalloyParser.query`.
548
+ * @param ctx the parse tree
549
+ * @return the visitor result
550
+ */
551
+ visitArrowQuery?: (ctx: ArrowQueryContext) => Result;
552
+ /**
553
+ * Visit a parse tree produced by the `defJoinOne`
554
+ * labeled alternative in `MalloyParser.joinStatement`.
555
+ * @param ctx the parse tree
556
+ * @return the visitor result
557
+ */
558
+ visitDefJoinOne?: (ctx: DefJoinOneContext) => Result;
559
+ /**
560
+ * Visit a parse tree produced by the `defJoinMany`
561
+ * labeled alternative in `MalloyParser.joinStatement`.
562
+ * @param ctx the parse tree
563
+ * @return the visitor result
564
+ */
565
+ visitDefJoinMany?: (ctx: DefJoinManyContext) => Result;
566
+ /**
567
+ * Visit a parse tree produced by the `defJoinCross`
568
+ * labeled alternative in `MalloyParser.joinStatement`.
569
+ * @param ctx the parse tree
570
+ * @return the visitor result
571
+ */
572
+ visitDefJoinCross?: (ctx: DefJoinCrossContext) => Result;
573
+ /**
574
+ * Visit a parse tree produced by the `defExploreDimension`
575
+ * labeled alternative in `MalloyParser.exploreStatement`.
576
+ * @param ctx the parse tree
577
+ * @return the visitor result
578
+ */
579
+ visitDefExploreDimension?: (ctx: DefExploreDimensionContext) => Result;
580
+ /**
581
+ * Visit a parse tree produced by the `defExploreMeasure`
582
+ * labeled alternative in `MalloyParser.exploreStatement`.
583
+ * @param ctx the parse tree
584
+ * @return the visitor result
585
+ */
586
+ visitDefExploreMeasure?: (ctx: DefExploreMeasureContext) => Result;
587
+ /**
588
+ * Visit a parse tree produced by the `defDeclare_stub`
589
+ * labeled alternative in `MalloyParser.exploreStatement`.
590
+ * @param ctx the parse tree
591
+ * @return the visitor result
592
+ */
593
+ visitDefDeclare_stub?: (ctx: DefDeclare_stubContext) => Result;
594
+ /**
595
+ * Visit a parse tree produced by the `defJoin_stub`
596
+ * labeled alternative in `MalloyParser.exploreStatement`.
597
+ * @param ctx the parse tree
598
+ * @return the visitor result
599
+ */
600
+ visitDefJoin_stub?: (ctx: DefJoin_stubContext) => Result;
601
+ /**
602
+ * Visit a parse tree produced by the `defExploreWhere`
603
+ * labeled alternative in `MalloyParser.exploreStatement`.
604
+ * @param ctx the parse tree
605
+ * @return the visitor result
606
+ */
607
+ visitDefExploreWhere?: (ctx: DefExploreWhereContext) => Result;
608
+ /**
609
+ * Visit a parse tree produced by the `defExplorePrimaryKey`
610
+ * labeled alternative in `MalloyParser.exploreStatement`.
611
+ * @param ctx the parse tree
612
+ * @return the visitor result
613
+ */
614
+ visitDefExplorePrimaryKey?: (ctx: DefExplorePrimaryKeyContext) => Result;
615
+ /**
616
+ * Visit a parse tree produced by the `defExploreRename`
617
+ * labeled alternative in `MalloyParser.exploreStatement`.
618
+ * @param ctx the parse tree
619
+ * @return the visitor result
620
+ */
621
+ visitDefExploreRename?: (ctx: DefExploreRenameContext) => Result;
622
+ /**
623
+ * Visit a parse tree produced by the `defExploreEditField`
624
+ * labeled alternative in `MalloyParser.exploreStatement`.
625
+ * @param ctx the parse tree
626
+ * @return the visitor result
627
+ */
628
+ visitDefExploreEditField?: (ctx: DefExploreEditFieldContext) => Result;
629
+ /**
630
+ * Visit a parse tree produced by the `defExploreQuery`
631
+ * labeled alternative in `MalloyParser.exploreStatement`.
632
+ * @param ctx the parse tree
633
+ * @return the visitor result
634
+ */
635
+ visitDefExploreQuery?: (ctx: DefExploreQueryContext) => Result;
636
+ /**
637
+ * Visit a parse tree produced by the `filterByShortcut`
638
+ * labeled alternative in `MalloyParser.filteredBy`.
639
+ * @param ctx the parse tree
640
+ * @return the visitor result
641
+ */
642
+ visitFilterByShortcut?: (ctx: FilterByShortcutContext) => Result;
643
+ /**
644
+ * Visit a parse tree produced by the `filterByWhere`
645
+ * labeled alternative in `MalloyParser.filteredBy`.
646
+ * @param ctx the parse tree
647
+ * @return the visitor result
648
+ */
649
+ visitFilterByWhere?: (ctx: FilterByWhereContext) => Result;
650
+ /**
651
+ * Visit a parse tree produced by the `joinWith`
652
+ * labeled alternative in `MalloyParser.joinDef`.
653
+ * @param ctx the parse tree
654
+ * @return the visitor result
655
+ */
656
+ visitJoinWith?: (ctx: JoinWithContext) => Result;
657
+ /**
658
+ * Visit a parse tree produced by the `joinOn`
659
+ * labeled alternative in `MalloyParser.joinDef`.
660
+ * @param ctx the parse tree
661
+ * @return the visitor result
662
+ */
663
+ visitJoinOn?: (ctx: JoinOnContext) => Result;
664
+ /**
665
+ * Visit a parse tree produced by `MalloyParser.malloyDocument`.
666
+ * @param ctx the parse tree
667
+ * @return the visitor result
668
+ */
669
+ visitMalloyDocument?: (ctx: MalloyDocumentContext) => Result;
670
+ /**
671
+ * Visit a parse tree produced by `MalloyParser.malloyStatement`.
672
+ * @param ctx the parse tree
673
+ * @return the visitor result
674
+ */
675
+ visitMalloyStatement?: (ctx: MalloyStatementContext) => Result;
676
+ /**
677
+ * Visit a parse tree produced by `MalloyParser.defineExploreStatement`.
678
+ * @param ctx the parse tree
679
+ * @return the visitor result
680
+ */
681
+ visitDefineExploreStatement?: (ctx: DefineExploreStatementContext) => Result;
682
+ /**
683
+ * Visit a parse tree produced by `MalloyParser.exploreKeyword`.
684
+ * @param ctx the parse tree
685
+ * @return the visitor result
686
+ */
687
+ visitExploreKeyword?: (ctx: ExploreKeywordContext) => Result;
688
+ /**
689
+ * Visit a parse tree produced by `MalloyParser.defineQuery`.
690
+ * @param ctx the parse tree
691
+ * @return the visitor result
692
+ */
693
+ visitDefineQuery?: (ctx: DefineQueryContext) => Result;
694
+ /**
695
+ * Visit a parse tree produced by `MalloyParser.topLevelAnonQueryDef`.
696
+ * @param ctx the parse tree
697
+ * @return the visitor result
698
+ */
699
+ visitTopLevelAnonQueryDef?: (ctx: TopLevelAnonQueryDefContext) => Result;
700
+ /**
701
+ * Visit a parse tree produced by `MalloyParser.defineSQLStatement`.
702
+ * @param ctx the parse tree
703
+ * @return the visitor result
704
+ */
705
+ visitDefineSQLStatement?: (ctx: DefineSQLStatementContext) => Result;
706
+ /**
707
+ * Visit a parse tree produced by `MalloyParser.sqlStatementDef`.
708
+ * @param ctx the parse tree
709
+ * @return the visitor result
710
+ */
711
+ visitSqlStatementDef?: (ctx: SqlStatementDefContext) => Result;
712
+ /**
713
+ * Visit a parse tree produced by `MalloyParser.importStatement`.
714
+ * @param ctx the parse tree
715
+ * @return the visitor result
716
+ */
717
+ visitImportStatement?: (ctx: ImportStatementContext) => Result;
718
+ /**
719
+ * Visit a parse tree produced by `MalloyParser.importURL`.
720
+ * @param ctx the parse tree
721
+ * @return the visitor result
722
+ */
723
+ visitImportURL?: (ctx: ImportURLContext) => Result;
724
+ /**
725
+ * Visit a parse tree produced by `MalloyParser.topLevelQueryDefs`.
726
+ * @param ctx the parse tree
727
+ * @return the visitor result
728
+ */
729
+ visitTopLevelQueryDefs?: (ctx: TopLevelQueryDefsContext) => Result;
730
+ /**
731
+ * Visit a parse tree produced by `MalloyParser.topLevelQueryDef`.
732
+ * @param ctx the parse tree
733
+ * @return the visitor result
734
+ */
735
+ visitTopLevelQueryDef?: (ctx: TopLevelQueryDefContext) => Result;
736
+ /**
737
+ * Visit a parse tree produced by `MalloyParser.refineOperator`.
738
+ * @param ctx the parse tree
739
+ * @return the visitor result
740
+ */
741
+ visitRefineOperator?: (ctx: RefineOperatorContext) => Result;
742
+ /**
743
+ * Visit a parse tree produced by `MalloyParser.query`.
744
+ * @param ctx the parse tree
745
+ * @return the visitor result
746
+ */
747
+ visitQuery?: (ctx: QueryContext) => Result;
748
+ /**
749
+ * Visit a parse tree produced by `MalloyParser.pipelineFromName`.
750
+ * @param ctx the parse tree
751
+ * @return the visitor result
752
+ */
753
+ visitPipelineFromName?: (ctx: PipelineFromNameContext) => Result;
754
+ /**
755
+ * Visit a parse tree produced by `MalloyParser.firstSegment`.
756
+ * @param ctx the parse tree
757
+ * @return the visitor result
758
+ */
759
+ visitFirstSegment?: (ctx: FirstSegmentContext) => Result;
760
+ /**
761
+ * Visit a parse tree produced by `MalloyParser.pipeElement`.
762
+ * @param ctx the parse tree
763
+ * @return the visitor result
764
+ */
765
+ visitPipeElement?: (ctx: PipeElementContext) => Result;
766
+ /**
767
+ * Visit a parse tree produced by `MalloyParser.exploreTable`.
768
+ * @param ctx the parse tree
769
+ * @return the visitor result
770
+ */
771
+ visitExploreTable?: (ctx: ExploreTableContext) => Result;
772
+ /**
773
+ * Visit a parse tree produced by `MalloyParser.queryProperties`.
774
+ * @param ctx the parse tree
775
+ * @return the visitor result
776
+ */
777
+ visitQueryProperties?: (ctx: QueryPropertiesContext) => Result;
778
+ /**
779
+ * Visit a parse tree produced by `MalloyParser.filterShortcut`.
780
+ * @param ctx the parse tree
781
+ * @return the visitor result
782
+ */
783
+ visitFilterShortcut?: (ctx: FilterShortcutContext) => Result;
784
+ /**
785
+ * Visit a parse tree produced by `MalloyParser.exploreQueryName`.
786
+ * @param ctx the parse tree
787
+ * @return the visitor result
788
+ */
789
+ visitExploreQueryName?: (ctx: ExploreQueryNameContext) => Result;
790
+ /**
791
+ * Visit a parse tree produced by `MalloyParser.queryName`.
792
+ * @param ctx the parse tree
793
+ * @return the visitor result
794
+ */
795
+ visitQueryName?: (ctx: QueryNameContext) => Result;
796
+ /**
797
+ * Visit a parse tree produced by `MalloyParser.exploreDefinitionList`.
798
+ * @param ctx the parse tree
799
+ * @return the visitor result
800
+ */
801
+ visitExploreDefinitionList?: (ctx: ExploreDefinitionListContext) => Result;
802
+ /**
803
+ * Visit a parse tree produced by `MalloyParser.exploreDefinition`.
804
+ * @param ctx the parse tree
805
+ * @return the visitor result
806
+ */
807
+ visitExploreDefinition?: (ctx: ExploreDefinitionContext) => Result;
808
+ /**
809
+ * Visit a parse tree produced by `MalloyParser.explore`.
810
+ * @param ctx the parse tree
811
+ * @return the visitor result
812
+ */
813
+ visitExplore?: (ctx: ExploreContext) => Result;
814
+ /**
815
+ * Visit a parse tree produced by `MalloyParser.exploreSource`.
816
+ * @param ctx the parse tree
817
+ * @return the visitor result
818
+ */
819
+ visitExploreSource?: (ctx: ExploreSourceContext) => Result;
820
+ /**
821
+ * Visit a parse tree produced by `MalloyParser.exploreNameDef`.
822
+ * @param ctx the parse tree
823
+ * @return the visitor result
824
+ */
825
+ visitExploreNameDef?: (ctx: ExploreNameDefContext) => Result;
826
+ /**
827
+ * Visit a parse tree produced by `MalloyParser.exploreName`.
828
+ * @param ctx the parse tree
829
+ * @return the visitor result
830
+ */
831
+ visitExploreName?: (ctx: ExploreNameContext) => Result;
832
+ /**
833
+ * Visit a parse tree produced by `MalloyParser.exploreProperties`.
834
+ * @param ctx the parse tree
835
+ * @return the visitor result
836
+ */
837
+ visitExploreProperties?: (ctx: ExplorePropertiesContext) => Result;
838
+ /**
839
+ * Visit a parse tree produced by `MalloyParser.exploreStatement`.
840
+ * @param ctx the parse tree
841
+ * @return the visitor result
842
+ */
843
+ visitExploreStatement?: (ctx: ExploreStatementContext) => Result;
844
+ /**
845
+ * Visit a parse tree produced by `MalloyParser.renameList`.
846
+ * @param ctx the parse tree
847
+ * @return the visitor result
848
+ */
849
+ visitRenameList?: (ctx: RenameListContext) => Result;
850
+ /**
851
+ * Visit a parse tree produced by `MalloyParser.exploreRenameDef`.
852
+ * @param ctx the parse tree
853
+ * @return the visitor result
854
+ */
855
+ visitExploreRenameDef?: (ctx: ExploreRenameDefContext) => Result;
856
+ /**
857
+ * Visit a parse tree produced by `MalloyParser.dimensionDefList`.
858
+ * @param ctx the parse tree
859
+ * @return the visitor result
860
+ */
861
+ visitDimensionDefList?: (ctx: DimensionDefListContext) => Result;
862
+ /**
863
+ * Visit a parse tree produced by `MalloyParser.measureDefList`.
864
+ * @param ctx the parse tree
865
+ * @return the visitor result
866
+ */
867
+ visitMeasureDefList?: (ctx: MeasureDefListContext) => Result;
868
+ /**
869
+ * Visit a parse tree produced by `MalloyParser.fieldDef`.
870
+ * @param ctx the parse tree
871
+ * @return the visitor result
872
+ */
873
+ visitFieldDef?: (ctx: FieldDefContext) => Result;
874
+ /**
875
+ * Visit a parse tree produced by `MalloyParser.fieldNameDef`.
876
+ * @param ctx the parse tree
877
+ * @return the visitor result
878
+ */
879
+ visitFieldNameDef?: (ctx: FieldNameDefContext) => Result;
880
+ /**
881
+ * Visit a parse tree produced by `MalloyParser.joinNameDef`.
882
+ * @param ctx the parse tree
883
+ * @return the visitor result
884
+ */
885
+ visitJoinNameDef?: (ctx: JoinNameDefContext) => Result;
886
+ /**
887
+ * Visit a parse tree produced by `MalloyParser.measureDef`.
888
+ * @param ctx the parse tree
889
+ * @return the visitor result
890
+ */
891
+ visitMeasureDef?: (ctx: MeasureDefContext) => Result;
892
+ /**
893
+ * Visit a parse tree produced by `MalloyParser.declareStatement`.
894
+ * @param ctx the parse tree
895
+ * @return the visitor result
896
+ */
897
+ visitDeclareStatement?: (ctx: DeclareStatementContext) => Result;
898
+ /**
899
+ * Visit a parse tree produced by `MalloyParser.joinStatement`.
900
+ * @param ctx the parse tree
901
+ * @return the visitor result
902
+ */
903
+ visitJoinStatement?: (ctx: JoinStatementContext) => Result;
904
+ /**
905
+ * Visit a parse tree produced by `MalloyParser.joinList`.
906
+ * @param ctx the parse tree
907
+ * @return the visitor result
908
+ */
909
+ visitJoinList?: (ctx: JoinListContext) => Result;
910
+ /**
911
+ * Visit a parse tree produced by `MalloyParser.joinDef`.
912
+ * @param ctx the parse tree
913
+ * @return the visitor result
914
+ */
915
+ visitJoinDef?: (ctx: JoinDefContext) => Result;
916
+ /**
917
+ * Visit a parse tree produced by `MalloyParser.joinExpression`.
918
+ * @param ctx the parse tree
919
+ * @return the visitor result
920
+ */
921
+ visitJoinExpression?: (ctx: JoinExpressionContext) => Result;
922
+ /**
923
+ * Visit a parse tree produced by `MalloyParser.filterStatement`.
924
+ * @param ctx the parse tree
925
+ * @return the visitor result
926
+ */
927
+ visitFilterStatement?: (ctx: FilterStatementContext) => Result;
928
+ /**
929
+ * Visit a parse tree produced by `MalloyParser.filteredBy`.
930
+ * @param ctx the parse tree
931
+ * @return the visitor result
932
+ */
933
+ visitFilteredBy?: (ctx: FilteredByContext) => Result;
934
+ /**
935
+ * Visit a parse tree produced by `MalloyParser.filterClauseList`.
936
+ * @param ctx the parse tree
937
+ * @return the visitor result
938
+ */
939
+ visitFilterClauseList?: (ctx: FilterClauseListContext) => Result;
940
+ /**
941
+ * Visit a parse tree produced by `MalloyParser.whereStatement`.
942
+ * @param ctx the parse tree
943
+ * @return the visitor result
944
+ */
945
+ visitWhereStatement?: (ctx: WhereStatementContext) => Result;
946
+ /**
947
+ * Visit a parse tree produced by `MalloyParser.havingStatement`.
948
+ * @param ctx the parse tree
949
+ * @return the visitor result
950
+ */
951
+ visitHavingStatement?: (ctx: HavingStatementContext) => Result;
952
+ /**
953
+ * Visit a parse tree produced by `MalloyParser.subQueryDefList`.
954
+ * @param ctx the parse tree
955
+ * @return the visitor result
956
+ */
957
+ visitSubQueryDefList?: (ctx: SubQueryDefListContext) => Result;
958
+ /**
959
+ * Visit a parse tree produced by `MalloyParser.exploreQueryNameDef`.
960
+ * @param ctx the parse tree
961
+ * @return the visitor result
962
+ */
963
+ visitExploreQueryNameDef?: (ctx: ExploreQueryNameDefContext) => Result;
964
+ /**
965
+ * Visit a parse tree produced by `MalloyParser.exploreQueryDef`.
966
+ * @param ctx the parse tree
967
+ * @return the visitor result
968
+ */
969
+ visitExploreQueryDef?: (ctx: ExploreQueryDefContext) => Result;
970
+ /**
971
+ * Visit a parse tree produced by `MalloyParser.queryStatement`.
972
+ * @param ctx the parse tree
973
+ * @return the visitor result
974
+ */
975
+ visitQueryStatement?: (ctx: QueryStatementContext) => Result;
976
+ /**
977
+ * Visit a parse tree produced by `MalloyParser.groupByStatement`.
978
+ * @param ctx the parse tree
979
+ * @return the visitor result
980
+ */
981
+ visitGroupByStatement?: (ctx: GroupByStatementContext) => Result;
982
+ /**
983
+ * Visit a parse tree produced by `MalloyParser.queryFieldList`.
984
+ * @param ctx the parse tree
985
+ * @return the visitor result
986
+ */
987
+ visitQueryFieldList?: (ctx: QueryFieldListContext) => Result;
988
+ /**
989
+ * Visit a parse tree produced by `MalloyParser.dimensionDef`.
990
+ * @param ctx the parse tree
991
+ * @return the visitor result
992
+ */
993
+ visitDimensionDef?: (ctx: DimensionDefContext) => Result;
994
+ /**
995
+ * Visit a parse tree produced by `MalloyParser.queryFieldEntry`.
996
+ * @param ctx the parse tree
997
+ * @return the visitor result
998
+ */
999
+ visitQueryFieldEntry?: (ctx: QueryFieldEntryContext) => Result;
1000
+ /**
1001
+ * Visit a parse tree produced by `MalloyParser.nestStatement`.
1002
+ * @param ctx the parse tree
1003
+ * @return the visitor result
1004
+ */
1005
+ visitNestStatement?: (ctx: NestStatementContext) => Result;
1006
+ /**
1007
+ * Visit a parse tree produced by `MalloyParser.nestedQueryList`.
1008
+ * @param ctx the parse tree
1009
+ * @return the visitor result
1010
+ */
1011
+ visitNestedQueryList?: (ctx: NestedQueryListContext) => Result;
1012
+ /**
1013
+ * Visit a parse tree produced by `MalloyParser.nestEntry`.
1014
+ * @param ctx the parse tree
1015
+ * @return the visitor result
1016
+ */
1017
+ visitNestEntry?: (ctx: NestEntryContext) => Result;
1018
+ /**
1019
+ * Visit a parse tree produced by `MalloyParser.aggregateStatement`.
1020
+ * @param ctx the parse tree
1021
+ * @return the visitor result
1022
+ */
1023
+ visitAggregateStatement?: (ctx: AggregateStatementContext) => Result;
1024
+ /**
1025
+ * Visit a parse tree produced by `MalloyParser.projectStatement`.
1026
+ * @param ctx the parse tree
1027
+ * @return the visitor result
1028
+ */
1029
+ visitProjectStatement?: (ctx: ProjectStatementContext) => Result;
1030
+ /**
1031
+ * Visit a parse tree produced by `MalloyParser.orderByStatement`.
1032
+ * @param ctx the parse tree
1033
+ * @return the visitor result
1034
+ */
1035
+ visitOrderByStatement?: (ctx: OrderByStatementContext) => Result;
1036
+ /**
1037
+ * Visit a parse tree produced by `MalloyParser.ordering`.
1038
+ * @param ctx the parse tree
1039
+ * @return the visitor result
1040
+ */
1041
+ visitOrdering?: (ctx: OrderingContext) => Result;
1042
+ /**
1043
+ * Visit a parse tree produced by `MalloyParser.orderBySpec`.
1044
+ * @param ctx the parse tree
1045
+ * @return the visitor result
1046
+ */
1047
+ visitOrderBySpec?: (ctx: OrderBySpecContext) => Result;
1048
+ /**
1049
+ * Visit a parse tree produced by `MalloyParser.limitStatement`.
1050
+ * @param ctx the parse tree
1051
+ * @return the visitor result
1052
+ */
1053
+ visitLimitStatement?: (ctx: LimitStatementContext) => Result;
1054
+ /**
1055
+ * Visit a parse tree produced by `MalloyParser.bySpec`.
1056
+ * @param ctx the parse tree
1057
+ * @return the visitor result
1058
+ */
1059
+ visitBySpec?: (ctx: BySpecContext) => Result;
1060
+ /**
1061
+ * Visit a parse tree produced by `MalloyParser.topStatement`.
1062
+ * @param ctx the parse tree
1063
+ * @return the visitor result
1064
+ */
1065
+ visitTopStatement?: (ctx: TopStatementContext) => Result;
1066
+ /**
1067
+ * Visit a parse tree produced by `MalloyParser.indexElement`.
1068
+ * @param ctx the parse tree
1069
+ * @return the visitor result
1070
+ */
1071
+ visitIndexElement?: (ctx: IndexElementContext) => Result;
1072
+ /**
1073
+ * Visit a parse tree produced by `MalloyParser.indexFields`.
1074
+ * @param ctx the parse tree
1075
+ * @return the visitor result
1076
+ */
1077
+ visitIndexFields?: (ctx: IndexFieldsContext) => Result;
1078
+ /**
1079
+ * Visit a parse tree produced by `MalloyParser.indexStatement`.
1080
+ * @param ctx the parse tree
1081
+ * @return the visitor result
1082
+ */
1083
+ visitIndexStatement?: (ctx: IndexStatementContext) => Result;
1084
+ /**
1085
+ * Visit a parse tree produced by `MalloyParser.sampleStatement`.
1086
+ * @param ctx the parse tree
1087
+ * @return the visitor result
1088
+ */
1089
+ visitSampleStatement?: (ctx: SampleStatementContext) => Result;
1090
+ /**
1091
+ * Visit a parse tree produced by `MalloyParser.sampleSpec`.
1092
+ * @param ctx the parse tree
1093
+ * @return the visitor result
1094
+ */
1095
+ visitSampleSpec?: (ctx: SampleSpecContext) => Result;
1096
+ /**
1097
+ * Visit a parse tree produced by `MalloyParser.aggregate`.
1098
+ * @param ctx the parse tree
1099
+ * @return the visitor result
1100
+ */
1101
+ visitAggregate?: (ctx: AggregateContext) => Result;
1102
+ /**
1103
+ * Visit a parse tree produced by `MalloyParser.malloyType`.
1104
+ * @param ctx the parse tree
1105
+ * @return the visitor result
1106
+ */
1107
+ visitMalloyType?: (ctx: MalloyTypeContext) => Result;
1108
+ /**
1109
+ * Visit a parse tree produced by `MalloyParser.compareOp`.
1110
+ * @param ctx the parse tree
1111
+ * @return the visitor result
1112
+ */
1113
+ visitCompareOp?: (ctx: CompareOpContext) => Result;
1114
+ /**
1115
+ * Visit a parse tree produced by `MalloyParser.literal`.
1116
+ * @param ctx the parse tree
1117
+ * @return the visitor result
1118
+ */
1119
+ visitLiteral?: (ctx: LiteralContext) => Result;
1120
+ /**
1121
+ * Visit a parse tree produced by `MalloyParser.dateLiteral`.
1122
+ * @param ctx the parse tree
1123
+ * @return the visitor result
1124
+ */
1125
+ visitDateLiteral?: (ctx: DateLiteralContext) => Result;
1126
+ /**
1127
+ * Visit a parse tree produced by `MalloyParser.tableName`.
1128
+ * @param ctx the parse tree
1129
+ * @return the visitor result
1130
+ */
1131
+ visitTableName?: (ctx: TableNameContext) => Result;
1132
+ /**
1133
+ * Visit a parse tree produced by `MalloyParser.id`.
1134
+ * @param ctx the parse tree
1135
+ * @return the visitor result
1136
+ */
1137
+ visitId?: (ctx: IdContext) => Result;
1138
+ /**
1139
+ * Visit a parse tree produced by `MalloyParser.timeframe`.
1140
+ * @param ctx the parse tree
1141
+ * @return the visitor result
1142
+ */
1143
+ visitTimeframe?: (ctx: TimeframeContext) => Result;
1144
+ /**
1145
+ * Visit a parse tree produced by `MalloyParser.ungroup`.
1146
+ * @param ctx the parse tree
1147
+ * @return the visitor result
1148
+ */
1149
+ visitUngroup?: (ctx: UngroupContext) => Result;
1150
+ /**
1151
+ * Visit a parse tree produced by `MalloyParser.fieldExpr`.
1152
+ * @param ctx the parse tree
1153
+ * @return the visitor result
1154
+ */
1155
+ visitFieldExpr?: (ctx: FieldExprContext) => Result;
1156
+ /**
1157
+ * Visit a parse tree produced by `MalloyParser.partialAllowedFieldExpr`.
1158
+ * @param ctx the parse tree
1159
+ * @return the visitor result
1160
+ */
1161
+ visitPartialAllowedFieldExpr?: (ctx: PartialAllowedFieldExprContext) => Result;
1162
+ /**
1163
+ * Visit a parse tree produced by `MalloyParser.pickStatement`.
1164
+ * @param ctx the parse tree
1165
+ * @return the visitor result
1166
+ */
1167
+ visitPickStatement?: (ctx: PickStatementContext) => Result;
1168
+ /**
1169
+ * Visit a parse tree produced by `MalloyParser.pick`.
1170
+ * @param ctx the parse tree
1171
+ * @return the visitor result
1172
+ */
1173
+ visitPick?: (ctx: PickContext) => Result;
1174
+ /**
1175
+ * Visit a parse tree produced by `MalloyParser.argumentList`.
1176
+ * @param ctx the parse tree
1177
+ * @return the visitor result
1178
+ */
1179
+ visitArgumentList?: (ctx: ArgumentListContext) => Result;
1180
+ /**
1181
+ * Visit a parse tree produced by `MalloyParser.fieldNameList`.
1182
+ * @param ctx the parse tree
1183
+ * @return the visitor result
1184
+ */
1185
+ visitFieldNameList?: (ctx: FieldNameListContext) => Result;
1186
+ /**
1187
+ * Visit a parse tree produced by `MalloyParser.fieldCollection`.
1188
+ * @param ctx the parse tree
1189
+ * @return the visitor result
1190
+ */
1191
+ visitFieldCollection?: (ctx: FieldCollectionContext) => Result;
1192
+ /**
1193
+ * Visit a parse tree produced by `MalloyParser.collectionMember`.
1194
+ * @param ctx the parse tree
1195
+ * @return the visitor result
1196
+ */
1197
+ visitCollectionMember?: (ctx: CollectionMemberContext) => Result;
1198
+ /**
1199
+ * Visit a parse tree produced by `MalloyParser.fieldPath`.
1200
+ * @param ctx the parse tree
1201
+ * @return the visitor result
1202
+ */
1203
+ visitFieldPath?: (ctx: FieldPathContext) => Result;
1204
+ /**
1205
+ * Visit a parse tree produced by `MalloyParser.joinName`.
1206
+ * @param ctx the parse tree
1207
+ * @return the visitor result
1208
+ */
1209
+ visitJoinName?: (ctx: JoinNameContext) => Result;
1210
+ /**
1211
+ * Visit a parse tree produced by `MalloyParser.fieldName`.
1212
+ * @param ctx the parse tree
1213
+ * @return the visitor result
1214
+ */
1215
+ visitFieldName?: (ctx: FieldNameContext) => Result;
1216
+ /**
1217
+ * Visit a parse tree produced by `MalloyParser.justExpr`.
1218
+ * @param ctx the parse tree
1219
+ * @return the visitor result
1220
+ */
1221
+ visitJustExpr?: (ctx: JustExprContext) => Result;
1222
+ /**
1223
+ * Visit a parse tree produced by `MalloyParser.json`.
1224
+ * @param ctx the parse tree
1225
+ * @return the visitor result
1226
+ */
1227
+ visitJson?: (ctx: JsonContext) => Result;
1228
+ /**
1229
+ * Visit a parse tree produced by `MalloyParser.jsonValue`.
1230
+ * @param ctx the parse tree
1231
+ * @return the visitor result
1232
+ */
1233
+ visitJsonValue?: (ctx: JsonValueContext) => Result;
1234
+ /**
1235
+ * Visit a parse tree produced by `MalloyParser.jsonObject`.
1236
+ * @param ctx the parse tree
1237
+ * @return the visitor result
1238
+ */
1239
+ visitJsonObject?: (ctx: JsonObjectContext) => Result;
1240
+ /**
1241
+ * Visit a parse tree produced by `MalloyParser.jsonProperty`.
1242
+ * @param ctx the parse tree
1243
+ * @return the visitor result
1244
+ */
1245
+ visitJsonProperty?: (ctx: JsonPropertyContext) => Result;
1246
+ /**
1247
+ * Visit a parse tree produced by `MalloyParser.jsonArray`.
1248
+ * @param ctx the parse tree
1249
+ * @return the visitor result
1250
+ */
1251
+ visitJsonArray?: (ctx: JsonArrayContext) => Result;
1252
+ /**
1253
+ * Visit a parse tree produced by `MalloyParser.sqlBlock`.
1254
+ * @param ctx the parse tree
1255
+ * @return the visitor result
1256
+ */
1257
+ visitSqlBlock?: (ctx: SqlBlockContext) => Result;
1258
+ /**
1259
+ * Visit a parse tree produced by `MalloyParser.sqlExploreNameRef`.
1260
+ * @param ctx the parse tree
1261
+ * @return the visitor result
1262
+ */
1263
+ visitSqlExploreNameRef?: (ctx: SqlExploreNameRefContext) => Result;
1264
+ /**
1265
+ * Visit a parse tree produced by `MalloyParser.sqlCommandNameDef`.
1266
+ * @param ctx the parse tree
1267
+ * @return the visitor result
1268
+ */
1269
+ visitSqlCommandNameDef?: (ctx: SqlCommandNameDefContext) => Result;
1270
+ /**
1271
+ * Visit a parse tree produced by `MalloyParser.connectionName`.
1272
+ * @param ctx the parse tree
1273
+ * @return the visitor result
1274
+ */
1275
+ visitConnectionName?: (ctx: ConnectionNameContext) => Result;
1276
+ }