@flock/wirespec 0.9.4 → 0.9.6
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 +1150 -1150
- package/colormath-root-colormath.js +362 -362
- package/kotlin-kotlin-stdlib.js +5 -5
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-rgxgen.js +1763 -1763
- package/markdown.js +1837 -1837
- package/mordant-mordant.js +1583 -1583
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +1497 -1464
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +248 -248
- package/wirespec-src-converter-openapi.js +298 -298
- package/wirespec-src-generator.js +21 -21
- package/wirespec-src-plugin-arguments.js +76 -76
- package/wirespec-src-plugin-cli.js +107 -107
- package/wirespec-src-plugin-npm.js +2 -2
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
while (tmp0_iterator_0.w()) {
|
|
85
85
|
var element_0 = tmp0_iterator_0.y();
|
|
86
86
|
// Inline function 'Generator.resolveReference.<anonymous>' call
|
|
87
|
-
if (element_0.
|
|
87
|
+
if (element_0.n21().d27_1 === type.p2()) {
|
|
88
88
|
tmp$ret$3 = element_0;
|
|
89
89
|
break $l$block;
|
|
90
90
|
}
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
var tmp;
|
|
127
127
|
if (ref instanceof Primitive) {
|
|
128
128
|
var tmp_0;
|
|
129
|
-
switch (ref.
|
|
129
|
+
switch (ref.e27_1.d9_1) {
|
|
130
130
|
case 0:
|
|
131
131
|
// Inline function 'kotlin.let' call
|
|
132
132
|
|
|
133
|
-
var tmp0_let = Companion_getInstance().
|
|
133
|
+
var tmp0_let = Companion_getInstance().c46('\\w{1,50}').l46(random);
|
|
134
134
|
// Inline function 'kotlin.contracts.contract' call
|
|
135
135
|
|
|
136
136
|
tmp_0 = JsonPrimitive(tmp0_let);
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
if (ref instanceof Custom) {
|
|
169
169
|
var def = resolveReference(_this__u8e3s4, $this, ref);
|
|
170
170
|
var tmp_1;
|
|
171
|
-
if (ref.
|
|
171
|
+
if (ref.t20()) {
|
|
172
172
|
tmp_1 = generateIterator(_this__u8e3s4, $this, def, random);
|
|
173
173
|
} else {
|
|
174
174
|
tmp_1 = generateObject(_this__u8e3s4, $this, def, random);
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
var typeSeed = random.ud();
|
|
193
193
|
// Inline function 'kotlin.let' call
|
|
194
194
|
// Inline function 'kotlin.collections.fold' call
|
|
195
|
-
var tmp0_fold = def.
|
|
195
|
+
var tmp0_fold = def.w26_1.y26_1;
|
|
196
196
|
var accumulator = emptyMap();
|
|
197
197
|
var tmp0_iterator = tmp0_fold.v();
|
|
198
198
|
while (tmp0_iterator.w()) {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
// Inline function 'Generator.generateType.<anonymous>' call
|
|
201
201
|
var tmp2_anonymous = accumulator;
|
|
202
202
|
// Inline function 'kotlin.let' call
|
|
203
|
-
var tmp0_let = element.
|
|
203
|
+
var tmp0_let = element.z26_1.d27_1;
|
|
204
204
|
// Inline function 'kotlin.contracts.contract' call
|
|
205
205
|
// Inline function 'Generator.generateType.<anonymous>.<anonymous>' call
|
|
206
206
|
// Inline function 'kotlin.text.sumOf' call
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
var fieldSeed = typeSeed + sum | 0;
|
|
219
219
|
var fieldRandom = Random(fieldSeed);
|
|
220
|
-
accumulator = plus(tmp2_anonymous, to(tmp0_let, generateReference(_this__u8e3s4, Generator_getInstance(), element.
|
|
220
|
+
accumulator = plus(tmp2_anonymous, to(tmp0_let, generateReference(_this__u8e3s4, Generator_getInstance(), element.a27_1, fieldRandom)));
|
|
221
221
|
}
|
|
222
222
|
var tmp3_let = accumulator;
|
|
223
223
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -230,27 +230,27 @@
|
|
|
230
230
|
var tmp0_substring = regex.length - 2 | 0;
|
|
231
231
|
// Inline function 'kotlin.js.asDynamic' call
|
|
232
232
|
tmp$ret$1 = regex.substring(1, tmp0_substring);
|
|
233
|
-
var rgxgen = tmp.
|
|
234
|
-
return rgxgen.
|
|
233
|
+
var rgxgen = tmp.c46(tmp$ret$1);
|
|
234
|
+
return rgxgen.l46(random);
|
|
235
235
|
}
|
|
236
236
|
function generateRefined($this, def, random) {
|
|
237
|
-
var regex = def.
|
|
237
|
+
var regex = def.k27_1.m27_1;
|
|
238
238
|
// Inline function 'kotlin.let' call
|
|
239
239
|
var tmp0_let = randomRegex($this, regex, random);
|
|
240
240
|
// Inline function 'kotlin.contracts.contract' call
|
|
241
241
|
return JsonPrimitive(tmp0_let);
|
|
242
242
|
}
|
|
243
243
|
function generateEnum($this, def, random) {
|
|
244
|
-
var index = random.bf(def.
|
|
244
|
+
var index = random.bf(def.t26_1.n());
|
|
245
245
|
// Inline function 'kotlin.let' call
|
|
246
|
-
var tmp0_let = toList(def.
|
|
246
|
+
var tmp0_let = toList(def.t26_1).g1(index);
|
|
247
247
|
// Inline function 'kotlin.contracts.contract' call
|
|
248
248
|
return JsonPrimitive(tmp0_let);
|
|
249
249
|
}
|
|
250
250
|
function generateUnion(_this__u8e3s4, $this, def, random) {
|
|
251
|
-
var index = random.bf(def.
|
|
252
|
-
var type = toList(def.
|
|
253
|
-
return $this.
|
|
251
|
+
var index = random.bf(def.o28_1.n());
|
|
252
|
+
var type = toList(def.o28_1).g1(index);
|
|
253
|
+
return $this.e5i(_this__u8e3s4, type, random);
|
|
254
254
|
}
|
|
255
255
|
function generateObject(_this__u8e3s4, $this, def, random) {
|
|
256
256
|
var tmp;
|
|
@@ -280,18 +280,18 @@
|
|
|
280
280
|
function Generator() {
|
|
281
281
|
Generator_instance = this;
|
|
282
282
|
}
|
|
283
|
-
protoOf(Generator).
|
|
283
|
+
protoOf(Generator).f5i = function (_this__u8e3s4, type, random) {
|
|
284
284
|
var ref = new Custom(removeSuffix(type, '[]'), endsWith(type, '[]'), false);
|
|
285
|
-
return this.
|
|
285
|
+
return this.e5i(_this__u8e3s4, ref, random);
|
|
286
286
|
};
|
|
287
|
-
protoOf(Generator).
|
|
287
|
+
protoOf(Generator).g5i = function (_this__u8e3s4, type, random, $super) {
|
|
288
288
|
random = random === VOID ? Default_getInstance() : random;
|
|
289
|
-
return $super === VOID ? this.
|
|
289
|
+
return $super === VOID ? this.f5i(_this__u8e3s4, type, random) : $super.f5i.call(this, _this__u8e3s4, type, random);
|
|
290
290
|
};
|
|
291
|
-
protoOf(Generator).
|
|
291
|
+
protoOf(Generator).e5i = function (_this__u8e3s4, type, random) {
|
|
292
292
|
var def = resolveReference(_this__u8e3s4, this, type);
|
|
293
293
|
var tmp;
|
|
294
|
-
if (type.
|
|
294
|
+
if (type.t20()) {
|
|
295
295
|
tmp = generateIterator(_this__u8e3s4, this, def, random);
|
|
296
296
|
} else {
|
|
297
297
|
tmp = generateObject(_this__u8e3s4, this, def, random);
|
|
@@ -58,36 +58,36 @@
|
|
|
58
58
|
setMetadataFor(Output, 'Output', classMeta);
|
|
59
59
|
//endregion
|
|
60
60
|
function CompilerArguments(operation, input, output, languages, packageName, shared, strict, debug) {
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
61
|
+
this.s2a_1 = operation;
|
|
62
|
+
this.t2a_1 = input;
|
|
63
|
+
this.u2a_1 = output;
|
|
64
|
+
this.v2a_1 = languages;
|
|
65
|
+
this.w2a_1 = packageName;
|
|
66
|
+
this.x2a_1 = shared;
|
|
67
|
+
this.y2a_1 = strict;
|
|
68
|
+
this.z2a_1 = debug;
|
|
69
69
|
}
|
|
70
70
|
protoOf(CompilerArguments).toString = function () {
|
|
71
|
-
var tmp = this.
|
|
72
|
-
return 'CompilerArguments(operation=' + this.
|
|
71
|
+
var tmp = this.u2a_1;
|
|
72
|
+
return 'CompilerArguments(operation=' + this.s2a_1 + ', input=' + this.t2a_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.v2a_1 + ', packageName=' + new PackageName(this.w2a_1) + ', shared=' + this.x2a_1 + ', strict=' + this.y2a_1 + ', debug=' + this.z2a_1 + ')';
|
|
73
73
|
};
|
|
74
74
|
protoOf(CompilerArguments).hashCode = function () {
|
|
75
|
-
var result = hashCode(this.
|
|
76
|
-
result = imul(result, 31) + hashCode(this.
|
|
75
|
+
var result = hashCode(this.s2a_1);
|
|
76
|
+
result = imul(result, 31) + hashCode(this.t2a_1) | 0;
|
|
77
77
|
var tmp = imul(result, 31);
|
|
78
78
|
var tmp_0;
|
|
79
|
-
var tmp_1 = this.
|
|
79
|
+
var tmp_1 = this.u2a_1;
|
|
80
80
|
if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
|
|
81
81
|
tmp_0 = 0;
|
|
82
82
|
} else {
|
|
83
|
-
tmp_0 = Output__hashCode_impl_m9q6pd(this.
|
|
83
|
+
tmp_0 = Output__hashCode_impl_m9q6pd(this.u2a_1);
|
|
84
84
|
}
|
|
85
85
|
result = tmp + tmp_0 | 0;
|
|
86
|
-
result = imul(result, 31) + hashCode(this.
|
|
87
|
-
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.
|
|
88
|
-
result = imul(result, 31) + (this.
|
|
89
|
-
result = imul(result, 31) + (this.
|
|
90
|
-
result = imul(result, 31) + (this.
|
|
86
|
+
result = imul(result, 31) + hashCode(this.v2a_1) | 0;
|
|
87
|
+
result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.w2a_1) | 0;
|
|
88
|
+
result = imul(result, 31) + (this.x2a_1 | 0) | 0;
|
|
89
|
+
result = imul(result, 31) + (this.y2a_1 | 0) | 0;
|
|
90
|
+
result = imul(result, 31) + (this.z2a_1 | 0) | 0;
|
|
91
91
|
return result;
|
|
92
92
|
};
|
|
93
93
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -96,24 +96,24 @@
|
|
|
96
96
|
if (!(other instanceof CompilerArguments))
|
|
97
97
|
return false;
|
|
98
98
|
var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
|
|
99
|
-
if (!equals(this.
|
|
99
|
+
if (!equals(this.s2a_1, tmp0_other_with_cast.s2a_1))
|
|
100
100
|
return false;
|
|
101
|
-
if (!equals(this.
|
|
101
|
+
if (!equals(this.t2a_1, tmp0_other_with_cast.t2a_1))
|
|
102
102
|
return false;
|
|
103
|
-
var tmp = this.
|
|
103
|
+
var tmp = this.u2a_1;
|
|
104
104
|
var tmp_0 = tmp == null ? null : new Output(tmp);
|
|
105
|
-
var tmp_1 = tmp0_other_with_cast.
|
|
105
|
+
var tmp_1 = tmp0_other_with_cast.u2a_1;
|
|
106
106
|
if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
|
|
107
107
|
return false;
|
|
108
|
-
if (!equals(this.
|
|
108
|
+
if (!equals(this.v2a_1, tmp0_other_with_cast.v2a_1))
|
|
109
109
|
return false;
|
|
110
|
-
if (!(this.
|
|
110
|
+
if (!(this.w2a_1 === tmp0_other_with_cast.w2a_1))
|
|
111
111
|
return false;
|
|
112
|
-
if (!(this.
|
|
112
|
+
if (!(this.x2a_1 === tmp0_other_with_cast.x2a_1))
|
|
113
113
|
return false;
|
|
114
|
-
if (!(this.
|
|
114
|
+
if (!(this.y2a_1 === tmp0_other_with_cast.y2a_1))
|
|
115
115
|
return false;
|
|
116
|
-
if (!(this.
|
|
116
|
+
if (!(this.z2a_1 === tmp0_other_with_cast.z2a_1))
|
|
117
117
|
return false;
|
|
118
118
|
return true;
|
|
119
119
|
};
|
|
@@ -132,24 +132,24 @@
|
|
|
132
132
|
function PackageName__equals_impl_eo1xnn($this, other) {
|
|
133
133
|
if (!(other instanceof PackageName))
|
|
134
134
|
return false;
|
|
135
|
-
if (!($this === (other instanceof PackageName ? other.
|
|
135
|
+
if (!($this === (other instanceof PackageName ? other.a2b_1 : THROW_CCE())))
|
|
136
136
|
return false;
|
|
137
137
|
return true;
|
|
138
138
|
}
|
|
139
139
|
function PackageName(value) {
|
|
140
|
-
this.
|
|
140
|
+
this.a2b_1 = value;
|
|
141
141
|
}
|
|
142
142
|
protoOf(PackageName).p2 = function () {
|
|
143
|
-
return _PackageName___get_value__impl__2zr98c(this.
|
|
143
|
+
return _PackageName___get_value__impl__2zr98c(this.a2b_1);
|
|
144
144
|
};
|
|
145
145
|
protoOf(PackageName).toString = function () {
|
|
146
|
-
return PackageName__toString_impl_pes5ww(this.
|
|
146
|
+
return PackageName__toString_impl_pes5ww(this.a2b_1);
|
|
147
147
|
};
|
|
148
148
|
protoOf(PackageName).hashCode = function () {
|
|
149
|
-
return PackageName__hashCode_impl_nv5z9d(this.
|
|
149
|
+
return PackageName__hashCode_impl_nv5z9d(this.a2b_1);
|
|
150
150
|
};
|
|
151
151
|
protoOf(PackageName).equals = function (other) {
|
|
152
|
-
return PackageName__equals_impl_eo1xnn(this.
|
|
152
|
+
return PackageName__equals_impl_eo1xnn(this.a2b_1, other);
|
|
153
153
|
};
|
|
154
154
|
function Compile() {
|
|
155
155
|
Compile_instance = this;
|
|
@@ -175,13 +175,13 @@
|
|
|
175
175
|
return Compile_instance;
|
|
176
176
|
}
|
|
177
177
|
function Convert(format) {
|
|
178
|
-
this.
|
|
178
|
+
this.b2b_1 = format;
|
|
179
179
|
}
|
|
180
180
|
protoOf(Convert).toString = function () {
|
|
181
|
-
return 'Convert(format=' + this.
|
|
181
|
+
return 'Convert(format=' + this.b2b_1 + ')';
|
|
182
182
|
};
|
|
183
183
|
protoOf(Convert).hashCode = function () {
|
|
184
|
-
return this.
|
|
184
|
+
return this.b2b_1.hashCode();
|
|
185
185
|
};
|
|
186
186
|
protoOf(Convert).equals = function (other) {
|
|
187
187
|
if (this === other)
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
if (!(other instanceof Convert))
|
|
190
190
|
return false;
|
|
191
191
|
var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
|
|
192
|
-
if (!this.
|
|
192
|
+
if (!this.b2b_1.equals(tmp0_other_with_cast.b2b_1))
|
|
193
193
|
return false;
|
|
194
194
|
return true;
|
|
195
195
|
};
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
function Companion_0() {
|
|
241
241
|
Companion_instance_0 = this;
|
|
242
242
|
}
|
|
243
|
-
protoOf(Companion_0).
|
|
243
|
+
protoOf(Companion_0).c2b = function (input) {
|
|
244
244
|
// Inline function 'kotlin.let' call
|
|
245
245
|
var tmp0_let = split(input, ['/']);
|
|
246
246
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
while (tmp0_iterator.w()) {
|
|
262
262
|
var element = tmp0_iterator.y();
|
|
263
263
|
// Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
|
|
264
|
-
if (element.
|
|
264
|
+
if (element.f2b_1 === tmp2_let) {
|
|
265
265
|
tmp$ret$5 = element;
|
|
266
266
|
break $l$block;
|
|
267
267
|
}
|
|
@@ -289,26 +289,26 @@
|
|
|
289
289
|
function FullFilePath(directory, fileName, extension) {
|
|
290
290
|
Companion_getInstance_0();
|
|
291
291
|
extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
292
|
+
this.g2b_1 = directory;
|
|
293
|
+
this.h2b_1 = fileName;
|
|
294
|
+
this.i2b_1 = extension;
|
|
295
295
|
}
|
|
296
296
|
protoOf(FullFilePath).toString = function () {
|
|
297
|
-
return this.
|
|
297
|
+
return this.g2b_1 + '/' + _FileName___get_value__impl__3u4cz6(this.h2b_1) + '.' + this.i2b_1.f2b_1;
|
|
298
298
|
};
|
|
299
|
-
protoOf(FullFilePath).
|
|
299
|
+
protoOf(FullFilePath).j2b = function (directory, fileName, extension) {
|
|
300
300
|
return new FullFilePath(directory, fileName, extension);
|
|
301
301
|
};
|
|
302
|
-
protoOf(FullFilePath).
|
|
303
|
-
directory = directory === VOID ? this.
|
|
304
|
-
fileName = fileName === VOID ? this.
|
|
305
|
-
extension = extension === VOID ? this.
|
|
306
|
-
return $super === VOID ? this.
|
|
302
|
+
protoOf(FullFilePath).k2b = function (directory, fileName, extension, $super) {
|
|
303
|
+
directory = directory === VOID ? this.g2b_1 : directory;
|
|
304
|
+
fileName = fileName === VOID ? this.h2b_1 : fileName;
|
|
305
|
+
extension = extension === VOID ? this.i2b_1 : extension;
|
|
306
|
+
return $super === VOID ? this.j2b(directory, fileName, extension) : $super.j2b.call(this, directory, new FileName(fileName), extension);
|
|
307
307
|
};
|
|
308
308
|
protoOf(FullFilePath).hashCode = function () {
|
|
309
|
-
var result = getStringHashCode(this.
|
|
310
|
-
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.
|
|
311
|
-
result = imul(result, 31) + this.
|
|
309
|
+
var result = getStringHashCode(this.g2b_1);
|
|
310
|
+
result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.h2b_1) | 0;
|
|
311
|
+
result = imul(result, 31) + this.i2b_1.hashCode() | 0;
|
|
312
312
|
return result;
|
|
313
313
|
};
|
|
314
314
|
protoOf(FullFilePath).equals = function (other) {
|
|
@@ -317,11 +317,11 @@
|
|
|
317
317
|
if (!(other instanceof FullFilePath))
|
|
318
318
|
return false;
|
|
319
319
|
var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
|
|
320
|
-
if (!(this.
|
|
320
|
+
if (!(this.g2b_1 === tmp0_other_with_cast.g2b_1))
|
|
321
321
|
return false;
|
|
322
|
-
if (!(this.
|
|
322
|
+
if (!(this.h2b_1 === tmp0_other_with_cast.h2b_1))
|
|
323
323
|
return false;
|
|
324
|
-
if (!this.
|
|
324
|
+
if (!this.i2b_1.equals(tmp0_other_with_cast.i2b_1))
|
|
325
325
|
return false;
|
|
326
326
|
return true;
|
|
327
327
|
};
|
|
@@ -340,24 +340,24 @@
|
|
|
340
340
|
function FileName__equals_impl_o96ox3($this, other) {
|
|
341
341
|
if (!(other instanceof FileName))
|
|
342
342
|
return false;
|
|
343
|
-
if (!($this === (other instanceof FileName ? other.
|
|
343
|
+
if (!($this === (other instanceof FileName ? other.l2b_1 : THROW_CCE())))
|
|
344
344
|
return false;
|
|
345
345
|
return true;
|
|
346
346
|
}
|
|
347
347
|
function FileName(value) {
|
|
348
|
-
this.
|
|
348
|
+
this.l2b_1 = value;
|
|
349
349
|
}
|
|
350
350
|
protoOf(FileName).p2 = function () {
|
|
351
|
-
return _FileName___get_value__impl__3u4cz6(this.
|
|
351
|
+
return _FileName___get_value__impl__3u4cz6(this.l2b_1);
|
|
352
352
|
};
|
|
353
353
|
protoOf(FileName).toString = function () {
|
|
354
|
-
return FileName__toString_impl_hn9m8q(this.
|
|
354
|
+
return FileName__toString_impl_hn9m8q(this.l2b_1);
|
|
355
355
|
};
|
|
356
356
|
protoOf(FileName).hashCode = function () {
|
|
357
|
-
return FileName__hashCode_impl_43wak5(this.
|
|
357
|
+
return FileName__hashCode_impl_43wak5(this.l2b_1);
|
|
358
358
|
};
|
|
359
359
|
protoOf(FileName).equals = function (other) {
|
|
360
|
-
return FileName__equals_impl_o96ox3(this.
|
|
360
|
+
return FileName__equals_impl_o96ox3(this.l2b_1, other);
|
|
361
361
|
};
|
|
362
362
|
function Console$read$lambda() {
|
|
363
363
|
return readlnOrNull();
|
|
@@ -389,13 +389,13 @@
|
|
|
389
389
|
return Console_instance;
|
|
390
390
|
}
|
|
391
391
|
function FullDirPath(path) {
|
|
392
|
-
this.
|
|
392
|
+
this.m2b_1 = path;
|
|
393
393
|
}
|
|
394
394
|
protoOf(FullDirPath).toString = function () {
|
|
395
|
-
return 'FullDirPath(path=' + this.
|
|
395
|
+
return 'FullDirPath(path=' + this.m2b_1 + ')';
|
|
396
396
|
};
|
|
397
397
|
protoOf(FullDirPath).hashCode = function () {
|
|
398
|
-
return getStringHashCode(this.
|
|
398
|
+
return getStringHashCode(this.m2b_1);
|
|
399
399
|
};
|
|
400
400
|
protoOf(FullDirPath).equals = function (other) {
|
|
401
401
|
if (this === other)
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
if (!(other instanceof FullDirPath))
|
|
404
404
|
return false;
|
|
405
405
|
var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
|
|
406
|
-
if (!(this.
|
|
406
|
+
if (!(this.m2b_1 === tmp0_other_with_cast.m2b_1))
|
|
407
407
|
return false;
|
|
408
408
|
return true;
|
|
409
409
|
};
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
function Companion_1() {
|
|
416
416
|
Companion_instance_1 = this;
|
|
417
417
|
}
|
|
418
|
-
protoOf(Companion_1).
|
|
418
|
+
protoOf(Companion_1).n2b = function () {
|
|
419
419
|
// Inline function 'kotlin.collections.associateBy' call
|
|
420
420
|
var tmp0_associateBy = get_entries_0();
|
|
421
421
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associateBy, 10)), 16);
|
|
@@ -494,10 +494,10 @@
|
|
|
494
494
|
var $ENTRIES_1;
|
|
495
495
|
function FileExtension(name, ordinal, value) {
|
|
496
496
|
Enum.call(this, name, ordinal);
|
|
497
|
-
this.
|
|
497
|
+
this.f2b_1 = value;
|
|
498
498
|
}
|
|
499
499
|
protoOf(FileExtension).p2 = function () {
|
|
500
|
-
return this.
|
|
500
|
+
return this.f2b_1;
|
|
501
501
|
};
|
|
502
502
|
function Language_Java_getInstance() {
|
|
503
503
|
Language_initEntries();
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
function Companion_2() {
|
|
556
556
|
Companion_instance_2 = this;
|
|
557
557
|
}
|
|
558
|
-
protoOf(Companion_2).
|
|
558
|
+
protoOf(Companion_2).o2b = function (s) {
|
|
559
559
|
var tmp;
|
|
560
560
|
if (s == null) {
|
|
561
561
|
tmp = null;
|
|
@@ -578,25 +578,25 @@
|
|
|
578
578
|
function Output__equals_impl_7y48wd($this, other) {
|
|
579
579
|
if (!(other instanceof Output))
|
|
580
580
|
return false;
|
|
581
|
-
if (!($this === (other instanceof Output ? other.
|
|
581
|
+
if (!($this === (other instanceof Output ? other.p2b_1 : THROW_CCE())))
|
|
582
582
|
return false;
|
|
583
583
|
return true;
|
|
584
584
|
}
|
|
585
585
|
function Output(value) {
|
|
586
586
|
Companion_getInstance_2();
|
|
587
|
-
this.
|
|
587
|
+
this.p2b_1 = value;
|
|
588
588
|
}
|
|
589
589
|
protoOf(Output).p2 = function () {
|
|
590
|
-
return _Output___get_value__impl__a8kw1g(this.
|
|
590
|
+
return _Output___get_value__impl__a8kw1g(this.p2b_1);
|
|
591
591
|
};
|
|
592
592
|
protoOf(Output).toString = function () {
|
|
593
|
-
return Output__toString_impl_r07ygw(this.
|
|
593
|
+
return Output__toString_impl_r07ygw(this.p2b_1);
|
|
594
594
|
};
|
|
595
595
|
protoOf(Output).hashCode = function () {
|
|
596
|
-
return Output__hashCode_impl_m9q6pd(this.
|
|
596
|
+
return Output__hashCode_impl_m9q6pd(this.p2b_1);
|
|
597
597
|
};
|
|
598
598
|
protoOf(Output).equals = function (other) {
|
|
599
|
-
return Output__equals_impl_7y48wd(this.
|
|
599
|
+
return Output__equals_impl_7y48wd(this.p2b_1, other);
|
|
600
600
|
};
|
|
601
601
|
//region block: exports
|
|
602
602
|
_.$_$ = _.$_$ || {};
|