@flock/wirespec 0.22.1 → 0.22.2
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-core.mjs +11 -5
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1343 -1343
- package/colormath-root-colormath.mjs +437 -437
- package/kotlin-kotlin-stdlib.mjs +249 -243
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10004 -10004
- package/kotlin-rgxgen.mjs +1762 -1762
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1786 -1786
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1514 -1508
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1231 -1225
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +4940 -4889
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +180 -180
- package/wirespec-src-compiler-emitters-kotlin.mjs +134 -134
- package/wirespec-src-compiler-emitters-python.mjs +157 -157
- package/wirespec-src-compiler-emitters-rust.mjs +392 -392
- package/wirespec-src-compiler-emitters-scala.mjs +168 -168
- package/wirespec-src-compiler-emitters-typescript.mjs +229 -229
- package/wirespec-src-compiler-emitters-wirespec.mjs +130 -130
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +388 -326
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +639 -639
- package/wirespec-src-converter-avro.mjs +548 -548
- package/wirespec-src-converter-common.mjs +16 -16
- package/wirespec-src-converter-graphql.mjs +2546 -1342
- package/wirespec-src-converter-graphql.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +593 -593
- package/wirespec-src-ide-lsp.mjs +1371 -1371
- package/wirespec-src-plugin-arguments.mjs +146 -146
- package/wirespec-src-plugin-cli.mjs +89 -89
- package/wirespec-src-plugin-npm.d.mts +21 -3
- package/wirespec-src-plugin-npm.mjs +26 -26
- package/wirespec-src-tools-generator.mjs +24 -24
|
@@ -185,11 +185,11 @@ initMetadataForObject(TypeSerializer, 'TypeSerializer', VOID, VOID, [KSerializer
|
|
|
185
185
|
initMetadataForClass(Ordering, 'Ordering', Ordering);
|
|
186
186
|
//endregion
|
|
187
187
|
function isNullable($this, $receiver) {
|
|
188
|
-
return $receiver.i1($this.
|
|
188
|
+
return $receiver.i1($this.d49_1);
|
|
189
189
|
}
|
|
190
190
|
function toPrimitive($this, $receiver) {
|
|
191
191
|
var tmp;
|
|
192
|
-
switch ($receiver.
|
|
192
|
+
switch ($receiver.e49_1) {
|
|
193
193
|
case 'boolean':
|
|
194
194
|
tmp = Boolean_instance;
|
|
195
195
|
break;
|
|
@@ -214,7 +214,7 @@ function toPrimitive($this, $receiver) {
|
|
|
214
214
|
default:
|
|
215
215
|
// Inline function 'kotlin.TODO' call
|
|
216
216
|
|
|
217
|
-
var reason = 'primitive not mapped ' + $receiver.
|
|
217
|
+
var reason = 'primitive not mapped ' + $receiver.e49_1;
|
|
218
218
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
219
219
|
}
|
|
220
220
|
return tmp;
|
|
@@ -222,7 +222,7 @@ function toPrimitive($this, $receiver) {
|
|
|
222
222
|
function toReference($this, $receiver, isNullable) {
|
|
223
223
|
var tmp;
|
|
224
224
|
if ($receiver instanceof SimpleType) {
|
|
225
|
-
switch ($receiver.
|
|
225
|
+
switch ($receiver.e49_1) {
|
|
226
226
|
case 'null':
|
|
227
227
|
tmp = new Unit(isNullable);
|
|
228
228
|
break;
|
|
@@ -236,27 +236,27 @@ function toReference($this, $receiver, isNullable) {
|
|
|
236
236
|
tmp = new Primitive(toPrimitive($this, $receiver), isNullable);
|
|
237
237
|
break;
|
|
238
238
|
default:
|
|
239
|
-
tmp = new Custom($receiver.
|
|
239
|
+
tmp = new Custom($receiver.e49_1, isNullable);
|
|
240
240
|
break;
|
|
241
241
|
}
|
|
242
242
|
} else {
|
|
243
243
|
if ($receiver instanceof ArrayType) {
|
|
244
|
-
tmp = new Iterable(toReference($this, $receiver.
|
|
244
|
+
tmp = new Iterable(toReference($this, $receiver.x49_1, false), isNullable);
|
|
245
245
|
} else {
|
|
246
246
|
if ($receiver instanceof RecordType) {
|
|
247
|
-
tmp = new Custom($receiver.
|
|
247
|
+
tmp = new Custom($receiver.s49_1, isNullable);
|
|
248
248
|
} else {
|
|
249
249
|
if ($receiver instanceof EnumType) {
|
|
250
|
-
tmp = new Custom($receiver.
|
|
250
|
+
tmp = new Custom($receiver.o49_1, isNullable);
|
|
251
251
|
} else {
|
|
252
252
|
if ($receiver instanceof LogicalType) {
|
|
253
|
-
tmp = toReference($this, new SimpleType($receiver.
|
|
253
|
+
tmp = toReference($this, new SimpleType($receiver.j49_1), isNullable);
|
|
254
254
|
} else {
|
|
255
255
|
if ($receiver instanceof MapType) {
|
|
256
|
-
tmp = new Dict(toReference($this, $receiver.
|
|
256
|
+
tmp = new Dict(toReference($this, $receiver.i49_1, false), isNullable);
|
|
257
257
|
} else {
|
|
258
258
|
if ($receiver instanceof UnionType) {
|
|
259
|
-
tmp = new Custom($receiver.
|
|
259
|
+
tmp = new Custom($receiver.f49_1, isNullable);
|
|
260
260
|
} else {
|
|
261
261
|
noWhenBranchMatchedException();
|
|
262
262
|
}
|
|
@@ -269,7 +269,7 @@ function toReference($this, $receiver, isNullable) {
|
|
|
269
269
|
return tmp;
|
|
270
270
|
}
|
|
271
271
|
function toReference_0($this, $receiver) {
|
|
272
|
-
var list = minus($receiver, $this.
|
|
272
|
+
var list = minus($receiver, $this.d49_1);
|
|
273
273
|
var tmp;
|
|
274
274
|
if (list.b1() === 1) {
|
|
275
275
|
tmp = toReference($this, first(list), isNullable($this, $receiver));
|
|
@@ -310,20 +310,20 @@ function toReference_0($this, $receiver) {
|
|
|
310
310
|
}
|
|
311
311
|
function toType($this, $receiver) {
|
|
312
312
|
var tmp0_annotations = emptyList();
|
|
313
|
-
var tmp1_identifier = new DefinitionIdentifier($receiver.
|
|
313
|
+
var tmp1_identifier = new DefinitionIdentifier($receiver.s49_1);
|
|
314
314
|
var tmp2_extends = emptyList();
|
|
315
315
|
// Inline function 'kotlin.collections.map' call
|
|
316
|
-
var this_0 = $receiver.
|
|
316
|
+
var this_0 = $receiver.u49_1;
|
|
317
317
|
// Inline function 'kotlin.collections.mapTo' call
|
|
318
318
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
319
319
|
var _iterator__ex2g4s = this_0.t();
|
|
320
320
|
while (_iterator__ex2g4s.u()) {
|
|
321
321
|
var item = _iterator__ex2g4s.v();
|
|
322
322
|
// Inline function 'kotlin.let' call
|
|
323
|
-
var reference = toReference_0(AvroConverter_getInstance(), item.
|
|
324
|
-
var tmp1_identifier_0 = new FieldIdentifier(item.
|
|
323
|
+
var reference = toReference_0(AvroConverter_getInstance(), item.z49_1);
|
|
324
|
+
var tmp1_identifier_0 = new FieldIdentifier(item.y49_1);
|
|
325
325
|
var tmp2_annotations = emptyList();
|
|
326
|
-
var tmp0_safe_receiver = item.
|
|
326
|
+
var tmp0_safe_receiver = item.b4a_1;
|
|
327
327
|
var tmp3_defaultValue = tmp0_safe_receiver == null ? null : toDefaultValue(tmp0_safe_receiver, reference);
|
|
328
328
|
var tmp$ret$2 = new Field(tmp2_annotations, tmp1_identifier_0, reference, tmp3_defaultValue);
|
|
329
329
|
destination.x(tmp$ret$2);
|
|
@@ -332,13 +332,13 @@ function toType($this, $receiver) {
|
|
|
332
332
|
return new Type(null, tmp0_annotations, tmp1_identifier, tmp3_shape, tmp2_extends);
|
|
333
333
|
}
|
|
334
334
|
function toEnum($this, $receiver) {
|
|
335
|
-
return new Enum(null, emptyList(), new DefinitionIdentifier($receiver.
|
|
335
|
+
return new Enum(null, emptyList(), new DefinitionIdentifier($receiver.o49_1), toSet($receiver.q49_1));
|
|
336
336
|
}
|
|
337
337
|
function toUnion($this, $receiver, name) {
|
|
338
338
|
var tmp = emptyList();
|
|
339
339
|
var tmp_0 = new DefinitionIdentifier(name);
|
|
340
340
|
// Inline function 'kotlin.collections.map' call
|
|
341
|
-
var this_0 = $receiver.
|
|
341
|
+
var this_0 = $receiver.g49_1;
|
|
342
342
|
// Inline function 'kotlin.collections.mapTo' call
|
|
343
343
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
344
344
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -351,9 +351,9 @@ function toUnion($this, $receiver, name) {
|
|
|
351
351
|
}
|
|
352
352
|
function AvroConverter() {
|
|
353
353
|
AvroConverter_instance = this;
|
|
354
|
-
this.
|
|
354
|
+
this.d49_1 = new SimpleType('null');
|
|
355
355
|
}
|
|
356
|
-
protoOf(AvroConverter).
|
|
356
|
+
protoOf(AvroConverter).c4a = function (_this__u8e3s4, name) {
|
|
357
357
|
var tmp;
|
|
358
358
|
if (_this__u8e3s4 instanceof SimpleType) {
|
|
359
359
|
tmp = emptyList();
|
|
@@ -361,20 +361,20 @@ protoOf(AvroConverter).x49 = function (_this__u8e3s4, name) {
|
|
|
361
361
|
if (_this__u8e3s4 instanceof RecordType) {
|
|
362
362
|
var tmp_0 = listOf(toType(this, _this__u8e3s4));
|
|
363
363
|
// Inline function 'kotlin.collections.flatMap' call
|
|
364
|
-
var tmp0 = _this__u8e3s4.
|
|
364
|
+
var tmp0 = _this__u8e3s4.u49_1;
|
|
365
365
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
366
366
|
var destination = ArrayList_init_$Create$_0();
|
|
367
367
|
var _iterator__ex2g4s = tmp0.t();
|
|
368
368
|
while (_iterator__ex2g4s.u()) {
|
|
369
369
|
var element = _iterator__ex2g4s.v();
|
|
370
370
|
// Inline function 'kotlin.collections.flatMap' call
|
|
371
|
-
var tmp0_0 = element.
|
|
371
|
+
var tmp0_0 = element.z49_1;
|
|
372
372
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
373
373
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
374
374
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
375
375
|
while (_iterator__ex2g4s_0.u()) {
|
|
376
376
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
377
|
-
var list = AvroConverter_getInstance().
|
|
377
|
+
var list = AvroConverter_getInstance().c4a(element_0, name);
|
|
378
378
|
addAll(destination_0, list);
|
|
379
379
|
}
|
|
380
380
|
var list_0 = destination_0;
|
|
@@ -383,7 +383,7 @@ protoOf(AvroConverter).x49 = function (_this__u8e3s4, name) {
|
|
|
383
383
|
tmp = plus(tmp_0, destination);
|
|
384
384
|
} else {
|
|
385
385
|
if (_this__u8e3s4 instanceof ArrayType) {
|
|
386
|
-
tmp = this.
|
|
386
|
+
tmp = this.c4a(_this__u8e3s4.x49_1, name);
|
|
387
387
|
} else {
|
|
388
388
|
if (_this__u8e3s4 instanceof EnumType) {
|
|
389
389
|
tmp = listOf(toEnum(this, _this__u8e3s4));
|
|
@@ -392,7 +392,7 @@ protoOf(AvroConverter).x49 = function (_this__u8e3s4, name) {
|
|
|
392
392
|
tmp = emptyList();
|
|
393
393
|
} else {
|
|
394
394
|
if (_this__u8e3s4 instanceof MapType) {
|
|
395
|
-
tmp = this.
|
|
395
|
+
tmp = this.c4a(_this__u8e3s4.i49_1, name);
|
|
396
396
|
} else {
|
|
397
397
|
if (_this__u8e3s4 instanceof UnionType) {
|
|
398
398
|
tmp = listOf(toUnion(this, _this__u8e3s4, name));
|
|
@@ -407,9 +407,9 @@ protoOf(AvroConverter).x49 = function (_this__u8e3s4, name) {
|
|
|
407
407
|
}
|
|
408
408
|
return tmp;
|
|
409
409
|
};
|
|
410
|
-
protoOf(AvroConverter).
|
|
410
|
+
protoOf(AvroConverter).d4a = function (_this__u8e3s4, name, $super) {
|
|
411
411
|
name = name === VOID ? '' : name;
|
|
412
|
-
return $super === VOID ? this.
|
|
412
|
+
return $super === VOID ? this.c4a(_this__u8e3s4, name) : $super.c4a.call(this, _this__u8e3s4, name);
|
|
413
413
|
};
|
|
414
414
|
var AvroConverter_instance;
|
|
415
415
|
function AvroConverter_getInstance() {
|
|
@@ -457,7 +457,7 @@ function deriveProtocolName($this, module_0) {
|
|
|
457
457
|
return tmp1_elvis_lhs == null ? 'WirespecProtocol' : tmp1_elvis_lhs;
|
|
458
458
|
}
|
|
459
459
|
function renderRecord($this, $receiver, type) {
|
|
460
|
-
var tmp0_safe_receiver = type.
|
|
460
|
+
var tmp0_safe_receiver = type.ip_1;
|
|
461
461
|
var tmp;
|
|
462
462
|
var tmp_0 = tmp0_safe_receiver;
|
|
463
463
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
@@ -476,12 +476,12 @@ function renderRecord($this, $receiver, type) {
|
|
|
476
476
|
// Inline function 'kotlin.text.orEmpty' call
|
|
477
477
|
var tmp0_elvis_lhs = tmp_1;
|
|
478
478
|
var doc = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
479
|
-
var tmp_2 = get_fields(type.
|
|
479
|
+
var tmp_2 = get_fields(type.lp_1);
|
|
480
480
|
var fields = joinToString(tmp_2, '', VOID, VOID, VOID, VOID, AvroIdlEmitter$renderRecord$lambda($receiver));
|
|
481
|
-
return doc + ' record ' + type.
|
|
481
|
+
return doc + ' record ' + type.kp_1.o1() + ' {\n' + fields + ' }\n';
|
|
482
482
|
}
|
|
483
483
|
function renderFieldType($this, $receiver, field) {
|
|
484
|
-
return field.
|
|
484
|
+
return field.pp_1.ot() && isNonNull($this, field.qp_1) ? 'union { ' + renderReference($this, $receiver, field.pp_1.t19(false)) + ', null }' : renderReference($this, $receiver, field.pp_1);
|
|
485
485
|
}
|
|
486
486
|
function isNonNull($this, $receiver) {
|
|
487
487
|
return !($receiver == null) && !equals($receiver, NullValue_instance);
|
|
@@ -499,7 +499,7 @@ function renderDefault($this, default_0) {
|
|
|
499
499
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
500
500
|
}
|
|
501
501
|
function renderEnum($this, enum_0) {
|
|
502
|
-
var tmp0_safe_receiver = enum_0.
|
|
502
|
+
var tmp0_safe_receiver = enum_0.os_1;
|
|
503
503
|
var tmp;
|
|
504
504
|
var tmp_0 = tmp0_safe_receiver;
|
|
505
505
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
@@ -518,11 +518,11 @@ function renderEnum($this, enum_0) {
|
|
|
518
518
|
// Inline function 'kotlin.text.orEmpty' call
|
|
519
519
|
var tmp0_elvis_lhs = tmp_1;
|
|
520
520
|
var doc = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
521
|
-
var symbols = joinToString(enum_0.
|
|
522
|
-
return doc + ' enum ' + enum_0.
|
|
521
|
+
var symbols = joinToString(enum_0.rs_1, ', ');
|
|
522
|
+
return doc + ' enum ' + enum_0.qs_1.o1() + ' {\n ' + symbols + '\n }\n';
|
|
523
523
|
}
|
|
524
524
|
function renderUnion($this, $receiver, union) {
|
|
525
|
-
var tmp0_safe_receiver = union.
|
|
525
|
+
var tmp0_safe_receiver = union.zq_1;
|
|
526
526
|
var tmp;
|
|
527
527
|
var tmp_0 = tmp0_safe_receiver;
|
|
528
528
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
@@ -541,11 +541,11 @@ function renderUnion($this, $receiver, union) {
|
|
|
541
541
|
// Inline function 'kotlin.text.orEmpty' call
|
|
542
542
|
var tmp0_elvis_lhs = tmp_1;
|
|
543
543
|
var doc = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
544
|
-
var members = joinToString(union.
|
|
545
|
-
return doc + ' record ' + union.
|
|
544
|
+
var members = joinToString(union.cr_1, ', ', VOID, VOID, VOID, VOID, AvroIdlEmitter$renderUnion$lambda($receiver));
|
|
545
|
+
return doc + ' record ' + union.br_1.o1() + ' {\n union { ' + members + ' } value;\n }\n';
|
|
546
546
|
}
|
|
547
547
|
function renderRefined($this, refined) {
|
|
548
|
-
var tmp0_safe_receiver = refined.
|
|
548
|
+
var tmp0_safe_receiver = refined.js_1;
|
|
549
549
|
var tmp;
|
|
550
550
|
var tmp_0 = tmp0_safe_receiver;
|
|
551
551
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
@@ -564,17 +564,17 @@ function renderRefined($this, refined) {
|
|
|
564
564
|
// Inline function 'kotlin.text.orEmpty' call
|
|
565
565
|
var tmp0_elvis_lhs = tmp_1;
|
|
566
566
|
var doc = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
567
|
-
return doc + ' // refined ' + refined.
|
|
567
|
+
return doc + ' // refined ' + refined.ls_1.o1() + ' = ' + renderPrimitive($this, refined.ms_1.t18_1) + '\n';
|
|
568
568
|
}
|
|
569
569
|
function renderReference($this, $receiver, reference) {
|
|
570
570
|
var tmp;
|
|
571
571
|
if (reference instanceof Primitive) {
|
|
572
|
-
tmp = wrapNullable($this, renderPrimitive($this, reference.
|
|
572
|
+
tmp = wrapNullable($this, renderPrimitive($this, reference.t18_1), reference.u18_1);
|
|
573
573
|
} else {
|
|
574
574
|
if (reference instanceof Custom) {
|
|
575
|
-
var tmp1_safe_receiver = findRefined($receiver, reference.
|
|
576
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
577
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
575
|
+
var tmp1_safe_receiver = findRefined($receiver, reference.r18_1);
|
|
576
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.ms_1;
|
|
577
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t18_1;
|
|
578
578
|
var tmp_0;
|
|
579
579
|
if (tmp3_safe_receiver == null) {
|
|
580
580
|
tmp_0 = null;
|
|
@@ -583,16 +583,16 @@ function renderReference($this, $receiver, reference) {
|
|
|
583
583
|
tmp_0 = renderPrimitive($this, tmp3_safe_receiver);
|
|
584
584
|
}
|
|
585
585
|
var tmp4_elvis_lhs = tmp_0;
|
|
586
|
-
tmp = wrapNullable($this, tmp4_elvis_lhs == null ? reference.
|
|
586
|
+
tmp = wrapNullable($this, tmp4_elvis_lhs == null ? reference.r18_1 : tmp4_elvis_lhs, reference.s18_1);
|
|
587
587
|
} else {
|
|
588
588
|
if (reference instanceof Iterable) {
|
|
589
|
-
tmp = wrapNullable($this, 'array<' + renderReference($this, $receiver, reference.
|
|
589
|
+
tmp = wrapNullable($this, 'array<' + renderReference($this, $receiver, reference.yp_1.t19(false)) + '>', reference.zp_1);
|
|
590
590
|
} else {
|
|
591
591
|
if (reference instanceof Dict) {
|
|
592
|
-
tmp = wrapNullable($this, 'map<' + renderReference($this, $receiver, reference.
|
|
592
|
+
tmp = wrapNullable($this, 'map<' + renderReference($this, $receiver, reference.bq_1.t19(false)) + '>', reference.cq_1);
|
|
593
593
|
} else {
|
|
594
594
|
if (reference instanceof Any) {
|
|
595
|
-
tmp = wrapNullable($this, 'bytes', reference.
|
|
595
|
+
tmp = wrapNullable($this, 'bytes', reference.l1d_1);
|
|
596
596
|
} else {
|
|
597
597
|
if (reference instanceof Unit) {
|
|
598
598
|
tmp = 'null';
|
|
@@ -619,7 +619,7 @@ function renderPrimitive($this, type) {
|
|
|
619
619
|
} else {
|
|
620
620
|
if (type instanceof Integer) {
|
|
621
621
|
var tmp_0;
|
|
622
|
-
switch (type.
|
|
622
|
+
switch (type.b19_1.e3_1) {
|
|
623
623
|
case 0:
|
|
624
624
|
tmp_0 = 'int';
|
|
625
625
|
break;
|
|
@@ -634,7 +634,7 @@ function renderPrimitive($this, type) {
|
|
|
634
634
|
} else {
|
|
635
635
|
if (type instanceof Number_0) {
|
|
636
636
|
var tmp_1;
|
|
637
|
-
switch (type.
|
|
637
|
+
switch (type.w18_1.e3_1) {
|
|
638
638
|
case 0:
|
|
639
639
|
tmp_1 = 'float';
|
|
640
640
|
break;
|
|
@@ -671,7 +671,7 @@ function renderDoc($this, value, indent) {
|
|
|
671
671
|
}
|
|
672
672
|
function AvroIdlEmitter$renderRecord$lambda($this_renderRecord) {
|
|
673
673
|
return function (field) {
|
|
674
|
-
return ' ' + renderFieldType(AvroIdlEmitter_getInstance(), $this_renderRecord, field) + ' ' + field.
|
|
674
|
+
return ' ' + renderFieldType(AvroIdlEmitter_getInstance(), $this_renderRecord, field) + ' ' + field.op_1.o1() + renderDefault(AvroIdlEmitter_getInstance(), field.qp_1) + ';\n';
|
|
675
675
|
};
|
|
676
676
|
}
|
|
677
677
|
function AvroIdlEmitter$renderUnion$lambda($this_renderUnion) {
|
|
@@ -686,16 +686,16 @@ function AvroIdlEmitter$renderDoc$lambda($indent) {
|
|
|
686
686
|
}
|
|
687
687
|
function AvroIdlEmitter() {
|
|
688
688
|
AvroIdlEmitter_instance = this;
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
689
|
+
this.e4a_1 = FileExtension_AvroIdl_getInstance();
|
|
690
|
+
this.f4a_1 = true;
|
|
691
|
+
this.g4a_1 = ' ';
|
|
692
|
+
this.h4a_1 = 'unknown';
|
|
693
693
|
}
|
|
694
|
-
protoOf(AvroIdlEmitter).
|
|
695
|
-
return this.
|
|
694
|
+
protoOf(AvroIdlEmitter).wp = function () {
|
|
695
|
+
return this.e4a_1;
|
|
696
696
|
};
|
|
697
|
-
protoOf(AvroIdlEmitter).
|
|
698
|
-
return this.
|
|
697
|
+
protoOf(AvroIdlEmitter).vp = function () {
|
|
698
|
+
return this.f4a_1;
|
|
699
699
|
};
|
|
700
700
|
protoOf(AvroIdlEmitter).to = function (ast, logger) {
|
|
701
701
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -707,13 +707,13 @@ protoOf(AvroIdlEmitter).to = function (ast, logger) {
|
|
|
707
707
|
var _iterator__ex2g4s = this_1.t();
|
|
708
708
|
while (_iterator__ex2g4s.u()) {
|
|
709
709
|
var item = _iterator__ex2g4s.v();
|
|
710
|
-
logger.
|
|
711
|
-
var tmp$ret$3 = new Emitted('schema.avdl', AvroIdlEmitter_getInstance().
|
|
710
|
+
logger.as('Emitting Avro IDL from ' + item.fp_1.io_1);
|
|
711
|
+
var tmp$ret$3 = new Emitted('schema.avdl', AvroIdlEmitter_getInstance().i4a(item, deriveProtocolName(AvroIdlEmitter_getInstance(), item)));
|
|
712
712
|
destination.x(tmp$ret$3);
|
|
713
713
|
}
|
|
714
714
|
return _NonEmptyList___init__impl__fxd0xp(destination);
|
|
715
715
|
};
|
|
716
|
-
protoOf(AvroIdlEmitter).
|
|
716
|
+
protoOf(AvroIdlEmitter).i4a = function (module_0, protocolName) {
|
|
717
717
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
718
718
|
var tmp0 = inDependencyOrder(module_0);
|
|
719
719
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -769,7 +769,7 @@ function findType($this, $receiver, name) {
|
|
|
769
769
|
var _iterator__ex2g4s = tmp0.t();
|
|
770
770
|
while (_iterator__ex2g4s.u()) {
|
|
771
771
|
var element = _iterator__ex2g4s.v();
|
|
772
|
-
if (element.
|
|
772
|
+
if (element.ds().o1() === name) {
|
|
773
773
|
tmp$ret$1 = element;
|
|
774
774
|
break $l$block;
|
|
775
775
|
}
|
|
@@ -780,14 +780,14 @@ function findType($this, $receiver, name) {
|
|
|
780
780
|
}
|
|
781
781
|
function AvroJsonEmitter() {
|
|
782
782
|
AvroJsonEmitter_instance = this;
|
|
783
|
-
this.
|
|
784
|
-
this.
|
|
783
|
+
this.j4a_1 = FileExtension_JSON_getInstance();
|
|
784
|
+
this.k4a_1 = true;
|
|
785
785
|
}
|
|
786
|
-
protoOf(AvroJsonEmitter).
|
|
787
|
-
return this.
|
|
786
|
+
protoOf(AvroJsonEmitter).wp = function () {
|
|
787
|
+
return this.j4a_1;
|
|
788
788
|
};
|
|
789
|
-
protoOf(AvroJsonEmitter).
|
|
790
|
-
return this.
|
|
789
|
+
protoOf(AvroJsonEmitter).vp = function () {
|
|
790
|
+
return this.k4a_1;
|
|
791
791
|
};
|
|
792
792
|
protoOf(AvroJsonEmitter).to = function (ast, logger) {
|
|
793
793
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -799,8 +799,8 @@ protoOf(AvroJsonEmitter).to = function (ast, logger) {
|
|
|
799
799
|
var _iterator__ex2g4s = this_1.t();
|
|
800
800
|
while (_iterator__ex2g4s.u()) {
|
|
801
801
|
var item = _iterator__ex2g4s.v();
|
|
802
|
-
logger.
|
|
803
|
-
var tmp$ret$3 = AvroJsonEmitter_getInstance().
|
|
802
|
+
logger.as('Emitting Nodes from ' + item.fp_1.io_1 + ' ');
|
|
803
|
+
var tmp$ret$3 = AvroJsonEmitter_getInstance().l4a(item);
|
|
804
804
|
destination.x(tmp$ret$3);
|
|
805
805
|
}
|
|
806
806
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -815,11 +815,11 @@ protoOf(AvroJsonEmitter).to = function (ast, logger) {
|
|
|
815
815
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
816
816
|
var this_4 = Default_getInstance();
|
|
817
817
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
818
|
-
var this_5 = this_4.
|
|
818
|
+
var this_5 = this_4.b26();
|
|
819
819
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
820
820
|
var this_6 = serializer(this_5, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Type_0), arrayOf([]), false))]), false));
|
|
821
821
|
var tmp$ret$9 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
|
|
822
|
-
var tmp$ret$7 = this_4.
|
|
822
|
+
var tmp$ret$7 = this_4.g2n(tmp$ret$9, item_0);
|
|
823
823
|
destination_0.x(tmp$ret$7);
|
|
824
824
|
}
|
|
825
825
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -836,13 +836,13 @@ protoOf(AvroJsonEmitter).to = function (ast, logger) {
|
|
|
836
836
|
}
|
|
837
837
|
return _NonEmptyList___init__impl__fxd0xp(destination_1);
|
|
838
838
|
};
|
|
839
|
-
protoOf(AvroJsonEmitter).
|
|
840
|
-
return new EnumType('enum', _this__u8e3s4.
|
|
839
|
+
protoOf(AvroJsonEmitter).m4a = function (_this__u8e3s4) {
|
|
840
|
+
return new EnumType('enum', _this__u8e3s4.qs_1.o1(), VOID, toList(_this__u8e3s4.rs_1));
|
|
841
841
|
};
|
|
842
|
-
protoOf(AvroJsonEmitter).
|
|
843
|
-
var tmp = _this__u8e3s4.
|
|
842
|
+
protoOf(AvroJsonEmitter).n4a = function (_this__u8e3s4) {
|
|
843
|
+
var tmp = _this__u8e3s4.br_1.o1();
|
|
844
844
|
// Inline function 'kotlin.collections.map' call
|
|
845
|
-
var this_0 = _this__u8e3s4.
|
|
845
|
+
var this_0 = _this__u8e3s4.cr_1;
|
|
846
846
|
// Inline function 'kotlin.collections.mapTo' call
|
|
847
847
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
848
848
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -853,23 +853,23 @@ protoOf(AvroJsonEmitter).i4a = function (_this__u8e3s4) {
|
|
|
853
853
|
}
|
|
854
854
|
return new UnionType(tmp, TypeList_init_$Create$(destination));
|
|
855
855
|
};
|
|
856
|
-
protoOf(AvroJsonEmitter).
|
|
856
|
+
protoOf(AvroJsonEmitter).o4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
857
857
|
var tmp;
|
|
858
858
|
if (_this__u8e3s4 instanceof Dict) {
|
|
859
|
-
tmp = new MapType('map', this.
|
|
859
|
+
tmp = new MapType('map', this.o4a(_this__u8e3s4.bq_1, module_0, hasEmitted));
|
|
860
860
|
} else {
|
|
861
861
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
862
|
-
tmp = new ArrayType('array', this.
|
|
862
|
+
tmp = new ArrayType('array', this.o4a(_this__u8e3s4.yp_1, module_0, hasEmitted));
|
|
863
863
|
} else {
|
|
864
864
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
865
|
-
var type = _this__u8e3s4.
|
|
865
|
+
var type = _this__u8e3s4.t18_1;
|
|
866
866
|
var tmp_0;
|
|
867
867
|
if (type instanceof String_0) {
|
|
868
868
|
tmp_0 = new SimpleType('string');
|
|
869
869
|
} else {
|
|
870
870
|
if (type instanceof Integer) {
|
|
871
871
|
var tmp_1;
|
|
872
|
-
switch (type.
|
|
872
|
+
switch (type.b19_1.e3_1) {
|
|
873
873
|
case 0:
|
|
874
874
|
tmp_1 = new SimpleType('int');
|
|
875
875
|
break;
|
|
@@ -884,7 +884,7 @@ protoOf(AvroJsonEmitter).j4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
|
884
884
|
} else {
|
|
885
885
|
if (type instanceof Number_0) {
|
|
886
886
|
var tmp_2;
|
|
887
|
-
switch (type.
|
|
887
|
+
switch (type.w18_1.e3_1) {
|
|
888
888
|
case 0:
|
|
889
889
|
tmp_2 = new SimpleType('float');
|
|
890
890
|
break;
|
|
@@ -912,28 +912,28 @@ protoOf(AvroJsonEmitter).j4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
|
912
912
|
tmp = tmp_0;
|
|
913
913
|
} else {
|
|
914
914
|
if (_this__u8e3s4 instanceof Custom) {
|
|
915
|
-
var def = findType(this, module_0, _this__u8e3s4.
|
|
915
|
+
var def = findType(this, module_0, _this__u8e3s4.r18_1);
|
|
916
916
|
var tmp_3;
|
|
917
917
|
if (def instanceof Type) {
|
|
918
918
|
var tmp_4;
|
|
919
|
-
if (hasEmitted.i1(def.
|
|
919
|
+
if (hasEmitted.i1(def.kp_1.o1())) {
|
|
920
920
|
// Inline function 'kotlin.let' call
|
|
921
|
-
var p0 = def.
|
|
921
|
+
var p0 = def.kp_1.o1();
|
|
922
922
|
tmp_4 = new SimpleType(p0);
|
|
923
923
|
} else {
|
|
924
924
|
// Inline function 'kotlin.also' call
|
|
925
|
-
hasEmitted.x(def.
|
|
926
|
-
tmp_4 = this.
|
|
925
|
+
hasEmitted.x(def.kp_1.o1());
|
|
926
|
+
tmp_4 = this.p4a(def, module_0, hasEmitted);
|
|
927
927
|
}
|
|
928
928
|
tmp_3 = tmp_4;
|
|
929
929
|
} else {
|
|
930
930
|
if (def instanceof Enum) {
|
|
931
|
-
tmp_3 = new SimpleType(def.
|
|
931
|
+
tmp_3 = new SimpleType(def.qs_1.o1());
|
|
932
932
|
} else {
|
|
933
933
|
if (def instanceof Refined) {
|
|
934
|
-
tmp_3 = this.
|
|
934
|
+
tmp_3 = this.o4a(def.ms_1, module_0, hasEmitted);
|
|
935
935
|
} else {
|
|
936
|
-
tmp_3 = new SimpleType(_this__u8e3s4.
|
|
936
|
+
tmp_3 = new SimpleType(_this__u8e3s4.r18_1);
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
}
|
|
@@ -956,36 +956,36 @@ protoOf(AvroJsonEmitter).j4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
|
956
956
|
}
|
|
957
957
|
return tmp;
|
|
958
958
|
};
|
|
959
|
-
protoOf(AvroJsonEmitter).
|
|
960
|
-
var ref = _this__u8e3s4.
|
|
959
|
+
protoOf(AvroJsonEmitter).q4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
960
|
+
var ref = _this__u8e3s4.pp_1;
|
|
961
961
|
var tmp;
|
|
962
962
|
if (ref instanceof Iterable) {
|
|
963
|
-
tmp = new ArrayType('array', this.
|
|
963
|
+
tmp = new ArrayType('array', this.o4a(ref.yp_1, module_0, hasEmitted));
|
|
964
964
|
} else {
|
|
965
|
-
tmp = this.
|
|
965
|
+
tmp = this.o4a(ref, module_0, hasEmitted);
|
|
966
966
|
}
|
|
967
967
|
return tmp;
|
|
968
968
|
};
|
|
969
|
-
protoOf(AvroJsonEmitter).
|
|
970
|
-
var tmp0_name = _this__u8e3s4.
|
|
969
|
+
protoOf(AvroJsonEmitter).p4a = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
970
|
+
var tmp0_name = _this__u8e3s4.kp_1.o1();
|
|
971
971
|
// Inline function 'kotlin.collections.map' call
|
|
972
|
-
var this_0 = get_fields(_this__u8e3s4.
|
|
972
|
+
var this_0 = get_fields(_this__u8e3s4.lp_1);
|
|
973
973
|
// Inline function 'kotlin.collections.mapTo' call
|
|
974
974
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
975
975
|
var _iterator__ex2g4s = this_0.t();
|
|
976
976
|
while (_iterator__ex2g4s.u()) {
|
|
977
977
|
var item = _iterator__ex2g4s.v();
|
|
978
|
-
var tmp = item.
|
|
978
|
+
var tmp = item.op_1.o1();
|
|
979
979
|
// Inline function 'kotlin.let' call
|
|
980
|
-
var type = AvroJsonEmitter_getInstance().
|
|
981
|
-
var tmp_0 = !item.
|
|
982
|
-
var tmp0_safe_receiver = item.
|
|
980
|
+
var type = AvroJsonEmitter_getInstance().q4a(item, module_0, hasEmitted);
|
|
981
|
+
var tmp_0 = !item.pp_1.ot() ? new TypeList([type]) : isNonNull_0(AvroJsonEmitter_getInstance(), item.qp_1) ? new TypeList([type, new SimpleType('null')]) : new TypeList([new SimpleType('null'), type]);
|
|
982
|
+
var tmp0_safe_receiver = item.qp_1;
|
|
983
983
|
var tmp$ret$2 = new Field_0(tmp, tmp_0, VOID, tmp0_safe_receiver == null ? null : toJsonElement(tmp0_safe_receiver));
|
|
984
984
|
destination.x(tmp$ret$2);
|
|
985
985
|
}
|
|
986
986
|
return new RecordType('record', tmp0_name, VOID, destination);
|
|
987
987
|
};
|
|
988
|
-
protoOf(AvroJsonEmitter).
|
|
988
|
+
protoOf(AvroJsonEmitter).l4a = function (module_0) {
|
|
989
989
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
990
990
|
var hasEmitted = ArrayList_init_$Create$_0();
|
|
991
991
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -1000,7 +1000,7 @@ protoOf(AvroJsonEmitter).g4a = function (module_0) {
|
|
|
1000
1000
|
if (element instanceof Type) {
|
|
1001
1001
|
// Inline function 'kotlin.takeUnless' call
|
|
1002
1002
|
var tmp_0;
|
|
1003
|
-
if (!hasEmitted.i1(element.
|
|
1003
|
+
if (!hasEmitted.i1(element.kp_1.o1())) {
|
|
1004
1004
|
tmp_0 = element;
|
|
1005
1005
|
} else {
|
|
1006
1006
|
tmp_0 = null;
|
|
@@ -1011,17 +1011,17 @@ protoOf(AvroJsonEmitter).g4a = function (module_0) {
|
|
|
1011
1011
|
tmp_1 = null;
|
|
1012
1012
|
} else {
|
|
1013
1013
|
// Inline function 'kotlin.also' call
|
|
1014
|
-
hasEmitted.x(tmp1_safe_receiver.
|
|
1014
|
+
hasEmitted.x(tmp1_safe_receiver.kp_1.o1());
|
|
1015
1015
|
tmp_1 = tmp1_safe_receiver;
|
|
1016
1016
|
}
|
|
1017
1017
|
var tmp2_safe_receiver = tmp_1;
|
|
1018
|
-
tmp = tmp2_safe_receiver == null ? null : AvroJsonEmitter_getInstance().
|
|
1018
|
+
tmp = tmp2_safe_receiver == null ? null : AvroJsonEmitter_getInstance().p4a(tmp2_safe_receiver, module_0, hasEmitted);
|
|
1019
1019
|
} else {
|
|
1020
1020
|
if (element instanceof Enum) {
|
|
1021
|
-
tmp = AvroJsonEmitter_getInstance().
|
|
1021
|
+
tmp = AvroJsonEmitter_getInstance().m4a(element);
|
|
1022
1022
|
} else {
|
|
1023
1023
|
if (element instanceof Union) {
|
|
1024
|
-
tmp = AvroJsonEmitter_getInstance().
|
|
1024
|
+
tmp = AvroJsonEmitter_getInstance().n4a(element);
|
|
1025
1025
|
} else {
|
|
1026
1026
|
tmp = null;
|
|
1027
1027
|
}
|
|
@@ -1044,26 +1044,26 @@ function AvroJsonEmitter_getInstance() {
|
|
|
1044
1044
|
return AvroJsonEmitter_instance;
|
|
1045
1045
|
}
|
|
1046
1046
|
function AvroJsonParser$parse$lambda($this$Json) {
|
|
1047
|
-
$this$Json.
|
|
1048
|
-
$this$Json.
|
|
1047
|
+
$this$Json.c2o_1 = true;
|
|
1048
|
+
$this$Json.d2o_1 = true;
|
|
1049
1049
|
return Unit_instance;
|
|
1050
1050
|
}
|
|
1051
1051
|
function AvroJsonParser() {
|
|
1052
1052
|
}
|
|
1053
|
-
protoOf(AvroJsonParser).
|
|
1053
|
+
protoOf(AvroJsonParser).w48 = function (moduleContent, strict) {
|
|
1054
1054
|
var json = Json(VOID, AvroJsonParser$parse$lambda);
|
|
1055
1055
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
1056
1056
|
var string = moduleContent.do_1;
|
|
1057
1057
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1058
|
-
var this_0 = json.
|
|
1058
|
+
var this_0 = json.b26();
|
|
1059
1059
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1060
1060
|
var this_1 = serializer(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
|
|
1061
1061
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
1062
|
-
var avro = json.
|
|
1063
|
-
var tmp = AvroConverter_getInstance().
|
|
1062
|
+
var avro = json.h2n(tmp$ret$1, string);
|
|
1063
|
+
var tmp = AvroConverter_getInstance().d4a(avro);
|
|
1064
1064
|
var tmp_0;
|
|
1065
1065
|
if (avro instanceof RecordType) {
|
|
1066
|
-
tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.
|
|
1066
|
+
tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.s49_1), new Custom(avro.s49_1, false));
|
|
1067
1067
|
} else {
|
|
1068
1068
|
if (avro instanceof ArrayType) {
|
|
1069
1069
|
// Inline function 'kotlin.TODO' call
|
|
@@ -1147,11 +1147,11 @@ function Companion_getInstance_0() {
|
|
|
1147
1147
|
}
|
|
1148
1148
|
function Companion_1() {
|
|
1149
1149
|
}
|
|
1150
|
-
protoOf(Companion_1).
|
|
1150
|
+
protoOf(Companion_1).p2p = function () {
|
|
1151
1151
|
return TypeSerializer_getInstance();
|
|
1152
1152
|
};
|
|
1153
|
-
protoOf(Companion_1).
|
|
1154
|
-
return this.
|
|
1153
|
+
protoOf(Companion_1).a2e = function (typeParamsSerializers) {
|
|
1154
|
+
return this.p2p();
|
|
1155
1155
|
};
|
|
1156
1156
|
var Companion_instance_1;
|
|
1157
1157
|
function Companion_getInstance_1() {
|
|
@@ -1166,50 +1166,50 @@ function Companion_getInstance_2() {
|
|
|
1166
1166
|
function $serializer() {
|
|
1167
1167
|
$serializer_instance = this;
|
|
1168
1168
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
|
|
1169
|
-
tmp0_serialDesc.
|
|
1170
|
-
this.
|
|
1169
|
+
tmp0_serialDesc.a2d('value', false);
|
|
1170
|
+
this.r4a_1 = tmp0_serialDesc;
|
|
1171
1171
|
}
|
|
1172
|
-
protoOf($serializer).
|
|
1173
|
-
var tmp0_desc = this.
|
|
1174
|
-
var tmp1_output = encoder.
|
|
1175
|
-
tmp1_output.
|
|
1176
|
-
tmp1_output.
|
|
1172
|
+
protoOf($serializer).s4a = function (encoder, value) {
|
|
1173
|
+
var tmp0_desc = this.r4a_1;
|
|
1174
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1175
|
+
tmp1_output.b27(tmp0_desc, 0, value.e49_1);
|
|
1176
|
+
tmp1_output.n25(tmp0_desc);
|
|
1177
1177
|
};
|
|
1178
|
-
protoOf($serializer).
|
|
1179
|
-
return this.
|
|
1178
|
+
protoOf($serializer).o22 = function (encoder, value) {
|
|
1179
|
+
return this.s4a(encoder, value instanceof SimpleType ? value : THROW_CCE());
|
|
1180
1180
|
};
|
|
1181
|
-
protoOf($serializer).
|
|
1182
|
-
var tmp0_desc = this.
|
|
1181
|
+
protoOf($serializer).p22 = function (decoder) {
|
|
1182
|
+
var tmp0_desc = this.r4a_1;
|
|
1183
1183
|
var tmp1_flag = true;
|
|
1184
1184
|
var tmp2_index = 0;
|
|
1185
1185
|
var tmp3_bitMask0 = 0;
|
|
1186
1186
|
var tmp4_local0 = null;
|
|
1187
|
-
var tmp5_input = decoder.
|
|
1188
|
-
if (tmp5_input.
|
|
1189
|
-
tmp4_local0 = tmp5_input.
|
|
1187
|
+
var tmp5_input = decoder.m25(tmp0_desc);
|
|
1188
|
+
if (tmp5_input.c26()) {
|
|
1189
|
+
tmp4_local0 = tmp5_input.w25(tmp0_desc, 0);
|
|
1190
1190
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1191
1191
|
} else
|
|
1192
1192
|
while (tmp1_flag) {
|
|
1193
|
-
tmp2_index = tmp5_input.
|
|
1193
|
+
tmp2_index = tmp5_input.d26(tmp0_desc);
|
|
1194
1194
|
switch (tmp2_index) {
|
|
1195
1195
|
case -1:
|
|
1196
1196
|
tmp1_flag = false;
|
|
1197
1197
|
break;
|
|
1198
1198
|
case 0:
|
|
1199
|
-
tmp4_local0 = tmp5_input.
|
|
1199
|
+
tmp4_local0 = tmp5_input.w25(tmp0_desc, 0);
|
|
1200
1200
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1201
1201
|
break;
|
|
1202
1202
|
default:
|
|
1203
1203
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
|
-
tmp5_input.
|
|
1206
|
+
tmp5_input.n25(tmp0_desc);
|
|
1207
1207
|
return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1208
1208
|
};
|
|
1209
|
-
protoOf($serializer).
|
|
1210
|
-
return this.
|
|
1209
|
+
protoOf($serializer).n22 = function () {
|
|
1210
|
+
return this.r4a_1;
|
|
1211
1211
|
};
|
|
1212
|
-
protoOf($serializer).
|
|
1212
|
+
protoOf($serializer).p2d = function () {
|
|
1213
1213
|
// Inline function 'kotlin.arrayOf' call
|
|
1214
1214
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1215
1215
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1223,9 +1223,9 @@ function $serializer_getInstance() {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
|
|
1225
1225
|
if (!(1 === (1 & seen0))) {
|
|
1226
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
1226
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().r4a_1);
|
|
1227
1227
|
}
|
|
1228
|
-
$this.
|
|
1228
|
+
$this.e49_1 = value;
|
|
1229
1229
|
return $this;
|
|
1230
1230
|
}
|
|
1231
1231
|
function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
|
|
@@ -1241,9 +1241,9 @@ function Companion_3() {
|
|
|
1241
1241
|
// Inline function 'kotlin.arrayOf' call
|
|
1242
1242
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1243
1243
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1244
|
-
tmp.
|
|
1244
|
+
tmp.t4a_1 = [null, null, null, lazy(tmp_0, AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq), null];
|
|
1245
1245
|
}
|
|
1246
|
-
protoOf(Companion_3).
|
|
1246
|
+
protoOf(Companion_3).p2p = function () {
|
|
1247
1247
|
return $serializer_getInstance_0();
|
|
1248
1248
|
};
|
|
1249
1249
|
var Companion_instance_3;
|
|
@@ -1255,33 +1255,33 @@ function Companion_getInstance_3() {
|
|
|
1255
1255
|
function $serializer_0() {
|
|
1256
1256
|
$serializer_instance_0 = this;
|
|
1257
1257
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.RecordType', this, 5);
|
|
1258
|
-
tmp0_serialDesc.
|
|
1259
|
-
tmp0_serialDesc.
|
|
1260
|
-
tmp0_serialDesc.
|
|
1261
|
-
tmp0_serialDesc.
|
|
1262
|
-
tmp0_serialDesc.
|
|
1263
|
-
this.
|
|
1264
|
-
}
|
|
1265
|
-
protoOf($serializer_0).
|
|
1266
|
-
var tmp0_desc = this.
|
|
1267
|
-
var tmp1_output = encoder.
|
|
1268
|
-
var tmp2_cached = Companion_getInstance_3().
|
|
1269
|
-
tmp1_output.
|
|
1270
|
-
tmp1_output.
|
|
1271
|
-
if (tmp1_output.
|
|
1272
|
-
tmp1_output.
|
|
1273
|
-
}
|
|
1274
|
-
tmp1_output.
|
|
1275
|
-
if (tmp1_output.
|
|
1276
|
-
tmp1_output.
|
|
1277
|
-
}
|
|
1278
|
-
tmp1_output.
|
|
1279
|
-
};
|
|
1280
|
-
protoOf($serializer_0).
|
|
1281
|
-
return this.
|
|
1282
|
-
};
|
|
1283
|
-
protoOf($serializer_0).
|
|
1284
|
-
var tmp0_desc = this.
|
|
1258
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1259
|
+
tmp0_serialDesc.a2d('name', false);
|
|
1260
|
+
tmp0_serialDesc.a2d('namespace', true);
|
|
1261
|
+
tmp0_serialDesc.a2d('fields', false);
|
|
1262
|
+
tmp0_serialDesc.a2d('doc', true);
|
|
1263
|
+
this.u4a_1 = tmp0_serialDesc;
|
|
1264
|
+
}
|
|
1265
|
+
protoOf($serializer_0).v4a = function (encoder, value) {
|
|
1266
|
+
var tmp0_desc = this.u4a_1;
|
|
1267
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1268
|
+
var tmp2_cached = Companion_getInstance_3().t4a_1;
|
|
1269
|
+
tmp1_output.b27(tmp0_desc, 0, value.r49_1);
|
|
1270
|
+
tmp1_output.b27(tmp0_desc, 1, value.s49_1);
|
|
1271
|
+
if (tmp1_output.j27(tmp0_desc, 2) ? true : !(value.t49_1 == null)) {
|
|
1272
|
+
tmp1_output.f27(tmp0_desc, 2, StringSerializer_getInstance(), value.t49_1);
|
|
1273
|
+
}
|
|
1274
|
+
tmp1_output.d27(tmp0_desc, 3, tmp2_cached[3].o1(), value.u49_1);
|
|
1275
|
+
if (tmp1_output.j27(tmp0_desc, 4) ? true : !(value.v49_1 == null)) {
|
|
1276
|
+
tmp1_output.f27(tmp0_desc, 4, StringSerializer_getInstance(), value.v49_1);
|
|
1277
|
+
}
|
|
1278
|
+
tmp1_output.n25(tmp0_desc);
|
|
1279
|
+
};
|
|
1280
|
+
protoOf($serializer_0).o22 = function (encoder, value) {
|
|
1281
|
+
return this.v4a(encoder, value instanceof RecordType ? value : THROW_CCE());
|
|
1282
|
+
};
|
|
1283
|
+
protoOf($serializer_0).p22 = function (decoder) {
|
|
1284
|
+
var tmp0_desc = this.u4a_1;
|
|
1285
1285
|
var tmp1_flag = true;
|
|
1286
1286
|
var tmp2_index = 0;
|
|
1287
1287
|
var tmp3_bitMask0 = 0;
|
|
@@ -1290,58 +1290,58 @@ protoOf($serializer_0).l22 = function (decoder) {
|
|
|
1290
1290
|
var tmp6_local2 = null;
|
|
1291
1291
|
var tmp7_local3 = null;
|
|
1292
1292
|
var tmp8_local4 = null;
|
|
1293
|
-
var tmp9_input = decoder.
|
|
1294
|
-
var tmp10_cached = Companion_getInstance_3().
|
|
1295
|
-
if (tmp9_input.
|
|
1296
|
-
tmp4_local0 = tmp9_input.
|
|
1293
|
+
var tmp9_input = decoder.m25(tmp0_desc);
|
|
1294
|
+
var tmp10_cached = Companion_getInstance_3().t4a_1;
|
|
1295
|
+
if (tmp9_input.c26()) {
|
|
1296
|
+
tmp4_local0 = tmp9_input.w25(tmp0_desc, 0);
|
|
1297
1297
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1298
|
-
tmp5_local1 = tmp9_input.
|
|
1298
|
+
tmp5_local1 = tmp9_input.w25(tmp0_desc, 1);
|
|
1299
1299
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1300
|
-
tmp6_local2 = tmp9_input.
|
|
1300
|
+
tmp6_local2 = tmp9_input.a26(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1301
1301
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1302
|
-
tmp7_local3 = tmp9_input.
|
|
1302
|
+
tmp7_local3 = tmp9_input.y25(tmp0_desc, 3, tmp10_cached[3].o1(), tmp7_local3);
|
|
1303
1303
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1304
|
-
tmp8_local4 = tmp9_input.
|
|
1304
|
+
tmp8_local4 = tmp9_input.a26(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
1305
1305
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1306
1306
|
} else
|
|
1307
1307
|
while (tmp1_flag) {
|
|
1308
|
-
tmp2_index = tmp9_input.
|
|
1308
|
+
tmp2_index = tmp9_input.d26(tmp0_desc);
|
|
1309
1309
|
switch (tmp2_index) {
|
|
1310
1310
|
case -1:
|
|
1311
1311
|
tmp1_flag = false;
|
|
1312
1312
|
break;
|
|
1313
1313
|
case 0:
|
|
1314
|
-
tmp4_local0 = tmp9_input.
|
|
1314
|
+
tmp4_local0 = tmp9_input.w25(tmp0_desc, 0);
|
|
1315
1315
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1316
1316
|
break;
|
|
1317
1317
|
case 1:
|
|
1318
|
-
tmp5_local1 = tmp9_input.
|
|
1318
|
+
tmp5_local1 = tmp9_input.w25(tmp0_desc, 1);
|
|
1319
1319
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1320
1320
|
break;
|
|
1321
1321
|
case 2:
|
|
1322
|
-
tmp6_local2 = tmp9_input.
|
|
1322
|
+
tmp6_local2 = tmp9_input.a26(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1323
1323
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1324
1324
|
break;
|
|
1325
1325
|
case 3:
|
|
1326
|
-
tmp7_local3 = tmp9_input.
|
|
1326
|
+
tmp7_local3 = tmp9_input.y25(tmp0_desc, 3, tmp10_cached[3].o1(), tmp7_local3);
|
|
1327
1327
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1328
1328
|
break;
|
|
1329
1329
|
case 4:
|
|
1330
|
-
tmp8_local4 = tmp9_input.
|
|
1330
|
+
tmp8_local4 = tmp9_input.a26(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
1331
1331
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1332
1332
|
break;
|
|
1333
1333
|
default:
|
|
1334
1334
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
tmp9_input.
|
|
1337
|
+
tmp9_input.n25(tmp0_desc);
|
|
1338
1338
|
return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
1339
1339
|
};
|
|
1340
|
-
protoOf($serializer_0).
|
|
1341
|
-
return this.
|
|
1340
|
+
protoOf($serializer_0).n22 = function () {
|
|
1341
|
+
return this.u4a_1;
|
|
1342
1342
|
};
|
|
1343
|
-
protoOf($serializer_0).
|
|
1344
|
-
var tmp0_cached = Companion_getInstance_3().
|
|
1343
|
+
protoOf($serializer_0).p2d = function () {
|
|
1344
|
+
var tmp0_cached = Companion_getInstance_3().t4a_1;
|
|
1345
1345
|
// Inline function 'kotlin.arrayOf' call
|
|
1346
1346
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1347
1347
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1355,19 +1355,19 @@ function $serializer_getInstance_0() {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
|
|
1357
1357
|
if (!(11 === (11 & seen0))) {
|
|
1358
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_0().
|
|
1358
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_0().u4a_1);
|
|
1359
1359
|
}
|
|
1360
|
-
$this.
|
|
1361
|
-
$this.
|
|
1360
|
+
$this.r49_1 = type;
|
|
1361
|
+
$this.s49_1 = name;
|
|
1362
1362
|
if (0 === (seen0 & 4))
|
|
1363
|
-
$this.
|
|
1363
|
+
$this.t49_1 = null;
|
|
1364
1364
|
else
|
|
1365
|
-
$this.
|
|
1366
|
-
$this.
|
|
1365
|
+
$this.t49_1 = namespace;
|
|
1366
|
+
$this.u49_1 = fields;
|
|
1367
1367
|
if (0 === (seen0 & 16))
|
|
1368
|
-
$this.
|
|
1368
|
+
$this.v49_1 = null;
|
|
1369
1369
|
else
|
|
1370
|
-
$this.
|
|
1370
|
+
$this.v49_1 = doc;
|
|
1371
1371
|
return $this;
|
|
1372
1372
|
}
|
|
1373
1373
|
function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
|
|
@@ -1375,7 +1375,7 @@ function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, ser
|
|
|
1375
1375
|
}
|
|
1376
1376
|
function Companion_4() {
|
|
1377
1377
|
}
|
|
1378
|
-
protoOf(Companion_4).
|
|
1378
|
+
protoOf(Companion_4).p2p = function () {
|
|
1379
1379
|
return $serializer_getInstance_1();
|
|
1380
1380
|
};
|
|
1381
1381
|
var Companion_instance_4;
|
|
@@ -1385,59 +1385,59 @@ function Companion_getInstance_4() {
|
|
|
1385
1385
|
function $serializer_1() {
|
|
1386
1386
|
$serializer_instance_1 = this;
|
|
1387
1387
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
|
|
1388
|
-
tmp0_serialDesc.
|
|
1389
|
-
tmp0_serialDesc.
|
|
1390
|
-
this.
|
|
1388
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1389
|
+
tmp0_serialDesc.a2d('items', false);
|
|
1390
|
+
this.w4a_1 = tmp0_serialDesc;
|
|
1391
1391
|
}
|
|
1392
|
-
protoOf($serializer_1).
|
|
1393
|
-
var tmp0_desc = this.
|
|
1394
|
-
var tmp1_output = encoder.
|
|
1395
|
-
tmp1_output.
|
|
1396
|
-
tmp1_output.
|
|
1397
|
-
tmp1_output.
|
|
1392
|
+
protoOf($serializer_1).x4a = function (encoder, value) {
|
|
1393
|
+
var tmp0_desc = this.w4a_1;
|
|
1394
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1395
|
+
tmp1_output.b27(tmp0_desc, 0, value.w49_1);
|
|
1396
|
+
tmp1_output.d27(tmp0_desc, 1, TypeSerializer_getInstance(), value.x49_1);
|
|
1397
|
+
tmp1_output.n25(tmp0_desc);
|
|
1398
1398
|
};
|
|
1399
|
-
protoOf($serializer_1).
|
|
1400
|
-
return this.
|
|
1399
|
+
protoOf($serializer_1).o22 = function (encoder, value) {
|
|
1400
|
+
return this.x4a(encoder, value instanceof ArrayType ? value : THROW_CCE());
|
|
1401
1401
|
};
|
|
1402
|
-
protoOf($serializer_1).
|
|
1403
|
-
var tmp0_desc = this.
|
|
1402
|
+
protoOf($serializer_1).p22 = function (decoder) {
|
|
1403
|
+
var tmp0_desc = this.w4a_1;
|
|
1404
1404
|
var tmp1_flag = true;
|
|
1405
1405
|
var tmp2_index = 0;
|
|
1406
1406
|
var tmp3_bitMask0 = 0;
|
|
1407
1407
|
var tmp4_local0 = null;
|
|
1408
1408
|
var tmp5_local1 = null;
|
|
1409
|
-
var tmp6_input = decoder.
|
|
1410
|
-
if (tmp6_input.
|
|
1411
|
-
tmp4_local0 = tmp6_input.
|
|
1409
|
+
var tmp6_input = decoder.m25(tmp0_desc);
|
|
1410
|
+
if (tmp6_input.c26()) {
|
|
1411
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1412
1412
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1413
|
-
tmp5_local1 = tmp6_input.
|
|
1413
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
1414
1414
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1415
1415
|
} else
|
|
1416
1416
|
while (tmp1_flag) {
|
|
1417
|
-
tmp2_index = tmp6_input.
|
|
1417
|
+
tmp2_index = tmp6_input.d26(tmp0_desc);
|
|
1418
1418
|
switch (tmp2_index) {
|
|
1419
1419
|
case -1:
|
|
1420
1420
|
tmp1_flag = false;
|
|
1421
1421
|
break;
|
|
1422
1422
|
case 0:
|
|
1423
|
-
tmp4_local0 = tmp6_input.
|
|
1423
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1424
1424
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1425
1425
|
break;
|
|
1426
1426
|
case 1:
|
|
1427
|
-
tmp5_local1 = tmp6_input.
|
|
1427
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
1428
1428
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1429
1429
|
break;
|
|
1430
1430
|
default:
|
|
1431
1431
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
|
-
tmp6_input.
|
|
1434
|
+
tmp6_input.n25(tmp0_desc);
|
|
1435
1435
|
return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1436
1436
|
};
|
|
1437
|
-
protoOf($serializer_1).
|
|
1438
|
-
return this.
|
|
1437
|
+
protoOf($serializer_1).n22 = function () {
|
|
1438
|
+
return this.w4a_1;
|
|
1439
1439
|
};
|
|
1440
|
-
protoOf($serializer_1).
|
|
1440
|
+
protoOf($serializer_1).p2d = function () {
|
|
1441
1441
|
// Inline function 'kotlin.arrayOf' call
|
|
1442
1442
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1443
1443
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1451,10 +1451,10 @@ function $serializer_getInstance_1() {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
|
|
1453
1453
|
if (!(3 === (3 & seen0))) {
|
|
1454
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_1().
|
|
1454
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_1().w4a_1);
|
|
1455
1455
|
}
|
|
1456
|
-
$this.
|
|
1457
|
-
$this.
|
|
1456
|
+
$this.w49_1 = type;
|
|
1457
|
+
$this.x49_1 = items;
|
|
1458
1458
|
return $this;
|
|
1459
1459
|
}
|
|
1460
1460
|
function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
|
|
@@ -1462,7 +1462,7 @@ function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMar
|
|
|
1462
1462
|
}
|
|
1463
1463
|
function Companion_5() {
|
|
1464
1464
|
}
|
|
1465
|
-
protoOf(Companion_5).
|
|
1465
|
+
protoOf(Companion_5).p2p = function () {
|
|
1466
1466
|
return $serializer_getInstance_2();
|
|
1467
1467
|
};
|
|
1468
1468
|
var Companion_instance_5;
|
|
@@ -1472,59 +1472,59 @@ function Companion_getInstance_5() {
|
|
|
1472
1472
|
function $serializer_2() {
|
|
1473
1473
|
$serializer_instance_2 = this;
|
|
1474
1474
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.MapType', this, 2);
|
|
1475
|
-
tmp0_serialDesc.
|
|
1476
|
-
tmp0_serialDesc.
|
|
1477
|
-
this.
|
|
1478
|
-
}
|
|
1479
|
-
protoOf($serializer_2).
|
|
1480
|
-
var tmp0_desc = this.
|
|
1481
|
-
var tmp1_output = encoder.
|
|
1482
|
-
tmp1_output.
|
|
1483
|
-
tmp1_output.
|
|
1484
|
-
tmp1_output.
|
|
1485
|
-
};
|
|
1486
|
-
protoOf($serializer_2).
|
|
1487
|
-
return this.
|
|
1488
|
-
};
|
|
1489
|
-
protoOf($serializer_2).
|
|
1490
|
-
var tmp0_desc = this.
|
|
1475
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1476
|
+
tmp0_serialDesc.a2d('values', false);
|
|
1477
|
+
this.y4a_1 = tmp0_serialDesc;
|
|
1478
|
+
}
|
|
1479
|
+
protoOf($serializer_2).z4a = function (encoder, value) {
|
|
1480
|
+
var tmp0_desc = this.y4a_1;
|
|
1481
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1482
|
+
tmp1_output.b27(tmp0_desc, 0, value.h49_1);
|
|
1483
|
+
tmp1_output.d27(tmp0_desc, 1, TypeSerializer_getInstance(), value.i49_1);
|
|
1484
|
+
tmp1_output.n25(tmp0_desc);
|
|
1485
|
+
};
|
|
1486
|
+
protoOf($serializer_2).o22 = function (encoder, value) {
|
|
1487
|
+
return this.z4a(encoder, value instanceof MapType ? value : THROW_CCE());
|
|
1488
|
+
};
|
|
1489
|
+
protoOf($serializer_2).p22 = function (decoder) {
|
|
1490
|
+
var tmp0_desc = this.y4a_1;
|
|
1491
1491
|
var tmp1_flag = true;
|
|
1492
1492
|
var tmp2_index = 0;
|
|
1493
1493
|
var tmp3_bitMask0 = 0;
|
|
1494
1494
|
var tmp4_local0 = null;
|
|
1495
1495
|
var tmp5_local1 = null;
|
|
1496
|
-
var tmp6_input = decoder.
|
|
1497
|
-
if (tmp6_input.
|
|
1498
|
-
tmp4_local0 = tmp6_input.
|
|
1496
|
+
var tmp6_input = decoder.m25(tmp0_desc);
|
|
1497
|
+
if (tmp6_input.c26()) {
|
|
1498
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1499
1499
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1500
|
-
tmp5_local1 = tmp6_input.
|
|
1500
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
1501
1501
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1502
1502
|
} else
|
|
1503
1503
|
while (tmp1_flag) {
|
|
1504
|
-
tmp2_index = tmp6_input.
|
|
1504
|
+
tmp2_index = tmp6_input.d26(tmp0_desc);
|
|
1505
1505
|
switch (tmp2_index) {
|
|
1506
1506
|
case -1:
|
|
1507
1507
|
tmp1_flag = false;
|
|
1508
1508
|
break;
|
|
1509
1509
|
case 0:
|
|
1510
|
-
tmp4_local0 = tmp6_input.
|
|
1510
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1511
1511
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1512
1512
|
break;
|
|
1513
1513
|
case 1:
|
|
1514
|
-
tmp5_local1 = tmp6_input.
|
|
1514
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
1515
1515
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1516
1516
|
break;
|
|
1517
1517
|
default:
|
|
1518
1518
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
|
-
tmp6_input.
|
|
1521
|
+
tmp6_input.n25(tmp0_desc);
|
|
1522
1522
|
return MapType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1523
1523
|
};
|
|
1524
|
-
protoOf($serializer_2).
|
|
1525
|
-
return this.
|
|
1524
|
+
protoOf($serializer_2).n22 = function () {
|
|
1525
|
+
return this.y4a_1;
|
|
1526
1526
|
};
|
|
1527
|
-
protoOf($serializer_2).
|
|
1527
|
+
protoOf($serializer_2).p2d = function () {
|
|
1528
1528
|
// Inline function 'kotlin.arrayOf' call
|
|
1529
1529
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1530
1530
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1538,10 +1538,10 @@ function $serializer_getInstance_2() {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
function MapType_init_$Init$(seen0, type, values, serializationConstructorMarker, $this) {
|
|
1540
1540
|
if (!(3 === (3 & seen0))) {
|
|
1541
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1541
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().y4a_1);
|
|
1542
1542
|
}
|
|
1543
|
-
$this.
|
|
1544
|
-
$this.
|
|
1543
|
+
$this.h49_1 = type;
|
|
1544
|
+
$this.i49_1 = values;
|
|
1545
1545
|
return $this;
|
|
1546
1546
|
}
|
|
1547
1547
|
function MapType_init_$Create$(seen0, type, values, serializationConstructorMarker) {
|
|
@@ -1557,9 +1557,9 @@ function Companion_6() {
|
|
|
1557
1557
|
// Inline function 'kotlin.arrayOf' call
|
|
1558
1558
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1559
1559
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1560
|
-
tmp.
|
|
1560
|
+
tmp.a4b_1 = [null, null, null, lazy(tmp_0, AvroModel$EnumType$Companion$$childSerializers$_anonymous__vqfr9a)];
|
|
1561
1561
|
}
|
|
1562
|
-
protoOf(Companion_6).
|
|
1562
|
+
protoOf(Companion_6).p2p = function () {
|
|
1563
1563
|
return $serializer_getInstance_3();
|
|
1564
1564
|
};
|
|
1565
1565
|
var Companion_instance_6;
|
|
@@ -1571,29 +1571,29 @@ function Companion_getInstance_6() {
|
|
|
1571
1571
|
function $serializer_3() {
|
|
1572
1572
|
$serializer_instance_3 = this;
|
|
1573
1573
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.EnumType', this, 4);
|
|
1574
|
-
tmp0_serialDesc.
|
|
1575
|
-
tmp0_serialDesc.
|
|
1576
|
-
tmp0_serialDesc.
|
|
1577
|
-
tmp0_serialDesc.
|
|
1578
|
-
this.
|
|
1579
|
-
}
|
|
1580
|
-
protoOf($serializer_3).
|
|
1581
|
-
var tmp0_desc = this.
|
|
1582
|
-
var tmp1_output = encoder.
|
|
1583
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
1584
|
-
tmp1_output.
|
|
1585
|
-
tmp1_output.
|
|
1586
|
-
if (tmp1_output.
|
|
1587
|
-
tmp1_output.
|
|
1588
|
-
}
|
|
1589
|
-
tmp1_output.
|
|
1590
|
-
tmp1_output.
|
|
1591
|
-
};
|
|
1592
|
-
protoOf($serializer_3).
|
|
1593
|
-
return this.
|
|
1594
|
-
};
|
|
1595
|
-
protoOf($serializer_3).
|
|
1596
|
-
var tmp0_desc = this.
|
|
1574
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1575
|
+
tmp0_serialDesc.a2d('name', false);
|
|
1576
|
+
tmp0_serialDesc.a2d('doc', true);
|
|
1577
|
+
tmp0_serialDesc.a2d('symbols', false);
|
|
1578
|
+
this.b4b_1 = tmp0_serialDesc;
|
|
1579
|
+
}
|
|
1580
|
+
protoOf($serializer_3).c4b = function (encoder, value) {
|
|
1581
|
+
var tmp0_desc = this.b4b_1;
|
|
1582
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1583
|
+
var tmp2_cached = Companion_getInstance_6().a4b_1;
|
|
1584
|
+
tmp1_output.b27(tmp0_desc, 0, value.n49_1);
|
|
1585
|
+
tmp1_output.b27(tmp0_desc, 1, value.o49_1);
|
|
1586
|
+
if (tmp1_output.j27(tmp0_desc, 2) ? true : !(value.p49_1 == null)) {
|
|
1587
|
+
tmp1_output.f27(tmp0_desc, 2, StringSerializer_getInstance(), value.p49_1);
|
|
1588
|
+
}
|
|
1589
|
+
tmp1_output.d27(tmp0_desc, 3, tmp2_cached[3].o1(), value.q49_1);
|
|
1590
|
+
tmp1_output.n25(tmp0_desc);
|
|
1591
|
+
};
|
|
1592
|
+
protoOf($serializer_3).o22 = function (encoder, value) {
|
|
1593
|
+
return this.c4b(encoder, value instanceof EnumType ? value : THROW_CCE());
|
|
1594
|
+
};
|
|
1595
|
+
protoOf($serializer_3).p22 = function (decoder) {
|
|
1596
|
+
var tmp0_desc = this.b4b_1;
|
|
1597
1597
|
var tmp1_flag = true;
|
|
1598
1598
|
var tmp2_index = 0;
|
|
1599
1599
|
var tmp3_bitMask0 = 0;
|
|
@@ -1601,52 +1601,52 @@ protoOf($serializer_3).l22 = function (decoder) {
|
|
|
1601
1601
|
var tmp5_local1 = null;
|
|
1602
1602
|
var tmp6_local2 = null;
|
|
1603
1603
|
var tmp7_local3 = null;
|
|
1604
|
-
var tmp8_input = decoder.
|
|
1605
|
-
var tmp9_cached = Companion_getInstance_6().
|
|
1606
|
-
if (tmp8_input.
|
|
1607
|
-
tmp4_local0 = tmp8_input.
|
|
1604
|
+
var tmp8_input = decoder.m25(tmp0_desc);
|
|
1605
|
+
var tmp9_cached = Companion_getInstance_6().a4b_1;
|
|
1606
|
+
if (tmp8_input.c26()) {
|
|
1607
|
+
tmp4_local0 = tmp8_input.w25(tmp0_desc, 0);
|
|
1608
1608
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1609
|
-
tmp5_local1 = tmp8_input.
|
|
1609
|
+
tmp5_local1 = tmp8_input.w25(tmp0_desc, 1);
|
|
1610
1610
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1611
|
-
tmp6_local2 = tmp8_input.
|
|
1611
|
+
tmp6_local2 = tmp8_input.a26(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1612
1612
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1613
|
-
tmp7_local3 = tmp8_input.
|
|
1613
|
+
tmp7_local3 = tmp8_input.y25(tmp0_desc, 3, tmp9_cached[3].o1(), tmp7_local3);
|
|
1614
1614
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1615
1615
|
} else
|
|
1616
1616
|
while (tmp1_flag) {
|
|
1617
|
-
tmp2_index = tmp8_input.
|
|
1617
|
+
tmp2_index = tmp8_input.d26(tmp0_desc);
|
|
1618
1618
|
switch (tmp2_index) {
|
|
1619
1619
|
case -1:
|
|
1620
1620
|
tmp1_flag = false;
|
|
1621
1621
|
break;
|
|
1622
1622
|
case 0:
|
|
1623
|
-
tmp4_local0 = tmp8_input.
|
|
1623
|
+
tmp4_local0 = tmp8_input.w25(tmp0_desc, 0);
|
|
1624
1624
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1625
1625
|
break;
|
|
1626
1626
|
case 1:
|
|
1627
|
-
tmp5_local1 = tmp8_input.
|
|
1627
|
+
tmp5_local1 = tmp8_input.w25(tmp0_desc, 1);
|
|
1628
1628
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1629
1629
|
break;
|
|
1630
1630
|
case 2:
|
|
1631
|
-
tmp6_local2 = tmp8_input.
|
|
1631
|
+
tmp6_local2 = tmp8_input.a26(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1632
1632
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1633
1633
|
break;
|
|
1634
1634
|
case 3:
|
|
1635
|
-
tmp7_local3 = tmp8_input.
|
|
1635
|
+
tmp7_local3 = tmp8_input.y25(tmp0_desc, 3, tmp9_cached[3].o1(), tmp7_local3);
|
|
1636
1636
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1637
1637
|
break;
|
|
1638
1638
|
default:
|
|
1639
1639
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1640
1640
|
}
|
|
1641
1641
|
}
|
|
1642
|
-
tmp8_input.
|
|
1642
|
+
tmp8_input.n25(tmp0_desc);
|
|
1643
1643
|
return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1644
1644
|
};
|
|
1645
|
-
protoOf($serializer_3).
|
|
1646
|
-
return this.
|
|
1645
|
+
protoOf($serializer_3).n22 = function () {
|
|
1646
|
+
return this.b4b_1;
|
|
1647
1647
|
};
|
|
1648
|
-
protoOf($serializer_3).
|
|
1649
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1648
|
+
protoOf($serializer_3).p2d = function () {
|
|
1649
|
+
var tmp0_cached = Companion_getInstance_6().a4b_1;
|
|
1650
1650
|
// Inline function 'kotlin.arrayOf' call
|
|
1651
1651
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1652
1652
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1660,15 +1660,15 @@ function $serializer_getInstance_3() {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
|
|
1662
1662
|
if (!(11 === (11 & seen0))) {
|
|
1663
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_3().
|
|
1663
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_3().b4b_1);
|
|
1664
1664
|
}
|
|
1665
|
-
$this.
|
|
1666
|
-
$this.
|
|
1665
|
+
$this.n49_1 = type;
|
|
1666
|
+
$this.o49_1 = name;
|
|
1667
1667
|
if (0 === (seen0 & 4))
|
|
1668
|
-
$this.
|
|
1668
|
+
$this.p49_1 = null;
|
|
1669
1669
|
else
|
|
1670
|
-
$this.
|
|
1671
|
-
$this.
|
|
1670
|
+
$this.p49_1 = doc;
|
|
1671
|
+
$this.q49_1 = symbols;
|
|
1672
1672
|
return $this;
|
|
1673
1673
|
}
|
|
1674
1674
|
function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
|
|
@@ -1676,7 +1676,7 @@ function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationCo
|
|
|
1676
1676
|
}
|
|
1677
1677
|
function Companion_7() {
|
|
1678
1678
|
}
|
|
1679
|
-
protoOf(Companion_7).
|
|
1679
|
+
protoOf(Companion_7).p2p = function () {
|
|
1680
1680
|
return $serializer_getInstance_4();
|
|
1681
1681
|
};
|
|
1682
1682
|
var Companion_instance_7;
|
|
@@ -1686,59 +1686,59 @@ function Companion_getInstance_7() {
|
|
|
1686
1686
|
function $serializer_4() {
|
|
1687
1687
|
$serializer_instance_4 = this;
|
|
1688
1688
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.UnionType', this, 2);
|
|
1689
|
-
tmp0_serialDesc.
|
|
1690
|
-
tmp0_serialDesc.
|
|
1691
|
-
this.
|
|
1692
|
-
}
|
|
1693
|
-
protoOf($serializer_4).
|
|
1694
|
-
var tmp0_desc = this.
|
|
1695
|
-
var tmp1_output = encoder.
|
|
1696
|
-
tmp1_output.
|
|
1697
|
-
tmp1_output.
|
|
1698
|
-
tmp1_output.
|
|
1699
|
-
};
|
|
1700
|
-
protoOf($serializer_4).
|
|
1701
|
-
return this.
|
|
1702
|
-
};
|
|
1703
|
-
protoOf($serializer_4).
|
|
1704
|
-
var tmp0_desc = this.
|
|
1689
|
+
tmp0_serialDesc.a2d('name', false);
|
|
1690
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1691
|
+
this.d4b_1 = tmp0_serialDesc;
|
|
1692
|
+
}
|
|
1693
|
+
protoOf($serializer_4).e4b = function (encoder, value) {
|
|
1694
|
+
var tmp0_desc = this.d4b_1;
|
|
1695
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1696
|
+
tmp1_output.b27(tmp0_desc, 0, value.f49_1);
|
|
1697
|
+
tmp1_output.d27(tmp0_desc, 1, TypeListSerializer_getInstance(), value.g49_1);
|
|
1698
|
+
tmp1_output.n25(tmp0_desc);
|
|
1699
|
+
};
|
|
1700
|
+
protoOf($serializer_4).o22 = function (encoder, value) {
|
|
1701
|
+
return this.e4b(encoder, value instanceof UnionType ? value : THROW_CCE());
|
|
1702
|
+
};
|
|
1703
|
+
protoOf($serializer_4).p22 = function (decoder) {
|
|
1704
|
+
var tmp0_desc = this.d4b_1;
|
|
1705
1705
|
var tmp1_flag = true;
|
|
1706
1706
|
var tmp2_index = 0;
|
|
1707
1707
|
var tmp3_bitMask0 = 0;
|
|
1708
1708
|
var tmp4_local0 = null;
|
|
1709
1709
|
var tmp5_local1 = null;
|
|
1710
|
-
var tmp6_input = decoder.
|
|
1711
|
-
if (tmp6_input.
|
|
1712
|
-
tmp4_local0 = tmp6_input.
|
|
1710
|
+
var tmp6_input = decoder.m25(tmp0_desc);
|
|
1711
|
+
if (tmp6_input.c26()) {
|
|
1712
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1713
1713
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1714
|
-
tmp5_local1 = tmp6_input.
|
|
1714
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
|
|
1715
1715
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1716
1716
|
} else
|
|
1717
1717
|
while (tmp1_flag) {
|
|
1718
|
-
tmp2_index = tmp6_input.
|
|
1718
|
+
tmp2_index = tmp6_input.d26(tmp0_desc);
|
|
1719
1719
|
switch (tmp2_index) {
|
|
1720
1720
|
case -1:
|
|
1721
1721
|
tmp1_flag = false;
|
|
1722
1722
|
break;
|
|
1723
1723
|
case 0:
|
|
1724
|
-
tmp4_local0 = tmp6_input.
|
|
1724
|
+
tmp4_local0 = tmp6_input.w25(tmp0_desc, 0);
|
|
1725
1725
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1726
1726
|
break;
|
|
1727
1727
|
case 1:
|
|
1728
|
-
tmp5_local1 = tmp6_input.
|
|
1728
|
+
tmp5_local1 = tmp6_input.y25(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
|
|
1729
1729
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1730
1730
|
break;
|
|
1731
1731
|
default:
|
|
1732
1732
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
tmp6_input.
|
|
1735
|
+
tmp6_input.n25(tmp0_desc);
|
|
1736
1736
|
return UnionType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1737
1737
|
};
|
|
1738
|
-
protoOf($serializer_4).
|
|
1739
|
-
return this.
|
|
1738
|
+
protoOf($serializer_4).n22 = function () {
|
|
1739
|
+
return this.d4b_1;
|
|
1740
1740
|
};
|
|
1741
|
-
protoOf($serializer_4).
|
|
1741
|
+
protoOf($serializer_4).p2d = function () {
|
|
1742
1742
|
// Inline function 'kotlin.arrayOf' call
|
|
1743
1743
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1744
1744
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1752,10 +1752,10 @@ function $serializer_getInstance_4() {
|
|
|
1752
1752
|
}
|
|
1753
1753
|
function UnionType_init_$Init$(seen0, name, type, serializationConstructorMarker, $this) {
|
|
1754
1754
|
if (!(3 === (3 & seen0))) {
|
|
1755
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
1755
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().d4b_1);
|
|
1756
1756
|
}
|
|
1757
|
-
$this.
|
|
1758
|
-
$this.
|
|
1757
|
+
$this.f49_1 = name;
|
|
1758
|
+
$this.g49_1 = type;
|
|
1759
1759
|
return $this;
|
|
1760
1760
|
}
|
|
1761
1761
|
function UnionType_init_$Create$(seen0, name, type, serializationConstructorMarker) {
|
|
@@ -1763,7 +1763,7 @@ function UnionType_init_$Create$(seen0, name, type, serializationConstructorMark
|
|
|
1763
1763
|
}
|
|
1764
1764
|
function Companion_8() {
|
|
1765
1765
|
}
|
|
1766
|
-
protoOf(Companion_8).
|
|
1766
|
+
protoOf(Companion_8).p2p = function () {
|
|
1767
1767
|
return $serializer_getInstance_5();
|
|
1768
1768
|
};
|
|
1769
1769
|
var Companion_instance_8;
|
|
@@ -1773,30 +1773,30 @@ function Companion_getInstance_8() {
|
|
|
1773
1773
|
function $serializer_5() {
|
|
1774
1774
|
$serializer_instance_5 = this;
|
|
1775
1775
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.LogicalType', this, 4);
|
|
1776
|
-
tmp0_serialDesc.
|
|
1777
|
-
tmp0_serialDesc.
|
|
1778
|
-
tmp0_serialDesc.
|
|
1779
|
-
tmp0_serialDesc.
|
|
1780
|
-
this.
|
|
1781
|
-
}
|
|
1782
|
-
protoOf($serializer_5).
|
|
1783
|
-
var tmp0_desc = this.
|
|
1784
|
-
var tmp1_output = encoder.
|
|
1785
|
-
tmp1_output.
|
|
1786
|
-
tmp1_output.
|
|
1787
|
-
if (tmp1_output.
|
|
1788
|
-
tmp1_output.
|
|
1789
|
-
}
|
|
1790
|
-
if (tmp1_output.
|
|
1791
|
-
tmp1_output.
|
|
1792
|
-
}
|
|
1793
|
-
tmp1_output.
|
|
1794
|
-
};
|
|
1795
|
-
protoOf($serializer_5).
|
|
1796
|
-
return this.
|
|
1797
|
-
};
|
|
1798
|
-
protoOf($serializer_5).
|
|
1799
|
-
var tmp0_desc = this.
|
|
1776
|
+
tmp0_serialDesc.a2d('type', false);
|
|
1777
|
+
tmp0_serialDesc.a2d('logicalType', false);
|
|
1778
|
+
tmp0_serialDesc.a2d('precision', true);
|
|
1779
|
+
tmp0_serialDesc.a2d('scale', true);
|
|
1780
|
+
this.f4b_1 = tmp0_serialDesc;
|
|
1781
|
+
}
|
|
1782
|
+
protoOf($serializer_5).g4b = function (encoder, value) {
|
|
1783
|
+
var tmp0_desc = this.f4b_1;
|
|
1784
|
+
var tmp1_output = encoder.m25(tmp0_desc);
|
|
1785
|
+
tmp1_output.b27(tmp0_desc, 0, value.j49_1);
|
|
1786
|
+
tmp1_output.b27(tmp0_desc, 1, value.k49_1);
|
|
1787
|
+
if (tmp1_output.j27(tmp0_desc, 2) ? true : !(value.l49_1 == null)) {
|
|
1788
|
+
tmp1_output.f27(tmp0_desc, 2, IntSerializer_getInstance(), value.l49_1);
|
|
1789
|
+
}
|
|
1790
|
+
if (tmp1_output.j27(tmp0_desc, 3) ? true : !(value.m49_1 == null)) {
|
|
1791
|
+
tmp1_output.f27(tmp0_desc, 3, IntSerializer_getInstance(), value.m49_1);
|
|
1792
|
+
}
|
|
1793
|
+
tmp1_output.n25(tmp0_desc);
|
|
1794
|
+
};
|
|
1795
|
+
protoOf($serializer_5).o22 = function (encoder, value) {
|
|
1796
|
+
return this.g4b(encoder, value instanceof LogicalType ? value : THROW_CCE());
|
|
1797
|
+
};
|
|
1798
|
+
protoOf($serializer_5).p22 = function (decoder) {
|
|
1799
|
+
var tmp0_desc = this.f4b_1;
|
|
1800
1800
|
var tmp1_flag = true;
|
|
1801
1801
|
var tmp2_index = 0;
|
|
1802
1802
|
var tmp3_bitMask0 = 0;
|
|
@@ -1804,50 +1804,50 @@ protoOf($serializer_5).l22 = function (decoder) {
|
|
|
1804
1804
|
var tmp5_local1 = null;
|
|
1805
1805
|
var tmp6_local2 = null;
|
|
1806
1806
|
var tmp7_local3 = null;
|
|
1807
|
-
var tmp8_input = decoder.
|
|
1808
|
-
if (tmp8_input.
|
|
1809
|
-
tmp4_local0 = tmp8_input.
|
|
1807
|
+
var tmp8_input = decoder.m25(tmp0_desc);
|
|
1808
|
+
if (tmp8_input.c26()) {
|
|
1809
|
+
tmp4_local0 = tmp8_input.w25(tmp0_desc, 0);
|
|
1810
1810
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1811
|
-
tmp5_local1 = tmp8_input.
|
|
1811
|
+
tmp5_local1 = tmp8_input.w25(tmp0_desc, 1);
|
|
1812
1812
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1813
|
-
tmp6_local2 = tmp8_input.
|
|
1813
|
+
tmp6_local2 = tmp8_input.a26(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1814
1814
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1815
|
-
tmp7_local3 = tmp8_input.
|
|
1815
|
+
tmp7_local3 = tmp8_input.a26(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1816
1816
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1817
1817
|
} else
|
|
1818
1818
|
while (tmp1_flag) {
|
|
1819
|
-
tmp2_index = tmp8_input.
|
|
1819
|
+
tmp2_index = tmp8_input.d26(tmp0_desc);
|
|
1820
1820
|
switch (tmp2_index) {
|
|
1821
1821
|
case -1:
|
|
1822
1822
|
tmp1_flag = false;
|
|
1823
1823
|
break;
|
|
1824
1824
|
case 0:
|
|
1825
|
-
tmp4_local0 = tmp8_input.
|
|
1825
|
+
tmp4_local0 = tmp8_input.w25(tmp0_desc, 0);
|
|
1826
1826
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1827
1827
|
break;
|
|
1828
1828
|
case 1:
|
|
1829
|
-
tmp5_local1 = tmp8_input.
|
|
1829
|
+
tmp5_local1 = tmp8_input.w25(tmp0_desc, 1);
|
|
1830
1830
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1831
1831
|
break;
|
|
1832
1832
|
case 2:
|
|
1833
|
-
tmp6_local2 = tmp8_input.
|
|
1833
|
+
tmp6_local2 = tmp8_input.a26(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1834
1834
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1835
1835
|
break;
|
|
1836
1836
|
case 3:
|
|
1837
|
-
tmp7_local3 = tmp8_input.
|
|
1837
|
+
tmp7_local3 = tmp8_input.a26(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1838
1838
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1839
1839
|
break;
|
|
1840
1840
|
default:
|
|
1841
1841
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
|
-
tmp8_input.
|
|
1844
|
+
tmp8_input.n25(tmp0_desc);
|
|
1845
1845
|
return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1846
1846
|
};
|
|
1847
|
-
protoOf($serializer_5).
|
|
1848
|
-
return this.
|
|
1847
|
+
protoOf($serializer_5).n22 = function () {
|
|
1848
|
+
return this.f4b_1;
|
|
1849
1849
|
};
|
|
1850
|
-
protoOf($serializer_5).
|
|
1850
|
+
protoOf($serializer_5).p2d = function () {
|
|
1851
1851
|
// Inline function 'kotlin.arrayOf' call
|
|
1852
1852
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1853
1853
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1861,18 +1861,18 @@ function $serializer_getInstance_5() {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
|
|
1863
1863
|
if (!(3 === (3 & seen0))) {
|
|
1864
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
1864
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().f4b_1);
|
|
1865
1865
|
}
|
|
1866
|
-
$this.
|
|
1867
|
-
$this.
|
|
1866
|
+
$this.j49_1 = type;
|
|
1867
|
+
$this.k49_1 = logicalType;
|
|
1868
1868
|
if (0 === (seen0 & 4))
|
|
1869
|
-
$this.
|
|
1869
|
+
$this.l49_1 = null;
|
|
1870
1870
|
else
|
|
1871
|
-
$this.
|
|
1871
|
+
$this.l49_1 = precision;
|
|
1872
1872
|
if (0 === (seen0 & 8))
|
|
1873
|
-
$this.
|
|
1873
|
+
$this.m49_1 = null;
|
|
1874
1874
|
else
|
|
1875
|
-
$this.
|
|
1875
|
+
$this.m49_1 = scale;
|
|
1876
1876
|
return $this;
|
|
1877
1877
|
}
|
|
1878
1878
|
function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
|
|
@@ -1881,19 +1881,19 @@ function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, s
|
|
|
1881
1881
|
function Field_0(name, type, doc, default_0) {
|
|
1882
1882
|
doc = doc === VOID ? null : doc;
|
|
1883
1883
|
default_0 = default_0 === VOID ? null : default_0;
|
|
1884
|
-
this.
|
|
1885
|
-
this.
|
|
1886
|
-
this.
|
|
1887
|
-
this.
|
|
1884
|
+
this.y49_1 = name;
|
|
1885
|
+
this.z49_1 = type;
|
|
1886
|
+
this.a4a_1 = doc;
|
|
1887
|
+
this.b4a_1 = default_0;
|
|
1888
1888
|
}
|
|
1889
1889
|
protoOf(Field_0).toString = function () {
|
|
1890
|
-
return 'Field(name=' + this.
|
|
1890
|
+
return 'Field(name=' + this.y49_1 + ', type=' + this.z49_1.toString() + ', doc=' + this.a4a_1 + ', default=' + toString_1(this.b4a_1) + ')';
|
|
1891
1891
|
};
|
|
1892
1892
|
protoOf(Field_0).hashCode = function () {
|
|
1893
|
-
var result = getStringHashCode(this.
|
|
1894
|
-
result = imul(result, 31) + this.
|
|
1895
|
-
result = imul(result, 31) + (this.
|
|
1896
|
-
result = imul(result, 31) + (this.
|
|
1893
|
+
var result = getStringHashCode(this.y49_1);
|
|
1894
|
+
result = imul(result, 31) + this.z49_1.hashCode() | 0;
|
|
1895
|
+
result = imul(result, 31) + (this.a4a_1 == null ? 0 : getStringHashCode(this.a4a_1)) | 0;
|
|
1896
|
+
result = imul(result, 31) + (this.b4a_1 == null ? 0 : hashCode(this.b4a_1)) | 0;
|
|
1897
1897
|
return result;
|
|
1898
1898
|
};
|
|
1899
1899
|
protoOf(Field_0).equals = function (other) {
|
|
@@ -1901,44 +1901,44 @@ protoOf(Field_0).equals = function (other) {
|
|
|
1901
1901
|
return true;
|
|
1902
1902
|
if (!(other instanceof Field_0))
|
|
1903
1903
|
return false;
|
|
1904
|
-
if (!(this.
|
|
1904
|
+
if (!(this.y49_1 === other.y49_1))
|
|
1905
1905
|
return false;
|
|
1906
|
-
if (!this.
|
|
1906
|
+
if (!this.z49_1.equals(other.z49_1))
|
|
1907
1907
|
return false;
|
|
1908
|
-
if (!(this.
|
|
1908
|
+
if (!(this.a4a_1 == other.a4a_1))
|
|
1909
1909
|
return false;
|
|
1910
|
-
if (!equals(this.
|
|
1910
|
+
if (!equals(this.b4a_1, other.b4a_1))
|
|
1911
1911
|
return false;
|
|
1912
1912
|
return true;
|
|
1913
1913
|
};
|
|
1914
1914
|
function TypeList(type) {
|
|
1915
1915
|
AbstractList.call(this);
|
|
1916
|
-
this.
|
|
1917
|
-
this.
|
|
1916
|
+
this.h4b_1 = toList_0(type);
|
|
1917
|
+
this.i4b_1 = this.h4b_1.b1();
|
|
1918
1918
|
}
|
|
1919
1919
|
protoOf(TypeList).b1 = function () {
|
|
1920
|
-
return this.
|
|
1920
|
+
return this.i4b_1;
|
|
1921
1921
|
};
|
|
1922
1922
|
protoOf(TypeList).c1 = function (index) {
|
|
1923
|
-
return this.
|
|
1923
|
+
return this.h4b_1.c1(index);
|
|
1924
1924
|
};
|
|
1925
1925
|
function Type_0() {
|
|
1926
1926
|
}
|
|
1927
1927
|
function SimpleType(value) {
|
|
1928
|
-
this.
|
|
1928
|
+
this.e49_1 = value;
|
|
1929
1929
|
}
|
|
1930
1930
|
protoOf(SimpleType).toString = function () {
|
|
1931
|
-
return 'SimpleType(value=' + this.
|
|
1931
|
+
return 'SimpleType(value=' + this.e49_1 + ')';
|
|
1932
1932
|
};
|
|
1933
1933
|
protoOf(SimpleType).hashCode = function () {
|
|
1934
|
-
return getStringHashCode(this.
|
|
1934
|
+
return getStringHashCode(this.e49_1);
|
|
1935
1935
|
};
|
|
1936
1936
|
protoOf(SimpleType).equals = function (other) {
|
|
1937
1937
|
if (this === other)
|
|
1938
1938
|
return true;
|
|
1939
1939
|
if (!(other instanceof SimpleType))
|
|
1940
1940
|
return false;
|
|
1941
|
-
if (!(this.
|
|
1941
|
+
if (!(this.e49_1 === other.e49_1))
|
|
1942
1942
|
return false;
|
|
1943
1943
|
return true;
|
|
1944
1944
|
};
|
|
@@ -1946,21 +1946,21 @@ function RecordType(type, name, namespace, fields, doc) {
|
|
|
1946
1946
|
Companion_getInstance_3();
|
|
1947
1947
|
namespace = namespace === VOID ? null : namespace;
|
|
1948
1948
|
doc = doc === VOID ? null : doc;
|
|
1949
|
-
this.
|
|
1950
|
-
this.
|
|
1951
|
-
this.
|
|
1952
|
-
this.
|
|
1953
|
-
this.
|
|
1949
|
+
this.r49_1 = type;
|
|
1950
|
+
this.s49_1 = name;
|
|
1951
|
+
this.t49_1 = namespace;
|
|
1952
|
+
this.u49_1 = fields;
|
|
1953
|
+
this.v49_1 = doc;
|
|
1954
1954
|
}
|
|
1955
1955
|
protoOf(RecordType).toString = function () {
|
|
1956
|
-
return 'RecordType(type=' + this.
|
|
1956
|
+
return 'RecordType(type=' + this.r49_1 + ', name=' + this.s49_1 + ', namespace=' + this.t49_1 + ', fields=' + toString(this.u49_1) + ', doc=' + this.v49_1 + ')';
|
|
1957
1957
|
};
|
|
1958
1958
|
protoOf(RecordType).hashCode = function () {
|
|
1959
|
-
var result = getStringHashCode(this.
|
|
1960
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1961
|
-
result = imul(result, 31) + (this.
|
|
1962
|
-
result = imul(result, 31) + hashCode(this.
|
|
1963
|
-
result = imul(result, 31) + (this.
|
|
1959
|
+
var result = getStringHashCode(this.r49_1);
|
|
1960
|
+
result = imul(result, 31) + getStringHashCode(this.s49_1) | 0;
|
|
1961
|
+
result = imul(result, 31) + (this.t49_1 == null ? 0 : getStringHashCode(this.t49_1)) | 0;
|
|
1962
|
+
result = imul(result, 31) + hashCode(this.u49_1) | 0;
|
|
1963
|
+
result = imul(result, 31) + (this.v49_1 == null ? 0 : getStringHashCode(this.v49_1)) | 0;
|
|
1964
1964
|
return result;
|
|
1965
1965
|
};
|
|
1966
1966
|
protoOf(RecordType).equals = function (other) {
|
|
@@ -1968,28 +1968,28 @@ protoOf(RecordType).equals = function (other) {
|
|
|
1968
1968
|
return true;
|
|
1969
1969
|
if (!(other instanceof RecordType))
|
|
1970
1970
|
return false;
|
|
1971
|
-
if (!(this.
|
|
1971
|
+
if (!(this.r49_1 === other.r49_1))
|
|
1972
1972
|
return false;
|
|
1973
|
-
if (!(this.
|
|
1973
|
+
if (!(this.s49_1 === other.s49_1))
|
|
1974
1974
|
return false;
|
|
1975
|
-
if (!(this.
|
|
1975
|
+
if (!(this.t49_1 == other.t49_1))
|
|
1976
1976
|
return false;
|
|
1977
|
-
if (!equals(this.
|
|
1977
|
+
if (!equals(this.u49_1, other.u49_1))
|
|
1978
1978
|
return false;
|
|
1979
|
-
if (!(this.
|
|
1979
|
+
if (!(this.v49_1 == other.v49_1))
|
|
1980
1980
|
return false;
|
|
1981
1981
|
return true;
|
|
1982
1982
|
};
|
|
1983
1983
|
function ArrayType(type, items) {
|
|
1984
|
-
this.
|
|
1985
|
-
this.
|
|
1984
|
+
this.w49_1 = type;
|
|
1985
|
+
this.x49_1 = items;
|
|
1986
1986
|
}
|
|
1987
1987
|
protoOf(ArrayType).toString = function () {
|
|
1988
|
-
return 'ArrayType(type=' + this.
|
|
1988
|
+
return 'ArrayType(type=' + this.w49_1 + ', items=' + toString(this.x49_1) + ')';
|
|
1989
1989
|
};
|
|
1990
1990
|
protoOf(ArrayType).hashCode = function () {
|
|
1991
|
-
var result = getStringHashCode(this.
|
|
1992
|
-
result = imul(result, 31) + hashCode(this.
|
|
1991
|
+
var result = getStringHashCode(this.w49_1);
|
|
1992
|
+
result = imul(result, 31) + hashCode(this.x49_1) | 0;
|
|
1993
1993
|
return result;
|
|
1994
1994
|
};
|
|
1995
1995
|
protoOf(ArrayType).equals = function (other) {
|
|
@@ -1997,22 +1997,22 @@ protoOf(ArrayType).equals = function (other) {
|
|
|
1997
1997
|
return true;
|
|
1998
1998
|
if (!(other instanceof ArrayType))
|
|
1999
1999
|
return false;
|
|
2000
|
-
if (!(this.
|
|
2000
|
+
if (!(this.w49_1 === other.w49_1))
|
|
2001
2001
|
return false;
|
|
2002
|
-
if (!equals(this.
|
|
2002
|
+
if (!equals(this.x49_1, other.x49_1))
|
|
2003
2003
|
return false;
|
|
2004
2004
|
return true;
|
|
2005
2005
|
};
|
|
2006
2006
|
function MapType(type, values) {
|
|
2007
|
-
this.
|
|
2008
|
-
this.
|
|
2007
|
+
this.h49_1 = type;
|
|
2008
|
+
this.i49_1 = values;
|
|
2009
2009
|
}
|
|
2010
2010
|
protoOf(MapType).toString = function () {
|
|
2011
|
-
return 'MapType(type=' + this.
|
|
2011
|
+
return 'MapType(type=' + this.h49_1 + ', values=' + toString(this.i49_1) + ')';
|
|
2012
2012
|
};
|
|
2013
2013
|
protoOf(MapType).hashCode = function () {
|
|
2014
|
-
var result = getStringHashCode(this.
|
|
2015
|
-
result = imul(result, 31) + hashCode(this.
|
|
2014
|
+
var result = getStringHashCode(this.h49_1);
|
|
2015
|
+
result = imul(result, 31) + hashCode(this.i49_1) | 0;
|
|
2016
2016
|
return result;
|
|
2017
2017
|
};
|
|
2018
2018
|
protoOf(MapType).equals = function (other) {
|
|
@@ -2020,28 +2020,28 @@ protoOf(MapType).equals = function (other) {
|
|
|
2020
2020
|
return true;
|
|
2021
2021
|
if (!(other instanceof MapType))
|
|
2022
2022
|
return false;
|
|
2023
|
-
if (!(this.
|
|
2023
|
+
if (!(this.h49_1 === other.h49_1))
|
|
2024
2024
|
return false;
|
|
2025
|
-
if (!equals(this.
|
|
2025
|
+
if (!equals(this.i49_1, other.i49_1))
|
|
2026
2026
|
return false;
|
|
2027
2027
|
return true;
|
|
2028
2028
|
};
|
|
2029
2029
|
function EnumType(type, name, doc, symbols) {
|
|
2030
2030
|
Companion_getInstance_6();
|
|
2031
2031
|
doc = doc === VOID ? null : doc;
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2032
|
+
this.n49_1 = type;
|
|
2033
|
+
this.o49_1 = name;
|
|
2034
|
+
this.p49_1 = doc;
|
|
2035
|
+
this.q49_1 = symbols;
|
|
2036
2036
|
}
|
|
2037
2037
|
protoOf(EnumType).toString = function () {
|
|
2038
|
-
return 'EnumType(type=' + this.
|
|
2038
|
+
return 'EnumType(type=' + this.n49_1 + ', name=' + this.o49_1 + ', doc=' + this.p49_1 + ', symbols=' + toString(this.q49_1) + ')';
|
|
2039
2039
|
};
|
|
2040
2040
|
protoOf(EnumType).hashCode = function () {
|
|
2041
|
-
var result = getStringHashCode(this.
|
|
2042
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2043
|
-
result = imul(result, 31) + (this.
|
|
2044
|
-
result = imul(result, 31) + hashCode(this.
|
|
2041
|
+
var result = getStringHashCode(this.n49_1);
|
|
2042
|
+
result = imul(result, 31) + getStringHashCode(this.o49_1) | 0;
|
|
2043
|
+
result = imul(result, 31) + (this.p49_1 == null ? 0 : getStringHashCode(this.p49_1)) | 0;
|
|
2044
|
+
result = imul(result, 31) + hashCode(this.q49_1) | 0;
|
|
2045
2045
|
return result;
|
|
2046
2046
|
};
|
|
2047
2047
|
protoOf(EnumType).equals = function (other) {
|
|
@@ -2049,26 +2049,26 @@ protoOf(EnumType).equals = function (other) {
|
|
|
2049
2049
|
return true;
|
|
2050
2050
|
if (!(other instanceof EnumType))
|
|
2051
2051
|
return false;
|
|
2052
|
-
if (!(this.
|
|
2052
|
+
if (!(this.n49_1 === other.n49_1))
|
|
2053
2053
|
return false;
|
|
2054
|
-
if (!(this.
|
|
2054
|
+
if (!(this.o49_1 === other.o49_1))
|
|
2055
2055
|
return false;
|
|
2056
|
-
if (!(this.
|
|
2056
|
+
if (!(this.p49_1 == other.p49_1))
|
|
2057
2057
|
return false;
|
|
2058
|
-
if (!equals(this.
|
|
2058
|
+
if (!equals(this.q49_1, other.q49_1))
|
|
2059
2059
|
return false;
|
|
2060
2060
|
return true;
|
|
2061
2061
|
};
|
|
2062
2062
|
function UnionType(name, type) {
|
|
2063
|
-
this.
|
|
2064
|
-
this.
|
|
2063
|
+
this.f49_1 = name;
|
|
2064
|
+
this.g49_1 = type;
|
|
2065
2065
|
}
|
|
2066
2066
|
protoOf(UnionType).toString = function () {
|
|
2067
|
-
return 'UnionType(name=' + this.
|
|
2067
|
+
return 'UnionType(name=' + this.f49_1 + ', type=' + this.g49_1.toString() + ')';
|
|
2068
2068
|
};
|
|
2069
2069
|
protoOf(UnionType).hashCode = function () {
|
|
2070
|
-
var result = getStringHashCode(this.
|
|
2071
|
-
result = imul(result, 31) + this.
|
|
2070
|
+
var result = getStringHashCode(this.f49_1);
|
|
2071
|
+
result = imul(result, 31) + this.g49_1.hashCode() | 0;
|
|
2072
2072
|
return result;
|
|
2073
2073
|
};
|
|
2074
2074
|
protoOf(UnionType).equals = function (other) {
|
|
@@ -2076,22 +2076,22 @@ protoOf(UnionType).equals = function (other) {
|
|
|
2076
2076
|
return true;
|
|
2077
2077
|
if (!(other instanceof UnionType))
|
|
2078
2078
|
return false;
|
|
2079
|
-
if (!(this.
|
|
2079
|
+
if (!(this.f49_1 === other.f49_1))
|
|
2080
2080
|
return false;
|
|
2081
|
-
if (!this.
|
|
2081
|
+
if (!this.g49_1.equals(other.g49_1))
|
|
2082
2082
|
return false;
|
|
2083
2083
|
return true;
|
|
2084
2084
|
};
|
|
2085
2085
|
function LogicalType() {
|
|
2086
2086
|
}
|
|
2087
2087
|
protoOf(LogicalType).toString = function () {
|
|
2088
|
-
return 'LogicalType(type=' + this.
|
|
2088
|
+
return 'LogicalType(type=' + this.j49_1 + ', logicalType=' + this.k49_1 + ', precision=' + this.l49_1 + ', scale=' + this.m49_1 + ')';
|
|
2089
2089
|
};
|
|
2090
2090
|
protoOf(LogicalType).hashCode = function () {
|
|
2091
|
-
var result = getStringHashCode(this.
|
|
2092
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2093
|
-
result = imul(result, 31) + (this.
|
|
2094
|
-
result = imul(result, 31) + (this.
|
|
2091
|
+
var result = getStringHashCode(this.j49_1);
|
|
2092
|
+
result = imul(result, 31) + getStringHashCode(this.k49_1) | 0;
|
|
2093
|
+
result = imul(result, 31) + (this.l49_1 == null ? 0 : this.l49_1) | 0;
|
|
2094
|
+
result = imul(result, 31) + (this.m49_1 == null ? 0 : this.m49_1) | 0;
|
|
2095
2095
|
return result;
|
|
2096
2096
|
};
|
|
2097
2097
|
protoOf(LogicalType).equals = function (other) {
|
|
@@ -2099,24 +2099,24 @@ protoOf(LogicalType).equals = function (other) {
|
|
|
2099
2099
|
return true;
|
|
2100
2100
|
if (!(other instanceof LogicalType))
|
|
2101
2101
|
return false;
|
|
2102
|
-
if (!(this.
|
|
2102
|
+
if (!(this.j49_1 === other.j49_1))
|
|
2103
2103
|
return false;
|
|
2104
|
-
if (!(this.
|
|
2104
|
+
if (!(this.k49_1 === other.k49_1))
|
|
2105
2105
|
return false;
|
|
2106
|
-
if (!(this.
|
|
2106
|
+
if (!(this.l49_1 == other.l49_1))
|
|
2107
2107
|
return false;
|
|
2108
|
-
if (!(this.
|
|
2108
|
+
if (!(this.m49_1 == other.m49_1))
|
|
2109
2109
|
return false;
|
|
2110
2110
|
return true;
|
|
2111
2111
|
};
|
|
2112
2112
|
function FieldSerializer() {
|
|
2113
2113
|
FieldSerializer_instance = this;
|
|
2114
|
-
this.
|
|
2114
|
+
this.j4b_1 = buildClassSerialDescriptor('Field', []);
|
|
2115
2115
|
}
|
|
2116
|
-
protoOf(FieldSerializer).
|
|
2117
|
-
return this.
|
|
2116
|
+
protoOf(FieldSerializer).n22 = function () {
|
|
2117
|
+
return this.j4b_1;
|
|
2118
2118
|
};
|
|
2119
|
-
protoOf(FieldSerializer).
|
|
2119
|
+
protoOf(FieldSerializer).k4b = function (encoder, value) {
|
|
2120
2120
|
var tmp0_elvis_lhs = isInterface(encoder, JsonEncoder) ? encoder : null;
|
|
2121
2121
|
var tmp;
|
|
2122
2122
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2127,30 +2127,30 @@ protoOf(FieldSerializer).f4b = function (encoder, value) {
|
|
|
2127
2127
|
var output = tmp;
|
|
2128
2128
|
// Inline function 'kotlinx.serialization.json.buildJsonObject' call
|
|
2129
2129
|
var builder = new JsonObjectBuilder();
|
|
2130
|
-
put(builder, 'name', value.
|
|
2131
|
-
builder.
|
|
2132
|
-
var tmp0_safe_receiver = value.
|
|
2130
|
+
put(builder, 'name', value.y49_1);
|
|
2131
|
+
builder.b2q('type', output.k2p().i2n(TypeListSerializer_getInstance(), value.z49_1));
|
|
2132
|
+
var tmp0_safe_receiver = value.a4a_1;
|
|
2133
2133
|
if (tmp0_safe_receiver == null)
|
|
2134
2134
|
null;
|
|
2135
2135
|
else {
|
|
2136
2136
|
// Inline function 'kotlin.let' call
|
|
2137
2137
|
put(builder, 'doc', tmp0_safe_receiver);
|
|
2138
2138
|
}
|
|
2139
|
-
var tmp1_safe_receiver = value.
|
|
2139
|
+
var tmp1_safe_receiver = value.b4a_1;
|
|
2140
2140
|
if (tmp1_safe_receiver == null)
|
|
2141
2141
|
null;
|
|
2142
2142
|
else {
|
|
2143
2143
|
// Inline function 'kotlin.let' call
|
|
2144
|
-
builder.
|
|
2144
|
+
builder.b2q('default', tmp1_safe_receiver);
|
|
2145
2145
|
}
|
|
2146
2146
|
// Inline function 'kotlin.let' call
|
|
2147
|
-
var p0 = builder.
|
|
2148
|
-
output.
|
|
2147
|
+
var p0 = builder.s2o();
|
|
2148
|
+
output.t2q(p0);
|
|
2149
2149
|
};
|
|
2150
|
-
protoOf(FieldSerializer).
|
|
2151
|
-
return this.
|
|
2150
|
+
protoOf(FieldSerializer).o22 = function (encoder, value) {
|
|
2151
|
+
return this.k4b(encoder, value instanceof Field_0 ? value : THROW_CCE());
|
|
2152
2152
|
};
|
|
2153
|
-
protoOf(FieldSerializer).
|
|
2153
|
+
protoOf(FieldSerializer).p22 = function (decoder) {
|
|
2154
2154
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
2155
2155
|
var tmp;
|
|
2156
2156
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2160,9 +2160,9 @@ protoOf(FieldSerializer).l22 = function (decoder) {
|
|
|
2160
2160
|
}
|
|
2161
2161
|
var input = tmp;
|
|
2162
2162
|
// Inline function 'kotlin.let' call
|
|
2163
|
-
var field = get_jsonObject(input.
|
|
2164
|
-
var tmp_0 = get_jsonPrimitive(getValue(field, 'name')).
|
|
2165
|
-
var tmp_1 = input.
|
|
2163
|
+
var field = get_jsonObject(input.l2p());
|
|
2164
|
+
var tmp_0 = get_jsonPrimitive(getValue(field, 'name')).j1g();
|
|
2165
|
+
var tmp_1 = input.k2p().j2n(TypeListSerializer_getInstance(), getValue(field, 'type'));
|
|
2166
2166
|
var tmp0_safe_receiver = field.kd('doc');
|
|
2167
2167
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2168
2168
|
return new Field_0(tmp_0, tmp_1, tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver), field.kd('default'));
|
|
@@ -2175,22 +2175,22 @@ function FieldSerializer_getInstance() {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
function TypeListSerializer() {
|
|
2177
2177
|
TypeListSerializer_instance = this;
|
|
2178
|
-
this.
|
|
2178
|
+
this.l4b_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
|
|
2179
2179
|
}
|
|
2180
|
-
protoOf(TypeListSerializer).
|
|
2181
|
-
return this.
|
|
2180
|
+
protoOf(TypeListSerializer).n22 = function () {
|
|
2181
|
+
return this.l4b_1;
|
|
2182
2182
|
};
|
|
2183
|
-
protoOf(TypeListSerializer).
|
|
2184
|
-
if (value.
|
|
2185
|
-
encoder.
|
|
2183
|
+
protoOf(TypeListSerializer).m4b = function (encoder, value) {
|
|
2184
|
+
if (value.i4b_1 > 1) {
|
|
2185
|
+
encoder.e27(ListSerializer(Companion_instance_1.p2p()), value);
|
|
2186
2186
|
} else {
|
|
2187
|
-
encoder.
|
|
2187
|
+
encoder.e27(Companion_instance_1.p2p(), first(value));
|
|
2188
2188
|
}
|
|
2189
2189
|
};
|
|
2190
|
-
protoOf(TypeListSerializer).
|
|
2191
|
-
return this.
|
|
2190
|
+
protoOf(TypeListSerializer).o22 = function (encoder, value) {
|
|
2191
|
+
return this.m4b(encoder, value instanceof TypeList ? value : THROW_CCE());
|
|
2192
2192
|
};
|
|
2193
|
-
protoOf(TypeListSerializer).
|
|
2193
|
+
protoOf(TypeListSerializer).p22 = function (decoder) {
|
|
2194
2194
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
2195
2195
|
var tmp;
|
|
2196
2196
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2199,10 +2199,10 @@ protoOf(TypeListSerializer).l22 = function (decoder) {
|
|
|
2199
2199
|
tmp = tmp0_elvis_lhs;
|
|
2200
2200
|
}
|
|
2201
2201
|
var input = tmp;
|
|
2202
|
-
var element = input.
|
|
2202
|
+
var element = input.l2p();
|
|
2203
2203
|
var tmp_0;
|
|
2204
2204
|
if (element instanceof JsonPrimitive) {
|
|
2205
|
-
tmp_0 = new TypeList([input.
|
|
2205
|
+
tmp_0 = new TypeList([input.k2p().j2n(Companion_instance_1.p2p(), element)]);
|
|
2206
2206
|
} else {
|
|
2207
2207
|
if (element instanceof JsonArray) {
|
|
2208
2208
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -2211,7 +2211,7 @@ protoOf(TypeListSerializer).l22 = function (decoder) {
|
|
|
2211
2211
|
var _iterator__ex2g4s = element.t();
|
|
2212
2212
|
while (_iterator__ex2g4s.u()) {
|
|
2213
2213
|
var item = _iterator__ex2g4s.v();
|
|
2214
|
-
var tmp$ret$2 = input.
|
|
2214
|
+
var tmp$ret$2 = input.k2p().j2n(Companion_instance_1.p2p(), item);
|
|
2215
2215
|
destination.x(tmp$ret$2);
|
|
2216
2216
|
}
|
|
2217
2217
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -2219,7 +2219,7 @@ protoOf(TypeListSerializer).l22 = function (decoder) {
|
|
|
2219
2219
|
tmp_0 = new TypeList(tmp$ret$3.slice());
|
|
2220
2220
|
} else {
|
|
2221
2221
|
if (element instanceof JsonObject) {
|
|
2222
|
-
tmp_0 = new TypeList([input.
|
|
2222
|
+
tmp_0 = new TypeList([input.k2p().j2n(Companion_instance_1.p2p(), element)]);
|
|
2223
2223
|
} else {
|
|
2224
2224
|
noWhenBranchMatchedException();
|
|
2225
2225
|
}
|
|
@@ -2235,29 +2235,29 @@ function TypeListSerializer_getInstance() {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
function TypeSerializer() {
|
|
2237
2237
|
TypeSerializer_instance = this;
|
|
2238
|
-
this.
|
|
2238
|
+
this.n4b_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
|
|
2239
2239
|
}
|
|
2240
|
-
protoOf(TypeSerializer).
|
|
2241
|
-
return this.
|
|
2240
|
+
protoOf(TypeSerializer).n22 = function () {
|
|
2241
|
+
return this.n4b_1;
|
|
2242
2242
|
};
|
|
2243
|
-
protoOf(TypeSerializer).
|
|
2243
|
+
protoOf(TypeSerializer).o4b = function (encoder, value) {
|
|
2244
2244
|
if (value instanceof SimpleType) {
|
|
2245
|
-
encoder.
|
|
2245
|
+
encoder.e27(serializer_0(StringCompanionObject_instance), value.e49_1);
|
|
2246
2246
|
} else {
|
|
2247
2247
|
if (value instanceof RecordType) {
|
|
2248
|
-
encoder.
|
|
2248
|
+
encoder.e27(Companion_getInstance_3().p2p(), value);
|
|
2249
2249
|
} else {
|
|
2250
2250
|
if (value instanceof ArrayType) {
|
|
2251
|
-
encoder.
|
|
2251
|
+
encoder.e27(Companion_instance_4.p2p(), value);
|
|
2252
2252
|
} else {
|
|
2253
2253
|
if (value instanceof MapType) {
|
|
2254
|
-
encoder.
|
|
2254
|
+
encoder.e27(Companion_instance_5.p2p(), value);
|
|
2255
2255
|
} else {
|
|
2256
2256
|
if (value instanceof EnumType) {
|
|
2257
|
-
encoder.
|
|
2257
|
+
encoder.e27(Companion_getInstance_6().p2p(), value);
|
|
2258
2258
|
} else {
|
|
2259
2259
|
if (value instanceof UnionType) {
|
|
2260
|
-
encoder.
|
|
2260
|
+
encoder.e27(Companion_instance_7.p2p(), value);
|
|
2261
2261
|
} else {
|
|
2262
2262
|
if (value instanceof LogicalType) {
|
|
2263
2263
|
// Inline function 'kotlin.TODO' call
|
|
@@ -2272,10 +2272,10 @@ protoOf(TypeSerializer).j4b = function (encoder, value) {
|
|
|
2272
2272
|
}
|
|
2273
2273
|
}
|
|
2274
2274
|
};
|
|
2275
|
-
protoOf(TypeSerializer).
|
|
2276
|
-
return this.
|
|
2275
|
+
protoOf(TypeSerializer).o22 = function (encoder, value) {
|
|
2276
|
+
return this.o4b(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
|
|
2277
2277
|
};
|
|
2278
|
-
protoOf(TypeSerializer).
|
|
2278
|
+
protoOf(TypeSerializer).p22 = function (decoder) {
|
|
2279
2279
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
2280
2280
|
var tmp;
|
|
2281
2281
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2284,18 +2284,18 @@ protoOf(TypeSerializer).l22 = function (decoder) {
|
|
|
2284
2284
|
tmp = tmp0_elvis_lhs;
|
|
2285
2285
|
}
|
|
2286
2286
|
var input = tmp;
|
|
2287
|
-
var element = input.
|
|
2287
|
+
var element = input.l2p();
|
|
2288
2288
|
var tmp_0;
|
|
2289
2289
|
if (element instanceof JsonObject) {
|
|
2290
2290
|
var tmp_1;
|
|
2291
|
-
if (element.
|
|
2292
|
-
tmp_1 = input.
|
|
2293
|
-
} else if (element.
|
|
2294
|
-
tmp_1 = input.
|
|
2295
|
-
} else if (element.
|
|
2296
|
-
tmp_1 = input.
|
|
2297
|
-
} else if (element.
|
|
2298
|
-
tmp_1 = input.
|
|
2291
|
+
if (element.r2p('items')) {
|
|
2292
|
+
tmp_1 = input.k2p().j2n(Companion_instance_4.p2p(), element);
|
|
2293
|
+
} else if (element.r2p('fields')) {
|
|
2294
|
+
tmp_1 = input.k2p().j2n(Companion_getInstance_3().p2p(), element);
|
|
2295
|
+
} else if (element.r2p('symbols')) {
|
|
2296
|
+
tmp_1 = input.k2p().j2n(Companion_getInstance_6().p2p(), element);
|
|
2297
|
+
} else if (element.r2p('logicalType')) {
|
|
2298
|
+
tmp_1 = input.k2p().j2n(Companion_instance_8.p2p(), element);
|
|
2299
2299
|
} else {
|
|
2300
2300
|
// Inline function 'kotlin.TODO' call
|
|
2301
2301
|
var reason = 'Unknown object type: ' + element.toString();
|
|
@@ -2304,7 +2304,7 @@ protoOf(TypeSerializer).l22 = function (decoder) {
|
|
|
2304
2304
|
tmp_0 = tmp_1;
|
|
2305
2305
|
} else {
|
|
2306
2306
|
if (element instanceof JsonPrimitive) {
|
|
2307
|
-
tmp_0 = new SimpleType(element.
|
|
2307
|
+
tmp_0 = new SimpleType(element.j1g());
|
|
2308
2308
|
} else {
|
|
2309
2309
|
if (element instanceof JsonArray) {
|
|
2310
2310
|
// Inline function 'kotlin.TODO' call
|
|
@@ -2332,7 +2332,7 @@ function inDependencyOrder(_this__u8e3s4) {
|
|
|
2332
2332
|
var _iterator__ex2g4s = this_0.t();
|
|
2333
2333
|
while (_iterator__ex2g4s.u()) {
|
|
2334
2334
|
var element = _iterator__ex2g4s.v();
|
|
2335
|
-
var tmp$ret$2 = element.
|
|
2335
|
+
var tmp$ret$2 = element.ds().o1();
|
|
2336
2336
|
destination.v2(tmp$ret$2, element);
|
|
2337
2337
|
}
|
|
2338
2338
|
var byName = destination;
|
|
@@ -2345,18 +2345,18 @@ function inDependencyOrder(_this__u8e3s4) {
|
|
|
2345
2345
|
var ordering = accumulator;
|
|
2346
2346
|
accumulator = inDependencyOrder$visit(ordering, byName, element_0);
|
|
2347
2347
|
}
|
|
2348
|
-
return accumulator.
|
|
2348
|
+
return accumulator.q4b_1;
|
|
2349
2349
|
}
|
|
2350
2350
|
function customNames(_this__u8e3s4) {
|
|
2351
2351
|
var tmp;
|
|
2352
2352
|
if (_this__u8e3s4 instanceof Custom) {
|
|
2353
|
-
tmp = listOf(_this__u8e3s4.
|
|
2353
|
+
tmp = listOf(_this__u8e3s4.r18_1);
|
|
2354
2354
|
} else {
|
|
2355
2355
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
2356
|
-
tmp = customNames(_this__u8e3s4.
|
|
2356
|
+
tmp = customNames(_this__u8e3s4.yp_1);
|
|
2357
2357
|
} else {
|
|
2358
2358
|
if (_this__u8e3s4 instanceof Dict) {
|
|
2359
|
-
tmp = customNames(_this__u8e3s4.
|
|
2359
|
+
tmp = customNames(_this__u8e3s4.bq_1);
|
|
2360
2360
|
} else {
|
|
2361
2361
|
var tmp_0;
|
|
2362
2362
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
@@ -2383,23 +2383,23 @@ function customNames(_this__u8e3s4) {
|
|
|
2383
2383
|
function Ordering(seen, ordered) {
|
|
2384
2384
|
seen = seen === VOID ? emptySet() : seen;
|
|
2385
2385
|
ordered = ordered === VOID ? emptyList() : ordered;
|
|
2386
|
-
this.
|
|
2387
|
-
this.
|
|
2386
|
+
this.p4b_1 = seen;
|
|
2387
|
+
this.q4b_1 = ordered;
|
|
2388
2388
|
}
|
|
2389
|
-
protoOf(Ordering).
|
|
2389
|
+
protoOf(Ordering).r4b = function (seen, ordered) {
|
|
2390
2390
|
return new Ordering(seen, ordered);
|
|
2391
2391
|
};
|
|
2392
|
-
protoOf(Ordering).
|
|
2393
|
-
seen = seen === VOID ? this.
|
|
2394
|
-
ordered = ordered === VOID ? this.
|
|
2395
|
-
return $super === VOID ? this.
|
|
2392
|
+
protoOf(Ordering).s4b = function (seen, ordered, $super) {
|
|
2393
|
+
seen = seen === VOID ? this.p4b_1 : seen;
|
|
2394
|
+
ordered = ordered === VOID ? this.q4b_1 : ordered;
|
|
2395
|
+
return $super === VOID ? this.r4b(seen, ordered) : $super.r4b.call(this, seen, ordered);
|
|
2396
2396
|
};
|
|
2397
2397
|
protoOf(Ordering).toString = function () {
|
|
2398
|
-
return 'Ordering(seen=' + toString(this.
|
|
2398
|
+
return 'Ordering(seen=' + toString(this.p4b_1) + ', ordered=' + toString(this.q4b_1) + ')';
|
|
2399
2399
|
};
|
|
2400
2400
|
protoOf(Ordering).hashCode = function () {
|
|
2401
|
-
var result = hashCode(this.
|
|
2402
|
-
result = imul(result, 31) + hashCode(this.
|
|
2401
|
+
var result = hashCode(this.p4b_1);
|
|
2402
|
+
result = imul(result, 31) + hashCode(this.q4b_1) | 0;
|
|
2403
2403
|
return result;
|
|
2404
2404
|
};
|
|
2405
2405
|
protoOf(Ordering).equals = function (other) {
|
|
@@ -2407,9 +2407,9 @@ protoOf(Ordering).equals = function (other) {
|
|
|
2407
2407
|
return true;
|
|
2408
2408
|
if (!(other instanceof Ordering))
|
|
2409
2409
|
return false;
|
|
2410
|
-
if (!equals(this.
|
|
2410
|
+
if (!equals(this.p4b_1, other.p4b_1))
|
|
2411
2411
|
return false;
|
|
2412
|
-
if (!equals(this.
|
|
2412
|
+
if (!equals(this.q4b_1, other.q4b_1))
|
|
2413
2413
|
return false;
|
|
2414
2414
|
return true;
|
|
2415
2415
|
};
|
|
@@ -2432,7 +2432,7 @@ function findRefined(_this__u8e3s4, name) {
|
|
|
2432
2432
|
var _iterator__ex2g4s_0 = destination.t();
|
|
2433
2433
|
while (_iterator__ex2g4s_0.u()) {
|
|
2434
2434
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2435
|
-
if (element_0.
|
|
2435
|
+
if (element_0.ls_1.o1() === name) {
|
|
2436
2436
|
tmp$ret$3 = element_0;
|
|
2437
2437
|
break $l$block;
|
|
2438
2438
|
}
|
|
@@ -2445,20 +2445,20 @@ function inDependencyOrder$dependencies(_this__u8e3s4, byName) {
|
|
|
2445
2445
|
var tmp;
|
|
2446
2446
|
if (_this__u8e3s4 instanceof Type) {
|
|
2447
2447
|
// Inline function 'kotlin.collections.flatMap' call
|
|
2448
|
-
var tmp0 = get_fields(_this__u8e3s4.
|
|
2448
|
+
var tmp0 = get_fields(_this__u8e3s4.lp_1);
|
|
2449
2449
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
2450
2450
|
var destination = ArrayList_init_$Create$_0();
|
|
2451
2451
|
var _iterator__ex2g4s = tmp0.t();
|
|
2452
2452
|
while (_iterator__ex2g4s.u()) {
|
|
2453
2453
|
var element = _iterator__ex2g4s.v();
|
|
2454
|
-
var list = customNames(element.
|
|
2454
|
+
var list = customNames(element.pp_1);
|
|
2455
2455
|
addAll(destination, list);
|
|
2456
2456
|
}
|
|
2457
2457
|
tmp = destination;
|
|
2458
2458
|
} else {
|
|
2459
2459
|
if (_this__u8e3s4 instanceof Union) {
|
|
2460
2460
|
// Inline function 'kotlin.collections.flatMap' call
|
|
2461
|
-
var tmp0_0 = _this__u8e3s4.
|
|
2461
|
+
var tmp0_0 = _this__u8e3s4.cr_1;
|
|
2462
2462
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
2463
2463
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2464
2464
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -2491,14 +2491,14 @@ function inDependencyOrder$dependencies(_this__u8e3s4, byName) {
|
|
|
2491
2491
|
return destination_1;
|
|
2492
2492
|
}
|
|
2493
2493
|
function inDependencyOrder$visit(_this__u8e3s4, byName, definition) {
|
|
2494
|
-
var tmp0_subject = definition.
|
|
2494
|
+
var tmp0_subject = definition.ds().o1();
|
|
2495
2495
|
var tmp;
|
|
2496
|
-
if (_this__u8e3s4.
|
|
2496
|
+
if (_this__u8e3s4.p4b_1.i1(tmp0_subject)) {
|
|
2497
2497
|
tmp = _this__u8e3s4;
|
|
2498
2498
|
} else {
|
|
2499
2499
|
var tmp0 = inDependencyOrder$dependencies(definition, byName);
|
|
2500
2500
|
// Inline function 'kotlin.collections.fold' call
|
|
2501
|
-
var accumulator = _this__u8e3s4.
|
|
2501
|
+
var accumulator = _this__u8e3s4.s4b(plus_1(_this__u8e3s4.p4b_1, definition.ds().o1()));
|
|
2502
2502
|
var _iterator__ex2g4s = tmp0.t();
|
|
2503
2503
|
while (_iterator__ex2g4s.u()) {
|
|
2504
2504
|
var element = _iterator__ex2g4s.v();
|
|
@@ -2507,18 +2507,18 @@ function inDependencyOrder$visit(_this__u8e3s4, byName, definition) {
|
|
|
2507
2507
|
}
|
|
2508
2508
|
// Inline function 'kotlin.let' call
|
|
2509
2509
|
var it = accumulator;
|
|
2510
|
-
tmp = it.
|
|
2510
|
+
tmp = it.s4b(VOID, plus_0(it.q4b_1, definition));
|
|
2511
2511
|
}
|
|
2512
2512
|
return tmp;
|
|
2513
2513
|
}
|
|
2514
2514
|
//region block: post-declaration
|
|
2515
|
-
protoOf($serializer).
|
|
2516
|
-
protoOf($serializer_0).
|
|
2517
|
-
protoOf($serializer_1).
|
|
2518
|
-
protoOf($serializer_2).
|
|
2519
|
-
protoOf($serializer_3).
|
|
2520
|
-
protoOf($serializer_4).
|
|
2521
|
-
protoOf($serializer_5).
|
|
2515
|
+
protoOf($serializer).q2d = typeParametersSerializers;
|
|
2516
|
+
protoOf($serializer_0).q2d = typeParametersSerializers;
|
|
2517
|
+
protoOf($serializer_1).q2d = typeParametersSerializers;
|
|
2518
|
+
protoOf($serializer_2).q2d = typeParametersSerializers;
|
|
2519
|
+
protoOf($serializer_3).q2d = typeParametersSerializers;
|
|
2520
|
+
protoOf($serializer_4).q2d = typeParametersSerializers;
|
|
2521
|
+
protoOf($serializer_5).q2d = typeParametersSerializers;
|
|
2522
2522
|
//endregion
|
|
2523
2523
|
//region block: init
|
|
2524
2524
|
AvroJsonParser_instance = new AvroJsonParser();
|