@cruglobal/godtools-shared 0.9.0-PR436-SNAPSHOT.1236 → 0.9.0-SNAPSHOT.1145
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/88b0986a7186d029-atomicfu-js-ir.js +12 -12
- package/Napier-napier-js-ir.js +37 -37
- package/android-gto-support-gto-support-fluidsonic-locale.js +15 -8
- package/android-gto-support-gto-support-fluidsonic-locale.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3024 -3086
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
- package/colormath-root-colormath-js-ir.js +525 -525
- package/colormath-root-colormath-js-ir.js.map +1 -1
- package/fluid-locale-js-ir.js +154 -147
- package/fluid-locale-js-ir.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +446 -458
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +4 -575
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +336 -661
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-parser.js +1850 -4756
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +231 -231
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1805 -1977
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,80 +1,66 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './antlr-kotlin-antlr-kotlin-runtime-js-ir.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./antlr-kotlin-antlr-kotlin-runtime-js-ir.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['antlr-kotlin-antlr-kotlin-runtime-js-ir'] === 'undefined') {
|
|
8
|
-
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime-js-ir' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
|
|
9
|
-
}
|
|
10
7
|
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
|
|
11
8
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
if (typeof this['antlr-kotlin-antlr-kotlin-runtime-js-ir'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime-js-ir' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime-js-ir' is loaded prior to 'kotlin-mpp-godtools-tool-parser-parser-expressions'.");
|
|
12
|
+
}
|
|
13
|
+
root['kotlin-mpp-godtools-tool-parser-parser-expressions'] = factory(typeof this['kotlin-mpp-godtools-tool-parser-parser-expressions'] === 'undefined' ? {} : this['kotlin-mpp-godtools-tool-parser-parser-expressions'], this['kotlin-kotlin-stdlib-js-ir'], this['antlr-kotlin-antlr-kotlin-runtime-js-ir']);
|
|
14
14
|
}
|
|
15
|
-
}(this, function (_,
|
|
15
|
+
}(this, function (_, kotlin_kotlin, kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var AbstractParseTreeVisitor = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
|
|
19
|
-
var ensureNotNull = kotlin_kotlin.$_$.v8;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.h6;
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.m5;
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.e9;
|
|
23
|
-
var setMetadataFor = kotlin_kotlin.$_$.i6;
|
|
24
18
|
var Unit_getInstance = kotlin_kotlin.$_$.i2;
|
|
25
19
|
var PredictionContextCache = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.k;
|
|
26
|
-
var listOf = kotlin_kotlin.$_$.
|
|
27
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
28
|
-
var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
29
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
20
|
+
var listOf = kotlin_kotlin.$_$.r3;
|
|
21
|
+
var copyToArray = kotlin_kotlin.$_$.z2;
|
|
22
|
+
var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.w;
|
|
23
|
+
var fillArrayVal = kotlin_kotlin.$_$.n5;
|
|
30
24
|
var ATNDeserializer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.h;
|
|
31
25
|
var asCharArray = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.a;
|
|
26
|
+
var ensureNotNull = kotlin_kotlin.$_$.r8;
|
|
32
27
|
var DFA = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.l;
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
28
|
+
var protoOf = kotlin_kotlin.$_$.e6;
|
|
29
|
+
var objectMeta = kotlin_kotlin.$_$.d6;
|
|
30
|
+
var VOID = kotlin_kotlin.$_$.a9;
|
|
31
|
+
var setMetadataFor = kotlin_kotlin.$_$.f6;
|
|
32
|
+
var Enum = kotlin_kotlin.$_$.a8;
|
|
33
|
+
var classMeta = kotlin_kotlin.$_$.j5;
|
|
34
|
+
var Lexer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.q;
|
|
36
35
|
var Lexer_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.b;
|
|
37
36
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
|
|
38
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
39
|
-
var isArray = kotlin_kotlin.$_$.
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.l8;
|
|
38
|
+
var isArray = kotlin_kotlin.$_$.t5;
|
|
40
39
|
var LexerATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.i;
|
|
41
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
42
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
43
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
40
|
+
var KProperty1 = kotlin_kotlin.$_$.u6;
|
|
41
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.p5;
|
|
42
|
+
var interfaceMeta = kotlin_kotlin.$_$.s5;
|
|
44
43
|
var ParserRuleContext_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.d;
|
|
45
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
44
|
+
var objectCreate = kotlin_kotlin.$_$.c6;
|
|
46
45
|
var ParserRuleContext_init_$Init$_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.c;
|
|
47
|
-
var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
49
|
-
var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
50
|
-
var Long = kotlin_kotlin.$_$.
|
|
46
|
+
var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.s;
|
|
47
|
+
var isInterface = kotlin_kotlin.$_$.v5;
|
|
48
|
+
var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.v;
|
|
49
|
+
var Long = kotlin_kotlin.$_$.f8;
|
|
51
50
|
var Companion_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.e;
|
|
52
|
-
var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
53
|
-
var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
54
|
-
var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
51
|
+
var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.p;
|
|
52
|
+
var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
|
|
53
|
+
var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.t;
|
|
55
54
|
var ParserATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.j;
|
|
56
|
-
var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
57
|
-
var
|
|
58
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
59
|
-
var toSet = kotlin_kotlin.$_$.k4;
|
|
60
|
-
var emptySet = kotlin_kotlin.$_$.e3;
|
|
61
|
-
var isBlank = kotlin_kotlin.$_$.g7;
|
|
55
|
+
var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.r;
|
|
56
|
+
var isBlank = kotlin_kotlin.$_$.d7;
|
|
62
57
|
var CharStreams_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.f;
|
|
63
|
-
var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
64
|
-
var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.
|
|
58
|
+
var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
|
|
59
|
+
var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
|
|
65
60
|
var Companion_getInstance_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.g;
|
|
66
61
|
var ParseCancellationException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.m;
|
|
67
|
-
var emptyList = kotlin_kotlin.$_$.c3;
|
|
68
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
|
|
69
|
-
var listOfNotNull = kotlin_kotlin.$_$.s3;
|
|
70
|
-
var TerminalNode = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
|
|
71
|
-
var addAll = kotlin_kotlin.$_$.p2;
|
|
72
|
-
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
73
|
-
var toInt = kotlin_kotlin.$_$.u7;
|
|
74
62
|
//endregion
|
|
75
63
|
//region block: pre-declaration
|
|
76
|
-
setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
|
|
77
|
-
setMetadataFor(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', classMeta, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor]);
|
|
78
64
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
79
65
|
setMetadataFor(Channels, 'Channels', classMeta, Enum);
|
|
80
66
|
setMetadataFor(Rules, 'Rules', classMeta, Enum);
|
|
@@ -98,46 +84,7 @@
|
|
|
98
84
|
setMetadataFor(ValuesFuncContext, 'ValuesFuncContext', classMeta, IntExprContext);
|
|
99
85
|
setMetadataFor(StateExpressionParser, 'StateExpressionParser', classMeta, Parser);
|
|
100
86
|
setMetadataFor(Expression, 'Expression', classMeta);
|
|
101
|
-
setMetadataFor(StateExpressionEvaluator$booleanExpr$1, VOID, classMeta, StateExpressionBaseVisitor);
|
|
102
|
-
setMetadataFor(StateExpressionEvaluator$intExpr$1, VOID, classMeta, StateExpressionBaseVisitor);
|
|
103
|
-
setMetadataFor(StateExpressionEvaluator, 'StateExpressionEvaluator', classMeta);
|
|
104
87
|
//endregion
|
|
105
|
-
function StateExpressionBaseVisitor() {
|
|
106
|
-
AbstractParseTreeVisitor.call(this);
|
|
107
|
-
}
|
|
108
|
-
protoOf(StateExpressionBaseVisitor).i27 = function (ctx) {
|
|
109
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
110
|
-
};
|
|
111
|
-
protoOf(StateExpressionBaseVisitor).j27 = function (ctx) {
|
|
112
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
113
|
-
};
|
|
114
|
-
protoOf(StateExpressionBaseVisitor).k27 = function (ctx) {
|
|
115
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
116
|
-
};
|
|
117
|
-
protoOf(StateExpressionBaseVisitor).l27 = function (ctx) {
|
|
118
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
119
|
-
};
|
|
120
|
-
protoOf(StateExpressionBaseVisitor).m27 = function (ctx) {
|
|
121
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
122
|
-
};
|
|
123
|
-
protoOf(StateExpressionBaseVisitor).n27 = function (ctx) {
|
|
124
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
125
|
-
};
|
|
126
|
-
protoOf(StateExpressionBaseVisitor).o27 = function (ctx) {
|
|
127
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
128
|
-
};
|
|
129
|
-
protoOf(StateExpressionBaseVisitor).p27 = function (ctx) {
|
|
130
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
131
|
-
};
|
|
132
|
-
protoOf(StateExpressionBaseVisitor).q27 = function (ctx) {
|
|
133
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
134
|
-
};
|
|
135
|
-
protoOf(StateExpressionBaseVisitor).r27 = function (ctx) {
|
|
136
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
137
|
-
};
|
|
138
|
-
protoOf(StateExpressionBaseVisitor).s27 = function (ctx) {
|
|
139
|
-
return ensureNotNull(ensureNotNull(this).q1m(ctx));
|
|
140
|
-
};
|
|
141
88
|
var Channels_DEFAULT_TOKEN_CHANNEL_instance;
|
|
142
89
|
var Channels_HIDDEN_instance;
|
|
143
90
|
function values() {
|
|
@@ -198,23 +145,23 @@
|
|
|
198
145
|
}
|
|
199
146
|
function Companion() {
|
|
200
147
|
Companion_instance = this;
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
148
|
+
this.i26_1 = new PredictionContextCache();
|
|
149
|
+
this.j26_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
150
|
+
this.k26_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
204
151
|
var tmp = this;
|
|
205
152
|
var tmp$ret$0;
|
|
206
153
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
207
|
-
var tmp0_toTypedArray = this.
|
|
154
|
+
var tmp0_toTypedArray = this.j26_1;
|
|
208
155
|
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
209
156
|
var tmp_0 = tmp$ret$0;
|
|
210
157
|
var tmp$ret$1;
|
|
211
158
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
212
|
-
var tmp1_toTypedArray = this.
|
|
159
|
+
var tmp1_toTypedArray = this.k26_1;
|
|
213
160
|
tmp$ret$1 = copyToArray(tmp1_toTypedArray);
|
|
214
|
-
tmp.
|
|
161
|
+
tmp.l26_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
|
|
215
162
|
var tmp_1 = this;
|
|
216
163
|
var tmp_2 = 0;
|
|
217
|
-
var tmp_3 = this.
|
|
164
|
+
var tmp_3 = this.k26_1.i();
|
|
218
165
|
var tmp$ret$2;
|
|
219
166
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
220
167
|
tmp$ret$2 = fillArrayVal(Array(tmp_3), null);
|
|
@@ -223,9 +170,9 @@
|
|
|
223
170
|
var tmp_5 = tmp_2;
|
|
224
171
|
var tmp$ret$3;
|
|
225
172
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
226
|
-
var el = Companion_getInstance_1().
|
|
173
|
+
var el = Companion_getInstance_1().l26_1.i1m(tmp_5);
|
|
227
174
|
if (el == null) {
|
|
228
|
-
el = Companion_getInstance_1().
|
|
175
|
+
el = Companion_getInstance_1().l26_1.j1m(tmp_5);
|
|
229
176
|
}
|
|
230
177
|
if (el == null) {
|
|
231
178
|
el = '<INVALID>';
|
|
@@ -234,12 +181,12 @@
|
|
|
234
181
|
tmp_4[tmp_5] = tmp$ret$3;
|
|
235
182
|
tmp_2 = tmp_2 + 1 | 0;
|
|
236
183
|
}
|
|
237
|
-
tmp_1.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
184
|
+
tmp_1.m26_1 = tmp_4;
|
|
185
|
+
this.n26_1 = "\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02";
|
|
186
|
+
this.o26_1 = (new ATNDeserializer()).t1q(asCharArray("\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x02\x14}\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x06\x11a\n\x11\r\x11\x0E\x11b\x03\x12\x03\x12\x07\x12g\n\x12\f\x12\x0E\x12j\x0B\x12\x03\x12\x03\x12\x03\x12\x07\x12o\n\x12\f\x12\x0E\x12r\x0B\x12\x03\x12\x05\x12u\n\x12\x03\x13\x03\x13\x07\x13y\n\x13\f\x13\x0E\x13|\x0B\x13\x02\x02\x14\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F\x1D\x10\x1F\x11!\x12#\x13%\x14\x03\x02\x07\x03\x022;\x03\x02$$\x03\x02))\x04\x02C\\c|\x06\x022;C\\aac|\x02\x81\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03'\x03\x02\x02\x02\x05*\x03\x02\x02\x02\x07-\x03\x02\x02\x02\t0\x03\x02\x02\x02\x0B3\x03\x02\x02\x02\r5\x03\x02\x02\x02\x0F8\x03\x02\x02\x02\x11:\x03\x02\x02\x02\x13=\x03\x02\x02\x02\x15?\x03\x02\x02\x02\x17A\x03\x02\x02\x02\x19C\x03\x02\x02\x02\x1BH\x03\x02\x02\x02\x1DN\x03\x02\x02\x02\x1FV\x03\x02\x02\x02!`\x03\x02\x02\x02#t\x03\x02\x02\x02%v\x03\x02\x02\x02'(\x07?\x02\x02()\x07?\x02\x02)\x04\x03\x02\x02\x02*+\x07#\x02\x02+,\x07?\x02\x02,\x06\x03\x02\x02\x02-.\x07(\x02\x02./\x07(\x02\x02/\b\x03\x02\x02\x0201\x07~\x02\x0212\x07~\x02\x022\n\x03\x02\x02\x0234\x07#\x02\x024\f\x03\x02\x02\x0256\x07@\x02\x0267\x07?\x02\x027\x0E\x03\x02\x02\x0289\x07@\x02\x029\x10\x03\x02\x02\x02:;\x07>\x02\x02;<\x07?\x02\x02<\x12\x03\x02\x02\x02=>\x07>\x02\x02>\x14\x03\x02\x02\x02?@\x07*\x02\x02@\x16\x03\x02\x02\x02AB\x07+\x02\x02B\x18\x03\x02\x02\x02CD\x07v\x02\x02DE\x07t\x02\x02EF\x07w\x02\x02FG\x07g\x02\x02G\x1A\x03\x02\x02\x02HI\x07h\x02\x02IJ\x07c\x02\x02JK\x07n\x02\x02KL\x07u\x02\x02LM\x07g\x02\x02M\x1C\x03\x02\x02\x02NO\x07k\x02\x02OP\x07u\x02\x02PQ\x07U\x02\x02QR\x07g\x02\x02RS\x07v\x02\x02ST\x03\x02\x02\x02TU\x05\x15\x0B\x02U\x1E\x03\x02\x02\x02VW\x07x\x02\x02WX\x07c\x02\x02XY\x07n\x02\x02YZ\x07w\x02\x02Z[\x07g\x02\x02[\\\x07u\x02\x02\\]\x03\x02\x02\x02]^\x05\x15\x0B\x02^ \x03\x02\x02\x02_a\t\x02\x02\x02`_\x03\x02\x02\x02ab\x03\x02\x02\x02b`\x03\x02\x02\x02bc\x03\x02\x02\x02c\"\x03\x02\x02\x02dh\x07$\x02\x02eg\n\x03\x02\x02fe\x03\x02\x02\x02gj\x03\x02\x02\x02hf\x03\x02\x02\x02hi\x03\x02\x02\x02ik\x03\x02\x02\x02jh\x03\x02\x02\x02ku\x07$\x02\x02lp\x07)\x02\x02mo\n\x04\x02\x02nm\x03\x02\x02\x02or\x03\x02\x02\x02pn\x03\x02\x02\x02pq\x03\x02\x02\x02qs\x03\x02\x02\x02rp\x03\x02\x02\x02su\x07)\x02\x02td\x03\x02\x02\x02tl\x03\x02\x02\x02u$\x03\x02\x02\x02vz\t\x05\x02\x02wy\t\x06\x02\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02\x02{&\x03\x02\x02\x02|z\x03\x02\x02\x02\b\x02bhptz\x02"));
|
|
240
187
|
var tmp_6 = this;
|
|
241
188
|
var tmp_7 = 0;
|
|
242
|
-
var tmp_8 = this.
|
|
189
|
+
var tmp_8 = this.o26_1.l1m();
|
|
243
190
|
var tmp$ret$4;
|
|
244
191
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
245
192
|
tmp$ret$4 = fillArrayVal(Array(tmp_8), null);
|
|
@@ -248,11 +195,11 @@
|
|
|
248
195
|
var tmp_10 = tmp_7;
|
|
249
196
|
var tmp$ret$5;
|
|
250
197
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
251
|
-
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().
|
|
198
|
+
tmp$ret$5 = new DFA(ensureNotNull(Companion_getInstance_1().o26_1.z1m(tmp_10)), tmp_10);
|
|
252
199
|
tmp_9[tmp_10] = tmp$ret$5;
|
|
253
200
|
tmp_7 = tmp_7 + 1 | 0;
|
|
254
201
|
}
|
|
255
|
-
tmp_6.
|
|
202
|
+
tmp_6.h26_1 = tmp_9;
|
|
256
203
|
}
|
|
257
204
|
var Companion_instance;
|
|
258
205
|
function Companion_getInstance_1() {
|
|
@@ -262,7 +209,7 @@
|
|
|
262
209
|
}
|
|
263
210
|
function Channels(name, ordinal, id) {
|
|
264
211
|
Enum.call(this, name, ordinal);
|
|
265
|
-
this.
|
|
212
|
+
this.r26_1 = id;
|
|
266
213
|
}
|
|
267
214
|
function Rules(name, ordinal) {
|
|
268
215
|
Enum.call(this, name, ordinal);
|
|
@@ -350,7 +297,7 @@
|
|
|
350
297
|
function StateExpressionLexer(input) {
|
|
351
298
|
Companion_getInstance_1();
|
|
352
299
|
Lexer_init_$Init$(input, this);
|
|
353
|
-
this.
|
|
300
|
+
this.i27_1 = input;
|
|
354
301
|
var tmp = this;
|
|
355
302
|
var tmp$ret$2;
|
|
356
303
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -373,13 +320,13 @@
|
|
|
373
320
|
tmp$ret$1 = tmp$ret$0;
|
|
374
321
|
var tmp3_toTypedArray = tmp$ret$1;
|
|
375
322
|
tmp$ret$2 = copyToArray(tmp3_toTypedArray);
|
|
376
|
-
tmp.
|
|
323
|
+
tmp.j27_1 = tmp$ret$2;
|
|
377
324
|
var tmp_0 = this;
|
|
378
|
-
var tmp_1 = Companion_getInstance_1().
|
|
379
|
-
var tmp_2 = Companion_getInstance_1().
|
|
380
|
-
tmp_0.
|
|
325
|
+
var tmp_1 = Companion_getInstance_1().o26_1;
|
|
326
|
+
var tmp_2 = Companion_getInstance_1().h26_1;
|
|
327
|
+
tmp_0.s1d_1 = new LexerATNSimulator(this, tmp_1, isArray(tmp_2) ? tmp_2 : THROW_CCE(), Companion_getInstance_1().i26_1);
|
|
381
328
|
}
|
|
382
|
-
protoOf(StateExpressionLexer).
|
|
329
|
+
protoOf(StateExpressionLexer).l1g = function () {
|
|
383
330
|
var tmp$ret$3;
|
|
384
331
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
385
332
|
var tmp$ret$2;
|
|
@@ -405,11 +352,11 @@
|
|
|
405
352
|
tmp$ret$3 = copyToArray(tmp2_toTypedArray);
|
|
406
353
|
return tmp$ret$3;
|
|
407
354
|
};
|
|
408
|
-
protoOf(StateExpressionLexer).
|
|
409
|
-
return Companion_getInstance_1().
|
|
355
|
+
protoOf(StateExpressionLexer).c1f = function () {
|
|
356
|
+
return Companion_getInstance_1().o26_1;
|
|
410
357
|
};
|
|
411
|
-
protoOf(StateExpressionLexer).
|
|
412
|
-
return Companion_getInstance_1().
|
|
358
|
+
protoOf(StateExpressionLexer).v1d = function () {
|
|
359
|
+
return Companion_getInstance_1().l26_1;
|
|
413
360
|
};
|
|
414
361
|
function name$factory() {
|
|
415
362
|
return getPropertyCallableRef('name', 1, KProperty1, function (receiver) {
|
|
@@ -488,7 +435,7 @@
|
|
|
488
435
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
489
436
|
BooleanExprContext_init_$Init$_0($this);
|
|
490
437
|
IntCmpExprContext.call($this);
|
|
491
|
-
$this.
|
|
438
|
+
$this.n28(ctx);
|
|
492
439
|
return $this;
|
|
493
440
|
}
|
|
494
441
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -497,7 +444,7 @@
|
|
|
497
444
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
498
445
|
BooleanExprContext_init_$Init$_0($this);
|
|
499
446
|
ParExprContext.call($this);
|
|
500
|
-
$this.
|
|
447
|
+
$this.n28(ctx);
|
|
501
448
|
return $this;
|
|
502
449
|
}
|
|
503
450
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -506,7 +453,7 @@
|
|
|
506
453
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
507
454
|
BooleanExprContext_init_$Init$_0($this);
|
|
508
455
|
BooleanAtomContext.call($this);
|
|
509
|
-
$this.
|
|
456
|
+
$this.n28(ctx);
|
|
510
457
|
return $this;
|
|
511
458
|
}
|
|
512
459
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -515,7 +462,7 @@
|
|
|
515
462
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
516
463
|
BooleanExprContext_init_$Init$_0($this);
|
|
517
464
|
EqExprContext.call($this);
|
|
518
|
-
$this.
|
|
465
|
+
$this.n28(ctx);
|
|
519
466
|
return $this;
|
|
520
467
|
}
|
|
521
468
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -524,7 +471,7 @@
|
|
|
524
471
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
525
472
|
BooleanExprContext_init_$Init$_0($this);
|
|
526
473
|
NotExprContext.call($this);
|
|
527
|
-
$this.
|
|
474
|
+
$this.n28(ctx);
|
|
528
475
|
return $this;
|
|
529
476
|
}
|
|
530
477
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -533,7 +480,7 @@
|
|
|
533
480
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
534
481
|
BooleanExprContext_init_$Init$_0($this);
|
|
535
482
|
IsSetFuncContext.call($this);
|
|
536
|
-
$this.
|
|
483
|
+
$this.n28(ctx);
|
|
537
484
|
return $this;
|
|
538
485
|
}
|
|
539
486
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -542,7 +489,7 @@
|
|
|
542
489
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
543
490
|
BooleanExprContext_init_$Init$_0($this);
|
|
544
491
|
OrExprContext.call($this);
|
|
545
|
-
$this.
|
|
492
|
+
$this.n28(ctx);
|
|
546
493
|
return $this;
|
|
547
494
|
}
|
|
548
495
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -551,7 +498,7 @@
|
|
|
551
498
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
552
499
|
BooleanExprContext_init_$Init$_0($this);
|
|
553
500
|
AndExprContext.call($this);
|
|
554
|
-
$this.
|
|
501
|
+
$this.n28(ctx);
|
|
555
502
|
return $this;
|
|
556
503
|
}
|
|
557
504
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -573,7 +520,7 @@
|
|
|
573
520
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
574
521
|
IntExprContext_init_$Init$_0($this);
|
|
575
522
|
IntAtomContext.call($this);
|
|
576
|
-
$this.
|
|
523
|
+
$this.v28(ctx);
|
|
577
524
|
return $this;
|
|
578
525
|
}
|
|
579
526
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -582,7 +529,7 @@
|
|
|
582
529
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
583
530
|
IntExprContext_init_$Init$_0($this);
|
|
584
531
|
ParIntExprContext.call($this);
|
|
585
|
-
$this.
|
|
532
|
+
$this.v28(ctx);
|
|
586
533
|
return $this;
|
|
587
534
|
}
|
|
588
535
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -591,7 +538,7 @@
|
|
|
591
538
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
592
539
|
IntExprContext_init_$Init$_0($this);
|
|
593
540
|
ValuesFuncContext.call($this);
|
|
594
|
-
$this.
|
|
541
|
+
$this.v28(ctx);
|
|
595
542
|
return $this;
|
|
596
543
|
}
|
|
597
544
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -599,15 +546,15 @@
|
|
|
599
546
|
}
|
|
600
547
|
function Tokens(name, ordinal, id) {
|
|
601
548
|
Enum.call(this, name, ordinal);
|
|
602
|
-
this.
|
|
549
|
+
this.y28_1 = id;
|
|
603
550
|
}
|
|
604
551
|
function Rules_0(name, ordinal, id) {
|
|
605
552
|
Enum.call(this, name, ordinal);
|
|
606
|
-
this.
|
|
553
|
+
this.b29_1 = id;
|
|
607
554
|
}
|
|
608
555
|
function Companion_0() {
|
|
609
556
|
Companion_instance_0 = this;
|
|
610
|
-
this.
|
|
557
|
+
this.d29_1 = new PredictionContextCache();
|
|
611
558
|
var tmp = this;
|
|
612
559
|
var tmp$ret$2;
|
|
613
560
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -618,23 +565,23 @@
|
|
|
618
565
|
tmp$ret$0 = ['booleanExpr', 'intExpr'];
|
|
619
566
|
tmp$ret$1 = tmp$ret$0;
|
|
620
567
|
tmp$ret$2 = tmp$ret$1;
|
|
621
|
-
tmp.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
568
|
+
tmp.e29_1 = tmp$ret$2;
|
|
569
|
+
this.f29_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
570
|
+
this.g29_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
624
571
|
var tmp_0 = this;
|
|
625
572
|
var tmp$ret$3;
|
|
626
573
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
627
|
-
var tmp0_toTypedArray = this.
|
|
574
|
+
var tmp0_toTypedArray = this.f29_1;
|
|
628
575
|
tmp$ret$3 = copyToArray(tmp0_toTypedArray);
|
|
629
576
|
var tmp_1 = tmp$ret$3;
|
|
630
577
|
var tmp$ret$4;
|
|
631
578
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
632
|
-
var tmp1_toTypedArray = this.
|
|
579
|
+
var tmp1_toTypedArray = this.g29_1;
|
|
633
580
|
tmp$ret$4 = copyToArray(tmp1_toTypedArray);
|
|
634
|
-
tmp_0.
|
|
581
|
+
tmp_0.h29_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
|
|
635
582
|
var tmp_2 = this;
|
|
636
583
|
var tmp_3 = 0;
|
|
637
|
-
var tmp_4 = this.
|
|
584
|
+
var tmp_4 = this.g29_1.i();
|
|
638
585
|
var tmp$ret$5;
|
|
639
586
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
640
587
|
tmp$ret$5 = fillArrayVal(Array(tmp_4), null);
|
|
@@ -643,9 +590,9 @@
|
|
|
643
590
|
var tmp_6 = tmp_3;
|
|
644
591
|
var tmp$ret$6;
|
|
645
592
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.tokenNames.<anonymous>' call
|
|
646
|
-
var el = Companion_getInstance_2().
|
|
593
|
+
var el = Companion_getInstance_2().h29_1.i1m(tmp_6);
|
|
647
594
|
if (el == null) {
|
|
648
|
-
el = Companion_getInstance_2().
|
|
595
|
+
el = Companion_getInstance_2().h29_1.j1m(tmp_6);
|
|
649
596
|
}
|
|
650
597
|
if (el == null) {
|
|
651
598
|
el = '<INVALID>';
|
|
@@ -654,12 +601,12 @@
|
|
|
654
601
|
tmp_5[tmp_6] = tmp$ret$6;
|
|
655
602
|
tmp_3 = tmp_3 + 1 | 0;
|
|
656
603
|
}
|
|
657
|
-
tmp_2.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
604
|
+
tmp_2.i29_1 = tmp_5;
|
|
605
|
+
this.j29_1 = '\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-';
|
|
606
|
+
this.k29_1 = (new ATNDeserializer()).t1q(asCharArray('\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786\u5964\x03\x140\x04\x02\t\x02\x04\x03\t\x03\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02\x19\n\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x07\x02!\n\x02\f\x02\x0E\x02$\x0B\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03.\n\x03\x03\x03\x02\x03\x02\x04\x02\x04\x02\x05\x03\x02\x03\x04\x04\x02\x03\x04\b\x0B\x03\x02\x0E\x0F\x026\x02\x18\x03\x02\x02\x02\x04-\x03\x02\x02\x02\x06\x07\b\x02\x01\x02\x07\b\x07\f\x02\x02\b\t\x05\x02\x02\x02\t\n\x07\r\x02\x02\n\x19\x03\x02\x02\x02\x0B\f\x07\x07\x02\x02\f\x19\x05\x02\x02\t\r\x0E\x07\x10\x02\x02\x0E\x0F\x07\x14\x02\x02\x0F\x19\x07\r\x02\x02\x10\x11\x07\x14\x02\x02\x11\x12\t\x02\x02\x02\x12\x19\x07\x13\x02\x02\x13\x14\x05\x04\x03\x02\x14\x15\t\x03\x02\x02\x15\x16\x05\x04\x03\x02\x16\x19\x03\x02\x02\x02\x17\x19\t\x04\x02\x02\x18\x06\x03\x02\x02\x02\x18\x0B\x03\x02\x02\x02\x18\r\x03\x02\x02\x02\x18\x10\x03\x02\x02\x02\x18\x13\x03\x02\x02\x02\x18\x17\x03\x02\x02\x02\x19"\x03\x02\x02\x02\x1A\x1B\f\b\x02\x02\x1B\x1C\x07\x05\x02\x02\x1C!\x05\x02\x02\t\x1D\x1E\f\x07\x02\x02\x1E\x1F\x07\x06\x02\x02\x1F!\x05\x02\x02\b \x1A\x03\x02\x02\x02 \x1D\x03\x02\x02\x02!$\x03\x02\x02\x02" \x03\x02\x02\x02"#\x03\x02\x02\x02#\x03\x03\x02\x02\x02$"\x03\x02\x02\x02%&\x07\f\x02\x02&\'\x05\x04\x03\x02\'(\x07\r\x02\x02(.\x03\x02\x02\x02)*\x07\x11\x02\x02*+\x07\x14\x02\x02+.\x07\r\x02\x02,.\x07\x12\x02\x02-%\x03\x02\x02\x02-)\x03\x02\x02\x02-,\x03\x02\x02\x02.\x05\x03\x02\x02\x02\x06\x18 "-'));
|
|
660
607
|
var tmp_7 = this;
|
|
661
608
|
var tmp_8 = 0;
|
|
662
|
-
var tmp_9 = this.
|
|
609
|
+
var tmp_9 = this.k29_1.l1m();
|
|
663
610
|
var tmp$ret$7;
|
|
664
611
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
665
612
|
tmp$ret$7 = fillArrayVal(Array(tmp_9), null);
|
|
@@ -668,11 +615,11 @@
|
|
|
668
615
|
var tmp_11 = tmp_8;
|
|
669
616
|
var tmp$ret$8;
|
|
670
617
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.Companion.<anonymous>' call
|
|
671
|
-
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().
|
|
618
|
+
tmp$ret$8 = new DFA(ensureNotNull(Companion_getInstance_2().k29_1.z1m(tmp_11)), tmp_11);
|
|
672
619
|
tmp_10[tmp_11] = tmp$ret$8;
|
|
673
620
|
tmp_8 = tmp_8 + 1 | 0;
|
|
674
621
|
}
|
|
675
|
-
tmp_7.
|
|
622
|
+
tmp_7.c29_1 = tmp_10;
|
|
676
623
|
}
|
|
677
624
|
var Companion_instance_0;
|
|
678
625
|
function Companion_getInstance_2() {
|
|
@@ -680,211 +627,155 @@
|
|
|
680
627
|
new Companion_0();
|
|
681
628
|
return Companion_instance_0;
|
|
682
629
|
}
|
|
683
|
-
protoOf(BooleanExprContext).
|
|
684
|
-
return Rules_RULE_booleanExpr_getInstance().
|
|
630
|
+
protoOf(BooleanExprContext).m1g = function () {
|
|
631
|
+
return Rules_RULE_booleanExpr_getInstance().b29_1;
|
|
685
632
|
};
|
|
686
|
-
protoOf(BooleanExprContext).
|
|
687
|
-
protoOf(ParserRuleContext).
|
|
633
|
+
protoOf(BooleanExprContext).n28 = function (ctx) {
|
|
634
|
+
protoOf(ParserRuleContext).n1l.call(this, ctx);
|
|
688
635
|
};
|
|
689
636
|
function BooleanExprContext() {
|
|
690
637
|
}
|
|
691
|
-
protoOf(IntCmpExprContext).
|
|
638
|
+
protoOf(IntCmpExprContext).r1k = function (listener) {
|
|
692
639
|
if (isInterface(listener, StateExpressionListener)) {
|
|
693
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
640
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).k27(this);
|
|
694
641
|
}
|
|
695
642
|
};
|
|
696
|
-
protoOf(IntCmpExprContext).
|
|
643
|
+
protoOf(IntCmpExprContext).t1k = function (listener) {
|
|
697
644
|
if (isInterface(listener, StateExpressionListener)) {
|
|
698
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
699
|
-
}
|
|
700
|
-
};
|
|
701
|
-
protoOf(IntCmpExprContext).i1m = function (visitor) {
|
|
702
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
703
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).i27(this);
|
|
704
|
-
} else {
|
|
705
|
-
return ensureNotNull(visitor.q1m(this));
|
|
645
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).l27(this);
|
|
706
646
|
}
|
|
707
647
|
};
|
|
708
648
|
function IntCmpExprContext() {
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
649
|
+
this.s29_1 = null;
|
|
650
|
+
this.t29_1 = null;
|
|
651
|
+
this.u29_1 = null;
|
|
712
652
|
}
|
|
713
|
-
protoOf(ParExprContext).
|
|
653
|
+
protoOf(ParExprContext).r1k = function (listener) {
|
|
714
654
|
if (isInterface(listener, StateExpressionListener)) {
|
|
715
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
655
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m27(this);
|
|
716
656
|
}
|
|
717
657
|
};
|
|
718
|
-
protoOf(ParExprContext).
|
|
658
|
+
protoOf(ParExprContext).t1k = function (listener) {
|
|
719
659
|
if (isInterface(listener, StateExpressionListener)) {
|
|
720
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
721
|
-
}
|
|
722
|
-
};
|
|
723
|
-
protoOf(ParExprContext).i1m = function (visitor) {
|
|
724
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
725
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).j27(this);
|
|
726
|
-
} else {
|
|
727
|
-
return ensureNotNull(visitor.q1m(this));
|
|
660
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n27(this);
|
|
728
661
|
}
|
|
729
662
|
};
|
|
730
663
|
function ParExprContext() {
|
|
731
|
-
this.
|
|
664
|
+
this.c2a_1 = null;
|
|
732
665
|
}
|
|
733
|
-
protoOf(BooleanAtomContext).
|
|
666
|
+
protoOf(BooleanAtomContext).r1k = function (listener) {
|
|
734
667
|
if (isInterface(listener, StateExpressionListener)) {
|
|
735
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
668
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o27(this);
|
|
736
669
|
}
|
|
737
670
|
};
|
|
738
|
-
protoOf(BooleanAtomContext).
|
|
671
|
+
protoOf(BooleanAtomContext).t1k = function (listener) {
|
|
739
672
|
if (isInterface(listener, StateExpressionListener)) {
|
|
740
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
protoOf(BooleanAtomContext).i1m = function (visitor) {
|
|
744
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
745
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).k27(this);
|
|
746
|
-
} else {
|
|
747
|
-
return ensureNotNull(visitor.q1m(this));
|
|
673
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p27(this);
|
|
748
674
|
}
|
|
749
675
|
};
|
|
750
676
|
function BooleanAtomContext() {
|
|
751
|
-
this.
|
|
677
|
+
this.k2a_1 = null;
|
|
752
678
|
}
|
|
753
|
-
protoOf(EqExprContext).
|
|
679
|
+
protoOf(EqExprContext).r1k = function (listener) {
|
|
754
680
|
if (isInterface(listener, StateExpressionListener)) {
|
|
755
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
681
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q27(this);
|
|
756
682
|
}
|
|
757
683
|
};
|
|
758
|
-
protoOf(EqExprContext).
|
|
684
|
+
protoOf(EqExprContext).t1k = function (listener) {
|
|
759
685
|
if (isInterface(listener, StateExpressionListener)) {
|
|
760
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
protoOf(EqExprContext).i1m = function (visitor) {
|
|
764
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
765
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).l27(this);
|
|
766
|
-
} else {
|
|
767
|
-
return ensureNotNull(visitor.q1m(this));
|
|
686
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r27(this);
|
|
768
687
|
}
|
|
769
688
|
};
|
|
770
689
|
function EqExprContext() {
|
|
771
|
-
this.
|
|
772
|
-
this.
|
|
773
|
-
this.
|
|
690
|
+
this.s2a_1 = null;
|
|
691
|
+
this.t2a_1 = null;
|
|
692
|
+
this.u2a_1 = null;
|
|
774
693
|
}
|
|
775
|
-
protoOf(NotExprContext).
|
|
694
|
+
protoOf(NotExprContext).r1k = function (listener) {
|
|
776
695
|
if (isInterface(listener, StateExpressionListener)) {
|
|
777
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
696
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s27(this);
|
|
778
697
|
}
|
|
779
698
|
};
|
|
780
|
-
protoOf(NotExprContext).
|
|
699
|
+
protoOf(NotExprContext).t1k = function (listener) {
|
|
781
700
|
if (isInterface(listener, StateExpressionListener)) {
|
|
782
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
783
|
-
}
|
|
784
|
-
};
|
|
785
|
-
protoOf(NotExprContext).i1m = function (visitor) {
|
|
786
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
787
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).m27(this);
|
|
788
|
-
} else {
|
|
789
|
-
return ensureNotNull(visitor.q1m(this));
|
|
701
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t27(this);
|
|
790
702
|
}
|
|
791
703
|
};
|
|
792
704
|
function NotExprContext() {
|
|
793
|
-
this.
|
|
705
|
+
this.c2b_1 = null;
|
|
794
706
|
}
|
|
795
|
-
protoOf(IsSetFuncContext).
|
|
707
|
+
protoOf(IsSetFuncContext).r1k = function (listener) {
|
|
796
708
|
if (isInterface(listener, StateExpressionListener)) {
|
|
797
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
709
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u27(this);
|
|
798
710
|
}
|
|
799
711
|
};
|
|
800
|
-
protoOf(IsSetFuncContext).
|
|
712
|
+
protoOf(IsSetFuncContext).t1k = function (listener) {
|
|
801
713
|
if (isInterface(listener, StateExpressionListener)) {
|
|
802
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
803
|
-
}
|
|
804
|
-
};
|
|
805
|
-
protoOf(IsSetFuncContext).i1m = function (visitor) {
|
|
806
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
807
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).n27(this);
|
|
808
|
-
} else {
|
|
809
|
-
return ensureNotNull(visitor.q1m(this));
|
|
714
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).v27(this);
|
|
810
715
|
}
|
|
811
716
|
};
|
|
812
717
|
function IsSetFuncContext() {
|
|
813
|
-
this.
|
|
718
|
+
this.k2b_1 = null;
|
|
814
719
|
}
|
|
815
|
-
protoOf(OrExprContext).
|
|
720
|
+
protoOf(OrExprContext).r1k = function (listener) {
|
|
816
721
|
if (isInterface(listener, StateExpressionListener)) {
|
|
817
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
722
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).w27(this);
|
|
818
723
|
}
|
|
819
724
|
};
|
|
820
|
-
protoOf(OrExprContext).
|
|
725
|
+
protoOf(OrExprContext).t1k = function (listener) {
|
|
821
726
|
if (isInterface(listener, StateExpressionListener)) {
|
|
822
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
823
|
-
}
|
|
824
|
-
};
|
|
825
|
-
protoOf(OrExprContext).i1m = function (visitor) {
|
|
826
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
827
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).o27(this);
|
|
828
|
-
} else {
|
|
829
|
-
return ensureNotNull(visitor.q1m(this));
|
|
727
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).x27(this);
|
|
830
728
|
}
|
|
831
729
|
};
|
|
832
730
|
function OrExprContext() {
|
|
833
|
-
this.
|
|
834
|
-
this.
|
|
731
|
+
this.s2b_1 = null;
|
|
732
|
+
this.t2b_1 = null;
|
|
835
733
|
}
|
|
836
|
-
protoOf(AndExprContext).
|
|
734
|
+
protoOf(AndExprContext).r1k = function (listener) {
|
|
837
735
|
if (isInterface(listener, StateExpressionListener)) {
|
|
838
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
736
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).y27(this);
|
|
839
737
|
}
|
|
840
738
|
};
|
|
841
|
-
protoOf(AndExprContext).
|
|
739
|
+
protoOf(AndExprContext).t1k = function (listener) {
|
|
842
740
|
if (isInterface(listener, StateExpressionListener)) {
|
|
843
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
844
|
-
}
|
|
845
|
-
};
|
|
846
|
-
protoOf(AndExprContext).i1m = function (visitor) {
|
|
847
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
848
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).p27(this);
|
|
849
|
-
} else {
|
|
850
|
-
return ensureNotNull(visitor.q1m(this));
|
|
741
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z27(this);
|
|
851
742
|
}
|
|
852
743
|
};
|
|
853
744
|
function AndExprContext() {
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
745
|
+
this.b2c_1 = null;
|
|
746
|
+
this.c2c_1 = null;
|
|
856
747
|
}
|
|
857
748
|
function booleanExpr($this, _p) {
|
|
858
|
-
var _parentctx = $this.
|
|
859
|
-
var _parentState = $this.
|
|
860
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
749
|
+
var _parentctx = $this.i19_1;
|
|
750
|
+
var _parentState = $this.t1d_1;
|
|
751
|
+
var _localctx = BooleanExprContext_init_$Create$($this.i19_1, _parentState);
|
|
861
752
|
var _prevctx = _localctx;
|
|
862
753
|
var _startState = 0;
|
|
863
|
-
$this.
|
|
754
|
+
$this.j1l(_localctx, 0, Rules_RULE_booleanExpr_getInstance().b29_1, _p);
|
|
864
755
|
var _la;
|
|
865
756
|
try {
|
|
866
757
|
var _alt;
|
|
867
|
-
$this.
|
|
758
|
+
$this.g1l(_localctx, 1);
|
|
868
759
|
{
|
|
869
|
-
$this.
|
|
870
|
-
$this.
|
|
871
|
-
var tmp0_subject = ensureNotNull($this.
|
|
760
|
+
$this.t1d_1 = 22;
|
|
761
|
+
$this.f19_1.z19($this);
|
|
762
|
+
var tmp0_subject = ensureNotNull($this.s1d_1).h1z(ensureNotNull($this.g19_1), 0, $this.i19_1);
|
|
872
763
|
switch (tmp0_subject) {
|
|
873
764
|
case 1:
|
|
874
765
|
{
|
|
875
766
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
876
|
-
$this.
|
|
767
|
+
$this.i19_1 = _localctx;
|
|
877
768
|
_prevctx = _localctx;
|
|
878
|
-
$this.
|
|
879
|
-
var tmp = $this.
|
|
769
|
+
$this.t1d_1 = 5;
|
|
770
|
+
var tmp = $this.m1k($this.y2c_1);
|
|
880
771
|
if (isInterface(tmp, Token))
|
|
881
772
|
tmp;
|
|
882
773
|
else
|
|
883
774
|
THROW_CCE();
|
|
884
|
-
$this.
|
|
885
|
-
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).
|
|
886
|
-
$this.
|
|
887
|
-
var tmp_0 = $this.
|
|
775
|
+
$this.t1d_1 = 6;
|
|
776
|
+
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).c2a_1 = booleanExpr($this, 0);
|
|
777
|
+
$this.t1d_1 = 7;
|
|
778
|
+
var tmp_0 = $this.m1k($this.z2c_1);
|
|
888
779
|
if (isInterface(tmp_0, Token))
|
|
889
780
|
tmp_0;
|
|
890
781
|
else
|
|
@@ -895,36 +786,36 @@
|
|
|
895
786
|
case 2:
|
|
896
787
|
{
|
|
897
788
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
898
|
-
$this.
|
|
789
|
+
$this.i19_1 = _localctx;
|
|
899
790
|
_prevctx = _localctx;
|
|
900
|
-
$this.
|
|
901
|
-
var tmp_1 = $this.
|
|
791
|
+
$this.t1d_1 = 9;
|
|
792
|
+
var tmp_1 = $this.m1k($this.t2c_1);
|
|
902
793
|
if (isInterface(tmp_1, Token))
|
|
903
794
|
tmp_1;
|
|
904
795
|
else
|
|
905
796
|
THROW_CCE();
|
|
906
|
-
$this.
|
|
907
|
-
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).
|
|
797
|
+
$this.t1d_1 = 10;
|
|
798
|
+
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).c2b_1 = booleanExpr($this, 7);
|
|
908
799
|
}
|
|
909
800
|
|
|
910
801
|
break;
|
|
911
802
|
case 3:
|
|
912
803
|
{
|
|
913
804
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
914
|
-
$this.
|
|
805
|
+
$this.i19_1 = _localctx;
|
|
915
806
|
_prevctx = _localctx;
|
|
916
|
-
$this.
|
|
917
|
-
var tmp_2 = $this.
|
|
807
|
+
$this.t1d_1 = 11;
|
|
808
|
+
var tmp_2 = $this.m1k($this.c2d_1);
|
|
918
809
|
if (isInterface(tmp_2, Token))
|
|
919
810
|
tmp_2;
|
|
920
811
|
else
|
|
921
812
|
THROW_CCE();
|
|
922
|
-
$this.
|
|
813
|
+
$this.t1d_1 = 12;
|
|
923
814
|
var tmp_3 = _localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE();
|
|
924
|
-
var tmp_4 = $this.
|
|
925
|
-
tmp_3.
|
|
926
|
-
$this.
|
|
927
|
-
var tmp_5 = $this.
|
|
815
|
+
var tmp_4 = $this.m1k($this.g2d_1);
|
|
816
|
+
tmp_3.k2b_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
|
|
817
|
+
$this.t1d_1 = 13;
|
|
818
|
+
var tmp_5 = $this.m1k($this.z2c_1);
|
|
928
819
|
if (isInterface(tmp_5, Token))
|
|
929
820
|
tmp_5;
|
|
930
821
|
else
|
|
@@ -935,224 +826,203 @@
|
|
|
935
826
|
case 4:
|
|
936
827
|
{
|
|
937
828
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
938
|
-
$this.
|
|
829
|
+
$this.i19_1 = _localctx;
|
|
939
830
|
_prevctx = _localctx;
|
|
940
|
-
$this.
|
|
831
|
+
$this.t1d_1 = 14;
|
|
941
832
|
var tmp_6 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
942
|
-
var tmp_7 = $this.
|
|
943
|
-
tmp_6.
|
|
944
|
-
$this.
|
|
945
|
-
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).
|
|
946
|
-
_la = ensureNotNull($this.
|
|
947
|
-
if (!(_la === $this.
|
|
833
|
+
var tmp_7 = $this.m1k($this.g2d_1);
|
|
834
|
+
tmp_6.s2a_1 = isInterface(tmp_7, Token) ? tmp_7 : THROW_CCE();
|
|
835
|
+
$this.t1d_1 = 15;
|
|
836
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).t2a_1 = ensureNotNull($this.g19_1).z1b(1);
|
|
837
|
+
_la = ensureNotNull($this.g19_1).m1b(1);
|
|
838
|
+
if (!(_la === $this.p2c_1 ? true : _la === $this.q2c_1)) {
|
|
948
839
|
var tmp_8 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
949
|
-
var tmp_9 = $this.
|
|
950
|
-
tmp_8.
|
|
840
|
+
var tmp_9 = $this.f19_1.y19($this);
|
|
841
|
+
tmp_8.t2a_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
|
|
951
842
|
} else {
|
|
952
|
-
if (ensureNotNull($this.
|
|
953
|
-
$this.
|
|
954
|
-
$this.
|
|
955
|
-
$this.
|
|
843
|
+
if (ensureNotNull($this.g19_1).m1b(1) === Tokens_EOF_getInstance().y28_1)
|
|
844
|
+
$this.m19_1 = true;
|
|
845
|
+
$this.f19_1.i1a($this);
|
|
846
|
+
$this.l1e();
|
|
956
847
|
}
|
|
957
|
-
$this.
|
|
848
|
+
$this.t1d_1 = 16;
|
|
958
849
|
var tmp_10 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
959
|
-
var tmp_11 = $this.
|
|
960
|
-
tmp_10.
|
|
850
|
+
var tmp_11 = $this.m1k($this.f2d_1);
|
|
851
|
+
tmp_10.u2a_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
|
|
961
852
|
}
|
|
962
853
|
|
|
963
854
|
break;
|
|
964
855
|
case 5:
|
|
965
856
|
{
|
|
966
857
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
967
|
-
$this.
|
|
858
|
+
$this.i19_1 = _localctx;
|
|
968
859
|
_prevctx = _localctx;
|
|
969
|
-
$this.
|
|
970
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
971
|
-
$this.
|
|
972
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
973
|
-
_la = ensureNotNull($this.
|
|
974
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).td(_la).y5((new Long(1, 0)).td($this.
|
|
860
|
+
$this.t1d_1 = 17;
|
|
861
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).s29_1 = $this.h2d();
|
|
862
|
+
$this.t1d_1 = 18;
|
|
863
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).t29_1 = ensureNotNull($this.g19_1).z1b(1);
|
|
864
|
+
_la = ensureNotNull($this.g19_1).m1b(1);
|
|
865
|
+
if (!((_la & -64) === 0 ? !(new Long(1, 0)).td(_la).y5((new Long(1, 0)).td($this.p2c_1).vd((new Long(1, 0)).td($this.q2c_1)).vd((new Long(1, 0)).td($this.u2c_1)).vd((new Long(1, 0)).td($this.v2c_1)).vd((new Long(1, 0)).td($this.w2c_1)).vd((new Long(1, 0)).td($this.x2c_1))).equals(new Long(0, 0)) : false)) {
|
|
975
866
|
var tmp_12 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
|
|
976
|
-
var tmp_13 = $this.
|
|
977
|
-
tmp_12.
|
|
867
|
+
var tmp_13 = $this.f19_1.y19($this);
|
|
868
|
+
tmp_12.t29_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
|
|
978
869
|
} else {
|
|
979
|
-
if (ensureNotNull($this.
|
|
980
|
-
$this.
|
|
981
|
-
$this.
|
|
982
|
-
$this.
|
|
870
|
+
if (ensureNotNull($this.g19_1).m1b(1) === Tokens_EOF_getInstance().y28_1)
|
|
871
|
+
$this.m19_1 = true;
|
|
872
|
+
$this.f19_1.i1a($this);
|
|
873
|
+
$this.l1e();
|
|
983
874
|
}
|
|
984
|
-
$this.
|
|
985
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
875
|
+
$this.t1d_1 = 19;
|
|
876
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).u29_1 = $this.h2d();
|
|
986
877
|
}
|
|
987
878
|
|
|
988
879
|
break;
|
|
989
880
|
case 6:
|
|
990
881
|
{
|
|
991
882
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
992
|
-
$this.
|
|
883
|
+
$this.i19_1 = _localctx;
|
|
993
884
|
_prevctx = _localctx;
|
|
994
|
-
$this.
|
|
995
|
-
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).
|
|
996
|
-
_la = ensureNotNull($this.
|
|
997
|
-
if (!(_la === $this.
|
|
885
|
+
$this.t1d_1 = 21;
|
|
886
|
+
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).k2a_1 = ensureNotNull($this.g19_1).z1b(1);
|
|
887
|
+
_la = ensureNotNull($this.g19_1).m1b(1);
|
|
888
|
+
if (!(_la === $this.a2d_1 ? true : _la === $this.b2d_1)) {
|
|
998
889
|
var tmp_14 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
|
|
999
|
-
var tmp_15 = $this.
|
|
1000
|
-
tmp_14.
|
|
890
|
+
var tmp_15 = $this.f19_1.y19($this);
|
|
891
|
+
tmp_14.k2a_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
|
|
1001
892
|
} else {
|
|
1002
|
-
if (ensureNotNull($this.
|
|
1003
|
-
$this.
|
|
1004
|
-
$this.
|
|
1005
|
-
$this.
|
|
893
|
+
if (ensureNotNull($this.g19_1).m1b(1) === Tokens_EOF_getInstance().y28_1)
|
|
894
|
+
$this.m19_1 = true;
|
|
895
|
+
$this.f19_1.i1a($this);
|
|
896
|
+
$this.l1e();
|
|
1006
897
|
}
|
|
1007
898
|
}
|
|
1008
899
|
|
|
1009
900
|
break;
|
|
1010
901
|
}
|
|
1011
|
-
ensureNotNull($this.
|
|
1012
|
-
$this.
|
|
1013
|
-
$this.
|
|
1014
|
-
_alt = ensureNotNull($this.
|
|
1015
|
-
while (!(_alt === 2) ? !(_alt === Companion_getInstance().
|
|
902
|
+
ensureNotNull($this.i19_1).s19_1 = ensureNotNull($this.g19_1).z1b(-1);
|
|
903
|
+
$this.t1d_1 = 32;
|
|
904
|
+
$this.f19_1.z19($this);
|
|
905
|
+
_alt = ensureNotNull($this.s1d_1).h1z(ensureNotNull($this.g19_1), 2, $this.i19_1);
|
|
906
|
+
while (!(_alt === 2) ? !(_alt === Companion_getInstance().k1m_1) : false) {
|
|
1016
907
|
if (_alt === 1) {
|
|
1017
|
-
if (!($this.
|
|
1018
|
-
$this.
|
|
908
|
+
if (!($this.k19_1 == null)) {
|
|
909
|
+
$this.s1k();
|
|
1019
910
|
}
|
|
1020
911
|
_prevctx = _localctx;
|
|
1021
912
|
{
|
|
1022
|
-
$this.
|
|
1023
|
-
$this.
|
|
1024
|
-
var tmp1_subject = ensureNotNull($this.
|
|
913
|
+
$this.t1d_1 = 30;
|
|
914
|
+
$this.f19_1.z19($this);
|
|
915
|
+
var tmp1_subject = ensureNotNull($this.s1d_1).h1z(ensureNotNull($this.g19_1), 1, $this.i19_1);
|
|
1025
916
|
if (tmp1_subject === 1) {
|
|
1026
917
|
{
|
|
1027
918
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
1028
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
1029
|
-
$this.
|
|
1030
|
-
$this.
|
|
1031
|
-
if (!$this.
|
|
919
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).b2c_1 = _prevctx;
|
|
920
|
+
$this.k1l(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().b29_1);
|
|
921
|
+
$this.t1d_1 = 24;
|
|
922
|
+
if (!$this.w1j(ensureNotNull($this.i19_1), 6))
|
|
1032
923
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
1033
|
-
$this.
|
|
1034
|
-
var tmp_16 = $this.
|
|
924
|
+
$this.t1d_1 = 25;
|
|
925
|
+
var tmp_16 = $this.m1k($this.r2c_1);
|
|
1035
926
|
if (isInterface(tmp_16, Token))
|
|
1036
927
|
tmp_16;
|
|
1037
928
|
else
|
|
1038
929
|
THROW_CCE();
|
|
1039
|
-
$this.
|
|
1040
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
930
|
+
$this.t1d_1 = 26;
|
|
931
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).c2c_1 = booleanExpr($this, 7);
|
|
1041
932
|
}
|
|
1042
933
|
} else if (tmp1_subject === 2) {
|
|
1043
934
|
{
|
|
1044
935
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
1045
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
1046
|
-
$this.
|
|
1047
|
-
$this.
|
|
1048
|
-
if (!$this.
|
|
936
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).s2b_1 = _prevctx;
|
|
937
|
+
$this.k1l(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().b29_1);
|
|
938
|
+
$this.t1d_1 = 27;
|
|
939
|
+
if (!$this.w1j(ensureNotNull($this.i19_1), 5))
|
|
1049
940
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
1050
|
-
$this.
|
|
1051
|
-
var tmp_17 = $this.
|
|
941
|
+
$this.t1d_1 = 28;
|
|
942
|
+
var tmp_17 = $this.m1k($this.s2c_1);
|
|
1052
943
|
if (isInterface(tmp_17, Token))
|
|
1053
944
|
tmp_17;
|
|
1054
945
|
else
|
|
1055
946
|
THROW_CCE();
|
|
1056
|
-
$this.
|
|
1057
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
947
|
+
$this.t1d_1 = 29;
|
|
948
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).t2b_1 = booleanExpr($this, 6);
|
|
1058
949
|
}
|
|
1059
950
|
}
|
|
1060
951
|
}
|
|
1061
952
|
}
|
|
1062
|
-
$this.
|
|
1063
|
-
$this.
|
|
1064
|
-
_alt = ensureNotNull($this.
|
|
953
|
+
$this.t1d_1 = 34;
|
|
954
|
+
$this.f19_1.z19($this);
|
|
955
|
+
_alt = ensureNotNull($this.s1d_1).h1z(ensureNotNull($this.g19_1), 2, $this.i19_1);
|
|
1065
956
|
}
|
|
1066
957
|
}
|
|
1067
958
|
} catch ($p) {
|
|
1068
959
|
if ($p instanceof RecognitionException) {
|
|
1069
960
|
var re = $p;
|
|
1070
|
-
_localctx.
|
|
1071
|
-
$this.
|
|
1072
|
-
$this.
|
|
961
|
+
_localctx.t19_1 = re;
|
|
962
|
+
$this.f19_1.j1a($this, re);
|
|
963
|
+
$this.f19_1.a19($this, re);
|
|
1073
964
|
} else {
|
|
1074
965
|
throw $p;
|
|
1075
966
|
}
|
|
1076
967
|
}
|
|
1077
968
|
finally {
|
|
1078
|
-
$this.
|
|
969
|
+
$this.m1l(_parentctx);
|
|
1079
970
|
}
|
|
1080
971
|
return _localctx;
|
|
1081
972
|
}
|
|
1082
|
-
protoOf(IntExprContext).
|
|
1083
|
-
return Rules_RULE_intExpr_getInstance().
|
|
973
|
+
protoOf(IntExprContext).m1g = function () {
|
|
974
|
+
return Rules_RULE_intExpr_getInstance().b29_1;
|
|
1084
975
|
};
|
|
1085
|
-
protoOf(IntExprContext).
|
|
1086
|
-
protoOf(ParserRuleContext).
|
|
976
|
+
protoOf(IntExprContext).v28 = function (ctx) {
|
|
977
|
+
protoOf(ParserRuleContext).n1l.call(this, ctx);
|
|
1087
978
|
};
|
|
1088
979
|
function IntExprContext() {
|
|
1089
980
|
}
|
|
1090
|
-
protoOf(IntAtomContext).
|
|
981
|
+
protoOf(IntAtomContext).r1k = function (listener) {
|
|
1091
982
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1092
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
983
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).e28(this);
|
|
1093
984
|
}
|
|
1094
985
|
};
|
|
1095
|
-
protoOf(IntAtomContext).
|
|
986
|
+
protoOf(IntAtomContext).t1k = function (listener) {
|
|
1096
987
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1097
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1098
|
-
}
|
|
1099
|
-
};
|
|
1100
|
-
protoOf(IntAtomContext).i1m = function (visitor) {
|
|
1101
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1102
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).s27(this);
|
|
1103
|
-
} else {
|
|
1104
|
-
return ensureNotNull(visitor.q1m(this));
|
|
988
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).f28(this);
|
|
1105
989
|
}
|
|
1106
990
|
};
|
|
1107
991
|
function IntAtomContext() {
|
|
1108
|
-
this.
|
|
992
|
+
this.p2d_1 = null;
|
|
1109
993
|
}
|
|
1110
|
-
protoOf(ParIntExprContext).
|
|
994
|
+
protoOf(ParIntExprContext).r1k = function (listener) {
|
|
1111
995
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1112
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
996
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a28(this);
|
|
1113
997
|
}
|
|
1114
998
|
};
|
|
1115
|
-
protoOf(ParIntExprContext).
|
|
999
|
+
protoOf(ParIntExprContext).t1k = function (listener) {
|
|
1116
1000
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1117
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1118
|
-
}
|
|
1119
|
-
};
|
|
1120
|
-
protoOf(ParIntExprContext).i1m = function (visitor) {
|
|
1121
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1122
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).q27(this);
|
|
1123
|
-
} else {
|
|
1124
|
-
return ensureNotNull(visitor.q1m(this));
|
|
1001
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b28(this);
|
|
1125
1002
|
}
|
|
1126
1003
|
};
|
|
1127
1004
|
function ParIntExprContext() {
|
|
1128
|
-
this.
|
|
1005
|
+
this.x2d_1 = null;
|
|
1129
1006
|
}
|
|
1130
|
-
protoOf(ValuesFuncContext).
|
|
1007
|
+
protoOf(ValuesFuncContext).r1k = function (listener) {
|
|
1131
1008
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1132
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1009
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c28(this);
|
|
1133
1010
|
}
|
|
1134
1011
|
};
|
|
1135
|
-
protoOf(ValuesFuncContext).
|
|
1012
|
+
protoOf(ValuesFuncContext).t1k = function (listener) {
|
|
1136
1013
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1137
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1138
|
-
}
|
|
1139
|
-
};
|
|
1140
|
-
protoOf(ValuesFuncContext).i1m = function (visitor) {
|
|
1141
|
-
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1142
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).r27(this);
|
|
1143
|
-
} else {
|
|
1144
|
-
return ensureNotNull(visitor.q1m(this));
|
|
1014
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).d28(this);
|
|
1145
1015
|
}
|
|
1146
1016
|
};
|
|
1147
1017
|
function ValuesFuncContext() {
|
|
1148
|
-
this.
|
|
1018
|
+
this.f2e_1 = null;
|
|
1149
1019
|
}
|
|
1150
1020
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
1151
1021
|
var tmp0_subject = predIndex;
|
|
1152
1022
|
if (tmp0_subject === 0)
|
|
1153
|
-
return $this.
|
|
1023
|
+
return $this.w1j(ensureNotNull($this.i19_1), 6);
|
|
1154
1024
|
else if (tmp0_subject === 1)
|
|
1155
|
-
return $this.
|
|
1025
|
+
return $this.w1j(ensureNotNull($this.i19_1), 5);
|
|
1156
1026
|
return true;
|
|
1157
1027
|
}
|
|
1158
1028
|
function Tokens_EOF_getInstance() {
|
|
@@ -1242,158 +1112,123 @@
|
|
|
1242
1112
|
function StateExpressionParser(input) {
|
|
1243
1113
|
Companion_getInstance_2();
|
|
1244
1114
|
Parser.call(this, input);
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1248
|
-
this.
|
|
1249
|
-
this.
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1264
|
-
}
|
|
1265
|
-
protoOf(StateExpressionParser).
|
|
1266
|
-
return Companion_getInstance_2().
|
|
1267
|
-
};
|
|
1268
|
-
protoOf(StateExpressionParser).
|
|
1269
|
-
return Companion_getInstance_2().
|
|
1270
|
-
};
|
|
1271
|
-
protoOf(StateExpressionParser).
|
|
1272
|
-
return Companion_getInstance_2().
|
|
1273
|
-
};
|
|
1274
|
-
protoOf(StateExpressionParser).
|
|
1115
|
+
this.p2c_1 = Tokens_EQ_getInstance().y28_1;
|
|
1116
|
+
this.q2c_1 = Tokens_NEQ_getInstance().y28_1;
|
|
1117
|
+
this.r2c_1 = Tokens_AND_getInstance().y28_1;
|
|
1118
|
+
this.s2c_1 = Tokens_OR_getInstance().y28_1;
|
|
1119
|
+
this.t2c_1 = Tokens_NOT_getInstance().y28_1;
|
|
1120
|
+
this.u2c_1 = Tokens_GTE_getInstance().y28_1;
|
|
1121
|
+
this.v2c_1 = Tokens_GT_getInstance().y28_1;
|
|
1122
|
+
this.w2c_1 = Tokens_LTE_getInstance().y28_1;
|
|
1123
|
+
this.x2c_1 = Tokens_LT_getInstance().y28_1;
|
|
1124
|
+
this.y2c_1 = Tokens_OPAR_getInstance().y28_1;
|
|
1125
|
+
this.z2c_1 = Tokens_CPAR_getInstance().y28_1;
|
|
1126
|
+
this.a2d_1 = Tokens_TRUE_getInstance().y28_1;
|
|
1127
|
+
this.b2d_1 = Tokens_FALSE_getInstance().y28_1;
|
|
1128
|
+
this.c2d_1 = Tokens_FUNC_ISSET_getInstance().y28_1;
|
|
1129
|
+
this.d2d_1 = Tokens_FUNC_VALUES_getInstance().y28_1;
|
|
1130
|
+
this.e2d_1 = Tokens_INT_getInstance().y28_1;
|
|
1131
|
+
this.f2d_1 = Tokens_STRING_getInstance().y28_1;
|
|
1132
|
+
this.g2d_1 = Tokens_VAR_getInstance().y28_1;
|
|
1133
|
+
this.s1d_1 = new ParserATNSimulator(this, Companion_getInstance_2().k29_1, Companion_getInstance_2().c29_1, Companion_getInstance_2().d29_1);
|
|
1134
|
+
}
|
|
1135
|
+
protoOf(StateExpressionParser).l1g = function () {
|
|
1136
|
+
return Companion_getInstance_2().e29_1;
|
|
1137
|
+
};
|
|
1138
|
+
protoOf(StateExpressionParser).c1f = function () {
|
|
1139
|
+
return Companion_getInstance_2().k29_1;
|
|
1140
|
+
};
|
|
1141
|
+
protoOf(StateExpressionParser).v1d = function () {
|
|
1142
|
+
return Companion_getInstance_2().h29_1;
|
|
1143
|
+
};
|
|
1144
|
+
protoOf(StateExpressionParser).g2e = function () {
|
|
1275
1145
|
return booleanExpr(this, 0);
|
|
1276
1146
|
};
|
|
1277
|
-
protoOf(StateExpressionParser).
|
|
1278
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1279
|
-
this.
|
|
1147
|
+
protoOf(StateExpressionParser).h2d = function () {
|
|
1148
|
+
var _localctx = IntExprContext_init_$Create$(this.i19_1, this.t1d_1);
|
|
1149
|
+
this.e1l(_localctx, 2, Rules_RULE_intExpr_getInstance().b29_1);
|
|
1280
1150
|
try {
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1283
|
-
var tmp0_subject = ensureNotNull(this.
|
|
1284
|
-
if (tmp0_subject === this.
|
|
1151
|
+
this.t1d_1 = 43;
|
|
1152
|
+
this.f19_1.z19(this);
|
|
1153
|
+
var tmp0_subject = ensureNotNull(this.g19_1).m1b(1);
|
|
1154
|
+
if (tmp0_subject === this.y2c_1) {
|
|
1285
1155
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1286
|
-
this.
|
|
1156
|
+
this.g1l(_localctx, 1);
|
|
1287
1157
|
{
|
|
1288
|
-
this.
|
|
1289
|
-
var tmp = this.
|
|
1158
|
+
this.t1d_1 = 35;
|
|
1159
|
+
var tmp = this.m1k(this.y2c_1);
|
|
1290
1160
|
if (isInterface(tmp, Token))
|
|
1291
1161
|
tmp;
|
|
1292
1162
|
else
|
|
1293
1163
|
THROW_CCE();
|
|
1294
|
-
this.
|
|
1295
|
-
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).
|
|
1296
|
-
this.
|
|
1297
|
-
var tmp_0 = this.
|
|
1164
|
+
this.t1d_1 = 36;
|
|
1165
|
+
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).x2d_1 = this.h2d();
|
|
1166
|
+
this.t1d_1 = 37;
|
|
1167
|
+
var tmp_0 = this.m1k(this.z2c_1);
|
|
1298
1168
|
if (isInterface(tmp_0, Token))
|
|
1299
1169
|
tmp_0;
|
|
1300
1170
|
else
|
|
1301
1171
|
THROW_CCE();
|
|
1302
1172
|
}
|
|
1303
|
-
} else if (tmp0_subject === this.
|
|
1173
|
+
} else if (tmp0_subject === this.d2d_1) {
|
|
1304
1174
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1305
|
-
this.
|
|
1175
|
+
this.g1l(_localctx, 2);
|
|
1306
1176
|
{
|
|
1307
|
-
this.
|
|
1308
|
-
var tmp_1 = this.
|
|
1177
|
+
this.t1d_1 = 39;
|
|
1178
|
+
var tmp_1 = this.m1k(this.d2d_1);
|
|
1309
1179
|
if (isInterface(tmp_1, Token))
|
|
1310
1180
|
tmp_1;
|
|
1311
1181
|
else
|
|
1312
1182
|
THROW_CCE();
|
|
1313
|
-
this.
|
|
1183
|
+
this.t1d_1 = 40;
|
|
1314
1184
|
var tmp_2 = _localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE();
|
|
1315
|
-
var tmp_3 = this.
|
|
1316
|
-
tmp_2.
|
|
1317
|
-
this.
|
|
1318
|
-
var tmp_4 = this.
|
|
1185
|
+
var tmp_3 = this.m1k(this.g2d_1);
|
|
1186
|
+
tmp_2.f2e_1 = isInterface(tmp_3, Token) ? tmp_3 : THROW_CCE();
|
|
1187
|
+
this.t1d_1 = 41;
|
|
1188
|
+
var tmp_4 = this.m1k(this.z2c_1);
|
|
1319
1189
|
if (isInterface(tmp_4, Token))
|
|
1320
1190
|
tmp_4;
|
|
1321
1191
|
else
|
|
1322
1192
|
THROW_CCE();
|
|
1323
1193
|
}
|
|
1324
|
-
} else if (tmp0_subject === this.
|
|
1194
|
+
} else if (tmp0_subject === this.e2d_1) {
|
|
1325
1195
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1326
|
-
this.
|
|
1196
|
+
this.g1l(_localctx, 3);
|
|
1327
1197
|
{
|
|
1328
|
-
this.
|
|
1198
|
+
this.t1d_1 = 42;
|
|
1329
1199
|
var tmp_5 = _localctx instanceof IntAtomContext ? _localctx : THROW_CCE();
|
|
1330
|
-
var tmp_6 = this.
|
|
1331
|
-
tmp_5.
|
|
1200
|
+
var tmp_6 = this.m1k(this.e2d_1);
|
|
1201
|
+
tmp_5.p2d_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
|
|
1332
1202
|
}
|
|
1333
1203
|
} else
|
|
1334
1204
|
throw new NoViableAltException(this);
|
|
1335
1205
|
} catch ($p) {
|
|
1336
1206
|
if ($p instanceof RecognitionException) {
|
|
1337
1207
|
var re = $p;
|
|
1338
|
-
_localctx.
|
|
1339
|
-
this.
|
|
1340
|
-
this.
|
|
1208
|
+
_localctx.t19_1 = re;
|
|
1209
|
+
this.f19_1.j1a(this, re);
|
|
1210
|
+
this.f19_1.a19(this, re);
|
|
1341
1211
|
} else {
|
|
1342
1212
|
throw $p;
|
|
1343
1213
|
}
|
|
1344
1214
|
}
|
|
1345
1215
|
finally {
|
|
1346
|
-
this.
|
|
1216
|
+
this.f1l();
|
|
1347
1217
|
}
|
|
1348
1218
|
return _localctx;
|
|
1349
1219
|
};
|
|
1350
|
-
protoOf(StateExpressionParser).
|
|
1220
|
+
protoOf(StateExpressionParser).v1j = function (_localctx, ruleIndex, predIndex) {
|
|
1351
1221
|
var tmp0_subject = ruleIndex;
|
|
1352
1222
|
if (tmp0_subject === 0) {
|
|
1353
1223
|
return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
|
|
1354
1224
|
}
|
|
1355
1225
|
return true;
|
|
1356
1226
|
};
|
|
1357
|
-
function StateExpressionVisitor() {
|
|
1358
|
-
}
|
|
1359
1227
|
function Expression(expr) {
|
|
1360
|
-
this.
|
|
1228
|
+
this.h2e_1 = expr;
|
|
1361
1229
|
}
|
|
1362
|
-
protoOf(Expression).
|
|
1363
|
-
return !(this.
|
|
1364
|
-
};
|
|
1365
|
-
protoOf(Expression).v2f = function (state) {
|
|
1366
|
-
var tmp$ret$2;
|
|
1367
|
-
// Inline function 'kotlin.checkNotNull' call
|
|
1368
|
-
var tmp0_checkNotNull = this.t2f_1;
|
|
1369
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1370
|
-
var tmp$ret$1;
|
|
1371
|
-
$l$block: {
|
|
1372
|
-
// Inline function 'kotlin.checkNotNull' call
|
|
1373
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1374
|
-
if (tmp0_checkNotNull == null) {
|
|
1375
|
-
var tmp$ret$0;
|
|
1376
|
-
// Inline function 'kotlin.checkNotNull.<anonymous>' call
|
|
1377
|
-
tmp$ret$0 = 'Required value was null.';
|
|
1378
|
-
var message = tmp$ret$0;
|
|
1379
|
-
throw IllegalStateException_init_$Create$(toString(message));
|
|
1380
|
-
} else {
|
|
1381
|
-
tmp$ret$1 = tmp0_checkNotNull;
|
|
1382
|
-
break $l$block;
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
tmp$ret$2 = tmp$ret$1;
|
|
1386
|
-
return tmp$ret$2.i1m((new StateExpressionEvaluator(state)).x2f_1);
|
|
1387
|
-
};
|
|
1388
|
-
protoOf(Expression).z2f = function () {
|
|
1389
|
-
var tmp$ret$0;
|
|
1390
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
1391
|
-
var tmp0_safe_receiver = this.t2f_1;
|
|
1392
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1393
|
-
var tmp0_orEmpty = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1394
|
-
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
1395
|
-
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
1396
|
-
return tmp$ret$0;
|
|
1230
|
+
protoOf(Expression).i2e = function () {
|
|
1231
|
+
return !(this.h2e_1 == null);
|
|
1397
1232
|
};
|
|
1398
1233
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1399
1234
|
var tmp;
|
|
@@ -1406,11 +1241,11 @@
|
|
|
1406
1241
|
} else {
|
|
1407
1242
|
var tmp_0;
|
|
1408
1243
|
try {
|
|
1409
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1244
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().s18(_this__u8e3s4)));
|
|
1410
1245
|
var parser = new StateExpressionParser(tokens);
|
|
1411
|
-
parser.
|
|
1412
|
-
var expr = parser.
|
|
1413
|
-
tmp_0 = tokens.j(tokens.
|
|
1246
|
+
parser.f19_1 = new BailErrorStrategy();
|
|
1247
|
+
var expr = parser.g2e();
|
|
1248
|
+
tmp_0 = tokens.j(tokens.e1b()).r1b() === Companion_getInstance_0().v1b_1 ? expr : null;
|
|
1414
1249
|
} catch ($p) {
|
|
1415
1250
|
var tmp_1;
|
|
1416
1251
|
if ($p instanceof ParseCancellationException) {
|
|
@@ -1425,166 +1260,6 @@
|
|
|
1425
1260
|
}
|
|
1426
1261
|
return tmp;
|
|
1427
1262
|
}
|
|
1428
|
-
function vars(_this__u8e3s4) {
|
|
1429
|
-
var tmp$ret$5;
|
|
1430
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
1431
|
-
var tmp$ret$0;
|
|
1432
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
1433
|
-
var tmp0_orEmpty = _this__u8e3s4.g1a_1;
|
|
1434
|
-
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
1435
|
-
tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1436
|
-
var tmp2_flatMap = tmp$ret$0;
|
|
1437
|
-
var tmp$ret$4;
|
|
1438
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1439
|
-
var tmp1_flatMapTo = ArrayList_init_$Create$_0();
|
|
1440
|
-
var tmp0_iterator = tmp2_flatMap.f();
|
|
1441
|
-
while (tmp0_iterator.g()) {
|
|
1442
|
-
var element = tmp0_iterator.h();
|
|
1443
|
-
var tmp$ret$3;
|
|
1444
|
-
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>' call
|
|
1445
|
-
var tmp0_subject = element;
|
|
1446
|
-
var tmp;
|
|
1447
|
-
if (isInterface(tmp0_subject, TerminalNode)) {
|
|
1448
|
-
var tmp1_safe_receiver = element.v26();
|
|
1449
|
-
var tmp_0;
|
|
1450
|
-
if (tmp1_safe_receiver == null) {
|
|
1451
|
-
tmp_0 = null;
|
|
1452
|
-
} else {
|
|
1453
|
-
var tmp$ret$2;
|
|
1454
|
-
// Inline function 'kotlin.takeIf' call
|
|
1455
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1456
|
-
var tmp_1;
|
|
1457
|
-
var tmp$ret$1;
|
|
1458
|
-
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1459
|
-
tmp$ret$1 = tmp1_safe_receiver.h1c() === Tokens_VAR_getInstance().k2a_1;
|
|
1460
|
-
if (tmp$ret$1) {
|
|
1461
|
-
tmp_1 = tmp1_safe_receiver;
|
|
1462
|
-
} else {
|
|
1463
|
-
tmp_1 = null;
|
|
1464
|
-
}
|
|
1465
|
-
tmp$ret$2 = tmp_1;
|
|
1466
|
-
tmp_0 = tmp$ret$2;
|
|
1467
|
-
}
|
|
1468
|
-
var tmp2_safe_receiver = tmp_0;
|
|
1469
|
-
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.z1c());
|
|
1470
|
-
} else {
|
|
1471
|
-
if (tmp0_subject instanceof ParserRuleContext) {
|
|
1472
|
-
tmp = vars(element);
|
|
1473
|
-
} else {
|
|
1474
|
-
tmp = emptyList();
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
tmp$ret$3 = tmp;
|
|
1478
|
-
var list = tmp$ret$3;
|
|
1479
|
-
addAll(tmp1_flatMapTo, list);
|
|
1480
|
-
}
|
|
1481
|
-
tmp$ret$4 = tmp1_flatMapTo;
|
|
1482
|
-
tmp$ret$5 = tmp$ret$4;
|
|
1483
|
-
return tmp$ret$5;
|
|
1484
|
-
}
|
|
1485
|
-
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1486
|
-
this.a2g_1 = this$0;
|
|
1487
|
-
StateExpressionBaseVisitor.call(this);
|
|
1488
|
-
}
|
|
1489
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).j27 = function (ctx) {
|
|
1490
|
-
return ensureNotNull(ctx.o2b_1).i1m(this);
|
|
1491
|
-
};
|
|
1492
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).m27 = function (ctx) {
|
|
1493
|
-
return !ensureNotNull(ctx.o2c_1).i1m(this);
|
|
1494
|
-
};
|
|
1495
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).o27 = function (ctx) {
|
|
1496
|
-
return ensureNotNull(ctx.e2d_1).i1m(this) ? true : ensureNotNull(ctx.f2d_1).i1m(this);
|
|
1497
|
-
};
|
|
1498
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).p27 = function (ctx) {
|
|
1499
|
-
return ensureNotNull(ctx.n2d_1).i1m(this) ? ensureNotNull(ctx.o2d_1).i1m(this) : false;
|
|
1500
|
-
};
|
|
1501
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).k27 = function (ctx) {
|
|
1502
|
-
var tmp0_subject = ensureNotNull(ctx.w2b_1).h1c();
|
|
1503
|
-
var tmp;
|
|
1504
|
-
if (tmp0_subject === Tokens_TRUE_getInstance().k2a_1) {
|
|
1505
|
-
tmp = true;
|
|
1506
|
-
} else if (tmp0_subject === Tokens_FALSE_getInstance().k2a_1) {
|
|
1507
|
-
tmp = false;
|
|
1508
|
-
} else {
|
|
1509
|
-
throw IllegalStateException_init_$Create$_0();
|
|
1510
|
-
}
|
|
1511
|
-
return tmp;
|
|
1512
|
-
};
|
|
1513
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).l27 = function (ctx) {
|
|
1514
|
-
var varName = ensureNotNull(ensureNotNull(ctx.e2c_1).z1c());
|
|
1515
|
-
var tmp$ret$3;
|
|
1516
|
-
// Inline function 'kotlin.run' call
|
|
1517
|
-
var tmp0_run = ensureNotNull(ensureNotNull(ctx.g2c_1).z1c());
|
|
1518
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1519
|
-
var tmp$ret$2;
|
|
1520
|
-
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1521
|
-
var tmp$ret$1;
|
|
1522
|
-
// Inline function 'kotlin.text.substring' call
|
|
1523
|
-
var tmp0_substring = tmp0_run.length - 1 | 0;
|
|
1524
|
-
var tmp$ret$0;
|
|
1525
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
1526
|
-
tmp$ret$0 = tmp0_run;
|
|
1527
|
-
tmp$ret$1 = tmp$ret$0.substring(1, tmp0_substring);
|
|
1528
|
-
tmp$ret$2 = tmp$ret$1;
|
|
1529
|
-
tmp$ret$3 = tmp$ret$2;
|
|
1530
|
-
var value = tmp$ret$3;
|
|
1531
|
-
var tmp0_subject = ensureNotNull(ctx.f2c_1).h1c();
|
|
1532
|
-
var tmp;
|
|
1533
|
-
if (tmp0_subject === Tokens_EQ_getInstance().k2a_1) {
|
|
1534
|
-
tmp = this.a2g_1.w2f_1.y18(varName).v(value);
|
|
1535
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().k2a_1) {
|
|
1536
|
-
tmp = !this.a2g_1.w2f_1.y18(varName).v(value);
|
|
1537
|
-
} else {
|
|
1538
|
-
throw IllegalStateException_init_$Create$_0();
|
|
1539
|
-
}
|
|
1540
|
-
return tmp;
|
|
1541
|
-
};
|
|
1542
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).i27 = function (ctx) {
|
|
1543
|
-
var left = ensureNotNull(ctx.e2b_1).i1m(this.a2g_1.y2f_1);
|
|
1544
|
-
var right = ensureNotNull(ctx.g2b_1).i1m(this.a2g_1.y2f_1);
|
|
1545
|
-
var tmp0_subject = ensureNotNull(ctx.f2b_1).h1c();
|
|
1546
|
-
var tmp;
|
|
1547
|
-
if (tmp0_subject === Tokens_EQ_getInstance().k2a_1) {
|
|
1548
|
-
tmp = left === right;
|
|
1549
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().k2a_1) {
|
|
1550
|
-
tmp = !(left === right);
|
|
1551
|
-
} else if (tmp0_subject === Tokens_GT_getInstance().k2a_1) {
|
|
1552
|
-
tmp = left > right;
|
|
1553
|
-
} else if (tmp0_subject === Tokens_GTE_getInstance().k2a_1) {
|
|
1554
|
-
tmp = left >= right;
|
|
1555
|
-
} else if (tmp0_subject === Tokens_LT_getInstance().k2a_1) {
|
|
1556
|
-
tmp = left < right;
|
|
1557
|
-
} else if (tmp0_subject === Tokens_LTE_getInstance().k2a_1) {
|
|
1558
|
-
tmp = left <= right;
|
|
1559
|
-
} else {
|
|
1560
|
-
throw IllegalStateException_init_$Create$_0();
|
|
1561
|
-
}
|
|
1562
|
-
return tmp;
|
|
1563
|
-
};
|
|
1564
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).n27 = function (ctx) {
|
|
1565
|
-
var tmp$ret$0;
|
|
1566
|
-
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1567
|
-
var tmp0_isNotEmpty = this.a2g_1.w2f_1.y18(ensureNotNull(ensureNotNull(ctx.w2c_1).z1c()));
|
|
1568
|
-
tmp$ret$0 = !tmp0_isNotEmpty.m();
|
|
1569
|
-
return tmp$ret$0;
|
|
1570
|
-
};
|
|
1571
|
-
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1572
|
-
this.b2g_1 = this$0;
|
|
1573
|
-
StateExpressionBaseVisitor.call(this);
|
|
1574
|
-
}
|
|
1575
|
-
protoOf(StateExpressionEvaluator$intExpr$1).s27 = function (ctx) {
|
|
1576
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.b2f_1).z1c()));
|
|
1577
|
-
};
|
|
1578
|
-
protoOf(StateExpressionEvaluator$intExpr$1).r27 = function (ctx) {
|
|
1579
|
-
return this.b2g_1.w2f_1.y18(ensureNotNull(ensureNotNull(ctx.r2f_1).z1c())).i();
|
|
1580
|
-
};
|
|
1581
|
-
function StateExpressionEvaluator(state) {
|
|
1582
|
-
this.w2f_1 = state;
|
|
1583
|
-
var tmp = this;
|
|
1584
|
-
tmp.x2f_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1585
|
-
var tmp_0 = this;
|
|
1586
|
-
tmp_0.y2f_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1587
|
-
}
|
|
1588
1263
|
//region block: exports
|
|
1589
1264
|
_.$_$ = _.$_$ || {};
|
|
1590
1265
|
_.$_$.a = toExpressionOrNull;
|