@gooddata/maql-antlr4ts 0.2.1-001666cb.0

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.
@@ -0,0 +1,4668 @@
1
+ import { ATN } from 'antlr4ts/atn/ATN';
2
+ import { CharStream } from 'antlr4ts/CharStream';
3
+ import { Lexer } from 'antlr4ts/Lexer';
4
+ import { Vocabulary } from 'antlr4ts/Vocabulary';
5
+ import { FailedPredicateException } from 'antlr4ts/FailedPredicateException';
6
+ import { Parser } from 'antlr4ts/Parser';
7
+ import { ParserRuleContext } from 'antlr4ts/ParserRuleContext';
8
+ import { TerminalNode } from 'antlr4ts/tree/TerminalNode';
9
+ import { TokenStream } from 'antlr4ts/TokenStream';
10
+ import { ParseTreeListener } from 'antlr4ts/tree/ParseTreeListener';
11
+ import { ParseTreeVisitor } from 'antlr4ts/tree/ParseTreeVisitor';
12
+ import { CodePointCharStream, ANTLRErrorListener, Token, Recognizer, BufferedTokenStream } from 'antlr4ts';
13
+ import { RecognitionException } from 'antlr4ts/RecognitionException';
14
+ import { AbstractParseTreeVisitor, ParseTree, ErrorNode } from 'antlr4ts/tree';
15
+
16
+ declare class MaqlLexer extends Lexer {
17
+ static readonly ALL = 1;
18
+ static readonly AND = 2;
19
+ static readonly ASC = 3;
20
+ static readonly BETWEEN = 4;
21
+ static readonly BOTTOM = 5;
22
+ static readonly BY = 6;
23
+ static readonly CASE = 7;
24
+ static readonly COMPUTED_ATTRIBUTE = 8;
25
+ static readonly CUME_DIST = 9;
26
+ static readonly CURRENT = 10;
27
+ static readonly DENSE_RANK = 11;
28
+ static readonly DESC = 12;
29
+ static readonly DIMENSIONS = 13;
30
+ static readonly EACH = 14;
31
+ static readonly ELSE = 15;
32
+ static readonly END = 16;
33
+ static readonly EXCEPT = 17;
34
+ static readonly FALSE = 18;
35
+ static readonly FILTER = 19;
36
+ static readonly FIRST_VALUE = 20;
37
+ static readonly FOLLOWING = 21;
38
+ static readonly FOR = 22;
39
+ static readonly HAVING = 23;
40
+ static readonly IF = 24;
41
+ static readonly ILIKE = 25;
42
+ static readonly IN = 26;
43
+ static readonly LAST_VALUE = 27;
44
+ static readonly LIKE = 28;
45
+ static readonly METRIC = 29;
46
+ static readonly NEXT = 30;
47
+ static readonly NEXTPERIOD = 31;
48
+ static readonly NOT = 32;
49
+ static readonly NULL = 33;
50
+ static readonly OF = 34;
51
+ static readonly OR = 35;
52
+ static readonly ORDER = 36;
53
+ static readonly OTHER = 37;
54
+ static readonly OVER = 38;
55
+ static readonly PARENT = 39;
56
+ static readonly PARSE = 40;
57
+ static readonly PERCENT_RANK = 41;
58
+ static readonly PF = 42;
59
+ static readonly PRECEDING = 43;
60
+ static readonly PREVIOUSPERIOD = 44;
61
+ static readonly PREVIOUS = 45;
62
+ static readonly RANK = 46;
63
+ static readonly REPORT = 47;
64
+ static readonly ROW_NUMBER = 48;
65
+ static readonly ROW = 49;
66
+ static readonly ROWS = 50;
67
+ static readonly RUNAVG = 51;
68
+ static readonly RUNMAX = 52;
69
+ static readonly RUNMIN = 53;
70
+ static readonly RUNSUM = 54;
71
+ static readonly RUNSTDEV = 55;
72
+ static readonly RUNSTDEVP = 56;
73
+ static readonly RUNVAR = 57;
74
+ static readonly RUNVARP = 58;
75
+ static readonly SELECT = 59;
76
+ static readonly THEN = 60;
77
+ static readonly THIS = 61;
78
+ static readonly TOP = 62;
79
+ static readonly TO = 63;
80
+ static readonly TRUE = 64;
81
+ static readonly UNBOUNDED = 65;
82
+ static readonly USING = 66;
83
+ static readonly WHEN = 67;
84
+ static readonly WHERE = 68;
85
+ static readonly WITHIN = 69;
86
+ static readonly WITHOUT = 70;
87
+ static readonly WITH = 71;
88
+ static readonly DAY = 72;
89
+ static readonly DAYOFWEEK = 73;
90
+ static readonly DAYOFMONTH = 74;
91
+ static readonly DAYOFYEAR = 75;
92
+ static readonly HOUR = 76;
93
+ static readonly HOUROFDAY = 77;
94
+ static readonly MINUTE = 78;
95
+ static readonly MINUTEOFHOUR = 79;
96
+ static readonly MONTH = 80;
97
+ static readonly MONTHOFYEAR = 81;
98
+ static readonly QUARTER = 82;
99
+ static readonly QUARTEROFYEAR = 83;
100
+ static readonly YEAR = 84;
101
+ static readonly WEEK = 85;
102
+ static readonly WEEKOFYEAR = 86;
103
+ static readonly WS = 87;
104
+ static readonly Comment = 88;
105
+ static readonly UnterminatedString = 89;
106
+ static readonly String = 90;
107
+ static readonly LBRACE = 91;
108
+ static readonly RBRACE = 92;
109
+ static readonly RELOP = 93;
110
+ static readonly COMMA = 94;
111
+ static readonly SEMICOLON = 95;
112
+ static readonly LPAREN = 96;
113
+ static readonly RPAREN = 97;
114
+ static readonly MINUS = 98;
115
+ static readonly PERCENT = 99;
116
+ static readonly PLUS = 100;
117
+ static readonly MUL = 101;
118
+ static readonly DIV = 102;
119
+ static readonly ZERO = 103;
120
+ static readonly Natural = 104;
121
+ static readonly Real = 105;
122
+ static readonly Identifier = 106;
123
+ static readonly ERROR_CHARACTER = 107;
124
+ static readonly FACT = 108;
125
+ static readonly ATTRIBUTE = 109;
126
+ static readonly METRIC_TYPE = 110;
127
+ static readonly LABEL = 111;
128
+ static readonly LOCAL = 112;
129
+ static readonly PROMPT = 113;
130
+ static readonly DATASET = 114;
131
+ static readonly UNKNOWN_TYPE = 115;
132
+ static readonly SEP = 116;
133
+ static readonly ID = 117;
134
+ static readonly OBJECT_TYPE = 1;
135
+ static readonly OBJECT_ID = 2;
136
+ static readonly channelNames: string[];
137
+ static readonly modeNames: string[];
138
+ static readonly ruleNames: string[];
139
+ private static readonly _LITERAL_NAMES;
140
+ private static readonly _SYMBOLIC_NAMES;
141
+ static readonly VOCABULARY: Vocabulary;
142
+ get vocabulary(): Vocabulary;
143
+ constructor(input: CharStream);
144
+ get grammarFileName(): string;
145
+ get ruleNames(): string[];
146
+ get serializedATN(): string;
147
+ get channelNames(): string[];
148
+ get modeNames(): string[];
149
+ private static readonly _serializedATNSegments;
150
+ private static readonly _serializedATNSegment0;
151
+ private static readonly _serializedATNSegment1;
152
+ static readonly _serializedATN: string;
153
+ static __ATN: ATN;
154
+ static get _ATN(): ATN;
155
+ }
156
+
157
+ /**
158
+ * This interface defines a complete listener for a parse tree produced by
159
+ * `MaqlParser`.
160
+ */
161
+ interface MaqlParserListener extends ParseTreeListener {
162
+ /**
163
+ * Enter a parse tree produced by the `relationRelop`
164
+ * labeled alternative in `MaqlParser.relation`.
165
+ * @param ctx the parse tree
166
+ */
167
+ enterRelationRelop?: (ctx: RelationRelopContext) => void;
168
+ /**
169
+ * Exit a parse tree produced by the `relationRelop`
170
+ * labeled alternative in `MaqlParser.relation`.
171
+ * @param ctx the parse tree
172
+ */
173
+ exitRelationRelop?: (ctx: RelationRelopContext) => void;
174
+ /**
175
+ * Enter a parse tree produced by the `relationNot`
176
+ * labeled alternative in `MaqlParser.relation`.
177
+ * @param ctx the parse tree
178
+ */
179
+ enterRelationNot?: (ctx: RelationNotContext) => void;
180
+ /**
181
+ * Exit a parse tree produced by the `relationNot`
182
+ * labeled alternative in `MaqlParser.relation`.
183
+ * @param ctx the parse tree
184
+ */
185
+ exitRelationNot?: (ctx: RelationNotContext) => void;
186
+ /**
187
+ * Enter a parse tree produced by the `functionCall`
188
+ * labeled alternative in `MaqlParser.function`.
189
+ * @param ctx the parse tree
190
+ */
191
+ enterFunctionCall?: (ctx: FunctionCallContext) => void;
192
+ /**
193
+ * Exit a parse tree produced by the `functionCall`
194
+ * labeled alternative in `MaqlParser.function`.
195
+ * @param ctx the parse tree
196
+ */
197
+ exitFunctionCall?: (ctx: FunctionCallContext) => void;
198
+ /**
199
+ * Enter a parse tree produced by the `functionCallRun`
200
+ * labeled alternative in `MaqlParser.function`.
201
+ * @param ctx the parse tree
202
+ */
203
+ enterFunctionCallRun?: (ctx: FunctionCallRunContext) => void;
204
+ /**
205
+ * Exit a parse tree produced by the `functionCallRun`
206
+ * labeled alternative in `MaqlParser.function`.
207
+ * @param ctx the parse tree
208
+ */
209
+ exitFunctionCallRun?: (ctx: FunctionCallRunContext) => void;
210
+ /**
211
+ * Enter a parse tree produced by the `functionCallRank`
212
+ * labeled alternative in `MaqlParser.function`.
213
+ * @param ctx the parse tree
214
+ */
215
+ enterFunctionCallRank?: (ctx: FunctionCallRankContext) => void;
216
+ /**
217
+ * Exit a parse tree produced by the `functionCallRank`
218
+ * labeled alternative in `MaqlParser.function`.
219
+ * @param ctx the parse tree
220
+ */
221
+ exitFunctionCallRank?: (ctx: FunctionCallRankContext) => void;
222
+ /**
223
+ * Enter a parse tree produced by the `functionCallLastFirstValue`
224
+ * labeled alternative in `MaqlParser.function`.
225
+ * @param ctx the parse tree
226
+ */
227
+ enterFunctionCallLastFirstValue?: (ctx: FunctionCallLastFirstValueContext) => void;
228
+ /**
229
+ * Exit a parse tree produced by the `functionCallLastFirstValue`
230
+ * labeled alternative in `MaqlParser.function`.
231
+ * @param ctx the parse tree
232
+ */
233
+ exitFunctionCallLastFirstValue?: (ctx: FunctionCallLastFirstValueContext) => void;
234
+ /**
235
+ * Enter a parse tree produced by the `maqlMeasure`
236
+ * labeled alternative in `MaqlParser.maql`.
237
+ * @param ctx the parse tree
238
+ */
239
+ enterMaqlMeasure?: (ctx: MaqlMeasureContext) => void;
240
+ /**
241
+ * Exit a parse tree produced by the `maqlMeasure`
242
+ * labeled alternative in `MaqlParser.maql`.
243
+ * @param ctx the parse tree
244
+ */
245
+ exitMaqlMeasure?: (ctx: MaqlMeasureContext) => void;
246
+ /**
247
+ * Enter a parse tree produced by the `maqlComputedAttribute`
248
+ * labeled alternative in `MaqlParser.maql`.
249
+ * @param ctx the parse tree
250
+ */
251
+ enterMaqlComputedAttribute?: (ctx: MaqlComputedAttributeContext) => void;
252
+ /**
253
+ * Exit a parse tree produced by the `maqlComputedAttribute`
254
+ * labeled alternative in `MaqlParser.maql`.
255
+ * @param ctx the parse tree
256
+ */
257
+ exitMaqlComputedAttribute?: (ctx: MaqlComputedAttributeContext) => void;
258
+ /**
259
+ * Enter a parse tree produced by the `maqlFilter`
260
+ * labeled alternative in `MaqlParser.maql`.
261
+ * @param ctx the parse tree
262
+ */
263
+ enterMaqlFilter?: (ctx: MaqlFilterContext) => void;
264
+ /**
265
+ * Exit a parse tree produced by the `maqlFilter`
266
+ * labeled alternative in `MaqlParser.maql`.
267
+ * @param ctx the parse tree
268
+ */
269
+ exitMaqlFilter?: (ctx: MaqlFilterContext) => void;
270
+ /**
271
+ * Enter a parse tree produced by the `relationBetween`
272
+ * labeled alternative in `MaqlParser.relationNegatable`.
273
+ * @param ctx the parse tree
274
+ */
275
+ enterRelationBetween?: (ctx: RelationBetweenContext) => void;
276
+ /**
277
+ * Exit a parse tree produced by the `relationBetween`
278
+ * labeled alternative in `MaqlParser.relationNegatable`.
279
+ * @param ctx the parse tree
280
+ */
281
+ exitRelationBetween?: (ctx: RelationBetweenContext) => void;
282
+ /**
283
+ * Enter a parse tree produced by the `relationIn`
284
+ * labeled alternative in `MaqlParser.relationNegatable`.
285
+ * @param ctx the parse tree
286
+ */
287
+ enterRelationIn?: (ctx: RelationInContext) => void;
288
+ /**
289
+ * Exit a parse tree produced by the `relationIn`
290
+ * labeled alternative in `MaqlParser.relationNegatable`.
291
+ * @param ctx the parse tree
292
+ */
293
+ exitRelationIn?: (ctx: RelationInContext) => void;
294
+ /**
295
+ * Enter a parse tree produced by the `relationLike`
296
+ * labeled alternative in `MaqlParser.relationNegatable`.
297
+ * @param ctx the parse tree
298
+ */
299
+ enterRelationLike?: (ctx: RelationLikeContext) => void;
300
+ /**
301
+ * Exit a parse tree produced by the `relationLike`
302
+ * labeled alternative in `MaqlParser.relationNegatable`.
303
+ * @param ctx the parse tree
304
+ */
305
+ exitRelationLike?: (ctx: RelationLikeContext) => void;
306
+ /**
307
+ * Enter a parse tree produced by the `rankSpecUnumber`
308
+ * labeled alternative in `MaqlParser.rankSpec`.
309
+ * @param ctx the parse tree
310
+ */
311
+ enterRankSpecUnumber?: (ctx: RankSpecUnumberContext) => void;
312
+ /**
313
+ * Exit a parse tree produced by the `rankSpecUnumber`
314
+ * labeled alternative in `MaqlParser.rankSpec`.
315
+ * @param ctx the parse tree
316
+ */
317
+ exitRankSpecUnumber?: (ctx: RankSpecUnumberContext) => void;
318
+ /**
319
+ * Enter a parse tree produced by the `rankSpecPercentage`
320
+ * labeled alternative in `MaqlParser.rankSpec`.
321
+ * @param ctx the parse tree
322
+ */
323
+ enterRankSpecPercentage?: (ctx: RankSpecPercentageContext) => void;
324
+ /**
325
+ * Exit a parse tree produced by the `rankSpecPercentage`
326
+ * labeled alternative in `MaqlParser.rankSpec`.
327
+ * @param ctx the parse tree
328
+ */
329
+ exitRankSpecPercentage?: (ctx: RankSpecPercentageContext) => void;
330
+ /**
331
+ * Enter a parse tree produced by the `withPf`
332
+ * labeled alternative in `MaqlParser.withWithoutPf`.
333
+ * @param ctx the parse tree
334
+ */
335
+ enterWithPf?: (ctx: WithPfContext) => void;
336
+ /**
337
+ * Exit a parse tree produced by the `withPf`
338
+ * labeled alternative in `MaqlParser.withWithoutPf`.
339
+ * @param ctx the parse tree
340
+ */
341
+ exitWithPf?: (ctx: WithPfContext) => void;
342
+ /**
343
+ * Enter a parse tree produced by the `withoutPf`
344
+ * labeled alternative in `MaqlParser.withWithoutPf`.
345
+ * @param ctx the parse tree
346
+ */
347
+ enterWithoutPf?: (ctx: WithoutPfContext) => void;
348
+ /**
349
+ * Exit a parse tree produced by the `withoutPf`
350
+ * labeled alternative in `MaqlParser.withWithoutPf`.
351
+ * @param ctx the parse tree
352
+ */
353
+ exitWithoutPf?: (ctx: WithoutPfContext) => void;
354
+ /**
355
+ * Enter a parse tree produced by the `dimensionObject`
356
+ * labeled alternative in `MaqlParser.dimension`.
357
+ * @param ctx the parse tree
358
+ */
359
+ enterDimensionObject?: (ctx: DimensionObjectContext) => void;
360
+ /**
361
+ * Exit a parse tree produced by the `dimensionObject`
362
+ * labeled alternative in `MaqlParser.dimension`.
363
+ * @param ctx the parse tree
364
+ */
365
+ exitDimensionObject?: (ctx: DimensionObjectContext) => void;
366
+ /**
367
+ * Enter a parse tree produced by the `dimensionAll`
368
+ * labeled alternative in `MaqlParser.dimension`.
369
+ * @param ctx the parse tree
370
+ */
371
+ enterDimensionAll?: (ctx: DimensionAllContext) => void;
372
+ /**
373
+ * Exit a parse tree produced by the `dimensionAll`
374
+ * labeled alternative in `MaqlParser.dimension`.
375
+ * @param ctx the parse tree
376
+ */
377
+ exitDimensionAll?: (ctx: DimensionAllContext) => void;
378
+ /**
379
+ * Enter a parse tree produced by the `uIntegerZero`
380
+ * labeled alternative in `MaqlParser.uInteger`.
381
+ * @param ctx the parse tree
382
+ */
383
+ enterUIntegerZero?: (ctx: UIntegerZeroContext) => void;
384
+ /**
385
+ * Exit a parse tree produced by the `uIntegerZero`
386
+ * labeled alternative in `MaqlParser.uInteger`.
387
+ * @param ctx the parse tree
388
+ */
389
+ exitUIntegerZero?: (ctx: UIntegerZeroContext) => void;
390
+ /**
391
+ * Enter a parse tree produced by the `uIntegerPos`
392
+ * labeled alternative in `MaqlParser.uInteger`.
393
+ * @param ctx the parse tree
394
+ */
395
+ enterUIntegerPos?: (ctx: UIntegerPosContext) => void;
396
+ /**
397
+ * Exit a parse tree produced by the `uIntegerPos`
398
+ * labeled alternative in `MaqlParser.uInteger`.
399
+ * @param ctx the parse tree
400
+ */
401
+ exitUIntegerPos?: (ctx: UIntegerPosContext) => void;
402
+ /**
403
+ * Enter a parse tree produced by the `windowUnbounded`
404
+ * labeled alternative in `MaqlParser.windowBound`.
405
+ * @param ctx the parse tree
406
+ */
407
+ enterWindowUnbounded?: (ctx: WindowUnboundedContext) => void;
408
+ /**
409
+ * Exit a parse tree produced by the `windowUnbounded`
410
+ * labeled alternative in `MaqlParser.windowBound`.
411
+ * @param ctx the parse tree
412
+ */
413
+ exitWindowUnbounded?: (ctx: WindowUnboundedContext) => void;
414
+ /**
415
+ * Enter a parse tree produced by the `windowBounded`
416
+ * labeled alternative in `MaqlParser.windowBound`.
417
+ * @param ctx the parse tree
418
+ */
419
+ enterWindowBounded?: (ctx: WindowBoundedContext) => void;
420
+ /**
421
+ * Exit a parse tree produced by the `windowBounded`
422
+ * labeled alternative in `MaqlParser.windowBound`.
423
+ * @param ctx the parse tree
424
+ */
425
+ exitWindowBounded?: (ctx: WindowBoundedContext) => void;
426
+ /**
427
+ * Enter a parse tree produced by the `currentRow`
428
+ * labeled alternative in `MaqlParser.windowBound`.
429
+ * @param ctx the parse tree
430
+ */
431
+ enterCurrentRow?: (ctx: CurrentRowContext) => void;
432
+ /**
433
+ * Exit a parse tree produced by the `currentRow`
434
+ * labeled alternative in `MaqlParser.windowBound`.
435
+ * @param ctx the parse tree
436
+ */
437
+ exitCurrentRow?: (ctx: CurrentRowContext) => void;
438
+ /**
439
+ * Enter a parse tree produced by the `rankingFilterIn`
440
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
441
+ * @param ctx the parse tree
442
+ */
443
+ enterRankingFilterIn?: (ctx: RankingFilterInContext) => void;
444
+ /**
445
+ * Exit a parse tree produced by the `rankingFilterIn`
446
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
447
+ * @param ctx the parse tree
448
+ */
449
+ exitRankingFilterIn?: (ctx: RankingFilterInContext) => void;
450
+ /**
451
+ * Enter a parse tree produced by the `rankingFilterOf`
452
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
453
+ * @param ctx the parse tree
454
+ */
455
+ enterRankingFilterOf?: (ctx: RankingFilterOfContext) => void;
456
+ /**
457
+ * Exit a parse tree produced by the `rankingFilterOf`
458
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
459
+ * @param ctx the parse tree
460
+ */
461
+ exitRankingFilterOf?: (ctx: RankingFilterOfContext) => void;
462
+ /**
463
+ * Enter a parse tree produced by the `dimensionsDimensionList`
464
+ * labeled alternative in `MaqlParser.dimensions`.
465
+ * @param ctx the parse tree
466
+ */
467
+ enterDimensionsDimensionList?: (ctx: DimensionsDimensionListContext) => void;
468
+ /**
469
+ * Exit a parse tree produced by the `dimensionsDimensionList`
470
+ * labeled alternative in `MaqlParser.dimensions`.
471
+ * @param ctx the parse tree
472
+ */
473
+ exitDimensionsDimensionList?: (ctx: DimensionsDimensionListContext) => void;
474
+ /**
475
+ * Enter a parse tree produced by the `dimensionsAllOther`
476
+ * labeled alternative in `MaqlParser.dimensions`.
477
+ * @param ctx the parse tree
478
+ */
479
+ enterDimensionsAllOther?: (ctx: DimensionsAllOtherContext) => void;
480
+ /**
481
+ * Exit a parse tree produced by the `dimensionsAllOther`
482
+ * labeled alternative in `MaqlParser.dimensions`.
483
+ * @param ctx the parse tree
484
+ */
485
+ exitDimensionsAllOther?: (ctx: DimensionsAllOtherContext) => void;
486
+ /**
487
+ * Enter a parse tree produced by `MaqlParser.maql`.
488
+ * @param ctx the parse tree
489
+ */
490
+ enterMaql?: (ctx: MaqlContext) => void;
491
+ /**
492
+ * Exit a parse tree produced by `MaqlParser.maql`.
493
+ * @param ctx the parse tree
494
+ */
495
+ exitMaql?: (ctx: MaqlContext) => void;
496
+ /**
497
+ * Enter a parse tree produced by `MaqlParser.maqlExpression`.
498
+ * @param ctx the parse tree
499
+ */
500
+ enterMaqlExpression?: (ctx: MaqlExpressionContext) => void;
501
+ /**
502
+ * Exit a parse tree produced by `MaqlParser.maqlExpression`.
503
+ * @param ctx the parse tree
504
+ */
505
+ exitMaqlExpression?: (ctx: MaqlExpressionContext) => void;
506
+ /**
507
+ * Enter a parse tree produced by `MaqlParser.selectExpression`.
508
+ * @param ctx the parse tree
509
+ */
510
+ enterSelectExpression?: (ctx: SelectExpressionContext) => void;
511
+ /**
512
+ * Exit a parse tree produced by `MaqlParser.selectExpression`.
513
+ * @param ctx the parse tree
514
+ */
515
+ exitSelectExpression?: (ctx: SelectExpressionContext) => void;
516
+ /**
517
+ * Enter a parse tree produced by `MaqlParser.expression`.
518
+ * @param ctx the parse tree
519
+ */
520
+ enterExpression?: (ctx: ExpressionContext) => void;
521
+ /**
522
+ * Exit a parse tree produced by `MaqlParser.expression`.
523
+ * @param ctx the parse tree
524
+ */
525
+ exitExpression?: (ctx: ExpressionContext) => void;
526
+ /**
527
+ * Enter a parse tree produced by `MaqlParser.disjunction`.
528
+ * @param ctx the parse tree
529
+ */
530
+ enterDisjunction?: (ctx: DisjunctionContext) => void;
531
+ /**
532
+ * Exit a parse tree produced by `MaqlParser.disjunction`.
533
+ * @param ctx the parse tree
534
+ */
535
+ exitDisjunction?: (ctx: DisjunctionContext) => void;
536
+ /**
537
+ * Enter a parse tree produced by `MaqlParser.conjunction`.
538
+ * @param ctx the parse tree
539
+ */
540
+ enterConjunction?: (ctx: ConjunctionContext) => void;
541
+ /**
542
+ * Exit a parse tree produced by `MaqlParser.conjunction`.
543
+ * @param ctx the parse tree
544
+ */
545
+ exitConjunction?: (ctx: ConjunctionContext) => void;
546
+ /**
547
+ * Enter a parse tree produced by `MaqlParser.negation`.
548
+ * @param ctx the parse tree
549
+ */
550
+ enterNegation?: (ctx: NegationContext) => void;
551
+ /**
552
+ * Exit a parse tree produced by `MaqlParser.negation`.
553
+ * @param ctx the parse tree
554
+ */
555
+ exitNegation?: (ctx: NegationContext) => void;
556
+ /**
557
+ * Enter a parse tree produced by `MaqlParser.comparison`.
558
+ * @param ctx the parse tree
559
+ */
560
+ enterComparison?: (ctx: ComparisonContext) => void;
561
+ /**
562
+ * Exit a parse tree produced by `MaqlParser.comparison`.
563
+ * @param ctx the parse tree
564
+ */
565
+ exitComparison?: (ctx: ComparisonContext) => void;
566
+ /**
567
+ * Enter a parse tree produced by `MaqlParser.relation`.
568
+ * @param ctx the parse tree
569
+ */
570
+ enterRelation?: (ctx: RelationContext) => void;
571
+ /**
572
+ * Exit a parse tree produced by `MaqlParser.relation`.
573
+ * @param ctx the parse tree
574
+ */
575
+ exitRelation?: (ctx: RelationContext) => void;
576
+ /**
577
+ * Enter a parse tree produced by `MaqlParser.relationNegatable`.
578
+ * @param ctx the parse tree
579
+ */
580
+ enterRelationNegatable?: (ctx: RelationNegatableContext) => void;
581
+ /**
582
+ * Exit a parse tree produced by `MaqlParser.relationNegatable`.
583
+ * @param ctx the parse tree
584
+ */
585
+ exitRelationNegatable?: (ctx: RelationNegatableContext) => void;
586
+ /**
587
+ * Enter a parse tree produced by `MaqlParser.like`.
588
+ * @param ctx the parse tree
589
+ */
590
+ enterLike?: (ctx: LikeContext) => void;
591
+ /**
592
+ * Exit a parse tree produced by `MaqlParser.like`.
593
+ * @param ctx the parse tree
594
+ */
595
+ exitLike?: (ctx: LikeContext) => void;
596
+ /**
597
+ * Enter a parse tree produced by `MaqlParser.addition`.
598
+ * @param ctx the parse tree
599
+ */
600
+ enterAddition?: (ctx: AdditionContext) => void;
601
+ /**
602
+ * Exit a parse tree produced by `MaqlParser.addition`.
603
+ * @param ctx the parse tree
604
+ */
605
+ exitAddition?: (ctx: AdditionContext) => void;
606
+ /**
607
+ * Enter a parse tree produced by `MaqlParser.additiveOperator`.
608
+ * @param ctx the parse tree
609
+ */
610
+ enterAdditiveOperator?: (ctx: AdditiveOperatorContext) => void;
611
+ /**
612
+ * Exit a parse tree produced by `MaqlParser.additiveOperator`.
613
+ * @param ctx the parse tree
614
+ */
615
+ exitAdditiveOperator?: (ctx: AdditiveOperatorContext) => void;
616
+ /**
617
+ * Enter a parse tree produced by `MaqlParser.multiplication`.
618
+ * @param ctx the parse tree
619
+ */
620
+ enterMultiplication?: (ctx: MultiplicationContext) => void;
621
+ /**
622
+ * Exit a parse tree produced by `MaqlParser.multiplication`.
623
+ * @param ctx the parse tree
624
+ */
625
+ exitMultiplication?: (ctx: MultiplicationContext) => void;
626
+ /**
627
+ * Enter a parse tree produced by `MaqlParser.multiplicativeOperator`.
628
+ * @param ctx the parse tree
629
+ */
630
+ enterMultiplicativeOperator?: (ctx: MultiplicativeOperatorContext) => void;
631
+ /**
632
+ * Exit a parse tree produced by `MaqlParser.multiplicativeOperator`.
633
+ * @param ctx the parse tree
634
+ */
635
+ exitMultiplicativeOperator?: (ctx: MultiplicativeOperatorContext) => void;
636
+ /**
637
+ * Enter a parse tree produced by `MaqlParser.prefixUnaryExpression`.
638
+ * @param ctx the parse tree
639
+ */
640
+ enterPrefixUnaryExpression?: (ctx: PrefixUnaryExpressionContext) => void;
641
+ /**
642
+ * Exit a parse tree produced by `MaqlParser.prefixUnaryExpression`.
643
+ * @param ctx the parse tree
644
+ */
645
+ exitPrefixUnaryExpression?: (ctx: PrefixUnaryExpressionContext) => void;
646
+ /**
647
+ * Enter a parse tree produced by `MaqlParser.prefixUnaryOperator`.
648
+ * @param ctx the parse tree
649
+ */
650
+ enterPrefixUnaryOperator?: (ctx: PrefixUnaryOperatorContext) => void;
651
+ /**
652
+ * Exit a parse tree produced by `MaqlParser.prefixUnaryOperator`.
653
+ * @param ctx the parse tree
654
+ */
655
+ exitPrefixUnaryOperator?: (ctx: PrefixUnaryOperatorContext) => void;
656
+ /**
657
+ * Enter a parse tree produced by `MaqlParser.primaryExpression`.
658
+ * @param ctx the parse tree
659
+ */
660
+ enterPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
661
+ /**
662
+ * Exit a parse tree produced by `MaqlParser.primaryExpression`.
663
+ * @param ctx the parse tree
664
+ */
665
+ exitPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
666
+ /**
667
+ * Enter a parse tree produced by `MaqlParser.trueLiteral`.
668
+ * @param ctx the parse tree
669
+ */
670
+ enterTrueLiteral?: (ctx: TrueLiteralContext) => void;
671
+ /**
672
+ * Exit a parse tree produced by `MaqlParser.trueLiteral`.
673
+ * @param ctx the parse tree
674
+ */
675
+ exitTrueLiteral?: (ctx: TrueLiteralContext) => void;
676
+ /**
677
+ * Enter a parse tree produced by `MaqlParser.falseLiteral`.
678
+ * @param ctx the parse tree
679
+ */
680
+ enterFalseLiteral?: (ctx: FalseLiteralContext) => void;
681
+ /**
682
+ * Exit a parse tree produced by `MaqlParser.falseLiteral`.
683
+ * @param ctx the parse tree
684
+ */
685
+ exitFalseLiteral?: (ctx: FalseLiteralContext) => void;
686
+ /**
687
+ * Enter a parse tree produced by `MaqlParser.parenthesizedExpression`.
688
+ * @param ctx the parse tree
689
+ */
690
+ enterParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
691
+ /**
692
+ * Exit a parse tree produced by `MaqlParser.parenthesizedExpression`.
693
+ * @param ctx the parse tree
694
+ */
695
+ exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
696
+ /**
697
+ * Enter a parse tree produced by `MaqlParser.overTo`.
698
+ * @param ctx the parse tree
699
+ */
700
+ enterOverTo?: (ctx: OverToContext) => void;
701
+ /**
702
+ * Exit a parse tree produced by `MaqlParser.overTo`.
703
+ * @param ctx the parse tree
704
+ */
705
+ exitOverTo?: (ctx: OverToContext) => void;
706
+ /**
707
+ * Enter a parse tree produced by `MaqlParser.case`.
708
+ * @param ctx the parse tree
709
+ */
710
+ enterCase?: (ctx: CaseContext) => void;
711
+ /**
712
+ * Exit a parse tree produced by `MaqlParser.case`.
713
+ * @param ctx the parse tree
714
+ */
715
+ exitCase?: (ctx: CaseContext) => void;
716
+ /**
717
+ * Enter a parse tree produced by `MaqlParser.if`.
718
+ * @param ctx the parse tree
719
+ */
720
+ enterIf?: (ctx: IfContext) => void;
721
+ /**
722
+ * Exit a parse tree produced by `MaqlParser.if`.
723
+ * @param ctx the parse tree
724
+ */
725
+ exitIf?: (ctx: IfContext) => void;
726
+ /**
727
+ * Enter a parse tree produced by `MaqlParser.caseConditional`.
728
+ * @param ctx the parse tree
729
+ */
730
+ enterCaseConditional?: (ctx: CaseConditionalContext) => void;
731
+ /**
732
+ * Exit a parse tree produced by `MaqlParser.caseConditional`.
733
+ * @param ctx the parse tree
734
+ */
735
+ exitCaseConditional?: (ctx: CaseConditionalContext) => void;
736
+ /**
737
+ * Enter a parse tree produced by `MaqlParser.conditional`.
738
+ * @param ctx the parse tree
739
+ */
740
+ enterConditional?: (ctx: ConditionalContext) => void;
741
+ /**
742
+ * Exit a parse tree produced by `MaqlParser.conditional`.
743
+ * @param ctx the parse tree
744
+ */
745
+ exitConditional?: (ctx: ConditionalContext) => void;
746
+ /**
747
+ * Enter a parse tree produced by `MaqlParser.reportMetric`.
748
+ * @param ctx the parse tree
749
+ */
750
+ enterReportMetric?: (ctx: ReportMetricContext) => void;
751
+ /**
752
+ * Exit a parse tree produced by `MaqlParser.reportMetric`.
753
+ * @param ctx the parse tree
754
+ */
755
+ exitReportMetric?: (ctx: ReportMetricContext) => void;
756
+ /**
757
+ * Enter a parse tree produced by `MaqlParser.timeMacro`.
758
+ * @param ctx the parse tree
759
+ */
760
+ enterTimeMacro?: (ctx: TimeMacroContext) => void;
761
+ /**
762
+ * Exit a parse tree produced by `MaqlParser.timeMacro`.
763
+ * @param ctx the parse tree
764
+ */
765
+ exitTimeMacro?: (ctx: TimeMacroContext) => void;
766
+ /**
767
+ * Enter a parse tree produced by `MaqlParser.timeMacroName`.
768
+ * @param ctx the parse tree
769
+ */
770
+ enterTimeMacroName?: (ctx: TimeMacroNameContext) => void;
771
+ /**
772
+ * Exit a parse tree produced by `MaqlParser.timeMacroName`.
773
+ * @param ctx the parse tree
774
+ */
775
+ exitTimeMacroName?: (ctx: TimeMacroNameContext) => void;
776
+ /**
777
+ * Enter a parse tree produced by `MaqlParser.function`.
778
+ * @param ctx the parse tree
779
+ */
780
+ enterFunction?: (ctx: FunctionContext) => void;
781
+ /**
782
+ * Exit a parse tree produced by `MaqlParser.function`.
783
+ * @param ctx the parse tree
784
+ */
785
+ exitFunction?: (ctx: FunctionContext) => void;
786
+ /**
787
+ * Enter a parse tree produced by `MaqlParser.expressionList`.
788
+ * @param ctx the parse tree
789
+ */
790
+ enterExpressionList?: (ctx: ExpressionListContext) => void;
791
+ /**
792
+ * Exit a parse tree produced by `MaqlParser.expressionList`.
793
+ * @param ctx the parse tree
794
+ */
795
+ exitExpressionList?: (ctx: ExpressionListContext) => void;
796
+ /**
797
+ * Enter a parse tree produced by `MaqlParser.runningFunctionName`.
798
+ * @param ctx the parse tree
799
+ */
800
+ enterRunningFunctionName?: (ctx: RunningFunctionNameContext) => void;
801
+ /**
802
+ * Exit a parse tree produced by `MaqlParser.runningFunctionName`.
803
+ * @param ctx the parse tree
804
+ */
805
+ exitRunningFunctionName?: (ctx: RunningFunctionNameContext) => void;
806
+ /**
807
+ * Enter a parse tree produced by `MaqlParser.rankFunctionName`.
808
+ * @param ctx the parse tree
809
+ */
810
+ enterRankFunctionName?: (ctx: RankFunctionNameContext) => void;
811
+ /**
812
+ * Exit a parse tree produced by `MaqlParser.rankFunctionName`.
813
+ * @param ctx the parse tree
814
+ */
815
+ exitRankFunctionName?: (ctx: RankFunctionNameContext) => void;
816
+ /**
817
+ * Enter a parse tree produced by `MaqlParser.lastfirstvalFunctionName`.
818
+ * @param ctx the parse tree
819
+ */
820
+ enterLastfirstvalFunctionName?: (ctx: LastfirstvalFunctionNameContext) => void;
821
+ /**
822
+ * Exit a parse tree produced by `MaqlParser.lastfirstvalFunctionName`.
823
+ * @param ctx the parse tree
824
+ */
825
+ exitLastfirstvalFunctionName?: (ctx: LastfirstvalFunctionNameContext) => void;
826
+ /**
827
+ * Enter a parse tree produced by `MaqlParser.rollWindow`.
828
+ * @param ctx the parse tree
829
+ */
830
+ enterRollWindow?: (ctx: RollWindowContext) => void;
831
+ /**
832
+ * Exit a parse tree produced by `MaqlParser.rollWindow`.
833
+ * @param ctx the parse tree
834
+ */
835
+ exitRollWindow?: (ctx: RollWindowContext) => void;
836
+ /**
837
+ * Enter a parse tree produced by `MaqlParser.windowBound`.
838
+ * @param ctx the parse tree
839
+ */
840
+ enterWindowBound?: (ctx: WindowBoundContext) => void;
841
+ /**
842
+ * Exit a parse tree produced by `MaqlParser.windowBound`.
843
+ * @param ctx the parse tree
844
+ */
845
+ exitWindowBound?: (ctx: WindowBoundContext) => void;
846
+ /**
847
+ * Enter a parse tree produced by `MaqlParser.windowDir`.
848
+ * @param ctx the parse tree
849
+ */
850
+ enterWindowDir?: (ctx: WindowDirContext) => void;
851
+ /**
852
+ * Exit a parse tree produced by `MaqlParser.windowDir`.
853
+ * @param ctx the parse tree
854
+ */
855
+ exitWindowDir?: (ctx: WindowDirContext) => void;
856
+ /**
857
+ * Enter a parse tree produced by `MaqlParser.rankDir`.
858
+ * @param ctx the parse tree
859
+ */
860
+ enterRankDir?: (ctx: RankDirContext) => void;
861
+ /**
862
+ * Exit a parse tree produced by `MaqlParser.rankDir`.
863
+ * @param ctx the parse tree
864
+ */
865
+ exitRankDir?: (ctx: RankDirContext) => void;
866
+ /**
867
+ * Enter a parse tree produced by `MaqlParser.within`.
868
+ * @param ctx the parse tree
869
+ */
870
+ enterWithin?: (ctx: WithinContext) => void;
871
+ /**
872
+ * Exit a parse tree produced by `MaqlParser.within`.
873
+ * @param ctx the parse tree
874
+ */
875
+ exitWithin?: (ctx: WithinContext) => void;
876
+ /**
877
+ * Enter a parse tree produced by `MaqlParser.withinDimensions`.
878
+ * @param ctx the parse tree
879
+ */
880
+ enterWithinDimensions?: (ctx: WithinDimensionsContext) => void;
881
+ /**
882
+ * Exit a parse tree produced by `MaqlParser.withinDimensions`.
883
+ * @param ctx the parse tree
884
+ */
885
+ exitWithinDimensions?: (ctx: WithinDimensionsContext) => void;
886
+ /**
887
+ * Enter a parse tree produced by `MaqlParser.orderby`.
888
+ * @param ctx the parse tree
889
+ */
890
+ enterOrderby?: (ctx: OrderbyContext) => void;
891
+ /**
892
+ * Exit a parse tree produced by `MaqlParser.orderby`.
893
+ * @param ctx the parse tree
894
+ */
895
+ exitOrderby?: (ctx: OrderbyContext) => void;
896
+ /**
897
+ * Enter a parse tree produced by `MaqlParser.orderList`.
898
+ * @param ctx the parse tree
899
+ */
900
+ enterOrderList?: (ctx: OrderListContext) => void;
901
+ /**
902
+ * Exit a parse tree produced by `MaqlParser.orderList`.
903
+ * @param ctx the parse tree
904
+ */
905
+ exitOrderList?: (ctx: OrderListContext) => void;
906
+ /**
907
+ * Enter a parse tree produced by `MaqlParser.orderedElement`.
908
+ * @param ctx the parse tree
909
+ */
910
+ enterOrderedElement?: (ctx: OrderedElementContext) => void;
911
+ /**
912
+ * Exit a parse tree produced by `MaqlParser.orderedElement`.
913
+ * @param ctx the parse tree
914
+ */
915
+ exitOrderedElement?: (ctx: OrderedElementContext) => void;
916
+ /**
917
+ * Enter a parse tree produced by `MaqlParser.by`.
918
+ * @param ctx the parse tree
919
+ */
920
+ enterBy?: (ctx: ByContext) => void;
921
+ /**
922
+ * Exit a parse tree produced by `MaqlParser.by`.
923
+ * @param ctx the parse tree
924
+ */
925
+ exitBy?: (ctx: ByContext) => void;
926
+ /**
927
+ * Enter a parse tree produced by `MaqlParser.dimensions`.
928
+ * @param ctx the parse tree
929
+ */
930
+ enterDimensions?: (ctx: DimensionsContext) => void;
931
+ /**
932
+ * Exit a parse tree produced by `MaqlParser.dimensions`.
933
+ * @param ctx the parse tree
934
+ */
935
+ exitDimensions?: (ctx: DimensionsContext) => void;
936
+ /**
937
+ * Enter a parse tree produced by `MaqlParser.dimensionList`.
938
+ * @param ctx the parse tree
939
+ */
940
+ enterDimensionList?: (ctx: DimensionListContext) => void;
941
+ /**
942
+ * Exit a parse tree produced by `MaqlParser.dimensionList`.
943
+ * @param ctx the parse tree
944
+ */
945
+ exitDimensionList?: (ctx: DimensionListContext) => void;
946
+ /**
947
+ * Enter a parse tree produced by `MaqlParser.dimension`.
948
+ * @param ctx the parse tree
949
+ */
950
+ enterDimension?: (ctx: DimensionContext) => void;
951
+ /**
952
+ * Exit a parse tree produced by `MaqlParser.dimension`.
953
+ * @param ctx the parse tree
954
+ */
955
+ exitDimension?: (ctx: DimensionContext) => void;
956
+ /**
957
+ * Enter a parse tree produced by `MaqlParser.allOther`.
958
+ * @param ctx the parse tree
959
+ */
960
+ enterAllOther?: (ctx: AllOtherContext) => void;
961
+ /**
962
+ * Exit a parse tree produced by `MaqlParser.allOther`.
963
+ * @param ctx the parse tree
964
+ */
965
+ exitAllOther?: (ctx: AllOtherContext) => void;
966
+ /**
967
+ * Enter a parse tree produced by `MaqlParser.forTransformation`.
968
+ * @param ctx the parse tree
969
+ */
970
+ enterForTransformation?: (ctx: ForTransformationContext) => void;
971
+ /**
972
+ * Exit a parse tree produced by `MaqlParser.forTransformation`.
973
+ * @param ctx the parse tree
974
+ */
975
+ exitForTransformation?: (ctx: ForTransformationContext) => void;
976
+ /**
977
+ * Enter a parse tree produced by `MaqlParser.transFunction`.
978
+ * @param ctx the parse tree
979
+ */
980
+ enterTransFunction?: (ctx: TransFunctionContext) => void;
981
+ /**
982
+ * Exit a parse tree produced by `MaqlParser.transFunction`.
983
+ * @param ctx the parse tree
984
+ */
985
+ exitTransFunction?: (ctx: TransFunctionContext) => void;
986
+ /**
987
+ * Enter a parse tree produced by `MaqlParser.whereHaving`.
988
+ * @param ctx the parse tree
989
+ */
990
+ enterWhereHaving?: (ctx: WhereHavingContext) => void;
991
+ /**
992
+ * Exit a parse tree produced by `MaqlParser.whereHaving`.
993
+ * @param ctx the parse tree
994
+ */
995
+ exitWhereHaving?: (ctx: WhereHavingContext) => void;
996
+ /**
997
+ * Enter a parse tree produced by `MaqlParser.where`.
998
+ * @param ctx the parse tree
999
+ */
1000
+ enterWhere?: (ctx: WhereContext) => void;
1001
+ /**
1002
+ * Exit a parse tree produced by `MaqlParser.where`.
1003
+ * @param ctx the parse tree
1004
+ */
1005
+ exitWhere?: (ctx: WhereContext) => void;
1006
+ /**
1007
+ * Enter a parse tree produced by `MaqlParser.forEach`.
1008
+ * @param ctx the parse tree
1009
+ */
1010
+ enterForEach?: (ctx: ForEachContext) => void;
1011
+ /**
1012
+ * Exit a parse tree produced by `MaqlParser.forEach`.
1013
+ * @param ctx the parse tree
1014
+ */
1015
+ exitForEach?: (ctx: ForEachContext) => void;
1016
+ /**
1017
+ * Enter a parse tree produced by `MaqlParser.having`.
1018
+ * @param ctx the parse tree
1019
+ */
1020
+ enterHaving?: (ctx: HavingContext) => void;
1021
+ /**
1022
+ * Exit a parse tree produced by `MaqlParser.having`.
1023
+ * @param ctx the parse tree
1024
+ */
1025
+ exitHaving?: (ctx: HavingContext) => void;
1026
+ /**
1027
+ * Enter a parse tree produced by `MaqlParser.using`.
1028
+ * @param ctx the parse tree
1029
+ */
1030
+ enterUsing?: (ctx: UsingContext) => void;
1031
+ /**
1032
+ * Exit a parse tree produced by `MaqlParser.using`.
1033
+ * @param ctx the parse tree
1034
+ */
1035
+ exitUsing?: (ctx: UsingContext) => void;
1036
+ /**
1037
+ * Enter a parse tree produced by `MaqlParser.withWithoutPf`.
1038
+ * @param ctx the parse tree
1039
+ */
1040
+ enterWithWithoutPf?: (ctx: WithWithoutPfContext) => void;
1041
+ /**
1042
+ * Exit a parse tree produced by `MaqlParser.withWithoutPf`.
1043
+ * @param ctx the parse tree
1044
+ */
1045
+ exitWithWithoutPf?: (ctx: WithWithoutPfContext) => void;
1046
+ /**
1047
+ * Enter a parse tree produced by `MaqlParser.rankingFilter`.
1048
+ * @param ctx the parse tree
1049
+ */
1050
+ enterRankingFilter?: (ctx: RankingFilterContext) => void;
1051
+ /**
1052
+ * Exit a parse tree produced by `MaqlParser.rankingFilter`.
1053
+ * @param ctx the parse tree
1054
+ */
1055
+ exitRankingFilter?: (ctx: RankingFilterContext) => void;
1056
+ /**
1057
+ * Enter a parse tree produced by `MaqlParser.topBottom`.
1058
+ * @param ctx the parse tree
1059
+ */
1060
+ enterTopBottom?: (ctx: TopBottomContext) => void;
1061
+ /**
1062
+ * Exit a parse tree produced by `MaqlParser.topBottom`.
1063
+ * @param ctx the parse tree
1064
+ */
1065
+ exitTopBottom?: (ctx: TopBottomContext) => void;
1066
+ /**
1067
+ * Enter a parse tree produced by `MaqlParser.rankSpec`.
1068
+ * @param ctx the parse tree
1069
+ */
1070
+ enterRankSpec?: (ctx: RankSpecContext) => void;
1071
+ /**
1072
+ * Exit a parse tree produced by `MaqlParser.rankSpec`.
1073
+ * @param ctx the parse tree
1074
+ */
1075
+ exitRankSpec?: (ctx: RankSpecContext) => void;
1076
+ /**
1077
+ * Enter a parse tree produced by `MaqlParser.rankingFilterInOf`.
1078
+ * @param ctx the parse tree
1079
+ */
1080
+ enterRankingFilterInOf?: (ctx: RankingFilterInOfContext) => void;
1081
+ /**
1082
+ * Exit a parse tree produced by `MaqlParser.rankingFilterInOf`.
1083
+ * @param ctx the parse tree
1084
+ */
1085
+ exitRankingFilterInOf?: (ctx: RankingFilterInOfContext) => void;
1086
+ /**
1087
+ * Enter a parse tree produced by `MaqlParser.attributeType`.
1088
+ * @param ctx the parse tree
1089
+ */
1090
+ enterAttributeType?: (ctx: AttributeTypeContext) => void;
1091
+ /**
1092
+ * Exit a parse tree produced by `MaqlParser.attributeType`.
1093
+ * @param ctx the parse tree
1094
+ */
1095
+ exitAttributeType?: (ctx: AttributeTypeContext) => void;
1096
+ /**
1097
+ * Enter a parse tree produced by `MaqlParser.attribute`.
1098
+ * @param ctx the parse tree
1099
+ */
1100
+ enterAttribute?: (ctx: AttributeContext) => void;
1101
+ /**
1102
+ * Exit a parse tree produced by `MaqlParser.attribute`.
1103
+ * @param ctx the parse tree
1104
+ */
1105
+ exitAttribute?: (ctx: AttributeContext) => void;
1106
+ /**
1107
+ * Enter a parse tree produced by `MaqlParser.fact`.
1108
+ * @param ctx the parse tree
1109
+ */
1110
+ enterFact?: (ctx: FactContext) => void;
1111
+ /**
1112
+ * Exit a parse tree produced by `MaqlParser.fact`.
1113
+ * @param ctx the parse tree
1114
+ */
1115
+ exitFact?: (ctx: FactContext) => void;
1116
+ /**
1117
+ * Enter a parse tree produced by `MaqlParser.attributeList`.
1118
+ * @param ctx the parse tree
1119
+ */
1120
+ enterAttributeList?: (ctx: AttributeListContext) => void;
1121
+ /**
1122
+ * Exit a parse tree produced by `MaqlParser.attributeList`.
1123
+ * @param ctx the parse tree
1124
+ */
1125
+ exitAttributeList?: (ctx: AttributeListContext) => void;
1126
+ /**
1127
+ * Enter a parse tree produced by `MaqlParser.numericType`.
1128
+ * @param ctx the parse tree
1129
+ */
1130
+ enterNumericType?: (ctx: NumericTypeContext) => void;
1131
+ /**
1132
+ * Exit a parse tree produced by `MaqlParser.numericType`.
1133
+ * @param ctx the parse tree
1134
+ */
1135
+ exitNumericType?: (ctx: NumericTypeContext) => void;
1136
+ /**
1137
+ * Enter a parse tree produced by `MaqlParser.numeric`.
1138
+ * @param ctx the parse tree
1139
+ */
1140
+ enterNumeric?: (ctx: NumericContext) => void;
1141
+ /**
1142
+ * Exit a parse tree produced by `MaqlParser.numeric`.
1143
+ * @param ctx the parse tree
1144
+ */
1145
+ exitNumeric?: (ctx: NumericContext) => void;
1146
+ /**
1147
+ * Enter a parse tree produced by `MaqlParser.prompt`.
1148
+ * @param ctx the parse tree
1149
+ */
1150
+ enterPrompt?: (ctx: PromptContext) => void;
1151
+ /**
1152
+ * Exit a parse tree produced by `MaqlParser.prompt`.
1153
+ * @param ctx the parse tree
1154
+ */
1155
+ exitPrompt?: (ctx: PromptContext) => void;
1156
+ /**
1157
+ * Enter a parse tree produced by `MaqlParser.literal`.
1158
+ * @param ctx the parse tree
1159
+ */
1160
+ enterLiteral?: (ctx: LiteralContext) => void;
1161
+ /**
1162
+ * Exit a parse tree produced by `MaqlParser.literal`.
1163
+ * @param ctx the parse tree
1164
+ */
1165
+ exitLiteral?: (ctx: LiteralContext) => void;
1166
+ /**
1167
+ * Enter a parse tree produced by `MaqlParser.number`.
1168
+ * @param ctx the parse tree
1169
+ */
1170
+ enterNumber?: (ctx: NumberContext) => void;
1171
+ /**
1172
+ * Exit a parse tree produced by `MaqlParser.number`.
1173
+ * @param ctx the parse tree
1174
+ */
1175
+ exitNumber?: (ctx: NumberContext) => void;
1176
+ /**
1177
+ * Enter a parse tree produced by `MaqlParser.uNumber`.
1178
+ * @param ctx the parse tree
1179
+ */
1180
+ enterUNumber?: (ctx: UNumberContext) => void;
1181
+ /**
1182
+ * Exit a parse tree produced by `MaqlParser.uNumber`.
1183
+ * @param ctx the parse tree
1184
+ */
1185
+ exitUNumber?: (ctx: UNumberContext) => void;
1186
+ /**
1187
+ * Enter a parse tree produced by `MaqlParser.integer`.
1188
+ * @param ctx the parse tree
1189
+ */
1190
+ enterInteger?: (ctx: IntegerContext) => void;
1191
+ /**
1192
+ * Exit a parse tree produced by `MaqlParser.integer`.
1193
+ * @param ctx the parse tree
1194
+ */
1195
+ exitInteger?: (ctx: IntegerContext) => void;
1196
+ /**
1197
+ * Enter a parse tree produced by `MaqlParser.uInteger`.
1198
+ * @param ctx the parse tree
1199
+ */
1200
+ enterUInteger?: (ctx: UIntegerContext) => void;
1201
+ /**
1202
+ * Exit a parse tree produced by `MaqlParser.uInteger`.
1203
+ * @param ctx the parse tree
1204
+ */
1205
+ exitUInteger?: (ctx: UIntegerContext) => void;
1206
+ /**
1207
+ * Enter a parse tree produced by `MaqlParser.posInteger`.
1208
+ * @param ctx the parse tree
1209
+ */
1210
+ enterPosInteger?: (ctx: PosIntegerContext) => void;
1211
+ /**
1212
+ * Exit a parse tree produced by `MaqlParser.posInteger`.
1213
+ * @param ctx the parse tree
1214
+ */
1215
+ exitPosInteger?: (ctx: PosIntegerContext) => void;
1216
+ /**
1217
+ * Enter a parse tree produced by `MaqlParser.uReal`.
1218
+ * @param ctx the parse tree
1219
+ */
1220
+ enterUReal?: (ctx: URealContext) => void;
1221
+ /**
1222
+ * Exit a parse tree produced by `MaqlParser.uReal`.
1223
+ * @param ctx the parse tree
1224
+ */
1225
+ exitUReal?: (ctx: URealContext) => void;
1226
+ /**
1227
+ * Enter a parse tree produced by `MaqlParser.percentage`.
1228
+ * @param ctx the parse tree
1229
+ */
1230
+ enterPercentage?: (ctx: PercentageContext) => void;
1231
+ /**
1232
+ * Exit a parse tree produced by `MaqlParser.percentage`.
1233
+ * @param ctx the parse tree
1234
+ */
1235
+ exitPercentage?: (ctx: PercentageContext) => void;
1236
+ /**
1237
+ * Enter a parse tree produced by `MaqlParser.string`.
1238
+ * @param ctx the parse tree
1239
+ */
1240
+ enterString?: (ctx: StringContext) => void;
1241
+ /**
1242
+ * Exit a parse tree produced by `MaqlParser.string`.
1243
+ * @param ctx the parse tree
1244
+ */
1245
+ exitString?: (ctx: StringContext) => void;
1246
+ /**
1247
+ * Enter a parse tree produced by `MaqlParser.listLiteral`.
1248
+ * @param ctx the parse tree
1249
+ */
1250
+ enterListLiteral?: (ctx: ListLiteralContext) => void;
1251
+ /**
1252
+ * Exit a parse tree produced by `MaqlParser.listLiteral`.
1253
+ * @param ctx the parse tree
1254
+ */
1255
+ exitListLiteral?: (ctx: ListLiteralContext) => void;
1256
+ /**
1257
+ * Enter a parse tree produced by `MaqlParser.nullLiteral`.
1258
+ * @param ctx the parse tree
1259
+ */
1260
+ enterNullLiteral?: (ctx: NullLiteralContext) => void;
1261
+ /**
1262
+ * Exit a parse tree produced by `MaqlParser.nullLiteral`.
1263
+ * @param ctx the parse tree
1264
+ */
1265
+ exitNullLiteral?: (ctx: NullLiteralContext) => void;
1266
+ /**
1267
+ * Enter a parse tree produced by `MaqlParser.granularity`.
1268
+ * @param ctx the parse tree
1269
+ */
1270
+ enterGranularity?: (ctx: GranularityContext) => void;
1271
+ /**
1272
+ * Exit a parse tree produced by `MaqlParser.granularity`.
1273
+ * @param ctx the parse tree
1274
+ */
1275
+ exitGranularity?: (ctx: GranularityContext) => void;
1276
+ }
1277
+
1278
+ /**
1279
+ * This interface defines a complete generic visitor for a parse tree produced
1280
+ * by `MaqlParser`.
1281
+ *
1282
+ * @param <Result> The return type of the visit operation. Use `void` for
1283
+ * operations with no return type.
1284
+ */
1285
+ interface MaqlParserVisitor<Result> extends ParseTreeVisitor<Result> {
1286
+ /**
1287
+ * Visit a parse tree produced by the `relationRelop`
1288
+ * labeled alternative in `MaqlParser.relation`.
1289
+ * @param ctx the parse tree
1290
+ * @return the visitor result
1291
+ */
1292
+ visitRelationRelop?: (ctx: RelationRelopContext) => Result;
1293
+ /**
1294
+ * Visit a parse tree produced by the `relationNot`
1295
+ * labeled alternative in `MaqlParser.relation`.
1296
+ * @param ctx the parse tree
1297
+ * @return the visitor result
1298
+ */
1299
+ visitRelationNot?: (ctx: RelationNotContext) => Result;
1300
+ /**
1301
+ * Visit a parse tree produced by the `functionCall`
1302
+ * labeled alternative in `MaqlParser.function`.
1303
+ * @param ctx the parse tree
1304
+ * @return the visitor result
1305
+ */
1306
+ visitFunctionCall?: (ctx: FunctionCallContext) => Result;
1307
+ /**
1308
+ * Visit a parse tree produced by the `functionCallRun`
1309
+ * labeled alternative in `MaqlParser.function`.
1310
+ * @param ctx the parse tree
1311
+ * @return the visitor result
1312
+ */
1313
+ visitFunctionCallRun?: (ctx: FunctionCallRunContext) => Result;
1314
+ /**
1315
+ * Visit a parse tree produced by the `functionCallRank`
1316
+ * labeled alternative in `MaqlParser.function`.
1317
+ * @param ctx the parse tree
1318
+ * @return the visitor result
1319
+ */
1320
+ visitFunctionCallRank?: (ctx: FunctionCallRankContext) => Result;
1321
+ /**
1322
+ * Visit a parse tree produced by the `functionCallLastFirstValue`
1323
+ * labeled alternative in `MaqlParser.function`.
1324
+ * @param ctx the parse tree
1325
+ * @return the visitor result
1326
+ */
1327
+ visitFunctionCallLastFirstValue?: (ctx: FunctionCallLastFirstValueContext) => Result;
1328
+ /**
1329
+ * Visit a parse tree produced by the `maqlMeasure`
1330
+ * labeled alternative in `MaqlParser.maql`.
1331
+ * @param ctx the parse tree
1332
+ * @return the visitor result
1333
+ */
1334
+ visitMaqlMeasure?: (ctx: MaqlMeasureContext) => Result;
1335
+ /**
1336
+ * Visit a parse tree produced by the `maqlComputedAttribute`
1337
+ * labeled alternative in `MaqlParser.maql`.
1338
+ * @param ctx the parse tree
1339
+ * @return the visitor result
1340
+ */
1341
+ visitMaqlComputedAttribute?: (ctx: MaqlComputedAttributeContext) => Result;
1342
+ /**
1343
+ * Visit a parse tree produced by the `maqlFilter`
1344
+ * labeled alternative in `MaqlParser.maql`.
1345
+ * @param ctx the parse tree
1346
+ * @return the visitor result
1347
+ */
1348
+ visitMaqlFilter?: (ctx: MaqlFilterContext) => Result;
1349
+ /**
1350
+ * Visit a parse tree produced by the `relationBetween`
1351
+ * labeled alternative in `MaqlParser.relationNegatable`.
1352
+ * @param ctx the parse tree
1353
+ * @return the visitor result
1354
+ */
1355
+ visitRelationBetween?: (ctx: RelationBetweenContext) => Result;
1356
+ /**
1357
+ * Visit a parse tree produced by the `relationIn`
1358
+ * labeled alternative in `MaqlParser.relationNegatable`.
1359
+ * @param ctx the parse tree
1360
+ * @return the visitor result
1361
+ */
1362
+ visitRelationIn?: (ctx: RelationInContext) => Result;
1363
+ /**
1364
+ * Visit a parse tree produced by the `relationLike`
1365
+ * labeled alternative in `MaqlParser.relationNegatable`.
1366
+ * @param ctx the parse tree
1367
+ * @return the visitor result
1368
+ */
1369
+ visitRelationLike?: (ctx: RelationLikeContext) => Result;
1370
+ /**
1371
+ * Visit a parse tree produced by the `rankSpecUnumber`
1372
+ * labeled alternative in `MaqlParser.rankSpec`.
1373
+ * @param ctx the parse tree
1374
+ * @return the visitor result
1375
+ */
1376
+ visitRankSpecUnumber?: (ctx: RankSpecUnumberContext) => Result;
1377
+ /**
1378
+ * Visit a parse tree produced by the `rankSpecPercentage`
1379
+ * labeled alternative in `MaqlParser.rankSpec`.
1380
+ * @param ctx the parse tree
1381
+ * @return the visitor result
1382
+ */
1383
+ visitRankSpecPercentage?: (ctx: RankSpecPercentageContext) => Result;
1384
+ /**
1385
+ * Visit a parse tree produced by the `withPf`
1386
+ * labeled alternative in `MaqlParser.withWithoutPf`.
1387
+ * @param ctx the parse tree
1388
+ * @return the visitor result
1389
+ */
1390
+ visitWithPf?: (ctx: WithPfContext) => Result;
1391
+ /**
1392
+ * Visit a parse tree produced by the `withoutPf`
1393
+ * labeled alternative in `MaqlParser.withWithoutPf`.
1394
+ * @param ctx the parse tree
1395
+ * @return the visitor result
1396
+ */
1397
+ visitWithoutPf?: (ctx: WithoutPfContext) => Result;
1398
+ /**
1399
+ * Visit a parse tree produced by the `dimensionObject`
1400
+ * labeled alternative in `MaqlParser.dimension`.
1401
+ * @param ctx the parse tree
1402
+ * @return the visitor result
1403
+ */
1404
+ visitDimensionObject?: (ctx: DimensionObjectContext) => Result;
1405
+ /**
1406
+ * Visit a parse tree produced by the `dimensionAll`
1407
+ * labeled alternative in `MaqlParser.dimension`.
1408
+ * @param ctx the parse tree
1409
+ * @return the visitor result
1410
+ */
1411
+ visitDimensionAll?: (ctx: DimensionAllContext) => Result;
1412
+ /**
1413
+ * Visit a parse tree produced by the `uIntegerZero`
1414
+ * labeled alternative in `MaqlParser.uInteger`.
1415
+ * @param ctx the parse tree
1416
+ * @return the visitor result
1417
+ */
1418
+ visitUIntegerZero?: (ctx: UIntegerZeroContext) => Result;
1419
+ /**
1420
+ * Visit a parse tree produced by the `uIntegerPos`
1421
+ * labeled alternative in `MaqlParser.uInteger`.
1422
+ * @param ctx the parse tree
1423
+ * @return the visitor result
1424
+ */
1425
+ visitUIntegerPos?: (ctx: UIntegerPosContext) => Result;
1426
+ /**
1427
+ * Visit a parse tree produced by the `windowUnbounded`
1428
+ * labeled alternative in `MaqlParser.windowBound`.
1429
+ * @param ctx the parse tree
1430
+ * @return the visitor result
1431
+ */
1432
+ visitWindowUnbounded?: (ctx: WindowUnboundedContext) => Result;
1433
+ /**
1434
+ * Visit a parse tree produced by the `windowBounded`
1435
+ * labeled alternative in `MaqlParser.windowBound`.
1436
+ * @param ctx the parse tree
1437
+ * @return the visitor result
1438
+ */
1439
+ visitWindowBounded?: (ctx: WindowBoundedContext) => Result;
1440
+ /**
1441
+ * Visit a parse tree produced by the `currentRow`
1442
+ * labeled alternative in `MaqlParser.windowBound`.
1443
+ * @param ctx the parse tree
1444
+ * @return the visitor result
1445
+ */
1446
+ visitCurrentRow?: (ctx: CurrentRowContext) => Result;
1447
+ /**
1448
+ * Visit a parse tree produced by the `rankingFilterIn`
1449
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
1450
+ * @param ctx the parse tree
1451
+ * @return the visitor result
1452
+ */
1453
+ visitRankingFilterIn?: (ctx: RankingFilterInContext) => Result;
1454
+ /**
1455
+ * Visit a parse tree produced by the `rankingFilterOf`
1456
+ * labeled alternative in `MaqlParser.rankingFilterInOf`.
1457
+ * @param ctx the parse tree
1458
+ * @return the visitor result
1459
+ */
1460
+ visitRankingFilterOf?: (ctx: RankingFilterOfContext) => Result;
1461
+ /**
1462
+ * Visit a parse tree produced by the `dimensionsDimensionList`
1463
+ * labeled alternative in `MaqlParser.dimensions`.
1464
+ * @param ctx the parse tree
1465
+ * @return the visitor result
1466
+ */
1467
+ visitDimensionsDimensionList?: (ctx: DimensionsDimensionListContext) => Result;
1468
+ /**
1469
+ * Visit a parse tree produced by the `dimensionsAllOther`
1470
+ * labeled alternative in `MaqlParser.dimensions`.
1471
+ * @param ctx the parse tree
1472
+ * @return the visitor result
1473
+ */
1474
+ visitDimensionsAllOther?: (ctx: DimensionsAllOtherContext) => Result;
1475
+ /**
1476
+ * Visit a parse tree produced by `MaqlParser.maql`.
1477
+ * @param ctx the parse tree
1478
+ * @return the visitor result
1479
+ */
1480
+ visitMaql?: (ctx: MaqlContext) => Result;
1481
+ /**
1482
+ * Visit a parse tree produced by `MaqlParser.maqlExpression`.
1483
+ * @param ctx the parse tree
1484
+ * @return the visitor result
1485
+ */
1486
+ visitMaqlExpression?: (ctx: MaqlExpressionContext) => Result;
1487
+ /**
1488
+ * Visit a parse tree produced by `MaqlParser.selectExpression`.
1489
+ * @param ctx the parse tree
1490
+ * @return the visitor result
1491
+ */
1492
+ visitSelectExpression?: (ctx: SelectExpressionContext) => Result;
1493
+ /**
1494
+ * Visit a parse tree produced by `MaqlParser.expression`.
1495
+ * @param ctx the parse tree
1496
+ * @return the visitor result
1497
+ */
1498
+ visitExpression?: (ctx: ExpressionContext) => Result;
1499
+ /**
1500
+ * Visit a parse tree produced by `MaqlParser.disjunction`.
1501
+ * @param ctx the parse tree
1502
+ * @return the visitor result
1503
+ */
1504
+ visitDisjunction?: (ctx: DisjunctionContext) => Result;
1505
+ /**
1506
+ * Visit a parse tree produced by `MaqlParser.conjunction`.
1507
+ * @param ctx the parse tree
1508
+ * @return the visitor result
1509
+ */
1510
+ visitConjunction?: (ctx: ConjunctionContext) => Result;
1511
+ /**
1512
+ * Visit a parse tree produced by `MaqlParser.negation`.
1513
+ * @param ctx the parse tree
1514
+ * @return the visitor result
1515
+ */
1516
+ visitNegation?: (ctx: NegationContext) => Result;
1517
+ /**
1518
+ * Visit a parse tree produced by `MaqlParser.comparison`.
1519
+ * @param ctx the parse tree
1520
+ * @return the visitor result
1521
+ */
1522
+ visitComparison?: (ctx: ComparisonContext) => Result;
1523
+ /**
1524
+ * Visit a parse tree produced by `MaqlParser.relation`.
1525
+ * @param ctx the parse tree
1526
+ * @return the visitor result
1527
+ */
1528
+ visitRelation?: (ctx: RelationContext) => Result;
1529
+ /**
1530
+ * Visit a parse tree produced by `MaqlParser.relationNegatable`.
1531
+ * @param ctx the parse tree
1532
+ * @return the visitor result
1533
+ */
1534
+ visitRelationNegatable?: (ctx: RelationNegatableContext) => Result;
1535
+ /**
1536
+ * Visit a parse tree produced by `MaqlParser.like`.
1537
+ * @param ctx the parse tree
1538
+ * @return the visitor result
1539
+ */
1540
+ visitLike?: (ctx: LikeContext) => Result;
1541
+ /**
1542
+ * Visit a parse tree produced by `MaqlParser.addition`.
1543
+ * @param ctx the parse tree
1544
+ * @return the visitor result
1545
+ */
1546
+ visitAddition?: (ctx: AdditionContext) => Result;
1547
+ /**
1548
+ * Visit a parse tree produced by `MaqlParser.additiveOperator`.
1549
+ * @param ctx the parse tree
1550
+ * @return the visitor result
1551
+ */
1552
+ visitAdditiveOperator?: (ctx: AdditiveOperatorContext) => Result;
1553
+ /**
1554
+ * Visit a parse tree produced by `MaqlParser.multiplication`.
1555
+ * @param ctx the parse tree
1556
+ * @return the visitor result
1557
+ */
1558
+ visitMultiplication?: (ctx: MultiplicationContext) => Result;
1559
+ /**
1560
+ * Visit a parse tree produced by `MaqlParser.multiplicativeOperator`.
1561
+ * @param ctx the parse tree
1562
+ * @return the visitor result
1563
+ */
1564
+ visitMultiplicativeOperator?: (ctx: MultiplicativeOperatorContext) => Result;
1565
+ /**
1566
+ * Visit a parse tree produced by `MaqlParser.prefixUnaryExpression`.
1567
+ * @param ctx the parse tree
1568
+ * @return the visitor result
1569
+ */
1570
+ visitPrefixUnaryExpression?: (ctx: PrefixUnaryExpressionContext) => Result;
1571
+ /**
1572
+ * Visit a parse tree produced by `MaqlParser.prefixUnaryOperator`.
1573
+ * @param ctx the parse tree
1574
+ * @return the visitor result
1575
+ */
1576
+ visitPrefixUnaryOperator?: (ctx: PrefixUnaryOperatorContext) => Result;
1577
+ /**
1578
+ * Visit a parse tree produced by `MaqlParser.primaryExpression`.
1579
+ * @param ctx the parse tree
1580
+ * @return the visitor result
1581
+ */
1582
+ visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
1583
+ /**
1584
+ * Visit a parse tree produced by `MaqlParser.trueLiteral`.
1585
+ * @param ctx the parse tree
1586
+ * @return the visitor result
1587
+ */
1588
+ visitTrueLiteral?: (ctx: TrueLiteralContext) => Result;
1589
+ /**
1590
+ * Visit a parse tree produced by `MaqlParser.falseLiteral`.
1591
+ * @param ctx the parse tree
1592
+ * @return the visitor result
1593
+ */
1594
+ visitFalseLiteral?: (ctx: FalseLiteralContext) => Result;
1595
+ /**
1596
+ * Visit a parse tree produced by `MaqlParser.parenthesizedExpression`.
1597
+ * @param ctx the parse tree
1598
+ * @return the visitor result
1599
+ */
1600
+ visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
1601
+ /**
1602
+ * Visit a parse tree produced by `MaqlParser.overTo`.
1603
+ * @param ctx the parse tree
1604
+ * @return the visitor result
1605
+ */
1606
+ visitOverTo?: (ctx: OverToContext) => Result;
1607
+ /**
1608
+ * Visit a parse tree produced by `MaqlParser.case`.
1609
+ * @param ctx the parse tree
1610
+ * @return the visitor result
1611
+ */
1612
+ visitCase?: (ctx: CaseContext) => Result;
1613
+ /**
1614
+ * Visit a parse tree produced by `MaqlParser.if`.
1615
+ * @param ctx the parse tree
1616
+ * @return the visitor result
1617
+ */
1618
+ visitIf?: (ctx: IfContext) => Result;
1619
+ /**
1620
+ * Visit a parse tree produced by `MaqlParser.caseConditional`.
1621
+ * @param ctx the parse tree
1622
+ * @return the visitor result
1623
+ */
1624
+ visitCaseConditional?: (ctx: CaseConditionalContext) => Result;
1625
+ /**
1626
+ * Visit a parse tree produced by `MaqlParser.conditional`.
1627
+ * @param ctx the parse tree
1628
+ * @return the visitor result
1629
+ */
1630
+ visitConditional?: (ctx: ConditionalContext) => Result;
1631
+ /**
1632
+ * Visit a parse tree produced by `MaqlParser.reportMetric`.
1633
+ * @param ctx the parse tree
1634
+ * @return the visitor result
1635
+ */
1636
+ visitReportMetric?: (ctx: ReportMetricContext) => Result;
1637
+ /**
1638
+ * Visit a parse tree produced by `MaqlParser.timeMacro`.
1639
+ * @param ctx the parse tree
1640
+ * @return the visitor result
1641
+ */
1642
+ visitTimeMacro?: (ctx: TimeMacroContext) => Result;
1643
+ /**
1644
+ * Visit a parse tree produced by `MaqlParser.timeMacroName`.
1645
+ * @param ctx the parse tree
1646
+ * @return the visitor result
1647
+ */
1648
+ visitTimeMacroName?: (ctx: TimeMacroNameContext) => Result;
1649
+ /**
1650
+ * Visit a parse tree produced by `MaqlParser.function`.
1651
+ * @param ctx the parse tree
1652
+ * @return the visitor result
1653
+ */
1654
+ visitFunction?: (ctx: FunctionContext) => Result;
1655
+ /**
1656
+ * Visit a parse tree produced by `MaqlParser.expressionList`.
1657
+ * @param ctx the parse tree
1658
+ * @return the visitor result
1659
+ */
1660
+ visitExpressionList?: (ctx: ExpressionListContext) => Result;
1661
+ /**
1662
+ * Visit a parse tree produced by `MaqlParser.runningFunctionName`.
1663
+ * @param ctx the parse tree
1664
+ * @return the visitor result
1665
+ */
1666
+ visitRunningFunctionName?: (ctx: RunningFunctionNameContext) => Result;
1667
+ /**
1668
+ * Visit a parse tree produced by `MaqlParser.rankFunctionName`.
1669
+ * @param ctx the parse tree
1670
+ * @return the visitor result
1671
+ */
1672
+ visitRankFunctionName?: (ctx: RankFunctionNameContext) => Result;
1673
+ /**
1674
+ * Visit a parse tree produced by `MaqlParser.lastfirstvalFunctionName`.
1675
+ * @param ctx the parse tree
1676
+ * @return the visitor result
1677
+ */
1678
+ visitLastfirstvalFunctionName?: (ctx: LastfirstvalFunctionNameContext) => Result;
1679
+ /**
1680
+ * Visit a parse tree produced by `MaqlParser.rollWindow`.
1681
+ * @param ctx the parse tree
1682
+ * @return the visitor result
1683
+ */
1684
+ visitRollWindow?: (ctx: RollWindowContext) => Result;
1685
+ /**
1686
+ * Visit a parse tree produced by `MaqlParser.windowBound`.
1687
+ * @param ctx the parse tree
1688
+ * @return the visitor result
1689
+ */
1690
+ visitWindowBound?: (ctx: WindowBoundContext) => Result;
1691
+ /**
1692
+ * Visit a parse tree produced by `MaqlParser.windowDir`.
1693
+ * @param ctx the parse tree
1694
+ * @return the visitor result
1695
+ */
1696
+ visitWindowDir?: (ctx: WindowDirContext) => Result;
1697
+ /**
1698
+ * Visit a parse tree produced by `MaqlParser.rankDir`.
1699
+ * @param ctx the parse tree
1700
+ * @return the visitor result
1701
+ */
1702
+ visitRankDir?: (ctx: RankDirContext) => Result;
1703
+ /**
1704
+ * Visit a parse tree produced by `MaqlParser.within`.
1705
+ * @param ctx the parse tree
1706
+ * @return the visitor result
1707
+ */
1708
+ visitWithin?: (ctx: WithinContext) => Result;
1709
+ /**
1710
+ * Visit a parse tree produced by `MaqlParser.withinDimensions`.
1711
+ * @param ctx the parse tree
1712
+ * @return the visitor result
1713
+ */
1714
+ visitWithinDimensions?: (ctx: WithinDimensionsContext) => Result;
1715
+ /**
1716
+ * Visit a parse tree produced by `MaqlParser.orderby`.
1717
+ * @param ctx the parse tree
1718
+ * @return the visitor result
1719
+ */
1720
+ visitOrderby?: (ctx: OrderbyContext) => Result;
1721
+ /**
1722
+ * Visit a parse tree produced by `MaqlParser.orderList`.
1723
+ * @param ctx the parse tree
1724
+ * @return the visitor result
1725
+ */
1726
+ visitOrderList?: (ctx: OrderListContext) => Result;
1727
+ /**
1728
+ * Visit a parse tree produced by `MaqlParser.orderedElement`.
1729
+ * @param ctx the parse tree
1730
+ * @return the visitor result
1731
+ */
1732
+ visitOrderedElement?: (ctx: OrderedElementContext) => Result;
1733
+ /**
1734
+ * Visit a parse tree produced by `MaqlParser.by`.
1735
+ * @param ctx the parse tree
1736
+ * @return the visitor result
1737
+ */
1738
+ visitBy?: (ctx: ByContext) => Result;
1739
+ /**
1740
+ * Visit a parse tree produced by `MaqlParser.dimensions`.
1741
+ * @param ctx the parse tree
1742
+ * @return the visitor result
1743
+ */
1744
+ visitDimensions?: (ctx: DimensionsContext) => Result;
1745
+ /**
1746
+ * Visit a parse tree produced by `MaqlParser.dimensionList`.
1747
+ * @param ctx the parse tree
1748
+ * @return the visitor result
1749
+ */
1750
+ visitDimensionList?: (ctx: DimensionListContext) => Result;
1751
+ /**
1752
+ * Visit a parse tree produced by `MaqlParser.dimension`.
1753
+ * @param ctx the parse tree
1754
+ * @return the visitor result
1755
+ */
1756
+ visitDimension?: (ctx: DimensionContext) => Result;
1757
+ /**
1758
+ * Visit a parse tree produced by `MaqlParser.allOther`.
1759
+ * @param ctx the parse tree
1760
+ * @return the visitor result
1761
+ */
1762
+ visitAllOther?: (ctx: AllOtherContext) => Result;
1763
+ /**
1764
+ * Visit a parse tree produced by `MaqlParser.forTransformation`.
1765
+ * @param ctx the parse tree
1766
+ * @return the visitor result
1767
+ */
1768
+ visitForTransformation?: (ctx: ForTransformationContext) => Result;
1769
+ /**
1770
+ * Visit a parse tree produced by `MaqlParser.transFunction`.
1771
+ * @param ctx the parse tree
1772
+ * @return the visitor result
1773
+ */
1774
+ visitTransFunction?: (ctx: TransFunctionContext) => Result;
1775
+ /**
1776
+ * Visit a parse tree produced by `MaqlParser.whereHaving`.
1777
+ * @param ctx the parse tree
1778
+ * @return the visitor result
1779
+ */
1780
+ visitWhereHaving?: (ctx: WhereHavingContext) => Result;
1781
+ /**
1782
+ * Visit a parse tree produced by `MaqlParser.where`.
1783
+ * @param ctx the parse tree
1784
+ * @return the visitor result
1785
+ */
1786
+ visitWhere?: (ctx: WhereContext) => Result;
1787
+ /**
1788
+ * Visit a parse tree produced by `MaqlParser.forEach`.
1789
+ * @param ctx the parse tree
1790
+ * @return the visitor result
1791
+ */
1792
+ visitForEach?: (ctx: ForEachContext) => Result;
1793
+ /**
1794
+ * Visit a parse tree produced by `MaqlParser.having`.
1795
+ * @param ctx the parse tree
1796
+ * @return the visitor result
1797
+ */
1798
+ visitHaving?: (ctx: HavingContext) => Result;
1799
+ /**
1800
+ * Visit a parse tree produced by `MaqlParser.using`.
1801
+ * @param ctx the parse tree
1802
+ * @return the visitor result
1803
+ */
1804
+ visitUsing?: (ctx: UsingContext) => Result;
1805
+ /**
1806
+ * Visit a parse tree produced by `MaqlParser.withWithoutPf`.
1807
+ * @param ctx the parse tree
1808
+ * @return the visitor result
1809
+ */
1810
+ visitWithWithoutPf?: (ctx: WithWithoutPfContext) => Result;
1811
+ /**
1812
+ * Visit a parse tree produced by `MaqlParser.rankingFilter`.
1813
+ * @param ctx the parse tree
1814
+ * @return the visitor result
1815
+ */
1816
+ visitRankingFilter?: (ctx: RankingFilterContext) => Result;
1817
+ /**
1818
+ * Visit a parse tree produced by `MaqlParser.topBottom`.
1819
+ * @param ctx the parse tree
1820
+ * @return the visitor result
1821
+ */
1822
+ visitTopBottom?: (ctx: TopBottomContext) => Result;
1823
+ /**
1824
+ * Visit a parse tree produced by `MaqlParser.rankSpec`.
1825
+ * @param ctx the parse tree
1826
+ * @return the visitor result
1827
+ */
1828
+ visitRankSpec?: (ctx: RankSpecContext) => Result;
1829
+ /**
1830
+ * Visit a parse tree produced by `MaqlParser.rankingFilterInOf`.
1831
+ * @param ctx the parse tree
1832
+ * @return the visitor result
1833
+ */
1834
+ visitRankingFilterInOf?: (ctx: RankingFilterInOfContext) => Result;
1835
+ /**
1836
+ * Visit a parse tree produced by `MaqlParser.attributeType`.
1837
+ * @param ctx the parse tree
1838
+ * @return the visitor result
1839
+ */
1840
+ visitAttributeType?: (ctx: AttributeTypeContext) => Result;
1841
+ /**
1842
+ * Visit a parse tree produced by `MaqlParser.attribute`.
1843
+ * @param ctx the parse tree
1844
+ * @return the visitor result
1845
+ */
1846
+ visitAttribute?: (ctx: AttributeContext) => Result;
1847
+ /**
1848
+ * Visit a parse tree produced by `MaqlParser.fact`.
1849
+ * @param ctx the parse tree
1850
+ * @return the visitor result
1851
+ */
1852
+ visitFact?: (ctx: FactContext) => Result;
1853
+ /**
1854
+ * Visit a parse tree produced by `MaqlParser.attributeList`.
1855
+ * @param ctx the parse tree
1856
+ * @return the visitor result
1857
+ */
1858
+ visitAttributeList?: (ctx: AttributeListContext) => Result;
1859
+ /**
1860
+ * Visit a parse tree produced by `MaqlParser.numericType`.
1861
+ * @param ctx the parse tree
1862
+ * @return the visitor result
1863
+ */
1864
+ visitNumericType?: (ctx: NumericTypeContext) => Result;
1865
+ /**
1866
+ * Visit a parse tree produced by `MaqlParser.numeric`.
1867
+ * @param ctx the parse tree
1868
+ * @return the visitor result
1869
+ */
1870
+ visitNumeric?: (ctx: NumericContext) => Result;
1871
+ /**
1872
+ * Visit a parse tree produced by `MaqlParser.prompt`.
1873
+ * @param ctx the parse tree
1874
+ * @return the visitor result
1875
+ */
1876
+ visitPrompt?: (ctx: PromptContext) => Result;
1877
+ /**
1878
+ * Visit a parse tree produced by `MaqlParser.literal`.
1879
+ * @param ctx the parse tree
1880
+ * @return the visitor result
1881
+ */
1882
+ visitLiteral?: (ctx: LiteralContext) => Result;
1883
+ /**
1884
+ * Visit a parse tree produced by `MaqlParser.number`.
1885
+ * @param ctx the parse tree
1886
+ * @return the visitor result
1887
+ */
1888
+ visitNumber?: (ctx: NumberContext) => Result;
1889
+ /**
1890
+ * Visit a parse tree produced by `MaqlParser.uNumber`.
1891
+ * @param ctx the parse tree
1892
+ * @return the visitor result
1893
+ */
1894
+ visitUNumber?: (ctx: UNumberContext) => Result;
1895
+ /**
1896
+ * Visit a parse tree produced by `MaqlParser.integer`.
1897
+ * @param ctx the parse tree
1898
+ * @return the visitor result
1899
+ */
1900
+ visitInteger?: (ctx: IntegerContext) => Result;
1901
+ /**
1902
+ * Visit a parse tree produced by `MaqlParser.uInteger`.
1903
+ * @param ctx the parse tree
1904
+ * @return the visitor result
1905
+ */
1906
+ visitUInteger?: (ctx: UIntegerContext) => Result;
1907
+ /**
1908
+ * Visit a parse tree produced by `MaqlParser.posInteger`.
1909
+ * @param ctx the parse tree
1910
+ * @return the visitor result
1911
+ */
1912
+ visitPosInteger?: (ctx: PosIntegerContext) => Result;
1913
+ /**
1914
+ * Visit a parse tree produced by `MaqlParser.uReal`.
1915
+ * @param ctx the parse tree
1916
+ * @return the visitor result
1917
+ */
1918
+ visitUReal?: (ctx: URealContext) => Result;
1919
+ /**
1920
+ * Visit a parse tree produced by `MaqlParser.percentage`.
1921
+ * @param ctx the parse tree
1922
+ * @return the visitor result
1923
+ */
1924
+ visitPercentage?: (ctx: PercentageContext) => Result;
1925
+ /**
1926
+ * Visit a parse tree produced by `MaqlParser.string`.
1927
+ * @param ctx the parse tree
1928
+ * @return the visitor result
1929
+ */
1930
+ visitString?: (ctx: StringContext) => Result;
1931
+ /**
1932
+ * Visit a parse tree produced by `MaqlParser.listLiteral`.
1933
+ * @param ctx the parse tree
1934
+ * @return the visitor result
1935
+ */
1936
+ visitListLiteral?: (ctx: ListLiteralContext) => Result;
1937
+ /**
1938
+ * Visit a parse tree produced by `MaqlParser.nullLiteral`.
1939
+ * @param ctx the parse tree
1940
+ * @return the visitor result
1941
+ */
1942
+ visitNullLiteral?: (ctx: NullLiteralContext) => Result;
1943
+ /**
1944
+ * Visit a parse tree produced by `MaqlParser.granularity`.
1945
+ * @param ctx the parse tree
1946
+ * @return the visitor result
1947
+ */
1948
+ visitGranularity?: (ctx: GranularityContext) => Result;
1949
+ }
1950
+
1951
+ declare class MaqlParser extends Parser {
1952
+ static readonly ALL = 1;
1953
+ static readonly AND = 2;
1954
+ static readonly ASC = 3;
1955
+ static readonly BETWEEN = 4;
1956
+ static readonly BOTTOM = 5;
1957
+ static readonly BY = 6;
1958
+ static readonly CASE = 7;
1959
+ static readonly COMPUTED_ATTRIBUTE = 8;
1960
+ static readonly CUME_DIST = 9;
1961
+ static readonly CURRENT = 10;
1962
+ static readonly DENSE_RANK = 11;
1963
+ static readonly DESC = 12;
1964
+ static readonly DIMENSIONS = 13;
1965
+ static readonly EACH = 14;
1966
+ static readonly ELSE = 15;
1967
+ static readonly END = 16;
1968
+ static readonly EXCEPT = 17;
1969
+ static readonly FALSE = 18;
1970
+ static readonly FILTER = 19;
1971
+ static readonly FIRST_VALUE = 20;
1972
+ static readonly FOLLOWING = 21;
1973
+ static readonly FOR = 22;
1974
+ static readonly HAVING = 23;
1975
+ static readonly IF = 24;
1976
+ static readonly ILIKE = 25;
1977
+ static readonly IN = 26;
1978
+ static readonly LAST_VALUE = 27;
1979
+ static readonly LIKE = 28;
1980
+ static readonly METRIC = 29;
1981
+ static readonly NEXT = 30;
1982
+ static readonly NEXTPERIOD = 31;
1983
+ static readonly NOT = 32;
1984
+ static readonly NULL = 33;
1985
+ static readonly OF = 34;
1986
+ static readonly OR = 35;
1987
+ static readonly ORDER = 36;
1988
+ static readonly OTHER = 37;
1989
+ static readonly OVER = 38;
1990
+ static readonly PARENT = 39;
1991
+ static readonly PARSE = 40;
1992
+ static readonly PERCENT_RANK = 41;
1993
+ static readonly PF = 42;
1994
+ static readonly PRECEDING = 43;
1995
+ static readonly PREVIOUSPERIOD = 44;
1996
+ static readonly PREVIOUS = 45;
1997
+ static readonly RANK = 46;
1998
+ static readonly REPORT = 47;
1999
+ static readonly ROW_NUMBER = 48;
2000
+ static readonly ROW = 49;
2001
+ static readonly ROWS = 50;
2002
+ static readonly RUNAVG = 51;
2003
+ static readonly RUNMAX = 52;
2004
+ static readonly RUNMIN = 53;
2005
+ static readonly RUNSUM = 54;
2006
+ static readonly RUNSTDEV = 55;
2007
+ static readonly RUNSTDEVP = 56;
2008
+ static readonly RUNVAR = 57;
2009
+ static readonly RUNVARP = 58;
2010
+ static readonly SELECT = 59;
2011
+ static readonly THEN = 60;
2012
+ static readonly THIS = 61;
2013
+ static readonly TOP = 62;
2014
+ static readonly TO = 63;
2015
+ static readonly TRUE = 64;
2016
+ static readonly UNBOUNDED = 65;
2017
+ static readonly USING = 66;
2018
+ static readonly WHEN = 67;
2019
+ static readonly WHERE = 68;
2020
+ static readonly WITHIN = 69;
2021
+ static readonly WITHOUT = 70;
2022
+ static readonly WITH = 71;
2023
+ static readonly DAY = 72;
2024
+ static readonly DAYOFWEEK = 73;
2025
+ static readonly DAYOFMONTH = 74;
2026
+ static readonly DAYOFYEAR = 75;
2027
+ static readonly HOUR = 76;
2028
+ static readonly HOUROFDAY = 77;
2029
+ static readonly MINUTE = 78;
2030
+ static readonly MINUTEOFHOUR = 79;
2031
+ static readonly MONTH = 80;
2032
+ static readonly MONTHOFYEAR = 81;
2033
+ static readonly QUARTER = 82;
2034
+ static readonly QUARTEROFYEAR = 83;
2035
+ static readonly YEAR = 84;
2036
+ static readonly WEEK = 85;
2037
+ static readonly WEEKOFYEAR = 86;
2038
+ static readonly WS = 87;
2039
+ static readonly Comment = 88;
2040
+ static readonly UnterminatedString = 89;
2041
+ static readonly String = 90;
2042
+ static readonly LBRACE = 91;
2043
+ static readonly RBRACE = 92;
2044
+ static readonly RELOP = 93;
2045
+ static readonly COMMA = 94;
2046
+ static readonly SEMICOLON = 95;
2047
+ static readonly LPAREN = 96;
2048
+ static readonly RPAREN = 97;
2049
+ static readonly MINUS = 98;
2050
+ static readonly PERCENT = 99;
2051
+ static readonly PLUS = 100;
2052
+ static readonly MUL = 101;
2053
+ static readonly DIV = 102;
2054
+ static readonly ZERO = 103;
2055
+ static readonly Natural = 104;
2056
+ static readonly Real = 105;
2057
+ static readonly Identifier = 106;
2058
+ static readonly ERROR_CHARACTER = 107;
2059
+ static readonly FACT = 108;
2060
+ static readonly ATTRIBUTE = 109;
2061
+ static readonly METRIC_TYPE = 110;
2062
+ static readonly LABEL = 111;
2063
+ static readonly LOCAL = 112;
2064
+ static readonly PROMPT = 113;
2065
+ static readonly DATASET = 114;
2066
+ static readonly UNKNOWN_TYPE = 115;
2067
+ static readonly SEP = 116;
2068
+ static readonly ID = 117;
2069
+ static readonly RULE_maql = 0;
2070
+ static readonly RULE_maqlExpression = 1;
2071
+ static readonly RULE_selectExpression = 2;
2072
+ static readonly RULE_expression = 3;
2073
+ static readonly RULE_disjunction = 4;
2074
+ static readonly RULE_conjunction = 5;
2075
+ static readonly RULE_negation = 6;
2076
+ static readonly RULE_comparison = 7;
2077
+ static readonly RULE_relation = 8;
2078
+ static readonly RULE_relationNegatable = 9;
2079
+ static readonly RULE_like = 10;
2080
+ static readonly RULE_addition = 11;
2081
+ static readonly RULE_additiveOperator = 12;
2082
+ static readonly RULE_multiplication = 13;
2083
+ static readonly RULE_multiplicativeOperator = 14;
2084
+ static readonly RULE_prefixUnaryExpression = 15;
2085
+ static readonly RULE_prefixUnaryOperator = 16;
2086
+ static readonly RULE_primaryExpression = 17;
2087
+ static readonly RULE_trueLiteral = 18;
2088
+ static readonly RULE_falseLiteral = 19;
2089
+ static readonly RULE_parenthesizedExpression = 20;
2090
+ static readonly RULE_overTo = 21;
2091
+ static readonly RULE_case = 22;
2092
+ static readonly RULE_if = 23;
2093
+ static readonly RULE_caseConditional = 24;
2094
+ static readonly RULE_conditional = 25;
2095
+ static readonly RULE_reportMetric = 26;
2096
+ static readonly RULE_timeMacro = 27;
2097
+ static readonly RULE_timeMacroName = 28;
2098
+ static readonly RULE_function = 29;
2099
+ static readonly RULE_expressionList = 30;
2100
+ static readonly RULE_runningFunctionName = 31;
2101
+ static readonly RULE_rankFunctionName = 32;
2102
+ static readonly RULE_lastfirstvalFunctionName = 33;
2103
+ static readonly RULE_rollWindow = 34;
2104
+ static readonly RULE_windowBound = 35;
2105
+ static readonly RULE_windowDir = 36;
2106
+ static readonly RULE_rankDir = 37;
2107
+ static readonly RULE_within = 38;
2108
+ static readonly RULE_withinDimensions = 39;
2109
+ static readonly RULE_orderby = 40;
2110
+ static readonly RULE_orderList = 41;
2111
+ static readonly RULE_orderedElement = 42;
2112
+ static readonly RULE_by = 43;
2113
+ static readonly RULE_dimensions = 44;
2114
+ static readonly RULE_dimensionList = 45;
2115
+ static readonly RULE_dimension = 46;
2116
+ static readonly RULE_allOther = 47;
2117
+ static readonly RULE_forTransformation = 48;
2118
+ static readonly RULE_transFunction = 49;
2119
+ static readonly RULE_whereHaving = 50;
2120
+ static readonly RULE_where = 51;
2121
+ static readonly RULE_forEach = 52;
2122
+ static readonly RULE_having = 53;
2123
+ static readonly RULE_using = 54;
2124
+ static readonly RULE_withWithoutPf = 55;
2125
+ static readonly RULE_rankingFilter = 56;
2126
+ static readonly RULE_topBottom = 57;
2127
+ static readonly RULE_rankSpec = 58;
2128
+ static readonly RULE_rankingFilterInOf = 59;
2129
+ static readonly RULE_attributeType = 60;
2130
+ static readonly RULE_attribute = 61;
2131
+ static readonly RULE_fact = 62;
2132
+ static readonly RULE_attributeList = 63;
2133
+ static readonly RULE_numericType = 64;
2134
+ static readonly RULE_numeric = 65;
2135
+ static readonly RULE_prompt = 66;
2136
+ static readonly RULE_literal = 67;
2137
+ static readonly RULE_number = 68;
2138
+ static readonly RULE_uNumber = 69;
2139
+ static readonly RULE_integer = 70;
2140
+ static readonly RULE_uInteger = 71;
2141
+ static readonly RULE_posInteger = 72;
2142
+ static readonly RULE_uReal = 73;
2143
+ static readonly RULE_percentage = 74;
2144
+ static readonly RULE_string = 75;
2145
+ static readonly RULE_listLiteral = 76;
2146
+ static readonly RULE_nullLiteral = 77;
2147
+ static readonly RULE_granularity = 78;
2148
+ static readonly ruleNames: string[];
2149
+ private static readonly _LITERAL_NAMES;
2150
+ private static readonly _SYMBOLIC_NAMES;
2151
+ static readonly VOCABULARY: Vocabulary;
2152
+ get vocabulary(): Vocabulary;
2153
+ get grammarFileName(): string;
2154
+ get ruleNames(): string[];
2155
+ get serializedATN(): string;
2156
+ protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException;
2157
+ constructor(input: TokenStream);
2158
+ maql(): MaqlContext;
2159
+ maqlExpression(): MaqlExpressionContext;
2160
+ selectExpression(): SelectExpressionContext;
2161
+ expression(): ExpressionContext;
2162
+ disjunction(): DisjunctionContext;
2163
+ conjunction(): ConjunctionContext;
2164
+ negation(): NegationContext;
2165
+ comparison(): ComparisonContext;
2166
+ relation(): RelationContext;
2167
+ relationNegatable(): RelationNegatableContext;
2168
+ like(): LikeContext;
2169
+ addition(): AdditionContext;
2170
+ additiveOperator(): AdditiveOperatorContext;
2171
+ multiplication(): MultiplicationContext;
2172
+ multiplicativeOperator(): MultiplicativeOperatorContext;
2173
+ prefixUnaryExpression(): PrefixUnaryExpressionContext;
2174
+ prefixUnaryOperator(): PrefixUnaryOperatorContext;
2175
+ primaryExpression(): PrimaryExpressionContext;
2176
+ trueLiteral(): TrueLiteralContext;
2177
+ falseLiteral(): FalseLiteralContext;
2178
+ parenthesizedExpression(): ParenthesizedExpressionContext;
2179
+ overTo(): OverToContext;
2180
+ case(): CaseContext;
2181
+ if(): IfContext;
2182
+ caseConditional(): CaseConditionalContext;
2183
+ conditional(): ConditionalContext;
2184
+ reportMetric(): ReportMetricContext;
2185
+ timeMacro(): TimeMacroContext;
2186
+ timeMacroName(): TimeMacroNameContext;
2187
+ function(): FunctionContext;
2188
+ expressionList(): ExpressionListContext;
2189
+ runningFunctionName(): RunningFunctionNameContext;
2190
+ rankFunctionName(): RankFunctionNameContext;
2191
+ lastfirstvalFunctionName(): LastfirstvalFunctionNameContext;
2192
+ rollWindow(): RollWindowContext;
2193
+ windowBound(): WindowBoundContext;
2194
+ windowDir(): WindowDirContext;
2195
+ rankDir(): RankDirContext;
2196
+ within(): WithinContext;
2197
+ withinDimensions(): WithinDimensionsContext;
2198
+ orderby(): OrderbyContext;
2199
+ orderList(): OrderListContext;
2200
+ orderedElement(): OrderedElementContext;
2201
+ by(): ByContext;
2202
+ dimensions(): DimensionsContext;
2203
+ dimensionList(): DimensionListContext;
2204
+ dimension(): DimensionContext;
2205
+ allOther(): AllOtherContext;
2206
+ forTransformation(): ForTransformationContext;
2207
+ transFunction(): TransFunctionContext;
2208
+ whereHaving(): WhereHavingContext;
2209
+ where(): WhereContext;
2210
+ forEach(): ForEachContext;
2211
+ having(): HavingContext;
2212
+ using(): UsingContext;
2213
+ withWithoutPf(): WithWithoutPfContext;
2214
+ rankingFilter(): RankingFilterContext;
2215
+ topBottom(): TopBottomContext;
2216
+ rankSpec(): RankSpecContext;
2217
+ rankingFilterInOf(): RankingFilterInOfContext;
2218
+ attributeType(): AttributeTypeContext;
2219
+ attribute(): AttributeContext;
2220
+ fact(): FactContext;
2221
+ attributeList(): AttributeListContext;
2222
+ numericType(): NumericTypeContext;
2223
+ numeric(): NumericContext;
2224
+ prompt(): PromptContext;
2225
+ literal(): LiteralContext;
2226
+ number(): NumberContext;
2227
+ uNumber(): UNumberContext;
2228
+ integer(): IntegerContext;
2229
+ uInteger(): UIntegerContext;
2230
+ posInteger(): PosIntegerContext;
2231
+ uReal(): URealContext;
2232
+ percentage(): PercentageContext;
2233
+ string(): StringContext;
2234
+ listLiteral(): ListLiteralContext;
2235
+ nullLiteral(): NullLiteralContext;
2236
+ granularity(): GranularityContext;
2237
+ private static readonly _serializedATNSegments;
2238
+ private static readonly _serializedATNSegment0;
2239
+ private static readonly _serializedATNSegment1;
2240
+ static readonly _serializedATN: string;
2241
+ static __ATN: ATN;
2242
+ static get _ATN(): ATN;
2243
+ }
2244
+ declare class MaqlContext extends ParserRuleContext {
2245
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2246
+ get ruleIndex(): number;
2247
+ copyFrom(ctx: MaqlContext): void;
2248
+ }
2249
+ declare class MaqlMeasureContext extends MaqlContext {
2250
+ PARSE(): TerminalNode;
2251
+ METRIC(): TerminalNode;
2252
+ selectExpression(): SelectExpressionContext;
2253
+ EOF(): TerminalNode;
2254
+ SEMICOLON(): TerminalNode[];
2255
+ SEMICOLON(i: number): TerminalNode;
2256
+ constructor(ctx: MaqlContext);
2257
+ enterRule(listener: MaqlParserListener): void;
2258
+ exitRule(listener: MaqlParserListener): void;
2259
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2260
+ }
2261
+ declare class MaqlComputedAttributeContext extends MaqlContext {
2262
+ PARSE(): TerminalNode;
2263
+ COMPUTED_ATTRIBUTE(): TerminalNode;
2264
+ maqlExpression(): MaqlExpressionContext;
2265
+ EOF(): TerminalNode;
2266
+ SEMICOLON(): TerminalNode[];
2267
+ SEMICOLON(i: number): TerminalNode;
2268
+ constructor(ctx: MaqlContext);
2269
+ enterRule(listener: MaqlParserListener): void;
2270
+ exitRule(listener: MaqlParserListener): void;
2271
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2272
+ }
2273
+ declare class MaqlFilterContext extends MaqlContext {
2274
+ PARSE(): TerminalNode;
2275
+ FILTER(): TerminalNode;
2276
+ expression(): ExpressionContext;
2277
+ EOF(): TerminalNode;
2278
+ SEMICOLON(): TerminalNode[];
2279
+ SEMICOLON(i: number): TerminalNode;
2280
+ constructor(ctx: MaqlContext);
2281
+ enterRule(listener: MaqlParserListener): void;
2282
+ exitRule(listener: MaqlParserListener): void;
2283
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2284
+ }
2285
+ declare class MaqlExpressionContext extends ParserRuleContext {
2286
+ selectExpression(): SelectExpressionContext | undefined;
2287
+ expression(): ExpressionContext | undefined;
2288
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2289
+ get ruleIndex(): number;
2290
+ enterRule(listener: MaqlParserListener): void;
2291
+ exitRule(listener: MaqlParserListener): void;
2292
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2293
+ }
2294
+ declare class SelectExpressionContext extends ParserRuleContext {
2295
+ SELECT(): TerminalNode;
2296
+ expression(): ExpressionContext;
2297
+ by(): ByContext | undefined;
2298
+ forEach(): ForEachContext | undefined;
2299
+ forTransformation(): ForTransformationContext | undefined;
2300
+ whereHaving(): WhereHavingContext | undefined;
2301
+ using(): UsingContext | undefined;
2302
+ withWithoutPf(): WithWithoutPfContext | undefined;
2303
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2304
+ get ruleIndex(): number;
2305
+ enterRule(listener: MaqlParserListener): void;
2306
+ exitRule(listener: MaqlParserListener): void;
2307
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2308
+ }
2309
+ declare class ExpressionContext extends ParserRuleContext {
2310
+ disjunction(): DisjunctionContext;
2311
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2312
+ get ruleIndex(): number;
2313
+ enterRule(listener: MaqlParserListener): void;
2314
+ exitRule(listener: MaqlParserListener): void;
2315
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2316
+ }
2317
+ declare class DisjunctionContext extends ParserRuleContext {
2318
+ conjunction(): ConjunctionContext[];
2319
+ conjunction(i: number): ConjunctionContext;
2320
+ OR(): TerminalNode[];
2321
+ OR(i: number): TerminalNode;
2322
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2323
+ get ruleIndex(): number;
2324
+ enterRule(listener: MaqlParserListener): void;
2325
+ exitRule(listener: MaqlParserListener): void;
2326
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2327
+ }
2328
+ declare class ConjunctionContext extends ParserRuleContext {
2329
+ negation(): NegationContext[];
2330
+ negation(i: number): NegationContext;
2331
+ AND(): TerminalNode[];
2332
+ AND(i: number): TerminalNode;
2333
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2334
+ get ruleIndex(): number;
2335
+ enterRule(listener: MaqlParserListener): void;
2336
+ exitRule(listener: MaqlParserListener): void;
2337
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2338
+ }
2339
+ declare class NegationContext extends ParserRuleContext {
2340
+ comparison(): ComparisonContext;
2341
+ NOT(): TerminalNode[];
2342
+ NOT(i: number): TerminalNode;
2343
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2344
+ get ruleIndex(): number;
2345
+ enterRule(listener: MaqlParserListener): void;
2346
+ exitRule(listener: MaqlParserListener): void;
2347
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2348
+ }
2349
+ declare class ComparisonContext extends ParserRuleContext {
2350
+ addition(): AdditionContext;
2351
+ relation(): RelationContext | undefined;
2352
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2353
+ get ruleIndex(): number;
2354
+ enterRule(listener: MaqlParserListener): void;
2355
+ exitRule(listener: MaqlParserListener): void;
2356
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2357
+ }
2358
+ declare class RelationContext extends ParserRuleContext {
2359
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2360
+ get ruleIndex(): number;
2361
+ copyFrom(ctx: RelationContext): void;
2362
+ }
2363
+ declare class RelationRelopContext extends RelationContext {
2364
+ RELOP(): TerminalNode;
2365
+ addition(): AdditionContext;
2366
+ constructor(ctx: RelationContext);
2367
+ enterRule(listener: MaqlParserListener): void;
2368
+ exitRule(listener: MaqlParserListener): void;
2369
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2370
+ }
2371
+ declare class RelationNotContext extends RelationContext {
2372
+ relationNegatable(): RelationNegatableContext;
2373
+ NOT(): TerminalNode | undefined;
2374
+ constructor(ctx: RelationContext);
2375
+ enterRule(listener: MaqlParserListener): void;
2376
+ exitRule(listener: MaqlParserListener): void;
2377
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2378
+ }
2379
+ declare class RelationNegatableContext extends ParserRuleContext {
2380
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2381
+ get ruleIndex(): number;
2382
+ copyFrom(ctx: RelationNegatableContext): void;
2383
+ }
2384
+ declare class RelationBetweenContext extends RelationNegatableContext {
2385
+ BETWEEN(): TerminalNode;
2386
+ primaryExpression(): PrimaryExpressionContext[];
2387
+ primaryExpression(i: number): PrimaryExpressionContext;
2388
+ AND(): TerminalNode;
2389
+ constructor(ctx: RelationNegatableContext);
2390
+ enterRule(listener: MaqlParserListener): void;
2391
+ exitRule(listener: MaqlParserListener): void;
2392
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2393
+ }
2394
+ declare class RelationInContext extends RelationNegatableContext {
2395
+ IN(): TerminalNode;
2396
+ LPAREN(): TerminalNode;
2397
+ RPAREN(): TerminalNode;
2398
+ listLiteral(): ListLiteralContext | undefined;
2399
+ constructor(ctx: RelationNegatableContext);
2400
+ enterRule(listener: MaqlParserListener): void;
2401
+ exitRule(listener: MaqlParserListener): void;
2402
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2403
+ }
2404
+ declare class RelationLikeContext extends RelationNegatableContext {
2405
+ like(): LikeContext;
2406
+ string(): StringContext;
2407
+ constructor(ctx: RelationNegatableContext);
2408
+ enterRule(listener: MaqlParserListener): void;
2409
+ exitRule(listener: MaqlParserListener): void;
2410
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2411
+ }
2412
+ declare class LikeContext extends ParserRuleContext {
2413
+ LIKE(): TerminalNode | undefined;
2414
+ ILIKE(): TerminalNode | undefined;
2415
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2416
+ get ruleIndex(): number;
2417
+ enterRule(listener: MaqlParserListener): void;
2418
+ exitRule(listener: MaqlParserListener): void;
2419
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2420
+ }
2421
+ declare class AdditionContext extends ParserRuleContext {
2422
+ multiplication(): MultiplicationContext[];
2423
+ multiplication(i: number): MultiplicationContext;
2424
+ additiveOperator(): AdditiveOperatorContext[];
2425
+ additiveOperator(i: number): AdditiveOperatorContext;
2426
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2427
+ get ruleIndex(): number;
2428
+ enterRule(listener: MaqlParserListener): void;
2429
+ exitRule(listener: MaqlParserListener): void;
2430
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2431
+ }
2432
+ declare class AdditiveOperatorContext extends ParserRuleContext {
2433
+ PLUS(): TerminalNode | undefined;
2434
+ MINUS(): TerminalNode | undefined;
2435
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2436
+ get ruleIndex(): number;
2437
+ enterRule(listener: MaqlParserListener): void;
2438
+ exitRule(listener: MaqlParserListener): void;
2439
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2440
+ }
2441
+ declare class MultiplicationContext extends ParserRuleContext {
2442
+ prefixUnaryExpression(): PrefixUnaryExpressionContext[];
2443
+ prefixUnaryExpression(i: number): PrefixUnaryExpressionContext;
2444
+ multiplicativeOperator(): MultiplicativeOperatorContext[];
2445
+ multiplicativeOperator(i: number): MultiplicativeOperatorContext;
2446
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2447
+ get ruleIndex(): number;
2448
+ enterRule(listener: MaqlParserListener): void;
2449
+ exitRule(listener: MaqlParserListener): void;
2450
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2451
+ }
2452
+ declare class MultiplicativeOperatorContext extends ParserRuleContext {
2453
+ MUL(): TerminalNode | undefined;
2454
+ DIV(): TerminalNode | undefined;
2455
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2456
+ get ruleIndex(): number;
2457
+ enterRule(listener: MaqlParserListener): void;
2458
+ exitRule(listener: MaqlParserListener): void;
2459
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2460
+ }
2461
+ declare class PrefixUnaryExpressionContext extends ParserRuleContext {
2462
+ primaryExpression(): PrimaryExpressionContext;
2463
+ prefixUnaryOperator(): PrefixUnaryOperatorContext[];
2464
+ prefixUnaryOperator(i: number): PrefixUnaryOperatorContext;
2465
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2466
+ get ruleIndex(): number;
2467
+ enterRule(listener: MaqlParserListener): void;
2468
+ exitRule(listener: MaqlParserListener): void;
2469
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2470
+ }
2471
+ declare class PrefixUnaryOperatorContext extends ParserRuleContext {
2472
+ MINUS(): TerminalNode | undefined;
2473
+ PLUS(): TerminalNode | undefined;
2474
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2475
+ get ruleIndex(): number;
2476
+ enterRule(listener: MaqlParserListener): void;
2477
+ exitRule(listener: MaqlParserListener): void;
2478
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2479
+ }
2480
+ declare class PrimaryExpressionContext extends ParserRuleContext {
2481
+ parenthesizedExpression(): ParenthesizedExpressionContext | undefined;
2482
+ function(): FunctionContext | undefined;
2483
+ case(): CaseContext | undefined;
2484
+ if(): IfContext | undefined;
2485
+ numeric(): NumericContext | undefined;
2486
+ attribute(): AttributeContext | undefined;
2487
+ prompt(): PromptContext | undefined;
2488
+ literal(): LiteralContext | undefined;
2489
+ timeMacro(): TimeMacroContext | undefined;
2490
+ granularity(): GranularityContext | undefined;
2491
+ rankingFilter(): RankingFilterContext | undefined;
2492
+ trueLiteral(): TrueLiteralContext | undefined;
2493
+ falseLiteral(): FalseLiteralContext | undefined;
2494
+ reportMetric(): ReportMetricContext | undefined;
2495
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2496
+ get ruleIndex(): number;
2497
+ enterRule(listener: MaqlParserListener): void;
2498
+ exitRule(listener: MaqlParserListener): void;
2499
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2500
+ }
2501
+ declare class TrueLiteralContext extends ParserRuleContext {
2502
+ TRUE(): TerminalNode;
2503
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2504
+ get ruleIndex(): number;
2505
+ enterRule(listener: MaqlParserListener): void;
2506
+ exitRule(listener: MaqlParserListener): void;
2507
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2508
+ }
2509
+ declare class FalseLiteralContext extends ParserRuleContext {
2510
+ FALSE(): TerminalNode;
2511
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2512
+ get ruleIndex(): number;
2513
+ enterRule(listener: MaqlParserListener): void;
2514
+ exitRule(listener: MaqlParserListener): void;
2515
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2516
+ }
2517
+ declare class ParenthesizedExpressionContext extends ParserRuleContext {
2518
+ LPAREN(): TerminalNode;
2519
+ maqlExpression(): MaqlExpressionContext;
2520
+ RPAREN(): TerminalNode;
2521
+ overTo(): OverToContext | undefined;
2522
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2523
+ get ruleIndex(): number;
2524
+ enterRule(listener: MaqlParserListener): void;
2525
+ exitRule(listener: MaqlParserListener): void;
2526
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2527
+ }
2528
+ declare class OverToContext extends ParserRuleContext {
2529
+ OVER(): TerminalNode;
2530
+ attribute(): AttributeContext[];
2531
+ attribute(i: number): AttributeContext;
2532
+ TO(): TerminalNode;
2533
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2534
+ get ruleIndex(): number;
2535
+ enterRule(listener: MaqlParserListener): void;
2536
+ exitRule(listener: MaqlParserListener): void;
2537
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2538
+ }
2539
+ declare class CaseContext extends ParserRuleContext {
2540
+ CASE(): TerminalNode;
2541
+ caseConditional(): CaseConditionalContext;
2542
+ END(): TerminalNode;
2543
+ ELSE(): TerminalNode | undefined;
2544
+ addition(): AdditionContext | undefined;
2545
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2546
+ get ruleIndex(): number;
2547
+ enterRule(listener: MaqlParserListener): void;
2548
+ exitRule(listener: MaqlParserListener): void;
2549
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2550
+ }
2551
+ declare class IfContext extends ParserRuleContext {
2552
+ IF(): TerminalNode;
2553
+ conditional(): ConditionalContext;
2554
+ END(): TerminalNode;
2555
+ ELSE(): TerminalNode | undefined;
2556
+ addition(): AdditionContext | undefined;
2557
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2558
+ get ruleIndex(): number;
2559
+ enterRule(listener: MaqlParserListener): void;
2560
+ exitRule(listener: MaqlParserListener): void;
2561
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2562
+ }
2563
+ declare class CaseConditionalContext extends ParserRuleContext {
2564
+ WHEN(): TerminalNode[];
2565
+ WHEN(i: number): TerminalNode;
2566
+ conditional(): ConditionalContext[];
2567
+ conditional(i: number): ConditionalContext;
2568
+ COMMA(): TerminalNode[];
2569
+ COMMA(i: number): TerminalNode;
2570
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2571
+ get ruleIndex(): number;
2572
+ enterRule(listener: MaqlParserListener): void;
2573
+ exitRule(listener: MaqlParserListener): void;
2574
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2575
+ }
2576
+ declare class ConditionalContext extends ParserRuleContext {
2577
+ expression(): ExpressionContext[];
2578
+ expression(i: number): ExpressionContext;
2579
+ THEN(): TerminalNode;
2580
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2581
+ get ruleIndex(): number;
2582
+ enterRule(listener: MaqlParserListener): void;
2583
+ exitRule(listener: MaqlParserListener): void;
2584
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2585
+ }
2586
+ declare class ReportMetricContext extends ParserRuleContext {
2587
+ REPORT(): TerminalNode;
2588
+ METRIC(): TerminalNode;
2589
+ LPAREN(): TerminalNode;
2590
+ posInteger(): PosIntegerContext;
2591
+ RPAREN(): TerminalNode;
2592
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2593
+ get ruleIndex(): number;
2594
+ enterRule(listener: MaqlParserListener): void;
2595
+ exitRule(listener: MaqlParserListener): void;
2596
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2597
+ }
2598
+ declare class TimeMacroContext extends ParserRuleContext {
2599
+ timeMacroName(): TimeMacroNameContext;
2600
+ LPAREN(): TerminalNode;
2601
+ granularity(): GranularityContext;
2602
+ RPAREN(): TerminalNode;
2603
+ COMMA(): TerminalNode | undefined;
2604
+ integer(): IntegerContext | undefined;
2605
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2606
+ get ruleIndex(): number;
2607
+ enterRule(listener: MaqlParserListener): void;
2608
+ exitRule(listener: MaqlParserListener): void;
2609
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2610
+ }
2611
+ declare class TimeMacroNameContext extends ParserRuleContext {
2612
+ THIS(): TerminalNode | undefined;
2613
+ NEXT(): TerminalNode | undefined;
2614
+ PREVIOUS(): TerminalNode | undefined;
2615
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2616
+ get ruleIndex(): number;
2617
+ enterRule(listener: MaqlParserListener): void;
2618
+ exitRule(listener: MaqlParserListener): void;
2619
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2620
+ }
2621
+ declare class FunctionContext extends ParserRuleContext {
2622
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2623
+ get ruleIndex(): number;
2624
+ copyFrom(ctx: FunctionContext): void;
2625
+ }
2626
+ declare class FunctionCallContext extends FunctionContext {
2627
+ Identifier(): TerminalNode;
2628
+ LPAREN(): TerminalNode;
2629
+ expressionList(): ExpressionListContext;
2630
+ RPAREN(): TerminalNode;
2631
+ constructor(ctx: FunctionContext);
2632
+ enterRule(listener: MaqlParserListener): void;
2633
+ exitRule(listener: MaqlParserListener): void;
2634
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2635
+ }
2636
+ declare class FunctionCallRunContext extends FunctionContext {
2637
+ runningFunctionName(): RunningFunctionNameContext;
2638
+ LPAREN(): TerminalNode;
2639
+ maqlExpression(): MaqlExpressionContext;
2640
+ RPAREN(): TerminalNode;
2641
+ within(): WithinContext | undefined;
2642
+ rollWindow(): RollWindowContext | undefined;
2643
+ constructor(ctx: FunctionContext);
2644
+ enterRule(listener: MaqlParserListener): void;
2645
+ exitRule(listener: MaqlParserListener): void;
2646
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2647
+ }
2648
+ declare class FunctionCallRankContext extends FunctionContext {
2649
+ rankFunctionName(): RankFunctionNameContext;
2650
+ LPAREN(): TerminalNode;
2651
+ expressionList(): ExpressionListContext;
2652
+ RPAREN(): TerminalNode;
2653
+ rankDir(): RankDirContext | undefined;
2654
+ within(): WithinContext | undefined;
2655
+ constructor(ctx: FunctionContext);
2656
+ enterRule(listener: MaqlParserListener): void;
2657
+ exitRule(listener: MaqlParserListener): void;
2658
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2659
+ }
2660
+ declare class FunctionCallLastFirstValueContext extends FunctionContext {
2661
+ lastfirstvalFunctionName(): LastfirstvalFunctionNameContext;
2662
+ LPAREN(): TerminalNode;
2663
+ expressionList(): ExpressionListContext;
2664
+ RPAREN(): TerminalNode;
2665
+ orderby(): OrderbyContext;
2666
+ within(): WithinContext | undefined;
2667
+ constructor(ctx: FunctionContext);
2668
+ enterRule(listener: MaqlParserListener): void;
2669
+ exitRule(listener: MaqlParserListener): void;
2670
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2671
+ }
2672
+ declare class ExpressionListContext extends ParserRuleContext {
2673
+ maqlExpression(): MaqlExpressionContext[];
2674
+ maqlExpression(i: number): MaqlExpressionContext;
2675
+ COMMA(): TerminalNode[];
2676
+ COMMA(i: number): TerminalNode;
2677
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2678
+ get ruleIndex(): number;
2679
+ enterRule(listener: MaqlParserListener): void;
2680
+ exitRule(listener: MaqlParserListener): void;
2681
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2682
+ }
2683
+ declare class RunningFunctionNameContext extends ParserRuleContext {
2684
+ RUNSUM(): TerminalNode | undefined;
2685
+ RUNMIN(): TerminalNode | undefined;
2686
+ RUNMAX(): TerminalNode | undefined;
2687
+ RUNAVG(): TerminalNode | undefined;
2688
+ RUNVAR(): TerminalNode | undefined;
2689
+ RUNVARP(): TerminalNode | undefined;
2690
+ RUNSTDEV(): TerminalNode | undefined;
2691
+ RUNSTDEVP(): TerminalNode | undefined;
2692
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2693
+ get ruleIndex(): number;
2694
+ enterRule(listener: MaqlParserListener): void;
2695
+ exitRule(listener: MaqlParserListener): void;
2696
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2697
+ }
2698
+ declare class RankFunctionNameContext extends ParserRuleContext {
2699
+ ROW_NUMBER(): TerminalNode | undefined;
2700
+ RANK(): TerminalNode | undefined;
2701
+ DENSE_RANK(): TerminalNode | undefined;
2702
+ PERCENT_RANK(): TerminalNode | undefined;
2703
+ CUME_DIST(): TerminalNode | undefined;
2704
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2705
+ get ruleIndex(): number;
2706
+ enterRule(listener: MaqlParserListener): void;
2707
+ exitRule(listener: MaqlParserListener): void;
2708
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2709
+ }
2710
+ declare class LastfirstvalFunctionNameContext extends ParserRuleContext {
2711
+ LAST_VALUE(): TerminalNode | undefined;
2712
+ FIRST_VALUE(): TerminalNode | undefined;
2713
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2714
+ get ruleIndex(): number;
2715
+ enterRule(listener: MaqlParserListener): void;
2716
+ exitRule(listener: MaqlParserListener): void;
2717
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2718
+ }
2719
+ declare class RollWindowContext extends ParserRuleContext {
2720
+ ROWS(): TerminalNode;
2721
+ BETWEEN(): TerminalNode;
2722
+ windowBound(): WindowBoundContext[];
2723
+ windowBound(i: number): WindowBoundContext;
2724
+ AND(): TerminalNode;
2725
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2726
+ get ruleIndex(): number;
2727
+ enterRule(listener: MaqlParserListener): void;
2728
+ exitRule(listener: MaqlParserListener): void;
2729
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2730
+ }
2731
+ declare class WindowBoundContext extends ParserRuleContext {
2732
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2733
+ get ruleIndex(): number;
2734
+ copyFrom(ctx: WindowBoundContext): void;
2735
+ }
2736
+ declare class WindowUnboundedContext extends WindowBoundContext {
2737
+ UNBOUNDED(): TerminalNode;
2738
+ windowDir(): WindowDirContext;
2739
+ constructor(ctx: WindowBoundContext);
2740
+ enterRule(listener: MaqlParserListener): void;
2741
+ exitRule(listener: MaqlParserListener): void;
2742
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2743
+ }
2744
+ declare class WindowBoundedContext extends WindowBoundContext {
2745
+ uInteger(): UIntegerContext;
2746
+ windowDir(): WindowDirContext;
2747
+ constructor(ctx: WindowBoundContext);
2748
+ enterRule(listener: MaqlParserListener): void;
2749
+ exitRule(listener: MaqlParserListener): void;
2750
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2751
+ }
2752
+ declare class CurrentRowContext extends WindowBoundContext {
2753
+ CURRENT(): TerminalNode;
2754
+ ROW(): TerminalNode;
2755
+ constructor(ctx: WindowBoundContext);
2756
+ enterRule(listener: MaqlParserListener): void;
2757
+ exitRule(listener: MaqlParserListener): void;
2758
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2759
+ }
2760
+ declare class WindowDirContext extends ParserRuleContext {
2761
+ PRECEDING(): TerminalNode | undefined;
2762
+ FOLLOWING(): TerminalNode | undefined;
2763
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2764
+ get ruleIndex(): number;
2765
+ enterRule(listener: MaqlParserListener): void;
2766
+ exitRule(listener: MaqlParserListener): void;
2767
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2768
+ }
2769
+ declare class RankDirContext extends ParserRuleContext {
2770
+ ASC(): TerminalNode | undefined;
2771
+ DESC(): TerminalNode | undefined;
2772
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2773
+ get ruleIndex(): number;
2774
+ enterRule(listener: MaqlParserListener): void;
2775
+ exitRule(listener: MaqlParserListener): void;
2776
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2777
+ }
2778
+ declare class WithinContext extends ParserRuleContext {
2779
+ WITHIN(): TerminalNode;
2780
+ LPAREN(): TerminalNode | undefined;
2781
+ withinDimensions(): WithinDimensionsContext;
2782
+ RPAREN(): TerminalNode | undefined;
2783
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2784
+ get ruleIndex(): number;
2785
+ enterRule(listener: MaqlParserListener): void;
2786
+ exitRule(listener: MaqlParserListener): void;
2787
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2788
+ }
2789
+ declare class WithinDimensionsContext extends ParserRuleContext {
2790
+ dimensions(): DimensionsContext | undefined;
2791
+ CURRENT(): TerminalNode | undefined;
2792
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2793
+ get ruleIndex(): number;
2794
+ enterRule(listener: MaqlParserListener): void;
2795
+ exitRule(listener: MaqlParserListener): void;
2796
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2797
+ }
2798
+ declare class OrderbyContext extends ParserRuleContext {
2799
+ ORDER(): TerminalNode;
2800
+ BY(): TerminalNode;
2801
+ orderList(): OrderListContext;
2802
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2803
+ get ruleIndex(): number;
2804
+ enterRule(listener: MaqlParserListener): void;
2805
+ exitRule(listener: MaqlParserListener): void;
2806
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2807
+ }
2808
+ declare class OrderListContext extends ParserRuleContext {
2809
+ orderedElement(): OrderedElementContext[];
2810
+ orderedElement(i: number): OrderedElementContext;
2811
+ COMMA(): TerminalNode[];
2812
+ COMMA(i: number): TerminalNode;
2813
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2814
+ get ruleIndex(): number;
2815
+ enterRule(listener: MaqlParserListener): void;
2816
+ exitRule(listener: MaqlParserListener): void;
2817
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2818
+ }
2819
+ declare class OrderedElementContext extends ParserRuleContext {
2820
+ attribute(): AttributeContext | undefined;
2821
+ fact(): FactContext | undefined;
2822
+ rankDir(): RankDirContext | undefined;
2823
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2824
+ get ruleIndex(): number;
2825
+ enterRule(listener: MaqlParserListener): void;
2826
+ exitRule(listener: MaqlParserListener): void;
2827
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2828
+ }
2829
+ declare class ByContext extends ParserRuleContext {
2830
+ BY(): TerminalNode;
2831
+ dimensions(): DimensionsContext;
2832
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2833
+ get ruleIndex(): number;
2834
+ enterRule(listener: MaqlParserListener): void;
2835
+ exitRule(listener: MaqlParserListener): void;
2836
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2837
+ }
2838
+ declare class DimensionsContext extends ParserRuleContext {
2839
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2840
+ get ruleIndex(): number;
2841
+ copyFrom(ctx: DimensionsContext): void;
2842
+ }
2843
+ declare class DimensionsDimensionListContext extends DimensionsContext {
2844
+ dimensionList(): DimensionListContext;
2845
+ COMMA(): TerminalNode | undefined;
2846
+ allOther(): AllOtherContext | undefined;
2847
+ constructor(ctx: DimensionsContext);
2848
+ enterRule(listener: MaqlParserListener): void;
2849
+ exitRule(listener: MaqlParserListener): void;
2850
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2851
+ }
2852
+ declare class DimensionsAllOtherContext extends DimensionsContext {
2853
+ allOther(): AllOtherContext;
2854
+ constructor(ctx: DimensionsContext);
2855
+ enterRule(listener: MaqlParserListener): void;
2856
+ exitRule(listener: MaqlParserListener): void;
2857
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2858
+ }
2859
+ declare class DimensionListContext extends ParserRuleContext {
2860
+ dimension(): DimensionContext[];
2861
+ dimension(i: number): DimensionContext;
2862
+ COMMA(): TerminalNode[];
2863
+ COMMA(i: number): TerminalNode;
2864
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2865
+ get ruleIndex(): number;
2866
+ enterRule(listener: MaqlParserListener): void;
2867
+ exitRule(listener: MaqlParserListener): void;
2868
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2869
+ }
2870
+ declare class DimensionContext extends ParserRuleContext {
2871
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2872
+ get ruleIndex(): number;
2873
+ copyFrom(ctx: DimensionContext): void;
2874
+ }
2875
+ declare class DimensionObjectContext extends DimensionContext {
2876
+ attribute(): AttributeContext;
2877
+ constructor(ctx: DimensionContext);
2878
+ enterRule(listener: MaqlParserListener): void;
2879
+ exitRule(listener: MaqlParserListener): void;
2880
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2881
+ }
2882
+ declare class DimensionAllContext extends DimensionContext {
2883
+ ALL(): TerminalNode;
2884
+ attribute(): AttributeContext;
2885
+ constructor(ctx: DimensionContext);
2886
+ enterRule(listener: MaqlParserListener): void;
2887
+ exitRule(listener: MaqlParserListener): void;
2888
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2889
+ }
2890
+ declare class AllOtherContext extends ParserRuleContext {
2891
+ ALL(): TerminalNode[];
2892
+ ALL(i: number): TerminalNode;
2893
+ OTHER(): TerminalNode | undefined;
2894
+ IN(): TerminalNode | undefined;
2895
+ DIMENSIONS(): TerminalNode | undefined;
2896
+ EXCEPT(): TerminalNode | undefined;
2897
+ attributeList(): AttributeListContext | undefined;
2898
+ FOR(): TerminalNode | undefined;
2899
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2900
+ get ruleIndex(): number;
2901
+ enterRule(listener: MaqlParserListener): void;
2902
+ exitRule(listener: MaqlParserListener): void;
2903
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2904
+ }
2905
+ declare class ForTransformationContext extends ParserRuleContext {
2906
+ FOR(): TerminalNode;
2907
+ transFunction(): TransFunctionContext;
2908
+ LPAREN(): TerminalNode;
2909
+ expressionList(): ExpressionListContext;
2910
+ RPAREN(): TerminalNode;
2911
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2912
+ get ruleIndex(): number;
2913
+ enterRule(listener: MaqlParserListener): void;
2914
+ exitRule(listener: MaqlParserListener): void;
2915
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2916
+ }
2917
+ declare class TransFunctionContext extends ParserRuleContext {
2918
+ NEXT(): TerminalNode | undefined;
2919
+ PREVIOUS(): TerminalNode | undefined;
2920
+ NEXTPERIOD(): TerminalNode | undefined;
2921
+ PREVIOUSPERIOD(): TerminalNode | undefined;
2922
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2923
+ get ruleIndex(): number;
2924
+ enterRule(listener: MaqlParserListener): void;
2925
+ exitRule(listener: MaqlParserListener): void;
2926
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2927
+ }
2928
+ declare class WhereHavingContext extends ParserRuleContext {
2929
+ where(): WhereContext | undefined;
2930
+ having(): HavingContext | undefined;
2931
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2932
+ get ruleIndex(): number;
2933
+ enterRule(listener: MaqlParserListener): void;
2934
+ exitRule(listener: MaqlParserListener): void;
2935
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2936
+ }
2937
+ declare class WhereContext extends ParserRuleContext {
2938
+ WHERE(): TerminalNode;
2939
+ expression(): ExpressionContext;
2940
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2941
+ get ruleIndex(): number;
2942
+ enterRule(listener: MaqlParserListener): void;
2943
+ exitRule(listener: MaqlParserListener): void;
2944
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2945
+ }
2946
+ declare class ForEachContext extends ParserRuleContext {
2947
+ FOR(): TerminalNode;
2948
+ EACH(): TerminalNode;
2949
+ attributeList(): AttributeListContext;
2950
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2951
+ get ruleIndex(): number;
2952
+ enterRule(listener: MaqlParserListener): void;
2953
+ exitRule(listener: MaqlParserListener): void;
2954
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2955
+ }
2956
+ declare class HavingContext extends ParserRuleContext {
2957
+ HAVING(): TerminalNode;
2958
+ expression(): ExpressionContext;
2959
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2960
+ get ruleIndex(): number;
2961
+ enterRule(listener: MaqlParserListener): void;
2962
+ exitRule(listener: MaqlParserListener): void;
2963
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2964
+ }
2965
+ declare class UsingContext extends ParserRuleContext {
2966
+ USING(): TerminalNode;
2967
+ attributeList(): AttributeListContext;
2968
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2969
+ get ruleIndex(): number;
2970
+ enterRule(listener: MaqlParserListener): void;
2971
+ exitRule(listener: MaqlParserListener): void;
2972
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2973
+ }
2974
+ declare class WithWithoutPfContext extends ParserRuleContext {
2975
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
2976
+ get ruleIndex(): number;
2977
+ copyFrom(ctx: WithWithoutPfContext): void;
2978
+ }
2979
+ declare class WithPfContext extends WithWithoutPfContext {
2980
+ WITH(): TerminalNode;
2981
+ PF(): TerminalNode | undefined;
2982
+ PARENT(): TerminalNode | undefined;
2983
+ FILTER(): TerminalNode | undefined;
2984
+ EXCEPT(): TerminalNode | undefined;
2985
+ attributeList(): AttributeListContext | undefined;
2986
+ constructor(ctx: WithWithoutPfContext);
2987
+ enterRule(listener: MaqlParserListener): void;
2988
+ exitRule(listener: MaqlParserListener): void;
2989
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
2990
+ }
2991
+ declare class WithoutPfContext extends WithWithoutPfContext {
2992
+ WITHOUT(): TerminalNode;
2993
+ PF(): TerminalNode | undefined;
2994
+ PARENT(): TerminalNode | undefined;
2995
+ FILTER(): TerminalNode | undefined;
2996
+ EXCEPT(): TerminalNode | undefined;
2997
+ attributeList(): AttributeListContext | undefined;
2998
+ constructor(ctx: WithWithoutPfContext);
2999
+ enterRule(listener: MaqlParserListener): void;
3000
+ exitRule(listener: MaqlParserListener): void;
3001
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3002
+ }
3003
+ declare class RankingFilterContext extends ParserRuleContext {
3004
+ topBottom(): TopBottomContext;
3005
+ LPAREN(): TerminalNode;
3006
+ rankSpec(): RankSpecContext;
3007
+ RPAREN(): TerminalNode;
3008
+ rankingFilterInOf(): RankingFilterInOfContext;
3009
+ within(): WithinContext | undefined;
3010
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3011
+ get ruleIndex(): number;
3012
+ enterRule(listener: MaqlParserListener): void;
3013
+ exitRule(listener: MaqlParserListener): void;
3014
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3015
+ }
3016
+ declare class TopBottomContext extends ParserRuleContext {
3017
+ TOP(): TerminalNode | undefined;
3018
+ BOTTOM(): TerminalNode | undefined;
3019
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3020
+ get ruleIndex(): number;
3021
+ enterRule(listener: MaqlParserListener): void;
3022
+ exitRule(listener: MaqlParserListener): void;
3023
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3024
+ }
3025
+ declare class RankSpecContext extends ParserRuleContext {
3026
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3027
+ get ruleIndex(): number;
3028
+ copyFrom(ctx: RankSpecContext): void;
3029
+ }
3030
+ declare class RankSpecUnumberContext extends RankSpecContext {
3031
+ uNumber(): UNumberContext;
3032
+ constructor(ctx: RankSpecContext);
3033
+ enterRule(listener: MaqlParserListener): void;
3034
+ exitRule(listener: MaqlParserListener): void;
3035
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3036
+ }
3037
+ declare class RankSpecPercentageContext extends RankSpecContext {
3038
+ percentage(): PercentageContext;
3039
+ constructor(ctx: RankSpecContext);
3040
+ enterRule(listener: MaqlParserListener): void;
3041
+ exitRule(listener: MaqlParserListener): void;
3042
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3043
+ }
3044
+ declare class RankingFilterInOfContext extends ParserRuleContext {
3045
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3046
+ get ruleIndex(): number;
3047
+ copyFrom(ctx: RankingFilterInOfContext): void;
3048
+ }
3049
+ declare class RankingFilterInContext extends RankingFilterInOfContext {
3050
+ IN(): TerminalNode;
3051
+ LPAREN(): TerminalNode;
3052
+ maqlExpression(): MaqlExpressionContext;
3053
+ RPAREN(): TerminalNode;
3054
+ constructor(ctx: RankingFilterInOfContext);
3055
+ enterRule(listener: MaqlParserListener): void;
3056
+ exitRule(listener: MaqlParserListener): void;
3057
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3058
+ }
3059
+ declare class RankingFilterOfContext extends RankingFilterInOfContext {
3060
+ OF(): TerminalNode;
3061
+ LPAREN(): TerminalNode;
3062
+ expressionList(): ExpressionListContext;
3063
+ RPAREN(): TerminalNode;
3064
+ constructor(ctx: RankingFilterInOfContext);
3065
+ enterRule(listener: MaqlParserListener): void;
3066
+ exitRule(listener: MaqlParserListener): void;
3067
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3068
+ }
3069
+ declare class AttributeTypeContext extends ParserRuleContext {
3070
+ ATTRIBUTE(): TerminalNode | undefined;
3071
+ LABEL(): TerminalNode | undefined;
3072
+ LOCAL(): TerminalNode | undefined;
3073
+ PROMPT(): TerminalNode | undefined;
3074
+ DATASET(): TerminalNode | undefined;
3075
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3076
+ get ruleIndex(): number;
3077
+ enterRule(listener: MaqlParserListener): void;
3078
+ exitRule(listener: MaqlParserListener): void;
3079
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3080
+ }
3081
+ declare class AttributeContext extends ParserRuleContext {
3082
+ LBRACE(): TerminalNode;
3083
+ attributeType(): AttributeTypeContext;
3084
+ SEP(): TerminalNode;
3085
+ ID(): TerminalNode;
3086
+ RBRACE(): TerminalNode;
3087
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3088
+ get ruleIndex(): number;
3089
+ enterRule(listener: MaqlParserListener): void;
3090
+ exitRule(listener: MaqlParserListener): void;
3091
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3092
+ }
3093
+ declare class FactContext extends ParserRuleContext {
3094
+ LBRACE(): TerminalNode;
3095
+ FACT(): TerminalNode;
3096
+ SEP(): TerminalNode;
3097
+ ID(): TerminalNode;
3098
+ RBRACE(): TerminalNode;
3099
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3100
+ get ruleIndex(): number;
3101
+ enterRule(listener: MaqlParserListener): void;
3102
+ exitRule(listener: MaqlParserListener): void;
3103
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3104
+ }
3105
+ declare class AttributeListContext extends ParserRuleContext {
3106
+ attribute(): AttributeContext[];
3107
+ attribute(i: number): AttributeContext;
3108
+ COMMA(): TerminalNode[];
3109
+ COMMA(i: number): TerminalNode;
3110
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3111
+ get ruleIndex(): number;
3112
+ enterRule(listener: MaqlParserListener): void;
3113
+ exitRule(listener: MaqlParserListener): void;
3114
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3115
+ }
3116
+ declare class NumericTypeContext extends ParserRuleContext {
3117
+ FACT(): TerminalNode | undefined;
3118
+ METRIC_TYPE(): TerminalNode | undefined;
3119
+ LOCAL(): TerminalNode | undefined;
3120
+ PROMPT(): TerminalNode | undefined;
3121
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3122
+ get ruleIndex(): number;
3123
+ enterRule(listener: MaqlParserListener): void;
3124
+ exitRule(listener: MaqlParserListener): void;
3125
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3126
+ }
3127
+ declare class NumericContext extends ParserRuleContext {
3128
+ LBRACE(): TerminalNode;
3129
+ numericType(): NumericTypeContext;
3130
+ SEP(): TerminalNode;
3131
+ ID(): TerminalNode;
3132
+ RBRACE(): TerminalNode;
3133
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3134
+ get ruleIndex(): number;
3135
+ enterRule(listener: MaqlParserListener): void;
3136
+ exitRule(listener: MaqlParserListener): void;
3137
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3138
+ }
3139
+ declare class PromptContext extends ParserRuleContext {
3140
+ LBRACE(): TerminalNode;
3141
+ PROMPT(): TerminalNode;
3142
+ SEP(): TerminalNode;
3143
+ ID(): TerminalNode;
3144
+ RBRACE(): TerminalNode;
3145
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3146
+ get ruleIndex(): number;
3147
+ enterRule(listener: MaqlParserListener): void;
3148
+ exitRule(listener: MaqlParserListener): void;
3149
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3150
+ }
3151
+ declare class LiteralContext extends ParserRuleContext {
3152
+ uNumber(): UNumberContext | undefined;
3153
+ string(): StringContext | undefined;
3154
+ percentage(): PercentageContext | undefined;
3155
+ nullLiteral(): NullLiteralContext | undefined;
3156
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3157
+ get ruleIndex(): number;
3158
+ enterRule(listener: MaqlParserListener): void;
3159
+ exitRule(listener: MaqlParserListener): void;
3160
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3161
+ }
3162
+ declare class NumberContext extends ParserRuleContext {
3163
+ uNumber(): UNumberContext;
3164
+ prefixUnaryOperator(): PrefixUnaryOperatorContext | undefined;
3165
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3166
+ get ruleIndex(): number;
3167
+ enterRule(listener: MaqlParserListener): void;
3168
+ exitRule(listener: MaqlParserListener): void;
3169
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3170
+ }
3171
+ declare class UNumberContext extends ParserRuleContext {
3172
+ uInteger(): UIntegerContext | undefined;
3173
+ uReal(): URealContext | undefined;
3174
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3175
+ get ruleIndex(): number;
3176
+ enterRule(listener: MaqlParserListener): void;
3177
+ exitRule(listener: MaqlParserListener): void;
3178
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3179
+ }
3180
+ declare class IntegerContext extends ParserRuleContext {
3181
+ uInteger(): UIntegerContext;
3182
+ prefixUnaryOperator(): PrefixUnaryOperatorContext | undefined;
3183
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3184
+ get ruleIndex(): number;
3185
+ enterRule(listener: MaqlParserListener): void;
3186
+ exitRule(listener: MaqlParserListener): void;
3187
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3188
+ }
3189
+ declare class UIntegerContext extends ParserRuleContext {
3190
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3191
+ get ruleIndex(): number;
3192
+ copyFrom(ctx: UIntegerContext): void;
3193
+ }
3194
+ declare class UIntegerZeroContext extends UIntegerContext {
3195
+ ZERO(): TerminalNode;
3196
+ constructor(ctx: UIntegerContext);
3197
+ enterRule(listener: MaqlParserListener): void;
3198
+ exitRule(listener: MaqlParserListener): void;
3199
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3200
+ }
3201
+ declare class UIntegerPosContext extends UIntegerContext {
3202
+ posInteger(): PosIntegerContext;
3203
+ constructor(ctx: UIntegerContext);
3204
+ enterRule(listener: MaqlParserListener): void;
3205
+ exitRule(listener: MaqlParserListener): void;
3206
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3207
+ }
3208
+ declare class PosIntegerContext extends ParserRuleContext {
3209
+ Natural(): TerminalNode;
3210
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3211
+ get ruleIndex(): number;
3212
+ enterRule(listener: MaqlParserListener): void;
3213
+ exitRule(listener: MaqlParserListener): void;
3214
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3215
+ }
3216
+ declare class URealContext extends ParserRuleContext {
3217
+ Real(): TerminalNode;
3218
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3219
+ get ruleIndex(): number;
3220
+ enterRule(listener: MaqlParserListener): void;
3221
+ exitRule(listener: MaqlParserListener): void;
3222
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3223
+ }
3224
+ declare class PercentageContext extends ParserRuleContext {
3225
+ uNumber(): UNumberContext;
3226
+ PERCENT(): TerminalNode;
3227
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3228
+ get ruleIndex(): number;
3229
+ enterRule(listener: MaqlParserListener): void;
3230
+ exitRule(listener: MaqlParserListener): void;
3231
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3232
+ }
3233
+ declare class StringContext extends ParserRuleContext {
3234
+ String(): TerminalNode;
3235
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3236
+ get ruleIndex(): number;
3237
+ enterRule(listener: MaqlParserListener): void;
3238
+ exitRule(listener: MaqlParserListener): void;
3239
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3240
+ }
3241
+ declare class ListLiteralContext extends ParserRuleContext {
3242
+ string(): StringContext | undefined;
3243
+ number(): NumberContext | undefined;
3244
+ nullLiteral(): NullLiteralContext | undefined;
3245
+ COMMA(): TerminalNode | undefined;
3246
+ listLiteral(): ListLiteralContext | undefined;
3247
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3248
+ get ruleIndex(): number;
3249
+ enterRule(listener: MaqlParserListener): void;
3250
+ exitRule(listener: MaqlParserListener): void;
3251
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3252
+ }
3253
+ declare class NullLiteralContext extends ParserRuleContext {
3254
+ NULL(): TerminalNode;
3255
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3256
+ get ruleIndex(): number;
3257
+ enterRule(listener: MaqlParserListener): void;
3258
+ exitRule(listener: MaqlParserListener): void;
3259
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3260
+ }
3261
+ declare class GranularityContext extends ParserRuleContext {
3262
+ DAY(): TerminalNode | undefined;
3263
+ DAYOFWEEK(): TerminalNode | undefined;
3264
+ DAYOFMONTH(): TerminalNode | undefined;
3265
+ DAYOFYEAR(): TerminalNode | undefined;
3266
+ HOUR(): TerminalNode | undefined;
3267
+ HOUROFDAY(): TerminalNode | undefined;
3268
+ MINUTE(): TerminalNode | undefined;
3269
+ MINUTEOFHOUR(): TerminalNode | undefined;
3270
+ MONTH(): TerminalNode | undefined;
3271
+ MONTHOFYEAR(): TerminalNode | undefined;
3272
+ QUARTER(): TerminalNode | undefined;
3273
+ QUARTEROFYEAR(): TerminalNode | undefined;
3274
+ YEAR(): TerminalNode | undefined;
3275
+ WEEK(): TerminalNode | undefined;
3276
+ WEEKOFYEAR(): TerminalNode | undefined;
3277
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
3278
+ get ruleIndex(): number;
3279
+ enterRule(listener: MaqlParserListener): void;
3280
+ exitRule(listener: MaqlParserListener): void;
3281
+ accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
3282
+ }
3283
+
3284
+ declare type FunctionAstType = keyof typeof functionDefinitions;
3285
+ declare type FunctionName = keyof typeof functionDefinitions["function"];
3286
+ declare type TimeMacroName = keyof typeof functionDefinitions["time macro"];
3287
+ declare function isMaqlFunctionName(name: string, astType: "function"): name is FunctionName;
3288
+ declare function isMaqlFunctionName(name: string, astType: "time macro"): name is TimeMacroName;
3289
+ declare function isMaqlFunctionName(name: string, astType: FunctionAstType): name is FunctionName | TimeMacroName;
3290
+ declare type ParameterType = "CHRONOLOGICAL_GRANULARITY_LITERAL" | "DATASET" | "DATE" | "GRANULARITY_LITERAL" | "INTEGER_LITERAL" | "NUMERIC" | "NUMERIC_LITERAL" | "STRING";
3291
+ declare type FunctionParameter = {
3292
+ type: ParameterType;
3293
+ };
3294
+ declare type FunctionDefinition = {
3295
+ operands: FunctionParameter[];
3296
+ returns: FunctionParameter;
3297
+ vararg?: boolean;
3298
+ };
3299
+ declare const functionDefinitions: {
3300
+ readonly function: {
3301
+ readonly ABS: readonly [{
3302
+ readonly operands: readonly [{
3303
+ readonly type: "NUMERIC";
3304
+ }];
3305
+ readonly returns: {
3306
+ readonly type: "NUMERIC";
3307
+ };
3308
+ }];
3309
+ readonly APPROXIMATE_COUNT: readonly [{
3310
+ readonly operands: readonly [{
3311
+ readonly type: "DATASET";
3312
+ }];
3313
+ readonly returns: {
3314
+ readonly type: "NUMERIC";
3315
+ };
3316
+ }, {
3317
+ readonly operands: readonly [{
3318
+ readonly type: "DATE";
3319
+ }];
3320
+ readonly returns: {
3321
+ readonly type: "NUMERIC";
3322
+ };
3323
+ }, {
3324
+ readonly operands: readonly [{
3325
+ readonly type: "STRING";
3326
+ }];
3327
+ readonly returns: {
3328
+ readonly type: "NUMERIC";
3329
+ };
3330
+ }, {
3331
+ readonly operands: readonly [{
3332
+ readonly type: "STRING";
3333
+ }, {
3334
+ readonly type: "STRING";
3335
+ }];
3336
+ readonly returns: {
3337
+ readonly type: "NUMERIC";
3338
+ };
3339
+ }, {
3340
+ readonly operands: readonly [{
3341
+ readonly type: "STRING";
3342
+ }, {
3343
+ readonly type: "DATASET";
3344
+ }];
3345
+ readonly returns: {
3346
+ readonly type: "NUMERIC";
3347
+ };
3348
+ }, {
3349
+ readonly operands: readonly [{
3350
+ readonly type: "DATE";
3351
+ }, {
3352
+ readonly type: "STRING";
3353
+ }];
3354
+ readonly returns: {
3355
+ readonly type: "NUMERIC";
3356
+ };
3357
+ }, {
3358
+ readonly operands: readonly [{
3359
+ readonly type: "DATE";
3360
+ }, {
3361
+ readonly type: "DATASET";
3362
+ }];
3363
+ readonly returns: {
3364
+ readonly type: "NUMERIC";
3365
+ };
3366
+ }];
3367
+ readonly AVG: readonly [{
3368
+ readonly operands: readonly [{
3369
+ readonly type: "NUMERIC";
3370
+ }];
3371
+ readonly returns: {
3372
+ readonly type: "NUMERIC";
3373
+ };
3374
+ }];
3375
+ readonly CEIL: readonly [{
3376
+ readonly operands: readonly [{
3377
+ readonly type: "NUMERIC";
3378
+ }];
3379
+ readonly returns: {
3380
+ readonly type: "NUMERIC";
3381
+ };
3382
+ }];
3383
+ readonly CEILING: readonly [{
3384
+ readonly operands: readonly [{
3385
+ readonly type: "NUMERIC";
3386
+ }];
3387
+ readonly returns: {
3388
+ readonly type: "NUMERIC";
3389
+ };
3390
+ }];
3391
+ readonly CORREL: readonly [{
3392
+ readonly operands: readonly [{
3393
+ readonly type: "NUMERIC";
3394
+ }, {
3395
+ readonly type: "NUMERIC";
3396
+ }];
3397
+ readonly returns: {
3398
+ readonly type: "NUMERIC";
3399
+ };
3400
+ }];
3401
+ readonly COUNT: readonly [{
3402
+ readonly operands: readonly [{
3403
+ readonly type: "DATE";
3404
+ }];
3405
+ readonly returns: {
3406
+ readonly type: "NUMERIC";
3407
+ };
3408
+ }, {
3409
+ readonly operands: readonly [{
3410
+ readonly type: "DATASET";
3411
+ }];
3412
+ readonly returns: {
3413
+ readonly type: "NUMERIC";
3414
+ };
3415
+ }, {
3416
+ readonly operands: readonly [{
3417
+ readonly type: "STRING";
3418
+ }];
3419
+ readonly returns: {
3420
+ readonly type: "NUMERIC";
3421
+ };
3422
+ }, {
3423
+ readonly operands: readonly [{
3424
+ readonly type: "STRING";
3425
+ }, {
3426
+ readonly type: "STRING";
3427
+ }];
3428
+ readonly returns: {
3429
+ readonly type: "NUMERIC";
3430
+ };
3431
+ }, {
3432
+ readonly operands: readonly [{
3433
+ readonly type: "STRING";
3434
+ }, {
3435
+ readonly type: "DATASET";
3436
+ }];
3437
+ readonly returns: {
3438
+ readonly type: "NUMERIC";
3439
+ };
3440
+ }, {
3441
+ readonly operands: readonly [{
3442
+ readonly type: "DATE";
3443
+ }, {
3444
+ readonly type: "STRING";
3445
+ }];
3446
+ readonly returns: {
3447
+ readonly type: "NUMERIC";
3448
+ };
3449
+ }, {
3450
+ readonly operands: readonly [{
3451
+ readonly type: "DATE";
3452
+ }, {
3453
+ readonly type: "DATASET";
3454
+ }];
3455
+ readonly returns: {
3456
+ readonly type: "NUMERIC";
3457
+ };
3458
+ }];
3459
+ readonly COVAR: readonly [{
3460
+ readonly operands: readonly [{
3461
+ readonly type: "NUMERIC";
3462
+ }, {
3463
+ readonly type: "NUMERIC";
3464
+ }];
3465
+ readonly returns: {
3466
+ readonly type: "NUMERIC";
3467
+ };
3468
+ }];
3469
+ readonly COVARP: readonly [{
3470
+ readonly operands: readonly [{
3471
+ readonly type: "NUMERIC";
3472
+ }, {
3473
+ readonly type: "NUMERIC";
3474
+ }];
3475
+ readonly returns: {
3476
+ readonly type: "NUMERIC";
3477
+ };
3478
+ }];
3479
+ readonly CUME_DIST: readonly [{
3480
+ readonly operands: readonly [{
3481
+ readonly type: "NUMERIC";
3482
+ }];
3483
+ readonly returns: {
3484
+ readonly type: "NUMERIC";
3485
+ };
3486
+ }];
3487
+ readonly DATETIME_ADD: readonly [{
3488
+ readonly operands: readonly [{
3489
+ readonly type: "DATE";
3490
+ }, {
3491
+ readonly type: "CHRONOLOGICAL_GRANULARITY_LITERAL";
3492
+ }, {
3493
+ readonly type: "INTEGER_LITERAL";
3494
+ }];
3495
+ readonly returns: {
3496
+ readonly type: "DATE";
3497
+ };
3498
+ }, {
3499
+ readonly operands: readonly [{
3500
+ readonly type: "DATE";
3501
+ }, {
3502
+ readonly type: "INTEGER_LITERAL";
3503
+ }];
3504
+ readonly returns: {
3505
+ readonly type: "DATE";
3506
+ };
3507
+ }];
3508
+ readonly DATETIME_DIFF: readonly [{
3509
+ readonly operands: readonly [{
3510
+ readonly type: "DATE";
3511
+ }, {
3512
+ readonly type: "DATE";
3513
+ }, {
3514
+ readonly type: "CHRONOLOGICAL_GRANULARITY_LITERAL";
3515
+ }];
3516
+ readonly returns: {
3517
+ readonly type: "NUMERIC";
3518
+ };
3519
+ }, {
3520
+ readonly operands: readonly [{
3521
+ readonly type: "DATE";
3522
+ }, {
3523
+ readonly type: "DATE";
3524
+ }];
3525
+ readonly returns: {
3526
+ readonly type: "NUMERIC";
3527
+ };
3528
+ }];
3529
+ readonly DENSE_RANK: readonly [{
3530
+ readonly operands: readonly [{
3531
+ readonly type: "NUMERIC";
3532
+ }];
3533
+ readonly returns: {
3534
+ readonly type: "NUMERIC";
3535
+ };
3536
+ }];
3537
+ readonly EXP: readonly [{
3538
+ readonly operands: readonly [{
3539
+ readonly type: "NUMERIC";
3540
+ }];
3541
+ readonly returns: {
3542
+ readonly type: "NUMERIC";
3543
+ };
3544
+ }];
3545
+ readonly FIRST_VALUE: readonly [{
3546
+ readonly operands: readonly [{
3547
+ readonly type: "NUMERIC";
3548
+ }];
3549
+ readonly returns: {
3550
+ readonly type: "NUMERIC";
3551
+ };
3552
+ }];
3553
+ readonly FLOOR: readonly [{
3554
+ readonly operands: readonly [{
3555
+ readonly type: "NUMERIC";
3556
+ }];
3557
+ readonly returns: {
3558
+ readonly type: "NUMERIC";
3559
+ };
3560
+ }];
3561
+ readonly GREATEST: readonly [{
3562
+ readonly operands: readonly [{
3563
+ readonly type: "NUMERIC";
3564
+ }];
3565
+ readonly returns: {
3566
+ readonly type: "NUMERIC";
3567
+ };
3568
+ readonly vararg: true;
3569
+ }];
3570
+ readonly IFNULL: readonly [{
3571
+ readonly operands: readonly [{
3572
+ readonly type: "NUMERIC";
3573
+ }, {
3574
+ readonly type: "NUMERIC_LITERAL";
3575
+ }];
3576
+ readonly returns: {
3577
+ readonly type: "NUMERIC";
3578
+ };
3579
+ }];
3580
+ readonly INTERCEPT: readonly [{
3581
+ readonly operands: readonly [{
3582
+ readonly type: "NUMERIC";
3583
+ }, {
3584
+ readonly type: "NUMERIC";
3585
+ }];
3586
+ readonly returns: {
3587
+ readonly type: "NUMERIC";
3588
+ };
3589
+ }];
3590
+ readonly LAST_VALUE: readonly [{
3591
+ readonly operands: readonly [{
3592
+ readonly type: "NUMERIC";
3593
+ }];
3594
+ readonly returns: {
3595
+ readonly type: "NUMERIC";
3596
+ };
3597
+ }];
3598
+ readonly LEAST: readonly [{
3599
+ readonly operands: readonly [{
3600
+ readonly type: "NUMERIC";
3601
+ }];
3602
+ readonly returns: {
3603
+ readonly type: "NUMERIC";
3604
+ };
3605
+ readonly vararg: true;
3606
+ }];
3607
+ readonly LN: readonly [{
3608
+ readonly operands: readonly [{
3609
+ readonly type: "NUMERIC";
3610
+ }];
3611
+ readonly returns: {
3612
+ readonly type: "NUMERIC";
3613
+ };
3614
+ }];
3615
+ readonly LOG: readonly [{
3616
+ readonly operands: readonly [{
3617
+ readonly type: "NUMERIC";
3618
+ }];
3619
+ readonly returns: {
3620
+ readonly type: "NUMERIC";
3621
+ };
3622
+ }, {
3623
+ readonly operands: readonly [{
3624
+ readonly type: "NUMERIC";
3625
+ }, {
3626
+ readonly type: "NUMERIC";
3627
+ }];
3628
+ readonly returns: {
3629
+ readonly type: "NUMERIC";
3630
+ };
3631
+ }];
3632
+ readonly MAX: readonly [{
3633
+ readonly operands: readonly [{
3634
+ readonly type: "NUMERIC";
3635
+ }];
3636
+ readonly returns: {
3637
+ readonly type: "NUMERIC";
3638
+ };
3639
+ }, {
3640
+ readonly operands: readonly [{
3641
+ readonly type: "STRING";
3642
+ }];
3643
+ readonly returns: {
3644
+ readonly type: "STRING";
3645
+ };
3646
+ }, {
3647
+ readonly operands: readonly [{
3648
+ readonly type: "DATE";
3649
+ }];
3650
+ readonly returns: {
3651
+ readonly type: "DATE";
3652
+ };
3653
+ }, {
3654
+ readonly operands: readonly [{
3655
+ readonly type: "NUMERIC";
3656
+ }, {
3657
+ readonly type: "DATASET";
3658
+ }];
3659
+ readonly returns: {
3660
+ readonly type: "NUMERIC";
3661
+ };
3662
+ }, {
3663
+ readonly operands: readonly [{
3664
+ readonly type: "STRING";
3665
+ }, {
3666
+ readonly type: "DATASET";
3667
+ }];
3668
+ readonly returns: {
3669
+ readonly type: "STRING";
3670
+ };
3671
+ }, {
3672
+ readonly operands: readonly [{
3673
+ readonly type: "DATE";
3674
+ }, {
3675
+ readonly type: "DATASET";
3676
+ }];
3677
+ readonly returns: {
3678
+ readonly type: "DATE";
3679
+ };
3680
+ }, {
3681
+ readonly operands: readonly [{
3682
+ readonly type: "NUMERIC";
3683
+ }, {
3684
+ readonly type: "STRING";
3685
+ }];
3686
+ readonly returns: {
3687
+ readonly type: "NUMERIC";
3688
+ };
3689
+ }, {
3690
+ readonly operands: readonly [{
3691
+ readonly type: "STRING";
3692
+ }, {
3693
+ readonly type: "STRING";
3694
+ }];
3695
+ readonly returns: {
3696
+ readonly type: "STRING";
3697
+ };
3698
+ }, {
3699
+ readonly operands: readonly [{
3700
+ readonly type: "DATE";
3701
+ }, {
3702
+ readonly type: "STRING";
3703
+ }];
3704
+ readonly returns: {
3705
+ readonly type: "DATE";
3706
+ };
3707
+ }];
3708
+ readonly MEDIAN: readonly [{
3709
+ readonly operands: readonly [{
3710
+ readonly type: "NUMERIC";
3711
+ }];
3712
+ readonly returns: {
3713
+ readonly type: "NUMERIC";
3714
+ };
3715
+ }];
3716
+ readonly MIN: readonly [{
3717
+ readonly operands: readonly [{
3718
+ readonly type: "NUMERIC";
3719
+ }];
3720
+ readonly returns: {
3721
+ readonly type: "NUMERIC";
3722
+ };
3723
+ }, {
3724
+ readonly operands: readonly [{
3725
+ readonly type: "STRING";
3726
+ }];
3727
+ readonly returns: {
3728
+ readonly type: "STRING";
3729
+ };
3730
+ }, {
3731
+ readonly operands: readonly [{
3732
+ readonly type: "DATE";
3733
+ }];
3734
+ readonly returns: {
3735
+ readonly type: "DATE";
3736
+ };
3737
+ }, {
3738
+ readonly operands: readonly [{
3739
+ readonly type: "NUMERIC";
3740
+ }, {
3741
+ readonly type: "DATASET";
3742
+ }];
3743
+ readonly returns: {
3744
+ readonly type: "NUMERIC";
3745
+ };
3746
+ }, {
3747
+ readonly operands: readonly [{
3748
+ readonly type: "STRING";
3749
+ }, {
3750
+ readonly type: "DATASET";
3751
+ }];
3752
+ readonly returns: {
3753
+ readonly type: "STRING";
3754
+ };
3755
+ }, {
3756
+ readonly operands: readonly [{
3757
+ readonly type: "DATE";
3758
+ }, {
3759
+ readonly type: "DATASET";
3760
+ }];
3761
+ readonly returns: {
3762
+ readonly type: "DATE";
3763
+ };
3764
+ }, {
3765
+ readonly operands: readonly [{
3766
+ readonly type: "NUMERIC";
3767
+ }, {
3768
+ readonly type: "STRING";
3769
+ }];
3770
+ readonly returns: {
3771
+ readonly type: "NUMERIC";
3772
+ };
3773
+ }, {
3774
+ readonly operands: readonly [{
3775
+ readonly type: "STRING";
3776
+ }, {
3777
+ readonly type: "STRING";
3778
+ }];
3779
+ readonly returns: {
3780
+ readonly type: "STRING";
3781
+ };
3782
+ }, {
3783
+ readonly operands: readonly [{
3784
+ readonly type: "DATE";
3785
+ }, {
3786
+ readonly type: "STRING";
3787
+ }];
3788
+ readonly returns: {
3789
+ readonly type: "DATE";
3790
+ };
3791
+ }];
3792
+ readonly NEXT: readonly [{
3793
+ readonly operands: readonly [{
3794
+ readonly type: "DATE";
3795
+ }];
3796
+ readonly returns: {
3797
+ readonly type: "DATE";
3798
+ };
3799
+ }, {
3800
+ readonly operands: readonly [{
3801
+ readonly type: "DATE";
3802
+ }, {
3803
+ readonly type: "INTEGER_LITERAL";
3804
+ }];
3805
+ readonly returns: {
3806
+ readonly type: "DATE";
3807
+ };
3808
+ }];
3809
+ readonly NEXTPERIOD: readonly [{
3810
+ readonly operands: readonly [{
3811
+ readonly type: "DATE";
3812
+ }];
3813
+ readonly returns: {
3814
+ readonly type: "DATE";
3815
+ };
3816
+ }, {
3817
+ readonly operands: readonly [{
3818
+ readonly type: "DATE";
3819
+ }, {
3820
+ readonly type: "INTEGER_LITERAL";
3821
+ }];
3822
+ readonly returns: {
3823
+ readonly type: "DATE";
3824
+ };
3825
+ }];
3826
+ readonly PERCENTILE: readonly [{
3827
+ readonly operands: readonly [{
3828
+ readonly type: "NUMERIC";
3829
+ }, {
3830
+ readonly type: "NUMERIC_LITERAL";
3831
+ }];
3832
+ readonly returns: {
3833
+ readonly type: "NUMERIC";
3834
+ };
3835
+ }];
3836
+ readonly PERCENT_RANK: readonly [{
3837
+ readonly operands: readonly [{
3838
+ readonly type: "NUMERIC";
3839
+ }];
3840
+ readonly returns: {
3841
+ readonly type: "NUMERIC";
3842
+ };
3843
+ }];
3844
+ readonly POWER: readonly [{
3845
+ readonly operands: readonly [{
3846
+ readonly type: "NUMERIC";
3847
+ }, {
3848
+ readonly type: "NUMERIC";
3849
+ }];
3850
+ readonly returns: {
3851
+ readonly type: "NUMERIC";
3852
+ };
3853
+ }];
3854
+ readonly PREVIOUS: readonly [{
3855
+ readonly operands: readonly [{
3856
+ readonly type: "DATE";
3857
+ }];
3858
+ readonly returns: {
3859
+ readonly type: "DATE";
3860
+ };
3861
+ }, {
3862
+ readonly operands: readonly [{
3863
+ readonly type: "DATE";
3864
+ }, {
3865
+ readonly type: "INTEGER_LITERAL";
3866
+ }];
3867
+ readonly returns: {
3868
+ readonly type: "DATE";
3869
+ };
3870
+ }];
3871
+ readonly PREVIOUSPERIOD: readonly [{
3872
+ readonly operands: readonly [{
3873
+ readonly type: "DATE";
3874
+ }];
3875
+ readonly returns: {
3876
+ readonly type: "DATE";
3877
+ };
3878
+ }, {
3879
+ readonly operands: readonly [{
3880
+ readonly type: "DATE";
3881
+ }, {
3882
+ readonly type: "INTEGER_LITERAL";
3883
+ }];
3884
+ readonly returns: {
3885
+ readonly type: "DATE";
3886
+ };
3887
+ }];
3888
+ readonly RANK: readonly [{
3889
+ readonly operands: readonly [{
3890
+ readonly type: "NUMERIC";
3891
+ }];
3892
+ readonly returns: {
3893
+ readonly type: "NUMERIC";
3894
+ };
3895
+ readonly vararg: true;
3896
+ }];
3897
+ readonly ROUND: readonly [{
3898
+ readonly operands: readonly [{
3899
+ readonly type: "NUMERIC";
3900
+ }];
3901
+ readonly returns: {
3902
+ readonly type: "NUMERIC";
3903
+ };
3904
+ }, {
3905
+ readonly operands: readonly [{
3906
+ readonly type: "NUMERIC";
3907
+ }, {
3908
+ readonly type: "NUMERIC_LITERAL";
3909
+ }];
3910
+ readonly returns: {
3911
+ readonly type: "NUMERIC";
3912
+ };
3913
+ }];
3914
+ readonly ROW_NUMBER: readonly [{
3915
+ readonly operands: readonly [{
3916
+ readonly type: "NUMERIC";
3917
+ }];
3918
+ readonly returns: {
3919
+ readonly type: "NUMERIC";
3920
+ };
3921
+ }];
3922
+ readonly RSQ: readonly [{
3923
+ readonly operands: readonly [{
3924
+ readonly type: "NUMERIC";
3925
+ }, {
3926
+ readonly type: "NUMERIC";
3927
+ }];
3928
+ readonly returns: {
3929
+ readonly type: "NUMERIC";
3930
+ };
3931
+ }];
3932
+ readonly RUNAVG: readonly [{
3933
+ readonly operands: readonly [{
3934
+ readonly type: "NUMERIC";
3935
+ }];
3936
+ readonly returns: {
3937
+ readonly type: "NUMERIC";
3938
+ };
3939
+ }];
3940
+ readonly RUNMAX: readonly [{
3941
+ readonly operands: readonly [{
3942
+ readonly type: "NUMERIC";
3943
+ }];
3944
+ readonly returns: {
3945
+ readonly type: "NUMERIC";
3946
+ };
3947
+ }];
3948
+ readonly RUNMIN: readonly [{
3949
+ readonly operands: readonly [{
3950
+ readonly type: "NUMERIC";
3951
+ }];
3952
+ readonly returns: {
3953
+ readonly type: "NUMERIC";
3954
+ };
3955
+ }];
3956
+ readonly RUNSUM: readonly [{
3957
+ readonly operands: readonly [{
3958
+ readonly type: "NUMERIC";
3959
+ }];
3960
+ readonly returns: {
3961
+ readonly type: "NUMERIC";
3962
+ };
3963
+ }];
3964
+ readonly RUNSTDEV: readonly [{
3965
+ readonly operands: readonly [{
3966
+ readonly type: "NUMERIC";
3967
+ }];
3968
+ readonly returns: {
3969
+ readonly type: "NUMERIC";
3970
+ };
3971
+ }];
3972
+ readonly RUNSTDEVP: readonly [{
3973
+ readonly operands: readonly [{
3974
+ readonly type: "NUMERIC";
3975
+ }];
3976
+ readonly returns: {
3977
+ readonly type: "NUMERIC";
3978
+ };
3979
+ }];
3980
+ readonly RUNVAR: readonly [{
3981
+ readonly operands: readonly [{
3982
+ readonly type: "NUMERIC";
3983
+ }];
3984
+ readonly returns: {
3985
+ readonly type: "NUMERIC";
3986
+ };
3987
+ }];
3988
+ readonly RUNVARP: readonly [{
3989
+ readonly operands: readonly [{
3990
+ readonly type: "NUMERIC";
3991
+ }];
3992
+ readonly returns: {
3993
+ readonly type: "NUMERIC";
3994
+ };
3995
+ }];
3996
+ readonly SIGN: readonly [{
3997
+ readonly operands: readonly [{
3998
+ readonly type: "NUMERIC";
3999
+ }];
4000
+ readonly returns: {
4001
+ readonly type: "NUMERIC";
4002
+ };
4003
+ }];
4004
+ readonly SLOPE: readonly [{
4005
+ readonly operands: readonly [{
4006
+ readonly type: "NUMERIC";
4007
+ }, {
4008
+ readonly type: "NUMERIC";
4009
+ }];
4010
+ readonly returns: {
4011
+ readonly type: "NUMERIC";
4012
+ };
4013
+ }];
4014
+ readonly SQRT: readonly [{
4015
+ readonly operands: readonly [{
4016
+ readonly type: "NUMERIC";
4017
+ }];
4018
+ readonly returns: {
4019
+ readonly type: "NUMERIC";
4020
+ };
4021
+ }];
4022
+ readonly STDEV: readonly [{
4023
+ readonly operands: readonly [{
4024
+ readonly type: "NUMERIC";
4025
+ }];
4026
+ readonly returns: {
4027
+ readonly type: "NUMERIC";
4028
+ };
4029
+ }];
4030
+ readonly STDEVP: readonly [{
4031
+ readonly operands: readonly [{
4032
+ readonly type: "NUMERIC";
4033
+ }];
4034
+ readonly returns: {
4035
+ readonly type: "NUMERIC";
4036
+ };
4037
+ }];
4038
+ readonly SUM: readonly [{
4039
+ readonly operands: readonly [{
4040
+ readonly type: "NUMERIC";
4041
+ }];
4042
+ readonly returns: {
4043
+ readonly type: "NUMERIC";
4044
+ };
4045
+ }];
4046
+ readonly TRUNC: readonly [{
4047
+ readonly operands: readonly [{
4048
+ readonly type: "NUMERIC";
4049
+ }];
4050
+ readonly returns: {
4051
+ readonly type: "NUMERIC";
4052
+ };
4053
+ }, {
4054
+ readonly operands: readonly [{
4055
+ readonly type: "NUMERIC";
4056
+ }, {
4057
+ readonly type: "NUMERIC_LITERAL";
4058
+ }];
4059
+ readonly returns: {
4060
+ readonly type: "NUMERIC";
4061
+ };
4062
+ }];
4063
+ readonly VAR: readonly [{
4064
+ readonly operands: readonly [{
4065
+ readonly type: "NUMERIC";
4066
+ }];
4067
+ readonly returns: {
4068
+ readonly type: "NUMERIC";
4069
+ };
4070
+ }];
4071
+ readonly VARP: readonly [{
4072
+ readonly operands: readonly [{
4073
+ readonly type: "NUMERIC";
4074
+ }];
4075
+ readonly returns: {
4076
+ readonly type: "NUMERIC";
4077
+ };
4078
+ }];
4079
+ };
4080
+ readonly "time macro": {
4081
+ readonly NEXT: readonly [{
4082
+ readonly operands: readonly [{
4083
+ readonly type: "GRANULARITY_LITERAL";
4084
+ }];
4085
+ readonly returns: {
4086
+ readonly type: "DATE";
4087
+ };
4088
+ }, {
4089
+ readonly operands: readonly [{
4090
+ readonly type: "GRANULARITY_LITERAL";
4091
+ }, {
4092
+ readonly type: "INTEGER_LITERAL";
4093
+ }];
4094
+ readonly returns: {
4095
+ readonly type: "DATE";
4096
+ };
4097
+ }];
4098
+ readonly PREVIOUS: readonly [{
4099
+ readonly operands: readonly [{
4100
+ readonly type: "GRANULARITY_LITERAL";
4101
+ }];
4102
+ readonly returns: {
4103
+ readonly type: "DATE";
4104
+ };
4105
+ }, {
4106
+ readonly operands: readonly [{
4107
+ readonly type: "GRANULARITY_LITERAL";
4108
+ }, {
4109
+ readonly type: "INTEGER_LITERAL";
4110
+ }];
4111
+ readonly returns: {
4112
+ readonly type: "DATE";
4113
+ };
4114
+ }];
4115
+ readonly THIS: readonly [{
4116
+ readonly operands: readonly [{
4117
+ readonly type: "GRANULARITY_LITERAL";
4118
+ }];
4119
+ readonly returns: {
4120
+ readonly type: "DATE";
4121
+ };
4122
+ }, {
4123
+ readonly operands: readonly [{
4124
+ readonly type: "GRANULARITY_LITERAL";
4125
+ }, {
4126
+ readonly type: "INTEGER_LITERAL";
4127
+ }];
4128
+ readonly returns: {
4129
+ readonly type: "DATE";
4130
+ };
4131
+ }];
4132
+ };
4133
+ };
4134
+
4135
+ /**
4136
+ * ANTLR4 CharStream extension that sees all characters as lowercase
4137
+ */
4138
+ declare class CaseInsensitiveCharStream extends CodePointCharStream {
4139
+ constructor(s: string, sourceName?: string);
4140
+ /**
4141
+ * Modified lookahead method.
4142
+ * Transform the character to lowercase before passing it to the caller.
4143
+ * The input string is not modified.
4144
+ */
4145
+ LA(i: number): number;
4146
+ }
4147
+
4148
+ /**
4149
+ * Inclusive range from `start` to `end` in a text document
4150
+ */
4151
+ interface IRange {
4152
+ start: IPosition;
4153
+ end: IPosition;
4154
+ }
4155
+ /**
4156
+ * @property {number} line - starts at 0
4157
+ * @property {number} character - starts at 1, 0 refers to the beginning of a line
4158
+ */
4159
+ interface IPosition {
4160
+ line: number;
4161
+ character: number;
4162
+ }
4163
+ declare function positionInRange(position: IPosition, range: IRange): boolean;
4164
+ declare function mergeRanges(r1: IRange, r2: IRange): IRange;
4165
+
4166
+ /**
4167
+ * ANTLR error listener that saves encountered errors
4168
+ */
4169
+ declare class SyntaxErrorListener implements ANTLRErrorListener<Token> {
4170
+ readonly antlrErrors: IAntlrError[];
4171
+ syntaxError(_recognizer: Recognizer<Token, any>, offendingToken: Token | undefined, line: number, startCharacter: number, msg: string, error: RecognitionException | undefined): void;
4172
+ }
4173
+ interface IAntlrError {
4174
+ position: IPosition;
4175
+ message: string;
4176
+ offendingToken?: Token;
4177
+ error?: RecognitionException;
4178
+ }
4179
+
4180
+ declare const selectTypes: readonly ["metric"];
4181
+ declare type Select = typeof selectTypes[number];
4182
+ declare class SelectNode extends AstNode {
4183
+ readonly expression: ExpressionNode;
4184
+ readonly by?: AstNode | undefined;
4185
+ readonly forEach?: AstNode | undefined;
4186
+ readonly datetimeTransformation?: AstNode | undefined;
4187
+ readonly filter?: AstNode | undefined;
4188
+ readonly using?: AstNode | undefined;
4189
+ readonly parentFilterModification?: AstNode | undefined;
4190
+ type: Select;
4191
+ constructor(expression: ExpressionNode, by?: AstNode | undefined, forEach?: AstNode | undefined, datetimeTransformation?: AstNode | undefined, filter?: AstNode | undefined, using?: AstNode | undefined, parentFilterModification?: AstNode | undefined);
4192
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4193
+ }
4194
+ declare const expressionTypes: readonly ["expression"];
4195
+ declare type Expression = typeof expressionTypes[number];
4196
+ declare class ExpressionNode extends AstNode {
4197
+ readonly expression: AstNode;
4198
+ type: Expression;
4199
+ constructor(expression: AstNode);
4200
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4201
+ }
4202
+ declare const byTypes: readonly ["by"];
4203
+ declare type By = typeof byTypes[number];
4204
+ declare class ByNode extends AstNode {
4205
+ type: By;
4206
+ constructor(operands: AstNode[]);
4207
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4208
+ }
4209
+ declare const dimensionOperatorTypes: readonly ["all", "all other"];
4210
+ declare type DimensionOperator = typeof dimensionOperatorTypes[number];
4211
+ declare class DimensionOperatorNode extends AstNode {
4212
+ type: DimensionOperator;
4213
+ constructor(type: DimensionOperator, operands: AstNode[]);
4214
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4215
+ }
4216
+ declare const datetimeTransformationTypes: readonly ["for"];
4217
+ declare type DatetimeTransformation = typeof datetimeTransformationTypes[number];
4218
+ declare class DatetimeTransformationNode extends AstNode {
4219
+ type: DatetimeTransformation;
4220
+ constructor(name: string, operands: AstNode[]);
4221
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4222
+ }
4223
+ declare const filterTypes: readonly ["where", "having"];
4224
+ declare type Filter = typeof filterTypes[number];
4225
+ declare class FilterNode extends AstNode {
4226
+ readonly condition: AstNode;
4227
+ type: Filter;
4228
+ constructor(type: Filter, condition: AstNode);
4229
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4230
+ }
4231
+ declare const usingTypes: readonly ["using"];
4232
+ declare type Using = typeof usingTypes[number];
4233
+ declare class UsingNode extends AstNode {
4234
+ type: Using;
4235
+ constructor(operands: AstNode[]);
4236
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4237
+ }
4238
+ declare const parentFilterModificationTypes: readonly ["with pf", "without pf"];
4239
+ declare type ParentFilterModification = typeof parentFilterModificationTypes[number];
4240
+ declare class ParentFilterModificationNode extends AstNode {
4241
+ type: ParentFilterModification;
4242
+ constructor(type: ParentFilterModification, operand?: AstNode);
4243
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4244
+ }
4245
+ declare const modificationOperatorTypes: readonly ["stop", "pass"];
4246
+ declare type ModificationOperator = typeof modificationOperatorTypes[number];
4247
+ declare class ModificationOperatorNode extends AstNode {
4248
+ type: ModificationOperator;
4249
+ constructor(type: ModificationOperator, operands: AstNode[]);
4250
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4251
+ }
4252
+ declare const forEachTypes: readonly ["for each"];
4253
+ declare type ForEach = typeof forEachTypes[number];
4254
+ declare class ForEachNode extends AstNode {
4255
+ type: ForEach;
4256
+ constructor(operands: AstNode[]);
4257
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4258
+ }
4259
+
4260
+ declare const operatorTypes: readonly ["or", "and", "not", "=", "<>", ">=", "<=", "<", ">", "*", "/", "+", "-", "neg", "between", "not between", "in", "not in", "like", "ilike", "not like", "not ilike"];
4261
+ declare type Operator = typeof operatorTypes[number];
4262
+ declare function isOperator(type: string): type is Operator;
4263
+ declare class OperatorNode extends AstNode {
4264
+ type: Operator;
4265
+ constructor(type: Operator, operands: AstNode[]);
4266
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4267
+ }
4268
+
4269
+ declare const functionTypes: readonly ["function", "time macro"];
4270
+ declare type MaqlFunction = typeof functionTypes[number];
4271
+ declare function isMaqlFunction(type: string): type is MaqlFunction;
4272
+ declare class FunctionNode extends AstNode {
4273
+ readonly name: string;
4274
+ type: MaqlFunction;
4275
+ constructor(type: MaqlFunction, name: string, operands: AstNode[]);
4276
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4277
+ }
4278
+ declare const runningFunctionTypes: readonly ["running function"];
4279
+ declare type RunningFunction = typeof runningFunctionTypes[number];
4280
+ declare class RunningFunctionNode extends AstNode {
4281
+ readonly within?: AstNode | undefined;
4282
+ readonly rollWindow?: AstNode | undefined;
4283
+ type: RunningFunction;
4284
+ readonly functionNode: FunctionNode;
4285
+ constructor(name: string, operand: AstNode, within?: AstNode | undefined, rollWindow?: AstNode | undefined);
4286
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4287
+ }
4288
+ declare const windowTypes: readonly ["window"];
4289
+ declare type Window = typeof windowTypes[number];
4290
+ declare class WindowNode extends AstNode {
4291
+ type: Window;
4292
+ constructor(bounds: AstNode[]);
4293
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4294
+ }
4295
+ declare const windowBoundTypes: readonly ["preceding", "following", "current"];
4296
+ declare type WindowBound = typeof windowBoundTypes[number];
4297
+ declare function isWindowBound(type: string): type is WindowBound;
4298
+ declare class WindowBoundNode extends AstNode {
4299
+ type: WindowBound;
4300
+ constructor(type: WindowBound, value?: "unbounded" | string);
4301
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4302
+ }
4303
+ declare const rankFunctionTypes: readonly ["rank function"];
4304
+ declare type RankFunction = typeof rankFunctionTypes[number];
4305
+ declare class RankFunctionNode extends AstNode {
4306
+ readonly within?: AstNode | undefined;
4307
+ type: RankFunction;
4308
+ readonly functionNode: FunctionNode;
4309
+ constructor(name: string, operands: AstNode[], rankDir?: string, within?: AstNode | undefined);
4310
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4311
+ }
4312
+ declare const directionTypes: readonly ["direction"];
4313
+ declare type Direction = typeof directionTypes[number];
4314
+ declare class DirectionNode extends AstNode {
4315
+ type: Direction;
4316
+ constructor(direction: string);
4317
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4318
+ }
4319
+ declare const lastFirstValueFunctionTypes: readonly ["lastfirstvalue function"];
4320
+ declare type LastFirstValueFunction = typeof lastFirstValueFunctionTypes[number];
4321
+ declare class LastFirstValueFunctionNode extends AstNode {
4322
+ readonly orderBy: AstNode;
4323
+ readonly within?: AstNode | undefined;
4324
+ type: LastFirstValueFunction;
4325
+ readonly functionNode: FunctionNode;
4326
+ constructor(name: string, operands: AstNode[], orderBy: AstNode, within?: AstNode | undefined);
4327
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4328
+ }
4329
+ declare const orderByTypes: readonly ["order by"];
4330
+ declare type OrderBy = typeof orderByTypes[number];
4331
+ declare class OrderByNode extends AstNode {
4332
+ type: OrderBy;
4333
+ constructor(operands: AstNode[]);
4334
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4335
+ }
4336
+ declare const orderByElementTypes: readonly ["order by element"];
4337
+ declare type OrderByElement = typeof orderByElementTypes[number];
4338
+ declare class OrderByElementNode extends AstNode {
4339
+ type: OrderByElement;
4340
+ constructor(operand: AstNode, rankDir?: string);
4341
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4342
+ }
4343
+ declare const metricReferenceTypes: readonly ["report metric"];
4344
+ declare type MetricReference = typeof metricReferenceTypes[number];
4345
+ declare class MetricReferenceNode extends AstNode {
4346
+ type: MetricReference;
4347
+ constructor(operand: AstNode);
4348
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4349
+ }
4350
+ declare const listTypes: readonly ["list", "()", "of"];
4351
+ declare type List = typeof listTypes[number];
4352
+ declare class ListNode extends AstNode {
4353
+ type: List;
4354
+ constructor(type: List, operands: AstNode[]);
4355
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4356
+ }
4357
+ declare const imageTypes: readonly ["image"];
4358
+ declare type Image = typeof imageTypes[number];
4359
+ declare class ImageNode extends AstNode {
4360
+ type: Image;
4361
+ constructor(expression: AstNode, mapping: AstNode[]);
4362
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4363
+ }
4364
+ declare const rankingFilterTypes: readonly ["top", "bottom"];
4365
+ declare type RankingFilter = typeof rankingFilterTypes[number];
4366
+ declare function isRankingFilter(type: string): type is RankingFilter;
4367
+ declare class RankingFilterNode extends AstNode {
4368
+ readonly rankSpec: AstNode;
4369
+ readonly operands: AstNode[];
4370
+ readonly within?: AstNode | undefined;
4371
+ type: RankingFilter;
4372
+ constructor(type: RankingFilter, rankSpec: AstNode, operands: AstNode[], within?: AstNode | undefined);
4373
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4374
+ }
4375
+
4376
+ declare const caseTypes: readonly ["case"];
4377
+ declare type Case = typeof caseTypes[number];
4378
+ declare class CaseNode extends AstNode {
4379
+ readonly branches: AstNode[];
4380
+ readonly elseBranch?: AstNode | undefined;
4381
+ type: Case;
4382
+ constructor(branches: AstNode[], elseBranch?: AstNode | undefined);
4383
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4384
+ }
4385
+ declare const conditionalTypes: readonly ["when"];
4386
+ declare type Conditional = typeof conditionalTypes[number];
4387
+ declare class ConditionalNode extends AstNode {
4388
+ readonly condition: AstNode;
4389
+ readonly expression: AstNode;
4390
+ type: Conditional;
4391
+ constructor(condition: AstNode, expression: AstNode);
4392
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4393
+ }
4394
+ declare const elseTypes: readonly ["else"];
4395
+ declare type Else = typeof elseTypes[number];
4396
+ declare class ElseNode extends AstNode {
4397
+ type: Else;
4398
+ constructor(expression: AstNode);
4399
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4400
+ }
4401
+
4402
+ declare const identifierTypes: readonly ["identifier", "raw identifier"];
4403
+ declare type Identifier = typeof identifierTypes[number];
4404
+ declare const objectTypeTypes: readonly ["type"];
4405
+ declare type ObjectType = typeof objectTypeTypes[number];
4406
+ declare const objectIdTypes: readonly ["id"];
4407
+ declare type ObjectId = typeof objectIdTypes[number];
4408
+ declare const objectSpaceTypes: readonly ["space"];
4409
+ declare type ObjectSpace = typeof objectSpaceTypes[number];
4410
+ declare class IdentifierNode extends AstNode {
4411
+ readonly objectType: string;
4412
+ readonly id: string;
4413
+ readonly space?: string | undefined;
4414
+ type: Identifier;
4415
+ constructor(type: Identifier, objectType: string, id: string, space?: string | undefined);
4416
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4417
+ }
4418
+
4419
+ declare const booleanLiteralTypes: readonly ["true", "false"];
4420
+ declare type BooleanLiteral = typeof booleanLiteralTypes[number];
4421
+ declare class BooleanLiteralNode extends AstNode {
4422
+ type: BooleanLiteral;
4423
+ constructor(type: BooleanLiteral);
4424
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4425
+ }
4426
+ declare const numberLiteralTypes: readonly ["number", "percentage", "count"];
4427
+ declare type NumberLiteral = typeof numberLiteralTypes[number];
4428
+ declare type NumberLiteralFormat = "float" | "integer";
4429
+ declare class NumberLiteralNode extends AstNode {
4430
+ readonly format: NumberLiteralFormat;
4431
+ type: NumberLiteral;
4432
+ constructor(type: NumberLiteral, value: string, format?: NumberLiteralFormat);
4433
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4434
+ }
4435
+ declare const stringLiteralTypes: readonly ["string"];
4436
+ declare type StringLiteral = typeof stringLiteralTypes[number];
4437
+ declare class StringLiteralNode extends AstNode {
4438
+ type: StringLiteral;
4439
+ constructor(rawString: string);
4440
+ static fromUnterminated(rawUnterminatedString: string): StringLiteralNode;
4441
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4442
+ }
4443
+ declare function escapeString(string: string, surroundChar?: string): string;
4444
+ declare const nullLiteralTypes: readonly ["null"];
4445
+ declare type NullLiteral = typeof nullLiteralTypes[number];
4446
+ declare class NullLiteralNode extends AstNode {
4447
+ type: NullLiteral;
4448
+ constructor();
4449
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4450
+ }
4451
+ declare const granularityTypes: readonly ["granularity"];
4452
+ declare type Granularity = typeof granularityTypes[number];
4453
+ declare class GranularityNode extends AstNode {
4454
+ type: Granularity;
4455
+ constructor(value: string);
4456
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4457
+ }
4458
+
4459
+ declare abstract class AbstractAstVisitor<Result> {
4460
+ abstract defaultResult(): Result;
4461
+ visit(node: AstNode): Result;
4462
+ visitChildren(node: AstNode): Result;
4463
+ protected shouldVisitNextChild(parentNode: AstNode, currentResult: Result): boolean;
4464
+ protected aggregateResult(aggregate: Result, nextResult: Result): Result;
4465
+ protected mergeResultWithParent(parentNode: AstNode, result: Result): Result;
4466
+ visitEmptyNode(node: EmptyNode): Result;
4467
+ visitSelectNode(node: SelectNode): Result;
4468
+ visitExpressionNode(node: ExpressionNode): Result;
4469
+ visitOperatorNode(node: OperatorNode): Result;
4470
+ visitFunctionNode(node: FunctionNode): Result;
4471
+ visitRunningFunctionNode(node: RunningFunctionNode): Result;
4472
+ visitWindowNode(node: WindowNode): Result;
4473
+ visitWindowBoundNode(node: WindowBoundNode): Result;
4474
+ visitRankFunctionNode(node: RankFunctionNode): Result;
4475
+ visitDirectionNode(node: DirectionNode): Result;
4476
+ visitLastFirstValueFunctionNode(node: LastFirstValueFunctionNode): Result;
4477
+ visitOrderBy(node: OrderByNode): Result;
4478
+ visitOrderByElement(node: OrderByElementNode): Result;
4479
+ visitMetricReferenceNode(node: MetricReferenceNode): Result;
4480
+ visitListNode(node: ListNode): Result;
4481
+ visitImageNode(node: ImageNode): Result;
4482
+ visitRankingFilterNode(node: RankingFilterNode): Result;
4483
+ visitCaseNode(node: CaseNode): Result;
4484
+ visitConditionalNode(node: ConditionalNode): Result;
4485
+ visitElseNode(node: ElseNode): Result;
4486
+ visitIdentifierNode(node: IdentifierNode): Result;
4487
+ visitBooleanLiteralNode(node: BooleanLiteralNode): Result;
4488
+ visitNumberLiteralNode(node: NumberLiteralNode): Result;
4489
+ visitStringLiteralNode(node: StringLiteralNode): Result;
4490
+ visitNullLiteralNode(node: NullLiteralNode): Result;
4491
+ visitGranularityNode(node: GranularityNode): Result;
4492
+ visitByNode(node: ByNode): Result;
4493
+ visitDimensionOperatorNode(node: DimensionOperatorNode): Result;
4494
+ visitDatetimeTransformationNode(node: DatetimeTransformationNode): Result;
4495
+ visitFilterNode(node: FilterNode): Result;
4496
+ visitUsingNode(node: UsingNode): Result;
4497
+ visitParentFilterModificationNode(node: ParentFilterModificationNode): Result;
4498
+ visitModificationOperatorNode(node: ModificationOperatorNode): Result;
4499
+ visitForEachNode(node: ForEachNode): Result;
4500
+ }
4501
+
4502
+ /**
4503
+ * AST node interface compatible with the AST nodes from the Kotlin implementation of MAQL Parser
4504
+ */
4505
+ interface IAstNode {
4506
+ readonly type: AstType;
4507
+ readonly value: string;
4508
+ readonly content: IAstNode[];
4509
+ }
4510
+ /**
4511
+ * Base class for MAQL AST nodes
4512
+ */
4513
+ declare class AstNode implements IAstNode {
4514
+ readonly type: AstType;
4515
+ readonly value: string;
4516
+ readonly content: AstNode[];
4517
+ /**
4518
+ * Range in the original query with only meaningful tokens. Does not overlap with sibling nodes
4519
+ */
4520
+ range?: IRange;
4521
+ /**
4522
+ * Range in the original query with meaningful and adjacent tokens e.g. whitespace. May overlap with sibling nodes
4523
+ */
4524
+ contextRange?: IRange;
4525
+ constructor(type?: AstType, value?: string, content?: AstNode[]);
4526
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4527
+ }
4528
+ declare type AstType = Empty | Select | Expression | By | DimensionOperator | DatetimeTransformation | Filter | Using | ParentFilterModification | ModificationOperator | Case | Conditional | Else | MaqlFunction | RunningFunction | Window | WindowBound | RankFunction | Direction | LastFirstValueFunction | OrderBy | OrderByElement | Image | RankingFilter | MetricReference | BooleanLiteral | Identifier | ObjectType | ObjectSpace | ObjectId | NumberLiteral | StringLiteral | NullLiteral | Granularity | Operator | List | ForEach;
4529
+ declare type Empty = "";
4530
+ /**
4531
+ * Empty node serves as a placeholder or as an error node. It should never appear from a well-formed query
4532
+ */
4533
+ declare class EmptyNode extends AstNode {
4534
+ type: Empty;
4535
+ constructor(value?: string, content?: AstNode[]);
4536
+ accept<Result>(visitor: AbstractAstVisitor<Result>): Result;
4537
+ }
4538
+ declare function nonNullContent<T extends IAstNode>(...nodes: (T | undefined)[]): T[];
4539
+
4540
+ /**
4541
+ * Fault-tolerant MAQL parse tree visitor, outputting an Abstract syntax tree (AST)
4542
+ * The fault-tolerance necessitates assuming that any context may be undefined.
4543
+ * The only way to do that is to rely on the `tryGetContext` method for non-optional child contexts.
4544
+ */
4545
+ declare class MaqlAstVisitor extends AbstractParseTreeVisitor<AstNode> implements MaqlParserVisitor<AstNode> {
4546
+ private readonly space;
4547
+ private readonly tokenStream?;
4548
+ /**
4549
+ * @param space name of the space (workspace) to which object IDs should be resolved
4550
+ * @param tokenStream token stream of the parser used to gather additional information e.g. range with whitespace
4551
+ */
4552
+ constructor(space: string, tokenStream?: BufferedTokenStream | undefined);
4553
+ protected defaultResult(): AstNode;
4554
+ visit(tree: ParseTree): AstNode;
4555
+ visitErrorNode(node: ErrorNode): AstNode;
4556
+ /**
4557
+ * AST node meant for errors
4558
+ * The range of the node signifies which part of the original query is influenced by the error.
4559
+ */
4560
+ private ErrorNode;
4561
+ /**
4562
+ * Auxiliary AST node to pass content upstream
4563
+ */
4564
+ private ContentNode;
4565
+ visitMaqlMeasure(ctx: MaqlMeasureContext): AstNode;
4566
+ visitMaqlComputedAttribute(ctx: MaqlComputedAttributeContext): AstNode;
4567
+ visitMaqlFilter(ctx: MaqlFilterContext): AstNode;
4568
+ visitSelectExpression(ctx: SelectExpressionContext): AstNode;
4569
+ visitDisjunction(ctx: DisjunctionContext): AstNode;
4570
+ visitConjunction(ctx: ConjunctionContext): AstNode;
4571
+ visitNegation(ctx: NegationContext): AstNode;
4572
+ visitComparison(ctx: ComparisonContext): AstNode;
4573
+ visitRelationRelop(ctx: RelationRelopContext): AstNode;
4574
+ visitRelationNot(ctx: RelationNotContext): AstNode;
4575
+ visitRelationBetween(ctx: RelationBetweenContext): AstNode;
4576
+ visitRelationIn(ctx: RelationInContext): AstNode;
4577
+ visitListLiteral(ctx: ListLiteralContext): AstNode;
4578
+ visitRelationLike(ctx: RelationLikeContext): AstNode;
4579
+ visitAddition(ctx: AdditionContext): AstNode;
4580
+ visitMultiplication(ctx: MultiplicationContext): AstNode;
4581
+ /**
4582
+ * Create an AST with left associativity
4583
+ * @param operators - infix operators, length should be N
4584
+ * @param operandContexts - operands, length should be N + 1
4585
+ */
4586
+ private buildLeftAssociativeAst;
4587
+ visitPrefixUnaryExpression(ctx: PrefixUnaryExpressionContext): AstNode;
4588
+ visitNumber(ctx: NumberContext): AstNode;
4589
+ visitInteger(ctx: IntegerContext): AstNode;
4590
+ /**
4591
+ * Create a unary AST with right associativity
4592
+ * @param operators - unary prefix operators
4593
+ * @param operand - single operand
4594
+ */
4595
+ private buildRightAssociativeUnaryAst;
4596
+ visitTrueLiteral(_: TrueLiteralContext): AstNode;
4597
+ visitFalseLiteral(_: FalseLiteralContext): AstNode;
4598
+ visitParenthesizedExpression(ctx: ParenthesizedExpressionContext): AstNode;
4599
+ visitOverTo(ctx: OverToContext): AstNode;
4600
+ visitReportMetric(ctx: ReportMetricContext): AstNode;
4601
+ visitCase(ctx: CaseContext): AstNode;
4602
+ visitIf(ctx: IfContext): AstNode;
4603
+ visitConditional(ctx: ConditionalContext): AstNode;
4604
+ visitTimeMacro(ctx: TimeMacroContext): AstNode;
4605
+ visitFunctionCall(ctx: FunctionCallContext): AstNode;
4606
+ visitExpressionList(ctx: ExpressionListContext): AstNode;
4607
+ visitFunctionCallRun(ctx: FunctionCallRunContext): AstNode;
4608
+ visitRollWindow(ctx: RollWindowContext): AstNode;
4609
+ visitWindowBounded(ctx: WindowBoundedContext): AstNode;
4610
+ visitWindowUnbounded(ctx: WindowUnboundedContext): AstNode;
4611
+ createWindowBound(ctx: WindowDirContext | undefined, value?: string): AstNode;
4612
+ visitCurrentRow(_: CurrentRowContext): AstNode;
4613
+ visitFunctionCallRank(ctx: FunctionCallRankContext): AstNode;
4614
+ visitFunctionCallLastFirstValue(ctx: FunctionCallLastFirstValueContext): AstNode;
4615
+ visitOrderby(ctx: OrderbyContext): AstNode;
4616
+ visitOrderedElement(ctx: OrderedElementContext): AstNode;
4617
+ visitRankingFilter(ctx: RankingFilterContext): AstNode;
4618
+ visitRankingFilterIn(ctx: RankingFilterInContext): AstNode;
4619
+ visitRankingFilterOf(ctx: RankingFilterOfContext): AstNode;
4620
+ visitNumeric(ctx: NumericContext): AstNode;
4621
+ visitFact(ctx: FactContext): AstNode;
4622
+ visitAttribute(ctx: AttributeContext): AstNode;
4623
+ visitAttributeList(ctx: AttributeListContext): AstNode;
4624
+ visitPrompt(ctx: PromptContext): AstNode;
4625
+ private visitObject;
4626
+ visitUReal(ctx: URealContext): AstNode;
4627
+ visitPosInteger(ctx: PosIntegerContext): AstNode;
4628
+ visitUIntegerZero(ctx: UIntegerZeroContext): AstNode;
4629
+ visitPercentage(ctx: PercentageContext): AstNode;
4630
+ visitRankSpecUnumber(ctx: RankSpecUnumberContext): AstNode;
4631
+ visitString(ctx: StringContext): AstNode;
4632
+ /**
4633
+ * Special-case handling of an unterminated string token
4634
+ * Checks if the unterminated string token is present. If yes, return a string node, otherwise return `undefined`
4635
+ */
4636
+ tryVisitUnterminatedString(ctx: ParserRuleContext): AstNode | undefined;
4637
+ visitNullLiteral(_: NullLiteralContext): AstNode;
4638
+ visitGranularity(ctx: GranularityContext): AstNode;
4639
+ visitWithin(ctx: WithinContext): AstNode;
4640
+ visitWithinDimensions(ctx: WithinDimensionsContext): AstNode;
4641
+ visitBy(ctx: ByContext): AstNode;
4642
+ visitForEach(ctx: ForEachContext): AstNode;
4643
+ visitDimensionsDimensionList(ctx: DimensionsDimensionListContext): AstNode;
4644
+ visitDimensionList(ctx: DimensionListContext): AstNode;
4645
+ visitDimensionAll(ctx: DimensionAllContext): AstNode;
4646
+ visitAllOther(ctx: AllOtherContext): AstNode;
4647
+ visitForTransformation(ctx: ForTransformationContext): AstNode;
4648
+ visitWhere(ctx: WhereContext): AstNode;
4649
+ visitHaving(ctx: HavingContext): AstNode;
4650
+ visitUsing(ctx: UsingContext): AstNode;
4651
+ visitWithPf(ctx: WithPfContext): AstNode;
4652
+ visitWithoutPf(ctx: WithoutPfContext): AstNode;
4653
+ visitPf(ctx: WithPfContext | WithoutPfContext, pfType: ParentFilterModification, operator: ModificationOperator): AstNode;
4654
+ }
4655
+ declare type ObjectContext = NumericContext | AttributeContext | FactContext | PromptContext;
4656
+
4657
+ /**
4658
+ * AST visitor which makes adjustment to an AST such that its shape is the same as the output of
4659
+ * the Kotlin version of `MaqlAstVisitor`.
4660
+ */
4661
+ declare class AstNormalizer extends AbstractAstVisitor<AstNode> {
4662
+ defaultResult(): AstNode;
4663
+ protected aggregateResult(aggregate: AstNode, nextResult: AstNode): AstNode;
4664
+ protected mergeResultWithParent(parentNode: AstNode, result: AstNode): AstNode;
4665
+ visitOperatorNode(node: OperatorNode): AstNode;
4666
+ }
4667
+
4668
+ export { AbstractAstVisitor, AdditionContext, AdditiveOperatorContext, AllOtherContext, AstNode, AstNormalizer, AstType, AttributeContext, AttributeListContext, AttributeTypeContext, BooleanLiteral, BooleanLiteralNode, By, ByContext, ByNode, Case, CaseConditionalContext, CaseContext, CaseInsensitiveCharStream, CaseNode, ComparisonContext, Conditional, ConditionalContext, ConditionalNode, ConjunctionContext, CurrentRowContext, DatetimeTransformation, DatetimeTransformationNode, DimensionAllContext, DimensionContext, DimensionListContext, DimensionObjectContext, DimensionOperator, DimensionOperatorNode, DimensionsAllOtherContext, DimensionsContext, DimensionsDimensionListContext, Direction, DirectionNode, DisjunctionContext, Else, ElseNode, EmptyNode, Expression, ExpressionContext, ExpressionListContext, ExpressionNode, FactContext, FalseLiteralContext, Filter, FilterNode, ForEach, ForEachContext, ForEachNode, ForTransformationContext, FunctionAstType, FunctionCallContext, FunctionCallLastFirstValueContext, FunctionCallRankContext, FunctionCallRunContext, FunctionContext, FunctionDefinition, FunctionName, FunctionNode, FunctionParameter, Granularity, GranularityContext, GranularityNode, HavingContext, IAstNode, IPosition, IRange, Identifier, IdentifierNode, IfContext, Image, ImageNode, IntegerContext, LastFirstValueFunction, LastFirstValueFunctionNode, LastfirstvalFunctionNameContext, LikeContext, List, ListLiteralContext, ListNode, LiteralContext, MaqlAstVisitor, MaqlComputedAttributeContext, MaqlContext, MaqlExpressionContext, MaqlFilterContext, MaqlFunction, MaqlLexer, MaqlMeasureContext, MaqlParser, MaqlParserListener, MaqlParserVisitor, MetricReference, MetricReferenceNode, ModificationOperator, ModificationOperatorNode, MultiplicationContext, MultiplicativeOperatorContext, NegationContext, NullLiteral, NullLiteralContext, NullLiteralNode, NumberContext, NumberLiteral, NumberLiteralFormat, NumberLiteralNode, NumericContext, NumericTypeContext, ObjectContext, ObjectId, ObjectSpace, ObjectType, Operator, OperatorNode, OrderBy, OrderByElement, OrderByElementNode, OrderByNode, OrderListContext, OrderbyContext, OrderedElementContext, OverToContext, ParameterType, ParentFilterModification, ParentFilterModificationNode, ParenthesizedExpressionContext, PercentageContext, PosIntegerContext, PrefixUnaryExpressionContext, PrefixUnaryOperatorContext, PrimaryExpressionContext, PromptContext, RankDirContext, RankFunction, RankFunctionNameContext, RankFunctionNode, RankSpecContext, RankSpecPercentageContext, RankSpecUnumberContext, RankingFilter, RankingFilterContext, RankingFilterInContext, RankingFilterInOfContext, RankingFilterNode, RankingFilterOfContext, RelationBetweenContext, RelationContext, RelationInContext, RelationLikeContext, RelationNegatableContext, RelationNotContext, RelationRelopContext, ReportMetricContext, RollWindowContext, RunningFunction, RunningFunctionNameContext, RunningFunctionNode, Select, SelectExpressionContext, SelectNode, StringContext, StringLiteral, StringLiteralNode, SyntaxErrorListener, TimeMacroContext, TimeMacroName, TimeMacroNameContext, TopBottomContext, TransFunctionContext, TrueLiteralContext, UIntegerContext, UIntegerPosContext, UIntegerZeroContext, UNumberContext, URealContext, Using, UsingContext, UsingNode, WhereContext, WhereHavingContext, Window, WindowBound, WindowBoundContext, WindowBoundNode, WindowBoundedContext, WindowDirContext, WindowNode, WindowUnboundedContext, WithPfContext, WithWithoutPfContext, WithinContext, WithinDimensionsContext, WithoutPfContext, escapeString, functionDefinitions, isMaqlFunction, isMaqlFunctionName, isOperator, isRankingFilter, isWindowBound, mergeRanges, nonNullContent, positionInRange };