@flock/wirespec 0.9.22 → 0.9.24
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/arrow-arrow-annotations.js +1 -1
- package/arrow-arrow-atomic.js +17 -18
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-continuations.js +4 -4
- package/arrow-arrow-core.js +96 -99
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +2045 -2060
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +552 -444
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +7794 -7837
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/{kotlin-kotlin-test-kotlin-test-js-ir.js → kotlin-kotlin-test.js} +3 -3
- package/kotlin-openapi-bindings.js +5331 -5326
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +2051 -2052
- package/kotlin-rgxgen.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2151 -2187
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1571 -1731
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +2308 -2317
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +2405 -2492
- package/mordant-mordant.js.map +1 -1
- package/package.json +2 -2
- package/resources-library.js +1 -1
- package/wirespec-src-compiler-core.js +2696 -2489
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +706 -600
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +1494 -1477
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +127 -124
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +236 -231
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +24 -7
- package/wirespec-src-plugin-npm.js +71 -71
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +176 -181
- package/wirespec-src-tools-generator.js.map +1 -1
- /package/{kotlin-kotlin-test-kotlin-test-js-ir.js.map → kotlin-kotlin-test.js.map} +0 -0
|
@@ -9,87 +9,90 @@
|
|
|
9
9
|
}
|
|
10
10
|
root['wirespec-src-plugin-arguments'] = factory(typeof this['wirespec-src-plugin-arguments'] === 'undefined' ? {} : this['wirespec-src-plugin-arguments'], this['kotlin-kotlin-stdlib']);
|
|
11
11
|
}
|
|
12
|
-
}(
|
|
12
|
+
}(globalThis, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
16
|
+
var toString = kotlin_kotlin.$_$.xa;
|
|
17
|
+
var toString_0 = kotlin_kotlin.$_$.xf;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.ta;
|
|
19
|
+
var hashCode = kotlin_kotlin.$_$.t9;
|
|
20
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.p9;
|
|
21
|
+
var THROW_CCE = kotlin_kotlin.$_$.af;
|
|
22
|
+
var equals = kotlin_kotlin.$_$.n9;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.u9;
|
|
24
|
+
var getStringHashCode = kotlin_kotlin.$_$.s9;
|
|
25
|
+
var initMetadataForObject = kotlin_kotlin.$_$.z9;
|
|
25
26
|
var joinToString = kotlin_kotlin.$_$.r6;
|
|
27
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.v9;
|
|
26
28
|
var enumEntries = kotlin_kotlin.$_$.y8;
|
|
27
29
|
var Unit_instance = kotlin_kotlin.$_$.i4;
|
|
28
|
-
var Enum = kotlin_kotlin.$_$.
|
|
29
|
-
var
|
|
30
|
+
var Enum = kotlin_kotlin.$_$.qe;
|
|
31
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
32
|
+
var split = kotlin_kotlin.$_$.id;
|
|
30
33
|
var dropLast = kotlin_kotlin.$_$.x5;
|
|
31
34
|
var last = kotlin_kotlin.$_$.c7;
|
|
32
35
|
var plus = kotlin_kotlin.$_$.p7;
|
|
33
|
-
var toString = kotlin_kotlin.$_$.va;
|
|
34
36
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
35
|
-
var VOID = kotlin_kotlin.$_$.g;
|
|
36
37
|
var readlnOrNull = kotlin_kotlin.$_$.c9;
|
|
37
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
38
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
38
|
+
var generateSequence = kotlin_kotlin.$_$.rb;
|
|
39
|
+
var joinToString_0 = kotlin_kotlin.$_$.sb;
|
|
39
40
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
40
41
|
var mapCapacity = kotlin_kotlin.$_$.g7;
|
|
41
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
42
|
+
var coerceAtLeast = kotlin_kotlin.$_$.db;
|
|
42
43
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
43
44
|
//endregion
|
|
44
45
|
//region block: pre-declaration
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
initMetadataForClass(CompilerArguments, 'CompilerArguments');
|
|
47
|
+
initMetadataForClass(PackageName, 'PackageName');
|
|
48
|
+
initMetadataForObject(Compile, 'Compile');
|
|
49
|
+
initMetadataForClass(Convert, 'Convert');
|
|
50
|
+
initMetadataForCompanion(Companion);
|
|
51
|
+
initMetadataForClass(Format, 'Format', VOID, Enum);
|
|
52
|
+
initMetadataForCompanion(Companion_0);
|
|
53
|
+
initMetadataForClass(FullFilePath, 'FullFilePath');
|
|
54
|
+
initMetadataForClass(FileName, 'FileName');
|
|
55
|
+
initMetadataForObject(Console, 'Console');
|
|
56
|
+
initMetadataForClass(FullDirPath, 'FullDirPath');
|
|
57
|
+
initMetadataForCompanion(Companion_1);
|
|
58
|
+
initMetadataForClass(Language, 'Language', VOID, Enum);
|
|
59
|
+
initMetadataForClass(FileExtension, 'FileExtension', VOID, Enum);
|
|
60
|
+
initMetadataForCompanion(Companion_2);
|
|
61
|
+
initMetadataForClass(Output, 'Output');
|
|
61
62
|
//endregion
|
|
62
63
|
function CompilerArguments(operation, input, output, languages, packageName, shared, strict, debug) {
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
64
|
+
this.z2b_1 = operation;
|
|
65
|
+
this.a2c_1 = input;
|
|
66
|
+
this.b2c_1 = output;
|
|
67
|
+
this.c2c_1 = languages;
|
|
68
|
+
this.d2c_1 = packageName;
|
|
69
|
+
this.e2c_1 = shared;
|
|
70
|
+
this.f2c_1 = strict;
|
|
71
|
+
this.g2c_1 = debug;
|
|
71
72
|
}
|
|
72
73
|
protoOf(CompilerArguments).toString = function () {
|
|
73
|
-
var tmp = this.
|
|
74
|
-
|
|
74
|
+
var tmp = toString(this.z2b_1);
|
|
75
|
+
var tmp_0 = toString(this.a2c_1);
|
|
76
|
+
var tmp_1 = this.b2c_1;
|
|
77
|
+
return 'CompilerArguments(operation=' + tmp + ', input=' + tmp_0 + ', output=' + toString_0(tmp_1 == null ? null : new Output(tmp_1)) + ', languages=' + toString(this.c2c_1) + ', packageName=' + PackageName__toString_impl_pes5ww(this.d2c_1) + ', shared=' + this.e2c_1 + ', strict=' + this.f2c_1 + ', debug=' + this.g2c_1 + ')';
|
|
75
78
|
};
|
|
76
79
|
protoOf(CompilerArguments).hashCode = function () {
|
|
77
|
-
var result = hashCode(this.
|
|
78
|
-
result = imul(result, 31) + hashCode(this.
|
|
80
|
+
var result = hashCode(this.z2b_1);
|
|
81
|
+
result = imul(result, 31) + hashCode(this.a2c_1) | 0;
|
|
79
82
|
var tmp = imul(result, 31);
|
|
80
83
|
var tmp_0;
|
|
81
|
-
var tmp_1 = this.
|
|
84
|
+
var tmp_1 = this.b2c_1;
|
|
82
85
|
if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
|
|
83
86
|
tmp_0 = 0;
|
|
84
87
|
} else {
|
|
85
|
-
tmp_0 = Output__hashCode_impl_m9q6pd(this.
|
|
88
|
+
tmp_0 = Output__hashCode_impl_m9q6pd(this.b2c_1);
|
|
86
89
|
}
|
|
87
90
|
result = tmp + tmp_0 | 0;
|
|
88
|
-
result = imul(result, 31) + hashCode(this.
|
|
89
|
-
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.
|
|
90
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
91
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
92
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
91
|
+
result = imul(result, 31) + hashCode(this.c2c_1) | 0;
|
|
92
|
+
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.d2c_1) | 0;
|
|
93
|
+
result = imul(result, 31) + getBooleanHashCode(this.e2c_1) | 0;
|
|
94
|
+
result = imul(result, 31) + getBooleanHashCode(this.f2c_1) | 0;
|
|
95
|
+
result = imul(result, 31) + getBooleanHashCode(this.g2c_1) | 0;
|
|
93
96
|
return result;
|
|
94
97
|
};
|
|
95
98
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -98,24 +101,24 @@
|
|
|
98
101
|
if (!(other instanceof CompilerArguments))
|
|
99
102
|
return false;
|
|
100
103
|
var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
|
|
101
|
-
if (!equals(this.
|
|
104
|
+
if (!equals(this.z2b_1, tmp0_other_with_cast.z2b_1))
|
|
102
105
|
return false;
|
|
103
|
-
if (!equals(this.
|
|
106
|
+
if (!equals(this.a2c_1, tmp0_other_with_cast.a2c_1))
|
|
104
107
|
return false;
|
|
105
|
-
var tmp = this.
|
|
108
|
+
var tmp = this.b2c_1;
|
|
106
109
|
var tmp_0 = tmp == null ? null : new Output(tmp);
|
|
107
|
-
var tmp_1 = tmp0_other_with_cast.
|
|
110
|
+
var tmp_1 = tmp0_other_with_cast.b2c_1;
|
|
108
111
|
if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
|
|
109
112
|
return false;
|
|
110
|
-
if (!equals(this.
|
|
113
|
+
if (!equals(this.c2c_1, tmp0_other_with_cast.c2c_1))
|
|
111
114
|
return false;
|
|
112
|
-
if (!(this.
|
|
115
|
+
if (!(this.d2c_1 === tmp0_other_with_cast.d2c_1))
|
|
113
116
|
return false;
|
|
114
|
-
if (!(this.
|
|
117
|
+
if (!(this.e2c_1 === tmp0_other_with_cast.e2c_1))
|
|
115
118
|
return false;
|
|
116
|
-
if (!(this.
|
|
119
|
+
if (!(this.f2c_1 === tmp0_other_with_cast.f2c_1))
|
|
117
120
|
return false;
|
|
118
|
-
if (!(this.
|
|
121
|
+
if (!(this.g2c_1 === tmp0_other_with_cast.g2c_1))
|
|
119
122
|
return false;
|
|
120
123
|
return true;
|
|
121
124
|
};
|
|
@@ -134,24 +137,24 @@
|
|
|
134
137
|
function PackageName__equals_impl_eo1xnn($this, other) {
|
|
135
138
|
if (!(other instanceof PackageName))
|
|
136
139
|
return false;
|
|
137
|
-
if (!($this === (other instanceof PackageName ? other.
|
|
140
|
+
if (!($this === (other instanceof PackageName ? other.h2c_1 : THROW_CCE())))
|
|
138
141
|
return false;
|
|
139
142
|
return true;
|
|
140
143
|
}
|
|
141
144
|
function PackageName(value) {
|
|
142
|
-
this.
|
|
145
|
+
this.h2c_1 = value;
|
|
143
146
|
}
|
|
144
|
-
protoOf(PackageName).
|
|
145
|
-
return _PackageName___get_value__impl__2zr98c(this.
|
|
147
|
+
protoOf(PackageName).b1 = function () {
|
|
148
|
+
return _PackageName___get_value__impl__2zr98c(this.h2c_1);
|
|
146
149
|
};
|
|
147
150
|
protoOf(PackageName).toString = function () {
|
|
148
|
-
return PackageName__toString_impl_pes5ww(this.
|
|
151
|
+
return PackageName__toString_impl_pes5ww(this.h2c_1);
|
|
149
152
|
};
|
|
150
153
|
protoOf(PackageName).hashCode = function () {
|
|
151
|
-
return PackageName__hashCode_impl_nv5z9d(this.
|
|
154
|
+
return PackageName__hashCode_impl_nv5z9d(this.h2c_1);
|
|
152
155
|
};
|
|
153
156
|
protoOf(PackageName).equals = function (other) {
|
|
154
|
-
return PackageName__equals_impl_eo1xnn(this.
|
|
157
|
+
return PackageName__equals_impl_eo1xnn(this.h2c_1, other);
|
|
155
158
|
};
|
|
156
159
|
function Compile() {
|
|
157
160
|
}
|
|
@@ -174,13 +177,13 @@
|
|
|
174
177
|
return Compile_instance;
|
|
175
178
|
}
|
|
176
179
|
function Convert(format) {
|
|
177
|
-
this.
|
|
180
|
+
this.i2c_1 = format;
|
|
178
181
|
}
|
|
179
182
|
protoOf(Convert).toString = function () {
|
|
180
|
-
return 'Convert(format=' + this.
|
|
183
|
+
return 'Convert(format=' + this.i2c_1.toString() + ')';
|
|
181
184
|
};
|
|
182
185
|
protoOf(Convert).hashCode = function () {
|
|
183
|
-
return this.
|
|
186
|
+
return this.i2c_1.hashCode();
|
|
184
187
|
};
|
|
185
188
|
protoOf(Convert).equals = function (other) {
|
|
186
189
|
if (this === other)
|
|
@@ -188,7 +191,7 @@
|
|
|
188
191
|
if (!(other instanceof Convert))
|
|
189
192
|
return false;
|
|
190
193
|
var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
|
|
191
|
-
if (!this.
|
|
194
|
+
if (!this.i2c_1.equals(tmp0_other_with_cast.i2c_1))
|
|
192
195
|
return false;
|
|
193
196
|
return true;
|
|
194
197
|
};
|
|
@@ -233,7 +236,7 @@
|
|
|
233
236
|
}
|
|
234
237
|
function Companion_0() {
|
|
235
238
|
}
|
|
236
|
-
protoOf(Companion_0).
|
|
239
|
+
protoOf(Companion_0).j2c = function (input) {
|
|
237
240
|
// Inline function 'kotlin.let' call
|
|
238
241
|
// Inline function 'kotlin.contracts.contract' call
|
|
239
242
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>' call
|
|
@@ -250,11 +253,11 @@
|
|
|
250
253
|
var tmp$ret$5;
|
|
251
254
|
$l$block: {
|
|
252
255
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
253
|
-
var tmp0_iterator = this_0.
|
|
254
|
-
while (tmp0_iterator.
|
|
255
|
-
var element = tmp0_iterator.
|
|
256
|
+
var tmp0_iterator = this_0.g();
|
|
257
|
+
while (tmp0_iterator.h()) {
|
|
258
|
+
var element = tmp0_iterator.i();
|
|
256
259
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
|
|
257
|
-
if (element.
|
|
260
|
+
if (element.m2c_1 === ext) {
|
|
258
261
|
tmp$ret$5 = element;
|
|
259
262
|
break $l$block;
|
|
260
263
|
}
|
|
@@ -270,8 +273,8 @@
|
|
|
270
273
|
tmp = tmp0_elvis_lhs;
|
|
271
274
|
}
|
|
272
275
|
var extension = tmp;
|
|
273
|
-
var filename = _FileName___init__impl__nzn12e(list.
|
|
274
|
-
var path = joinToString(list.
|
|
276
|
+
var filename = _FileName___init__impl__nzn12e(list.o(list.j() - 2 | 0));
|
|
277
|
+
var path = joinToString(list.w(0, list.j() - 2 | 0), '/');
|
|
275
278
|
return new FullFilePath(path, filename, extension);
|
|
276
279
|
};
|
|
277
280
|
var Companion_instance_0;
|
|
@@ -280,26 +283,26 @@
|
|
|
280
283
|
}
|
|
281
284
|
function FullFilePath(directory, fileName, extension) {
|
|
282
285
|
extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
+
this.n2c_1 = directory;
|
|
287
|
+
this.o2c_1 = fileName;
|
|
288
|
+
this.p2c_1 = extension;
|
|
286
289
|
}
|
|
287
290
|
protoOf(FullFilePath).toString = function () {
|
|
288
|
-
return this.
|
|
291
|
+
return this.n2c_1 + '/' + _FileName___get_value__impl__3u4cz6(this.o2c_1) + '.' + this.p2c_1.m2c_1;
|
|
289
292
|
};
|
|
290
|
-
protoOf(FullFilePath).
|
|
293
|
+
protoOf(FullFilePath).q2c = function (directory, fileName, extension) {
|
|
291
294
|
return new FullFilePath(directory, fileName, extension);
|
|
292
295
|
};
|
|
293
|
-
protoOf(FullFilePath).
|
|
294
|
-
directory = directory === VOID ? this.
|
|
295
|
-
fileName = fileName === VOID ? this.
|
|
296
|
-
extension = extension === VOID ? this.
|
|
297
|
-
return $super === VOID ? this.
|
|
296
|
+
protoOf(FullFilePath).r2c = function (directory, fileName, extension, $super) {
|
|
297
|
+
directory = directory === VOID ? this.n2c_1 : directory;
|
|
298
|
+
fileName = fileName === VOID ? this.o2c_1 : fileName;
|
|
299
|
+
extension = extension === VOID ? this.p2c_1 : extension;
|
|
300
|
+
return $super === VOID ? this.q2c(directory, fileName, extension) : $super.q2c.call(this, directory, new FileName(fileName), extension);
|
|
298
301
|
};
|
|
299
302
|
protoOf(FullFilePath).hashCode = function () {
|
|
300
|
-
var result = getStringHashCode(this.
|
|
301
|
-
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.
|
|
302
|
-
result = imul(result, 31) + this.
|
|
303
|
+
var result = getStringHashCode(this.n2c_1);
|
|
304
|
+
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.o2c_1) | 0;
|
|
305
|
+
result = imul(result, 31) + this.p2c_1.hashCode() | 0;
|
|
303
306
|
return result;
|
|
304
307
|
};
|
|
305
308
|
protoOf(FullFilePath).equals = function (other) {
|
|
@@ -308,11 +311,11 @@
|
|
|
308
311
|
if (!(other instanceof FullFilePath))
|
|
309
312
|
return false;
|
|
310
313
|
var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
|
|
311
|
-
if (!(this.
|
|
314
|
+
if (!(this.n2c_1 === tmp0_other_with_cast.n2c_1))
|
|
312
315
|
return false;
|
|
313
|
-
if (!(this.
|
|
316
|
+
if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
|
|
314
317
|
return false;
|
|
315
|
-
if (!this.
|
|
318
|
+
if (!this.p2c_1.equals(tmp0_other_with_cast.p2c_1))
|
|
316
319
|
return false;
|
|
317
320
|
return true;
|
|
318
321
|
};
|
|
@@ -331,31 +334,31 @@
|
|
|
331
334
|
function FileName__equals_impl_o96ox3($this, other) {
|
|
332
335
|
if (!(other instanceof FileName))
|
|
333
336
|
return false;
|
|
334
|
-
if (!($this === (other instanceof FileName ? other.
|
|
337
|
+
if (!($this === (other instanceof FileName ? other.s2c_1 : THROW_CCE())))
|
|
335
338
|
return false;
|
|
336
339
|
return true;
|
|
337
340
|
}
|
|
338
341
|
function FileName(value) {
|
|
339
|
-
this.
|
|
342
|
+
this.s2c_1 = value;
|
|
340
343
|
}
|
|
341
|
-
protoOf(FileName).
|
|
342
|
-
return _FileName___get_value__impl__3u4cz6(this.
|
|
344
|
+
protoOf(FileName).b1 = function () {
|
|
345
|
+
return _FileName___get_value__impl__3u4cz6(this.s2c_1);
|
|
343
346
|
};
|
|
344
347
|
protoOf(FileName).toString = function () {
|
|
345
|
-
return FileName__toString_impl_hn9m8q(this.
|
|
348
|
+
return FileName__toString_impl_hn9m8q(this.s2c_1);
|
|
346
349
|
};
|
|
347
350
|
protoOf(FileName).hashCode = function () {
|
|
348
|
-
return FileName__hashCode_impl_43wak5(this.
|
|
351
|
+
return FileName__hashCode_impl_43wak5(this.s2c_1);
|
|
349
352
|
};
|
|
350
353
|
protoOf(FileName).equals = function (other) {
|
|
351
|
-
return FileName__equals_impl_o96ox3(this.
|
|
354
|
+
return FileName__equals_impl_o96ox3(this.s2c_1, other);
|
|
352
355
|
};
|
|
353
356
|
function Console$read$lambda() {
|
|
354
357
|
return readlnOrNull();
|
|
355
358
|
}
|
|
356
359
|
function Console() {
|
|
357
360
|
}
|
|
358
|
-
protoOf(Console).
|
|
361
|
+
protoOf(Console).x19 = function () {
|
|
359
362
|
return joinToString_0(generateSequence(Console$read$lambda), '/n');
|
|
360
363
|
};
|
|
361
364
|
protoOf(Console).toString = function () {
|
|
@@ -377,13 +380,13 @@
|
|
|
377
380
|
return Console_instance;
|
|
378
381
|
}
|
|
379
382
|
function FullDirPath(path) {
|
|
380
|
-
this.
|
|
383
|
+
this.t2c_1 = path;
|
|
381
384
|
}
|
|
382
385
|
protoOf(FullDirPath).toString = function () {
|
|
383
|
-
return 'FullDirPath(path=' + this.
|
|
386
|
+
return 'FullDirPath(path=' + this.t2c_1 + ')';
|
|
384
387
|
};
|
|
385
388
|
protoOf(FullDirPath).hashCode = function () {
|
|
386
|
-
return getStringHashCode(this.
|
|
389
|
+
return getStringHashCode(this.t2c_1);
|
|
387
390
|
};
|
|
388
391
|
protoOf(FullDirPath).equals = function (other) {
|
|
389
392
|
if (this === other)
|
|
@@ -391,7 +394,7 @@
|
|
|
391
394
|
if (!(other instanceof FullDirPath))
|
|
392
395
|
return false;
|
|
393
396
|
var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
|
|
394
|
-
if (!(this.
|
|
397
|
+
if (!(this.t2c_1 === tmp0_other_with_cast.t2c_1))
|
|
395
398
|
return false;
|
|
396
399
|
return true;
|
|
397
400
|
};
|
|
@@ -402,18 +405,18 @@
|
|
|
402
405
|
var Language_Wirespec_instance;
|
|
403
406
|
function Companion_1() {
|
|
404
407
|
}
|
|
405
|
-
protoOf(Companion_1).
|
|
408
|
+
protoOf(Companion_1).u2c = function () {
|
|
406
409
|
// Inline function 'kotlin.collections.associateBy' call
|
|
407
410
|
var this_0 = get_entries_0();
|
|
408
411
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
409
412
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
410
413
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
411
|
-
var tmp0_iterator = this_0.
|
|
412
|
-
while (tmp0_iterator.
|
|
413
|
-
var element = tmp0_iterator.
|
|
414
|
+
var tmp0_iterator = this_0.g();
|
|
415
|
+
while (tmp0_iterator.h()) {
|
|
416
|
+
var element = tmp0_iterator.i();
|
|
414
417
|
// Inline function 'community.flock.wirespec.plugin.Companion.toMap.<anonymous>' call
|
|
415
|
-
var tmp$ret$0 = element.
|
|
416
|
-
destination.
|
|
418
|
+
var tmp$ret$0 = element.n2_1;
|
|
419
|
+
destination.k2(tmp$ret$0, element);
|
|
417
420
|
}
|
|
418
421
|
return destination;
|
|
419
422
|
};
|
|
@@ -476,10 +479,10 @@
|
|
|
476
479
|
var $ENTRIES_1;
|
|
477
480
|
function FileExtension(name, ordinal, value) {
|
|
478
481
|
Enum.call(this, name, ordinal);
|
|
479
|
-
this.
|
|
482
|
+
this.m2c_1 = value;
|
|
480
483
|
}
|
|
481
|
-
protoOf(FileExtension).
|
|
482
|
-
return this.
|
|
484
|
+
protoOf(FileExtension).b1 = function () {
|
|
485
|
+
return this.m2c_1;
|
|
483
486
|
};
|
|
484
487
|
function Language_Java_getInstance() {
|
|
485
488
|
Language_initEntries();
|
|
@@ -536,7 +539,7 @@
|
|
|
536
539
|
}
|
|
537
540
|
function Companion_2() {
|
|
538
541
|
}
|
|
539
|
-
protoOf(Companion_2).
|
|
542
|
+
protoOf(Companion_2).v2c = function (s) {
|
|
540
543
|
var tmp;
|
|
541
544
|
if (s == null) {
|
|
542
545
|
tmp = null;
|
|
@@ -557,24 +560,24 @@
|
|
|
557
560
|
function Output__equals_impl_7y48wd($this, other) {
|
|
558
561
|
if (!(other instanceof Output))
|
|
559
562
|
return false;
|
|
560
|
-
if (!($this === (other instanceof Output ? other.
|
|
563
|
+
if (!($this === (other instanceof Output ? other.w2c_1 : THROW_CCE())))
|
|
561
564
|
return false;
|
|
562
565
|
return true;
|
|
563
566
|
}
|
|
564
567
|
function Output(value) {
|
|
565
|
-
this.
|
|
568
|
+
this.w2c_1 = value;
|
|
566
569
|
}
|
|
567
|
-
protoOf(Output).
|
|
568
|
-
return _Output___get_value__impl__a8kw1g(this.
|
|
570
|
+
protoOf(Output).b1 = function () {
|
|
571
|
+
return _Output___get_value__impl__a8kw1g(this.w2c_1);
|
|
569
572
|
};
|
|
570
573
|
protoOf(Output).toString = function () {
|
|
571
|
-
return Output__toString_impl_r07ygw(this.
|
|
574
|
+
return Output__toString_impl_r07ygw(this.w2c_1);
|
|
572
575
|
};
|
|
573
576
|
protoOf(Output).hashCode = function () {
|
|
574
|
-
return Output__hashCode_impl_m9q6pd(this.
|
|
577
|
+
return Output__hashCode_impl_m9q6pd(this.w2c_1);
|
|
575
578
|
};
|
|
576
579
|
protoOf(Output).equals = function (other) {
|
|
577
|
-
return Output__equals_impl_7y48wd(this.
|
|
580
|
+
return Output__equals_impl_7y48wd(this.w2c_1, other);
|
|
578
581
|
};
|
|
579
582
|
//region block: init
|
|
580
583
|
Compile_instance = new Compile();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/CompilerArguments.kt","../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/Input.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/src/kotlin/util/Standard.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/
|
|
1
|
+
{"version":3,"sources":["../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/CompilerArguments.kt","../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/Input.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/src/kotlin/util/Standard.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/js/src/kotlin/text/stringJs.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/common/src/generated/_Collections.kt","../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/Language.kt","../../../../../src/plugin/arguments/src/commonMain/kotlin/community/flock/wirespec/plugin/Output.kt"],"sourcesContent":[null,null,null,null,null,null,null],"names":["<init>","operation","input","output","languages","packageName","shared","strict","debug","result","<PackageName__<init>-impl>","value","<PackageName__<get-value>-impl>","<get-value>","format","toString","values","<get-entries>","parse","list","element","extension","filename","path","directory","fileName","<FileName__<init>-impl>","<FileName__<get-value>-impl>","Console$read$lambda","read","toMap","capacity","<Output__<init>-impl>","<Output__<get-value>-impl>","Output__toString-impl","invoke","s"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAK4BA,CACxBC,S,EACAC,K,EACAC,M,EACAC,S,EACAC,W,EACAC,M,EACAC,M,EACAC,KARwBR,EAAA;A,IACxB,sB;IACA,kB;IACA,mB;IACA,sB;IACA,wB;IACA,mB;IACA,mB;IACA,kB;EARwB,C;oDAL5B;A,uBAAA,I,CAAA,K;yBAAA,I,CAAA,K;gBAAA,I,CAAA,K;IAAA,sU;EAAA,C;oDAAA;A,QAAAS,6B;IAAA,oD;cAAA,gB;;gBAAA,I,CAAA,K;IAAA,uD;cAAA,C;;cAAA,wC;;IAAA,wB;IAAA,oD;IAAA,6E;IAAA,8D;IAAA,8D;IAAA,8D;IAAA,a;EAAA,C;uDAAA;A,IAAA,mB;MAAA,W;IAAA,0C;MAAA,Y;QAAA,+E;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;cAAA,I,CAAA,K;;gBAAA,oB,CAAA,K;IAAA,6D;MAA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