@malloydata/malloy 0.0.55-dev230707013046 → 0.0.55-dev230707183945
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/expressions/expr-string.js +1 -3
- package/dist/lang/lib/Malloy/MalloyLexer.d.ts +138 -138
- package/dist/lang/lib/Malloy/MalloyLexer.js +1074 -1068
- package/dist/lang/lib/Malloy/MalloyParser.d.ts +199 -256
- package/dist/lang/lib/Malloy/MalloyParser.js +1704 -2094
- package/dist/lang/lib/Malloy/MalloyParserListener.d.ts +22 -66
- package/dist/lang/lib/Malloy/MalloyParserVisitor.d.ts +14 -42
- package/dist/lang/malloy-to-ast.d.ts +5 -6
- package/dist/lang/malloy-to-ast.js +79 -72
- package/dist/lang/parse-tree-walkers/document-highlight-walker.js +3 -3
- package/dist/lang/parse-tree-walkers/find-external-references.js +1 -1
- package/dist/lang/string-parser.d.ts +11 -0
- package/dist/lang/string-parser.js +105 -0
- package/dist/lang/test/parse.spec.js +32 -1
- package/dist/lang/test/strings.spec.d.ts +1 -0
- package/dist/lang/test/strings.spec.js +60 -0
- package/package.json +1 -1
|
@@ -9,144 +9,144 @@ import { Vocabulary } from "antlr4ts/Vocabulary";
|
|
|
9
9
|
import { MalloyParserListener } from "./MalloyParserListener";
|
|
10
10
|
import { MalloyParserVisitor } from "./MalloyParserVisitor";
|
|
11
11
|
export declare class MalloyParser extends Parser {
|
|
12
|
-
static readonly
|
|
13
|
-
static readonly
|
|
14
|
-
static readonly
|
|
15
|
-
static readonly
|
|
16
|
-
static readonly
|
|
17
|
-
static readonly
|
|
18
|
-
static readonly
|
|
19
|
-
static readonly
|
|
20
|
-
static readonly
|
|
21
|
-
static readonly
|
|
22
|
-
static readonly
|
|
23
|
-
static readonly
|
|
24
|
-
static readonly
|
|
25
|
-
static readonly
|
|
26
|
-
static readonly
|
|
27
|
-
static readonly
|
|
28
|
-
static readonly
|
|
29
|
-
static readonly
|
|
30
|
-
static readonly
|
|
31
|
-
static readonly
|
|
32
|
-
static readonly
|
|
33
|
-
static readonly
|
|
34
|
-
static readonly
|
|
35
|
-
static readonly
|
|
36
|
-
static readonly
|
|
37
|
-
static readonly
|
|
38
|
-
static readonly
|
|
39
|
-
static readonly
|
|
40
|
-
static readonly
|
|
41
|
-
static readonly
|
|
42
|
-
static readonly
|
|
43
|
-
static readonly
|
|
44
|
-
static readonly
|
|
45
|
-
static readonly
|
|
46
|
-
static readonly
|
|
47
|
-
static readonly
|
|
48
|
-
static readonly
|
|
49
|
-
static readonly
|
|
50
|
-
static readonly
|
|
51
|
-
static readonly
|
|
52
|
-
static readonly
|
|
53
|
-
static readonly
|
|
54
|
-
static readonly
|
|
55
|
-
static readonly
|
|
56
|
-
static readonly
|
|
57
|
-
static readonly
|
|
58
|
-
static readonly
|
|
59
|
-
static readonly
|
|
60
|
-
static readonly
|
|
61
|
-
static readonly
|
|
62
|
-
static readonly
|
|
63
|
-
static readonly
|
|
64
|
-
static readonly
|
|
65
|
-
static readonly
|
|
66
|
-
static readonly
|
|
67
|
-
static readonly
|
|
68
|
-
static readonly
|
|
69
|
-
static readonly
|
|
70
|
-
static readonly
|
|
71
|
-
static readonly
|
|
72
|
-
static readonly
|
|
73
|
-
static readonly
|
|
74
|
-
static readonly
|
|
75
|
-
static readonly
|
|
76
|
-
static readonly
|
|
77
|
-
static readonly
|
|
78
|
-
static readonly
|
|
79
|
-
static readonly
|
|
80
|
-
static readonly
|
|
81
|
-
static readonly
|
|
82
|
-
static readonly
|
|
83
|
-
static readonly
|
|
84
|
-
static readonly
|
|
85
|
-
static readonly
|
|
86
|
-
static readonly
|
|
87
|
-
static readonly
|
|
88
|
-
static readonly
|
|
89
|
-
static readonly
|
|
90
|
-
static readonly
|
|
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
|
|
135
|
-
static readonly
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
142
|
-
static readonly
|
|
143
|
-
static readonly
|
|
144
|
-
static readonly
|
|
145
|
-
static readonly
|
|
146
|
-
static readonly
|
|
147
|
-
static readonly
|
|
148
|
-
static readonly
|
|
149
|
-
static readonly
|
|
12
|
+
static readonly ACCEPT = 1;
|
|
13
|
+
static readonly AGGREGATE = 2;
|
|
14
|
+
static readonly CALCULATE = 3;
|
|
15
|
+
static readonly CALCULATION = 4;
|
|
16
|
+
static readonly CONNECTION = 5;
|
|
17
|
+
static readonly DECLARE = 6;
|
|
18
|
+
static readonly DIMENSION = 7;
|
|
19
|
+
static readonly EXCEPT = 8;
|
|
20
|
+
static readonly EXTENDQ = 9;
|
|
21
|
+
static readonly GROUP_BY = 10;
|
|
22
|
+
static readonly HAVING = 11;
|
|
23
|
+
static readonly INDEX = 12;
|
|
24
|
+
static readonly JOIN_CROSS = 13;
|
|
25
|
+
static readonly JOIN_ONE = 14;
|
|
26
|
+
static readonly JOIN_MANY = 15;
|
|
27
|
+
static readonly LIMIT = 16;
|
|
28
|
+
static readonly MEASURE = 17;
|
|
29
|
+
static readonly NEST = 18;
|
|
30
|
+
static readonly ORDER_BY = 19;
|
|
31
|
+
static readonly PRIMARY_KEY = 20;
|
|
32
|
+
static readonly PROJECT = 21;
|
|
33
|
+
static readonly QUERY = 22;
|
|
34
|
+
static readonly RENAME = 23;
|
|
35
|
+
static readonly RUN = 24;
|
|
36
|
+
static readonly SAMPLE = 25;
|
|
37
|
+
static readonly SELECT = 26;
|
|
38
|
+
static readonly SOURCE = 27;
|
|
39
|
+
static readonly SQLC = 28;
|
|
40
|
+
static readonly TOP = 29;
|
|
41
|
+
static readonly WHERE = 30;
|
|
42
|
+
static readonly TIMEZONE = 31;
|
|
43
|
+
static readonly ALL = 32;
|
|
44
|
+
static readonly AND = 33;
|
|
45
|
+
static readonly AS = 34;
|
|
46
|
+
static readonly ASC = 35;
|
|
47
|
+
static readonly AVG = 36;
|
|
48
|
+
static readonly BOOLEAN = 37;
|
|
49
|
+
static readonly BY = 38;
|
|
50
|
+
static readonly CASE = 39;
|
|
51
|
+
static readonly CAST = 40;
|
|
52
|
+
static readonly CONDITION = 41;
|
|
53
|
+
static readonly COUNT = 42;
|
|
54
|
+
static readonly DATE = 43;
|
|
55
|
+
static readonly DAY = 44;
|
|
56
|
+
static readonly DESC = 45;
|
|
57
|
+
static readonly DISTINCT = 46;
|
|
58
|
+
static readonly ELSE = 47;
|
|
59
|
+
static readonly END = 48;
|
|
60
|
+
static readonly EXCLUDE = 49;
|
|
61
|
+
static readonly FALSE = 50;
|
|
62
|
+
static readonly FOR = 51;
|
|
63
|
+
static readonly FROM = 52;
|
|
64
|
+
static readonly FROM_SQL = 53;
|
|
65
|
+
static readonly HAS = 54;
|
|
66
|
+
static readonly HOUR = 55;
|
|
67
|
+
static readonly IMPORT = 56;
|
|
68
|
+
static readonly IS = 57;
|
|
69
|
+
static readonly JSON = 58;
|
|
70
|
+
static readonly LAST = 59;
|
|
71
|
+
static readonly MAX = 60;
|
|
72
|
+
static readonly MIN = 61;
|
|
73
|
+
static readonly MINUTE = 62;
|
|
74
|
+
static readonly MONTH = 63;
|
|
75
|
+
static readonly NOT = 64;
|
|
76
|
+
static readonly NOW = 65;
|
|
77
|
+
static readonly NULL = 66;
|
|
78
|
+
static readonly NUMBER = 67;
|
|
79
|
+
static readonly ON = 68;
|
|
80
|
+
static readonly OR = 69;
|
|
81
|
+
static readonly PICK = 70;
|
|
82
|
+
static readonly QUARTER = 71;
|
|
83
|
+
static readonly SECOND = 72;
|
|
84
|
+
static readonly STRING = 73;
|
|
85
|
+
static readonly SUM = 74;
|
|
86
|
+
static readonly SQL = 75;
|
|
87
|
+
static readonly TABLE = 76;
|
|
88
|
+
static readonly THEN = 77;
|
|
89
|
+
static readonly THIS = 78;
|
|
90
|
+
static readonly TIMESTAMP = 79;
|
|
91
|
+
static readonly TO = 80;
|
|
92
|
+
static readonly TRUE = 81;
|
|
93
|
+
static readonly TURTLE = 82;
|
|
94
|
+
static readonly WEEK = 83;
|
|
95
|
+
static readonly WHEN = 84;
|
|
96
|
+
static readonly WITH = 85;
|
|
97
|
+
static readonly YEAR = 86;
|
|
98
|
+
static readonly UNGROUPED = 87;
|
|
99
|
+
static readonly STRING_ESCAPE = 88;
|
|
100
|
+
static readonly HACKY_REGEX = 89;
|
|
101
|
+
static readonly SQ_STRING = 90;
|
|
102
|
+
static readonly DQ_STRING = 91;
|
|
103
|
+
static readonly BQ_STRING = 92;
|
|
104
|
+
static readonly DOC_ANNOTATION = 93;
|
|
105
|
+
static readonly ANNOTATION = 94;
|
|
106
|
+
static readonly AMPER = 95;
|
|
107
|
+
static readonly ARROW = 96;
|
|
108
|
+
static readonly FAT_ARROW = 97;
|
|
109
|
+
static readonly OPAREN = 98;
|
|
110
|
+
static readonly CPAREN = 99;
|
|
111
|
+
static readonly OBRACK = 100;
|
|
112
|
+
static readonly CBRACK = 101;
|
|
113
|
+
static readonly OCURLY = 102;
|
|
114
|
+
static readonly CCURLY = 103;
|
|
115
|
+
static readonly DOUBLECOLON = 104;
|
|
116
|
+
static readonly TRIPLECOLON = 105;
|
|
117
|
+
static readonly EXCLAM = 106;
|
|
118
|
+
static readonly COLON = 107;
|
|
119
|
+
static readonly COMMA = 108;
|
|
120
|
+
static readonly DOT = 109;
|
|
121
|
+
static readonly LT = 110;
|
|
122
|
+
static readonly GT = 111;
|
|
123
|
+
static readonly EQ = 112;
|
|
124
|
+
static readonly NE = 113;
|
|
125
|
+
static readonly LTE = 114;
|
|
126
|
+
static readonly GTE = 115;
|
|
127
|
+
static readonly PLUS = 116;
|
|
128
|
+
static readonly MINUS = 117;
|
|
129
|
+
static readonly STAR = 118;
|
|
130
|
+
static readonly STARSTAR = 119;
|
|
131
|
+
static readonly SLASH = 120;
|
|
132
|
+
static readonly BAR = 121;
|
|
133
|
+
static readonly SEMI = 122;
|
|
134
|
+
static readonly NOT_MATCH = 123;
|
|
135
|
+
static readonly MATCH = 124;
|
|
136
|
+
static readonly PERCENT = 125;
|
|
137
|
+
static readonly DOUBLE_QMARK = 126;
|
|
138
|
+
static readonly QMARK = 127;
|
|
139
|
+
static readonly LITERAL_TIMESTAMP = 128;
|
|
140
|
+
static readonly LITERAL_HOUR = 129;
|
|
141
|
+
static readonly LITERAL_DAY = 130;
|
|
142
|
+
static readonly LITERAL_QUARTER = 131;
|
|
143
|
+
static readonly LITERAL_MONTH = 132;
|
|
144
|
+
static readonly LITERAL_WEEK = 133;
|
|
145
|
+
static readonly LITERAL_YEAR = 134;
|
|
146
|
+
static readonly IDENTIFIER = 135;
|
|
147
|
+
static readonly PERCENT_LITERAL = 136;
|
|
148
|
+
static readonly INTEGER_LITERAL = 137;
|
|
149
|
+
static readonly NUMERIC_LITERAL = 138;
|
|
150
150
|
static readonly BLOCK_COMMENT = 139;
|
|
151
151
|
static readonly COMMENT_TO_EOL = 140;
|
|
152
152
|
static readonly WHITE_SPACE = 141;
|
|
@@ -242,41 +242,37 @@ export declare class MalloyParser extends Parser {
|
|
|
242
242
|
static readonly RULE_indexStatement = 83;
|
|
243
243
|
static readonly RULE_sampleStatement = 84;
|
|
244
244
|
static readonly RULE_timezoneStatement = 85;
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly RULE_jsonArray = 117;
|
|
277
|
-
static readonly RULE_sqlExploreNameRef = 118;
|
|
278
|
-
static readonly RULE_nameSQLBlock = 119;
|
|
279
|
-
static readonly RULE_connectionName = 120;
|
|
245
|
+
static readonly RULE_queryAnnotation = 86;
|
|
246
|
+
static readonly RULE_sampleSpec = 87;
|
|
247
|
+
static readonly RULE_aggregate = 88;
|
|
248
|
+
static readonly RULE_malloyType = 89;
|
|
249
|
+
static readonly RULE_compareOp = 90;
|
|
250
|
+
static readonly RULE_shortString = 91;
|
|
251
|
+
static readonly RULE_numericLiteral = 92;
|
|
252
|
+
static readonly RULE_literal = 93;
|
|
253
|
+
static readonly RULE_dateLiteral = 94;
|
|
254
|
+
static readonly RULE_tablePath = 95;
|
|
255
|
+
static readonly RULE_tableURI = 96;
|
|
256
|
+
static readonly RULE_id = 97;
|
|
257
|
+
static readonly RULE_timeframe = 98;
|
|
258
|
+
static readonly RULE_ungroup = 99;
|
|
259
|
+
static readonly RULE_fieldExpr = 100;
|
|
260
|
+
static readonly RULE_partialAllowedFieldExpr = 101;
|
|
261
|
+
static readonly RULE_pickStatement = 102;
|
|
262
|
+
static readonly RULE_pick = 103;
|
|
263
|
+
static readonly RULE_argumentList = 104;
|
|
264
|
+
static readonly RULE_fieldNameList = 105;
|
|
265
|
+
static readonly RULE_fieldCollection = 106;
|
|
266
|
+
static readonly RULE_collectionWildCard = 107;
|
|
267
|
+
static readonly RULE_taggedRef = 108;
|
|
268
|
+
static readonly RULE_collectionMember = 109;
|
|
269
|
+
static readonly RULE_fieldPath = 110;
|
|
270
|
+
static readonly RULE_joinName = 111;
|
|
271
|
+
static readonly RULE_fieldName = 112;
|
|
272
|
+
static readonly RULE_justExpr = 113;
|
|
273
|
+
static readonly RULE_sqlExploreNameRef = 114;
|
|
274
|
+
static readonly RULE_nameSQLBlock = 115;
|
|
275
|
+
static readonly RULE_connectionName = 116;
|
|
280
276
|
static readonly ruleNames: string[];
|
|
281
277
|
private static readonly _LITERAL_NAMES;
|
|
282
278
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -373,12 +369,13 @@ export declare class MalloyParser extends Parser {
|
|
|
373
369
|
indexStatement(): IndexStatementContext;
|
|
374
370
|
sampleStatement(): SampleStatementContext;
|
|
375
371
|
timezoneStatement(): TimezoneStatementContext;
|
|
376
|
-
timezoneName(): TimezoneNameContext;
|
|
377
372
|
queryAnnotation(): QueryAnnotationContext;
|
|
378
373
|
sampleSpec(): SampleSpecContext;
|
|
379
374
|
aggregate(): AggregateContext;
|
|
380
375
|
malloyType(): MalloyTypeContext;
|
|
381
376
|
compareOp(): CompareOpContext;
|
|
377
|
+
shortString(): ShortStringContext;
|
|
378
|
+
numericLiteral(): NumericLiteralContext;
|
|
382
379
|
literal(): LiteralContext;
|
|
383
380
|
dateLiteral(): DateLiteralContext;
|
|
384
381
|
tablePath(): TablePathContext;
|
|
@@ -401,11 +398,6 @@ export declare class MalloyParser extends Parser {
|
|
|
401
398
|
joinName(): JoinNameContext;
|
|
402
399
|
fieldName(): FieldNameContext;
|
|
403
400
|
justExpr(): JustExprContext;
|
|
404
|
-
json(): JsonContext;
|
|
405
|
-
jsonValue(): JsonValueContext;
|
|
406
|
-
jsonObject(): JsonObjectContext;
|
|
407
|
-
jsonProperty(): JsonPropertyContext;
|
|
408
|
-
jsonArray(): JsonArrayContext;
|
|
409
401
|
sqlExploreNameRef(): SqlExploreNameRefContext;
|
|
410
402
|
nameSQLBlock(): NameSQLBlockContext;
|
|
411
403
|
connectionName(): ConnectionNameContext;
|
|
@@ -595,7 +587,7 @@ export declare class ImportStatementContext extends ParserRuleContext {
|
|
|
595
587
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
596
588
|
}
|
|
597
589
|
export declare class ImportURLContext extends ParserRuleContext {
|
|
598
|
-
|
|
590
|
+
shortString(): ShortStringContext;
|
|
599
591
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
600
592
|
get ruleIndex(): number;
|
|
601
593
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -868,8 +860,9 @@ export declare class SQLSourceContext extends ExploreSourceContext {
|
|
|
868
860
|
DOT(): TerminalNode;
|
|
869
861
|
SQL(): TerminalNode;
|
|
870
862
|
OPAREN(): TerminalNode;
|
|
871
|
-
sqlString(): SqlStringContext;
|
|
872
863
|
CPAREN(): TerminalNode;
|
|
864
|
+
sqlString(): SqlStringContext | undefined;
|
|
865
|
+
shortString(): ShortStringContext | undefined;
|
|
873
866
|
constructor(ctx: ExploreSourceContext);
|
|
874
867
|
enterRule(listener: MalloyParserListener): void;
|
|
875
868
|
exitRule(listener: MalloyParserListener): void;
|
|
@@ -1546,15 +1539,7 @@ export declare class SampleStatementContext extends ParserRuleContext {
|
|
|
1546
1539
|
}
|
|
1547
1540
|
export declare class TimezoneStatementContext extends ParserRuleContext {
|
|
1548
1541
|
TIMEZONE(): TerminalNode;
|
|
1549
|
-
|
|
1550
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1551
|
-
get ruleIndex(): number;
|
|
1552
|
-
enterRule(listener: MalloyParserListener): void;
|
|
1553
|
-
exitRule(listener: MalloyParserListener): void;
|
|
1554
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1555
|
-
}
|
|
1556
|
-
export declare class TimezoneNameContext extends ParserRuleContext {
|
|
1557
|
-
STRING_LITERAL(): TerminalNode;
|
|
1542
|
+
shortString(): ShortStringContext;
|
|
1558
1543
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1559
1544
|
get ruleIndex(): number;
|
|
1560
1545
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1619,21 +1604,38 @@ export declare class CompareOpContext extends ParserRuleContext {
|
|
|
1619
1604
|
exitRule(listener: MalloyParserListener): void;
|
|
1620
1605
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1621
1606
|
}
|
|
1607
|
+
export declare class ShortStringContext extends ParserRuleContext {
|
|
1608
|
+
SQ_STRING(): TerminalNode | undefined;
|
|
1609
|
+
DQ_STRING(): TerminalNode | undefined;
|
|
1610
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1611
|
+
get ruleIndex(): number;
|
|
1612
|
+
enterRule(listener: MalloyParserListener): void;
|
|
1613
|
+
exitRule(listener: MalloyParserListener): void;
|
|
1614
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1615
|
+
}
|
|
1616
|
+
export declare class NumericLiteralContext extends ParserRuleContext {
|
|
1617
|
+
NUMERIC_LITERAL(): TerminalNode | undefined;
|
|
1618
|
+
INTEGER_LITERAL(): TerminalNode | undefined;
|
|
1619
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1620
|
+
get ruleIndex(): number;
|
|
1621
|
+
enterRule(listener: MalloyParserListener): void;
|
|
1622
|
+
exitRule(listener: MalloyParserListener): void;
|
|
1623
|
+
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1624
|
+
}
|
|
1622
1625
|
export declare class LiteralContext extends ParserRuleContext {
|
|
1623
1626
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1624
1627
|
get ruleIndex(): number;
|
|
1625
1628
|
copyFrom(ctx: LiteralContext): void;
|
|
1626
1629
|
}
|
|
1627
1630
|
export declare class ExprStringContext extends LiteralContext {
|
|
1628
|
-
|
|
1631
|
+
shortString(): ShortStringContext;
|
|
1629
1632
|
constructor(ctx: LiteralContext);
|
|
1630
1633
|
enterRule(listener: MalloyParserListener): void;
|
|
1631
1634
|
exitRule(listener: MalloyParserListener): void;
|
|
1632
1635
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1633
1636
|
}
|
|
1634
1637
|
export declare class ExprNumberContext extends LiteralContext {
|
|
1635
|
-
|
|
1636
|
-
INTEGER_LITERAL(): TerminalNode | undefined;
|
|
1638
|
+
numericLiteral(): NumericLiteralContext;
|
|
1637
1639
|
constructor(ctx: LiteralContext);
|
|
1638
1640
|
enterRule(listener: MalloyParserListener): void;
|
|
1639
1641
|
exitRule(listener: MalloyParserListener): void;
|
|
@@ -1730,7 +1732,7 @@ export declare class LiteralYearContext extends DateLiteralContext {
|
|
|
1730
1732
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1731
1733
|
}
|
|
1732
1734
|
export declare class TablePathContext extends ParserRuleContext {
|
|
1733
|
-
|
|
1735
|
+
shortString(): ShortStringContext;
|
|
1734
1736
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1735
1737
|
get ruleIndex(): number;
|
|
1736
1738
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1738,7 +1740,7 @@ export declare class TablePathContext extends ParserRuleContext {
|
|
|
1738
1740
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
1739
1741
|
}
|
|
1740
1742
|
export declare class TableURIContext extends ParserRuleContext {
|
|
1741
|
-
|
|
1743
|
+
shortString(): ShortStringContext;
|
|
1742
1744
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1743
1745
|
get ruleIndex(): number;
|
|
1744
1746
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -1747,7 +1749,7 @@ export declare class TableURIContext extends ParserRuleContext {
|
|
|
1747
1749
|
}
|
|
1748
1750
|
export declare class IdContext extends ParserRuleContext {
|
|
1749
1751
|
IDENTIFIER(): TerminalNode | undefined;
|
|
1750
|
-
|
|
1752
|
+
BQ_STRING(): TerminalNode | undefined;
|
|
1751
1753
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1752
1754
|
get ruleIndex(): number;
|
|
1753
1755
|
enterRule(listener: MalloyParserListener): void;
|
|
@@ -2179,65 +2181,6 @@ export declare class JustExprContext extends ParserRuleContext {
|
|
|
2179
2181
|
exitRule(listener: MalloyParserListener): void;
|
|
2180
2182
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2181
2183
|
}
|
|
2182
|
-
export declare class JsonContext extends ParserRuleContext {
|
|
2183
|
-
jsonValue(): JsonValueContext;
|
|
2184
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2185
|
-
get ruleIndex(): number;
|
|
2186
|
-
enterRule(listener: MalloyParserListener): void;
|
|
2187
|
-
exitRule(listener: MalloyParserListener): void;
|
|
2188
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2189
|
-
}
|
|
2190
|
-
export declare class JsonValueContext extends ParserRuleContext {
|
|
2191
|
-
JSON_STRING(): TerminalNode | undefined;
|
|
2192
|
-
INTEGER_LITERAL(): TerminalNode | undefined;
|
|
2193
|
-
NUMERIC_LITERAL(): TerminalNode | undefined;
|
|
2194
|
-
jsonObject(): JsonObjectContext | undefined;
|
|
2195
|
-
jsonArray(): JsonArrayContext | undefined;
|
|
2196
|
-
TRUE(): TerminalNode | undefined;
|
|
2197
|
-
FALSE(): TerminalNode | undefined;
|
|
2198
|
-
NULL(): TerminalNode | undefined;
|
|
2199
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2200
|
-
get ruleIndex(): number;
|
|
2201
|
-
enterRule(listener: MalloyParserListener): void;
|
|
2202
|
-
exitRule(listener: MalloyParserListener): void;
|
|
2203
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2204
|
-
}
|
|
2205
|
-
export declare class JsonObjectContext extends ParserRuleContext {
|
|
2206
|
-
OCURLY(): TerminalNode;
|
|
2207
|
-
jsonProperty(): JsonPropertyContext[];
|
|
2208
|
-
jsonProperty(i: number): JsonPropertyContext;
|
|
2209
|
-
CCURLY(): TerminalNode;
|
|
2210
|
-
COMMA(): TerminalNode[];
|
|
2211
|
-
COMMA(i: number): TerminalNode;
|
|
2212
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2213
|
-
get ruleIndex(): number;
|
|
2214
|
-
enterRule(listener: MalloyParserListener): void;
|
|
2215
|
-
exitRule(listener: MalloyParserListener): void;
|
|
2216
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2217
|
-
}
|
|
2218
|
-
export declare class JsonPropertyContext extends ParserRuleContext {
|
|
2219
|
-
JSON_STRING(): TerminalNode;
|
|
2220
|
-
COLON(): TerminalNode;
|
|
2221
|
-
jsonValue(): JsonValueContext;
|
|
2222
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2223
|
-
get ruleIndex(): number;
|
|
2224
|
-
enterRule(listener: MalloyParserListener): void;
|
|
2225
|
-
exitRule(listener: MalloyParserListener): void;
|
|
2226
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2227
|
-
}
|
|
2228
|
-
export declare class JsonArrayContext extends ParserRuleContext {
|
|
2229
|
-
OBRACK(): TerminalNode;
|
|
2230
|
-
jsonValue(): JsonValueContext[];
|
|
2231
|
-
jsonValue(i: number): JsonValueContext;
|
|
2232
|
-
CBRACK(): TerminalNode;
|
|
2233
|
-
COMMA(): TerminalNode[];
|
|
2234
|
-
COMMA(i: number): TerminalNode;
|
|
2235
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2236
|
-
get ruleIndex(): number;
|
|
2237
|
-
enterRule(listener: MalloyParserListener): void;
|
|
2238
|
-
exitRule(listener: MalloyParserListener): void;
|
|
2239
|
-
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2240
|
-
}
|
|
2241
2184
|
export declare class SqlExploreNameRefContext extends ParserRuleContext {
|
|
2242
2185
|
id(): IdContext;
|
|
2243
2186
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
@@ -2255,7 +2198,7 @@ export declare class NameSQLBlockContext extends ParserRuleContext {
|
|
|
2255
2198
|
accept<Result>(visitor: MalloyParserVisitor<Result>): Result;
|
|
2256
2199
|
}
|
|
2257
2200
|
export declare class ConnectionNameContext extends ParserRuleContext {
|
|
2258
|
-
|
|
2201
|
+
shortString(): ShortStringContext;
|
|
2259
2202
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2260
2203
|
get ruleIndex(): number;
|
|
2261
2204
|
enterRule(listener: MalloyParserListener): void;
|