@cruglobal/godtools-shared 1.1.2-SNAPSHOT.1691 → 1.1.2-SNAPSHOT.1698
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 +42 -42
- package/Kermit-kermit.js +5 -5
- package/antlr-kotlin-antlr-kotlin-runtime.js +3116 -3116
- package/colormath-root-colormath.js +906 -906
- package/fluid-locale.js +144 -144
- package/kotlin-js.js +34 -34
- package/kotlin-kotlin-stdlib.js +1981 -1951
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +385 -385
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2653 -2608
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +247 -247
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +2 -1
- package/kotlinx-atomicfu.js +20 -20
- package/kotlinx-coroutines-core.js +2823 -2823
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
var RuntimeMetaData_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.d;
|
|
23
23
|
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
24
24
|
var ATNDeserializer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.e;
|
|
25
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
25
|
+
var toCharArray = kotlin_kotlin.$_$.s8;
|
|
26
26
|
var fillArrayVal = kotlin_kotlin.$_$.e6;
|
|
27
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
27
|
+
var ensureNotNull = kotlin_kotlin.$_$.z9;
|
|
28
28
|
var DFA = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.i;
|
|
29
29
|
var PredictionContextCache = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.h;
|
|
30
30
|
var VocabularyImpl = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.u;
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
var ParserRuleContext_init_$Init$_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.a;
|
|
38
38
|
var ParserRuleContext = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.r;
|
|
39
39
|
var isInterface = kotlin_kotlin.$_$.t6;
|
|
40
|
-
var Long = kotlin_kotlin.$_$.
|
|
40
|
+
var Long = kotlin_kotlin.$_$.m9;
|
|
41
41
|
var FailedPredicateException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.o;
|
|
42
42
|
var RecognitionException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.t;
|
|
43
43
|
var Parser = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.s;
|
|
44
44
|
var ParserATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.g;
|
|
45
45
|
var NoViableAltException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.q;
|
|
46
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.r9;
|
|
47
47
|
var toString = kotlin_kotlin.$_$.d7;
|
|
48
48
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
49
49
|
var toSet = kotlin_kotlin.$_$.x4;
|
|
50
50
|
var emptySet = kotlin_kotlin.$_$.r3;
|
|
51
51
|
var getStringHashCode = kotlin_kotlin.$_$.j6;
|
|
52
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
52
|
+
var isBlank = kotlin_kotlin.$_$.e8;
|
|
53
53
|
var CharStreams_getInstance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.c;
|
|
54
54
|
var CommonTokenStream = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.n;
|
|
55
55
|
var BailErrorStrategy = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.m;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
var listOfNotNull = kotlin_kotlin.$_$.h4;
|
|
60
60
|
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.l;
|
|
61
61
|
var addAll = kotlin_kotlin.$_$.z2;
|
|
62
|
-
var toInt = kotlin_kotlin.$_$.
|
|
62
|
+
var toInt = kotlin_kotlin.$_$.x8;
|
|
63
63
|
//endregion
|
|
64
64
|
//region block: pre-declaration
|
|
65
65
|
initMetadataForInterface(StateExpressionVisitor, 'StateExpressionVisitor');
|
|
@@ -90,67 +90,67 @@
|
|
|
90
90
|
function StateExpressionBaseVisitor() {
|
|
91
91
|
AbstractParseTreeVisitor.call(this);
|
|
92
92
|
}
|
|
93
|
-
protoOf(StateExpressionBaseVisitor).a2x = function (ctx) {
|
|
94
|
-
return this.w29(ctx);
|
|
95
|
-
};
|
|
96
|
-
protoOf(StateExpressionBaseVisitor).b2x = function (ctx) {
|
|
97
|
-
return this.w29(ctx);
|
|
98
|
-
};
|
|
99
93
|
protoOf(StateExpressionBaseVisitor).c2x = function (ctx) {
|
|
100
|
-
return this.
|
|
94
|
+
return this.y29(ctx);
|
|
101
95
|
};
|
|
102
96
|
protoOf(StateExpressionBaseVisitor).d2x = function (ctx) {
|
|
103
|
-
return this.
|
|
97
|
+
return this.y29(ctx);
|
|
104
98
|
};
|
|
105
99
|
protoOf(StateExpressionBaseVisitor).e2x = function (ctx) {
|
|
106
|
-
return this.
|
|
100
|
+
return this.y29(ctx);
|
|
107
101
|
};
|
|
108
102
|
protoOf(StateExpressionBaseVisitor).f2x = function (ctx) {
|
|
109
|
-
return this.
|
|
103
|
+
return this.y29(ctx);
|
|
110
104
|
};
|
|
111
105
|
protoOf(StateExpressionBaseVisitor).g2x = function (ctx) {
|
|
112
|
-
return this.
|
|
106
|
+
return this.y29(ctx);
|
|
113
107
|
};
|
|
114
108
|
protoOf(StateExpressionBaseVisitor).h2x = function (ctx) {
|
|
115
|
-
return this.
|
|
109
|
+
return this.y29(ctx);
|
|
116
110
|
};
|
|
117
111
|
protoOf(StateExpressionBaseVisitor).i2x = function (ctx) {
|
|
118
|
-
return this.
|
|
112
|
+
return this.y29(ctx);
|
|
119
113
|
};
|
|
120
114
|
protoOf(StateExpressionBaseVisitor).j2x = function (ctx) {
|
|
121
|
-
return this.
|
|
115
|
+
return this.y29(ctx);
|
|
122
116
|
};
|
|
123
117
|
protoOf(StateExpressionBaseVisitor).k2x = function (ctx) {
|
|
124
|
-
return this.
|
|
118
|
+
return this.y29(ctx);
|
|
119
|
+
};
|
|
120
|
+
protoOf(StateExpressionBaseVisitor).l2x = function (ctx) {
|
|
121
|
+
return this.y29(ctx);
|
|
122
|
+
};
|
|
123
|
+
protoOf(StateExpressionBaseVisitor).m2x = function (ctx) {
|
|
124
|
+
return this.y29(ctx);
|
|
125
125
|
};
|
|
126
126
|
function Companion() {
|
|
127
127
|
Companion_instance = this;
|
|
128
|
-
RuntimeMetaData_instance.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
128
|
+
RuntimeMetaData_instance.a2a('4.13.1', '4.13.1');
|
|
129
|
+
this.n2x_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";
|
|
130
|
+
this.o2x_1 = (new ATNDeserializer()).m2e(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"));
|
|
131
131
|
var tmp = this;
|
|
132
132
|
var tmp_0 = 0;
|
|
133
|
-
var tmp_1 = this.
|
|
133
|
+
var tmp_1 = this.o2x_1.o2a();
|
|
134
134
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
135
135
|
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
136
136
|
while (tmp_0 < tmp_1) {
|
|
137
137
|
var tmp_3 = tmp_0;
|
|
138
|
-
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance().
|
|
138
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance().o2x_1.d2b(tmp_3)), tmp_3);
|
|
139
139
|
tmp_0 = tmp_0 + 1 | 0;
|
|
140
140
|
}
|
|
141
|
-
tmp.
|
|
142
|
-
this.
|
|
141
|
+
tmp.p2x_1 = tmp_2;
|
|
142
|
+
this.q2x_1 = new PredictionContextCache();
|
|
143
143
|
var tmp_4 = this;
|
|
144
144
|
// Inline function 'kotlin.arrayOf' call
|
|
145
145
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
146
146
|
// Inline function 'kotlin.js.asDynamic' call
|
|
147
|
-
tmp_4.
|
|
147
|
+
tmp_4.r2x_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
148
148
|
var tmp_5 = this;
|
|
149
149
|
// Inline function 'kotlin.arrayOf' call
|
|
150
150
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
151
151
|
// Inline function 'kotlin.js.asDynamic' call
|
|
152
|
-
tmp_5.
|
|
153
|
-
this.
|
|
152
|
+
tmp_5.s2x_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
153
|
+
this.t2x_1 = new VocabularyImpl(this.r2x_1, this.s2x_1);
|
|
154
154
|
}
|
|
155
155
|
var Companion_instance;
|
|
156
156
|
function Companion_getInstance() {
|
|
@@ -161,39 +161,39 @@
|
|
|
161
161
|
function StateExpressionLexer(input) {
|
|
162
162
|
Companion_getInstance();
|
|
163
163
|
Lexer.call(this, input);
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
164
|
+
this.m2y_1 = new LexerATNSimulator(this, Companion_getInstance().o2x_1, Companion_getInstance().p2x_1, Companion_getInstance().q2x_1);
|
|
165
|
+
this.n2y_1 = 'StateExpression.g4';
|
|
166
|
+
this.o2y_1 = Companion_getInstance().o2x_1;
|
|
167
|
+
this.p2y_1 = Companion_getInstance().t2x_1;
|
|
168
|
+
this.q2y_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";
|
|
169
169
|
var tmp = this;
|
|
170
170
|
// Inline function 'kotlin.arrayOf' call
|
|
171
171
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
172
172
|
// Inline function 'kotlin.js.asDynamic' call
|
|
173
|
-
tmp.
|
|
173
|
+
tmp.r2y_1 = ['EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
174
174
|
var tmp_0 = this;
|
|
175
175
|
// Inline function 'kotlin.arrayOf' call
|
|
176
176
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
177
177
|
// Inline function 'kotlin.js.asDynamic' call
|
|
178
|
-
tmp_0.
|
|
178
|
+
tmp_0.s2y_1 = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN'];
|
|
179
179
|
var tmp_1 = this;
|
|
180
180
|
// Inline function 'kotlin.arrayOf' call
|
|
181
181
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
182
182
|
// Inline function 'kotlin.js.asDynamic' call
|
|
183
|
-
tmp_1.
|
|
183
|
+
tmp_1.t2y_1 = ['DEFAULT_MODE'];
|
|
184
184
|
}
|
|
185
|
-
protoOf(StateExpressionLexer).
|
|
186
|
-
return this.k2y_1;
|
|
187
|
-
};
|
|
188
|
-
protoOf(StateExpressionLexer).r22 = function () {
|
|
185
|
+
protoOf(StateExpressionLexer).s22 = function () {
|
|
189
186
|
return this.m2y_1;
|
|
190
187
|
};
|
|
191
|
-
protoOf(StateExpressionLexer).
|
|
192
|
-
return this.
|
|
188
|
+
protoOf(StateExpressionLexer).t22 = function () {
|
|
189
|
+
return this.o2y_1;
|
|
193
190
|
};
|
|
194
|
-
protoOf(StateExpressionLexer).
|
|
191
|
+
protoOf(StateExpressionLexer).k21 = function () {
|
|
195
192
|
return this.p2y_1;
|
|
196
193
|
};
|
|
194
|
+
protoOf(StateExpressionLexer).n23 = function () {
|
|
195
|
+
return this.r2y_1;
|
|
196
|
+
};
|
|
197
197
|
function StateExpressionListener() {
|
|
198
198
|
}
|
|
199
199
|
function BooleanExprContext_init_$Init$(parent, invokingState, $this) {
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
216
216
|
BooleanExprContext_init_$Init$_0($this);
|
|
217
217
|
IntCmpExprContext.call($this);
|
|
218
|
-
$this.
|
|
218
|
+
$this.a30(ctx);
|
|
219
219
|
return $this;
|
|
220
220
|
}
|
|
221
221
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
225
225
|
BooleanExprContext_init_$Init$_0($this);
|
|
226
226
|
ParExprContext.call($this);
|
|
227
|
-
$this.
|
|
227
|
+
$this.a30(ctx);
|
|
228
228
|
return $this;
|
|
229
229
|
}
|
|
230
230
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
234
234
|
BooleanExprContext_init_$Init$_0($this);
|
|
235
235
|
BooleanAtomContext.call($this);
|
|
236
|
-
$this.
|
|
236
|
+
$this.a30(ctx);
|
|
237
237
|
return $this;
|
|
238
238
|
}
|
|
239
239
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
243
243
|
BooleanExprContext_init_$Init$_0($this);
|
|
244
244
|
EqExprContext.call($this);
|
|
245
|
-
$this.
|
|
245
|
+
$this.a30(ctx);
|
|
246
246
|
return $this;
|
|
247
247
|
}
|
|
248
248
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
252
252
|
BooleanExprContext_init_$Init$_0($this);
|
|
253
253
|
NotExprContext.call($this);
|
|
254
|
-
$this.
|
|
254
|
+
$this.a30(ctx);
|
|
255
255
|
return $this;
|
|
256
256
|
}
|
|
257
257
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
261
261
|
BooleanExprContext_init_$Init$_0($this);
|
|
262
262
|
IsSetFuncContext.call($this);
|
|
263
|
-
$this.
|
|
263
|
+
$this.a30(ctx);
|
|
264
264
|
return $this;
|
|
265
265
|
}
|
|
266
266
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
270
270
|
BooleanExprContext_init_$Init$_0($this);
|
|
271
271
|
OrExprContext.call($this);
|
|
272
|
-
$this.
|
|
272
|
+
$this.a30(ctx);
|
|
273
273
|
return $this;
|
|
274
274
|
}
|
|
275
275
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
279
279
|
BooleanExprContext_init_$Init$_0($this);
|
|
280
280
|
AndExprContext.call($this);
|
|
281
|
-
$this.
|
|
281
|
+
$this.a30(ctx);
|
|
282
282
|
return $this;
|
|
283
283
|
}
|
|
284
284
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
304
304
|
IntExprContext_init_$Init$_0($this);
|
|
305
305
|
IntAtomContext.call($this);
|
|
306
|
-
$this.
|
|
306
|
+
$this.l30(ctx);
|
|
307
307
|
return $this;
|
|
308
308
|
}
|
|
309
309
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
313
313
|
IntExprContext_init_$Init$_0($this);
|
|
314
314
|
ParIntExprContext.call($this);
|
|
315
|
-
$this.
|
|
315
|
+
$this.l30(ctx);
|
|
316
316
|
return $this;
|
|
317
317
|
}
|
|
318
318
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
322
322
|
IntExprContext_init_$Init$_0($this);
|
|
323
323
|
ValuesFuncContext.call($this);
|
|
324
|
-
$this.
|
|
324
|
+
$this.l30(ctx);
|
|
325
325
|
return $this;
|
|
326
326
|
}
|
|
327
327
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -329,50 +329,50 @@
|
|
|
329
329
|
}
|
|
330
330
|
function Companion_0() {
|
|
331
331
|
Companion_instance_0 = this;
|
|
332
|
-
RuntimeMetaData_instance.
|
|
333
|
-
this.
|
|
334
|
-
this.
|
|
332
|
+
RuntimeMetaData_instance.a2a('4.13.1', '4.13.1');
|
|
333
|
+
this.m30_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 +';
|
|
334
|
+
this.n30_1 = (new ATNDeserializer()).m2e(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 +'));
|
|
335
335
|
var tmp = this;
|
|
336
336
|
var tmp_0 = 0;
|
|
337
|
-
var tmp_1 = this.
|
|
337
|
+
var tmp_1 = this.n30_1.o2a();
|
|
338
338
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
339
339
|
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
340
340
|
while (tmp_0 < tmp_1) {
|
|
341
341
|
var tmp_3 = tmp_0;
|
|
342
|
-
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance_0().
|
|
342
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance_0().n30_1.d2b(tmp_3)), tmp_3);
|
|
343
343
|
tmp_0 = tmp_0 + 1 | 0;
|
|
344
344
|
}
|
|
345
|
-
tmp.
|
|
346
|
-
this.
|
|
345
|
+
tmp.o30_1 = tmp_2;
|
|
346
|
+
this.p30_1 = new PredictionContextCache();
|
|
347
347
|
var tmp_4 = this;
|
|
348
348
|
// Inline function 'kotlin.arrayOf' call
|
|
349
349
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
350
350
|
// Inline function 'kotlin.js.asDynamic' call
|
|
351
|
-
tmp_4.
|
|
351
|
+
tmp_4.q30_1 = ['booleanExpr', 'intExpr'];
|
|
352
352
|
var tmp_5 = this;
|
|
353
353
|
// Inline function 'kotlin.arrayOf' call
|
|
354
354
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
355
355
|
// Inline function 'kotlin.js.asDynamic' call
|
|
356
|
-
tmp_5.
|
|
356
|
+
tmp_5.r30_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
357
357
|
var tmp_6 = this;
|
|
358
358
|
// Inline function 'kotlin.arrayOf' call
|
|
359
359
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
360
360
|
// Inline function 'kotlin.js.asDynamic' call
|
|
361
|
-
tmp_6.
|
|
362
|
-
this.
|
|
361
|
+
tmp_6.s30_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
362
|
+
this.t30_1 = new VocabularyImpl(this.r30_1, this.s30_1);
|
|
363
363
|
var tmp_7 = this;
|
|
364
364
|
var tmp_8 = 0;
|
|
365
|
-
var tmp_9 = this.
|
|
365
|
+
var tmp_9 = this.s30_1.length;
|
|
366
366
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
367
367
|
var tmp_10 = fillArrayVal(Array(tmp_9), null);
|
|
368
368
|
while (tmp_8 < tmp_9) {
|
|
369
369
|
var tmp_11 = tmp_8;
|
|
370
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
371
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().
|
|
370
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().t30_1.l2a(tmp_11);
|
|
371
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().t30_1.m2a(tmp_11) : tmp0_elvis_lhs;
|
|
372
372
|
tmp_10[tmp_11] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
373
373
|
tmp_8 = tmp_8 + 1 | 0;
|
|
374
374
|
}
|
|
375
|
-
tmp_7.
|
|
375
|
+
tmp_7.u30_1 = tmp_10;
|
|
376
376
|
}
|
|
377
377
|
var Companion_instance_0;
|
|
378
378
|
function Companion_getInstance_0() {
|
|
@@ -380,49 +380,49 @@
|
|
|
380
380
|
new Companion_0();
|
|
381
381
|
return Companion_instance_0;
|
|
382
382
|
}
|
|
383
|
-
protoOf(BooleanExprContext).
|
|
384
|
-
return this.
|
|
383
|
+
protoOf(BooleanExprContext).t23 = function () {
|
|
384
|
+
return this.z2z_1;
|
|
385
385
|
};
|
|
386
|
-
protoOf(BooleanExprContext).
|
|
387
|
-
protoOf(ParserRuleContext).
|
|
386
|
+
protoOf(BooleanExprContext).a30 = function (ctx) {
|
|
387
|
+
protoOf(ParserRuleContext).m29.call(this, ctx);
|
|
388
388
|
};
|
|
389
389
|
function BooleanExprContext() {
|
|
390
|
-
this.
|
|
390
|
+
this.z2z_1 = 0;
|
|
391
391
|
}
|
|
392
|
-
protoOf(IntCmpExprContext).
|
|
392
|
+
protoOf(IntCmpExprContext).f31 = function (_set____db54di) {
|
|
393
393
|
this.left$ = _set____db54di;
|
|
394
394
|
};
|
|
395
|
-
protoOf(IntCmpExprContext).
|
|
395
|
+
protoOf(IntCmpExprContext).g31 = function () {
|
|
396
396
|
return this.left$;
|
|
397
397
|
};
|
|
398
|
-
protoOf(IntCmpExprContext).
|
|
398
|
+
protoOf(IntCmpExprContext).h31 = function (_set____db54di) {
|
|
399
399
|
this.op$ = _set____db54di;
|
|
400
400
|
};
|
|
401
|
-
protoOf(IntCmpExprContext).
|
|
401
|
+
protoOf(IntCmpExprContext).i31 = function () {
|
|
402
402
|
return this.op$;
|
|
403
403
|
};
|
|
404
|
-
protoOf(IntCmpExprContext).
|
|
404
|
+
protoOf(IntCmpExprContext).j31 = function (_set____db54di) {
|
|
405
405
|
this.right$ = _set____db54di;
|
|
406
406
|
};
|
|
407
|
-
protoOf(IntCmpExprContext).
|
|
407
|
+
protoOf(IntCmpExprContext).k31 = function () {
|
|
408
408
|
return this.right$;
|
|
409
409
|
};
|
|
410
|
-
protoOf(IntCmpExprContext).
|
|
410
|
+
protoOf(IntCmpExprContext).p28 = function (listener) {
|
|
411
411
|
if (isInterface(listener, StateExpressionListener)) {
|
|
412
|
-
listener.
|
|
412
|
+
listener.u2y(this);
|
|
413
413
|
}
|
|
414
414
|
};
|
|
415
|
-
protoOf(IntCmpExprContext).
|
|
415
|
+
protoOf(IntCmpExprContext).r28 = function (listener) {
|
|
416
416
|
if (isInterface(listener, StateExpressionListener)) {
|
|
417
|
-
listener.
|
|
417
|
+
listener.v2y(this);
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
|
-
protoOf(IntCmpExprContext).
|
|
420
|
+
protoOf(IntCmpExprContext).p29 = function (visitor) {
|
|
421
421
|
var tmp;
|
|
422
422
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
423
|
-
tmp = visitor.
|
|
423
|
+
tmp = visitor.c2x(this);
|
|
424
424
|
} else {
|
|
425
|
-
tmp = visitor.
|
|
425
|
+
tmp = visitor.y29(this);
|
|
426
426
|
}
|
|
427
427
|
return tmp;
|
|
428
428
|
};
|
|
@@ -431,96 +431,96 @@
|
|
|
431
431
|
this.op$ = null;
|
|
432
432
|
this.right$ = null;
|
|
433
433
|
}
|
|
434
|
-
protoOf(ParExprContext).
|
|
434
|
+
protoOf(ParExprContext).v31 = function (_set____db54di) {
|
|
435
435
|
this.expr$ = _set____db54di;
|
|
436
436
|
};
|
|
437
|
-
protoOf(ParExprContext).
|
|
437
|
+
protoOf(ParExprContext).w31 = function () {
|
|
438
438
|
return this.expr$;
|
|
439
439
|
};
|
|
440
|
-
protoOf(ParExprContext).
|
|
440
|
+
protoOf(ParExprContext).p28 = function (listener) {
|
|
441
441
|
if (isInterface(listener, StateExpressionListener)) {
|
|
442
|
-
listener.
|
|
442
|
+
listener.w2y(this);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
|
-
protoOf(ParExprContext).
|
|
445
|
+
protoOf(ParExprContext).r28 = function (listener) {
|
|
446
446
|
if (isInterface(listener, StateExpressionListener)) {
|
|
447
|
-
listener.
|
|
447
|
+
listener.x2y(this);
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
|
-
protoOf(ParExprContext).
|
|
450
|
+
protoOf(ParExprContext).p29 = function (visitor) {
|
|
451
451
|
var tmp;
|
|
452
452
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
453
|
-
tmp = visitor.
|
|
453
|
+
tmp = visitor.d2x(this);
|
|
454
454
|
} else {
|
|
455
|
-
tmp = visitor.
|
|
455
|
+
tmp = visitor.y29(this);
|
|
456
456
|
}
|
|
457
457
|
return tmp;
|
|
458
458
|
};
|
|
459
459
|
function ParExprContext() {
|
|
460
460
|
this.expr$ = null;
|
|
461
461
|
}
|
|
462
|
-
protoOf(BooleanAtomContext).
|
|
462
|
+
protoOf(BooleanAtomContext).h32 = function (_set____db54di) {
|
|
463
463
|
this.atom$ = _set____db54di;
|
|
464
464
|
};
|
|
465
|
-
protoOf(BooleanAtomContext).
|
|
465
|
+
protoOf(BooleanAtomContext).i32 = function () {
|
|
466
466
|
return this.atom$;
|
|
467
467
|
};
|
|
468
|
-
protoOf(BooleanAtomContext).
|
|
468
|
+
protoOf(BooleanAtomContext).p28 = function (listener) {
|
|
469
469
|
if (isInterface(listener, StateExpressionListener)) {
|
|
470
|
-
listener.
|
|
470
|
+
listener.y2y(this);
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
|
-
protoOf(BooleanAtomContext).
|
|
473
|
+
protoOf(BooleanAtomContext).r28 = function (listener) {
|
|
474
474
|
if (isInterface(listener, StateExpressionListener)) {
|
|
475
|
-
listener.
|
|
475
|
+
listener.z2y(this);
|
|
476
476
|
}
|
|
477
477
|
};
|
|
478
|
-
protoOf(BooleanAtomContext).
|
|
478
|
+
protoOf(BooleanAtomContext).p29 = function (visitor) {
|
|
479
479
|
var tmp;
|
|
480
480
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
481
|
-
tmp = visitor.
|
|
481
|
+
tmp = visitor.e2x(this);
|
|
482
482
|
} else {
|
|
483
|
-
tmp = visitor.
|
|
483
|
+
tmp = visitor.y29(this);
|
|
484
484
|
}
|
|
485
485
|
return tmp;
|
|
486
486
|
};
|
|
487
487
|
function BooleanAtomContext() {
|
|
488
488
|
this.atom$ = null;
|
|
489
489
|
}
|
|
490
|
-
protoOf(EqExprContext).
|
|
490
|
+
protoOf(EqExprContext).t32 = function (_set____db54di) {
|
|
491
491
|
this.varName$ = _set____db54di;
|
|
492
492
|
};
|
|
493
|
-
protoOf(EqExprContext).
|
|
493
|
+
protoOf(EqExprContext).u32 = function () {
|
|
494
494
|
return this.varName$;
|
|
495
495
|
};
|
|
496
|
-
protoOf(EqExprContext).
|
|
496
|
+
protoOf(EqExprContext).h31 = function (_set____db54di) {
|
|
497
497
|
this.op$ = _set____db54di;
|
|
498
498
|
};
|
|
499
|
-
protoOf(EqExprContext).
|
|
499
|
+
protoOf(EqExprContext).i31 = function () {
|
|
500
500
|
return this.op$;
|
|
501
501
|
};
|
|
502
|
-
protoOf(EqExprContext).
|
|
502
|
+
protoOf(EqExprContext).v32 = function (_set____db54di) {
|
|
503
503
|
this.value$ = _set____db54di;
|
|
504
504
|
};
|
|
505
|
-
protoOf(EqExprContext).
|
|
505
|
+
protoOf(EqExprContext).w32 = function () {
|
|
506
506
|
return this.value$;
|
|
507
507
|
};
|
|
508
|
-
protoOf(EqExprContext).
|
|
508
|
+
protoOf(EqExprContext).p28 = function (listener) {
|
|
509
509
|
if (isInterface(listener, StateExpressionListener)) {
|
|
510
|
-
listener.
|
|
510
|
+
listener.a2z(this);
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
|
-
protoOf(EqExprContext).
|
|
513
|
+
protoOf(EqExprContext).r28 = function (listener) {
|
|
514
514
|
if (isInterface(listener, StateExpressionListener)) {
|
|
515
|
-
listener.
|
|
515
|
+
listener.b2z(this);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
protoOf(EqExprContext).
|
|
518
|
+
protoOf(EqExprContext).p29 = function (visitor) {
|
|
519
519
|
var tmp;
|
|
520
520
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
521
|
-
tmp = visitor.
|
|
521
|
+
tmp = visitor.f2x(this);
|
|
522
522
|
} else {
|
|
523
|
-
tmp = visitor.
|
|
523
|
+
tmp = visitor.y29(this);
|
|
524
524
|
}
|
|
525
525
|
return tmp;
|
|
526
526
|
};
|
|
@@ -529,90 +529,90 @@
|
|
|
529
529
|
this.op$ = null;
|
|
530
530
|
this.value$ = null;
|
|
531
531
|
}
|
|
532
|
-
protoOf(NotExprContext).
|
|
532
|
+
protoOf(NotExprContext).v31 = function (_set____db54di) {
|
|
533
533
|
this.expr$ = _set____db54di;
|
|
534
534
|
};
|
|
535
|
-
protoOf(NotExprContext).
|
|
535
|
+
protoOf(NotExprContext).w31 = function () {
|
|
536
536
|
return this.expr$;
|
|
537
537
|
};
|
|
538
|
-
protoOf(NotExprContext).
|
|
538
|
+
protoOf(NotExprContext).p28 = function (listener) {
|
|
539
539
|
if (isInterface(listener, StateExpressionListener)) {
|
|
540
|
-
listener.
|
|
540
|
+
listener.c2z(this);
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
|
-
protoOf(NotExprContext).
|
|
543
|
+
protoOf(NotExprContext).r28 = function (listener) {
|
|
544
544
|
if (isInterface(listener, StateExpressionListener)) {
|
|
545
|
-
listener.
|
|
545
|
+
listener.d2z(this);
|
|
546
546
|
}
|
|
547
547
|
};
|
|
548
|
-
protoOf(NotExprContext).
|
|
548
|
+
protoOf(NotExprContext).p29 = function (visitor) {
|
|
549
549
|
var tmp;
|
|
550
550
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
551
|
-
tmp = visitor.
|
|
551
|
+
tmp = visitor.g2x(this);
|
|
552
552
|
} else {
|
|
553
|
-
tmp = visitor.
|
|
553
|
+
tmp = visitor.y29(this);
|
|
554
554
|
}
|
|
555
555
|
return tmp;
|
|
556
556
|
};
|
|
557
557
|
function NotExprContext() {
|
|
558
558
|
this.expr$ = null;
|
|
559
559
|
}
|
|
560
|
-
protoOf(IsSetFuncContext).
|
|
560
|
+
protoOf(IsSetFuncContext).t32 = function (_set____db54di) {
|
|
561
561
|
this.varName$ = _set____db54di;
|
|
562
562
|
};
|
|
563
|
-
protoOf(IsSetFuncContext).
|
|
563
|
+
protoOf(IsSetFuncContext).u32 = function () {
|
|
564
564
|
return this.varName$;
|
|
565
565
|
};
|
|
566
|
-
protoOf(IsSetFuncContext).
|
|
566
|
+
protoOf(IsSetFuncContext).p28 = function (listener) {
|
|
567
567
|
if (isInterface(listener, StateExpressionListener)) {
|
|
568
|
-
listener.
|
|
568
|
+
listener.e2z(this);
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
protoOf(IsSetFuncContext).
|
|
571
|
+
protoOf(IsSetFuncContext).r28 = function (listener) {
|
|
572
572
|
if (isInterface(listener, StateExpressionListener)) {
|
|
573
|
-
listener.
|
|
573
|
+
listener.f2z(this);
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
|
-
protoOf(IsSetFuncContext).
|
|
576
|
+
protoOf(IsSetFuncContext).p29 = function (visitor) {
|
|
577
577
|
var tmp;
|
|
578
578
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
579
|
-
tmp = visitor.
|
|
579
|
+
tmp = visitor.h2x(this);
|
|
580
580
|
} else {
|
|
581
|
-
tmp = visitor.
|
|
581
|
+
tmp = visitor.y29(this);
|
|
582
582
|
}
|
|
583
583
|
return tmp;
|
|
584
584
|
};
|
|
585
585
|
function IsSetFuncContext() {
|
|
586
586
|
this.varName$ = null;
|
|
587
587
|
}
|
|
588
|
-
protoOf(OrExprContext).
|
|
588
|
+
protoOf(OrExprContext).b34 = function (_set____db54di) {
|
|
589
589
|
this.left$ = _set____db54di;
|
|
590
590
|
};
|
|
591
|
-
protoOf(OrExprContext).
|
|
591
|
+
protoOf(OrExprContext).g31 = function () {
|
|
592
592
|
return this.left$;
|
|
593
593
|
};
|
|
594
|
-
protoOf(OrExprContext).
|
|
594
|
+
protoOf(OrExprContext).c34 = function (_set____db54di) {
|
|
595
595
|
this.right$ = _set____db54di;
|
|
596
596
|
};
|
|
597
|
-
protoOf(OrExprContext).
|
|
597
|
+
protoOf(OrExprContext).k31 = function () {
|
|
598
598
|
return this.right$;
|
|
599
599
|
};
|
|
600
|
-
protoOf(OrExprContext).
|
|
600
|
+
protoOf(OrExprContext).p28 = function (listener) {
|
|
601
601
|
if (isInterface(listener, StateExpressionListener)) {
|
|
602
|
-
listener.
|
|
602
|
+
listener.g2z(this);
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
protoOf(OrExprContext).
|
|
605
|
+
protoOf(OrExprContext).r28 = function (listener) {
|
|
606
606
|
if (isInterface(listener, StateExpressionListener)) {
|
|
607
|
-
listener.
|
|
607
|
+
listener.h2z(this);
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
|
-
protoOf(OrExprContext).
|
|
610
|
+
protoOf(OrExprContext).p29 = function (visitor) {
|
|
611
611
|
var tmp;
|
|
612
612
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
613
|
-
tmp = visitor.
|
|
613
|
+
tmp = visitor.i2x(this);
|
|
614
614
|
} else {
|
|
615
|
-
tmp = visitor.
|
|
615
|
+
tmp = visitor.y29(this);
|
|
616
616
|
}
|
|
617
617
|
return tmp;
|
|
618
618
|
};
|
|
@@ -620,34 +620,34 @@
|
|
|
620
620
|
this.left$ = null;
|
|
621
621
|
this.right$ = null;
|
|
622
622
|
}
|
|
623
|
-
protoOf(AndExprContext).
|
|
623
|
+
protoOf(AndExprContext).b34 = function (_set____db54di) {
|
|
624
624
|
this.left$ = _set____db54di;
|
|
625
625
|
};
|
|
626
|
-
protoOf(AndExprContext).
|
|
626
|
+
protoOf(AndExprContext).g31 = function () {
|
|
627
627
|
return this.left$;
|
|
628
628
|
};
|
|
629
|
-
protoOf(AndExprContext).
|
|
629
|
+
protoOf(AndExprContext).c34 = function (_set____db54di) {
|
|
630
630
|
this.right$ = _set____db54di;
|
|
631
631
|
};
|
|
632
|
-
protoOf(AndExprContext).
|
|
632
|
+
protoOf(AndExprContext).k31 = function () {
|
|
633
633
|
return this.right$;
|
|
634
634
|
};
|
|
635
|
-
protoOf(AndExprContext).
|
|
635
|
+
protoOf(AndExprContext).p28 = function (listener) {
|
|
636
636
|
if (isInterface(listener, StateExpressionListener)) {
|
|
637
|
-
listener.
|
|
637
|
+
listener.i2z(this);
|
|
638
638
|
}
|
|
639
639
|
};
|
|
640
|
-
protoOf(AndExprContext).
|
|
640
|
+
protoOf(AndExprContext).r28 = function (listener) {
|
|
641
641
|
if (isInterface(listener, StateExpressionListener)) {
|
|
642
|
-
listener.
|
|
642
|
+
listener.j2z(this);
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
|
-
protoOf(AndExprContext).
|
|
645
|
+
protoOf(AndExprContext).p29 = function (visitor) {
|
|
646
646
|
var tmp;
|
|
647
647
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
648
|
-
tmp = visitor.
|
|
648
|
+
tmp = visitor.j2x(this);
|
|
649
649
|
} else {
|
|
650
|
-
tmp = visitor.
|
|
650
|
+
tmp = visitor.y29(this);
|
|
651
651
|
}
|
|
652
652
|
return tmp;
|
|
653
653
|
};
|
|
@@ -656,276 +656,276 @@
|
|
|
656
656
|
this.right$ = null;
|
|
657
657
|
}
|
|
658
658
|
function booleanExpr($this, _p) {
|
|
659
|
-
var _parentctx = $this.
|
|
660
|
-
var _parentState = $this.
|
|
661
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
659
|
+
var _parentctx = $this.h1x_1;
|
|
660
|
+
var _parentState = $this.j21_1;
|
|
661
|
+
var _localctx = BooleanExprContext_init_$Create$($this.h1x_1, _parentState);
|
|
662
662
|
var _prevctx = _localctx;
|
|
663
663
|
var _startState = 0;
|
|
664
664
|
var _token;
|
|
665
665
|
var _ctx;
|
|
666
|
-
$this.
|
|
666
|
+
$this.e29(_localctx, 0, 0, _p);
|
|
667
667
|
var _la;
|
|
668
668
|
try {
|
|
669
669
|
var _alt;
|
|
670
|
-
$this.
|
|
671
|
-
$this.
|
|
672
|
-
$this.
|
|
673
|
-
switch ($this.
|
|
670
|
+
$this.b29(_localctx, 1);
|
|
671
|
+
$this.j21_1 = 22;
|
|
672
|
+
$this.e1x_1.y1x($this);
|
|
673
|
+
switch ($this.s22().o2o($this.f1x_1, 0, $this.h1x_1)) {
|
|
674
674
|
case 1:
|
|
675
675
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
676
|
-
$this.
|
|
676
|
+
$this.h1x_1 = _localctx;
|
|
677
677
|
_prevctx = _localctx;
|
|
678
|
-
$this.
|
|
679
|
-
$this.
|
|
680
|
-
$this.
|
|
678
|
+
$this.j21_1 = 5;
|
|
679
|
+
$this.k28(10);
|
|
680
|
+
$this.j21_1 = 6;
|
|
681
681
|
_ctx = booleanExpr($this, 0);
|
|
682
682
|
_localctx.expr$ = _ctx;
|
|
683
|
-
$this.
|
|
684
|
-
$this.
|
|
683
|
+
$this.j21_1 = 7;
|
|
684
|
+
$this.k28(11);
|
|
685
685
|
break;
|
|
686
686
|
case 2:
|
|
687
687
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
688
|
-
$this.
|
|
688
|
+
$this.h1x_1 = _localctx;
|
|
689
689
|
_prevctx = _localctx;
|
|
690
|
-
$this.
|
|
691
|
-
$this.
|
|
692
|
-
$this.
|
|
690
|
+
$this.j21_1 = 9;
|
|
691
|
+
$this.k28(5);
|
|
692
|
+
$this.j21_1 = 10;
|
|
693
693
|
_ctx = booleanExpr($this, 7);
|
|
694
694
|
_localctx.expr$ = _ctx;
|
|
695
695
|
break;
|
|
696
696
|
case 3:
|
|
697
697
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
698
|
-
$this.
|
|
698
|
+
$this.h1x_1 = _localctx;
|
|
699
699
|
_prevctx = _localctx;
|
|
700
|
-
$this.
|
|
701
|
-
$this.
|
|
702
|
-
$this.
|
|
703
|
-
_token = $this.
|
|
700
|
+
$this.j21_1 = 11;
|
|
701
|
+
$this.k28(14);
|
|
702
|
+
$this.j21_1 = 12;
|
|
703
|
+
_token = $this.k28(18);
|
|
704
704
|
_localctx.varName$ = _token;
|
|
705
|
-
$this.
|
|
706
|
-
$this.
|
|
705
|
+
$this.j21_1 = 13;
|
|
706
|
+
$this.k28(11);
|
|
707
707
|
break;
|
|
708
708
|
case 4:
|
|
709
709
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
710
|
-
$this.
|
|
710
|
+
$this.h1x_1 = _localctx;
|
|
711
711
|
_prevctx = _localctx;
|
|
712
|
-
$this.
|
|
713
|
-
_token = $this.
|
|
712
|
+
$this.j21_1 = 14;
|
|
713
|
+
_token = $this.k28(18);
|
|
714
714
|
_localctx.varName$ = _token;
|
|
715
|
-
$this.
|
|
716
|
-
_token = $this.
|
|
715
|
+
$this.j21_1 = 15;
|
|
716
|
+
_token = $this.f1x_1.w1z(1);
|
|
717
717
|
_localctx.op$ = _token;
|
|
718
|
-
_la = $this.
|
|
718
|
+
_la = $this.f1x_1.q1z(1);
|
|
719
719
|
if (!(_la === 1 || _la === 2)) {
|
|
720
|
-
_token = $this.
|
|
720
|
+
_token = $this.e1x_1.x1x($this);
|
|
721
721
|
_localctx.op$ = _token;
|
|
722
722
|
} else {
|
|
723
|
-
if ($this.
|
|
724
|
-
$this.
|
|
723
|
+
if ($this.f1x_1.q1z(1) === -1) {
|
|
724
|
+
$this.m1x_1 = true;
|
|
725
725
|
}
|
|
726
|
-
$this.
|
|
727
|
-
$this.
|
|
726
|
+
$this.e1x_1.i1y($this);
|
|
727
|
+
$this.b22();
|
|
728
728
|
}
|
|
729
729
|
|
|
730
|
-
$this.
|
|
731
|
-
_token = $this.
|
|
730
|
+
$this.j21_1 = 16;
|
|
731
|
+
_token = $this.k28(17);
|
|
732
732
|
_localctx.value$ = _token;
|
|
733
733
|
break;
|
|
734
734
|
case 5:
|
|
735
735
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
736
|
-
$this.
|
|
736
|
+
$this.h1x_1 = _localctx;
|
|
737
737
|
_prevctx = _localctx;
|
|
738
|
-
$this.
|
|
739
|
-
_ctx = $this.
|
|
738
|
+
$this.j21_1 = 17;
|
|
739
|
+
_ctx = $this.g35();
|
|
740
740
|
_localctx.left$ = _ctx;
|
|
741
|
-
$this.
|
|
742
|
-
_token = $this.
|
|
741
|
+
$this.j21_1 = 18;
|
|
742
|
+
_token = $this.f1x_1.w1z(1);
|
|
743
743
|
_localctx.op$ = _token;
|
|
744
|
-
_la = $this.
|
|
745
|
-
if (!((_la & -64) === 0 && !(new Long(1, 0)).
|
|
746
|
-
_token = $this.
|
|
744
|
+
_la = $this.f1x_1.q1z(1);
|
|
745
|
+
if (!((_la & -64) === 0 && !(new Long(1, 0)).j3(_la).m3(new Long(966, 0)).equals(new Long(0, 0)))) {
|
|
746
|
+
_token = $this.e1x_1.x1x($this);
|
|
747
747
|
_localctx.op$ = _token;
|
|
748
748
|
} else {
|
|
749
|
-
if ($this.
|
|
750
|
-
$this.
|
|
749
|
+
if ($this.f1x_1.q1z(1) === -1) {
|
|
750
|
+
$this.m1x_1 = true;
|
|
751
751
|
}
|
|
752
|
-
$this.
|
|
753
|
-
$this.
|
|
752
|
+
$this.e1x_1.i1y($this);
|
|
753
|
+
$this.b22();
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
$this.
|
|
757
|
-
_ctx = $this.
|
|
756
|
+
$this.j21_1 = 19;
|
|
757
|
+
_ctx = $this.g35();
|
|
758
758
|
_localctx.right$ = _ctx;
|
|
759
759
|
break;
|
|
760
760
|
case 6:
|
|
761
761
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
762
|
-
$this.
|
|
762
|
+
$this.h1x_1 = _localctx;
|
|
763
763
|
_prevctx = _localctx;
|
|
764
|
-
$this.
|
|
765
|
-
_token = $this.
|
|
764
|
+
$this.j21_1 = 21;
|
|
765
|
+
_token = $this.f1x_1.w1z(1);
|
|
766
766
|
_localctx.atom$ = _token;
|
|
767
|
-
_la = $this.
|
|
767
|
+
_la = $this.f1x_1.q1z(1);
|
|
768
768
|
if (!(_la === 12 || _la === 13)) {
|
|
769
|
-
_token = $this.
|
|
769
|
+
_token = $this.e1x_1.x1x($this);
|
|
770
770
|
_localctx.atom$ = _token;
|
|
771
771
|
} else {
|
|
772
|
-
if ($this.
|
|
773
|
-
$this.
|
|
772
|
+
if ($this.f1x_1.q1z(1) === -1) {
|
|
773
|
+
$this.m1x_1 = true;
|
|
774
774
|
}
|
|
775
|
-
$this.
|
|
776
|
-
$this.
|
|
775
|
+
$this.e1x_1.i1y($this);
|
|
776
|
+
$this.b22();
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
break;
|
|
780
780
|
}
|
|
781
|
-
ensureNotNull($this.
|
|
782
|
-
$this.
|
|
783
|
-
$this.
|
|
784
|
-
_alt = $this.
|
|
781
|
+
ensureNotNull($this.h1x_1).u1x_1 = $this.f1x_1.w1z(-1);
|
|
782
|
+
$this.j21_1 = 32;
|
|
783
|
+
$this.e1x_1.y1x($this);
|
|
784
|
+
_alt = $this.s22().o2o($this.f1x_1, 2, $this.h1x_1);
|
|
785
785
|
while (!(_alt === 2) && !(_alt === 0)) {
|
|
786
786
|
if (_alt === 1) {
|
|
787
787
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
788
|
-
if (!$this.
|
|
789
|
-
$this.
|
|
788
|
+
if (!$this.k1x_1.p()) {
|
|
789
|
+
$this.q28();
|
|
790
790
|
}
|
|
791
791
|
_prevctx = _localctx;
|
|
792
|
-
$this.
|
|
793
|
-
$this.
|
|
794
|
-
var tmp1_subject = $this.
|
|
792
|
+
$this.j21_1 = 30;
|
|
793
|
+
$this.e1x_1.y1x($this);
|
|
794
|
+
var tmp1_subject = $this.s22().o2o($this.f1x_1, 1, $this.h1x_1);
|
|
795
795
|
if (tmp1_subject === 1) {
|
|
796
796
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
797
797
|
_localctx.left$ = _prevctx;
|
|
798
|
-
$this.
|
|
799
|
-
$this.
|
|
800
|
-
if (!$this.
|
|
798
|
+
$this.f29(_localctx, _startState, 0);
|
|
799
|
+
$this.j21_1 = 24;
|
|
800
|
+
if (!$this.l27(ensureNotNull($this.h1x_1), 6)) {
|
|
801
801
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
802
802
|
}
|
|
803
|
-
$this.
|
|
804
|
-
$this.
|
|
805
|
-
$this.
|
|
803
|
+
$this.j21_1 = 25;
|
|
804
|
+
$this.k28(3);
|
|
805
|
+
$this.j21_1 = 26;
|
|
806
806
|
_ctx = booleanExpr($this, 7);
|
|
807
807
|
_localctx.right$ = _ctx;
|
|
808
808
|
} else if (tmp1_subject === 2) {
|
|
809
809
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
810
810
|
_localctx.left$ = _prevctx;
|
|
811
|
-
$this.
|
|
812
|
-
$this.
|
|
813
|
-
if (!$this.
|
|
811
|
+
$this.f29(_localctx, _startState, 0);
|
|
812
|
+
$this.j21_1 = 27;
|
|
813
|
+
if (!$this.l27(ensureNotNull($this.h1x_1), 5)) {
|
|
814
814
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
815
815
|
}
|
|
816
|
-
$this.
|
|
817
|
-
$this.
|
|
818
|
-
$this.
|
|
816
|
+
$this.j21_1 = 28;
|
|
817
|
+
$this.k28(4);
|
|
818
|
+
$this.j21_1 = 29;
|
|
819
819
|
_ctx = booleanExpr($this, 6);
|
|
820
820
|
_localctx.right$ = _ctx;
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
-
$this.
|
|
824
|
-
$this.
|
|
825
|
-
_alt = $this.
|
|
823
|
+
$this.j21_1 = 34;
|
|
824
|
+
$this.e1x_1.y1x($this);
|
|
825
|
+
_alt = $this.s22().o2o($this.f1x_1, 2, $this.h1x_1);
|
|
826
826
|
}
|
|
827
827
|
} catch ($p) {
|
|
828
828
|
if ($p instanceof RecognitionException) {
|
|
829
829
|
var re = $p;
|
|
830
|
-
_localctx.
|
|
831
|
-
$this.
|
|
832
|
-
$this.
|
|
830
|
+
_localctx.v1x_1 = re;
|
|
831
|
+
$this.e1x_1.j1y($this, re);
|
|
832
|
+
$this.e1x_1.a1x($this, re);
|
|
833
833
|
} else {
|
|
834
834
|
throw $p;
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
finally {
|
|
838
|
-
$this.
|
|
838
|
+
$this.h29(_parentctx);
|
|
839
839
|
}
|
|
840
840
|
return _localctx;
|
|
841
841
|
}
|
|
842
|
-
protoOf(IntExprContext).
|
|
843
|
-
return this.
|
|
842
|
+
protoOf(IntExprContext).t23 = function () {
|
|
843
|
+
return this.k30_1;
|
|
844
844
|
};
|
|
845
|
-
protoOf(IntExprContext).
|
|
846
|
-
protoOf(ParserRuleContext).
|
|
845
|
+
protoOf(IntExprContext).l30 = function (ctx) {
|
|
846
|
+
protoOf(ParserRuleContext).m29.call(this, ctx);
|
|
847
847
|
};
|
|
848
848
|
function IntExprContext() {
|
|
849
|
-
this.
|
|
849
|
+
this.k30_1 = 1;
|
|
850
850
|
}
|
|
851
|
-
protoOf(IntAtomContext).
|
|
851
|
+
protoOf(IntAtomContext).v32 = function (_set____db54di) {
|
|
852
852
|
this.value$ = _set____db54di;
|
|
853
853
|
};
|
|
854
|
-
protoOf(IntAtomContext).
|
|
854
|
+
protoOf(IntAtomContext).w32 = function () {
|
|
855
855
|
return this.value$;
|
|
856
856
|
};
|
|
857
|
-
protoOf(IntAtomContext).
|
|
857
|
+
protoOf(IntAtomContext).p28 = function (listener) {
|
|
858
858
|
if (isInterface(listener, StateExpressionListener)) {
|
|
859
|
-
listener.
|
|
859
|
+
listener.o2z(this);
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
|
-
protoOf(IntAtomContext).
|
|
862
|
+
protoOf(IntAtomContext).r28 = function (listener) {
|
|
863
863
|
if (isInterface(listener, StateExpressionListener)) {
|
|
864
|
-
listener.
|
|
864
|
+
listener.p2z(this);
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
|
-
protoOf(IntAtomContext).
|
|
867
|
+
protoOf(IntAtomContext).p29 = function (visitor) {
|
|
868
868
|
var tmp;
|
|
869
869
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
870
|
-
tmp = visitor.
|
|
870
|
+
tmp = visitor.m2x(this);
|
|
871
871
|
} else {
|
|
872
|
-
tmp = visitor.
|
|
872
|
+
tmp = visitor.y29(this);
|
|
873
873
|
}
|
|
874
874
|
return tmp;
|
|
875
875
|
};
|
|
876
876
|
function IntAtomContext() {
|
|
877
877
|
this.value$ = null;
|
|
878
878
|
}
|
|
879
|
-
protoOf(ParIntExprContext).
|
|
879
|
+
protoOf(ParIntExprContext).b36 = function (_set____db54di) {
|
|
880
880
|
this.expr$ = _set____db54di;
|
|
881
881
|
};
|
|
882
|
-
protoOf(ParIntExprContext).
|
|
882
|
+
protoOf(ParIntExprContext).w31 = function () {
|
|
883
883
|
return this.expr$;
|
|
884
884
|
};
|
|
885
|
-
protoOf(ParIntExprContext).
|
|
885
|
+
protoOf(ParIntExprContext).p28 = function (listener) {
|
|
886
886
|
if (isInterface(listener, StateExpressionListener)) {
|
|
887
|
-
listener.
|
|
887
|
+
listener.k2z(this);
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
|
-
protoOf(ParIntExprContext).
|
|
890
|
+
protoOf(ParIntExprContext).r28 = function (listener) {
|
|
891
891
|
if (isInterface(listener, StateExpressionListener)) {
|
|
892
|
-
listener.
|
|
892
|
+
listener.l2z(this);
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
|
-
protoOf(ParIntExprContext).
|
|
895
|
+
protoOf(ParIntExprContext).p29 = function (visitor) {
|
|
896
896
|
var tmp;
|
|
897
897
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
898
|
-
tmp = visitor.
|
|
898
|
+
tmp = visitor.k2x(this);
|
|
899
899
|
} else {
|
|
900
|
-
tmp = visitor.
|
|
900
|
+
tmp = visitor.y29(this);
|
|
901
901
|
}
|
|
902
902
|
return tmp;
|
|
903
903
|
};
|
|
904
904
|
function ParIntExprContext() {
|
|
905
905
|
this.expr$ = null;
|
|
906
906
|
}
|
|
907
|
-
protoOf(ValuesFuncContext).
|
|
907
|
+
protoOf(ValuesFuncContext).t32 = function (_set____db54di) {
|
|
908
908
|
this.varName$ = _set____db54di;
|
|
909
909
|
};
|
|
910
|
-
protoOf(ValuesFuncContext).
|
|
910
|
+
protoOf(ValuesFuncContext).u32 = function () {
|
|
911
911
|
return this.varName$;
|
|
912
912
|
};
|
|
913
|
-
protoOf(ValuesFuncContext).
|
|
913
|
+
protoOf(ValuesFuncContext).p28 = function (listener) {
|
|
914
914
|
if (isInterface(listener, StateExpressionListener)) {
|
|
915
|
-
listener.
|
|
915
|
+
listener.m2z(this);
|
|
916
916
|
}
|
|
917
917
|
};
|
|
918
|
-
protoOf(ValuesFuncContext).
|
|
918
|
+
protoOf(ValuesFuncContext).r28 = function (listener) {
|
|
919
919
|
if (isInterface(listener, StateExpressionListener)) {
|
|
920
|
-
listener.
|
|
920
|
+
listener.n2z(this);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
|
-
protoOf(ValuesFuncContext).
|
|
923
|
+
protoOf(ValuesFuncContext).p29 = function (visitor) {
|
|
924
924
|
var tmp;
|
|
925
925
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
926
|
-
tmp = visitor.
|
|
926
|
+
tmp = visitor.l2x(this);
|
|
927
927
|
} else {
|
|
928
|
-
tmp = visitor.
|
|
928
|
+
tmp = visitor.y29(this);
|
|
929
929
|
}
|
|
930
930
|
return tmp;
|
|
931
931
|
};
|
|
@@ -934,76 +934,76 @@
|
|
|
934
934
|
}
|
|
935
935
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
936
936
|
if (predIndex === 0)
|
|
937
|
-
return $this.
|
|
937
|
+
return $this.l27(ensureNotNull($this.h1x_1), 6);
|
|
938
938
|
else if (predIndex === 1)
|
|
939
|
-
return $this.
|
|
939
|
+
return $this.l27(ensureNotNull($this.h1x_1), 5);
|
|
940
940
|
return true;
|
|
941
941
|
}
|
|
942
942
|
function StateExpressionParser(input) {
|
|
943
943
|
Companion_getInstance_0();
|
|
944
944
|
Parser.call(this, input);
|
|
945
|
-
this.
|
|
946
|
-
this.
|
|
947
|
-
this.
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
951
|
-
this.
|
|
945
|
+
this.z34_1 = new ParserATNSimulator(this, Companion_getInstance_0().n30_1, Companion_getInstance_0().o30_1, Companion_getInstance_0().p30_1);
|
|
946
|
+
this.a35_1 = 'StateExpression.g4';
|
|
947
|
+
this.b35_1 = Companion_getInstance_0().u30_1;
|
|
948
|
+
this.c35_1 = Companion_getInstance_0().q30_1;
|
|
949
|
+
this.d35_1 = Companion_getInstance_0().n30_1;
|
|
950
|
+
this.e35_1 = Companion_getInstance_0().t30_1;
|
|
951
|
+
this.f35_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 +';
|
|
952
952
|
}
|
|
953
|
-
protoOf(StateExpressionParser).
|
|
954
|
-
return this.x34_1;
|
|
955
|
-
};
|
|
956
|
-
protoOf(StateExpressionParser).j26 = function () {
|
|
953
|
+
protoOf(StateExpressionParser).s22 = function () {
|
|
957
954
|
return this.z34_1;
|
|
958
955
|
};
|
|
959
|
-
protoOf(StateExpressionParser).
|
|
960
|
-
return this.a35_1;
|
|
961
|
-
};
|
|
962
|
-
protoOf(StateExpressionParser).r22 = function () {
|
|
956
|
+
protoOf(StateExpressionParser).l26 = function () {
|
|
963
957
|
return this.b35_1;
|
|
964
958
|
};
|
|
965
|
-
protoOf(StateExpressionParser).
|
|
959
|
+
protoOf(StateExpressionParser).n23 = function () {
|
|
966
960
|
return this.c35_1;
|
|
967
961
|
};
|
|
968
|
-
protoOf(StateExpressionParser).
|
|
962
|
+
protoOf(StateExpressionParser).t22 = function () {
|
|
963
|
+
return this.d35_1;
|
|
964
|
+
};
|
|
965
|
+
protoOf(StateExpressionParser).k21 = function () {
|
|
966
|
+
return this.e35_1;
|
|
967
|
+
};
|
|
968
|
+
protoOf(StateExpressionParser).m36 = function () {
|
|
969
969
|
return booleanExpr(this, 0);
|
|
970
970
|
};
|
|
971
|
-
protoOf(StateExpressionParser).
|
|
972
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
971
|
+
protoOf(StateExpressionParser).g35 = function () {
|
|
972
|
+
var _localctx = IntExprContext_init_$Create$(this.h1x_1, this.j21_1);
|
|
973
973
|
var _token;
|
|
974
974
|
var _ctx;
|
|
975
|
-
this.
|
|
975
|
+
this.z28(_localctx, 2, 1);
|
|
976
976
|
try {
|
|
977
|
-
this.
|
|
978
|
-
this.
|
|
979
|
-
switch (this.
|
|
977
|
+
this.j21_1 = 43;
|
|
978
|
+
this.e1x_1.y1x(this);
|
|
979
|
+
switch (this.f1x_1.q1z(1)) {
|
|
980
980
|
case 10:
|
|
981
981
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
982
|
-
this.
|
|
983
|
-
this.
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
986
|
-
_ctx = this.
|
|
982
|
+
this.b29(_localctx, 1);
|
|
983
|
+
this.j21_1 = 35;
|
|
984
|
+
this.k28(10);
|
|
985
|
+
this.j21_1 = 36;
|
|
986
|
+
_ctx = this.g35();
|
|
987
987
|
_localctx.expr$ = _ctx;
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
988
|
+
this.j21_1 = 37;
|
|
989
|
+
this.k28(11);
|
|
990
990
|
break;
|
|
991
991
|
case 15:
|
|
992
992
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
997
|
-
_token = this.
|
|
993
|
+
this.b29(_localctx, 2);
|
|
994
|
+
this.j21_1 = 39;
|
|
995
|
+
this.k28(15);
|
|
996
|
+
this.j21_1 = 40;
|
|
997
|
+
_token = this.k28(18);
|
|
998
998
|
_localctx.varName$ = _token;
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
999
|
+
this.j21_1 = 41;
|
|
1000
|
+
this.k28(11);
|
|
1001
1001
|
break;
|
|
1002
1002
|
case 16:
|
|
1003
1003
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1006
|
-
_token = this.
|
|
1004
|
+
this.b29(_localctx, 3);
|
|
1005
|
+
this.j21_1 = 42;
|
|
1006
|
+
_token = this.k28(16);
|
|
1007
1007
|
_localctx.value$ = _token;
|
|
1008
1008
|
break;
|
|
1009
1009
|
default:
|
|
@@ -1012,19 +1012,19 @@
|
|
|
1012
1012
|
} catch ($p) {
|
|
1013
1013
|
if ($p instanceof RecognitionException) {
|
|
1014
1014
|
var re = $p;
|
|
1015
|
-
_localctx.
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1015
|
+
_localctx.v1x_1 = re;
|
|
1016
|
+
this.e1x_1.j1y(this, re);
|
|
1017
|
+
this.e1x_1.a1x(this, re);
|
|
1018
1018
|
} else {
|
|
1019
1019
|
throw $p;
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
finally {
|
|
1023
|
-
this.
|
|
1023
|
+
this.a29();
|
|
1024
1024
|
}
|
|
1025
1025
|
return _localctx;
|
|
1026
1026
|
};
|
|
1027
|
-
protoOf(StateExpressionParser).
|
|
1027
|
+
protoOf(StateExpressionParser).k27 = function (_localctx, ruleIndex, predIndex) {
|
|
1028
1028
|
if (ruleIndex === 0) {
|
|
1029
1029
|
return booleanExpr_sempred(this, (_localctx == null ? true : _localctx instanceof BooleanExprContext) ? _localctx : THROW_CCE(), predIndex);
|
|
1030
1030
|
}
|
|
@@ -1033,15 +1033,15 @@
|
|
|
1033
1033
|
function StateExpressionVisitor() {
|
|
1034
1034
|
}
|
|
1035
1035
|
function Expression(expr, raw) {
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1036
|
+
this.n36_1 = expr;
|
|
1037
|
+
this.o36_1 = raw;
|
|
1038
1038
|
}
|
|
1039
|
-
protoOf(Expression).
|
|
1040
|
-
return !(this.
|
|
1039
|
+
protoOf(Expression).p36 = function () {
|
|
1040
|
+
return !(this.n36_1 == null);
|
|
1041
1041
|
};
|
|
1042
|
-
protoOf(Expression).
|
|
1042
|
+
protoOf(Expression).q36 = function (state) {
|
|
1043
1043
|
// Inline function 'kotlin.checkNotNull' call
|
|
1044
|
-
var tmp0 = this.
|
|
1044
|
+
var tmp0 = this.n36_1;
|
|
1045
1045
|
var tmp$ret$1;
|
|
1046
1046
|
$l$block: {
|
|
1047
1047
|
// Inline function 'kotlin.checkNotNull' call
|
|
@@ -1054,10 +1054,10 @@
|
|
|
1054
1054
|
break $l$block;
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
|
-
return tmp$ret$1.
|
|
1057
|
+
return tmp$ret$1.p29((new StateExpressionEvaluator(state)).s36_1);
|
|
1058
1058
|
};
|
|
1059
|
-
protoOf(Expression).
|
|
1060
|
-
var tmp0_safe_receiver = this.
|
|
1059
|
+
protoOf(Expression).u36 = function () {
|
|
1060
|
+
var tmp0_safe_receiver = this.n36_1;
|
|
1061
1061
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1062
1062
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1063
1063
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
@@ -1074,7 +1074,7 @@
|
|
|
1074
1074
|
if (!(other instanceof Expression)) {
|
|
1075
1075
|
tmp = false;
|
|
1076
1076
|
} else {
|
|
1077
|
-
if (!(this.
|
|
1077
|
+
if (!(this.o36_1 === other.o36_1)) {
|
|
1078
1078
|
tmp = false;
|
|
1079
1079
|
} else {
|
|
1080
1080
|
tmp = true;
|
|
@@ -1085,7 +1085,7 @@
|
|
|
1085
1085
|
return tmp;
|
|
1086
1086
|
};
|
|
1087
1087
|
protoOf(Expression).hashCode = function () {
|
|
1088
|
-
return getStringHashCode(this.
|
|
1088
|
+
return getStringHashCode(this.o36_1);
|
|
1089
1089
|
};
|
|
1090
1090
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1091
1091
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
@@ -1093,11 +1093,11 @@
|
|
|
1093
1093
|
return null;
|
|
1094
1094
|
var tmp;
|
|
1095
1095
|
try {
|
|
1096
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1096
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().u1w(_this__u8e3s4)));
|
|
1097
1097
|
var parser = new StateExpressionParser(tokens);
|
|
1098
|
-
parser.
|
|
1099
|
-
var expr = parser.
|
|
1100
|
-
tmp = tokens.o(tokens.
|
|
1098
|
+
parser.e1x_1 = new BailErrorStrategy();
|
|
1099
|
+
var expr = parser.m36();
|
|
1100
|
+
tmp = tokens.o(tokens.i1z()).v1z() === -1 ? expr : null;
|
|
1101
1101
|
} catch ($p) {
|
|
1102
1102
|
var tmp_0;
|
|
1103
1103
|
if ($p instanceof ParseCancellationException) {
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
}
|
|
1114
1114
|
function vars(_this__u8e3s4) {
|
|
1115
1115
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1116
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1116
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s1x_1;
|
|
1117
1117
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1118
1118
|
var tmp0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1119
1119
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -1125,16 +1125,16 @@
|
|
|
1125
1125
|
var tmp;
|
|
1126
1126
|
if (isInterface(element, TerminalNode)) {
|
|
1127
1127
|
// Inline function 'kotlin.takeIf' call
|
|
1128
|
-
var this_0 = element.
|
|
1128
|
+
var this_0 = element.d2w();
|
|
1129
1129
|
var tmp_0;
|
|
1130
1130
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1131
|
-
if (this_0.
|
|
1131
|
+
if (this_0.v1z() === 18) {
|
|
1132
1132
|
tmp_0 = this_0;
|
|
1133
1133
|
} else {
|
|
1134
1134
|
tmp_0 = null;
|
|
1135
1135
|
}
|
|
1136
1136
|
var tmp1_safe_receiver = tmp_0;
|
|
1137
|
-
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1137
|
+
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.e20());
|
|
1138
1138
|
} else {
|
|
1139
1139
|
if (element instanceof ParserRuleContext) {
|
|
1140
1140
|
tmp = vars(element);
|
|
@@ -1148,28 +1148,28 @@
|
|
|
1148
1148
|
return destination;
|
|
1149
1149
|
}
|
|
1150
1150
|
function unexpectedToken($this, token) {
|
|
1151
|
-
var message = 'Unexpected token: ' + token.
|
|
1151
|
+
var message = 'Unexpected token: ' + token.e20();
|
|
1152
1152
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1153
1153
|
}
|
|
1154
1154
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1155
|
-
this.
|
|
1155
|
+
this.v36_1 = this$0;
|
|
1156
1156
|
StateExpressionBaseVisitor.call(this);
|
|
1157
1157
|
}
|
|
1158
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1159
|
-
return ensureNotNull(ctx.expr$).
|
|
1160
|
-
};
|
|
1161
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).e2x = function (ctx) {
|
|
1162
|
-
return !ensureNotNull(ctx.expr$).n29(this);
|
|
1158
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).d2x = function (ctx) {
|
|
1159
|
+
return ensureNotNull(ctx.expr$).p29(this);
|
|
1163
1160
|
};
|
|
1164
1161
|
protoOf(StateExpressionEvaluator$booleanExpr$1).g2x = function (ctx) {
|
|
1165
|
-
return ensureNotNull(ctx.
|
|
1162
|
+
return !ensureNotNull(ctx.expr$).p29(this);
|
|
1166
1163
|
};
|
|
1167
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1168
|
-
return ensureNotNull(ctx.left$).
|
|
1164
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).i2x = function (ctx) {
|
|
1165
|
+
return ensureNotNull(ctx.left$).p29(this) || ensureNotNull(ctx.right$).p29(this);
|
|
1169
1166
|
};
|
|
1170
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1167
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).j2x = function (ctx) {
|
|
1168
|
+
return ensureNotNull(ctx.left$).p29(this) && ensureNotNull(ctx.right$).p29(this);
|
|
1169
|
+
};
|
|
1170
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).e2x = function (ctx) {
|
|
1171
1171
|
var tmp;
|
|
1172
|
-
switch (ensureNotNull(ctx.atom$).
|
|
1172
|
+
switch (ensureNotNull(ctx.atom$).v1z()) {
|
|
1173
1173
|
case 12:
|
|
1174
1174
|
tmp = true;
|
|
1175
1175
|
break;
|
|
@@ -1177,39 +1177,39 @@
|
|
|
1177
1177
|
tmp = false;
|
|
1178
1178
|
break;
|
|
1179
1179
|
default:
|
|
1180
|
-
unexpectedToken(this.
|
|
1180
|
+
unexpectedToken(this.v36_1, ensureNotNull(ctx.atom$));
|
|
1181
1181
|
break;
|
|
1182
1182
|
}
|
|
1183
1183
|
return tmp;
|
|
1184
1184
|
};
|
|
1185
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1186
|
-
var varName = ensureNotNull(ensureNotNull(ctx.varName$).
|
|
1185
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).f2x = function (ctx) {
|
|
1186
|
+
var varName = ensureNotNull(ensureNotNull(ctx.varName$).e20());
|
|
1187
1187
|
// Inline function 'kotlin.run' call
|
|
1188
1188
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1189
|
-
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).
|
|
1189
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).e20());
|
|
1190
1190
|
// Inline function 'kotlin.text.substring' call
|
|
1191
1191
|
var endIndex = $this$run.length - 1 | 0;
|
|
1192
1192
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1193
1193
|
var value = $this$run.substring(1, endIndex);
|
|
1194
1194
|
var tmp;
|
|
1195
|
-
switch (ensureNotNull(ctx.op$).
|
|
1195
|
+
switch (ensureNotNull(ctx.op$).v1z()) {
|
|
1196
1196
|
case 1:
|
|
1197
|
-
tmp = this.
|
|
1197
|
+
tmp = this.v36_1.r36_1.y1n(varName).q(value);
|
|
1198
1198
|
break;
|
|
1199
1199
|
case 2:
|
|
1200
|
-
tmp = !this.
|
|
1200
|
+
tmp = !this.v36_1.r36_1.y1n(varName).q(value);
|
|
1201
1201
|
break;
|
|
1202
1202
|
default:
|
|
1203
|
-
unexpectedToken(this.
|
|
1203
|
+
unexpectedToken(this.v36_1, ensureNotNull(ctx.op$));
|
|
1204
1204
|
break;
|
|
1205
1205
|
}
|
|
1206
1206
|
return tmp;
|
|
1207
1207
|
};
|
|
1208
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1209
|
-
var left = ensureNotNull(ctx.left$).
|
|
1210
|
-
var right = ensureNotNull(ctx.right$).
|
|
1208
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).c2x = function (ctx) {
|
|
1209
|
+
var left = ensureNotNull(ctx.left$).p29(this.v36_1.t36_1);
|
|
1210
|
+
var right = ensureNotNull(ctx.right$).p29(this.v36_1.t36_1);
|
|
1211
1211
|
var tmp;
|
|
1212
|
-
switch (ensureNotNull(ctx.op$).
|
|
1212
|
+
switch (ensureNotNull(ctx.op$).v1z()) {
|
|
1213
1213
|
case 1:
|
|
1214
1214
|
tmp = left === right;
|
|
1215
1215
|
break;
|
|
@@ -1229,37 +1229,37 @@
|
|
|
1229
1229
|
tmp = left <= right;
|
|
1230
1230
|
break;
|
|
1231
1231
|
default:
|
|
1232
|
-
unexpectedToken(this.
|
|
1232
|
+
unexpectedToken(this.v36_1, ensureNotNull(ctx.op$));
|
|
1233
1233
|
break;
|
|
1234
1234
|
}
|
|
1235
1235
|
return tmp;
|
|
1236
1236
|
};
|
|
1237
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1237
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).h2x = function (ctx) {
|
|
1238
1238
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1239
|
-
return !this.
|
|
1239
|
+
return !this.v36_1.r36_1.y1n(ensureNotNull(ensureNotNull(ctx.varName$).e20())).p();
|
|
1240
1240
|
};
|
|
1241
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1241
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).y2v = function () {
|
|
1242
1242
|
return false;
|
|
1243
1243
|
};
|
|
1244
1244
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1245
|
-
this.
|
|
1245
|
+
this.w36_1 = this$0;
|
|
1246
1246
|
StateExpressionBaseVisitor.call(this);
|
|
1247
1247
|
}
|
|
1248
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1249
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.value$).
|
|
1248
|
+
protoOf(StateExpressionEvaluator$intExpr$1).m2x = function (ctx) {
|
|
1249
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.value$).e20()));
|
|
1250
1250
|
};
|
|
1251
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1252
|
-
return this.
|
|
1251
|
+
protoOf(StateExpressionEvaluator$intExpr$1).l2x = function (ctx) {
|
|
1252
|
+
return this.w36_1.r36_1.y1n(ensureNotNull(ensureNotNull(ctx.varName$).e20())).m();
|
|
1253
1253
|
};
|
|
1254
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1254
|
+
protoOf(StateExpressionEvaluator$intExpr$1).y2v = function () {
|
|
1255
1255
|
return 0;
|
|
1256
1256
|
};
|
|
1257
1257
|
function StateExpressionEvaluator(state) {
|
|
1258
|
-
this.
|
|
1258
|
+
this.r36_1 = state;
|
|
1259
1259
|
var tmp = this;
|
|
1260
|
-
tmp.
|
|
1260
|
+
tmp.s36_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1261
1261
|
var tmp_0 = this;
|
|
1262
|
-
tmp_0.
|
|
1262
|
+
tmp_0.t36_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1263
1263
|
}
|
|
1264
1264
|
//region block: exports
|
|
1265
1265
|
_.$_$ = _.$_$ || {};
|