@gooddata/maql-antlr4ts 0.2.1-d248d4b6.0 → 0.2.1-d343cd8a.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/dist/index.d.ts +88 -91
- package/dist/index.js +626 -639
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -88,50 +88,49 @@ declare class MaqlLexer extends Lexer {
|
|
|
88
88
|
static readonly DAY = 72;
|
|
89
89
|
static readonly DAYOFWEEK = 73;
|
|
90
90
|
static readonly DAYOFMONTH = 74;
|
|
91
|
-
static readonly
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
98
|
-
static readonly
|
|
99
|
-
static readonly
|
|
100
|
-
static readonly
|
|
101
|
-
static readonly
|
|
102
|
-
static readonly
|
|
103
|
-
static readonly
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
122
|
-
static readonly
|
|
123
|
-
static readonly
|
|
124
|
-
static readonly
|
|
125
|
-
static readonly
|
|
126
|
-
static readonly
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly ID = 118;
|
|
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;
|
|
135
134
|
static readonly OBJECT_TYPE = 1;
|
|
136
135
|
static readonly OBJECT_ID = 2;
|
|
137
136
|
static readonly channelNames: string[];
|
|
@@ -2024,50 +2023,49 @@ declare class MaqlParser extends Parser {
|
|
|
2024
2023
|
static readonly DAY = 72;
|
|
2025
2024
|
static readonly DAYOFWEEK = 73;
|
|
2026
2025
|
static readonly DAYOFMONTH = 74;
|
|
2027
|
-
static readonly
|
|
2028
|
-
static readonly
|
|
2029
|
-
static readonly
|
|
2030
|
-
static readonly
|
|
2031
|
-
static readonly
|
|
2032
|
-
static readonly
|
|
2033
|
-
static readonly
|
|
2034
|
-
static readonly
|
|
2035
|
-
static readonly
|
|
2036
|
-
static readonly
|
|
2037
|
-
static readonly
|
|
2038
|
-
static readonly
|
|
2039
|
-
static readonly
|
|
2040
|
-
static readonly
|
|
2041
|
-
static readonly
|
|
2042
|
-
static readonly
|
|
2043
|
-
static readonly
|
|
2044
|
-
static readonly
|
|
2045
|
-
static readonly
|
|
2046
|
-
static readonly
|
|
2047
|
-
static readonly
|
|
2048
|
-
static readonly
|
|
2049
|
-
static readonly
|
|
2050
|
-
static readonly
|
|
2051
|
-
static readonly
|
|
2052
|
-
static readonly
|
|
2053
|
-
static readonly
|
|
2054
|
-
static readonly
|
|
2055
|
-
static readonly
|
|
2056
|
-
static readonly
|
|
2057
|
-
static readonly
|
|
2058
|
-
static readonly
|
|
2059
|
-
static readonly
|
|
2060
|
-
static readonly
|
|
2061
|
-
static readonly
|
|
2062
|
-
static readonly
|
|
2063
|
-
static readonly
|
|
2064
|
-
static readonly
|
|
2065
|
-
static readonly
|
|
2066
|
-
static readonly
|
|
2067
|
-
static readonly
|
|
2068
|
-
static readonly
|
|
2069
|
-
static readonly
|
|
2070
|
-
static readonly ID = 118;
|
|
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;
|
|
2071
2069
|
static readonly RULE_maql = 0;
|
|
2072
2070
|
static readonly RULE_maqlExpression = 1;
|
|
2073
2071
|
static readonly RULE_selectExpression = 2;
|
|
@@ -2385,8 +2383,8 @@ declare class RelationNegatableContext extends ParserRuleContext {
|
|
|
2385
2383
|
}
|
|
2386
2384
|
declare class RelationBetweenContext extends RelationNegatableContext {
|
|
2387
2385
|
BETWEEN(): TerminalNode;
|
|
2388
|
-
|
|
2389
|
-
|
|
2386
|
+
primaryExpression(): PrimaryExpressionContext[];
|
|
2387
|
+
primaryExpression(i: number): PrimaryExpressionContext;
|
|
2390
2388
|
AND(): TerminalNode;
|
|
2391
2389
|
constructor(ctx: RelationNegatableContext);
|
|
2392
2390
|
enterRule(listener: MaqlParserListener): void;
|
|
@@ -3264,7 +3262,6 @@ declare class GranularityContext extends ParserRuleContext {
|
|
|
3264
3262
|
DAY(): TerminalNode | undefined;
|
|
3265
3263
|
DAYOFWEEK(): TerminalNode | undefined;
|
|
3266
3264
|
DAYOFMONTH(): TerminalNode | undefined;
|
|
3267
|
-
DAYOFQUARTER(): TerminalNode | undefined;
|
|
3268
3265
|
DAYOFYEAR(): TerminalNode | undefined;
|
|
3269
3266
|
HOUR(): TerminalNode | undefined;
|
|
3270
3267
|
HOUROFDAY(): TerminalNode | undefined;
|