@malloydata/malloy 0.0.78 → 0.0.79-dev230818134709
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/lib/Malloy/MalloyTagLexer.d.ts +6 -5
- package/dist/lang/lib/Malloy/MalloyTagLexer.js +280 -271
- package/dist/lang/lib/Malloy/MalloyTagParser.d.ts +24 -14
- package/dist/lang/lib/Malloy/MalloyTagParser.js +187 -130
- package/dist/lang/lib/Malloy/MalloyTagVisitor.d.ts +7 -0
- package/dist/tags.js +3 -1
- package/package.json +1 -1
|
@@ -20,20 +20,22 @@ export declare class MalloyTagParser extends Parser {
|
|
|
20
20
|
static readonly AR_END = 11;
|
|
21
21
|
static readonly SQ_STRING = 12;
|
|
22
22
|
static readonly DQ_STRING = 13;
|
|
23
|
-
static readonly
|
|
24
|
-
static readonly
|
|
25
|
-
static readonly
|
|
26
|
-
static readonly
|
|
27
|
-
static readonly
|
|
23
|
+
static readonly BQ_STRING = 14;
|
|
24
|
+
static readonly NUMERIC_LITERAL = 15;
|
|
25
|
+
static readonly BARE_STRING = 16;
|
|
26
|
+
static readonly COMMENT = 17;
|
|
27
|
+
static readonly WHITE_SPACE = 18;
|
|
28
|
+
static readonly UNEXPECTED_CHAR = 19;
|
|
28
29
|
static readonly RULE_tagLine = 0;
|
|
29
30
|
static readonly RULE_tagSpec = 1;
|
|
30
31
|
static readonly RULE_string = 2;
|
|
31
|
-
static readonly
|
|
32
|
-
static readonly
|
|
33
|
-
static readonly
|
|
34
|
-
static readonly
|
|
35
|
-
static readonly
|
|
36
|
-
static readonly
|
|
32
|
+
static readonly RULE_identifier = 3;
|
|
33
|
+
static readonly RULE_propName = 4;
|
|
34
|
+
static readonly RULE_eqValue = 5;
|
|
35
|
+
static readonly RULE_arrayElement = 6;
|
|
36
|
+
static readonly RULE_reference = 7;
|
|
37
|
+
static readonly RULE_arrayValue = 8;
|
|
38
|
+
static readonly RULE_properties = 9;
|
|
37
39
|
static readonly ruleNames: string[];
|
|
38
40
|
private static readonly _LITERAL_NAMES;
|
|
39
41
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -47,6 +49,7 @@ export declare class MalloyTagParser extends Parser {
|
|
|
47
49
|
tagLine(): TagLineContext;
|
|
48
50
|
tagSpec(): TagSpecContext;
|
|
49
51
|
string(): StringContext;
|
|
52
|
+
identifier(): IdentifierContext;
|
|
50
53
|
propName(): PropNameContext;
|
|
51
54
|
eqValue(): EqValueContext;
|
|
52
55
|
arrayElement(): ArrayElementContext;
|
|
@@ -100,16 +103,23 @@ export declare class TagDefContext extends TagSpecContext {
|
|
|
100
103
|
}
|
|
101
104
|
export declare class StringContext extends ParserRuleContext {
|
|
102
105
|
SQ_STRING(): TerminalNode | undefined;
|
|
103
|
-
NUMERIC_LITERAL(): TerminalNode | undefined;
|
|
104
106
|
DQ_STRING(): TerminalNode | undefined;
|
|
105
107
|
BARE_STRING(): TerminalNode | undefined;
|
|
108
|
+
NUMERIC_LITERAL(): TerminalNode | undefined;
|
|
109
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
110
|
+
get ruleIndex(): number;
|
|
111
|
+
accept<Result>(visitor: MalloyTagVisitor<Result>): Result;
|
|
112
|
+
}
|
|
113
|
+
export declare class IdentifierContext extends ParserRuleContext {
|
|
114
|
+
BQ_STRING(): TerminalNode | undefined;
|
|
115
|
+
BARE_STRING(): TerminalNode | undefined;
|
|
106
116
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
107
117
|
get ruleIndex(): number;
|
|
108
118
|
accept<Result>(visitor: MalloyTagVisitor<Result>): Result;
|
|
109
119
|
}
|
|
110
120
|
export declare class PropNameContext extends ParserRuleContext {
|
|
111
|
-
|
|
112
|
-
|
|
121
|
+
identifier(): IdentifierContext[];
|
|
122
|
+
identifier(i: number): IdentifierContext;
|
|
113
123
|
DOT(): TerminalNode[];
|
|
114
124
|
DOT(i: number): TerminalNode;
|
|
115
125
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|