@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1553 → 1.0.2-SNAPSHOT.1555
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/antlr-kotlin-antlr-kotlin-runtime.js +107 -120
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/fluid-locale.js +125 -125
- package/kotlin-kotlin-stdlib.js +5 -5
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +197 -197
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +1846 -1846
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -94,6 +94,9 @@
|
|
|
94
94
|
function StateExpressionBaseVisitor() {
|
|
95
95
|
AbstractParseTreeVisitor.call(this);
|
|
96
96
|
}
|
|
97
|
+
protoOf(StateExpressionBaseVisitor).l2t = function (ctx) {
|
|
98
|
+
return this.j26(ctx);
|
|
99
|
+
};
|
|
97
100
|
protoOf(StateExpressionBaseVisitor).m2t = function (ctx) {
|
|
98
101
|
return this.j26(ctx);
|
|
99
102
|
};
|
|
@@ -124,38 +127,35 @@
|
|
|
124
127
|
protoOf(StateExpressionBaseVisitor).v2t = function (ctx) {
|
|
125
128
|
return this.j26(ctx);
|
|
126
129
|
};
|
|
127
|
-
protoOf(StateExpressionBaseVisitor).w2t = function (ctx) {
|
|
128
|
-
return this.j26(ctx);
|
|
129
|
-
};
|
|
130
130
|
function Companion() {
|
|
131
131
|
Companion_instance_1 = this;
|
|
132
132
|
var tmp = RuntimeMetaData_instance;
|
|
133
133
|
tmp.l26('4.13.1', '4.13.1');
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
134
|
+
this.w2t_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";
|
|
135
|
+
this.x2t_1 = (new ATNDeserializer()).z2a(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"));
|
|
136
136
|
var tmp_0 = this;
|
|
137
137
|
var tmp_1 = 0;
|
|
138
|
-
var tmp_2 = this.
|
|
138
|
+
var tmp_2 = this.x2t_1.g27();
|
|
139
139
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
140
140
|
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
141
141
|
while (tmp_1 < tmp_2) {
|
|
142
142
|
var tmp_4 = tmp_1;
|
|
143
|
-
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance().
|
|
143
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance().x2t_1.v27(tmp_4)), tmp_4);
|
|
144
144
|
tmp_1 = tmp_1 + 1 | 0;
|
|
145
145
|
}
|
|
146
|
-
tmp_0.
|
|
147
|
-
this.
|
|
146
|
+
tmp_0.y2t_1 = tmp_3;
|
|
147
|
+
this.z2t_1 = new PredictionContextCache();
|
|
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.
|
|
152
|
+
tmp_5.a2u_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
153
153
|
var tmp_6 = this;
|
|
154
154
|
// Inline function 'kotlin.arrayOf' call
|
|
155
155
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
156
156
|
// Inline function 'kotlin.js.asDynamic' call
|
|
157
|
-
tmp_6.
|
|
158
|
-
this.
|
|
157
|
+
tmp_6.b2u_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
158
|
+
this.c2u_1 = new VocabularyImpl(this.a2u_1, this.b2u_1);
|
|
159
159
|
}
|
|
160
160
|
var Companion_instance_1;
|
|
161
161
|
function Companion_getInstance() {
|
|
@@ -166,38 +166,38 @@
|
|
|
166
166
|
function StateExpressionLexer(input) {
|
|
167
167
|
Companion_getInstance();
|
|
168
168
|
Lexer.call(this, input);
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
169
|
+
this.v2u_1 = new LexerATNSimulator(this, Companion_getInstance().x2t_1, Companion_getInstance().y2t_1, Companion_getInstance().z2t_1);
|
|
170
|
+
this.w2u_1 = 'StateExpression.g4';
|
|
171
|
+
this.x2u_1 = Companion_getInstance().x2t_1;
|
|
172
|
+
this.y2u_1 = Companion_getInstance().c2u_1;
|
|
173
|
+
this.z2u_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";
|
|
174
174
|
var tmp = 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.
|
|
178
|
+
tmp.a2v_1 = ['EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
179
179
|
var tmp_0 = 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_0.
|
|
183
|
+
tmp_0.b2v_1 = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN'];
|
|
184
184
|
var tmp_1 = this;
|
|
185
185
|
// Inline function 'kotlin.arrayOf' call
|
|
186
186
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
187
187
|
// Inline function 'kotlin.js.asDynamic' call
|
|
188
|
-
tmp_1.
|
|
188
|
+
tmp_1.c2v_1 = ['DEFAULT_MODE'];
|
|
189
189
|
}
|
|
190
190
|
protoOf(StateExpressionLexer).a1z = function () {
|
|
191
|
-
return this.
|
|
191
|
+
return this.v2u_1;
|
|
192
192
|
};
|
|
193
193
|
protoOf(StateExpressionLexer).b1z = function () {
|
|
194
|
-
return this.
|
|
194
|
+
return this.x2u_1;
|
|
195
195
|
};
|
|
196
196
|
protoOf(StateExpressionLexer).s1x = function () {
|
|
197
|
-
return this.
|
|
197
|
+
return this.y2u_1;
|
|
198
198
|
};
|
|
199
199
|
protoOf(StateExpressionLexer).v1z = function () {
|
|
200
|
-
return this.
|
|
200
|
+
return this.a2v_1;
|
|
201
201
|
};
|
|
202
202
|
function StateExpressionListener() {
|
|
203
203
|
}
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
221
221
|
BooleanExprContext_init_$Init$_0($this);
|
|
222
222
|
IntCmpExprContext.call($this);
|
|
223
|
-
$this.
|
|
223
|
+
$this.j2w(ctx);
|
|
224
224
|
return $this;
|
|
225
225
|
}
|
|
226
226
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
230
230
|
BooleanExprContext_init_$Init$_0($this);
|
|
231
231
|
ParExprContext.call($this);
|
|
232
|
-
$this.
|
|
232
|
+
$this.j2w(ctx);
|
|
233
233
|
return $this;
|
|
234
234
|
}
|
|
235
235
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
239
239
|
BooleanExprContext_init_$Init$_0($this);
|
|
240
240
|
BooleanAtomContext.call($this);
|
|
241
|
-
$this.
|
|
241
|
+
$this.j2w(ctx);
|
|
242
242
|
return $this;
|
|
243
243
|
}
|
|
244
244
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
248
248
|
BooleanExprContext_init_$Init$_0($this);
|
|
249
249
|
EqExprContext.call($this);
|
|
250
|
-
$this.
|
|
250
|
+
$this.j2w(ctx);
|
|
251
251
|
return $this;
|
|
252
252
|
}
|
|
253
253
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
257
257
|
BooleanExprContext_init_$Init$_0($this);
|
|
258
258
|
NotExprContext.call($this);
|
|
259
|
-
$this.
|
|
259
|
+
$this.j2w(ctx);
|
|
260
260
|
return $this;
|
|
261
261
|
}
|
|
262
262
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
266
266
|
BooleanExprContext_init_$Init$_0($this);
|
|
267
267
|
IsSetFuncContext.call($this);
|
|
268
|
-
$this.
|
|
268
|
+
$this.j2w(ctx);
|
|
269
269
|
return $this;
|
|
270
270
|
}
|
|
271
271
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
275
275
|
BooleanExprContext_init_$Init$_0($this);
|
|
276
276
|
OrExprContext.call($this);
|
|
277
|
-
$this.
|
|
277
|
+
$this.j2w(ctx);
|
|
278
278
|
return $this;
|
|
279
279
|
}
|
|
280
280
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
284
284
|
BooleanExprContext_init_$Init$_0($this);
|
|
285
285
|
AndExprContext.call($this);
|
|
286
|
-
$this.
|
|
286
|
+
$this.j2w(ctx);
|
|
287
287
|
return $this;
|
|
288
288
|
}
|
|
289
289
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
309
309
|
IntExprContext_init_$Init$_0($this);
|
|
310
310
|
IntAtomContext.call($this);
|
|
311
|
-
$this.
|
|
311
|
+
$this.u2w(ctx);
|
|
312
312
|
return $this;
|
|
313
313
|
}
|
|
314
314
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
318
318
|
IntExprContext_init_$Init$_0($this);
|
|
319
319
|
ParIntExprContext.call($this);
|
|
320
|
-
$this.
|
|
320
|
+
$this.u2w(ctx);
|
|
321
321
|
return $this;
|
|
322
322
|
}
|
|
323
323
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
327
327
|
IntExprContext_init_$Init$_0($this);
|
|
328
328
|
ValuesFuncContext.call($this);
|
|
329
|
-
$this.
|
|
329
|
+
$this.u2w(ctx);
|
|
330
330
|
return $this;
|
|
331
331
|
}
|
|
332
332
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -336,49 +336,49 @@
|
|
|
336
336
|
Companion_instance_2 = this;
|
|
337
337
|
var tmp = RuntimeMetaData_instance;
|
|
338
338
|
tmp.l26('4.13.1', '4.13.1');
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
339
|
+
this.v2w_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 +';
|
|
340
|
+
this.w2w_1 = (new ATNDeserializer()).z2a(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 +'));
|
|
341
341
|
var tmp_0 = this;
|
|
342
342
|
var tmp_1 = 0;
|
|
343
|
-
var tmp_2 = this.
|
|
343
|
+
var tmp_2 = this.w2w_1.g27();
|
|
344
344
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
345
345
|
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
346
346
|
while (tmp_1 < tmp_2) {
|
|
347
347
|
var tmp_4 = tmp_1;
|
|
348
|
-
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance_0().
|
|
348
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance_0().w2w_1.v27(tmp_4)), tmp_4);
|
|
349
349
|
tmp_1 = tmp_1 + 1 | 0;
|
|
350
350
|
}
|
|
351
|
-
tmp_0.
|
|
352
|
-
this.
|
|
351
|
+
tmp_0.x2w_1 = tmp_3;
|
|
352
|
+
this.y2w_1 = new PredictionContextCache();
|
|
353
353
|
var tmp_5 = this;
|
|
354
354
|
// Inline function 'kotlin.arrayOf' call
|
|
355
355
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
356
356
|
// Inline function 'kotlin.js.asDynamic' call
|
|
357
|
-
tmp_5.
|
|
357
|
+
tmp_5.z2w_1 = ['booleanExpr', 'intExpr'];
|
|
358
358
|
var tmp_6 = this;
|
|
359
359
|
// Inline function 'kotlin.arrayOf' call
|
|
360
360
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
361
361
|
// Inline function 'kotlin.js.asDynamic' call
|
|
362
|
-
tmp_6.
|
|
362
|
+
tmp_6.a2x_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
363
363
|
var tmp_7 = this;
|
|
364
364
|
// Inline function 'kotlin.arrayOf' call
|
|
365
365
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
366
366
|
// Inline function 'kotlin.js.asDynamic' call
|
|
367
|
-
tmp_7.
|
|
368
|
-
this.
|
|
367
|
+
tmp_7.b2x_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
368
|
+
this.c2x_1 = new VocabularyImpl(this.a2x_1, this.b2x_1);
|
|
369
369
|
var tmp_8 = this;
|
|
370
370
|
var tmp_9 = 0;
|
|
371
|
-
var tmp_10 = this.
|
|
371
|
+
var tmp_10 = this.b2x_1.length;
|
|
372
372
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
373
373
|
var tmp_11 = fillArrayVal(Array(tmp_10), null);
|
|
374
374
|
while (tmp_9 < tmp_10) {
|
|
375
375
|
var tmp_12 = tmp_9;
|
|
376
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
377
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().
|
|
376
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().c2x_1.d27(tmp_12);
|
|
377
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().c2x_1.e27(tmp_12) : tmp0_elvis_lhs;
|
|
378
378
|
tmp_11[tmp_12] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
379
379
|
tmp_9 = tmp_9 + 1 | 0;
|
|
380
380
|
}
|
|
381
|
-
tmp_8.
|
|
381
|
+
tmp_8.d2x_1 = tmp_11;
|
|
382
382
|
}
|
|
383
383
|
var Companion_instance_2;
|
|
384
384
|
function Companion_getInstance_0() {
|
|
@@ -387,71 +387,71 @@
|
|
|
387
387
|
return Companion_instance_2;
|
|
388
388
|
}
|
|
389
389
|
function Tokens() {
|
|
390
|
-
this.
|
|
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.
|
|
390
|
+
this.e2x_1 = -1;
|
|
391
|
+
this.f2x_1 = 1;
|
|
392
|
+
this.g2x_1 = 2;
|
|
393
|
+
this.h2x_1 = 3;
|
|
394
|
+
this.i2x_1 = 4;
|
|
395
|
+
this.j2x_1 = 5;
|
|
396
|
+
this.k2x_1 = 6;
|
|
397
|
+
this.l2x_1 = 7;
|
|
398
|
+
this.m2x_1 = 8;
|
|
399
|
+
this.n2x_1 = 9;
|
|
400
|
+
this.o2x_1 = 10;
|
|
401
|
+
this.p2x_1 = 11;
|
|
402
|
+
this.q2x_1 = 12;
|
|
403
|
+
this.r2x_1 = 13;
|
|
404
|
+
this.s2x_1 = 14;
|
|
405
|
+
this.t2x_1 = 15;
|
|
406
|
+
this.u2x_1 = 16;
|
|
407
|
+
this.v2x_1 = 17;
|
|
408
|
+
this.w2x_1 = 18;
|
|
409
409
|
}
|
|
410
410
|
var Tokens_instance;
|
|
411
411
|
function Tokens_getInstance() {
|
|
412
412
|
return Tokens_instance;
|
|
413
413
|
}
|
|
414
414
|
protoOf(BooleanExprContext).b20 = function () {
|
|
415
|
-
return this.
|
|
415
|
+
return this.i2w_1;
|
|
416
416
|
};
|
|
417
|
-
protoOf(BooleanExprContext).
|
|
417
|
+
protoOf(BooleanExprContext).j2w = function (ctx) {
|
|
418
418
|
protoOf(ParserRuleContext).x25.call(this, ctx);
|
|
419
419
|
};
|
|
420
420
|
function BooleanExprContext() {
|
|
421
|
-
this.
|
|
421
|
+
this.i2w_1 = 0;
|
|
422
422
|
}
|
|
423
|
-
protoOf(IntCmpExprContext).
|
|
423
|
+
protoOf(IntCmpExprContext).h2y = function (_set____db54di) {
|
|
424
424
|
this.left$ = _set____db54di;
|
|
425
425
|
};
|
|
426
|
-
protoOf(IntCmpExprContext).
|
|
426
|
+
protoOf(IntCmpExprContext).i2y = function () {
|
|
427
427
|
return this.left$;
|
|
428
428
|
};
|
|
429
|
-
protoOf(IntCmpExprContext).
|
|
429
|
+
protoOf(IntCmpExprContext).j2y = function (_set____db54di) {
|
|
430
430
|
this.op$ = _set____db54di;
|
|
431
431
|
};
|
|
432
|
-
protoOf(IntCmpExprContext).
|
|
432
|
+
protoOf(IntCmpExprContext).k2y = function () {
|
|
433
433
|
return this.op$;
|
|
434
434
|
};
|
|
435
|
-
protoOf(IntCmpExprContext).
|
|
435
|
+
protoOf(IntCmpExprContext).l2y = function (_set____db54di) {
|
|
436
436
|
this.right$ = _set____db54di;
|
|
437
437
|
};
|
|
438
|
-
protoOf(IntCmpExprContext).
|
|
438
|
+
protoOf(IntCmpExprContext).m2y = function () {
|
|
439
439
|
return this.right$;
|
|
440
440
|
};
|
|
441
441
|
protoOf(IntCmpExprContext).a25 = function (listener) {
|
|
442
442
|
if (isInterface(listener, StateExpressionListener)) {
|
|
443
|
-
listener.
|
|
443
|
+
listener.d2v(this);
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
446
|
protoOf(IntCmpExprContext).c25 = function (listener) {
|
|
447
447
|
if (isInterface(listener, StateExpressionListener)) {
|
|
448
|
-
listener.
|
|
448
|
+
listener.e2v(this);
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
protoOf(IntCmpExprContext).a26 = function (visitor) {
|
|
452
452
|
var tmp;
|
|
453
453
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
454
|
-
tmp = visitor.
|
|
454
|
+
tmp = visitor.l2t(this);
|
|
455
455
|
} else {
|
|
456
456
|
tmp = visitor.j26(this);
|
|
457
457
|
}
|
|
@@ -462,26 +462,26 @@
|
|
|
462
462
|
this.op$ = null;
|
|
463
463
|
this.right$ = null;
|
|
464
464
|
}
|
|
465
|
-
protoOf(ParExprContext).
|
|
465
|
+
protoOf(ParExprContext).x2y = function (_set____db54di) {
|
|
466
466
|
this.expr$ = _set____db54di;
|
|
467
467
|
};
|
|
468
|
-
protoOf(ParExprContext).
|
|
468
|
+
protoOf(ParExprContext).y2y = function () {
|
|
469
469
|
return this.expr$;
|
|
470
470
|
};
|
|
471
471
|
protoOf(ParExprContext).a25 = function (listener) {
|
|
472
472
|
if (isInterface(listener, StateExpressionListener)) {
|
|
473
|
-
listener.
|
|
473
|
+
listener.f2v(this);
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
protoOf(ParExprContext).c25 = function (listener) {
|
|
477
477
|
if (isInterface(listener, StateExpressionListener)) {
|
|
478
|
-
listener.
|
|
478
|
+
listener.g2v(this);
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
protoOf(ParExprContext).a26 = function (visitor) {
|
|
482
482
|
var tmp;
|
|
483
483
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
484
|
-
tmp = visitor.
|
|
484
|
+
tmp = visitor.m2t(this);
|
|
485
485
|
} else {
|
|
486
486
|
tmp = visitor.j26(this);
|
|
487
487
|
}
|
|
@@ -490,26 +490,26 @@
|
|
|
490
490
|
function ParExprContext() {
|
|
491
491
|
this.expr$ = null;
|
|
492
492
|
}
|
|
493
|
-
protoOf(BooleanAtomContext).
|
|
493
|
+
protoOf(BooleanAtomContext).j2z = function (_set____db54di) {
|
|
494
494
|
this.atom$ = _set____db54di;
|
|
495
495
|
};
|
|
496
|
-
protoOf(BooleanAtomContext).
|
|
496
|
+
protoOf(BooleanAtomContext).k2z = function () {
|
|
497
497
|
return this.atom$;
|
|
498
498
|
};
|
|
499
499
|
protoOf(BooleanAtomContext).a25 = function (listener) {
|
|
500
500
|
if (isInterface(listener, StateExpressionListener)) {
|
|
501
|
-
listener.
|
|
501
|
+
listener.h2v(this);
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
504
|
protoOf(BooleanAtomContext).c25 = function (listener) {
|
|
505
505
|
if (isInterface(listener, StateExpressionListener)) {
|
|
506
|
-
listener.
|
|
506
|
+
listener.i2v(this);
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
protoOf(BooleanAtomContext).a26 = function (visitor) {
|
|
510
510
|
var tmp;
|
|
511
511
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
512
|
-
tmp = visitor.
|
|
512
|
+
tmp = visitor.n2t(this);
|
|
513
513
|
} else {
|
|
514
514
|
tmp = visitor.j26(this);
|
|
515
515
|
}
|
|
@@ -518,38 +518,38 @@
|
|
|
518
518
|
function BooleanAtomContext() {
|
|
519
519
|
this.atom$ = null;
|
|
520
520
|
}
|
|
521
|
-
protoOf(EqExprContext).
|
|
521
|
+
protoOf(EqExprContext).v2z = function (_set____db54di) {
|
|
522
522
|
this.varName$ = _set____db54di;
|
|
523
523
|
};
|
|
524
|
-
protoOf(EqExprContext).
|
|
524
|
+
protoOf(EqExprContext).w2z = function () {
|
|
525
525
|
return this.varName$;
|
|
526
526
|
};
|
|
527
|
-
protoOf(EqExprContext).
|
|
527
|
+
protoOf(EqExprContext).j2y = function (_set____db54di) {
|
|
528
528
|
this.op$ = _set____db54di;
|
|
529
529
|
};
|
|
530
|
-
protoOf(EqExprContext).
|
|
530
|
+
protoOf(EqExprContext).k2y = function () {
|
|
531
531
|
return this.op$;
|
|
532
532
|
};
|
|
533
|
-
protoOf(EqExprContext).
|
|
533
|
+
protoOf(EqExprContext).x2z = function (_set____db54di) {
|
|
534
534
|
this.value$ = _set____db54di;
|
|
535
535
|
};
|
|
536
|
-
protoOf(EqExprContext).
|
|
536
|
+
protoOf(EqExprContext).y2z = function () {
|
|
537
537
|
return this.value$;
|
|
538
538
|
};
|
|
539
539
|
protoOf(EqExprContext).a25 = function (listener) {
|
|
540
540
|
if (isInterface(listener, StateExpressionListener)) {
|
|
541
|
-
listener.
|
|
541
|
+
listener.j2v(this);
|
|
542
542
|
}
|
|
543
543
|
};
|
|
544
544
|
protoOf(EqExprContext).c25 = function (listener) {
|
|
545
545
|
if (isInterface(listener, StateExpressionListener)) {
|
|
546
|
-
listener.
|
|
546
|
+
listener.k2v(this);
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
549
|
protoOf(EqExprContext).a26 = function (visitor) {
|
|
550
550
|
var tmp;
|
|
551
551
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
552
|
-
tmp = visitor.
|
|
552
|
+
tmp = visitor.o2t(this);
|
|
553
553
|
} else {
|
|
554
554
|
tmp = visitor.j26(this);
|
|
555
555
|
}
|
|
@@ -560,26 +560,26 @@
|
|
|
560
560
|
this.op$ = null;
|
|
561
561
|
this.value$ = null;
|
|
562
562
|
}
|
|
563
|
-
protoOf(NotExprContext).
|
|
563
|
+
protoOf(NotExprContext).x2y = function (_set____db54di) {
|
|
564
564
|
this.expr$ = _set____db54di;
|
|
565
565
|
};
|
|
566
|
-
protoOf(NotExprContext).
|
|
566
|
+
protoOf(NotExprContext).y2y = function () {
|
|
567
567
|
return this.expr$;
|
|
568
568
|
};
|
|
569
569
|
protoOf(NotExprContext).a25 = function (listener) {
|
|
570
570
|
if (isInterface(listener, StateExpressionListener)) {
|
|
571
|
-
listener.
|
|
571
|
+
listener.l2v(this);
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
574
|
protoOf(NotExprContext).c25 = function (listener) {
|
|
575
575
|
if (isInterface(listener, StateExpressionListener)) {
|
|
576
|
-
listener.
|
|
576
|
+
listener.m2v(this);
|
|
577
577
|
}
|
|
578
578
|
};
|
|
579
579
|
protoOf(NotExprContext).a26 = function (visitor) {
|
|
580
580
|
var tmp;
|
|
581
581
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
582
|
-
tmp = visitor.
|
|
582
|
+
tmp = visitor.p2t(this);
|
|
583
583
|
} else {
|
|
584
584
|
tmp = visitor.j26(this);
|
|
585
585
|
}
|
|
@@ -588,26 +588,26 @@
|
|
|
588
588
|
function NotExprContext() {
|
|
589
589
|
this.expr$ = null;
|
|
590
590
|
}
|
|
591
|
-
protoOf(IsSetFuncContext).
|
|
591
|
+
protoOf(IsSetFuncContext).v2z = function (_set____db54di) {
|
|
592
592
|
this.varName$ = _set____db54di;
|
|
593
593
|
};
|
|
594
|
-
protoOf(IsSetFuncContext).
|
|
594
|
+
protoOf(IsSetFuncContext).w2z = function () {
|
|
595
595
|
return this.varName$;
|
|
596
596
|
};
|
|
597
597
|
protoOf(IsSetFuncContext).a25 = function (listener) {
|
|
598
598
|
if (isInterface(listener, StateExpressionListener)) {
|
|
599
|
-
listener.
|
|
599
|
+
listener.n2v(this);
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
602
|
protoOf(IsSetFuncContext).c25 = function (listener) {
|
|
603
603
|
if (isInterface(listener, StateExpressionListener)) {
|
|
604
|
-
listener.
|
|
604
|
+
listener.o2v(this);
|
|
605
605
|
}
|
|
606
606
|
};
|
|
607
607
|
protoOf(IsSetFuncContext).a26 = function (visitor) {
|
|
608
608
|
var tmp;
|
|
609
609
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
610
|
-
tmp = visitor.
|
|
610
|
+
tmp = visitor.q2t(this);
|
|
611
611
|
} else {
|
|
612
612
|
tmp = visitor.j26(this);
|
|
613
613
|
}
|
|
@@ -616,32 +616,32 @@
|
|
|
616
616
|
function IsSetFuncContext() {
|
|
617
617
|
this.varName$ = null;
|
|
618
618
|
}
|
|
619
|
-
protoOf(OrExprContext).
|
|
619
|
+
protoOf(OrExprContext).d31 = function (_set____db54di) {
|
|
620
620
|
this.left$ = _set____db54di;
|
|
621
621
|
};
|
|
622
|
-
protoOf(OrExprContext).
|
|
622
|
+
protoOf(OrExprContext).i2y = function () {
|
|
623
623
|
return this.left$;
|
|
624
624
|
};
|
|
625
|
-
protoOf(OrExprContext).
|
|
625
|
+
protoOf(OrExprContext).e31 = function (_set____db54di) {
|
|
626
626
|
this.right$ = _set____db54di;
|
|
627
627
|
};
|
|
628
|
-
protoOf(OrExprContext).
|
|
628
|
+
protoOf(OrExprContext).m2y = function () {
|
|
629
629
|
return this.right$;
|
|
630
630
|
};
|
|
631
631
|
protoOf(OrExprContext).a25 = function (listener) {
|
|
632
632
|
if (isInterface(listener, StateExpressionListener)) {
|
|
633
|
-
listener.
|
|
633
|
+
listener.p2v(this);
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
636
|
protoOf(OrExprContext).c25 = function (listener) {
|
|
637
637
|
if (isInterface(listener, StateExpressionListener)) {
|
|
638
|
-
listener.
|
|
638
|
+
listener.q2v(this);
|
|
639
639
|
}
|
|
640
640
|
};
|
|
641
641
|
protoOf(OrExprContext).a26 = function (visitor) {
|
|
642
642
|
var tmp;
|
|
643
643
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
644
|
-
tmp = visitor.
|
|
644
|
+
tmp = visitor.r2t(this);
|
|
645
645
|
} else {
|
|
646
646
|
tmp = visitor.j26(this);
|
|
647
647
|
}
|
|
@@ -651,32 +651,32 @@
|
|
|
651
651
|
this.left$ = null;
|
|
652
652
|
this.right$ = null;
|
|
653
653
|
}
|
|
654
|
-
protoOf(AndExprContext).
|
|
654
|
+
protoOf(AndExprContext).d31 = function (_set____db54di) {
|
|
655
655
|
this.left$ = _set____db54di;
|
|
656
656
|
};
|
|
657
|
-
protoOf(AndExprContext).
|
|
657
|
+
protoOf(AndExprContext).i2y = function () {
|
|
658
658
|
return this.left$;
|
|
659
659
|
};
|
|
660
|
-
protoOf(AndExprContext).
|
|
660
|
+
protoOf(AndExprContext).e31 = function (_set____db54di) {
|
|
661
661
|
this.right$ = _set____db54di;
|
|
662
662
|
};
|
|
663
|
-
protoOf(AndExprContext).
|
|
663
|
+
protoOf(AndExprContext).m2y = function () {
|
|
664
664
|
return this.right$;
|
|
665
665
|
};
|
|
666
666
|
protoOf(AndExprContext).a25 = function (listener) {
|
|
667
667
|
if (isInterface(listener, StateExpressionListener)) {
|
|
668
|
-
listener.
|
|
668
|
+
listener.r2v(this);
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
protoOf(AndExprContext).c25 = function (listener) {
|
|
672
672
|
if (isInterface(listener, StateExpressionListener)) {
|
|
673
|
-
listener.
|
|
673
|
+
listener.s2v(this);
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
676
|
protoOf(AndExprContext).a26 = function (visitor) {
|
|
677
677
|
var tmp;
|
|
678
678
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
679
|
-
tmp = visitor.
|
|
679
|
+
tmp = visitor.s2t(this);
|
|
680
680
|
} else {
|
|
681
681
|
tmp = visitor.j26(this);
|
|
682
682
|
}
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
$this.o1t_1 = _localctx;
|
|
768
768
|
_prevctx = _localctx;
|
|
769
769
|
$this.r1x_1 = 17;
|
|
770
|
-
_ctx = $this.
|
|
770
|
+
_ctx = $this.i32();
|
|
771
771
|
_localctx.left$ = _ctx;
|
|
772
772
|
$this.r1x_1 = 18;
|
|
773
773
|
_token = $this.m1t_1.d1w(1);
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
$this.r1x_1 = 19;
|
|
788
|
-
_ctx = $this.
|
|
788
|
+
_ctx = $this.i32();
|
|
789
789
|
_localctx.right$ = _ctx;
|
|
790
790
|
break;
|
|
791
791
|
case 6:
|
|
@@ -881,34 +881,34 @@
|
|
|
881
881
|
return _localctx;
|
|
882
882
|
}
|
|
883
883
|
protoOf(IntExprContext).b20 = function () {
|
|
884
|
-
return this.
|
|
884
|
+
return this.t2w_1;
|
|
885
885
|
};
|
|
886
|
-
protoOf(IntExprContext).
|
|
886
|
+
protoOf(IntExprContext).u2w = function (ctx) {
|
|
887
887
|
protoOf(ParserRuleContext).x25.call(this, ctx);
|
|
888
888
|
};
|
|
889
889
|
function IntExprContext() {
|
|
890
|
-
this.
|
|
890
|
+
this.t2w_1 = 1;
|
|
891
891
|
}
|
|
892
|
-
protoOf(IntAtomContext).
|
|
892
|
+
protoOf(IntAtomContext).x2z = function (_set____db54di) {
|
|
893
893
|
this.value$ = _set____db54di;
|
|
894
894
|
};
|
|
895
|
-
protoOf(IntAtomContext).
|
|
895
|
+
protoOf(IntAtomContext).y2z = function () {
|
|
896
896
|
return this.value$;
|
|
897
897
|
};
|
|
898
898
|
protoOf(IntAtomContext).a25 = function (listener) {
|
|
899
899
|
if (isInterface(listener, StateExpressionListener)) {
|
|
900
|
-
listener.
|
|
900
|
+
listener.x2v(this);
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
protoOf(IntAtomContext).c25 = function (listener) {
|
|
904
904
|
if (isInterface(listener, StateExpressionListener)) {
|
|
905
|
-
listener.
|
|
905
|
+
listener.y2v(this);
|
|
906
906
|
}
|
|
907
907
|
};
|
|
908
908
|
protoOf(IntAtomContext).a26 = function (visitor) {
|
|
909
909
|
var tmp;
|
|
910
910
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
911
|
-
tmp = visitor.
|
|
911
|
+
tmp = visitor.v2t(this);
|
|
912
912
|
} else {
|
|
913
913
|
tmp = visitor.j26(this);
|
|
914
914
|
}
|
|
@@ -917,26 +917,26 @@
|
|
|
917
917
|
function IntAtomContext() {
|
|
918
918
|
this.value$ = null;
|
|
919
919
|
}
|
|
920
|
-
protoOf(ParIntExprContext).
|
|
920
|
+
protoOf(ParIntExprContext).d33 = function (_set____db54di) {
|
|
921
921
|
this.expr$ = _set____db54di;
|
|
922
922
|
};
|
|
923
|
-
protoOf(ParIntExprContext).
|
|
923
|
+
protoOf(ParIntExprContext).y2y = function () {
|
|
924
924
|
return this.expr$;
|
|
925
925
|
};
|
|
926
926
|
protoOf(ParIntExprContext).a25 = function (listener) {
|
|
927
927
|
if (isInterface(listener, StateExpressionListener)) {
|
|
928
|
-
listener.
|
|
928
|
+
listener.t2v(this);
|
|
929
929
|
}
|
|
930
930
|
};
|
|
931
931
|
protoOf(ParIntExprContext).c25 = function (listener) {
|
|
932
932
|
if (isInterface(listener, StateExpressionListener)) {
|
|
933
|
-
listener.
|
|
933
|
+
listener.u2v(this);
|
|
934
934
|
}
|
|
935
935
|
};
|
|
936
936
|
protoOf(ParIntExprContext).a26 = function (visitor) {
|
|
937
937
|
var tmp;
|
|
938
938
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
939
|
-
tmp = visitor.
|
|
939
|
+
tmp = visitor.t2t(this);
|
|
940
940
|
} else {
|
|
941
941
|
tmp = visitor.j26(this);
|
|
942
942
|
}
|
|
@@ -945,26 +945,26 @@
|
|
|
945
945
|
function ParIntExprContext() {
|
|
946
946
|
this.expr$ = null;
|
|
947
947
|
}
|
|
948
|
-
protoOf(ValuesFuncContext).
|
|
948
|
+
protoOf(ValuesFuncContext).v2z = function (_set____db54di) {
|
|
949
949
|
this.varName$ = _set____db54di;
|
|
950
950
|
};
|
|
951
|
-
protoOf(ValuesFuncContext).
|
|
951
|
+
protoOf(ValuesFuncContext).w2z = function () {
|
|
952
952
|
return this.varName$;
|
|
953
953
|
};
|
|
954
954
|
protoOf(ValuesFuncContext).a25 = function (listener) {
|
|
955
955
|
if (isInterface(listener, StateExpressionListener)) {
|
|
956
|
-
listener.
|
|
956
|
+
listener.v2v(this);
|
|
957
957
|
}
|
|
958
958
|
};
|
|
959
959
|
protoOf(ValuesFuncContext).c25 = function (listener) {
|
|
960
960
|
if (isInterface(listener, StateExpressionListener)) {
|
|
961
|
-
listener.
|
|
961
|
+
listener.w2v(this);
|
|
962
962
|
}
|
|
963
963
|
};
|
|
964
964
|
protoOf(ValuesFuncContext).a26 = function (visitor) {
|
|
965
965
|
var tmp;
|
|
966
966
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
967
|
-
tmp = visitor.
|
|
967
|
+
tmp = visitor.u2t(this);
|
|
968
968
|
} else {
|
|
969
969
|
tmp = visitor.j26(this);
|
|
970
970
|
}
|
|
@@ -983,33 +983,33 @@
|
|
|
983
983
|
function StateExpressionParser(input) {
|
|
984
984
|
Companion_getInstance_0();
|
|
985
985
|
Parser.call(this, input);
|
|
986
|
-
this.
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
992
|
-
this.
|
|
986
|
+
this.b32_1 = new ParserATNSimulator(this, Companion_getInstance_0().w2w_1, Companion_getInstance_0().x2w_1, Companion_getInstance_0().y2w_1);
|
|
987
|
+
this.c32_1 = 'StateExpression.g4';
|
|
988
|
+
this.d32_1 = Companion_getInstance_0().d2x_1;
|
|
989
|
+
this.e32_1 = Companion_getInstance_0().z2w_1;
|
|
990
|
+
this.f32_1 = Companion_getInstance_0().w2w_1;
|
|
991
|
+
this.g32_1 = Companion_getInstance_0().c2x_1;
|
|
992
|
+
this.h32_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 +';
|
|
993
993
|
}
|
|
994
994
|
protoOf(StateExpressionParser).a1z = function () {
|
|
995
|
-
return this.
|
|
995
|
+
return this.b32_1;
|
|
996
996
|
};
|
|
997
997
|
protoOf(StateExpressionParser).v22 = function () {
|
|
998
|
-
return this.
|
|
998
|
+
return this.d32_1;
|
|
999
999
|
};
|
|
1000
1000
|
protoOf(StateExpressionParser).v1z = function () {
|
|
1001
|
-
return this.
|
|
1001
|
+
return this.e32_1;
|
|
1002
1002
|
};
|
|
1003
1003
|
protoOf(StateExpressionParser).b1z = function () {
|
|
1004
|
-
return this.
|
|
1004
|
+
return this.f32_1;
|
|
1005
1005
|
};
|
|
1006
1006
|
protoOf(StateExpressionParser).s1x = function () {
|
|
1007
|
-
return this.
|
|
1007
|
+
return this.g32_1;
|
|
1008
1008
|
};
|
|
1009
|
-
protoOf(StateExpressionParser).
|
|
1009
|
+
protoOf(StateExpressionParser).o33 = function () {
|
|
1010
1010
|
return booleanExpr(this, 0);
|
|
1011
1011
|
};
|
|
1012
|
-
protoOf(StateExpressionParser).
|
|
1012
|
+
protoOf(StateExpressionParser).i32 = function () {
|
|
1013
1013
|
var _localctx = IntExprContext_init_$Create$(this.o1t_1, this.r1x_1);
|
|
1014
1014
|
var _token;
|
|
1015
1015
|
var _ctx;
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
this.r1x_1 = 35;
|
|
1025
1025
|
this.v24(10);
|
|
1026
1026
|
this.r1x_1 = 36;
|
|
1027
|
-
_ctx = this.
|
|
1027
|
+
_ctx = this.i32();
|
|
1028
1028
|
_localctx.expr$ = _ctx;
|
|
1029
1029
|
this.r1x_1 = 37;
|
|
1030
1030
|
this.v24(11);
|
|
@@ -1074,15 +1074,15 @@
|
|
|
1074
1074
|
function StateExpressionVisitor() {
|
|
1075
1075
|
}
|
|
1076
1076
|
function Expression(expr, raw) {
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1077
|
+
this.p33_1 = expr;
|
|
1078
|
+
this.q33_1 = raw;
|
|
1079
1079
|
}
|
|
1080
|
-
protoOf(Expression).
|
|
1081
|
-
return !(this.
|
|
1080
|
+
protoOf(Expression).r33 = function () {
|
|
1081
|
+
return !(this.p33_1 == null);
|
|
1082
1082
|
};
|
|
1083
|
-
protoOf(Expression).
|
|
1083
|
+
protoOf(Expression).s33 = function (state) {
|
|
1084
1084
|
// Inline function 'kotlin.checkNotNull' call
|
|
1085
|
-
var value = this.
|
|
1085
|
+
var value = this.p33_1;
|
|
1086
1086
|
// Inline function 'kotlin.contracts.contract' call
|
|
1087
1087
|
var tmp$ret$1;
|
|
1088
1088
|
$l$block: {
|
|
@@ -1097,11 +1097,11 @@
|
|
|
1097
1097
|
break $l$block;
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
|
-
return tmp$ret$1.a26((new StateExpressionEvaluator(state)).
|
|
1100
|
+
return tmp$ret$1.a26((new StateExpressionEvaluator(state)).u33_1);
|
|
1101
1101
|
};
|
|
1102
|
-
protoOf(Expression).
|
|
1102
|
+
protoOf(Expression).w33 = function () {
|
|
1103
1103
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1104
|
-
var tmp0_safe_receiver = this.
|
|
1104
|
+
var tmp0_safe_receiver = this.p33_1;
|
|
1105
1105
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1106
1106
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1107
1107
|
return tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -1117,7 +1117,7 @@
|
|
|
1117
1117
|
if (!(other instanceof Expression)) {
|
|
1118
1118
|
tmp = false;
|
|
1119
1119
|
} else {
|
|
1120
|
-
if (!(this.
|
|
1120
|
+
if (!(this.q33_1 === other.q33_1)) {
|
|
1121
1121
|
tmp = false;
|
|
1122
1122
|
} else {
|
|
1123
1123
|
tmp = true;
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
return tmp;
|
|
1129
1129
|
};
|
|
1130
1130
|
protoOf(Expression).hashCode = function () {
|
|
1131
|
-
return getStringHashCode(this.
|
|
1131
|
+
return getStringHashCode(this.q33_1);
|
|
1132
1132
|
};
|
|
1133
1133
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1134
1134
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().b1t(_this__u8e3s4)));
|
|
1141
1141
|
var parser = new StateExpressionParser(tokens);
|
|
1142
1142
|
parser.l1t_1 = new BailErrorStrategy();
|
|
1143
|
-
var expr = parser.
|
|
1143
|
+
var expr = parser.o33();
|
|
1144
1144
|
var tmp_0;
|
|
1145
1145
|
var tmp_1 = tokens.b1(tokens.p1v()).c1w();
|
|
1146
1146
|
if (tmp_1 === -1) {
|
|
@@ -1176,7 +1176,7 @@
|
|
|
1176
1176
|
var tmp;
|
|
1177
1177
|
if (isInterface(element, TerminalNode)) {
|
|
1178
1178
|
// Inline function 'kotlin.takeIf' call
|
|
1179
|
-
var this_1 = element.
|
|
1179
|
+
var this_1 = element.q2s();
|
|
1180
1180
|
// Inline function 'kotlin.contracts.contract' call
|
|
1181
1181
|
var tmp_0;
|
|
1182
1182
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
@@ -1205,22 +1205,22 @@
|
|
|
1205
1205
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1206
1206
|
}
|
|
1207
1207
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1208
|
-
this.
|
|
1208
|
+
this.x33_1 = this$0;
|
|
1209
1209
|
StateExpressionBaseVisitor.call(this);
|
|
1210
1210
|
}
|
|
1211
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1211
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).m2t = function (ctx) {
|
|
1212
1212
|
return ensureNotNull(ctx.expr$).a26(this);
|
|
1213
1213
|
};
|
|
1214
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1214
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).p2t = function (ctx) {
|
|
1215
1215
|
return !ensureNotNull(ctx.expr$).a26(this);
|
|
1216
1216
|
};
|
|
1217
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1217
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).r2t = function (ctx) {
|
|
1218
1218
|
return ensureNotNull(ctx.left$).a26(this) ? true : ensureNotNull(ctx.right$).a26(this);
|
|
1219
1219
|
};
|
|
1220
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1220
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).s2t = function (ctx) {
|
|
1221
1221
|
return ensureNotNull(ctx.left$).a26(this) ? ensureNotNull(ctx.right$).a26(this) : false;
|
|
1222
1222
|
};
|
|
1223
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1223
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).n2t = function (ctx) {
|
|
1224
1224
|
var tmp0_subject = ensureNotNull(ctx.atom$).c1w();
|
|
1225
1225
|
var tmp;
|
|
1226
1226
|
if (tmp0_subject === 12) {
|
|
@@ -1229,12 +1229,12 @@
|
|
|
1229
1229
|
if (tmp0_subject === 13) {
|
|
1230
1230
|
tmp = false;
|
|
1231
1231
|
} else {
|
|
1232
|
-
unexpectedToken(this.
|
|
1232
|
+
unexpectedToken(this.x33_1, ensureNotNull(ctx.atom$));
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
1235
|
return tmp;
|
|
1236
1236
|
};
|
|
1237
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1237
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).o2t = function (ctx) {
|
|
1238
1238
|
var varName = ensureNotNull(ensureNotNull(ctx.varName$).l1w());
|
|
1239
1239
|
// Inline function 'kotlin.run' call
|
|
1240
1240
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1247,19 +1247,19 @@
|
|
|
1247
1247
|
var tmp0_subject = ensureNotNull(ctx.op$).c1w();
|
|
1248
1248
|
var tmp;
|
|
1249
1249
|
if (tmp0_subject === 1) {
|
|
1250
|
-
tmp = this.
|
|
1250
|
+
tmp = this.x33_1.t33_1.k1k(varName).v(value);
|
|
1251
1251
|
} else {
|
|
1252
1252
|
if (tmp0_subject === 2) {
|
|
1253
|
-
tmp = !this.
|
|
1253
|
+
tmp = !this.x33_1.t33_1.k1k(varName).v(value);
|
|
1254
1254
|
} else {
|
|
1255
|
-
unexpectedToken(this.
|
|
1255
|
+
unexpectedToken(this.x33_1, ensureNotNull(ctx.op$));
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
1258
|
return tmp;
|
|
1259
1259
|
};
|
|
1260
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1261
|
-
var left = ensureNotNull(ctx.left$).a26(this.
|
|
1262
|
-
var right = ensureNotNull(ctx.right$).a26(this.
|
|
1260
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).l2t = function (ctx) {
|
|
1261
|
+
var left = ensureNotNull(ctx.left$).a26(this.x33_1.v33_1);
|
|
1262
|
+
var right = ensureNotNull(ctx.right$).a26(this.x33_1.v33_1);
|
|
1263
1263
|
var tmp0_subject = ensureNotNull(ctx.op$).c1w();
|
|
1264
1264
|
var tmp;
|
|
1265
1265
|
if (tmp0_subject === 1) {
|
|
@@ -1280,7 +1280,7 @@
|
|
|
1280
1280
|
if (tmp0_subject === 8) {
|
|
1281
1281
|
tmp = left <= right;
|
|
1282
1282
|
} else {
|
|
1283
|
-
unexpectedToken(this.
|
|
1283
|
+
unexpectedToken(this.x33_1, ensureNotNull(ctx.op$));
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
@@ -1289,32 +1289,32 @@
|
|
|
1289
1289
|
}
|
|
1290
1290
|
return tmp;
|
|
1291
1291
|
};
|
|
1292
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1292
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).q2t = function (ctx) {
|
|
1293
1293
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1294
|
-
return !this.
|
|
1294
|
+
return !this.x33_1.t33_1.k1k(ensureNotNull(ensureNotNull(ctx.varName$).l1w())).x();
|
|
1295
1295
|
};
|
|
1296
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1296
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).l2s = function () {
|
|
1297
1297
|
return false;
|
|
1298
1298
|
};
|
|
1299
1299
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1300
|
-
this.
|
|
1300
|
+
this.y33_1 = this$0;
|
|
1301
1301
|
StateExpressionBaseVisitor.call(this);
|
|
1302
1302
|
}
|
|
1303
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1303
|
+
protoOf(StateExpressionEvaluator$intExpr$1).v2t = function (ctx) {
|
|
1304
1304
|
return toInt(ensureNotNull(ensureNotNull(ctx.value$).l1w()));
|
|
1305
1305
|
};
|
|
1306
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1307
|
-
return this.
|
|
1306
|
+
protoOf(StateExpressionEvaluator$intExpr$1).u2t = function (ctx) {
|
|
1307
|
+
return this.y33_1.t33_1.k1k(ensureNotNull(ensureNotNull(ctx.varName$).l1w())).l();
|
|
1308
1308
|
};
|
|
1309
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1309
|
+
protoOf(StateExpressionEvaluator$intExpr$1).l2s = function () {
|
|
1310
1310
|
return 0;
|
|
1311
1311
|
};
|
|
1312
1312
|
function StateExpressionEvaluator(state) {
|
|
1313
|
-
this.
|
|
1313
|
+
this.t33_1 = state;
|
|
1314
1314
|
var tmp = this;
|
|
1315
|
-
tmp.
|
|
1315
|
+
tmp.u33_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1316
1316
|
var tmp_0 = this;
|
|
1317
|
-
tmp_0.
|
|
1317
|
+
tmp_0.v33_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1318
1318
|
}
|
|
1319
1319
|
//region block: init
|
|
1320
1320
|
Tokens_instance = new Tokens();
|