@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1552 → 1.0.2-SNAPSHOT.1554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/antlr-kotlin-antlr-kotlin-runtime.js +107 -120
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/fluid-locale.js +125 -125
- package/kotlin-kotlin-stdlib.js +5 -5
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +197 -197
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +1846 -1846
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
+
var numberToChar = kotlin_kotlin.$_$.o6;
|
|
19
20
|
var minOrNull = kotlin_kotlin.$_$.m4;
|
|
20
21
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
21
22
|
var protoOf = kotlin_kotlin.$_$.t6;
|
|
@@ -25,7 +26,6 @@
|
|
|
25
26
|
var println = kotlin_kotlin.$_$.r5;
|
|
26
27
|
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
27
28
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
28
|
-
var numberToChar = kotlin_kotlin.$_$.o6;
|
|
29
29
|
var toHexString = kotlin_kotlin.$_$.n8;
|
|
30
30
|
var Builder = kotlin_kotlin.$_$.n7;
|
|
31
31
|
var Pair = kotlin_kotlin.$_$.g9;
|
|
@@ -265,7 +265,8 @@
|
|
|
265
265
|
setMetadataFor(Companion_29, 'Companion', objectMeta);
|
|
266
266
|
setMetadataFor(IntervalSet, 'IntervalSet', classMeta, VOID, VOID, IntervalSet_init_$Create$);
|
|
267
267
|
setMetadataFor(MurmurHash, 'MurmurHash', objectMeta);
|
|
268
|
-
setMetadataFor(
|
|
268
|
+
setMetadataFor(Companion_30, 'Companion', objectMeta);
|
|
269
|
+
setMetadataFor(ObjectEqualityComparator, 'ObjectEqualityComparator', classMeta, AbstractEqualityComparator, VOID, ObjectEqualityComparator);
|
|
269
270
|
setMetadataFor(ParseCancellationException, 'ParseCancellationException', classMeta, RuntimeException, VOID, ParseCancellationException_init_$Create$);
|
|
270
271
|
setMetadataFor(Utils, 'Utils', objectMeta);
|
|
271
272
|
setMetadataFor(AbstractParseTreeVisitor, 'AbstractParseTreeVisitor', classMeta);
|
|
@@ -284,18 +285,18 @@
|
|
|
284
285
|
setMetadataFor(IdentityValuesView$iterator$1, VOID, classMeta);
|
|
285
286
|
setMetadataFor(IdentityValuesView, 'IdentityValuesView', classMeta, AbstractMutableCollection);
|
|
286
287
|
//endregion
|
|
287
|
-
function
|
|
288
|
-
return
|
|
288
|
+
function isBmpCodePoint(codePoint) {
|
|
289
|
+
return (codePoint >>> 16 | 0) === 0;
|
|
290
|
+
}
|
|
291
|
+
function isValidCodePoint(codePoint) {
|
|
292
|
+
return 0 <= codePoint ? codePoint <= 1114111 : false;
|
|
289
293
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
return HIGH_SURROGATE_ENCODE_OFFSET;
|
|
294
|
+
function highSurrogate(codePoint) {
|
|
295
|
+
return numberToChar((codePoint >>> 10 | 0) + 55232 | 0);
|
|
293
296
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
return MIN_LOW_SURROGATE;
|
|
297
|
+
function lowSurrogate(codePoint) {
|
|
298
|
+
return numberToChar((codePoint & 1023) + 56320 | 0);
|
|
297
299
|
}
|
|
298
|
-
var MIN_LOW_SURROGATE;
|
|
299
300
|
function Collections() {
|
|
300
301
|
}
|
|
301
302
|
protoOf(Collections).u1s = function (collection) {
|
|
@@ -358,21 +359,13 @@
|
|
|
358
359
|
return System_instance;
|
|
359
360
|
}
|
|
360
361
|
function appendCodePoint(_this__u8e3s4, codePoint) {
|
|
361
|
-
|
|
362
|
-
if ((codePoint >>> 16 | 0) === 0) {
|
|
362
|
+
if (isBmpCodePoint(codePoint)) {
|
|
363
363
|
_this__u8e3s4.n5(numberToChar(codePoint));
|
|
364
|
+
} else if (isValidCodePoint(codePoint)) {
|
|
365
|
+
_this__u8e3s4.n5(highSurrogate(codePoint));
|
|
366
|
+
_this__u8e3s4.n5(lowSurrogate(codePoint));
|
|
364
367
|
} else {
|
|
365
|
-
|
|
366
|
-
if (0 <= codePoint ? codePoint <= get_MAX_CODE_POINT_() : false) {
|
|
367
|
-
// Inline function 'com.strumenta.antlrkotlin.runtime.highSurrogate' call
|
|
368
|
-
var tmp$ret$2 = numberToChar((codePoint >>> 10 | 0) + get_HIGH_SURROGATE_ENCODE_OFFSET() | 0);
|
|
369
|
-
_this__u8e3s4.n5(tmp$ret$2);
|
|
370
|
-
// Inline function 'com.strumenta.antlrkotlin.runtime.lowSurrogate' call
|
|
371
|
-
var tmp$ret$3 = numberToChar((codePoint & 1023) + get_MIN_LOW_SURROGATE() | 0);
|
|
372
|
-
_this__u8e3s4.n5(tmp$ret$3);
|
|
373
|
-
} else {
|
|
374
|
-
throw IllegalArgumentException_init_$Create$('Not a valid Unicode code point: ' + toHex(codePoint));
|
|
375
|
-
}
|
|
368
|
+
throw IllegalArgumentException_init_$Create$('Not a valid Unicode code point: ' + toHex(codePoint));
|
|
376
369
|
}
|
|
377
370
|
return _this__u8e3s4;
|
|
378
371
|
}
|
|
@@ -4127,7 +4120,7 @@
|
|
|
4127
4120
|
if (!(this.v2h_1 === other.v2h_1)) {
|
|
4128
4121
|
return false;
|
|
4129
4122
|
}
|
|
4130
|
-
if (!
|
|
4123
|
+
if (!Companion_getInstance_30().y2h_1.q29(this.w2h_1, other.w2h_1)) {
|
|
4131
4124
|
return false;
|
|
4132
4125
|
}
|
|
4133
4126
|
return protoOf(ATNConfig).f28.call(this, other);
|
|
@@ -5045,7 +5038,7 @@
|
|
|
5045
5038
|
return '~' + protoOf(SetTransition).toString.call(this);
|
|
5046
5039
|
};
|
|
5047
5040
|
function LexerConfigHashSet() {
|
|
5048
|
-
AbstractConfigHashSet.call(this,
|
|
5041
|
+
AbstractConfigHashSet.call(this, Companion_getInstance_30().y2h_1);
|
|
5049
5042
|
}
|
|
5050
5043
|
function OrderedATNConfigSet() {
|
|
5051
5044
|
ATNConfigSet.call(this);
|
|
@@ -7760,7 +7753,7 @@
|
|
|
7760
7753
|
this.s2r_1 = true;
|
|
7761
7754
|
};
|
|
7762
7755
|
function Array2DHashSet(comparator, initialCapacity, initialBucketCapacity) {
|
|
7763
|
-
comparator = comparator === VOID ?
|
|
7756
|
+
comparator = comparator === VOID ? Companion_getInstance_30().y2h_1 : comparator;
|
|
7764
7757
|
initialCapacity = initialCapacity === VOID ? 16 : initialCapacity;
|
|
7765
7758
|
initialBucketCapacity = initialBucketCapacity === VOID ? 8 : initialBucketCapacity;
|
|
7766
7759
|
this.w28_1 = comparator;
|
|
@@ -8197,7 +8190,7 @@
|
|
|
8197
8190
|
return true;
|
|
8198
8191
|
};
|
|
8199
8192
|
function FlexibleHashMap(comparator, initialCapacity, initialBucketCapacity) {
|
|
8200
|
-
comparator = comparator === VOID ?
|
|
8193
|
+
comparator = comparator === VOID ? Companion_getInstance_30().y2h_1 : comparator;
|
|
8201
8194
|
initialCapacity = initialCapacity === VOID ? 16 : initialCapacity;
|
|
8202
8195
|
initialBucketCapacity = initialBucketCapacity === VOID ? 8 : initialBucketCapacity;
|
|
8203
8196
|
this.g2o_1 = comparator;
|
|
@@ -9124,30 +9117,27 @@
|
|
|
9124
9117
|
function MurmurHash_getInstance() {
|
|
9125
9118
|
return MurmurHash_instance;
|
|
9126
9119
|
}
|
|
9120
|
+
function Companion_30() {
|
|
9121
|
+
Companion_instance_30 = this;
|
|
9122
|
+
this.y2h_1 = new ObjectEqualityComparator();
|
|
9123
|
+
}
|
|
9124
|
+
var Companion_instance_30;
|
|
9125
|
+
function Companion_getInstance_30() {
|
|
9126
|
+
if (Companion_instance_30 == null)
|
|
9127
|
+
new Companion_30();
|
|
9128
|
+
return Companion_instance_30;
|
|
9129
|
+
}
|
|
9127
9130
|
function ObjectEqualityComparator() {
|
|
9128
|
-
|
|
9131
|
+
Companion_getInstance_30();
|
|
9129
9132
|
AbstractEqualityComparator.call(this);
|
|
9130
9133
|
}
|
|
9131
|
-
protoOf(ObjectEqualityComparator).
|
|
9134
|
+
protoOf(ObjectEqualityComparator).o29 = function (obj) {
|
|
9132
9135
|
var tmp1_elvis_lhs = obj == null ? null : hashCode(obj);
|
|
9133
9136
|
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
9134
9137
|
};
|
|
9135
|
-
protoOf(ObjectEqualityComparator).o29 = function (obj) {
|
|
9136
|
-
return this.l2s((obj == null ? true : !(obj == null)) ? obj : THROW_CCE());
|
|
9137
|
-
};
|
|
9138
|
-
protoOf(ObjectEqualityComparator).y2h = function (a, b) {
|
|
9139
|
-
return (a == null ? b == null : false) ? true : equals(a, b);
|
|
9140
|
-
};
|
|
9141
9138
|
protoOf(ObjectEqualityComparator).q29 = function (a, b) {
|
|
9142
|
-
|
|
9143
|
-
return this.y2h(tmp, (b == null ? true : !(b == null)) ? b : THROW_CCE());
|
|
9139
|
+
return (a == null ? b == null : false) ? true : equals(a, b);
|
|
9144
9140
|
};
|
|
9145
|
-
var ObjectEqualityComparator_instance;
|
|
9146
|
-
function ObjectEqualityComparator_getInstance() {
|
|
9147
|
-
if (ObjectEqualityComparator_instance == null)
|
|
9148
|
-
new ObjectEqualityComparator();
|
|
9149
|
-
return ObjectEqualityComparator_instance;
|
|
9150
|
-
}
|
|
9151
9141
|
function ParseCancellationException_init_$Init$($this) {
|
|
9152
9142
|
RuntimeException_init_$Init$_1($this);
|
|
9153
9143
|
ParseCancellationException.call($this);
|
|
@@ -9202,14 +9192,14 @@
|
|
|
9202
9192
|
function AbstractParseTreeVisitor() {
|
|
9203
9193
|
}
|
|
9204
9194
|
protoOf(AbstractParseTreeVisitor).j26 = function (node) {
|
|
9205
|
-
var result = this.
|
|
9195
|
+
var result = this.l2s();
|
|
9206
9196
|
var n = node.w25();
|
|
9207
9197
|
var inductionVariable = 0;
|
|
9208
9198
|
if (inductionVariable < n)
|
|
9209
9199
|
$l$loop: do {
|
|
9210
9200
|
var i = inductionVariable;
|
|
9211
9201
|
inductionVariable = inductionVariable + 1 | 0;
|
|
9212
|
-
if (!this.
|
|
9202
|
+
if (!this.m2s(node, result)) {
|
|
9213
9203
|
break $l$loop;
|
|
9214
9204
|
}
|
|
9215
9205
|
var tmp1_elvis_lhs = node.z25(i);
|
|
@@ -9222,21 +9212,21 @@
|
|
|
9222
9212
|
}
|
|
9223
9213
|
var c = tmp;
|
|
9224
9214
|
var childResult = c.a26(this);
|
|
9225
|
-
result = this.
|
|
9215
|
+
result = this.n2s(result, childResult);
|
|
9226
9216
|
}
|
|
9227
9217
|
while (inductionVariable < n);
|
|
9228
9218
|
return result;
|
|
9229
9219
|
};
|
|
9230
|
-
protoOf(AbstractParseTreeVisitor).
|
|
9231
|
-
return this.
|
|
9220
|
+
protoOf(AbstractParseTreeVisitor).o2s = function (node) {
|
|
9221
|
+
return this.l2s();
|
|
9232
9222
|
};
|
|
9233
|
-
protoOf(AbstractParseTreeVisitor).
|
|
9234
|
-
return this.
|
|
9223
|
+
protoOf(AbstractParseTreeVisitor).p2s = function (node) {
|
|
9224
|
+
return this.l2s();
|
|
9235
9225
|
};
|
|
9236
|
-
protoOf(AbstractParseTreeVisitor).
|
|
9226
|
+
protoOf(AbstractParseTreeVisitor).n2s = function (aggregate, nextResult) {
|
|
9237
9227
|
return nextResult;
|
|
9238
9228
|
};
|
|
9239
|
-
protoOf(AbstractParseTreeVisitor).
|
|
9229
|
+
protoOf(AbstractParseTreeVisitor).m2s = function (node, currentResult) {
|
|
9240
9230
|
return true;
|
|
9241
9231
|
};
|
|
9242
9232
|
function ErrorNode() {
|
|
@@ -9245,31 +9235,31 @@
|
|
|
9245
9235
|
TerminalNodeImpl.call(this, token);
|
|
9246
9236
|
}
|
|
9247
9237
|
protoOf(ErrorNodeImpl).a26 = function (visitor) {
|
|
9248
|
-
return visitor.
|
|
9238
|
+
return visitor.p2s(this);
|
|
9249
9239
|
};
|
|
9250
9240
|
function TerminalNode() {
|
|
9251
9241
|
}
|
|
9252
9242
|
function TerminalNodeImpl(symbol) {
|
|
9253
|
-
this.
|
|
9254
|
-
this.
|
|
9255
|
-
this.
|
|
9243
|
+
this.u2s_1 = symbol;
|
|
9244
|
+
this.v2s_1 = null;
|
|
9245
|
+
this.w2s_1 = 0;
|
|
9256
9246
|
}
|
|
9257
|
-
protoOf(TerminalNodeImpl).
|
|
9258
|
-
return this.
|
|
9247
|
+
protoOf(TerminalNodeImpl).q2s = function () {
|
|
9248
|
+
return this.u2s_1;
|
|
9259
9249
|
};
|
|
9260
9250
|
protoOf(TerminalNodeImpl).r25 = function (value) {
|
|
9261
|
-
this.
|
|
9251
|
+
this.v2s_1 = value;
|
|
9262
9252
|
};
|
|
9263
9253
|
protoOf(TerminalNodeImpl).a26 = function (visitor) {
|
|
9264
|
-
return visitor.
|
|
9254
|
+
return visitor.o2s(this);
|
|
9265
9255
|
};
|
|
9266
9256
|
protoOf(TerminalNodeImpl).toString = function () {
|
|
9267
9257
|
var tmp;
|
|
9268
|
-
var tmp_0 = this.
|
|
9258
|
+
var tmp_0 = this.q2s().c1w();
|
|
9269
9259
|
if (tmp_0 === -1) {
|
|
9270
9260
|
tmp = '<EOF>';
|
|
9271
9261
|
} else {
|
|
9272
|
-
tmp = ensureNotNull(this.
|
|
9262
|
+
tmp = ensureNotNull(this.q2s().l1w());
|
|
9273
9263
|
}
|
|
9274
9264
|
return tmp;
|
|
9275
9265
|
};
|
|
@@ -9461,47 +9451,47 @@
|
|
|
9461
9451
|
function remove($this, key, value) {
|
|
9462
9452
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9463
9453
|
var k = key === undefined ? null : key;
|
|
9464
|
-
if ($this.
|
|
9465
|
-
if ($this.
|
|
9466
|
-
return $this.
|
|
9454
|
+
if ($this.x2s_1.has(k)) {
|
|
9455
|
+
if ($this.x2s_1.get(k) === value) {
|
|
9456
|
+
return $this.x2s_1.delete(k);
|
|
9467
9457
|
}
|
|
9468
9458
|
}
|
|
9469
9459
|
return false;
|
|
9470
9460
|
}
|
|
9471
9461
|
function IdentityEntry($outer, key, value) {
|
|
9472
|
-
this.
|
|
9473
|
-
this.
|
|
9474
|
-
this.
|
|
9462
|
+
this.a2t_1 = $outer;
|
|
9463
|
+
this.y2s_1 = key;
|
|
9464
|
+
this.z2s_1 = value;
|
|
9475
9465
|
}
|
|
9476
9466
|
protoOf(IdentityEntry).j2 = function () {
|
|
9477
|
-
return this.
|
|
9467
|
+
return this.y2s_1;
|
|
9478
9468
|
};
|
|
9479
9469
|
protoOf(IdentityEntry).k2 = function () {
|
|
9480
|
-
return this.
|
|
9470
|
+
return this.z2s_1;
|
|
9481
9471
|
};
|
|
9482
9472
|
function IdentityEntriesView$iterator$1($iterator, this$0) {
|
|
9483
|
-
this.
|
|
9484
|
-
this.
|
|
9485
|
-
this.
|
|
9473
|
+
this.c2t_1 = $iterator;
|
|
9474
|
+
this.d2t_1 = this$0;
|
|
9475
|
+
this.b2t_1 = null;
|
|
9486
9476
|
}
|
|
9487
9477
|
protoOf(IdentityEntriesView$iterator$1).t = function () {
|
|
9488
|
-
return this.
|
|
9478
|
+
return this.c2t_1.t();
|
|
9489
9479
|
};
|
|
9490
9480
|
protoOf(IdentityEntriesView$iterator$1).u = function () {
|
|
9491
|
-
var tmp0_container = this.
|
|
9481
|
+
var tmp0_container = this.c2t_1.u();
|
|
9492
9482
|
// Inline function 'js.array.JsTuple1.component1' call
|
|
9493
9483
|
// Inline function 'kotlin.js.asDynamic' call
|
|
9494
9484
|
var key = tmp0_container[0];
|
|
9495
9485
|
// Inline function 'js.array.JsTuple2.component2' call
|
|
9496
9486
|
// Inline function 'kotlin.js.asDynamic' call
|
|
9497
9487
|
var value = tmp0_container[1];
|
|
9498
|
-
var entry = new IdentityEntry(this.
|
|
9499
|
-
this.
|
|
9488
|
+
var entry = new IdentityEntry(this.d2t_1, key, value);
|
|
9489
|
+
this.b2t_1 = entry;
|
|
9500
9490
|
return entry;
|
|
9501
9491
|
};
|
|
9502
9492
|
protoOf(IdentityEntriesView$iterator$1).c1 = function () {
|
|
9503
9493
|
// Inline function 'kotlin.checkNotNull' call
|
|
9504
|
-
var value = this.
|
|
9494
|
+
var value = this.b2t_1;
|
|
9505
9495
|
// Inline function 'kotlin.contracts.contract' call
|
|
9506
9496
|
var tmp$ret$1;
|
|
9507
9497
|
$l$block: {
|
|
@@ -9517,46 +9507,46 @@
|
|
|
9517
9507
|
}
|
|
9518
9508
|
}
|
|
9519
9509
|
var lastEntry = tmp$ret$1;
|
|
9520
|
-
remove(this.
|
|
9510
|
+
remove(this.d2t_1, lastEntry.y2s_1, lastEntry.z2s_1);
|
|
9521
9511
|
};
|
|
9522
9512
|
function IdentityEntriesView(jsMap) {
|
|
9523
9513
|
AbstractMutableSet.call(this);
|
|
9524
|
-
this.
|
|
9514
|
+
this.x2s_1 = jsMap;
|
|
9525
9515
|
}
|
|
9526
9516
|
protoOf(IdentityEntriesView).l = function () {
|
|
9527
|
-
return this.
|
|
9517
|
+
return this.x2s_1.size;
|
|
9528
9518
|
};
|
|
9529
9519
|
protoOf(IdentityEntriesView).x = function () {
|
|
9530
|
-
return this.
|
|
9520
|
+
return this.x2s_1.size === 0;
|
|
9531
9521
|
};
|
|
9532
|
-
protoOf(IdentityEntriesView).
|
|
9522
|
+
protoOf(IdentityEntriesView).e2t = function (element) {
|
|
9533
9523
|
throw UnsupportedOperationException_init_$Create$_0('Adding is not supported on entries');
|
|
9534
9524
|
};
|
|
9535
9525
|
protoOf(IdentityEntriesView).p = function (element) {
|
|
9536
|
-
return this.
|
|
9526
|
+
return this.e2t((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
9537
9527
|
};
|
|
9538
|
-
protoOf(IdentityEntriesView).
|
|
9528
|
+
protoOf(IdentityEntriesView).f2t = function (element) {
|
|
9539
9529
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9540
9530
|
var value = element.j2();
|
|
9541
9531
|
var k = value === undefined ? null : value;
|
|
9542
|
-
return this.
|
|
9532
|
+
return this.x2s_1.has(k) ? this.x2s_1.get(k) === element.k2() : false;
|
|
9543
9533
|
};
|
|
9544
9534
|
protoOf(IdentityEntriesView).v = function (element) {
|
|
9545
9535
|
if (!(!(element == null) ? isInterface(element, MutableEntry) : false))
|
|
9546
9536
|
return false;
|
|
9547
|
-
return this.
|
|
9537
|
+
return this.f2t((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
9548
9538
|
};
|
|
9549
9539
|
protoOf(IdentityEntriesView).s = function () {
|
|
9550
9540
|
// Inline function 'js.iterable.JsIterable.iterator' call
|
|
9551
|
-
var this_0 = this.
|
|
9541
|
+
var this_0 = this.x2s_1;
|
|
9552
9542
|
var iterator = iteratorFor(this_0);
|
|
9553
9543
|
return new IdentityEntriesView$iterator$1(iterator, this);
|
|
9554
9544
|
};
|
|
9555
9545
|
function IdentityHashMap() {
|
|
9556
|
-
this.
|
|
9546
|
+
this.g2t_1 = new Map();
|
|
9557
9547
|
}
|
|
9558
9548
|
protoOf(IdentityHashMap).l = function () {
|
|
9559
|
-
return this.
|
|
9549
|
+
return this.g2t_1.size;
|
|
9560
9550
|
};
|
|
9561
9551
|
protoOf(IdentityHashMap).e2 = function () {
|
|
9562
9552
|
return new IdentityKeysView(this);
|
|
@@ -9565,23 +9555,23 @@
|
|
|
9565
9555
|
return new IdentityValuesView(this);
|
|
9566
9556
|
};
|
|
9567
9557
|
protoOf(IdentityHashMap).i2 = function () {
|
|
9568
|
-
return new IdentityEntriesView(this.
|
|
9558
|
+
return new IdentityEntriesView(this.g2t_1);
|
|
9569
9559
|
};
|
|
9570
9560
|
protoOf(IdentityHashMap).x = function () {
|
|
9571
|
-
return this.
|
|
9561
|
+
return this.g2t_1.size === 0;
|
|
9572
9562
|
};
|
|
9573
9563
|
protoOf(IdentityHashMap).q2 = function (key) {
|
|
9574
9564
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9575
9565
|
var k = key === undefined ? null : key;
|
|
9576
9566
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9577
|
-
var value = this.
|
|
9567
|
+
var value = this.g2t_1.get(k);
|
|
9578
9568
|
return value === undefined ? null : value;
|
|
9579
9569
|
};
|
|
9580
9570
|
protoOf(IdentityHashMap).g2 = function (key, value) {
|
|
9581
9571
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9582
9572
|
var k = key === undefined ? null : key;
|
|
9583
|
-
var previousValue = this.
|
|
9584
|
-
this.
|
|
9573
|
+
var previousValue = this.g2t_1.get(k);
|
|
9574
|
+
this.g2t_1.set(k, value);
|
|
9585
9575
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9586
9576
|
return previousValue === undefined ? null : previousValue;
|
|
9587
9577
|
};
|
|
@@ -9596,17 +9586,17 @@
|
|
|
9596
9586
|
var value = tmp1_loop_parameter.k2();
|
|
9597
9587
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9598
9588
|
var k = key === undefined ? null : key;
|
|
9599
|
-
this.
|
|
9589
|
+
this.g2t_1.set(k, value);
|
|
9600
9590
|
}
|
|
9601
9591
|
};
|
|
9602
9592
|
protoOf(IdentityHashMap).n2 = function (key) {
|
|
9603
9593
|
// Inline function 'com.strumenta.antlrkotlin.runtime.undefinedToNull' call
|
|
9604
9594
|
var k = key === undefined ? null : key;
|
|
9605
|
-
return this.
|
|
9595
|
+
return this.g2t_1.has(k);
|
|
9606
9596
|
};
|
|
9607
9597
|
protoOf(IdentityHashMap).o2 = function (value) {
|
|
9608
9598
|
// Inline function 'js.iterable.IterableIterator.iterator' call
|
|
9609
|
-
var iterator = this.
|
|
9599
|
+
var iterator = this.g2t_1.values();
|
|
9610
9600
|
var tmp0_iterator = iteratorFor_0(iterator);
|
|
9611
9601
|
while (tmp0_iterator.t()) {
|
|
9612
9602
|
var v = tmp0_iterator.u();
|
|
@@ -9617,29 +9607,29 @@
|
|
|
9617
9607
|
return false;
|
|
9618
9608
|
};
|
|
9619
9609
|
function IdentityKeysView$iterator$1($entriesIterator) {
|
|
9620
|
-
this.
|
|
9610
|
+
this.h2t_1 = $entriesIterator;
|
|
9621
9611
|
}
|
|
9622
9612
|
protoOf(IdentityKeysView$iterator$1).t = function () {
|
|
9623
|
-
return this.
|
|
9613
|
+
return this.h2t_1.t();
|
|
9624
9614
|
};
|
|
9625
9615
|
protoOf(IdentityKeysView$iterator$1).u = function () {
|
|
9626
|
-
return this.
|
|
9616
|
+
return this.h2t_1.u().j2();
|
|
9627
9617
|
};
|
|
9628
9618
|
protoOf(IdentityKeysView$iterator$1).c1 = function () {
|
|
9629
|
-
return this.
|
|
9619
|
+
return this.h2t_1.c1();
|
|
9630
9620
|
};
|
|
9631
9621
|
function IdentityKeysView(map) {
|
|
9632
9622
|
AbstractMutableSet.call(this);
|
|
9633
|
-
this.
|
|
9623
|
+
this.i2t_1 = map;
|
|
9634
9624
|
}
|
|
9635
9625
|
protoOf(IdentityKeysView).l = function () {
|
|
9636
|
-
return this.
|
|
9626
|
+
return this.i2t_1.l();
|
|
9637
9627
|
};
|
|
9638
9628
|
protoOf(IdentityKeysView).x = function () {
|
|
9639
|
-
return this.
|
|
9629
|
+
return this.i2t_1.x();
|
|
9640
9630
|
};
|
|
9641
9631
|
protoOf(IdentityKeysView).g3 = function (element) {
|
|
9642
|
-
return this.
|
|
9632
|
+
return this.i2t_1.n2(element);
|
|
9643
9633
|
};
|
|
9644
9634
|
protoOf(IdentityKeysView).v = function (element) {
|
|
9645
9635
|
if (!(element == null ? true : !(element == null)))
|
|
@@ -9653,30 +9643,30 @@
|
|
|
9653
9643
|
return this.x3((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
9654
9644
|
};
|
|
9655
9645
|
protoOf(IdentityKeysView).s = function () {
|
|
9656
|
-
var entriesIterator = this.
|
|
9646
|
+
var entriesIterator = this.i2t_1.i2().s();
|
|
9657
9647
|
return new IdentityKeysView$iterator$1(entriesIterator);
|
|
9658
9648
|
};
|
|
9659
9649
|
function IdentityValuesView$iterator$1($entriesIterator) {
|
|
9660
|
-
this.
|
|
9650
|
+
this.j2t_1 = $entriesIterator;
|
|
9661
9651
|
}
|
|
9662
9652
|
protoOf(IdentityValuesView$iterator$1).t = function () {
|
|
9663
|
-
return this.
|
|
9653
|
+
return this.j2t_1.t();
|
|
9664
9654
|
};
|
|
9665
9655
|
protoOf(IdentityValuesView$iterator$1).u = function () {
|
|
9666
|
-
return this.
|
|
9656
|
+
return this.j2t_1.u().k2();
|
|
9667
9657
|
};
|
|
9668
9658
|
protoOf(IdentityValuesView$iterator$1).c1 = function () {
|
|
9669
|
-
return this.
|
|
9659
|
+
return this.j2t_1.c1();
|
|
9670
9660
|
};
|
|
9671
9661
|
function IdentityValuesView(map) {
|
|
9672
9662
|
AbstractMutableCollection.call(this);
|
|
9673
|
-
this.
|
|
9663
|
+
this.k2t_1 = map;
|
|
9674
9664
|
}
|
|
9675
9665
|
protoOf(IdentityValuesView).l = function () {
|
|
9676
|
-
return this.
|
|
9666
|
+
return this.k2t_1.l();
|
|
9677
9667
|
};
|
|
9678
9668
|
protoOf(IdentityValuesView).x = function () {
|
|
9679
|
-
return this.
|
|
9669
|
+
return this.k2t_1.x();
|
|
9680
9670
|
};
|
|
9681
9671
|
protoOf(IdentityValuesView).l3 = function (element) {
|
|
9682
9672
|
throw UnsupportedOperationException_init_$Create$_0('Adding is not supported on values');
|
|
@@ -9685,7 +9675,7 @@
|
|
|
9685
9675
|
return this.l3((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
9686
9676
|
};
|
|
9687
9677
|
protoOf(IdentityValuesView).k3 = function (element) {
|
|
9688
|
-
return this.
|
|
9678
|
+
return this.k2t_1.o2(element);
|
|
9689
9679
|
};
|
|
9690
9680
|
protoOf(IdentityValuesView).v = function (element) {
|
|
9691
9681
|
if (!(element == null ? true : !(element == null)))
|
|
@@ -9693,16 +9683,13 @@
|
|
|
9693
9683
|
return this.k3((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
9694
9684
|
};
|
|
9695
9685
|
protoOf(IdentityValuesView).s = function () {
|
|
9696
|
-
var entriesIterator = this.
|
|
9686
|
+
var entriesIterator = this.k2t_1.i2().s();
|
|
9697
9687
|
return new IdentityValuesView$iterator$1(entriesIterator);
|
|
9698
9688
|
};
|
|
9699
9689
|
function isNodeJs() {
|
|
9700
9690
|
return typeof process !== 'undefined' && process.versions != null && process.versions.node != null || (typeof window !== 'undefined' && typeof window.process !== 'undefined' && window.process.versions != null && window.process.versions.node != null);
|
|
9701
9691
|
}
|
|
9702
9692
|
//region block: init
|
|
9703
|
-
MAX_CODE_POINT_ = 1114111;
|
|
9704
|
-
HIGH_SURROGATE_ENCODE_OFFSET = 55232;
|
|
9705
|
-
MIN_LOW_SURROGATE = 56320;
|
|
9706
9693
|
Collections_instance = new Collections();
|
|
9707
9694
|
StdPrintStream_instance = new StdPrintStream();
|
|
9708
9695
|
ErrPrintStream_instance = new ErrPrintStream();
|