@malloydata/malloy 0.0.12-dev221204204332 → 0.0.12
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/lang/ast/apply-expr.js +1 -1
- package/dist/lang/ast/ast-expr.d.ts +1 -1
- package/dist/lang/ast/ast-expr.js +1 -1
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +21 -20
- package/dist/lang/lib/Malloy/MalloyLexer.js +879 -874
- package/dist/lang/lib/Malloy/MalloyListener.d.ts +2026 -0
- package/dist/lang/lib/Malloy/MalloyListener.js +4 -0
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +22 -20
- package/dist/lang/lib/Malloy/MalloyParser.js +51 -50
- package/dist/lang/lib/Malloy/MalloyVisitor.d.ts +1276 -0
- package/dist/lang/lib/Malloy/MalloyVisitor.js +4 -0
- package/dist/lang/parse-to-ast.js +2 -1
- package/dist/lang/test/parse.spec.js +1 -0
- package/dist/md5.d.ts +1 -0
- package/dist/md5.js +30 -0
- package/package.json +1 -1
|
@@ -161,7 +161,7 @@ export declare abstract class BinaryNumeric<opType extends string> extends Expre
|
|
|
161
161
|
export declare class ExprAddSub extends BinaryNumeric<"+" | "-"> {
|
|
162
162
|
elementType: string;
|
|
163
163
|
}
|
|
164
|
-
export declare class ExprMulDiv extends BinaryNumeric<"*" | "/"> {
|
|
164
|
+
export declare class ExprMulDiv extends BinaryNumeric<"*" | "/" | "%"> {
|
|
165
165
|
elementType: string;
|
|
166
166
|
}
|
|
167
167
|
export declare class ExprAlternationTree extends BinaryBoolean<"|" | "&"> {
|
|
@@ -119,26 +119,27 @@ export declare class MalloyLexer extends Lexer {
|
|
|
119
119
|
static readonly SEMI = 114;
|
|
120
120
|
static readonly NOT_MATCH = 115;
|
|
121
121
|
static readonly MATCH = 116;
|
|
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
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
122
|
+
static readonly PERCENT = 117;
|
|
123
|
+
static readonly LITERAL_TIMESTAMP = 118;
|
|
124
|
+
static readonly LITERAL_DAY = 119;
|
|
125
|
+
static readonly LITERAL_QUARTER = 120;
|
|
126
|
+
static readonly LITERAL_MONTH = 121;
|
|
127
|
+
static readonly LITERAL_WEEK = 122;
|
|
128
|
+
static readonly LITERAL_YEAR = 123;
|
|
129
|
+
static readonly IDENTIFIER = 124;
|
|
130
|
+
static readonly PERCENT_LITERAL = 125;
|
|
131
|
+
static readonly INTEGER_LITERAL = 126;
|
|
132
|
+
static readonly NUMERIC_LITERAL = 127;
|
|
133
|
+
static readonly OBJECT_NAME_LITERAL = 128;
|
|
134
|
+
static readonly BLOCK_COMMENT = 129;
|
|
135
|
+
static readonly COMMENT_TO_EOL = 130;
|
|
136
|
+
static readonly WHITE_SPACE = 131;
|
|
137
|
+
static readonly SQL_BEGIN = 132;
|
|
138
|
+
static readonly CLOSE_CODE = 133;
|
|
139
|
+
static readonly UNWATED_CHARS_TRAILING_NUMBERS = 134;
|
|
140
|
+
static readonly UNEXPECTED_CHAR = 135;
|
|
141
|
+
static readonly OPEN_CODE = 136;
|
|
142
|
+
static readonly SQL_END = 137;
|
|
142
143
|
static readonly SQL_MODE = 1;
|
|
143
144
|
static readonly channelNames: string[];
|
|
144
145
|
static readonly modeNames: string[];
|