@gooddata/maql-antlr4ts 0.3.1-0cd6501b.0 → 0.3.1-0e3dec05.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.
- package/README.md +28 -1
- package/dist/index.d.ts +78 -175
- package/dist/index.js +1337 -1584
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,4 +67,31 @@ Use [yalc](https://github.com/wclr/yalc) to link the package to other repositori
|
|
|
67
67
|
|
|
68
68
|
## Publishing
|
|
69
69
|
|
|
70
|
-
The package
|
|
70
|
+
The package is published automatically after merging to master branch.
|
|
71
|
+
|
|
72
|
+
### Manual publishing
|
|
73
|
+
|
|
74
|
+
> Unless you have a good reason to do so (i.e. you cannot test a feature otherwise)
|
|
75
|
+
**do not** publish the package manually.
|
|
76
|
+
|
|
77
|
+
Create a GitLab access token with `api` permissions and store it
|
|
78
|
+
in the `NPM_TOKEN` environment variable.
|
|
79
|
+
|
|
80
|
+
`export NPM_TOKEN=<your acces token>`
|
|
81
|
+
|
|
82
|
+
Build and publish the package. You must first set a new version of the package. You must choose one that is not yet
|
|
83
|
+
taken
|
|
84
|
+
(or delete the existing package). You can use
|
|
85
|
+
`yarn bump` or `yarn version <new version>`.
|
|
86
|
+
|
|
87
|
+
Then you should build the package
|
|
88
|
+
|
|
89
|
+
`yarn build`
|
|
90
|
+
|
|
91
|
+
and publish.
|
|
92
|
+
|
|
93
|
+
`npm publish`
|
|
94
|
+
|
|
95
|
+
You should now be able to see the package in the GitLab project registry.
|
|
96
|
+
|
|
97
|
+
The id of the project is set to `16539767`
|
package/dist/index.d.ts
CHANGED
|
@@ -101,41 +101,37 @@ declare class MaqlLexer extends Lexer {
|
|
|
101
101
|
static readonly YEAR = 85;
|
|
102
102
|
static readonly WEEK = 86;
|
|
103
103
|
static readonly WEEKOFYEAR = 87;
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
122
|
-
static readonly
|
|
123
|
-
static readonly
|
|
124
|
-
static readonly
|
|
125
|
-
static readonly
|
|
126
|
-
static readonly
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly
|
|
135
|
-
static readonly DATASET = 119;
|
|
136
|
-
static readonly UNKNOWN_TYPE = 120;
|
|
137
|
-
static readonly SEP = 121;
|
|
138
|
-
static readonly ID = 122;
|
|
104
|
+
static readonly WS = 88;
|
|
105
|
+
static readonly Comment = 89;
|
|
106
|
+
static readonly UnterminatedString = 90;
|
|
107
|
+
static readonly String = 91;
|
|
108
|
+
static readonly LBRACE = 92;
|
|
109
|
+
static readonly RBRACE = 93;
|
|
110
|
+
static readonly RELOP = 94;
|
|
111
|
+
static readonly COMMA = 95;
|
|
112
|
+
static readonly SEMICOLON = 96;
|
|
113
|
+
static readonly LPAREN = 97;
|
|
114
|
+
static readonly RPAREN = 98;
|
|
115
|
+
static readonly MINUS = 99;
|
|
116
|
+
static readonly PERCENT = 100;
|
|
117
|
+
static readonly PLUS = 101;
|
|
118
|
+
static readonly MUL = 102;
|
|
119
|
+
static readonly DIV = 103;
|
|
120
|
+
static readonly ZERO = 104;
|
|
121
|
+
static readonly Natural = 105;
|
|
122
|
+
static readonly Real = 106;
|
|
123
|
+
static readonly Identifier = 107;
|
|
124
|
+
static readonly ERROR_CHARACTER = 108;
|
|
125
|
+
static readonly FACT = 109;
|
|
126
|
+
static readonly ATTRIBUTE = 110;
|
|
127
|
+
static readonly METRIC_TYPE = 111;
|
|
128
|
+
static readonly LABEL = 112;
|
|
129
|
+
static readonly LOCAL = 113;
|
|
130
|
+
static readonly PROMPT = 114;
|
|
131
|
+
static readonly DATASET = 115;
|
|
132
|
+
static readonly UNKNOWN_TYPE = 116;
|
|
133
|
+
static readonly SEP = 117;
|
|
134
|
+
static readonly ID = 118;
|
|
139
135
|
static readonly OBJECT_TYPE = 1;
|
|
140
136
|
static readonly OBJECT_ID = 2;
|
|
141
137
|
static readonly channelNames: string[];
|
|
@@ -332,18 +328,6 @@ interface MaqlParserListener extends ParseTreeListener {
|
|
|
332
328
|
* @param ctx the parse tree
|
|
333
329
|
*/
|
|
334
330
|
exitRankSpecPercentage?: (ctx: RankSpecPercentageContext) => void;
|
|
335
|
-
/**
|
|
336
|
-
* Enter a parse tree produced by the `rankSpecParameter`
|
|
337
|
-
* labeled alternative in `MaqlParser.rankSpec`.
|
|
338
|
-
* @param ctx the parse tree
|
|
339
|
-
*/
|
|
340
|
-
enterRankSpecParameter?: (ctx: RankSpecParameterContext) => void;
|
|
341
|
-
/**
|
|
342
|
-
* Exit a parse tree produced by the `rankSpecParameter`
|
|
343
|
-
* labeled alternative in `MaqlParser.rankSpec`.
|
|
344
|
-
* @param ctx the parse tree
|
|
345
|
-
*/
|
|
346
|
-
exitRankSpecParameter?: (ctx: RankSpecParameterContext) => void;
|
|
347
331
|
/**
|
|
348
332
|
* Enter a parse tree produced by the `withPf`
|
|
349
333
|
* labeled alternative in `MaqlParser.withWithoutPf`.
|
|
@@ -1170,16 +1154,6 @@ interface MaqlParserListener extends ParseTreeListener {
|
|
|
1170
1154
|
* @param ctx the parse tree
|
|
1171
1155
|
*/
|
|
1172
1156
|
exitPrompt?: (ctx: PromptContext) => void;
|
|
1173
|
-
/**
|
|
1174
|
-
* Enter a parse tree produced by `MaqlParser.parameter`.
|
|
1175
|
-
* @param ctx the parse tree
|
|
1176
|
-
*/
|
|
1177
|
-
enterParameter?: (ctx: ParameterContext) => void;
|
|
1178
|
-
/**
|
|
1179
|
-
* Exit a parse tree produced by `MaqlParser.parameter`.
|
|
1180
|
-
* @param ctx the parse tree
|
|
1181
|
-
*/
|
|
1182
|
-
exitParameter?: (ctx: ParameterContext) => void;
|
|
1183
1157
|
/**
|
|
1184
1158
|
* Enter a parse tree produced by `MaqlParser.literal`.
|
|
1185
1159
|
* @param ctx the parse tree
|
|
@@ -1280,16 +1254,6 @@ interface MaqlParserListener extends ParseTreeListener {
|
|
|
1280
1254
|
* @param ctx the parse tree
|
|
1281
1255
|
*/
|
|
1282
1256
|
exitListLiteral?: (ctx: ListLiteralContext) => void;
|
|
1283
|
-
/**
|
|
1284
|
-
* Enter a parse tree produced by `MaqlParser.listItem`.
|
|
1285
|
-
* @param ctx the parse tree
|
|
1286
|
-
*/
|
|
1287
|
-
enterListItem?: (ctx: ListItemContext) => void;
|
|
1288
|
-
/**
|
|
1289
|
-
* Exit a parse tree produced by `MaqlParser.listItem`.
|
|
1290
|
-
* @param ctx the parse tree
|
|
1291
|
-
*/
|
|
1292
|
-
exitListItem?: (ctx: ListItemContext) => void;
|
|
1293
1257
|
/**
|
|
1294
1258
|
* Enter a parse tree produced by `MaqlParser.nullLiteral`.
|
|
1295
1259
|
* @param ctx the parse tree
|
|
@@ -1418,13 +1382,6 @@ interface MaqlParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
1418
1382
|
* @return the visitor result
|
|
1419
1383
|
*/
|
|
1420
1384
|
visitRankSpecPercentage?: (ctx: RankSpecPercentageContext) => Result;
|
|
1421
|
-
/**
|
|
1422
|
-
* Visit a parse tree produced by the `rankSpecParameter`
|
|
1423
|
-
* labeled alternative in `MaqlParser.rankSpec`.
|
|
1424
|
-
* @param ctx the parse tree
|
|
1425
|
-
* @return the visitor result
|
|
1426
|
-
*/
|
|
1427
|
-
visitRankSpecParameter?: (ctx: RankSpecParameterContext) => Result;
|
|
1428
1385
|
/**
|
|
1429
1386
|
* Visit a parse tree produced by the `withPf`
|
|
1430
1387
|
* labeled alternative in `MaqlParser.withWithoutPf`.
|
|
@@ -1918,12 +1875,6 @@ interface MaqlParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
1918
1875
|
* @return the visitor result
|
|
1919
1876
|
*/
|
|
1920
1877
|
visitPrompt?: (ctx: PromptContext) => Result;
|
|
1921
|
-
/**
|
|
1922
|
-
* Visit a parse tree produced by `MaqlParser.parameter`.
|
|
1923
|
-
* @param ctx the parse tree
|
|
1924
|
-
* @return the visitor result
|
|
1925
|
-
*/
|
|
1926
|
-
visitParameter?: (ctx: ParameterContext) => Result;
|
|
1927
1878
|
/**
|
|
1928
1879
|
* Visit a parse tree produced by `MaqlParser.literal`.
|
|
1929
1880
|
* @param ctx the parse tree
|
|
@@ -1984,12 +1935,6 @@ interface MaqlParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
1984
1935
|
* @return the visitor result
|
|
1985
1936
|
*/
|
|
1986
1937
|
visitListLiteral?: (ctx: ListLiteralContext) => Result;
|
|
1987
|
-
/**
|
|
1988
|
-
* Visit a parse tree produced by `MaqlParser.listItem`.
|
|
1989
|
-
* @param ctx the parse tree
|
|
1990
|
-
* @return the visitor result
|
|
1991
|
-
*/
|
|
1992
|
-
visitListItem?: (ctx: ListItemContext) => Result;
|
|
1993
1938
|
/**
|
|
1994
1939
|
* Visit a parse tree produced by `MaqlParser.nullLiteral`.
|
|
1995
1940
|
* @param ctx the parse tree
|
|
@@ -2092,41 +2037,37 @@ declare class MaqlParser extends Parser {
|
|
|
2092
2037
|
static readonly YEAR = 85;
|
|
2093
2038
|
static readonly WEEK = 86;
|
|
2094
2039
|
static readonly WEEKOFYEAR = 87;
|
|
2095
|
-
static readonly
|
|
2096
|
-
static readonly
|
|
2097
|
-
static readonly
|
|
2098
|
-
static readonly
|
|
2099
|
-
static readonly
|
|
2100
|
-
static readonly
|
|
2101
|
-
static readonly
|
|
2102
|
-
static readonly
|
|
2103
|
-
static readonly
|
|
2104
|
-
static readonly
|
|
2105
|
-
static readonly
|
|
2106
|
-
static readonly
|
|
2107
|
-
static readonly
|
|
2108
|
-
static readonly
|
|
2109
|
-
static readonly
|
|
2110
|
-
static readonly
|
|
2111
|
-
static readonly
|
|
2112
|
-
static readonly
|
|
2113
|
-
static readonly
|
|
2114
|
-
static readonly
|
|
2115
|
-
static readonly
|
|
2116
|
-
static readonly
|
|
2117
|
-
static readonly
|
|
2118
|
-
static readonly
|
|
2119
|
-
static readonly
|
|
2120
|
-
static readonly
|
|
2121
|
-
static readonly
|
|
2122
|
-
static readonly
|
|
2123
|
-
static readonly
|
|
2124
|
-
static readonly
|
|
2125
|
-
static readonly
|
|
2126
|
-
static readonly DATASET = 119;
|
|
2127
|
-
static readonly UNKNOWN_TYPE = 120;
|
|
2128
|
-
static readonly SEP = 121;
|
|
2129
|
-
static readonly ID = 122;
|
|
2040
|
+
static readonly WS = 88;
|
|
2041
|
+
static readonly Comment = 89;
|
|
2042
|
+
static readonly UnterminatedString = 90;
|
|
2043
|
+
static readonly String = 91;
|
|
2044
|
+
static readonly LBRACE = 92;
|
|
2045
|
+
static readonly RBRACE = 93;
|
|
2046
|
+
static readonly RELOP = 94;
|
|
2047
|
+
static readonly COMMA = 95;
|
|
2048
|
+
static readonly SEMICOLON = 96;
|
|
2049
|
+
static readonly LPAREN = 97;
|
|
2050
|
+
static readonly RPAREN = 98;
|
|
2051
|
+
static readonly MINUS = 99;
|
|
2052
|
+
static readonly PERCENT = 100;
|
|
2053
|
+
static readonly PLUS = 101;
|
|
2054
|
+
static readonly MUL = 102;
|
|
2055
|
+
static readonly DIV = 103;
|
|
2056
|
+
static readonly ZERO = 104;
|
|
2057
|
+
static readonly Natural = 105;
|
|
2058
|
+
static readonly Real = 106;
|
|
2059
|
+
static readonly Identifier = 107;
|
|
2060
|
+
static readonly ERROR_CHARACTER = 108;
|
|
2061
|
+
static readonly FACT = 109;
|
|
2062
|
+
static readonly ATTRIBUTE = 110;
|
|
2063
|
+
static readonly METRIC_TYPE = 111;
|
|
2064
|
+
static readonly LABEL = 112;
|
|
2065
|
+
static readonly LOCAL = 113;
|
|
2066
|
+
static readonly PROMPT = 114;
|
|
2067
|
+
static readonly DATASET = 115;
|
|
2068
|
+
static readonly UNKNOWN_TYPE = 116;
|
|
2069
|
+
static readonly SEP = 117;
|
|
2070
|
+
static readonly ID = 118;
|
|
2130
2071
|
static readonly RULE_maql = 0;
|
|
2131
2072
|
static readonly RULE_maqlExpression = 1;
|
|
2132
2073
|
static readonly RULE_selectExpression = 2;
|
|
@@ -2194,20 +2135,18 @@ declare class MaqlParser extends Parser {
|
|
|
2194
2135
|
static readonly RULE_numericType = 64;
|
|
2195
2136
|
static readonly RULE_numeric = 65;
|
|
2196
2137
|
static readonly RULE_prompt = 66;
|
|
2197
|
-
static readonly
|
|
2198
|
-
static readonly
|
|
2199
|
-
static readonly
|
|
2200
|
-
static readonly
|
|
2201
|
-
static readonly
|
|
2202
|
-
static readonly
|
|
2203
|
-
static readonly
|
|
2204
|
-
static readonly
|
|
2205
|
-
static readonly
|
|
2206
|
-
static readonly
|
|
2207
|
-
static readonly
|
|
2208
|
-
static readonly
|
|
2209
|
-
static readonly RULE_nullLiteral = 79;
|
|
2210
|
-
static readonly RULE_granularity = 80;
|
|
2138
|
+
static readonly RULE_literal = 67;
|
|
2139
|
+
static readonly RULE_number = 68;
|
|
2140
|
+
static readonly RULE_uNumber = 69;
|
|
2141
|
+
static readonly RULE_integer = 70;
|
|
2142
|
+
static readonly RULE_uInteger = 71;
|
|
2143
|
+
static readonly RULE_posInteger = 72;
|
|
2144
|
+
static readonly RULE_uReal = 73;
|
|
2145
|
+
static readonly RULE_percentage = 74;
|
|
2146
|
+
static readonly RULE_string = 75;
|
|
2147
|
+
static readonly RULE_listLiteral = 76;
|
|
2148
|
+
static readonly RULE_nullLiteral = 77;
|
|
2149
|
+
static readonly RULE_granularity = 78;
|
|
2211
2150
|
static readonly ruleNames: string[];
|
|
2212
2151
|
private static readonly _LITERAL_NAMES;
|
|
2213
2152
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -2285,7 +2224,6 @@ declare class MaqlParser extends Parser {
|
|
|
2285
2224
|
numericType(): NumericTypeContext;
|
|
2286
2225
|
numeric(): NumericContext;
|
|
2287
2226
|
prompt(): PromptContext;
|
|
2288
|
-
parameter(): ParameterContext;
|
|
2289
2227
|
literal(): LiteralContext;
|
|
2290
2228
|
number(): NumberContext;
|
|
2291
2229
|
uNumber(): UNumberContext;
|
|
@@ -2296,7 +2234,6 @@ declare class MaqlParser extends Parser {
|
|
|
2296
2234
|
percentage(): PercentageContext;
|
|
2297
2235
|
string(): StringContext;
|
|
2298
2236
|
listLiteral(): ListLiteralContext;
|
|
2299
|
-
listItem(): ListItemContext;
|
|
2300
2237
|
nullLiteral(): NullLiteralContext;
|
|
2301
2238
|
granularity(): GranularityContext;
|
|
2302
2239
|
private static readonly _serializedATNSegments;
|
|
@@ -2550,7 +2487,6 @@ declare class PrimaryExpressionContext extends ParserRuleContext {
|
|
|
2550
2487
|
numeric(): NumericContext | undefined;
|
|
2551
2488
|
attribute(): AttributeContext | undefined;
|
|
2552
2489
|
prompt(): PromptContext | undefined;
|
|
2553
|
-
parameter(): ParameterContext | undefined;
|
|
2554
2490
|
literal(): LiteralContext | undefined;
|
|
2555
2491
|
timeMacro(): TimeMacroContext | undefined;
|
|
2556
2492
|
granularity(): GranularityContext | undefined;
|
|
@@ -3107,13 +3043,6 @@ declare class RankSpecPercentageContext extends RankSpecContext {
|
|
|
3107
3043
|
exitRule(listener: MaqlParserListener): void;
|
|
3108
3044
|
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3109
3045
|
}
|
|
3110
|
-
declare class RankSpecParameterContext extends RankSpecContext {
|
|
3111
|
-
parameter(): ParameterContext;
|
|
3112
|
-
constructor(ctx: RankSpecContext);
|
|
3113
|
-
enterRule(listener: MaqlParserListener): void;
|
|
3114
|
-
exitRule(listener: MaqlParserListener): void;
|
|
3115
|
-
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3116
|
-
}
|
|
3117
3046
|
declare class RankingFilterInOfContext extends ParserRuleContext {
|
|
3118
3047
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3119
3048
|
get ruleIndex(): number;
|
|
@@ -3221,18 +3150,6 @@ declare class PromptContext extends ParserRuleContext {
|
|
|
3221
3150
|
exitRule(listener: MaqlParserListener): void;
|
|
3222
3151
|
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3223
3152
|
}
|
|
3224
|
-
declare class ParameterContext extends ParserRuleContext {
|
|
3225
|
-
LBRACE(): TerminalNode;
|
|
3226
|
-
PARAMETER(): TerminalNode;
|
|
3227
|
-
SEP(): TerminalNode;
|
|
3228
|
-
ID(): TerminalNode;
|
|
3229
|
-
RBRACE(): TerminalNode;
|
|
3230
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3231
|
-
get ruleIndex(): number;
|
|
3232
|
-
enterRule(listener: MaqlParserListener): void;
|
|
3233
|
-
exitRule(listener: MaqlParserListener): void;
|
|
3234
|
-
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3235
|
-
}
|
|
3236
3153
|
declare class LiteralContext extends ParserRuleContext {
|
|
3237
3154
|
uNumber(): UNumberContext | undefined;
|
|
3238
3155
|
string(): StringContext | undefined;
|
|
@@ -3324,20 +3241,11 @@ declare class StringContext extends ParserRuleContext {
|
|
|
3324
3241
|
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3325
3242
|
}
|
|
3326
3243
|
declare class ListLiteralContext extends ParserRuleContext {
|
|
3327
|
-
listItem(): ListItemContext[];
|
|
3328
|
-
listItem(i: number): ListItemContext;
|
|
3329
|
-
COMMA(): TerminalNode[];
|
|
3330
|
-
COMMA(i: number): TerminalNode;
|
|
3331
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3332
|
-
get ruleIndex(): number;
|
|
3333
|
-
enterRule(listener: MaqlParserListener): void;
|
|
3334
|
-
exitRule(listener: MaqlParserListener): void;
|
|
3335
|
-
accept<Result>(visitor: MaqlParserVisitor<Result>): Result;
|
|
3336
|
-
}
|
|
3337
|
-
declare class ListItemContext extends ParserRuleContext {
|
|
3338
3244
|
string(): StringContext | undefined;
|
|
3339
3245
|
number(): NumberContext | undefined;
|
|
3340
3246
|
nullLiteral(): NullLiteralContext | undefined;
|
|
3247
|
+
COMMA(): TerminalNode | undefined;
|
|
3248
|
+
listLiteral(): ListLiteralContext | undefined;
|
|
3341
3249
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3342
3250
|
get ruleIndex(): number;
|
|
3343
3251
|
enterRule(listener: MaqlParserListener): void;
|
|
@@ -3369,9 +3277,6 @@ declare class GranularityContext extends ParserRuleContext {
|
|
|
3369
3277
|
YEAR(): TerminalNode | undefined;
|
|
3370
3278
|
WEEK(): TerminalNode | undefined;
|
|
3371
3279
|
WEEKOFYEAR(): TerminalNode | undefined;
|
|
3372
|
-
FISCALMONTH(): TerminalNode | undefined;
|
|
3373
|
-
FISCALQUARTER(): TerminalNode | undefined;
|
|
3374
|
-
FISCALYEAR(): TerminalNode | undefined;
|
|
3375
3280
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3376
3281
|
get ruleIndex(): number;
|
|
3377
3282
|
enterRule(listener: MaqlParserListener): void;
|
|
@@ -4673,7 +4578,6 @@ declare class MaqlAstVisitor extends AbstractParseTreeVisitor<AstNode> implement
|
|
|
4673
4578
|
visitRelationBetween(ctx: RelationBetweenContext): AstNode;
|
|
4674
4579
|
visitRelationIn(ctx: RelationInContext): AstNode;
|
|
4675
4580
|
visitListLiteral(ctx: ListLiteralContext): AstNode;
|
|
4676
|
-
visitListItem(ctx: ListItemContext): AstNode;
|
|
4677
4581
|
visitRelationLike(ctx: RelationLikeContext): AstNode;
|
|
4678
4582
|
visitAddition(ctx: AdditionContext): AstNode;
|
|
4679
4583
|
visitMultiplication(ctx: MultiplicationContext): AstNode;
|
|
@@ -4720,7 +4624,6 @@ declare class MaqlAstVisitor extends AbstractParseTreeVisitor<AstNode> implement
|
|
|
4720
4624
|
visitFact(ctx: FactContext): AstNode;
|
|
4721
4625
|
visitAttribute(ctx: AttributeContext): AstNode;
|
|
4722
4626
|
visitAttributeList(ctx: AttributeListContext): AstNode;
|
|
4723
|
-
visitParameter(ctx: ParameterContext): AstNode;
|
|
4724
4627
|
visitPrompt(ctx: PromptContext): AstNode;
|
|
4725
4628
|
private visitObject;
|
|
4726
4629
|
visitUReal(ctx: URealContext): AstNode;
|
|
@@ -4752,7 +4655,7 @@ declare class MaqlAstVisitor extends AbstractParseTreeVisitor<AstNode> implement
|
|
|
4752
4655
|
visitWithoutPf(ctx: WithoutPfContext): AstNode;
|
|
4753
4656
|
visitPf(ctx: WithPfContext | WithoutPfContext, pfType: ParentFilterModification, operator: ModificationOperator): AstNode;
|
|
4754
4657
|
}
|
|
4755
|
-
declare type ObjectContext = NumericContext | AttributeContext | FactContext |
|
|
4658
|
+
declare type ObjectContext = NumericContext | AttributeContext | FactContext | PromptContext;
|
|
4756
4659
|
|
|
4757
4660
|
/**
|
|
4758
4661
|
* AST visitor which makes adjustment to an AST such that its shape is the same as the output of
|
|
@@ -4765,4 +4668,4 @@ declare class AstNormalizer extends AbstractAstVisitor<AstNode> {
|
|
|
4765
4668
|
visitOperatorNode(node: OperatorNode): AstNode;
|
|
4766
4669
|
}
|
|
4767
4670
|
|
|
4768
|
-
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,
|
|
4671
|
+
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 };
|