@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1149 → 0.9.0-SNAPSHOT.1153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +8 -8
- package/Napier-napier-js-ir.js +27 -27
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +2917 -2917
- package/colormath-root-colormath-js-ir.js +460 -460
- package/colormath-root-colormath-js-ir.js.map +1 -1
- package/fluid-locale-js-ir.js +131 -131
- package/kotlin-kotlin-stdlib-js-ir.js +109 -99
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +52 -2
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +297 -297
- package/kotlin-mpp-godtools-tool-parser-parser.js +2064 -1639
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +217 -217
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1768 -1768
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
var fillArrayVal = kotlin_kotlin.$_$.n5;
|
|
24
24
|
var ATNDeserializer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.h;
|
|
25
25
|
var asCharArray = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.a;
|
|
26
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
26
|
+
var ensureNotNull = kotlin_kotlin.$_$.s8;
|
|
27
27
|
var DFA = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.l;
|
|
28
28
|
var protoOf = kotlin_kotlin.$_$.e6;
|
|
29
29
|
var objectMeta = kotlin_kotlin.$_$.d6;
|
|
30
|
-
var VOID = kotlin_kotlin.$_$.
|
|
30
|
+
var VOID = kotlin_kotlin.$_$.b9;
|
|
31
31
|
var setMetadataFor = kotlin_kotlin.$_$.f6;
|
|
32
32
|
var Enum = kotlin_kotlin.$_$.a8;
|
|
33
33
|
var classMeta = kotlin_kotlin.$_$.j5;
|
|
@@ -145,23 +145,23 @@
|
|
|
145
145
|
}
|
|
146
146
|
function Companion() {
|
|
147
147
|
Companion_instance = this;
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
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']);
|
|
151
151
|
var tmp = this;
|
|
152
152
|
var tmp$ret$0;
|
|
153
153
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
154
|
-
var tmp0_toTypedArray = this.
|
|
154
|
+
var tmp0_toTypedArray = this.l26_1;
|
|
155
155
|
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
156
156
|
var tmp_0 = tmp$ret$0;
|
|
157
157
|
var tmp$ret$1;
|
|
158
158
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
159
|
-
var tmp1_toTypedArray = this.
|
|
159
|
+
var tmp1_toTypedArray = this.m26_1;
|
|
160
160
|
tmp$ret$1 = copyToArray(tmp1_toTypedArray);
|
|
161
|
-
tmp.
|
|
161
|
+
tmp.n26_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
|
|
162
162
|
var tmp_1 = this;
|
|
163
163
|
var tmp_2 = 0;
|
|
164
|
-
var tmp_3 = this.
|
|
164
|
+
var tmp_3 = this.m26_1.i();
|
|
165
165
|
var tmp$ret$2;
|
|
166
166
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
167
167
|
tmp$ret$2 = fillArrayVal(Array(tmp_3), null);
|
|
@@ -170,9 +170,9 @@
|
|
|
170
170
|
var tmp_5 = tmp_2;
|
|
171
171
|
var tmp$ret$3;
|
|
172
172
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
173
|
-
var el = Companion_getInstance_1().
|
|
173
|
+
var el = Companion_getInstance_1().n26_1.k1m(tmp_5);
|
|
174
174
|
if (el == null) {
|
|
175
|
-
el = Companion_getInstance_1().
|
|
175
|
+
el = Companion_getInstance_1().n26_1.l1m(tmp_5);
|
|
176
176
|
}
|
|
177
177
|
if (el == null) {
|
|
178
178
|
el = '<INVALID>';
|
|
@@ -181,12 +181,12 @@
|
|
|
181
181
|
tmp_4[tmp_5] = tmp$ret$3;
|
|
182
182
|
tmp_2 = tmp_2 + 1 | 0;
|
|
183
183
|
}
|
|
184
|
-
tmp_1.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
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"));
|
|
187
187
|
var tmp_6 = this;
|
|
188
188
|
var tmp_7 = 0;
|
|
189
|
-
var tmp_8 = this.
|
|
189
|
+
var tmp_8 = this.q26_1.n1m();
|
|
190
190
|
var tmp$ret$4;
|
|
191
191
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
192
192
|
tmp$ret$4 = fillArrayVal(Array(tmp_8), null);
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
var tmp_10 = tmp_7;
|
|
196
196
|
var tmp$ret$5;
|
|
197
197
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
198
|
-
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().
|
|
198
|
+
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().q26_1.b1n(tmp_10)), tmp_10);
|
|
199
199
|
tmp_9[tmp_10] = tmp$ret$5;
|
|
200
200
|
tmp_7 = tmp_7 + 1 | 0;
|
|
201
201
|
}
|
|
202
|
-
tmp_6.
|
|
202
|
+
tmp_6.j26_1 = tmp_9;
|
|
203
203
|
}
|
|
204
204
|
var Companion_instance;
|
|
205
205
|
function Companion_getInstance_1() {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
function Channels(name, ordinal, id) {
|
|
211
211
|
Enum.call(this, name, ordinal);
|
|
212
|
-
this.
|
|
212
|
+
this.t26_1 = id;
|
|
213
213
|
}
|
|
214
214
|
function Rules(name, ordinal) {
|
|
215
215
|
Enum.call(this, name, ordinal);
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
function StateExpressionLexer(input) {
|
|
298
298
|
Companion_getInstance_1();
|
|
299
299
|
Lexer_init_$Init$(input, this);
|
|
300
|
-
this.
|
|
300
|
+
this.k27_1 = input;
|
|
301
301
|
var tmp = this;
|
|
302
302
|
var tmp$ret$2;
|
|
303
303
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -320,13 +320,13 @@
|
|
|
320
320
|
tmp$ret$1 = tmp$ret$0;
|
|
321
321
|
var tmp3_toTypedArray = tmp$ret$1;
|
|
322
322
|
tmp$ret$2 = copyToArray(tmp3_toTypedArray);
|
|
323
|
-
tmp.
|
|
323
|
+
tmp.l27_1 = tmp$ret$2;
|
|
324
324
|
var tmp_0 = this;
|
|
325
|
-
var tmp_1 = Companion_getInstance_1().
|
|
326
|
-
var tmp_2 = Companion_getInstance_1().
|
|
327
|
-
tmp_0.
|
|
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);
|
|
328
328
|
}
|
|
329
|
-
protoOf(StateExpressionLexer).
|
|
329
|
+
protoOf(StateExpressionLexer).n1g = function () {
|
|
330
330
|
var tmp$ret$3;
|
|
331
331
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
332
332
|
var tmp$ret$2;
|
|
@@ -352,11 +352,11 @@
|
|
|
352
352
|
tmp$ret$3 = copyToArray(tmp2_toTypedArray);
|
|
353
353
|
return tmp$ret$3;
|
|
354
354
|
};
|
|
355
|
-
protoOf(StateExpressionLexer).
|
|
356
|
-
return Companion_getInstance_1().
|
|
355
|
+
protoOf(StateExpressionLexer).e1f = function () {
|
|
356
|
+
return Companion_getInstance_1().q26_1;
|
|
357
357
|
};
|
|
358
|
-
protoOf(StateExpressionLexer).
|
|
359
|
-
return Companion_getInstance_1().
|
|
358
|
+
protoOf(StateExpressionLexer).x1d = function () {
|
|
359
|
+
return Companion_getInstance_1().n26_1;
|
|
360
360
|
};
|
|
361
361
|
function name$factory() {
|
|
362
362
|
return getPropertyCallableRef('name', 1, KProperty1, function (receiver) {
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
436
436
|
BooleanExprContext_init_$Init$_0($this);
|
|
437
437
|
IntCmpExprContext.call($this);
|
|
438
|
-
$this.
|
|
438
|
+
$this.p28(ctx);
|
|
439
439
|
return $this;
|
|
440
440
|
}
|
|
441
441
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
445
445
|
BooleanExprContext_init_$Init$_0($this);
|
|
446
446
|
ParExprContext.call($this);
|
|
447
|
-
$this.
|
|
447
|
+
$this.p28(ctx);
|
|
448
448
|
return $this;
|
|
449
449
|
}
|
|
450
450
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
454
454
|
BooleanExprContext_init_$Init$_0($this);
|
|
455
455
|
BooleanAtomContext.call($this);
|
|
456
|
-
$this.
|
|
456
|
+
$this.p28(ctx);
|
|
457
457
|
return $this;
|
|
458
458
|
}
|
|
459
459
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
463
463
|
BooleanExprContext_init_$Init$_0($this);
|
|
464
464
|
EqExprContext.call($this);
|
|
465
|
-
$this.
|
|
465
|
+
$this.p28(ctx);
|
|
466
466
|
return $this;
|
|
467
467
|
}
|
|
468
468
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
472
472
|
BooleanExprContext_init_$Init$_0($this);
|
|
473
473
|
NotExprContext.call($this);
|
|
474
|
-
$this.
|
|
474
|
+
$this.p28(ctx);
|
|
475
475
|
return $this;
|
|
476
476
|
}
|
|
477
477
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
481
481
|
BooleanExprContext_init_$Init$_0($this);
|
|
482
482
|
IsSetFuncContext.call($this);
|
|
483
|
-
$this.
|
|
483
|
+
$this.p28(ctx);
|
|
484
484
|
return $this;
|
|
485
485
|
}
|
|
486
486
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
490
490
|
BooleanExprContext_init_$Init$_0($this);
|
|
491
491
|
OrExprContext.call($this);
|
|
492
|
-
$this.
|
|
492
|
+
$this.p28(ctx);
|
|
493
493
|
return $this;
|
|
494
494
|
}
|
|
495
495
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
499
499
|
BooleanExprContext_init_$Init$_0($this);
|
|
500
500
|
AndExprContext.call($this);
|
|
501
|
-
$this.
|
|
501
|
+
$this.p28(ctx);
|
|
502
502
|
return $this;
|
|
503
503
|
}
|
|
504
504
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
521
521
|
IntExprContext_init_$Init$_0($this);
|
|
522
522
|
IntAtomContext.call($this);
|
|
523
|
-
$this.
|
|
523
|
+
$this.x28(ctx);
|
|
524
524
|
return $this;
|
|
525
525
|
}
|
|
526
526
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
530
530
|
IntExprContext_init_$Init$_0($this);
|
|
531
531
|
ParIntExprContext.call($this);
|
|
532
|
-
$this.
|
|
532
|
+
$this.x28(ctx);
|
|
533
533
|
return $this;
|
|
534
534
|
}
|
|
535
535
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
539
539
|
IntExprContext_init_$Init$_0($this);
|
|
540
540
|
ValuesFuncContext.call($this);
|
|
541
|
-
$this.
|
|
541
|
+
$this.x28(ctx);
|
|
542
542
|
return $this;
|
|
543
543
|
}
|
|
544
544
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -546,15 +546,15 @@
|
|
|
546
546
|
}
|
|
547
547
|
function Tokens(name, ordinal, id) {
|
|
548
548
|
Enum.call(this, name, ordinal);
|
|
549
|
-
this.
|
|
549
|
+
this.a29_1 = id;
|
|
550
550
|
}
|
|
551
551
|
function Rules_0(name, ordinal, id) {
|
|
552
552
|
Enum.call(this, name, ordinal);
|
|
553
|
-
this.
|
|
553
|
+
this.d29_1 = id;
|
|
554
554
|
}
|
|
555
555
|
function Companion_0() {
|
|
556
556
|
Companion_instance_0 = this;
|
|
557
|
-
this.
|
|
557
|
+
this.f29_1 = new PredictionContextCache();
|
|
558
558
|
var tmp = this;
|
|
559
559
|
var tmp$ret$2;
|
|
560
560
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -565,23 +565,23 @@
|
|
|
565
565
|
tmp$ret$0 = ['booleanExpr', 'intExpr'];
|
|
566
566
|
tmp$ret$1 = tmp$ret$0;
|
|
567
567
|
tmp$ret$2 = tmp$ret$1;
|
|
568
|
-
tmp.
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
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']);
|
|
571
571
|
var tmp_0 = this;
|
|
572
572
|
var tmp$ret$3;
|
|
573
573
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
574
|
-
var tmp0_toTypedArray = this.
|
|
574
|
+
var tmp0_toTypedArray = this.h29_1;
|
|
575
575
|
tmp$ret$3 = copyToArray(tmp0_toTypedArray);
|
|
576
576
|
var tmp_1 = tmp$ret$3;
|
|
577
577
|
var tmp$ret$4;
|
|
578
578
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
579
|
-
var tmp1_toTypedArray = this.
|
|
579
|
+
var tmp1_toTypedArray = this.i29_1;
|
|
580
580
|
tmp$ret$4 = copyToArray(tmp1_toTypedArray);
|
|
581
|
-
tmp_0.
|
|
581
|
+
tmp_0.j29_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
|
|
582
582
|
var tmp_2 = this;
|
|
583
583
|
var tmp_3 = 0;
|
|
584
|
-
var tmp_4 = this.
|
|
584
|
+
var tmp_4 = this.i29_1.i();
|
|
585
585
|
var tmp$ret$5;
|
|
586
586
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
587
587
|
tmp$ret$5 = fillArrayVal(Array(tmp_4), null);
|
|
@@ -590,9 +590,9 @@
|
|
|
590
590
|
var tmp_6 = tmp_3;
|
|
591
591
|
var tmp$ret$6;
|
|
592
592
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
593
|
-
var el = Companion_getInstance_2().
|
|
593
|
+
var el = Companion_getInstance_2().j29_1.k1m(tmp_6);
|
|
594
594
|
if (el == null) {
|
|
595
|
-
el = Companion_getInstance_2().
|
|
595
|
+
el = Companion_getInstance_2().j29_1.l1m(tmp_6);
|
|
596
596
|
}
|
|
597
597
|
if (el == null) {
|
|
598
598
|
el = '<INVALID>';
|
|
@@ -601,12 +601,12 @@
|
|
|
601
601
|
tmp_5[tmp_6] = tmp$ret$6;
|
|
602
602
|
tmp_3 = tmp_3 + 1 | 0;
|
|
603
603
|
}
|
|
604
|
-
tmp_2.
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
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 "-'));
|
|
607
607
|
var tmp_7 = this;
|
|
608
608
|
var tmp_8 = 0;
|
|
609
|
-
var tmp_9 = this.
|
|
609
|
+
var tmp_9 = this.m29_1.n1m();
|
|
610
610
|
var tmp$ret$7;
|
|
611
611
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
612
612
|
tmp$ret$7 = fillArrayVal(Array(tmp_9), null);
|
|
@@ -615,11 +615,11 @@
|
|
|
615
615
|
var tmp_11 = tmp_8;
|
|
616
616
|
var tmp$ret$8;
|
|
617
617
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
618
|
-
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().
|
|
618
|
+
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().m29_1.b1n(tmp_11)), tmp_11);
|
|
619
619
|
tmp_10[tmp_11] = tmp$ret$8;
|
|
620
620
|
tmp_8 = tmp_8 + 1 | 0;
|
|
621
621
|
}
|
|
622
|
-
tmp_7.
|
|
622
|
+
tmp_7.e29_1 = tmp_10;
|
|
623
623
|
}
|
|
624
624
|
var Companion_instance_0;
|
|
625
625
|
function Companion_getInstance_2() {
|
|
@@ -627,155 +627,155 @@
|
|
|
627
627
|
new Companion_0();
|
|
628
628
|
return Companion_instance_0;
|
|
629
629
|
}
|
|
630
|
-
protoOf(BooleanExprContext).
|
|
631
|
-
return Rules_RULE_booleanExpr_getInstance().
|
|
630
|
+
protoOf(BooleanExprContext).o1g = function () {
|
|
631
|
+
return Rules_RULE_booleanExpr_getInstance().d29_1;
|
|
632
632
|
};
|
|
633
|
-
protoOf(BooleanExprContext).
|
|
634
|
-
protoOf(ParserRuleContext).
|
|
633
|
+
protoOf(BooleanExprContext).p28 = function (ctx) {
|
|
634
|
+
protoOf(ParserRuleContext).p1l.call(this, ctx);
|
|
635
635
|
};
|
|
636
636
|
function BooleanExprContext() {
|
|
637
637
|
}
|
|
638
|
-
protoOf(IntCmpExprContext).
|
|
638
|
+
protoOf(IntCmpExprContext).t1k = function (listener) {
|
|
639
639
|
if (isInterface(listener, StateExpressionListener)) {
|
|
640
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
640
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m27(this);
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
|
-
protoOf(IntCmpExprContext).
|
|
643
|
+
protoOf(IntCmpExprContext).v1k = function (listener) {
|
|
644
644
|
if (isInterface(listener, StateExpressionListener)) {
|
|
645
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
645
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n27(this);
|
|
646
646
|
}
|
|
647
647
|
};
|
|
648
648
|
function IntCmpExprContext() {
|
|
649
|
-
this.s29_1 = null;
|
|
650
|
-
this.t29_1 = null;
|
|
651
649
|
this.u29_1 = null;
|
|
650
|
+
this.v29_1 = null;
|
|
651
|
+
this.w29_1 = null;
|
|
652
652
|
}
|
|
653
|
-
protoOf(ParExprContext).
|
|
653
|
+
protoOf(ParExprContext).t1k = function (listener) {
|
|
654
654
|
if (isInterface(listener, StateExpressionListener)) {
|
|
655
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
655
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o27(this);
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
protoOf(ParExprContext).
|
|
658
|
+
protoOf(ParExprContext).v1k = function (listener) {
|
|
659
659
|
if (isInterface(listener, StateExpressionListener)) {
|
|
660
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
660
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p27(this);
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
663
|
function ParExprContext() {
|
|
664
|
-
this.
|
|
664
|
+
this.e2a_1 = null;
|
|
665
665
|
}
|
|
666
|
-
protoOf(BooleanAtomContext).
|
|
666
|
+
protoOf(BooleanAtomContext).t1k = function (listener) {
|
|
667
667
|
if (isInterface(listener, StateExpressionListener)) {
|
|
668
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
668
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q27(this);
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
|
-
protoOf(BooleanAtomContext).
|
|
671
|
+
protoOf(BooleanAtomContext).v1k = function (listener) {
|
|
672
672
|
if (isInterface(listener, StateExpressionListener)) {
|
|
673
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
673
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r27(this);
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
676
|
function BooleanAtomContext() {
|
|
677
|
-
this.
|
|
677
|
+
this.m2a_1 = null;
|
|
678
678
|
}
|
|
679
|
-
protoOf(EqExprContext).
|
|
679
|
+
protoOf(EqExprContext).t1k = function (listener) {
|
|
680
680
|
if (isInterface(listener, StateExpressionListener)) {
|
|
681
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
681
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s27(this);
|
|
682
682
|
}
|
|
683
683
|
};
|
|
684
|
-
protoOf(EqExprContext).
|
|
684
|
+
protoOf(EqExprContext).v1k = function (listener) {
|
|
685
685
|
if (isInterface(listener, StateExpressionListener)) {
|
|
686
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
686
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t27(this);
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
689
|
function EqExprContext() {
|
|
690
|
-
this.s2a_1 = null;
|
|
691
|
-
this.t2a_1 = null;
|
|
692
690
|
this.u2a_1 = null;
|
|
691
|
+
this.v2a_1 = null;
|
|
692
|
+
this.w2a_1 = null;
|
|
693
693
|
}
|
|
694
|
-
protoOf(NotExprContext).
|
|
694
|
+
protoOf(NotExprContext).t1k = function (listener) {
|
|
695
695
|
if (isInterface(listener, StateExpressionListener)) {
|
|
696
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
696
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u27(this);
|
|
697
697
|
}
|
|
698
698
|
};
|
|
699
|
-
protoOf(NotExprContext).
|
|
699
|
+
protoOf(NotExprContext).v1k = function (listener) {
|
|
700
700
|
if (isInterface(listener, StateExpressionListener)) {
|
|
701
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
701
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).v27(this);
|
|
702
702
|
}
|
|
703
703
|
};
|
|
704
704
|
function NotExprContext() {
|
|
705
|
-
this.
|
|
705
|
+
this.e2b_1 = null;
|
|
706
706
|
}
|
|
707
|
-
protoOf(IsSetFuncContext).
|
|
707
|
+
protoOf(IsSetFuncContext).t1k = function (listener) {
|
|
708
708
|
if (isInterface(listener, StateExpressionListener)) {
|
|
709
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
709
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).w27(this);
|
|
710
710
|
}
|
|
711
711
|
};
|
|
712
|
-
protoOf(IsSetFuncContext).
|
|
712
|
+
protoOf(IsSetFuncContext).v1k = function (listener) {
|
|
713
713
|
if (isInterface(listener, StateExpressionListener)) {
|
|
714
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
714
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).x27(this);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
function IsSetFuncContext() {
|
|
718
|
-
this.
|
|
718
|
+
this.m2b_1 = null;
|
|
719
719
|
}
|
|
720
|
-
protoOf(OrExprContext).
|
|
720
|
+
protoOf(OrExprContext).t1k = function (listener) {
|
|
721
721
|
if (isInterface(listener, StateExpressionListener)) {
|
|
722
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
722
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).y27(this);
|
|
723
723
|
}
|
|
724
724
|
};
|
|
725
|
-
protoOf(OrExprContext).
|
|
725
|
+
protoOf(OrExprContext).v1k = function (listener) {
|
|
726
726
|
if (isInterface(listener, StateExpressionListener)) {
|
|
727
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
727
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z27(this);
|
|
728
728
|
}
|
|
729
729
|
};
|
|
730
730
|
function OrExprContext() {
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
731
|
+
this.u2b_1 = null;
|
|
732
|
+
this.v2b_1 = null;
|
|
733
733
|
}
|
|
734
|
-
protoOf(AndExprContext).
|
|
734
|
+
protoOf(AndExprContext).t1k = function (listener) {
|
|
735
735
|
if (isInterface(listener, StateExpressionListener)) {
|
|
736
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
736
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a28(this);
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
|
-
protoOf(AndExprContext).
|
|
739
|
+
protoOf(AndExprContext).v1k = function (listener) {
|
|
740
740
|
if (isInterface(listener, StateExpressionListener)) {
|
|
741
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
741
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b28(this);
|
|
742
742
|
}
|
|
743
743
|
};
|
|
744
744
|
function AndExprContext() {
|
|
745
|
-
this.
|
|
746
|
-
this.
|
|
745
|
+
this.d2c_1 = null;
|
|
746
|
+
this.e2c_1 = null;
|
|
747
747
|
}
|
|
748
748
|
function booleanExpr($this, _p) {
|
|
749
|
-
var _parentctx = $this.
|
|
750
|
-
var _parentState = $this.
|
|
751
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
749
|
+
var _parentctx = $this.k19_1;
|
|
750
|
+
var _parentState = $this.v1d_1;
|
|
751
|
+
var _localctx = BooleanExprContext_init_$Create$($this.k19_1, _parentState);
|
|
752
752
|
var _prevctx = _localctx;
|
|
753
753
|
var _startState = 0;
|
|
754
|
-
$this.
|
|
754
|
+
$this.l1l(_localctx, 0, Rules_RULE_booleanExpr_getInstance().d29_1, _p);
|
|
755
755
|
var _la;
|
|
756
756
|
try {
|
|
757
757
|
var _alt;
|
|
758
|
-
$this.
|
|
758
|
+
$this.i1l(_localctx, 1);
|
|
759
759
|
{
|
|
760
|
-
$this.
|
|
761
|
-
$this.
|
|
762
|
-
var tmp0_subject = ensureNotNull($this.
|
|
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);
|
|
763
763
|
switch (tmp0_subject) {
|
|
764
764
|
case 1:
|
|
765
765
|
{
|
|
766
766
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
767
|
-
$this.
|
|
767
|
+
$this.k19_1 = _localctx;
|
|
768
768
|
_prevctx = _localctx;
|
|
769
|
-
$this.
|
|
770
|
-
var tmp = $this.
|
|
769
|
+
$this.v1d_1 = 5;
|
|
770
|
+
var tmp = $this.o1k($this.a2d_1);
|
|
771
771
|
if (isInterface(tmp, Token))
|
|
772
772
|
tmp;
|
|
773
773
|
else
|
|
774
774
|
THROW_CCE();
|
|
775
|
-
$this.
|
|
776
|
-
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).
|
|
777
|
-
$this.
|
|
778
|
-
var tmp_0 = $this.
|
|
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);
|
|
779
779
|
if (isInterface(tmp_0, Token))
|
|
780
780
|
tmp_0;
|
|
781
781
|
else
|
|
@@ -786,36 +786,36 @@
|
|
|
786
786
|
case 2:
|
|
787
787
|
{
|
|
788
788
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
789
|
-
$this.
|
|
789
|
+
$this.k19_1 = _localctx;
|
|
790
790
|
_prevctx = _localctx;
|
|
791
|
-
$this.
|
|
792
|
-
var tmp_1 = $this.
|
|
791
|
+
$this.v1d_1 = 9;
|
|
792
|
+
var tmp_1 = $this.o1k($this.v2c_1);
|
|
793
793
|
if (isInterface(tmp_1, Token))
|
|
794
794
|
tmp_1;
|
|
795
795
|
else
|
|
796
796
|
THROW_CCE();
|
|
797
|
-
$this.
|
|
798
|
-
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).
|
|
797
|
+
$this.v1d_1 = 10;
|
|
798
|
+
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).e2b_1 = booleanExpr($this, 7);
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
break;
|
|
802
802
|
case 3:
|
|
803
803
|
{
|
|
804
804
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
805
|
-
$this.
|
|
805
|
+
$this.k19_1 = _localctx;
|
|
806
806
|
_prevctx = _localctx;
|
|
807
|
-
$this.
|
|
808
|
-
var tmp_2 = $this.
|
|
807
|
+
$this.v1d_1 = 11;
|
|
808
|
+
var tmp_2 = $this.o1k($this.e2d_1);
|
|
809
809
|
if (isInterface(tmp_2, Token))
|
|
810
810
|
tmp_2;
|
|
811
811
|
else
|
|
812
812
|
THROW_CCE();
|
|
813
|
-
$this.
|
|
813
|
+
$this.v1d_1 = 12;
|
|
814
814
|
var tmp_3 = _localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE();
|
|
815
|
-
var tmp_4 = $this.
|
|
816
|
-
tmp_3.
|
|
817
|
-
$this.
|
|
818
|
-
var tmp_5 = $this.
|
|
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);
|
|
819
819
|
if (isInterface(tmp_5, Token))
|
|
820
820
|
tmp_5;
|
|
821
821
|
else
|
|
@@ -826,203 +826,203 @@
|
|
|
826
826
|
case 4:
|
|
827
827
|
{
|
|
828
828
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
829
|
-
$this.
|
|
829
|
+
$this.k19_1 = _localctx;
|
|
830
830
|
_prevctx = _localctx;
|
|
831
|
-
$this.
|
|
831
|
+
$this.v1d_1 = 14;
|
|
832
832
|
var tmp_6 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
833
|
-
var tmp_7 = $this.
|
|
834
|
-
tmp_6.
|
|
835
|
-
$this.
|
|
836
|
-
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).
|
|
837
|
-
_la = ensureNotNull($this.
|
|
838
|
-
if (!(_la === $this.
|
|
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)) {
|
|
839
839
|
var tmp_8 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
840
|
-
var tmp_9 = $this.
|
|
841
|
-
tmp_8.
|
|
840
|
+
var tmp_9 = $this.h19_1.a1a($this);
|
|
841
|
+
tmp_8.v2a_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
|
|
842
842
|
} else {
|
|
843
|
-
if (ensureNotNull($this.
|
|
844
|
-
$this.
|
|
845
|
-
$this.
|
|
846
|
-
$this.
|
|
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();
|
|
847
847
|
}
|
|
848
|
-
$this.
|
|
848
|
+
$this.v1d_1 = 16;
|
|
849
849
|
var tmp_10 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
850
|
-
var tmp_11 = $this.
|
|
851
|
-
tmp_10.
|
|
850
|
+
var tmp_11 = $this.o1k($this.h2d_1);
|
|
851
|
+
tmp_10.w2a_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
break;
|
|
855
855
|
case 5:
|
|
856
856
|
{
|
|
857
857
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
858
|
-
$this.
|
|
858
|
+
$this.k19_1 = _localctx;
|
|
859
859
|
_prevctx = _localctx;
|
|
860
|
-
$this.
|
|
861
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
862
|
-
$this.
|
|
863
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
864
|
-
_la = ensureNotNull($this.
|
|
865
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).
|
|
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)) {
|
|
866
866
|
var tmp_12 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
|
|
867
|
-
var tmp_13 = $this.
|
|
868
|
-
tmp_12.
|
|
867
|
+
var tmp_13 = $this.h19_1.a1a($this);
|
|
868
|
+
tmp_12.v29_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
|
|
869
869
|
} else {
|
|
870
|
-
if (ensureNotNull($this.
|
|
871
|
-
$this.
|
|
872
|
-
$this.
|
|
873
|
-
$this.
|
|
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();
|
|
874
874
|
}
|
|
875
|
-
$this.
|
|
876
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
875
|
+
$this.v1d_1 = 19;
|
|
876
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).w29_1 = $this.j2d();
|
|
877
877
|
}
|
|
878
878
|
|
|
879
879
|
break;
|
|
880
880
|
case 6:
|
|
881
881
|
{
|
|
882
882
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
883
|
-
$this.
|
|
883
|
+
$this.k19_1 = _localctx;
|
|
884
884
|
_prevctx = _localctx;
|
|
885
|
-
$this.
|
|
886
|
-
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).
|
|
887
|
-
_la = ensureNotNull($this.
|
|
888
|
-
if (!(_la === $this.
|
|
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)) {
|
|
889
889
|
var tmp_14 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
|
|
890
|
-
var tmp_15 = $this.
|
|
891
|
-
tmp_14.
|
|
890
|
+
var tmp_15 = $this.h19_1.a1a($this);
|
|
891
|
+
tmp_14.m2a_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
|
|
892
892
|
} else {
|
|
893
|
-
if (ensureNotNull($this.
|
|
894
|
-
$this.
|
|
895
|
-
$this.
|
|
896
|
-
$this.
|
|
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();
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
break;
|
|
901
901
|
}
|
|
902
|
-
ensureNotNull($this.
|
|
903
|
-
$this.
|
|
904
|
-
$this.
|
|
905
|
-
_alt = ensureNotNull($this.
|
|
906
|
-
while (!(_alt === 2) ? !(_alt === Companion_getInstance().
|
|
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) {
|
|
907
907
|
if (_alt === 1) {
|
|
908
|
-
if (!($this.
|
|
909
|
-
$this.
|
|
908
|
+
if (!($this.m19_1 == null)) {
|
|
909
|
+
$this.u1k();
|
|
910
910
|
}
|
|
911
911
|
_prevctx = _localctx;
|
|
912
912
|
{
|
|
913
|
-
$this.
|
|
914
|
-
$this.
|
|
915
|
-
var tmp1_subject = ensureNotNull($this.
|
|
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);
|
|
916
916
|
if (tmp1_subject === 1) {
|
|
917
917
|
{
|
|
918
918
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
919
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
920
|
-
$this.
|
|
921
|
-
$this.
|
|
922
|
-
if (!$this.
|
|
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))
|
|
923
923
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
924
|
-
$this.
|
|
925
|
-
var tmp_16 = $this.
|
|
924
|
+
$this.v1d_1 = 25;
|
|
925
|
+
var tmp_16 = $this.o1k($this.t2c_1);
|
|
926
926
|
if (isInterface(tmp_16, Token))
|
|
927
927
|
tmp_16;
|
|
928
928
|
else
|
|
929
929
|
THROW_CCE();
|
|
930
|
-
$this.
|
|
931
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
930
|
+
$this.v1d_1 = 26;
|
|
931
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).e2c_1 = booleanExpr($this, 7);
|
|
932
932
|
}
|
|
933
933
|
} else if (tmp1_subject === 2) {
|
|
934
934
|
{
|
|
935
935
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
936
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
937
|
-
$this.
|
|
938
|
-
$this.
|
|
939
|
-
if (!$this.
|
|
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))
|
|
940
940
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
941
|
-
$this.
|
|
942
|
-
var tmp_17 = $this.
|
|
941
|
+
$this.v1d_1 = 28;
|
|
942
|
+
var tmp_17 = $this.o1k($this.u2c_1);
|
|
943
943
|
if (isInterface(tmp_17, Token))
|
|
944
944
|
tmp_17;
|
|
945
945
|
else
|
|
946
946
|
THROW_CCE();
|
|
947
|
-
$this.
|
|
948
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
947
|
+
$this.v1d_1 = 29;
|
|
948
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).v2b_1 = booleanExpr($this, 6);
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
|
-
$this.
|
|
954
|
-
$this.
|
|
955
|
-
_alt = ensureNotNull($this.
|
|
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);
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
} catch ($p) {
|
|
959
959
|
if ($p instanceof RecognitionException) {
|
|
960
960
|
var re = $p;
|
|
961
|
-
_localctx.
|
|
962
|
-
$this.
|
|
963
|
-
$this.
|
|
961
|
+
_localctx.v19_1 = re;
|
|
962
|
+
$this.h19_1.l1a($this, re);
|
|
963
|
+
$this.h19_1.c19($this, re);
|
|
964
964
|
} else {
|
|
965
965
|
throw $p;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
finally {
|
|
969
|
-
$this.
|
|
969
|
+
$this.o1l(_parentctx);
|
|
970
970
|
}
|
|
971
971
|
return _localctx;
|
|
972
972
|
}
|
|
973
|
-
protoOf(IntExprContext).
|
|
974
|
-
return Rules_RULE_intExpr_getInstance().
|
|
973
|
+
protoOf(IntExprContext).o1g = function () {
|
|
974
|
+
return Rules_RULE_intExpr_getInstance().d29_1;
|
|
975
975
|
};
|
|
976
|
-
protoOf(IntExprContext).
|
|
977
|
-
protoOf(ParserRuleContext).
|
|
976
|
+
protoOf(IntExprContext).x28 = function (ctx) {
|
|
977
|
+
protoOf(ParserRuleContext).p1l.call(this, ctx);
|
|
978
978
|
};
|
|
979
979
|
function IntExprContext() {
|
|
980
980
|
}
|
|
981
|
-
protoOf(IntAtomContext).
|
|
981
|
+
protoOf(IntAtomContext).t1k = function (listener) {
|
|
982
982
|
if (isInterface(listener, StateExpressionListener)) {
|
|
983
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
983
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).g28(this);
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
|
-
protoOf(IntAtomContext).
|
|
986
|
+
protoOf(IntAtomContext).v1k = function (listener) {
|
|
987
987
|
if (isInterface(listener, StateExpressionListener)) {
|
|
988
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
988
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).h28(this);
|
|
989
989
|
}
|
|
990
990
|
};
|
|
991
991
|
function IntAtomContext() {
|
|
992
|
-
this.
|
|
992
|
+
this.r2d_1 = null;
|
|
993
993
|
}
|
|
994
|
-
protoOf(ParIntExprContext).
|
|
994
|
+
protoOf(ParIntExprContext).t1k = function (listener) {
|
|
995
995
|
if (isInterface(listener, StateExpressionListener)) {
|
|
996
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
996
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c28(this);
|
|
997
997
|
}
|
|
998
998
|
};
|
|
999
|
-
protoOf(ParIntExprContext).
|
|
999
|
+
protoOf(ParIntExprContext).v1k = function (listener) {
|
|
1000
1000
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1001
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1001
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).d28(this);
|
|
1002
1002
|
}
|
|
1003
1003
|
};
|
|
1004
1004
|
function ParIntExprContext() {
|
|
1005
|
-
this.
|
|
1005
|
+
this.z2d_1 = null;
|
|
1006
1006
|
}
|
|
1007
|
-
protoOf(ValuesFuncContext).
|
|
1007
|
+
protoOf(ValuesFuncContext).t1k = function (listener) {
|
|
1008
1008
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1009
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1009
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).e28(this);
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
|
-
protoOf(ValuesFuncContext).
|
|
1012
|
+
protoOf(ValuesFuncContext).v1k = function (listener) {
|
|
1013
1013
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1014
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1014
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).f28(this);
|
|
1015
1015
|
}
|
|
1016
1016
|
};
|
|
1017
1017
|
function ValuesFuncContext() {
|
|
1018
|
-
this.
|
|
1018
|
+
this.h2e_1 = null;
|
|
1019
1019
|
}
|
|
1020
1020
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
1021
1021
|
var tmp0_subject = predIndex;
|
|
1022
1022
|
if (tmp0_subject === 0)
|
|
1023
|
-
return $this.
|
|
1023
|
+
return $this.y1j(ensureNotNull($this.k19_1), 6);
|
|
1024
1024
|
else if (tmp0_subject === 1)
|
|
1025
|
-
return $this.
|
|
1025
|
+
return $this.y1j(ensureNotNull($this.k19_1), 5);
|
|
1026
1026
|
return true;
|
|
1027
1027
|
}
|
|
1028
1028
|
function Tokens_EOF_getInstance() {
|
|
@@ -1112,112 +1112,112 @@
|
|
|
1112
1112
|
function StateExpressionParser(input) {
|
|
1113
1113
|
Companion_getInstance_2();
|
|
1114
1114
|
Parser.call(this, input);
|
|
1115
|
-
this.
|
|
1116
|
-
this.
|
|
1117
|
-
this.
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1120
|
-
this.
|
|
1121
|
-
this.
|
|
1122
|
-
this.
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1128
|
-
this.
|
|
1129
|
-
this.
|
|
1130
|
-
this.
|
|
1131
|
-
this.
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1134
|
-
}
|
|
1135
|
-
protoOf(StateExpressionParser).
|
|
1136
|
-
return Companion_getInstance_2().
|
|
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
1137
|
};
|
|
1138
|
-
protoOf(StateExpressionParser).
|
|
1139
|
-
return Companion_getInstance_2().
|
|
1138
|
+
protoOf(StateExpressionParser).e1f = function () {
|
|
1139
|
+
return Companion_getInstance_2().m29_1;
|
|
1140
1140
|
};
|
|
1141
|
-
protoOf(StateExpressionParser).
|
|
1142
|
-
return Companion_getInstance_2().
|
|
1141
|
+
protoOf(StateExpressionParser).x1d = function () {
|
|
1142
|
+
return Companion_getInstance_2().j29_1;
|
|
1143
1143
|
};
|
|
1144
|
-
protoOf(StateExpressionParser).
|
|
1144
|
+
protoOf(StateExpressionParser).i2e = function () {
|
|
1145
1145
|
return booleanExpr(this, 0);
|
|
1146
1146
|
};
|
|
1147
|
-
protoOf(StateExpressionParser).
|
|
1148
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1149
|
-
this.
|
|
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);
|
|
1150
1150
|
try {
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1153
|
-
var tmp0_subject = ensureNotNull(this.
|
|
1154
|
-
if (tmp0_subject === this.
|
|
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) {
|
|
1155
1155
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1156
|
-
this.
|
|
1156
|
+
this.i1l(_localctx, 1);
|
|
1157
1157
|
{
|
|
1158
|
-
this.
|
|
1159
|
-
var tmp = this.
|
|
1158
|
+
this.v1d_1 = 35;
|
|
1159
|
+
var tmp = this.o1k(this.a2d_1);
|
|
1160
1160
|
if (isInterface(tmp, Token))
|
|
1161
1161
|
tmp;
|
|
1162
1162
|
else
|
|
1163
1163
|
THROW_CCE();
|
|
1164
|
-
this.
|
|
1165
|
-
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).
|
|
1166
|
-
this.
|
|
1167
|
-
var tmp_0 = this.
|
|
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);
|
|
1168
1168
|
if (isInterface(tmp_0, Token))
|
|
1169
1169
|
tmp_0;
|
|
1170
1170
|
else
|
|
1171
1171
|
THROW_CCE();
|
|
1172
1172
|
}
|
|
1173
|
-
} else if (tmp0_subject === this.
|
|
1173
|
+
} else if (tmp0_subject === this.f2d_1) {
|
|
1174
1174
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1175
|
-
this.
|
|
1175
|
+
this.i1l(_localctx, 2);
|
|
1176
1176
|
{
|
|
1177
|
-
this.
|
|
1178
|
-
var tmp_1 = this.
|
|
1177
|
+
this.v1d_1 = 39;
|
|
1178
|
+
var tmp_1 = this.o1k(this.f2d_1);
|
|
1179
1179
|
if (isInterface(tmp_1, Token))
|
|
1180
1180
|
tmp_1;
|
|
1181
1181
|
else
|
|
1182
1182
|
THROW_CCE();
|
|
1183
|
-
this.
|
|
1183
|
+
this.v1d_1 = 40;
|
|
1184
1184
|
var tmp_2 = _localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE();
|
|
1185
|
-
var tmp_3 = this.
|
|
1186
|
-
tmp_2.
|
|
1187
|
-
this.
|
|
1188
|
-
var tmp_4 = this.
|
|
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);
|
|
1189
1189
|
if (isInterface(tmp_4, Token))
|
|
1190
1190
|
tmp_4;
|
|
1191
1191
|
else
|
|
1192
1192
|
THROW_CCE();
|
|
1193
1193
|
}
|
|
1194
|
-
} else if (tmp0_subject === this.
|
|
1194
|
+
} else if (tmp0_subject === this.g2d_1) {
|
|
1195
1195
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1196
|
-
this.
|
|
1196
|
+
this.i1l(_localctx, 3);
|
|
1197
1197
|
{
|
|
1198
|
-
this.
|
|
1198
|
+
this.v1d_1 = 42;
|
|
1199
1199
|
var tmp_5 = _localctx instanceof IntAtomContext ? _localctx : THROW_CCE();
|
|
1200
|
-
var tmp_6 = this.
|
|
1201
|
-
tmp_5.
|
|
1200
|
+
var tmp_6 = this.o1k(this.g2d_1);
|
|
1201
|
+
tmp_5.r2d_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
|
|
1202
1202
|
}
|
|
1203
1203
|
} else
|
|
1204
1204
|
throw new NoViableAltException(this);
|
|
1205
1205
|
} catch ($p) {
|
|
1206
1206
|
if ($p instanceof RecognitionException) {
|
|
1207
1207
|
var re = $p;
|
|
1208
|
-
_localctx.
|
|
1209
|
-
this.
|
|
1210
|
-
this.
|
|
1208
|
+
_localctx.v19_1 = re;
|
|
1209
|
+
this.h19_1.l1a(this, re);
|
|
1210
|
+
this.h19_1.c19(this, re);
|
|
1211
1211
|
} else {
|
|
1212
1212
|
throw $p;
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
finally {
|
|
1216
|
-
this.
|
|
1216
|
+
this.h1l();
|
|
1217
1217
|
}
|
|
1218
1218
|
return _localctx;
|
|
1219
1219
|
};
|
|
1220
|
-
protoOf(StateExpressionParser).
|
|
1220
|
+
protoOf(StateExpressionParser).x1j = function (_localctx, ruleIndex, predIndex) {
|
|
1221
1221
|
var tmp0_subject = ruleIndex;
|
|
1222
1222
|
if (tmp0_subject === 0) {
|
|
1223
1223
|
return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
|
|
@@ -1225,10 +1225,10 @@
|
|
|
1225
1225
|
return true;
|
|
1226
1226
|
};
|
|
1227
1227
|
function Expression(expr) {
|
|
1228
|
-
this.
|
|
1228
|
+
this.j2e_1 = expr;
|
|
1229
1229
|
}
|
|
1230
|
-
protoOf(Expression).
|
|
1231
|
-
return !(this.
|
|
1230
|
+
protoOf(Expression).k2e = function () {
|
|
1231
|
+
return !(this.j2e_1 == null);
|
|
1232
1232
|
};
|
|
1233
1233
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1234
1234
|
var tmp;
|
|
@@ -1241,11 +1241,11 @@
|
|
|
1241
1241
|
} else {
|
|
1242
1242
|
var tmp_0;
|
|
1243
1243
|
try {
|
|
1244
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1244
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().u18(_this__u8e3s4)));
|
|
1245
1245
|
var parser = new StateExpressionParser(tokens);
|
|
1246
|
-
parser.
|
|
1247
|
-
var expr = parser.
|
|
1248
|
-
tmp_0 = tokens.j(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;
|
|
1249
1249
|
} catch ($p) {
|
|
1250
1250
|
var tmp_1;
|
|
1251
1251
|
if ($p instanceof ParseCancellationException) {
|