@flock/wirespec 0.9.28 → 0.10.0
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-atomic.js +2 -2
- package/arrow-arrow-continuations.js +1 -1
- package/arrow-arrow-core.js +18 -18
- package/clikt-clikt.js +1253 -1253
- package/colormath-root-colormath.js +458 -458
- package/kotlin-kotlin-stdlib.js +269 -250
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +26 -26
- package/kotlin-rgxgen.js +1818 -1818
- package/kotlinx-serialization-kotlinx-serialization-core.js +74 -74
- package/kotlinx-serialization-kotlinx-serialization-json.js +78 -78
- package/markdown.js +1941 -1941
- package/mordant-mordant.js +1712 -1712
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2893 -1996
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +352 -350
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +340 -340
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +109 -103
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +233 -187
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +26 -26
- package/wirespec-src-tools-generator.js +36 -36
- package/wirespec-src-tools-generator.js.map +1 -1
|
@@ -13,33 +13,33 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
20
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
21
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
24
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
16
|
+
var toString = kotlin_kotlin.$_$.za;
|
|
17
|
+
var toString_0 = kotlin_kotlin.$_$.eg;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.va;
|
|
19
|
+
var hashCode = kotlin_kotlin.$_$.u9;
|
|
20
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.q9;
|
|
21
|
+
var THROW_CCE = kotlin_kotlin.$_$.gf;
|
|
22
|
+
var equals = kotlin_kotlin.$_$.o9;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.v9;
|
|
24
|
+
var getStringHashCode = kotlin_kotlin.$_$.t9;
|
|
25
|
+
var initMetadataForObject = kotlin_kotlin.$_$.aa;
|
|
26
26
|
var joinToString = kotlin_kotlin.$_$.r6;
|
|
27
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
28
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
27
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.w9;
|
|
28
|
+
var enumEntries = kotlin_kotlin.$_$.z8;
|
|
29
29
|
var Unit_instance = kotlin_kotlin.$_$.g4;
|
|
30
|
-
var Enum = kotlin_kotlin.$_$.
|
|
30
|
+
var Enum = kotlin_kotlin.$_$.we;
|
|
31
31
|
var VOID = kotlin_kotlin.$_$.g;
|
|
32
|
-
var split = kotlin_kotlin.$_$.
|
|
32
|
+
var split = kotlin_kotlin.$_$.md;
|
|
33
33
|
var dropLast = kotlin_kotlin.$_$.y5;
|
|
34
34
|
var last = kotlin_kotlin.$_$.c7;
|
|
35
|
-
var plus = kotlin_kotlin.$_$.
|
|
35
|
+
var plus = kotlin_kotlin.$_$.q7;
|
|
36
36
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
37
|
-
var readlnOrNull = kotlin_kotlin.$_$.
|
|
38
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
39
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
37
|
+
var readlnOrNull = kotlin_kotlin.$_$.d9;
|
|
38
|
+
var generateSequence = kotlin_kotlin.$_$.vb;
|
|
39
|
+
var joinToString_0 = kotlin_kotlin.$_$.wb;
|
|
40
40
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
41
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
42
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
41
|
+
var mapCapacity = kotlin_kotlin.$_$.h7;
|
|
42
|
+
var coerceAtLeast = kotlin_kotlin.$_$.gb;
|
|
43
43
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
44
44
|
//endregion
|
|
45
45
|
//region block: pre-declaration
|
|
@@ -60,39 +60,39 @@
|
|
|
60
60
|
initMetadataForCompanion(Companion_2);
|
|
61
61
|
initMetadataForClass(Output, 'Output');
|
|
62
62
|
//endregion
|
|
63
|
-
function CompilerArguments(operation, input, output, languages, packageName, shared, strict
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
63
|
+
function CompilerArguments(operation, input, output, languages, packageName, logLevel, shared, strict) {
|
|
64
|
+
this.c2e_1 = operation;
|
|
65
|
+
this.d2e_1 = input;
|
|
66
|
+
this.e2e_1 = output;
|
|
67
|
+
this.f2e_1 = languages;
|
|
68
|
+
this.g2e_1 = packageName;
|
|
69
|
+
this.h2e_1 = logLevel;
|
|
70
|
+
this.i2e_1 = shared;
|
|
71
|
+
this.j2e_1 = strict;
|
|
72
72
|
}
|
|
73
73
|
protoOf(CompilerArguments).toString = function () {
|
|
74
|
-
var tmp = toString(this.
|
|
75
|
-
var tmp_0 = toString(this.
|
|
76
|
-
var tmp_1 = this.
|
|
77
|
-
return 'CompilerArguments(operation=' + tmp + ', input=' + tmp_0 + ', output=' + toString_0(tmp_1 == null ? null : new Output(tmp_1)) + ', languages=' + toString(this.
|
|
74
|
+
var tmp = toString(this.c2e_1);
|
|
75
|
+
var tmp_0 = toString(this.d2e_1);
|
|
76
|
+
var tmp_1 = this.e2e_1;
|
|
77
|
+
return 'CompilerArguments(operation=' + tmp + ', input=' + tmp_0 + ', output=' + toString_0(tmp_1 == null ? null : new Output(tmp_1)) + ', languages=' + toString(this.f2e_1) + ', packageName=' + PackageName__toString_impl_pes5ww(this.g2e_1) + ', logLevel=' + this.h2e_1.toString() + ', shared=' + this.i2e_1 + ', strict=' + this.j2e_1 + ')';
|
|
78
78
|
};
|
|
79
79
|
protoOf(CompilerArguments).hashCode = function () {
|
|
80
|
-
var result = hashCode(this.
|
|
81
|
-
result = imul(result, 31) + hashCode(this.
|
|
80
|
+
var result = hashCode(this.c2e_1);
|
|
81
|
+
result = imul(result, 31) + hashCode(this.d2e_1) | 0;
|
|
82
82
|
var tmp = imul(result, 31);
|
|
83
83
|
var tmp_0;
|
|
84
|
-
var tmp_1 = this.
|
|
84
|
+
var tmp_1 = this.e2e_1;
|
|
85
85
|
if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
|
|
86
86
|
tmp_0 = 0;
|
|
87
87
|
} else {
|
|
88
|
-
tmp_0 = Output__hashCode_impl_m9q6pd(this.
|
|
88
|
+
tmp_0 = Output__hashCode_impl_m9q6pd(this.e2e_1);
|
|
89
89
|
}
|
|
90
90
|
result = tmp + tmp_0 | 0;
|
|
91
|
-
result = imul(result, 31) + hashCode(this.
|
|
92
|
-
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.
|
|
93
|
-
result = imul(result, 31) +
|
|
94
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
95
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
91
|
+
result = imul(result, 31) + hashCode(this.f2e_1) | 0;
|
|
92
|
+
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.g2e_1) | 0;
|
|
93
|
+
result = imul(result, 31) + this.h2e_1.hashCode() | 0;
|
|
94
|
+
result = imul(result, 31) + getBooleanHashCode(this.i2e_1) | 0;
|
|
95
|
+
result = imul(result, 31) + getBooleanHashCode(this.j2e_1) | 0;
|
|
96
96
|
return result;
|
|
97
97
|
};
|
|
98
98
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -101,24 +101,24 @@
|
|
|
101
101
|
if (!(other instanceof CompilerArguments))
|
|
102
102
|
return false;
|
|
103
103
|
var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
|
|
104
|
-
if (!equals(this.
|
|
104
|
+
if (!equals(this.c2e_1, tmp0_other_with_cast.c2e_1))
|
|
105
105
|
return false;
|
|
106
|
-
if (!equals(this.
|
|
106
|
+
if (!equals(this.d2e_1, tmp0_other_with_cast.d2e_1))
|
|
107
107
|
return false;
|
|
108
|
-
var tmp = this.
|
|
108
|
+
var tmp = this.e2e_1;
|
|
109
109
|
var tmp_0 = tmp == null ? null : new Output(tmp);
|
|
110
|
-
var tmp_1 = tmp0_other_with_cast.
|
|
110
|
+
var tmp_1 = tmp0_other_with_cast.e2e_1;
|
|
111
111
|
if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
|
|
112
112
|
return false;
|
|
113
|
-
if (!equals(this.
|
|
113
|
+
if (!equals(this.f2e_1, tmp0_other_with_cast.f2e_1))
|
|
114
114
|
return false;
|
|
115
|
-
if (!(this.
|
|
115
|
+
if (!(this.g2e_1 === tmp0_other_with_cast.g2e_1))
|
|
116
116
|
return false;
|
|
117
|
-
if (!
|
|
117
|
+
if (!this.h2e_1.equals(tmp0_other_with_cast.h2e_1))
|
|
118
118
|
return false;
|
|
119
|
-
if (!(this.
|
|
119
|
+
if (!(this.i2e_1 === tmp0_other_with_cast.i2e_1))
|
|
120
120
|
return false;
|
|
121
|
-
if (!(this.
|
|
121
|
+
if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
|
|
122
122
|
return false;
|
|
123
123
|
return true;
|
|
124
124
|
};
|
|
@@ -137,24 +137,24 @@
|
|
|
137
137
|
function PackageName__equals_impl_eo1xnn($this, other) {
|
|
138
138
|
if (!(other instanceof PackageName))
|
|
139
139
|
return false;
|
|
140
|
-
if (!($this === (other instanceof PackageName ? other.
|
|
140
|
+
if (!($this === (other instanceof PackageName ? other.k2e_1 : THROW_CCE())))
|
|
141
141
|
return false;
|
|
142
142
|
return true;
|
|
143
143
|
}
|
|
144
144
|
function PackageName(value) {
|
|
145
|
-
this.
|
|
145
|
+
this.k2e_1 = value;
|
|
146
146
|
}
|
|
147
147
|
protoOf(PackageName).b1 = function () {
|
|
148
|
-
return _PackageName___get_value__impl__2zr98c(this.
|
|
148
|
+
return _PackageName___get_value__impl__2zr98c(this.k2e_1);
|
|
149
149
|
};
|
|
150
150
|
protoOf(PackageName).toString = function () {
|
|
151
|
-
return PackageName__toString_impl_pes5ww(this.
|
|
151
|
+
return PackageName__toString_impl_pes5ww(this.k2e_1);
|
|
152
152
|
};
|
|
153
153
|
protoOf(PackageName).hashCode = function () {
|
|
154
|
-
return PackageName__hashCode_impl_nv5z9d(this.
|
|
154
|
+
return PackageName__hashCode_impl_nv5z9d(this.k2e_1);
|
|
155
155
|
};
|
|
156
156
|
protoOf(PackageName).equals = function (other) {
|
|
157
|
-
return PackageName__equals_impl_eo1xnn(this.
|
|
157
|
+
return PackageName__equals_impl_eo1xnn(this.k2e_1, other);
|
|
158
158
|
};
|
|
159
159
|
function Compile() {
|
|
160
160
|
}
|
|
@@ -177,13 +177,13 @@
|
|
|
177
177
|
return Compile_instance;
|
|
178
178
|
}
|
|
179
179
|
function Convert(format) {
|
|
180
|
-
this.
|
|
180
|
+
this.l2e_1 = format;
|
|
181
181
|
}
|
|
182
182
|
protoOf(Convert).toString = function () {
|
|
183
|
-
return 'Convert(format=' + this.
|
|
183
|
+
return 'Convert(format=' + this.l2e_1.toString() + ')';
|
|
184
184
|
};
|
|
185
185
|
protoOf(Convert).hashCode = function () {
|
|
186
|
-
return this.
|
|
186
|
+
return this.l2e_1.hashCode();
|
|
187
187
|
};
|
|
188
188
|
protoOf(Convert).equals = function (other) {
|
|
189
189
|
if (this === other)
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
if (!(other instanceof Convert))
|
|
192
192
|
return false;
|
|
193
193
|
var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
|
|
194
|
-
if (!this.
|
|
194
|
+
if (!this.l2e_1.equals(tmp0_other_with_cast.l2e_1))
|
|
195
195
|
return false;
|
|
196
196
|
return true;
|
|
197
197
|
};
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
}
|
|
237
237
|
function Companion_0() {
|
|
238
238
|
}
|
|
239
|
-
protoOf(Companion_0).
|
|
239
|
+
protoOf(Companion_0).m2e = function (input) {
|
|
240
240
|
// Inline function 'kotlin.let' call
|
|
241
241
|
// Inline function 'kotlin.contracts.contract' call
|
|
242
242
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>' call
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
while (tmp0_iterator.h()) {
|
|
258
258
|
var element = tmp0_iterator.i();
|
|
259
259
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
|
|
260
|
-
if (element.
|
|
260
|
+
if (element.p2e_1 === ext) {
|
|
261
261
|
tmp$ret$5 = element;
|
|
262
262
|
break $l$block;
|
|
263
263
|
}
|
|
@@ -283,26 +283,26 @@
|
|
|
283
283
|
}
|
|
284
284
|
function FullFilePath(directory, fileName, extension) {
|
|
285
285
|
extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
286
|
+
this.q2e_1 = directory;
|
|
287
|
+
this.r2e_1 = fileName;
|
|
288
|
+
this.s2e_1 = extension;
|
|
289
289
|
}
|
|
290
290
|
protoOf(FullFilePath).toString = function () {
|
|
291
|
-
return this.
|
|
291
|
+
return this.q2e_1 + '/' + _FileName___get_value__impl__3u4cz6(this.r2e_1) + '.' + this.s2e_1.p2e_1;
|
|
292
292
|
};
|
|
293
|
-
protoOf(FullFilePath).
|
|
293
|
+
protoOf(FullFilePath).t2e = function (directory, fileName, extension) {
|
|
294
294
|
return new FullFilePath(directory, fileName, extension);
|
|
295
295
|
};
|
|
296
|
-
protoOf(FullFilePath).
|
|
297
|
-
directory = directory === VOID ? this.
|
|
298
|
-
fileName = fileName === VOID ? this.
|
|
299
|
-
extension = extension === VOID ? this.
|
|
300
|
-
return $super === VOID ? this.
|
|
296
|
+
protoOf(FullFilePath).u2e = function (directory, fileName, extension, $super) {
|
|
297
|
+
directory = directory === VOID ? this.q2e_1 : directory;
|
|
298
|
+
fileName = fileName === VOID ? this.r2e_1 : fileName;
|
|
299
|
+
extension = extension === VOID ? this.s2e_1 : extension;
|
|
300
|
+
return $super === VOID ? this.t2e(directory, fileName, extension) : $super.t2e.call(this, directory, new FileName(fileName), extension);
|
|
301
301
|
};
|
|
302
302
|
protoOf(FullFilePath).hashCode = function () {
|
|
303
|
-
var result = getStringHashCode(this.
|
|
304
|
-
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.
|
|
305
|
-
result = imul(result, 31) + this.
|
|
303
|
+
var result = getStringHashCode(this.q2e_1);
|
|
304
|
+
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.r2e_1) | 0;
|
|
305
|
+
result = imul(result, 31) + this.s2e_1.hashCode() | 0;
|
|
306
306
|
return result;
|
|
307
307
|
};
|
|
308
308
|
protoOf(FullFilePath).equals = function (other) {
|
|
@@ -311,11 +311,11 @@
|
|
|
311
311
|
if (!(other instanceof FullFilePath))
|
|
312
312
|
return false;
|
|
313
313
|
var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
|
|
314
|
-
if (!(this.
|
|
314
|
+
if (!(this.q2e_1 === tmp0_other_with_cast.q2e_1))
|
|
315
315
|
return false;
|
|
316
|
-
if (!(this.
|
|
316
|
+
if (!(this.r2e_1 === tmp0_other_with_cast.r2e_1))
|
|
317
317
|
return false;
|
|
318
|
-
if (!this.
|
|
318
|
+
if (!this.s2e_1.equals(tmp0_other_with_cast.s2e_1))
|
|
319
319
|
return false;
|
|
320
320
|
return true;
|
|
321
321
|
};
|
|
@@ -334,24 +334,24 @@
|
|
|
334
334
|
function FileName__equals_impl_o96ox3($this, other) {
|
|
335
335
|
if (!(other instanceof FileName))
|
|
336
336
|
return false;
|
|
337
|
-
if (!($this === (other instanceof FileName ? other.
|
|
337
|
+
if (!($this === (other instanceof FileName ? other.v2e_1 : THROW_CCE())))
|
|
338
338
|
return false;
|
|
339
339
|
return true;
|
|
340
340
|
}
|
|
341
341
|
function FileName(value) {
|
|
342
|
-
this.
|
|
342
|
+
this.v2e_1 = value;
|
|
343
343
|
}
|
|
344
344
|
protoOf(FileName).b1 = function () {
|
|
345
|
-
return _FileName___get_value__impl__3u4cz6(this.
|
|
345
|
+
return _FileName___get_value__impl__3u4cz6(this.v2e_1);
|
|
346
346
|
};
|
|
347
347
|
protoOf(FileName).toString = function () {
|
|
348
|
-
return FileName__toString_impl_hn9m8q(this.
|
|
348
|
+
return FileName__toString_impl_hn9m8q(this.v2e_1);
|
|
349
349
|
};
|
|
350
350
|
protoOf(FileName).hashCode = function () {
|
|
351
|
-
return FileName__hashCode_impl_43wak5(this.
|
|
351
|
+
return FileName__hashCode_impl_43wak5(this.v2e_1);
|
|
352
352
|
};
|
|
353
353
|
protoOf(FileName).equals = function (other) {
|
|
354
|
-
return FileName__equals_impl_o96ox3(this.
|
|
354
|
+
return FileName__equals_impl_o96ox3(this.v2e_1, other);
|
|
355
355
|
};
|
|
356
356
|
function Console$read$lambda() {
|
|
357
357
|
return readlnOrNull();
|
|
@@ -380,13 +380,13 @@
|
|
|
380
380
|
return Console_instance;
|
|
381
381
|
}
|
|
382
382
|
function FullDirPath(path) {
|
|
383
|
-
this.
|
|
383
|
+
this.w2e_1 = path;
|
|
384
384
|
}
|
|
385
385
|
protoOf(FullDirPath).toString = function () {
|
|
386
|
-
return 'FullDirPath(path=' + this.
|
|
386
|
+
return 'FullDirPath(path=' + this.w2e_1 + ')';
|
|
387
387
|
};
|
|
388
388
|
protoOf(FullDirPath).hashCode = function () {
|
|
389
|
-
return getStringHashCode(this.
|
|
389
|
+
return getStringHashCode(this.w2e_1);
|
|
390
390
|
};
|
|
391
391
|
protoOf(FullDirPath).equals = function (other) {
|
|
392
392
|
if (this === other)
|
|
@@ -394,18 +394,19 @@
|
|
|
394
394
|
if (!(other instanceof FullDirPath))
|
|
395
395
|
return false;
|
|
396
396
|
var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
|
|
397
|
-
if (!(this.
|
|
397
|
+
if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
|
|
398
398
|
return false;
|
|
399
399
|
return true;
|
|
400
400
|
};
|
|
401
401
|
var Language_Java_instance;
|
|
402
402
|
var Language_Kotlin_instance;
|
|
403
|
+
var Language_KotlinLegacy_instance;
|
|
403
404
|
var Language_Scala_instance;
|
|
404
405
|
var Language_TypeScript_instance;
|
|
405
406
|
var Language_Wirespec_instance;
|
|
406
407
|
function Companion_1() {
|
|
407
408
|
}
|
|
408
|
-
protoOf(Companion_1).
|
|
409
|
+
protoOf(Companion_1).x2e = function () {
|
|
409
410
|
// Inline function 'kotlin.collections.associateBy' call
|
|
410
411
|
var this_0 = get_entries_0();
|
|
411
412
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
@@ -428,7 +429,7 @@
|
|
|
428
429
|
return Companion_instance_1;
|
|
429
430
|
}
|
|
430
431
|
function values_0() {
|
|
431
|
-
return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_Scala_getInstance(), Language_TypeScript_getInstance(), Language_Wirespec_getInstance()];
|
|
432
|
+
return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_KotlinLegacy_getInstance(), Language_Scala_getInstance(), Language_TypeScript_getInstance(), Language_Wirespec_getInstance()];
|
|
432
433
|
}
|
|
433
434
|
function get_entries_0() {
|
|
434
435
|
if ($ENTRIES_0 == null)
|
|
@@ -442,9 +443,10 @@
|
|
|
442
443
|
Language_entriesInitialized = true;
|
|
443
444
|
Language_Java_instance = new Language('Java', 0);
|
|
444
445
|
Language_Kotlin_instance = new Language('Kotlin', 1);
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
Language_KotlinLegacy_instance = new Language('KotlinLegacy', 2);
|
|
447
|
+
Language_Scala_instance = new Language('Scala', 3);
|
|
448
|
+
Language_TypeScript_instance = new Language('TypeScript', 4);
|
|
449
|
+
Language_Wirespec_instance = new Language('Wirespec', 5);
|
|
448
450
|
}
|
|
449
451
|
var $ENTRIES_0;
|
|
450
452
|
function Language(name, ordinal) {
|
|
@@ -479,10 +481,10 @@
|
|
|
479
481
|
var $ENTRIES_1;
|
|
480
482
|
function FileExtension(name, ordinal, value) {
|
|
481
483
|
Enum.call(this, name, ordinal);
|
|
482
|
-
this.
|
|
484
|
+
this.p2e_1 = value;
|
|
483
485
|
}
|
|
484
486
|
protoOf(FileExtension).b1 = function () {
|
|
485
|
-
return this.
|
|
487
|
+
return this.p2e_1;
|
|
486
488
|
};
|
|
487
489
|
function Language_Java_getInstance() {
|
|
488
490
|
Language_initEntries();
|
|
@@ -492,6 +494,10 @@
|
|
|
492
494
|
Language_initEntries();
|
|
493
495
|
return Language_Kotlin_instance;
|
|
494
496
|
}
|
|
497
|
+
function Language_KotlinLegacy_getInstance() {
|
|
498
|
+
Language_initEntries();
|
|
499
|
+
return Language_KotlinLegacy_instance;
|
|
500
|
+
}
|
|
495
501
|
function Language_Scala_getInstance() {
|
|
496
502
|
Language_initEntries();
|
|
497
503
|
return Language_Scala_instance;
|
|
@@ -539,7 +545,7 @@
|
|
|
539
545
|
}
|
|
540
546
|
function Companion_2() {
|
|
541
547
|
}
|
|
542
|
-
protoOf(Companion_2).
|
|
548
|
+
protoOf(Companion_2).y2e = function (s) {
|
|
543
549
|
var tmp;
|
|
544
550
|
if (s == null) {
|
|
545
551
|
tmp = null;
|
|
@@ -560,24 +566,24 @@
|
|
|
560
566
|
function Output__equals_impl_7y48wd($this, other) {
|
|
561
567
|
if (!(other instanceof Output))
|
|
562
568
|
return false;
|
|
563
|
-
if (!($this === (other instanceof Output ? other.
|
|
569
|
+
if (!($this === (other instanceof Output ? other.z2e_1 : THROW_CCE())))
|
|
564
570
|
return false;
|
|
565
571
|
return true;
|
|
566
572
|
}
|
|
567
573
|
function Output(value) {
|
|
568
|
-
this.
|
|
574
|
+
this.z2e_1 = value;
|
|
569
575
|
}
|
|
570
576
|
protoOf(Output).b1 = function () {
|
|
571
|
-
return _Output___get_value__impl__a8kw1g(this.
|
|
577
|
+
return _Output___get_value__impl__a8kw1g(this.z2e_1);
|
|
572
578
|
};
|
|
573
579
|
protoOf(Output).toString = function () {
|
|
574
|
-
return Output__toString_impl_r07ygw(this.
|
|
580
|
+
return Output__toString_impl_r07ygw(this.z2e_1);
|
|
575
581
|
};
|
|
576
582
|
protoOf(Output).hashCode = function () {
|
|
577
|
-
return Output__hashCode_impl_m9q6pd(this.
|
|
583
|
+
return Output__hashCode_impl_m9q6pd(this.z2e_1);
|
|
578
584
|
};
|
|
579
585
|
protoOf(Output).equals = function (other) {
|
|
580
|
-
return Output__equals_impl_7y48wd(this.
|
|
586
|
+
return Output__equals_impl_7y48wd(this.z2e_1, other);
|
|
581
587
|
};
|
|
582
588
|
//region block: init
|
|
583
589
|
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/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","
|
|
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","logLevel","shared","strict","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAM4BA,CACxBC,S,EACAC,K,EACAC,M,EACAC,S,EACAC,W,EACAC,Q,EACAC,M,EACAC,MARwBR,EAAA;A,IACxB,sB;IACA,kB;IACA,mB;IACA,sB;IACA,wB;I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