@cruglobal/godtools-shared 0.9.3-PR535-SNAPSHOT.1399 → 0.9.3-PR569-SNAPSHOT.1427
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 +20 -20
- package/Napier-napier-js-ir.js +41 -41
- package/antlr-kotlin-antlr-kotlin-runtime.js +9574 -0
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -0
- package/colormath-root-colormath.js +757 -757
- package/fluid-locale.js +162 -162
- package/{uuid-js-ir.js → kotlin-js.js} +2 -2
- package/kotlin-kotlin-stdlib.js +2136 -1756
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +628 -591
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2300 -2300
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +246 -246
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2699 -2699
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/seskar-core.js +15 -0
- package/seskar-core.js.map +1 -0
- package/seskar-react.js +15 -0
- package/seskar-react.js.map +1 -0
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +0 -8788
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +0 -1
- /package/{uuid-js-ir.js.map → kotlin-js.js.map} +0 -0
|
@@ -1,86 +1,87 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './antlr-kotlin-antlr-kotlin-runtime
|
|
3
|
+
define(['exports', './antlr-kotlin-antlr-kotlin-runtime.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime
|
|
5
|
+
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['antlr-kotlin-antlr-kotlin-runtime
|
|
8
|
-
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime
|
|
7
|
+
if (typeof this['antlr-kotlin-antlr-kotlin-runtime'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
9
9
|
}
|
|
10
10
|
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
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
|
|
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'], this['kotlin-kotlin-stdlib']);
|
|
14
14
|
}
|
|
15
|
-
}(this, function (_,
|
|
15
|
+
}(this, function (_, kotlin_com_strumenta_antlr_kotlin_runtime, kotlin_kotlin) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var AbstractParseTreeVisitor =
|
|
19
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
33
|
-
var Enum = kotlin_kotlin.$_$.
|
|
34
|
-
var Lexer =
|
|
35
|
-
var
|
|
18
|
+
var AbstractParseTreeVisitor = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.m;
|
|
19
|
+
var ensureNotNull = kotlin_kotlin.$_$.j9;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.o6;
|
|
21
|
+
var classMeta = kotlin_kotlin.$_$.t5;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.p6;
|
|
23
|
+
var enumEntries = kotlin_kotlin.$_$.l5;
|
|
24
|
+
var Unit_instance = kotlin_kotlin.$_$.m2;
|
|
25
|
+
var RuntimeMetaData_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.e;
|
|
26
|
+
var ATNDeserializer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.g;
|
|
27
|
+
var toCharArray = kotlin_kotlin.$_$.e8;
|
|
28
|
+
var fillArrayVal = kotlin_kotlin.$_$.x5;
|
|
29
|
+
var DFA = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.k;
|
|
30
|
+
var PredictionContextCache = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.j;
|
|
31
|
+
var VocabularyImpl = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.x;
|
|
32
|
+
var objectMeta = kotlin_kotlin.$_$.n6;
|
|
33
|
+
var Enum = kotlin_kotlin.$_$.s8;
|
|
34
|
+
var Lexer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.r;
|
|
35
|
+
var LexerATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.h;
|
|
36
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.z2;
|
|
36
37
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var ParserRuleContext_init_$Init$ =
|
|
42
|
-
var
|
|
43
|
-
var ParserRuleContext_init_$Init$_0 = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.c;
|
|
44
|
-
var ParserRuleContext = kotlin_org_cru_mobile_fork_antlr_kotlin_antlr_kotlin_runtime.$_$.u;
|
|
38
|
+
var copyToArray = kotlin_kotlin.$_$.g3;
|
|
39
|
+
var interfaceMeta = kotlin_kotlin.$_$.d6;
|
|
40
|
+
var ParserRuleContext_init_$Init$ = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.b;
|
|
41
|
+
var objectCreate = kotlin_kotlin.$_$.m6;
|
|
42
|
+
var ParserRuleContext_init_$Init$_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.a;
|
|
43
|
+
var ParserRuleContext = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.t;
|
|
45
44
|
var VOID = kotlin_kotlin.$_$.c;
|
|
46
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.g6;
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.c9;
|
|
47
|
+
var Token = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.w;
|
|
48
|
+
var Long = kotlin_kotlin.$_$.x8;
|
|
49
|
+
var Companion_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.c;
|
|
50
|
+
var FailedPredicateException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.q;
|
|
51
|
+
var RecognitionException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.v;
|
|
52
|
+
var Parser = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.u;
|
|
53
|
+
var ParserATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.i;
|
|
54
|
+
var NoViableAltException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.s;
|
|
55
|
+
var toString = kotlin_kotlin.$_$.s6;
|
|
56
56
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
57
|
-
var toSet = kotlin_kotlin.$_$.
|
|
58
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
59
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
60
|
-
var CharStreams_getInstance =
|
|
61
|
-
var CommonTokenStream =
|
|
62
|
-
var BailErrorStrategy =
|
|
63
|
-
var
|
|
64
|
-
var ParseCancellationException =
|
|
65
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
57
|
+
var toSet = kotlin_kotlin.$_$.r4;
|
|
58
|
+
var emptySet = kotlin_kotlin.$_$.k3;
|
|
59
|
+
var isBlank = kotlin_kotlin.$_$.r7;
|
|
60
|
+
var CharStreams_getInstance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.d;
|
|
61
|
+
var CommonTokenStream = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.p;
|
|
62
|
+
var BailErrorStrategy = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.o;
|
|
63
|
+
var Companion_instance_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.f;
|
|
64
|
+
var ParseCancellationException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.l;
|
|
65
|
+
var emptyList = kotlin_kotlin.$_$.i3;
|
|
66
66
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
67
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
68
|
-
var TerminalNode =
|
|
69
|
-
var addAll = kotlin_kotlin.$_$.
|
|
67
|
+
var listOfNotNull = kotlin_kotlin.$_$.a4;
|
|
68
|
+
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.n;
|
|
69
|
+
var addAll = kotlin_kotlin.$_$.u2;
|
|
70
70
|
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
71
|
-
var toInt = kotlin_kotlin.$_$.
|
|
71
|
+
var toInt = kotlin_kotlin.$_$.j8;
|
|
72
72
|
//endregion
|
|
73
73
|
//region block: pre-declaration
|
|
74
74
|
setMetadataFor(StateExpressionVisitor, 'StateExpressionVisitor', interfaceMeta);
|
|
75
75
|
setMetadataFor(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', classMeta, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor], StateExpressionBaseVisitor);
|
|
76
76
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
77
77
|
setMetadataFor(Channels, 'Channels', classMeta, Enum);
|
|
78
|
+
setMetadataFor(Modes, 'Modes', classMeta, Enum);
|
|
78
79
|
setMetadataFor(Rules, 'Rules', classMeta, Enum);
|
|
79
80
|
setMetadataFor(StateExpressionLexer, 'StateExpressionLexer', classMeta, Lexer);
|
|
80
81
|
setMetadataFor(StateExpressionListener, 'StateExpressionListener', interfaceMeta);
|
|
82
|
+
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
81
83
|
setMetadataFor(Tokens, 'Tokens', classMeta, Enum);
|
|
82
84
|
setMetadataFor(Rules_0, 'Rules', classMeta, Enum);
|
|
83
|
-
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
84
85
|
setMetadataFor(BooleanExprContext, 'BooleanExprContext', classMeta, ParserRuleContext, VOID, BooleanExprContext_init_$Create$_0);
|
|
85
86
|
setMetadataFor(IntCmpExprContext, 'IntCmpExprContext', classMeta, BooleanExprContext);
|
|
86
87
|
setMetadataFor(ParExprContext, 'ParExprContext', classMeta, BooleanExprContext);
|
|
@@ -103,44 +104,49 @@
|
|
|
103
104
|
function StateExpressionBaseVisitor() {
|
|
104
105
|
AbstractParseTreeVisitor.call(this);
|
|
105
106
|
}
|
|
106
|
-
protoOf(StateExpressionBaseVisitor).
|
|
107
|
-
return ensureNotNull(
|
|
107
|
+
protoOf(StateExpressionBaseVisitor).k2r = function (ctx) {
|
|
108
|
+
return ensureNotNull(this.p24(ctx));
|
|
108
109
|
};
|
|
109
|
-
protoOf(StateExpressionBaseVisitor).
|
|
110
|
-
return ensureNotNull(
|
|
110
|
+
protoOf(StateExpressionBaseVisitor).l2r = function (ctx) {
|
|
111
|
+
return ensureNotNull(this.p24(ctx));
|
|
111
112
|
};
|
|
112
|
-
protoOf(StateExpressionBaseVisitor).
|
|
113
|
-
return ensureNotNull(
|
|
113
|
+
protoOf(StateExpressionBaseVisitor).m2r = function (ctx) {
|
|
114
|
+
return ensureNotNull(this.p24(ctx));
|
|
114
115
|
};
|
|
115
|
-
protoOf(StateExpressionBaseVisitor).
|
|
116
|
-
return ensureNotNull(
|
|
116
|
+
protoOf(StateExpressionBaseVisitor).n2r = function (ctx) {
|
|
117
|
+
return ensureNotNull(this.p24(ctx));
|
|
117
118
|
};
|
|
118
|
-
protoOf(StateExpressionBaseVisitor).
|
|
119
|
-
return ensureNotNull(
|
|
119
|
+
protoOf(StateExpressionBaseVisitor).o2r = function (ctx) {
|
|
120
|
+
return ensureNotNull(this.p24(ctx));
|
|
120
121
|
};
|
|
121
|
-
protoOf(StateExpressionBaseVisitor).
|
|
122
|
-
return ensureNotNull(
|
|
122
|
+
protoOf(StateExpressionBaseVisitor).p2r = function (ctx) {
|
|
123
|
+
return ensureNotNull(this.p24(ctx));
|
|
123
124
|
};
|
|
124
|
-
protoOf(StateExpressionBaseVisitor).
|
|
125
|
-
return ensureNotNull(
|
|
125
|
+
protoOf(StateExpressionBaseVisitor).q2r = function (ctx) {
|
|
126
|
+
return ensureNotNull(this.p24(ctx));
|
|
126
127
|
};
|
|
127
|
-
protoOf(StateExpressionBaseVisitor).
|
|
128
|
-
return ensureNotNull(
|
|
128
|
+
protoOf(StateExpressionBaseVisitor).r2r = function (ctx) {
|
|
129
|
+
return ensureNotNull(this.p24(ctx));
|
|
129
130
|
};
|
|
130
|
-
protoOf(StateExpressionBaseVisitor).
|
|
131
|
-
return ensureNotNull(
|
|
131
|
+
protoOf(StateExpressionBaseVisitor).s2r = function (ctx) {
|
|
132
|
+
return ensureNotNull(this.p24(ctx));
|
|
132
133
|
};
|
|
133
|
-
protoOf(StateExpressionBaseVisitor).
|
|
134
|
-
return ensureNotNull(
|
|
134
|
+
protoOf(StateExpressionBaseVisitor).t2r = function (ctx) {
|
|
135
|
+
return ensureNotNull(this.p24(ctx));
|
|
135
136
|
};
|
|
136
|
-
protoOf(StateExpressionBaseVisitor).
|
|
137
|
-
return ensureNotNull(
|
|
137
|
+
protoOf(StateExpressionBaseVisitor).u2r = function (ctx) {
|
|
138
|
+
return ensureNotNull(this.p24(ctx));
|
|
138
139
|
};
|
|
139
140
|
var Channels_DEFAULT_TOKEN_CHANNEL_instance;
|
|
140
141
|
var Channels_HIDDEN_instance;
|
|
141
142
|
function values() {
|
|
142
143
|
return [Channels_DEFAULT_TOKEN_CHANNEL_getInstance(), Channels_HIDDEN_getInstance()];
|
|
143
144
|
}
|
|
145
|
+
function get_entries() {
|
|
146
|
+
if ($ENTRIES == null)
|
|
147
|
+
$ENTRIES = enumEntries(values());
|
|
148
|
+
return $ENTRIES;
|
|
149
|
+
}
|
|
144
150
|
var Channels_entriesInitialized;
|
|
145
151
|
function Channels_initEntries() {
|
|
146
152
|
if (Channels_entriesInitialized)
|
|
@@ -149,6 +155,24 @@
|
|
|
149
155
|
Channels_DEFAULT_TOKEN_CHANNEL_instance = new Channels('DEFAULT_TOKEN_CHANNEL', 0, 0);
|
|
150
156
|
Channels_HIDDEN_instance = new Channels('HIDDEN', 1, 1);
|
|
151
157
|
}
|
|
158
|
+
var $ENTRIES;
|
|
159
|
+
var Modes_DEFAULT_MODE_instance;
|
|
160
|
+
function values_0() {
|
|
161
|
+
return [Modes_DEFAULT_MODE_getInstance()];
|
|
162
|
+
}
|
|
163
|
+
function get_entries_0() {
|
|
164
|
+
if ($ENTRIES_0 == null)
|
|
165
|
+
$ENTRIES_0 = enumEntries(values_0());
|
|
166
|
+
return $ENTRIES_0;
|
|
167
|
+
}
|
|
168
|
+
var Modes_entriesInitialized;
|
|
169
|
+
function Modes_initEntries() {
|
|
170
|
+
if (Modes_entriesInitialized)
|
|
171
|
+
return Unit_instance;
|
|
172
|
+
Modes_entriesInitialized = true;
|
|
173
|
+
Modes_DEFAULT_MODE_instance = new Modes('DEFAULT_MODE', 0, 0);
|
|
174
|
+
}
|
|
175
|
+
var $ENTRIES_0;
|
|
152
176
|
var Rules_EQ_instance;
|
|
153
177
|
var Rules_NEQ_instance;
|
|
154
178
|
var Rules_AND_instance;
|
|
@@ -167,9 +191,14 @@
|
|
|
167
191
|
var Rules_INT_instance;
|
|
168
192
|
var Rules_STRING_instance;
|
|
169
193
|
var Rules_VAR_instance;
|
|
170
|
-
function
|
|
194
|
+
function values_1() {
|
|
171
195
|
return [Rules_EQ_getInstance(), Rules_NEQ_getInstance(), Rules_AND_getInstance(), Rules_OR_getInstance(), Rules_NOT_getInstance(), Rules_GTE_getInstance(), Rules_GT_getInstance(), Rules_LTE_getInstance(), Rules_LT_getInstance(), Rules_OPAR_getInstance(), Rules_CPAR_getInstance(), Rules_TRUE_getInstance(), Rules_FALSE_getInstance(), Rules_FUNC_ISSET_getInstance(), Rules_FUNC_VALUES_getInstance(), Rules_INT_getInstance(), Rules_STRING_getInstance(), Rules_VAR_getInstance()];
|
|
172
196
|
}
|
|
197
|
+
function get_entries_1() {
|
|
198
|
+
if ($ENTRIES_1 == null)
|
|
199
|
+
$ENTRIES_1 = enumEntries(values_1());
|
|
200
|
+
return $ENTRIES_1;
|
|
201
|
+
}
|
|
173
202
|
var Rules_entriesInitialized;
|
|
174
203
|
function Rules_initEntries() {
|
|
175
204
|
if (Rules_entriesInitialized)
|
|
@@ -194,60 +223,50 @@
|
|
|
194
223
|
Rules_STRING_instance = new Rules('STRING', 16);
|
|
195
224
|
Rules_VAR_instance = new Rules('VAR', 17);
|
|
196
225
|
}
|
|
226
|
+
var $ENTRIES_1;
|
|
197
227
|
function Companion() {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
this.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
var
|
|
205
|
-
var
|
|
206
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
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);
|
|
210
|
-
var tmp_1 = this;
|
|
211
|
-
var tmp_2 = 0;
|
|
212
|
-
var tmp_3 = this.h2o_1.l();
|
|
228
|
+
Companion_instance_1 = this;
|
|
229
|
+
var tmp = RuntimeMetaData_instance;
|
|
230
|
+
tmp.r24('4.13.1', '4.13.1');
|
|
231
|
+
this.v2r_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
232
|
+
this.w2r_1 = (new ATNDeserializer()).g29(toCharArray("\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00"));
|
|
233
|
+
var tmp_0 = this;
|
|
234
|
+
var tmp_1 = 0;
|
|
235
|
+
var tmp_2 = this.w2r_1.m25();
|
|
213
236
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
214
|
-
var
|
|
215
|
-
while (
|
|
216
|
-
var
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
el = Companion_getInstance_0().i2o_1.o23(tmp_5);
|
|
220
|
-
}
|
|
221
|
-
if (el == null) {
|
|
222
|
-
el = '<INVALID>';
|
|
223
|
-
}
|
|
224
|
-
tmp_4[tmp_5] = el;
|
|
225
|
-
tmp_2 = tmp_2 + 1 | 0;
|
|
237
|
+
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
238
|
+
while (tmp_1 < tmp_2) {
|
|
239
|
+
var tmp_4 = tmp_1;
|
|
240
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance().w2r_1.b26(tmp_4)), tmp_4);
|
|
241
|
+
tmp_1 = tmp_1 + 1 | 0;
|
|
226
242
|
}
|
|
227
|
-
|
|
228
|
-
this.
|
|
229
|
-
|
|
243
|
+
tmp_0.x2r_1 = tmp_3;
|
|
244
|
+
this.y2r_1 = new PredictionContextCache();
|
|
245
|
+
var tmp_5 = this;
|
|
246
|
+
// Inline function 'kotlin.arrayOf' call
|
|
247
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
248
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
249
|
+
tmp_5.z2r_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
230
250
|
var tmp_6 = this;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// Inline function 'kotlin.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
var tmp_10 = tmp_7;
|
|
237
|
-
tmp_9[tmp_10] = new DFA(ensureNotNull(Companion_getInstance_0().l2o_1.e24(tmp_10)), tmp_10);
|
|
238
|
-
tmp_7 = tmp_7 + 1 | 0;
|
|
239
|
-
}
|
|
240
|
-
tmp_6.e2o_1 = tmp_9;
|
|
251
|
+
// Inline function 'kotlin.arrayOf' call
|
|
252
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
253
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
254
|
+
tmp_6.a2s_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
255
|
+
this.b2s_1 = new VocabularyImpl(this.z2r_1, this.a2s_1);
|
|
241
256
|
}
|
|
242
|
-
var
|
|
243
|
-
function
|
|
244
|
-
if (
|
|
257
|
+
var Companion_instance_1;
|
|
258
|
+
function Companion_getInstance() {
|
|
259
|
+
if (Companion_instance_1 == null)
|
|
245
260
|
new Companion();
|
|
246
|
-
return
|
|
261
|
+
return Companion_instance_1;
|
|
247
262
|
}
|
|
248
263
|
function Channels(name, ordinal, id) {
|
|
249
264
|
Enum.call(this, name, ordinal);
|
|
250
|
-
this.
|
|
265
|
+
this.e2s_1 = id;
|
|
266
|
+
}
|
|
267
|
+
function Modes(name, ordinal, id) {
|
|
268
|
+
Enum.call(this, name, ordinal);
|
|
269
|
+
this.h2s_1 = id;
|
|
251
270
|
}
|
|
252
271
|
function Rules(name, ordinal) {
|
|
253
272
|
Enum.call(this, name, ordinal);
|
|
@@ -260,6 +279,10 @@
|
|
|
260
279
|
Channels_initEntries();
|
|
261
280
|
return Channels_HIDDEN_instance;
|
|
262
281
|
}
|
|
282
|
+
function Modes_DEFAULT_MODE_getInstance() {
|
|
283
|
+
Modes_initEntries();
|
|
284
|
+
return Modes_DEFAULT_MODE_instance;
|
|
285
|
+
}
|
|
263
286
|
function Rules_EQ_getInstance() {
|
|
264
287
|
Rules_initEntries();
|
|
265
288
|
return Rules_EQ_instance;
|
|
@@ -333,51 +356,64 @@
|
|
|
333
356
|
return Rules_VAR_instance;
|
|
334
357
|
}
|
|
335
358
|
function StateExpressionLexer(input) {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
this.
|
|
359
|
+
Companion_getInstance();
|
|
360
|
+
Lexer.call(this, input);
|
|
361
|
+
this.a2t_1 = new LexerATNSimulator(this, Companion_getInstance().w2r_1, Companion_getInstance().x2r_1, Companion_getInstance().y2r_1);
|
|
362
|
+
this.b2t_1 = 'StateExpression.g4';
|
|
363
|
+
this.c2t_1 = Companion_getInstance().w2r_1;
|
|
364
|
+
this.d2t_1 = Companion_getInstance().b2s_1;
|
|
365
|
+
this.e2t_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
339
366
|
var tmp = this;
|
|
340
367
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
341
368
|
// Inline function 'kotlin.collections.map' call
|
|
342
|
-
var this_0 =
|
|
369
|
+
var this_0 = get_entries_1();
|
|
343
370
|
// Inline function 'kotlin.collections.mapTo' call
|
|
344
|
-
var destination = ArrayList_init_$Create$(this_0
|
|
345
|
-
var
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
var item = this_0[inductionVariable];
|
|
349
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
371
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
372
|
+
var tmp0_iterator = this_0.s();
|
|
373
|
+
while (tmp0_iterator.t()) {
|
|
374
|
+
var item = tmp0_iterator.u();
|
|
350
375
|
var tmp$ret$0 = item.z8_1;
|
|
351
376
|
destination.p(tmp$ret$0);
|
|
352
377
|
}
|
|
353
|
-
tmp.
|
|
378
|
+
tmp.f2t_1 = copyToArray(destination);
|
|
354
379
|
var tmp_0 = this;
|
|
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);
|
|
358
|
-
}
|
|
359
|
-
protoOf(StateExpressionLexer).l1x = function () {
|
|
360
380
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
361
381
|
// Inline function 'kotlin.collections.map' call
|
|
362
|
-
var
|
|
382
|
+
var this_1 = get_entries();
|
|
363
383
|
// Inline function 'kotlin.collections.mapTo' call
|
|
364
|
-
var
|
|
365
|
-
var
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
var
|
|
369
|
-
|
|
370
|
-
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.generated.StateExpressionLexer.<get-ruleNames>.<anonymous>' call
|
|
371
|
-
var tmp$ret$0 = item.z8_1;
|
|
372
|
-
destination.p(tmp$ret$0);
|
|
384
|
+
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
385
|
+
var tmp0_iterator_0 = this_1.s();
|
|
386
|
+
while (tmp0_iterator_0.t()) {
|
|
387
|
+
var item_0 = tmp0_iterator_0.u();
|
|
388
|
+
var tmp$ret$4 = item_0.z8_1;
|
|
389
|
+
destination_0.p(tmp$ret$4);
|
|
373
390
|
}
|
|
374
|
-
|
|
391
|
+
tmp_0.g2t_1 = copyToArray(destination_0);
|
|
392
|
+
var tmp_1 = this;
|
|
393
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
394
|
+
// Inline function 'kotlin.collections.map' call
|
|
395
|
+
var this_2 = get_entries_0();
|
|
396
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
397
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
398
|
+
var tmp0_iterator_1 = this_2.s();
|
|
399
|
+
while (tmp0_iterator_1.t()) {
|
|
400
|
+
var item_1 = tmp0_iterator_1.u();
|
|
401
|
+
var tmp$ret$8 = item_1.z8_1;
|
|
402
|
+
destination_1.p(tmp$ret$8);
|
|
403
|
+
}
|
|
404
|
+
tmp_1.h2t_1 = copyToArray(destination_1);
|
|
405
|
+
}
|
|
406
|
+
protoOf(StateExpressionLexer).g1x = function () {
|
|
407
|
+
return this.a2t_1;
|
|
375
408
|
};
|
|
376
|
-
protoOf(StateExpressionLexer).
|
|
377
|
-
return
|
|
409
|
+
protoOf(StateExpressionLexer).h1x = function () {
|
|
410
|
+
return this.c2t_1;
|
|
378
411
|
};
|
|
379
|
-
protoOf(StateExpressionLexer).
|
|
380
|
-
return
|
|
412
|
+
protoOf(StateExpressionLexer).y1v = function () {
|
|
413
|
+
return this.d2t_1;
|
|
414
|
+
};
|
|
415
|
+
protoOf(StateExpressionLexer).b1y = function () {
|
|
416
|
+
return this.f2t_1;
|
|
381
417
|
};
|
|
382
418
|
function StateExpressionListener() {
|
|
383
419
|
}
|
|
@@ -425,15 +461,15 @@
|
|
|
425
461
|
Tokens_STRING_instance = new Tokens('STRING', 17, 17);
|
|
426
462
|
Tokens_VAR_instance = new Tokens('VAR', 18, 18);
|
|
427
463
|
}
|
|
428
|
-
var
|
|
429
|
-
var
|
|
464
|
+
var Rules_booleanExpr_instance;
|
|
465
|
+
var Rules_intExpr_instance;
|
|
430
466
|
var Rules_entriesInitialized_0;
|
|
431
467
|
function Rules_initEntries_0() {
|
|
432
468
|
if (Rules_entriesInitialized_0)
|
|
433
469
|
return Unit_instance;
|
|
434
470
|
Rules_entriesInitialized_0 = true;
|
|
435
|
-
|
|
436
|
-
|
|
471
|
+
Rules_booleanExpr_instance = new Rules_0('booleanExpr', 0, 0);
|
|
472
|
+
Rules_intExpr_instance = new Rules_0('intExpr', 1, 1);
|
|
437
473
|
}
|
|
438
474
|
function BooleanExprContext_init_$Init$(parent, invokingState, $this) {
|
|
439
475
|
ParserRuleContext_init_$Init$(parent, invokingState, $this);
|
|
@@ -454,7 +490,7 @@
|
|
|
454
490
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
455
491
|
BooleanExprContext_init_$Init$_0($this);
|
|
456
492
|
IntCmpExprContext.call($this);
|
|
457
|
-
$this.
|
|
493
|
+
$this.n2u(ctx);
|
|
458
494
|
return $this;
|
|
459
495
|
}
|
|
460
496
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -463,7 +499,7 @@
|
|
|
463
499
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
464
500
|
BooleanExprContext_init_$Init$_0($this);
|
|
465
501
|
ParExprContext.call($this);
|
|
466
|
-
$this.
|
|
502
|
+
$this.n2u(ctx);
|
|
467
503
|
return $this;
|
|
468
504
|
}
|
|
469
505
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -472,7 +508,7 @@
|
|
|
472
508
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
473
509
|
BooleanExprContext_init_$Init$_0($this);
|
|
474
510
|
BooleanAtomContext.call($this);
|
|
475
|
-
$this.
|
|
511
|
+
$this.n2u(ctx);
|
|
476
512
|
return $this;
|
|
477
513
|
}
|
|
478
514
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -481,7 +517,7 @@
|
|
|
481
517
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
482
518
|
BooleanExprContext_init_$Init$_0($this);
|
|
483
519
|
EqExprContext.call($this);
|
|
484
|
-
$this.
|
|
520
|
+
$this.n2u(ctx);
|
|
485
521
|
return $this;
|
|
486
522
|
}
|
|
487
523
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -490,7 +526,7 @@
|
|
|
490
526
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
491
527
|
BooleanExprContext_init_$Init$_0($this);
|
|
492
528
|
NotExprContext.call($this);
|
|
493
|
-
$this.
|
|
529
|
+
$this.n2u(ctx);
|
|
494
530
|
return $this;
|
|
495
531
|
}
|
|
496
532
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -499,7 +535,7 @@
|
|
|
499
535
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
500
536
|
BooleanExprContext_init_$Init$_0($this);
|
|
501
537
|
IsSetFuncContext.call($this);
|
|
502
|
-
$this.
|
|
538
|
+
$this.n2u(ctx);
|
|
503
539
|
return $this;
|
|
504
540
|
}
|
|
505
541
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -508,7 +544,7 @@
|
|
|
508
544
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
509
545
|
BooleanExprContext_init_$Init$_0($this);
|
|
510
546
|
OrExprContext.call($this);
|
|
511
|
-
$this.
|
|
547
|
+
$this.n2u(ctx);
|
|
512
548
|
return $this;
|
|
513
549
|
}
|
|
514
550
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -517,7 +553,7 @@
|
|
|
517
553
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
518
554
|
BooleanExprContext_init_$Init$_0($this);
|
|
519
555
|
AndExprContext.call($this);
|
|
520
|
-
$this.
|
|
556
|
+
$this.n2u(ctx);
|
|
521
557
|
return $this;
|
|
522
558
|
}
|
|
523
559
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -542,7 +578,7 @@
|
|
|
542
578
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
543
579
|
IntExprContext_init_$Init$_0($this);
|
|
544
580
|
IntAtomContext.call($this);
|
|
545
|
-
$this.
|
|
581
|
+
$this.x2u(ctx);
|
|
546
582
|
return $this;
|
|
547
583
|
}
|
|
548
584
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -551,7 +587,7 @@
|
|
|
551
587
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
552
588
|
IntExprContext_init_$Init$_0($this);
|
|
553
589
|
ParIntExprContext.call($this);
|
|
554
|
-
$this.
|
|
590
|
+
$this.x2u(ctx);
|
|
555
591
|
return $this;
|
|
556
592
|
}
|
|
557
593
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -560,510 +596,504 @@
|
|
|
560
596
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
561
597
|
IntExprContext_init_$Init$_0($this);
|
|
562
598
|
ValuesFuncContext.call($this);
|
|
563
|
-
$this.
|
|
599
|
+
$this.x2u(ctx);
|
|
564
600
|
return $this;
|
|
565
601
|
}
|
|
566
602
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
567
603
|
return ValuesFuncContext_init_$Init$(ctx, objectCreate(protoOf(ValuesFuncContext)));
|
|
568
604
|
}
|
|
569
|
-
function Tokens(name, ordinal, id) {
|
|
570
|
-
Enum.call(this, name, ordinal);
|
|
571
|
-
this.v2q_1 = id;
|
|
572
|
-
}
|
|
573
|
-
function Rules_0(name, ordinal, id) {
|
|
574
|
-
Enum.call(this, name, ordinal);
|
|
575
|
-
this.y2q_1 = id;
|
|
576
|
-
}
|
|
577
605
|
function Companion_0() {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
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']);
|
|
606
|
+
Companion_instance_2 = this;
|
|
607
|
+
var tmp = RuntimeMetaData_instance;
|
|
608
|
+
tmp.r24('4.13.1', '4.13.1');
|
|
609
|
+
this.y2u_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
610
|
+
this.z2u_1 = (new ATNDeserializer()).g29(toCharArray('\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +'));
|
|
587
611
|
var tmp_0 = this;
|
|
588
|
-
|
|
589
|
-
var
|
|
590
|
-
var tmp_1 = copyToArray(this_0);
|
|
591
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
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);
|
|
595
|
-
var tmp_2 = this;
|
|
596
|
-
var tmp_3 = 0;
|
|
597
|
-
var tmp_4 = this.d2r_1.l();
|
|
612
|
+
var tmp_1 = 0;
|
|
613
|
+
var tmp_2 = this.z2u_1.m25();
|
|
598
614
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
599
|
-
var
|
|
600
|
-
while (
|
|
601
|
-
var
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
el = Companion_getInstance_1().e2r_1.o23(tmp_6);
|
|
605
|
-
}
|
|
606
|
-
if (el == null) {
|
|
607
|
-
el = '<INVALID>';
|
|
608
|
-
}
|
|
609
|
-
tmp_5[tmp_6] = el;
|
|
610
|
-
tmp_3 = tmp_3 + 1 | 0;
|
|
615
|
+
var tmp_3 = fillArrayVal(Array(tmp_2), null);
|
|
616
|
+
while (tmp_1 < tmp_2) {
|
|
617
|
+
var tmp_4 = tmp_1;
|
|
618
|
+
tmp_3[tmp_4] = new DFA(ensureNotNull(Companion_getInstance_0().z2u_1.b26(tmp_4)), tmp_4);
|
|
619
|
+
tmp_1 = tmp_1 + 1 | 0;
|
|
611
620
|
}
|
|
612
|
-
|
|
613
|
-
this.
|
|
614
|
-
|
|
621
|
+
tmp_0.a2v_1 = tmp_3;
|
|
622
|
+
this.b2v_1 = new PredictionContextCache();
|
|
623
|
+
var tmp_5 = this;
|
|
624
|
+
// Inline function 'kotlin.arrayOf' call
|
|
625
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
626
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
627
|
+
tmp_5.c2v_1 = ['booleanExpr', 'intExpr'];
|
|
628
|
+
var tmp_6 = this;
|
|
629
|
+
// Inline function 'kotlin.arrayOf' call
|
|
630
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
631
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
632
|
+
tmp_6.d2v_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
615
633
|
var tmp_7 = this;
|
|
616
|
-
|
|
617
|
-
|
|
634
|
+
// Inline function 'kotlin.arrayOf' call
|
|
635
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
636
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
637
|
+
tmp_7.e2v_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
638
|
+
this.f2v_1 = new VocabularyImpl(this.d2v_1, this.e2v_1);
|
|
639
|
+
var tmp_8 = this;
|
|
640
|
+
var tmp_9 = 0;
|
|
641
|
+
var tmp_10 = this.e2v_1.length;
|
|
618
642
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
619
|
-
var
|
|
620
|
-
while (
|
|
621
|
-
var
|
|
622
|
-
|
|
623
|
-
|
|
643
|
+
var tmp_11 = fillArrayVal(Array(tmp_10), null);
|
|
644
|
+
while (tmp_9 < tmp_10) {
|
|
645
|
+
var tmp_12 = tmp_9;
|
|
646
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().f2v_1.j25(tmp_12);
|
|
647
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().f2v_1.k25(tmp_12) : tmp0_elvis_lhs;
|
|
648
|
+
tmp_11[tmp_12] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
649
|
+
tmp_9 = tmp_9 + 1 | 0;
|
|
624
650
|
}
|
|
625
|
-
|
|
651
|
+
tmp_8.g2v_1 = tmp_11;
|
|
626
652
|
}
|
|
627
|
-
var
|
|
628
|
-
function
|
|
629
|
-
if (
|
|
653
|
+
var Companion_instance_2;
|
|
654
|
+
function Companion_getInstance_0() {
|
|
655
|
+
if (Companion_instance_2 == null)
|
|
630
656
|
new Companion_0();
|
|
631
|
-
return
|
|
657
|
+
return Companion_instance_2;
|
|
658
|
+
}
|
|
659
|
+
function Tokens(name, ordinal, id) {
|
|
660
|
+
Enum.call(this, name, ordinal);
|
|
661
|
+
this.j2v_1 = id;
|
|
662
|
+
}
|
|
663
|
+
function Rules_0(name, ordinal, id) {
|
|
664
|
+
Enum.call(this, name, ordinal);
|
|
665
|
+
this.m2v_1 = id;
|
|
632
666
|
}
|
|
633
|
-
protoOf(BooleanExprContext).
|
|
634
|
-
return
|
|
667
|
+
protoOf(BooleanExprContext).h1y = function () {
|
|
668
|
+
return Rules_booleanExpr_getInstance().m2v_1;
|
|
635
669
|
};
|
|
636
|
-
protoOf(BooleanExprContext).
|
|
637
|
-
protoOf(ParserRuleContext).
|
|
670
|
+
protoOf(BooleanExprContext).n2u = function (ctx) {
|
|
671
|
+
protoOf(ParserRuleContext).d24.call(this, ctx);
|
|
638
672
|
};
|
|
639
673
|
function BooleanExprContext() {
|
|
640
674
|
}
|
|
641
|
-
protoOf(IntCmpExprContext).
|
|
675
|
+
protoOf(IntCmpExprContext).g23 = function (listener) {
|
|
642
676
|
if (isInterface(listener, StateExpressionListener)) {
|
|
643
|
-
|
|
677
|
+
listener.i2t(this);
|
|
644
678
|
}
|
|
645
679
|
};
|
|
646
|
-
protoOf(IntCmpExprContext).
|
|
680
|
+
protoOf(IntCmpExprContext).i23 = function (listener) {
|
|
647
681
|
if (isInterface(listener, StateExpressionListener)) {
|
|
648
|
-
|
|
682
|
+
listener.j2t(this);
|
|
649
683
|
}
|
|
650
684
|
};
|
|
651
|
-
protoOf(IntCmpExprContext).
|
|
685
|
+
protoOf(IntCmpExprContext).g24 = function (visitor) {
|
|
652
686
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
653
|
-
return
|
|
687
|
+
return visitor.k2r(this);
|
|
654
688
|
} else {
|
|
655
|
-
return ensureNotNull(visitor.
|
|
689
|
+
return ensureNotNull(visitor.p24(this));
|
|
656
690
|
}
|
|
657
691
|
};
|
|
658
692
|
function IntCmpExprContext() {
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
693
|
+
this.w2v_1 = null;
|
|
694
|
+
this.x2v_1 = null;
|
|
695
|
+
this.y2v_1 = null;
|
|
662
696
|
}
|
|
663
|
-
protoOf(ParExprContext).
|
|
697
|
+
protoOf(ParExprContext).g23 = function (listener) {
|
|
664
698
|
if (isInterface(listener, StateExpressionListener)) {
|
|
665
|
-
|
|
699
|
+
listener.k2t(this);
|
|
666
700
|
}
|
|
667
701
|
};
|
|
668
|
-
protoOf(ParExprContext).
|
|
702
|
+
protoOf(ParExprContext).i23 = function (listener) {
|
|
669
703
|
if (isInterface(listener, StateExpressionListener)) {
|
|
670
|
-
|
|
704
|
+
listener.l2t(this);
|
|
671
705
|
}
|
|
672
706
|
};
|
|
673
|
-
protoOf(ParExprContext).
|
|
707
|
+
protoOf(ParExprContext).g24 = function (visitor) {
|
|
674
708
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
675
|
-
return
|
|
709
|
+
return visitor.l2r(this);
|
|
676
710
|
} else {
|
|
677
|
-
return ensureNotNull(visitor.
|
|
711
|
+
return ensureNotNull(visitor.p24(this));
|
|
678
712
|
}
|
|
679
713
|
};
|
|
680
714
|
function ParExprContext() {
|
|
681
|
-
this.
|
|
715
|
+
this.i2w_1 = null;
|
|
682
716
|
}
|
|
683
|
-
protoOf(BooleanAtomContext).
|
|
717
|
+
protoOf(BooleanAtomContext).g23 = function (listener) {
|
|
684
718
|
if (isInterface(listener, StateExpressionListener)) {
|
|
685
|
-
|
|
719
|
+
listener.m2t(this);
|
|
686
720
|
}
|
|
687
721
|
};
|
|
688
|
-
protoOf(BooleanAtomContext).
|
|
722
|
+
protoOf(BooleanAtomContext).i23 = function (listener) {
|
|
689
723
|
if (isInterface(listener, StateExpressionListener)) {
|
|
690
|
-
|
|
724
|
+
listener.n2t(this);
|
|
691
725
|
}
|
|
692
726
|
};
|
|
693
|
-
protoOf(BooleanAtomContext).
|
|
727
|
+
protoOf(BooleanAtomContext).g24 = function (visitor) {
|
|
694
728
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
695
|
-
return
|
|
729
|
+
return visitor.m2r(this);
|
|
696
730
|
} else {
|
|
697
|
-
return ensureNotNull(visitor.
|
|
731
|
+
return ensureNotNull(visitor.p24(this));
|
|
698
732
|
}
|
|
699
733
|
};
|
|
700
734
|
function BooleanAtomContext() {
|
|
701
|
-
this.
|
|
735
|
+
this.s2w_1 = null;
|
|
702
736
|
}
|
|
703
|
-
protoOf(EqExprContext).
|
|
737
|
+
protoOf(EqExprContext).g23 = function (listener) {
|
|
704
738
|
if (isInterface(listener, StateExpressionListener)) {
|
|
705
|
-
|
|
739
|
+
listener.o2t(this);
|
|
706
740
|
}
|
|
707
741
|
};
|
|
708
|
-
protoOf(EqExprContext).
|
|
742
|
+
protoOf(EqExprContext).i23 = function (listener) {
|
|
709
743
|
if (isInterface(listener, StateExpressionListener)) {
|
|
710
|
-
|
|
744
|
+
listener.p2t(this);
|
|
711
745
|
}
|
|
712
746
|
};
|
|
713
|
-
protoOf(EqExprContext).
|
|
747
|
+
protoOf(EqExprContext).g24 = function (visitor) {
|
|
714
748
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
715
|
-
return
|
|
749
|
+
return visitor.n2r(this);
|
|
716
750
|
} else {
|
|
717
|
-
return ensureNotNull(visitor.
|
|
751
|
+
return ensureNotNull(visitor.p24(this));
|
|
718
752
|
}
|
|
719
753
|
};
|
|
720
754
|
function EqExprContext() {
|
|
721
|
-
this.
|
|
722
|
-
this.
|
|
723
|
-
this.
|
|
755
|
+
this.c2x_1 = null;
|
|
756
|
+
this.d2x_1 = null;
|
|
757
|
+
this.e2x_1 = null;
|
|
724
758
|
}
|
|
725
|
-
protoOf(NotExprContext).
|
|
759
|
+
protoOf(NotExprContext).g23 = function (listener) {
|
|
726
760
|
if (isInterface(listener, StateExpressionListener)) {
|
|
727
|
-
|
|
761
|
+
listener.q2t(this);
|
|
728
762
|
}
|
|
729
763
|
};
|
|
730
|
-
protoOf(NotExprContext).
|
|
764
|
+
protoOf(NotExprContext).i23 = function (listener) {
|
|
731
765
|
if (isInterface(listener, StateExpressionListener)) {
|
|
732
|
-
|
|
766
|
+
listener.r2t(this);
|
|
733
767
|
}
|
|
734
768
|
};
|
|
735
|
-
protoOf(NotExprContext).
|
|
769
|
+
protoOf(NotExprContext).g24 = function (visitor) {
|
|
736
770
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
737
|
-
return
|
|
771
|
+
return visitor.o2r(this);
|
|
738
772
|
} else {
|
|
739
|
-
return ensureNotNull(visitor.
|
|
773
|
+
return ensureNotNull(visitor.p24(this));
|
|
740
774
|
}
|
|
741
775
|
};
|
|
742
776
|
function NotExprContext() {
|
|
743
|
-
this.
|
|
777
|
+
this.o2x_1 = null;
|
|
744
778
|
}
|
|
745
|
-
protoOf(IsSetFuncContext).
|
|
779
|
+
protoOf(IsSetFuncContext).g23 = function (listener) {
|
|
746
780
|
if (isInterface(listener, StateExpressionListener)) {
|
|
747
|
-
|
|
781
|
+
listener.s2t(this);
|
|
748
782
|
}
|
|
749
783
|
};
|
|
750
|
-
protoOf(IsSetFuncContext).
|
|
784
|
+
protoOf(IsSetFuncContext).i23 = function (listener) {
|
|
751
785
|
if (isInterface(listener, StateExpressionListener)) {
|
|
752
|
-
|
|
786
|
+
listener.t2t(this);
|
|
753
787
|
}
|
|
754
788
|
};
|
|
755
|
-
protoOf(IsSetFuncContext).
|
|
789
|
+
protoOf(IsSetFuncContext).g24 = function (visitor) {
|
|
756
790
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
757
|
-
return
|
|
791
|
+
return visitor.p2r(this);
|
|
758
792
|
} else {
|
|
759
|
-
return ensureNotNull(visitor.
|
|
793
|
+
return ensureNotNull(visitor.p24(this));
|
|
760
794
|
}
|
|
761
795
|
};
|
|
762
796
|
function IsSetFuncContext() {
|
|
763
|
-
this.
|
|
797
|
+
this.y2x_1 = null;
|
|
764
798
|
}
|
|
765
|
-
protoOf(OrExprContext).
|
|
799
|
+
protoOf(OrExprContext).g23 = function (listener) {
|
|
766
800
|
if (isInterface(listener, StateExpressionListener)) {
|
|
767
|
-
|
|
801
|
+
listener.u2t(this);
|
|
768
802
|
}
|
|
769
803
|
};
|
|
770
|
-
protoOf(OrExprContext).
|
|
804
|
+
protoOf(OrExprContext).i23 = function (listener) {
|
|
771
805
|
if (isInterface(listener, StateExpressionListener)) {
|
|
772
|
-
|
|
806
|
+
listener.v2t(this);
|
|
773
807
|
}
|
|
774
808
|
};
|
|
775
|
-
protoOf(OrExprContext).
|
|
809
|
+
protoOf(OrExprContext).g24 = function (visitor) {
|
|
776
810
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
777
|
-
return
|
|
811
|
+
return visitor.q2r(this);
|
|
778
812
|
} else {
|
|
779
|
-
return ensureNotNull(visitor.
|
|
813
|
+
return ensureNotNull(visitor.p24(this));
|
|
780
814
|
}
|
|
781
815
|
};
|
|
782
816
|
function OrExprContext() {
|
|
783
|
-
this.
|
|
784
|
-
this.
|
|
817
|
+
this.i2y_1 = null;
|
|
818
|
+
this.j2y_1 = null;
|
|
785
819
|
}
|
|
786
|
-
protoOf(AndExprContext).
|
|
820
|
+
protoOf(AndExprContext).g23 = function (listener) {
|
|
787
821
|
if (isInterface(listener, StateExpressionListener)) {
|
|
788
|
-
|
|
822
|
+
listener.w2t(this);
|
|
789
823
|
}
|
|
790
824
|
};
|
|
791
|
-
protoOf(AndExprContext).
|
|
825
|
+
protoOf(AndExprContext).i23 = function (listener) {
|
|
792
826
|
if (isInterface(listener, StateExpressionListener)) {
|
|
793
|
-
|
|
827
|
+
listener.x2t(this);
|
|
794
828
|
}
|
|
795
829
|
};
|
|
796
|
-
protoOf(AndExprContext).
|
|
830
|
+
protoOf(AndExprContext).g24 = function (visitor) {
|
|
797
831
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
798
|
-
return
|
|
832
|
+
return visitor.r2r(this);
|
|
799
833
|
} else {
|
|
800
|
-
return ensureNotNull(visitor.
|
|
834
|
+
return ensureNotNull(visitor.p24(this));
|
|
801
835
|
}
|
|
802
836
|
};
|
|
803
837
|
function AndExprContext() {
|
|
804
|
-
this.
|
|
805
|
-
this.
|
|
838
|
+
this.t2y_1 = null;
|
|
839
|
+
this.u2y_1 = null;
|
|
806
840
|
}
|
|
807
841
|
function booleanExpr($this, _p) {
|
|
808
|
-
var _parentctx = $this.
|
|
809
|
-
var _parentState = $this.
|
|
810
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
842
|
+
var _parentctx = $this.u1r_1;
|
|
843
|
+
var _parentState = $this.x1v_1;
|
|
844
|
+
var _localctx = BooleanExprContext_init_$Create$($this.u1r_1, _parentState);
|
|
811
845
|
var _prevctx = _localctx;
|
|
812
846
|
var _startState = 0;
|
|
813
|
-
$this.
|
|
847
|
+
$this.v23(_localctx, 0, Rules_booleanExpr_getInstance().m2v_1, _p);
|
|
814
848
|
var _la;
|
|
815
849
|
try {
|
|
816
850
|
var _alt;
|
|
817
|
-
$this.
|
|
818
|
-
$this.
|
|
819
|
-
$this.
|
|
820
|
-
switch (
|
|
851
|
+
$this.s23(_localctx, 1);
|
|
852
|
+
$this.x1v_1 = 22;
|
|
853
|
+
$this.r1r_1.l1s($this);
|
|
854
|
+
switch ($this.g1x().i2j($this.s1r_1, 0, $this.u1r_1)) {
|
|
821
855
|
case 1:
|
|
822
856
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
823
|
-
$this.
|
|
857
|
+
$this.u1r_1 = _localctx;
|
|
824
858
|
_prevctx = _localctx;
|
|
825
|
-
$this.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
$this.
|
|
830
|
-
|
|
831
|
-
$this.t1u_1 = 7;
|
|
832
|
-
var tmp_0 = $this.n21($this.w2u_1);
|
|
833
|
-
if (!isInterface(tmp_0, Token))
|
|
834
|
-
THROW_CCE();
|
|
859
|
+
$this.x1v_1 = 5;
|
|
860
|
+
$this.b23($this.x2z_1);
|
|
861
|
+
$this.x1v_1 = 6;
|
|
862
|
+
(_localctx instanceof ParExprContext ? _localctx : THROW_CCE()).i2w_1 = booleanExpr($this, 0);
|
|
863
|
+
$this.x1v_1 = 7;
|
|
864
|
+
$this.b23($this.y2z_1);
|
|
835
865
|
break;
|
|
836
866
|
case 2:
|
|
837
867
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
838
|
-
$this.
|
|
868
|
+
$this.u1r_1 = _localctx;
|
|
839
869
|
_prevctx = _localctx;
|
|
840
|
-
$this.
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
$this.t1u_1 = 10;
|
|
845
|
-
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).z2s_1 = booleanExpr($this, 7);
|
|
870
|
+
$this.x1v_1 = 9;
|
|
871
|
+
$this.b23($this.s2z_1);
|
|
872
|
+
$this.x1v_1 = 10;
|
|
873
|
+
(_localctx instanceof NotExprContext ? _localctx : THROW_CCE()).o2x_1 = booleanExpr($this, 7);
|
|
846
874
|
break;
|
|
847
875
|
case 3:
|
|
848
876
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
849
|
-
$this.
|
|
877
|
+
$this.u1r_1 = _localctx;
|
|
850
878
|
_prevctx = _localctx;
|
|
851
|
-
$this.
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
$this.
|
|
856
|
-
|
|
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);
|
|
861
|
-
if (!isInterface(tmp_5, Token))
|
|
862
|
-
THROW_CCE();
|
|
879
|
+
$this.x1v_1 = 11;
|
|
880
|
+
$this.b23($this.b30_1);
|
|
881
|
+
$this.x1v_1 = 12;
|
|
882
|
+
(_localctx instanceof IsSetFuncContext ? _localctx : THROW_CCE()).y2x_1 = $this.b23($this.f30_1);
|
|
883
|
+
$this.x1v_1 = 13;
|
|
884
|
+
$this.b23($this.y2z_1);
|
|
863
885
|
break;
|
|
864
886
|
case 4:
|
|
865
887
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
866
|
-
$this.
|
|
888
|
+
$this.u1r_1 = _localctx;
|
|
867
889
|
_prevctx = _localctx;
|
|
868
|
-
$this.
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
$this.
|
|
873
|
-
(
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
var tmp_9 = $this.g1q_1.z1q($this);
|
|
878
|
-
tmp_8.q2s_1 = isInterface(tmp_9, Token) ? tmp_9 : THROW_CCE();
|
|
890
|
+
$this.x1v_1 = 14;
|
|
891
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).c2x_1 = $this.b23($this.f30_1);
|
|
892
|
+
$this.x1v_1 = 15;
|
|
893
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).d2x_1 = $this.s1r_1.j1u(1);
|
|
894
|
+
_la = $this.s1r_1.d1u(1);
|
|
895
|
+
if (!(_la === $this.o2z_1 ? true : _la === $this.p2z_1)) {
|
|
896
|
+
var tmp = _localctx instanceof EqExprContext ? _localctx : THROW_CCE();
|
|
897
|
+
var tmp_0 = $this.r1r_1.k1s($this);
|
|
898
|
+
tmp.d2x_1 = isInterface(tmp_0, Token) ? tmp_0 : THROW_CCE();
|
|
879
899
|
} else {
|
|
880
|
-
if (
|
|
881
|
-
$this.
|
|
882
|
-
|
|
883
|
-
$this.
|
|
900
|
+
if ($this.s1r_1.d1u(1) === Tokens_EOF_getInstance().j2v_1) {
|
|
901
|
+
$this.z1r_1 = true;
|
|
902
|
+
}
|
|
903
|
+
$this.r1r_1.v1s($this);
|
|
904
|
+
$this.p1w();
|
|
884
905
|
}
|
|
885
906
|
|
|
886
|
-
$this.
|
|
887
|
-
|
|
888
|
-
var tmp_11 = $this.n21($this.c2v_1);
|
|
889
|
-
tmp_10.r2s_1 = isInterface(tmp_11, Token) ? tmp_11 : THROW_CCE();
|
|
907
|
+
$this.x1v_1 = 16;
|
|
908
|
+
(_localctx instanceof EqExprContext ? _localctx : THROW_CCE()).e2x_1 = $this.b23($this.e30_1);
|
|
890
909
|
break;
|
|
891
910
|
case 5:
|
|
892
911
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
893
|
-
$this.
|
|
912
|
+
$this.u1r_1 = _localctx;
|
|
894
913
|
_prevctx = _localctx;
|
|
895
|
-
$this.
|
|
896
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
897
|
-
$this.
|
|
898
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
899
|
-
_la =
|
|
900
|
-
if (!((_la & -64) === 0 ? !(new Long(1, 0)).fb(_la).hb(
|
|
901
|
-
var
|
|
902
|
-
var
|
|
903
|
-
|
|
914
|
+
$this.x1v_1 = 17;
|
|
915
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).w2v_1 = $this.g30();
|
|
916
|
+
$this.x1v_1 = 18;
|
|
917
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).x2v_1 = $this.s1r_1.j1u(1);
|
|
918
|
+
_la = $this.s1r_1.d1u(1);
|
|
919
|
+
if (!((_la & -64) === 0 ? !(new Long(1, 0)).fb(_la).hb(new Long(966, 0)).equals(new Long(0, 0)) : false)) {
|
|
920
|
+
var tmp_1 = _localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE();
|
|
921
|
+
var tmp_2 = $this.r1r_1.k1s($this);
|
|
922
|
+
tmp_1.x2v_1 = isInterface(tmp_2, Token) ? tmp_2 : THROW_CCE();
|
|
904
923
|
} else {
|
|
905
|
-
if (
|
|
906
|
-
$this.
|
|
907
|
-
|
|
908
|
-
$this.
|
|
924
|
+
if ($this.s1r_1.d1u(1) === Tokens_EOF_getInstance().j2v_1) {
|
|
925
|
+
$this.z1r_1 = true;
|
|
926
|
+
}
|
|
927
|
+
$this.r1r_1.v1s($this);
|
|
928
|
+
$this.p1w();
|
|
909
929
|
}
|
|
910
930
|
|
|
911
|
-
$this.
|
|
912
|
-
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).
|
|
931
|
+
$this.x1v_1 = 19;
|
|
932
|
+
(_localctx instanceof IntCmpExprContext ? _localctx : THROW_CCE()).y2v_1 = $this.g30();
|
|
913
933
|
break;
|
|
914
934
|
case 6:
|
|
915
935
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
916
|
-
$this.
|
|
936
|
+
$this.u1r_1 = _localctx;
|
|
917
937
|
_prevctx = _localctx;
|
|
918
|
-
$this.
|
|
919
|
-
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).
|
|
920
|
-
_la =
|
|
921
|
-
if (!(_la === $this.
|
|
922
|
-
var
|
|
923
|
-
var
|
|
924
|
-
|
|
938
|
+
$this.x1v_1 = 21;
|
|
939
|
+
(_localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE()).s2w_1 = $this.s1r_1.j1u(1);
|
|
940
|
+
_la = $this.s1r_1.d1u(1);
|
|
941
|
+
if (!(_la === $this.z2z_1 ? true : _la === $this.a30_1)) {
|
|
942
|
+
var tmp_3 = _localctx instanceof BooleanAtomContext ? _localctx : THROW_CCE();
|
|
943
|
+
var tmp_4 = $this.r1r_1.k1s($this);
|
|
944
|
+
tmp_3.s2w_1 = isInterface(tmp_4, Token) ? tmp_4 : THROW_CCE();
|
|
925
945
|
} else {
|
|
926
|
-
if (
|
|
927
|
-
$this.
|
|
928
|
-
|
|
929
|
-
$this.
|
|
946
|
+
if ($this.s1r_1.d1u(1) === Tokens_EOF_getInstance().j2v_1) {
|
|
947
|
+
$this.z1r_1 = true;
|
|
948
|
+
}
|
|
949
|
+
$this.r1r_1.v1s($this);
|
|
950
|
+
$this.p1w();
|
|
930
951
|
}
|
|
931
952
|
|
|
932
953
|
break;
|
|
933
954
|
}
|
|
934
|
-
ensureNotNull($this.
|
|
935
|
-
$this.
|
|
936
|
-
$this.
|
|
937
|
-
_alt =
|
|
938
|
-
while (
|
|
955
|
+
ensureNotNull($this.u1r_1).h1s_1 = $this.s1r_1.j1u(-1);
|
|
956
|
+
$this.x1v_1 = 32;
|
|
957
|
+
$this.r1r_1.l1s($this);
|
|
958
|
+
_alt = $this.g1x().i2j($this.s1r_1, 2, $this.u1r_1);
|
|
959
|
+
$l$loop: while (true) {
|
|
960
|
+
var tmp_5;
|
|
961
|
+
if (!(_alt === 2)) {
|
|
962
|
+
var tmp_6 = _alt;
|
|
963
|
+
tmp_5 = !(tmp_6 === 0);
|
|
964
|
+
} else {
|
|
965
|
+
tmp_5 = false;
|
|
966
|
+
}
|
|
967
|
+
if (!tmp_5) {
|
|
968
|
+
break $l$loop;
|
|
969
|
+
}
|
|
939
970
|
if (_alt === 1) {
|
|
940
|
-
|
|
941
|
-
|
|
971
|
+
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
972
|
+
if (!$this.x1r_1.x()) {
|
|
973
|
+
$this.h23();
|
|
942
974
|
}
|
|
943
975
|
_prevctx = _localctx;
|
|
944
|
-
$this.
|
|
945
|
-
$this.
|
|
946
|
-
var tmp1_subject =
|
|
976
|
+
$this.x1v_1 = 30;
|
|
977
|
+
$this.r1r_1.l1s($this);
|
|
978
|
+
var tmp1_subject = $this.g1x().i2j($this.s1r_1, 1, $this.u1r_1);
|
|
947
979
|
if (tmp1_subject === 1) {
|
|
948
980
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
949
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).
|
|
950
|
-
$this.
|
|
951
|
-
$this.
|
|
952
|
-
if (!$this.
|
|
981
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).t2y_1 = _prevctx;
|
|
982
|
+
$this.w23(_localctx, _startState, Rules_booleanExpr_getInstance().m2v_1);
|
|
983
|
+
$this.x1v_1 = 24;
|
|
984
|
+
if (!$this.b22(ensureNotNull($this.u1r_1), 6)) {
|
|
953
985
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).z2t_1 = booleanExpr($this, 7);
|
|
986
|
+
}
|
|
987
|
+
$this.x1v_1 = 25;
|
|
988
|
+
$this.b23($this.q2z_1);
|
|
989
|
+
$this.x1v_1 = 26;
|
|
990
|
+
(_localctx instanceof AndExprContext ? _localctx : THROW_CCE()).u2y_1 = booleanExpr($this, 7);
|
|
960
991
|
} else if (tmp1_subject === 2) {
|
|
961
992
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
962
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).
|
|
963
|
-
$this.
|
|
964
|
-
$this.
|
|
965
|
-
if (!$this.
|
|
993
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).i2y_1 = _prevctx;
|
|
994
|
+
$this.w23(_localctx, _startState, Rules_booleanExpr_getInstance().m2v_1);
|
|
995
|
+
$this.x1v_1 = 27;
|
|
996
|
+
if (!$this.b22(ensureNotNull($this.u1r_1), 5)) {
|
|
966
997
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).q2t_1 = booleanExpr($this, 6);
|
|
998
|
+
}
|
|
999
|
+
$this.x1v_1 = 28;
|
|
1000
|
+
$this.b23($this.r2z_1);
|
|
1001
|
+
$this.x1v_1 = 29;
|
|
1002
|
+
(_localctx instanceof OrExprContext ? _localctx : THROW_CCE()).j2y_1 = booleanExpr($this, 6);
|
|
973
1003
|
}
|
|
974
1004
|
}
|
|
975
|
-
$this.
|
|
976
|
-
$this.
|
|
977
|
-
_alt =
|
|
1005
|
+
$this.x1v_1 = 34;
|
|
1006
|
+
$this.r1r_1.l1s($this);
|
|
1007
|
+
_alt = $this.g1x().i2j($this.s1r_1, 2, $this.u1r_1);
|
|
978
1008
|
}
|
|
979
1009
|
} catch ($p) {
|
|
980
1010
|
if ($p instanceof RecognitionException) {
|
|
981
1011
|
var re = $p;
|
|
982
|
-
_localctx.
|
|
983
|
-
$this.
|
|
984
|
-
$this.
|
|
1012
|
+
_localctx.i1s_1 = re;
|
|
1013
|
+
$this.r1r_1.w1s($this, re);
|
|
1014
|
+
$this.r1r_1.n1r($this, re);
|
|
985
1015
|
} else {
|
|
986
1016
|
throw $p;
|
|
987
1017
|
}
|
|
988
1018
|
}
|
|
989
1019
|
finally {
|
|
990
|
-
$this.
|
|
1020
|
+
$this.y23(_parentctx);
|
|
991
1021
|
}
|
|
992
1022
|
return _localctx;
|
|
993
1023
|
}
|
|
994
|
-
protoOf(IntExprContext).
|
|
995
|
-
return
|
|
1024
|
+
protoOf(IntExprContext).h1y = function () {
|
|
1025
|
+
return Rules_intExpr_getInstance().m2v_1;
|
|
996
1026
|
};
|
|
997
|
-
protoOf(IntExprContext).
|
|
998
|
-
protoOf(ParserRuleContext).
|
|
1027
|
+
protoOf(IntExprContext).x2u = function (ctx) {
|
|
1028
|
+
protoOf(ParserRuleContext).d24.call(this, ctx);
|
|
999
1029
|
};
|
|
1000
1030
|
function IntExprContext() {
|
|
1001
1031
|
}
|
|
1002
|
-
protoOf(IntAtomContext).
|
|
1032
|
+
protoOf(IntAtomContext).g23 = function (listener) {
|
|
1003
1033
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1004
|
-
|
|
1034
|
+
listener.c2u(this);
|
|
1005
1035
|
}
|
|
1006
1036
|
};
|
|
1007
|
-
protoOf(IntAtomContext).
|
|
1037
|
+
protoOf(IntAtomContext).i23 = function (listener) {
|
|
1008
1038
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1009
|
-
|
|
1039
|
+
listener.d2u(this);
|
|
1010
1040
|
}
|
|
1011
1041
|
};
|
|
1012
|
-
protoOf(IntAtomContext).
|
|
1042
|
+
protoOf(IntAtomContext).g24 = function (visitor) {
|
|
1013
1043
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1014
|
-
return
|
|
1044
|
+
return visitor.u2r(this);
|
|
1015
1045
|
} else {
|
|
1016
|
-
return ensureNotNull(visitor.
|
|
1046
|
+
return ensureNotNull(visitor.p24(this));
|
|
1017
1047
|
}
|
|
1018
1048
|
};
|
|
1019
1049
|
function IntAtomContext() {
|
|
1020
|
-
this.
|
|
1050
|
+
this.q30_1 = null;
|
|
1021
1051
|
}
|
|
1022
|
-
protoOf(ParIntExprContext).
|
|
1052
|
+
protoOf(ParIntExprContext).g23 = function (listener) {
|
|
1023
1053
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1024
|
-
|
|
1054
|
+
listener.y2t(this);
|
|
1025
1055
|
}
|
|
1026
1056
|
};
|
|
1027
|
-
protoOf(ParIntExprContext).
|
|
1057
|
+
protoOf(ParIntExprContext).i23 = function (listener) {
|
|
1028
1058
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1029
|
-
|
|
1059
|
+
listener.z2t(this);
|
|
1030
1060
|
}
|
|
1031
1061
|
};
|
|
1032
|
-
protoOf(ParIntExprContext).
|
|
1062
|
+
protoOf(ParIntExprContext).g24 = function (visitor) {
|
|
1033
1063
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1034
|
-
return
|
|
1064
|
+
return visitor.s2r(this);
|
|
1035
1065
|
} else {
|
|
1036
|
-
return ensureNotNull(visitor.
|
|
1066
|
+
return ensureNotNull(visitor.p24(this));
|
|
1037
1067
|
}
|
|
1038
1068
|
};
|
|
1039
1069
|
function ParIntExprContext() {
|
|
1040
|
-
this.
|
|
1070
|
+
this.a31_1 = null;
|
|
1041
1071
|
}
|
|
1042
|
-
protoOf(ValuesFuncContext).
|
|
1072
|
+
protoOf(ValuesFuncContext).g23 = function (listener) {
|
|
1043
1073
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1044
|
-
|
|
1074
|
+
listener.a2u(this);
|
|
1045
1075
|
}
|
|
1046
1076
|
};
|
|
1047
|
-
protoOf(ValuesFuncContext).
|
|
1077
|
+
protoOf(ValuesFuncContext).i23 = function (listener) {
|
|
1048
1078
|
if (isInterface(listener, StateExpressionListener)) {
|
|
1049
|
-
|
|
1079
|
+
listener.b2u(this);
|
|
1050
1080
|
}
|
|
1051
1081
|
};
|
|
1052
|
-
protoOf(ValuesFuncContext).
|
|
1082
|
+
protoOf(ValuesFuncContext).g24 = function (visitor) {
|
|
1053
1083
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
1054
|
-
return
|
|
1084
|
+
return visitor.t2r(this);
|
|
1055
1085
|
} else {
|
|
1056
|
-
return ensureNotNull(visitor.
|
|
1086
|
+
return ensureNotNull(visitor.p24(this));
|
|
1057
1087
|
}
|
|
1058
1088
|
};
|
|
1059
1089
|
function ValuesFuncContext() {
|
|
1060
|
-
this.
|
|
1090
|
+
this.k31_1 = null;
|
|
1061
1091
|
}
|
|
1062
1092
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
1063
1093
|
if (predIndex === 0)
|
|
1064
|
-
return $this.
|
|
1094
|
+
return $this.b22(ensureNotNull($this.u1r_1), 6);
|
|
1065
1095
|
else if (predIndex === 1)
|
|
1066
|
-
return $this.
|
|
1096
|
+
return $this.b22(ensureNotNull($this.u1r_1), 5);
|
|
1067
1097
|
return true;
|
|
1068
1098
|
}
|
|
1069
1099
|
function Tokens_EOF_getInstance() {
|
|
@@ -1142,125 +1172,125 @@
|
|
|
1142
1172
|
Tokens_initEntries();
|
|
1143
1173
|
return Tokens_VAR_instance;
|
|
1144
1174
|
}
|
|
1145
|
-
function
|
|
1175
|
+
function Rules_booleanExpr_getInstance() {
|
|
1146
1176
|
Rules_initEntries_0();
|
|
1147
|
-
return
|
|
1177
|
+
return Rules_booleanExpr_instance;
|
|
1148
1178
|
}
|
|
1149
|
-
function
|
|
1179
|
+
function Rules_intExpr_getInstance() {
|
|
1150
1180
|
Rules_initEntries_0();
|
|
1151
|
-
return
|
|
1181
|
+
return Rules_intExpr_instance;
|
|
1152
1182
|
}
|
|
1153
1183
|
function StateExpressionParser(input) {
|
|
1154
|
-
|
|
1184
|
+
Companion_getInstance_0();
|
|
1155
1185
|
Parser.call(this, input);
|
|
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
|
-
this.
|
|
1174
|
-
this.
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
}
|
|
1182
|
-
protoOf(StateExpressionParser).
|
|
1183
|
-
return
|
|
1184
|
-
};
|
|
1185
|
-
protoOf(StateExpressionParser).
|
|
1186
|
+
this.h2z_1 = new ParserATNSimulator(this, Companion_getInstance_0().z2u_1, Companion_getInstance_0().a2v_1, Companion_getInstance_0().b2v_1);
|
|
1187
|
+
this.i2z_1 = 'StateExpression.g4';
|
|
1188
|
+
this.j2z_1 = Companion_getInstance_0().g2v_1;
|
|
1189
|
+
this.k2z_1 = Companion_getInstance_0().c2v_1;
|
|
1190
|
+
this.l2z_1 = Companion_getInstance_0().z2u_1;
|
|
1191
|
+
this.m2z_1 = Companion_getInstance_0().f2v_1;
|
|
1192
|
+
this.n2z_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
1193
|
+
this.o2z_1 = Tokens_EQ_getInstance().j2v_1;
|
|
1194
|
+
this.p2z_1 = Tokens_NEQ_getInstance().j2v_1;
|
|
1195
|
+
this.q2z_1 = Tokens_AND_getInstance().j2v_1;
|
|
1196
|
+
this.r2z_1 = Tokens_OR_getInstance().j2v_1;
|
|
1197
|
+
this.s2z_1 = Tokens_NOT_getInstance().j2v_1;
|
|
1198
|
+
this.t2z_1 = Tokens_GTE_getInstance().j2v_1;
|
|
1199
|
+
this.u2z_1 = Tokens_GT_getInstance().j2v_1;
|
|
1200
|
+
this.v2z_1 = Tokens_LTE_getInstance().j2v_1;
|
|
1201
|
+
this.w2z_1 = Tokens_LT_getInstance().j2v_1;
|
|
1202
|
+
this.x2z_1 = Tokens_OPAR_getInstance().j2v_1;
|
|
1203
|
+
this.y2z_1 = Tokens_CPAR_getInstance().j2v_1;
|
|
1204
|
+
this.z2z_1 = Tokens_TRUE_getInstance().j2v_1;
|
|
1205
|
+
this.a30_1 = Tokens_FALSE_getInstance().j2v_1;
|
|
1206
|
+
this.b30_1 = Tokens_FUNC_ISSET_getInstance().j2v_1;
|
|
1207
|
+
this.c30_1 = Tokens_FUNC_VALUES_getInstance().j2v_1;
|
|
1208
|
+
this.d30_1 = Tokens_INT_getInstance().j2v_1;
|
|
1209
|
+
this.e30_1 = Tokens_STRING_getInstance().j2v_1;
|
|
1210
|
+
this.f30_1 = Tokens_VAR_getInstance().j2v_1;
|
|
1211
|
+
}
|
|
1212
|
+
protoOf(StateExpressionParser).g1x = function () {
|
|
1213
|
+
return this.h2z_1;
|
|
1214
|
+
};
|
|
1215
|
+
protoOf(StateExpressionParser).b21 = function () {
|
|
1216
|
+
return this.j2z_1;
|
|
1217
|
+
};
|
|
1218
|
+
protoOf(StateExpressionParser).b1y = function () {
|
|
1219
|
+
return this.k2z_1;
|
|
1220
|
+
};
|
|
1221
|
+
protoOf(StateExpressionParser).h1x = function () {
|
|
1222
|
+
return this.l2z_1;
|
|
1223
|
+
};
|
|
1224
|
+
protoOf(StateExpressionParser).y1v = function () {
|
|
1225
|
+
return this.m2z_1;
|
|
1226
|
+
};
|
|
1227
|
+
protoOf(StateExpressionParser).l31 = function () {
|
|
1186
1228
|
return booleanExpr(this, 0);
|
|
1187
1229
|
};
|
|
1188
|
-
protoOf(StateExpressionParser).
|
|
1189
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
1190
|
-
this.
|
|
1230
|
+
protoOf(StateExpressionParser).g30 = function () {
|
|
1231
|
+
var _localctx = IntExprContext_init_$Create$(this.u1r_1, this.x1v_1);
|
|
1232
|
+
this.q23(_localctx, 2, Rules_intExpr_getInstance().m2v_1);
|
|
1191
1233
|
try {
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
var tmp0_subject =
|
|
1195
|
-
if (tmp0_subject === this.
|
|
1234
|
+
this.x1v_1 = 43;
|
|
1235
|
+
this.r1r_1.l1s(this);
|
|
1236
|
+
var tmp0_subject = this.s1r_1.d1u(1);
|
|
1237
|
+
if (tmp0_subject === this.x2z_1) {
|
|
1196
1238
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1197
|
-
this.
|
|
1198
|
-
this.
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
this.
|
|
1203
|
-
(
|
|
1204
|
-
|
|
1205
|
-
var tmp_0 = this.n21(this.w2u_1);
|
|
1206
|
-
if (!isInterface(tmp_0, Token))
|
|
1207
|
-
THROW_CCE();
|
|
1208
|
-
} else if (tmp0_subject === this.a2v_1) {
|
|
1239
|
+
this.s23(_localctx, 1);
|
|
1240
|
+
this.x1v_1 = 35;
|
|
1241
|
+
this.b23(this.x2z_1);
|
|
1242
|
+
this.x1v_1 = 36;
|
|
1243
|
+
(_localctx instanceof ParIntExprContext ? _localctx : THROW_CCE()).a31_1 = this.g30();
|
|
1244
|
+
this.x1v_1 = 37;
|
|
1245
|
+
this.b23(this.y2z_1);
|
|
1246
|
+
} else if (tmp0_subject === this.c30_1) {
|
|
1209
1247
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1210
|
-
this.
|
|
1211
|
-
this.
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
this.
|
|
1216
|
-
|
|
1217
|
-
|
|
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);
|
|
1221
|
-
if (!isInterface(tmp_4, Token))
|
|
1222
|
-
THROW_CCE();
|
|
1223
|
-
} else if (tmp0_subject === this.b2v_1) {
|
|
1248
|
+
this.s23(_localctx, 2);
|
|
1249
|
+
this.x1v_1 = 39;
|
|
1250
|
+
this.b23(this.c30_1);
|
|
1251
|
+
this.x1v_1 = 40;
|
|
1252
|
+
(_localctx instanceof ValuesFuncContext ? _localctx : THROW_CCE()).k31_1 = this.b23(this.f30_1);
|
|
1253
|
+
this.x1v_1 = 41;
|
|
1254
|
+
this.b23(this.y2z_1);
|
|
1255
|
+
} else if (tmp0_subject === this.d30_1) {
|
|
1224
1256
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1225
|
-
this.
|
|
1226
|
-
this.
|
|
1227
|
-
|
|
1228
|
-
var tmp_6 = this.n21(this.b2v_1);
|
|
1229
|
-
tmp_5.m2v_1 = isInterface(tmp_6, Token) ? tmp_6 : THROW_CCE();
|
|
1257
|
+
this.s23(_localctx, 3);
|
|
1258
|
+
this.x1v_1 = 42;
|
|
1259
|
+
(_localctx instanceof IntAtomContext ? _localctx : THROW_CCE()).q30_1 = this.b23(this.d30_1);
|
|
1230
1260
|
} else
|
|
1231
1261
|
throw new NoViableAltException(this);
|
|
1232
1262
|
} catch ($p) {
|
|
1233
1263
|
if ($p instanceof RecognitionException) {
|
|
1234
1264
|
var re = $p;
|
|
1235
|
-
_localctx.
|
|
1236
|
-
this.
|
|
1237
|
-
this.
|
|
1265
|
+
_localctx.i1s_1 = re;
|
|
1266
|
+
this.r1r_1.w1s(this, re);
|
|
1267
|
+
this.r1r_1.n1r(this, re);
|
|
1238
1268
|
} else {
|
|
1239
1269
|
throw $p;
|
|
1240
1270
|
}
|
|
1241
1271
|
}
|
|
1242
1272
|
finally {
|
|
1243
|
-
this.
|
|
1273
|
+
this.r23();
|
|
1244
1274
|
}
|
|
1245
1275
|
return _localctx;
|
|
1246
1276
|
};
|
|
1247
|
-
protoOf(StateExpressionParser).
|
|
1277
|
+
protoOf(StateExpressionParser).a22 = function (_localctx, ruleIndex, predIndex) {
|
|
1248
1278
|
if (ruleIndex === 0) {
|
|
1249
|
-
return booleanExpr_sempred(this, _localctx instanceof BooleanExprContext ? _localctx : THROW_CCE(), predIndex);
|
|
1279
|
+
return booleanExpr_sempred(this, (_localctx == null ? true : _localctx instanceof BooleanExprContext) ? _localctx : THROW_CCE(), predIndex);
|
|
1250
1280
|
}
|
|
1251
1281
|
return true;
|
|
1252
1282
|
};
|
|
1253
1283
|
function StateExpressionVisitor() {
|
|
1254
1284
|
}
|
|
1255
1285
|
function Expression(expr) {
|
|
1256
|
-
this.
|
|
1286
|
+
this.m31_1 = expr;
|
|
1257
1287
|
}
|
|
1258
|
-
protoOf(Expression).
|
|
1259
|
-
return !(this.
|
|
1288
|
+
protoOf(Expression).n31 = function () {
|
|
1289
|
+
return !(this.m31_1 == null);
|
|
1260
1290
|
};
|
|
1261
|
-
protoOf(Expression).
|
|
1291
|
+
protoOf(Expression).o31 = function (state) {
|
|
1262
1292
|
// Inline function 'kotlin.checkNotNull' call
|
|
1263
|
-
var value = this.
|
|
1293
|
+
var value = this.m31_1;
|
|
1264
1294
|
// Inline function 'kotlin.contracts.contract' call
|
|
1265
1295
|
var tmp$ret$1;
|
|
1266
1296
|
$l$block: {
|
|
@@ -1275,11 +1305,11 @@
|
|
|
1275
1305
|
break $l$block;
|
|
1276
1306
|
}
|
|
1277
1307
|
}
|
|
1278
|
-
return tmp$ret$1.
|
|
1308
|
+
return tmp$ret$1.g24((new StateExpressionEvaluator(state)).q31_1);
|
|
1279
1309
|
};
|
|
1280
|
-
protoOf(Expression).
|
|
1310
|
+
protoOf(Expression).s31 = function () {
|
|
1281
1311
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1282
|
-
var tmp0_safe_receiver = this.
|
|
1312
|
+
var tmp0_safe_receiver = this.m31_1;
|
|
1283
1313
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1284
1314
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1285
1315
|
return tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -1293,20 +1323,27 @@
|
|
|
1293
1323
|
} else {
|
|
1294
1324
|
var tmp_0;
|
|
1295
1325
|
try {
|
|
1296
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1326
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().h1r(_this__u8e3s4)));
|
|
1297
1327
|
var parser = new StateExpressionParser(tokens);
|
|
1298
|
-
parser.
|
|
1299
|
-
var expr = parser.
|
|
1300
|
-
tmp_0 = tokens.b1(tokens.f1s()).s1s() === Companion_getInstance().w1s_1 ? expr : null;
|
|
1301
|
-
} catch ($p) {
|
|
1328
|
+
parser.r1r_1 = new BailErrorStrategy();
|
|
1329
|
+
var expr = parser.l31();
|
|
1302
1330
|
var tmp_1;
|
|
1331
|
+
var tmp_2 = tokens.b1(tokens.v1t()).i1u();
|
|
1332
|
+
if (tmp_2 === -1) {
|
|
1333
|
+
tmp_1 = expr;
|
|
1334
|
+
} else {
|
|
1335
|
+
tmp_1 = null;
|
|
1336
|
+
}
|
|
1337
|
+
tmp_0 = tmp_1;
|
|
1338
|
+
} catch ($p) {
|
|
1339
|
+
var tmp_3;
|
|
1303
1340
|
if ($p instanceof ParseCancellationException) {
|
|
1304
1341
|
var e = $p;
|
|
1305
|
-
|
|
1342
|
+
tmp_3 = null;
|
|
1306
1343
|
} else {
|
|
1307
1344
|
throw $p;
|
|
1308
1345
|
}
|
|
1309
|
-
tmp_0 =
|
|
1346
|
+
tmp_0 = tmp_3;
|
|
1310
1347
|
}
|
|
1311
1348
|
tmp = new Expression(tmp_0);
|
|
1312
1349
|
}
|
|
@@ -1315,7 +1352,7 @@
|
|
|
1315
1352
|
function vars(_this__u8e3s4) {
|
|
1316
1353
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1317
1354
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1318
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1355
|
+
var tmp0_elvis_lhs = _this__u8e3s4.f1s_1;
|
|
1319
1356
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1320
1357
|
var this_0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1321
1358
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -1325,7 +1362,7 @@
|
|
|
1325
1362
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>' call
|
|
1326
1363
|
var tmp;
|
|
1327
1364
|
if (isInterface(element, TerminalNode)) {
|
|
1328
|
-
var tmp1_safe_receiver = element.
|
|
1365
|
+
var tmp1_safe_receiver = element.c2r();
|
|
1329
1366
|
var tmp_0;
|
|
1330
1367
|
if (tmp1_safe_receiver == null) {
|
|
1331
1368
|
tmp_0 = null;
|
|
@@ -1334,7 +1371,7 @@
|
|
|
1334
1371
|
// Inline function 'kotlin.contracts.contract' call
|
|
1335
1372
|
var tmp_1;
|
|
1336
1373
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1337
|
-
if (tmp1_safe_receiver.
|
|
1374
|
+
if (tmp1_safe_receiver.i1u() === Tokens_VAR_getInstance().j2v_1) {
|
|
1338
1375
|
tmp_1 = tmp1_safe_receiver;
|
|
1339
1376
|
} else {
|
|
1340
1377
|
tmp_1 = null;
|
|
@@ -1342,7 +1379,7 @@
|
|
|
1342
1379
|
tmp_0 = tmp_1;
|
|
1343
1380
|
}
|
|
1344
1381
|
var tmp2_safe_receiver = tmp_0;
|
|
1345
|
-
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1382
|
+
tmp = listOfNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r1u());
|
|
1346
1383
|
} else {
|
|
1347
1384
|
if (element instanceof ParserRuleContext) {
|
|
1348
1385
|
tmp = vars(element);
|
|
@@ -1356,96 +1393,96 @@
|
|
|
1356
1393
|
return destination;
|
|
1357
1394
|
}
|
|
1358
1395
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1359
|
-
this.
|
|
1396
|
+
this.t31_1 = this$0;
|
|
1360
1397
|
StateExpressionBaseVisitor.call(this);
|
|
1361
1398
|
}
|
|
1362
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1363
|
-
return ensureNotNull(ctx.
|
|
1399
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).l2r = function (ctx) {
|
|
1400
|
+
return ensureNotNull(ensureNotNull(ctx.i2w_1).g24(this));
|
|
1364
1401
|
};
|
|
1365
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1366
|
-
return !ensureNotNull(ctx.
|
|
1402
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).o2r = function (ctx) {
|
|
1403
|
+
return !ensureNotNull(ensureNotNull(ctx.o2x_1).g24(this));
|
|
1367
1404
|
};
|
|
1368
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1369
|
-
return ensureNotNull(ctx.
|
|
1405
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).q2r = function (ctx) {
|
|
1406
|
+
return ensureNotNull(ensureNotNull(ctx.i2y_1).g24(this)) ? true : ensureNotNull(ensureNotNull(ctx.j2y_1).g24(this));
|
|
1370
1407
|
};
|
|
1371
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1372
|
-
return ensureNotNull(ctx.
|
|
1408
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).r2r = function (ctx) {
|
|
1409
|
+
return ensureNotNull(ensureNotNull(ctx.t2y_1).g24(this)) ? ensureNotNull(ensureNotNull(ctx.u2y_1).g24(this)) : false;
|
|
1373
1410
|
};
|
|
1374
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1375
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1411
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).m2r = function (ctx) {
|
|
1412
|
+
var tmp0_subject = ensureNotNull(ctx.s2w_1).i1u();
|
|
1376
1413
|
var tmp;
|
|
1377
|
-
if (tmp0_subject === Tokens_TRUE_getInstance().
|
|
1414
|
+
if (tmp0_subject === Tokens_TRUE_getInstance().j2v_1) {
|
|
1378
1415
|
tmp = true;
|
|
1379
|
-
} else if (tmp0_subject === Tokens_FALSE_getInstance().
|
|
1416
|
+
} else if (tmp0_subject === Tokens_FALSE_getInstance().j2v_1) {
|
|
1380
1417
|
tmp = false;
|
|
1381
1418
|
} else {
|
|
1382
1419
|
throw IllegalStateException_init_$Create$_0();
|
|
1383
1420
|
}
|
|
1384
1421
|
return tmp;
|
|
1385
1422
|
};
|
|
1386
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1387
|
-
var varName = ensureNotNull(ensureNotNull(ctx.
|
|
1423
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).n2r = function (ctx) {
|
|
1424
|
+
var varName = ensureNotNull(ensureNotNull(ctx.c2x_1).r1u());
|
|
1388
1425
|
// Inline function 'kotlin.run' call
|
|
1389
1426
|
// Inline function 'kotlin.contracts.contract' call
|
|
1390
1427
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1391
|
-
var $this$run = ensureNotNull(ensureNotNull(ctx.
|
|
1428
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.e2x_1).r1u());
|
|
1392
1429
|
// Inline function 'kotlin.text.substring' call
|
|
1393
1430
|
var endIndex = $this$run.length - 1 | 0;
|
|
1394
1431
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1395
1432
|
var value = $this$run.substring(1, endIndex);
|
|
1396
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1433
|
+
var tmp0_subject = ensureNotNull(ctx.d2x_1).i1u();
|
|
1397
1434
|
var tmp;
|
|
1398
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1399
|
-
tmp = this.
|
|
1400
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1401
|
-
tmp = !this.
|
|
1435
|
+
if (tmp0_subject === Tokens_EQ_getInstance().j2v_1) {
|
|
1436
|
+
tmp = this.t31_1.p31_1.x1j(varName).v(value);
|
|
1437
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().j2v_1) {
|
|
1438
|
+
tmp = !this.t31_1.p31_1.x1j(varName).v(value);
|
|
1402
1439
|
} else {
|
|
1403
1440
|
throw IllegalStateException_init_$Create$_0();
|
|
1404
1441
|
}
|
|
1405
1442
|
return tmp;
|
|
1406
1443
|
};
|
|
1407
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1408
|
-
var left = ensureNotNull(ctx.
|
|
1409
|
-
var right = ensureNotNull(ctx.
|
|
1410
|
-
var tmp0_subject = ensureNotNull(ctx.
|
|
1444
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).k2r = function (ctx) {
|
|
1445
|
+
var left = ensureNotNull(ensureNotNull(ctx.w2v_1).g24(this.t31_1.r31_1));
|
|
1446
|
+
var right = ensureNotNull(ensureNotNull(ctx.y2v_1).g24(this.t31_1.r31_1));
|
|
1447
|
+
var tmp0_subject = ensureNotNull(ctx.x2v_1).i1u();
|
|
1411
1448
|
var tmp;
|
|
1412
|
-
if (tmp0_subject === Tokens_EQ_getInstance().
|
|
1449
|
+
if (tmp0_subject === Tokens_EQ_getInstance().j2v_1) {
|
|
1413
1450
|
tmp = left === right;
|
|
1414
|
-
} else if (tmp0_subject === Tokens_NEQ_getInstance().
|
|
1451
|
+
} else if (tmp0_subject === Tokens_NEQ_getInstance().j2v_1) {
|
|
1415
1452
|
tmp = !(left === right);
|
|
1416
|
-
} else if (tmp0_subject === Tokens_GT_getInstance().
|
|
1453
|
+
} else if (tmp0_subject === Tokens_GT_getInstance().j2v_1) {
|
|
1417
1454
|
tmp = left > right;
|
|
1418
|
-
} else if (tmp0_subject === Tokens_GTE_getInstance().
|
|
1455
|
+
} else if (tmp0_subject === Tokens_GTE_getInstance().j2v_1) {
|
|
1419
1456
|
tmp = left >= right;
|
|
1420
|
-
} else if (tmp0_subject === Tokens_LT_getInstance().
|
|
1457
|
+
} else if (tmp0_subject === Tokens_LT_getInstance().j2v_1) {
|
|
1421
1458
|
tmp = left < right;
|
|
1422
|
-
} else if (tmp0_subject === Tokens_LTE_getInstance().
|
|
1459
|
+
} else if (tmp0_subject === Tokens_LTE_getInstance().j2v_1) {
|
|
1423
1460
|
tmp = left <= right;
|
|
1424
1461
|
} else {
|
|
1425
1462
|
throw IllegalStateException_init_$Create$_0();
|
|
1426
1463
|
}
|
|
1427
1464
|
return tmp;
|
|
1428
1465
|
};
|
|
1429
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1466
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).p2r = function (ctx) {
|
|
1430
1467
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1431
|
-
return !this.
|
|
1468
|
+
return !this.t31_1.p31_1.x1j(ensureNotNull(ensureNotNull(ctx.y2x_1).r1u())).x();
|
|
1432
1469
|
};
|
|
1433
1470
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1434
|
-
this.
|
|
1471
|
+
this.u31_1 = this$0;
|
|
1435
1472
|
StateExpressionBaseVisitor.call(this);
|
|
1436
1473
|
}
|
|
1437
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1438
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.
|
|
1474
|
+
protoOf(StateExpressionEvaluator$intExpr$1).u2r = function (ctx) {
|
|
1475
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.q30_1).r1u()));
|
|
1439
1476
|
};
|
|
1440
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1441
|
-
return this.
|
|
1477
|
+
protoOf(StateExpressionEvaluator$intExpr$1).t2r = function (ctx) {
|
|
1478
|
+
return this.u31_1.p31_1.x1j(ensureNotNull(ensureNotNull(ctx.k31_1).r1u())).l();
|
|
1442
1479
|
};
|
|
1443
1480
|
function StateExpressionEvaluator(state) {
|
|
1444
|
-
this.
|
|
1481
|
+
this.p31_1 = state;
|
|
1445
1482
|
var tmp = this;
|
|
1446
|
-
tmp.
|
|
1483
|
+
tmp.q31_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1447
1484
|
var tmp_0 = this;
|
|
1448
|
-
tmp_0.
|
|
1485
|
+
tmp_0.r31_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1449
1486
|
}
|
|
1450
1487
|
//region block: exports
|
|
1451
1488
|
_.$_$ = _.$_$ || {};
|