@gooddata/maql-antlr4ts 0.3.1-fe2b1fee.0 → 0.3.1-ffb0d133.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 +71 -62
- package/dist/index.js +661 -625
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -101,37 +101,40 @@ 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
|
|
104
|
+
static readonly FISCALMONTH = 88;
|
|
105
|
+
static readonly FISCALQUARTER = 89;
|
|
106
|
+
static readonly FISCALYEAR = 90;
|
|
107
|
+
static readonly WS = 91;
|
|
108
|
+
static readonly Comment = 92;
|
|
109
|
+
static readonly UnterminatedString = 93;
|
|
110
|
+
static readonly String = 94;
|
|
111
|
+
static readonly LBRACE = 95;
|
|
112
|
+
static readonly RBRACE = 96;
|
|
113
|
+
static readonly RELOP = 97;
|
|
114
|
+
static readonly COMMA = 98;
|
|
115
|
+
static readonly SEMICOLON = 99;
|
|
116
|
+
static readonly LPAREN = 100;
|
|
117
|
+
static readonly RPAREN = 101;
|
|
118
|
+
static readonly MINUS = 102;
|
|
119
|
+
static readonly PERCENT = 103;
|
|
120
|
+
static readonly PLUS = 104;
|
|
121
|
+
static readonly MUL = 105;
|
|
122
|
+
static readonly DIV = 106;
|
|
123
|
+
static readonly ZERO = 107;
|
|
124
|
+
static readonly Natural = 108;
|
|
125
|
+
static readonly Real = 109;
|
|
126
|
+
static readonly Identifier = 110;
|
|
127
|
+
static readonly ERROR_CHARACTER = 111;
|
|
128
|
+
static readonly FACT = 112;
|
|
129
|
+
static readonly ATTRIBUTE = 113;
|
|
130
|
+
static readonly METRIC_TYPE = 114;
|
|
131
|
+
static readonly LABEL = 115;
|
|
132
|
+
static readonly LOCAL = 116;
|
|
133
|
+
static readonly PROMPT = 117;
|
|
134
|
+
static readonly DATASET = 118;
|
|
135
|
+
static readonly UNKNOWN_TYPE = 119;
|
|
136
|
+
static readonly SEP = 120;
|
|
137
|
+
static readonly ID = 121;
|
|
135
138
|
static readonly OBJECT_TYPE = 1;
|
|
136
139
|
static readonly OBJECT_ID = 2;
|
|
137
140
|
static readonly channelNames: string[];
|
|
@@ -2037,37 +2040,40 @@ declare class MaqlParser extends Parser {
|
|
|
2037
2040
|
static readonly YEAR = 85;
|
|
2038
2041
|
static readonly WEEK = 86;
|
|
2039
2042
|
static readonly WEEKOFYEAR = 87;
|
|
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
|
|
2043
|
+
static readonly FISCALMONTH = 88;
|
|
2044
|
+
static readonly FISCALQUARTER = 89;
|
|
2045
|
+
static readonly FISCALYEAR = 90;
|
|
2046
|
+
static readonly WS = 91;
|
|
2047
|
+
static readonly Comment = 92;
|
|
2048
|
+
static readonly UnterminatedString = 93;
|
|
2049
|
+
static readonly String = 94;
|
|
2050
|
+
static readonly LBRACE = 95;
|
|
2051
|
+
static readonly RBRACE = 96;
|
|
2052
|
+
static readonly RELOP = 97;
|
|
2053
|
+
static readonly COMMA = 98;
|
|
2054
|
+
static readonly SEMICOLON = 99;
|
|
2055
|
+
static readonly LPAREN = 100;
|
|
2056
|
+
static readonly RPAREN = 101;
|
|
2057
|
+
static readonly MINUS = 102;
|
|
2058
|
+
static readonly PERCENT = 103;
|
|
2059
|
+
static readonly PLUS = 104;
|
|
2060
|
+
static readonly MUL = 105;
|
|
2061
|
+
static readonly DIV = 106;
|
|
2062
|
+
static readonly ZERO = 107;
|
|
2063
|
+
static readonly Natural = 108;
|
|
2064
|
+
static readonly Real = 109;
|
|
2065
|
+
static readonly Identifier = 110;
|
|
2066
|
+
static readonly ERROR_CHARACTER = 111;
|
|
2067
|
+
static readonly FACT = 112;
|
|
2068
|
+
static readonly ATTRIBUTE = 113;
|
|
2069
|
+
static readonly METRIC_TYPE = 114;
|
|
2070
|
+
static readonly LABEL = 115;
|
|
2071
|
+
static readonly LOCAL = 116;
|
|
2072
|
+
static readonly PROMPT = 117;
|
|
2073
|
+
static readonly DATASET = 118;
|
|
2074
|
+
static readonly UNKNOWN_TYPE = 119;
|
|
2075
|
+
static readonly SEP = 120;
|
|
2076
|
+
static readonly ID = 121;
|
|
2071
2077
|
static readonly RULE_maql = 0;
|
|
2072
2078
|
static readonly RULE_maqlExpression = 1;
|
|
2073
2079
|
static readonly RULE_selectExpression = 2;
|
|
@@ -3277,6 +3283,9 @@ declare class GranularityContext extends ParserRuleContext {
|
|
|
3277
3283
|
YEAR(): TerminalNode | undefined;
|
|
3278
3284
|
WEEK(): TerminalNode | undefined;
|
|
3279
3285
|
WEEKOFYEAR(): TerminalNode | undefined;
|
|
3286
|
+
FISCALMONTH(): TerminalNode | undefined;
|
|
3287
|
+
FISCALQUARTER(): TerminalNode | undefined;
|
|
3288
|
+
FISCALYEAR(): TerminalNode | undefined;
|
|
3280
3289
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
3281
3290
|
get ruleIndex(): number;
|
|
3282
3291
|
enterRule(listener: MaqlParserListener): void;
|