@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1474 → 0.9.3-SNAPSHOT.1484
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 +282 -0
- package/Kermit-kermit-core.js.map +1 -0
- package/Kermit-kermit.js +71 -0
- package/Kermit-kermit.js.map +1 -0
- package/antlr-kotlin-antlr-kotlin-runtime.js +3058 -3079
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +747 -747
- package/fluid-locale.js +147 -147
- package/kotlin-kotlin-stdlib.js +1087 -899
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +433 -427
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2536 -2455
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +243 -243
- package/kotlinx-atomicfu.js +25 -25
- package/kotlinx-coroutines-core.js +2750 -2750
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/Napier-napier-js-ir.js +0 -176
- package/Napier-napier-js-ir.js.map +0 -1
|
@@ -16,54 +16,54 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var AbstractParseTreeVisitor = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.m;
|
|
19
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
19
|
+
var ensureNotNull = kotlin_kotlin.$_$.h9;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.m6;
|
|
21
|
+
var classMeta = kotlin_kotlin.$_$.r5;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.n6;
|
|
23
23
|
var RuntimeMetaData_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.e;
|
|
24
24
|
var Unit_instance = kotlin_kotlin.$_$.m2;
|
|
25
25
|
var ATNDeserializer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.g;
|
|
26
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
27
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
26
|
+
var toCharArray = kotlin_kotlin.$_$.c8;
|
|
27
|
+
var fillArrayVal = kotlin_kotlin.$_$.v5;
|
|
28
28
|
var DFA = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.k;
|
|
29
29
|
var PredictionContextCache = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.j;
|
|
30
30
|
var VocabularyImpl = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.w;
|
|
31
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
31
|
+
var objectMeta = kotlin_kotlin.$_$.l6;
|
|
32
32
|
var Lexer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.r;
|
|
33
33
|
var LexerATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.h;
|
|
34
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
34
|
+
var interfaceMeta = kotlin_kotlin.$_$.b6;
|
|
35
35
|
var ParserRuleContext_init_$Init$ = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.b;
|
|
36
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
36
|
+
var objectCreate = kotlin_kotlin.$_$.k6;
|
|
37
37
|
var ParserRuleContext_init_$Init$_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.a;
|
|
38
38
|
var ParserRuleContext = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.t;
|
|
39
39
|
var VOID = kotlin_kotlin.$_$.c;
|
|
40
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
41
|
-
var Long = kotlin_kotlin.$_$.
|
|
40
|
+
var isInterface = kotlin_kotlin.$_$.e6;
|
|
41
|
+
var Long = kotlin_kotlin.$_$.v8;
|
|
42
42
|
var Companion_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.c;
|
|
43
43
|
var FailedPredicateException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.q;
|
|
44
44
|
var RecognitionException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.v;
|
|
45
45
|
var Parser = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.u;
|
|
46
46
|
var ParserATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.i;
|
|
47
47
|
var NoViableAltException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.s;
|
|
48
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
49
|
-
var toString = kotlin_kotlin.$_$.
|
|
48
|
+
var THROW_CCE = kotlin_kotlin.$_$.a9;
|
|
49
|
+
var toString = kotlin_kotlin.$_$.q6;
|
|
50
50
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
51
|
-
var toSet = kotlin_kotlin.$_$.
|
|
52
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
53
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
54
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
51
|
+
var toSet = kotlin_kotlin.$_$.p4;
|
|
52
|
+
var emptySet = kotlin_kotlin.$_$.j3;
|
|
53
|
+
var getStringHashCode = kotlin_kotlin.$_$.z5;
|
|
54
|
+
var isBlank = kotlin_kotlin.$_$.p7;
|
|
55
55
|
var CharStreams_getInstance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.d;
|
|
56
56
|
var CommonTokenStream = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.p;
|
|
57
57
|
var BailErrorStrategy = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.o;
|
|
58
58
|
var Companion_instance_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.f;
|
|
59
59
|
var ParseCancellationException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.l;
|
|
60
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
60
|
+
var emptyList = kotlin_kotlin.$_$.h3;
|
|
61
61
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
62
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
62
|
+
var listOfNotNull = kotlin_kotlin.$_$.z3;
|
|
63
63
|
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.n;
|
|
64
|
-
var addAll = kotlin_kotlin.$_$.
|
|
64
|
+
var addAll = kotlin_kotlin.$_$.t2;
|
|
65
65
|
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
66
|
-
var toInt = kotlin_kotlin.$_$.
|
|
66
|
+
var toInt = kotlin_kotlin.$_$.h8;
|
|
67
67
|
//endregion
|
|
68
68
|
//region block: pre-declaration
|
|
69
69
|
setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
|
|
@@ -95,68 +95,68 @@
|
|
|
95
95
|
function StateExpressionBaseVisitor() {
|
|
96
96
|
AbstractParseTreeVisitor.call(this);
|
|
97
97
|
}
|
|
98
|
-
protoOf(StateExpressionBaseVisitor).
|
|
99
|
-
return ensureNotNull(this.
|
|
98
|
+
protoOf(StateExpressionBaseVisitor).h2s = function (ctx) {
|
|
99
|
+
return ensureNotNull(this.j25(ctx));
|
|
100
100
|
};
|
|
101
|
-
protoOf(StateExpressionBaseVisitor).
|
|
102
|
-
return ensureNotNull(this.
|
|
101
|
+
protoOf(StateExpressionBaseVisitor).i2s = function (ctx) {
|
|
102
|
+
return ensureNotNull(this.j25(ctx));
|
|
103
103
|
};
|
|
104
|
-
protoOf(StateExpressionBaseVisitor).
|
|
105
|
-
return ensureNotNull(this.
|
|
104
|
+
protoOf(StateExpressionBaseVisitor).j2s = function (ctx) {
|
|
105
|
+
return ensureNotNull(this.j25(ctx));
|
|
106
106
|
};
|
|
107
|
-
protoOf(StateExpressionBaseVisitor).
|
|
108
|
-
return ensureNotNull(this.
|
|
107
|
+
protoOf(StateExpressionBaseVisitor).k2s = function (ctx) {
|
|
108
|
+
return ensureNotNull(this.j25(ctx));
|
|
109
109
|
};
|
|
110
|
-
protoOf(StateExpressionBaseVisitor).
|
|
111
|
-
return ensureNotNull(this.
|
|
110
|
+
protoOf(StateExpressionBaseVisitor).l2s = function (ctx) {
|
|
111
|
+
return ensureNotNull(this.j25(ctx));
|
|
112
112
|
};
|
|
113
|
-
protoOf(StateExpressionBaseVisitor).
|
|
114
|
-
return ensureNotNull(this.
|
|
113
|
+
protoOf(StateExpressionBaseVisitor).m2s = function (ctx) {
|
|
114
|
+
return ensureNotNull(this.j25(ctx));
|
|
115
115
|
};
|
|
116
|
-
protoOf(StateExpressionBaseVisitor).
|
|
117
|
-
return ensureNotNull(this.
|
|
116
|
+
protoOf(StateExpressionBaseVisitor).n2s = function (ctx) {
|
|
117
|
+
return ensureNotNull(this.j25(ctx));
|
|
118
118
|
};
|
|
119
|
-
protoOf(StateExpressionBaseVisitor).
|
|
120
|
-
return ensureNotNull(this.
|
|
119
|
+
protoOf(StateExpressionBaseVisitor).o2s = function (ctx) {
|
|
120
|
+
return ensureNotNull(this.j25(ctx));
|
|
121
121
|
};
|
|
122
|
-
protoOf(StateExpressionBaseVisitor).
|
|
123
|
-
return ensureNotNull(this.
|
|
122
|
+
protoOf(StateExpressionBaseVisitor).p2s = function (ctx) {
|
|
123
|
+
return ensureNotNull(this.j25(ctx));
|
|
124
124
|
};
|
|
125
|
-
protoOf(StateExpressionBaseVisitor).
|
|
126
|
-
return ensureNotNull(this.
|
|
125
|
+
protoOf(StateExpressionBaseVisitor).q2s = function (ctx) {
|
|
126
|
+
return ensureNotNull(this.j25(ctx));
|
|
127
127
|
};
|
|
128
|
-
protoOf(StateExpressionBaseVisitor).
|
|
129
|
-
return ensureNotNull(this.
|
|
128
|
+
protoOf(StateExpressionBaseVisitor).r2s = function (ctx) {
|
|
129
|
+
return ensureNotNull(this.j25(ctx));
|
|
130
130
|
};
|
|
131
131
|
function Companion() {
|
|
132
132
|
Companion_instance_1 = this;
|
|
133
133
|
var tmp = RuntimeMetaData_instance;
|
|
134
|
-
tmp.
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
134
|
+
tmp.l25('4.13.1', '4.13.1');
|
|
135
|
+
this.s2s_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";
|
|
136
|
+
this.t2s_1 = (new ATNDeserializer()).b2a(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"));
|
|
137
137
|
var tmp_0 = this;
|
|
138
138
|
var tmp_1 = 0;
|
|
139
|
-
var tmp_2 = this.
|
|
139
|
+
var tmp_2 = this.t2s_1.g26();
|
|
140
140
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
141
141
|
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
142
142
|
while (tmp_1 < tmp_2) {
|
|
143
143
|
var tmp_4 = tmp_1;
|
|
144
|
-
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance().
|
|
144
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance().t2s_1.v26(tmp_4)), tmp_4);
|
|
145
145
|
tmp_1 = tmp_1 + 1 | 0;
|
|
146
146
|
}
|
|
147
|
-
tmp_0.
|
|
148
|
-
this.
|
|
147
|
+
tmp_0.u2s_1 = tmp_3;
|
|
148
|
+
this.v2s_1 = new PredictionContextCache();
|
|
149
149
|
var tmp_5 = this;
|
|
150
150
|
// Inline function 'kotlin.arrayOf' call
|
|
151
151
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
152
152
|
// Inline function 'kotlin.js.asDynamic' call
|
|
153
|
-
tmp_5.
|
|
153
|
+
tmp_5.w2s_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
154
154
|
var tmp_6 = this;
|
|
155
155
|
// Inline function 'kotlin.arrayOf' call
|
|
156
156
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
157
157
|
// Inline function 'kotlin.js.asDynamic' call
|
|
158
|
-
tmp_6.
|
|
159
|
-
this.
|
|
158
|
+
tmp_6.x2s_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
159
|
+
this.y2s_1 = new VocabularyImpl(this.w2s_1, this.x2s_1);
|
|
160
160
|
}
|
|
161
161
|
var Companion_instance_1;
|
|
162
162
|
function Companion_getInstance() {
|
|
@@ -167,38 +167,38 @@
|
|
|
167
167
|
function StateExpressionLexer(input) {
|
|
168
168
|
Companion_getInstance();
|
|
169
169
|
Lexer.call(this, input);
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
170
|
+
this.r2t_1 = new LexerATNSimulator(this, Companion_getInstance().t2s_1, Companion_getInstance().u2s_1, Companion_getInstance().v2s_1);
|
|
171
|
+
this.s2t_1 = 'StateExpression.g4';
|
|
172
|
+
this.t2t_1 = Companion_getInstance().t2s_1;
|
|
173
|
+
this.u2t_1 = Companion_getInstance().y2s_1;
|
|
174
|
+
this.v2t_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";
|
|
175
175
|
var tmp = this;
|
|
176
176
|
// Inline function 'kotlin.arrayOf' call
|
|
177
177
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
178
178
|
// Inline function 'kotlin.js.asDynamic' call
|
|
179
|
-
tmp.
|
|
179
|
+
tmp.w2t_1 = ['EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
180
180
|
var tmp_0 = this;
|
|
181
181
|
// Inline function 'kotlin.arrayOf' call
|
|
182
182
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
183
183
|
// Inline function 'kotlin.js.asDynamic' call
|
|
184
|
-
tmp_0.
|
|
184
|
+
tmp_0.x2t_1 = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN'];
|
|
185
185
|
var tmp_1 = this;
|
|
186
186
|
// Inline function 'kotlin.arrayOf' call
|
|
187
187
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
188
188
|
// Inline function 'kotlin.js.asDynamic' call
|
|
189
|
-
tmp_1.
|
|
189
|
+
tmp_1.y2t_1 = ['DEFAULT_MODE'];
|
|
190
190
|
}
|
|
191
|
-
protoOf(StateExpressionLexer).
|
|
192
|
-
return this.
|
|
191
|
+
protoOf(StateExpressionLexer).a1y = function () {
|
|
192
|
+
return this.r2t_1;
|
|
193
193
|
};
|
|
194
|
-
protoOf(StateExpressionLexer).
|
|
195
|
-
return this.
|
|
194
|
+
protoOf(StateExpressionLexer).b1y = function () {
|
|
195
|
+
return this.t2t_1;
|
|
196
196
|
};
|
|
197
|
-
protoOf(StateExpressionLexer).
|
|
198
|
-
return this.
|
|
197
|
+
protoOf(StateExpressionLexer).s1w = function () {
|
|
198
|
+
return this.u2t_1;
|
|
199
199
|
};
|
|
200
|
-
protoOf(StateExpressionLexer).
|
|
201
|
-
return this.
|
|
200
|
+
protoOf(StateExpressionLexer).v1y = function () {
|
|
201
|
+
return this.w2t_1;
|
|
202
202
|
};
|
|
203
203
|
function StateExpressionListener() {
|
|
204
204
|
}
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
222
222
|
BooleanExprContext_init_$Init$_0($this);
|
|
223
223
|
IntCmpExprContext.call($this);
|
|
224
|
-
$this.
|
|
224
|
+
$this.f2v(ctx);
|
|
225
225
|
return $this;
|
|
226
226
|
}
|
|
227
227
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
231
231
|
BooleanExprContext_init_$Init$_0($this);
|
|
232
232
|
ParExprContext.call($this);
|
|
233
|
-
$this.
|
|
233
|
+
$this.f2v(ctx);
|
|
234
234
|
return $this;
|
|
235
235
|
}
|
|
236
236
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
240
240
|
BooleanExprContext_init_$Init$_0($this);
|
|
241
241
|
BooleanAtomContext.call($this);
|
|
242
|
-
$this.
|
|
242
|
+
$this.f2v(ctx);
|
|
243
243
|
return $this;
|
|
244
244
|
}
|
|
245
245
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
249
249
|
BooleanExprContext_init_$Init$_0($this);
|
|
250
250
|
EqExprContext.call($this);
|
|
251
|
-
$this.
|
|
251
|
+
$this.f2v(ctx);
|
|
252
252
|
return $this;
|
|
253
253
|
}
|
|
254
254
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
258
258
|
BooleanExprContext_init_$Init$_0($this);
|
|
259
259
|
NotExprContext.call($this);
|
|
260
|
-
$this.
|
|
260
|
+
$this.f2v(ctx);
|
|
261
261
|
return $this;
|
|
262
262
|
}
|
|
263
263
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
267
267
|
BooleanExprContext_init_$Init$_0($this);
|
|
268
268
|
IsSetFuncContext.call($this);
|
|
269
|
-
$this.
|
|
269
|
+
$this.f2v(ctx);
|
|
270
270
|
return $this;
|
|
271
271
|
}
|
|
272
272
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
276
276
|
BooleanExprContext_init_$Init$_0($this);
|
|
277
277
|
OrExprContext.call($this);
|
|
278
|
-
$this.
|
|
278
|
+
$this.f2v(ctx);
|
|
279
279
|
return $this;
|
|
280
280
|
}
|
|
281
281
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
285
285
|
BooleanExprContext_init_$Init$_0($this);
|
|
286
286
|
AndExprContext.call($this);
|
|
287
|
-
$this.
|
|
287
|
+
$this.f2v(ctx);
|
|
288
288
|
return $this;
|
|
289
289
|
}
|
|
290
290
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
310
310
|
IntExprContext_init_$Init$_0($this);
|
|
311
311
|
IntAtomContext.call($this);
|
|
312
|
-
$this.
|
|
312
|
+
$this.q2v(ctx);
|
|
313
313
|
return $this;
|
|
314
314
|
}
|
|
315
315
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
319
319
|
IntExprContext_init_$Init$_0($this);
|
|
320
320
|
ParIntExprContext.call($this);
|
|
321
|
-
$this.
|
|
321
|
+
$this.q2v(ctx);
|
|
322
322
|
return $this;
|
|
323
323
|
}
|
|
324
324
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
328
328
|
IntExprContext_init_$Init$_0($this);
|
|
329
329
|
ValuesFuncContext.call($this);
|
|
330
|
-
$this.
|
|
330
|
+
$this.q2v(ctx);
|
|
331
331
|
return $this;
|
|
332
332
|
}
|
|
333
333
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -336,50 +336,50 @@
|
|
|
336
336
|
function Companion_0() {
|
|
337
337
|
Companion_instance_2 = this;
|
|
338
338
|
var tmp = RuntimeMetaData_instance;
|
|
339
|
-
tmp.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
339
|
+
tmp.l25('4.13.1', '4.13.1');
|
|
340
|
+
this.r2v_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 +';
|
|
341
|
+
this.s2v_1 = (new ATNDeserializer()).b2a(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 +'));
|
|
342
342
|
var tmp_0 = this;
|
|
343
343
|
var tmp_1 = 0;
|
|
344
|
-
var tmp_2 = this.
|
|
344
|
+
var tmp_2 = this.s2v_1.g26();
|
|
345
345
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
346
346
|
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
347
347
|
while (tmp_1 < tmp_2) {
|
|
348
348
|
var tmp_4 = tmp_1;
|
|
349
|
-
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance_0().
|
|
349
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance_0().s2v_1.v26(tmp_4)), tmp_4);
|
|
350
350
|
tmp_1 = tmp_1 + 1 | 0;
|
|
351
351
|
}
|
|
352
|
-
tmp_0.
|
|
353
|
-
this.
|
|
352
|
+
tmp_0.t2v_1 = tmp_3;
|
|
353
|
+
this.u2v_1 = new PredictionContextCache();
|
|
354
354
|
var tmp_5 = this;
|
|
355
355
|
// Inline function 'kotlin.arrayOf' call
|
|
356
356
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
357
357
|
// Inline function 'kotlin.js.asDynamic' call
|
|
358
|
-
tmp_5.
|
|
358
|
+
tmp_5.v2v_1 = ['booleanExpr', 'intExpr'];
|
|
359
359
|
var tmp_6 = this;
|
|
360
360
|
// Inline function 'kotlin.arrayOf' call
|
|
361
361
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
362
362
|
// Inline function 'kotlin.js.asDynamic' call
|
|
363
|
-
tmp_6.
|
|
363
|
+
tmp_6.w2v_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
364
364
|
var tmp_7 = this;
|
|
365
365
|
// Inline function 'kotlin.arrayOf' call
|
|
366
366
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
367
367
|
// Inline function 'kotlin.js.asDynamic' call
|
|
368
|
-
tmp_7.
|
|
369
|
-
this.
|
|
368
|
+
tmp_7.x2v_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
369
|
+
this.y2v_1 = new VocabularyImpl(this.w2v_1, this.x2v_1);
|
|
370
370
|
var tmp_8 = this;
|
|
371
371
|
var tmp_9 = 0;
|
|
372
|
-
var tmp_10 = this.
|
|
372
|
+
var tmp_10 = this.x2v_1.length;
|
|
373
373
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
374
374
|
var tmp_11 = fillArrayVal(Array(tmp_10), null);
|
|
375
375
|
while (tmp_9 < tmp_10) {
|
|
376
376
|
var tmp_12 = tmp_9;
|
|
377
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
378
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().
|
|
377
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().y2v_1.d26(tmp_12);
|
|
378
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().y2v_1.e26(tmp_12) : tmp0_elvis_lhs;
|
|
379
379
|
tmp_11[tmp_12] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
380
380
|
tmp_9 = tmp_9 + 1 | 0;
|
|
381
381
|
}
|
|
382
|
-
tmp_8.
|
|
382
|
+
tmp_8.z2v_1 = tmp_11;
|
|
383
383
|
}
|
|
384
384
|
var Companion_instance_2;
|
|
385
385
|
function Companion_getInstance_0() {
|
|
@@ -388,345 +388,348 @@
|
|
|
388
388
|
return Companion_instance_2;
|
|
389
389
|
}
|
|
390
390
|
function Tokens() {
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
391
|
+
this.a2w_1 = -1;
|
|
392
|
+
this.b2w_1 = 1;
|
|
393
|
+
this.c2w_1 = 2;
|
|
394
|
+
this.d2w_1 = 3;
|
|
395
|
+
this.e2w_1 = 4;
|
|
396
|
+
this.f2w_1 = 5;
|
|
397
|
+
this.g2w_1 = 6;
|
|
398
|
+
this.h2w_1 = 7;
|
|
399
|
+
this.i2w_1 = 8;
|
|
400
|
+
this.j2w_1 = 9;
|
|
401
|
+
this.k2w_1 = 10;
|
|
402
|
+
this.l2w_1 = 11;
|
|
403
|
+
this.m2w_1 = 12;
|
|
404
|
+
this.n2w_1 = 13;
|
|
405
|
+
this.o2w_1 = 14;
|
|
406
|
+
this.p2w_1 = 15;
|
|
407
|
+
this.q2w_1 = 16;
|
|
408
|
+
this.r2w_1 = 17;
|
|
409
|
+
this.s2w_1 = 18;
|
|
410
410
|
}
|
|
411
411
|
var Tokens_instance;
|
|
412
412
|
function Tokens_getInstance() {
|
|
413
413
|
return Tokens_instance;
|
|
414
414
|
}
|
|
415
|
-
protoOf(BooleanExprContext).
|
|
416
|
-
return
|
|
415
|
+
protoOf(BooleanExprContext).b1z = function () {
|
|
416
|
+
return this.e2v_1;
|
|
417
417
|
};
|
|
418
|
-
protoOf(BooleanExprContext).
|
|
419
|
-
protoOf(ParserRuleContext).
|
|
418
|
+
protoOf(BooleanExprContext).f2v = function (ctx) {
|
|
419
|
+
protoOf(ParserRuleContext).x24.call(this, ctx);
|
|
420
420
|
};
|
|
421
421
|
function BooleanExprContext() {
|
|
422
|
+
this.e2v_1 = 0;
|
|
422
423
|
}
|
|
423
|
-
protoOf(IntCmpExprContext).
|
|
424
|
+
protoOf(IntCmpExprContext).a24 = function (listener) {
|
|
424
425
|
if (isInterface(listener, StateExpressionListener)) {
|
|
425
|
-
listener.
|
|
426
|
+
listener.z2t(this);
|
|
426
427
|
}
|
|
427
428
|
};
|
|
428
|
-
protoOf(IntCmpExprContext).
|
|
429
|
+
protoOf(IntCmpExprContext).c24 = function (listener) {
|
|
429
430
|
if (isInterface(listener, StateExpressionListener)) {
|
|
430
|
-
listener.
|
|
431
|
+
listener.a2u(this);
|
|
431
432
|
}
|
|
432
433
|
};
|
|
433
|
-
protoOf(IntCmpExprContext).
|
|
434
|
+
protoOf(IntCmpExprContext).a25 = function (visitor) {
|
|
434
435
|
var tmp;
|
|
435
436
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
436
|
-
tmp = visitor.
|
|
437
|
+
tmp = visitor.h2s(this);
|
|
437
438
|
} else {
|
|
438
|
-
tmp = ensureNotNull(visitor.
|
|
439
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
439
440
|
}
|
|
440
441
|
return tmp;
|
|
441
442
|
};
|
|
442
443
|
function IntCmpExprContext() {
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
444
|
+
this.d2x_1 = null;
|
|
445
|
+
this.e2x_1 = null;
|
|
446
|
+
this.f2x_1 = null;
|
|
446
447
|
}
|
|
447
|
-
protoOf(ParExprContext).
|
|
448
|
+
protoOf(ParExprContext).a24 = function (listener) {
|
|
448
449
|
if (isInterface(listener, StateExpressionListener)) {
|
|
449
|
-
listener.
|
|
450
|
+
listener.b2u(this);
|
|
450
451
|
}
|
|
451
452
|
};
|
|
452
|
-
protoOf(ParExprContext).
|
|
453
|
+
protoOf(ParExprContext).c24 = function (listener) {
|
|
453
454
|
if (isInterface(listener, StateExpressionListener)) {
|
|
454
|
-
listener.
|
|
455
|
+
listener.c2u(this);
|
|
455
456
|
}
|
|
456
457
|
};
|
|
457
|
-
protoOf(ParExprContext).
|
|
458
|
+
protoOf(ParExprContext).a25 = function (visitor) {
|
|
458
459
|
var tmp;
|
|
459
460
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
460
|
-
tmp = visitor.
|
|
461
|
+
tmp = visitor.i2s(this);
|
|
461
462
|
} else {
|
|
462
|
-
tmp = ensureNotNull(visitor.
|
|
463
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
463
464
|
}
|
|
464
465
|
return tmp;
|
|
465
466
|
};
|
|
466
467
|
function ParExprContext() {
|
|
467
|
-
this.
|
|
468
|
+
this.q2x_1 = null;
|
|
468
469
|
}
|
|
469
|
-
protoOf(BooleanAtomContext).
|
|
470
|
+
protoOf(BooleanAtomContext).a24 = function (listener) {
|
|
470
471
|
if (isInterface(listener, StateExpressionListener)) {
|
|
471
|
-
listener.
|
|
472
|
+
listener.d2u(this);
|
|
472
473
|
}
|
|
473
474
|
};
|
|
474
|
-
protoOf(BooleanAtomContext).
|
|
475
|
+
protoOf(BooleanAtomContext).c24 = function (listener) {
|
|
475
476
|
if (isInterface(listener, StateExpressionListener)) {
|
|
476
|
-
listener.
|
|
477
|
+
listener.e2u(this);
|
|
477
478
|
}
|
|
478
479
|
};
|
|
479
|
-
protoOf(BooleanAtomContext).
|
|
480
|
+
protoOf(BooleanAtomContext).a25 = function (visitor) {
|
|
480
481
|
var tmp;
|
|
481
482
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
482
|
-
tmp = visitor.
|
|
483
|
+
tmp = visitor.j2s(this);
|
|
483
484
|
} else {
|
|
484
|
-
tmp = ensureNotNull(visitor.
|
|
485
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
485
486
|
}
|
|
486
487
|
return tmp;
|
|
487
488
|
};
|
|
488
489
|
function BooleanAtomContext() {
|
|
489
|
-
this.
|
|
490
|
+
this.b2y_1 = null;
|
|
490
491
|
}
|
|
491
|
-
protoOf(EqExprContext).
|
|
492
|
+
protoOf(EqExprContext).a24 = function (listener) {
|
|
492
493
|
if (isInterface(listener, StateExpressionListener)) {
|
|
493
|
-
listener.
|
|
494
|
+
listener.f2u(this);
|
|
494
495
|
}
|
|
495
496
|
};
|
|
496
|
-
protoOf(EqExprContext).
|
|
497
|
+
protoOf(EqExprContext).c24 = function (listener) {
|
|
497
498
|
if (isInterface(listener, StateExpressionListener)) {
|
|
498
|
-
listener.
|
|
499
|
+
listener.g2u(this);
|
|
499
500
|
}
|
|
500
501
|
};
|
|
501
|
-
protoOf(EqExprContext).
|
|
502
|
+
protoOf(EqExprContext).a25 = function (visitor) {
|
|
502
503
|
var tmp;
|
|
503
504
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
504
|
-
tmp = visitor.
|
|
505
|
+
tmp = visitor.k2s(this);
|
|
505
506
|
} else {
|
|
506
|
-
tmp = ensureNotNull(visitor.
|
|
507
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
507
508
|
}
|
|
508
509
|
return tmp;
|
|
509
510
|
};
|
|
510
511
|
function EqExprContext() {
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
512
|
+
this.m2y_1 = null;
|
|
513
|
+
this.n2y_1 = null;
|
|
514
|
+
this.o2y_1 = null;
|
|
514
515
|
}
|
|
515
|
-
protoOf(NotExprContext).
|
|
516
|
+
protoOf(NotExprContext).a24 = function (listener) {
|
|
516
517
|
if (isInterface(listener, StateExpressionListener)) {
|
|
517
|
-
listener.
|
|
518
|
+
listener.h2u(this);
|
|
518
519
|
}
|
|
519
520
|
};
|
|
520
|
-
protoOf(NotExprContext).
|
|
521
|
+
protoOf(NotExprContext).c24 = function (listener) {
|
|
521
522
|
if (isInterface(listener, StateExpressionListener)) {
|
|
522
|
-
listener.
|
|
523
|
+
listener.i2u(this);
|
|
523
524
|
}
|
|
524
525
|
};
|
|
525
|
-
protoOf(NotExprContext).
|
|
526
|
+
protoOf(NotExprContext).a25 = function (visitor) {
|
|
526
527
|
var tmp;
|
|
527
528
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
528
|
-
tmp = visitor.
|
|
529
|
+
tmp = visitor.l2s(this);
|
|
529
530
|
} else {
|
|
530
|
-
tmp = ensureNotNull(visitor.
|
|
531
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
531
532
|
}
|
|
532
533
|
return tmp;
|
|
533
534
|
};
|
|
534
535
|
function NotExprContext() {
|
|
535
|
-
this.
|
|
536
|
+
this.z2y_1 = null;
|
|
536
537
|
}
|
|
537
|
-
protoOf(IsSetFuncContext).
|
|
538
|
+
protoOf(IsSetFuncContext).a24 = function (listener) {
|
|
538
539
|
if (isInterface(listener, StateExpressionListener)) {
|
|
539
|
-
listener.
|
|
540
|
+
listener.j2u(this);
|
|
540
541
|
}
|
|
541
542
|
};
|
|
542
|
-
protoOf(IsSetFuncContext).
|
|
543
|
+
protoOf(IsSetFuncContext).c24 = function (listener) {
|
|
543
544
|
if (isInterface(listener, StateExpressionListener)) {
|
|
544
|
-
listener.
|
|
545
|
+
listener.k2u(this);
|
|
545
546
|
}
|
|
546
547
|
};
|
|
547
|
-
protoOf(IsSetFuncContext).
|
|
548
|
+
protoOf(IsSetFuncContext).a25 = function (visitor) {
|
|
548
549
|
var tmp;
|
|
549
550
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
550
|
-
tmp = visitor.
|
|
551
|
+
tmp = visitor.m2s(this);
|
|
551
552
|
} else {
|
|
552
|
-
tmp = ensureNotNull(visitor.
|
|
553
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
553
554
|
}
|
|
554
555
|
return tmp;
|
|
555
556
|
};
|
|
556
557
|
function IsSetFuncContext() {
|
|
557
|
-
this.
|
|
558
|
+
this.k2z_1 = null;
|
|
558
559
|
}
|
|
559
|
-
protoOf(OrExprContext).
|
|
560
|
+
protoOf(OrExprContext).a24 = function (listener) {
|
|
560
561
|
if (isInterface(listener, StateExpressionListener)) {
|
|
561
|
-
listener.
|
|
562
|
+
listener.l2u(this);
|
|
562
563
|
}
|
|
563
564
|
};
|
|
564
|
-
protoOf(OrExprContext).
|
|
565
|
+
protoOf(OrExprContext).c24 = function (listener) {
|
|
565
566
|
if (isInterface(listener, StateExpressionListener)) {
|
|
566
|
-
listener.
|
|
567
|
+
listener.m2u(this);
|
|
567
568
|
}
|
|
568
569
|
};
|
|
569
|
-
protoOf(OrExprContext).
|
|
570
|
+
protoOf(OrExprContext).a25 = function (visitor) {
|
|
570
571
|
var tmp;
|
|
571
572
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
572
|
-
tmp = visitor.
|
|
573
|
+
tmp = visitor.n2s(this);
|
|
573
574
|
} else {
|
|
574
|
-
tmp = ensureNotNull(visitor.
|
|
575
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
575
576
|
}
|
|
576
577
|
return tmp;
|
|
577
578
|
};
|
|
578
579
|
function OrExprContext() {
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
580
|
+
this.v2z_1 = null;
|
|
581
|
+
this.w2z_1 = null;
|
|
581
582
|
}
|
|
582
|
-
protoOf(AndExprContext).
|
|
583
|
+
protoOf(AndExprContext).a24 = function (listener) {
|
|
583
584
|
if (isInterface(listener, StateExpressionListener)) {
|
|
584
|
-
listener.
|
|
585
|
+
listener.n2u(this);
|
|
585
586
|
}
|
|
586
587
|
};
|
|
587
|
-
protoOf(AndExprContext).
|
|
588
|
+
protoOf(AndExprContext).c24 = function (listener) {
|
|
588
589
|
if (isInterface(listener, StateExpressionListener)) {
|
|
589
|
-
listener.
|
|
590
|
+
listener.o2u(this);
|
|
590
591
|
}
|
|
591
592
|
};
|
|
592
|
-
protoOf(AndExprContext).
|
|
593
|
+
protoOf(AndExprContext).a25 = function (visitor) {
|
|
593
594
|
var tmp;
|
|
594
595
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
595
|
-
tmp = visitor.
|
|
596
|
+
tmp = visitor.o2s(this);
|
|
596
597
|
} else {
|
|
597
|
-
tmp = ensureNotNull(visitor.
|
|
598
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
598
599
|
}
|
|
599
600
|
return tmp;
|
|
600
601
|
};
|
|
601
602
|
function AndExprContext() {
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
603
|
+
this.h30_1 = null;
|
|
604
|
+
this.i30_1 = null;
|
|
604
605
|
}
|
|
605
606
|
function booleanExpr($this, _p) {
|
|
606
|
-
var _parentctx = $this.
|
|
607
|
-
var _parentState = $this.
|
|
608
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
607
|
+
var _parentctx = $this.o1s_1;
|
|
608
|
+
var _parentState = $this.r1w_1;
|
|
609
|
+
var _localctx = BooleanExprContext_init_$Create$($this.o1s_1, _parentState);
|
|
609
610
|
var _prevctx = _localctx;
|
|
610
611
|
var _startState = 0;
|
|
611
|
-
|
|
612
|
+
var _token;
|
|
613
|
+
var _ctx;
|
|
614
|
+
$this.p24(_localctx, 0, 0, _p);
|
|
612
615
|
var _la;
|
|
613
616
|
try {
|
|
614
617
|
var _alt;
|
|
615
|
-
$this.
|
|
616
|
-
$this.
|
|
617
|
-
$this.
|
|
618
|
-
switch ($this.
|
|
618
|
+
$this.m24(_localctx, 1);
|
|
619
|
+
$this.r1w_1 = 22;
|
|
620
|
+
$this.l1s_1.f1t($this);
|
|
621
|
+
switch ($this.a1y().h2k($this.m1s_1, 0, $this.o1s_1)) {
|
|
619
622
|
case 1:
|
|
620
623
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
621
|
-
$this.
|
|
624
|
+
$this.o1s_1 = _localctx;
|
|
622
625
|
_prevctx = _localctx;
|
|
623
|
-
$this.
|
|
624
|
-
$this.
|
|
625
|
-
$this.
|
|
626
|
-
|
|
627
|
-
_localctx.
|
|
628
|
-
$this.
|
|
629
|
-
$this.
|
|
626
|
+
$this.r1w_1 = 5;
|
|
627
|
+
$this.v23(10);
|
|
628
|
+
$this.r1w_1 = 6;
|
|
629
|
+
_ctx = booleanExpr($this, 0);
|
|
630
|
+
_localctx.q2x_1 = _ctx;
|
|
631
|
+
$this.r1w_1 = 7;
|
|
632
|
+
$this.v23(11);
|
|
630
633
|
break;
|
|
631
634
|
case 2:
|
|
632
635
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
633
|
-
$this.
|
|
636
|
+
$this.o1s_1 = _localctx;
|
|
634
637
|
_prevctx = _localctx;
|
|
635
|
-
$this.
|
|
636
|
-
$this.
|
|
637
|
-
$this.
|
|
638
|
-
|
|
639
|
-
_localctx.
|
|
638
|
+
$this.r1w_1 = 9;
|
|
639
|
+
$this.v23(5);
|
|
640
|
+
$this.r1w_1 = 10;
|
|
641
|
+
_ctx = booleanExpr($this, 7);
|
|
642
|
+
_localctx.z2y_1 = _ctx;
|
|
640
643
|
break;
|
|
641
644
|
case 3:
|
|
642
645
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
643
|
-
$this.
|
|
646
|
+
$this.o1s_1 = _localctx;
|
|
644
647
|
_prevctx = _localctx;
|
|
645
|
-
$this.
|
|
646
|
-
$this.
|
|
647
|
-
$this.
|
|
648
|
-
|
|
649
|
-
_localctx.
|
|
650
|
-
$this.
|
|
651
|
-
$this.
|
|
648
|
+
$this.r1w_1 = 11;
|
|
649
|
+
$this.v23(14);
|
|
650
|
+
$this.r1w_1 = 12;
|
|
651
|
+
_token = $this.v23(18);
|
|
652
|
+
_localctx.k2z_1 = _token;
|
|
653
|
+
$this.r1w_1 = 13;
|
|
654
|
+
$this.v23(11);
|
|
652
655
|
break;
|
|
653
656
|
case 4:
|
|
654
657
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
655
|
-
$this.
|
|
658
|
+
$this.o1s_1 = _localctx;
|
|
656
659
|
_prevctx = _localctx;
|
|
657
|
-
$this.
|
|
658
|
-
|
|
659
|
-
_localctx.
|
|
660
|
-
$this.
|
|
661
|
-
|
|
662
|
-
_localctx.
|
|
663
|
-
_la = $this.
|
|
660
|
+
$this.r1w_1 = 14;
|
|
661
|
+
_token = $this.v23(18);
|
|
662
|
+
_localctx.m2y_1 = _token;
|
|
663
|
+
$this.r1w_1 = 15;
|
|
664
|
+
_token = $this.m1s_1.d1v(1);
|
|
665
|
+
_localctx.n2y_1 = _token;
|
|
666
|
+
_la = $this.m1s_1.x1u(1);
|
|
664
667
|
if (!(_la === 1 ? true : _la === 2)) {
|
|
665
|
-
|
|
666
|
-
_localctx.
|
|
668
|
+
_token = $this.l1s_1.e1t($this);
|
|
669
|
+
_localctx.n2y_1 = _token;
|
|
667
670
|
} else {
|
|
668
|
-
if ($this.
|
|
669
|
-
$this.
|
|
671
|
+
if ($this.m1s_1.x1u(1) === -1) {
|
|
672
|
+
$this.t1s_1 = true;
|
|
670
673
|
}
|
|
671
|
-
$this.
|
|
672
|
-
$this.
|
|
674
|
+
$this.l1s_1.p1t($this);
|
|
675
|
+
$this.j1x();
|
|
673
676
|
}
|
|
674
677
|
|
|
675
|
-
$this.
|
|
676
|
-
|
|
677
|
-
_localctx.
|
|
678
|
+
$this.r1w_1 = 16;
|
|
679
|
+
_token = $this.v23(17);
|
|
680
|
+
_localctx.o2y_1 = _token;
|
|
678
681
|
break;
|
|
679
682
|
case 5:
|
|
680
683
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
681
|
-
$this.
|
|
684
|
+
$this.o1s_1 = _localctx;
|
|
682
685
|
_prevctx = _localctx;
|
|
683
|
-
$this.
|
|
684
|
-
|
|
685
|
-
_localctx.
|
|
686
|
-
$this.
|
|
687
|
-
|
|
688
|
-
_localctx.
|
|
689
|
-
_la = $this.
|
|
690
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).
|
|
691
|
-
|
|
692
|
-
_localctx.
|
|
686
|
+
$this.r1w_1 = 17;
|
|
687
|
+
_ctx = $this.c31();
|
|
688
|
+
_localctx.d2x_1 = _ctx;
|
|
689
|
+
$this.r1w_1 = 18;
|
|
690
|
+
_token = $this.m1s_1.d1v(1);
|
|
691
|
+
_localctx.e2x_1 = _token;
|
|
692
|
+
_la = $this.m1s_1.x1u(1);
|
|
693
|
+
if (!((_la & -64) === 0 ? !(new Long(1, 0)).kb(_la).mb(new Long(966, 0)).equals(new Long(0, 0)) : false)) {
|
|
694
|
+
_token = $this.l1s_1.e1t($this);
|
|
695
|
+
_localctx.e2x_1 = _token;
|
|
693
696
|
} else {
|
|
694
|
-
if ($this.
|
|
695
|
-
$this.
|
|
697
|
+
if ($this.m1s_1.x1u(1) === -1) {
|
|
698
|
+
$this.t1s_1 = true;
|
|
696
699
|
}
|
|
697
|
-
$this.
|
|
698
|
-
$this.
|
|
700
|
+
$this.l1s_1.p1t($this);
|
|
701
|
+
$this.j1x();
|
|
699
702
|
}
|
|
700
703
|
|
|
701
|
-
$this.
|
|
702
|
-
|
|
703
|
-
_localctx.
|
|
704
|
+
$this.r1w_1 = 19;
|
|
705
|
+
_ctx = $this.c31();
|
|
706
|
+
_localctx.f2x_1 = _ctx;
|
|
704
707
|
break;
|
|
705
708
|
case 6:
|
|
706
709
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
707
|
-
$this.
|
|
710
|
+
$this.o1s_1 = _localctx;
|
|
708
711
|
_prevctx = _localctx;
|
|
709
|
-
$this.
|
|
710
|
-
|
|
711
|
-
_localctx.
|
|
712
|
-
_la = $this.
|
|
712
|
+
$this.r1w_1 = 21;
|
|
713
|
+
_token = $this.m1s_1.d1v(1);
|
|
714
|
+
_localctx.b2y_1 = _token;
|
|
715
|
+
_la = $this.m1s_1.x1u(1);
|
|
713
716
|
if (!(_la === 12 ? true : _la === 13)) {
|
|
714
|
-
|
|
715
|
-
_localctx.
|
|
717
|
+
_token = $this.l1s_1.e1t($this);
|
|
718
|
+
_localctx.b2y_1 = _token;
|
|
716
719
|
} else {
|
|
717
|
-
if ($this.
|
|
718
|
-
$this.
|
|
720
|
+
if ($this.m1s_1.x1u(1) === -1) {
|
|
721
|
+
$this.t1s_1 = true;
|
|
719
722
|
}
|
|
720
|
-
$this.
|
|
721
|
-
$this.
|
|
723
|
+
$this.l1s_1.p1t($this);
|
|
724
|
+
$this.j1x();
|
|
722
725
|
}
|
|
723
726
|
|
|
724
727
|
break;
|
|
725
728
|
}
|
|
726
|
-
ensureNotNull($this.
|
|
727
|
-
$this.
|
|
728
|
-
$this.
|
|
729
|
-
_alt = $this.
|
|
729
|
+
ensureNotNull($this.o1s_1).b1t_1 = $this.m1s_1.d1v(-1);
|
|
730
|
+
$this.r1w_1 = 32;
|
|
731
|
+
$this.l1s_1.f1t($this);
|
|
732
|
+
_alt = $this.a1y().h2k($this.m1s_1, 2, $this.o1s_1);
|
|
730
733
|
$l$loop: while (true) {
|
|
731
734
|
var tmp;
|
|
732
735
|
if (!(_alt === 2)) {
|
|
@@ -740,205 +743,208 @@
|
|
|
740
743
|
}
|
|
741
744
|
if (_alt === 1) {
|
|
742
745
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
743
|
-
if (!$this.
|
|
744
|
-
$this.
|
|
746
|
+
if (!$this.r1s_1.x()) {
|
|
747
|
+
$this.b24();
|
|
745
748
|
}
|
|
746
749
|
_prevctx = _localctx;
|
|
747
|
-
$this.
|
|
748
|
-
$this.
|
|
749
|
-
var tmp1_subject = $this.
|
|
750
|
+
$this.r1w_1 = 30;
|
|
751
|
+
$this.l1s_1.f1t($this);
|
|
752
|
+
var tmp1_subject = $this.a1y().h2k($this.m1s_1, 1, $this.o1s_1);
|
|
750
753
|
if (tmp1_subject === 1) {
|
|
751
754
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
752
|
-
_localctx.
|
|
753
|
-
$this.
|
|
754
|
-
$this.
|
|
755
|
-
if (!$this.
|
|
755
|
+
_localctx.h30_1 = _prevctx;
|
|
756
|
+
$this.q24(_localctx, _startState, 0);
|
|
757
|
+
$this.r1w_1 = 24;
|
|
758
|
+
if (!$this.v22(ensureNotNull($this.o1s_1), 6)) {
|
|
756
759
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
757
760
|
}
|
|
758
|
-
$this.
|
|
759
|
-
$this.
|
|
760
|
-
$this.
|
|
761
|
-
|
|
762
|
-
_localctx.
|
|
761
|
+
$this.r1w_1 = 25;
|
|
762
|
+
$this.v23(3);
|
|
763
|
+
$this.r1w_1 = 26;
|
|
764
|
+
_ctx = booleanExpr($this, 7);
|
|
765
|
+
_localctx.i30_1 = _ctx;
|
|
763
766
|
} else if (tmp1_subject === 2) {
|
|
764
767
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
765
|
-
_localctx.
|
|
766
|
-
$this.
|
|
767
|
-
$this.
|
|
768
|
-
if (!$this.
|
|
768
|
+
_localctx.v2z_1 = _prevctx;
|
|
769
|
+
$this.q24(_localctx, _startState, 0);
|
|
770
|
+
$this.r1w_1 = 27;
|
|
771
|
+
if (!$this.v22(ensureNotNull($this.o1s_1), 5)) {
|
|
769
772
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
770
773
|
}
|
|
771
|
-
$this.
|
|
772
|
-
$this.
|
|
773
|
-
$this.
|
|
774
|
-
|
|
775
|
-
_localctx.
|
|
774
|
+
$this.r1w_1 = 28;
|
|
775
|
+
$this.v23(4);
|
|
776
|
+
$this.r1w_1 = 29;
|
|
777
|
+
_ctx = booleanExpr($this, 6);
|
|
778
|
+
_localctx.w2z_1 = _ctx;
|
|
776
779
|
}
|
|
777
780
|
}
|
|
778
|
-
$this.
|
|
779
|
-
$this.
|
|
780
|
-
_alt = $this.
|
|
781
|
+
$this.r1w_1 = 34;
|
|
782
|
+
$this.l1s_1.f1t($this);
|
|
783
|
+
_alt = $this.a1y().h2k($this.m1s_1, 2, $this.o1s_1);
|
|
781
784
|
}
|
|
782
785
|
} catch ($p) {
|
|
783
786
|
if ($p instanceof RecognitionException) {
|
|
784
787
|
var re = $p;
|
|
785
|
-
_localctx.
|
|
786
|
-
$this.
|
|
787
|
-
$this.
|
|
788
|
+
_localctx.c1t_1 = re;
|
|
789
|
+
$this.l1s_1.q1t($this, re);
|
|
790
|
+
$this.l1s_1.h1s($this, re);
|
|
788
791
|
} else {
|
|
789
792
|
throw $p;
|
|
790
793
|
}
|
|
791
794
|
}
|
|
792
795
|
finally {
|
|
793
|
-
$this.
|
|
796
|
+
$this.s24(_parentctx);
|
|
794
797
|
}
|
|
795
798
|
return _localctx;
|
|
796
799
|
}
|
|
797
|
-
protoOf(IntExprContext).
|
|
798
|
-
return
|
|
800
|
+
protoOf(IntExprContext).b1z = function () {
|
|
801
|
+
return this.p2v_1;
|
|
799
802
|
};
|
|
800
|
-
protoOf(IntExprContext).
|
|
801
|
-
protoOf(ParserRuleContext).
|
|
803
|
+
protoOf(IntExprContext).q2v = function (ctx) {
|
|
804
|
+
protoOf(ParserRuleContext).x24.call(this, ctx);
|
|
802
805
|
};
|
|
803
806
|
function IntExprContext() {
|
|
807
|
+
this.p2v_1 = 1;
|
|
804
808
|
}
|
|
805
|
-
protoOf(IntAtomContext).
|
|
809
|
+
protoOf(IntAtomContext).a24 = function (listener) {
|
|
806
810
|
if (isInterface(listener, StateExpressionListener)) {
|
|
807
|
-
listener.
|
|
811
|
+
listener.t2u(this);
|
|
808
812
|
}
|
|
809
813
|
};
|
|
810
|
-
protoOf(IntAtomContext).
|
|
814
|
+
protoOf(IntAtomContext).c24 = function (listener) {
|
|
811
815
|
if (isInterface(listener, StateExpressionListener)) {
|
|
812
|
-
listener.
|
|
816
|
+
listener.u2u(this);
|
|
813
817
|
}
|
|
814
818
|
};
|
|
815
|
-
protoOf(IntAtomContext).
|
|
819
|
+
protoOf(IntAtomContext).a25 = function (visitor) {
|
|
816
820
|
var tmp;
|
|
817
821
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
818
|
-
tmp = visitor.
|
|
822
|
+
tmp = visitor.r2s(this);
|
|
819
823
|
} else {
|
|
820
|
-
tmp = ensureNotNull(visitor.
|
|
824
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
821
825
|
}
|
|
822
826
|
return tmp;
|
|
823
827
|
};
|
|
824
828
|
function IntAtomContext() {
|
|
825
|
-
this.
|
|
829
|
+
this.n31_1 = null;
|
|
826
830
|
}
|
|
827
|
-
protoOf(ParIntExprContext).
|
|
831
|
+
protoOf(ParIntExprContext).a24 = function (listener) {
|
|
828
832
|
if (isInterface(listener, StateExpressionListener)) {
|
|
829
|
-
listener.
|
|
833
|
+
listener.p2u(this);
|
|
830
834
|
}
|
|
831
835
|
};
|
|
832
|
-
protoOf(ParIntExprContext).
|
|
836
|
+
protoOf(ParIntExprContext).c24 = function (listener) {
|
|
833
837
|
if (isInterface(listener, StateExpressionListener)) {
|
|
834
|
-
listener.
|
|
838
|
+
listener.q2u(this);
|
|
835
839
|
}
|
|
836
840
|
};
|
|
837
|
-
protoOf(ParIntExprContext).
|
|
841
|
+
protoOf(ParIntExprContext).a25 = function (visitor) {
|
|
838
842
|
var tmp;
|
|
839
843
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
840
|
-
tmp = visitor.
|
|
844
|
+
tmp = visitor.p2s(this);
|
|
841
845
|
} else {
|
|
842
|
-
tmp = ensureNotNull(visitor.
|
|
846
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
843
847
|
}
|
|
844
848
|
return tmp;
|
|
845
849
|
};
|
|
846
850
|
function ParIntExprContext() {
|
|
847
|
-
this.
|
|
851
|
+
this.y31_1 = null;
|
|
848
852
|
}
|
|
849
|
-
protoOf(ValuesFuncContext).
|
|
853
|
+
protoOf(ValuesFuncContext).a24 = function (listener) {
|
|
850
854
|
if (isInterface(listener, StateExpressionListener)) {
|
|
851
|
-
listener.
|
|
855
|
+
listener.r2u(this);
|
|
852
856
|
}
|
|
853
857
|
};
|
|
854
|
-
protoOf(ValuesFuncContext).
|
|
858
|
+
protoOf(ValuesFuncContext).c24 = function (listener) {
|
|
855
859
|
if (isInterface(listener, StateExpressionListener)) {
|
|
856
|
-
listener.
|
|
860
|
+
listener.s2u(this);
|
|
857
861
|
}
|
|
858
862
|
};
|
|
859
|
-
protoOf(ValuesFuncContext).
|
|
863
|
+
protoOf(ValuesFuncContext).a25 = function (visitor) {
|
|
860
864
|
var tmp;
|
|
861
865
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
862
|
-
tmp = visitor.
|
|
866
|
+
tmp = visitor.q2s(this);
|
|
863
867
|
} else {
|
|
864
|
-
tmp = ensureNotNull(visitor.
|
|
868
|
+
tmp = ensureNotNull(visitor.j25(this));
|
|
865
869
|
}
|
|
866
870
|
return tmp;
|
|
867
871
|
};
|
|
868
872
|
function ValuesFuncContext() {
|
|
869
|
-
this.
|
|
873
|
+
this.j32_1 = null;
|
|
870
874
|
}
|
|
871
875
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
872
876
|
if (predIndex === 0)
|
|
873
|
-
return $this.
|
|
877
|
+
return $this.v22(ensureNotNull($this.o1s_1), 6);
|
|
874
878
|
else if (predIndex === 1)
|
|
875
|
-
return $this.
|
|
879
|
+
return $this.v22(ensureNotNull($this.o1s_1), 5);
|
|
876
880
|
return true;
|
|
877
881
|
}
|
|
878
882
|
function StateExpressionParser(input) {
|
|
879
883
|
Companion_getInstance_0();
|
|
880
884
|
Parser.call(this, input);
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
884
|
-
this.
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
887
|
-
this.
|
|
885
|
+
this.v30_1 = new ParserATNSimulator(this, Companion_getInstance_0().s2v_1, Companion_getInstance_0().t2v_1, Companion_getInstance_0().u2v_1);
|
|
886
|
+
this.w30_1 = 'StateExpression.g4';
|
|
887
|
+
this.x30_1 = Companion_getInstance_0().z2v_1;
|
|
888
|
+
this.y30_1 = Companion_getInstance_0().v2v_1;
|
|
889
|
+
this.z30_1 = Companion_getInstance_0().s2v_1;
|
|
890
|
+
this.a31_1 = Companion_getInstance_0().y2v_1;
|
|
891
|
+
this.b31_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 +';
|
|
888
892
|
}
|
|
889
|
-
protoOf(StateExpressionParser).
|
|
890
|
-
return this.
|
|
893
|
+
protoOf(StateExpressionParser).a1y = function () {
|
|
894
|
+
return this.v30_1;
|
|
891
895
|
};
|
|
892
|
-
protoOf(StateExpressionParser).
|
|
893
|
-
return this.
|
|
896
|
+
protoOf(StateExpressionParser).v21 = function () {
|
|
897
|
+
return this.x30_1;
|
|
894
898
|
};
|
|
895
|
-
protoOf(StateExpressionParser).
|
|
896
|
-
return this.
|
|
899
|
+
protoOf(StateExpressionParser).v1y = function () {
|
|
900
|
+
return this.y30_1;
|
|
897
901
|
};
|
|
898
|
-
protoOf(StateExpressionParser).
|
|
899
|
-
return this.
|
|
902
|
+
protoOf(StateExpressionParser).b1y = function () {
|
|
903
|
+
return this.z30_1;
|
|
900
904
|
};
|
|
901
|
-
protoOf(StateExpressionParser).
|
|
902
|
-
return this.
|
|
905
|
+
protoOf(StateExpressionParser).s1w = function () {
|
|
906
|
+
return this.a31_1;
|
|
903
907
|
};
|
|
904
|
-
protoOf(StateExpressionParser).
|
|
908
|
+
protoOf(StateExpressionParser).k32 = function () {
|
|
905
909
|
return booleanExpr(this, 0);
|
|
906
910
|
};
|
|
907
|
-
protoOf(StateExpressionParser).
|
|
908
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
909
|
-
|
|
911
|
+
protoOf(StateExpressionParser).c31 = function () {
|
|
912
|
+
var _localctx = IntExprContext_init_$Create$(this.o1s_1, this.r1w_1);
|
|
913
|
+
var _token;
|
|
914
|
+
var _ctx;
|
|
915
|
+
this.k24(_localctx, 2, 1);
|
|
910
916
|
try {
|
|
911
|
-
this.
|
|
912
|
-
this.
|
|
913
|
-
switch (this.
|
|
917
|
+
this.r1w_1 = 43;
|
|
918
|
+
this.l1s_1.f1t(this);
|
|
919
|
+
switch (this.m1s_1.x1u(1)) {
|
|
914
920
|
case 10:
|
|
915
921
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
916
|
-
this.
|
|
917
|
-
this.
|
|
918
|
-
this.
|
|
919
|
-
this.
|
|
920
|
-
|
|
921
|
-
_localctx.
|
|
922
|
-
this.
|
|
923
|
-
this.
|
|
922
|
+
this.m24(_localctx, 1);
|
|
923
|
+
this.r1w_1 = 35;
|
|
924
|
+
this.v23(10);
|
|
925
|
+
this.r1w_1 = 36;
|
|
926
|
+
_ctx = this.c31();
|
|
927
|
+
_localctx.y31_1 = _ctx;
|
|
928
|
+
this.r1w_1 = 37;
|
|
929
|
+
this.v23(11);
|
|
924
930
|
break;
|
|
925
931
|
case 15:
|
|
926
932
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
927
|
-
this.
|
|
928
|
-
this.
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
931
|
-
|
|
932
|
-
_localctx.
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
933
|
+
this.m24(_localctx, 2);
|
|
934
|
+
this.r1w_1 = 39;
|
|
935
|
+
this.v23(15);
|
|
936
|
+
this.r1w_1 = 40;
|
|
937
|
+
_token = this.v23(18);
|
|
938
|
+
_localctx.j32_1 = _token;
|
|
939
|
+
this.r1w_1 = 41;
|
|
940
|
+
this.v23(11);
|
|
935
941
|
break;
|
|
936
942
|
case 16:
|
|
937
943
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
938
|
-
this.
|
|
939
|
-
this.
|
|
940
|
-
|
|
941
|
-
_localctx.
|
|
944
|
+
this.m24(_localctx, 3);
|
|
945
|
+
this.r1w_1 = 42;
|
|
946
|
+
_token = this.v23(16);
|
|
947
|
+
_localctx.n31_1 = _token;
|
|
942
948
|
break;
|
|
943
949
|
default:
|
|
944
950
|
throw new NoViableAltException(this);
|
|
@@ -946,19 +952,19 @@
|
|
|
946
952
|
} catch ($p) {
|
|
947
953
|
if ($p instanceof RecognitionException) {
|
|
948
954
|
var re = $p;
|
|
949
|
-
_localctx.
|
|
950
|
-
this.
|
|
951
|
-
this.
|
|
955
|
+
_localctx.c1t_1 = re;
|
|
956
|
+
this.l1s_1.q1t(this, re);
|
|
957
|
+
this.l1s_1.h1s(this, re);
|
|
952
958
|
} else {
|
|
953
959
|
throw $p;
|
|
954
960
|
}
|
|
955
961
|
}
|
|
956
962
|
finally {
|
|
957
|
-
this.
|
|
963
|
+
this.l24();
|
|
958
964
|
}
|
|
959
965
|
return _localctx;
|
|
960
966
|
};
|
|
961
|
-
protoOf(StateExpressionParser).
|
|
967
|
+
protoOf(StateExpressionParser).u22 = function (_localctx, ruleIndex, predIndex) {
|
|
962
968
|
if (ruleIndex === 0) {
|
|
963
969
|
return booleanExpr_sempred(this, (_localctx == null ? true : _localctx instanceof BooleanExprContext) ? _localctx : THROW_CCE(), predIndex);
|
|
964
970
|
}
|
|
@@ -967,15 +973,15 @@
|
|
|
967
973
|
function StateExpressionVisitor() {
|
|
968
974
|
}
|
|
969
975
|
function Expression(expr, raw) {
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
976
|
+
this.l32_1 = expr;
|
|
977
|
+
this.m32_1 = raw;
|
|
972
978
|
}
|
|
973
|
-
protoOf(Expression).
|
|
974
|
-
return !(this.
|
|
979
|
+
protoOf(Expression).n32 = function () {
|
|
980
|
+
return !(this.l32_1 == null);
|
|
975
981
|
};
|
|
976
|
-
protoOf(Expression).
|
|
982
|
+
protoOf(Expression).o32 = function (state) {
|
|
977
983
|
// Inline function 'kotlin.checkNotNull' call
|
|
978
|
-
var value = this.
|
|
984
|
+
var value = this.l32_1;
|
|
979
985
|
// Inline function 'kotlin.contracts.contract' call
|
|
980
986
|
var tmp$ret$1;
|
|
981
987
|
$l$block: {
|
|
@@ -990,11 +996,11 @@
|
|
|
990
996
|
break $l$block;
|
|
991
997
|
}
|
|
992
998
|
}
|
|
993
|
-
return tmp$ret$1.
|
|
999
|
+
return tmp$ret$1.a25((new StateExpressionEvaluator(state)).q32_1);
|
|
994
1000
|
};
|
|
995
|
-
protoOf(Expression).
|
|
1001
|
+
protoOf(Expression).s32 = function () {
|
|
996
1002
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
997
|
-
var tmp0_safe_receiver = this.
|
|
1003
|
+
var tmp0_safe_receiver = this.l32_1;
|
|
998
1004
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
999
1005
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1000
1006
|
return tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -1010,7 +1016,7 @@
|
|
|
1010
1016
|
if (!(other instanceof Expression)) {
|
|
1011
1017
|
tmp = false;
|
|
1012
1018
|
} else {
|
|
1013
|
-
if (!(this.
|
|
1019
|
+
if (!(this.m32_1 === other.m32_1)) {
|
|
1014
1020
|
tmp = false;
|
|
1015
1021
|
} else {
|
|
1016
1022
|
tmp = true;
|
|
@@ -1021,7 +1027,7 @@
|
|
|
1021
1027
|
return tmp;
|
|
1022
1028
|
};
|
|
1023
1029
|
protoOf(Expression).hashCode = function () {
|
|
1024
|
-
return getStringHashCode(this.
|
|
1030
|
+
return getStringHashCode(this.m32_1);
|
|
1025
1031
|
};
|
|
1026
1032
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1027
1033
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
@@ -1030,12 +1036,12 @@
|
|
|
1030
1036
|
return null;
|
|
1031
1037
|
var tmp;
|
|
1032
1038
|
try {
|
|
1033
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1039
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().b1s(_this__u8e3s4)));
|
|
1034
1040
|
var parser = new StateExpressionParser(tokens);
|
|
1035
|
-
parser.
|
|
1036
|
-
var expr = parser.
|
|
1041
|
+
parser.l1s_1 = new BailErrorStrategy();
|
|
1042
|
+
var expr = parser.k32();
|
|
1037
1043
|
var tmp_0;
|
|
1038
|
-
var tmp_1 = tokens.b1(tokens.
|
|
1044
|
+
var tmp_1 = tokens.b1(tokens.p1u()).c1v();
|
|
1039
1045
|
if (tmp_1 === -1) {
|
|
1040
1046
|
tmp_0 = expr;
|
|
1041
1047
|
} else {
|
|
@@ -1058,7 +1064,7 @@
|
|
|
1058
1064
|
function vars(_this__u8e3s4) {
|
|
1059
1065
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1060
1066
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1061
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1067
|
+
var tmp0_elvis_lhs = _this__u8e3s4.z1s_1;
|
|
1062
1068
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1063
1069
|
var this_0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1064
1070
|
var destination = ArrayList_init_$Create$();
|
|
@@ -1069,18 +1075,18 @@
|
|
|
1069
1075
|
var tmp;
|
|
1070
1076
|
if (isInterface(element, TerminalNode)) {
|
|
1071
1077
|
// Inline function 'kotlin.takeIf' call
|
|
1072
|
-
var this_1 = element.
|
|
1078
|
+
var this_1 = element.a2s();
|
|
1073
1079
|
// Inline function 'kotlin.contracts.contract' call
|
|
1074
1080
|
var tmp_0;
|
|
1075
1081
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1076
|
-
var tmp_1 = this_1.
|
|
1082
|
+
var tmp_1 = this_1.c1v();
|
|
1077
1083
|
if (tmp_1 === 18) {
|
|
1078
1084
|
tmp_0 = this_1;
|
|
1079
1085
|
} else {
|
|
1080
1086
|
tmp_0 = null;
|
|
1081
1087
|
}
|
|
1082
1088
|
var tmp1_safe_receiver = tmp_0;
|
|
1083
|
-
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1089
|
+
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l1v());
|
|
1084
1090
|
} else {
|
|
1085
1091
|
if (element instanceof ParserRuleContext) {
|
|
1086
1092
|
tmp = vars(element);
|
|
@@ -1094,23 +1100,23 @@
|
|
|
1094
1100
|
return destination;
|
|
1095
1101
|
}
|
|
1096
1102
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1097
|
-
this.
|
|
1103
|
+
this.t32_1 = this$0;
|
|
1098
1104
|
StateExpressionBaseVisitor.call(this);
|
|
1099
1105
|
}
|
|
1100
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1101
|
-
return ensureNotNull(ensureNotNull(ctx.
|
|
1106
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).i2s = function (ctx) {
|
|
1107
|
+
return ensureNotNull(ensureNotNull(ctx.q2x_1).a25(this));
|
|
1102
1108
|
};
|
|
1103
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1104
|
-
return !ensureNotNull(ensureNotNull(ctx.
|
|
1109
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).l2s = function (ctx) {
|
|
1110
|
+
return !ensureNotNull(ensureNotNull(ctx.z2y_1).a25(this));
|
|
1105
1111
|
};
|
|
1106
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1107
|
-
return ensureNotNull(ensureNotNull(ctx.
|
|
1112
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).n2s = function (ctx) {
|
|
1113
|
+
return ensureNotNull(ensureNotNull(ctx.v2z_1).a25(this)) ? true : ensureNotNull(ensureNotNull(ctx.w2z_1).a25(this));
|
|
1108
1114
|
};
|
|
1109
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1110
|
-
return ensureNotNull(ensureNotNull(ctx.
|
|
1115
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).o2s = function (ctx) {
|
|
1116
|
+
return ensureNotNull(ensureNotNull(ctx.h30_1).a25(this)) ? ensureNotNull(ensureNotNull(ctx.i30_1).a25(this)) : false;
|
|
1111
1117
|
};
|
|
1112
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1113
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1118
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).j2s = function (ctx) {
|
|
1119
|
+
var tmp0_subject = ensureNotNull(ctx.b2y_1).c1v();
|
|
1114
1120
|
var tmp;
|
|
1115
1121
|
if (tmp0_subject === 12) {
|
|
1116
1122
|
tmp = true;
|
|
@@ -1123,33 +1129,33 @@
|
|
|
1123
1129
|
}
|
|
1124
1130
|
return tmp;
|
|
1125
1131
|
};
|
|
1126
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1127
|
-
var varName = ensureNotNull(ensureNotNull(ctx.
|
|
1132
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).k2s = function (ctx) {
|
|
1133
|
+
var varName = ensureNotNull(ensureNotNull(ctx.m2y_1).l1v());
|
|
1128
1134
|
// Inline function 'kotlin.run' call
|
|
1129
1135
|
// Inline function 'kotlin.contracts.contract' call
|
|
1130
1136
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1131
|
-
var $this$run = ensureNotNull(ensureNotNull(ctx.
|
|
1137
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.o2y_1).l1v());
|
|
1132
1138
|
// Inline function 'kotlin.text.substring' call
|
|
1133
1139
|
var endIndex = $this$run.length - 1 | 0;
|
|
1134
1140
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1135
1141
|
var value = $this$run.substring(1, endIndex);
|
|
1136
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1142
|
+
var tmp0_subject = ensureNotNull(ctx.n2y_1).c1v();
|
|
1137
1143
|
var tmp;
|
|
1138
1144
|
if (tmp0_subject === 1) {
|
|
1139
|
-
tmp = this.
|
|
1145
|
+
tmp = this.t32_1.p32_1.d1k(varName).v(value);
|
|
1140
1146
|
} else {
|
|
1141
1147
|
if (tmp0_subject === 2) {
|
|
1142
|
-
tmp = !this.
|
|
1148
|
+
tmp = !this.t32_1.p32_1.d1k(varName).v(value);
|
|
1143
1149
|
} else {
|
|
1144
1150
|
throw IllegalStateException_init_$Create$_0();
|
|
1145
1151
|
}
|
|
1146
1152
|
}
|
|
1147
1153
|
return tmp;
|
|
1148
1154
|
};
|
|
1149
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1150
|
-
var left = ensureNotNull(ensureNotNull(ctx.
|
|
1151
|
-
var right = ensureNotNull(ensureNotNull(ctx.
|
|
1152
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1155
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).h2s = function (ctx) {
|
|
1156
|
+
var left = ensureNotNull(ensureNotNull(ctx.d2x_1).a25(this.t32_1.r32_1));
|
|
1157
|
+
var right = ensureNotNull(ensureNotNull(ctx.f2x_1).a25(this.t32_1.r32_1));
|
|
1158
|
+
var tmp0_subject = ensureNotNull(ctx.e2x_1).c1v();
|
|
1153
1159
|
var tmp;
|
|
1154
1160
|
if (tmp0_subject === 1) {
|
|
1155
1161
|
tmp = left === right;
|
|
@@ -1178,26 +1184,26 @@
|
|
|
1178
1184
|
}
|
|
1179
1185
|
return tmp;
|
|
1180
1186
|
};
|
|
1181
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1187
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).m2s = function (ctx) {
|
|
1182
1188
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1183
|
-
return !this.
|
|
1189
|
+
return !this.t32_1.p32_1.d1k(ensureNotNull(ensureNotNull(ctx.k2z_1).l1v())).x();
|
|
1184
1190
|
};
|
|
1185
1191
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1186
|
-
this.
|
|
1192
|
+
this.u32_1 = this$0;
|
|
1187
1193
|
StateExpressionBaseVisitor.call(this);
|
|
1188
1194
|
}
|
|
1189
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1190
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.
|
|
1195
|
+
protoOf(StateExpressionEvaluator$intExpr$1).r2s = function (ctx) {
|
|
1196
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.n31_1).l1v()));
|
|
1191
1197
|
};
|
|
1192
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1193
|
-
return this.
|
|
1198
|
+
protoOf(StateExpressionEvaluator$intExpr$1).q2s = function (ctx) {
|
|
1199
|
+
return this.u32_1.p32_1.d1k(ensureNotNull(ensureNotNull(ctx.j32_1).l1v())).l();
|
|
1194
1200
|
};
|
|
1195
1201
|
function StateExpressionEvaluator(state) {
|
|
1196
|
-
this.
|
|
1202
|
+
this.p32_1 = state;
|
|
1197
1203
|
var tmp = this;
|
|
1198
|
-
tmp.
|
|
1204
|
+
tmp.q32_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1199
1205
|
var tmp_0 = this;
|
|
1200
|
-
tmp_0.
|
|
1206
|
+
tmp_0.r32_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1201
1207
|
}
|
|
1202
1208
|
//region block: init
|
|
1203
1209
|
Tokens_instance = new Tokens();
|