@cruglobal/godtools-shared 1.2.1-SNAPSHOT.1800 → 1.3.0-SNAPSHOT.1806
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/Kermit-kermit-core.js +36 -36
- package/Kermit-kermit.js +5 -5
- package/antlr-kotlin-antlr-kotlin-runtime.js +2922 -2922
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +547 -547
- package/fluid-locale.js +125 -125
- package/kotlin-kotlin-stdlib.js +48 -48
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +978 -393
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2075 -2075
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +34 -563
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +151 -142
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +11 -7
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2138 -2138
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './antlr-kotlin-antlr-kotlin-runtime.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
3
|
+
define(['exports', './antlr-kotlin-antlr-kotlin-runtime.js', './kotlin-kotlin-stdlib.js', './kotlinx-coroutines-core.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
5
|
+
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime.js'), require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-coroutines-core.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['antlr-kotlin-antlr-kotlin-runtime'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
15
|
+
}
|
|
16
|
+
globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'], globalThis['antlr-kotlin-antlr-kotlin-runtime'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-coroutines-core']);
|
|
14
17
|
}
|
|
15
|
-
}(function (_, kotlin_com_strumenta_antlr_kotlin_runtime, kotlin_kotlin) {
|
|
18
|
+
}(function (_, kotlin_com_strumenta_antlr_kotlin_runtime, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
16
19
|
'use strict';
|
|
17
20
|
//region block: imports
|
|
18
21
|
var AbstractParseTreeVisitor = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.k;
|
|
@@ -58,6 +61,22 @@
|
|
|
58
61
|
var listOfNotNull = kotlin_kotlin.$_$.c4;
|
|
59
62
|
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.l;
|
|
60
63
|
var addAll = kotlin_kotlin.$_$.w2;
|
|
64
|
+
var plus = kotlin_kotlin.$_$.i4;
|
|
65
|
+
var CoroutineImpl = kotlin_kotlin.$_$.k5;
|
|
66
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
|
|
67
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.i6;
|
|
68
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.g6;
|
|
69
|
+
var equals = kotlin_kotlin.$_$.x5;
|
|
70
|
+
var FunctionAdapter = kotlin_kotlin.$_$.o5;
|
|
71
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
72
|
+
var hashCode = kotlin_kotlin.$_$.d6;
|
|
73
|
+
var first = kotlin_kotlin.$_$.s3;
|
|
74
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
75
|
+
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
76
|
+
var onSubscription = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
77
|
+
var conflate = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
78
|
+
var flowOf = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
79
|
+
var toList = kotlin_kotlin.$_$.q4;
|
|
61
80
|
var toInt = kotlin_kotlin.$_$.j8;
|
|
62
81
|
//endregion
|
|
63
82
|
//region block: pre-declaration
|
|
@@ -82,6 +101,45 @@
|
|
|
82
101
|
initMetadataForClass(ValuesFuncContext, 'ValuesFuncContext', VOID, IntExprContext);
|
|
83
102
|
initMetadataForClass(StateExpressionParser, 'StateExpressionParser', VOID, Parser);
|
|
84
103
|
initMetadataForClass(Expression, 'Expression');
|
|
104
|
+
function varsChangeFlow$default(keys, block, $super) {
|
|
105
|
+
keys = keys === VOID ? emptyList() : keys;
|
|
106
|
+
return $super === VOID ? this.f2t(keys, block) : $super.f2t.call(this, keys, block);
|
|
107
|
+
}
|
|
108
|
+
function addVarValue(key, value) {
|
|
109
|
+
var values = this.g2t(key);
|
|
110
|
+
if (!values.f1(value)) {
|
|
111
|
+
this.h2t(key, plus(values, value));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function removeVarValue(key, value) {
|
|
115
|
+
var values = this.g2t(key);
|
|
116
|
+
if (values.f1(value)) {
|
|
117
|
+
// Inline function 'kotlin.collections.filterNot' call
|
|
118
|
+
// Inline function 'kotlin.collections.filterNotTo' call
|
|
119
|
+
var destination = ArrayList_init_$Create$();
|
|
120
|
+
var _iterator__ex2g4s = values.j();
|
|
121
|
+
while (_iterator__ex2g4s.k()) {
|
|
122
|
+
var element = _iterator__ex2g4s.l();
|
|
123
|
+
if (!(element === value)) {
|
|
124
|
+
destination.e(element);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
this.h2t(key, destination);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
initMetadataForInterface(ExpressionContext, 'ExpressionContext');
|
|
131
|
+
initMetadataForLambda(SimpleExpressionContext$varsChangeFlow$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
132
|
+
initMetadataForCoroutine($collectCOROUTINE$0, CoroutineImpl);
|
|
133
|
+
initMetadataForLambda(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
|
|
134
|
+
initMetadataForCoroutine($collectCOROUTINE$1, CoroutineImpl);
|
|
135
|
+
initMetadataForLambda(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3, CoroutineImpl, VOID, [1]);
|
|
136
|
+
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
137
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
138
|
+
initMetadataForLambda(SimpleExpressionContext$varsChangeFlow$slambda, CoroutineImpl, VOID, [1]);
|
|
139
|
+
initMetadataForClass(SimpleExpressionContext$varsChangeFlow$$inlined$filter$1, VOID, VOID, VOID, VOID, [1]);
|
|
140
|
+
initMetadataForClass(SimpleExpressionContext$varsChangeFlow$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
141
|
+
initMetadataForClass(SimpleExpressionContext$varsChangeFlow$$inlined$map$2, VOID, VOID, VOID, VOID, [1]);
|
|
142
|
+
initMetadataForClass(SimpleExpressionContext, 'SimpleExpressionContext', SimpleExpressionContext, VOID, [ExpressionContext]);
|
|
85
143
|
initMetadataForClass(StateExpressionEvaluator$booleanExpr$1, VOID, VOID, StateExpressionBaseVisitor);
|
|
86
144
|
initMetadataForClass(StateExpressionEvaluator$intExpr$1, VOID, VOID, StateExpressionBaseVisitor);
|
|
87
145
|
initMetadataForClass(StateExpressionEvaluator, 'StateExpressionEvaluator');
|
|
@@ -89,67 +147,67 @@
|
|
|
89
147
|
function StateExpressionBaseVisitor() {
|
|
90
148
|
AbstractParseTreeVisitor.call(this);
|
|
91
149
|
}
|
|
92
|
-
protoOf(StateExpressionBaseVisitor).
|
|
93
|
-
return this.
|
|
150
|
+
protoOf(StateExpressionBaseVisitor).m2j = function (ctx) {
|
|
151
|
+
return this.tx(ctx);
|
|
94
152
|
};
|
|
95
|
-
protoOf(StateExpressionBaseVisitor).
|
|
96
|
-
return this.
|
|
153
|
+
protoOf(StateExpressionBaseVisitor).n2j = function (ctx) {
|
|
154
|
+
return this.tx(ctx);
|
|
97
155
|
};
|
|
98
|
-
protoOf(StateExpressionBaseVisitor).
|
|
99
|
-
return this.
|
|
156
|
+
protoOf(StateExpressionBaseVisitor).o2j = function (ctx) {
|
|
157
|
+
return this.tx(ctx);
|
|
100
158
|
};
|
|
101
|
-
protoOf(StateExpressionBaseVisitor).
|
|
102
|
-
return this.
|
|
159
|
+
protoOf(StateExpressionBaseVisitor).p2j = function (ctx) {
|
|
160
|
+
return this.tx(ctx);
|
|
103
161
|
};
|
|
104
|
-
protoOf(StateExpressionBaseVisitor).
|
|
105
|
-
return this.
|
|
162
|
+
protoOf(StateExpressionBaseVisitor).q2j = function (ctx) {
|
|
163
|
+
return this.tx(ctx);
|
|
106
164
|
};
|
|
107
|
-
protoOf(StateExpressionBaseVisitor).
|
|
108
|
-
return this.
|
|
165
|
+
protoOf(StateExpressionBaseVisitor).r2j = function (ctx) {
|
|
166
|
+
return this.tx(ctx);
|
|
109
167
|
};
|
|
110
|
-
protoOf(StateExpressionBaseVisitor).
|
|
111
|
-
return this.
|
|
168
|
+
protoOf(StateExpressionBaseVisitor).s2j = function (ctx) {
|
|
169
|
+
return this.tx(ctx);
|
|
112
170
|
};
|
|
113
|
-
protoOf(StateExpressionBaseVisitor).
|
|
114
|
-
return this.
|
|
171
|
+
protoOf(StateExpressionBaseVisitor).t2j = function (ctx) {
|
|
172
|
+
return this.tx(ctx);
|
|
115
173
|
};
|
|
116
|
-
protoOf(StateExpressionBaseVisitor).
|
|
117
|
-
return this.
|
|
174
|
+
protoOf(StateExpressionBaseVisitor).u2j = function (ctx) {
|
|
175
|
+
return this.tx(ctx);
|
|
118
176
|
};
|
|
119
|
-
protoOf(StateExpressionBaseVisitor).
|
|
120
|
-
return this.
|
|
177
|
+
protoOf(StateExpressionBaseVisitor).v2j = function (ctx) {
|
|
178
|
+
return this.tx(ctx);
|
|
121
179
|
};
|
|
122
|
-
protoOf(StateExpressionBaseVisitor).
|
|
123
|
-
return this.
|
|
180
|
+
protoOf(StateExpressionBaseVisitor).w2j = function (ctx) {
|
|
181
|
+
return this.tx(ctx);
|
|
124
182
|
};
|
|
125
183
|
function Companion() {
|
|
126
184
|
Companion_instance = this;
|
|
127
|
-
RuntimeMetaData_instance.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
185
|
+
RuntimeMetaData_instance.vx('4.13.1', '4.13.1');
|
|
186
|
+
this.x2j_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
187
|
+
this.y2j_1 = (new ATNDeserializer()).c12(toCharArray("\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00"));
|
|
130
188
|
var tmp = this;
|
|
131
189
|
var tmp_0 = 0;
|
|
132
|
-
var tmp_1 = this.
|
|
190
|
+
var tmp_1 = this.y2j_1.jy();
|
|
133
191
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
134
192
|
var tmp_2 = Array(tmp_1);
|
|
135
193
|
while (tmp_0 < tmp_1) {
|
|
136
194
|
var tmp_3 = tmp_0;
|
|
137
|
-
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance().
|
|
195
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance().y2j_1.yy(tmp_3)), tmp_3);
|
|
138
196
|
tmp_0 = tmp_0 + 1 | 0;
|
|
139
197
|
}
|
|
140
|
-
tmp.
|
|
141
|
-
this.
|
|
198
|
+
tmp.z2j_1 = tmp_2;
|
|
199
|
+
this.a2k_1 = new PredictionContextCache();
|
|
142
200
|
var tmp_4 = this;
|
|
143
201
|
// Inline function 'kotlin.arrayOf' call
|
|
144
202
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
145
203
|
// Inline function 'kotlin.js.asDynamic' call
|
|
146
|
-
tmp_4.
|
|
204
|
+
tmp_4.b2k_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
147
205
|
var tmp_5 = this;
|
|
148
206
|
// Inline function 'kotlin.arrayOf' call
|
|
149
207
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
150
208
|
// Inline function 'kotlin.js.asDynamic' call
|
|
151
|
-
tmp_5.
|
|
152
|
-
this.
|
|
209
|
+
tmp_5.c2k_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
210
|
+
this.d2k_1 = new VocabularyImpl(this.b2k_1, this.c2k_1);
|
|
153
211
|
}
|
|
154
212
|
var Companion_instance;
|
|
155
213
|
function Companion_getInstance() {
|
|
@@ -160,38 +218,38 @@
|
|
|
160
218
|
function StateExpressionLexer(input) {
|
|
161
219
|
Companion_getInstance();
|
|
162
220
|
Lexer.call(this, input);
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
221
|
+
this.w2k_1 = new LexerATNSimulator(this, Companion_getInstance().y2j_1, Companion_getInstance().z2j_1, Companion_getInstance().a2k_1);
|
|
222
|
+
this.x2k_1 = 'StateExpression.g4';
|
|
223
|
+
this.y2k_1 = Companion_getInstance().y2j_1;
|
|
224
|
+
this.z2k_1 = Companion_getInstance().d2k_1;
|
|
225
|
+
this.a2l_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
168
226
|
var tmp = this;
|
|
169
227
|
// Inline function 'kotlin.arrayOf' call
|
|
170
228
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
171
229
|
// Inline function 'kotlin.js.asDynamic' call
|
|
172
|
-
tmp.
|
|
230
|
+
tmp.b2l_1 = ['EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
173
231
|
var tmp_0 = this;
|
|
174
232
|
// Inline function 'kotlin.arrayOf' call
|
|
175
233
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
176
234
|
// Inline function 'kotlin.js.asDynamic' call
|
|
177
|
-
tmp_0.
|
|
235
|
+
tmp_0.c2l_1 = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN'];
|
|
178
236
|
var tmp_1 = this;
|
|
179
237
|
// Inline function 'kotlin.arrayOf' call
|
|
180
238
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
181
239
|
// Inline function 'kotlin.js.asDynamic' call
|
|
182
|
-
tmp_1.
|
|
240
|
+
tmp_1.d2l_1 = ['DEFAULT_MODE'];
|
|
183
241
|
}
|
|
184
|
-
protoOf(StateExpressionLexer).
|
|
185
|
-
return this.
|
|
242
|
+
protoOf(StateExpressionLexer).mq = function () {
|
|
243
|
+
return this.w2k_1;
|
|
186
244
|
};
|
|
187
|
-
protoOf(StateExpressionLexer).
|
|
188
|
-
return this.
|
|
245
|
+
protoOf(StateExpressionLexer).nq = function () {
|
|
246
|
+
return this.y2k_1;
|
|
189
247
|
};
|
|
190
|
-
protoOf(StateExpressionLexer).
|
|
191
|
-
return this.
|
|
248
|
+
protoOf(StateExpressionLexer).ep = function () {
|
|
249
|
+
return this.z2k_1;
|
|
192
250
|
};
|
|
193
|
-
protoOf(StateExpressionLexer).
|
|
194
|
-
return this.
|
|
251
|
+
protoOf(StateExpressionLexer).hr = function () {
|
|
252
|
+
return this.b2l_1;
|
|
195
253
|
};
|
|
196
254
|
function StateExpressionListener() {
|
|
197
255
|
}
|
|
@@ -214,7 +272,7 @@
|
|
|
214
272
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
215
273
|
BooleanExprContext_init_$Init$_0($this);
|
|
216
274
|
IntCmpExprContext.call($this);
|
|
217
|
-
$this.
|
|
275
|
+
$this.k2m(ctx);
|
|
218
276
|
return $this;
|
|
219
277
|
}
|
|
220
278
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -223,7 +281,7 @@
|
|
|
223
281
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
224
282
|
BooleanExprContext_init_$Init$_0($this);
|
|
225
283
|
ParExprContext.call($this);
|
|
226
|
-
$this.
|
|
284
|
+
$this.k2m(ctx);
|
|
227
285
|
return $this;
|
|
228
286
|
}
|
|
229
287
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -232,7 +290,7 @@
|
|
|
232
290
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
233
291
|
BooleanExprContext_init_$Init$_0($this);
|
|
234
292
|
BooleanAtomContext.call($this);
|
|
235
|
-
$this.
|
|
293
|
+
$this.k2m(ctx);
|
|
236
294
|
return $this;
|
|
237
295
|
}
|
|
238
296
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -241,7 +299,7 @@
|
|
|
241
299
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
242
300
|
BooleanExprContext_init_$Init$_0($this);
|
|
243
301
|
EqExprContext.call($this);
|
|
244
|
-
$this.
|
|
302
|
+
$this.k2m(ctx);
|
|
245
303
|
return $this;
|
|
246
304
|
}
|
|
247
305
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -250,7 +308,7 @@
|
|
|
250
308
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
251
309
|
BooleanExprContext_init_$Init$_0($this);
|
|
252
310
|
NotExprContext.call($this);
|
|
253
|
-
$this.
|
|
311
|
+
$this.k2m(ctx);
|
|
254
312
|
return $this;
|
|
255
313
|
}
|
|
256
314
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -259,7 +317,7 @@
|
|
|
259
317
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
260
318
|
BooleanExprContext_init_$Init$_0($this);
|
|
261
319
|
IsSetFuncContext.call($this);
|
|
262
|
-
$this.
|
|
320
|
+
$this.k2m(ctx);
|
|
263
321
|
return $this;
|
|
264
322
|
}
|
|
265
323
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -268,7 +326,7 @@
|
|
|
268
326
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
269
327
|
BooleanExprContext_init_$Init$_0($this);
|
|
270
328
|
OrExprContext.call($this);
|
|
271
|
-
$this.
|
|
329
|
+
$this.k2m(ctx);
|
|
272
330
|
return $this;
|
|
273
331
|
}
|
|
274
332
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -277,7 +335,7 @@
|
|
|
277
335
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
278
336
|
BooleanExprContext_init_$Init$_0($this);
|
|
279
337
|
AndExprContext.call($this);
|
|
280
|
-
$this.
|
|
338
|
+
$this.k2m(ctx);
|
|
281
339
|
return $this;
|
|
282
340
|
}
|
|
283
341
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -302,7 +360,7 @@
|
|
|
302
360
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
303
361
|
IntExprContext_init_$Init$_0($this);
|
|
304
362
|
IntAtomContext.call($this);
|
|
305
|
-
$this.
|
|
363
|
+
$this.v2m(ctx);
|
|
306
364
|
return $this;
|
|
307
365
|
}
|
|
308
366
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -311,7 +369,7 @@
|
|
|
311
369
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
312
370
|
IntExprContext_init_$Init$_0($this);
|
|
313
371
|
ParIntExprContext.call($this);
|
|
314
|
-
$this.
|
|
372
|
+
$this.v2m(ctx);
|
|
315
373
|
return $this;
|
|
316
374
|
}
|
|
317
375
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -320,7 +378,7 @@
|
|
|
320
378
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
321
379
|
IntExprContext_init_$Init$_0($this);
|
|
322
380
|
ValuesFuncContext.call($this);
|
|
323
|
-
$this.
|
|
381
|
+
$this.v2m(ctx);
|
|
324
382
|
return $this;
|
|
325
383
|
}
|
|
326
384
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -328,50 +386,50 @@
|
|
|
328
386
|
}
|
|
329
387
|
function Companion_0() {
|
|
330
388
|
Companion_instance_0 = this;
|
|
331
|
-
RuntimeMetaData_instance.
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
389
|
+
RuntimeMetaData_instance.vx('4.13.1', '4.13.1');
|
|
390
|
+
this.w2m_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
391
|
+
this.x2m_1 = (new ATNDeserializer()).c12(toCharArray('\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +'));
|
|
334
392
|
var tmp = this;
|
|
335
393
|
var tmp_0 = 0;
|
|
336
|
-
var tmp_1 = this.
|
|
394
|
+
var tmp_1 = this.x2m_1.jy();
|
|
337
395
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
338
396
|
var tmp_2 = Array(tmp_1);
|
|
339
397
|
while (tmp_0 < tmp_1) {
|
|
340
398
|
var tmp_3 = tmp_0;
|
|
341
|
-
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance_0().
|
|
399
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance_0().x2m_1.yy(tmp_3)), tmp_3);
|
|
342
400
|
tmp_0 = tmp_0 + 1 | 0;
|
|
343
401
|
}
|
|
344
|
-
tmp.
|
|
345
|
-
this.
|
|
402
|
+
tmp.y2m_1 = tmp_2;
|
|
403
|
+
this.z2m_1 = new PredictionContextCache();
|
|
346
404
|
var tmp_4 = this;
|
|
347
405
|
// Inline function 'kotlin.arrayOf' call
|
|
348
406
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
349
407
|
// Inline function 'kotlin.js.asDynamic' call
|
|
350
|
-
tmp_4.
|
|
408
|
+
tmp_4.a2n_1 = ['booleanExpr', 'intExpr'];
|
|
351
409
|
var tmp_5 = this;
|
|
352
410
|
// Inline function 'kotlin.arrayOf' call
|
|
353
411
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
354
412
|
// Inline function 'kotlin.js.asDynamic' call
|
|
355
|
-
tmp_5.
|
|
413
|
+
tmp_5.b2n_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
356
414
|
var tmp_6 = this;
|
|
357
415
|
// Inline function 'kotlin.arrayOf' call
|
|
358
416
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
359
417
|
// Inline function 'kotlin.js.asDynamic' call
|
|
360
|
-
tmp_6.
|
|
361
|
-
this.
|
|
418
|
+
tmp_6.c2n_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
419
|
+
this.d2n_1 = new VocabularyImpl(this.b2n_1, this.c2n_1);
|
|
362
420
|
var tmp_7 = this;
|
|
363
421
|
var tmp_8 = 0;
|
|
364
|
-
var tmp_9 = this.
|
|
422
|
+
var tmp_9 = this.c2n_1.length;
|
|
365
423
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
366
424
|
var tmp_10 = Array(tmp_9);
|
|
367
425
|
while (tmp_8 < tmp_9) {
|
|
368
426
|
var tmp_11 = tmp_8;
|
|
369
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
370
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().
|
|
427
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().d2n_1.gy(tmp_11);
|
|
428
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().d2n_1.hy(tmp_11) : tmp0_elvis_lhs;
|
|
371
429
|
tmp_10[tmp_11] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
372
430
|
tmp_8 = tmp_8 + 1 | 0;
|
|
373
431
|
}
|
|
374
|
-
tmp_7.
|
|
432
|
+
tmp_7.e2n_1 = tmp_10;
|
|
375
433
|
}
|
|
376
434
|
var Companion_instance_0;
|
|
377
435
|
function Companion_getInstance_0() {
|
|
@@ -379,49 +437,49 @@
|
|
|
379
437
|
new Companion_0();
|
|
380
438
|
return Companion_instance_0;
|
|
381
439
|
}
|
|
382
|
-
protoOf(BooleanExprContext).
|
|
383
|
-
return this.
|
|
440
|
+
protoOf(BooleanExprContext).nr = function () {
|
|
441
|
+
return this.j2m_1;
|
|
384
442
|
};
|
|
385
|
-
protoOf(BooleanExprContext).
|
|
386
|
-
protoOf(ParserRuleContext).
|
|
443
|
+
protoOf(BooleanExprContext).k2m = function (ctx) {
|
|
444
|
+
protoOf(ParserRuleContext).hx.call(this, ctx);
|
|
387
445
|
};
|
|
388
446
|
function BooleanExprContext() {
|
|
389
|
-
this.
|
|
447
|
+
this.j2m_1 = 0;
|
|
390
448
|
}
|
|
391
|
-
protoOf(IntCmpExprContext).
|
|
449
|
+
protoOf(IntCmpExprContext).p2n = function (_set____db54di) {
|
|
392
450
|
this.left$ = _set____db54di;
|
|
393
451
|
};
|
|
394
|
-
protoOf(IntCmpExprContext).
|
|
452
|
+
protoOf(IntCmpExprContext).q2n = function () {
|
|
395
453
|
return this.left$;
|
|
396
454
|
};
|
|
397
|
-
protoOf(IntCmpExprContext).
|
|
455
|
+
protoOf(IntCmpExprContext).r2n = function (_set____db54di) {
|
|
398
456
|
this.op$ = _set____db54di;
|
|
399
457
|
};
|
|
400
|
-
protoOf(IntCmpExprContext).
|
|
458
|
+
protoOf(IntCmpExprContext).s2n = function () {
|
|
401
459
|
return this.op$;
|
|
402
460
|
};
|
|
403
|
-
protoOf(IntCmpExprContext).
|
|
461
|
+
protoOf(IntCmpExprContext).t2n = function (_set____db54di) {
|
|
404
462
|
this.right$ = _set____db54di;
|
|
405
463
|
};
|
|
406
|
-
protoOf(IntCmpExprContext).
|
|
464
|
+
protoOf(IntCmpExprContext).u2n = function () {
|
|
407
465
|
return this.right$;
|
|
408
466
|
};
|
|
409
|
-
protoOf(IntCmpExprContext).
|
|
467
|
+
protoOf(IntCmpExprContext).kw = function (listener) {
|
|
410
468
|
if (isInterface(listener, StateExpressionListener)) {
|
|
411
|
-
listener.
|
|
469
|
+
listener.e2l(this);
|
|
412
470
|
}
|
|
413
471
|
};
|
|
414
|
-
protoOf(IntCmpExprContext).
|
|
472
|
+
protoOf(IntCmpExprContext).mw = function (listener) {
|
|
415
473
|
if (isInterface(listener, StateExpressionListener)) {
|
|
416
|
-
listener.
|
|
474
|
+
listener.f2l(this);
|
|
417
475
|
}
|
|
418
476
|
};
|
|
419
|
-
protoOf(IntCmpExprContext).
|
|
477
|
+
protoOf(IntCmpExprContext).kx = function (visitor) {
|
|
420
478
|
var tmp;
|
|
421
479
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
422
|
-
tmp = visitor.
|
|
480
|
+
tmp = visitor.m2j(this);
|
|
423
481
|
} else {
|
|
424
|
-
tmp = visitor.
|
|
482
|
+
tmp = visitor.tx(this);
|
|
425
483
|
}
|
|
426
484
|
return tmp;
|
|
427
485
|
};
|
|
@@ -430,96 +488,96 @@
|
|
|
430
488
|
this.op$ = null;
|
|
431
489
|
this.right$ = null;
|
|
432
490
|
}
|
|
433
|
-
protoOf(ParExprContext).
|
|
491
|
+
protoOf(ParExprContext).f2o = function (_set____db54di) {
|
|
434
492
|
this.expr$ = _set____db54di;
|
|
435
493
|
};
|
|
436
|
-
protoOf(ParExprContext).
|
|
494
|
+
protoOf(ParExprContext).g2o = function () {
|
|
437
495
|
return this.expr$;
|
|
438
496
|
};
|
|
439
|
-
protoOf(ParExprContext).
|
|
497
|
+
protoOf(ParExprContext).kw = function (listener) {
|
|
440
498
|
if (isInterface(listener, StateExpressionListener)) {
|
|
441
|
-
listener.
|
|
499
|
+
listener.g2l(this);
|
|
442
500
|
}
|
|
443
501
|
};
|
|
444
|
-
protoOf(ParExprContext).
|
|
502
|
+
protoOf(ParExprContext).mw = function (listener) {
|
|
445
503
|
if (isInterface(listener, StateExpressionListener)) {
|
|
446
|
-
listener.
|
|
504
|
+
listener.h2l(this);
|
|
447
505
|
}
|
|
448
506
|
};
|
|
449
|
-
protoOf(ParExprContext).
|
|
507
|
+
protoOf(ParExprContext).kx = function (visitor) {
|
|
450
508
|
var tmp;
|
|
451
509
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
452
|
-
tmp = visitor.
|
|
510
|
+
tmp = visitor.n2j(this);
|
|
453
511
|
} else {
|
|
454
|
-
tmp = visitor.
|
|
512
|
+
tmp = visitor.tx(this);
|
|
455
513
|
}
|
|
456
514
|
return tmp;
|
|
457
515
|
};
|
|
458
516
|
function ParExprContext() {
|
|
459
517
|
this.expr$ = null;
|
|
460
518
|
}
|
|
461
|
-
protoOf(BooleanAtomContext).
|
|
519
|
+
protoOf(BooleanAtomContext).r2o = function (_set____db54di) {
|
|
462
520
|
this.atom$ = _set____db54di;
|
|
463
521
|
};
|
|
464
|
-
protoOf(BooleanAtomContext).
|
|
522
|
+
protoOf(BooleanAtomContext).s2o = function () {
|
|
465
523
|
return this.atom$;
|
|
466
524
|
};
|
|
467
|
-
protoOf(BooleanAtomContext).
|
|
525
|
+
protoOf(BooleanAtomContext).kw = function (listener) {
|
|
468
526
|
if (isInterface(listener, StateExpressionListener)) {
|
|
469
|
-
listener.
|
|
527
|
+
listener.i2l(this);
|
|
470
528
|
}
|
|
471
529
|
};
|
|
472
|
-
protoOf(BooleanAtomContext).
|
|
530
|
+
protoOf(BooleanAtomContext).mw = function (listener) {
|
|
473
531
|
if (isInterface(listener, StateExpressionListener)) {
|
|
474
|
-
listener.
|
|
532
|
+
listener.j2l(this);
|
|
475
533
|
}
|
|
476
534
|
};
|
|
477
|
-
protoOf(BooleanAtomContext).
|
|
535
|
+
protoOf(BooleanAtomContext).kx = function (visitor) {
|
|
478
536
|
var tmp;
|
|
479
537
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
480
|
-
tmp = visitor.
|
|
538
|
+
tmp = visitor.o2j(this);
|
|
481
539
|
} else {
|
|
482
|
-
tmp = visitor.
|
|
540
|
+
tmp = visitor.tx(this);
|
|
483
541
|
}
|
|
484
542
|
return tmp;
|
|
485
543
|
};
|
|
486
544
|
function BooleanAtomContext() {
|
|
487
545
|
this.atom$ = null;
|
|
488
546
|
}
|
|
489
|
-
protoOf(EqExprContext).
|
|
547
|
+
protoOf(EqExprContext).d2p = function (_set____db54di) {
|
|
490
548
|
this.varName$ = _set____db54di;
|
|
491
549
|
};
|
|
492
|
-
protoOf(EqExprContext).
|
|
550
|
+
protoOf(EqExprContext).e2p = function () {
|
|
493
551
|
return this.varName$;
|
|
494
552
|
};
|
|
495
|
-
protoOf(EqExprContext).
|
|
553
|
+
protoOf(EqExprContext).r2n = function (_set____db54di) {
|
|
496
554
|
this.op$ = _set____db54di;
|
|
497
555
|
};
|
|
498
|
-
protoOf(EqExprContext).
|
|
556
|
+
protoOf(EqExprContext).s2n = function () {
|
|
499
557
|
return this.op$;
|
|
500
558
|
};
|
|
501
|
-
protoOf(EqExprContext).
|
|
559
|
+
protoOf(EqExprContext).f2p = function (_set____db54di) {
|
|
502
560
|
this.value$ = _set____db54di;
|
|
503
561
|
};
|
|
504
|
-
protoOf(EqExprContext).
|
|
562
|
+
protoOf(EqExprContext).g2p = function () {
|
|
505
563
|
return this.value$;
|
|
506
564
|
};
|
|
507
|
-
protoOf(EqExprContext).
|
|
565
|
+
protoOf(EqExprContext).kw = function (listener) {
|
|
508
566
|
if (isInterface(listener, StateExpressionListener)) {
|
|
509
|
-
listener.
|
|
567
|
+
listener.k2l(this);
|
|
510
568
|
}
|
|
511
569
|
};
|
|
512
|
-
protoOf(EqExprContext).
|
|
570
|
+
protoOf(EqExprContext).mw = function (listener) {
|
|
513
571
|
if (isInterface(listener, StateExpressionListener)) {
|
|
514
|
-
listener.
|
|
572
|
+
listener.l2l(this);
|
|
515
573
|
}
|
|
516
574
|
};
|
|
517
|
-
protoOf(EqExprContext).
|
|
575
|
+
protoOf(EqExprContext).kx = function (visitor) {
|
|
518
576
|
var tmp;
|
|
519
577
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
520
|
-
tmp = visitor.
|
|
578
|
+
tmp = visitor.p2j(this);
|
|
521
579
|
} else {
|
|
522
|
-
tmp = visitor.
|
|
580
|
+
tmp = visitor.tx(this);
|
|
523
581
|
}
|
|
524
582
|
return tmp;
|
|
525
583
|
};
|
|
@@ -528,90 +586,90 @@
|
|
|
528
586
|
this.op$ = null;
|
|
529
587
|
this.value$ = null;
|
|
530
588
|
}
|
|
531
|
-
protoOf(NotExprContext).
|
|
589
|
+
protoOf(NotExprContext).f2o = function (_set____db54di) {
|
|
532
590
|
this.expr$ = _set____db54di;
|
|
533
591
|
};
|
|
534
|
-
protoOf(NotExprContext).
|
|
592
|
+
protoOf(NotExprContext).g2o = function () {
|
|
535
593
|
return this.expr$;
|
|
536
594
|
};
|
|
537
|
-
protoOf(NotExprContext).
|
|
595
|
+
protoOf(NotExprContext).kw = function (listener) {
|
|
538
596
|
if (isInterface(listener, StateExpressionListener)) {
|
|
539
|
-
listener.
|
|
597
|
+
listener.m2l(this);
|
|
540
598
|
}
|
|
541
599
|
};
|
|
542
|
-
protoOf(NotExprContext).
|
|
600
|
+
protoOf(NotExprContext).mw = function (listener) {
|
|
543
601
|
if (isInterface(listener, StateExpressionListener)) {
|
|
544
|
-
listener.
|
|
602
|
+
listener.n2l(this);
|
|
545
603
|
}
|
|
546
604
|
};
|
|
547
|
-
protoOf(NotExprContext).
|
|
605
|
+
protoOf(NotExprContext).kx = function (visitor) {
|
|
548
606
|
var tmp;
|
|
549
607
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
550
|
-
tmp = visitor.
|
|
608
|
+
tmp = visitor.q2j(this);
|
|
551
609
|
} else {
|
|
552
|
-
tmp = visitor.
|
|
610
|
+
tmp = visitor.tx(this);
|
|
553
611
|
}
|
|
554
612
|
return tmp;
|
|
555
613
|
};
|
|
556
614
|
function NotExprContext() {
|
|
557
615
|
this.expr$ = null;
|
|
558
616
|
}
|
|
559
|
-
protoOf(IsSetFuncContext).
|
|
617
|
+
protoOf(IsSetFuncContext).d2p = function (_set____db54di) {
|
|
560
618
|
this.varName$ = _set____db54di;
|
|
561
619
|
};
|
|
562
|
-
protoOf(IsSetFuncContext).
|
|
620
|
+
protoOf(IsSetFuncContext).e2p = function () {
|
|
563
621
|
return this.varName$;
|
|
564
622
|
};
|
|
565
|
-
protoOf(IsSetFuncContext).
|
|
623
|
+
protoOf(IsSetFuncContext).kw = function (listener) {
|
|
566
624
|
if (isInterface(listener, StateExpressionListener)) {
|
|
567
|
-
listener.
|
|
625
|
+
listener.o2l(this);
|
|
568
626
|
}
|
|
569
627
|
};
|
|
570
|
-
protoOf(IsSetFuncContext).
|
|
628
|
+
protoOf(IsSetFuncContext).mw = function (listener) {
|
|
571
629
|
if (isInterface(listener, StateExpressionListener)) {
|
|
572
|
-
listener.
|
|
630
|
+
listener.p2l(this);
|
|
573
631
|
}
|
|
574
632
|
};
|
|
575
|
-
protoOf(IsSetFuncContext).
|
|
633
|
+
protoOf(IsSetFuncContext).kx = function (visitor) {
|
|
576
634
|
var tmp;
|
|
577
635
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
578
|
-
tmp = visitor.
|
|
636
|
+
tmp = visitor.r2j(this);
|
|
579
637
|
} else {
|
|
580
|
-
tmp = visitor.
|
|
638
|
+
tmp = visitor.tx(this);
|
|
581
639
|
}
|
|
582
640
|
return tmp;
|
|
583
641
|
};
|
|
584
642
|
function IsSetFuncContext() {
|
|
585
643
|
this.varName$ = null;
|
|
586
644
|
}
|
|
587
|
-
protoOf(OrExprContext).
|
|
645
|
+
protoOf(OrExprContext).l2q = function (_set____db54di) {
|
|
588
646
|
this.left$ = _set____db54di;
|
|
589
647
|
};
|
|
590
|
-
protoOf(OrExprContext).
|
|
648
|
+
protoOf(OrExprContext).q2n = function () {
|
|
591
649
|
return this.left$;
|
|
592
650
|
};
|
|
593
|
-
protoOf(OrExprContext).
|
|
651
|
+
protoOf(OrExprContext).m2q = function (_set____db54di) {
|
|
594
652
|
this.right$ = _set____db54di;
|
|
595
653
|
};
|
|
596
|
-
protoOf(OrExprContext).
|
|
654
|
+
protoOf(OrExprContext).u2n = function () {
|
|
597
655
|
return this.right$;
|
|
598
656
|
};
|
|
599
|
-
protoOf(OrExprContext).
|
|
657
|
+
protoOf(OrExprContext).kw = function (listener) {
|
|
600
658
|
if (isInterface(listener, StateExpressionListener)) {
|
|
601
|
-
listener.
|
|
659
|
+
listener.q2l(this);
|
|
602
660
|
}
|
|
603
661
|
};
|
|
604
|
-
protoOf(OrExprContext).
|
|
662
|
+
protoOf(OrExprContext).mw = function (listener) {
|
|
605
663
|
if (isInterface(listener, StateExpressionListener)) {
|
|
606
|
-
listener.
|
|
664
|
+
listener.r2l(this);
|
|
607
665
|
}
|
|
608
666
|
};
|
|
609
|
-
protoOf(OrExprContext).
|
|
667
|
+
protoOf(OrExprContext).kx = function (visitor) {
|
|
610
668
|
var tmp;
|
|
611
669
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
612
|
-
tmp = visitor.
|
|
670
|
+
tmp = visitor.s2j(this);
|
|
613
671
|
} else {
|
|
614
|
-
tmp = visitor.
|
|
672
|
+
tmp = visitor.tx(this);
|
|
615
673
|
}
|
|
616
674
|
return tmp;
|
|
617
675
|
};
|
|
@@ -619,34 +677,34 @@
|
|
|
619
677
|
this.left$ = null;
|
|
620
678
|
this.right$ = null;
|
|
621
679
|
}
|
|
622
|
-
protoOf(AndExprContext).
|
|
680
|
+
protoOf(AndExprContext).l2q = function (_set____db54di) {
|
|
623
681
|
this.left$ = _set____db54di;
|
|
624
682
|
};
|
|
625
|
-
protoOf(AndExprContext).
|
|
683
|
+
protoOf(AndExprContext).q2n = function () {
|
|
626
684
|
return this.left$;
|
|
627
685
|
};
|
|
628
|
-
protoOf(AndExprContext).
|
|
686
|
+
protoOf(AndExprContext).m2q = function (_set____db54di) {
|
|
629
687
|
this.right$ = _set____db54di;
|
|
630
688
|
};
|
|
631
|
-
protoOf(AndExprContext).
|
|
689
|
+
protoOf(AndExprContext).u2n = function () {
|
|
632
690
|
return this.right$;
|
|
633
691
|
};
|
|
634
|
-
protoOf(AndExprContext).
|
|
692
|
+
protoOf(AndExprContext).kw = function (listener) {
|
|
635
693
|
if (isInterface(listener, StateExpressionListener)) {
|
|
636
|
-
listener.
|
|
694
|
+
listener.s2l(this);
|
|
637
695
|
}
|
|
638
696
|
};
|
|
639
|
-
protoOf(AndExprContext).
|
|
697
|
+
protoOf(AndExprContext).mw = function (listener) {
|
|
640
698
|
if (isInterface(listener, StateExpressionListener)) {
|
|
641
|
-
listener.
|
|
699
|
+
listener.t2l(this);
|
|
642
700
|
}
|
|
643
701
|
};
|
|
644
|
-
protoOf(AndExprContext).
|
|
702
|
+
protoOf(AndExprContext).kx = function (visitor) {
|
|
645
703
|
var tmp;
|
|
646
704
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
647
|
-
tmp = visitor.
|
|
705
|
+
tmp = visitor.t2j(this);
|
|
648
706
|
} else {
|
|
649
|
-
tmp = visitor.
|
|
707
|
+
tmp = visitor.tx(this);
|
|
650
708
|
}
|
|
651
709
|
return tmp;
|
|
652
710
|
};
|
|
@@ -655,276 +713,276 @@
|
|
|
655
713
|
this.right$ = null;
|
|
656
714
|
}
|
|
657
715
|
function booleanExpr($this, _p) {
|
|
658
|
-
var _parentctx = $this.
|
|
659
|
-
var _parentState = $this.
|
|
660
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
716
|
+
var _parentctx = $this.al_1;
|
|
717
|
+
var _parentState = $this.dp_1;
|
|
718
|
+
var _localctx = BooleanExprContext_init_$Create$($this.al_1, _parentState);
|
|
661
719
|
var _prevctx = _localctx;
|
|
662
720
|
var _startState = 0;
|
|
663
721
|
var _token;
|
|
664
722
|
var _ctx;
|
|
665
|
-
$this.
|
|
723
|
+
$this.zw(_localctx, 0, 0, _p);
|
|
666
724
|
var _la;
|
|
667
725
|
try {
|
|
668
726
|
var _alt;
|
|
669
|
-
$this.
|
|
670
|
-
$this.
|
|
671
|
-
$this.
|
|
672
|
-
switch ($this.
|
|
727
|
+
$this.ww(_localctx, 1);
|
|
728
|
+
$this.dp_1 = 22;
|
|
729
|
+
$this.xk_1.rl($this);
|
|
730
|
+
switch ($this.mq().e1c($this.yk_1, 0, $this.al_1)) {
|
|
673
731
|
case 1:
|
|
674
732
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
675
|
-
$this.
|
|
733
|
+
$this.al_1 = _localctx;
|
|
676
734
|
_prevctx = _localctx;
|
|
677
|
-
$this.
|
|
678
|
-
$this.
|
|
679
|
-
$this.
|
|
735
|
+
$this.dp_1 = 5;
|
|
736
|
+
$this.fw(10);
|
|
737
|
+
$this.dp_1 = 6;
|
|
680
738
|
_ctx = booleanExpr($this, 0);
|
|
681
739
|
_localctx.expr$ = _ctx;
|
|
682
|
-
$this.
|
|
683
|
-
$this.
|
|
740
|
+
$this.dp_1 = 7;
|
|
741
|
+
$this.fw(11);
|
|
684
742
|
break;
|
|
685
743
|
case 2:
|
|
686
744
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
687
|
-
$this.
|
|
745
|
+
$this.al_1 = _localctx;
|
|
688
746
|
_prevctx = _localctx;
|
|
689
|
-
$this.
|
|
690
|
-
$this.
|
|
691
|
-
$this.
|
|
747
|
+
$this.dp_1 = 9;
|
|
748
|
+
$this.fw(5);
|
|
749
|
+
$this.dp_1 = 10;
|
|
692
750
|
_ctx = booleanExpr($this, 7);
|
|
693
751
|
_localctx.expr$ = _ctx;
|
|
694
752
|
break;
|
|
695
753
|
case 3:
|
|
696
754
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
697
|
-
$this.
|
|
755
|
+
$this.al_1 = _localctx;
|
|
698
756
|
_prevctx = _localctx;
|
|
699
|
-
$this.
|
|
700
|
-
$this.
|
|
701
|
-
$this.
|
|
702
|
-
_token = $this.
|
|
757
|
+
$this.dp_1 = 11;
|
|
758
|
+
$this.fw(14);
|
|
759
|
+
$this.dp_1 = 12;
|
|
760
|
+
_token = $this.fw(18);
|
|
703
761
|
_localctx.varName$ = _token;
|
|
704
|
-
$this.
|
|
705
|
-
$this.
|
|
762
|
+
$this.dp_1 = 13;
|
|
763
|
+
$this.fw(11);
|
|
706
764
|
break;
|
|
707
765
|
case 4:
|
|
708
766
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
709
|
-
$this.
|
|
767
|
+
$this.al_1 = _localctx;
|
|
710
768
|
_prevctx = _localctx;
|
|
711
|
-
$this.
|
|
712
|
-
_token = $this.
|
|
769
|
+
$this.dp_1 = 14;
|
|
770
|
+
_token = $this.fw(18);
|
|
713
771
|
_localctx.varName$ = _token;
|
|
714
|
-
$this.
|
|
715
|
-
_token = $this.
|
|
772
|
+
$this.dp_1 = 15;
|
|
773
|
+
_token = $this.yk_1.pn(1);
|
|
716
774
|
_localctx.op$ = _token;
|
|
717
|
-
_la = $this.
|
|
775
|
+
_la = $this.yk_1.jn(1);
|
|
718
776
|
if (!(_la === 1 || _la === 2)) {
|
|
719
|
-
_token = $this.
|
|
777
|
+
_token = $this.xk_1.ql($this);
|
|
720
778
|
_localctx.op$ = _token;
|
|
721
779
|
} else {
|
|
722
|
-
if ($this.
|
|
723
|
-
$this.
|
|
780
|
+
if ($this.yk_1.jn(1) === -1) {
|
|
781
|
+
$this.fl_1 = true;
|
|
724
782
|
}
|
|
725
|
-
$this.
|
|
726
|
-
$this.
|
|
783
|
+
$this.xk_1.bm($this);
|
|
784
|
+
$this.vp();
|
|
727
785
|
}
|
|
728
786
|
|
|
729
|
-
$this.
|
|
730
|
-
_token = $this.
|
|
787
|
+
$this.dp_1 = 16;
|
|
788
|
+
_token = $this.fw(17);
|
|
731
789
|
_localctx.value$ = _token;
|
|
732
790
|
break;
|
|
733
791
|
case 5:
|
|
734
792
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
735
|
-
$this.
|
|
793
|
+
$this.al_1 = _localctx;
|
|
736
794
|
_prevctx = _localctx;
|
|
737
|
-
$this.
|
|
738
|
-
_ctx = $this.
|
|
795
|
+
$this.dp_1 = 17;
|
|
796
|
+
_ctx = $this.q2r();
|
|
739
797
|
_localctx.left$ = _ctx;
|
|
740
|
-
$this.
|
|
741
|
-
_token = $this.
|
|
798
|
+
$this.dp_1 = 18;
|
|
799
|
+
_token = $this.yk_1.pn(1);
|
|
742
800
|
_localctx.op$ = _token;
|
|
743
|
-
_la = $this.
|
|
801
|
+
_la = $this.yk_1.jn(1);
|
|
744
802
|
if (!((_la & -64) === 0 && !(new Long(1, 0)).m2(_la).p2(new Long(966, 0)).equals(new Long(0, 0)))) {
|
|
745
|
-
_token = $this.
|
|
803
|
+
_token = $this.xk_1.ql($this);
|
|
746
804
|
_localctx.op$ = _token;
|
|
747
805
|
} else {
|
|
748
|
-
if ($this.
|
|
749
|
-
$this.
|
|
806
|
+
if ($this.yk_1.jn(1) === -1) {
|
|
807
|
+
$this.fl_1 = true;
|
|
750
808
|
}
|
|
751
|
-
$this.
|
|
752
|
-
$this.
|
|
809
|
+
$this.xk_1.bm($this);
|
|
810
|
+
$this.vp();
|
|
753
811
|
}
|
|
754
812
|
|
|
755
|
-
$this.
|
|
756
|
-
_ctx = $this.
|
|
813
|
+
$this.dp_1 = 19;
|
|
814
|
+
_ctx = $this.q2r();
|
|
757
815
|
_localctx.right$ = _ctx;
|
|
758
816
|
break;
|
|
759
817
|
case 6:
|
|
760
818
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
761
|
-
$this.
|
|
819
|
+
$this.al_1 = _localctx;
|
|
762
820
|
_prevctx = _localctx;
|
|
763
|
-
$this.
|
|
764
|
-
_token = $this.
|
|
821
|
+
$this.dp_1 = 21;
|
|
822
|
+
_token = $this.yk_1.pn(1);
|
|
765
823
|
_localctx.atom$ = _token;
|
|
766
|
-
_la = $this.
|
|
824
|
+
_la = $this.yk_1.jn(1);
|
|
767
825
|
if (!(_la === 12 || _la === 13)) {
|
|
768
|
-
_token = $this.
|
|
826
|
+
_token = $this.xk_1.ql($this);
|
|
769
827
|
_localctx.atom$ = _token;
|
|
770
828
|
} else {
|
|
771
|
-
if ($this.
|
|
772
|
-
$this.
|
|
829
|
+
if ($this.yk_1.jn(1) === -1) {
|
|
830
|
+
$this.fl_1 = true;
|
|
773
831
|
}
|
|
774
|
-
$this.
|
|
775
|
-
$this.
|
|
832
|
+
$this.xk_1.bm($this);
|
|
833
|
+
$this.vp();
|
|
776
834
|
}
|
|
777
835
|
|
|
778
836
|
break;
|
|
779
837
|
}
|
|
780
|
-
ensureNotNull($this.
|
|
781
|
-
$this.
|
|
782
|
-
$this.
|
|
783
|
-
_alt = $this.
|
|
838
|
+
ensureNotNull($this.al_1).nl_1 = $this.yk_1.pn(-1);
|
|
839
|
+
$this.dp_1 = 32;
|
|
840
|
+
$this.xk_1.rl($this);
|
|
841
|
+
_alt = $this.mq().e1c($this.yk_1, 2, $this.al_1);
|
|
784
842
|
while (!(_alt === 2) && !(_alt === 0)) {
|
|
785
843
|
if (_alt === 1) {
|
|
786
844
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
787
|
-
if (!$this.
|
|
788
|
-
$this.
|
|
845
|
+
if (!$this.dl_1.p()) {
|
|
846
|
+
$this.lw();
|
|
789
847
|
}
|
|
790
848
|
_prevctx = _localctx;
|
|
791
|
-
$this.
|
|
792
|
-
$this.
|
|
793
|
-
var tmp1_subject = $this.
|
|
849
|
+
$this.dp_1 = 30;
|
|
850
|
+
$this.xk_1.rl($this);
|
|
851
|
+
var tmp1_subject = $this.mq().e1c($this.yk_1, 1, $this.al_1);
|
|
794
852
|
if (tmp1_subject === 1) {
|
|
795
853
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
796
854
|
_localctx.left$ = _prevctx;
|
|
797
|
-
$this.
|
|
798
|
-
$this.
|
|
799
|
-
if (!$this.
|
|
855
|
+
$this.ax(_localctx, _startState, 0);
|
|
856
|
+
$this.dp_1 = 24;
|
|
857
|
+
if (!$this.fv(ensureNotNull($this.al_1), 6)) {
|
|
800
858
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
801
859
|
}
|
|
802
|
-
$this.
|
|
803
|
-
$this.
|
|
804
|
-
$this.
|
|
860
|
+
$this.dp_1 = 25;
|
|
861
|
+
$this.fw(3);
|
|
862
|
+
$this.dp_1 = 26;
|
|
805
863
|
_ctx = booleanExpr($this, 7);
|
|
806
864
|
_localctx.right$ = _ctx;
|
|
807
865
|
} else if (tmp1_subject === 2) {
|
|
808
866
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
809
867
|
_localctx.left$ = _prevctx;
|
|
810
|
-
$this.
|
|
811
|
-
$this.
|
|
812
|
-
if (!$this.
|
|
868
|
+
$this.ax(_localctx, _startState, 0);
|
|
869
|
+
$this.dp_1 = 27;
|
|
870
|
+
if (!$this.fv(ensureNotNull($this.al_1), 5)) {
|
|
813
871
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
814
872
|
}
|
|
815
|
-
$this.
|
|
816
|
-
$this.
|
|
817
|
-
$this.
|
|
873
|
+
$this.dp_1 = 28;
|
|
874
|
+
$this.fw(4);
|
|
875
|
+
$this.dp_1 = 29;
|
|
818
876
|
_ctx = booleanExpr($this, 6);
|
|
819
877
|
_localctx.right$ = _ctx;
|
|
820
878
|
}
|
|
821
879
|
}
|
|
822
|
-
$this.
|
|
823
|
-
$this.
|
|
824
|
-
_alt = $this.
|
|
880
|
+
$this.dp_1 = 34;
|
|
881
|
+
$this.xk_1.rl($this);
|
|
882
|
+
_alt = $this.mq().e1c($this.yk_1, 2, $this.al_1);
|
|
825
883
|
}
|
|
826
884
|
} catch ($p) {
|
|
827
885
|
if ($p instanceof RecognitionException) {
|
|
828
886
|
var re = $p;
|
|
829
|
-
_localctx.
|
|
830
|
-
$this.
|
|
831
|
-
$this.
|
|
887
|
+
_localctx.ol_1 = re;
|
|
888
|
+
$this.xk_1.cm($this, re);
|
|
889
|
+
$this.xk_1.tk($this, re);
|
|
832
890
|
} else {
|
|
833
891
|
throw $p;
|
|
834
892
|
}
|
|
835
893
|
}
|
|
836
894
|
finally {
|
|
837
|
-
$this.
|
|
895
|
+
$this.cx(_parentctx);
|
|
838
896
|
}
|
|
839
897
|
return _localctx;
|
|
840
898
|
}
|
|
841
|
-
protoOf(IntExprContext).
|
|
842
|
-
return this.
|
|
899
|
+
protoOf(IntExprContext).nr = function () {
|
|
900
|
+
return this.u2m_1;
|
|
843
901
|
};
|
|
844
|
-
protoOf(IntExprContext).
|
|
845
|
-
protoOf(ParserRuleContext).
|
|
902
|
+
protoOf(IntExprContext).v2m = function (ctx) {
|
|
903
|
+
protoOf(ParserRuleContext).hx.call(this, ctx);
|
|
846
904
|
};
|
|
847
905
|
function IntExprContext() {
|
|
848
|
-
this.
|
|
906
|
+
this.u2m_1 = 1;
|
|
849
907
|
}
|
|
850
|
-
protoOf(IntAtomContext).
|
|
908
|
+
protoOf(IntAtomContext).f2p = function (_set____db54di) {
|
|
851
909
|
this.value$ = _set____db54di;
|
|
852
910
|
};
|
|
853
|
-
protoOf(IntAtomContext).
|
|
911
|
+
protoOf(IntAtomContext).g2p = function () {
|
|
854
912
|
return this.value$;
|
|
855
913
|
};
|
|
856
|
-
protoOf(IntAtomContext).
|
|
914
|
+
protoOf(IntAtomContext).kw = function (listener) {
|
|
857
915
|
if (isInterface(listener, StateExpressionListener)) {
|
|
858
|
-
listener.
|
|
916
|
+
listener.y2l(this);
|
|
859
917
|
}
|
|
860
918
|
};
|
|
861
|
-
protoOf(IntAtomContext).
|
|
919
|
+
protoOf(IntAtomContext).mw = function (listener) {
|
|
862
920
|
if (isInterface(listener, StateExpressionListener)) {
|
|
863
|
-
listener.
|
|
921
|
+
listener.z2l(this);
|
|
864
922
|
}
|
|
865
923
|
};
|
|
866
|
-
protoOf(IntAtomContext).
|
|
924
|
+
protoOf(IntAtomContext).kx = function (visitor) {
|
|
867
925
|
var tmp;
|
|
868
926
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
869
|
-
tmp = visitor.
|
|
927
|
+
tmp = visitor.w2j(this);
|
|
870
928
|
} else {
|
|
871
|
-
tmp = visitor.
|
|
929
|
+
tmp = visitor.tx(this);
|
|
872
930
|
}
|
|
873
931
|
return tmp;
|
|
874
932
|
};
|
|
875
933
|
function IntAtomContext() {
|
|
876
934
|
this.value$ = null;
|
|
877
935
|
}
|
|
878
|
-
protoOf(ParIntExprContext).
|
|
936
|
+
protoOf(ParIntExprContext).l2s = function (_set____db54di) {
|
|
879
937
|
this.expr$ = _set____db54di;
|
|
880
938
|
};
|
|
881
|
-
protoOf(ParIntExprContext).
|
|
939
|
+
protoOf(ParIntExprContext).g2o = function () {
|
|
882
940
|
return this.expr$;
|
|
883
941
|
};
|
|
884
|
-
protoOf(ParIntExprContext).
|
|
942
|
+
protoOf(ParIntExprContext).kw = function (listener) {
|
|
885
943
|
if (isInterface(listener, StateExpressionListener)) {
|
|
886
|
-
listener.
|
|
944
|
+
listener.u2l(this);
|
|
887
945
|
}
|
|
888
946
|
};
|
|
889
|
-
protoOf(ParIntExprContext).
|
|
947
|
+
protoOf(ParIntExprContext).mw = function (listener) {
|
|
890
948
|
if (isInterface(listener, StateExpressionListener)) {
|
|
891
|
-
listener.
|
|
949
|
+
listener.v2l(this);
|
|
892
950
|
}
|
|
893
951
|
};
|
|
894
|
-
protoOf(ParIntExprContext).
|
|
952
|
+
protoOf(ParIntExprContext).kx = function (visitor) {
|
|
895
953
|
var tmp;
|
|
896
954
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
897
|
-
tmp = visitor.
|
|
955
|
+
tmp = visitor.u2j(this);
|
|
898
956
|
} else {
|
|
899
|
-
tmp = visitor.
|
|
957
|
+
tmp = visitor.tx(this);
|
|
900
958
|
}
|
|
901
959
|
return tmp;
|
|
902
960
|
};
|
|
903
961
|
function ParIntExprContext() {
|
|
904
962
|
this.expr$ = null;
|
|
905
963
|
}
|
|
906
|
-
protoOf(ValuesFuncContext).
|
|
964
|
+
protoOf(ValuesFuncContext).d2p = function (_set____db54di) {
|
|
907
965
|
this.varName$ = _set____db54di;
|
|
908
966
|
};
|
|
909
|
-
protoOf(ValuesFuncContext).
|
|
967
|
+
protoOf(ValuesFuncContext).e2p = function () {
|
|
910
968
|
return this.varName$;
|
|
911
969
|
};
|
|
912
|
-
protoOf(ValuesFuncContext).
|
|
970
|
+
protoOf(ValuesFuncContext).kw = function (listener) {
|
|
913
971
|
if (isInterface(listener, StateExpressionListener)) {
|
|
914
|
-
listener.
|
|
972
|
+
listener.w2l(this);
|
|
915
973
|
}
|
|
916
974
|
};
|
|
917
|
-
protoOf(ValuesFuncContext).
|
|
975
|
+
protoOf(ValuesFuncContext).mw = function (listener) {
|
|
918
976
|
if (isInterface(listener, StateExpressionListener)) {
|
|
919
|
-
listener.
|
|
977
|
+
listener.x2l(this);
|
|
920
978
|
}
|
|
921
979
|
};
|
|
922
|
-
protoOf(ValuesFuncContext).
|
|
980
|
+
protoOf(ValuesFuncContext).kx = function (visitor) {
|
|
923
981
|
var tmp;
|
|
924
982
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
925
|
-
tmp = visitor.
|
|
983
|
+
tmp = visitor.v2j(this);
|
|
926
984
|
} else {
|
|
927
|
-
tmp = visitor.
|
|
985
|
+
tmp = visitor.tx(this);
|
|
928
986
|
}
|
|
929
987
|
return tmp;
|
|
930
988
|
};
|
|
@@ -933,76 +991,76 @@
|
|
|
933
991
|
}
|
|
934
992
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
935
993
|
if (predIndex === 0)
|
|
936
|
-
return $this.
|
|
994
|
+
return $this.fv(ensureNotNull($this.al_1), 6);
|
|
937
995
|
else if (predIndex === 1)
|
|
938
|
-
return $this.
|
|
996
|
+
return $this.fv(ensureNotNull($this.al_1), 5);
|
|
939
997
|
return true;
|
|
940
998
|
}
|
|
941
999
|
function StateExpressionParser(input) {
|
|
942
1000
|
Companion_getInstance_0();
|
|
943
1001
|
Parser.call(this, input);
|
|
944
|
-
this.
|
|
945
|
-
this.
|
|
946
|
-
this.
|
|
947
|
-
this.
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
1002
|
+
this.j2r_1 = new ParserATNSimulator(this, Companion_getInstance_0().x2m_1, Companion_getInstance_0().y2m_1, Companion_getInstance_0().z2m_1);
|
|
1003
|
+
this.k2r_1 = 'StateExpression.g4';
|
|
1004
|
+
this.l2r_1 = Companion_getInstance_0().e2n_1;
|
|
1005
|
+
this.m2r_1 = Companion_getInstance_0().a2n_1;
|
|
1006
|
+
this.n2r_1 = Companion_getInstance_0().x2m_1;
|
|
1007
|
+
this.o2r_1 = Companion_getInstance_0().d2n_1;
|
|
1008
|
+
this.p2r_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
951
1009
|
}
|
|
952
|
-
protoOf(StateExpressionParser).
|
|
953
|
-
return this.
|
|
1010
|
+
protoOf(StateExpressionParser).mq = function () {
|
|
1011
|
+
return this.j2r_1;
|
|
954
1012
|
};
|
|
955
|
-
protoOf(StateExpressionParser).
|
|
956
|
-
return this.
|
|
1013
|
+
protoOf(StateExpressionParser).fu = function () {
|
|
1014
|
+
return this.l2r_1;
|
|
957
1015
|
};
|
|
958
|
-
protoOf(StateExpressionParser).
|
|
959
|
-
return this.
|
|
1016
|
+
protoOf(StateExpressionParser).hr = function () {
|
|
1017
|
+
return this.m2r_1;
|
|
960
1018
|
};
|
|
961
|
-
protoOf(StateExpressionParser).
|
|
962
|
-
return this.
|
|
1019
|
+
protoOf(StateExpressionParser).nq = function () {
|
|
1020
|
+
return this.n2r_1;
|
|
963
1021
|
};
|
|
964
|
-
protoOf(StateExpressionParser).
|
|
965
|
-
return this.
|
|
1022
|
+
protoOf(StateExpressionParser).ep = function () {
|
|
1023
|
+
return this.o2r_1;
|
|
966
1024
|
};
|
|
967
|
-
protoOf(StateExpressionParser).
|
|
1025
|
+
protoOf(StateExpressionParser).w2s = function () {
|
|
968
1026
|
return booleanExpr(this, 0);
|
|
969
1027
|
};
|
|
970
|
-
protoOf(StateExpressionParser).
|
|
971
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1028
|
+
protoOf(StateExpressionParser).q2r = function () {
|
|
1029
|
+
var _localctx = IntExprContext_init_$Create$(this.al_1, this.dp_1);
|
|
972
1030
|
var _token;
|
|
973
1031
|
var _ctx;
|
|
974
|
-
this.
|
|
1032
|
+
this.uw(_localctx, 2, 1);
|
|
975
1033
|
try {
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
978
|
-
switch (this.
|
|
1034
|
+
this.dp_1 = 43;
|
|
1035
|
+
this.xk_1.rl(this);
|
|
1036
|
+
switch (this.yk_1.jn(1)) {
|
|
979
1037
|
case 10:
|
|
980
1038
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
981
|
-
this.
|
|
982
|
-
this.
|
|
983
|
-
this.
|
|
984
|
-
this.
|
|
985
|
-
_ctx = this.
|
|
1039
|
+
this.ww(_localctx, 1);
|
|
1040
|
+
this.dp_1 = 35;
|
|
1041
|
+
this.fw(10);
|
|
1042
|
+
this.dp_1 = 36;
|
|
1043
|
+
_ctx = this.q2r();
|
|
986
1044
|
_localctx.expr$ = _ctx;
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
1045
|
+
this.dp_1 = 37;
|
|
1046
|
+
this.fw(11);
|
|
989
1047
|
break;
|
|
990
1048
|
case 15:
|
|
991
1049
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
992
|
-
this.
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
996
|
-
_token = this.
|
|
1050
|
+
this.ww(_localctx, 2);
|
|
1051
|
+
this.dp_1 = 39;
|
|
1052
|
+
this.fw(15);
|
|
1053
|
+
this.dp_1 = 40;
|
|
1054
|
+
_token = this.fw(18);
|
|
997
1055
|
_localctx.varName$ = _token;
|
|
998
|
-
this.
|
|
999
|
-
this.
|
|
1056
|
+
this.dp_1 = 41;
|
|
1057
|
+
this.fw(11);
|
|
1000
1058
|
break;
|
|
1001
1059
|
case 16:
|
|
1002
1060
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1005
|
-
_token = this.
|
|
1061
|
+
this.ww(_localctx, 3);
|
|
1062
|
+
this.dp_1 = 42;
|
|
1063
|
+
_token = this.fw(16);
|
|
1006
1064
|
_localctx.value$ = _token;
|
|
1007
1065
|
break;
|
|
1008
1066
|
default:
|
|
@@ -1011,19 +1069,19 @@
|
|
|
1011
1069
|
} catch ($p) {
|
|
1012
1070
|
if ($p instanceof RecognitionException) {
|
|
1013
1071
|
var re = $p;
|
|
1014
|
-
_localctx.
|
|
1015
|
-
this.
|
|
1016
|
-
this.
|
|
1072
|
+
_localctx.ol_1 = re;
|
|
1073
|
+
this.xk_1.cm(this, re);
|
|
1074
|
+
this.xk_1.tk(this, re);
|
|
1017
1075
|
} else {
|
|
1018
1076
|
throw $p;
|
|
1019
1077
|
}
|
|
1020
1078
|
}
|
|
1021
1079
|
finally {
|
|
1022
|
-
this.
|
|
1080
|
+
this.vw();
|
|
1023
1081
|
}
|
|
1024
1082
|
return _localctx;
|
|
1025
1083
|
};
|
|
1026
|
-
protoOf(StateExpressionParser).
|
|
1084
|
+
protoOf(StateExpressionParser).ev = function (_localctx, ruleIndex, predIndex) {
|
|
1027
1085
|
if (ruleIndex === 0) {
|
|
1028
1086
|
return booleanExpr_sempred(this, (_localctx == null ? true : _localctx instanceof BooleanExprContext) ? _localctx : THROW_CCE(), predIndex);
|
|
1029
1087
|
}
|
|
@@ -1032,15 +1090,15 @@
|
|
|
1032
1090
|
function StateExpressionVisitor() {
|
|
1033
1091
|
}
|
|
1034
1092
|
function Expression(expr, raw) {
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1093
|
+
this.x2s_1 = expr;
|
|
1094
|
+
this.y2s_1 = raw;
|
|
1037
1095
|
}
|
|
1038
|
-
protoOf(Expression).
|
|
1039
|
-
return !(this.
|
|
1096
|
+
protoOf(Expression).z2s = function () {
|
|
1097
|
+
return !(this.x2s_1 == null);
|
|
1040
1098
|
};
|
|
1041
|
-
protoOf(Expression).
|
|
1099
|
+
protoOf(Expression).a2t = function (ctx) {
|
|
1042
1100
|
// Inline function 'kotlin.checkNotNull' call
|
|
1043
|
-
var tmp0 = this.
|
|
1101
|
+
var tmp0 = this.x2s_1;
|
|
1044
1102
|
var tmp$ret$1;
|
|
1045
1103
|
$l$block: {
|
|
1046
1104
|
// Inline function 'kotlin.checkNotNull' call
|
|
@@ -1052,10 +1110,10 @@
|
|
|
1052
1110
|
break $l$block;
|
|
1053
1111
|
}
|
|
1054
1112
|
}
|
|
1055
|
-
return tmp$ret$1.
|
|
1113
|
+
return tmp$ret$1.kx((new StateExpressionEvaluator(ctx)).c2t_1);
|
|
1056
1114
|
};
|
|
1057
|
-
protoOf(Expression).
|
|
1058
|
-
var tmp0_safe_receiver = this.
|
|
1115
|
+
protoOf(Expression).e2t = function () {
|
|
1116
|
+
var tmp0_safe_receiver = this.x2s_1;
|
|
1059
1117
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1060
1118
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1061
1119
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
@@ -1072,7 +1130,7 @@
|
|
|
1072
1130
|
if (!(other instanceof Expression)) {
|
|
1073
1131
|
tmp = false;
|
|
1074
1132
|
} else {
|
|
1075
|
-
if (!(this.
|
|
1133
|
+
if (!(this.y2s_1 === other.y2s_1)) {
|
|
1076
1134
|
tmp = false;
|
|
1077
1135
|
} else {
|
|
1078
1136
|
tmp = true;
|
|
@@ -1083,7 +1141,7 @@
|
|
|
1083
1141
|
return tmp;
|
|
1084
1142
|
};
|
|
1085
1143
|
protoOf(Expression).hashCode = function () {
|
|
1086
|
-
return getStringHashCode(this.
|
|
1144
|
+
return getStringHashCode(this.y2s_1);
|
|
1087
1145
|
};
|
|
1088
1146
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1089
1147
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
@@ -1091,11 +1149,11 @@
|
|
|
1091
1149
|
return null;
|
|
1092
1150
|
var tmp;
|
|
1093
1151
|
try {
|
|
1094
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1152
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().nk(_this__u8e3s4)));
|
|
1095
1153
|
var parser = new StateExpressionParser(tokens);
|
|
1096
|
-
parser.
|
|
1097
|
-
var expr = parser.
|
|
1098
|
-
tmp = tokens.o(tokens.
|
|
1154
|
+
parser.xk_1 = new BailErrorStrategy();
|
|
1155
|
+
var expr = parser.w2s();
|
|
1156
|
+
tmp = tokens.o(tokens.bn()).on() === -1 ? expr : null;
|
|
1099
1157
|
} catch ($p) {
|
|
1100
1158
|
var tmp_0;
|
|
1101
1159
|
if ($p instanceof ParseCancellationException) {
|
|
@@ -1111,7 +1169,7 @@
|
|
|
1111
1169
|
}
|
|
1112
1170
|
function vars(_this__u8e3s4) {
|
|
1113
1171
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1114
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1172
|
+
var tmp0_elvis_lhs = _this__u8e3s4.ll_1;
|
|
1115
1173
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1116
1174
|
var tmp0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1117
1175
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -1122,15 +1180,15 @@
|
|
|
1122
1180
|
var tmp;
|
|
1123
1181
|
if (isInterface(element, TerminalNode)) {
|
|
1124
1182
|
// Inline function 'kotlin.takeIf' call
|
|
1125
|
-
var this_0 = element.
|
|
1183
|
+
var this_0 = element.t1j();
|
|
1126
1184
|
var tmp_0;
|
|
1127
|
-
if (this_0.
|
|
1185
|
+
if (this_0.on() === 18) {
|
|
1128
1186
|
tmp_0 = this_0;
|
|
1129
1187
|
} else {
|
|
1130
1188
|
tmp_0 = null;
|
|
1131
1189
|
}
|
|
1132
1190
|
var tmp1_safe_receiver = tmp_0;
|
|
1133
|
-
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1191
|
+
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.yn());
|
|
1134
1192
|
} else {
|
|
1135
1193
|
if (element instanceof ParserRuleContext) {
|
|
1136
1194
|
tmp = vars(element);
|
|
@@ -1143,29 +1201,537 @@
|
|
|
1143
1201
|
}
|
|
1144
1202
|
return destination;
|
|
1145
1203
|
}
|
|
1204
|
+
function ExpressionContext() {
|
|
1205
|
+
}
|
|
1206
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation) {
|
|
1207
|
+
this.s2t_1 = $$this$unsafeFlow;
|
|
1208
|
+
this.t2t_1 = $keys;
|
|
1209
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1210
|
+
}
|
|
1211
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda).a2f = function (value, $completion) {
|
|
1212
|
+
var tmp = this.b2f(value, $completion);
|
|
1213
|
+
tmp.i8_1 = Unit_instance;
|
|
1214
|
+
tmp.j8_1 = null;
|
|
1215
|
+
return tmp.o8();
|
|
1216
|
+
};
|
|
1217
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda).w8 = function (p1, $completion) {
|
|
1218
|
+
return this.a2f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1219
|
+
};
|
|
1220
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda).o8 = function () {
|
|
1221
|
+
var suspendResult = this.i8_1;
|
|
1222
|
+
$sm: do
|
|
1223
|
+
try {
|
|
1224
|
+
var tmp = this.g8_1;
|
|
1225
|
+
switch (tmp) {
|
|
1226
|
+
case 0:
|
|
1227
|
+
this.h8_1 = 5;
|
|
1228
|
+
var tmp_0 = this;
|
|
1229
|
+
tmp_0.v2t_1 = this.s2t_1;
|
|
1230
|
+
var tmp_1 = this;
|
|
1231
|
+
tmp_1.w2t_1 = this.u2t_1;
|
|
1232
|
+
this.g8_1 = 1;
|
|
1233
|
+
continue $sm;
|
|
1234
|
+
case 1:
|
|
1235
|
+
this.y2t_1 = this.v2t_1;
|
|
1236
|
+
this.z2t_1 = this.w2t_1;
|
|
1237
|
+
var it = this.z2t_1;
|
|
1238
|
+
if (this.t2t_1.f1(it)) {
|
|
1239
|
+
this.g8_1 = 3;
|
|
1240
|
+
suspendResult = this.y2t_1.w23(this.z2t_1, this);
|
|
1241
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1242
|
+
return suspendResult;
|
|
1243
|
+
}
|
|
1244
|
+
continue $sm;
|
|
1245
|
+
} else {
|
|
1246
|
+
this.g8_1 = 2;
|
|
1247
|
+
continue $sm;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
case 2:
|
|
1251
|
+
this.x2t_1 = Unit_instance;
|
|
1252
|
+
if (false) {
|
|
1253
|
+
this.g8_1 = 1;
|
|
1254
|
+
continue $sm;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
this.g8_1 = 4;
|
|
1258
|
+
continue $sm;
|
|
1259
|
+
case 3:
|
|
1260
|
+
this.x2t_1 = suspendResult;
|
|
1261
|
+
this.g8_1 = 4;
|
|
1262
|
+
continue $sm;
|
|
1263
|
+
case 4:
|
|
1264
|
+
return Unit_instance;
|
|
1265
|
+
case 5:
|
|
1266
|
+
throw this.j8_1;
|
|
1267
|
+
}
|
|
1268
|
+
} catch ($p) {
|
|
1269
|
+
var e = $p;
|
|
1270
|
+
if (this.h8_1 === 5) {
|
|
1271
|
+
throw e;
|
|
1272
|
+
} else {
|
|
1273
|
+
this.g8_1 = this.h8_1;
|
|
1274
|
+
this.j8_1 = e;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
while (true);
|
|
1278
|
+
};
|
|
1279
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda).b2f = function (value, completion) {
|
|
1280
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda(this.s2t_1, this.t2t_1, completion);
|
|
1281
|
+
i.u2t_1 = value;
|
|
1282
|
+
return i;
|
|
1283
|
+
};
|
|
1284
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda_0($$this$unsafeFlow, $keys, resultContinuation) {
|
|
1285
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation);
|
|
1286
|
+
var l = function (value, $completion) {
|
|
1287
|
+
return i.a2f(value, $completion);
|
|
1288
|
+
};
|
|
1289
|
+
l.$arity = 1;
|
|
1290
|
+
return l;
|
|
1291
|
+
}
|
|
1292
|
+
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
1293
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1294
|
+
this.i2u_1 = _this__u8e3s4;
|
|
1295
|
+
this.j2u_1 = collector;
|
|
1296
|
+
}
|
|
1297
|
+
protoOf($collectCOROUTINE$0).o8 = function () {
|
|
1298
|
+
var suspendResult = this.i8_1;
|
|
1299
|
+
$sm: do
|
|
1300
|
+
try {
|
|
1301
|
+
var tmp = this.g8_1;
|
|
1302
|
+
switch (tmp) {
|
|
1303
|
+
case 0:
|
|
1304
|
+
this.h8_1 = 2;
|
|
1305
|
+
var tmp_0 = this;
|
|
1306
|
+
tmp_0.k2u_1 = this.j2u_1;
|
|
1307
|
+
this.l2u_1 = this.k2u_1;
|
|
1308
|
+
this.g8_1 = 1;
|
|
1309
|
+
var tmp_1 = SimpleExpressionContext$varsChangeFlow$o$collect$slambda_0(this.l2u_1, this.i2u_1.n2u_1, null);
|
|
1310
|
+
suspendResult = this.i2u_1.m2u_1.y23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1311
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1312
|
+
return suspendResult;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
continue $sm;
|
|
1316
|
+
case 1:
|
|
1317
|
+
return Unit_instance;
|
|
1318
|
+
case 2:
|
|
1319
|
+
throw this.j8_1;
|
|
1320
|
+
}
|
|
1321
|
+
} catch ($p) {
|
|
1322
|
+
var e = $p;
|
|
1323
|
+
if (this.h8_1 === 2) {
|
|
1324
|
+
throw e;
|
|
1325
|
+
} else {
|
|
1326
|
+
this.g8_1 = this.h8_1;
|
|
1327
|
+
this.j8_1 = e;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
while (true);
|
|
1331
|
+
};
|
|
1332
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1333
|
+
this.w2u_1 = $$this$unsafeFlow;
|
|
1334
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1335
|
+
}
|
|
1336
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1).a2f = function (value, $completion) {
|
|
1337
|
+
var tmp = this.b2f(value, $completion);
|
|
1338
|
+
tmp.i8_1 = Unit_instance;
|
|
1339
|
+
tmp.j8_1 = null;
|
|
1340
|
+
return tmp.o8();
|
|
1341
|
+
};
|
|
1342
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1).w8 = function (p1, $completion) {
|
|
1343
|
+
return this.a2f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1344
|
+
};
|
|
1345
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1).o8 = function () {
|
|
1346
|
+
var suspendResult = this.i8_1;
|
|
1347
|
+
$sm: do
|
|
1348
|
+
try {
|
|
1349
|
+
var tmp = this.g8_1;
|
|
1350
|
+
switch (tmp) {
|
|
1351
|
+
case 0:
|
|
1352
|
+
this.h8_1 = 2;
|
|
1353
|
+
var tmp_0 = this;
|
|
1354
|
+
tmp_0.y2u_1 = this.w2u_1;
|
|
1355
|
+
var tmp_1 = this;
|
|
1356
|
+
tmp_1.z2u_1 = this.x2u_1;
|
|
1357
|
+
this.a2v_1 = this.y2u_1;
|
|
1358
|
+
this.b2v_1 = this.z2u_1;
|
|
1359
|
+
this.g8_1 = 1;
|
|
1360
|
+
this.b2v_1;
|
|
1361
|
+
suspendResult = this.a2v_1.w23(Unit_instance, this);
|
|
1362
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1363
|
+
return suspendResult;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
continue $sm;
|
|
1367
|
+
case 1:
|
|
1368
|
+
return Unit_instance;
|
|
1369
|
+
case 2:
|
|
1370
|
+
throw this.j8_1;
|
|
1371
|
+
}
|
|
1372
|
+
} catch ($p) {
|
|
1373
|
+
var e = $p;
|
|
1374
|
+
if (this.h8_1 === 2) {
|
|
1375
|
+
throw e;
|
|
1376
|
+
} else {
|
|
1377
|
+
this.g8_1 = this.h8_1;
|
|
1378
|
+
this.j8_1 = e;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
while (true);
|
|
1382
|
+
};
|
|
1383
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1).b2f = function (value, completion) {
|
|
1384
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1(this.w2u_1, completion);
|
|
1385
|
+
i.x2u_1 = value;
|
|
1386
|
+
return i;
|
|
1387
|
+
};
|
|
1388
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
1389
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
1390
|
+
var l = function (value, $completion) {
|
|
1391
|
+
return i.a2f(value, $completion);
|
|
1392
|
+
};
|
|
1393
|
+
l.$arity = 1;
|
|
1394
|
+
return l;
|
|
1395
|
+
}
|
|
1396
|
+
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
1397
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1398
|
+
this.k2v_1 = _this__u8e3s4;
|
|
1399
|
+
this.l2v_1 = collector;
|
|
1400
|
+
}
|
|
1401
|
+
protoOf($collectCOROUTINE$1).o8 = function () {
|
|
1402
|
+
var suspendResult = this.i8_1;
|
|
1403
|
+
$sm: do
|
|
1404
|
+
try {
|
|
1405
|
+
var tmp = this.g8_1;
|
|
1406
|
+
switch (tmp) {
|
|
1407
|
+
case 0:
|
|
1408
|
+
this.h8_1 = 2;
|
|
1409
|
+
var tmp_0 = this;
|
|
1410
|
+
tmp_0.m2v_1 = this.l2v_1;
|
|
1411
|
+
this.n2v_1 = this.m2v_1;
|
|
1412
|
+
this.g8_1 = 1;
|
|
1413
|
+
var tmp_1 = SimpleExpressionContext$varsChangeFlow$o$collect$slambda_2(this.n2v_1, null);
|
|
1414
|
+
suspendResult = this.k2v_1.o2v_1.y23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1415
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1416
|
+
return suspendResult;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
continue $sm;
|
|
1420
|
+
case 1:
|
|
1421
|
+
return Unit_instance;
|
|
1422
|
+
case 2:
|
|
1423
|
+
throw this.j8_1;
|
|
1424
|
+
}
|
|
1425
|
+
} catch ($p) {
|
|
1426
|
+
var e = $p;
|
|
1427
|
+
if (this.h8_1 === 2) {
|
|
1428
|
+
throw e;
|
|
1429
|
+
} else {
|
|
1430
|
+
this.g8_1 = this.h8_1;
|
|
1431
|
+
this.j8_1 = e;
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
while (true);
|
|
1435
|
+
};
|
|
1436
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
1437
|
+
this.x2v_1 = $$this$unsafeFlow;
|
|
1438
|
+
this.y2v_1 = $block;
|
|
1439
|
+
this.z2v_1 = this$0;
|
|
1440
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1441
|
+
}
|
|
1442
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3).a2f = function (value, $completion) {
|
|
1443
|
+
var tmp = this.b2f(value, $completion);
|
|
1444
|
+
tmp.i8_1 = Unit_instance;
|
|
1445
|
+
tmp.j8_1 = null;
|
|
1446
|
+
return tmp.o8();
|
|
1447
|
+
};
|
|
1448
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3).w8 = function (p1, $completion) {
|
|
1449
|
+
return this.a2f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1450
|
+
};
|
|
1451
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3).o8 = function () {
|
|
1452
|
+
var suspendResult = this.i8_1;
|
|
1453
|
+
$sm: do
|
|
1454
|
+
try {
|
|
1455
|
+
var tmp = this.g8_1;
|
|
1456
|
+
switch (tmp) {
|
|
1457
|
+
case 0:
|
|
1458
|
+
this.h8_1 = 2;
|
|
1459
|
+
var tmp_0 = this;
|
|
1460
|
+
tmp_0.b2w_1 = this.x2v_1;
|
|
1461
|
+
var tmp_1 = this;
|
|
1462
|
+
tmp_1.c2w_1 = this.a2w_1;
|
|
1463
|
+
this.d2w_1 = this.b2w_1;
|
|
1464
|
+
this.e2w_1 = this.c2w_1;
|
|
1465
|
+
this.g8_1 = 1;
|
|
1466
|
+
this.e2w_1;
|
|
1467
|
+
suspendResult = this.d2w_1.w23(this.y2v_1(this.z2v_1), this);
|
|
1468
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1469
|
+
return suspendResult;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
continue $sm;
|
|
1473
|
+
case 1:
|
|
1474
|
+
return Unit_instance;
|
|
1475
|
+
case 2:
|
|
1476
|
+
throw this.j8_1;
|
|
1477
|
+
}
|
|
1478
|
+
} catch ($p) {
|
|
1479
|
+
var e = $p;
|
|
1480
|
+
if (this.h8_1 === 2) {
|
|
1481
|
+
throw e;
|
|
1482
|
+
} else {
|
|
1483
|
+
this.g8_1 = this.h8_1;
|
|
1484
|
+
this.j8_1 = e;
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
while (true);
|
|
1488
|
+
};
|
|
1489
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3).b2f = function (value, completion) {
|
|
1490
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3(this.x2v_1, this.y2v_1, this.z2v_1, completion);
|
|
1491
|
+
i.a2w_1 = value;
|
|
1492
|
+
return i;
|
|
1493
|
+
};
|
|
1494
|
+
function SimpleExpressionContext$varsChangeFlow$o$collect$slambda_4($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
1495
|
+
var i = new SimpleExpressionContext$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation);
|
|
1496
|
+
var l = function (value, $completion) {
|
|
1497
|
+
return i.a2f(value, $completion);
|
|
1498
|
+
};
|
|
1499
|
+
l.$arity = 1;
|
|
1500
|
+
return l;
|
|
1501
|
+
}
|
|
1502
|
+
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
1503
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1504
|
+
this.n2w_1 = _this__u8e3s4;
|
|
1505
|
+
this.o2w_1 = collector;
|
|
1506
|
+
}
|
|
1507
|
+
protoOf($collectCOROUTINE$2).o8 = function () {
|
|
1508
|
+
var suspendResult = this.i8_1;
|
|
1509
|
+
$sm: do
|
|
1510
|
+
try {
|
|
1511
|
+
var tmp = this.g8_1;
|
|
1512
|
+
switch (tmp) {
|
|
1513
|
+
case 0:
|
|
1514
|
+
this.h8_1 = 2;
|
|
1515
|
+
var tmp_0 = this;
|
|
1516
|
+
tmp_0.p2w_1 = this.o2w_1;
|
|
1517
|
+
this.q2w_1 = this.p2w_1;
|
|
1518
|
+
this.g8_1 = 1;
|
|
1519
|
+
var tmp_1 = SimpleExpressionContext$varsChangeFlow$o$collect$slambda_4(this.q2w_1, this.n2w_1.s2w_1, this.n2w_1.t2w_1, null);
|
|
1520
|
+
suspendResult = this.n2w_1.r2w_1.y23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1521
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1522
|
+
return suspendResult;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
continue $sm;
|
|
1526
|
+
case 1:
|
|
1527
|
+
return Unit_instance;
|
|
1528
|
+
case 2:
|
|
1529
|
+
throw this.j8_1;
|
|
1530
|
+
}
|
|
1531
|
+
} catch ($p) {
|
|
1532
|
+
var e = $p;
|
|
1533
|
+
if (this.h8_1 === 2) {
|
|
1534
|
+
throw e;
|
|
1535
|
+
} else {
|
|
1536
|
+
this.g8_1 = this.h8_1;
|
|
1537
|
+
this.j8_1 = e;
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
while (true);
|
|
1541
|
+
};
|
|
1542
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1543
|
+
this.u2w_1 = function_0;
|
|
1544
|
+
}
|
|
1545
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).w23 = function (value, $completion) {
|
|
1546
|
+
return this.u2w_1(value, $completion);
|
|
1547
|
+
};
|
|
1548
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s2 = function () {
|
|
1549
|
+
return this.u2w_1;
|
|
1550
|
+
};
|
|
1551
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1552
|
+
var tmp;
|
|
1553
|
+
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
1554
|
+
var tmp_0;
|
|
1555
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
1556
|
+
tmp_0 = equals(this.s2(), other.s2());
|
|
1557
|
+
} else {
|
|
1558
|
+
tmp_0 = false;
|
|
1559
|
+
}
|
|
1560
|
+
tmp = tmp_0;
|
|
1561
|
+
} else {
|
|
1562
|
+
tmp = false;
|
|
1563
|
+
}
|
|
1564
|
+
return tmp;
|
|
1565
|
+
};
|
|
1566
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
1567
|
+
return hashCode(this.s2());
|
|
1568
|
+
};
|
|
1569
|
+
function SimpleExpressionContext$varsChangeFlow$slambda($keys, resultContinuation) {
|
|
1570
|
+
this.d2x_1 = $keys;
|
|
1571
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1572
|
+
}
|
|
1573
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$slambda).f2x = function ($this$onSubscription, $completion) {
|
|
1574
|
+
var tmp = this.g2x($this$onSubscription, $completion);
|
|
1575
|
+
tmp.i8_1 = Unit_instance;
|
|
1576
|
+
tmp.j8_1 = null;
|
|
1577
|
+
return tmp.o8();
|
|
1578
|
+
};
|
|
1579
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$slambda).w8 = function (p1, $completion) {
|
|
1580
|
+
return this.f2x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
1581
|
+
};
|
|
1582
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$slambda).o8 = function () {
|
|
1583
|
+
var suspendResult = this.i8_1;
|
|
1584
|
+
$sm: do
|
|
1585
|
+
try {
|
|
1586
|
+
var tmp = this.g8_1;
|
|
1587
|
+
switch (tmp) {
|
|
1588
|
+
case 0:
|
|
1589
|
+
this.h8_1 = 2;
|
|
1590
|
+
this.g8_1 = 1;
|
|
1591
|
+
suspendResult = this.e2x_1.w23(first(this.d2x_1), this);
|
|
1592
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1593
|
+
return suspendResult;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
continue $sm;
|
|
1597
|
+
case 1:
|
|
1598
|
+
return Unit_instance;
|
|
1599
|
+
case 2:
|
|
1600
|
+
throw this.j8_1;
|
|
1601
|
+
}
|
|
1602
|
+
} catch ($p) {
|
|
1603
|
+
var e = $p;
|
|
1604
|
+
if (this.h8_1 === 2) {
|
|
1605
|
+
throw e;
|
|
1606
|
+
} else {
|
|
1607
|
+
this.g8_1 = this.h8_1;
|
|
1608
|
+
this.j8_1 = e;
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
while (true);
|
|
1612
|
+
};
|
|
1613
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$slambda).g2x = function ($this$onSubscription, completion) {
|
|
1614
|
+
var i = new SimpleExpressionContext$varsChangeFlow$slambda(this.d2x_1, completion);
|
|
1615
|
+
i.e2x_1 = $this$onSubscription;
|
|
1616
|
+
return i;
|
|
1617
|
+
};
|
|
1618
|
+
function SimpleExpressionContext$varsChangeFlow$slambda_0($keys, resultContinuation) {
|
|
1619
|
+
var i = new SimpleExpressionContext$varsChangeFlow$slambda($keys, resultContinuation);
|
|
1620
|
+
var l = function ($this$onSubscription, $completion) {
|
|
1621
|
+
return i.f2x($this$onSubscription, $completion);
|
|
1622
|
+
};
|
|
1623
|
+
l.$arity = 1;
|
|
1624
|
+
return l;
|
|
1625
|
+
}
|
|
1626
|
+
function SimpleExpressionContext$varsChangeFlow$$inlined$filter$1($this, $keys) {
|
|
1627
|
+
this.m2u_1 = $this;
|
|
1628
|
+
this.n2u_1 = $keys;
|
|
1629
|
+
}
|
|
1630
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$filter$1).x23 = function (collector, $completion) {
|
|
1631
|
+
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
1632
|
+
tmp.i8_1 = Unit_instance;
|
|
1633
|
+
tmp.j8_1 = null;
|
|
1634
|
+
return tmp.o8();
|
|
1635
|
+
};
|
|
1636
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$filter$1).y23 = function (collector, $completion) {
|
|
1637
|
+
return this.x23(collector, $completion);
|
|
1638
|
+
};
|
|
1639
|
+
function SimpleExpressionContext$varsChangeFlow$$inlined$map$1($this) {
|
|
1640
|
+
this.o2v_1 = $this;
|
|
1641
|
+
}
|
|
1642
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$map$1).x23 = function (collector, $completion) {
|
|
1643
|
+
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
1644
|
+
tmp.i8_1 = Unit_instance;
|
|
1645
|
+
tmp.j8_1 = null;
|
|
1646
|
+
return tmp.o8();
|
|
1647
|
+
};
|
|
1648
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$map$1).y23 = function (collector, $completion) {
|
|
1649
|
+
return this.x23(collector, $completion);
|
|
1650
|
+
};
|
|
1651
|
+
function SimpleExpressionContext$varsChangeFlow$$inlined$map$2($this, $block, this$0) {
|
|
1652
|
+
this.r2w_1 = $this;
|
|
1653
|
+
this.s2w_1 = $block;
|
|
1654
|
+
this.t2w_1 = this$0;
|
|
1655
|
+
}
|
|
1656
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$map$2).x23 = function (collector, $completion) {
|
|
1657
|
+
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
1658
|
+
tmp.i8_1 = Unit_instance;
|
|
1659
|
+
tmp.j8_1 = null;
|
|
1660
|
+
return tmp.o8();
|
|
1661
|
+
};
|
|
1662
|
+
protoOf(SimpleExpressionContext$varsChangeFlow$$inlined$map$2).y23 = function (collector, $completion) {
|
|
1663
|
+
return this.x23(collector, $completion);
|
|
1664
|
+
};
|
|
1665
|
+
function SimpleExpressionContext(vars) {
|
|
1666
|
+
var tmp;
|
|
1667
|
+
if (vars === VOID) {
|
|
1668
|
+
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
1669
|
+
tmp = LinkedHashMap_init_$Create$();
|
|
1670
|
+
} else {
|
|
1671
|
+
tmp = vars;
|
|
1672
|
+
}
|
|
1673
|
+
vars = tmp;
|
|
1674
|
+
this.h2x_1 = vars;
|
|
1675
|
+
this.i2x_1 = MutableSharedFlow(VOID, 2147483647);
|
|
1676
|
+
}
|
|
1677
|
+
protoOf(SimpleExpressionContext).f2t = function (keys, block) {
|
|
1678
|
+
var tmp;
|
|
1679
|
+
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
1680
|
+
if (keys == null || keys.p()) {
|
|
1681
|
+
tmp = flowOf(Unit_instance);
|
|
1682
|
+
} else {
|
|
1683
|
+
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
1684
|
+
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1685
|
+
var this_0 = onSubscription(this.i2x_1, SimpleExpressionContext$varsChangeFlow$slambda_0(keys, null));
|
|
1686
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1687
|
+
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
1688
|
+
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1689
|
+
var this_1 = new SimpleExpressionContext$varsChangeFlow$$inlined$filter$1(this_0, keys);
|
|
1690
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1691
|
+
var tmp$ret$6 = new SimpleExpressionContext$varsChangeFlow$$inlined$map$1(this_1);
|
|
1692
|
+
tmp = conflate(tmp$ret$6);
|
|
1693
|
+
}
|
|
1694
|
+
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
1695
|
+
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1696
|
+
var this_2 = tmp;
|
|
1697
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1698
|
+
return new SimpleExpressionContext$varsChangeFlow$$inlined$map$2(this_2, block, this);
|
|
1699
|
+
};
|
|
1700
|
+
protoOf(SimpleExpressionContext).g2t = function (key) {
|
|
1701
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
1702
|
+
var tmp0_elvis_lhs = this.h2x_1.q1(key);
|
|
1703
|
+
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1704
|
+
};
|
|
1705
|
+
protoOf(SimpleExpressionContext).h2t = function (key, values) {
|
|
1706
|
+
var tmp0 = this.h2x_1;
|
|
1707
|
+
// Inline function 'kotlin.collections.set' call
|
|
1708
|
+
var value = values == null ? null : toList(values);
|
|
1709
|
+
tmp0.d3(key, value);
|
|
1710
|
+
this.i2x_1.g26(key);
|
|
1711
|
+
};
|
|
1146
1712
|
function unexpectedToken($this, token) {
|
|
1147
|
-
var message = 'Unexpected token: ' + token.
|
|
1713
|
+
var message = 'Unexpected token: ' + token.yn();
|
|
1148
1714
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1149
1715
|
}
|
|
1150
1716
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1151
|
-
this.
|
|
1717
|
+
this.j2x_1 = this$0;
|
|
1152
1718
|
StateExpressionBaseVisitor.call(this);
|
|
1153
1719
|
}
|
|
1154
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1155
|
-
return ensureNotNull(ctx.expr$).
|
|
1720
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).n2j = function (ctx) {
|
|
1721
|
+
return ensureNotNull(ctx.expr$).kx(this);
|
|
1156
1722
|
};
|
|
1157
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1158
|
-
return !ensureNotNull(ctx.expr$).
|
|
1723
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).q2j = function (ctx) {
|
|
1724
|
+
return !ensureNotNull(ctx.expr$).kx(this);
|
|
1159
1725
|
};
|
|
1160
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1161
|
-
return ensureNotNull(ctx.left$).
|
|
1726
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).s2j = function (ctx) {
|
|
1727
|
+
return ensureNotNull(ctx.left$).kx(this) || ensureNotNull(ctx.right$).kx(this);
|
|
1162
1728
|
};
|
|
1163
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1164
|
-
return ensureNotNull(ctx.left$).
|
|
1729
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).t2j = function (ctx) {
|
|
1730
|
+
return ensureNotNull(ctx.left$).kx(this) && ensureNotNull(ctx.right$).kx(this);
|
|
1165
1731
|
};
|
|
1166
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1732
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).o2j = function (ctx) {
|
|
1167
1733
|
var tmp;
|
|
1168
|
-
switch (ensureNotNull(ctx.atom$).
|
|
1734
|
+
switch (ensureNotNull(ctx.atom$).on()) {
|
|
1169
1735
|
case 12:
|
|
1170
1736
|
tmp = true;
|
|
1171
1737
|
break;
|
|
@@ -1173,38 +1739,38 @@
|
|
|
1173
1739
|
tmp = false;
|
|
1174
1740
|
break;
|
|
1175
1741
|
default:
|
|
1176
|
-
unexpectedToken(this.
|
|
1742
|
+
unexpectedToken(this.j2x_1, ensureNotNull(ctx.atom$));
|
|
1177
1743
|
break;
|
|
1178
1744
|
}
|
|
1179
1745
|
return tmp;
|
|
1180
1746
|
};
|
|
1181
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1182
|
-
var varName = ensureNotNull(ensureNotNull(ctx.varName$).
|
|
1747
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).p2j = function (ctx) {
|
|
1748
|
+
var varName = ensureNotNull(ensureNotNull(ctx.varName$).yn());
|
|
1183
1749
|
// Inline function 'kotlin.run' call
|
|
1184
|
-
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).
|
|
1750
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).yn());
|
|
1185
1751
|
// Inline function 'kotlin.text.substring' call
|
|
1186
1752
|
var endIndex = $this$run.length - 1 | 0;
|
|
1187
1753
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1188
1754
|
var value = $this$run.substring(1, endIndex);
|
|
1189
1755
|
var tmp;
|
|
1190
|
-
switch (ensureNotNull(ctx.op$).
|
|
1756
|
+
switch (ensureNotNull(ctx.op$).on()) {
|
|
1191
1757
|
case 1:
|
|
1192
|
-
tmp = this.
|
|
1758
|
+
tmp = this.j2x_1.b2t_1.g2t(varName).f1(value);
|
|
1193
1759
|
break;
|
|
1194
1760
|
case 2:
|
|
1195
|
-
tmp = !this.
|
|
1761
|
+
tmp = !this.j2x_1.b2t_1.g2t(varName).f1(value);
|
|
1196
1762
|
break;
|
|
1197
1763
|
default:
|
|
1198
|
-
unexpectedToken(this.
|
|
1764
|
+
unexpectedToken(this.j2x_1, ensureNotNull(ctx.op$));
|
|
1199
1765
|
break;
|
|
1200
1766
|
}
|
|
1201
1767
|
return tmp;
|
|
1202
1768
|
};
|
|
1203
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1204
|
-
var left = ensureNotNull(ctx.left$).
|
|
1205
|
-
var right = ensureNotNull(ctx.right$).
|
|
1769
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).m2j = function (ctx) {
|
|
1770
|
+
var left = ensureNotNull(ctx.left$).kx(this.j2x_1.d2t_1);
|
|
1771
|
+
var right = ensureNotNull(ctx.right$).kx(this.j2x_1.d2t_1);
|
|
1206
1772
|
var tmp;
|
|
1207
|
-
switch (ensureNotNull(ctx.op$).
|
|
1773
|
+
switch (ensureNotNull(ctx.op$).on()) {
|
|
1208
1774
|
case 1:
|
|
1209
1775
|
tmp = left === right;
|
|
1210
1776
|
break;
|
|
@@ -1224,41 +1790,60 @@
|
|
|
1224
1790
|
tmp = left <= right;
|
|
1225
1791
|
break;
|
|
1226
1792
|
default:
|
|
1227
|
-
unexpectedToken(this.
|
|
1793
|
+
unexpectedToken(this.j2x_1, ensureNotNull(ctx.op$));
|
|
1228
1794
|
break;
|
|
1229
1795
|
}
|
|
1230
1796
|
return tmp;
|
|
1231
1797
|
};
|
|
1232
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1798
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).r2j = function (ctx) {
|
|
1233
1799
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1234
|
-
return !this.
|
|
1800
|
+
return !this.j2x_1.b2t_1.g2t(ensureNotNull(ensureNotNull(ctx.varName$).yn())).p();
|
|
1235
1801
|
};
|
|
1236
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1802
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).o1j = function () {
|
|
1237
1803
|
return false;
|
|
1238
1804
|
};
|
|
1239
1805
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1240
|
-
this.
|
|
1806
|
+
this.k2x_1 = this$0;
|
|
1241
1807
|
StateExpressionBaseVisitor.call(this);
|
|
1242
1808
|
}
|
|
1243
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1244
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.value$).
|
|
1809
|
+
protoOf(StateExpressionEvaluator$intExpr$1).w2j = function (ctx) {
|
|
1810
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.value$).yn()));
|
|
1245
1811
|
};
|
|
1246
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1247
|
-
return this.
|
|
1812
|
+
protoOf(StateExpressionEvaluator$intExpr$1).v2j = function (ctx) {
|
|
1813
|
+
return this.k2x_1.b2t_1.g2t(ensureNotNull(ensureNotNull(ctx.varName$).yn())).m();
|
|
1248
1814
|
};
|
|
1249
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1815
|
+
protoOf(StateExpressionEvaluator$intExpr$1).o1j = function () {
|
|
1250
1816
|
return 0;
|
|
1251
1817
|
};
|
|
1252
|
-
function StateExpressionEvaluator(
|
|
1253
|
-
this.
|
|
1818
|
+
function StateExpressionEvaluator(context) {
|
|
1819
|
+
this.b2t_1 = context;
|
|
1254
1820
|
var tmp = this;
|
|
1255
|
-
tmp.
|
|
1821
|
+
tmp.c2t_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1256
1822
|
var tmp_0 = this;
|
|
1257
|
-
tmp_0.
|
|
1823
|
+
tmp_0.d2t_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1258
1824
|
}
|
|
1825
|
+
//region block: post-declaration
|
|
1826
|
+
protoOf(SimpleExpressionContext).varsChangeFlow$default = varsChangeFlow$default;
|
|
1827
|
+
protoOf(SimpleExpressionContext).i2t = addVarValue;
|
|
1828
|
+
protoOf(SimpleExpressionContext).j2t = removeVarValue;
|
|
1829
|
+
//endregion
|
|
1259
1830
|
//region block: exports
|
|
1831
|
+
function $jsExportAll$(_) {
|
|
1832
|
+
var $org = _.org || (_.org = {});
|
|
1833
|
+
var $org$cru = $org.cru || ($org.cru = {});
|
|
1834
|
+
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
1835
|
+
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
1836
|
+
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
1837
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
1838
|
+
var $org$cru$godtools$shared$tool$parser$expressions = $org$cru$godtools$shared$tool$parser.expressions || ($org$cru$godtools$shared$tool$parser.expressions = {});
|
|
1839
|
+
}
|
|
1840
|
+
$jsExportAll$(_);
|
|
1841
|
+
_.$jsExportAll$ = $jsExportAll$;
|
|
1260
1842
|
_.$_$ = _.$_$ || {};
|
|
1261
|
-
_.$_$.a =
|
|
1843
|
+
_.$_$.a = varsChangeFlow$default;
|
|
1844
|
+
_.$_$.b = ExpressionContext;
|
|
1845
|
+
_.$_$.c = SimpleExpressionContext;
|
|
1846
|
+
_.$_$.d = toExpressionOrNull;
|
|
1262
1847
|
//endregion
|
|
1263
1848
|
return _;
|
|
1264
1849
|
}));
|