@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1394 → 0.9.3-SNAPSHOT.1400
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +32 -32
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Napier-napier-js-ir.js +64 -66
- package/Napier-napier-js-ir.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3633 -3662
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
- package/colormath-root-colormath.js +1023 -1075
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +252 -266
- package/fluid-locale.js.map +1 -1
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +8068 -7747
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +494 -492
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +3822 -4565
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +309 -290
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +3 -3
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3722 -3860
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['kotlin-kotlin-stdlib
|
|
8
|
-
throw new Error("Error loading module '88b0986a7186d029-atomicfu-js-ir'. Its dependency 'kotlin-kotlin-stdlib
|
|
7
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module '88b0986a7186d029-atomicfu-js-ir'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '88b0986a7186d029-atomicfu-js-ir'.");
|
|
9
9
|
}
|
|
10
|
-
root['88b0986a7186d029-atomicfu-js-ir'] = factory(typeof this['88b0986a7186d029-atomicfu-js-ir'] === 'undefined' ? {} : this['88b0986a7186d029-atomicfu-js-ir'], this['kotlin-kotlin-stdlib
|
|
10
|
+
root['88b0986a7186d029-atomicfu-js-ir'] = factory(typeof this['88b0986a7186d029-atomicfu-js-ir'] === 'undefined' ? {} : this['88b0986a7186d029-atomicfu-js-ir'], this['kotlin-kotlin-stdlib']);
|
|
11
11
|
}
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
15
|
+
var fillArrayVal = kotlin_kotlin.$_$.c6;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
17
|
+
var defineProp = kotlin_kotlin.$_$.a6;
|
|
18
|
+
var classMeta = kotlin_kotlin.$_$.y5;
|
|
19
|
+
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
20
|
+
var objectMeta = kotlin_kotlin.$_$.s6;
|
|
21
|
+
var toString = kotlin_kotlin.$_$.u9;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
23
23
|
//endregion
|
|
24
24
|
//region block: pre-declaration
|
|
25
25
|
setMetadataFor(atomicfu$AtomicRefArray$ref, 'AtomicArray', classMeta);
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
tmp_1[tmp_0] = atomic$ref$1(null);
|
|
40
40
|
tmp_0 = tmp_0 + 1 | 0;
|
|
41
41
|
}
|
|
42
|
-
tmp.
|
|
42
|
+
tmp.tg_1 = tmp_1;
|
|
43
43
|
}
|
|
44
|
-
protoOf(atomicfu$AtomicRefArray$ref).
|
|
45
|
-
return this.
|
|
44
|
+
protoOf(atomicfu$AtomicRefArray$ref).ug = function () {
|
|
45
|
+
return this.tg_1.length;
|
|
46
46
|
};
|
|
47
47
|
protoOf(atomicfu$AtomicRefArray$ref).atomicfu$get = function (index) {
|
|
48
|
-
return this.
|
|
48
|
+
return this.tg_1[index];
|
|
49
49
|
};
|
|
50
50
|
function atomicfu$AtomicRefArray$ofNulls(size) {
|
|
51
51
|
return new atomicfu$AtomicRefArray$ref(size);
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
function AtomicRef(value) {
|
|
74
74
|
this.kotlinx$atomicfu$value = value;
|
|
75
75
|
}
|
|
76
|
-
protoOf(AtomicRef).
|
|
76
|
+
protoOf(AtomicRef).vg = function (_set____db54di) {
|
|
77
77
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
78
78
|
};
|
|
79
|
-
protoOf(AtomicRef).
|
|
79
|
+
protoOf(AtomicRef).wg = function () {
|
|
80
80
|
return this.kotlinx$atomicfu$value;
|
|
81
81
|
};
|
|
82
82
|
protoOf(AtomicRef).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
function AtomicBoolean(value) {
|
|
100
100
|
this.kotlinx$atomicfu$value = value;
|
|
101
101
|
}
|
|
102
|
-
protoOf(AtomicBoolean).
|
|
102
|
+
protoOf(AtomicBoolean).xg = function (_set____db54di) {
|
|
103
103
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
104
104
|
};
|
|
105
|
-
protoOf(AtomicBoolean).
|
|
105
|
+
protoOf(AtomicBoolean).wg = function () {
|
|
106
106
|
return this.kotlinx$atomicfu$value;
|
|
107
107
|
};
|
|
108
108
|
protoOf(AtomicBoolean).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
function AtomicInt(value) {
|
|
126
126
|
this.kotlinx$atomicfu$value = value;
|
|
127
127
|
}
|
|
128
|
-
protoOf(AtomicInt).
|
|
128
|
+
protoOf(AtomicInt).yg = function (_set____db54di) {
|
|
129
129
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
130
130
|
};
|
|
131
|
-
protoOf(AtomicInt).
|
|
131
|
+
protoOf(AtomicInt).wg = function () {
|
|
132
132
|
return this.kotlinx$atomicfu$value;
|
|
133
133
|
};
|
|
134
134
|
protoOf(AtomicInt).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -178,10 +178,10 @@
|
|
|
178
178
|
function AtomicLong(value) {
|
|
179
179
|
this.kotlinx$atomicfu$value = value;
|
|
180
180
|
}
|
|
181
|
-
protoOf(AtomicLong).
|
|
181
|
+
protoOf(AtomicLong).zg = function (_set____db54di) {
|
|
182
182
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
183
183
|
};
|
|
184
|
-
protoOf(AtomicLong).
|
|
184
|
+
protoOf(AtomicLong).wg = function () {
|
|
185
185
|
return this.kotlinx$atomicfu$value;
|
|
186
186
|
};
|
|
187
187
|
protoOf(AtomicLong).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -197,29 +197,29 @@
|
|
|
197
197
|
};
|
|
198
198
|
protoOf(AtomicLong).atomicfu$getAndIncrement$long = function () {
|
|
199
199
|
var tmp1 = this.kotlinx$atomicfu$value;
|
|
200
|
-
this.kotlinx$atomicfu$value = tmp1.
|
|
200
|
+
this.kotlinx$atomicfu$value = tmp1.bb();
|
|
201
201
|
return tmp1;
|
|
202
202
|
};
|
|
203
203
|
protoOf(AtomicLong).atomicfu$getAndDecrement$long = function () {
|
|
204
204
|
var tmp1 = this.kotlinx$atomicfu$value;
|
|
205
|
-
this.kotlinx$atomicfu$value = tmp1.
|
|
205
|
+
this.kotlinx$atomicfu$value = tmp1.cb();
|
|
206
206
|
return tmp1;
|
|
207
207
|
};
|
|
208
208
|
protoOf(AtomicLong).atomicfu$getAndAdd$long = function (delta) {
|
|
209
209
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
210
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.
|
|
210
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.wa(delta);
|
|
211
211
|
return oldValue;
|
|
212
212
|
};
|
|
213
213
|
protoOf(AtomicLong).atomicfu$addAndGet$long = function (delta) {
|
|
214
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.
|
|
214
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.wa(delta);
|
|
215
215
|
return this.kotlinx$atomicfu$value;
|
|
216
216
|
};
|
|
217
217
|
protoOf(AtomicLong).atomicfu$incrementAndGet$long = function () {
|
|
218
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.
|
|
218
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.bb();
|
|
219
219
|
return this.kotlinx$atomicfu$value;
|
|
220
220
|
};
|
|
221
221
|
protoOf(AtomicLong).atomicfu$decrementAndGet$long = function () {
|
|
222
|
-
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.
|
|
222
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.cb();
|
|
223
223
|
return this.kotlinx$atomicfu$value;
|
|
224
224
|
};
|
|
225
225
|
protoOf(AtomicLong).toString = function () {
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
return new AtomicLong(initial);
|
|
246
246
|
}
|
|
247
247
|
//region block: post-declaration
|
|
248
|
-
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).
|
|
248
|
+
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).ug);
|
|
249
249
|
//endregion
|
|
250
250
|
//region block: exports
|
|
251
251
|
_.$_$ = _.$_$ || {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt","builtins/Library.kt","../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/Trace.common.kt","../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/AtomicFU.kt"],"sourcesContent":[null,null,null,null],"names":["<init>","size","<get-size>","get","index","atomicArrayOfNulls","append","event","event1","event2","event3","event4","value","<set-value>","<set-?>","<get-value>","compareAndSet","expect","update","getAndSet","oldValue","toString","atomic","initial","getAndIncrement","getAndDecrement","getAndAdd","delta","addAndGet","incrementAndGet","decrementAndGet","trace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAgjBqCA,CAAYC,IAAZD,EADrC;A,cAEwB,I;QAAA,S;;QAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt","js-ir/builtins/Library.kt","../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/Trace.common.kt","../../../../../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/AtomicFU.kt"],"sourcesContent":[null,null,null,null],"names":["<init>","size","<get-size>","get","index","atomicArrayOfNulls","append","event","event1","event2","event3","event4","value","<set-value>","<set-?>","<get-value>","compareAndSet","expect","update","getAndSet","oldValue","toString","atomic","initial","getAndIncrement","getAndDecrement","getAndAdd","delta","addAndGet","incrementAndGet","decrementAndGet","trace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAgjBqCA,CAAYC,IAAZD,EADrC;A,cAEwB,I;QAAA,S;;QAAA,QCrhBmC,aAAiB,MDqhB9C,ICrhB8C,CAAjB,EAAkC,IAAlC,C;WDqhBnC,QAAM,I,EAAN;A,MAAA,eAAc,aAAW,IAAX,C;MAAd,qB;IAA+B,C;IAA/B,gB;EAFxB,C;qDAMQE,CAAAA,EAAQ;A,IAAU,OAAV,IAAU,CAAV,IAAU,CAAJ,M;EAAG,C;+DAGLC,CAAQC,KAARD,EAAqC;A,IAAY,OAAZ,UAAM,KAAN,C;EAAW,C;0CAvc7DE,CAA2BJ,IAA3BI,EAAyD;A,IAAiB,OAAjB,gCAAY,IAAZ,C;EAAgB,C;eER5EL,CAAAA,EAAA;A;IAAqB,6B;EAArB,C;;;;;;;6BApCiCA,CAAAA,EADrC;A,EAAA,C;iEAMgBM,CAAWC,KAAXD,EAAuB;A,EAAC,C;iEAMxBA,CAAWE,M,EAAaC,MAAxBH,EAAqC;A,EAAC,C;iEAMtCA,CAAWE,M,EAAaC,M,EAAaC,MAArCJ,EAAkD;A,EAAC,C;iEAMnDA,CAAWE,M,EAAaC,M,EAAaC,M,EAAaC,MAAlDL,EAA+D;A,EAAC,C;oBCvDtCN,CAAYY,KAAZZ,EAA1C;A,IAEiC,mC;EAFjC,C;mCAEkBa,CAAAC,cAAAD,EAAA;A,IAAA,4C;EAAmB,C;mCAAnBE,CAAAA,EAAA;A,IAAA,kC;EAAmB,C;uDASnBC,CAAkBC,M,EAAWC,MAA7BF,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L,I;EAAM,C;yDAGpCC,CAAcC,KAAdD,EAAiC;A,QAC3CN,WAAe,IAAfA,CAAe,sB;IACf,6DAAS,KAAT,C;IACA,OAAO,Q;EACX,C;yDAGcQ,CAAcD,KAAdC,EAAiC;A,IAC3C,6DAAS,KAAT,C;IACA,OAAO,IAAP,CAAO,sB;EACX,C;+DAGcC,CAAAA,EAA8B;A,IAAE,8BAAA,IAAF,CAAE,sBAAF,K;IAAO,OAAL,IAAK,CAAL,sB;EAAI,C;+DAGpCC,CAAAA,EAA8B;A,IAAE,8BAAA,IAAF,CAAE,sBAAF,K;IAAO,OAAL,IAAK,CAAL,sB;EAAI,C;0CAMzCT,CAAAA,EAAyB;A,IAAgB,OAAhB,IAAM,CAAN,sBAAM,W;EAAS,C;wBArLvCC,CAAWC,OAAXD,EAAwC;A,IAAqB,OAArB,aAAO,OAAP,qB;EAAoB,C;sBAf5DA,CAAeC,O,EAAYQ,KAA3BT,EAA6D;A;IAAqB,OAArB,cAAa,OAAb,C;EAAoB,C;0BAkBjFA,CAAWC,O,EAAkBQ,KAA7BT,EAAgE;A;IAAsB,OAAtB,kBAAc,OAAd,C;EAAqB,C;sBAZrFA,CAAWC,O,EAAcQ,KAAzBT,EAAwD;A;IAAkB,OAAlB,cAAU,OAAV,C;EAAiB,C;uBAMzEA,CAAWC,O,EAAeQ,KAA1BT,EAA0D;A;IAAmB,OAAnB,eAAW,OAAX,C;EAAkB,C;;;;;;;;;;;;;;"}
|
package/Napier-napier-js-ir.js
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['kotlin-kotlin-stdlib
|
|
8
|
-
throw new Error("Error loading module 'Napier-napier-js-ir'. Its dependency 'kotlin-kotlin-stdlib
|
|
7
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'Napier-napier-js-ir'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Napier-napier-js-ir'.");
|
|
9
9
|
}
|
|
10
|
-
root['Napier-napier-js-ir'] = factory(typeof this['Napier-napier-js-ir'] === 'undefined' ? {} : this['Napier-napier-js-ir'], this['kotlin-kotlin-stdlib
|
|
10
|
+
root['Napier-napier-js-ir'] = factory(typeof this['Napier-napier-js-ir'] === 'undefined' ? {} : this['Napier-napier-js-ir'], this['kotlin-kotlin-stdlib']);
|
|
11
11
|
}
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var
|
|
16
|
-
var Enum = kotlin_kotlin.$_$.
|
|
17
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
18
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var THROW_CCE = kotlin_kotlin.$_$.g9;
|
|
15
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
16
|
+
var Enum = kotlin_kotlin.$_$.w8;
|
|
17
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
18
|
+
var classMeta = kotlin_kotlin.$_$.y5;
|
|
19
|
+
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
20
|
+
var Collection = kotlin_kotlin.$_$.r2;
|
|
21
|
+
var isInterface = kotlin_kotlin.$_$.l6;
|
|
22
|
+
var objectMeta = kotlin_kotlin.$_$.s6;
|
|
23
|
+
var emptyList = kotlin_kotlin.$_$.j3;
|
|
24
|
+
var objectCreate = kotlin_kotlin.$_$.r6;
|
|
25
|
+
var AbstractList = kotlin_kotlin.$_$.p2;
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.h9;
|
|
27
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
29
28
|
//endregion
|
|
30
29
|
//region block: pre-declaration
|
|
31
30
|
setMetadataFor(LogLevel, 'LogLevel', classMeta, Enum);
|
|
32
31
|
setMetadataFor(Napier, 'Napier', objectMeta);
|
|
33
|
-
setMetadataFor(AtomicMutableList, 'AtomicMutableList', classMeta, AbstractList);
|
|
32
|
+
setMetadataFor(AtomicMutableList, 'AtomicMutableList', classMeta, AbstractList, VOID, AtomicMutableList_init_$Create$);
|
|
34
33
|
setMetadataFor(AtomicRef, 'AtomicRef', classMeta);
|
|
35
34
|
//endregion
|
|
36
35
|
var LogLevel_VERBOSE_instance;
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
var LogLevel_entriesInitialized;
|
|
43
42
|
function LogLevel_initEntries() {
|
|
44
43
|
if (LogLevel_entriesInitialized)
|
|
45
|
-
return
|
|
44
|
+
return Unit_instance;
|
|
46
45
|
LogLevel_entriesInitialized = true;
|
|
47
46
|
LogLevel_VERBOSE_instance = new LogLevel('VERBOSE', 0);
|
|
48
47
|
LogLevel_DEBUG_instance = new LogLevel('DEBUG', 1);
|
|
@@ -64,16 +63,16 @@
|
|
|
64
63
|
}
|
|
65
64
|
function Napier() {
|
|
66
65
|
Napier_instance = this;
|
|
67
|
-
this.
|
|
66
|
+
this.d1p_1 = AtomicMutableList_init_$Create$();
|
|
68
67
|
}
|
|
69
|
-
protoOf(Napier).
|
|
68
|
+
protoOf(Napier).e1p = function (priority, tag) {
|
|
70
69
|
var tmp$ret$0;
|
|
71
70
|
$l$block_0: {
|
|
72
71
|
// Inline function 'kotlin.collections.any' call
|
|
73
|
-
var
|
|
72
|
+
var this_0 = this.d1p_1;
|
|
74
73
|
var tmp;
|
|
75
|
-
if (isInterface(
|
|
76
|
-
tmp =
|
|
74
|
+
if (isInterface(this_0, Collection)) {
|
|
75
|
+
tmp = this_0.x();
|
|
77
76
|
} else {
|
|
78
77
|
tmp = false;
|
|
79
78
|
}
|
|
@@ -81,11 +80,11 @@
|
|
|
81
80
|
tmp$ret$0 = false;
|
|
82
81
|
break $l$block_0;
|
|
83
82
|
}
|
|
84
|
-
var tmp0_iterator =
|
|
85
|
-
while (tmp0_iterator.
|
|
86
|
-
var element = tmp0_iterator.
|
|
83
|
+
var tmp0_iterator = this_0.s();
|
|
84
|
+
while (tmp0_iterator.t()) {
|
|
85
|
+
var element = tmp0_iterator.u();
|
|
87
86
|
// Inline function 'io.github.aakira.napier.Napier.isEnable.<anonymous>' call
|
|
88
|
-
if (element.
|
|
87
|
+
if (element.e1p(priority, tag)) {
|
|
89
88
|
tmp$ret$0 = true;
|
|
90
89
|
break $l$block_0;
|
|
91
90
|
}
|
|
@@ -94,27 +93,27 @@
|
|
|
94
93
|
}
|
|
95
94
|
return tmp$ret$0;
|
|
96
95
|
};
|
|
97
|
-
protoOf(Napier).
|
|
96
|
+
protoOf(Napier).f1p = function (priority, tag, throwable, message) {
|
|
98
97
|
// Inline function 'kotlin.collections.forEach' call
|
|
99
|
-
var tmp0_iterator = this.
|
|
100
|
-
while (tmp0_iterator.
|
|
101
|
-
var element = tmp0_iterator.
|
|
98
|
+
var tmp0_iterator = this.d1p_1.s();
|
|
99
|
+
while (tmp0_iterator.t()) {
|
|
100
|
+
var element = tmp0_iterator.u();
|
|
102
101
|
// Inline function 'io.github.aakira.napier.Napier.rawLog.<anonymous>' call
|
|
103
|
-
element.
|
|
102
|
+
element.f1p(priority, tag, throwable, message);
|
|
104
103
|
}
|
|
105
104
|
};
|
|
106
|
-
protoOf(Napier).
|
|
107
|
-
this.
|
|
105
|
+
protoOf(Napier).g1p = function (message, throwable, tag) {
|
|
106
|
+
this.h1p(LogLevel_DEBUG_getInstance(), tag, throwable, message);
|
|
108
107
|
};
|
|
109
|
-
protoOf(Napier).
|
|
110
|
-
this.
|
|
108
|
+
protoOf(Napier).i1p = function (message, throwable, tag) {
|
|
109
|
+
this.h1p(LogLevel_ERROR_getInstance(), tag, throwable, message);
|
|
111
110
|
};
|
|
112
|
-
protoOf(Napier).
|
|
113
|
-
this.
|
|
111
|
+
protoOf(Napier).j1p = function (throwable, tag, message) {
|
|
112
|
+
this.h1p(LogLevel_ERROR_getInstance(), tag, throwable, message());
|
|
114
113
|
};
|
|
115
|
-
protoOf(Napier).
|
|
116
|
-
if (this.
|
|
117
|
-
this.
|
|
114
|
+
protoOf(Napier).h1p = function (priority, tag, throwable, message) {
|
|
115
|
+
if (this.e1p(priority, tag)) {
|
|
116
|
+
this.f1p(priority, tag, throwable, message);
|
|
118
117
|
}
|
|
119
118
|
};
|
|
120
119
|
var Napier_instance;
|
|
@@ -124,9 +123,8 @@
|
|
|
124
123
|
return Napier_instance;
|
|
125
124
|
}
|
|
126
125
|
function AtomicMutableList_init_$Init$($this) {
|
|
127
|
-
var tmp$ret$0;
|
|
128
126
|
// Inline function 'kotlin.collections.listOf' call
|
|
129
|
-
tmp$ret$0 = emptyList();
|
|
127
|
+
var tmp$ret$0 = emptyList();
|
|
130
128
|
AtomicMutableList.call($this, tmp$ret$0);
|
|
131
129
|
return $this;
|
|
132
130
|
}
|
|
@@ -135,38 +133,38 @@
|
|
|
135
133
|
}
|
|
136
134
|
function AtomicMutableList(value) {
|
|
137
135
|
AbstractList.call(this);
|
|
138
|
-
this.
|
|
136
|
+
this.k1p_1 = new AtomicRef(value);
|
|
139
137
|
}
|
|
140
|
-
protoOf(AtomicMutableList).
|
|
141
|
-
return this.
|
|
138
|
+
protoOf(AtomicMutableList).l = function () {
|
|
139
|
+
return this.k1p_1.l1p_1.l();
|
|
142
140
|
};
|
|
143
|
-
protoOf(AtomicMutableList).
|
|
144
|
-
return this.
|
|
141
|
+
protoOf(AtomicMutableList).x = function () {
|
|
142
|
+
return this.k1p_1.l1p_1.x();
|
|
145
143
|
};
|
|
146
|
-
protoOf(AtomicMutableList).
|
|
147
|
-
return this.
|
|
144
|
+
protoOf(AtomicMutableList).zd = function (element) {
|
|
145
|
+
return this.k1p_1.l1p_1.v(element);
|
|
148
146
|
};
|
|
149
|
-
protoOf(AtomicMutableList).
|
|
150
|
-
if (!(element == null ? true :
|
|
147
|
+
protoOf(AtomicMutableList).v = function (element) {
|
|
148
|
+
if (!(element == null ? true : !(element == null)))
|
|
151
149
|
return false;
|
|
152
|
-
return this.
|
|
150
|
+
return this.zd((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
153
151
|
};
|
|
154
|
-
protoOf(AtomicMutableList).
|
|
155
|
-
return this.
|
|
152
|
+
protoOf(AtomicMutableList).b1 = function (index) {
|
|
153
|
+
return this.k1p_1.l1p_1.b1(index);
|
|
156
154
|
};
|
|
157
|
-
protoOf(AtomicMutableList).
|
|
158
|
-
return this.
|
|
155
|
+
protoOf(AtomicMutableList).m1p = function (element) {
|
|
156
|
+
return this.k1p_1.l1p_1.s1(element);
|
|
159
157
|
};
|
|
160
|
-
protoOf(AtomicMutableList).
|
|
161
|
-
if (!(element == null ? true :
|
|
158
|
+
protoOf(AtomicMutableList).s1 = function (element) {
|
|
159
|
+
if (!(element == null ? true : !(element == null)))
|
|
162
160
|
return -1;
|
|
163
|
-
return this.
|
|
161
|
+
return this.m1p((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
164
162
|
};
|
|
165
|
-
protoOf(AtomicMutableList).
|
|
166
|
-
return this.
|
|
163
|
+
protoOf(AtomicMutableList).s = function () {
|
|
164
|
+
return this.k1p_1.l1p_1.s();
|
|
167
165
|
};
|
|
168
166
|
function AtomicRef(value) {
|
|
169
|
-
this.
|
|
167
|
+
this.l1p_1 = value;
|
|
170
168
|
}
|
|
171
169
|
//region block: exports
|
|
172
170
|
_.$_$ = _.$_$ || {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/LogLevel.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/Napier.kt","
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/LogLevel.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/Napier.kt","common/src/generated/_Collections.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/atomic/AtomicMutableList.kt","src/kotlin/collections/Collections.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/jsMain/kotlin/io/github/aakira/napier/atomic/AtomicRef.kt"],"sourcesContent":[null,null,null,null,null,null],"names":["<init>","isEnable","priority","tag","element","rawLog","throwable","message","d","e","log","AtomicMutableList_init_$Init$","AtomicMutableList_init_$Create$","value","<get-size>","isEmpty","contains","get","index","indexOf","iterator"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAEKA,C,aAAAA,EAAL;A;EAAA,C;;;;;;;;;iBCuCAA,CAAAA,EAAA;A;IAE4B,8C;EAF5B,C;iCAQIC,CAAaC,Q,EAAoBC,GAAjCF,EAAiD;A;;;mBCGuB,I,CAAA,K;;MA8pDpE,oC;cAAsB,U;;cAAA,K;;MAA1B,Q;QAAqC,YAAO,K;;;UAC5B,0B;aAAA,iB,EAAhB;A,YAAKG,UAAW,iB;;QAAM,IDh+Csp+C,OAlMxm+C,KAAS,QAAT,EAAmB,GAAnB,CCkqD9C,C;UAAwB,YAAO,I;;;MAAG,C;MACxD,YAAO,K;;IDnqDsF,OAAlC,S;EAAiC,C;iCAGnFC,CAAWH,Q,EAAoBC,G,E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