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 EQ_TOK = 92;
98
- static readonly LT_TOK = 93;
99
- static readonly GT_TOK = 94;
100
- static readonly LEQ_TOK = 95;
101
- static readonly GEQ_TOK = 96;
102
- static readonly NI_TOK = 97;
103
- static readonly NO_TOK = 98;
104
- static readonly SUM_TOK = 99;
105
- static readonly INT_TOK = 100;
106
- static readonly OPTION_TOK = 101;
107
- static readonly COMMA_TOK = 102;
108
- static readonly SLASH_TOK = 103;
109
- static readonly NUM_CONST_TOK = 104;
110
- static readonly IDENTIFIER_TOK = 105;
111
- static readonly WS = 106;
112
- static readonly CCOMMENT = 107;
113
- static readonly COMMENT = 108;
114
- static readonly MULTCOMMENT = 109;
115
- static readonly LANG_DECL = 110;
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 EQ_TOK = 92;
104
- static readonly LT_TOK = 93;
105
- static readonly GT_TOK = 94;
106
- static readonly LEQ_TOK = 95;
107
- static readonly GEQ_TOK = 96;
108
- static readonly NI_TOK = 97;
109
- static readonly NO_TOK = 98;
110
- static readonly SUM_TOK = 99;
111
- static readonly INT_TOK = 100;
112
- static readonly OPTION_TOK = 101;
113
- static readonly COMMA_TOK = 102;
114
- static readonly SLASH_TOK = 103;
115
- static readonly NUM_CONST_TOK = 104;
116
- static readonly IDENTIFIER_TOK = 105;
117
- static readonly WS = 106;
118
- static readonly CCOMMENT = 107;
119
- static readonly COMMENT = 108;
120
- static readonly MULTCOMMENT = 109;
121
- static readonly LANG_DECL = 110;
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;