@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1394 → 0.9.3-SNAPSHOT.1400
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 +32 -32
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Napier-napier-js-ir.js +64 -66
- package/Napier-napier-js-ir.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3633 -3662
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
- package/colormath-root-colormath.js +1023 -1075
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +252 -266
- package/fluid-locale.js.map +1 -1
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +8068 -7747
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +494 -492
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +3822 -4565
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +309 -290
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +3 -3
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3722 -3860
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './antlr-kotlin-antlr-kotlin-runtime-js-ir.js', './kotlin-kotlin-stdlib
|
|
3
|
+
define(['exports', './antlr-kotlin-antlr-kotlin-runtime-js-ir.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime-js-ir.js'), require('./kotlin-kotlin-stdlib
|
|
5
|
+
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime-js-ir.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['antlr-kotlin-antlr-kotlin-runtime-js-ir'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-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-module-parser-expressions'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof this['kotlin-kotlin-stdlib
|
|
11
|
-
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib
|
|
10
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
12
12
|
}
|
|
13
|
-
root['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] = factory(typeof this['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] === 'undefined' ? {} : this['kotlin-mpp-godtools-tool-parser-module-parser-expressions'], this['antlr-kotlin-antlr-kotlin-runtime-js-ir'], this['kotlin-kotlin-stdlib
|
|
13
|
+
root['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] = factory(typeof this['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] === 'undefined' ? {} : this['kotlin-mpp-godtools-tool-parser-module-parser-expressions'], this['antlr-kotlin-antlr-kotlin-runtime-js-ir'], this['kotlin-kotlin-stdlib']);
|
|
14
14
|
}
|
|
15
15
|
}(this, function (_, kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime, kotlin_kotlin) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var AbstractParseTreeVisitor = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.n;
|
|
19
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var Unit_getInstance = kotlin_kotlin.$_$.m2;
|
|
19
|
+
var ensureNotNull = kotlin_kotlin.$_$.o9;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
21
|
+
var classMeta = kotlin_kotlin.$_$.y5;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
23
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
25
24
|
var PredictionContextCache = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.k;
|
|
26
|
-
var listOf = kotlin_kotlin.$_$.
|
|
27
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
25
|
+
var listOf = kotlin_kotlin.$_$.d4;
|
|
26
|
+
var copyToArray = kotlin_kotlin.$_$.h3;
|
|
28
27
|
var VocabularyImpl = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.y;
|
|
29
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
28
|
+
var fillArrayVal = kotlin_kotlin.$_$.c6;
|
|
30
29
|
var ATNDeserializer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.h;
|
|
31
30
|
var asCharArray = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.a;
|
|
32
31
|
var DFA = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.l;
|
|
33
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
34
|
-
var Enum = kotlin_kotlin.$_$.
|
|
32
|
+
var objectMeta = kotlin_kotlin.$_$.s6;
|
|
33
|
+
var Enum = kotlin_kotlin.$_$.w8;
|
|
35
34
|
var Lexer = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.s;
|
|
36
35
|
var Lexer_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.b;
|
|
37
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
39
|
-
var isArray = kotlin_kotlin.$_$.
|
|
36
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.h9;
|
|
38
|
+
var isArray = kotlin_kotlin.$_$.j6;
|
|
40
39
|
var LexerATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.i;
|
|
41
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
40
|
+
var interfaceMeta = kotlin_kotlin.$_$.i6;
|
|
42
41
|
var ParserRuleContext_init_$Init$ = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.d;
|
|
43
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
42
|
+
var objectCreate = kotlin_kotlin.$_$.r6;
|
|
44
43
|
var ParserRuleContext_init_$Init$_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.c;
|
|
45
44
|
var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
|
|
46
|
-
var
|
|
45
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
46
|
+
var isInterface = kotlin_kotlin.$_$.l6;
|
|
47
47
|
var Token = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.x;
|
|
48
|
-
var Long = kotlin_kotlin.$_$.
|
|
49
|
-
var
|
|
48
|
+
var Long = kotlin_kotlin.$_$.b9;
|
|
49
|
+
var Companion_instance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.e;
|
|
50
50
|
var FailedPredicateException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.r;
|
|
51
51
|
var RecognitionException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.w;
|
|
52
52
|
var Parser = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.v;
|
|
53
53
|
var ParserATNSimulator = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.j;
|
|
54
54
|
var NoViableAltException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.t;
|
|
55
|
-
var toString = kotlin_kotlin.$_$.
|
|
56
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
57
|
-
var toSet = kotlin_kotlin.$_$.
|
|
58
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
59
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
55
|
+
var toString = kotlin_kotlin.$_$.x6;
|
|
56
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
57
|
+
var toSet = kotlin_kotlin.$_$.w4;
|
|
58
|
+
var emptySet = kotlin_kotlin.$_$.l3;
|
|
59
|
+
var isBlank = kotlin_kotlin.$_$.w7;
|
|
60
60
|
var CharStreams_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.f;
|
|
61
61
|
var CommonTokenStream = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.q;
|
|
62
62
|
var BailErrorStrategy = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.p;
|
|
63
|
-
var
|
|
63
|
+
var Companion_getInstance = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.g;
|
|
64
64
|
var ParseCancellationException = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.m;
|
|
65
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
66
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
67
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
65
|
+
var emptyList = kotlin_kotlin.$_$.j3;
|
|
66
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
67
|
+
var listOfNotNull = kotlin_kotlin.$_$.b4;
|
|
68
68
|
var TerminalNode = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.o;
|
|
69
|
-
var addAll = kotlin_kotlin.$_$.
|
|
70
|
-
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
71
|
-
var toInt = kotlin_kotlin.$_$.
|
|
69
|
+
var addAll = kotlin_kotlin.$_$.w2;
|
|
70
|
+
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
71
|
+
var toInt = kotlin_kotlin.$_$.m8;
|
|
72
72
|
//endregion
|
|
73
73
|
//region block: pre-declaration
|
|
74
74
|
setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
|
|
75
|
-
setMetadataFor(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', classMeta, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor]);
|
|
75
|
+
setMetadataFor(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', classMeta, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor], StateExpressionBaseVisitor);
|
|
76
76
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
77
77
|
setMetadataFor(Channels, 'Channels', classMeta, Enum);
|
|
78
78
|
setMetadataFor(Rules, 'Rules', classMeta, Enum);
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
setMetadataFor(Tokens, 'Tokens', classMeta, Enum);
|
|
82
82
|
setMetadataFor(Rules_0, 'Rules', classMeta, Enum);
|
|
83
83
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
84
|
-
setMetadataFor(BooleanExprContext, 'BooleanExprContext', classMeta, ParserRuleContext);
|
|
84
|
+
setMetadataFor(BooleanExprContext, 'BooleanExprContext', classMeta, ParserRuleContext, VOID, BooleanExprContext_init_$Create$_0);
|
|
85
85
|
setMetadataFor(IntCmpExprContext, 'IntCmpExprContext', classMeta, BooleanExprContext);
|
|
86
86
|
setMetadataFor(ParExprContext, 'ParExprContext', classMeta, BooleanExprContext);
|
|
87
87
|
setMetadataFor(BooleanAtomContext, 'BooleanAtomContext', classMeta, BooleanExprContext);
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
setMetadataFor(IsSetFuncContext, 'IsSetFuncContext', classMeta, BooleanExprContext);
|
|
91
91
|
setMetadataFor(OrExprContext, 'OrExprContext', classMeta, BooleanExprContext);
|
|
92
92
|
setMetadataFor(AndExprContext, 'AndExprContext', classMeta, BooleanExprContext);
|
|
93
|
-
setMetadataFor(IntExprContext, 'IntExprContext', classMeta, ParserRuleContext);
|
|
93
|
+
setMetadataFor(IntExprContext, 'IntExprContext', classMeta, ParserRuleContext, VOID, IntExprContext_init_$Create$_0);
|
|
94
94
|
setMetadataFor(IntAtomContext, 'IntAtomContext', classMeta, IntExprContext);
|
|
95
95
|
setMetadataFor(ParIntExprContext, 'ParIntExprContext', classMeta, IntExprContext);
|
|
96
96
|
setMetadataFor(ValuesFuncContext, 'ValuesFuncContext', classMeta, IntExprContext);
|
|
@@ -103,38 +103,38 @@
|
|
|
103
103
|
function StateExpressionBaseVisitor() {
|
|
104
104
|
AbstractParseTreeVisitor.call(this);
|
|
105
105
|
}
|
|
106
|
-
protoOf(StateExpressionBaseVisitor).
|
|
107
|
-
return ensureNotNull(ensureNotNull(this).
|
|
106
|
+
protoOf(StateExpressionBaseVisitor).t2n = function (ctx) {
|
|
107
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
108
108
|
};
|
|
109
|
-
protoOf(StateExpressionBaseVisitor).
|
|
110
|
-
return ensureNotNull(ensureNotNull(this).
|
|
109
|
+
protoOf(StateExpressionBaseVisitor).u2n = function (ctx) {
|
|
110
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
111
111
|
};
|
|
112
|
-
protoOf(StateExpressionBaseVisitor).
|
|
113
|
-
return ensureNotNull(ensureNotNull(this).
|
|
112
|
+
protoOf(StateExpressionBaseVisitor).v2n = function (ctx) {
|
|
113
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
114
114
|
};
|
|
115
|
-
protoOf(StateExpressionBaseVisitor).
|
|
116
|
-
return ensureNotNull(ensureNotNull(this).
|
|
115
|
+
protoOf(StateExpressionBaseVisitor).w2n = function (ctx) {
|
|
116
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
117
117
|
};
|
|
118
|
-
protoOf(StateExpressionBaseVisitor).
|
|
119
|
-
return ensureNotNull(ensureNotNull(this).
|
|
118
|
+
protoOf(StateExpressionBaseVisitor).x2n = function (ctx) {
|
|
119
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
120
120
|
};
|
|
121
|
-
protoOf(StateExpressionBaseVisitor).
|
|
122
|
-
return ensureNotNull(ensureNotNull(this).
|
|
121
|
+
protoOf(StateExpressionBaseVisitor).y2n = function (ctx) {
|
|
122
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
123
123
|
};
|
|
124
|
-
protoOf(StateExpressionBaseVisitor).
|
|
125
|
-
return ensureNotNull(ensureNotNull(this).
|
|
124
|
+
protoOf(StateExpressionBaseVisitor).z2n = function (ctx) {
|
|
125
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
126
126
|
};
|
|
127
|
-
protoOf(StateExpressionBaseVisitor).
|
|
128
|
-
return ensureNotNull(ensureNotNull(this).
|
|
127
|
+
protoOf(StateExpressionBaseVisitor).a2o = function (ctx) {
|
|
128
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
129
129
|
};
|
|
130
|
-
protoOf(StateExpressionBaseVisitor).
|
|
131
|
-
return ensureNotNull(ensureNotNull(this).
|
|
130
|
+
protoOf(StateExpressionBaseVisitor).b2o = function (ctx) {
|
|
131
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
132
132
|
};
|
|
133
|
-
protoOf(StateExpressionBaseVisitor).
|
|
134
|
-
return ensureNotNull(ensureNotNull(this).
|
|
133
|
+
protoOf(StateExpressionBaseVisitor).c2o = function (ctx) {
|
|
134
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
135
135
|
};
|
|
136
|
-
protoOf(StateExpressionBaseVisitor).
|
|
137
|
-
return ensureNotNull(ensureNotNull(this).
|
|
136
|
+
protoOf(StateExpressionBaseVisitor).d2o = function (ctx) {
|
|
137
|
+
return ensureNotNull(ensureNotNull(this).b23(ctx));
|
|
138
138
|
};
|
|
139
139
|
var Channels_DEFAULT_TOKEN_CHANNEL_instance;
|
|
140
140
|
var Channels_HIDDEN_instance;
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
var Channels_entriesInitialized;
|
|
145
145
|
function Channels_initEntries() {
|
|
146
146
|
if (Channels_entriesInitialized)
|
|
147
|
-
return
|
|
147
|
+
return Unit_instance;
|
|
148
148
|
Channels_entriesInitialized = true;
|
|
149
149
|
Channels_DEFAULT_TOKEN_CHANNEL_instance = new Channels('DEFAULT_TOKEN_CHANNEL', 0, 0);
|
|
150
150
|
Channels_HIDDEN_instance = new Channels('HIDDEN', 1, 1);
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
var Rules_entriesInitialized;
|
|
174
174
|
function Rules_initEntries() {
|
|
175
175
|
if (Rules_entriesInitialized)
|
|
176
|
-
return
|
|
176
|
+
return Unit_instance;
|
|
177
177
|
Rules_entriesInitialized = true;
|
|
178
178
|
Rules_EQ_instance = new Rules('EQ', 0);
|
|
179
179
|
Rules_NEQ_instance = new Rules('NEQ', 1);
|
|
@@ -195,29 +195,28 @@
|
|
|
195
195
|
Rules_VAR_instance = new Rules('VAR', 17);
|
|
196
196
|
}
|
|
197
197
|
function Companion() {
|
|
198
|
-
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
198
|
+
Companion_instance_0 = this;
|
|
199
|
+
this.f2o_1 = new PredictionContextCache();
|
|
200
|
+
this.g2o_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
201
|
+
this.h2o_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
202
202
|
var tmp = this;
|
|
203
203
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
204
|
-
var
|
|
205
|
-
var tmp_0 = copyToArray(
|
|
206
|
-
var tmp$ret$1;
|
|
204
|
+
var this_0 = this.g2o_1;
|
|
205
|
+
var tmp_0 = copyToArray(this_0);
|
|
207
206
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
208
|
-
var
|
|
209
|
-
tmp$ret$1 = copyToArray(
|
|
210
|
-
tmp.
|
|
207
|
+
var this_1 = this.h2o_1;
|
|
208
|
+
var tmp$ret$1 = copyToArray(this_1);
|
|
209
|
+
tmp.i2o_1 = new VocabularyImpl(tmp_0, tmp$ret$1);
|
|
211
210
|
var tmp_1 = this;
|
|
212
211
|
var tmp_2 = 0;
|
|
213
|
-
var tmp_3 = this.
|
|
212
|
+
var tmp_3 = this.h2o_1.l();
|
|
214
213
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
215
214
|
var tmp_4 = fillArrayVal(Array(tmp_3), null);
|
|
216
215
|
while (tmp_2 < tmp_3) {
|
|
217
216
|
var tmp_5 = tmp_2;
|
|
218
|
-
var el =
|
|
217
|
+
var el = Companion_getInstance_0().i2o_1.n23(tmp_5);
|
|
219
218
|
if (el == null) {
|
|
220
|
-
el =
|
|
219
|
+
el = Companion_getInstance_0().i2o_1.o23(tmp_5);
|
|
221
220
|
}
|
|
222
221
|
if (el == null) {
|
|
223
222
|
el = '<INVALID>';
|
|
@@ -225,30 +224,30 @@
|
|
|
225
224
|
tmp_4[tmp_5] = el;
|
|
226
225
|
tmp_2 = tmp_2 + 1 | 0;
|
|
227
226
|
}
|
|
228
|
-
tmp_1.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
227
|
+
tmp_1.j2o_1 = tmp_4;
|
|
228
|
+
this.k2o_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";
|
|
229
|
+
this.l2o_1 = (new ATNDeserializer()).y27(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"));
|
|
231
230
|
var tmp_6 = this;
|
|
232
231
|
var tmp_7 = 0;
|
|
233
|
-
var tmp_8 = this.
|
|
232
|
+
var tmp_8 = this.l2o_1.q23();
|
|
234
233
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
235
234
|
var tmp_9 = fillArrayVal(Array(tmp_8), null);
|
|
236
235
|
while (tmp_7 < tmp_8) {
|
|
237
236
|
var tmp_10 = tmp_7;
|
|
238
|
-
tmp_9[tmp_10] = new DFA(ensureNotNull(
|
|
237
|
+
tmp_9[tmp_10] = new DFA(ensureNotNull(Companion_getInstance_0().l2o_1.e24(tmp_10)), tmp_10);
|
|
239
238
|
tmp_7 = tmp_7 + 1 | 0;
|
|
240
239
|
}
|
|
241
|
-
tmp_6.
|
|
240
|
+
tmp_6.e2o_1 = tmp_9;
|
|
242
241
|
}
|
|
243
|
-
var
|
|
244
|
-
function
|
|
245
|
-
if (
|
|
242
|
+
var Companion_instance_0;
|
|
243
|
+
function Companion_getInstance_0() {
|
|
244
|
+
if (Companion_instance_0 == null)
|
|
246
245
|
new Companion();
|
|
247
|
-
return
|
|
246
|
+
return Companion_instance_0;
|
|
248
247
|
}
|
|
249
248
|
function Channels(name, ordinal, id) {
|
|
250
249
|
Enum.call(this, name, ordinal);
|
|
251
|
-
this.
|
|
250
|
+
this.o2o_1 = id;
|
|
252
251
|
}
|
|
253
252
|
function Rules(name, ordinal) {
|
|
254
253
|
Enum.call(this, name, ordinal);
|
|
@@ -334,53 +333,51 @@
|
|
|
334
333
|
return Rules_VAR_instance;
|
|
335
334
|
}
|
|
336
335
|
function StateExpressionLexer(input) {
|
|
337
|
-
|
|
336
|
+
Companion_getInstance_0();
|
|
338
337
|
Lexer_init_$Init$(input, this);
|
|
339
|
-
this.
|
|
338
|
+
this.f2p_1 = input;
|
|
340
339
|
var tmp = this;
|
|
341
340
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
342
341
|
// Inline function 'kotlin.collections.map' call
|
|
343
|
-
var
|
|
342
|
+
var this_0 = values();
|
|
344
343
|
// Inline function 'kotlin.collections.mapTo' call
|
|
345
|
-
var
|
|
344
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
346
345
|
var inductionVariable = 0;
|
|
347
|
-
var last =
|
|
346
|
+
var last = this_0.length;
|
|
348
347
|
while (inductionVariable < last) {
|
|
349
|
-
var item =
|
|
348
|
+
var item = this_0[inductionVariable];
|
|
350
349
|
inductionVariable = inductionVariable + 1 | 0;
|
|
351
|
-
var tmp$ret$0;
|
|
352
|
-
tmp$ret$0
|
|
353
|
-
tmp0_mapTo.a(tmp$ret$0);
|
|
350
|
+
var tmp$ret$0 = item.z8_1;
|
|
351
|
+
destination.p(tmp$ret$0);
|
|
354
352
|
}
|
|
355
|
-
tmp.
|
|
353
|
+
tmp.g2p_1 = copyToArray(destination);
|
|
356
354
|
var tmp_0 = this;
|
|
357
|
-
var tmp_1 =
|
|
358
|
-
var tmp_2 =
|
|
359
|
-
tmp_0.
|
|
355
|
+
var tmp_1 = Companion_getInstance_0().l2o_1;
|
|
356
|
+
var tmp_2 = Companion_getInstance_0().e2o_1;
|
|
357
|
+
tmp_0.s1u_1 = new LexerATNSimulator(this, tmp_1, isArray(tmp_2) ? tmp_2 : THROW_CCE(), Companion_getInstance_0().f2o_1);
|
|
360
358
|
}
|
|
361
|
-
protoOf(StateExpressionLexer).
|
|
359
|
+
protoOf(StateExpressionLexer).l1x = function () {
|
|
362
360
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
363
361
|
// Inline function 'kotlin.collections.map' call
|
|
364
|
-
var
|
|
362
|
+
var this_0 = values_0();
|
|
365
363
|
// Inline function 'kotlin.collections.mapTo' call
|
|
366
|
-
var
|
|
364
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
367
365
|
var inductionVariable = 0;
|
|
368
|
-
var last =
|
|
366
|
+
var last = this_0.length;
|
|
369
367
|
while (inductionVariable < last) {
|
|
370
|
-
var item =
|
|
368
|
+
var item = this_0[inductionVariable];
|
|
371
369
|
inductionVariable = inductionVariable + 1 | 0;
|
|
372
|
-
var tmp$ret$0;
|
|
373
370
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.StateExpressionLexer.<get-ruleNames>.<anonymous>' call
|
|
374
|
-
tmp$ret$0 = item.
|
|
375
|
-
|
|
371
|
+
var tmp$ret$0 = item.z8_1;
|
|
372
|
+
destination.p(tmp$ret$0);
|
|
376
373
|
}
|
|
377
|
-
return copyToArray(
|
|
374
|
+
return copyToArray(destination);
|
|
378
375
|
};
|
|
379
|
-
protoOf(StateExpressionLexer).
|
|
380
|
-
return
|
|
376
|
+
protoOf(StateExpressionLexer).c1w = function () {
|
|
377
|
+
return Companion_getInstance_0().l2o_1;
|
|
381
378
|
};
|
|
382
|
-
protoOf(StateExpressionLexer).
|
|
383
|
-
return
|
|
379
|
+
protoOf(StateExpressionLexer).v1u = function () {
|
|
380
|
+
return Companion_getInstance_0().i2o_1;
|
|
384
381
|
};
|
|
385
382
|
function StateExpressionListener() {
|
|
386
383
|
}
|
|
@@ -406,7 +403,7 @@
|
|
|
406
403
|
var Tokens_entriesInitialized;
|
|
407
404
|
function Tokens_initEntries() {
|
|
408
405
|
if (Tokens_entriesInitialized)
|
|
409
|
-
return
|
|
406
|
+
return Unit_instance;
|
|
410
407
|
Tokens_entriesInitialized = true;
|
|
411
408
|
Tokens_EOF_instance = new Tokens('EOF', 0, -1);
|
|
412
409
|
Tokens_EQ_instance = new Tokens('EQ', 1, 1);
|
|
@@ -433,7 +430,7 @@
|
|
|
433
430
|
var Rules_entriesInitialized_0;
|
|
434
431
|
function Rules_initEntries_0() {
|
|
435
432
|
if (Rules_entriesInitialized_0)
|
|
436
|
-
return
|
|
433
|
+
return Unit_instance;
|
|
437
434
|
Rules_entriesInitialized_0 = true;
|
|
438
435
|
Rules_RULE_booleanExpr_instance = new Rules_0('RULE_booleanExpr', 0, 0);
|
|
439
436
|
Rules_RULE_intExpr_instance = new Rules_0('RULE_intExpr', 1, 1);
|
|
@@ -451,10 +448,13 @@
|
|
|
451
448
|
BooleanExprContext.call($this);
|
|
452
449
|
return $this;
|
|
453
450
|
}
|
|
451
|
+
function BooleanExprContext_init_$Create$_0() {
|
|
452
|
+
return BooleanExprContext_init_$Init$_0(objectCreate(protoOf(BooleanExprContext)));
|
|
453
|
+
}
|
|
454
454
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
455
455
|
BooleanExprContext_init_$Init$_0($this);
|
|
456
456
|
IntCmpExprContext.call($this);
|
|
457
|
-
$this.
|
|
457
|
+
$this.k2q(ctx);
|
|
458
458
|
return $this;
|
|
459
459
|
}
|
|
460
460
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
464
464
|
BooleanExprContext_init_$Init$_0($this);
|
|
465
465
|
ParExprContext.call($this);
|
|
466
|
-
$this.
|
|
466
|
+
$this.k2q(ctx);
|
|
467
467
|
return $this;
|
|
468
468
|
}
|
|
469
469
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
473
473
|
BooleanExprContext_init_$Init$_0($this);
|
|
474
474
|
BooleanAtomContext.call($this);
|
|
475
|
-
$this.
|
|
475
|
+
$this.k2q(ctx);
|
|
476
476
|
return $this;
|
|
477
477
|
}
|
|
478
478
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
482
482
|
BooleanExprContext_init_$Init$_0($this);
|
|
483
483
|
EqExprContext.call($this);
|
|
484
|
-
$this.
|
|
484
|
+
$this.k2q(ctx);
|
|
485
485
|
return $this;
|
|
486
486
|
}
|
|
487
487
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
491
491
|
BooleanExprContext_init_$Init$_0($this);
|
|
492
492
|
NotExprContext.call($this);
|
|
493
|
-
$this.
|
|
493
|
+
$this.k2q(ctx);
|
|
494
494
|
return $this;
|
|
495
495
|
}
|
|
496
496
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
500
500
|
BooleanExprContext_init_$Init$_0($this);
|
|
501
501
|
IsSetFuncContext.call($this);
|
|
502
|
-
$this.
|
|
502
|
+
$this.k2q(ctx);
|
|
503
503
|
return $this;
|
|
504
504
|
}
|
|
505
505
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
509
509
|
BooleanExprContext_init_$Init$_0($this);
|
|
510
510
|
OrExprContext.call($this);
|
|
511
|
-
$this.
|
|
511
|
+
$this.k2q(ctx);
|
|
512
512
|
return $this;
|
|
513
513
|
}
|
|
514
514
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
518
518
|
BooleanExprContext_init_$Init$_0($this);
|
|
519
519
|
AndExprContext.call($this);
|
|
520
|
-
$this.
|
|
520
|
+
$this.k2q(ctx);
|
|
521
521
|
return $this;
|
|
522
522
|
}
|
|
523
523
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -536,10 +536,13 @@
|
|
|
536
536
|
IntExprContext.call($this);
|
|
537
537
|
return $this;
|
|
538
538
|
}
|
|
539
|
+
function IntExprContext_init_$Create$_0() {
|
|
540
|
+
return IntExprContext_init_$Init$_0(objectCreate(protoOf(IntExprContext)));
|
|
541
|
+
}
|
|
539
542
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
540
543
|
IntExprContext_init_$Init$_0($this);
|
|
541
544
|
IntAtomContext.call($this);
|
|
542
|
-
$this.
|
|
545
|
+
$this.s2q(ctx);
|
|
543
546
|
return $this;
|
|
544
547
|
}
|
|
545
548
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -548,7 +551,7 @@
|
|
|
548
551
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
549
552
|
IntExprContext_init_$Init$_0($this);
|
|
550
553
|
ParIntExprContext.call($this);
|
|
551
|
-
$this.
|
|
554
|
+
$this.s2q(ctx);
|
|
552
555
|
return $this;
|
|
553
556
|
}
|
|
554
557
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -557,7 +560,7 @@
|
|
|
557
560
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
558
561
|
IntExprContext_init_$Init$_0($this);
|
|
559
562
|
ValuesFuncContext.call($this);
|
|
560
|
-
$this.
|
|
563
|
+
$this.s2q(ctx);
|
|
561
564
|
return $this;
|
|
562
565
|
}
|
|
563
566
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
@@ -565,41 +568,40 @@
|
|
|
565
568
|
}
|
|
566
569
|
function Tokens(name, ordinal, id) {
|
|
567
570
|
Enum.call(this, name, ordinal);
|
|
568
|
-
this.
|
|
571
|
+
this.v2q_1 = id;
|
|
569
572
|
}
|
|
570
573
|
function Rules_0(name, ordinal, id) {
|
|
571
574
|
Enum.call(this, name, ordinal);
|
|
572
|
-
this.
|
|
575
|
+
this.y2q_1 = id;
|
|
573
576
|
}
|
|
574
577
|
function Companion_0() {
|
|
575
|
-
|
|
576
|
-
this.
|
|
578
|
+
Companion_instance_1 = this;
|
|
579
|
+
this.a2r_1 = new PredictionContextCache();
|
|
577
580
|
var tmp = this;
|
|
578
581
|
// Inline function 'kotlin.arrayOf' call
|
|
579
582
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
580
583
|
// Inline function 'kotlin.js.asDynamic' call
|
|
581
|
-
tmp.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
584
|
+
tmp.b2r_1 = ['booleanExpr', 'intExpr'];
|
|
585
|
+
this.c2r_1 = listOf([null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"]);
|
|
586
|
+
this.d2r_1 = listOf([null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR']);
|
|
584
587
|
var tmp_0 = this;
|
|
585
588
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
586
|
-
var
|
|
587
|
-
var tmp_1 = copyToArray(
|
|
588
|
-
var tmp$ret$4;
|
|
589
|
+
var this_0 = this.c2r_1;
|
|
590
|
+
var tmp_1 = copyToArray(this_0);
|
|
589
591
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
590
|
-
var
|
|
591
|
-
tmp$ret$4 = copyToArray(
|
|
592
|
-
tmp_0.
|
|
592
|
+
var this_1 = this.d2r_1;
|
|
593
|
+
var tmp$ret$4 = copyToArray(this_1);
|
|
594
|
+
tmp_0.e2r_1 = new VocabularyImpl(tmp_1, tmp$ret$4);
|
|
593
595
|
var tmp_2 = this;
|
|
594
596
|
var tmp_3 = 0;
|
|
595
|
-
var tmp_4 = this.
|
|
597
|
+
var tmp_4 = this.d2r_1.l();
|
|
596
598
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
597
599
|
var tmp_5 = fillArrayVal(Array(tmp_4), null);
|
|
598
600
|
while (tmp_3 < tmp_4) {
|
|
599
601
|
var tmp_6 = tmp_3;
|
|
600
|
-
var el =
|
|
602
|
+
var el = Companion_getInstance_1().e2r_1.n23(tmp_6);
|
|
601
603
|
if (el == null) {
|
|
602
|
-
el =
|
|
604
|
+
el = Companion_getInstance_1().e2r_1.o23(tmp_6);
|
|
603
605
|
}
|
|
604
606
|
if (el == null) {
|
|
605
607
|
el = '<INVALID>';
|
|
@@ -607,461 +609,461 @@
|
|
|
607
609
|
tmp_5[tmp_6] = el;
|
|
608
610
|
tmp_3 = tmp_3 + 1 | 0;
|
|
609
611
|
}
|
|
610
|
-
tmp_2.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
612
|
+
tmp_2.f2r_1 = tmp_5;
|
|
613
|
+
this.g2r_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 "-';
|
|
614
|
+
this.h2r_1 = (new ATNDeserializer()).y27(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 "-'));
|
|
613
615
|
var tmp_7 = this;
|
|
614
616
|
var tmp_8 = 0;
|
|
615
|
-
var tmp_9 = this.
|
|
617
|
+
var tmp_9 = this.h2r_1.q23();
|
|
616
618
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
617
619
|
var tmp_10 = fillArrayVal(Array(tmp_9), null);
|
|
618
620
|
while (tmp_8 < tmp_9) {
|
|
619
621
|
var tmp_11 = tmp_8;
|
|
620
|
-
tmp_10[tmp_11] = new DFA(ensureNotNull(
|
|
622
|
+
tmp_10[tmp_11] = new DFA(ensureNotNull(Companion_getInstance_1().h2r_1.e24(tmp_11)), tmp_11);
|
|
621
623
|
tmp_8 = tmp_8 + 1 | 0;
|
|
622
624
|
}
|
|
623
|
-
tmp_7.
|
|
625
|
+
tmp_7.z2q_1 = tmp_10;
|
|
624
626
|
}
|
|
625
|
-
var
|
|
626
|
-
function
|
|
627
|
-
if (
|
|
627
|
+
var Companion_instance_1;
|
|
628
|
+
function Companion_getInstance_1() {
|
|
629
|
+
if (Companion_instance_1 == null)
|
|
628
630
|
new Companion_0();
|
|
629
|
-
return
|
|
631
|
+
return Companion_instance_1;
|
|
630
632
|
}
|
|
631
|
-
protoOf(BooleanExprContext).
|
|
632
|
-
return Rules_RULE_booleanExpr_getInstance().
|
|
633
|
+
protoOf(BooleanExprContext).m1x = function () {
|
|
634
|
+
return Rules_RULE_booleanExpr_getInstance().y2q_1;
|
|
633
635
|
};
|
|
634
|
-
protoOf(BooleanExprContext).
|
|
635
|
-
protoOf(ParserRuleContext).
|
|
636
|
+
protoOf(BooleanExprContext).k2q = function (ctx) {
|
|
637
|
+
protoOf(ParserRuleContext).p22.call(this, ctx);
|
|
636
638
|
};
|
|
637
639
|
function BooleanExprContext() {
|
|
638
640
|
}
|
|
639
|
-
protoOf(IntCmpExprContext).
|
|
641
|
+
protoOf(IntCmpExprContext).s21 = function (listener) {
|
|
640
642
|
if (isInterface(listener, StateExpressionListener)) {
|
|
641
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
643
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).h2p(this);
|
|
642
644
|
}
|
|
643
645
|
};
|
|
644
|
-
protoOf(IntCmpExprContext).
|
|
646
|
+
protoOf(IntCmpExprContext).u21 = function (listener) {
|
|
645
647
|
if (isInterface(listener, StateExpressionListener)) {
|
|
646
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
648
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).i2p(this);
|
|
647
649
|
}
|
|
648
650
|
};
|
|
649
|
-
protoOf(IntCmpExprContext).
|
|
651
|
+
protoOf(IntCmpExprContext).t22 = function (visitor) {
|
|
650
652
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
651
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
653
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).t2n(this);
|
|
652
654
|
} else {
|
|
653
|
-
return ensureNotNull(visitor.
|
|
655
|
+
return ensureNotNull(visitor.b23(this));
|
|
654
656
|
}
|
|
655
657
|
};
|
|
656
658
|
function IntCmpExprContext() {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
659
|
+
this.p2r_1 = null;
|
|
660
|
+
this.q2r_1 = null;
|
|
661
|
+
this.r2r_1 = null;
|
|
660
662
|
}
|
|
661
|
-
protoOf(ParExprContext).
|
|
663
|
+
protoOf(ParExprContext).s21 = function (listener) {
|
|
662
664
|
if (isInterface(listener, StateExpressionListener)) {
|
|
663
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
665
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).j2p(this);
|
|
664
666
|
}
|
|
665
667
|
};
|
|
666
|
-
protoOf(ParExprContext).
|
|
668
|
+
protoOf(ParExprContext).u21 = function (listener) {
|
|
667
669
|
if (isInterface(listener, StateExpressionListener)) {
|
|
668
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
670
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).k2p(this);
|
|
669
671
|
}
|
|
670
672
|
};
|
|
671
|
-
protoOf(ParExprContext).
|
|
673
|
+
protoOf(ParExprContext).t22 = function (visitor) {
|
|
672
674
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
673
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
675
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).u2n(this);
|
|
674
676
|
} else {
|
|
675
|
-
return ensureNotNull(visitor.
|
|
677
|
+
return ensureNotNull(visitor.b23(this));
|
|
676
678
|
}
|
|
677
679
|
};
|
|
678
680
|
function ParExprContext() {
|
|
679
|
-
this.
|
|
681
|
+
this.z2r_1 = null;
|
|
680
682
|
}
|
|
681
|
-
protoOf(BooleanAtomContext).
|
|
683
|
+
protoOf(BooleanAtomContext).s21 = function (listener) {
|
|
682
684
|
if (isInterface(listener, StateExpressionListener)) {
|
|
683
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
685
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).l2p(this);
|
|
684
686
|
}
|
|
685
687
|
};
|
|
686
|
-
protoOf(BooleanAtomContext).
|
|
688
|
+
protoOf(BooleanAtomContext).u21 = function (listener) {
|
|
687
689
|
if (isInterface(listener, StateExpressionListener)) {
|
|
688
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
690
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).m2p(this);
|
|
689
691
|
}
|
|
690
692
|
};
|
|
691
|
-
protoOf(BooleanAtomContext).
|
|
693
|
+
protoOf(BooleanAtomContext).t22 = function (visitor) {
|
|
692
694
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
693
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
695
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).v2n(this);
|
|
694
696
|
} else {
|
|
695
|
-
return ensureNotNull(visitor.
|
|
697
|
+
return ensureNotNull(visitor.b23(this));
|
|
696
698
|
}
|
|
697
699
|
};
|
|
698
700
|
function BooleanAtomContext() {
|
|
699
|
-
this.
|
|
701
|
+
this.h2s_1 = null;
|
|
700
702
|
}
|
|
701
|
-
protoOf(EqExprContext).
|
|
703
|
+
protoOf(EqExprContext).s21 = function (listener) {
|
|
702
704
|
if (isInterface(listener, StateExpressionListener)) {
|
|
703
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
705
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).n2p(this);
|
|
704
706
|
}
|
|
705
707
|
};
|
|
706
|
-
protoOf(EqExprContext).
|
|
708
|
+
protoOf(EqExprContext).u21 = function (listener) {
|
|
707
709
|
if (isInterface(listener, StateExpressionListener)) {
|
|
708
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
710
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).o2p(this);
|
|
709
711
|
}
|
|
710
712
|
};
|
|
711
|
-
protoOf(EqExprContext).
|
|
713
|
+
protoOf(EqExprContext).t22 = function (visitor) {
|
|
712
714
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
713
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
715
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).w2n(this);
|
|
714
716
|
} else {
|
|
715
|
-
return ensureNotNull(visitor.
|
|
717
|
+
return ensureNotNull(visitor.b23(this));
|
|
716
718
|
}
|
|
717
719
|
};
|
|
718
720
|
function EqExprContext() {
|
|
719
|
-
this.
|
|
720
|
-
this.
|
|
721
|
-
this.
|
|
721
|
+
this.p2s_1 = null;
|
|
722
|
+
this.q2s_1 = null;
|
|
723
|
+
this.r2s_1 = null;
|
|
722
724
|
}
|
|
723
|
-
protoOf(NotExprContext).
|
|
725
|
+
protoOf(NotExprContext).s21 = function (listener) {
|
|
724
726
|
if (isInterface(listener, StateExpressionListener)) {
|
|
725
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
727
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).p2p(this);
|
|
726
728
|
}
|
|
727
729
|
};
|
|
728
|
-
protoOf(NotExprContext).
|
|
730
|
+
protoOf(NotExprContext).u21 = function (listener) {
|
|
729
731
|
if (isInterface(listener, StateExpressionListener)) {
|
|
730
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
732
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).q2p(this);
|
|
731
733
|
}
|
|
732
734
|
};
|
|
733
|
-
protoOf(NotExprContext).
|
|
735
|
+
protoOf(NotExprContext).t22 = function (visitor) {
|
|
734
736
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
735
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
737
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).x2n(this);
|
|
736
738
|
} else {
|
|
737
|
-
return ensureNotNull(visitor.
|
|
739
|
+
return ensureNotNull(visitor.b23(this));
|
|
738
740
|
}
|
|
739
741
|
};
|
|
740
742
|
function NotExprContext() {
|
|
741
|
-
this.
|
|
743
|
+
this.z2s_1 = null;
|
|
742
744
|
}
|
|
743
|
-
protoOf(IsSetFuncContext).
|
|
745
|
+
protoOf(IsSetFuncContext).s21 = function (listener) {
|
|
744
746
|
if (isInterface(listener, StateExpressionListener)) {
|
|
745
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
747
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).r2p(this);
|
|
746
748
|
}
|
|
747
749
|
};
|
|
748
|
-
protoOf(IsSetFuncContext).
|
|
750
|
+
protoOf(IsSetFuncContext).u21 = function (listener) {
|
|
749
751
|
if (isInterface(listener, StateExpressionListener)) {
|
|
750
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
752
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).s2p(this);
|
|
751
753
|
}
|
|
752
754
|
};
|
|
753
|
-
protoOf(IsSetFuncContext).
|
|
755
|
+
protoOf(IsSetFuncContext).t22 = function (visitor) {
|
|
754
756
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
755
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
757
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).y2n(this);
|
|
756
758
|
} else {
|
|
757
|
-
return ensureNotNull(visitor.
|
|
759
|
+
return ensureNotNull(visitor.b23(this));
|
|
758
760
|
}
|
|
759
761
|
};
|
|
760
762
|
function IsSetFuncContext() {
|
|
761
|
-
this.
|
|
763
|
+
this.h2t_1 = null;
|
|
762
764
|
}
|
|
763
|
-
protoOf(OrExprContext).
|
|
765
|
+
protoOf(OrExprContext).s21 = function (listener) {
|
|
764
766
|
if (isInterface(listener, StateExpressionListener)) {
|
|
765
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
767
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).t2p(this);
|
|
766
768
|
}
|
|
767
769
|
};
|
|
768
|
-
protoOf(OrExprContext).
|
|
770
|
+
protoOf(OrExprContext).u21 = function (listener) {
|
|
769
771
|
if (isInterface(listener, StateExpressionListener)) {
|
|
770
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
772
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).u2p(this);
|
|
771
773
|
}
|
|
772
774
|
};
|
|
773
|
-
protoOf(OrExprContext).
|
|
775
|
+
protoOf(OrExprContext).t22 = function (visitor) {
|
|
774
776
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
775
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
777
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).z2n(this);
|
|
776
778
|
} else {
|
|
777
|
-
return ensureNotNull(visitor.
|
|
779
|
+
return ensureNotNull(visitor.b23(this));
|
|
778
780
|
}
|
|
779
781
|
};
|
|
780
782
|
function OrExprContext() {
|
|
781
|
-
this.
|
|
782
|
-
this.
|
|
783
|
+
this.p2t_1 = null;
|
|
784
|
+
this.q2t_1 = null;
|
|
783
785
|
}
|
|
784
|
-
protoOf(AndExprContext).
|
|
786
|
+
protoOf(AndExprContext).s21 = function (listener) {
|
|
785
787
|
if (isInterface(listener, StateExpressionListener)) {
|
|
786
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
788
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).v2p(this);
|
|
787
789
|
}
|
|
788
790
|
};
|
|
789
|
-
protoOf(AndExprContext).
|
|
791
|
+
protoOf(AndExprContext).u21 = function (listener) {
|
|
790
792
|
if (isInterface(listener, StateExpressionListener)) {
|
|
791
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
793
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).w2p(this);
|
|
792
794
|
}
|
|
793
795
|
};
|
|
794
|
-
protoOf(AndExprContext).
|
|
796
|
+
protoOf(AndExprContext).t22 = function (visitor) {
|
|
795
797
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
796
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
798
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).a2o(this);
|
|
797
799
|
} else {
|
|
798
|
-
return ensureNotNull(visitor.
|
|
800
|
+
return ensureNotNull(visitor.b23(this));
|
|
799
801
|
}
|
|
800
802
|
};
|
|
801
803
|
function AndExprContext() {
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
804
|
+
this.y2t_1 = null;
|
|
805
|
+
this.z2t_1 = null;
|
|
804
806
|
}
|
|
805
807
|
function booleanExpr($this, _p) {
|
|
806
|
-
var _parentctx = $this.
|
|
807
|
-
var _parentState = $this.
|
|
808
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
808
|
+
var _parentctx = $this.j1q_1;
|
|
809
|
+
var _parentState = $this.t1u_1;
|
|
810
|
+
var _localctx = BooleanExprContext_init_$Create$($this.j1q_1, _parentState);
|
|
809
811
|
var _prevctx = _localctx;
|
|
810
812
|
var _startState = 0;
|
|
811
|
-
$this.
|
|
813
|
+
$this.k22(_localctx, 0, Rules_RULE_booleanExpr_getInstance().y2q_1, _p);
|
|
812
814
|
var _la;
|
|
813
815
|
try {
|
|
814
816
|
var _alt;
|
|
815
|
-
$this.
|
|
816
|
-
$this.
|
|
817
|
-
$this.
|
|
818
|
-
switch (ensureNotNull($this.
|
|
817
|
+
$this.h22(_localctx, 1);
|
|
818
|
+
$this.t1u_1 = 22;
|
|
819
|
+
$this.g1q_1.a1r($this);
|
|
820
|
+
switch (ensureNotNull($this.s1u_1).m2g(ensureNotNull($this.h1q_1), 0, $this.j1q_1)) {
|
|
819
821
|
case 1:
|
|
820
822
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
821
|
-
$this.
|
|
823
|
+
$this.j1q_1 = _localctx;
|
|
822
824
|
_prevctx = _localctx;
|
|
823
|
-
$this.
|
|
824
|
-
var tmp = $this.
|
|
825
|
+
$this.t1u_1 = 5;
|
|
826
|
+
var tmp = $this.n21($this.v2u_1);
|
|
825
827
|
if (!isInterface(tmp, Token))
|
|
826
828
|
THROW_CCE();
|
|
827
|
-
$this.
|
|
828
|
-
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).
|
|
829
|
-
$this.
|
|
830
|
-
var tmp_0 = $this.
|
|
829
|
+
$this.t1u_1 = 6;
|
|
830
|
+
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).z2r_1 = booleanExpr($this, 0);
|
|
831
|
+
$this.t1u_1 = 7;
|
|
832
|
+
var tmp_0 = $this.n21($this.w2u_1);
|
|
831
833
|
if (!isInterface(tmp_0, Token))
|
|
832
834
|
THROW_CCE();
|
|
833
835
|
break;
|
|
834
836
|
case 2:
|
|
835
837
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
836
|
-
$this.
|
|
838
|
+
$this.j1q_1 = _localctx;
|
|
837
839
|
_prevctx = _localctx;
|
|
838
|
-
$this.
|
|
839
|
-
var tmp_1 = $this.
|
|
840
|
+
$this.t1u_1 = 9;
|
|
841
|
+
var tmp_1 = $this.n21($this.q2u_1);
|
|
840
842
|
if (!isInterface(tmp_1, Token))
|
|
841
843
|
THROW_CCE();
|
|
842
|
-
$this.
|
|
843
|
-
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).
|
|
844
|
+
$this.t1u_1 = 10;
|
|
845
|
+
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).z2s_1 = booleanExpr($this, 7);
|
|
844
846
|
break;
|
|
845
847
|
case 3:
|
|
846
848
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
847
|
-
$this.
|
|
849
|
+
$this.j1q_1 = _localctx;
|
|
848
850
|
_prevctx = _localctx;
|
|
849
|
-
$this.
|
|
850
|
-
var tmp_2 = $this.
|
|
851
|
+
$this.t1u_1 = 11;
|
|
852
|
+
var tmp_2 = $this.n21($this.z2u_1);
|
|
851
853
|
if (!isInterface(tmp_2, Token))
|
|
852
854
|
THROW_CCE();
|
|
853
|
-
$this.
|
|
855
|
+
$this.t1u_1 = 12;
|
|
854
856
|
var tmp_3 = _localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE();
|
|
855
|
-
var tmp_4 = $this.
|
|
856
|
-
tmp_3.
|
|
857
|
-
$this.
|
|
858
|
-
var tmp_5 = $this.
|
|
857
|
+
var tmp_4 = $this.n21($this.d2v_1);
|
|
858
|
+
tmp_3.h2t_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
|
|
859
|
+
$this.t1u_1 = 13;
|
|
860
|
+
var tmp_5 = $this.n21($this.w2u_1);
|
|
859
861
|
if (!isInterface(tmp_5, Token))
|
|
860
862
|
THROW_CCE();
|
|
861
863
|
break;
|
|
862
864
|
case 4:
|
|
863
865
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
864
|
-
$this.
|
|
866
|
+
$this.j1q_1 = _localctx;
|
|
865
867
|
_prevctx = _localctx;
|
|
866
|
-
$this.
|
|
868
|
+
$this.t1u_1 = 14;
|
|
867
869
|
var tmp_6 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
868
|
-
var tmp_7 = $this.
|
|
869
|
-
tmp_6.
|
|
870
|
-
$this.
|
|
871
|
-
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).
|
|
872
|
-
_la = ensureNotNull($this.
|
|
873
|
-
if (!(_la === $this.
|
|
870
|
+
var tmp_7 = $this.n21($this.d2v_1);
|
|
871
|
+
tmp_6.p2s_1 = isInterface(tmp_7, Token) ? tmp_7 : THROW_CCE();
|
|
872
|
+
$this.t1u_1 = 15;
|
|
873
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).q2s_1 = ensureNotNull($this.h1q_1).a1t(1);
|
|
874
|
+
_la = ensureNotNull($this.h1q_1).n1s(1);
|
|
875
|
+
if (!(_la === $this.m2u_1 ? true : _la === $this.n2u_1)) {
|
|
874
876
|
var tmp_8 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
875
|
-
var tmp_9 = $this.
|
|
876
|
-
tmp_8.
|
|
877
|
+
var tmp_9 = $this.g1q_1.z1q($this);
|
|
878
|
+
tmp_8.q2s_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
|
|
877
879
|
} else {
|
|
878
|
-
if (ensureNotNull($this.
|
|
879
|
-
$this.
|
|
880
|
-
$this.
|
|
881
|
-
$this.
|
|
880
|
+
if (ensureNotNull($this.h1q_1).n1s(1) === Tokens_EOF_getInstance().v2q_1)
|
|
881
|
+
$this.n1q_1 = true;
|
|
882
|
+
$this.g1q_1.j1r($this);
|
|
883
|
+
$this.l1v();
|
|
882
884
|
}
|
|
883
885
|
|
|
884
|
-
$this.
|
|
886
|
+
$this.t1u_1 = 16;
|
|
885
887
|
var tmp_10 = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
886
|
-
var tmp_11 = $this.
|
|
887
|
-
tmp_10.
|
|
888
|
+
var tmp_11 = $this.n21($this.c2v_1);
|
|
889
|
+
tmp_10.r2s_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
|
|
888
890
|
break;
|
|
889
891
|
case 5:
|
|
890
892
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
891
|
-
$this.
|
|
893
|
+
$this.j1q_1 = _localctx;
|
|
892
894
|
_prevctx = _localctx;
|
|
893
|
-
$this.
|
|
894
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
895
|
-
$this.
|
|
896
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
897
|
-
_la = ensureNotNull($this.
|
|
898
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).
|
|
895
|
+
$this.t1u_1 = 17;
|
|
896
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).p2r_1 = $this.e2v();
|
|
897
|
+
$this.t1u_1 = 18;
|
|
898
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).q2r_1 = ensureNotNull($this.h1q_1).a1t(1);
|
|
899
|
+
_la = ensureNotNull($this.h1q_1).n1s(1);
|
|
900
|
+
if (!((_la & -64) === 0 ? !(new Long(1, 0)).fb(_la).hb((new Long(1, 0)).fb($this.m2u_1).ib((new Long(1, 0)).fb($this.n2u_1)).ib((new Long(1, 0)).fb($this.r2u_1)).ib((new Long(1, 0)).fb($this.s2u_1)).ib((new Long(1, 0)).fb($this.t2u_1)).ib((new Long(1, 0)).fb($this.u2u_1))).equals(new Long(0, 0)) : false)) {
|
|
899
901
|
var tmp_12 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
|
|
900
|
-
var tmp_13 = $this.
|
|
901
|
-
tmp_12.
|
|
902
|
+
var tmp_13 = $this.g1q_1.z1q($this);
|
|
903
|
+
tmp_12.q2r_1 = isInterface(tmp_13, Token) ? tmp_13 : THROW_CCE();
|
|
902
904
|
} else {
|
|
903
|
-
if (ensureNotNull($this.
|
|
904
|
-
$this.
|
|
905
|
-
$this.
|
|
906
|
-
$this.
|
|
905
|
+
if (ensureNotNull($this.h1q_1).n1s(1) === Tokens_EOF_getInstance().v2q_1)
|
|
906
|
+
$this.n1q_1 = true;
|
|
907
|
+
$this.g1q_1.j1r($this);
|
|
908
|
+
$this.l1v();
|
|
907
909
|
}
|
|
908
910
|
|
|
909
|
-
$this.
|
|
910
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
911
|
+
$this.t1u_1 = 19;
|
|
912
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).r2r_1 = $this.e2v();
|
|
911
913
|
break;
|
|
912
914
|
case 6:
|
|
913
915
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
914
|
-
$this.
|
|
916
|
+
$this.j1q_1 = _localctx;
|
|
915
917
|
_prevctx = _localctx;
|
|
916
|
-
$this.
|
|
917
|
-
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).
|
|
918
|
-
_la = ensureNotNull($this.
|
|
919
|
-
if (!(_la === $this.
|
|
918
|
+
$this.t1u_1 = 21;
|
|
919
|
+
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).h2s_1 = ensureNotNull($this.h1q_1).a1t(1);
|
|
920
|
+
_la = ensureNotNull($this.h1q_1).n1s(1);
|
|
921
|
+
if (!(_la === $this.x2u_1 ? true : _la === $this.y2u_1)) {
|
|
920
922
|
var tmp_14 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
|
|
921
|
-
var tmp_15 = $this.
|
|
922
|
-
tmp_14.
|
|
923
|
+
var tmp_15 = $this.g1q_1.z1q($this);
|
|
924
|
+
tmp_14.h2s_1 = isInterface(tmp_15, Token) ? tmp_15 : THROW_CCE();
|
|
923
925
|
} else {
|
|
924
|
-
if (ensureNotNull($this.
|
|
925
|
-
$this.
|
|
926
|
-
$this.
|
|
927
|
-
$this.
|
|
926
|
+
if (ensureNotNull($this.h1q_1).n1s(1) === Tokens_EOF_getInstance().v2q_1)
|
|
927
|
+
$this.n1q_1 = true;
|
|
928
|
+
$this.g1q_1.j1r($this);
|
|
929
|
+
$this.l1v();
|
|
928
930
|
}
|
|
929
931
|
|
|
930
932
|
break;
|
|
931
933
|
}
|
|
932
|
-
ensureNotNull($this.
|
|
933
|
-
$this.
|
|
934
|
-
$this.
|
|
935
|
-
_alt = ensureNotNull($this.
|
|
936
|
-
while (!(_alt === 2) ? !(_alt ===
|
|
934
|
+
ensureNotNull($this.j1q_1).t1q_1 = ensureNotNull($this.h1q_1).a1t(-1);
|
|
935
|
+
$this.t1u_1 = 32;
|
|
936
|
+
$this.g1q_1.a1r($this);
|
|
937
|
+
_alt = ensureNotNull($this.s1u_1).m2g(ensureNotNull($this.h1q_1), 2, $this.j1q_1);
|
|
938
|
+
while (!(_alt === 2) ? !(_alt === Companion_instance.p23_1) : false) {
|
|
937
939
|
if (_alt === 1) {
|
|
938
|
-
if (!($this.
|
|
939
|
-
$this.
|
|
940
|
+
if (!($this.l1q_1 == null)) {
|
|
941
|
+
$this.t21();
|
|
940
942
|
}
|
|
941
943
|
_prevctx = _localctx;
|
|
942
|
-
$this.
|
|
943
|
-
$this.
|
|
944
|
-
var tmp1_subject = ensureNotNull($this.
|
|
944
|
+
$this.t1u_1 = 30;
|
|
945
|
+
$this.g1q_1.a1r($this);
|
|
946
|
+
var tmp1_subject = ensureNotNull($this.s1u_1).m2g(ensureNotNull($this.h1q_1), 1, $this.j1q_1);
|
|
945
947
|
if (tmp1_subject === 1) {
|
|
946
948
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
947
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
948
|
-
$this.
|
|
949
|
-
$this.
|
|
950
|
-
if (!$this.
|
|
949
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).y2t_1 = _prevctx;
|
|
950
|
+
$this.l22(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().y2q_1);
|
|
951
|
+
$this.t1u_1 = 24;
|
|
952
|
+
if (!$this.x20(ensureNotNull($this.j1q_1), 6))
|
|
951
953
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
952
|
-
$this.
|
|
953
|
-
var tmp_16 = $this.
|
|
954
|
+
$this.t1u_1 = 25;
|
|
955
|
+
var tmp_16 = $this.n21($this.o2u_1);
|
|
954
956
|
if (!isInterface(tmp_16, Token))
|
|
955
957
|
THROW_CCE();
|
|
956
|
-
$this.
|
|
957
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
958
|
+
$this.t1u_1 = 26;
|
|
959
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).z2t_1 = booleanExpr($this, 7);
|
|
958
960
|
} else if (tmp1_subject === 2) {
|
|
959
961
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
960
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
961
|
-
$this.
|
|
962
|
-
$this.
|
|
963
|
-
if (!$this.
|
|
962
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).p2t_1 = _prevctx;
|
|
963
|
+
$this.l22(_localctx, _startState, Rules_RULE_booleanExpr_getInstance().y2q_1);
|
|
964
|
+
$this.t1u_1 = 27;
|
|
965
|
+
if (!$this.x20(ensureNotNull($this.j1q_1), 5))
|
|
964
966
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
965
|
-
$this.
|
|
966
|
-
var tmp_17 = $this.
|
|
967
|
+
$this.t1u_1 = 28;
|
|
968
|
+
var tmp_17 = $this.n21($this.p2u_1);
|
|
967
969
|
if (!isInterface(tmp_17, Token))
|
|
968
970
|
THROW_CCE();
|
|
969
|
-
$this.
|
|
970
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
971
|
+
$this.t1u_1 = 29;
|
|
972
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).q2t_1 = booleanExpr($this, 6);
|
|
971
973
|
}
|
|
972
974
|
}
|
|
973
|
-
$this.
|
|
974
|
-
$this.
|
|
975
|
-
_alt = ensureNotNull($this.
|
|
975
|
+
$this.t1u_1 = 34;
|
|
976
|
+
$this.g1q_1.a1r($this);
|
|
977
|
+
_alt = ensureNotNull($this.s1u_1).m2g(ensureNotNull($this.h1q_1), 2, $this.j1q_1);
|
|
976
978
|
}
|
|
977
979
|
} catch ($p) {
|
|
978
980
|
if ($p instanceof RecognitionException) {
|
|
979
981
|
var re = $p;
|
|
980
|
-
_localctx.
|
|
981
|
-
$this.
|
|
982
|
-
$this.
|
|
982
|
+
_localctx.u1q_1 = re;
|
|
983
|
+
$this.g1q_1.k1r($this, re);
|
|
984
|
+
$this.g1q_1.b1q($this, re);
|
|
983
985
|
} else {
|
|
984
986
|
throw $p;
|
|
985
987
|
}
|
|
986
988
|
}
|
|
987
989
|
finally {
|
|
988
|
-
$this.
|
|
990
|
+
$this.n22(_parentctx);
|
|
989
991
|
}
|
|
990
992
|
return _localctx;
|
|
991
993
|
}
|
|
992
|
-
protoOf(IntExprContext).
|
|
993
|
-
return Rules_RULE_intExpr_getInstance().
|
|
994
|
+
protoOf(IntExprContext).m1x = function () {
|
|
995
|
+
return Rules_RULE_intExpr_getInstance().y2q_1;
|
|
994
996
|
};
|
|
995
|
-
protoOf(IntExprContext).
|
|
996
|
-
protoOf(ParserRuleContext).
|
|
997
|
+
protoOf(IntExprContext).s2q = function (ctx) {
|
|
998
|
+
protoOf(ParserRuleContext).p22.call(this, ctx);
|
|
997
999
|
};
|
|
998
1000
|
function IntExprContext() {
|
|
999
1001
|
}
|
|
1000
|
-
protoOf(IntAtomContext).
|
|
1002
|
+
protoOf(IntAtomContext).s21 = function (listener) {
|
|
1001
1003
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1002
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1004
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).b2q(this);
|
|
1003
1005
|
}
|
|
1004
1006
|
};
|
|
1005
|
-
protoOf(IntAtomContext).
|
|
1007
|
+
protoOf(IntAtomContext).u21 = function (listener) {
|
|
1006
1008
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1007
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1009
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).c2q(this);
|
|
1008
1010
|
}
|
|
1009
1011
|
};
|
|
1010
|
-
protoOf(IntAtomContext).
|
|
1012
|
+
protoOf(IntAtomContext).t22 = function (visitor) {
|
|
1011
1013
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1012
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1014
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).d2o(this);
|
|
1013
1015
|
} else {
|
|
1014
|
-
return ensureNotNull(visitor.
|
|
1016
|
+
return ensureNotNull(visitor.b23(this));
|
|
1015
1017
|
}
|
|
1016
1018
|
};
|
|
1017
1019
|
function IntAtomContext() {
|
|
1018
|
-
this.
|
|
1020
|
+
this.m2v_1 = null;
|
|
1019
1021
|
}
|
|
1020
|
-
protoOf(ParIntExprContext).
|
|
1022
|
+
protoOf(ParIntExprContext).s21 = function (listener) {
|
|
1021
1023
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1022
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1024
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).x2p(this);
|
|
1023
1025
|
}
|
|
1024
1026
|
};
|
|
1025
|
-
protoOf(ParIntExprContext).
|
|
1027
|
+
protoOf(ParIntExprContext).u21 = function (listener) {
|
|
1026
1028
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1027
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1029
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).y2p(this);
|
|
1028
1030
|
}
|
|
1029
1031
|
};
|
|
1030
|
-
protoOf(ParIntExprContext).
|
|
1032
|
+
protoOf(ParIntExprContext).t22 = function (visitor) {
|
|
1031
1033
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1032
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1034
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).b2o(this);
|
|
1033
1035
|
} else {
|
|
1034
|
-
return ensureNotNull(visitor.
|
|
1036
|
+
return ensureNotNull(visitor.b23(this));
|
|
1035
1037
|
}
|
|
1036
1038
|
};
|
|
1037
1039
|
function ParIntExprContext() {
|
|
1038
|
-
this.
|
|
1040
|
+
this.u2v_1 = null;
|
|
1039
1041
|
}
|
|
1040
|
-
protoOf(ValuesFuncContext).
|
|
1042
|
+
protoOf(ValuesFuncContext).s21 = function (listener) {
|
|
1041
1043
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1042
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1044
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).z2p(this);
|
|
1043
1045
|
}
|
|
1044
1046
|
};
|
|
1045
|
-
protoOf(ValuesFuncContext).
|
|
1047
|
+
protoOf(ValuesFuncContext).u21 = function (listener) {
|
|
1046
1048
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1047
|
-
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).
|
|
1049
|
+
(isInterface(listener, StateExpressionListener) ? listener : THROW_CCE()).a2q(this);
|
|
1048
1050
|
}
|
|
1049
1051
|
};
|
|
1050
|
-
protoOf(ValuesFuncContext).
|
|
1052
|
+
protoOf(ValuesFuncContext).t22 = function (visitor) {
|
|
1051
1053
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1052
|
-
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).
|
|
1054
|
+
return (isInterface(visitor, StateExpressionVisitor) ? visitor : THROW_CCE()).c2o(this);
|
|
1053
1055
|
} else {
|
|
1054
|
-
return ensureNotNull(visitor.
|
|
1056
|
+
return ensureNotNull(visitor.b23(this));
|
|
1055
1057
|
}
|
|
1056
1058
|
};
|
|
1057
1059
|
function ValuesFuncContext() {
|
|
1058
|
-
this.
|
|
1060
|
+
this.c2w_1 = null;
|
|
1059
1061
|
}
|
|
1060
1062
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
1061
1063
|
if (predIndex === 0)
|
|
1062
|
-
return $this.
|
|
1064
|
+
return $this.x20(ensureNotNull($this.j1q_1), 6);
|
|
1063
1065
|
else if (predIndex === 1)
|
|
1064
|
-
return $this.
|
|
1066
|
+
return $this.x20(ensureNotNull($this.j1q_1), 5);
|
|
1065
1067
|
return true;
|
|
1066
1068
|
}
|
|
1067
1069
|
function Tokens_EOF_getInstance() {
|
|
@@ -1149,100 +1151,100 @@
|
|
|
1149
1151
|
return Rules_RULE_intExpr_instance;
|
|
1150
1152
|
}
|
|
1151
1153
|
function StateExpressionParser(input) {
|
|
1152
|
-
|
|
1154
|
+
Companion_getInstance_1();
|
|
1153
1155
|
Parser.call(this, input);
|
|
1154
|
-
this.
|
|
1155
|
-
this.
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1160
|
-
this.
|
|
1161
|
-
this.
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1165
|
-
this.
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1168
|
-
this.
|
|
1169
|
-
this.
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1172
|
-
this.
|
|
1173
|
-
}
|
|
1174
|
-
protoOf(StateExpressionParser).
|
|
1175
|
-
return
|
|
1176
|
-
};
|
|
1177
|
-
protoOf(StateExpressionParser).
|
|
1178
|
-
return
|
|
1179
|
-
};
|
|
1180
|
-
protoOf(StateExpressionParser).
|
|
1181
|
-
return
|
|
1182
|
-
};
|
|
1183
|
-
protoOf(StateExpressionParser).
|
|
1156
|
+
this.m2u_1 = Tokens_EQ_getInstance().v2q_1;
|
|
1157
|
+
this.n2u_1 = Tokens_NEQ_getInstance().v2q_1;
|
|
1158
|
+
this.o2u_1 = Tokens_AND_getInstance().v2q_1;
|
|
1159
|
+
this.p2u_1 = Tokens_OR_getInstance().v2q_1;
|
|
1160
|
+
this.q2u_1 = Tokens_NOT_getInstance().v2q_1;
|
|
1161
|
+
this.r2u_1 = Tokens_GTE_getInstance().v2q_1;
|
|
1162
|
+
this.s2u_1 = Tokens_GT_getInstance().v2q_1;
|
|
1163
|
+
this.t2u_1 = Tokens_LTE_getInstance().v2q_1;
|
|
1164
|
+
this.u2u_1 = Tokens_LT_getInstance().v2q_1;
|
|
1165
|
+
this.v2u_1 = Tokens_OPAR_getInstance().v2q_1;
|
|
1166
|
+
this.w2u_1 = Tokens_CPAR_getInstance().v2q_1;
|
|
1167
|
+
this.x2u_1 = Tokens_TRUE_getInstance().v2q_1;
|
|
1168
|
+
this.y2u_1 = Tokens_FALSE_getInstance().v2q_1;
|
|
1169
|
+
this.z2u_1 = Tokens_FUNC_ISSET_getInstance().v2q_1;
|
|
1170
|
+
this.a2v_1 = Tokens_FUNC_VALUES_getInstance().v2q_1;
|
|
1171
|
+
this.b2v_1 = Tokens_INT_getInstance().v2q_1;
|
|
1172
|
+
this.c2v_1 = Tokens_STRING_getInstance().v2q_1;
|
|
1173
|
+
this.d2v_1 = Tokens_VAR_getInstance().v2q_1;
|
|
1174
|
+
this.s1u_1 = new ParserATNSimulator(this, Companion_getInstance_1().h2r_1, Companion_getInstance_1().z2q_1, Companion_getInstance_1().a2r_1);
|
|
1175
|
+
}
|
|
1176
|
+
protoOf(StateExpressionParser).l1x = function () {
|
|
1177
|
+
return Companion_getInstance_1().b2r_1;
|
|
1178
|
+
};
|
|
1179
|
+
protoOf(StateExpressionParser).c1w = function () {
|
|
1180
|
+
return Companion_getInstance_1().h2r_1;
|
|
1181
|
+
};
|
|
1182
|
+
protoOf(StateExpressionParser).v1u = function () {
|
|
1183
|
+
return Companion_getInstance_1().e2r_1;
|
|
1184
|
+
};
|
|
1185
|
+
protoOf(StateExpressionParser).d2w = function () {
|
|
1184
1186
|
return booleanExpr(this, 0);
|
|
1185
1187
|
};
|
|
1186
|
-
protoOf(StateExpressionParser).
|
|
1187
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1188
|
-
this.
|
|
1188
|
+
protoOf(StateExpressionParser).e2v = function () {
|
|
1189
|
+
var _localctx = IntExprContext_init_$Create$(this.j1q_1, this.t1u_1);
|
|
1190
|
+
this.f22(_localctx, 2, Rules_RULE_intExpr_getInstance().y2q_1);
|
|
1189
1191
|
try {
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1192
|
-
var tmp0_subject = ensureNotNull(this.
|
|
1193
|
-
if (tmp0_subject === this.
|
|
1192
|
+
this.t1u_1 = 43;
|
|
1193
|
+
this.g1q_1.a1r(this);
|
|
1194
|
+
var tmp0_subject = ensureNotNull(this.h1q_1).n1s(1);
|
|
1195
|
+
if (tmp0_subject === this.v2u_1) {
|
|
1194
1196
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1195
|
-
this.
|
|
1196
|
-
this.
|
|
1197
|
-
var tmp = this.
|
|
1197
|
+
this.h22(_localctx, 1);
|
|
1198
|
+
this.t1u_1 = 35;
|
|
1199
|
+
var tmp = this.n21(this.v2u_1);
|
|
1198
1200
|
if (!isInterface(tmp, Token))
|
|
1199
1201
|
THROW_CCE();
|
|
1200
|
-
this.
|
|
1201
|
-
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).
|
|
1202
|
-
this.
|
|
1203
|
-
var tmp_0 = this.
|
|
1202
|
+
this.t1u_1 = 36;
|
|
1203
|
+
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).u2v_1 = this.e2v();
|
|
1204
|
+
this.t1u_1 = 37;
|
|
1205
|
+
var tmp_0 = this.n21(this.w2u_1);
|
|
1204
1206
|
if (!isInterface(tmp_0, Token))
|
|
1205
1207
|
THROW_CCE();
|
|
1206
|
-
} else if (tmp0_subject === this.
|
|
1208
|
+
} else if (tmp0_subject === this.a2v_1) {
|
|
1207
1209
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1208
|
-
this.
|
|
1209
|
-
this.
|
|
1210
|
-
var tmp_1 = this.
|
|
1210
|
+
this.h22(_localctx, 2);
|
|
1211
|
+
this.t1u_1 = 39;
|
|
1212
|
+
var tmp_1 = this.n21(this.a2v_1);
|
|
1211
1213
|
if (!isInterface(tmp_1, Token))
|
|
1212
1214
|
THROW_CCE();
|
|
1213
|
-
this.
|
|
1215
|
+
this.t1u_1 = 40;
|
|
1214
1216
|
var tmp_2 = _localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE();
|
|
1215
|
-
var tmp_3 = this.
|
|
1216
|
-
tmp_2.
|
|
1217
|
-
this.
|
|
1218
|
-
var tmp_4 = this.
|
|
1217
|
+
var tmp_3 = this.n21(this.d2v_1);
|
|
1218
|
+
tmp_2.c2w_1 = isInterface(tmp_3, Token) ? tmp_3 : THROW_CCE();
|
|
1219
|
+
this.t1u_1 = 41;
|
|
1220
|
+
var tmp_4 = this.n21(this.w2u_1);
|
|
1219
1221
|
if (!isInterface(tmp_4, Token))
|
|
1220
1222
|
THROW_CCE();
|
|
1221
|
-
} else if (tmp0_subject === this.
|
|
1223
|
+
} else if (tmp0_subject === this.b2v_1) {
|
|
1222
1224
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1223
|
-
this.
|
|
1224
|
-
this.
|
|
1225
|
+
this.h22(_localctx, 3);
|
|
1226
|
+
this.t1u_1 = 42;
|
|
1225
1227
|
var tmp_5 = _localctx instanceof IntAtomContext ? _localctx : THROW_CCE();
|
|
1226
|
-
var tmp_6 = this.
|
|
1227
|
-
tmp_5.
|
|
1228
|
+
var tmp_6 = this.n21(this.b2v_1);
|
|
1229
|
+
tmp_5.m2v_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
|
|
1228
1230
|
} else
|
|
1229
1231
|
throw new NoViableAltException(this);
|
|
1230
1232
|
} catch ($p) {
|
|
1231
1233
|
if ($p instanceof RecognitionException) {
|
|
1232
1234
|
var re = $p;
|
|
1233
|
-
_localctx.
|
|
1234
|
-
this.
|
|
1235
|
-
this.
|
|
1235
|
+
_localctx.u1q_1 = re;
|
|
1236
|
+
this.g1q_1.k1r(this, re);
|
|
1237
|
+
this.g1q_1.b1q(this, re);
|
|
1236
1238
|
} else {
|
|
1237
1239
|
throw $p;
|
|
1238
1240
|
}
|
|
1239
1241
|
}
|
|
1240
1242
|
finally {
|
|
1241
|
-
this.
|
|
1243
|
+
this.g22();
|
|
1242
1244
|
}
|
|
1243
1245
|
return _localctx;
|
|
1244
1246
|
};
|
|
1245
|
-
protoOf(StateExpressionParser).
|
|
1247
|
+
protoOf(StateExpressionParser).w20 = function (_localctx, ruleIndex, predIndex) {
|
|
1246
1248
|
if (ruleIndex === 0) {
|
|
1247
1249
|
return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
|
|
1248
1250
|
}
|
|
@@ -1251,33 +1253,33 @@
|
|
|
1251
1253
|
function StateExpressionVisitor() {
|
|
1252
1254
|
}
|
|
1253
1255
|
function Expression(expr) {
|
|
1254
|
-
this.
|
|
1256
|
+
this.e2w_1 = expr;
|
|
1255
1257
|
}
|
|
1256
|
-
protoOf(Expression).
|
|
1257
|
-
return !(this.
|
|
1258
|
+
protoOf(Expression).f2w = function () {
|
|
1259
|
+
return !(this.e2w_1 == null);
|
|
1258
1260
|
};
|
|
1259
|
-
protoOf(Expression).
|
|
1261
|
+
protoOf(Expression).g2w = function (state) {
|
|
1260
1262
|
// Inline function 'kotlin.checkNotNull' call
|
|
1261
|
-
var
|
|
1263
|
+
var value = this.e2w_1;
|
|
1262
1264
|
// Inline function 'kotlin.contracts.contract' call
|
|
1263
1265
|
var tmp$ret$1;
|
|
1264
1266
|
$l$block: {
|
|
1265
1267
|
// Inline function 'kotlin.checkNotNull' call
|
|
1266
1268
|
// Inline function 'kotlin.contracts.contract' call
|
|
1267
|
-
if (
|
|
1269
|
+
if (value == null) {
|
|
1268
1270
|
// Inline function 'kotlin.checkNotNull.<anonymous>' call
|
|
1269
1271
|
var message = 'Required value was null.';
|
|
1270
1272
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1271
1273
|
} else {
|
|
1272
|
-
tmp$ret$1 =
|
|
1274
|
+
tmp$ret$1 = value;
|
|
1273
1275
|
break $l$block;
|
|
1274
1276
|
}
|
|
1275
1277
|
}
|
|
1276
|
-
return tmp$ret$1.
|
|
1278
|
+
return tmp$ret$1.t22((new StateExpressionEvaluator(state)).i2w_1);
|
|
1277
1279
|
};
|
|
1278
|
-
protoOf(Expression).
|
|
1280
|
+
protoOf(Expression).k2w = function () {
|
|
1279
1281
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1280
|
-
var tmp0_safe_receiver = this.
|
|
1282
|
+
var tmp0_safe_receiver = this.e2w_1;
|
|
1281
1283
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1282
1284
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1283
1285
|
return tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -1291,11 +1293,11 @@
|
|
|
1291
1293
|
} else {
|
|
1292
1294
|
var tmp_0;
|
|
1293
1295
|
try {
|
|
1294
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1296
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().t1p(_this__u8e3s4)));
|
|
1295
1297
|
var parser = new StateExpressionParser(tokens);
|
|
1296
|
-
parser.
|
|
1297
|
-
var expr = parser.
|
|
1298
|
-
tmp_0 = tokens.
|
|
1298
|
+
parser.g1q_1 = new BailErrorStrategy();
|
|
1299
|
+
var expr = parser.d2w();
|
|
1300
|
+
tmp_0 = tokens.b1(tokens.f1s()).s1s() === Companion_getInstance().w1s_1 ? expr : null;
|
|
1299
1301
|
} catch ($p) {
|
|
1300
1302
|
var tmp_1;
|
|
1301
1303
|
if ($p instanceof ParseCancellationException) {
|
|
@@ -1313,17 +1315,17 @@
|
|
|
1313
1315
|
function vars(_this__u8e3s4) {
|
|
1314
1316
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1315
1317
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1316
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1317
|
-
var tmp1_flatMap = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1318
|
+
var tmp0_elvis_lhs = _this__u8e3s4.r1q_1;
|
|
1318
1319
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1319
|
-
var
|
|
1320
|
-
var
|
|
1321
|
-
|
|
1322
|
-
|
|
1320
|
+
var this_0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1321
|
+
var destination = ArrayList_init_$Create$_0();
|
|
1322
|
+
var tmp0_iterator = this_0.s();
|
|
1323
|
+
while (tmp0_iterator.t()) {
|
|
1324
|
+
var element = tmp0_iterator.u();
|
|
1323
1325
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>' call
|
|
1324
1326
|
var tmp;
|
|
1325
1327
|
if (isInterface(element, TerminalNode)) {
|
|
1326
|
-
var tmp1_safe_receiver = element.
|
|
1328
|
+
var tmp1_safe_receiver = element.c2n();
|
|
1327
1329
|
var tmp_0;
|
|
1328
1330
|
if (tmp1_safe_receiver == null) {
|
|
1329
1331
|
tmp_0 = null;
|
|
@@ -1332,7 +1334,7 @@
|
|
|
1332
1334
|
// Inline function 'kotlin.contracts.contract' call
|
|
1333
1335
|
var tmp_1;
|
|
1334
1336
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1335
|
-
if (tmp1_safe_receiver.
|
|
1337
|
+
if (tmp1_safe_receiver.s1s() === Tokens_VAR_getInstance().v2q_1) {
|
|
1336
1338
|
tmp_1 = tmp1_safe_receiver;
|
|
1337
1339
|
} else {
|
|
1338
1340
|
tmp_1 = null;
|
|
@@ -1340,7 +1342,7 @@
|
|
|
1340
1342
|
tmp_0 = tmp_1;
|
|
1341
1343
|
}
|
|
1342
1344
|
var tmp2_safe_receiver = tmp_0;
|
|
1343
|
-
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1345
|
+
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j1t());
|
|
1344
1346
|
} else {
|
|
1345
1347
|
if (element instanceof ParserRuleContext) {
|
|
1346
1348
|
tmp = vars(element);
|
|
@@ -1349,101 +1351,101 @@
|
|
|
1349
1351
|
}
|
|
1350
1352
|
}
|
|
1351
1353
|
var list = tmp;
|
|
1352
|
-
addAll(
|
|
1354
|
+
addAll(destination, list);
|
|
1353
1355
|
}
|
|
1354
|
-
return
|
|
1356
|
+
return destination;
|
|
1355
1357
|
}
|
|
1356
1358
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1357
|
-
this.
|
|
1359
|
+
this.l2w_1 = this$0;
|
|
1358
1360
|
StateExpressionBaseVisitor.call(this);
|
|
1359
1361
|
}
|
|
1360
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1361
|
-
return ensureNotNull(ctx.
|
|
1362
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).u2n = function (ctx) {
|
|
1363
|
+
return ensureNotNull(ctx.z2r_1).t22(this);
|
|
1362
1364
|
};
|
|
1363
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1364
|
-
return !ensureNotNull(ctx.
|
|
1365
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).x2n = function (ctx) {
|
|
1366
|
+
return !ensureNotNull(ctx.z2s_1).t22(this);
|
|
1365
1367
|
};
|
|
1366
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1367
|
-
return ensureNotNull(ctx.
|
|
1368
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).z2n = function (ctx) {
|
|
1369
|
+
return ensureNotNull(ctx.p2t_1).t22(this) ? true : ensureNotNull(ctx.q2t_1).t22(this);
|
|
1368
1370
|
};
|
|
1369
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1370
|
-
return ensureNotNull(ctx.
|
|
1371
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).a2o = function (ctx) {
|
|
1372
|
+
return ensureNotNull(ctx.y2t_1).t22(this) ? ensureNotNull(ctx.z2t_1).t22(this) : false;
|
|
1371
1373
|
};
|
|
1372
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1373
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1374
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).v2n = function (ctx) {
|
|
1375
|
+
var tmp0_subject = ensureNotNull(ctx.h2s_1).s1s();
|
|
1374
1376
|
var tmp;
|
|
1375
|
-
if (tmp0_subject === Tokens_TRUE_getInstance().
|
|
1377
|
+
if (tmp0_subject === Tokens_TRUE_getInstance().v2q_1) {
|
|
1376
1378
|
tmp = true;
|
|
1377
|
-
} else if (tmp0_subject === Tokens_FALSE_getInstance().
|
|
1379
|
+
} else if (tmp0_subject === Tokens_FALSE_getInstance().v2q_1) {
|
|
1378
1380
|
tmp = false;
|
|
1379
1381
|
} else {
|
|
1380
1382
|
throw IllegalStateException_init_$Create$_0();
|
|
1381
1383
|
}
|
|
1382
1384
|
return tmp;
|
|
1383
1385
|
};
|
|
1384
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1385
|
-
var varName = ensureNotNull(ensureNotNull(ctx.
|
|
1386
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).w2n = function (ctx) {
|
|
1387
|
+
var varName = ensureNotNull(ensureNotNull(ctx.p2s_1).j1t());
|
|
1386
1388
|
// Inline function 'kotlin.run' call
|
|
1387
|
-
var tmp0_run = ensureNotNull(ensureNotNull(ctx.y2q_1).q1r());
|
|
1388
1389
|
// Inline function 'kotlin.contracts.contract' call
|
|
1389
1390
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1391
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.r2s_1).j1t());
|
|
1390
1392
|
// Inline function 'kotlin.text.substring' call
|
|
1391
|
-
var
|
|
1393
|
+
var endIndex = $this$run.length - 1 | 0;
|
|
1392
1394
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1393
|
-
var value =
|
|
1394
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1395
|
+
var value = $this$run.substring(1, endIndex);
|
|
1396
|
+
var tmp0_subject = ensureNotNull(ctx.q2s_1).s1s();
|
|
1395
1397
|
var tmp;
|
|
1396
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1397
|
-
tmp = this.
|
|
1398
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1399
|
-
tmp = !this.
|
|
1398
|
+
if (tmp0_subject === Tokens_EQ_getInstance().v2q_1) {
|
|
1399
|
+
tmp = this.l2w_1.h2w_1.k1i(varName).v(value);
|
|
1400
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().v2q_1) {
|
|
1401
|
+
tmp = !this.l2w_1.h2w_1.k1i(varName).v(value);
|
|
1400
1402
|
} else {
|
|
1401
1403
|
throw IllegalStateException_init_$Create$_0();
|
|
1402
1404
|
}
|
|
1403
1405
|
return tmp;
|
|
1404
1406
|
};
|
|
1405
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1406
|
-
var left = ensureNotNull(ctx.
|
|
1407
|
-
var right = ensureNotNull(ctx.
|
|
1408
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1407
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).t2n = function (ctx) {
|
|
1408
|
+
var left = ensureNotNull(ctx.p2r_1).t22(this.l2w_1.j2w_1);
|
|
1409
|
+
var right = ensureNotNull(ctx.r2r_1).t22(this.l2w_1.j2w_1);
|
|
1410
|
+
var tmp0_subject = ensureNotNull(ctx.q2r_1).s1s();
|
|
1409
1411
|
var tmp;
|
|
1410
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1412
|
+
if (tmp0_subject === Tokens_EQ_getInstance().v2q_1) {
|
|
1411
1413
|
tmp = left === right;
|
|
1412
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1414
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().v2q_1) {
|
|
1413
1415
|
tmp = !(left === right);
|
|
1414
|
-
} else if (tmp0_subject === Tokens_GT_getInstance().
|
|
1416
|
+
} else if (tmp0_subject === Tokens_GT_getInstance().v2q_1) {
|
|
1415
1417
|
tmp = left > right;
|
|
1416
|
-
} else if (tmp0_subject === Tokens_GTE_getInstance().
|
|
1418
|
+
} else if (tmp0_subject === Tokens_GTE_getInstance().v2q_1) {
|
|
1417
1419
|
tmp = left >= right;
|
|
1418
|
-
} else if (tmp0_subject === Tokens_LT_getInstance().
|
|
1420
|
+
} else if (tmp0_subject === Tokens_LT_getInstance().v2q_1) {
|
|
1419
1421
|
tmp = left < right;
|
|
1420
|
-
} else if (tmp0_subject === Tokens_LTE_getInstance().
|
|
1422
|
+
} else if (tmp0_subject === Tokens_LTE_getInstance().v2q_1) {
|
|
1421
1423
|
tmp = left <= right;
|
|
1422
1424
|
} else {
|
|
1423
1425
|
throw IllegalStateException_init_$Create$_0();
|
|
1424
1426
|
}
|
|
1425
1427
|
return tmp;
|
|
1426
1428
|
};
|
|
1427
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1429
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).y2n = function (ctx) {
|
|
1428
1430
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1429
|
-
return !this.
|
|
1431
|
+
return !this.l2w_1.h2w_1.k1i(ensureNotNull(ensureNotNull(ctx.h2t_1).j1t())).x();
|
|
1430
1432
|
};
|
|
1431
1433
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1432
|
-
this.
|
|
1434
|
+
this.m2w_1 = this$0;
|
|
1433
1435
|
StateExpressionBaseVisitor.call(this);
|
|
1434
1436
|
}
|
|
1435
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1436
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.
|
|
1437
|
+
protoOf(StateExpressionEvaluator$intExpr$1).d2o = function (ctx) {
|
|
1438
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.m2v_1).j1t()));
|
|
1437
1439
|
};
|
|
1438
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1439
|
-
return this.
|
|
1440
|
+
protoOf(StateExpressionEvaluator$intExpr$1).c2o = function (ctx) {
|
|
1441
|
+
return this.m2w_1.h2w_1.k1i(ensureNotNull(ensureNotNull(ctx.c2w_1).j1t())).l();
|
|
1440
1442
|
};
|
|
1441
1443
|
function StateExpressionEvaluator(state) {
|
|
1442
|
-
this.
|
|
1444
|
+
this.h2w_1 = state;
|
|
1443
1445
|
var tmp = this;
|
|
1444
|
-
tmp.
|
|
1446
|
+
tmp.i2w_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1445
1447
|
var tmp_0 = this;
|
|
1446
|
-
tmp_0.
|
|
1448
|
+
tmp_0.j2w_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1447
1449
|
}
|
|
1448
1450
|
//region block: exports
|
|
1449
1451
|
_.$_$ = _.$_$ || {};
|