@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1474 → 0.9.3-SNAPSHOT.1475
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 +1279 -1300
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/fluid-locale.js +125 -125
- package/kotlin-kotlin-stdlib.js +7 -7
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +236 -230
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +1914 -1914
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -95,68 +95,68 @@
|
|
|
95
95
|
function StateExpressionBaseVisitor() {
|
|
96
96
|
AbstractParseTreeVisitor.call(this);
|
|
97
97
|
}
|
|
98
|
-
protoOf(StateExpressionBaseVisitor).
|
|
98
|
+
protoOf(StateExpressionBaseVisitor).o2r = function (ctx) {
|
|
99
99
|
return ensureNotNull(this.q24(ctx));
|
|
100
100
|
};
|
|
101
|
-
protoOf(StateExpressionBaseVisitor).
|
|
101
|
+
protoOf(StateExpressionBaseVisitor).p2r = function (ctx) {
|
|
102
102
|
return ensureNotNull(this.q24(ctx));
|
|
103
103
|
};
|
|
104
|
-
protoOf(StateExpressionBaseVisitor).
|
|
104
|
+
protoOf(StateExpressionBaseVisitor).q2r = function (ctx) {
|
|
105
105
|
return ensureNotNull(this.q24(ctx));
|
|
106
106
|
};
|
|
107
|
-
protoOf(StateExpressionBaseVisitor).
|
|
107
|
+
protoOf(StateExpressionBaseVisitor).r2r = function (ctx) {
|
|
108
108
|
return ensureNotNull(this.q24(ctx));
|
|
109
109
|
};
|
|
110
|
-
protoOf(StateExpressionBaseVisitor).
|
|
110
|
+
protoOf(StateExpressionBaseVisitor).s2r = function (ctx) {
|
|
111
111
|
return ensureNotNull(this.q24(ctx));
|
|
112
112
|
};
|
|
113
|
-
protoOf(StateExpressionBaseVisitor).
|
|
113
|
+
protoOf(StateExpressionBaseVisitor).t2r = function (ctx) {
|
|
114
114
|
return ensureNotNull(this.q24(ctx));
|
|
115
115
|
};
|
|
116
|
-
protoOf(StateExpressionBaseVisitor).
|
|
116
|
+
protoOf(StateExpressionBaseVisitor).u2r = function (ctx) {
|
|
117
117
|
return ensureNotNull(this.q24(ctx));
|
|
118
118
|
};
|
|
119
|
-
protoOf(StateExpressionBaseVisitor).
|
|
119
|
+
protoOf(StateExpressionBaseVisitor).v2r = function (ctx) {
|
|
120
120
|
return ensureNotNull(this.q24(ctx));
|
|
121
121
|
};
|
|
122
|
-
protoOf(StateExpressionBaseVisitor).
|
|
122
|
+
protoOf(StateExpressionBaseVisitor).w2r = function (ctx) {
|
|
123
123
|
return ensureNotNull(this.q24(ctx));
|
|
124
124
|
};
|
|
125
|
-
protoOf(StateExpressionBaseVisitor).
|
|
125
|
+
protoOf(StateExpressionBaseVisitor).x2r = function (ctx) {
|
|
126
126
|
return ensureNotNull(this.q24(ctx));
|
|
127
127
|
};
|
|
128
|
-
protoOf(StateExpressionBaseVisitor).
|
|
128
|
+
protoOf(StateExpressionBaseVisitor).y2r = function (ctx) {
|
|
129
129
|
return ensureNotNull(this.q24(ctx));
|
|
130
130
|
};
|
|
131
131
|
function Companion() {
|
|
132
132
|
Companion_instance_1 = this;
|
|
133
133
|
var tmp = RuntimeMetaData_instance;
|
|
134
134
|
tmp.s24('4.13.1', '4.13.1');
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
135
|
+
this.z2r_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.a2s_1 = (new ATNDeserializer()).i29(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.a2s_1.n25();
|
|
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().a2s_1.c26(tmp_4)), tmp_4);
|
|
145
145
|
tmp_1 = tmp_1 + 1 | 0;
|
|
146
146
|
}
|
|
147
|
-
tmp_0.
|
|
148
|
-
this.
|
|
147
|
+
tmp_0.b2s_1 = tmp_3;
|
|
148
|
+
this.c2s_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.d2s_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.e2s_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
159
|
+
this.f2s_1 = new VocabularyImpl(this.d2s_1, this.e2s_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.y2s_1 = new LexerATNSimulator(this, Companion_getInstance().a2s_1, Companion_getInstance().b2s_1, Companion_getInstance().c2s_1);
|
|
171
|
+
this.z2s_1 = 'StateExpression.g4';
|
|
172
|
+
this.a2t_1 = Companion_getInstance().a2s_1;
|
|
173
|
+
this.b2t_1 = Companion_getInstance().f2s_1;
|
|
174
|
+
this.c2t_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.d2t_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.e2t_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.f2t_1 = ['DEFAULT_MODE'];
|
|
190
190
|
}
|
|
191
191
|
protoOf(StateExpressionLexer).h1x = function () {
|
|
192
|
-
return this.
|
|
192
|
+
return this.y2s_1;
|
|
193
193
|
};
|
|
194
194
|
protoOf(StateExpressionLexer).i1x = function () {
|
|
195
|
-
return this.
|
|
195
|
+
return this.a2t_1;
|
|
196
196
|
};
|
|
197
197
|
protoOf(StateExpressionLexer).z1v = function () {
|
|
198
|
-
return this.
|
|
198
|
+
return this.b2t_1;
|
|
199
199
|
};
|
|
200
200
|
protoOf(StateExpressionLexer).c1y = function () {
|
|
201
|
-
return this.
|
|
201
|
+
return this.d2t_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.m2u(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.m2u(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.m2u(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.m2u(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.m2u(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.m2u(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.m2u(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.m2u(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.x2u(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.x2u(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.x2u(ctx);
|
|
331
331
|
return $this;
|
|
332
332
|
}
|
|
333
333
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -337,49 +337,49 @@
|
|
|
337
337
|
Companion_instance_2 = this;
|
|
338
338
|
var tmp = RuntimeMetaData_instance;
|
|
339
339
|
tmp.s24('4.13.1', '4.13.1');
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
340
|
+
this.y2u_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.z2u_1 = (new ATNDeserializer()).i29(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.z2u_1.n25();
|
|
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().z2u_1.c26(tmp_4)), tmp_4);
|
|
350
350
|
tmp_1 = tmp_1 + 1 | 0;
|
|
351
351
|
}
|
|
352
|
-
tmp_0.
|
|
353
|
-
this.
|
|
352
|
+
tmp_0.a2v_1 = tmp_3;
|
|
353
|
+
this.b2v_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.c2v_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.d2v_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.e2v_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
369
|
+
this.f2v_1 = new VocabularyImpl(this.d2v_1, this.e2v_1);
|
|
370
370
|
var tmp_8 = this;
|
|
371
371
|
var tmp_9 = 0;
|
|
372
|
-
var tmp_10 = this.
|
|
372
|
+
var tmp_10 = this.e2v_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().f2v_1.k25(tmp_12);
|
|
378
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().f2v_1.l25(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.g2v_1 = tmp_11;
|
|
383
383
|
}
|
|
384
384
|
var Companion_instance_2;
|
|
385
385
|
function Companion_getInstance_0() {
|
|
@@ -388,219 +388,220 @@
|
|
|
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.h2v_1 = -1;
|
|
392
|
+
this.i2v_1 = 1;
|
|
393
|
+
this.j2v_1 = 2;
|
|
394
|
+
this.k2v_1 = 3;
|
|
395
|
+
this.l2v_1 = 4;
|
|
396
|
+
this.m2v_1 = 5;
|
|
397
|
+
this.n2v_1 = 6;
|
|
398
|
+
this.o2v_1 = 7;
|
|
399
|
+
this.p2v_1 = 8;
|
|
400
|
+
this.q2v_1 = 9;
|
|
401
|
+
this.r2v_1 = 10;
|
|
402
|
+
this.s2v_1 = 11;
|
|
403
|
+
this.t2v_1 = 12;
|
|
404
|
+
this.u2v_1 = 13;
|
|
405
|
+
this.v2v_1 = 14;
|
|
406
|
+
this.w2v_1 = 15;
|
|
407
|
+
this.x2v_1 = 16;
|
|
408
|
+
this.y2v_1 = 17;
|
|
409
|
+
this.z2v_1 = 18;
|
|
410
410
|
}
|
|
411
411
|
var Tokens_instance;
|
|
412
412
|
function Tokens_getInstance() {
|
|
413
413
|
return Tokens_instance;
|
|
414
414
|
}
|
|
415
415
|
protoOf(BooleanExprContext).i1y = function () {
|
|
416
|
-
return
|
|
416
|
+
return this.l2u_1;
|
|
417
417
|
};
|
|
418
|
-
protoOf(BooleanExprContext).
|
|
418
|
+
protoOf(BooleanExprContext).m2u = function (ctx) {
|
|
419
419
|
protoOf(ParserRuleContext).e24.call(this, ctx);
|
|
420
420
|
};
|
|
421
421
|
function BooleanExprContext() {
|
|
422
|
+
this.l2u_1 = 0;
|
|
422
423
|
}
|
|
423
424
|
protoOf(IntCmpExprContext).h23 = function (listener) {
|
|
424
425
|
if (isInterface(listener, StateExpressionListener)) {
|
|
425
|
-
listener.
|
|
426
|
+
listener.g2t(this);
|
|
426
427
|
}
|
|
427
428
|
};
|
|
428
429
|
protoOf(IntCmpExprContext).j23 = function (listener) {
|
|
429
430
|
if (isInterface(listener, StateExpressionListener)) {
|
|
430
|
-
listener.
|
|
431
|
+
listener.h2t(this);
|
|
431
432
|
}
|
|
432
433
|
};
|
|
433
434
|
protoOf(IntCmpExprContext).h24 = function (visitor) {
|
|
434
435
|
var tmp;
|
|
435
436
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
436
|
-
tmp = visitor.
|
|
437
|
+
tmp = visitor.o2r(this);
|
|
437
438
|
} else {
|
|
438
439
|
tmp = ensureNotNull(visitor.q24(this));
|
|
439
440
|
}
|
|
440
441
|
return tmp;
|
|
441
442
|
};
|
|
442
443
|
function IntCmpExprContext() {
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
444
|
+
this.k2w_1 = null;
|
|
445
|
+
this.l2w_1 = null;
|
|
446
|
+
this.m2w_1 = null;
|
|
446
447
|
}
|
|
447
448
|
protoOf(ParExprContext).h23 = function (listener) {
|
|
448
449
|
if (isInterface(listener, StateExpressionListener)) {
|
|
449
|
-
listener.
|
|
450
|
+
listener.i2t(this);
|
|
450
451
|
}
|
|
451
452
|
};
|
|
452
453
|
protoOf(ParExprContext).j23 = function (listener) {
|
|
453
454
|
if (isInterface(listener, StateExpressionListener)) {
|
|
454
|
-
listener.
|
|
455
|
+
listener.j2t(this);
|
|
455
456
|
}
|
|
456
457
|
};
|
|
457
458
|
protoOf(ParExprContext).h24 = function (visitor) {
|
|
458
459
|
var tmp;
|
|
459
460
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
460
|
-
tmp = visitor.
|
|
461
|
+
tmp = visitor.p2r(this);
|
|
461
462
|
} else {
|
|
462
463
|
tmp = ensureNotNull(visitor.q24(this));
|
|
463
464
|
}
|
|
464
465
|
return tmp;
|
|
465
466
|
};
|
|
466
467
|
function ParExprContext() {
|
|
467
|
-
this.
|
|
468
|
+
this.x2w_1 = null;
|
|
468
469
|
}
|
|
469
470
|
protoOf(BooleanAtomContext).h23 = function (listener) {
|
|
470
471
|
if (isInterface(listener, StateExpressionListener)) {
|
|
471
|
-
listener.
|
|
472
|
+
listener.k2t(this);
|
|
472
473
|
}
|
|
473
474
|
};
|
|
474
475
|
protoOf(BooleanAtomContext).j23 = function (listener) {
|
|
475
476
|
if (isInterface(listener, StateExpressionListener)) {
|
|
476
|
-
listener.
|
|
477
|
+
listener.l2t(this);
|
|
477
478
|
}
|
|
478
479
|
};
|
|
479
480
|
protoOf(BooleanAtomContext).h24 = function (visitor) {
|
|
480
481
|
var tmp;
|
|
481
482
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
482
|
-
tmp = visitor.
|
|
483
|
+
tmp = visitor.q2r(this);
|
|
483
484
|
} else {
|
|
484
485
|
tmp = ensureNotNull(visitor.q24(this));
|
|
485
486
|
}
|
|
486
487
|
return tmp;
|
|
487
488
|
};
|
|
488
489
|
function BooleanAtomContext() {
|
|
489
|
-
this.
|
|
490
|
+
this.i2x_1 = null;
|
|
490
491
|
}
|
|
491
492
|
protoOf(EqExprContext).h23 = function (listener) {
|
|
492
493
|
if (isInterface(listener, StateExpressionListener)) {
|
|
493
|
-
listener.
|
|
494
|
+
listener.m2t(this);
|
|
494
495
|
}
|
|
495
496
|
};
|
|
496
497
|
protoOf(EqExprContext).j23 = function (listener) {
|
|
497
498
|
if (isInterface(listener, StateExpressionListener)) {
|
|
498
|
-
listener.
|
|
499
|
+
listener.n2t(this);
|
|
499
500
|
}
|
|
500
501
|
};
|
|
501
502
|
protoOf(EqExprContext).h24 = function (visitor) {
|
|
502
503
|
var tmp;
|
|
503
504
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
504
|
-
tmp = visitor.
|
|
505
|
+
tmp = visitor.r2r(this);
|
|
505
506
|
} else {
|
|
506
507
|
tmp = ensureNotNull(visitor.q24(this));
|
|
507
508
|
}
|
|
508
509
|
return tmp;
|
|
509
510
|
};
|
|
510
511
|
function EqExprContext() {
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
512
|
+
this.t2x_1 = null;
|
|
513
|
+
this.u2x_1 = null;
|
|
514
|
+
this.v2x_1 = null;
|
|
514
515
|
}
|
|
515
516
|
protoOf(NotExprContext).h23 = function (listener) {
|
|
516
517
|
if (isInterface(listener, StateExpressionListener)) {
|
|
517
|
-
listener.
|
|
518
|
+
listener.o2t(this);
|
|
518
519
|
}
|
|
519
520
|
};
|
|
520
521
|
protoOf(NotExprContext).j23 = function (listener) {
|
|
521
522
|
if (isInterface(listener, StateExpressionListener)) {
|
|
522
|
-
listener.
|
|
523
|
+
listener.p2t(this);
|
|
523
524
|
}
|
|
524
525
|
};
|
|
525
526
|
protoOf(NotExprContext).h24 = function (visitor) {
|
|
526
527
|
var tmp;
|
|
527
528
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
528
|
-
tmp = visitor.
|
|
529
|
+
tmp = visitor.s2r(this);
|
|
529
530
|
} else {
|
|
530
531
|
tmp = ensureNotNull(visitor.q24(this));
|
|
531
532
|
}
|
|
532
533
|
return tmp;
|
|
533
534
|
};
|
|
534
535
|
function NotExprContext() {
|
|
535
|
-
this.
|
|
536
|
+
this.g2y_1 = null;
|
|
536
537
|
}
|
|
537
538
|
protoOf(IsSetFuncContext).h23 = function (listener) {
|
|
538
539
|
if (isInterface(listener, StateExpressionListener)) {
|
|
539
|
-
listener.
|
|
540
|
+
listener.q2t(this);
|
|
540
541
|
}
|
|
541
542
|
};
|
|
542
543
|
protoOf(IsSetFuncContext).j23 = function (listener) {
|
|
543
544
|
if (isInterface(listener, StateExpressionListener)) {
|
|
544
|
-
listener.
|
|
545
|
+
listener.r2t(this);
|
|
545
546
|
}
|
|
546
547
|
};
|
|
547
548
|
protoOf(IsSetFuncContext).h24 = function (visitor) {
|
|
548
549
|
var tmp;
|
|
549
550
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
550
|
-
tmp = visitor.
|
|
551
|
+
tmp = visitor.t2r(this);
|
|
551
552
|
} else {
|
|
552
553
|
tmp = ensureNotNull(visitor.q24(this));
|
|
553
554
|
}
|
|
554
555
|
return tmp;
|
|
555
556
|
};
|
|
556
557
|
function IsSetFuncContext() {
|
|
557
|
-
this.
|
|
558
|
+
this.r2y_1 = null;
|
|
558
559
|
}
|
|
559
560
|
protoOf(OrExprContext).h23 = function (listener) {
|
|
560
561
|
if (isInterface(listener, StateExpressionListener)) {
|
|
561
|
-
listener.
|
|
562
|
+
listener.s2t(this);
|
|
562
563
|
}
|
|
563
564
|
};
|
|
564
565
|
protoOf(OrExprContext).j23 = function (listener) {
|
|
565
566
|
if (isInterface(listener, StateExpressionListener)) {
|
|
566
|
-
listener.
|
|
567
|
+
listener.t2t(this);
|
|
567
568
|
}
|
|
568
569
|
};
|
|
569
570
|
protoOf(OrExprContext).h24 = function (visitor) {
|
|
570
571
|
var tmp;
|
|
571
572
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
572
|
-
tmp = visitor.
|
|
573
|
+
tmp = visitor.u2r(this);
|
|
573
574
|
} else {
|
|
574
575
|
tmp = ensureNotNull(visitor.q24(this));
|
|
575
576
|
}
|
|
576
577
|
return tmp;
|
|
577
578
|
};
|
|
578
579
|
function OrExprContext() {
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
580
|
+
this.c2z_1 = null;
|
|
581
|
+
this.d2z_1 = null;
|
|
581
582
|
}
|
|
582
583
|
protoOf(AndExprContext).h23 = function (listener) {
|
|
583
584
|
if (isInterface(listener, StateExpressionListener)) {
|
|
584
|
-
listener.
|
|
585
|
+
listener.u2t(this);
|
|
585
586
|
}
|
|
586
587
|
};
|
|
587
588
|
protoOf(AndExprContext).j23 = function (listener) {
|
|
588
589
|
if (isInterface(listener, StateExpressionListener)) {
|
|
589
|
-
listener.
|
|
590
|
+
listener.v2t(this);
|
|
590
591
|
}
|
|
591
592
|
};
|
|
592
593
|
protoOf(AndExprContext).h24 = function (visitor) {
|
|
593
594
|
var tmp;
|
|
594
595
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
595
|
-
tmp = visitor.
|
|
596
|
+
tmp = visitor.v2r(this);
|
|
596
597
|
} else {
|
|
597
598
|
tmp = ensureNotNull(visitor.q24(this));
|
|
598
599
|
}
|
|
599
600
|
return tmp;
|
|
600
601
|
};
|
|
601
602
|
function AndExprContext() {
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
603
|
+
this.o2z_1 = null;
|
|
604
|
+
this.p2z_1 = null;
|
|
604
605
|
}
|
|
605
606
|
function booleanExpr($this, _p) {
|
|
606
607
|
var _parentctx = $this.v1r_1;
|
|
@@ -608,6 +609,8 @@
|
|
|
608
609
|
var _localctx = BooleanExprContext_init_$Create$($this.v1r_1, _parentState);
|
|
609
610
|
var _prevctx = _localctx;
|
|
610
611
|
var _startState = 0;
|
|
612
|
+
var _token;
|
|
613
|
+
var _ctx;
|
|
611
614
|
$this.w23(_localctx, 0, 0, _p);
|
|
612
615
|
var _la;
|
|
613
616
|
try {
|
|
@@ -615,7 +618,7 @@
|
|
|
615
618
|
$this.t23(_localctx, 1);
|
|
616
619
|
$this.y1v_1 = 22;
|
|
617
620
|
$this.s1r_1.m1s($this);
|
|
618
|
-
switch ($this.h1x().
|
|
621
|
+
switch ($this.h1x().o2j($this.t1r_1, 0, $this.v1r_1)) {
|
|
619
622
|
case 1:
|
|
620
623
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
621
624
|
$this.v1r_1 = _localctx;
|
|
@@ -623,8 +626,8 @@
|
|
|
623
626
|
$this.y1v_1 = 5;
|
|
624
627
|
$this.c23(10);
|
|
625
628
|
$this.y1v_1 = 6;
|
|
626
|
-
|
|
627
|
-
_localctx.
|
|
629
|
+
_ctx = booleanExpr($this, 0);
|
|
630
|
+
_localctx.x2w_1 = _ctx;
|
|
628
631
|
$this.y1v_1 = 7;
|
|
629
632
|
$this.c23(11);
|
|
630
633
|
break;
|
|
@@ -635,8 +638,8 @@
|
|
|
635
638
|
$this.y1v_1 = 9;
|
|
636
639
|
$this.c23(5);
|
|
637
640
|
$this.y1v_1 = 10;
|
|
638
|
-
|
|
639
|
-
_localctx.
|
|
641
|
+
_ctx = booleanExpr($this, 7);
|
|
642
|
+
_localctx.g2y_1 = _ctx;
|
|
640
643
|
break;
|
|
641
644
|
case 3:
|
|
642
645
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
@@ -645,8 +648,8 @@
|
|
|
645
648
|
$this.y1v_1 = 11;
|
|
646
649
|
$this.c23(14);
|
|
647
650
|
$this.y1v_1 = 12;
|
|
648
|
-
|
|
649
|
-
_localctx.
|
|
651
|
+
_token = $this.c23(18);
|
|
652
|
+
_localctx.r2y_1 = _token;
|
|
650
653
|
$this.y1v_1 = 13;
|
|
651
654
|
$this.c23(11);
|
|
652
655
|
break;
|
|
@@ -655,15 +658,15 @@
|
|
|
655
658
|
$this.v1r_1 = _localctx;
|
|
656
659
|
_prevctx = _localctx;
|
|
657
660
|
$this.y1v_1 = 14;
|
|
658
|
-
|
|
659
|
-
_localctx.
|
|
661
|
+
_token = $this.c23(18);
|
|
662
|
+
_localctx.t2x_1 = _token;
|
|
660
663
|
$this.y1v_1 = 15;
|
|
661
|
-
|
|
662
|
-
_localctx.
|
|
664
|
+
_token = $this.t1r_1.k1u(1);
|
|
665
|
+
_localctx.u2x_1 = _token;
|
|
663
666
|
_la = $this.t1r_1.e1u(1);
|
|
664
667
|
if (!(_la === 1 ? true : _la === 2)) {
|
|
665
|
-
|
|
666
|
-
_localctx.
|
|
668
|
+
_token = $this.s1r_1.l1s($this);
|
|
669
|
+
_localctx.u2x_1 = _token;
|
|
667
670
|
} else {
|
|
668
671
|
if ($this.t1r_1.e1u(1) === -1) {
|
|
669
672
|
$this.a1s_1 = true;
|
|
@@ -673,23 +676,23 @@
|
|
|
673
676
|
}
|
|
674
677
|
|
|
675
678
|
$this.y1v_1 = 16;
|
|
676
|
-
|
|
677
|
-
_localctx.
|
|
679
|
+
_token = $this.c23(17);
|
|
680
|
+
_localctx.v2x_1 = _token;
|
|
678
681
|
break;
|
|
679
682
|
case 5:
|
|
680
683
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
681
684
|
$this.v1r_1 = _localctx;
|
|
682
685
|
_prevctx = _localctx;
|
|
683
686
|
$this.y1v_1 = 17;
|
|
684
|
-
|
|
685
|
-
_localctx.
|
|
687
|
+
_ctx = $this.j30();
|
|
688
|
+
_localctx.k2w_1 = _ctx;
|
|
686
689
|
$this.y1v_1 = 18;
|
|
687
|
-
|
|
688
|
-
_localctx.
|
|
690
|
+
_token = $this.t1r_1.k1u(1);
|
|
691
|
+
_localctx.l2w_1 = _token;
|
|
689
692
|
_la = $this.t1r_1.e1u(1);
|
|
690
693
|
if (!((_la & -64) === 0 ? !(new Long(1, 0)).fb(_la).hb(new Long(966, 0)).equals(new Long(0, 0)) : false)) {
|
|
691
|
-
|
|
692
|
-
_localctx.
|
|
694
|
+
_token = $this.s1r_1.l1s($this);
|
|
695
|
+
_localctx.l2w_1 = _token;
|
|
693
696
|
} else {
|
|
694
697
|
if ($this.t1r_1.e1u(1) === -1) {
|
|
695
698
|
$this.a1s_1 = true;
|
|
@@ -699,20 +702,20 @@
|
|
|
699
702
|
}
|
|
700
703
|
|
|
701
704
|
$this.y1v_1 = 19;
|
|
702
|
-
|
|
703
|
-
_localctx.
|
|
705
|
+
_ctx = $this.j30();
|
|
706
|
+
_localctx.m2w_1 = _ctx;
|
|
704
707
|
break;
|
|
705
708
|
case 6:
|
|
706
709
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
707
710
|
$this.v1r_1 = _localctx;
|
|
708
711
|
_prevctx = _localctx;
|
|
709
712
|
$this.y1v_1 = 21;
|
|
710
|
-
|
|
711
|
-
_localctx.
|
|
713
|
+
_token = $this.t1r_1.k1u(1);
|
|
714
|
+
_localctx.i2x_1 = _token;
|
|
712
715
|
_la = $this.t1r_1.e1u(1);
|
|
713
716
|
if (!(_la === 12 ? true : _la === 13)) {
|
|
714
|
-
|
|
715
|
-
_localctx.
|
|
717
|
+
_token = $this.s1r_1.l1s($this);
|
|
718
|
+
_localctx.i2x_1 = _token;
|
|
716
719
|
} else {
|
|
717
720
|
if ($this.t1r_1.e1u(1) === -1) {
|
|
718
721
|
$this.a1s_1 = true;
|
|
@@ -726,7 +729,7 @@
|
|
|
726
729
|
ensureNotNull($this.v1r_1).i1s_1 = $this.t1r_1.k1u(-1);
|
|
727
730
|
$this.y1v_1 = 32;
|
|
728
731
|
$this.s1r_1.m1s($this);
|
|
729
|
-
_alt = $this.h1x().
|
|
732
|
+
_alt = $this.h1x().o2j($this.t1r_1, 2, $this.v1r_1);
|
|
730
733
|
$l$loop: while (true) {
|
|
731
734
|
var tmp;
|
|
732
735
|
if (!(_alt === 2)) {
|
|
@@ -746,10 +749,10 @@
|
|
|
746
749
|
_prevctx = _localctx;
|
|
747
750
|
$this.y1v_1 = 30;
|
|
748
751
|
$this.s1r_1.m1s($this);
|
|
749
|
-
var tmp1_subject = $this.h1x().
|
|
752
|
+
var tmp1_subject = $this.h1x().o2j($this.t1r_1, 1, $this.v1r_1);
|
|
750
753
|
if (tmp1_subject === 1) {
|
|
751
754
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
752
|
-
_localctx.
|
|
755
|
+
_localctx.o2z_1 = _prevctx;
|
|
753
756
|
$this.x23(_localctx, _startState, 0);
|
|
754
757
|
$this.y1v_1 = 24;
|
|
755
758
|
if (!$this.c22(ensureNotNull($this.v1r_1), 6)) {
|
|
@@ -758,11 +761,11 @@
|
|
|
758
761
|
$this.y1v_1 = 25;
|
|
759
762
|
$this.c23(3);
|
|
760
763
|
$this.y1v_1 = 26;
|
|
761
|
-
|
|
762
|
-
_localctx.
|
|
764
|
+
_ctx = booleanExpr($this, 7);
|
|
765
|
+
_localctx.p2z_1 = _ctx;
|
|
763
766
|
} else if (tmp1_subject === 2) {
|
|
764
767
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
765
|
-
_localctx.
|
|
768
|
+
_localctx.c2z_1 = _prevctx;
|
|
766
769
|
$this.x23(_localctx, _startState, 0);
|
|
767
770
|
$this.y1v_1 = 27;
|
|
768
771
|
if (!$this.c22(ensureNotNull($this.v1r_1), 5)) {
|
|
@@ -771,13 +774,13 @@
|
|
|
771
774
|
$this.y1v_1 = 28;
|
|
772
775
|
$this.c23(4);
|
|
773
776
|
$this.y1v_1 = 29;
|
|
774
|
-
|
|
775
|
-
_localctx.
|
|
777
|
+
_ctx = booleanExpr($this, 6);
|
|
778
|
+
_localctx.d2z_1 = _ctx;
|
|
776
779
|
}
|
|
777
780
|
}
|
|
778
781
|
$this.y1v_1 = 34;
|
|
779
782
|
$this.s1r_1.m1s($this);
|
|
780
|
-
_alt = $this.h1x().
|
|
783
|
+
_alt = $this.h1x().o2j($this.t1r_1, 2, $this.v1r_1);
|
|
781
784
|
}
|
|
782
785
|
} catch ($p) {
|
|
783
786
|
if ($p instanceof RecognitionException) {
|
|
@@ -795,78 +798,79 @@
|
|
|
795
798
|
return _localctx;
|
|
796
799
|
}
|
|
797
800
|
protoOf(IntExprContext).i1y = function () {
|
|
798
|
-
return
|
|
801
|
+
return this.w2u_1;
|
|
799
802
|
};
|
|
800
|
-
protoOf(IntExprContext).
|
|
803
|
+
protoOf(IntExprContext).x2u = function (ctx) {
|
|
801
804
|
protoOf(ParserRuleContext).e24.call(this, ctx);
|
|
802
805
|
};
|
|
803
806
|
function IntExprContext() {
|
|
807
|
+
this.w2u_1 = 1;
|
|
804
808
|
}
|
|
805
809
|
protoOf(IntAtomContext).h23 = function (listener) {
|
|
806
810
|
if (isInterface(listener, StateExpressionListener)) {
|
|
807
|
-
listener.
|
|
811
|
+
listener.a2u(this);
|
|
808
812
|
}
|
|
809
813
|
};
|
|
810
814
|
protoOf(IntAtomContext).j23 = function (listener) {
|
|
811
815
|
if (isInterface(listener, StateExpressionListener)) {
|
|
812
|
-
listener.
|
|
816
|
+
listener.b2u(this);
|
|
813
817
|
}
|
|
814
818
|
};
|
|
815
819
|
protoOf(IntAtomContext).h24 = function (visitor) {
|
|
816
820
|
var tmp;
|
|
817
821
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
818
|
-
tmp = visitor.
|
|
822
|
+
tmp = visitor.y2r(this);
|
|
819
823
|
} else {
|
|
820
824
|
tmp = ensureNotNull(visitor.q24(this));
|
|
821
825
|
}
|
|
822
826
|
return tmp;
|
|
823
827
|
};
|
|
824
828
|
function IntAtomContext() {
|
|
825
|
-
this.
|
|
829
|
+
this.u30_1 = null;
|
|
826
830
|
}
|
|
827
831
|
protoOf(ParIntExprContext).h23 = function (listener) {
|
|
828
832
|
if (isInterface(listener, StateExpressionListener)) {
|
|
829
|
-
listener.
|
|
833
|
+
listener.w2t(this);
|
|
830
834
|
}
|
|
831
835
|
};
|
|
832
836
|
protoOf(ParIntExprContext).j23 = function (listener) {
|
|
833
837
|
if (isInterface(listener, StateExpressionListener)) {
|
|
834
|
-
listener.
|
|
838
|
+
listener.x2t(this);
|
|
835
839
|
}
|
|
836
840
|
};
|
|
837
841
|
protoOf(ParIntExprContext).h24 = function (visitor) {
|
|
838
842
|
var tmp;
|
|
839
843
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
840
|
-
tmp = visitor.
|
|
844
|
+
tmp = visitor.w2r(this);
|
|
841
845
|
} else {
|
|
842
846
|
tmp = ensureNotNull(visitor.q24(this));
|
|
843
847
|
}
|
|
844
848
|
return tmp;
|
|
845
849
|
};
|
|
846
850
|
function ParIntExprContext() {
|
|
847
|
-
this.
|
|
851
|
+
this.f31_1 = null;
|
|
848
852
|
}
|
|
849
853
|
protoOf(ValuesFuncContext).h23 = function (listener) {
|
|
850
854
|
if (isInterface(listener, StateExpressionListener)) {
|
|
851
|
-
listener.
|
|
855
|
+
listener.y2t(this);
|
|
852
856
|
}
|
|
853
857
|
};
|
|
854
858
|
protoOf(ValuesFuncContext).j23 = function (listener) {
|
|
855
859
|
if (isInterface(listener, StateExpressionListener)) {
|
|
856
|
-
listener.
|
|
860
|
+
listener.z2t(this);
|
|
857
861
|
}
|
|
858
862
|
};
|
|
859
863
|
protoOf(ValuesFuncContext).h24 = function (visitor) {
|
|
860
864
|
var tmp;
|
|
861
865
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
862
|
-
tmp = visitor.
|
|
866
|
+
tmp = visitor.x2r(this);
|
|
863
867
|
} else {
|
|
864
868
|
tmp = ensureNotNull(visitor.q24(this));
|
|
865
869
|
}
|
|
866
870
|
return tmp;
|
|
867
871
|
};
|
|
868
872
|
function ValuesFuncContext() {
|
|
869
|
-
this.
|
|
873
|
+
this.q31_1 = null;
|
|
870
874
|
}
|
|
871
875
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
872
876
|
if (predIndex === 0)
|
|
@@ -878,34 +882,36 @@
|
|
|
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.c30_1 = new ParserATNSimulator(this, Companion_getInstance_0().z2u_1, Companion_getInstance_0().a2v_1, Companion_getInstance_0().b2v_1);
|
|
886
|
+
this.d30_1 = 'StateExpression.g4';
|
|
887
|
+
this.e30_1 = Companion_getInstance_0().g2v_1;
|
|
888
|
+
this.f30_1 = Companion_getInstance_0().c2v_1;
|
|
889
|
+
this.g30_1 = Companion_getInstance_0().z2u_1;
|
|
890
|
+
this.h30_1 = Companion_getInstance_0().f2v_1;
|
|
891
|
+
this.i30_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
893
|
protoOf(StateExpressionParser).h1x = function () {
|
|
890
|
-
return this.
|
|
894
|
+
return this.c30_1;
|
|
891
895
|
};
|
|
892
896
|
protoOf(StateExpressionParser).c21 = function () {
|
|
893
|
-
return this.
|
|
897
|
+
return this.e30_1;
|
|
894
898
|
};
|
|
895
899
|
protoOf(StateExpressionParser).c1y = function () {
|
|
896
|
-
return this.
|
|
900
|
+
return this.f30_1;
|
|
897
901
|
};
|
|
898
902
|
protoOf(StateExpressionParser).i1x = function () {
|
|
899
|
-
return this.
|
|
903
|
+
return this.g30_1;
|
|
900
904
|
};
|
|
901
905
|
protoOf(StateExpressionParser).z1v = function () {
|
|
902
|
-
return this.
|
|
906
|
+
return this.h30_1;
|
|
903
907
|
};
|
|
904
|
-
protoOf(StateExpressionParser).
|
|
908
|
+
protoOf(StateExpressionParser).r31 = function () {
|
|
905
909
|
return booleanExpr(this, 0);
|
|
906
910
|
};
|
|
907
|
-
protoOf(StateExpressionParser).
|
|
911
|
+
protoOf(StateExpressionParser).j30 = function () {
|
|
908
912
|
var _localctx = IntExprContext_init_$Create$(this.v1r_1, this.y1v_1);
|
|
913
|
+
var _token;
|
|
914
|
+
var _ctx;
|
|
909
915
|
this.r23(_localctx, 2, 1);
|
|
910
916
|
try {
|
|
911
917
|
this.y1v_1 = 43;
|
|
@@ -917,8 +923,8 @@
|
|
|
917
923
|
this.y1v_1 = 35;
|
|
918
924
|
this.c23(10);
|
|
919
925
|
this.y1v_1 = 36;
|
|
920
|
-
|
|
921
|
-
_localctx.
|
|
926
|
+
_ctx = this.j30();
|
|
927
|
+
_localctx.f31_1 = _ctx;
|
|
922
928
|
this.y1v_1 = 37;
|
|
923
929
|
this.c23(11);
|
|
924
930
|
break;
|
|
@@ -928,8 +934,8 @@
|
|
|
928
934
|
this.y1v_1 = 39;
|
|
929
935
|
this.c23(15);
|
|
930
936
|
this.y1v_1 = 40;
|
|
931
|
-
|
|
932
|
-
_localctx.
|
|
937
|
+
_token = this.c23(18);
|
|
938
|
+
_localctx.q31_1 = _token;
|
|
933
939
|
this.y1v_1 = 41;
|
|
934
940
|
this.c23(11);
|
|
935
941
|
break;
|
|
@@ -937,8 +943,8 @@
|
|
|
937
943
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
938
944
|
this.t23(_localctx, 3);
|
|
939
945
|
this.y1v_1 = 42;
|
|
940
|
-
|
|
941
|
-
_localctx.
|
|
946
|
+
_token = this.c23(16);
|
|
947
|
+
_localctx.u30_1 = _token;
|
|
942
948
|
break;
|
|
943
949
|
default:
|
|
944
950
|
throw new NoViableAltException(this);
|
|
@@ -967,15 +973,15 @@
|
|
|
967
973
|
function StateExpressionVisitor() {
|
|
968
974
|
}
|
|
969
975
|
function Expression(expr, raw) {
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
976
|
+
this.s31_1 = expr;
|
|
977
|
+
this.t31_1 = raw;
|
|
972
978
|
}
|
|
973
|
-
protoOf(Expression).
|
|
974
|
-
return !(this.
|
|
979
|
+
protoOf(Expression).u31 = function () {
|
|
980
|
+
return !(this.s31_1 == null);
|
|
975
981
|
};
|
|
976
|
-
protoOf(Expression).
|
|
982
|
+
protoOf(Expression).v31 = function (state) {
|
|
977
983
|
// Inline function 'kotlin.checkNotNull' call
|
|
978
|
-
var value = this.
|
|
984
|
+
var value = this.s31_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.h24((new StateExpressionEvaluator(state)).
|
|
999
|
+
return tmp$ret$1.h24((new StateExpressionEvaluator(state)).x31_1);
|
|
994
1000
|
};
|
|
995
|
-
protoOf(Expression).
|
|
1001
|
+
protoOf(Expression).z31 = function () {
|
|
996
1002
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
997
|
-
var tmp0_safe_receiver = this.
|
|
1003
|
+
var tmp0_safe_receiver = this.s31_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.t31_1 === other.t31_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.t31_1);
|
|
1025
1031
|
};
|
|
1026
1032
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1027
1033
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
@@ -1033,7 +1039,7 @@
|
|
|
1033
1039
|
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().i1r(_this__u8e3s4)));
|
|
1034
1040
|
var parser = new StateExpressionParser(tokens);
|
|
1035
1041
|
parser.s1r_1 = new BailErrorStrategy();
|
|
1036
|
-
var expr = parser.
|
|
1042
|
+
var expr = parser.r31();
|
|
1037
1043
|
var tmp_0;
|
|
1038
1044
|
var tmp_1 = tokens.b1(tokens.w1t()).j1u();
|
|
1039
1045
|
if (tmp_1 === -1) {
|
|
@@ -1069,7 +1075,7 @@
|
|
|
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.h2r();
|
|
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
|
|
@@ -1094,23 +1100,23 @@
|
|
|
1094
1100
|
return destination;
|
|
1095
1101
|
}
|
|
1096
1102
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1097
|
-
this.
|
|
1103
|
+
this.a32_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).p2r = function (ctx) {
|
|
1107
|
+
return ensureNotNull(ensureNotNull(ctx.x2w_1).h24(this));
|
|
1102
1108
|
};
|
|
1103
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1104
|
-
return !ensureNotNull(ensureNotNull(ctx.
|
|
1109
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).s2r = function (ctx) {
|
|
1110
|
+
return !ensureNotNull(ensureNotNull(ctx.g2y_1).h24(this));
|
|
1105
1111
|
};
|
|
1106
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1107
|
-
return ensureNotNull(ensureNotNull(ctx.
|
|
1112
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).u2r = function (ctx) {
|
|
1113
|
+
return ensureNotNull(ensureNotNull(ctx.c2z_1).h24(this)) ? true : ensureNotNull(ensureNotNull(ctx.d2z_1).h24(this));
|
|
1108
1114
|
};
|
|
1109
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1110
|
-
return ensureNotNull(ensureNotNull(ctx.
|
|
1115
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).v2r = function (ctx) {
|
|
1116
|
+
return ensureNotNull(ensureNotNull(ctx.o2z_1).h24(this)) ? ensureNotNull(ensureNotNull(ctx.p2z_1).h24(this)) : false;
|
|
1111
1117
|
};
|
|
1112
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1113
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1118
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).q2r = function (ctx) {
|
|
1119
|
+
var tmp0_subject = ensureNotNull(ctx.i2x_1).j1u();
|
|
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).r2r = function (ctx) {
|
|
1133
|
+
var varName = ensureNotNull(ensureNotNull(ctx.t2x_1).s1u());
|
|
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.v2x_1).s1u());
|
|
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.u2x_1).j1u();
|
|
1137
1143
|
var tmp;
|
|
1138
1144
|
if (tmp0_subject === 1) {
|
|
1139
|
-
tmp = this.
|
|
1145
|
+
tmp = this.a32_1.w31_1.y1j(varName).v(value);
|
|
1140
1146
|
} else {
|
|
1141
1147
|
if (tmp0_subject === 2) {
|
|
1142
|
-
tmp = !this.
|
|
1148
|
+
tmp = !this.a32_1.w31_1.y1j(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).o2r = function (ctx) {
|
|
1156
|
+
var left = ensureNotNull(ensureNotNull(ctx.k2w_1).h24(this.a32_1.y31_1));
|
|
1157
|
+
var right = ensureNotNull(ensureNotNull(ctx.m2w_1).h24(this.a32_1.y31_1));
|
|
1158
|
+
var tmp0_subject = ensureNotNull(ctx.l2w_1).j1u();
|
|
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).t2r = function (ctx) {
|
|
1182
1188
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1183
|
-
return !this.
|
|
1189
|
+
return !this.a32_1.w31_1.y1j(ensureNotNull(ensureNotNull(ctx.r2y_1).s1u())).x();
|
|
1184
1190
|
};
|
|
1185
1191
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1186
|
-
this.
|
|
1192
|
+
this.b32_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).y2r = function (ctx) {
|
|
1196
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.u30_1).s1u()));
|
|
1191
1197
|
};
|
|
1192
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1193
|
-
return this.
|
|
1198
|
+
protoOf(StateExpressionEvaluator$intExpr$1).x2r = function (ctx) {
|
|
1199
|
+
return this.b32_1.w31_1.y1j(ensureNotNull(ensureNotNull(ctx.q31_1).s1u())).l();
|
|
1194
1200
|
};
|
|
1195
1201
|
function StateExpressionEvaluator(state) {
|
|
1196
|
-
this.
|
|
1202
|
+
this.w31_1 = state;
|
|
1197
1203
|
var tmp = this;
|
|
1198
|
-
tmp.
|
|
1204
|
+
tmp.x31_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1199
1205
|
var tmp_0 = this;
|
|
1200
|
-
tmp_0.
|
|
1206
|
+
tmp_0.y31_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1201
1207
|
}
|
|
1202
1208
|
//region block: init
|
|
1203
1209
|
Tokens_instance = new Tokens();
|