@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1176 → 0.9.0-SNAPSHOT.1179

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.
@@ -1,37 +1,38 @@
1
1
  (function (root, factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './antlr-kotlin-antlr-kotlin-runtime-js-ir.js'], factory);
3
+ define(['exports', './antlr-kotlin-antlr-kotlin-runtime-js-ir.js', './kotlin-kotlin-stdlib-js-ir.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./antlr-kotlin-antlr-kotlin-runtime-js-ir.js'));
5
+ factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime-js-ir.js'), require('./kotlin-kotlin-stdlib-js-ir.js'));
6
6
  else {
7
- if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
- throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
9
- }
10
7
  if (typeof this['antlr-kotlin-antlr-kotlin-runtime-js-ir'] === 'undefined') {
11
8
  throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime-js-ir' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
12
9
  }
13
- root['kotlin-mpp-godtools-tool-parser-parser-expressions'] = factory(typeof this['kotlin-mpp-godtools-tool-parser-parser-expressions'] === 'undefined' ? {} : this['kotlin-mpp-godtools-tool-parser-parser-expressions'], this['kotlin-kotlin-stdlib-js-ir'], this['antlr-kotlin-antlr-kotlin-runtime-js-ir']);
10
+ if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
11
+ throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
12
+ }
13
+ root['kotlin-mpp-godtools-tool-parser-parser-expressions'] = factory(typeof this['kotlin-mpp-godtools-tool-parser-parser-expressions'] === 'undefined' ? {} : this['kotlin-mpp-godtools-tool-parser-parser-expressions'], this['antlr-kotlin-antlr-kotlin-runtime-js-ir'], this['kotlin-kotlin-stdlib-js-ir']);
14
14
  }
15
- }(this, function (_, kotlin_kotlin, kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime) {
15
+ }(this, function (_, kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime, kotlin_kotlin) {
16
16
  'use strict';
17
17
  //region block: imports
18
+ var AbstractParseTreeVisitor = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
19
+ var ensureNotNull = kotlin_kotlin.$_$.v8;
20
+ var protoOf = kotlin_kotlin.$_$.h6;
21
+ var classMeta = kotlin_kotlin.$_$.m5;
22
+ var VOID = kotlin_kotlin.$_$.e9;
23
+ var setMetadataFor = kotlin_kotlin.$_$.i6;
18
24
  var Unit_getInstance = kotlin_kotlin.$_$.i2;
19
25
  var PredictionContextCache = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.k;
20
26
  var listOf = kotlin_kotlin.$_$.u3;
21
27
  var copyToArray = kotlin_kotlin.$_$.a3;
22
- var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.w;
28
+ var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.y;
23
29
  var fillArrayVal = kotlin_kotlin.$_$.q5;
24
30
  var ATNDeserializer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.h;
25
31
  var asCharArray = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.a;
26
- var ensureNotNull = kotlin_kotlin.$_$.v8;
27
32
  var DFA = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.l;
28
- var protoOf = kotlin_kotlin.$_$.h6;
29
33
  var objectMeta = kotlin_kotlin.$_$.g6;
30
- var VOID = kotlin_kotlin.$_$.e9;
31
- var setMetadataFor = kotlin_kotlin.$_$.i6;
32
34
  var Enum = kotlin_kotlin.$_$.d8;
33
- var classMeta = kotlin_kotlin.$_$.m5;
34
- var Lexer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.q;
35
+ var Lexer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.s;
35
36
  var Lexer_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.b;
36
37
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
37
38
  var THROW_CCE = kotlin_kotlin.$_$.o8;
@@ -43,24 +44,37 @@
43
44
  var ParserRuleContext_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.d;
44
45
  var objectCreate = kotlin_kotlin.$_$.f6;
45
46
  var ParserRuleContext_init_$Init$_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.c;
46
- var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.s;
47
+ var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
47
48
  var isInterface = kotlin_kotlin.$_$.y5;
48
- var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.v;
49
+ var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.x;
49
50
  var Long = kotlin_kotlin.$_$.i8;
50
51
  var Companion_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.e;
51
- var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.p;
52
- var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
53
- var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.t;
52
+ var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.r;
53
+ var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.w;
54
+ var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.v;
54
55
  var ParserATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.j;
55
- var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.r;
56
+ var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.t;
57
+ var toString = kotlin_kotlin.$_$.l6;
58
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
59
+ var toSet = kotlin_kotlin.$_$.k4;
60
+ var emptySet = kotlin_kotlin.$_$.e3;
56
61
  var isBlank = kotlin_kotlin.$_$.g7;
57
62
  var CharStreams_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.f;
58
- var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
59
- var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
63
+ var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.q;
64
+ var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.p;
60
65
  var Companion_getInstance_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.g;
61
66
  var ParseCancellationException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.m;
67
+ var emptyList = kotlin_kotlin.$_$.c3;
68
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
69
+ var listOfNotNull = kotlin_kotlin.$_$.s3;
70
+ var TerminalNode = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
71
+ var addAll = kotlin_kotlin.$_$.p2;
72
+ var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.x;
73
+ var toInt = kotlin_kotlin.$_$.u7;
62
74
  //endregion
63
75
  //region block: pre-declaration
76
+ setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
77
+ setMetadataFor(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', classMeta, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor]);
64
78
  setMetadataFor(Companion, 'Companion', objectMeta);
65
79
  setMetadataFor(Channels, 'Channels', classMeta, Enum);
66
80
  setMetadataFor(Rules, 'Rules', classMeta, Enum);
@@ -84,7 +98,46 @@
84
98
  setMetadataFor(ValuesFuncContext, 'ValuesFuncContext', classMeta, IntExprContext);
85
99
  setMetadataFor(StateExpressionParser, 'StateExpressionParser', classMeta, Parser);
86
100
  setMetadataFor(Expression, 'Expression', classMeta);
101
+ setMetadataFor(StateExpressionEvaluator$booleanExpr$1, VOID, classMeta, StateExpressionBaseVisitor);
102
+ setMetadataFor(StateExpressionEvaluator$intExpr$1, VOID, classMeta, StateExpressionBaseVisitor);
103
+ setMetadataFor(StateExpressionEvaluator, 'StateExpressionEvaluator', classMeta);
87
104
  //endregion
105
+ function StateExpressionBaseVisitor() {
106
+ AbstractParseTreeVisitor.call(this);
107
+ }
108
+ protoOf(StateExpressionBaseVisitor).l27 = function (ctx) {
109
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
110
+ };
111
+ protoOf(StateExpressionBaseVisitor).m27 = function (ctx) {
112
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
113
+ };
114
+ protoOf(StateExpressionBaseVisitor).n27 = function (ctx) {
115
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
116
+ };
117
+ protoOf(StateExpressionBaseVisitor).o27 = function (ctx) {
118
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
119
+ };
120
+ protoOf(StateExpressionBaseVisitor).p27 = function (ctx) {
121
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
122
+ };
123
+ protoOf(StateExpressionBaseVisitor).q27 = function (ctx) {
124
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
125
+ };
126
+ protoOf(StateExpressionBaseVisitor).r27 = function (ctx) {
127
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
128
+ };
129
+ protoOf(StateExpressionBaseVisitor).s27 = function (ctx) {
130
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
131
+ };
132
+ protoOf(StateExpressionBaseVisitor).t27 = function (ctx) {
133
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
134
+ };
135
+ protoOf(StateExpressionBaseVisitor).u27 = function (ctx) {
136
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
137
+ };
138
+ protoOf(StateExpressionBaseVisitor).v27 = function (ctx) {
139
+ return ensureNotNull(ensureNotNull(this).t1m(ctx));
140
+ };
88
141
  var Channels_DEFAULT_TOKEN_CHANNEL_instance;
89
142
  var Channels_HIDDEN_instance;
90
143
  function values() {
@@ -145,23 +198,23 @@
145
198
  }
146
199
  function Companion() {
147
200
  Companion_instance = this;
148
- this.k26_1 = new PredictionContextCache();
149
- this.l26_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
150
- this.m26_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
201
+ this.x27_1 = new PredictionContextCache();
202
+ this.y27_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
203
+ this.z27_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
151
204
  var tmp = this;
152
205
  var tmp$ret$0;
153
206
  // Inline function 'kotlin.collections.toTypedArray' call
154
- var tmp0_toTypedArray = this.l26_1;
207
+ var tmp0_toTypedArray = this.y27_1;
155
208
  tmp$ret$0 = copyToArray(tmp0_toTypedArray);
156
209
  var tmp_0 = tmp$ret$0;
157
210
  var tmp$ret$1;
158
211
  // Inline function 'kotlin.collections.toTypedArray' call
159
- var tmp1_toTypedArray = this.m26_1;
212
+ var tmp1_toTypedArray = this.z27_1;
160
213
  tmp$ret$1 = copyToArray(tmp1_toTypedArray);
161
- tmp.n26_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
214
+ tmp.a28_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
162
215
  var tmp_1 = this;
163
216
  var tmp_2 = 0;
164
- var tmp_3 = this.m26_1.i();
217
+ var tmp_3 = this.z27_1.i();
165
218
  var tmp$ret$2;
166
219
  // Inline function 'kotlin.arrayOfNulls' call
167
220
  tmp$ret$2 = fillArrayVal(Array(tmp_3), null);
@@ -170,9 +223,9 @@
170
223
  var tmp_5 = tmp_2;
171
224
  var tmp$ret$3;
172
225
  // Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
173
- var el = Companion_getInstance_1().n26_1.k1m(tmp_5);
226
+ var el = Companion_getInstance_1().a28_1.f1n(tmp_5);
174
227
  if (el == null) {
175
- el = Companion_getInstance_1().n26_1.l1m(tmp_5);
228
+ el = Companion_getInstance_1().a28_1.g1n(tmp_5);
176
229
  }
177
230
  if (el == null) {
178
231
  el = '<INVALID>';
@@ -181,12 +234,12 @@
181
234
  tmp_4[tmp_5] = tmp$ret$3;
182
235
  tmp_2 = tmp_2 + 1 | 0;
183
236
  }
184
- tmp_1.o26_1 = tmp_4;
185
- this.p26_1 = "\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02";
186
- this.q26_1 = (new ATNDeserializer()).v1q(asCharArray("\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02"));
237
+ tmp_1.b28_1 = tmp_4;
238
+ this.c28_1 = "\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02";
239
+ this.d28_1 = (new ATNDeserializer()).q1r(asCharArray("\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02"));
187
240
  var tmp_6 = this;
188
241
  var tmp_7 = 0;
189
- var tmp_8 = this.q26_1.n1m();
242
+ var tmp_8 = this.d28_1.i1n();
190
243
  var tmp$ret$4;
191
244
  // Inline function 'kotlin.arrayOfNulls' call
192
245
  tmp$ret$4 = fillArrayVal(Array(tmp_8), null);
@@ -195,11 +248,11 @@
195
248
  var tmp_10 = tmp_7;
196
249
  var tmp$ret$5;
197
250
  // Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
198
- tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().q26_1.b1n(tmp_10)), tmp_10);
251
+ tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().d28_1.w1n(tmp_10)), tmp_10);
199
252
  tmp_9[tmp_10] = tmp$ret$5;
200
253
  tmp_7 = tmp_7 + 1 | 0;
201
254
  }
202
- tmp_6.j26_1 = tmp_9;
255
+ tmp_6.w27_1 = tmp_9;
203
256
  }
204
257
  var Companion_instance;
205
258
  function Companion_getInstance_1() {
@@ -209,7 +262,7 @@
209
262
  }
210
263
  function Channels(name, ordinal, id) {
211
264
  Enum.call(this, name, ordinal);
212
- this.t26_1 = id;
265
+ this.g28_1 = id;
213
266
  }
214
267
  function Rules(name, ordinal) {
215
268
  Enum.call(this, name, ordinal);
@@ -297,7 +350,7 @@
297
350
  function StateExpressionLexer(input) {
298
351
  Companion_getInstance_1();
299
352
  Lexer_init_$Init$(input, this);
300
- this.k27_1 = input;
353
+ this.x28_1 = input;
301
354
  var tmp = this;
302
355
  var tmp$ret$2;
303
356
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -320,13 +373,13 @@
320
373
  tmp$ret$1 = tmp$ret$0;
321
374
  var tmp3_toTypedArray = tmp$ret$1;
322
375
  tmp$ret$2 = copyToArray(tmp3_toTypedArray);
323
- tmp.l27_1 = tmp$ret$2;
376
+ tmp.y28_1 = tmp$ret$2;
324
377
  var tmp_0 = this;
325
- var tmp_1 = Companion_getInstance_1().q26_1;
326
- var tmp_2 = Companion_getInstance_1().j26_1;
327
- tmp_0.u1d_1 = new LexerATNSimulator(this, tmp_1, isArray(tmp_2) ? tmp_2 : THROW_CCE(), Companion_getInstance_1().k26_1);
378
+ var tmp_1 = Companion_getInstance_1().d28_1;
379
+ var tmp_2 = Companion_getInstance_1().w27_1;
380
+ tmp_0.l1e_1 = new LexerATNSimulator(this, tmp_1, isArray(tmp_2) ? tmp_2 : THROW_CCE(), Companion_getInstance_1().x27_1);
328
381
  }
329
- protoOf(StateExpressionLexer).n1g = function () {
382
+ protoOf(StateExpressionLexer).e1h = function () {
330
383
  var tmp$ret$3;
331
384
  // Inline function 'kotlin.collections.toTypedArray' call
332
385
  var tmp$ret$2;
@@ -352,11 +405,11 @@
352
405
  tmp$ret$3 = copyToArray(tmp2_toTypedArray);
353
406
  return tmp$ret$3;
354
407
  };
355
- protoOf(StateExpressionLexer).e1f = function () {
356
- return Companion_getInstance_1().q26_1;
408
+ protoOf(StateExpressionLexer).v1f = function () {
409
+ return Companion_getInstance_1().d28_1;
357
410
  };
358
- protoOf(StateExpressionLexer).x1d = function () {
359
- return Companion_getInstance_1().n26_1;
411
+ protoOf(StateExpressionLexer).o1e = function () {
412
+ return Companion_getInstance_1().a28_1;
360
413
  };
361
414
  function name$factory() {
362
415
  return getPropertyCallableRef('name', 1, KProperty1, function (receiver) {
@@ -435,7 +488,7 @@
435
488
  function IntCmpExprContext_init_$Init$(ctx, $this) {
436
489
  BooleanExprContext_init_$Init$_0($this);
437
490
  IntCmpExprContext.call($this);
438
- $this.p28(ctx);
491
+ $this.c2a(ctx);
439
492
  return $this;
440
493
  }
441
494
  function IntCmpExprContext_init_$Create$(ctx) {
@@ -444,7 +497,7 @@
444
497
  function ParExprContext_init_$Init$(ctx, $this) {
445
498
  BooleanExprContext_init_$Init$_0($this);
446
499
  ParExprContext.call($this);
447
- $this.p28(ctx);
500
+ $this.c2a(ctx);
448
501
  return $this;
449
502
  }
450
503
  function ParExprContext_init_$Create$(ctx) {
@@ -453,7 +506,7 @@
453
506
  function BooleanAtomContext_init_$Init$(ctx, $this) {
454
507
  BooleanExprContext_init_$Init$_0($this);
455
508
  BooleanAtomContext.call($this);
456
- $this.p28(ctx);
509
+ $this.c2a(ctx);
457
510
  return $this;
458
511
  }
459
512
  function BooleanAtomContext_init_$Create$(ctx) {
@@ -462,7 +515,7 @@
462
515
  function EqExprContext_init_$Init$(ctx, $this) {
463
516
  BooleanExprContext_init_$Init$_0($this);
464
517
  EqExprContext.call($this);
465
- $this.p28(ctx);
518
+ $this.c2a(ctx);
466
519
  return $this;
467
520
  }
468
521
  function EqExprContext_init_$Create$(ctx) {
@@ -471,7 +524,7 @@
471
524
  function NotExprContext_init_$Init$(ctx, $this) {
472
525
  BooleanExprContext_init_$Init$_0($this);
473
526
  NotExprContext.call($this);
474
- $this.p28(ctx);
527
+ $this.c2a(ctx);
475
528
  return $this;
476
529
  }
477
530
  function NotExprContext_init_$Create$(ctx) {
@@ -480,7 +533,7 @@
480
533
  function IsSetFuncContext_init_$Init$(ctx, $this) {
481
534
  BooleanExprContext_init_$Init$_0($this);
482
535
  IsSetFuncContext.call($this);
483
- $this.p28(ctx);
536
+ $this.c2a(ctx);
484
537
  return $this;
485
538
  }
486
539
  function IsSetFuncContext_init_$Create$(ctx) {
@@ -489,7 +542,7 @@
489
542
  function OrExprContext_init_$Init$(ctx, $this) {
490
543
  BooleanExprContext_init_$Init$_0($this);
491
544
  OrExprContext.call($this);
492
- $this.p28(ctx);
545
+ $this.c2a(ctx);
493
546
  return $this;
494
547
  }
495
548
  function OrExprContext_init_$Create$(ctx) {
@@ -498,7 +551,7 @@
498
551
  function AndExprContext_init_$Init$(ctx, $this) {
499
552
  BooleanExprContext_init_$Init$_0($this);
500
553
  AndExprContext.call($this);
501
- $this.p28(ctx);
554
+ $this.c2a(ctx);
502
555
  return $this;
503
556
  }
504
557
  function AndExprContext_init_$Create$(ctx) {
@@ -520,7 +573,7 @@
520
573
  function IntAtomContext_init_$Init$(ctx, $this) {
521
574
  IntExprContext_init_$Init$_0($this);
522
575
  IntAtomContext.call($this);
523
- $this.x28(ctx);
576
+ $this.k2a(ctx);
524
577
  return $this;
525
578
  }
526
579
  function IntAtomContext_init_$Create$(ctx) {
@@ -529,7 +582,7 @@
529
582
  function ParIntExprContext_init_$Init$(ctx, $this) {
530
583
  IntExprContext_init_$Init$_0($this);
531
584
  ParIntExprContext.call($this);
532
- $this.x28(ctx);
585
+ $this.k2a(ctx);
533
586
  return $this;
534
587
  }
535
588
  function ParIntExprContext_init_$Create$(ctx) {
@@ -538,7 +591,7 @@
538
591
  function ValuesFuncContext_init_$Init$(ctx, $this) {
539
592
  IntExprContext_init_$Init$_0($this);
540
593
  ValuesFuncContext.call($this);
541
- $this.x28(ctx);
594
+ $this.k2a(ctx);
542
595
  return $this;
543
596
  }
544
597
  function ValuesFuncContext_init_$Create$(ctx) {
@@ -546,15 +599,15 @@
546
599
  }
547
600
  function Tokens(name, ordinal, id) {
548
601
  Enum.call(this, name, ordinal);
549
- this.a29_1 = id;
602
+ this.n2a_1 = id;
550
603
  }
551
604
  function Rules_0(name, ordinal, id) {
552
605
  Enum.call(this, name, ordinal);
553
- this.d29_1 = id;
606
+ this.q2a_1 = id;
554
607
  }
555
608
  function Companion_0() {
556
609
  Companion_instance_0 = this;
557
- this.f29_1 = new PredictionContextCache();
610
+ this.s2a_1 = new PredictionContextCache();
558
611
  var tmp = this;
559
612
  var tmp$ret$2;
560
613
  // Inline function 'kotlin.arrayOf' call
@@ -565,23 +618,23 @@
565
618
  tmp$ret$0 = ['booleanExpr', 'intExpr'];
566
619
  tmp$ret$1 = tmp$ret$0;
567
620
  tmp$ret$2 = tmp$ret$1;
568
- tmp.g29_1 = tmp$ret$2;
569
- this.h29_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
570
- this.i29_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
621
+ tmp.t2a_1 = tmp$ret$2;
622
+ this.u2a_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
623
+ this.v2a_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
571
624
  var tmp_0 = this;
572
625
  var tmp$ret$3;
573
626
  // Inline function 'kotlin.collections.toTypedArray' call
574
- var tmp0_toTypedArray = this.h29_1;
627
+ var tmp0_toTypedArray = this.u2a_1;
575
628
  tmp$ret$3 = copyToArray(tmp0_toTypedArray);
576
629
  var tmp_1 = tmp$ret$3;
577
630
  var tmp$ret$4;
578
631
  // Inline function 'kotlin.collections.toTypedArray' call
579
- var tmp1_toTypedArray = this.i29_1;
632
+ var tmp1_toTypedArray = this.v2a_1;
580
633
  tmp$ret$4 = copyToArray(tmp1_toTypedArray);
581
- tmp_0.j29_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
634
+ tmp_0.w2a_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
582
635
  var tmp_2 = this;
583
636
  var tmp_3 = 0;
584
- var tmp_4 = this.i29_1.i();
637
+ var tmp_4 = this.v2a_1.i();
585
638
  var tmp$ret$5;
586
639
  // Inline function 'kotlin.arrayOfNulls' call
587
640
  tmp$ret$5 = fillArrayVal(Array(tmp_4), null);
@@ -590,9 +643,9 @@
590
643
  var tmp_6 = tmp_3;
591
644
  var tmp$ret$6;
592
645
  // Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
593
- var el = Companion_getInstance_2().j29_1.k1m(tmp_6);
646
+ var el = Companion_getInstance_2().w2a_1.f1n(tmp_6);
594
647
  if (el == null) {
595
- el = Companion_getInstance_2().j29_1.l1m(tmp_6);
648
+ el = Companion_getInstance_2().w2a_1.g1n(tmp_6);
596
649
  }
597
650
  if (el == null) {
598
651
  el = '<INVALID>';
@@ -601,12 +654,12 @@
601
654
  tmp_5[tmp_6] = tmp$ret$6;
602
655
  tmp_3 = tmp_3 + 1 | 0;
603
656
  }
604
- tmp_2.k29_1 = tmp_5;
605
- this.l29_1 = '\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-';
606
- this.m29_1 = (new ATNDeserializer()).v1q(asCharArray('\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-'));
657
+ tmp_2.x2a_1 = tmp_5;
658
+ this.y2a_1 = '\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-';
659
+ this.z2a_1 = (new ATNDeserializer()).q1r(asCharArray('\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-'));
607
660
  var tmp_7 = this;
608
661
  var tmp_8 = 0;
609
- var tmp_9 = this.m29_1.n1m();
662
+ var tmp_9 = this.z2a_1.i1n();
610
663
  var tmp$ret$7;
611
664
  // Inline function 'kotlin.arrayOfNulls' call
612
665
  tmp$ret$7 = fillArrayVal(Array(tmp_9), null);
@@ -615,11 +668,11 @@
615
668
  var tmp_11 = tmp_8;
616
669
  var tmp$ret$8;
617
670
  // Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
618
- tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().m29_1.b1n(tmp_11)), tmp_11);
671
+ tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().z2a_1.w1n(tmp_11)), tmp_11);
619
672
  tmp_10[tmp_11] = tmp$ret$8;
620
673
  tmp_8 = tmp_8 + 1 | 0;
621
674
  }
622
- tmp_7.e29_1 = tmp_10;
675
+ tmp_7.r2a_1 = tmp_10;
623
676
  }
624
677
  var Companion_instance_0;
625
678
  function Companion_getInstance_2() {
@@ -627,155 +680,211 @@
627
680
  new Companion_0();
628
681
  return Companion_instance_0;
629
682
  }
630
- protoOf(BooleanExprContext).o1g = function () {
631
- return Rules_RULE_booleanExpr_getInstance().d29_1;
683
+ protoOf(BooleanExprContext).f1h = function () {
684
+ return Rules_RULE_booleanExpr_getInstance().q2a_1;
632
685
  };
633
- protoOf(BooleanExprContext).p28 = function (ctx) {
634
- protoOf(ParserRuleContext).p1l.call(this, ctx);
686
+ protoOf(BooleanExprContext).c2a = function (ctx) {
687
+ protoOf(ParserRuleContext).h1m.call(this, ctx);
635
688
  };
636
689
  function BooleanExprContext() {
637
690
  }
638
- protoOf(IntCmpExprContext).t1k = function (listener) {
691
+ protoOf(IntCmpExprContext).k1l = function (listener) {
639
692
  if (isInterface(listener, StateExpressionListener)) {
640
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m27(this);
693
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z28(this);
641
694
  }
642
695
  };
643
- protoOf(IntCmpExprContext).v1k = function (listener) {
696
+ protoOf(IntCmpExprContext).m1l = function (listener) {
644
697
  if (isInterface(listener, StateExpressionListener)) {
645
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n27(this);
698
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a29(this);
699
+ }
700
+ };
701
+ protoOf(IntCmpExprContext).l1m = function (visitor) {
702
+ if (isInterface(visitor, StateExpressionVisitor)) {
703
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).l27(this);
704
+ } else {
705
+ return ensureNotNull(visitor.t1m(this));
646
706
  }
647
707
  };
648
708
  function IntCmpExprContext() {
649
- this.u29_1 = null;
650
- this.v29_1 = null;
651
- this.w29_1 = null;
709
+ this.h2b_1 = null;
710
+ this.i2b_1 = null;
711
+ this.j2b_1 = null;
652
712
  }
653
- protoOf(ParExprContext).t1k = function (listener) {
713
+ protoOf(ParExprContext).k1l = function (listener) {
654
714
  if (isInterface(listener, StateExpressionListener)) {
655
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o27(this);
715
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b29(this);
656
716
  }
657
717
  };
658
- protoOf(ParExprContext).v1k = function (listener) {
718
+ protoOf(ParExprContext).m1l = function (listener) {
659
719
  if (isInterface(listener, StateExpressionListener)) {
660
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p27(this);
720
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c29(this);
721
+ }
722
+ };
723
+ protoOf(ParExprContext).l1m = function (visitor) {
724
+ if (isInterface(visitor, StateExpressionVisitor)) {
725
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).m27(this);
726
+ } else {
727
+ return ensureNotNull(visitor.t1m(this));
661
728
  }
662
729
  };
663
730
  function ParExprContext() {
664
- this.e2a_1 = null;
731
+ this.r2b_1 = null;
665
732
  }
666
- protoOf(BooleanAtomContext).t1k = function (listener) {
733
+ protoOf(BooleanAtomContext).k1l = function (listener) {
667
734
  if (isInterface(listener, StateExpressionListener)) {
668
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q27(this);
735
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).d29(this);
669
736
  }
670
737
  };
671
- protoOf(BooleanAtomContext).v1k = function (listener) {
738
+ protoOf(BooleanAtomContext).m1l = function (listener) {
672
739
  if (isInterface(listener, StateExpressionListener)) {
673
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r27(this);
740
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).e29(this);
741
+ }
742
+ };
743
+ protoOf(BooleanAtomContext).l1m = function (visitor) {
744
+ if (isInterface(visitor, StateExpressionVisitor)) {
745
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).n27(this);
746
+ } else {
747
+ return ensureNotNull(visitor.t1m(this));
674
748
  }
675
749
  };
676
750
  function BooleanAtomContext() {
677
- this.m2a_1 = null;
751
+ this.z2b_1 = null;
678
752
  }
679
- protoOf(EqExprContext).t1k = function (listener) {
753
+ protoOf(EqExprContext).k1l = function (listener) {
680
754
  if (isInterface(listener, StateExpressionListener)) {
681
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s27(this);
755
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).f29(this);
682
756
  }
683
757
  };
684
- protoOf(EqExprContext).v1k = function (listener) {
758
+ protoOf(EqExprContext).m1l = function (listener) {
685
759
  if (isInterface(listener, StateExpressionListener)) {
686
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t27(this);
760
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).g29(this);
761
+ }
762
+ };
763
+ protoOf(EqExprContext).l1m = function (visitor) {
764
+ if (isInterface(visitor, StateExpressionVisitor)) {
765
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).o27(this);
766
+ } else {
767
+ return ensureNotNull(visitor.t1m(this));
687
768
  }
688
769
  };
689
770
  function EqExprContext() {
690
- this.u2a_1 = null;
691
- this.v2a_1 = null;
692
- this.w2a_1 = null;
771
+ this.h2c_1 = null;
772
+ this.i2c_1 = null;
773
+ this.j2c_1 = null;
693
774
  }
694
- protoOf(NotExprContext).t1k = function (listener) {
775
+ protoOf(NotExprContext).k1l = function (listener) {
695
776
  if (isInterface(listener, StateExpressionListener)) {
696
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u27(this);
777
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).h29(this);
697
778
  }
698
779
  };
699
- protoOf(NotExprContext).v1k = function (listener) {
780
+ protoOf(NotExprContext).m1l = function (listener) {
700
781
  if (isInterface(listener, StateExpressionListener)) {
701
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).v27(this);
782
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).i29(this);
783
+ }
784
+ };
785
+ protoOf(NotExprContext).l1m = function (visitor) {
786
+ if (isInterface(visitor, StateExpressionVisitor)) {
787
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).p27(this);
788
+ } else {
789
+ return ensureNotNull(visitor.t1m(this));
702
790
  }
703
791
  };
704
792
  function NotExprContext() {
705
- this.e2b_1 = null;
793
+ this.r2c_1 = null;
706
794
  }
707
- protoOf(IsSetFuncContext).t1k = function (listener) {
795
+ protoOf(IsSetFuncContext).k1l = function (listener) {
708
796
  if (isInterface(listener, StateExpressionListener)) {
709
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).w27(this);
797
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).j29(this);
710
798
  }
711
799
  };
712
- protoOf(IsSetFuncContext).v1k = function (listener) {
800
+ protoOf(IsSetFuncContext).m1l = function (listener) {
713
801
  if (isInterface(listener, StateExpressionListener)) {
714
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).x27(this);
802
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).k29(this);
803
+ }
804
+ };
805
+ protoOf(IsSetFuncContext).l1m = function (visitor) {
806
+ if (isInterface(visitor, StateExpressionVisitor)) {
807
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).q27(this);
808
+ } else {
809
+ return ensureNotNull(visitor.t1m(this));
715
810
  }
716
811
  };
717
812
  function IsSetFuncContext() {
718
- this.m2b_1 = null;
813
+ this.z2c_1 = null;
719
814
  }
720
- protoOf(OrExprContext).t1k = function (listener) {
815
+ protoOf(OrExprContext).k1l = function (listener) {
721
816
  if (isInterface(listener, StateExpressionListener)) {
722
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).y27(this);
817
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).l29(this);
723
818
  }
724
819
  };
725
- protoOf(OrExprContext).v1k = function (listener) {
820
+ protoOf(OrExprContext).m1l = function (listener) {
726
821
  if (isInterface(listener, StateExpressionListener)) {
727
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z27(this);
822
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m29(this);
823
+ }
824
+ };
825
+ protoOf(OrExprContext).l1m = function (visitor) {
826
+ if (isInterface(visitor, StateExpressionVisitor)) {
827
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).r27(this);
828
+ } else {
829
+ return ensureNotNull(visitor.t1m(this));
728
830
  }
729
831
  };
730
832
  function OrExprContext() {
731
- this.u2b_1 = null;
732
- this.v2b_1 = null;
833
+ this.h2d_1 = null;
834
+ this.i2d_1 = null;
733
835
  }
734
- protoOf(AndExprContext).t1k = function (listener) {
836
+ protoOf(AndExprContext).k1l = function (listener) {
735
837
  if (isInterface(listener, StateExpressionListener)) {
736
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a28(this);
838
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n29(this);
737
839
  }
738
840
  };
739
- protoOf(AndExprContext).v1k = function (listener) {
841
+ protoOf(AndExprContext).m1l = function (listener) {
740
842
  if (isInterface(listener, StateExpressionListener)) {
741
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b28(this);
843
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o29(this);
844
+ }
845
+ };
846
+ protoOf(AndExprContext).l1m = function (visitor) {
847
+ if (isInterface(visitor, StateExpressionVisitor)) {
848
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).s27(this);
849
+ } else {
850
+ return ensureNotNull(visitor.t1m(this));
742
851
  }
743
852
  };
744
853
  function AndExprContext() {
745
- this.d2c_1 = null;
746
- this.e2c_1 = null;
854
+ this.q2d_1 = null;
855
+ this.r2d_1 = null;
747
856
  }
748
857
  function booleanExpr($this, _p) {
749
- var _parentctx = $this.k19_1;
750
- var _parentState = $this.v1d_1;
751
- var _localctx = BooleanExprContext_init_$Create$($this.k19_1, _parentState);
858
+ var _parentctx = $this.b1a_1;
859
+ var _parentState = $this.m1e_1;
860
+ var _localctx = BooleanExprContext_init_$Create$($this.b1a_1, _parentState);
752
861
  var _prevctx = _localctx;
753
862
  var _startState = 0;
754
- $this.l1l(_localctx, 0, Rules_RULE_booleanExpr_getInstance().d29_1, _p);
863
+ $this.c1m(_localctx, 0, Rules_RULE_booleanExpr_getInstance().q2a_1, _p);
755
864
  var _la;
756
865
  try {
757
866
  var _alt;
758
- $this.i1l(_localctx, 1);
867
+ $this.z1l(_localctx, 1);
759
868
  {
760
- $this.v1d_1 = 22;
761
- $this.h19_1.b1a($this);
762
- var tmp0_subject = ensureNotNull($this.u1d_1).j1z(ensureNotNull($this.i19_1), 0, $this.k19_1);
869
+ $this.m1e_1 = 22;
870
+ $this.y19_1.s1a($this);
871
+ var tmp0_subject = ensureNotNull($this.l1e_1).e20(ensureNotNull($this.z19_1), 0, $this.b1a_1);
763
872
  switch (tmp0_subject) {
764
873
  case 1:
765
874
  {
766
875
  _localctx = ParExprContext_init_$Create$(_localctx);
767
- $this.k19_1 = _localctx;
876
+ $this.b1a_1 = _localctx;
768
877
  _prevctx = _localctx;
769
- $this.v1d_1 = 5;
770
- var tmp = $this.o1k($this.a2d_1);
878
+ $this.m1e_1 = 5;
879
+ var tmp = $this.f1l($this.n2e_1);
771
880
  if (isInterface(tmp, Token))
772
881
  tmp;
773
882
  else
774
883
  THROW_CCE();
775
- $this.v1d_1 = 6;
776
- (_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).e2a_1 = booleanExpr($this, 0);
777
- $this.v1d_1 = 7;
778
- var tmp_0 = $this.o1k($this.b2d_1);
884
+ $this.m1e_1 = 6;
885
+ (_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).r2b_1 = booleanExpr($this, 0);
886
+ $this.m1e_1 = 7;
887
+ var tmp_0 = $this.f1l($this.o2e_1);
779
888
  if (isInterface(tmp_0, Token))
780
889
  tmp_0;
781
890
  else
@@ -786,36 +895,36 @@
786
895
  case 2:
787
896
  {
788
897
  _localctx = NotExprContext_init_$Create$(_localctx);
789
- $this.k19_1 = _localctx;
898
+ $this.b1a_1 = _localctx;
790
899
  _prevctx = _localctx;
791
- $this.v1d_1 = 9;
792
- var tmp_1 = $this.o1k($this.v2c_1);
900
+ $this.m1e_1 = 9;
901
+ var tmp_1 = $this.f1l($this.i2e_1);
793
902
  if (isInterface(tmp_1, Token))
794
903
  tmp_1;
795
904
  else
796
905
  THROW_CCE();
797
- $this.v1d_1 = 10;
798
- (_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).e2b_1 = booleanExpr($this, 7);
906
+ $this.m1e_1 = 10;
907
+ (_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).r2c_1 = booleanExpr($this, 7);
799
908
  }
800
909
 
801
910
  break;
802
911
  case 3:
803
912
  {
804
913
  _localctx = IsSetFuncContext_init_$Create$(_localctx);
805
- $this.k19_1 = _localctx;
914
+ $this.b1a_1 = _localctx;
806
915
  _prevctx = _localctx;
807
- $this.v1d_1 = 11;
808
- var tmp_2 = $this.o1k($this.e2d_1);
916
+ $this.m1e_1 = 11;
917
+ var tmp_2 = $this.f1l($this.r2e_1);
809
918
  if (isInterface(tmp_2, Token))
810
919
  tmp_2;
811
920
  else
812
921
  THROW_CCE();
813
- $this.v1d_1 = 12;
922
+ $this.m1e_1 = 12;
814
923
  var tmp_3 = _localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE();
815
- var tmp_4 = $this.o1k($this.i2d_1);
816
- tmp_3.m2b_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
817
- $this.v1d_1 = 13;
818
- var tmp_5 = $this.o1k($this.b2d_1);
924
+ var tmp_4 = $this.f1l($this.v2e_1);
925
+ tmp_3.z2c_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
926
+ $this.m1e_1 = 13;
927
+ var tmp_5 = $this.f1l($this.o2e_1);
819
928
  if (isInterface(tmp_5, Token))
820
929
  tmp_5;
821
930
  else
@@ -826,203 +935,224 @@
826
935
  case 4:
827
936
  {
828
937
  _localctx = EqExprContext_init_$Create$(_localctx);
829
- $this.k19_1 = _localctx;
938
+ $this.b1a_1 = _localctx;
830
939
  _prevctx = _localctx;
831
- $this.v1d_1 = 14;
940
+ $this.m1e_1 = 14;
832
941
  var tmp_6 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
833
- var tmp_7 = $this.o1k($this.i2d_1);
834
- tmp_6.u2a_1 = isInterface(tmp_7, Token) ? tmp_7 : THROW_CCE();
835
- $this.v1d_1 = 15;
836
- (_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).v2a_1 = ensureNotNull($this.i19_1).b1c(1);
837
- _la = ensureNotNull($this.i19_1).o1b(1);
838
- if (!(_la === $this.r2c_1 ? true : _la === $this.s2c_1)) {
942
+ var tmp_7 = $this.f1l($this.v2e_1);
943
+ tmp_6.h2c_1 = isInterface(tmp_7, Token) ? tmp_7 : THROW_CCE();
944
+ $this.m1e_1 = 15;
945
+ (_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).i2c_1 = ensureNotNull($this.z19_1).s1c(1);
946
+ _la = ensureNotNull($this.z19_1).f1c(1);
947
+ if (!(_la === $this.e2e_1 ? true : _la === $this.f2e_1)) {
839
948
  var tmp_8 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
840
- var tmp_9 = $this.h19_1.a1a($this);
841
- tmp_8.v2a_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
949
+ var tmp_9 = $this.y19_1.r1a($this);
950
+ tmp_8.i2c_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
842
951
  } else {
843
- if (ensureNotNull($this.i19_1).o1b(1) === Tokens_EOF_getInstance().a29_1)
844
- $this.o19_1 = true;
845
- $this.h19_1.k1a($this);
846
- $this.n1e();
952
+ if (ensureNotNull($this.z19_1).f1c(1) === Tokens_EOF_getInstance().n2a_1)
953
+ $this.f1a_1 = true;
954
+ $this.y19_1.b1b($this);
955
+ $this.e1f();
847
956
  }
848
- $this.v1d_1 = 16;
957
+ $this.m1e_1 = 16;
849
958
  var tmp_10 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
850
- var tmp_11 = $this.o1k($this.h2d_1);
851
- tmp_10.w2a_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
959
+ var tmp_11 = $this.f1l($this.u2e_1);
960
+ tmp_10.j2c_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
852
961
  }
853
962
 
854
963
  break;
855
964
  case 5:
856
965
  {
857
966
  _localctx = IntCmpExprContext_init_$Create$(_localctx);
858
- $this.k19_1 = _localctx;
967
+ $this.b1a_1 = _localctx;
859
968
  _prevctx = _localctx;
860
- $this.v1d_1 = 17;
861
- (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).u29_1 = $this.j2d();
862
- $this.v1d_1 = 18;
863
- (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).v29_1 = ensureNotNull($this.i19_1).b1c(1);
864
- _la = ensureNotNull($this.i19_1).o1b(1);
865
- if (!((_la & -64) === 0 ? !(new Long(1, 0)).vd(_la).y5((new Long(1, 0)).vd($this.r2c_1).xd((new Long(1, 0)).vd($this.s2c_1)).xd((new Long(1, 0)).vd($this.w2c_1)).xd((new Long(1, 0)).vd($this.x2c_1)).xd((new Long(1, 0)).vd($this.y2c_1)).xd((new Long(1, 0)).vd($this.z2c_1))).equals(new Long(0, 0)) : false)) {
969
+ $this.m1e_1 = 17;
970
+ (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).h2b_1 = $this.w2e();
971
+ $this.m1e_1 = 18;
972
+ (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).i2b_1 = ensureNotNull($this.z19_1).s1c(1);
973
+ _la = ensureNotNull($this.z19_1).f1c(1);
974
+ if (!((_la & -64) === 0 ? !(new Long(1, 0)).vd(_la).y5((new Long(1, 0)).vd($this.e2e_1).xd((new Long(1, 0)).vd($this.f2e_1)).xd((new Long(1, 0)).vd($this.j2e_1)).xd((new Long(1, 0)).vd($this.k2e_1)).xd((new Long(1, 0)).vd($this.l2e_1)).xd((new Long(1, 0)).vd($this.m2e_1))).equals(new Long(0, 0)) : false)) {
866
975
  var tmp_12 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
867
- var tmp_13 = $this.h19_1.a1a($this);
868
- tmp_12.v29_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
976
+ var tmp_13 = $this.y19_1.r1a($this);
977
+ tmp_12.i2b_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
869
978
  } else {
870
- if (ensureNotNull($this.i19_1).o1b(1) === Tokens_EOF_getInstance().a29_1)
871
- $this.o19_1 = true;
872
- $this.h19_1.k1a($this);
873
- $this.n1e();
979
+ if (ensureNotNull($this.z19_1).f1c(1) === Tokens_EOF_getInstance().n2a_1)
980
+ $this.f1a_1 = true;
981
+ $this.y19_1.b1b($this);
982
+ $this.e1f();
874
983
  }
875
- $this.v1d_1 = 19;
876
- (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).w29_1 = $this.j2d();
984
+ $this.m1e_1 = 19;
985
+ (_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).j2b_1 = $this.w2e();
877
986
  }
878
987
 
879
988
  break;
880
989
  case 6:
881
990
  {
882
991
  _localctx = BooleanAtomContext_init_$Create$(_localctx);
883
- $this.k19_1 = _localctx;
992
+ $this.b1a_1 = _localctx;
884
993
  _prevctx = _localctx;
885
- $this.v1d_1 = 21;
886
- (_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).m2a_1 = ensureNotNull($this.i19_1).b1c(1);
887
- _la = ensureNotNull($this.i19_1).o1b(1);
888
- if (!(_la === $this.c2d_1 ? true : _la === $this.d2d_1)) {
994
+ $this.m1e_1 = 21;
995
+ (_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).z2b_1 = ensureNotNull($this.z19_1).s1c(1);
996
+ _la = ensureNotNull($this.z19_1).f1c(1);
997
+ if (!(_la === $this.p2e_1 ? true : _la === $this.q2e_1)) {
889
998
  var tmp_14 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
890
- var tmp_15 = $this.h19_1.a1a($this);
891
- tmp_14.m2a_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
999
+ var tmp_15 = $this.y19_1.r1a($this);
1000
+ tmp_14.z2b_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
892
1001
  } else {
893
- if (ensureNotNull($this.i19_1).o1b(1) === Tokens_EOF_getInstance().a29_1)
894
- $this.o19_1 = true;
895
- $this.h19_1.k1a($this);
896
- $this.n1e();
1002
+ if (ensureNotNull($this.z19_1).f1c(1) === Tokens_EOF_getInstance().n2a_1)
1003
+ $this.f1a_1 = true;
1004
+ $this.y19_1.b1b($this);
1005
+ $this.e1f();
897
1006
  }
898
1007
  }
899
1008
 
900
1009
  break;
901
1010
  }
902
- ensureNotNull($this.k19_1).u19_1 = ensureNotNull($this.i19_1).b1c(-1);
903
- $this.v1d_1 = 32;
904
- $this.h19_1.b1a($this);
905
- _alt = ensureNotNull($this.u1d_1).j1z(ensureNotNull($this.i19_1), 2, $this.k19_1);
906
- while (!(_alt === 2) ? !(_alt === Companion_getInstance().m1m_1) : false) {
1011
+ ensureNotNull($this.b1a_1).l1a_1 = ensureNotNull($this.z19_1).s1c(-1);
1012
+ $this.m1e_1 = 32;
1013
+ $this.y19_1.s1a($this);
1014
+ _alt = ensureNotNull($this.l1e_1).e20(ensureNotNull($this.z19_1), 2, $this.b1a_1);
1015
+ while (!(_alt === 2) ? !(_alt === Companion_getInstance().h1n_1) : false) {
907
1016
  if (_alt === 1) {
908
- if (!($this.m19_1 == null)) {
909
- $this.u1k();
1017
+ if (!($this.d1a_1 == null)) {
1018
+ $this.l1l();
910
1019
  }
911
1020
  _prevctx = _localctx;
912
1021
  {
913
- $this.v1d_1 = 30;
914
- $this.h19_1.b1a($this);
915
- var tmp1_subject = ensureNotNull($this.u1d_1).j1z(ensureNotNull($this.i19_1), 1, $this.k19_1);
1022
+ $this.m1e_1 = 30;
1023
+ $this.y19_1.s1a($this);
1024
+ var tmp1_subject = ensureNotNull($this.l1e_1).e20(ensureNotNull($this.z19_1), 1, $this.b1a_1);
916
1025
  if (tmp1_subject === 1) {
917
1026
  {
918
1027
  _localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
919
- (_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).d2c_1 = _prevctx;
920
- $this.m1l(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().d29_1);
921
- $this.v1d_1 = 24;
922
- if (!$this.y1j(ensureNotNull($this.k19_1), 6))
1028
+ (_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).q2d_1 = _prevctx;
1029
+ $this.d1m(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().q2a_1);
1030
+ $this.m1e_1 = 24;
1031
+ if (!$this.p1k(ensureNotNull($this.b1a_1), 6))
923
1032
  throw new FailedPredicateException($this, 'precpred(context!!, 6)');
924
- $this.v1d_1 = 25;
925
- var tmp_16 = $this.o1k($this.t2c_1);
1033
+ $this.m1e_1 = 25;
1034
+ var tmp_16 = $this.f1l($this.g2e_1);
926
1035
  if (isInterface(tmp_16, Token))
927
1036
  tmp_16;
928
1037
  else
929
1038
  THROW_CCE();
930
- $this.v1d_1 = 26;
931
- (_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).e2c_1 = booleanExpr($this, 7);
1039
+ $this.m1e_1 = 26;
1040
+ (_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).r2d_1 = booleanExpr($this, 7);
932
1041
  }
933
1042
  } else if (tmp1_subject === 2) {
934
1043
  {
935
1044
  _localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
936
- (_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).u2b_1 = _prevctx;
937
- $this.m1l(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().d29_1);
938
- $this.v1d_1 = 27;
939
- if (!$this.y1j(ensureNotNull($this.k19_1), 5))
1045
+ (_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).h2d_1 = _prevctx;
1046
+ $this.d1m(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().q2a_1);
1047
+ $this.m1e_1 = 27;
1048
+ if (!$this.p1k(ensureNotNull($this.b1a_1), 5))
940
1049
  throw new FailedPredicateException($this, 'precpred(context!!, 5)');
941
- $this.v1d_1 = 28;
942
- var tmp_17 = $this.o1k($this.u2c_1);
1050
+ $this.m1e_1 = 28;
1051
+ var tmp_17 = $this.f1l($this.h2e_1);
943
1052
  if (isInterface(tmp_17, Token))
944
1053
  tmp_17;
945
1054
  else
946
1055
  THROW_CCE();
947
- $this.v1d_1 = 29;
948
- (_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).v2b_1 = booleanExpr($this, 6);
1056
+ $this.m1e_1 = 29;
1057
+ (_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).i2d_1 = booleanExpr($this, 6);
949
1058
  }
950
1059
  }
951
1060
  }
952
1061
  }
953
- $this.v1d_1 = 34;
954
- $this.h19_1.b1a($this);
955
- _alt = ensureNotNull($this.u1d_1).j1z(ensureNotNull($this.i19_1), 2, $this.k19_1);
1062
+ $this.m1e_1 = 34;
1063
+ $this.y19_1.s1a($this);
1064
+ _alt = ensureNotNull($this.l1e_1).e20(ensureNotNull($this.z19_1), 2, $this.b1a_1);
956
1065
  }
957
1066
  }
958
1067
  } catch ($p) {
959
1068
  if ($p instanceof RecognitionException) {
960
1069
  var re = $p;
961
- _localctx.v19_1 = re;
962
- $this.h19_1.l1a($this, re);
963
- $this.h19_1.c19($this, re);
1070
+ _localctx.m1a_1 = re;
1071
+ $this.y19_1.c1b($this, re);
1072
+ $this.y19_1.t19($this, re);
964
1073
  } else {
965
1074
  throw $p;
966
1075
  }
967
1076
  }
968
1077
  finally {
969
- $this.o1l(_parentctx);
1078
+ $this.f1m(_parentctx);
970
1079
  }
971
1080
  return _localctx;
972
1081
  }
973
- protoOf(IntExprContext).o1g = function () {
974
- return Rules_RULE_intExpr_getInstance().d29_1;
1082
+ protoOf(IntExprContext).f1h = function () {
1083
+ return Rules_RULE_intExpr_getInstance().q2a_1;
975
1084
  };
976
- protoOf(IntExprContext).x28 = function (ctx) {
977
- protoOf(ParserRuleContext).p1l.call(this, ctx);
1085
+ protoOf(IntExprContext).k2a = function (ctx) {
1086
+ protoOf(ParserRuleContext).h1m.call(this, ctx);
978
1087
  };
979
1088
  function IntExprContext() {
980
1089
  }
981
- protoOf(IntAtomContext).t1k = function (listener) {
1090
+ protoOf(IntAtomContext).k1l = function (listener) {
982
1091
  if (isInterface(listener, StateExpressionListener)) {
983
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).g28(this);
1092
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t29(this);
984
1093
  }
985
1094
  };
986
- protoOf(IntAtomContext).v1k = function (listener) {
1095
+ protoOf(IntAtomContext).m1l = function (listener) {
987
1096
  if (isInterface(listener, StateExpressionListener)) {
988
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).h28(this);
1097
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u29(this);
1098
+ }
1099
+ };
1100
+ protoOf(IntAtomContext).l1m = function (visitor) {
1101
+ if (isInterface(visitor, StateExpressionVisitor)) {
1102
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).v27(this);
1103
+ } else {
1104
+ return ensureNotNull(visitor.t1m(this));
989
1105
  }
990
1106
  };
991
1107
  function IntAtomContext() {
992
- this.r2d_1 = null;
1108
+ this.e2f_1 = null;
993
1109
  }
994
- protoOf(ParIntExprContext).t1k = function (listener) {
1110
+ protoOf(ParIntExprContext).k1l = function (listener) {
995
1111
  if (isInterface(listener, StateExpressionListener)) {
996
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c28(this);
1112
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p29(this);
997
1113
  }
998
1114
  };
999
- protoOf(ParIntExprContext).v1k = function (listener) {
1115
+ protoOf(ParIntExprContext).m1l = function (listener) {
1000
1116
  if (isInterface(listener, StateExpressionListener)) {
1001
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).d28(this);
1117
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q29(this);
1118
+ }
1119
+ };
1120
+ protoOf(ParIntExprContext).l1m = function (visitor) {
1121
+ if (isInterface(visitor, StateExpressionVisitor)) {
1122
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).t27(this);
1123
+ } else {
1124
+ return ensureNotNull(visitor.t1m(this));
1002
1125
  }
1003
1126
  };
1004
1127
  function ParIntExprContext() {
1005
- this.z2d_1 = null;
1128
+ this.m2f_1 = null;
1006
1129
  }
1007
- protoOf(ValuesFuncContext).t1k = function (listener) {
1130
+ protoOf(ValuesFuncContext).k1l = function (listener) {
1008
1131
  if (isInterface(listener, StateExpressionListener)) {
1009
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).e28(this);
1132
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r29(this);
1010
1133
  }
1011
1134
  };
1012
- protoOf(ValuesFuncContext).v1k = function (listener) {
1135
+ protoOf(ValuesFuncContext).m1l = function (listener) {
1013
1136
  if (isInterface(listener, StateExpressionListener)) {
1014
- (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).f28(this);
1137
+ (isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s29(this);
1138
+ }
1139
+ };
1140
+ protoOf(ValuesFuncContext).l1m = function (visitor) {
1141
+ if (isInterface(visitor, StateExpressionVisitor)) {
1142
+ return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).u27(this);
1143
+ } else {
1144
+ return ensureNotNull(visitor.t1m(this));
1015
1145
  }
1016
1146
  };
1017
1147
  function ValuesFuncContext() {
1018
- this.h2e_1 = null;
1148
+ this.u2f_1 = null;
1019
1149
  }
1020
1150
  function booleanExpr_sempred($this, _localctx, predIndex) {
1021
1151
  var tmp0_subject = predIndex;
1022
1152
  if (tmp0_subject === 0)
1023
- return $this.y1j(ensureNotNull($this.k19_1), 6);
1153
+ return $this.p1k(ensureNotNull($this.b1a_1), 6);
1024
1154
  else if (tmp0_subject === 1)
1025
- return $this.y1j(ensureNotNull($this.k19_1), 5);
1155
+ return $this.p1k(ensureNotNull($this.b1a_1), 5);
1026
1156
  return true;
1027
1157
  }
1028
1158
  function Tokens_EOF_getInstance() {
@@ -1112,123 +1242,158 @@
1112
1242
  function StateExpressionParser(input) {
1113
1243
  Companion_getInstance_2();
1114
1244
  Parser.call(this, input);
1115
- this.r2c_1 = Tokens_EQ_getInstance().a29_1;
1116
- this.s2c_1 = Tokens_NEQ_getInstance().a29_1;
1117
- this.t2c_1 = Tokens_AND_getInstance().a29_1;
1118
- this.u2c_1 = Tokens_OR_getInstance().a29_1;
1119
- this.v2c_1 = Tokens_NOT_getInstance().a29_1;
1120
- this.w2c_1 = Tokens_GTE_getInstance().a29_1;
1121
- this.x2c_1 = Tokens_GT_getInstance().a29_1;
1122
- this.y2c_1 = Tokens_LTE_getInstance().a29_1;
1123
- this.z2c_1 = Tokens_LT_getInstance().a29_1;
1124
- this.a2d_1 = Tokens_OPAR_getInstance().a29_1;
1125
- this.b2d_1 = Tokens_CPAR_getInstance().a29_1;
1126
- this.c2d_1 = Tokens_TRUE_getInstance().a29_1;
1127
- this.d2d_1 = Tokens_FALSE_getInstance().a29_1;
1128
- this.e2d_1 = Tokens_FUNC_ISSET_getInstance().a29_1;
1129
- this.f2d_1 = Tokens_FUNC_VALUES_getInstance().a29_1;
1130
- this.g2d_1 = Tokens_INT_getInstance().a29_1;
1131
- this.h2d_1 = Tokens_STRING_getInstance().a29_1;
1132
- this.i2d_1 = Tokens_VAR_getInstance().a29_1;
1133
- this.u1d_1 = new ParserATNSimulator(this, Companion_getInstance_2().m29_1, Companion_getInstance_2().e29_1, Companion_getInstance_2().f29_1);
1134
- }
1135
- protoOf(StateExpressionParser).n1g = function () {
1136
- return Companion_getInstance_2().g29_1;
1137
- };
1138
- protoOf(StateExpressionParser).e1f = function () {
1139
- return Companion_getInstance_2().m29_1;
1140
- };
1141
- protoOf(StateExpressionParser).x1d = function () {
1142
- return Companion_getInstance_2().j29_1;
1143
- };
1144
- protoOf(StateExpressionParser).i2e = function () {
1245
+ this.e2e_1 = Tokens_EQ_getInstance().n2a_1;
1246
+ this.f2e_1 = Tokens_NEQ_getInstance().n2a_1;
1247
+ this.g2e_1 = Tokens_AND_getInstance().n2a_1;
1248
+ this.h2e_1 = Tokens_OR_getInstance().n2a_1;
1249
+ this.i2e_1 = Tokens_NOT_getInstance().n2a_1;
1250
+ this.j2e_1 = Tokens_GTE_getInstance().n2a_1;
1251
+ this.k2e_1 = Tokens_GT_getInstance().n2a_1;
1252
+ this.l2e_1 = Tokens_LTE_getInstance().n2a_1;
1253
+ this.m2e_1 = Tokens_LT_getInstance().n2a_1;
1254
+ this.n2e_1 = Tokens_OPAR_getInstance().n2a_1;
1255
+ this.o2e_1 = Tokens_CPAR_getInstance().n2a_1;
1256
+ this.p2e_1 = Tokens_TRUE_getInstance().n2a_1;
1257
+ this.q2e_1 = Tokens_FALSE_getInstance().n2a_1;
1258
+ this.r2e_1 = Tokens_FUNC_ISSET_getInstance().n2a_1;
1259
+ this.s2e_1 = Tokens_FUNC_VALUES_getInstance().n2a_1;
1260
+ this.t2e_1 = Tokens_INT_getInstance().n2a_1;
1261
+ this.u2e_1 = Tokens_STRING_getInstance().n2a_1;
1262
+ this.v2e_1 = Tokens_VAR_getInstance().n2a_1;
1263
+ this.l1e_1 = new ParserATNSimulator(this, Companion_getInstance_2().z2a_1, Companion_getInstance_2().r2a_1, Companion_getInstance_2().s2a_1);
1264
+ }
1265
+ protoOf(StateExpressionParser).e1h = function () {
1266
+ return Companion_getInstance_2().t2a_1;
1267
+ };
1268
+ protoOf(StateExpressionParser).v1f = function () {
1269
+ return Companion_getInstance_2().z2a_1;
1270
+ };
1271
+ protoOf(StateExpressionParser).o1e = function () {
1272
+ return Companion_getInstance_2().w2a_1;
1273
+ };
1274
+ protoOf(StateExpressionParser).v2f = function () {
1145
1275
  return booleanExpr(this, 0);
1146
1276
  };
1147
- protoOf(StateExpressionParser).j2d = function () {
1148
- var _localctx = IntExprContext_init_$Create$(this.k19_1, this.v1d_1);
1149
- this.g1l(_localctx, 2, Rules_RULE_intExpr_getInstance().d29_1);
1277
+ protoOf(StateExpressionParser).w2e = function () {
1278
+ var _localctx = IntExprContext_init_$Create$(this.b1a_1, this.m1e_1);
1279
+ this.x1l(_localctx, 2, Rules_RULE_intExpr_getInstance().q2a_1);
1150
1280
  try {
1151
- this.v1d_1 = 43;
1152
- this.h19_1.b1a(this);
1153
- var tmp0_subject = ensureNotNull(this.i19_1).o1b(1);
1154
- if (tmp0_subject === this.a2d_1) {
1281
+ this.m1e_1 = 43;
1282
+ this.y19_1.s1a(this);
1283
+ var tmp0_subject = ensureNotNull(this.z19_1).f1c(1);
1284
+ if (tmp0_subject === this.n2e_1) {
1155
1285
  _localctx = ParIntExprContext_init_$Create$(_localctx);
1156
- this.i1l(_localctx, 1);
1286
+ this.z1l(_localctx, 1);
1157
1287
  {
1158
- this.v1d_1 = 35;
1159
- var tmp = this.o1k(this.a2d_1);
1288
+ this.m1e_1 = 35;
1289
+ var tmp = this.f1l(this.n2e_1);
1160
1290
  if (isInterface(tmp, Token))
1161
1291
  tmp;
1162
1292
  else
1163
1293
  THROW_CCE();
1164
- this.v1d_1 = 36;
1165
- (_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).z2d_1 = this.j2d();
1166
- this.v1d_1 = 37;
1167
- var tmp_0 = this.o1k(this.b2d_1);
1294
+ this.m1e_1 = 36;
1295
+ (_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).m2f_1 = this.w2e();
1296
+ this.m1e_1 = 37;
1297
+ var tmp_0 = this.f1l(this.o2e_1);
1168
1298
  if (isInterface(tmp_0, Token))
1169
1299
  tmp_0;
1170
1300
  else
1171
1301
  THROW_CCE();
1172
1302
  }
1173
- } else if (tmp0_subject === this.f2d_1) {
1303
+ } else if (tmp0_subject === this.s2e_1) {
1174
1304
  _localctx = ValuesFuncContext_init_$Create$(_localctx);
1175
- this.i1l(_localctx, 2);
1305
+ this.z1l(_localctx, 2);
1176
1306
  {
1177
- this.v1d_1 = 39;
1178
- var tmp_1 = this.o1k(this.f2d_1);
1307
+ this.m1e_1 = 39;
1308
+ var tmp_1 = this.f1l(this.s2e_1);
1179
1309
  if (isInterface(tmp_1, Token))
1180
1310
  tmp_1;
1181
1311
  else
1182
1312
  THROW_CCE();
1183
- this.v1d_1 = 40;
1313
+ this.m1e_1 = 40;
1184
1314
  var tmp_2 = _localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE();
1185
- var tmp_3 = this.o1k(this.i2d_1);
1186
- tmp_2.h2e_1 = isInterface(tmp_3, Token) ? tmp_3 : THROW_CCE();
1187
- this.v1d_1 = 41;
1188
- var tmp_4 = this.o1k(this.b2d_1);
1315
+ var tmp_3 = this.f1l(this.v2e_1);
1316
+ tmp_2.u2f_1 = isInterface(tmp_3, Token) ? tmp_3 : THROW_CCE();
1317
+ this.m1e_1 = 41;
1318
+ var tmp_4 = this.f1l(this.o2e_1);
1189
1319
  if (isInterface(tmp_4, Token))
1190
1320
  tmp_4;
1191
1321
  else
1192
1322
  THROW_CCE();
1193
1323
  }
1194
- } else if (tmp0_subject === this.g2d_1) {
1324
+ } else if (tmp0_subject === this.t2e_1) {
1195
1325
  _localctx = IntAtomContext_init_$Create$(_localctx);
1196
- this.i1l(_localctx, 3);
1326
+ this.z1l(_localctx, 3);
1197
1327
  {
1198
- this.v1d_1 = 42;
1328
+ this.m1e_1 = 42;
1199
1329
  var tmp_5 = _localctx instanceof IntAtomContext ? _localctx : THROW_CCE();
1200
- var tmp_6 = this.o1k(this.g2d_1);
1201
- tmp_5.r2d_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
1330
+ var tmp_6 = this.f1l(this.t2e_1);
1331
+ tmp_5.e2f_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
1202
1332
  }
1203
1333
  } else
1204
1334
  throw new NoViableAltException(this);
1205
1335
  } catch ($p) {
1206
1336
  if ($p instanceof RecognitionException) {
1207
1337
  var re = $p;
1208
- _localctx.v19_1 = re;
1209
- this.h19_1.l1a(this, re);
1210
- this.h19_1.c19(this, re);
1338
+ _localctx.m1a_1 = re;
1339
+ this.y19_1.c1b(this, re);
1340
+ this.y19_1.t19(this, re);
1211
1341
  } else {
1212
1342
  throw $p;
1213
1343
  }
1214
1344
  }
1215
1345
  finally {
1216
- this.h1l();
1346
+ this.y1l();
1217
1347
  }
1218
1348
  return _localctx;
1219
1349
  };
1220
- protoOf(StateExpressionParser).x1j = function (_localctx, ruleIndex, predIndex) {
1350
+ protoOf(StateExpressionParser).o1k = function (_localctx, ruleIndex, predIndex) {
1221
1351
  var tmp0_subject = ruleIndex;
1222
1352
  if (tmp0_subject === 0) {
1223
1353
  return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
1224
1354
  }
1225
1355
  return true;
1226
1356
  };
1357
+ function StateExpressionVisitor() {
1358
+ }
1227
1359
  function Expression(expr) {
1228
- this.j2e_1 = expr;
1360
+ this.w2f_1 = expr;
1229
1361
  }
1230
- protoOf(Expression).k2e = function () {
1231
- return !(this.j2e_1 == null);
1362
+ protoOf(Expression).x2f = function () {
1363
+ return !(this.w2f_1 == null);
1364
+ };
1365
+ protoOf(Expression).y2f = function (state) {
1366
+ var tmp$ret$2;
1367
+ // Inline function 'kotlin.checkNotNull' call
1368
+ var tmp0_checkNotNull = this.w2f_1;
1369
+ // Inline function 'kotlin.contracts.contract' call
1370
+ var tmp$ret$1;
1371
+ $l$block: {
1372
+ // Inline function 'kotlin.checkNotNull' call
1373
+ // Inline function 'kotlin.contracts.contract' call
1374
+ if (tmp0_checkNotNull == null) {
1375
+ var tmp$ret$0;
1376
+ // Inline function 'kotlin.checkNotNull.<anonymous>' call
1377
+ tmp$ret$0 = 'Required value was null.';
1378
+ var message = tmp$ret$0;
1379
+ throw IllegalStateException_init_$Create$(toString(message));
1380
+ } else {
1381
+ tmp$ret$1 = tmp0_checkNotNull;
1382
+ break $l$block;
1383
+ }
1384
+ }
1385
+ tmp$ret$2 = tmp$ret$1;
1386
+ return tmp$ret$2.l1m((new StateExpressionEvaluator(state)).a2g_1);
1387
+ };
1388
+ protoOf(Expression).c2g = function () {
1389
+ var tmp$ret$0;
1390
+ // Inline function 'kotlin.collections.orEmpty' call
1391
+ var tmp0_safe_receiver = this.w2f_1;
1392
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
1393
+ var tmp0_orEmpty = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
1394
+ var tmp0_elvis_lhs = tmp0_orEmpty;
1395
+ tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
1396
+ return tmp$ret$0;
1232
1397
  };
1233
1398
  function toExpressionOrNull(_this__u8e3s4) {
1234
1399
  var tmp;
@@ -1241,11 +1406,11 @@
1241
1406
  } else {
1242
1407
  var tmp_0;
1243
1408
  try {
1244
- var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().u18(_this__u8e3s4)));
1409
+ var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().l19(_this__u8e3s4)));
1245
1410
  var parser = new StateExpressionParser(tokens);
1246
- parser.h19_1 = new BailErrorStrategy();
1247
- var expr = parser.i2e();
1248
- tmp_0 = tokens.j(tokens.g1b()).t1b() === Companion_getInstance_0().x1b_1 ? expr : null;
1411
+ parser.y19_1 = new BailErrorStrategy();
1412
+ var expr = parser.v2f();
1413
+ tmp_0 = tokens.j(tokens.x1b()).k1c() === Companion_getInstance_0().o1c_1 ? expr : null;
1249
1414
  } catch ($p) {
1250
1415
  var tmp_1;
1251
1416
  if ($p instanceof ParseCancellationException) {
@@ -1260,6 +1425,166 @@
1260
1425
  }
1261
1426
  return tmp;
1262
1427
  }
1428
+ function vars(_this__u8e3s4) {
1429
+ var tmp$ret$5;
1430
+ // Inline function 'kotlin.collections.flatMap' call
1431
+ var tmp$ret$0;
1432
+ // Inline function 'kotlin.collections.orEmpty' call
1433
+ var tmp0_orEmpty = _this__u8e3s4.j1a_1;
1434
+ var tmp0_elvis_lhs = tmp0_orEmpty;
1435
+ tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
1436
+ var tmp2_flatMap = tmp$ret$0;
1437
+ var tmp$ret$4;
1438
+ // Inline function 'kotlin.collections.flatMapTo' call
1439
+ var tmp1_flatMapTo = ArrayList_init_$Create$_0();
1440
+ var tmp0_iterator = tmp2_flatMap.f();
1441
+ while (tmp0_iterator.g()) {
1442
+ var element = tmp0_iterator.h();
1443
+ var tmp$ret$3;
1444
+ // Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>' call
1445
+ var tmp0_subject = element;
1446
+ var tmp;
1447
+ if (isInterface(tmp0_subject, TerminalNode)) {
1448
+ var tmp1_safe_receiver = element.y26();
1449
+ var tmp_0;
1450
+ if (tmp1_safe_receiver == null) {
1451
+ tmp_0 = null;
1452
+ } else {
1453
+ var tmp$ret$2;
1454
+ // Inline function 'kotlin.takeIf' call
1455
+ // Inline function 'kotlin.contracts.contract' call
1456
+ var tmp_1;
1457
+ var tmp$ret$1;
1458
+ // Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
1459
+ tmp$ret$1 = tmp1_safe_receiver.k1c() === Tokens_VAR_getInstance().n2a_1;
1460
+ if (tmp$ret$1) {
1461
+ tmp_1 = tmp1_safe_receiver;
1462
+ } else {
1463
+ tmp_1 = null;
1464
+ }
1465
+ tmp$ret$2 = tmp_1;
1466
+ tmp_0 = tmp$ret$2;
1467
+ }
1468
+ var tmp2_safe_receiver = tmp_0;
1469
+ tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c1d());
1470
+ } else {
1471
+ if (tmp0_subject instanceof ParserRuleContext) {
1472
+ tmp = vars(element);
1473
+ } else {
1474
+ tmp = emptyList();
1475
+ }
1476
+ }
1477
+ tmp$ret$3 = tmp;
1478
+ var list = tmp$ret$3;
1479
+ addAll(tmp1_flatMapTo, list);
1480
+ }
1481
+ tmp$ret$4 = tmp1_flatMapTo;
1482
+ tmp$ret$5 = tmp$ret$4;
1483
+ return tmp$ret$5;
1484
+ }
1485
+ function StateExpressionEvaluator$booleanExpr$1(this$0) {
1486
+ this.d2g_1 = this$0;
1487
+ StateExpressionBaseVisitor.call(this);
1488
+ }
1489
+ protoOf(StateExpressionEvaluator$booleanExpr$1).m27 = function (ctx) {
1490
+ return ensureNotNull(ctx.r2b_1).l1m(this);
1491
+ };
1492
+ protoOf(StateExpressionEvaluator$booleanExpr$1).p27 = function (ctx) {
1493
+ return !ensureNotNull(ctx.r2c_1).l1m(this);
1494
+ };
1495
+ protoOf(StateExpressionEvaluator$booleanExpr$1).r27 = function (ctx) {
1496
+ return ensureNotNull(ctx.h2d_1).l1m(this) ? true : ensureNotNull(ctx.i2d_1).l1m(this);
1497
+ };
1498
+ protoOf(StateExpressionEvaluator$booleanExpr$1).s27 = function (ctx) {
1499
+ return ensureNotNull(ctx.q2d_1).l1m(this) ? ensureNotNull(ctx.r2d_1).l1m(this) : false;
1500
+ };
1501
+ protoOf(StateExpressionEvaluator$booleanExpr$1).n27 = function (ctx) {
1502
+ var tmp0_subject = ensureNotNull(ctx.z2b_1).k1c();
1503
+ var tmp;
1504
+ if (tmp0_subject === Tokens_TRUE_getInstance().n2a_1) {
1505
+ tmp = true;
1506
+ } else if (tmp0_subject === Tokens_FALSE_getInstance().n2a_1) {
1507
+ tmp = false;
1508
+ } else {
1509
+ throw IllegalStateException_init_$Create$_0();
1510
+ }
1511
+ return tmp;
1512
+ };
1513
+ protoOf(StateExpressionEvaluator$booleanExpr$1).o27 = function (ctx) {
1514
+ var varName = ensureNotNull(ensureNotNull(ctx.h2c_1).c1d());
1515
+ var tmp$ret$3;
1516
+ // Inline function 'kotlin.run' call
1517
+ var tmp0_run = ensureNotNull(ensureNotNull(ctx.j2c_1).c1d());
1518
+ // Inline function 'kotlin.contracts.contract' call
1519
+ var tmp$ret$2;
1520
+ // Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
1521
+ var tmp$ret$1;
1522
+ // Inline function 'kotlin.text.substring' call
1523
+ var tmp0_substring = tmp0_run.length - 1 | 0;
1524
+ var tmp$ret$0;
1525
+ // Inline function 'kotlin.js.asDynamic' call
1526
+ tmp$ret$0 = tmp0_run;
1527
+ tmp$ret$1 = tmp$ret$0.substring(1, tmp0_substring);
1528
+ tmp$ret$2 = tmp$ret$1;
1529
+ tmp$ret$3 = tmp$ret$2;
1530
+ var value = tmp$ret$3;
1531
+ var tmp0_subject = ensureNotNull(ctx.i2c_1).k1c();
1532
+ var tmp;
1533
+ if (tmp0_subject === Tokens_EQ_getInstance().n2a_1) {
1534
+ tmp = this.d2g_1.z2f_1.b19(varName).v(value);
1535
+ } else if (tmp0_subject === Tokens_NEQ_getInstance().n2a_1) {
1536
+ tmp = !this.d2g_1.z2f_1.b19(varName).v(value);
1537
+ } else {
1538
+ throw IllegalStateException_init_$Create$_0();
1539
+ }
1540
+ return tmp;
1541
+ };
1542
+ protoOf(StateExpressionEvaluator$booleanExpr$1).l27 = function (ctx) {
1543
+ var left = ensureNotNull(ctx.h2b_1).l1m(this.d2g_1.b2g_1);
1544
+ var right = ensureNotNull(ctx.j2b_1).l1m(this.d2g_1.b2g_1);
1545
+ var tmp0_subject = ensureNotNull(ctx.i2b_1).k1c();
1546
+ var tmp;
1547
+ if (tmp0_subject === Tokens_EQ_getInstance().n2a_1) {
1548
+ tmp = left === right;
1549
+ } else if (tmp0_subject === Tokens_NEQ_getInstance().n2a_1) {
1550
+ tmp = !(left === right);
1551
+ } else if (tmp0_subject === Tokens_GT_getInstance().n2a_1) {
1552
+ tmp = left > right;
1553
+ } else if (tmp0_subject === Tokens_GTE_getInstance().n2a_1) {
1554
+ tmp = left >= right;
1555
+ } else if (tmp0_subject === Tokens_LT_getInstance().n2a_1) {
1556
+ tmp = left < right;
1557
+ } else if (tmp0_subject === Tokens_LTE_getInstance().n2a_1) {
1558
+ tmp = left <= right;
1559
+ } else {
1560
+ throw IllegalStateException_init_$Create$_0();
1561
+ }
1562
+ return tmp;
1563
+ };
1564
+ protoOf(StateExpressionEvaluator$booleanExpr$1).q27 = function (ctx) {
1565
+ var tmp$ret$0;
1566
+ // Inline function 'kotlin.collections.isNotEmpty' call
1567
+ var tmp0_isNotEmpty = this.d2g_1.z2f_1.b19(ensureNotNull(ensureNotNull(ctx.z2c_1).c1d()));
1568
+ tmp$ret$0 = !tmp0_isNotEmpty.m();
1569
+ return tmp$ret$0;
1570
+ };
1571
+ function StateExpressionEvaluator$intExpr$1(this$0) {
1572
+ this.e2g_1 = this$0;
1573
+ StateExpressionBaseVisitor.call(this);
1574
+ }
1575
+ protoOf(StateExpressionEvaluator$intExpr$1).v27 = function (ctx) {
1576
+ return toInt(ensureNotNull(ensureNotNull(ctx.e2f_1).c1d()));
1577
+ };
1578
+ protoOf(StateExpressionEvaluator$intExpr$1).u27 = function (ctx) {
1579
+ return this.e2g_1.z2f_1.b19(ensureNotNull(ensureNotNull(ctx.u2f_1).c1d())).i();
1580
+ };
1581
+ function StateExpressionEvaluator(state) {
1582
+ this.z2f_1 = state;
1583
+ var tmp = this;
1584
+ tmp.a2g_1 = new StateExpressionEvaluator$booleanExpr$1(this);
1585
+ var tmp_0 = this;
1586
+ tmp_0.b2g_1 = new StateExpressionEvaluator$intExpr$1(this);
1587
+ }
1263
1588
  //region block: exports
1264
1589
  _.$_$ = _.$_$ || {};
1265
1590
  _.$_$.a = toExpressionOrNull;