@flock/wirespec 0.11.7 → 0.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.js +13 -13
- package/arrow-arrow-continuations.js +1 -1
- package/arrow-arrow-core.js +87 -88
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1258 -1258
- package/colormath-root-colormath.js +436 -436
- package/kotlin-kotlin-stdlib.js +835 -764
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +4694 -4694
- package/kotlin-rgxgen.js +1853 -1853
- package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +2219 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +1799 -1800
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1407 -1407
- package/markdown.js +1904 -1904
- package/mordant-mordant.js +1638 -1638
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +1515 -1515
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +319 -319
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-avro.js +382 -382
- package/wirespec-src-converter-avro.js.map +1 -1
- package/wirespec-src-converter-openapi.js +607 -588
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +104 -104
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +313 -317
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +34 -34
- package/wirespec-src-tools-generator.js +35 -35
- package/wirespec-src-tools-generator.js.map +1 -1
|
@@ -29,76 +29,76 @@
|
|
|
29
29
|
var Number_0 = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
30
30
|
var Bytes_instance = kotlin_community_flock_wirespec_compiler_core.$_$.n2;
|
|
31
31
|
var String_instance = kotlin_community_flock_wirespec_compiler_core.$_$.o2;
|
|
32
|
-
var NotImplementedError = kotlin_kotlin.$_$.
|
|
33
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
32
|
+
var NotImplementedError = kotlin_kotlin.$_$.jf;
|
|
33
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.kg;
|
|
34
34
|
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.x;
|
|
35
35
|
var Iterable = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
36
36
|
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
|
|
37
37
|
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.f1;
|
|
38
|
-
var minus = kotlin_kotlin.$_$.
|
|
39
|
-
var Collection = kotlin_kotlin.$_$.
|
|
40
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
41
|
-
var checkCountOverflow = kotlin_kotlin.$_$.
|
|
42
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
43
|
-
var first = kotlin_kotlin.$_$.
|
|
44
|
-
var toString = kotlin_kotlin.$_$.
|
|
45
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
+
var minus = kotlin_kotlin.$_$.p7;
|
|
39
|
+
var Collection = kotlin_kotlin.$_$.p4;
|
|
40
|
+
var isInterface = kotlin_kotlin.$_$.ra;
|
|
41
|
+
var checkCountOverflow = kotlin_kotlin.$_$.l5;
|
|
42
|
+
var Unit_instance = kotlin_kotlin.$_$.l4;
|
|
43
|
+
var first = kotlin_kotlin.$_$.m6;
|
|
44
|
+
var toString = kotlin_kotlin.$_$.gb;
|
|
45
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
46
46
|
var DefinitionIdentifier = kotlin_community_flock_wirespec_compiler_core.$_$.k;
|
|
47
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
48
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
47
|
+
var emptyList = kotlin_kotlin.$_$.g6;
|
|
48
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.n5;
|
|
49
49
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
50
50
|
var FieldIdentifier = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
51
51
|
var Field = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
52
52
|
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
|
|
53
53
|
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
54
|
-
var toSet = kotlin_kotlin.$_$.
|
|
54
|
+
var toSet = kotlin_kotlin.$_$.v8;
|
|
55
55
|
var Enum = kotlin_community_flock_wirespec_compiler_core.$_$.t;
|
|
56
|
-
var listOf = kotlin_kotlin.$_$.
|
|
56
|
+
var listOf = kotlin_kotlin.$_$.l7;
|
|
57
57
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
58
|
-
var addAll = kotlin_kotlin.$_$.
|
|
59
|
-
var plus = kotlin_kotlin.$_$.
|
|
60
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
61
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
58
|
+
var addAll = kotlin_kotlin.$_$.c5;
|
|
59
|
+
var plus = kotlin_kotlin.$_$.x7;
|
|
60
|
+
var protoOf = kotlin_kotlin.$_$.cb;
|
|
61
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ia;
|
|
62
62
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
63
63
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
64
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
64
|
+
var THROW_CCE = kotlin_kotlin.$_$.of;
|
|
65
65
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
66
66
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
67
67
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
68
68
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
69
69
|
var VOID = kotlin_kotlin.$_$.g;
|
|
70
70
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
71
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
72
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
71
|
+
var objectCreate = kotlin_kotlin.$_$.bb;
|
|
72
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ea;
|
|
73
73
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
74
74
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
75
75
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
76
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
77
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
78
|
-
var AbstractList = kotlin_kotlin.$_$.
|
|
79
|
-
var toList = kotlin_kotlin.$_$.
|
|
80
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
81
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
82
|
-
var equals = kotlin_kotlin.$_$.
|
|
76
|
+
var getStringHashCode = kotlin_kotlin.$_$.ba;
|
|
77
|
+
var initMetadataForClass = kotlin_kotlin.$_$.da;
|
|
78
|
+
var AbstractList = kotlin_kotlin.$_$.m4;
|
|
79
|
+
var toList = kotlin_kotlin.$_$.r8;
|
|
80
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.ga;
|
|
81
|
+
var hashCode = kotlin_kotlin.$_$.ca;
|
|
82
|
+
var equals = kotlin_kotlin.$_$.w9;
|
|
83
83
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
84
84
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
85
85
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
86
86
|
var JsonDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
|
|
87
87
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
88
88
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
|
|
89
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
89
|
+
var copyToArray = kotlin_kotlin.$_$.c6;
|
|
90
90
|
var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
|
|
91
91
|
var JsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.k;
|
|
92
92
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
93
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
93
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.z3;
|
|
94
94
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
95
95
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.l;
|
|
96
96
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.bg;
|
|
98
98
|
var createKType = kotlin_kotlin.$_$.b;
|
|
99
99
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
100
100
|
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.i;
|
|
101
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
101
|
+
var plus_0 = kotlin_kotlin.$_$.y7;
|
|
102
102
|
//endregion
|
|
103
103
|
//region block: pre-declaration
|
|
104
104
|
initMetadataForObject(AvroConverter, 'AvroConverter');
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
initMetadataForObject(AvroParser, 'AvroParser');
|
|
129
129
|
//endregion
|
|
130
130
|
function isNullable(_this__u8e3s4, $this) {
|
|
131
|
-
return _this__u8e3s4.p1($this.
|
|
131
|
+
return _this__u8e3s4.p1($this.m2c_1);
|
|
132
132
|
}
|
|
133
133
|
function toPrimitive(_this__u8e3s4, $this) {
|
|
134
134
|
var tmp;
|
|
135
|
-
switch (_this__u8e3s4.
|
|
135
|
+
switch (_this__u8e3s4.n2c_1) {
|
|
136
136
|
case 'boolean':
|
|
137
137
|
tmp = Boolean_instance;
|
|
138
138
|
break;
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
tmp = String_instance;
|
|
156
156
|
break;
|
|
157
157
|
default:
|
|
158
|
-
var reason = 'primitive not mapped ' + _this__u8e3s4.
|
|
158
|
+
var reason = 'primitive not mapped ' + _this__u8e3s4.n2c_1;
|
|
159
159
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
160
160
|
}
|
|
161
161
|
return tmp;
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
function toReference(_this__u8e3s4, $this, isNullable) {
|
|
164
164
|
var tmp;
|
|
165
165
|
if (_this__u8e3s4 instanceof SimpleType) {
|
|
166
|
-
switch (_this__u8e3s4.
|
|
166
|
+
switch (_this__u8e3s4.n2c_1) {
|
|
167
167
|
case 'null':
|
|
168
168
|
tmp = new Unit(isNullable);
|
|
169
169
|
break;
|
|
@@ -177,21 +177,21 @@
|
|
|
177
177
|
tmp = new Primitive(toPrimitive(_this__u8e3s4, $this), isNullable);
|
|
178
178
|
break;
|
|
179
179
|
default:
|
|
180
|
-
tmp = new Custom(_this__u8e3s4.
|
|
180
|
+
tmp = new Custom(_this__u8e3s4.n2c_1, isNullable);
|
|
181
181
|
break;
|
|
182
182
|
}
|
|
183
183
|
} else {
|
|
184
184
|
if (_this__u8e3s4 instanceof ArrayType) {
|
|
185
|
-
tmp = new Iterable(toReference(_this__u8e3s4.
|
|
185
|
+
tmp = new Iterable(toReference(_this__u8e3s4.c2d_1, $this, false), isNullable);
|
|
186
186
|
} else {
|
|
187
187
|
if (_this__u8e3s4 instanceof RecordType) {
|
|
188
|
-
tmp = new Custom(_this__u8e3s4.
|
|
188
|
+
tmp = new Custom(_this__u8e3s4.x2c_1, isNullable);
|
|
189
189
|
} else {
|
|
190
190
|
if (_this__u8e3s4 instanceof EnumType) {
|
|
191
|
-
tmp = new Custom(_this__u8e3s4.
|
|
191
|
+
tmp = new Custom(_this__u8e3s4.t2c_1, isNullable);
|
|
192
192
|
} else {
|
|
193
193
|
if (_this__u8e3s4 instanceof LogicalType) {
|
|
194
|
-
tmp = toReference(new SimpleType(_this__u8e3s4.
|
|
194
|
+
tmp = toReference(new SimpleType(_this__u8e3s4.o2c_1), $this, isNullable);
|
|
195
195
|
} else {
|
|
196
196
|
noWhenBranchMatchedException();
|
|
197
197
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
return tmp;
|
|
203
203
|
}
|
|
204
204
|
function toReference_0(_this__u8e3s4, $this) {
|
|
205
|
-
var list = minus(_this__u8e3s4, $this.
|
|
205
|
+
var list = minus(_this__u8e3s4, $this.m2c_1);
|
|
206
206
|
var tmp;
|
|
207
207
|
if (list.j() === 1) {
|
|
208
208
|
tmp = toReference(first(list), $this, isNullable(_this__u8e3s4, $this));
|
|
@@ -242,30 +242,30 @@
|
|
|
242
242
|
return tmp;
|
|
243
243
|
}
|
|
244
244
|
function toType(_this__u8e3s4, $this) {
|
|
245
|
-
var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
245
|
+
var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.x2c_1);
|
|
246
246
|
var tmp1_extends = emptyList();
|
|
247
247
|
// Inline function 'kotlin.collections.map' call
|
|
248
|
-
var this_0 = _this__u8e3s4.
|
|
248
|
+
var this_0 = _this__u8e3s4.z2c_1;
|
|
249
249
|
// Inline function 'kotlin.collections.mapTo' call
|
|
250
250
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
251
251
|
var tmp0_iterator = this_0.g();
|
|
252
252
|
while (tmp0_iterator.h()) {
|
|
253
253
|
var item = tmp0_iterator.i();
|
|
254
254
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.toType.<anonymous>' call
|
|
255
|
-
var tmp$ret$0 = new Field(new FieldIdentifier(item.
|
|
255
|
+
var tmp$ret$0 = new Field(new FieldIdentifier(item.d2d_1), toReference_0(item.e2d_1, AvroConverter_getInstance()));
|
|
256
256
|
destination.e(tmp$ret$0);
|
|
257
257
|
}
|
|
258
258
|
var tmp2_shape = new Shape(destination);
|
|
259
259
|
return new Type(null, tmp0_identifier, tmp2_shape, tmp1_extends);
|
|
260
260
|
}
|
|
261
261
|
function toEnum(_this__u8e3s4, $this) {
|
|
262
|
-
return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.
|
|
262
|
+
return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.t2c_1), toSet(_this__u8e3s4.v2c_1));
|
|
263
263
|
}
|
|
264
264
|
function AvroConverter() {
|
|
265
265
|
AvroConverter_instance = this;
|
|
266
|
-
this.
|
|
266
|
+
this.m2c_1 = new SimpleType('null');
|
|
267
267
|
}
|
|
268
|
-
protoOf(AvroConverter).
|
|
268
|
+
protoOf(AvroConverter).h2d = function (_this__u8e3s4) {
|
|
269
269
|
var tmp;
|
|
270
270
|
if (_this__u8e3s4 instanceof SimpleType) {
|
|
271
271
|
tmp = emptyList();
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
var tmp_0 = listOf(toType(_this__u8e3s4, this));
|
|
275
275
|
// Inline function 'kotlin.collections.flatMap' call
|
|
276
276
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
277
|
-
var this_0 = _this__u8e3s4.
|
|
277
|
+
var this_0 = _this__u8e3s4.z2c_1;
|
|
278
278
|
var destination = ArrayList_init_$Create$_0();
|
|
279
279
|
var tmp0_iterator = this_0.g();
|
|
280
280
|
while (tmp0_iterator.h()) {
|
|
@@ -282,13 +282,13 @@
|
|
|
282
282
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>' call
|
|
283
283
|
// Inline function 'kotlin.collections.flatMap' call
|
|
284
284
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
285
|
-
var this_1 = element.
|
|
285
|
+
var this_1 = element.e2d_1;
|
|
286
286
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
287
287
|
var tmp0_iterator_0 = this_1.g();
|
|
288
288
|
while (tmp0_iterator_0.h()) {
|
|
289
289
|
var element_0 = tmp0_iterator_0.i();
|
|
290
290
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>.<anonymous>' call
|
|
291
|
-
var list = AvroConverter_getInstance().
|
|
291
|
+
var list = AvroConverter_getInstance().h2d(element_0);
|
|
292
292
|
addAll(destination_0, list);
|
|
293
293
|
}
|
|
294
294
|
var list_0 = destination_0;
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
tmp = plus(tmp_0, destination);
|
|
298
298
|
} else {
|
|
299
299
|
if (_this__u8e3s4 instanceof ArrayType) {
|
|
300
|
-
tmp = this.
|
|
300
|
+
tmp = this.h2d(_this__u8e3s4.c2d_1);
|
|
301
301
|
} else {
|
|
302
302
|
if (_this__u8e3s4 instanceof EnumType) {
|
|
303
303
|
tmp = listOf(toEnum(_this__u8e3s4, this));
|
|
@@ -322,30 +322,30 @@
|
|
|
322
322
|
function $serializer() {
|
|
323
323
|
$serializer_instance = this;
|
|
324
324
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.Field', this, 4);
|
|
325
|
-
tmp0_serialDesc.
|
|
326
|
-
tmp0_serialDesc.
|
|
327
|
-
tmp0_serialDesc.
|
|
328
|
-
tmp0_serialDesc.
|
|
329
|
-
this.
|
|
325
|
+
tmp0_serialDesc.gv('name', false);
|
|
326
|
+
tmp0_serialDesc.gv('type', false);
|
|
327
|
+
tmp0_serialDesc.gv('doc', true);
|
|
328
|
+
tmp0_serialDesc.gv('default', true);
|
|
329
|
+
this.i2d_1 = tmp0_serialDesc;
|
|
330
330
|
}
|
|
331
|
-
protoOf($serializer).
|
|
332
|
-
var tmp0_desc = this.
|
|
333
|
-
var tmp1_output = encoder.
|
|
334
|
-
tmp1_output.
|
|
335
|
-
tmp1_output.
|
|
336
|
-
if (tmp1_output.
|
|
337
|
-
tmp1_output.
|
|
331
|
+
protoOf($serializer).j2d = function (encoder, value) {
|
|
332
|
+
var tmp0_desc = this.i2d_1;
|
|
333
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
334
|
+
tmp1_output.lp(tmp0_desc, 0, value.d2d_1);
|
|
335
|
+
tmp1_output.np(tmp0_desc, 1, TypeListSerializer_getInstance(), value.e2d_1);
|
|
336
|
+
if (tmp1_output.tp(tmp0_desc, 2) ? true : !(value.f2d_1 == null)) {
|
|
337
|
+
tmp1_output.pp(tmp0_desc, 2, StringSerializer_getInstance(), value.f2d_1);
|
|
338
338
|
}
|
|
339
|
-
if (tmp1_output.
|
|
340
|
-
tmp1_output.
|
|
339
|
+
if (tmp1_output.tp(tmp0_desc, 3) ? true : !(value.g2d_1 == null)) {
|
|
340
|
+
tmp1_output.pp(tmp0_desc, 3, StringSerializer_getInstance(), value.g2d_1);
|
|
341
341
|
}
|
|
342
|
-
tmp1_output.
|
|
342
|
+
tmp1_output.xn(tmp0_desc);
|
|
343
343
|
};
|
|
344
|
-
protoOf($serializer).
|
|
345
|
-
return this.
|
|
344
|
+
protoOf($serializer).wk = function (encoder, value) {
|
|
345
|
+
return this.j2d(encoder, value instanceof Field_0 ? value : THROW_CCE());
|
|
346
346
|
};
|
|
347
|
-
protoOf($serializer).
|
|
348
|
-
var tmp0_desc = this.
|
|
347
|
+
protoOf($serializer).xk = function (decoder) {
|
|
348
|
+
var tmp0_desc = this.i2d_1;
|
|
349
349
|
var tmp1_flag = true;
|
|
350
350
|
var tmp2_index = 0;
|
|
351
351
|
var tmp3_bitMask0 = 0;
|
|
@@ -353,50 +353,50 @@
|
|
|
353
353
|
var tmp5_local1 = null;
|
|
354
354
|
var tmp6_local2 = null;
|
|
355
355
|
var tmp7_local3 = null;
|
|
356
|
-
var tmp8_input = decoder.
|
|
357
|
-
if (tmp8_input.
|
|
358
|
-
tmp4_local0 = tmp8_input.
|
|
356
|
+
var tmp8_input = decoder.wn(tmp0_desc);
|
|
357
|
+
if (tmp8_input.mo()) {
|
|
358
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
359
359
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
360
|
-
tmp5_local1 = tmp8_input.
|
|
360
|
+
tmp5_local1 = tmp8_input.io(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
|
|
361
361
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
362
|
-
tmp6_local2 = tmp8_input.
|
|
362
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
363
363
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
364
|
-
tmp7_local3 = tmp8_input.
|
|
364
|
+
tmp7_local3 = tmp8_input.ko(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
365
365
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
366
366
|
} else
|
|
367
367
|
while (tmp1_flag) {
|
|
368
|
-
tmp2_index = tmp8_input.
|
|
368
|
+
tmp2_index = tmp8_input.no(tmp0_desc);
|
|
369
369
|
switch (tmp2_index) {
|
|
370
370
|
case -1:
|
|
371
371
|
tmp1_flag = false;
|
|
372
372
|
break;
|
|
373
373
|
case 0:
|
|
374
|
-
tmp4_local0 = tmp8_input.
|
|
374
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
375
375
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
376
376
|
break;
|
|
377
377
|
case 1:
|
|
378
|
-
tmp5_local1 = tmp8_input.
|
|
378
|
+
tmp5_local1 = tmp8_input.io(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
|
|
379
379
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
380
380
|
break;
|
|
381
381
|
case 2:
|
|
382
|
-
tmp6_local2 = tmp8_input.
|
|
382
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
383
383
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
384
384
|
break;
|
|
385
385
|
case 3:
|
|
386
|
-
tmp7_local3 = tmp8_input.
|
|
386
|
+
tmp7_local3 = tmp8_input.ko(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
387
387
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
388
388
|
break;
|
|
389
389
|
default:
|
|
390
390
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
tmp8_input.
|
|
393
|
+
tmp8_input.xn(tmp0_desc);
|
|
394
394
|
return Field_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
395
395
|
};
|
|
396
|
-
protoOf($serializer).
|
|
397
|
-
return this.
|
|
396
|
+
protoOf($serializer).vk = function () {
|
|
397
|
+
return this.i2d_1;
|
|
398
398
|
};
|
|
399
|
-
protoOf($serializer).
|
|
399
|
+
protoOf($serializer).zv = function () {
|
|
400
400
|
// Inline function 'kotlin.arrayOf' call
|
|
401
401
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
402
402
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -410,18 +410,18 @@
|
|
|
410
410
|
}
|
|
411
411
|
function Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, $this) {
|
|
412
412
|
if (!(3 === (3 & seen0))) {
|
|
413
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
413
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().i2d_1);
|
|
414
414
|
}
|
|
415
|
-
$this.
|
|
416
|
-
$this.
|
|
415
|
+
$this.d2d_1 = name;
|
|
416
|
+
$this.e2d_1 = type;
|
|
417
417
|
if (0 === (seen0 & 4))
|
|
418
|
-
$this.
|
|
418
|
+
$this.f2d_1 = null;
|
|
419
419
|
else
|
|
420
|
-
$this.
|
|
420
|
+
$this.f2d_1 = doc;
|
|
421
421
|
if (0 === (seen0 & 8))
|
|
422
|
-
$this.
|
|
422
|
+
$this.g2d_1 = null;
|
|
423
423
|
else
|
|
424
|
-
$this.
|
|
424
|
+
$this.g2d_1 = default_0;
|
|
425
425
|
return $this;
|
|
426
426
|
}
|
|
427
427
|
function Field_init_$Create$(seen0, name, type, doc, default_0, serializationConstructorMarker) {
|
|
@@ -435,11 +435,11 @@
|
|
|
435
435
|
}
|
|
436
436
|
function Companion_0() {
|
|
437
437
|
}
|
|
438
|
-
protoOf(Companion_0).
|
|
438
|
+
protoOf(Companion_0).m17 = function () {
|
|
439
439
|
return TypeSerializer_getInstance();
|
|
440
440
|
};
|
|
441
|
-
protoOf(Companion_0).
|
|
442
|
-
return this.
|
|
441
|
+
protoOf(Companion_0).mw = function (typeParamsSerializers) {
|
|
442
|
+
return this.m17();
|
|
443
443
|
};
|
|
444
444
|
var Companion_instance_0;
|
|
445
445
|
function Companion_getInstance_0() {
|
|
@@ -454,50 +454,50 @@
|
|
|
454
454
|
function $serializer_0() {
|
|
455
455
|
$serializer_instance_0 = this;
|
|
456
456
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
|
|
457
|
-
tmp0_serialDesc.
|
|
458
|
-
this.
|
|
457
|
+
tmp0_serialDesc.gv('value', false);
|
|
458
|
+
this.k2d_1 = tmp0_serialDesc;
|
|
459
459
|
}
|
|
460
|
-
protoOf($serializer_0).
|
|
461
|
-
var tmp0_desc = this.
|
|
462
|
-
var tmp1_output = encoder.
|
|
463
|
-
tmp1_output.
|
|
464
|
-
tmp1_output.
|
|
460
|
+
protoOf($serializer_0).l2d = function (encoder, value) {
|
|
461
|
+
var tmp0_desc = this.k2d_1;
|
|
462
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
463
|
+
tmp1_output.lp(tmp0_desc, 0, value.n2c_1);
|
|
464
|
+
tmp1_output.xn(tmp0_desc);
|
|
465
465
|
};
|
|
466
|
-
protoOf($serializer_0).
|
|
467
|
-
return this.
|
|
466
|
+
protoOf($serializer_0).wk = function (encoder, value) {
|
|
467
|
+
return this.l2d(encoder, value instanceof SimpleType ? value : THROW_CCE());
|
|
468
468
|
};
|
|
469
|
-
protoOf($serializer_0).
|
|
470
|
-
var tmp0_desc = this.
|
|
469
|
+
protoOf($serializer_0).xk = function (decoder) {
|
|
470
|
+
var tmp0_desc = this.k2d_1;
|
|
471
471
|
var tmp1_flag = true;
|
|
472
472
|
var tmp2_index = 0;
|
|
473
473
|
var tmp3_bitMask0 = 0;
|
|
474
474
|
var tmp4_local0 = null;
|
|
475
|
-
var tmp5_input = decoder.
|
|
476
|
-
if (tmp5_input.
|
|
477
|
-
tmp4_local0 = tmp5_input.
|
|
475
|
+
var tmp5_input = decoder.wn(tmp0_desc);
|
|
476
|
+
if (tmp5_input.mo()) {
|
|
477
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0);
|
|
478
478
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
479
479
|
} else
|
|
480
480
|
while (tmp1_flag) {
|
|
481
|
-
tmp2_index = tmp5_input.
|
|
481
|
+
tmp2_index = tmp5_input.no(tmp0_desc);
|
|
482
482
|
switch (tmp2_index) {
|
|
483
483
|
case -1:
|
|
484
484
|
tmp1_flag = false;
|
|
485
485
|
break;
|
|
486
486
|
case 0:
|
|
487
|
-
tmp4_local0 = tmp5_input.
|
|
487
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0);
|
|
488
488
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
489
489
|
break;
|
|
490
490
|
default:
|
|
491
491
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
tmp5_input.
|
|
494
|
+
tmp5_input.xn(tmp0_desc);
|
|
495
495
|
return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
496
496
|
};
|
|
497
|
-
protoOf($serializer_0).
|
|
498
|
-
return this.
|
|
497
|
+
protoOf($serializer_0).vk = function () {
|
|
498
|
+
return this.k2d_1;
|
|
499
499
|
};
|
|
500
|
-
protoOf($serializer_0).
|
|
500
|
+
protoOf($serializer_0).zv = function () {
|
|
501
501
|
// Inline function 'kotlin.arrayOf' call
|
|
502
502
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
503
503
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -511,9 +511,9 @@
|
|
|
511
511
|
}
|
|
512
512
|
function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
|
|
513
513
|
if (!(1 === (1 & seen0))) {
|
|
514
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
514
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().k2d_1);
|
|
515
515
|
}
|
|
516
|
-
$this.
|
|
516
|
+
$this.n2c_1 = value;
|
|
517
517
|
return $this;
|
|
518
518
|
}
|
|
519
519
|
function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
|
|
@@ -525,9 +525,9 @@
|
|
|
525
525
|
// Inline function 'kotlin.arrayOf' call
|
|
526
526
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
527
527
|
// Inline function 'kotlin.js.asDynamic' call
|
|
528
|
-
tmp.
|
|
528
|
+
tmp.m2d_1 = [null, null, null, new ArrayListSerializer($serializer_getInstance()), null];
|
|
529
529
|
}
|
|
530
|
-
protoOf(Companion_2).
|
|
530
|
+
protoOf(Companion_2).m17 = function () {
|
|
531
531
|
return $serializer_getInstance_1();
|
|
532
532
|
};
|
|
533
533
|
var Companion_instance_2;
|
|
@@ -539,33 +539,33 @@
|
|
|
539
539
|
function $serializer_1() {
|
|
540
540
|
$serializer_instance_1 = this;
|
|
541
541
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.RecordType', this, 5);
|
|
542
|
-
tmp0_serialDesc.
|
|
543
|
-
tmp0_serialDesc.
|
|
544
|
-
tmp0_serialDesc.
|
|
545
|
-
tmp0_serialDesc.
|
|
546
|
-
tmp0_serialDesc.
|
|
547
|
-
this.
|
|
542
|
+
tmp0_serialDesc.gv('type', false);
|
|
543
|
+
tmp0_serialDesc.gv('name', false);
|
|
544
|
+
tmp0_serialDesc.gv('namespace', true);
|
|
545
|
+
tmp0_serialDesc.gv('fields', false);
|
|
546
|
+
tmp0_serialDesc.gv('doc', true);
|
|
547
|
+
this.n2d_1 = tmp0_serialDesc;
|
|
548
548
|
}
|
|
549
|
-
protoOf($serializer_1).
|
|
550
|
-
var tmp0_desc = this.
|
|
551
|
-
var tmp1_output = encoder.
|
|
552
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
553
|
-
tmp1_output.
|
|
554
|
-
tmp1_output.
|
|
555
|
-
if (tmp1_output.
|
|
556
|
-
tmp1_output.
|
|
549
|
+
protoOf($serializer_1).o2d = function (encoder, value) {
|
|
550
|
+
var tmp0_desc = this.n2d_1;
|
|
551
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
552
|
+
var tmp2_cached = Companion_getInstance_2().m2d_1;
|
|
553
|
+
tmp1_output.lp(tmp0_desc, 0, value.w2c_1);
|
|
554
|
+
tmp1_output.lp(tmp0_desc, 1, value.x2c_1);
|
|
555
|
+
if (tmp1_output.tp(tmp0_desc, 2) ? true : !(value.y2c_1 == null)) {
|
|
556
|
+
tmp1_output.pp(tmp0_desc, 2, StringSerializer_getInstance(), value.y2c_1);
|
|
557
557
|
}
|
|
558
|
-
tmp1_output.
|
|
559
|
-
if (tmp1_output.
|
|
560
|
-
tmp1_output.
|
|
558
|
+
tmp1_output.np(tmp0_desc, 3, tmp2_cached[3], value.z2c_1);
|
|
559
|
+
if (tmp1_output.tp(tmp0_desc, 4) ? true : !(value.a2d_1 == null)) {
|
|
560
|
+
tmp1_output.pp(tmp0_desc, 4, StringSerializer_getInstance(), value.a2d_1);
|
|
561
561
|
}
|
|
562
|
-
tmp1_output.
|
|
562
|
+
tmp1_output.xn(tmp0_desc);
|
|
563
563
|
};
|
|
564
|
-
protoOf($serializer_1).
|
|
565
|
-
return this.
|
|
564
|
+
protoOf($serializer_1).wk = function (encoder, value) {
|
|
565
|
+
return this.o2d(encoder, value instanceof RecordType ? value : THROW_CCE());
|
|
566
566
|
};
|
|
567
|
-
protoOf($serializer_1).
|
|
568
|
-
var tmp0_desc = this.
|
|
567
|
+
protoOf($serializer_1).xk = function (decoder) {
|
|
568
|
+
var tmp0_desc = this.n2d_1;
|
|
569
569
|
var tmp1_flag = true;
|
|
570
570
|
var tmp2_index = 0;
|
|
571
571
|
var tmp3_bitMask0 = 0;
|
|
@@ -574,58 +574,58 @@
|
|
|
574
574
|
var tmp6_local2 = null;
|
|
575
575
|
var tmp7_local3 = null;
|
|
576
576
|
var tmp8_local4 = null;
|
|
577
|
-
var tmp9_input = decoder.
|
|
578
|
-
var tmp10_cached = Companion_getInstance_2().
|
|
579
|
-
if (tmp9_input.
|
|
580
|
-
tmp4_local0 = tmp9_input.
|
|
577
|
+
var tmp9_input = decoder.wn(tmp0_desc);
|
|
578
|
+
var tmp10_cached = Companion_getInstance_2().m2d_1;
|
|
579
|
+
if (tmp9_input.mo()) {
|
|
580
|
+
tmp4_local0 = tmp9_input.go(tmp0_desc, 0);
|
|
581
581
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
582
|
-
tmp5_local1 = tmp9_input.
|
|
582
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1);
|
|
583
583
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
584
|
-
tmp6_local2 = tmp9_input.
|
|
584
|
+
tmp6_local2 = tmp9_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
585
585
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
586
|
-
tmp7_local3 = tmp9_input.
|
|
586
|
+
tmp7_local3 = tmp9_input.io(tmp0_desc, 3, tmp10_cached[3], tmp7_local3);
|
|
587
587
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
588
|
-
tmp8_local4 = tmp9_input.
|
|
588
|
+
tmp8_local4 = tmp9_input.ko(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
589
589
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
590
590
|
} else
|
|
591
591
|
while (tmp1_flag) {
|
|
592
|
-
tmp2_index = tmp9_input.
|
|
592
|
+
tmp2_index = tmp9_input.no(tmp0_desc);
|
|
593
593
|
switch (tmp2_index) {
|
|
594
594
|
case -1:
|
|
595
595
|
tmp1_flag = false;
|
|
596
596
|
break;
|
|
597
597
|
case 0:
|
|
598
|
-
tmp4_local0 = tmp9_input.
|
|
598
|
+
tmp4_local0 = tmp9_input.go(tmp0_desc, 0);
|
|
599
599
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
600
600
|
break;
|
|
601
601
|
case 1:
|
|
602
|
-
tmp5_local1 = tmp9_input.
|
|
602
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1);
|
|
603
603
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
604
604
|
break;
|
|
605
605
|
case 2:
|
|
606
|
-
tmp6_local2 = tmp9_input.
|
|
606
|
+
tmp6_local2 = tmp9_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
607
607
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
608
608
|
break;
|
|
609
609
|
case 3:
|
|
610
|
-
tmp7_local3 = tmp9_input.
|
|
610
|
+
tmp7_local3 = tmp9_input.io(tmp0_desc, 3, tmp10_cached[3], tmp7_local3);
|
|
611
611
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
612
612
|
break;
|
|
613
613
|
case 4:
|
|
614
|
-
tmp8_local4 = tmp9_input.
|
|
614
|
+
tmp8_local4 = tmp9_input.ko(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
615
615
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
616
616
|
break;
|
|
617
617
|
default:
|
|
618
618
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
tmp9_input.
|
|
621
|
+
tmp9_input.xn(tmp0_desc);
|
|
622
622
|
return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
623
623
|
};
|
|
624
|
-
protoOf($serializer_1).
|
|
625
|
-
return this.
|
|
624
|
+
protoOf($serializer_1).vk = function () {
|
|
625
|
+
return this.n2d_1;
|
|
626
626
|
};
|
|
627
|
-
protoOf($serializer_1).
|
|
628
|
-
var tmp0_cached = Companion_getInstance_2().
|
|
627
|
+
protoOf($serializer_1).zv = function () {
|
|
628
|
+
var tmp0_cached = Companion_getInstance_2().m2d_1;
|
|
629
629
|
// Inline function 'kotlin.arrayOf' call
|
|
630
630
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
631
631
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -639,19 +639,19 @@
|
|
|
639
639
|
}
|
|
640
640
|
function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
|
|
641
641
|
if (!(11 === (11 & seen0))) {
|
|
642
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_1().
|
|
642
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_1().n2d_1);
|
|
643
643
|
}
|
|
644
|
-
$this.
|
|
645
|
-
$this.
|
|
644
|
+
$this.w2c_1 = type;
|
|
645
|
+
$this.x2c_1 = name;
|
|
646
646
|
if (0 === (seen0 & 4))
|
|
647
|
-
$this.
|
|
647
|
+
$this.y2c_1 = null;
|
|
648
648
|
else
|
|
649
|
-
$this.
|
|
650
|
-
$this.
|
|
649
|
+
$this.y2c_1 = namespace;
|
|
650
|
+
$this.z2c_1 = fields;
|
|
651
651
|
if (0 === (seen0 & 16))
|
|
652
|
-
$this.
|
|
652
|
+
$this.a2d_1 = null;
|
|
653
653
|
else
|
|
654
|
-
$this.
|
|
654
|
+
$this.a2d_1 = doc;
|
|
655
655
|
return $this;
|
|
656
656
|
}
|
|
657
657
|
function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
}
|
|
660
660
|
function Companion_3() {
|
|
661
661
|
}
|
|
662
|
-
protoOf(Companion_3).
|
|
662
|
+
protoOf(Companion_3).m17 = function () {
|
|
663
663
|
return $serializer_getInstance_2();
|
|
664
664
|
};
|
|
665
665
|
var Companion_instance_3;
|
|
@@ -669,59 +669,59 @@
|
|
|
669
669
|
function $serializer_2() {
|
|
670
670
|
$serializer_instance_2 = this;
|
|
671
671
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
|
|
672
|
-
tmp0_serialDesc.
|
|
673
|
-
tmp0_serialDesc.
|
|
674
|
-
this.
|
|
672
|
+
tmp0_serialDesc.gv('type', false);
|
|
673
|
+
tmp0_serialDesc.gv('items', false);
|
|
674
|
+
this.p2d_1 = tmp0_serialDesc;
|
|
675
675
|
}
|
|
676
|
-
protoOf($serializer_2).
|
|
677
|
-
var tmp0_desc = this.
|
|
678
|
-
var tmp1_output = encoder.
|
|
679
|
-
tmp1_output.
|
|
680
|
-
tmp1_output.
|
|
681
|
-
tmp1_output.
|
|
682
|
-
};
|
|
683
|
-
protoOf($serializer_2).
|
|
684
|
-
return this.
|
|
685
|
-
};
|
|
686
|
-
protoOf($serializer_2).
|
|
687
|
-
var tmp0_desc = this.
|
|
676
|
+
protoOf($serializer_2).q2d = function (encoder, value) {
|
|
677
|
+
var tmp0_desc = this.p2d_1;
|
|
678
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
679
|
+
tmp1_output.lp(tmp0_desc, 0, value.b2d_1);
|
|
680
|
+
tmp1_output.np(tmp0_desc, 1, TypeSerializer_getInstance(), value.c2d_1);
|
|
681
|
+
tmp1_output.xn(tmp0_desc);
|
|
682
|
+
};
|
|
683
|
+
protoOf($serializer_2).wk = function (encoder, value) {
|
|
684
|
+
return this.q2d(encoder, value instanceof ArrayType ? value : THROW_CCE());
|
|
685
|
+
};
|
|
686
|
+
protoOf($serializer_2).xk = function (decoder) {
|
|
687
|
+
var tmp0_desc = this.p2d_1;
|
|
688
688
|
var tmp1_flag = true;
|
|
689
689
|
var tmp2_index = 0;
|
|
690
690
|
var tmp3_bitMask0 = 0;
|
|
691
691
|
var tmp4_local0 = null;
|
|
692
692
|
var tmp5_local1 = null;
|
|
693
|
-
var tmp6_input = decoder.
|
|
694
|
-
if (tmp6_input.
|
|
695
|
-
tmp4_local0 = tmp6_input.
|
|
693
|
+
var tmp6_input = decoder.wn(tmp0_desc);
|
|
694
|
+
if (tmp6_input.mo()) {
|
|
695
|
+
tmp4_local0 = tmp6_input.go(tmp0_desc, 0);
|
|
696
696
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
697
|
-
tmp5_local1 = tmp6_input.
|
|
697
|
+
tmp5_local1 = tmp6_input.io(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
698
698
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
699
699
|
} else
|
|
700
700
|
while (tmp1_flag) {
|
|
701
|
-
tmp2_index = tmp6_input.
|
|
701
|
+
tmp2_index = tmp6_input.no(tmp0_desc);
|
|
702
702
|
switch (tmp2_index) {
|
|
703
703
|
case -1:
|
|
704
704
|
tmp1_flag = false;
|
|
705
705
|
break;
|
|
706
706
|
case 0:
|
|
707
|
-
tmp4_local0 = tmp6_input.
|
|
707
|
+
tmp4_local0 = tmp6_input.go(tmp0_desc, 0);
|
|
708
708
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
709
709
|
break;
|
|
710
710
|
case 1:
|
|
711
|
-
tmp5_local1 = tmp6_input.
|
|
711
|
+
tmp5_local1 = tmp6_input.io(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
|
|
712
712
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
713
713
|
break;
|
|
714
714
|
default:
|
|
715
715
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
tmp6_input.
|
|
718
|
+
tmp6_input.xn(tmp0_desc);
|
|
719
719
|
return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
720
720
|
};
|
|
721
|
-
protoOf($serializer_2).
|
|
722
|
-
return this.
|
|
721
|
+
protoOf($serializer_2).vk = function () {
|
|
722
|
+
return this.p2d_1;
|
|
723
723
|
};
|
|
724
|
-
protoOf($serializer_2).
|
|
724
|
+
protoOf($serializer_2).zv = function () {
|
|
725
725
|
// Inline function 'kotlin.arrayOf' call
|
|
726
726
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
727
727
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -735,10 +735,10 @@
|
|
|
735
735
|
}
|
|
736
736
|
function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
|
|
737
737
|
if (!(3 === (3 & seen0))) {
|
|
738
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
738
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().p2d_1);
|
|
739
739
|
}
|
|
740
|
-
$this.
|
|
741
|
-
$this.
|
|
740
|
+
$this.b2d_1 = type;
|
|
741
|
+
$this.c2d_1 = items;
|
|
742
742
|
return $this;
|
|
743
743
|
}
|
|
744
744
|
function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
|
|
@@ -750,9 +750,9 @@
|
|
|
750
750
|
// Inline function 'kotlin.arrayOf' call
|
|
751
751
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
752
752
|
// Inline function 'kotlin.js.asDynamic' call
|
|
753
|
-
tmp.
|
|
753
|
+
tmp.r2d_1 = [null, null, null, new ArrayListSerializer(StringSerializer_getInstance())];
|
|
754
754
|
}
|
|
755
|
-
protoOf(Companion_4).
|
|
755
|
+
protoOf(Companion_4).m17 = function () {
|
|
756
756
|
return $serializer_getInstance_3();
|
|
757
757
|
};
|
|
758
758
|
var Companion_instance_4;
|
|
@@ -764,29 +764,29 @@
|
|
|
764
764
|
function $serializer_3() {
|
|
765
765
|
$serializer_instance_3 = this;
|
|
766
766
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.EnumType', this, 4);
|
|
767
|
-
tmp0_serialDesc.
|
|
768
|
-
tmp0_serialDesc.
|
|
769
|
-
tmp0_serialDesc.
|
|
770
|
-
tmp0_serialDesc.
|
|
771
|
-
this.
|
|
767
|
+
tmp0_serialDesc.gv('type', false);
|
|
768
|
+
tmp0_serialDesc.gv('name', false);
|
|
769
|
+
tmp0_serialDesc.gv('doc', true);
|
|
770
|
+
tmp0_serialDesc.gv('symbols', false);
|
|
771
|
+
this.s2d_1 = tmp0_serialDesc;
|
|
772
772
|
}
|
|
773
|
-
protoOf($serializer_3).
|
|
774
|
-
var tmp0_desc = this.
|
|
775
|
-
var tmp1_output = encoder.
|
|
776
|
-
var tmp2_cached = Companion_getInstance_4().
|
|
777
|
-
tmp1_output.
|
|
778
|
-
tmp1_output.
|
|
779
|
-
if (tmp1_output.
|
|
780
|
-
tmp1_output.
|
|
773
|
+
protoOf($serializer_3).t2d = function (encoder, value) {
|
|
774
|
+
var tmp0_desc = this.s2d_1;
|
|
775
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
776
|
+
var tmp2_cached = Companion_getInstance_4().r2d_1;
|
|
777
|
+
tmp1_output.lp(tmp0_desc, 0, value.s2c_1);
|
|
778
|
+
tmp1_output.lp(tmp0_desc, 1, value.t2c_1);
|
|
779
|
+
if (tmp1_output.tp(tmp0_desc, 2) ? true : !(value.u2c_1 == null)) {
|
|
780
|
+
tmp1_output.pp(tmp0_desc, 2, StringSerializer_getInstance(), value.u2c_1);
|
|
781
781
|
}
|
|
782
|
-
tmp1_output.
|
|
783
|
-
tmp1_output.
|
|
782
|
+
tmp1_output.np(tmp0_desc, 3, tmp2_cached[3], value.v2c_1);
|
|
783
|
+
tmp1_output.xn(tmp0_desc);
|
|
784
784
|
};
|
|
785
|
-
protoOf($serializer_3).
|
|
786
|
-
return this.
|
|
785
|
+
protoOf($serializer_3).wk = function (encoder, value) {
|
|
786
|
+
return this.t2d(encoder, value instanceof EnumType ? value : THROW_CCE());
|
|
787
787
|
};
|
|
788
|
-
protoOf($serializer_3).
|
|
789
|
-
var tmp0_desc = this.
|
|
788
|
+
protoOf($serializer_3).xk = function (decoder) {
|
|
789
|
+
var tmp0_desc = this.s2d_1;
|
|
790
790
|
var tmp1_flag = true;
|
|
791
791
|
var tmp2_index = 0;
|
|
792
792
|
var tmp3_bitMask0 = 0;
|
|
@@ -794,52 +794,52 @@
|
|
|
794
794
|
var tmp5_local1 = null;
|
|
795
795
|
var tmp6_local2 = null;
|
|
796
796
|
var tmp7_local3 = null;
|
|
797
|
-
var tmp8_input = decoder.
|
|
798
|
-
var tmp9_cached = Companion_getInstance_4().
|
|
799
|
-
if (tmp8_input.
|
|
800
|
-
tmp4_local0 = tmp8_input.
|
|
797
|
+
var tmp8_input = decoder.wn(tmp0_desc);
|
|
798
|
+
var tmp9_cached = Companion_getInstance_4().r2d_1;
|
|
799
|
+
if (tmp8_input.mo()) {
|
|
800
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
801
801
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
802
|
-
tmp5_local1 = tmp8_input.
|
|
802
|
+
tmp5_local1 = tmp8_input.go(tmp0_desc, 1);
|
|
803
803
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
804
|
-
tmp6_local2 = tmp8_input.
|
|
804
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
805
805
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
806
|
-
tmp7_local3 = tmp8_input.
|
|
806
|
+
tmp7_local3 = tmp8_input.io(tmp0_desc, 3, tmp9_cached[3], tmp7_local3);
|
|
807
807
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
808
808
|
} else
|
|
809
809
|
while (tmp1_flag) {
|
|
810
|
-
tmp2_index = tmp8_input.
|
|
810
|
+
tmp2_index = tmp8_input.no(tmp0_desc);
|
|
811
811
|
switch (tmp2_index) {
|
|
812
812
|
case -1:
|
|
813
813
|
tmp1_flag = false;
|
|
814
814
|
break;
|
|
815
815
|
case 0:
|
|
816
|
-
tmp4_local0 = tmp8_input.
|
|
816
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
817
817
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
818
818
|
break;
|
|
819
819
|
case 1:
|
|
820
|
-
tmp5_local1 = tmp8_input.
|
|
820
|
+
tmp5_local1 = tmp8_input.go(tmp0_desc, 1);
|
|
821
821
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
822
822
|
break;
|
|
823
823
|
case 2:
|
|
824
|
-
tmp6_local2 = tmp8_input.
|
|
824
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
825
825
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
826
826
|
break;
|
|
827
827
|
case 3:
|
|
828
|
-
tmp7_local3 = tmp8_input.
|
|
828
|
+
tmp7_local3 = tmp8_input.io(tmp0_desc, 3, tmp9_cached[3], tmp7_local3);
|
|
829
829
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
830
830
|
break;
|
|
831
831
|
default:
|
|
832
832
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
tmp8_input.
|
|
835
|
+
tmp8_input.xn(tmp0_desc);
|
|
836
836
|
return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
837
837
|
};
|
|
838
|
-
protoOf($serializer_3).
|
|
839
|
-
return this.
|
|
838
|
+
protoOf($serializer_3).vk = function () {
|
|
839
|
+
return this.s2d_1;
|
|
840
840
|
};
|
|
841
|
-
protoOf($serializer_3).
|
|
842
|
-
var tmp0_cached = Companion_getInstance_4().
|
|
841
|
+
protoOf($serializer_3).zv = function () {
|
|
842
|
+
var tmp0_cached = Companion_getInstance_4().r2d_1;
|
|
843
843
|
// Inline function 'kotlin.arrayOf' call
|
|
844
844
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
845
845
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -853,15 +853,15 @@
|
|
|
853
853
|
}
|
|
854
854
|
function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
|
|
855
855
|
if (!(11 === (11 & seen0))) {
|
|
856
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_3().
|
|
856
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_3().s2d_1);
|
|
857
857
|
}
|
|
858
|
-
$this.
|
|
859
|
-
$this.
|
|
858
|
+
$this.s2c_1 = type;
|
|
859
|
+
$this.t2c_1 = name;
|
|
860
860
|
if (0 === (seen0 & 4))
|
|
861
|
-
$this.
|
|
861
|
+
$this.u2c_1 = null;
|
|
862
862
|
else
|
|
863
|
-
$this.
|
|
864
|
-
$this.
|
|
863
|
+
$this.u2c_1 = doc;
|
|
864
|
+
$this.v2c_1 = symbols;
|
|
865
865
|
return $this;
|
|
866
866
|
}
|
|
867
867
|
function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
}
|
|
870
870
|
function Companion_5() {
|
|
871
871
|
}
|
|
872
|
-
protoOf(Companion_5).
|
|
872
|
+
protoOf(Companion_5).m17 = function () {
|
|
873
873
|
return $serializer_getInstance_4();
|
|
874
874
|
};
|
|
875
875
|
var Companion_instance_5;
|
|
@@ -879,30 +879,30 @@
|
|
|
879
879
|
function $serializer_4() {
|
|
880
880
|
$serializer_instance_4 = this;
|
|
881
881
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.LogicalType', this, 4);
|
|
882
|
-
tmp0_serialDesc.
|
|
883
|
-
tmp0_serialDesc.
|
|
884
|
-
tmp0_serialDesc.
|
|
885
|
-
tmp0_serialDesc.
|
|
886
|
-
this.
|
|
882
|
+
tmp0_serialDesc.gv('type', false);
|
|
883
|
+
tmp0_serialDesc.gv('logicalType', false);
|
|
884
|
+
tmp0_serialDesc.gv('precision', true);
|
|
885
|
+
tmp0_serialDesc.gv('scale', true);
|
|
886
|
+
this.u2d_1 = tmp0_serialDesc;
|
|
887
887
|
}
|
|
888
|
-
protoOf($serializer_4).
|
|
889
|
-
var tmp0_desc = this.
|
|
890
|
-
var tmp1_output = encoder.
|
|
891
|
-
tmp1_output.
|
|
892
|
-
tmp1_output.
|
|
893
|
-
if (tmp1_output.
|
|
894
|
-
tmp1_output.
|
|
888
|
+
protoOf($serializer_4).v2d = function (encoder, value) {
|
|
889
|
+
var tmp0_desc = this.u2d_1;
|
|
890
|
+
var tmp1_output = encoder.wn(tmp0_desc);
|
|
891
|
+
tmp1_output.lp(tmp0_desc, 0, value.o2c_1);
|
|
892
|
+
tmp1_output.lp(tmp0_desc, 1, value.p2c_1);
|
|
893
|
+
if (tmp1_output.tp(tmp0_desc, 2) ? true : !(value.q2c_1 == null)) {
|
|
894
|
+
tmp1_output.pp(tmp0_desc, 2, IntSerializer_getInstance(), value.q2c_1);
|
|
895
895
|
}
|
|
896
|
-
if (tmp1_output.
|
|
897
|
-
tmp1_output.
|
|
896
|
+
if (tmp1_output.tp(tmp0_desc, 3) ? true : !(value.r2c_1 == null)) {
|
|
897
|
+
tmp1_output.pp(tmp0_desc, 3, IntSerializer_getInstance(), value.r2c_1);
|
|
898
898
|
}
|
|
899
|
-
tmp1_output.
|
|
899
|
+
tmp1_output.xn(tmp0_desc);
|
|
900
900
|
};
|
|
901
|
-
protoOf($serializer_4).
|
|
902
|
-
return this.
|
|
901
|
+
protoOf($serializer_4).wk = function (encoder, value) {
|
|
902
|
+
return this.v2d(encoder, value instanceof LogicalType ? value : THROW_CCE());
|
|
903
903
|
};
|
|
904
|
-
protoOf($serializer_4).
|
|
905
|
-
var tmp0_desc = this.
|
|
904
|
+
protoOf($serializer_4).xk = function (decoder) {
|
|
905
|
+
var tmp0_desc = this.u2d_1;
|
|
906
906
|
var tmp1_flag = true;
|
|
907
907
|
var tmp2_index = 0;
|
|
908
908
|
var tmp3_bitMask0 = 0;
|
|
@@ -910,50 +910,50 @@
|
|
|
910
910
|
var tmp5_local1 = null;
|
|
911
911
|
var tmp6_local2 = null;
|
|
912
912
|
var tmp7_local3 = null;
|
|
913
|
-
var tmp8_input = decoder.
|
|
914
|
-
if (tmp8_input.
|
|
915
|
-
tmp4_local0 = tmp8_input.
|
|
913
|
+
var tmp8_input = decoder.wn(tmp0_desc);
|
|
914
|
+
if (tmp8_input.mo()) {
|
|
915
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
916
916
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
917
|
-
tmp5_local1 = tmp8_input.
|
|
917
|
+
tmp5_local1 = tmp8_input.go(tmp0_desc, 1);
|
|
918
918
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
919
|
-
tmp6_local2 = tmp8_input.
|
|
919
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
920
920
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
921
|
-
tmp7_local3 = tmp8_input.
|
|
921
|
+
tmp7_local3 = tmp8_input.ko(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
922
922
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
923
923
|
} else
|
|
924
924
|
while (tmp1_flag) {
|
|
925
|
-
tmp2_index = tmp8_input.
|
|
925
|
+
tmp2_index = tmp8_input.no(tmp0_desc);
|
|
926
926
|
switch (tmp2_index) {
|
|
927
927
|
case -1:
|
|
928
928
|
tmp1_flag = false;
|
|
929
929
|
break;
|
|
930
930
|
case 0:
|
|
931
|
-
tmp4_local0 = tmp8_input.
|
|
931
|
+
tmp4_local0 = tmp8_input.go(tmp0_desc, 0);
|
|
932
932
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
933
933
|
break;
|
|
934
934
|
case 1:
|
|
935
|
-
tmp5_local1 = tmp8_input.
|
|
935
|
+
tmp5_local1 = tmp8_input.go(tmp0_desc, 1);
|
|
936
936
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
937
937
|
break;
|
|
938
938
|
case 2:
|
|
939
|
-
tmp6_local2 = tmp8_input.
|
|
939
|
+
tmp6_local2 = tmp8_input.ko(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
940
940
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
941
941
|
break;
|
|
942
942
|
case 3:
|
|
943
|
-
tmp7_local3 = tmp8_input.
|
|
943
|
+
tmp7_local3 = tmp8_input.ko(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
944
944
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
945
945
|
break;
|
|
946
946
|
default:
|
|
947
947
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
948
948
|
}
|
|
949
949
|
}
|
|
950
|
-
tmp8_input.
|
|
950
|
+
tmp8_input.xn(tmp0_desc);
|
|
951
951
|
return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
952
952
|
};
|
|
953
|
-
protoOf($serializer_4).
|
|
954
|
-
return this.
|
|
953
|
+
protoOf($serializer_4).vk = function () {
|
|
954
|
+
return this.u2d_1;
|
|
955
955
|
};
|
|
956
|
-
protoOf($serializer_4).
|
|
956
|
+
protoOf($serializer_4).zv = function () {
|
|
957
957
|
// Inline function 'kotlin.arrayOf' call
|
|
958
958
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
959
959
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -967,18 +967,18 @@
|
|
|
967
967
|
}
|
|
968
968
|
function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
|
|
969
969
|
if (!(3 === (3 & seen0))) {
|
|
970
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
970
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().u2d_1);
|
|
971
971
|
}
|
|
972
|
-
$this.
|
|
973
|
-
$this.
|
|
972
|
+
$this.o2c_1 = type;
|
|
973
|
+
$this.p2c_1 = logicalType;
|
|
974
974
|
if (0 === (seen0 & 4))
|
|
975
|
-
$this.
|
|
975
|
+
$this.q2c_1 = null;
|
|
976
976
|
else
|
|
977
|
-
$this.
|
|
977
|
+
$this.q2c_1 = precision;
|
|
978
978
|
if (0 === (seen0 & 8))
|
|
979
|
-
$this.
|
|
979
|
+
$this.r2c_1 = null;
|
|
980
980
|
else
|
|
981
|
-
$this.
|
|
981
|
+
$this.r2c_1 = scale;
|
|
982
982
|
return $this;
|
|
983
983
|
}
|
|
984
984
|
function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
|
|
@@ -987,13 +987,13 @@
|
|
|
987
987
|
function Field_0() {
|
|
988
988
|
}
|
|
989
989
|
protoOf(Field_0).toString = function () {
|
|
990
|
-
return 'Field(name=' + this.
|
|
990
|
+
return 'Field(name=' + this.d2d_1 + ', type=' + this.e2d_1.toString() + ', doc=' + this.f2d_1 + ', default=' + this.g2d_1 + ')';
|
|
991
991
|
};
|
|
992
992
|
protoOf(Field_0).hashCode = function () {
|
|
993
|
-
var result = getStringHashCode(this.
|
|
994
|
-
result = imul(result, 31) + this.
|
|
993
|
+
var result = getStringHashCode(this.d2d_1);
|
|
994
|
+
result = imul(result, 31) + this.e2d_1.hashCode() | 0;
|
|
995
|
+
result = imul(result, 31) + (this.f2d_1 == null ? 0 : getStringHashCode(this.f2d_1)) | 0;
|
|
995
996
|
result = imul(result, 31) + (this.g2d_1 == null ? 0 : getStringHashCode(this.g2d_1)) | 0;
|
|
996
|
-
result = imul(result, 31) + (this.h2d_1 == null ? 0 : getStringHashCode(this.h2d_1)) | 0;
|
|
997
997
|
return result;
|
|
998
998
|
};
|
|
999
999
|
protoOf(Field_0).equals = function (other) {
|
|
@@ -1002,37 +1002,37 @@
|
|
|
1002
1002
|
if (!(other instanceof Field_0))
|
|
1003
1003
|
return false;
|
|
1004
1004
|
var tmp0_other_with_cast = other instanceof Field_0 ? other : THROW_CCE();
|
|
1005
|
-
if (!(this.
|
|
1005
|
+
if (!(this.d2d_1 === tmp0_other_with_cast.d2d_1))
|
|
1006
1006
|
return false;
|
|
1007
|
-
if (!this.
|
|
1007
|
+
if (!this.e2d_1.equals(tmp0_other_with_cast.e2d_1))
|
|
1008
1008
|
return false;
|
|
1009
|
-
if (!(this.
|
|
1009
|
+
if (!(this.f2d_1 == tmp0_other_with_cast.f2d_1))
|
|
1010
1010
|
return false;
|
|
1011
|
-
if (!(this.
|
|
1011
|
+
if (!(this.g2d_1 == tmp0_other_with_cast.g2d_1))
|
|
1012
1012
|
return false;
|
|
1013
1013
|
return true;
|
|
1014
1014
|
};
|
|
1015
1015
|
function TypeList(type) {
|
|
1016
1016
|
AbstractList.call(this);
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1017
|
+
this.w2d_1 = toList(type);
|
|
1018
|
+
this.x2d_1 = this.w2d_1.j();
|
|
1019
1019
|
}
|
|
1020
1020
|
protoOf(TypeList).j = function () {
|
|
1021
|
-
return this.
|
|
1021
|
+
return this.x2d_1;
|
|
1022
1022
|
};
|
|
1023
1023
|
protoOf(TypeList).k = function (index) {
|
|
1024
|
-
return this.
|
|
1024
|
+
return this.w2d_1.k(index);
|
|
1025
1025
|
};
|
|
1026
1026
|
function Type_0() {
|
|
1027
1027
|
}
|
|
1028
1028
|
function SimpleType(value) {
|
|
1029
|
-
this.
|
|
1029
|
+
this.n2c_1 = value;
|
|
1030
1030
|
}
|
|
1031
1031
|
protoOf(SimpleType).toString = function () {
|
|
1032
|
-
return 'SimpleType(value=' + this.
|
|
1032
|
+
return 'SimpleType(value=' + this.n2c_1 + ')';
|
|
1033
1033
|
};
|
|
1034
1034
|
protoOf(SimpleType).hashCode = function () {
|
|
1035
|
-
return getStringHashCode(this.
|
|
1035
|
+
return getStringHashCode(this.n2c_1);
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(SimpleType).equals = function (other) {
|
|
1038
1038
|
if (this === other)
|
|
@@ -1040,21 +1040,21 @@
|
|
|
1040
1040
|
if (!(other instanceof SimpleType))
|
|
1041
1041
|
return false;
|
|
1042
1042
|
var tmp0_other_with_cast = other instanceof SimpleType ? other : THROW_CCE();
|
|
1043
|
-
if (!(this.
|
|
1043
|
+
if (!(this.n2c_1 === tmp0_other_with_cast.n2c_1))
|
|
1044
1044
|
return false;
|
|
1045
1045
|
return true;
|
|
1046
1046
|
};
|
|
1047
1047
|
function RecordType() {
|
|
1048
1048
|
}
|
|
1049
1049
|
protoOf(RecordType).toString = function () {
|
|
1050
|
-
return 'RecordType(type=' + this.
|
|
1050
|
+
return 'RecordType(type=' + this.w2c_1 + ', name=' + this.x2c_1 + ', namespace=' + this.y2c_1 + ', fields=' + toString(this.z2c_1) + ', doc=' + this.a2d_1 + ')';
|
|
1051
1051
|
};
|
|
1052
1052
|
protoOf(RecordType).hashCode = function () {
|
|
1053
|
-
var result = getStringHashCode(this.
|
|
1054
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1055
|
-
result = imul(result, 31) + (this.
|
|
1056
|
-
result = imul(result, 31) + hashCode(this.
|
|
1057
|
-
result = imul(result, 31) + (this.
|
|
1053
|
+
var result = getStringHashCode(this.w2c_1);
|
|
1054
|
+
result = imul(result, 31) + getStringHashCode(this.x2c_1) | 0;
|
|
1055
|
+
result = imul(result, 31) + (this.y2c_1 == null ? 0 : getStringHashCode(this.y2c_1)) | 0;
|
|
1056
|
+
result = imul(result, 31) + hashCode(this.z2c_1) | 0;
|
|
1057
|
+
result = imul(result, 31) + (this.a2d_1 == null ? 0 : getStringHashCode(this.a2d_1)) | 0;
|
|
1058
1058
|
return result;
|
|
1059
1059
|
};
|
|
1060
1060
|
protoOf(RecordType).equals = function (other) {
|
|
@@ -1063,26 +1063,26 @@
|
|
|
1063
1063
|
if (!(other instanceof RecordType))
|
|
1064
1064
|
return false;
|
|
1065
1065
|
var tmp0_other_with_cast = other instanceof RecordType ? other : THROW_CCE();
|
|
1066
|
-
if (!(this.
|
|
1066
|
+
if (!(this.w2c_1 === tmp0_other_with_cast.w2c_1))
|
|
1067
1067
|
return false;
|
|
1068
|
-
if (!(this.
|
|
1068
|
+
if (!(this.x2c_1 === tmp0_other_with_cast.x2c_1))
|
|
1069
1069
|
return false;
|
|
1070
|
-
if (!(this.
|
|
1070
|
+
if (!(this.y2c_1 == tmp0_other_with_cast.y2c_1))
|
|
1071
1071
|
return false;
|
|
1072
|
-
if (!equals(this.
|
|
1072
|
+
if (!equals(this.z2c_1, tmp0_other_with_cast.z2c_1))
|
|
1073
1073
|
return false;
|
|
1074
|
-
if (!(this.
|
|
1074
|
+
if (!(this.a2d_1 == tmp0_other_with_cast.a2d_1))
|
|
1075
1075
|
return false;
|
|
1076
1076
|
return true;
|
|
1077
1077
|
};
|
|
1078
1078
|
function ArrayType() {
|
|
1079
1079
|
}
|
|
1080
1080
|
protoOf(ArrayType).toString = function () {
|
|
1081
|
-
return 'ArrayType(type=' + this.
|
|
1081
|
+
return 'ArrayType(type=' + this.b2d_1 + ', items=' + toString(this.c2d_1) + ')';
|
|
1082
1082
|
};
|
|
1083
1083
|
protoOf(ArrayType).hashCode = function () {
|
|
1084
|
-
var result = getStringHashCode(this.
|
|
1085
|
-
result = imul(result, 31) + hashCode(this.
|
|
1084
|
+
var result = getStringHashCode(this.b2d_1);
|
|
1085
|
+
result = imul(result, 31) + hashCode(this.c2d_1) | 0;
|
|
1086
1086
|
return result;
|
|
1087
1087
|
};
|
|
1088
1088
|
protoOf(ArrayType).equals = function (other) {
|
|
@@ -1091,22 +1091,22 @@
|
|
|
1091
1091
|
if (!(other instanceof ArrayType))
|
|
1092
1092
|
return false;
|
|
1093
1093
|
var tmp0_other_with_cast = other instanceof ArrayType ? other : THROW_CCE();
|
|
1094
|
-
if (!(this.
|
|
1094
|
+
if (!(this.b2d_1 === tmp0_other_with_cast.b2d_1))
|
|
1095
1095
|
return false;
|
|
1096
|
-
if (!equals(this.
|
|
1096
|
+
if (!equals(this.c2d_1, tmp0_other_with_cast.c2d_1))
|
|
1097
1097
|
return false;
|
|
1098
1098
|
return true;
|
|
1099
1099
|
};
|
|
1100
1100
|
function EnumType() {
|
|
1101
1101
|
}
|
|
1102
1102
|
protoOf(EnumType).toString = function () {
|
|
1103
|
-
return 'EnumType(type=' + this.
|
|
1103
|
+
return 'EnumType(type=' + this.s2c_1 + ', name=' + this.t2c_1 + ', doc=' + this.u2c_1 + ', symbols=' + toString(this.v2c_1) + ')';
|
|
1104
1104
|
};
|
|
1105
1105
|
protoOf(EnumType).hashCode = function () {
|
|
1106
|
-
var result = getStringHashCode(this.
|
|
1107
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1108
|
-
result = imul(result, 31) + (this.
|
|
1109
|
-
result = imul(result, 31) + hashCode(this.
|
|
1106
|
+
var result = getStringHashCode(this.s2c_1);
|
|
1107
|
+
result = imul(result, 31) + getStringHashCode(this.t2c_1) | 0;
|
|
1108
|
+
result = imul(result, 31) + (this.u2c_1 == null ? 0 : getStringHashCode(this.u2c_1)) | 0;
|
|
1109
|
+
result = imul(result, 31) + hashCode(this.v2c_1) | 0;
|
|
1110
1110
|
return result;
|
|
1111
1111
|
};
|
|
1112
1112
|
protoOf(EnumType).equals = function (other) {
|
|
@@ -1115,26 +1115,26 @@
|
|
|
1115
1115
|
if (!(other instanceof EnumType))
|
|
1116
1116
|
return false;
|
|
1117
1117
|
var tmp0_other_with_cast = other instanceof EnumType ? other : THROW_CCE();
|
|
1118
|
-
if (!(this.
|
|
1118
|
+
if (!(this.s2c_1 === tmp0_other_with_cast.s2c_1))
|
|
1119
1119
|
return false;
|
|
1120
|
-
if (!(this.
|
|
1120
|
+
if (!(this.t2c_1 === tmp0_other_with_cast.t2c_1))
|
|
1121
1121
|
return false;
|
|
1122
|
-
if (!(this.
|
|
1122
|
+
if (!(this.u2c_1 == tmp0_other_with_cast.u2c_1))
|
|
1123
1123
|
return false;
|
|
1124
|
-
if (!equals(this.
|
|
1124
|
+
if (!equals(this.v2c_1, tmp0_other_with_cast.v2c_1))
|
|
1125
1125
|
return false;
|
|
1126
1126
|
return true;
|
|
1127
1127
|
};
|
|
1128
1128
|
function LogicalType() {
|
|
1129
1129
|
}
|
|
1130
1130
|
protoOf(LogicalType).toString = function () {
|
|
1131
|
-
return 'LogicalType(type=' + this.
|
|
1131
|
+
return 'LogicalType(type=' + this.o2c_1 + ', logicalType=' + this.p2c_1 + ', precision=' + this.q2c_1 + ', scale=' + this.r2c_1 + ')';
|
|
1132
1132
|
};
|
|
1133
1133
|
protoOf(LogicalType).hashCode = function () {
|
|
1134
|
-
var result = getStringHashCode(this.
|
|
1135
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1134
|
+
var result = getStringHashCode(this.o2c_1);
|
|
1135
|
+
result = imul(result, 31) + getStringHashCode(this.p2c_1) | 0;
|
|
1136
|
+
result = imul(result, 31) + (this.q2c_1 == null ? 0 : this.q2c_1) | 0;
|
|
1136
1137
|
result = imul(result, 31) + (this.r2c_1 == null ? 0 : this.r2c_1) | 0;
|
|
1137
|
-
result = imul(result, 31) + (this.s2c_1 == null ? 0 : this.s2c_1) | 0;
|
|
1138
1138
|
return result;
|
|
1139
1139
|
};
|
|
1140
1140
|
protoOf(LogicalType).equals = function (other) {
|
|
@@ -1143,34 +1143,34 @@
|
|
|
1143
1143
|
if (!(other instanceof LogicalType))
|
|
1144
1144
|
return false;
|
|
1145
1145
|
var tmp0_other_with_cast = other instanceof LogicalType ? other : THROW_CCE();
|
|
1146
|
+
if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
|
|
1147
|
+
return false;
|
|
1146
1148
|
if (!(this.p2c_1 === tmp0_other_with_cast.p2c_1))
|
|
1147
1149
|
return false;
|
|
1148
|
-
if (!(this.q2c_1
|
|
1150
|
+
if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
|
|
1149
1151
|
return false;
|
|
1150
1152
|
if (!(this.r2c_1 == tmp0_other_with_cast.r2c_1))
|
|
1151
1153
|
return false;
|
|
1152
|
-
if (!(this.s2c_1 == tmp0_other_with_cast.s2c_1))
|
|
1153
|
-
return false;
|
|
1154
1154
|
return true;
|
|
1155
1155
|
};
|
|
1156
1156
|
function TypeListSerializer() {
|
|
1157
1157
|
TypeListSerializer_instance = this;
|
|
1158
|
-
this.
|
|
1158
|
+
this.y2d_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
|
|
1159
1159
|
}
|
|
1160
|
-
protoOf(TypeListSerializer).
|
|
1161
|
-
return this.
|
|
1160
|
+
protoOf(TypeListSerializer).vk = function () {
|
|
1161
|
+
return this.y2d_1;
|
|
1162
1162
|
};
|
|
1163
|
-
protoOf(TypeListSerializer).
|
|
1164
|
-
if (value.
|
|
1165
|
-
encoder.
|
|
1163
|
+
protoOf(TypeListSerializer).z2d = function (encoder, value) {
|
|
1164
|
+
if (value.x2d_1 > 1) {
|
|
1165
|
+
encoder.op(ListSerializer(Companion_instance_0.m17()), value);
|
|
1166
1166
|
} else {
|
|
1167
|
-
encoder.
|
|
1167
|
+
encoder.op(Companion_instance_0.m17(), first(value));
|
|
1168
1168
|
}
|
|
1169
1169
|
};
|
|
1170
|
-
protoOf(TypeListSerializer).
|
|
1171
|
-
return this.
|
|
1170
|
+
protoOf(TypeListSerializer).wk = function (encoder, value) {
|
|
1171
|
+
return this.z2d(encoder, value instanceof TypeList ? value : THROW_CCE());
|
|
1172
1172
|
};
|
|
1173
|
-
protoOf(TypeListSerializer).
|
|
1173
|
+
protoOf(TypeListSerializer).xk = function (decoder) {
|
|
1174
1174
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
1175
1175
|
var tmp;
|
|
1176
1176
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1179,10 +1179,10 @@
|
|
|
1179
1179
|
tmp = tmp0_elvis_lhs;
|
|
1180
1180
|
}
|
|
1181
1181
|
var input = tmp;
|
|
1182
|
-
var element = input.
|
|
1182
|
+
var element = input.d17();
|
|
1183
1183
|
var tmp_0;
|
|
1184
1184
|
if (element instanceof JsonPrimitive) {
|
|
1185
|
-
tmp_0 = new TypeList([input.
|
|
1185
|
+
tmp_0 = new TypeList([input.c17().c15(Companion_instance_0.m17(), element)]);
|
|
1186
1186
|
} else {
|
|
1187
1187
|
if (element instanceof JsonArray) {
|
|
1188
1188
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -1193,14 +1193,14 @@
|
|
|
1193
1193
|
while (tmp0_iterator.h()) {
|
|
1194
1194
|
var item = tmp0_iterator.i();
|
|
1195
1195
|
// Inline function 'community.flock.wirespec.converter.avro.TypeListSerializer.deserialize.<anonymous>' call
|
|
1196
|
-
var tmp$ret$0 = input.
|
|
1196
|
+
var tmp$ret$0 = input.c17().c15(Companion_instance_0.m17(), item);
|
|
1197
1197
|
destination.e(tmp$ret$0);
|
|
1198
1198
|
}
|
|
1199
1199
|
var tmp$ret$3 = copyToArray(destination);
|
|
1200
1200
|
tmp_0 = new TypeList(tmp$ret$3.slice());
|
|
1201
1201
|
} else {
|
|
1202
1202
|
if (element instanceof JsonObject) {
|
|
1203
|
-
tmp_0 = new TypeList([input.
|
|
1203
|
+
tmp_0 = new TypeList([input.c17().c15(Companion_instance_0.m17(), element)]);
|
|
1204
1204
|
} else {
|
|
1205
1205
|
noWhenBranchMatchedException();
|
|
1206
1206
|
}
|
|
@@ -1216,23 +1216,23 @@
|
|
|
1216
1216
|
}
|
|
1217
1217
|
function TypeSerializer() {
|
|
1218
1218
|
TypeSerializer_instance = this;
|
|
1219
|
-
this.
|
|
1219
|
+
this.a2e_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
|
|
1220
1220
|
}
|
|
1221
|
-
protoOf(TypeSerializer).
|
|
1222
|
-
return this.
|
|
1221
|
+
protoOf(TypeSerializer).vk = function () {
|
|
1222
|
+
return this.a2e_1;
|
|
1223
1223
|
};
|
|
1224
|
-
protoOf(TypeSerializer).
|
|
1224
|
+
protoOf(TypeSerializer).b2e = function (encoder, value) {
|
|
1225
1225
|
if (value instanceof SimpleType) {
|
|
1226
|
-
encoder.
|
|
1226
|
+
encoder.op(serializer(StringCompanionObject_instance), value.n2c_1);
|
|
1227
1227
|
} else {
|
|
1228
1228
|
if (value instanceof RecordType) {
|
|
1229
|
-
encoder.
|
|
1229
|
+
encoder.op(Companion_getInstance_2().m17(), value);
|
|
1230
1230
|
} else {
|
|
1231
1231
|
if (value instanceof ArrayType) {
|
|
1232
|
-
encoder.
|
|
1232
|
+
encoder.op(Companion_instance_3.m17(), value);
|
|
1233
1233
|
} else {
|
|
1234
1234
|
if (value instanceof EnumType) {
|
|
1235
|
-
encoder.
|
|
1235
|
+
encoder.op(Companion_getInstance_4().m17(), value);
|
|
1236
1236
|
} else {
|
|
1237
1237
|
if (value instanceof LogicalType) {
|
|
1238
1238
|
// Inline function 'kotlin.TODO' call
|
|
@@ -1245,10 +1245,10 @@
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
|
-
protoOf(TypeSerializer).
|
|
1249
|
-
return this.
|
|
1248
|
+
protoOf(TypeSerializer).wk = function (encoder, value) {
|
|
1249
|
+
return this.b2e(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
|
|
1250
1250
|
};
|
|
1251
|
-
protoOf(TypeSerializer).
|
|
1251
|
+
protoOf(TypeSerializer).xk = function (decoder) {
|
|
1252
1252
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
1253
1253
|
var tmp;
|
|
1254
1254
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1257,18 +1257,18 @@
|
|
|
1257
1257
|
tmp = tmp0_elvis_lhs;
|
|
1258
1258
|
}
|
|
1259
1259
|
var input = tmp;
|
|
1260
|
-
var element = input.
|
|
1260
|
+
var element = input.d17();
|
|
1261
1261
|
var tmp_0;
|
|
1262
1262
|
if (element instanceof JsonObject) {
|
|
1263
1263
|
var tmp_1;
|
|
1264
|
-
if (element.
|
|
1265
|
-
tmp_1 = input.
|
|
1266
|
-
} else if (element.
|
|
1267
|
-
tmp_1 = input.
|
|
1268
|
-
} else if (element.
|
|
1269
|
-
tmp_1 = input.
|
|
1270
|
-
} else if (element.
|
|
1271
|
-
tmp_1 = input.
|
|
1264
|
+
if (element.g17('items')) {
|
|
1265
|
+
tmp_1 = input.c17().c15(Companion_instance_3.m17(), element);
|
|
1266
|
+
} else if (element.g17('fields')) {
|
|
1267
|
+
tmp_1 = input.c17().c15(Companion_getInstance_2().m17(), element);
|
|
1268
|
+
} else if (element.g17('symbols')) {
|
|
1269
|
+
tmp_1 = input.c17().c15(Companion_getInstance_4().m17(), element);
|
|
1270
|
+
} else if (element.g17('logicalType')) {
|
|
1271
|
+
tmp_1 = input.c17().c15(Companion_instance_5.m17(), element);
|
|
1272
1272
|
} else {
|
|
1273
1273
|
var reason = 'Unknown object type: ' + element.toString();
|
|
1274
1274
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
@@ -1276,7 +1276,7 @@
|
|
|
1276
1276
|
tmp_0 = tmp_1;
|
|
1277
1277
|
} else {
|
|
1278
1278
|
if (element instanceof JsonPrimitive) {
|
|
1279
|
-
tmp_0 = new SimpleType(element.
|
|
1279
|
+
tmp_0 = new SimpleType(element.e17());
|
|
1280
1280
|
} else {
|
|
1281
1281
|
if (element instanceof JsonArray) {
|
|
1282
1282
|
var reason_0 = 'Type can never be an array';
|
|
@@ -1295,25 +1295,25 @@
|
|
|
1295
1295
|
return TypeSerializer_instance;
|
|
1296
1296
|
}
|
|
1297
1297
|
function AvroParser$parse$lambda($this$Json) {
|
|
1298
|
+
$this$Json.u15_1 = true;
|
|
1298
1299
|
$this$Json.v15_1 = true;
|
|
1299
|
-
$this$Json.w15_1 = true;
|
|
1300
1300
|
return Unit_instance;
|
|
1301
1301
|
}
|
|
1302
1302
|
function AvroParser() {
|
|
1303
1303
|
}
|
|
1304
|
-
protoOf(AvroParser).
|
|
1304
|
+
protoOf(AvroParser).t2a = function (schemaContent, strict) {
|
|
1305
1305
|
var json = Json(VOID, AvroParser$parse$lambda);
|
|
1306
1306
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
1307
1307
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1308
|
-
var this_0 = json.
|
|
1308
|
+
var this_0 = json.lo();
|
|
1309
1309
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1310
1310
|
var this_1 = serializer_0(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
|
|
1311
1311
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
1312
|
-
var avro = json.
|
|
1313
|
-
var tmp = AvroConverter_getInstance().
|
|
1312
|
+
var avro = json.b15(tmp$ret$1, schemaContent);
|
|
1313
|
+
var tmp = AvroConverter_getInstance().h2d(avro);
|
|
1314
1314
|
var tmp_0;
|
|
1315
1315
|
if (avro instanceof RecordType) {
|
|
1316
|
-
tmp_0 = new Channel(null, new DefinitionIdentifier(avro.
|
|
1316
|
+
tmp_0 = new Channel(null, new DefinitionIdentifier(avro.x2c_1), new Custom(avro.x2c_1, false));
|
|
1317
1317
|
} else {
|
|
1318
1318
|
if (avro instanceof ArrayType) {
|
|
1319
1319
|
throw new NotImplementedError();
|
|
@@ -1335,21 +1335,21 @@
|
|
|
1335
1335
|
}
|
|
1336
1336
|
return plus_0(tmp, tmp_0);
|
|
1337
1337
|
};
|
|
1338
|
-
protoOf(AvroParser).
|
|
1338
|
+
protoOf(AvroParser).c2e = function (schemaContent, strict, $super) {
|
|
1339
1339
|
strict = strict === VOID ? true : strict;
|
|
1340
|
-
return $super === VOID ? this.
|
|
1340
|
+
return $super === VOID ? this.t2a(schemaContent, strict) : $super.t2a.call(this, schemaContent, strict);
|
|
1341
1341
|
};
|
|
1342
1342
|
var AvroParser_instance;
|
|
1343
1343
|
function AvroParser_getInstance() {
|
|
1344
1344
|
return AvroParser_instance;
|
|
1345
1345
|
}
|
|
1346
1346
|
//region block: post-declaration
|
|
1347
|
-
protoOf($serializer).
|
|
1348
|
-
protoOf($serializer_0).
|
|
1349
|
-
protoOf($serializer_1).
|
|
1350
|
-
protoOf($serializer_2).
|
|
1351
|
-
protoOf($serializer_3).
|
|
1352
|
-
protoOf($serializer_4).
|
|
1347
|
+
protoOf($serializer).aw = typeParametersSerializers;
|
|
1348
|
+
protoOf($serializer_0).aw = typeParametersSerializers;
|
|
1349
|
+
protoOf($serializer_1).aw = typeParametersSerializers;
|
|
1350
|
+
protoOf($serializer_2).aw = typeParametersSerializers;
|
|
1351
|
+
protoOf($serializer_3).aw = typeParametersSerializers;
|
|
1352
|
+
protoOf($serializer_4).aw = typeParametersSerializers;
|
|
1353
1353
|
//endregion
|
|
1354
1354
|
//region block: init
|
|
1355
1355
|
Companion_instance = new Companion();
|