@gooddata/maql-antlr4ts 0.3.1-efcd89c8.0 → 0.3.1-efe6ecaa.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 +62 -71
- package/dist/index.js +625 -661
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -101,40 +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 UNKNOWN_TYPE = 119;
|
|
136
|
-
static readonly SEP = 120;
|
|
137
|
-
static readonly ID = 121;
|
|
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;
|
|
138
135
|
static readonly OBJECT_TYPE = 1;
|
|
139
136
|
static readonly OBJECT_ID = 2;
|
|
140
137
|
static readonly channelNames: string[];
|
|
@@ -2040,40 +2037,37 @@ declare class MaqlParser extends Parser {
|
|
|
2040
2037
|
static readonly YEAR = 85;
|
|
2041
2038
|
static readonly WEEK = 86;
|
|
2042
2039
|
static readonly WEEKOFYEAR = 87;
|
|
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
|
|
2071
|
-
static readonly
|
|
2072
|
-
static readonly
|
|
2073
|
-
static readonly
|
|
2074
|
-
static readonly UNKNOWN_TYPE = 119;
|
|
2075
|
-
static readonly SEP = 120;
|
|
2076
|
-
static readonly ID = 121;
|
|
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;
|
|
2077
2071
|
static readonly RULE_maql = 0;
|
|
2078
2072
|
static readonly RULE_maqlExpression = 1;
|
|
2079
2073
|
static readonly RULE_selectExpression = 2;
|
|
@@ -3283,9 +3277,6 @@ declare class GranularityContext extends ParserRuleContext {
|
|
|
3283
3277
|
YEAR(): TerminalNode | undefined;
|
|
3284
3278
|
WEEK(): TerminalNode | undefined;
|
|
3285
3279
|
WEEKOFYEAR(): TerminalNode | undefined;
|
|
3286
|
-
FISCALMONTH(): TerminalNode | undefined;
|
|
3287
|
-
FISCALQUARTER(): TerminalNode | undefined;
|
|
3288
|
-
FISCALYEAR(): TerminalNode | undefined;
|
|
3289
3280
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3290
3281
|
get ruleIndex(): number;
|
|
3291
3282
|
enterRule(listener: MaqlParserListener): void;
|