simple-graph-query 1.2.4 → 2.0.1
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.
|
@@ -21,6 +21,9 @@ export declare class ForgeExprEvaluator extends AbstractParseTreeVisitor<EvalRes
|
|
|
21
21
|
private updateFreeVariables;
|
|
22
22
|
private constructFreeVariableKey;
|
|
23
23
|
private getLabelForValue;
|
|
24
|
+
private getLabelAsString;
|
|
25
|
+
private getLabelAsBoolean;
|
|
26
|
+
private getLabelAsNumber;
|
|
24
27
|
private cacheResult;
|
|
25
28
|
private getIden;
|
|
26
29
|
protected aggregateResult(aggregate: EvalResult, nextResult: EvalResult): EvalResult;
|
|
@@ -94,25 +94,28 @@ export declare class ForgeLexer extends Lexer {
|
|
|
94
94
|
static readonly EXAMPLE_TOK = 89;
|
|
95
95
|
static readonly ARROW_TOK = 90;
|
|
96
96
|
static readonly GET_LABEL_TOK = 91;
|
|
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
|
|
97
|
+
static readonly GET_LABEL_STR_TOK = 92;
|
|
98
|
+
static readonly GET_LABEL_BOOL_TOK = 93;
|
|
99
|
+
static readonly GET_LABEL_NUM_TOK = 94;
|
|
100
|
+
static readonly EQ_TOK = 95;
|
|
101
|
+
static readonly LT_TOK = 96;
|
|
102
|
+
static readonly GT_TOK = 97;
|
|
103
|
+
static readonly LEQ_TOK = 98;
|
|
104
|
+
static readonly GEQ_TOK = 99;
|
|
105
|
+
static readonly NI_TOK = 100;
|
|
106
|
+
static readonly NO_TOK = 101;
|
|
107
|
+
static readonly SUM_TOK = 102;
|
|
108
|
+
static readonly INT_TOK = 103;
|
|
109
|
+
static readonly OPTION_TOK = 104;
|
|
110
|
+
static readonly COMMA_TOK = 105;
|
|
111
|
+
static readonly SLASH_TOK = 106;
|
|
112
|
+
static readonly NUM_CONST_TOK = 107;
|
|
113
|
+
static readonly IDENTIFIER_TOK = 108;
|
|
114
|
+
static readonly WS = 109;
|
|
115
|
+
static readonly CCOMMENT = 110;
|
|
116
|
+
static readonly COMMENT = 111;
|
|
117
|
+
static readonly MULTCOMMENT = 112;
|
|
118
|
+
static readonly LANG_DECL = 113;
|
|
116
119
|
static readonly channelNames: string[];
|
|
117
120
|
static readonly modeNames: string[];
|
|
118
121
|
static readonly ruleNames: string[];
|
|
@@ -100,25 +100,28 @@ export declare class ForgeParser extends Parser {
|
|
|
100
100
|
static readonly EXAMPLE_TOK = 89;
|
|
101
101
|
static readonly ARROW_TOK = 90;
|
|
102
102
|
static readonly GET_LABEL_TOK = 91;
|
|
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
|
|
103
|
+
static readonly GET_LABEL_STR_TOK = 92;
|
|
104
|
+
static readonly GET_LABEL_BOOL_TOK = 93;
|
|
105
|
+
static readonly GET_LABEL_NUM_TOK = 94;
|
|
106
|
+
static readonly EQ_TOK = 95;
|
|
107
|
+
static readonly LT_TOK = 96;
|
|
108
|
+
static readonly GT_TOK = 97;
|
|
109
|
+
static readonly LEQ_TOK = 98;
|
|
110
|
+
static readonly GEQ_TOK = 99;
|
|
111
|
+
static readonly NI_TOK = 100;
|
|
112
|
+
static readonly NO_TOK = 101;
|
|
113
|
+
static readonly SUM_TOK = 102;
|
|
114
|
+
static readonly INT_TOK = 103;
|
|
115
|
+
static readonly OPTION_TOK = 104;
|
|
116
|
+
static readonly COMMA_TOK = 105;
|
|
117
|
+
static readonly SLASH_TOK = 106;
|
|
118
|
+
static readonly NUM_CONST_TOK = 107;
|
|
119
|
+
static readonly IDENTIFIER_TOK = 108;
|
|
120
|
+
static readonly WS = 109;
|
|
121
|
+
static readonly CCOMMENT = 110;
|
|
122
|
+
static readonly COMMENT = 111;
|
|
123
|
+
static readonly MULTCOMMENT = 112;
|
|
124
|
+
static readonly LANG_DECL = 113;
|
|
122
125
|
static readonly RULE_predDecl = 0;
|
|
123
126
|
static readonly RULE_parseExpr = 1;
|
|
124
127
|
static readonly RULE_alloyModule = 2;
|
|
@@ -1166,6 +1169,9 @@ export declare class Expr17Context extends ParserRuleContext {
|
|
|
1166
1169
|
EXP_TOK(): TerminalNode | undefined;
|
|
1167
1170
|
STAR_TOK(): TerminalNode | undefined;
|
|
1168
1171
|
GET_LABEL_TOK(): TerminalNode | undefined;
|
|
1172
|
+
GET_LABEL_STR_TOK(): TerminalNode | undefined;
|
|
1173
|
+
GET_LABEL_BOOL_TOK(): TerminalNode | undefined;
|
|
1174
|
+
GET_LABEL_NUM_TOK(): TerminalNode | undefined;
|
|
1169
1175
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1170
1176
|
get ruleIndex(): number;
|
|
1171
1177
|
enterRule(listener: ForgeListener): void;
|