@flock/wirespec 0.8.52 → 0.8.53
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/clikt-clikt.js +1162 -1162
- package/colormath-root-colormath.js +366 -366
- package/kotlin-kotlin-stdlib-js-ir.js +19 -19
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/markdown.js +1848 -1848
- package/mordant-mordant.js +1607 -1607
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2361 -2420
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +227 -218
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +193 -193
- package/wirespec-src-plugin-arguments.js +50 -50
- package/wirespec-src-plugin-cli.js +108 -108
- package/wirespec-src-plugin-npm.js +4 -4
|
@@ -59,25 +59,25 @@
|
|
|
59
59
|
setMetadataFor(FileExtension, 'FileExtension', classMeta, Enum);
|
|
60
60
|
//endregion
|
|
61
61
|
function CompilerArguments(operation, input, output, languages, packageName, strict, debug) {
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
62
|
+
this.l21_1 = operation;
|
|
63
|
+
this.m21_1 = input;
|
|
64
|
+
this.n21_1 = output;
|
|
65
|
+
this.o21_1 = languages;
|
|
66
|
+
this.p21_1 = packageName;
|
|
67
|
+
this.q21_1 = strict;
|
|
68
|
+
this.r21_1 = debug;
|
|
69
69
|
}
|
|
70
70
|
protoOf(CompilerArguments).toString = function () {
|
|
71
|
-
return 'CompilerArguments(operation=' + this.
|
|
71
|
+
return 'CompilerArguments(operation=' + this.l21_1 + ', input=' + this.m21_1 + ', output=' + this.n21_1 + ', languages=' + this.o21_1 + ', packageName=' + this.p21_1 + ', strict=' + this.q21_1 + ', debug=' + this.r21_1 + ')';
|
|
72
72
|
};
|
|
73
73
|
protoOf(CompilerArguments).hashCode = function () {
|
|
74
|
-
var result = hashCode(this.
|
|
75
|
-
result = imul(result, 31) + hashCode(this.
|
|
76
|
-
result = imul(result, 31) + (this.
|
|
77
|
-
result = imul(result, 31) + hashCode(this.
|
|
78
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
79
|
-
result = imul(result, 31) + (this.
|
|
80
|
-
result = imul(result, 31) + (this.
|
|
74
|
+
var result = hashCode(this.l21_1);
|
|
75
|
+
result = imul(result, 31) + hashCode(this.m21_1) | 0;
|
|
76
|
+
result = imul(result, 31) + (this.n21_1 == null ? 0 : getStringHashCode(this.n21_1)) | 0;
|
|
77
|
+
result = imul(result, 31) + hashCode(this.o21_1) | 0;
|
|
78
|
+
result = imul(result, 31) + getStringHashCode(this.p21_1) | 0;
|
|
79
|
+
result = imul(result, 31) + (this.q21_1 | 0) | 0;
|
|
80
|
+
result = imul(result, 31) + (this.r21_1 | 0) | 0;
|
|
81
81
|
return result;
|
|
82
82
|
};
|
|
83
83
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
if (!(other instanceof CompilerArguments))
|
|
87
87
|
return false;
|
|
88
88
|
var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
|
|
89
|
-
if (!equals(this.
|
|
89
|
+
if (!equals(this.l21_1, tmp0_other_with_cast.l21_1))
|
|
90
90
|
return false;
|
|
91
|
-
if (!equals(this.
|
|
91
|
+
if (!equals(this.m21_1, tmp0_other_with_cast.m21_1))
|
|
92
92
|
return false;
|
|
93
|
-
if (!(this.
|
|
93
|
+
if (!(this.n21_1 == tmp0_other_with_cast.n21_1))
|
|
94
94
|
return false;
|
|
95
|
-
if (!equals(this.
|
|
95
|
+
if (!equals(this.o21_1, tmp0_other_with_cast.o21_1))
|
|
96
96
|
return false;
|
|
97
|
-
if (!(this.
|
|
97
|
+
if (!(this.p21_1 === tmp0_other_with_cast.p21_1))
|
|
98
98
|
return false;
|
|
99
|
-
if (!(this.
|
|
99
|
+
if (!(this.q21_1 === tmp0_other_with_cast.q21_1))
|
|
100
100
|
return false;
|
|
101
|
-
if (!(this.
|
|
101
|
+
if (!(this.r21_1 === tmp0_other_with_cast.r21_1))
|
|
102
102
|
return false;
|
|
103
103
|
return true;
|
|
104
104
|
};
|
|
@@ -126,13 +126,13 @@
|
|
|
126
126
|
return Compile_instance;
|
|
127
127
|
}
|
|
128
128
|
function Convert(format) {
|
|
129
|
-
this.
|
|
129
|
+
this.s21_1 = format;
|
|
130
130
|
}
|
|
131
131
|
protoOf(Convert).toString = function () {
|
|
132
|
-
return 'Convert(format=' + this.
|
|
132
|
+
return 'Convert(format=' + this.s21_1 + ')';
|
|
133
133
|
};
|
|
134
134
|
protoOf(Convert).hashCode = function () {
|
|
135
|
-
return this.
|
|
135
|
+
return this.s21_1.hashCode();
|
|
136
136
|
};
|
|
137
137
|
protoOf(Convert).equals = function (other) {
|
|
138
138
|
if (this === other)
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
if (!(other instanceof Convert))
|
|
141
141
|
return false;
|
|
142
142
|
var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
|
|
143
|
-
if (!this.
|
|
143
|
+
if (!this.s21_1.equals(tmp0_other_with_cast.s21_1))
|
|
144
144
|
return false;
|
|
145
145
|
return true;
|
|
146
146
|
};
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
function Companion_0() {
|
|
192
192
|
Companion_instance_0 = this;
|
|
193
193
|
}
|
|
194
|
-
protoOf(Companion_0).
|
|
194
|
+
protoOf(Companion_0).t21 = function (input) {
|
|
195
195
|
// Inline function 'kotlin.let' call
|
|
196
196
|
var tmp0_let = split(input, ['/']);
|
|
197
197
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
while (tmp0_iterator.d()) {
|
|
213
213
|
var element = tmp0_iterator.e();
|
|
214
214
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
|
|
215
|
-
if (element.
|
|
215
|
+
if (element.w21_1 === tmp2_let) {
|
|
216
216
|
tmp$ret$5 = element;
|
|
217
217
|
break $l$block;
|
|
218
218
|
}
|
|
@@ -240,26 +240,26 @@
|
|
|
240
240
|
function FullFilePath(directory, fileName, extension) {
|
|
241
241
|
Companion_getInstance_0();
|
|
242
242
|
extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
243
|
+
this.x21_1 = directory;
|
|
244
|
+
this.y21_1 = fileName;
|
|
245
|
+
this.z21_1 = extension;
|
|
246
246
|
}
|
|
247
247
|
protoOf(FullFilePath).toString = function () {
|
|
248
|
-
return this.
|
|
248
|
+
return this.x21_1 + '/' + this.y21_1 + '.' + this.z21_1.w21_1;
|
|
249
249
|
};
|
|
250
|
-
protoOf(FullFilePath).
|
|
250
|
+
protoOf(FullFilePath).a22 = function (directory, fileName, extension) {
|
|
251
251
|
return new FullFilePath(directory, fileName, extension);
|
|
252
252
|
};
|
|
253
|
-
protoOf(FullFilePath).
|
|
254
|
-
directory = directory === VOID ? this.
|
|
255
|
-
fileName = fileName === VOID ? this.
|
|
256
|
-
extension = extension === VOID ? this.
|
|
257
|
-
return $super === VOID ? this.
|
|
253
|
+
protoOf(FullFilePath).b22 = function (directory, fileName, extension, $super) {
|
|
254
|
+
directory = directory === VOID ? this.x21_1 : directory;
|
|
255
|
+
fileName = fileName === VOID ? this.y21_1 : fileName;
|
|
256
|
+
extension = extension === VOID ? this.z21_1 : extension;
|
|
257
|
+
return $super === VOID ? this.a22(directory, fileName, extension) : $super.a22.call(this, directory, fileName, extension);
|
|
258
258
|
};
|
|
259
259
|
protoOf(FullFilePath).hashCode = function () {
|
|
260
|
-
var result = getStringHashCode(this.
|
|
261
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
262
|
-
result = imul(result, 31) + this.
|
|
260
|
+
var result = getStringHashCode(this.x21_1);
|
|
261
|
+
result = imul(result, 31) + getStringHashCode(this.y21_1) | 0;
|
|
262
|
+
result = imul(result, 31) + this.z21_1.hashCode() | 0;
|
|
263
263
|
return result;
|
|
264
264
|
};
|
|
265
265
|
protoOf(FullFilePath).equals = function (other) {
|
|
@@ -268,11 +268,11 @@
|
|
|
268
268
|
if (!(other instanceof FullFilePath))
|
|
269
269
|
return false;
|
|
270
270
|
var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
|
|
271
|
-
if (!(this.
|
|
271
|
+
if (!(this.x21_1 === tmp0_other_with_cast.x21_1))
|
|
272
272
|
return false;
|
|
273
|
-
if (!(this.
|
|
273
|
+
if (!(this.y21_1 === tmp0_other_with_cast.y21_1))
|
|
274
274
|
return false;
|
|
275
|
-
if (!this.
|
|
275
|
+
if (!this.z21_1.equals(tmp0_other_with_cast.z21_1))
|
|
276
276
|
return false;
|
|
277
277
|
return true;
|
|
278
278
|
};
|
|
@@ -306,13 +306,13 @@
|
|
|
306
306
|
return Console_instance;
|
|
307
307
|
}
|
|
308
308
|
function FullDirPath(path) {
|
|
309
|
-
this.
|
|
309
|
+
this.c22_1 = path;
|
|
310
310
|
}
|
|
311
311
|
protoOf(FullDirPath).toString = function () {
|
|
312
|
-
return 'FullDirPath(path=' + this.
|
|
312
|
+
return 'FullDirPath(path=' + this.c22_1 + ')';
|
|
313
313
|
};
|
|
314
314
|
protoOf(FullDirPath).hashCode = function () {
|
|
315
|
-
return getStringHashCode(this.
|
|
315
|
+
return getStringHashCode(this.c22_1);
|
|
316
316
|
};
|
|
317
317
|
protoOf(FullDirPath).equals = function (other) {
|
|
318
318
|
if (this === other)
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
if (!(other instanceof FullDirPath))
|
|
321
321
|
return false;
|
|
322
322
|
var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
|
|
323
|
-
if (!(this.
|
|
323
|
+
if (!(this.c22_1 === tmp0_other_with_cast.c22_1))
|
|
324
324
|
return false;
|
|
325
325
|
return true;
|
|
326
326
|
};
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
function Companion_1() {
|
|
395
395
|
Companion_instance_1 = this;
|
|
396
396
|
}
|
|
397
|
-
protoOf(Companion_1).
|
|
397
|
+
protoOf(Companion_1).d22 = function () {
|
|
398
398
|
// Inline function 'kotlin.collections.mapValues' call
|
|
399
399
|
// Inline function 'kotlin.collections.associateBy' call
|
|
400
400
|
var tmp0_associateBy = values_3(this);
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
var $ENTRIES_3;
|
|
487
487
|
function FileExtension(name, ordinal, ext) {
|
|
488
488
|
Enum.call(this, name, ordinal);
|
|
489
|
-
this.
|
|
489
|
+
this.w21_1 = ext;
|
|
490
490
|
}
|
|
491
491
|
function FileExtension_Java_getInstance() {
|
|
492
492
|
FileExtension_initEntries();
|