@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1254 → 0.9.0-SNAPSHOT.1259
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 +6 -6
- package/Napier-napier-js-ir.js +42 -42
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3089 -3089
- package/colormath-root-colormath-js-ir.js +1876 -579
- package/colormath-root-colormath-js-ir.js.map +1 -1
- package/fluid-locale-js-ir.js +150 -150
- package/kotlin-kotlin-stdlib-js-ir.js +671 -531
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +51 -0
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +434 -434
- package/kotlin-mpp-godtools-tool-parser-parser.js +2882 -2657
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +116 -116
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1258 -983
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,61 +16,61 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var AbstractParseTreeVisitor = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
|
|
19
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
23
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
24
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
19
|
+
var ensureNotNull = kotlin_kotlin.$_$.h9;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.n6;
|
|
21
|
+
var classMeta = kotlin_kotlin.$_$.s5;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.q9;
|
|
23
|
+
var setMetadataFor = kotlin_kotlin.$_$.o6;
|
|
24
|
+
var Unit_getInstance = kotlin_kotlin.$_$.k2;
|
|
25
25
|
var PredictionContextCache = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.k;
|
|
26
|
-
var listOf = kotlin_kotlin.$_$.
|
|
27
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
26
|
+
var listOf = kotlin_kotlin.$_$.y3;
|
|
27
|
+
var copyToArray = kotlin_kotlin.$_$.c3;
|
|
28
28
|
var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.y;
|
|
29
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
29
|
+
var fillArrayVal = kotlin_kotlin.$_$.w5;
|
|
30
30
|
var ATNDeserializer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.h;
|
|
31
31
|
var asCharArray = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.a;
|
|
32
32
|
var DFA = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.l;
|
|
33
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
34
|
-
var Enum = kotlin_kotlin.$_$.
|
|
33
|
+
var objectMeta = kotlin_kotlin.$_$.m6;
|
|
34
|
+
var Enum = kotlin_kotlin.$_$.p8;
|
|
35
35
|
var Lexer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.s;
|
|
36
36
|
var Lexer_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.b;
|
|
37
37
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
|
|
38
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
39
|
-
var isArray = kotlin_kotlin.$_$.
|
|
38
|
+
var THROW_CCE = kotlin_kotlin.$_$.a9;
|
|
39
|
+
var isArray = kotlin_kotlin.$_$.c6;
|
|
40
40
|
var LexerATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.i;
|
|
41
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
42
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
43
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
41
|
+
var KProperty1 = kotlin_kotlin.$_$.f7;
|
|
42
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y5;
|
|
43
|
+
var interfaceMeta = kotlin_kotlin.$_$.b6;
|
|
44
44
|
var ParserRuleContext_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.d;
|
|
45
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
45
|
+
var objectCreate = kotlin_kotlin.$_$.l6;
|
|
46
46
|
var ParserRuleContext_init_$Init$_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.c;
|
|
47
47
|
var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
48
|
+
var isInterface = kotlin_kotlin.$_$.e6;
|
|
49
49
|
var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.x;
|
|
50
|
-
var Long = kotlin_kotlin.$_$.
|
|
50
|
+
var Long = kotlin_kotlin.$_$.u8;
|
|
51
51
|
var Companion_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.e;
|
|
52
52
|
var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.r;
|
|
53
53
|
var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.w;
|
|
54
54
|
var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.v;
|
|
55
55
|
var ParserATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.j;
|
|
56
56
|
var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.t;
|
|
57
|
-
var toString = kotlin_kotlin.$_$.
|
|
57
|
+
var toString = kotlin_kotlin.$_$.r6;
|
|
58
58
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
59
|
-
var toSet = kotlin_kotlin.$_$.
|
|
60
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
61
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
59
|
+
var toSet = kotlin_kotlin.$_$.q4;
|
|
60
|
+
var emptySet = kotlin_kotlin.$_$.g3;
|
|
61
|
+
var isBlank = kotlin_kotlin.$_$.q7;
|
|
62
62
|
var CharStreams_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.f;
|
|
63
63
|
var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.q;
|
|
64
64
|
var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.p;
|
|
65
65
|
var Companion_getInstance_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.g;
|
|
66
66
|
var ParseCancellationException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.m;
|
|
67
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
67
|
+
var emptyList = kotlin_kotlin.$_$.e3;
|
|
68
68
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
|
|
69
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
69
|
+
var listOfNotNull = kotlin_kotlin.$_$.w3;
|
|
70
70
|
var TerminalNode = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
|
|
71
|
-
var addAll = kotlin_kotlin.$_$.
|
|
71
|
+
var addAll = kotlin_kotlin.$_$.r2;
|
|
72
72
|
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
73
|
-
var toInt = kotlin_kotlin.$_$.
|
|
73
|
+
var toInt = kotlin_kotlin.$_$.f8;
|
|
74
74
|
//endregion
|
|
75
75
|
//region block: pre-declaration
|
|
76
76
|
setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
|
|
@@ -105,38 +105,38 @@
|
|
|
105
105
|
function StateExpressionBaseVisitor() {
|
|
106
106
|
AbstractParseTreeVisitor.call(this);
|
|
107
107
|
}
|
|
108
|
-
protoOf(StateExpressionBaseVisitor).
|
|
109
|
-
return ensureNotNull(ensureNotNull(this).
|
|
108
|
+
protoOf(StateExpressionBaseVisitor).v28 = function (ctx) {
|
|
109
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
110
110
|
};
|
|
111
|
-
protoOf(StateExpressionBaseVisitor).
|
|
112
|
-
return ensureNotNull(ensureNotNull(this).
|
|
111
|
+
protoOf(StateExpressionBaseVisitor).w28 = function (ctx) {
|
|
112
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
113
113
|
};
|
|
114
|
-
protoOf(StateExpressionBaseVisitor).
|
|
115
|
-
return ensureNotNull(ensureNotNull(this).
|
|
114
|
+
protoOf(StateExpressionBaseVisitor).x28 = function (ctx) {
|
|
115
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
116
116
|
};
|
|
117
|
-
protoOf(StateExpressionBaseVisitor).
|
|
118
|
-
return ensureNotNull(ensureNotNull(this).
|
|
117
|
+
protoOf(StateExpressionBaseVisitor).y28 = function (ctx) {
|
|
118
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
119
119
|
};
|
|
120
|
-
protoOf(StateExpressionBaseVisitor).
|
|
121
|
-
return ensureNotNull(ensureNotNull(this).
|
|
120
|
+
protoOf(StateExpressionBaseVisitor).z28 = function (ctx) {
|
|
121
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
122
122
|
};
|
|
123
|
-
protoOf(StateExpressionBaseVisitor).
|
|
124
|
-
return ensureNotNull(ensureNotNull(this).
|
|
123
|
+
protoOf(StateExpressionBaseVisitor).a29 = function (ctx) {
|
|
124
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
125
125
|
};
|
|
126
|
-
protoOf(StateExpressionBaseVisitor).
|
|
127
|
-
return ensureNotNull(ensureNotNull(this).
|
|
126
|
+
protoOf(StateExpressionBaseVisitor).b29 = function (ctx) {
|
|
127
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
128
128
|
};
|
|
129
|
-
protoOf(StateExpressionBaseVisitor).
|
|
130
|
-
return ensureNotNull(ensureNotNull(this).
|
|
129
|
+
protoOf(StateExpressionBaseVisitor).c29 = function (ctx) {
|
|
130
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
131
131
|
};
|
|
132
|
-
protoOf(StateExpressionBaseVisitor).
|
|
133
|
-
return ensureNotNull(ensureNotNull(this).
|
|
132
|
+
protoOf(StateExpressionBaseVisitor).d29 = function (ctx) {
|
|
133
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
134
134
|
};
|
|
135
|
-
protoOf(StateExpressionBaseVisitor).
|
|
136
|
-
return ensureNotNull(ensureNotNull(this).
|
|
135
|
+
protoOf(StateExpressionBaseVisitor).e29 = function (ctx) {
|
|
136
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
137
137
|
};
|
|
138
|
-
protoOf(StateExpressionBaseVisitor).
|
|
139
|
-
return ensureNotNull(ensureNotNull(this).
|
|
138
|
+
protoOf(StateExpressionBaseVisitor).f29 = function (ctx) {
|
|
139
|
+
return ensureNotNull(ensureNotNull(this).d1o(ctx));
|
|
140
140
|
};
|
|
141
141
|
var Channels_DEFAULT_TOKEN_CHANNEL_instance;
|
|
142
142
|
var Channels_HIDDEN_instance;
|
|
@@ -198,23 +198,23 @@
|
|
|
198
198
|
}
|
|
199
199
|
function Companion() {
|
|
200
200
|
Companion_instance = this;
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
201
|
+
this.h29_1 = new PredictionContextCache();
|
|
202
|
+
this.i29_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
203
|
+
this.j29_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
204
204
|
var tmp = this;
|
|
205
205
|
var tmp$ret$0;
|
|
206
206
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
207
|
-
var tmp0_toTypedArray = this.
|
|
207
|
+
var tmp0_toTypedArray = this.i29_1;
|
|
208
208
|
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
209
209
|
var tmp_0 = tmp$ret$0;
|
|
210
210
|
var tmp$ret$1;
|
|
211
211
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
212
|
-
var tmp1_toTypedArray = this.
|
|
212
|
+
var tmp1_toTypedArray = this.j29_1;
|
|
213
213
|
tmp$ret$1 = copyToArray(tmp1_toTypedArray);
|
|
214
|
-
tmp.
|
|
214
|
+
tmp.k29_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
|
|
215
215
|
var tmp_1 = this;
|
|
216
216
|
var tmp_2 = 0;
|
|
217
|
-
var tmp_3 = this.
|
|
217
|
+
var tmp_3 = this.j29_1.i();
|
|
218
218
|
var tmp$ret$2;
|
|
219
219
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
220
220
|
tmp$ret$2 = fillArrayVal(Array(tmp_3), null);
|
|
@@ -223,9 +223,9 @@
|
|
|
223
223
|
var tmp_5 = tmp_2;
|
|
224
224
|
var tmp$ret$3;
|
|
225
225
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
226
|
-
var el = Companion_getInstance_1().
|
|
226
|
+
var el = Companion_getInstance_1().k29_1.p1o(tmp_5);
|
|
227
227
|
if (el == null) {
|
|
228
|
-
el = Companion_getInstance_1().
|
|
228
|
+
el = Companion_getInstance_1().k29_1.q1o(tmp_5);
|
|
229
229
|
}
|
|
230
230
|
if (el == null) {
|
|
231
231
|
el = '<INVALID>';
|
|
@@ -234,12 +234,12 @@
|
|
|
234
234
|
tmp_4[tmp_5] = tmp$ret$3;
|
|
235
235
|
tmp_2 = tmp_2 + 1 | 0;
|
|
236
236
|
}
|
|
237
|
-
tmp_1.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
237
|
+
tmp_1.l29_1 = tmp_4;
|
|
238
|
+
this.m29_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.n29_1 = (new ATNDeserializer()).a1t(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"));
|
|
240
240
|
var tmp_6 = this;
|
|
241
241
|
var tmp_7 = 0;
|
|
242
|
-
var tmp_8 = this.
|
|
242
|
+
var tmp_8 = this.n29_1.s1o();
|
|
243
243
|
var tmp$ret$4;
|
|
244
244
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
245
245
|
tmp$ret$4 = fillArrayVal(Array(tmp_8), null);
|
|
@@ -248,11 +248,11 @@
|
|
|
248
248
|
var tmp_10 = tmp_7;
|
|
249
249
|
var tmp$ret$5;
|
|
250
250
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
251
|
-
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().
|
|
251
|
+
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().n29_1.g1p(tmp_10)), tmp_10);
|
|
252
252
|
tmp_9[tmp_10] = tmp$ret$5;
|
|
253
253
|
tmp_7 = tmp_7 + 1 | 0;
|
|
254
254
|
}
|
|
255
|
-
tmp_6.
|
|
255
|
+
tmp_6.g29_1 = tmp_9;
|
|
256
256
|
}
|
|
257
257
|
var Companion_instance;
|
|
258
258
|
function Companion_getInstance_1() {
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
}
|
|
263
263
|
function Channels(name, ordinal, id) {
|
|
264
264
|
Enum.call(this, name, ordinal);
|
|
265
|
-
this.
|
|
265
|
+
this.q29_1 = id;
|
|
266
266
|
}
|
|
267
267
|
function Rules(name, ordinal) {
|
|
268
268
|
Enum.call(this, name, ordinal);
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
function StateExpressionLexer(input) {
|
|
351
351
|
Companion_getInstance_1();
|
|
352
352
|
Lexer_init_$Init$(input, this);
|
|
353
|
-
this.
|
|
353
|
+
this.h2a_1 = input;
|
|
354
354
|
var tmp = this;
|
|
355
355
|
var tmp$ret$2;
|
|
356
356
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -373,13 +373,13 @@
|
|
|
373
373
|
tmp$ret$1 = tmp$ret$0;
|
|
374
374
|
var tmp3_toTypedArray = tmp$ret$1;
|
|
375
375
|
tmp$ret$2 = copyToArray(tmp3_toTypedArray);
|
|
376
|
-
tmp.
|
|
376
|
+
tmp.i2a_1 = tmp$ret$2;
|
|
377
377
|
var tmp_0 = this;
|
|
378
|
-
var tmp_1 = Companion_getInstance_1().
|
|
379
|
-
var tmp_2 = Companion_getInstance_1().
|
|
380
|
-
tmp_0.
|
|
378
|
+
var tmp_1 = Companion_getInstance_1().n29_1;
|
|
379
|
+
var tmp_2 = Companion_getInstance_1().g29_1;
|
|
380
|
+
tmp_0.v1f_1 = new LexerATNSimulator(this, tmp_1, isArray(tmp_2) ? tmp_2 : THROW_CCE(), Companion_getInstance_1().h29_1);
|
|
381
381
|
}
|
|
382
|
-
protoOf(StateExpressionLexer).
|
|
382
|
+
protoOf(StateExpressionLexer).o1i = function () {
|
|
383
383
|
var tmp$ret$3;
|
|
384
384
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
385
385
|
var tmp$ret$2;
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
inductionVariable = inductionVariable + 1 | 0;
|
|
397
397
|
var tmp$ret$0;
|
|
398
398
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.StateExpressionLexer.<get-ruleNames>.<anonymous>' call
|
|
399
|
-
tmp$ret$0 = item.
|
|
399
|
+
tmp$ret$0 = item.f4_1;
|
|
400
400
|
tmp0_mapTo.b(tmp$ret$0);
|
|
401
401
|
}
|
|
402
402
|
tmp$ret$1 = tmp0_mapTo;
|
|
@@ -405,15 +405,15 @@
|
|
|
405
405
|
tmp$ret$3 = copyToArray(tmp2_toTypedArray);
|
|
406
406
|
return tmp$ret$3;
|
|
407
407
|
};
|
|
408
|
-
protoOf(StateExpressionLexer).
|
|
409
|
-
return Companion_getInstance_1().
|
|
408
|
+
protoOf(StateExpressionLexer).f1h = function () {
|
|
409
|
+
return Companion_getInstance_1().n29_1;
|
|
410
410
|
};
|
|
411
|
-
protoOf(StateExpressionLexer).
|
|
412
|
-
return Companion_getInstance_1().
|
|
411
|
+
protoOf(StateExpressionLexer).y1f = function () {
|
|
412
|
+
return Companion_getInstance_1().k29_1;
|
|
413
413
|
};
|
|
414
414
|
function name$factory() {
|
|
415
415
|
return getPropertyCallableRef('name', 1, KProperty1, function (receiver) {
|
|
416
|
-
return receiver.
|
|
416
|
+
return receiver.f4_1;
|
|
417
417
|
}, null);
|
|
418
418
|
}
|
|
419
419
|
function StateExpressionListener() {
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
489
489
|
BooleanExprContext_init_$Init$_0($this);
|
|
490
490
|
IntCmpExprContext.call($this);
|
|
491
|
-
$this.
|
|
491
|
+
$this.m2b(ctx);
|
|
492
492
|
return $this;
|
|
493
493
|
}
|
|
494
494
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
498
498
|
BooleanExprContext_init_$Init$_0($this);
|
|
499
499
|
ParExprContext.call($this);
|
|
500
|
-
$this.
|
|
500
|
+
$this.m2b(ctx);
|
|
501
501
|
return $this;
|
|
502
502
|
}
|
|
503
503
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
507
507
|
BooleanExprContext_init_$Init$_0($this);
|
|
508
508
|
BooleanAtomContext.call($this);
|
|
509
|
-
$this.
|
|
509
|
+
$this.m2b(ctx);
|
|
510
510
|
return $this;
|
|
511
511
|
}
|
|
512
512
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
516
516
|
BooleanExprContext_init_$Init$_0($this);
|
|
517
517
|
EqExprContext.call($this);
|
|
518
|
-
$this.
|
|
518
|
+
$this.m2b(ctx);
|
|
519
519
|
return $this;
|
|
520
520
|
}
|
|
521
521
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
525
525
|
BooleanExprContext_init_$Init$_0($this);
|
|
526
526
|
NotExprContext.call($this);
|
|
527
|
-
$this.
|
|
527
|
+
$this.m2b(ctx);
|
|
528
528
|
return $this;
|
|
529
529
|
}
|
|
530
530
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
534
534
|
BooleanExprContext_init_$Init$_0($this);
|
|
535
535
|
IsSetFuncContext.call($this);
|
|
536
|
-
$this.
|
|
536
|
+
$this.m2b(ctx);
|
|
537
537
|
return $this;
|
|
538
538
|
}
|
|
539
539
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
543
543
|
BooleanExprContext_init_$Init$_0($this);
|
|
544
544
|
OrExprContext.call($this);
|
|
545
|
-
$this.
|
|
545
|
+
$this.m2b(ctx);
|
|
546
546
|
return $this;
|
|
547
547
|
}
|
|
548
548
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
552
552
|
BooleanExprContext_init_$Init$_0($this);
|
|
553
553
|
AndExprContext.call($this);
|
|
554
|
-
$this.
|
|
554
|
+
$this.m2b(ctx);
|
|
555
555
|
return $this;
|
|
556
556
|
}
|
|
557
557
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
574
574
|
IntExprContext_init_$Init$_0($this);
|
|
575
575
|
IntAtomContext.call($this);
|
|
576
|
-
$this.
|
|
576
|
+
$this.u2b(ctx);
|
|
577
577
|
return $this;
|
|
578
578
|
}
|
|
579
579
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
583
583
|
IntExprContext_init_$Init$_0($this);
|
|
584
584
|
ParIntExprContext.call($this);
|
|
585
|
-
$this.
|
|
585
|
+
$this.u2b(ctx);
|
|
586
586
|
return $this;
|
|
587
587
|
}
|
|
588
588
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
592
592
|
IntExprContext_init_$Init$_0($this);
|
|
593
593
|
ValuesFuncContext.call($this);
|
|
594
|
-
$this.
|
|
594
|
+
$this.u2b(ctx);
|
|
595
595
|
return $this;
|
|
596
596
|
}
|
|
597
597
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -599,15 +599,15 @@
|
|
|
599
599
|
}
|
|
600
600
|
function Tokens(name, ordinal, id) {
|
|
601
601
|
Enum.call(this, name, ordinal);
|
|
602
|
-
this.
|
|
602
|
+
this.x2b_1 = id;
|
|
603
603
|
}
|
|
604
604
|
function Rules_0(name, ordinal, id) {
|
|
605
605
|
Enum.call(this, name, ordinal);
|
|
606
|
-
this.
|
|
606
|
+
this.a2c_1 = id;
|
|
607
607
|
}
|
|
608
608
|
function Companion_0() {
|
|
609
609
|
Companion_instance_0 = this;
|
|
610
|
-
this.
|
|
610
|
+
this.c2c_1 = new PredictionContextCache();
|
|
611
611
|
var tmp = this;
|
|
612
612
|
var tmp$ret$2;
|
|
613
613
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -618,23 +618,23 @@
|
|
|
618
618
|
tmp$ret$0 = ['booleanExpr', 'intExpr'];
|
|
619
619
|
tmp$ret$1 = tmp$ret$0;
|
|
620
620
|
tmp$ret$2 = tmp$ret$1;
|
|
621
|
-
tmp.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
621
|
+
tmp.d2c_1 = tmp$ret$2;
|
|
622
|
+
this.e2c_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
623
|
+
this.f2c_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
624
624
|
var tmp_0 = this;
|
|
625
625
|
var tmp$ret$3;
|
|
626
626
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
627
|
-
var tmp0_toTypedArray = this.
|
|
627
|
+
var tmp0_toTypedArray = this.e2c_1;
|
|
628
628
|
tmp$ret$3 = copyToArray(tmp0_toTypedArray);
|
|
629
629
|
var tmp_1 = tmp$ret$3;
|
|
630
630
|
var tmp$ret$4;
|
|
631
631
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
632
|
-
var tmp1_toTypedArray = this.
|
|
632
|
+
var tmp1_toTypedArray = this.f2c_1;
|
|
633
633
|
tmp$ret$4 = copyToArray(tmp1_toTypedArray);
|
|
634
|
-
tmp_0.
|
|
634
|
+
tmp_0.g2c_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
|
|
635
635
|
var tmp_2 = this;
|
|
636
636
|
var tmp_3 = 0;
|
|
637
|
-
var tmp_4 = this.
|
|
637
|
+
var tmp_4 = this.f2c_1.i();
|
|
638
638
|
var tmp$ret$5;
|
|
639
639
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
640
640
|
tmp$ret$5 = fillArrayVal(Array(tmp_4), null);
|
|
@@ -643,9 +643,9 @@
|
|
|
643
643
|
var tmp_6 = tmp_3;
|
|
644
644
|
var tmp$ret$6;
|
|
645
645
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
646
|
-
var el = Companion_getInstance_2().
|
|
646
|
+
var el = Companion_getInstance_2().g2c_1.p1o(tmp_6);
|
|
647
647
|
if (el == null) {
|
|
648
|
-
el = Companion_getInstance_2().
|
|
648
|
+
el = Companion_getInstance_2().g2c_1.q1o(tmp_6);
|
|
649
649
|
}
|
|
650
650
|
if (el == null) {
|
|
651
651
|
el = '<INVALID>';
|
|
@@ -654,12 +654,12 @@
|
|
|
654
654
|
tmp_5[tmp_6] = tmp$ret$6;
|
|
655
655
|
tmp_3 = tmp_3 + 1 | 0;
|
|
656
656
|
}
|
|
657
|
-
tmp_2.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
657
|
+
tmp_2.h2c_1 = tmp_5;
|
|
658
|
+
this.i2c_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.j2c_1 = (new ATNDeserializer()).a1t(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 "-'));
|
|
660
660
|
var tmp_7 = this;
|
|
661
661
|
var tmp_8 = 0;
|
|
662
|
-
var tmp_9 = this.
|
|
662
|
+
var tmp_9 = this.j2c_1.s1o();
|
|
663
663
|
var tmp$ret$7;
|
|
664
664
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
665
665
|
tmp$ret$7 = fillArrayVal(Array(tmp_9), null);
|
|
@@ -668,11 +668,11 @@
|
|
|
668
668
|
var tmp_11 = tmp_8;
|
|
669
669
|
var tmp$ret$8;
|
|
670
670
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
671
|
-
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().
|
|
671
|
+
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().j2c_1.g1p(tmp_11)), tmp_11);
|
|
672
672
|
tmp_10[tmp_11] = tmp$ret$8;
|
|
673
673
|
tmp_8 = tmp_8 + 1 | 0;
|
|
674
674
|
}
|
|
675
|
-
tmp_7.
|
|
675
|
+
tmp_7.b2c_1 = tmp_10;
|
|
676
676
|
}
|
|
677
677
|
var Companion_instance_0;
|
|
678
678
|
function Companion_getInstance_2() {
|
|
@@ -680,211 +680,211 @@
|
|
|
680
680
|
new Companion_0();
|
|
681
681
|
return Companion_instance_0;
|
|
682
682
|
}
|
|
683
|
-
protoOf(BooleanExprContext).
|
|
684
|
-
return Rules_RULE_booleanExpr_getInstance().
|
|
683
|
+
protoOf(BooleanExprContext).p1i = function () {
|
|
684
|
+
return Rules_RULE_booleanExpr_getInstance().a2c_1;
|
|
685
685
|
};
|
|
686
|
-
protoOf(BooleanExprContext).
|
|
687
|
-
protoOf(ParserRuleContext).
|
|
686
|
+
protoOf(BooleanExprContext).m2b = function (ctx) {
|
|
687
|
+
protoOf(ParserRuleContext).r1n.call(this, ctx);
|
|
688
688
|
};
|
|
689
689
|
function BooleanExprContext() {
|
|
690
690
|
}
|
|
691
|
-
protoOf(IntCmpExprContext).
|
|
691
|
+
protoOf(IntCmpExprContext).u1m = function (listener) {
|
|
692
692
|
if (isInterface(listener, StateExpressionListener)) {
|
|
693
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
693
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).j2a(this);
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
|
-
protoOf(IntCmpExprContext).
|
|
696
|
+
protoOf(IntCmpExprContext).w1m = function (listener) {
|
|
697
697
|
if (isInterface(listener, StateExpressionListener)) {
|
|
698
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
698
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).k2a(this);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
protoOf(IntCmpExprContext).
|
|
701
|
+
protoOf(IntCmpExprContext).v1n = function (visitor) {
|
|
702
702
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
703
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
703
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).v28(this);
|
|
704
704
|
} else {
|
|
705
|
-
return ensureNotNull(visitor.
|
|
705
|
+
return ensureNotNull(visitor.d1o(this));
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
708
|
function IntCmpExprContext() {
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
709
|
+
this.r2c_1 = null;
|
|
710
|
+
this.s2c_1 = null;
|
|
711
|
+
this.t2c_1 = null;
|
|
712
712
|
}
|
|
713
|
-
protoOf(ParExprContext).
|
|
713
|
+
protoOf(ParExprContext).u1m = function (listener) {
|
|
714
714
|
if (isInterface(listener, StateExpressionListener)) {
|
|
715
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
715
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).l2a(this);
|
|
716
716
|
}
|
|
717
717
|
};
|
|
718
|
-
protoOf(ParExprContext).
|
|
718
|
+
protoOf(ParExprContext).w1m = function (listener) {
|
|
719
719
|
if (isInterface(listener, StateExpressionListener)) {
|
|
720
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
720
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m2a(this);
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
|
-
protoOf(ParExprContext).
|
|
723
|
+
protoOf(ParExprContext).v1n = function (visitor) {
|
|
724
724
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
725
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
725
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).w28(this);
|
|
726
726
|
} else {
|
|
727
|
-
return ensureNotNull(visitor.
|
|
727
|
+
return ensureNotNull(visitor.d1o(this));
|
|
728
728
|
}
|
|
729
729
|
};
|
|
730
730
|
function ParExprContext() {
|
|
731
|
-
this.
|
|
731
|
+
this.b2d_1 = null;
|
|
732
732
|
}
|
|
733
|
-
protoOf(BooleanAtomContext).
|
|
733
|
+
protoOf(BooleanAtomContext).u1m = function (listener) {
|
|
734
734
|
if (isInterface(listener, StateExpressionListener)) {
|
|
735
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
735
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n2a(this);
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
|
-
protoOf(BooleanAtomContext).
|
|
738
|
+
protoOf(BooleanAtomContext).w1m = function (listener) {
|
|
739
739
|
if (isInterface(listener, StateExpressionListener)) {
|
|
740
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
740
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o2a(this);
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
|
-
protoOf(BooleanAtomContext).
|
|
743
|
+
protoOf(BooleanAtomContext).v1n = function (visitor) {
|
|
744
744
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
745
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
745
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).x28(this);
|
|
746
746
|
} else {
|
|
747
|
-
return ensureNotNull(visitor.
|
|
747
|
+
return ensureNotNull(visitor.d1o(this));
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
function BooleanAtomContext() {
|
|
751
|
-
this.
|
|
751
|
+
this.j2d_1 = null;
|
|
752
752
|
}
|
|
753
|
-
protoOf(EqExprContext).
|
|
753
|
+
protoOf(EqExprContext).u1m = function (listener) {
|
|
754
754
|
if (isInterface(listener, StateExpressionListener)) {
|
|
755
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
755
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p2a(this);
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
|
-
protoOf(EqExprContext).
|
|
758
|
+
protoOf(EqExprContext).w1m = function (listener) {
|
|
759
759
|
if (isInterface(listener, StateExpressionListener)) {
|
|
760
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
760
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q2a(this);
|
|
761
761
|
}
|
|
762
762
|
};
|
|
763
|
-
protoOf(EqExprContext).
|
|
763
|
+
protoOf(EqExprContext).v1n = function (visitor) {
|
|
764
764
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
765
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
765
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).y28(this);
|
|
766
766
|
} else {
|
|
767
|
-
return ensureNotNull(visitor.
|
|
767
|
+
return ensureNotNull(visitor.d1o(this));
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
function EqExprContext() {
|
|
771
|
-
this.
|
|
772
|
-
this.
|
|
773
|
-
this.
|
|
771
|
+
this.r2d_1 = null;
|
|
772
|
+
this.s2d_1 = null;
|
|
773
|
+
this.t2d_1 = null;
|
|
774
774
|
}
|
|
775
|
-
protoOf(NotExprContext).
|
|
775
|
+
protoOf(NotExprContext).u1m = function (listener) {
|
|
776
776
|
if (isInterface(listener, StateExpressionListener)) {
|
|
777
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
777
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r2a(this);
|
|
778
778
|
}
|
|
779
779
|
};
|
|
780
|
-
protoOf(NotExprContext).
|
|
780
|
+
protoOf(NotExprContext).w1m = function (listener) {
|
|
781
781
|
if (isInterface(listener, StateExpressionListener)) {
|
|
782
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
782
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s2a(this);
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
|
-
protoOf(NotExprContext).
|
|
785
|
+
protoOf(NotExprContext).v1n = function (visitor) {
|
|
786
786
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
787
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
787
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).z28(this);
|
|
788
788
|
} else {
|
|
789
|
-
return ensureNotNull(visitor.
|
|
789
|
+
return ensureNotNull(visitor.d1o(this));
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
792
|
function NotExprContext() {
|
|
793
|
-
this.
|
|
793
|
+
this.b2e_1 = null;
|
|
794
794
|
}
|
|
795
|
-
protoOf(IsSetFuncContext).
|
|
795
|
+
protoOf(IsSetFuncContext).u1m = function (listener) {
|
|
796
796
|
if (isInterface(listener, StateExpressionListener)) {
|
|
797
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
797
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t2a(this);
|
|
798
798
|
}
|
|
799
799
|
};
|
|
800
|
-
protoOf(IsSetFuncContext).
|
|
800
|
+
protoOf(IsSetFuncContext).w1m = function (listener) {
|
|
801
801
|
if (isInterface(listener, StateExpressionListener)) {
|
|
802
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
802
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u2a(this);
|
|
803
803
|
}
|
|
804
804
|
};
|
|
805
|
-
protoOf(IsSetFuncContext).
|
|
805
|
+
protoOf(IsSetFuncContext).v1n = function (visitor) {
|
|
806
806
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
807
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
807
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).a29(this);
|
|
808
808
|
} else {
|
|
809
|
-
return ensureNotNull(visitor.
|
|
809
|
+
return ensureNotNull(visitor.d1o(this));
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
812
|
function IsSetFuncContext() {
|
|
813
|
-
this.
|
|
813
|
+
this.j2e_1 = null;
|
|
814
814
|
}
|
|
815
|
-
protoOf(OrExprContext).
|
|
815
|
+
protoOf(OrExprContext).u1m = function (listener) {
|
|
816
816
|
if (isInterface(listener, StateExpressionListener)) {
|
|
817
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
817
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).v2a(this);
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
|
-
protoOf(OrExprContext).
|
|
820
|
+
protoOf(OrExprContext).w1m = function (listener) {
|
|
821
821
|
if (isInterface(listener, StateExpressionListener)) {
|
|
822
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
822
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).w2a(this);
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
|
-
protoOf(OrExprContext).
|
|
825
|
+
protoOf(OrExprContext).v1n = function (visitor) {
|
|
826
826
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
827
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
827
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).b29(this);
|
|
828
828
|
} else {
|
|
829
|
-
return ensureNotNull(visitor.
|
|
829
|
+
return ensureNotNull(visitor.d1o(this));
|
|
830
830
|
}
|
|
831
831
|
};
|
|
832
832
|
function OrExprContext() {
|
|
833
|
-
this.
|
|
834
|
-
this.
|
|
833
|
+
this.r2e_1 = null;
|
|
834
|
+
this.s2e_1 = null;
|
|
835
835
|
}
|
|
836
|
-
protoOf(AndExprContext).
|
|
836
|
+
protoOf(AndExprContext).u1m = function (listener) {
|
|
837
837
|
if (isInterface(listener, StateExpressionListener)) {
|
|
838
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
838
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).x2a(this);
|
|
839
839
|
}
|
|
840
840
|
};
|
|
841
|
-
protoOf(AndExprContext).
|
|
841
|
+
protoOf(AndExprContext).w1m = function (listener) {
|
|
842
842
|
if (isInterface(listener, StateExpressionListener)) {
|
|
843
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
843
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).y2a(this);
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
|
-
protoOf(AndExprContext).
|
|
846
|
+
protoOf(AndExprContext).v1n = function (visitor) {
|
|
847
847
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
848
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
848
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).c29(this);
|
|
849
849
|
} else {
|
|
850
|
-
return ensureNotNull(visitor.
|
|
850
|
+
return ensureNotNull(visitor.d1o(this));
|
|
851
851
|
}
|
|
852
852
|
};
|
|
853
853
|
function AndExprContext() {
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
854
|
+
this.a2f_1 = null;
|
|
855
|
+
this.b2f_1 = null;
|
|
856
856
|
}
|
|
857
857
|
function booleanExpr($this, _p) {
|
|
858
|
-
var _parentctx = $this.
|
|
859
|
-
var _parentState = $this.
|
|
860
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
858
|
+
var _parentctx = $this.l1b_1;
|
|
859
|
+
var _parentState = $this.w1f_1;
|
|
860
|
+
var _localctx = BooleanExprContext_init_$Create$($this.l1b_1, _parentState);
|
|
861
861
|
var _prevctx = _localctx;
|
|
862
862
|
var _startState = 0;
|
|
863
|
-
$this.
|
|
863
|
+
$this.m1n(_localctx, 0, Rules_RULE_booleanExpr_getInstance().a2c_1, _p);
|
|
864
864
|
var _la;
|
|
865
865
|
try {
|
|
866
866
|
var _alt;
|
|
867
|
-
$this.
|
|
867
|
+
$this.j1n(_localctx, 1);
|
|
868
868
|
{
|
|
869
|
-
$this.
|
|
870
|
-
$this.
|
|
871
|
-
var tmp0_subject = ensureNotNull($this.
|
|
869
|
+
$this.w1f_1 = 22;
|
|
870
|
+
$this.i1b_1.c1c($this);
|
|
871
|
+
var tmp0_subject = ensureNotNull($this.v1f_1).o21(ensureNotNull($this.j1b_1), 0, $this.l1b_1);
|
|
872
872
|
switch (tmp0_subject) {
|
|
873
873
|
case 1:
|
|
874
874
|
{
|
|
875
875
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
876
|
-
$this.
|
|
876
|
+
$this.l1b_1 = _localctx;
|
|
877
877
|
_prevctx = _localctx;
|
|
878
|
-
$this.
|
|
879
|
-
var tmp = $this.
|
|
878
|
+
$this.w1f_1 = 5;
|
|
879
|
+
var tmp = $this.p1m($this.x2f_1);
|
|
880
880
|
if (isInterface(tmp, Token))
|
|
881
881
|
tmp;
|
|
882
882
|
else
|
|
883
883
|
THROW_CCE();
|
|
884
|
-
$this.
|
|
885
|
-
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).
|
|
886
|
-
$this.
|
|
887
|
-
var tmp_0 = $this.
|
|
884
|
+
$this.w1f_1 = 6;
|
|
885
|
+
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).b2d_1 = booleanExpr($this, 0);
|
|
886
|
+
$this.w1f_1 = 7;
|
|
887
|
+
var tmp_0 = $this.p1m($this.y2f_1);
|
|
888
888
|
if (isInterface(tmp_0, Token))
|
|
889
889
|
tmp_0;
|
|
890
890
|
else
|
|
@@ -895,36 +895,36 @@
|
|
|
895
895
|
case 2:
|
|
896
896
|
{
|
|
897
897
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
898
|
-
$this.
|
|
898
|
+
$this.l1b_1 = _localctx;
|
|
899
899
|
_prevctx = _localctx;
|
|
900
|
-
$this.
|
|
901
|
-
var tmp_1 = $this.
|
|
900
|
+
$this.w1f_1 = 9;
|
|
901
|
+
var tmp_1 = $this.p1m($this.s2f_1);
|
|
902
902
|
if (isInterface(tmp_1, Token))
|
|
903
903
|
tmp_1;
|
|
904
904
|
else
|
|
905
905
|
THROW_CCE();
|
|
906
|
-
$this.
|
|
907
|
-
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).
|
|
906
|
+
$this.w1f_1 = 10;
|
|
907
|
+
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).b2e_1 = booleanExpr($this, 7);
|
|
908
908
|
}
|
|
909
909
|
|
|
910
910
|
break;
|
|
911
911
|
case 3:
|
|
912
912
|
{
|
|
913
913
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
914
|
-
$this.
|
|
914
|
+
$this.l1b_1 = _localctx;
|
|
915
915
|
_prevctx = _localctx;
|
|
916
|
-
$this.
|
|
917
|
-
var tmp_2 = $this.
|
|
916
|
+
$this.w1f_1 = 11;
|
|
917
|
+
var tmp_2 = $this.p1m($this.b2g_1);
|
|
918
918
|
if (isInterface(tmp_2, Token))
|
|
919
919
|
tmp_2;
|
|
920
920
|
else
|
|
921
921
|
THROW_CCE();
|
|
922
|
-
$this.
|
|
922
|
+
$this.w1f_1 = 12;
|
|
923
923
|
var tmp_3 = _localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE();
|
|
924
|
-
var tmp_4 = $this.
|
|
925
|
-
tmp_3.
|
|
926
|
-
$this.
|
|
927
|
-
var tmp_5 = $this.
|
|
924
|
+
var tmp_4 = $this.p1m($this.f2g_1);
|
|
925
|
+
tmp_3.j2e_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
|
|
926
|
+
$this.w1f_1 = 13;
|
|
927
|
+
var tmp_5 = $this.p1m($this.y2f_1);
|
|
928
928
|
if (isInterface(tmp_5, Token))
|
|
929
929
|
tmp_5;
|
|
930
930
|
else
|
|
@@ -935,224 +935,224 @@
|
|
|
935
935
|
case 4:
|
|
936
936
|
{
|
|
937
937
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
938
|
-
$this.
|
|
938
|
+
$this.l1b_1 = _localctx;
|
|
939
939
|
_prevctx = _localctx;
|
|
940
|
-
$this.
|
|
940
|
+
$this.w1f_1 = 14;
|
|
941
941
|
var tmp_6 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
942
|
-
var tmp_7 = $this.
|
|
943
|
-
tmp_6.
|
|
944
|
-
$this.
|
|
945
|
-
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).
|
|
946
|
-
_la = ensureNotNull($this.
|
|
947
|
-
if (!(_la === $this.
|
|
942
|
+
var tmp_7 = $this.p1m($this.f2g_1);
|
|
943
|
+
tmp_6.r2d_1 = isInterface(tmp_7, Token) ? tmp_7 : THROW_CCE();
|
|
944
|
+
$this.w1f_1 = 15;
|
|
945
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).s2d_1 = ensureNotNull($this.j1b_1).c1e(1);
|
|
946
|
+
_la = ensureNotNull($this.j1b_1).p1d(1);
|
|
947
|
+
if (!(_la === $this.o2f_1 ? true : _la === $this.p2f_1)) {
|
|
948
948
|
var tmp_8 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
949
|
-
var tmp_9 = $this.
|
|
950
|
-
tmp_8.
|
|
949
|
+
var tmp_9 = $this.i1b_1.b1c($this);
|
|
950
|
+
tmp_8.s2d_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
|
|
951
951
|
} else {
|
|
952
|
-
if (ensureNotNull($this.
|
|
953
|
-
$this.
|
|
954
|
-
$this.
|
|
955
|
-
$this.
|
|
952
|
+
if (ensureNotNull($this.j1b_1).p1d(1) === Tokens_EOF_getInstance().x2b_1)
|
|
953
|
+
$this.p1b_1 = true;
|
|
954
|
+
$this.i1b_1.l1c($this);
|
|
955
|
+
$this.o1g();
|
|
956
956
|
}
|
|
957
|
-
$this.
|
|
957
|
+
$this.w1f_1 = 16;
|
|
958
958
|
var tmp_10 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
959
|
-
var tmp_11 = $this.
|
|
960
|
-
tmp_10.
|
|
959
|
+
var tmp_11 = $this.p1m($this.e2g_1);
|
|
960
|
+
tmp_10.t2d_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
break;
|
|
964
964
|
case 5:
|
|
965
965
|
{
|
|
966
966
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
967
|
-
$this.
|
|
967
|
+
$this.l1b_1 = _localctx;
|
|
968
968
|
_prevctx = _localctx;
|
|
969
|
-
$this.
|
|
970
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
971
|
-
$this.
|
|
972
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
973
|
-
_la = ensureNotNull($this.
|
|
974
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).td(_la).y5((new Long(1, 0)).td($this.
|
|
969
|
+
$this.w1f_1 = 17;
|
|
970
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).r2c_1 = $this.g2g();
|
|
971
|
+
$this.w1f_1 = 18;
|
|
972
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).s2c_1 = ensureNotNull($this.j1b_1).c1e(1);
|
|
973
|
+
_la = ensureNotNull($this.j1b_1).p1d(1);
|
|
974
|
+
if (!((_la & -64) === 0 ? !(new Long(1, 0)).td(_la).y5((new Long(1, 0)).td($this.o2f_1).vd((new Long(1, 0)).td($this.p2f_1)).vd((new Long(1, 0)).td($this.t2f_1)).vd((new Long(1, 0)).td($this.u2f_1)).vd((new Long(1, 0)).td($this.v2f_1)).vd((new Long(1, 0)).td($this.w2f_1))).equals(new Long(0, 0)) : false)) {
|
|
975
975
|
var tmp_12 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
|
|
976
|
-
var tmp_13 = $this.
|
|
977
|
-
tmp_12.
|
|
976
|
+
var tmp_13 = $this.i1b_1.b1c($this);
|
|
977
|
+
tmp_12.s2c_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
|
|
978
978
|
} else {
|
|
979
|
-
if (ensureNotNull($this.
|
|
980
|
-
$this.
|
|
981
|
-
$this.
|
|
982
|
-
$this.
|
|
979
|
+
if (ensureNotNull($this.j1b_1).p1d(1) === Tokens_EOF_getInstance().x2b_1)
|
|
980
|
+
$this.p1b_1 = true;
|
|
981
|
+
$this.i1b_1.l1c($this);
|
|
982
|
+
$this.o1g();
|
|
983
983
|
}
|
|
984
|
-
$this.
|
|
985
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
984
|
+
$this.w1f_1 = 19;
|
|
985
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).t2c_1 = $this.g2g();
|
|
986
986
|
}
|
|
987
987
|
|
|
988
988
|
break;
|
|
989
989
|
case 6:
|
|
990
990
|
{
|
|
991
991
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
992
|
-
$this.
|
|
992
|
+
$this.l1b_1 = _localctx;
|
|
993
993
|
_prevctx = _localctx;
|
|
994
|
-
$this.
|
|
995
|
-
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).
|
|
996
|
-
_la = ensureNotNull($this.
|
|
997
|
-
if (!(_la === $this.
|
|
994
|
+
$this.w1f_1 = 21;
|
|
995
|
+
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).j2d_1 = ensureNotNull($this.j1b_1).c1e(1);
|
|
996
|
+
_la = ensureNotNull($this.j1b_1).p1d(1);
|
|
997
|
+
if (!(_la === $this.z2f_1 ? true : _la === $this.a2g_1)) {
|
|
998
998
|
var tmp_14 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
|
|
999
|
-
var tmp_15 = $this.
|
|
1000
|
-
tmp_14.
|
|
999
|
+
var tmp_15 = $this.i1b_1.b1c($this);
|
|
1000
|
+
tmp_14.j2d_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
|
|
1001
1001
|
} else {
|
|
1002
|
-
if (ensureNotNull($this.
|
|
1003
|
-
$this.
|
|
1004
|
-
$this.
|
|
1005
|
-
$this.
|
|
1002
|
+
if (ensureNotNull($this.j1b_1).p1d(1) === Tokens_EOF_getInstance().x2b_1)
|
|
1003
|
+
$this.p1b_1 = true;
|
|
1004
|
+
$this.i1b_1.l1c($this);
|
|
1005
|
+
$this.o1g();
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
1009
|
break;
|
|
1010
1010
|
}
|
|
1011
|
-
ensureNotNull($this.
|
|
1012
|
-
$this.
|
|
1013
|
-
$this.
|
|
1014
|
-
_alt = ensureNotNull($this.
|
|
1015
|
-
while (!(_alt === 2) ? !(_alt === Companion_getInstance().
|
|
1011
|
+
ensureNotNull($this.l1b_1).v1b_1 = ensureNotNull($this.j1b_1).c1e(-1);
|
|
1012
|
+
$this.w1f_1 = 32;
|
|
1013
|
+
$this.i1b_1.c1c($this);
|
|
1014
|
+
_alt = ensureNotNull($this.v1f_1).o21(ensureNotNull($this.j1b_1), 2, $this.l1b_1);
|
|
1015
|
+
while (!(_alt === 2) ? !(_alt === Companion_getInstance().r1o_1) : false) {
|
|
1016
1016
|
if (_alt === 1) {
|
|
1017
|
-
if (!($this.
|
|
1018
|
-
$this.
|
|
1017
|
+
if (!($this.n1b_1 == null)) {
|
|
1018
|
+
$this.v1m();
|
|
1019
1019
|
}
|
|
1020
1020
|
_prevctx = _localctx;
|
|
1021
1021
|
{
|
|
1022
|
-
$this.
|
|
1023
|
-
$this.
|
|
1024
|
-
var tmp1_subject = ensureNotNull($this.
|
|
1022
|
+
$this.w1f_1 = 30;
|
|
1023
|
+
$this.i1b_1.c1c($this);
|
|
1024
|
+
var tmp1_subject = ensureNotNull($this.v1f_1).o21(ensureNotNull($this.j1b_1), 1, $this.l1b_1);
|
|
1025
1025
|
if (tmp1_subject === 1) {
|
|
1026
1026
|
{
|
|
1027
1027
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
1028
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
1029
|
-
$this.
|
|
1030
|
-
$this.
|
|
1031
|
-
if (!$this.
|
|
1028
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).a2f_1 = _prevctx;
|
|
1029
|
+
$this.n1n(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().a2c_1);
|
|
1030
|
+
$this.w1f_1 = 24;
|
|
1031
|
+
if (!$this.z1l(ensureNotNull($this.l1b_1), 6))
|
|
1032
1032
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
1033
|
-
$this.
|
|
1034
|
-
var tmp_16 = $this.
|
|
1033
|
+
$this.w1f_1 = 25;
|
|
1034
|
+
var tmp_16 = $this.p1m($this.q2f_1);
|
|
1035
1035
|
if (isInterface(tmp_16, Token))
|
|
1036
1036
|
tmp_16;
|
|
1037
1037
|
else
|
|
1038
1038
|
THROW_CCE();
|
|
1039
|
-
$this.
|
|
1040
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
1039
|
+
$this.w1f_1 = 26;
|
|
1040
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).b2f_1 = booleanExpr($this, 7);
|
|
1041
1041
|
}
|
|
1042
1042
|
} else if (tmp1_subject === 2) {
|
|
1043
1043
|
{
|
|
1044
1044
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
1045
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
1046
|
-
$this.
|
|
1047
|
-
$this.
|
|
1048
|
-
if (!$this.
|
|
1045
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).r2e_1 = _prevctx;
|
|
1046
|
+
$this.n1n(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().a2c_1);
|
|
1047
|
+
$this.w1f_1 = 27;
|
|
1048
|
+
if (!$this.z1l(ensureNotNull($this.l1b_1), 5))
|
|
1049
1049
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
1050
|
-
$this.
|
|
1051
|
-
var tmp_17 = $this.
|
|
1050
|
+
$this.w1f_1 = 28;
|
|
1051
|
+
var tmp_17 = $this.p1m($this.r2f_1);
|
|
1052
1052
|
if (isInterface(tmp_17, Token))
|
|
1053
1053
|
tmp_17;
|
|
1054
1054
|
else
|
|
1055
1055
|
THROW_CCE();
|
|
1056
|
-
$this.
|
|
1057
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
1056
|
+
$this.w1f_1 = 29;
|
|
1057
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).s2e_1 = booleanExpr($this, 6);
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
|
-
$this.
|
|
1063
|
-
$this.
|
|
1064
|
-
_alt = ensureNotNull($this.
|
|
1062
|
+
$this.w1f_1 = 34;
|
|
1063
|
+
$this.i1b_1.c1c($this);
|
|
1064
|
+
_alt = ensureNotNull($this.v1f_1).o21(ensureNotNull($this.j1b_1), 2, $this.l1b_1);
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
} catch ($p) {
|
|
1068
1068
|
if ($p instanceof RecognitionException) {
|
|
1069
1069
|
var re = $p;
|
|
1070
|
-
_localctx.
|
|
1071
|
-
$this.
|
|
1072
|
-
$this.
|
|
1070
|
+
_localctx.w1b_1 = re;
|
|
1071
|
+
$this.i1b_1.m1c($this, re);
|
|
1072
|
+
$this.i1b_1.d1b($this, re);
|
|
1073
1073
|
} else {
|
|
1074
1074
|
throw $p;
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
1077
|
finally {
|
|
1078
|
-
$this.
|
|
1078
|
+
$this.p1n(_parentctx);
|
|
1079
1079
|
}
|
|
1080
1080
|
return _localctx;
|
|
1081
1081
|
}
|
|
1082
|
-
protoOf(IntExprContext).
|
|
1083
|
-
return Rules_RULE_intExpr_getInstance().
|
|
1082
|
+
protoOf(IntExprContext).p1i = function () {
|
|
1083
|
+
return Rules_RULE_intExpr_getInstance().a2c_1;
|
|
1084
1084
|
};
|
|
1085
|
-
protoOf(IntExprContext).
|
|
1086
|
-
protoOf(ParserRuleContext).
|
|
1085
|
+
protoOf(IntExprContext).u2b = function (ctx) {
|
|
1086
|
+
protoOf(ParserRuleContext).r1n.call(this, ctx);
|
|
1087
1087
|
};
|
|
1088
1088
|
function IntExprContext() {
|
|
1089
1089
|
}
|
|
1090
|
-
protoOf(IntAtomContext).
|
|
1090
|
+
protoOf(IntAtomContext).u1m = function (listener) {
|
|
1091
1091
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1092
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1092
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).d2b(this);
|
|
1093
1093
|
}
|
|
1094
1094
|
};
|
|
1095
|
-
protoOf(IntAtomContext).
|
|
1095
|
+
protoOf(IntAtomContext).w1m = function (listener) {
|
|
1096
1096
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1097
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1097
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).e2b(this);
|
|
1098
1098
|
}
|
|
1099
1099
|
};
|
|
1100
|
-
protoOf(IntAtomContext).
|
|
1100
|
+
protoOf(IntAtomContext).v1n = function (visitor) {
|
|
1101
1101
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1102
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1102
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).f29(this);
|
|
1103
1103
|
} else {
|
|
1104
|
-
return ensureNotNull(visitor.
|
|
1104
|
+
return ensureNotNull(visitor.d1o(this));
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
1107
|
function IntAtomContext() {
|
|
1108
|
-
this.
|
|
1108
|
+
this.o2g_1 = null;
|
|
1109
1109
|
}
|
|
1110
|
-
protoOf(ParIntExprContext).
|
|
1110
|
+
protoOf(ParIntExprContext).u1m = function (listener) {
|
|
1111
1111
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1112
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1112
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z2a(this);
|
|
1113
1113
|
}
|
|
1114
1114
|
};
|
|
1115
|
-
protoOf(ParIntExprContext).
|
|
1115
|
+
protoOf(ParIntExprContext).w1m = function (listener) {
|
|
1116
1116
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1117
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1117
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a2b(this);
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
|
-
protoOf(ParIntExprContext).
|
|
1120
|
+
protoOf(ParIntExprContext).v1n = function (visitor) {
|
|
1121
1121
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1122
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1122
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).d29(this);
|
|
1123
1123
|
} else {
|
|
1124
|
-
return ensureNotNull(visitor.
|
|
1124
|
+
return ensureNotNull(visitor.d1o(this));
|
|
1125
1125
|
}
|
|
1126
1126
|
};
|
|
1127
1127
|
function ParIntExprContext() {
|
|
1128
|
-
this.
|
|
1128
|
+
this.w2g_1 = null;
|
|
1129
1129
|
}
|
|
1130
|
-
protoOf(ValuesFuncContext).
|
|
1130
|
+
protoOf(ValuesFuncContext).u1m = function (listener) {
|
|
1131
1131
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1132
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1132
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b2b(this);
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
|
-
protoOf(ValuesFuncContext).
|
|
1135
|
+
protoOf(ValuesFuncContext).w1m = function (listener) {
|
|
1136
1136
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1137
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1137
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c2b(this);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
|
-
protoOf(ValuesFuncContext).
|
|
1140
|
+
protoOf(ValuesFuncContext).v1n = function (visitor) {
|
|
1141
1141
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1142
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1142
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).e29(this);
|
|
1143
1143
|
} else {
|
|
1144
|
-
return ensureNotNull(visitor.
|
|
1144
|
+
return ensureNotNull(visitor.d1o(this));
|
|
1145
1145
|
}
|
|
1146
1146
|
};
|
|
1147
1147
|
function ValuesFuncContext() {
|
|
1148
|
-
this.
|
|
1148
|
+
this.e2h_1 = null;
|
|
1149
1149
|
}
|
|
1150
1150
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
1151
1151
|
var tmp0_subject = predIndex;
|
|
1152
1152
|
if (tmp0_subject === 0)
|
|
1153
|
-
return $this.
|
|
1153
|
+
return $this.z1l(ensureNotNull($this.l1b_1), 6);
|
|
1154
1154
|
else if (tmp0_subject === 1)
|
|
1155
|
-
return $this.
|
|
1155
|
+
return $this.z1l(ensureNotNull($this.l1b_1), 5);
|
|
1156
1156
|
return true;
|
|
1157
1157
|
}
|
|
1158
1158
|
function Tokens_EOF_getInstance() {
|
|
@@ -1242,112 +1242,112 @@
|
|
|
1242
1242
|
function StateExpressionParser(input) {
|
|
1243
1243
|
Companion_getInstance_2();
|
|
1244
1244
|
Parser.call(this, input);
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1248
|
-
this.
|
|
1249
|
-
this.
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1264
|
-
}
|
|
1265
|
-
protoOf(StateExpressionParser).
|
|
1266
|
-
return Companion_getInstance_2().
|
|
1267
|
-
};
|
|
1268
|
-
protoOf(StateExpressionParser).
|
|
1269
|
-
return Companion_getInstance_2().
|
|
1270
|
-
};
|
|
1271
|
-
protoOf(StateExpressionParser).
|
|
1272
|
-
return Companion_getInstance_2().
|
|
1273
|
-
};
|
|
1274
|
-
protoOf(StateExpressionParser).
|
|
1245
|
+
this.o2f_1 = Tokens_EQ_getInstance().x2b_1;
|
|
1246
|
+
this.p2f_1 = Tokens_NEQ_getInstance().x2b_1;
|
|
1247
|
+
this.q2f_1 = Tokens_AND_getInstance().x2b_1;
|
|
1248
|
+
this.r2f_1 = Tokens_OR_getInstance().x2b_1;
|
|
1249
|
+
this.s2f_1 = Tokens_NOT_getInstance().x2b_1;
|
|
1250
|
+
this.t2f_1 = Tokens_GTE_getInstance().x2b_1;
|
|
1251
|
+
this.u2f_1 = Tokens_GT_getInstance().x2b_1;
|
|
1252
|
+
this.v2f_1 = Tokens_LTE_getInstance().x2b_1;
|
|
1253
|
+
this.w2f_1 = Tokens_LT_getInstance().x2b_1;
|
|
1254
|
+
this.x2f_1 = Tokens_OPAR_getInstance().x2b_1;
|
|
1255
|
+
this.y2f_1 = Tokens_CPAR_getInstance().x2b_1;
|
|
1256
|
+
this.z2f_1 = Tokens_TRUE_getInstance().x2b_1;
|
|
1257
|
+
this.a2g_1 = Tokens_FALSE_getInstance().x2b_1;
|
|
1258
|
+
this.b2g_1 = Tokens_FUNC_ISSET_getInstance().x2b_1;
|
|
1259
|
+
this.c2g_1 = Tokens_FUNC_VALUES_getInstance().x2b_1;
|
|
1260
|
+
this.d2g_1 = Tokens_INT_getInstance().x2b_1;
|
|
1261
|
+
this.e2g_1 = Tokens_STRING_getInstance().x2b_1;
|
|
1262
|
+
this.f2g_1 = Tokens_VAR_getInstance().x2b_1;
|
|
1263
|
+
this.v1f_1 = new ParserATNSimulator(this, Companion_getInstance_2().j2c_1, Companion_getInstance_2().b2c_1, Companion_getInstance_2().c2c_1);
|
|
1264
|
+
}
|
|
1265
|
+
protoOf(StateExpressionParser).o1i = function () {
|
|
1266
|
+
return Companion_getInstance_2().d2c_1;
|
|
1267
|
+
};
|
|
1268
|
+
protoOf(StateExpressionParser).f1h = function () {
|
|
1269
|
+
return Companion_getInstance_2().j2c_1;
|
|
1270
|
+
};
|
|
1271
|
+
protoOf(StateExpressionParser).y1f = function () {
|
|
1272
|
+
return Companion_getInstance_2().g2c_1;
|
|
1273
|
+
};
|
|
1274
|
+
protoOf(StateExpressionParser).f2h = function () {
|
|
1275
1275
|
return booleanExpr(this, 0);
|
|
1276
1276
|
};
|
|
1277
|
-
protoOf(StateExpressionParser).
|
|
1278
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1279
|
-
this.
|
|
1277
|
+
protoOf(StateExpressionParser).g2g = function () {
|
|
1278
|
+
var _localctx = IntExprContext_init_$Create$(this.l1b_1, this.w1f_1);
|
|
1279
|
+
this.h1n(_localctx, 2, Rules_RULE_intExpr_getInstance().a2c_1);
|
|
1280
1280
|
try {
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1283
|
-
var tmp0_subject = ensureNotNull(this.
|
|
1284
|
-
if (tmp0_subject === this.
|
|
1281
|
+
this.w1f_1 = 43;
|
|
1282
|
+
this.i1b_1.c1c(this);
|
|
1283
|
+
var tmp0_subject = ensureNotNull(this.j1b_1).p1d(1);
|
|
1284
|
+
if (tmp0_subject === this.x2f_1) {
|
|
1285
1285
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1286
|
-
this.
|
|
1286
|
+
this.j1n(_localctx, 1);
|
|
1287
1287
|
{
|
|
1288
|
-
this.
|
|
1289
|
-
var tmp = this.
|
|
1288
|
+
this.w1f_1 = 35;
|
|
1289
|
+
var tmp = this.p1m(this.x2f_1);
|
|
1290
1290
|
if (isInterface(tmp, Token))
|
|
1291
1291
|
tmp;
|
|
1292
1292
|
else
|
|
1293
1293
|
THROW_CCE();
|
|
1294
|
-
this.
|
|
1295
|
-
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).
|
|
1296
|
-
this.
|
|
1297
|
-
var tmp_0 = this.
|
|
1294
|
+
this.w1f_1 = 36;
|
|
1295
|
+
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).w2g_1 = this.g2g();
|
|
1296
|
+
this.w1f_1 = 37;
|
|
1297
|
+
var tmp_0 = this.p1m(this.y2f_1);
|
|
1298
1298
|
if (isInterface(tmp_0, Token))
|
|
1299
1299
|
tmp_0;
|
|
1300
1300
|
else
|
|
1301
1301
|
THROW_CCE();
|
|
1302
1302
|
}
|
|
1303
|
-
} else if (tmp0_subject === this.
|
|
1303
|
+
} else if (tmp0_subject === this.c2g_1) {
|
|
1304
1304
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1305
|
-
this.
|
|
1305
|
+
this.j1n(_localctx, 2);
|
|
1306
1306
|
{
|
|
1307
|
-
this.
|
|
1308
|
-
var tmp_1 = this.
|
|
1307
|
+
this.w1f_1 = 39;
|
|
1308
|
+
var tmp_1 = this.p1m(this.c2g_1);
|
|
1309
1309
|
if (isInterface(tmp_1, Token))
|
|
1310
1310
|
tmp_1;
|
|
1311
1311
|
else
|
|
1312
1312
|
THROW_CCE();
|
|
1313
|
-
this.
|
|
1313
|
+
this.w1f_1 = 40;
|
|
1314
1314
|
var tmp_2 = _localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE();
|
|
1315
|
-
var tmp_3 = this.
|
|
1316
|
-
tmp_2.
|
|
1317
|
-
this.
|
|
1318
|
-
var tmp_4 = this.
|
|
1315
|
+
var tmp_3 = this.p1m(this.f2g_1);
|
|
1316
|
+
tmp_2.e2h_1 = isInterface(tmp_3, Token) ? tmp_3 : THROW_CCE();
|
|
1317
|
+
this.w1f_1 = 41;
|
|
1318
|
+
var tmp_4 = this.p1m(this.y2f_1);
|
|
1319
1319
|
if (isInterface(tmp_4, Token))
|
|
1320
1320
|
tmp_4;
|
|
1321
1321
|
else
|
|
1322
1322
|
THROW_CCE();
|
|
1323
1323
|
}
|
|
1324
|
-
} else if (tmp0_subject === this.
|
|
1324
|
+
} else if (tmp0_subject === this.d2g_1) {
|
|
1325
1325
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1326
|
-
this.
|
|
1326
|
+
this.j1n(_localctx, 3);
|
|
1327
1327
|
{
|
|
1328
|
-
this.
|
|
1328
|
+
this.w1f_1 = 42;
|
|
1329
1329
|
var tmp_5 = _localctx instanceof IntAtomContext ? _localctx : THROW_CCE();
|
|
1330
|
-
var tmp_6 = this.
|
|
1331
|
-
tmp_5.
|
|
1330
|
+
var tmp_6 = this.p1m(this.d2g_1);
|
|
1331
|
+
tmp_5.o2g_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
|
|
1332
1332
|
}
|
|
1333
1333
|
} else
|
|
1334
1334
|
throw new NoViableAltException(this);
|
|
1335
1335
|
} catch ($p) {
|
|
1336
1336
|
if ($p instanceof RecognitionException) {
|
|
1337
1337
|
var re = $p;
|
|
1338
|
-
_localctx.
|
|
1339
|
-
this.
|
|
1340
|
-
this.
|
|
1338
|
+
_localctx.w1b_1 = re;
|
|
1339
|
+
this.i1b_1.m1c(this, re);
|
|
1340
|
+
this.i1b_1.d1b(this, re);
|
|
1341
1341
|
} else {
|
|
1342
1342
|
throw $p;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
finally {
|
|
1346
|
-
this.
|
|
1346
|
+
this.i1n();
|
|
1347
1347
|
}
|
|
1348
1348
|
return _localctx;
|
|
1349
1349
|
};
|
|
1350
|
-
protoOf(StateExpressionParser).
|
|
1350
|
+
protoOf(StateExpressionParser).y1l = function (_localctx, ruleIndex, predIndex) {
|
|
1351
1351
|
var tmp0_subject = ruleIndex;
|
|
1352
1352
|
if (tmp0_subject === 0) {
|
|
1353
1353
|
return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
|
|
@@ -1357,15 +1357,15 @@
|
|
|
1357
1357
|
function StateExpressionVisitor() {
|
|
1358
1358
|
}
|
|
1359
1359
|
function Expression(expr) {
|
|
1360
|
-
this.
|
|
1360
|
+
this.g2h_1 = expr;
|
|
1361
1361
|
}
|
|
1362
|
-
protoOf(Expression).
|
|
1363
|
-
return !(this.
|
|
1362
|
+
protoOf(Expression).h2h = function () {
|
|
1363
|
+
return !(this.g2h_1 == null);
|
|
1364
1364
|
};
|
|
1365
|
-
protoOf(Expression).
|
|
1365
|
+
protoOf(Expression).i2h = function (state) {
|
|
1366
1366
|
var tmp$ret$2;
|
|
1367
1367
|
// Inline function 'kotlin.checkNotNull' call
|
|
1368
|
-
var tmp0_checkNotNull = this.
|
|
1368
|
+
var tmp0_checkNotNull = this.g2h_1;
|
|
1369
1369
|
// Inline function 'kotlin.contracts.contract' call
|
|
1370
1370
|
var tmp$ret$1;
|
|
1371
1371
|
$l$block: {
|
|
@@ -1383,12 +1383,12 @@
|
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
1385
|
tmp$ret$2 = tmp$ret$1;
|
|
1386
|
-
return tmp$ret$2.
|
|
1386
|
+
return tmp$ret$2.v1n((new StateExpressionEvaluator(state)).k2h_1);
|
|
1387
1387
|
};
|
|
1388
|
-
protoOf(Expression).
|
|
1388
|
+
protoOf(Expression).m2h = function () {
|
|
1389
1389
|
var tmp$ret$0;
|
|
1390
1390
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1391
|
-
var tmp0_safe_receiver = this.
|
|
1391
|
+
var tmp0_safe_receiver = this.g2h_1;
|
|
1392
1392
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1393
1393
|
var tmp0_orEmpty = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1394
1394
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
@@ -1406,11 +1406,11 @@
|
|
|
1406
1406
|
} else {
|
|
1407
1407
|
var tmp_0;
|
|
1408
1408
|
try {
|
|
1409
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1409
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().v1a(_this__u8e3s4)));
|
|
1410
1410
|
var parser = new StateExpressionParser(tokens);
|
|
1411
|
-
parser.
|
|
1412
|
-
var expr = parser.
|
|
1413
|
-
tmp_0 = tokens.j(tokens.
|
|
1411
|
+
parser.i1b_1 = new BailErrorStrategy();
|
|
1412
|
+
var expr = parser.f2h();
|
|
1413
|
+
tmp_0 = tokens.j(tokens.h1d()).u1d() === Companion_getInstance_0().y1d_1 ? expr : null;
|
|
1414
1414
|
} catch ($p) {
|
|
1415
1415
|
var tmp_1;
|
|
1416
1416
|
if ($p instanceof ParseCancellationException) {
|
|
@@ -1430,7 +1430,7 @@
|
|
|
1430
1430
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1431
1431
|
var tmp$ret$0;
|
|
1432
1432
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1433
|
-
var tmp0_orEmpty = _this__u8e3s4.
|
|
1433
|
+
var tmp0_orEmpty = _this__u8e3s4.t1b_1;
|
|
1434
1434
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
1435
1435
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1436
1436
|
var tmp2_flatMap = tmp$ret$0;
|
|
@@ -1445,7 +1445,7 @@
|
|
|
1445
1445
|
var tmp0_subject = element;
|
|
1446
1446
|
var tmp;
|
|
1447
1447
|
if (isInterface(tmp0_subject, TerminalNode)) {
|
|
1448
|
-
var tmp1_safe_receiver = element.
|
|
1448
|
+
var tmp1_safe_receiver = element.i28();
|
|
1449
1449
|
var tmp_0;
|
|
1450
1450
|
if (tmp1_safe_receiver == null) {
|
|
1451
1451
|
tmp_0 = null;
|
|
@@ -1456,7 +1456,7 @@
|
|
|
1456
1456
|
var tmp_1;
|
|
1457
1457
|
var tmp$ret$1;
|
|
1458
1458
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1459
|
-
tmp$ret$1 = tmp1_safe_receiver.
|
|
1459
|
+
tmp$ret$1 = tmp1_safe_receiver.u1d() === Tokens_VAR_getInstance().x2b_1;
|
|
1460
1460
|
if (tmp$ret$1) {
|
|
1461
1461
|
tmp_1 = tmp1_safe_receiver;
|
|
1462
1462
|
} else {
|
|
@@ -1466,7 +1466,7 @@
|
|
|
1466
1466
|
tmp_0 = tmp$ret$2;
|
|
1467
1467
|
}
|
|
1468
1468
|
var tmp2_safe_receiver = tmp_0;
|
|
1469
|
-
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1469
|
+
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.m1e());
|
|
1470
1470
|
} else {
|
|
1471
1471
|
if (tmp0_subject instanceof ParserRuleContext) {
|
|
1472
1472
|
tmp = vars(element);
|
|
@@ -1483,38 +1483,38 @@
|
|
|
1483
1483
|
return tmp$ret$5;
|
|
1484
1484
|
}
|
|
1485
1485
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1486
|
-
this.
|
|
1486
|
+
this.n2h_1 = this$0;
|
|
1487
1487
|
StateExpressionBaseVisitor.call(this);
|
|
1488
1488
|
}
|
|
1489
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1490
|
-
return ensureNotNull(ctx.
|
|
1489
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).w28 = function (ctx) {
|
|
1490
|
+
return ensureNotNull(ctx.b2d_1).v1n(this);
|
|
1491
1491
|
};
|
|
1492
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1493
|
-
return !ensureNotNull(ctx.
|
|
1492
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).z28 = function (ctx) {
|
|
1493
|
+
return !ensureNotNull(ctx.b2e_1).v1n(this);
|
|
1494
1494
|
};
|
|
1495
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1496
|
-
return ensureNotNull(ctx.
|
|
1495
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).b29 = function (ctx) {
|
|
1496
|
+
return ensureNotNull(ctx.r2e_1).v1n(this) ? true : ensureNotNull(ctx.s2e_1).v1n(this);
|
|
1497
1497
|
};
|
|
1498
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1499
|
-
return ensureNotNull(ctx.
|
|
1498
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).c29 = function (ctx) {
|
|
1499
|
+
return ensureNotNull(ctx.a2f_1).v1n(this) ? ensureNotNull(ctx.b2f_1).v1n(this) : false;
|
|
1500
1500
|
};
|
|
1501
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1502
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1501
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).x28 = function (ctx) {
|
|
1502
|
+
var tmp0_subject = ensureNotNull(ctx.j2d_1).u1d();
|
|
1503
1503
|
var tmp;
|
|
1504
|
-
if (tmp0_subject === Tokens_TRUE_getInstance().
|
|
1504
|
+
if (tmp0_subject === Tokens_TRUE_getInstance().x2b_1) {
|
|
1505
1505
|
tmp = true;
|
|
1506
|
-
} else if (tmp0_subject === Tokens_FALSE_getInstance().
|
|
1506
|
+
} else if (tmp0_subject === Tokens_FALSE_getInstance().x2b_1) {
|
|
1507
1507
|
tmp = false;
|
|
1508
1508
|
} else {
|
|
1509
1509
|
throw IllegalStateException_init_$Create$_0();
|
|
1510
1510
|
}
|
|
1511
1511
|
return tmp;
|
|
1512
1512
|
};
|
|
1513
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1514
|
-
var varName = ensureNotNull(ensureNotNull(ctx.
|
|
1513
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).y28 = function (ctx) {
|
|
1514
|
+
var varName = ensureNotNull(ensureNotNull(ctx.r2d_1).m1e());
|
|
1515
1515
|
var tmp$ret$3;
|
|
1516
1516
|
// Inline function 'kotlin.run' call
|
|
1517
|
-
var tmp0_run = ensureNotNull(ensureNotNull(ctx.
|
|
1517
|
+
var tmp0_run = ensureNotNull(ensureNotNull(ctx.t2d_1).m1e());
|
|
1518
1518
|
// Inline function 'kotlin.contracts.contract' call
|
|
1519
1519
|
var tmp$ret$2;
|
|
1520
1520
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
@@ -1528,62 +1528,62 @@
|
|
|
1528
1528
|
tmp$ret$2 = tmp$ret$1;
|
|
1529
1529
|
tmp$ret$3 = tmp$ret$2;
|
|
1530
1530
|
var value = tmp$ret$3;
|
|
1531
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1531
|
+
var tmp0_subject = ensureNotNull(ctx.s2d_1).u1d();
|
|
1532
1532
|
var tmp;
|
|
1533
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1534
|
-
tmp = this.
|
|
1535
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1536
|
-
tmp = !this.
|
|
1533
|
+
if (tmp0_subject === Tokens_EQ_getInstance().x2b_1) {
|
|
1534
|
+
tmp = this.n2h_1.j2h_1.l1a(varName).y(value);
|
|
1535
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().x2b_1) {
|
|
1536
|
+
tmp = !this.n2h_1.j2h_1.l1a(varName).y(value);
|
|
1537
1537
|
} else {
|
|
1538
1538
|
throw IllegalStateException_init_$Create$_0();
|
|
1539
1539
|
}
|
|
1540
1540
|
return tmp;
|
|
1541
1541
|
};
|
|
1542
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1543
|
-
var left = ensureNotNull(ctx.
|
|
1544
|
-
var right = ensureNotNull(ctx.
|
|
1545
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1542
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).v28 = function (ctx) {
|
|
1543
|
+
var left = ensureNotNull(ctx.r2c_1).v1n(this.n2h_1.l2h_1);
|
|
1544
|
+
var right = ensureNotNull(ctx.t2c_1).v1n(this.n2h_1.l2h_1);
|
|
1545
|
+
var tmp0_subject = ensureNotNull(ctx.s2c_1).u1d();
|
|
1546
1546
|
var tmp;
|
|
1547
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1547
|
+
if (tmp0_subject === Tokens_EQ_getInstance().x2b_1) {
|
|
1548
1548
|
tmp = left === right;
|
|
1549
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1549
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().x2b_1) {
|
|
1550
1550
|
tmp = !(left === right);
|
|
1551
|
-
} else if (tmp0_subject === Tokens_GT_getInstance().
|
|
1551
|
+
} else if (tmp0_subject === Tokens_GT_getInstance().x2b_1) {
|
|
1552
1552
|
tmp = left > right;
|
|
1553
|
-
} else if (tmp0_subject === Tokens_GTE_getInstance().
|
|
1553
|
+
} else if (tmp0_subject === Tokens_GTE_getInstance().x2b_1) {
|
|
1554
1554
|
tmp = left >= right;
|
|
1555
|
-
} else if (tmp0_subject === Tokens_LT_getInstance().
|
|
1555
|
+
} else if (tmp0_subject === Tokens_LT_getInstance().x2b_1) {
|
|
1556
1556
|
tmp = left < right;
|
|
1557
|
-
} else if (tmp0_subject === Tokens_LTE_getInstance().
|
|
1557
|
+
} else if (tmp0_subject === Tokens_LTE_getInstance().x2b_1) {
|
|
1558
1558
|
tmp = left <= right;
|
|
1559
1559
|
} else {
|
|
1560
1560
|
throw IllegalStateException_init_$Create$_0();
|
|
1561
1561
|
}
|
|
1562
1562
|
return tmp;
|
|
1563
1563
|
};
|
|
1564
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1564
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).a29 = function (ctx) {
|
|
1565
1565
|
var tmp$ret$0;
|
|
1566
1566
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1567
|
-
var tmp0_isNotEmpty = this.
|
|
1567
|
+
var tmp0_isNotEmpty = this.n2h_1.j2h_1.l1a(ensureNotNull(ensureNotNull(ctx.j2e_1).m1e()));
|
|
1568
1568
|
tmp$ret$0 = !tmp0_isNotEmpty.m();
|
|
1569
1569
|
return tmp$ret$0;
|
|
1570
1570
|
};
|
|
1571
1571
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1572
|
-
this.
|
|
1572
|
+
this.o2h_1 = this$0;
|
|
1573
1573
|
StateExpressionBaseVisitor.call(this);
|
|
1574
1574
|
}
|
|
1575
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1576
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.
|
|
1575
|
+
protoOf(StateExpressionEvaluator$intExpr$1).f29 = function (ctx) {
|
|
1576
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.o2g_1).m1e()));
|
|
1577
1577
|
};
|
|
1578
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1579
|
-
return this.
|
|
1578
|
+
protoOf(StateExpressionEvaluator$intExpr$1).e29 = function (ctx) {
|
|
1579
|
+
return this.o2h_1.j2h_1.l1a(ensureNotNull(ensureNotNull(ctx.e2h_1).m1e())).i();
|
|
1580
1580
|
};
|
|
1581
1581
|
function StateExpressionEvaluator(state) {
|
|
1582
|
-
this.
|
|
1582
|
+
this.j2h_1 = state;
|
|
1583
1583
|
var tmp = this;
|
|
1584
|
-
tmp.
|
|
1584
|
+
tmp.k2h_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1585
1585
|
var tmp_0 = this;
|
|
1586
|
-
tmp_0.
|
|
1586
|
+
tmp_0.l2h_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1587
1587
|
}
|
|
1588
1588
|
//region block: exports
|
|
1589
1589
|
_.$_$ = _.$_$ || {};
|