@flock/wirespec 0.12.4 → 0.12.9
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.mjs.map +1 -1
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt.mjs +1167 -1167
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +425 -425
- package/colormath-root-colormath.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +71 -56
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1767 -1767
- package/kotlin-rgxgen.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +380 -380
- package/markdown.mjs +1884 -1884
- package/mordant-mordant.mjs +1640 -1640
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1721 -1459
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +586 -467
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +355 -322
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +419 -357
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +1031 -393
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +396 -963
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +41 -17
- package/wirespec-src-plugin-npm.mjs +171 -173
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +35 -30
- package/wirespec-src-tools-generator.mjs.map +1 -1
|
@@ -18,13 +18,16 @@ import {
|
|
|
18
18
|
Type11a5scrd50tqk as Type,
|
|
19
19
|
Enum13738b9tl6w6v as Enum,
|
|
20
20
|
Union171cmlm23mwcq as Union,
|
|
21
|
-
|
|
21
|
+
Emitter1jsaltl7ktuoe as Emitter,
|
|
22
|
+
FileExtension_JSON_getInstance3s3hcc6ynarq8 as FileExtension_JSON_getInstance,
|
|
22
23
|
Any268baxyo9do19 as Any,
|
|
23
24
|
Refined3fn8nn8ume24i as Refined,
|
|
24
25
|
Bytes2moci2lqqzua3 as Bytes,
|
|
25
26
|
Boolean1v54w5v4qjba1 as Boolean_0,
|
|
26
27
|
String23kqvhe3sk098 as String_0,
|
|
27
28
|
Channel2rnyzzgwpojjq as Channel,
|
|
29
|
+
Module1hus0d150u4qt as Module,
|
|
30
|
+
ASTjmzmwcb0kkkg as AST,
|
|
28
31
|
} from './wirespec-src-compiler-core.mjs';
|
|
29
32
|
import {
|
|
30
33
|
NotImplementedErrorfzlkpv14xxr8 as NotImplementedError,
|
|
@@ -92,13 +95,16 @@ import {
|
|
|
92
95
|
JsonPrimitive3ttzjh2ft5dnx as JsonPrimitive,
|
|
93
96
|
Jsonsmkyu9xjl7fv as Json,
|
|
94
97
|
} from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
95
|
-
import {
|
|
98
|
+
import {
|
|
99
|
+
toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
|
|
100
|
+
nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
|
|
101
|
+
} from './arrow-arrow-core.mjs';
|
|
96
102
|
//region block: imports
|
|
97
103
|
var imul = Math.imul;
|
|
98
104
|
//endregion
|
|
99
105
|
//region block: pre-declaration
|
|
100
106
|
initMetadataForObject(AvroConverter, 'AvroConverter');
|
|
101
|
-
initMetadataForObject(AvroEmitter, 'AvroEmitter');
|
|
107
|
+
initMetadataForObject(AvroEmitter, 'AvroEmitter', VOID, Emitter);
|
|
102
108
|
initMetadataForCompanion(Companion);
|
|
103
109
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
104
110
|
initMetadataForCompanion(Companion_0);
|
|
@@ -132,11 +138,11 @@ initMetadataForObject(TypeSerializer, 'TypeSerializer', VOID, VOID, [KSerializer
|
|
|
132
138
|
initMetadataForObject(AvroParser, 'AvroParser');
|
|
133
139
|
//endregion
|
|
134
140
|
function isNullable(_this__u8e3s4, $this) {
|
|
135
|
-
return _this__u8e3s4.o1($this.
|
|
141
|
+
return _this__u8e3s4.o1($this.t2b_1);
|
|
136
142
|
}
|
|
137
143
|
function toPrimitive(_this__u8e3s4, $this) {
|
|
138
144
|
var tmp;
|
|
139
|
-
switch (_this__u8e3s4.
|
|
145
|
+
switch (_this__u8e3s4.u2b_1) {
|
|
140
146
|
case 'boolean':
|
|
141
147
|
tmp = Boolean_instance;
|
|
142
148
|
break;
|
|
@@ -159,7 +165,7 @@ function toPrimitive(_this__u8e3s4, $this) {
|
|
|
159
165
|
tmp = String_instance;
|
|
160
166
|
break;
|
|
161
167
|
default:
|
|
162
|
-
var reason = 'primitive not mapped ' + _this__u8e3s4.
|
|
168
|
+
var reason = 'primitive not mapped ' + _this__u8e3s4.u2b_1;
|
|
163
169
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
164
170
|
}
|
|
165
171
|
return tmp;
|
|
@@ -167,7 +173,7 @@ function toPrimitive(_this__u8e3s4, $this) {
|
|
|
167
173
|
function toReference(_this__u8e3s4, $this, isNullable) {
|
|
168
174
|
var tmp;
|
|
169
175
|
if (_this__u8e3s4 instanceof SimpleType) {
|
|
170
|
-
switch (_this__u8e3s4.
|
|
176
|
+
switch (_this__u8e3s4.u2b_1) {
|
|
171
177
|
case 'null':
|
|
172
178
|
tmp = new Unit(isNullable);
|
|
173
179
|
break;
|
|
@@ -181,27 +187,27 @@ function toReference(_this__u8e3s4, $this, isNullable) {
|
|
|
181
187
|
tmp = new Primitive(toPrimitive(_this__u8e3s4, $this), isNullable);
|
|
182
188
|
break;
|
|
183
189
|
default:
|
|
184
|
-
tmp = new Custom(_this__u8e3s4.
|
|
190
|
+
tmp = new Custom(_this__u8e3s4.u2b_1, isNullable);
|
|
185
191
|
break;
|
|
186
192
|
}
|
|
187
193
|
} else {
|
|
188
194
|
if (_this__u8e3s4 instanceof ArrayType) {
|
|
189
|
-
tmp = new Iterable(toReference(_this__u8e3s4.
|
|
195
|
+
tmp = new Iterable(toReference(_this__u8e3s4.n2c_1, $this, false), isNullable);
|
|
190
196
|
} else {
|
|
191
197
|
if (_this__u8e3s4 instanceof RecordType) {
|
|
192
|
-
tmp = new Custom(_this__u8e3s4.
|
|
198
|
+
tmp = new Custom(_this__u8e3s4.i2c_1, isNullable);
|
|
193
199
|
} else {
|
|
194
200
|
if (_this__u8e3s4 instanceof EnumType) {
|
|
195
|
-
tmp = new Custom(_this__u8e3s4.
|
|
201
|
+
tmp = new Custom(_this__u8e3s4.e2c_1, isNullable);
|
|
196
202
|
} else {
|
|
197
203
|
if (_this__u8e3s4 instanceof LogicalType) {
|
|
198
|
-
tmp = toReference(new SimpleType(_this__u8e3s4.
|
|
204
|
+
tmp = toReference(new SimpleType(_this__u8e3s4.z2b_1), $this, isNullable);
|
|
199
205
|
} else {
|
|
200
206
|
if (_this__u8e3s4 instanceof MapType) {
|
|
201
|
-
tmp = new Dict(toReference(_this__u8e3s4.
|
|
207
|
+
tmp = new Dict(toReference(_this__u8e3s4.y2b_1, $this, false), isNullable);
|
|
202
208
|
} else {
|
|
203
209
|
if (_this__u8e3s4 instanceof UnionType) {
|
|
204
|
-
tmp = new Custom(_this__u8e3s4.
|
|
210
|
+
tmp = new Custom(_this__u8e3s4.v2b_1, isNullable);
|
|
205
211
|
} else {
|
|
206
212
|
noWhenBranchMatchedException();
|
|
207
213
|
}
|
|
@@ -214,7 +220,7 @@ function toReference(_this__u8e3s4, $this, isNullable) {
|
|
|
214
220
|
return tmp;
|
|
215
221
|
}
|
|
216
222
|
function toReference_0(_this__u8e3s4, $this) {
|
|
217
|
-
var list = minus(_this__u8e3s4, $this.
|
|
223
|
+
var list = minus(_this__u8e3s4, $this.t2b_1);
|
|
218
224
|
var tmp;
|
|
219
225
|
if (list.j() === 1) {
|
|
220
226
|
tmp = toReference(first(list), $this, isNullable(_this__u8e3s4, $this));
|
|
@@ -254,29 +260,29 @@ function toReference_0(_this__u8e3s4, $this) {
|
|
|
254
260
|
return tmp;
|
|
255
261
|
}
|
|
256
262
|
function toType(_this__u8e3s4, $this) {
|
|
257
|
-
var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
263
|
+
var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.i2c_1);
|
|
258
264
|
var tmp1_extends = emptyList();
|
|
259
265
|
// Inline function 'kotlin.collections.map' call
|
|
260
|
-
var this_0 = _this__u8e3s4.
|
|
266
|
+
var this_0 = _this__u8e3s4.k2c_1;
|
|
261
267
|
// Inline function 'kotlin.collections.mapTo' call
|
|
262
268
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
263
269
|
var _iterator__ex2g4s = this_0.g();
|
|
264
270
|
while (_iterator__ex2g4s.h()) {
|
|
265
271
|
var item = _iterator__ex2g4s.i();
|
|
266
272
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.toType.<anonymous>' call
|
|
267
|
-
var tmp$ret$0 = new Field(new FieldIdentifier(item.
|
|
273
|
+
var tmp$ret$0 = new Field(new FieldIdentifier(item.o2c_1), toReference_0(item.p2c_1, AvroConverter_getInstance()));
|
|
268
274
|
destination.e(tmp$ret$0);
|
|
269
275
|
}
|
|
270
276
|
var tmp2_shape = new Shape(destination);
|
|
271
277
|
return new Type(null, tmp0_identifier, tmp2_shape, tmp1_extends);
|
|
272
278
|
}
|
|
273
279
|
function toEnum(_this__u8e3s4, $this) {
|
|
274
|
-
return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.
|
|
280
|
+
return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.e2c_1), toSet(_this__u8e3s4.g2c_1));
|
|
275
281
|
}
|
|
276
282
|
function toUnion(_this__u8e3s4, $this, name) {
|
|
277
283
|
var tmp = new DefinitionIdentifier(name);
|
|
278
284
|
// Inline function 'kotlin.collections.map' call
|
|
279
|
-
var this_0 = _this__u8e3s4.
|
|
285
|
+
var this_0 = _this__u8e3s4.w2b_1;
|
|
280
286
|
// Inline function 'kotlin.collections.mapTo' call
|
|
281
287
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
282
288
|
var _iterator__ex2g4s = this_0.g();
|
|
@@ -290,9 +296,9 @@ function toUnion(_this__u8e3s4, $this, name) {
|
|
|
290
296
|
}
|
|
291
297
|
function AvroConverter() {
|
|
292
298
|
AvroConverter_instance = this;
|
|
293
|
-
this.
|
|
299
|
+
this.t2b_1 = new SimpleType('null');
|
|
294
300
|
}
|
|
295
|
-
protoOf(AvroConverter).
|
|
301
|
+
protoOf(AvroConverter).s2c = function (_this__u8e3s4, name) {
|
|
296
302
|
var tmp;
|
|
297
303
|
if (_this__u8e3s4 instanceof SimpleType) {
|
|
298
304
|
tmp = emptyList();
|
|
@@ -300,7 +306,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
|
|
|
300
306
|
if (_this__u8e3s4 instanceof RecordType) {
|
|
301
307
|
var tmp_0 = listOf(toType(_this__u8e3s4, this));
|
|
302
308
|
// Inline function 'kotlin.collections.flatMap' call
|
|
303
|
-
var tmp0 = _this__u8e3s4.
|
|
309
|
+
var tmp0 = _this__u8e3s4.k2c_1;
|
|
304
310
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
305
311
|
var destination = ArrayList_init_$Create$_0();
|
|
306
312
|
var _iterator__ex2g4s = tmp0.g();
|
|
@@ -308,14 +314,14 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
|
|
|
308
314
|
var element = _iterator__ex2g4s.i();
|
|
309
315
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>' call
|
|
310
316
|
// Inline function 'kotlin.collections.flatMap' call
|
|
311
|
-
var tmp0_0 = element.
|
|
317
|
+
var tmp0_0 = element.p2c_1;
|
|
312
318
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
313
319
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
314
320
|
var _iterator__ex2g4s_0 = tmp0_0.g();
|
|
315
321
|
while (_iterator__ex2g4s_0.h()) {
|
|
316
322
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
317
323
|
// Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>.<anonymous>' call
|
|
318
|
-
var list = AvroConverter_getInstance().
|
|
324
|
+
var list = AvroConverter_getInstance().s2c(element_0, name);
|
|
319
325
|
addAll(destination_0, list);
|
|
320
326
|
}
|
|
321
327
|
var list_0 = destination_0;
|
|
@@ -324,7 +330,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
|
|
|
324
330
|
tmp = plus(tmp_0, destination);
|
|
325
331
|
} else {
|
|
326
332
|
if (_this__u8e3s4 instanceof ArrayType) {
|
|
327
|
-
tmp = this.
|
|
333
|
+
tmp = this.s2c(_this__u8e3s4.n2c_1, name);
|
|
328
334
|
} else {
|
|
329
335
|
if (_this__u8e3s4 instanceof EnumType) {
|
|
330
336
|
tmp = listOf(toEnum(_this__u8e3s4, this));
|
|
@@ -333,7 +339,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
|
|
|
333
339
|
tmp = emptyList();
|
|
334
340
|
} else {
|
|
335
341
|
if (_this__u8e3s4 instanceof MapType) {
|
|
336
|
-
tmp = this.
|
|
342
|
+
tmp = this.s2c(_this__u8e3s4.y2b_1, name);
|
|
337
343
|
} else {
|
|
338
344
|
if (_this__u8e3s4 instanceof UnionType) {
|
|
339
345
|
tmp = listOf(toUnion(_this__u8e3s4, this, name));
|
|
@@ -348,9 +354,9 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
|
|
|
348
354
|
}
|
|
349
355
|
return tmp;
|
|
350
356
|
};
|
|
351
|
-
protoOf(AvroConverter).
|
|
357
|
+
protoOf(AvroConverter).t2c = function (_this__u8e3s4, name, $super) {
|
|
352
358
|
name = name === VOID ? '' : name;
|
|
353
|
-
return $super === VOID ? this.
|
|
359
|
+
return $super === VOID ? this.s2c(_this__u8e3s4, name) : $super.s2c.call(this, _this__u8e3s4, name);
|
|
354
360
|
};
|
|
355
361
|
var AvroConverter_instance;
|
|
356
362
|
function AvroConverter_getInstance() {
|
|
@@ -359,42 +365,48 @@ function AvroConverter_getInstance() {
|
|
|
359
365
|
return AvroConverter_instance;
|
|
360
366
|
}
|
|
361
367
|
function findType(_this__u8e3s4, $this, name) {
|
|
362
|
-
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
363
|
-
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
364
|
-
var destination = ArrayList_init_$Create$_0();
|
|
365
|
-
var _iterator__ex2g4s = _this__u8e3s4.g();
|
|
366
|
-
while (_iterator__ex2g4s.h()) {
|
|
367
|
-
var element = _iterator__ex2g4s.i();
|
|
368
|
-
if (!(element == null) ? isInterface(element, Definition) : false) {
|
|
369
|
-
destination.e(element);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
368
|
// Inline function 'kotlin.collections.find' call
|
|
373
|
-
var
|
|
369
|
+
var tmp0 = _this__u8e3s4.f27_1.yk();
|
|
370
|
+
var tmp$ret$1;
|
|
374
371
|
$l$block: {
|
|
375
372
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
376
|
-
var
|
|
377
|
-
while (
|
|
378
|
-
var
|
|
373
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
374
|
+
while (_iterator__ex2g4s.h()) {
|
|
375
|
+
var element = _iterator__ex2g4s.i();
|
|
379
376
|
// Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.findType.<anonymous>' call
|
|
380
|
-
if (
|
|
381
|
-
tmp$ret$
|
|
377
|
+
if (element.k2a().b1() === name) {
|
|
378
|
+
tmp$ret$1 = element;
|
|
382
379
|
break $l$block;
|
|
383
380
|
}
|
|
384
381
|
}
|
|
385
|
-
tmp$ret$
|
|
382
|
+
tmp$ret$1 = null;
|
|
386
383
|
}
|
|
387
|
-
return tmp$ret$
|
|
384
|
+
return tmp$ret$1;
|
|
388
385
|
}
|
|
389
386
|
function AvroEmitter() {
|
|
387
|
+
AvroEmitter_instance = this;
|
|
388
|
+
Emitter.call(this);
|
|
389
|
+
this.v2c_1 = FileExtension_JSON_getInstance();
|
|
390
|
+
this.w2c_1 = null;
|
|
390
391
|
}
|
|
391
|
-
protoOf(AvroEmitter).
|
|
392
|
-
return
|
|
392
|
+
protoOf(AvroEmitter).d26 = function () {
|
|
393
|
+
return this.v2c_1;
|
|
393
394
|
};
|
|
394
|
-
protoOf(AvroEmitter).
|
|
395
|
-
|
|
395
|
+
protoOf(AvroEmitter).e26 = function () {
|
|
396
|
+
return this.w2c_1;
|
|
397
|
+
};
|
|
398
|
+
protoOf(AvroEmitter).b27 = function (type, module_0) {
|
|
399
|
+
// Inline function 'kotlin.TODO' call
|
|
400
|
+
var reason = 'Not yet implemented';
|
|
401
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
402
|
+
};
|
|
403
|
+
protoOf(AvroEmitter).x2c = function (_this__u8e3s4) {
|
|
404
|
+
return new EnumType('enum', _this__u8e3s4.r26_1.b1(), VOID, toList(_this__u8e3s4.s26_1));
|
|
405
|
+
};
|
|
406
|
+
protoOf(AvroEmitter).y2c = function (_this__u8e3s4) {
|
|
407
|
+
var tmp = _this__u8e3s4.h26_1.b1();
|
|
396
408
|
// Inline function 'kotlin.collections.map' call
|
|
397
|
-
var this_0 = _this__u8e3s4.
|
|
409
|
+
var this_0 = _this__u8e3s4.i26_1;
|
|
398
410
|
// Inline function 'kotlin.collections.mapTo' call
|
|
399
411
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
400
412
|
var _iterator__ex2g4s = this_0.g();
|
|
@@ -406,23 +418,23 @@ protoOf(AvroEmitter).a2f = function (_this__u8e3s4) {
|
|
|
406
418
|
}
|
|
407
419
|
return new UnionType(tmp, TypeList_init_$Create$(destination));
|
|
408
420
|
};
|
|
409
|
-
protoOf(AvroEmitter).
|
|
421
|
+
protoOf(AvroEmitter).z2c = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
410
422
|
var tmp;
|
|
411
423
|
if (_this__u8e3s4 instanceof Dict) {
|
|
412
|
-
tmp = new MapType('map', this.
|
|
424
|
+
tmp = new MapType('map', this.z2c(_this__u8e3s4.h24_1, module_0, hasEmitted));
|
|
413
425
|
} else {
|
|
414
426
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
415
|
-
tmp = new ArrayType('array', this.
|
|
427
|
+
tmp = new ArrayType('array', this.z2c(_this__u8e3s4.x23_1, module_0, hasEmitted));
|
|
416
428
|
} else {
|
|
417
429
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
418
|
-
var type = _this__u8e3s4.
|
|
430
|
+
var type = _this__u8e3s4.k24_1;
|
|
419
431
|
var tmp_0;
|
|
420
432
|
if (type instanceof String_0) {
|
|
421
433
|
tmp_0 = new SimpleType('string');
|
|
422
434
|
} else {
|
|
423
435
|
if (type instanceof Integer) {
|
|
424
436
|
var tmp_1;
|
|
425
|
-
switch (type.
|
|
437
|
+
switch (type.p24_1.p2_1) {
|
|
426
438
|
case 0:
|
|
427
439
|
tmp_1 = new SimpleType('int');
|
|
428
440
|
break;
|
|
@@ -437,7 +449,7 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
|
|
|
437
449
|
} else {
|
|
438
450
|
if (type instanceof Number_0) {
|
|
439
451
|
var tmp_2;
|
|
440
|
-
switch (type.
|
|
452
|
+
switch (type.n24_1.p2_1) {
|
|
441
453
|
case 0:
|
|
442
454
|
tmp_2 = new SimpleType('float');
|
|
443
455
|
break;
|
|
@@ -465,25 +477,25 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
|
|
|
465
477
|
tmp = tmp_0;
|
|
466
478
|
} else {
|
|
467
479
|
if (_this__u8e3s4 instanceof Custom) {
|
|
468
|
-
var def = findType(
|
|
480
|
+
var def = findType(module_0, this, _this__u8e3s4.v23_1);
|
|
469
481
|
var tmp_3;
|
|
470
482
|
if (def instanceof Type) {
|
|
471
483
|
var tmp_4;
|
|
472
|
-
if (hasEmitted.o1(def.
|
|
484
|
+
if (hasEmitted.o1(def.k26_1.b1())) {
|
|
473
485
|
// Inline function 'kotlin.let' call
|
|
474
486
|
// Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.stub_for_inlining' call
|
|
475
|
-
var p0 = def.
|
|
487
|
+
var p0 = def.k26_1.b1();
|
|
476
488
|
tmp_4 = new SimpleType(p0);
|
|
477
489
|
} else {
|
|
478
490
|
// Inline function 'kotlin.also' call
|
|
479
491
|
// Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
|
|
480
|
-
hasEmitted.e(def.
|
|
481
|
-
tmp_4 = this.
|
|
492
|
+
hasEmitted.e(def.k26_1.b1());
|
|
493
|
+
tmp_4 = this.a2d(def, module_0, hasEmitted);
|
|
482
494
|
}
|
|
483
495
|
tmp_3 = tmp_4;
|
|
484
496
|
} else {
|
|
485
497
|
if (def instanceof Enum) {
|
|
486
|
-
tmp_3 = new SimpleType(def.
|
|
498
|
+
tmp_3 = new SimpleType(def.r26_1.b1());
|
|
487
499
|
} else {
|
|
488
500
|
if (def instanceof Refined) {
|
|
489
501
|
tmp_3 = new SimpleType('string');
|
|
@@ -509,69 +521,60 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
|
|
|
509
521
|
}
|
|
510
522
|
return tmp;
|
|
511
523
|
};
|
|
512
|
-
protoOf(AvroEmitter).
|
|
513
|
-
var ref = _this__u8e3s4.
|
|
524
|
+
protoOf(AvroEmitter).b2d = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
525
|
+
var ref = _this__u8e3s4.o25_1;
|
|
514
526
|
var tmp;
|
|
515
527
|
if (ref instanceof Iterable) {
|
|
516
|
-
tmp = new ArrayType('array', this.
|
|
528
|
+
tmp = new ArrayType('array', this.z2c(ref.x23_1, module_0, hasEmitted));
|
|
517
529
|
} else {
|
|
518
|
-
tmp = this.
|
|
530
|
+
tmp = this.z2c(ref, module_0, hasEmitted);
|
|
519
531
|
}
|
|
520
532
|
return tmp;
|
|
521
533
|
};
|
|
522
|
-
protoOf(AvroEmitter).
|
|
523
|
-
var tmp0_name = _this__u8e3s4.
|
|
534
|
+
protoOf(AvroEmitter).a2d = function (_this__u8e3s4, module_0, hasEmitted) {
|
|
535
|
+
var tmp0_name = _this__u8e3s4.k26_1.b1();
|
|
524
536
|
// Inline function 'kotlin.collections.map' call
|
|
525
|
-
var this_0 = _this__u8e3s4.
|
|
537
|
+
var this_0 = _this__u8e3s4.l26_1.g27_1;
|
|
526
538
|
// Inline function 'kotlin.collections.mapTo' call
|
|
527
539
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
528
540
|
var _iterator__ex2g4s = this_0.g();
|
|
529
541
|
while (_iterator__ex2g4s.h()) {
|
|
530
542
|
var item = _iterator__ex2g4s.i();
|
|
531
543
|
// Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
|
|
532
|
-
var tmp = item.
|
|
544
|
+
var tmp = item.n25_1.b1();
|
|
533
545
|
var tmp_0;
|
|
534
|
-
if (item.
|
|
535
|
-
tmp_0 = new TypeList([new SimpleType('null'),
|
|
546
|
+
if (item.o25_1.sm()) {
|
|
547
|
+
tmp_0 = new TypeList([new SimpleType('null'), AvroEmitter_getInstance().b2d(item, module_0, hasEmitted)]);
|
|
536
548
|
} else {
|
|
537
|
-
tmp_0 = new TypeList([
|
|
549
|
+
tmp_0 = new TypeList([AvroEmitter_getInstance().b2d(item, module_0, hasEmitted)]);
|
|
538
550
|
}
|
|
539
551
|
var tmp$ret$0 = new Field_0(tmp, tmp_0);
|
|
540
552
|
destination.e(tmp$ret$0);
|
|
541
553
|
}
|
|
542
554
|
return new RecordType('record', tmp0_name, VOID, destination);
|
|
543
555
|
};
|
|
544
|
-
protoOf(AvroEmitter).
|
|
556
|
+
protoOf(AvroEmitter).c2d = function (module_0) {
|
|
545
557
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
546
558
|
var hasEmitted = ArrayList_init_$Create$_0();
|
|
547
|
-
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
548
|
-
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
549
|
-
var destination = ArrayList_init_$Create$_0();
|
|
550
|
-
var _iterator__ex2g4s = ast.g();
|
|
551
|
-
while (_iterator__ex2g4s.h()) {
|
|
552
|
-
var element = _iterator__ex2g4s.i();
|
|
553
|
-
if (!(element == null) ? isInterface(element, Definition) : false) {
|
|
554
|
-
destination.e(element);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
559
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
560
|
+
var tmp0 = module_0.f27_1.yk();
|
|
558
561
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
559
|
-
var
|
|
562
|
+
var destination = ArrayList_init_$Create$_0();
|
|
560
563
|
// Inline function 'kotlin.collections.forEach' call
|
|
561
|
-
var
|
|
562
|
-
while (
|
|
563
|
-
var
|
|
564
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
565
|
+
while (_iterator__ex2g4s.h()) {
|
|
566
|
+
var element = _iterator__ex2g4s.i();
|
|
564
567
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
565
568
|
// Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
|
|
566
569
|
var tmp;
|
|
567
|
-
if (
|
|
568
|
-
tmp =
|
|
570
|
+
if (element instanceof Type) {
|
|
571
|
+
tmp = AvroEmitter_getInstance().a2d(element, module_0, hasEmitted);
|
|
569
572
|
} else {
|
|
570
|
-
if (
|
|
571
|
-
tmp =
|
|
573
|
+
if (element instanceof Enum) {
|
|
574
|
+
tmp = AvroEmitter_getInstance().x2c(element);
|
|
572
575
|
} else {
|
|
573
|
-
if (
|
|
574
|
-
tmp =
|
|
576
|
+
if (element instanceof Union) {
|
|
577
|
+
tmp = AvroEmitter_getInstance().y2c(element);
|
|
575
578
|
} else {
|
|
576
579
|
tmp = null;
|
|
577
580
|
}
|
|
@@ -583,13 +586,44 @@ protoOf(AvroEmitter).e2f = function (ast) {
|
|
|
583
586
|
else {
|
|
584
587
|
// Inline function 'kotlin.let' call
|
|
585
588
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
586
|
-
|
|
589
|
+
destination.e(tmp0_safe_receiver);
|
|
587
590
|
}
|
|
588
591
|
}
|
|
589
|
-
return
|
|
592
|
+
return destination;
|
|
593
|
+
};
|
|
594
|
+
protoOf(AvroEmitter).l27 = function (enum_0, module_0) {
|
|
595
|
+
// Inline function 'kotlin.TODO' call
|
|
596
|
+
var reason = 'Not yet implemented';
|
|
597
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
598
|
+
};
|
|
599
|
+
protoOf(AvroEmitter).h27 = function (refined) {
|
|
600
|
+
// Inline function 'kotlin.TODO' call
|
|
601
|
+
var reason = 'Not yet implemented';
|
|
602
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
603
|
+
};
|
|
604
|
+
protoOf(AvroEmitter).p27 = function (endpoint) {
|
|
605
|
+
// Inline function 'kotlin.TODO' call
|
|
606
|
+
var reason = 'Not yet implemented';
|
|
607
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
608
|
+
};
|
|
609
|
+
protoOf(AvroEmitter).n27 = function (union) {
|
|
610
|
+
// Inline function 'kotlin.TODO' call
|
|
611
|
+
var reason = 'Not yet implemented';
|
|
612
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
613
|
+
};
|
|
614
|
+
protoOf(AvroEmitter).o27 = function (channel) {
|
|
615
|
+
// Inline function 'kotlin.TODO' call
|
|
616
|
+
var reason = 'Not yet implemented';
|
|
617
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
618
|
+
};
|
|
619
|
+
protoOf(AvroEmitter).w26 = function () {
|
|
620
|
+
var reason = 'Not yet implemented';
|
|
621
|
+
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
590
622
|
};
|
|
591
623
|
var AvroEmitter_instance;
|
|
592
624
|
function AvroEmitter_getInstance() {
|
|
625
|
+
if (AvroEmitter_instance == null)
|
|
626
|
+
new AvroEmitter();
|
|
593
627
|
return AvroEmitter_instance;
|
|
594
628
|
}
|
|
595
629
|
function Companion() {
|
|
@@ -605,26 +639,26 @@ function $serializer() {
|
|
|
605
639
|
tmp0_serialDesc.dw('type', false);
|
|
606
640
|
tmp0_serialDesc.dw('doc', true);
|
|
607
641
|
tmp0_serialDesc.dw('default', true);
|
|
608
|
-
this.
|
|
642
|
+
this.d2d_1 = tmp0_serialDesc;
|
|
609
643
|
}
|
|
610
|
-
protoOf($serializer).
|
|
611
|
-
var tmp0_desc = this.
|
|
644
|
+
protoOf($serializer).e2d = function (encoder, value) {
|
|
645
|
+
var tmp0_desc = this.d2d_1;
|
|
612
646
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
613
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
614
|
-
tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.
|
|
615
|
-
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.
|
|
616
|
-
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
647
|
+
tmp1_output.iq(tmp0_desc, 0, value.o2c_1);
|
|
648
|
+
tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.p2c_1);
|
|
649
|
+
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.q2c_1 == null)) {
|
|
650
|
+
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.q2c_1);
|
|
617
651
|
}
|
|
618
|
-
if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.
|
|
619
|
-
tmp1_output.mq(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
652
|
+
if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.r2c_1 == null)) {
|
|
653
|
+
tmp1_output.mq(tmp0_desc, 3, StringSerializer_getInstance(), value.r2c_1);
|
|
620
654
|
}
|
|
621
655
|
tmp1_output.uo(tmp0_desc);
|
|
622
656
|
};
|
|
623
657
|
protoOf($serializer).tl = function (encoder, value) {
|
|
624
|
-
return this.
|
|
658
|
+
return this.e2d(encoder, value instanceof Field_0 ? value : THROW_CCE());
|
|
625
659
|
};
|
|
626
660
|
protoOf($serializer).ul = function (decoder) {
|
|
627
|
-
var tmp0_desc = this.
|
|
661
|
+
var tmp0_desc = this.d2d_1;
|
|
628
662
|
var tmp1_flag = true;
|
|
629
663
|
var tmp2_index = 0;
|
|
630
664
|
var tmp3_bitMask0 = 0;
|
|
@@ -673,7 +707,7 @@ protoOf($serializer).ul = function (decoder) {
|
|
|
673
707
|
return Field_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
674
708
|
};
|
|
675
709
|
protoOf($serializer).sl = function () {
|
|
676
|
-
return this.
|
|
710
|
+
return this.d2d_1;
|
|
677
711
|
};
|
|
678
712
|
protoOf($serializer).ww = function () {
|
|
679
713
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -689,18 +723,18 @@ function $serializer_getInstance() {
|
|
|
689
723
|
}
|
|
690
724
|
function Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, $this) {
|
|
691
725
|
if (!(3 === (3 & seen0))) {
|
|
692
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
726
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().d2d_1);
|
|
693
727
|
}
|
|
694
|
-
$this.
|
|
695
|
-
$this.
|
|
728
|
+
$this.o2c_1 = name;
|
|
729
|
+
$this.p2c_1 = type;
|
|
696
730
|
if (0 === (seen0 & 4))
|
|
697
|
-
$this.
|
|
731
|
+
$this.q2c_1 = null;
|
|
698
732
|
else
|
|
699
|
-
$this.
|
|
733
|
+
$this.q2c_1 = doc;
|
|
700
734
|
if (0 === (seen0 & 8))
|
|
701
|
-
$this.
|
|
735
|
+
$this.r2c_1 = null;
|
|
702
736
|
else
|
|
703
|
-
$this.
|
|
737
|
+
$this.r2c_1 = default_0;
|
|
704
738
|
return $this;
|
|
705
739
|
}
|
|
706
740
|
function Field_init_$Create$(seen0, name, type, doc, default_0, serializationConstructorMarker) {
|
|
@@ -743,19 +777,19 @@ function $serializer_0() {
|
|
|
743
777
|
$serializer_instance_0 = this;
|
|
744
778
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
|
|
745
779
|
tmp0_serialDesc.dw('value', false);
|
|
746
|
-
this.
|
|
780
|
+
this.f2d_1 = tmp0_serialDesc;
|
|
747
781
|
}
|
|
748
|
-
protoOf($serializer_0).
|
|
749
|
-
var tmp0_desc = this.
|
|
782
|
+
protoOf($serializer_0).g2d = function (encoder, value) {
|
|
783
|
+
var tmp0_desc = this.f2d_1;
|
|
750
784
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
751
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
785
|
+
tmp1_output.iq(tmp0_desc, 0, value.u2b_1);
|
|
752
786
|
tmp1_output.uo(tmp0_desc);
|
|
753
787
|
};
|
|
754
788
|
protoOf($serializer_0).tl = function (encoder, value) {
|
|
755
|
-
return this.
|
|
789
|
+
return this.g2d(encoder, value instanceof SimpleType ? value : THROW_CCE());
|
|
756
790
|
};
|
|
757
791
|
protoOf($serializer_0).ul = function (decoder) {
|
|
758
|
-
var tmp0_desc = this.
|
|
792
|
+
var tmp0_desc = this.f2d_1;
|
|
759
793
|
var tmp1_flag = true;
|
|
760
794
|
var tmp2_index = 0;
|
|
761
795
|
var tmp3_bitMask0 = 0;
|
|
@@ -783,7 +817,7 @@ protoOf($serializer_0).ul = function (decoder) {
|
|
|
783
817
|
return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
784
818
|
};
|
|
785
819
|
protoOf($serializer_0).sl = function () {
|
|
786
|
-
return this.
|
|
820
|
+
return this.f2d_1;
|
|
787
821
|
};
|
|
788
822
|
protoOf($serializer_0).ww = function () {
|
|
789
823
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -799,9 +833,9 @@ function $serializer_getInstance_0() {
|
|
|
799
833
|
}
|
|
800
834
|
function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
|
|
801
835
|
if (!(1 === (1 & seen0))) {
|
|
802
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
836
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().f2d_1);
|
|
803
837
|
}
|
|
804
|
-
$this.
|
|
838
|
+
$this.u2b_1 = value;
|
|
805
839
|
return $this;
|
|
806
840
|
}
|
|
807
841
|
function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
|
|
@@ -813,7 +847,7 @@ function Companion_3() {
|
|
|
813
847
|
// Inline function 'kotlin.arrayOf' call
|
|
814
848
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
815
849
|
// Inline function 'kotlin.js.asDynamic' call
|
|
816
|
-
tmp.
|
|
850
|
+
tmp.h2d_1 = [null, null, null, new ArrayListSerializer($serializer_getInstance()), null];
|
|
817
851
|
}
|
|
818
852
|
protoOf(Companion_3).g18 = function () {
|
|
819
853
|
return $serializer_getInstance_1();
|
|
@@ -832,28 +866,28 @@ function $serializer_1() {
|
|
|
832
866
|
tmp0_serialDesc.dw('namespace', true);
|
|
833
867
|
tmp0_serialDesc.dw('fields', false);
|
|
834
868
|
tmp0_serialDesc.dw('doc', true);
|
|
835
|
-
this.
|
|
869
|
+
this.i2d_1 = tmp0_serialDesc;
|
|
836
870
|
}
|
|
837
|
-
protoOf($serializer_1).
|
|
838
|
-
var tmp0_desc = this.
|
|
871
|
+
protoOf($serializer_1).j2d = function (encoder, value) {
|
|
872
|
+
var tmp0_desc = this.i2d_1;
|
|
839
873
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
840
|
-
var tmp2_cached = Companion_getInstance_3().
|
|
841
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
842
|
-
tmp1_output.iq(tmp0_desc, 1, value.
|
|
843
|
-
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.
|
|
844
|
-
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
874
|
+
var tmp2_cached = Companion_getInstance_3().h2d_1;
|
|
875
|
+
tmp1_output.iq(tmp0_desc, 0, value.h2c_1);
|
|
876
|
+
tmp1_output.iq(tmp0_desc, 1, value.i2c_1);
|
|
877
|
+
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.j2c_1 == null)) {
|
|
878
|
+
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.j2c_1);
|
|
845
879
|
}
|
|
846
|
-
tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.
|
|
847
|
-
if (tmp1_output.qq(tmp0_desc, 4) ? true : !(value.
|
|
848
|
-
tmp1_output.mq(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
880
|
+
tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.k2c_1);
|
|
881
|
+
if (tmp1_output.qq(tmp0_desc, 4) ? true : !(value.l2c_1 == null)) {
|
|
882
|
+
tmp1_output.mq(tmp0_desc, 4, StringSerializer_getInstance(), value.l2c_1);
|
|
849
883
|
}
|
|
850
884
|
tmp1_output.uo(tmp0_desc);
|
|
851
885
|
};
|
|
852
886
|
protoOf($serializer_1).tl = function (encoder, value) {
|
|
853
|
-
return this.
|
|
887
|
+
return this.j2d(encoder, value instanceof RecordType ? value : THROW_CCE());
|
|
854
888
|
};
|
|
855
889
|
protoOf($serializer_1).ul = function (decoder) {
|
|
856
|
-
var tmp0_desc = this.
|
|
890
|
+
var tmp0_desc = this.i2d_1;
|
|
857
891
|
var tmp1_flag = true;
|
|
858
892
|
var tmp2_index = 0;
|
|
859
893
|
var tmp3_bitMask0 = 0;
|
|
@@ -863,7 +897,7 @@ protoOf($serializer_1).ul = function (decoder) {
|
|
|
863
897
|
var tmp7_local3 = null;
|
|
864
898
|
var tmp8_local4 = null;
|
|
865
899
|
var tmp9_input = decoder.to(tmp0_desc);
|
|
866
|
-
var tmp10_cached = Companion_getInstance_3().
|
|
900
|
+
var tmp10_cached = Companion_getInstance_3().h2d_1;
|
|
867
901
|
if (tmp9_input.jp()) {
|
|
868
902
|
tmp4_local0 = tmp9_input.dp(tmp0_desc, 0);
|
|
869
903
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -910,10 +944,10 @@ protoOf($serializer_1).ul = function (decoder) {
|
|
|
910
944
|
return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
911
945
|
};
|
|
912
946
|
protoOf($serializer_1).sl = function () {
|
|
913
|
-
return this.
|
|
947
|
+
return this.i2d_1;
|
|
914
948
|
};
|
|
915
949
|
protoOf($serializer_1).ww = function () {
|
|
916
|
-
var tmp0_cached = Companion_getInstance_3().
|
|
950
|
+
var tmp0_cached = Companion_getInstance_3().h2d_1;
|
|
917
951
|
// Inline function 'kotlin.arrayOf' call
|
|
918
952
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
919
953
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -927,19 +961,19 @@ function $serializer_getInstance_1() {
|
|
|
927
961
|
}
|
|
928
962
|
function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
|
|
929
963
|
if (!(11 === (11 & seen0))) {
|
|
930
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_1().
|
|
964
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_1().i2d_1);
|
|
931
965
|
}
|
|
932
|
-
$this.
|
|
933
|
-
$this.
|
|
966
|
+
$this.h2c_1 = type;
|
|
967
|
+
$this.i2c_1 = name;
|
|
934
968
|
if (0 === (seen0 & 4))
|
|
935
|
-
$this.
|
|
969
|
+
$this.j2c_1 = null;
|
|
936
970
|
else
|
|
937
|
-
$this.
|
|
938
|
-
$this.
|
|
971
|
+
$this.j2c_1 = namespace;
|
|
972
|
+
$this.k2c_1 = fields;
|
|
939
973
|
if (0 === (seen0 & 16))
|
|
940
|
-
$this.
|
|
974
|
+
$this.l2c_1 = null;
|
|
941
975
|
else
|
|
942
|
-
$this.
|
|
976
|
+
$this.l2c_1 = doc;
|
|
943
977
|
return $this;
|
|
944
978
|
}
|
|
945
979
|
function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
|
|
@@ -959,20 +993,20 @@ function $serializer_2() {
|
|
|
959
993
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
|
|
960
994
|
tmp0_serialDesc.dw('type', false);
|
|
961
995
|
tmp0_serialDesc.dw('items', false);
|
|
962
|
-
this.
|
|
996
|
+
this.k2d_1 = tmp0_serialDesc;
|
|
963
997
|
}
|
|
964
|
-
protoOf($serializer_2).
|
|
965
|
-
var tmp0_desc = this.
|
|
998
|
+
protoOf($serializer_2).l2d = function (encoder, value) {
|
|
999
|
+
var tmp0_desc = this.k2d_1;
|
|
966
1000
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
967
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
968
|
-
tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.
|
|
1001
|
+
tmp1_output.iq(tmp0_desc, 0, value.m2c_1);
|
|
1002
|
+
tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.n2c_1);
|
|
969
1003
|
tmp1_output.uo(tmp0_desc);
|
|
970
1004
|
};
|
|
971
1005
|
protoOf($serializer_2).tl = function (encoder, value) {
|
|
972
|
-
return this.
|
|
1006
|
+
return this.l2d(encoder, value instanceof ArrayType ? value : THROW_CCE());
|
|
973
1007
|
};
|
|
974
1008
|
protoOf($serializer_2).ul = function (decoder) {
|
|
975
|
-
var tmp0_desc = this.
|
|
1009
|
+
var tmp0_desc = this.k2d_1;
|
|
976
1010
|
var tmp1_flag = true;
|
|
977
1011
|
var tmp2_index = 0;
|
|
978
1012
|
var tmp3_bitMask0 = 0;
|
|
@@ -1007,7 +1041,7 @@ protoOf($serializer_2).ul = function (decoder) {
|
|
|
1007
1041
|
return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1008
1042
|
};
|
|
1009
1043
|
protoOf($serializer_2).sl = function () {
|
|
1010
|
-
return this.
|
|
1044
|
+
return this.k2d_1;
|
|
1011
1045
|
};
|
|
1012
1046
|
protoOf($serializer_2).ww = function () {
|
|
1013
1047
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1023,10 +1057,10 @@ function $serializer_getInstance_2() {
|
|
|
1023
1057
|
}
|
|
1024
1058
|
function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
|
|
1025
1059
|
if (!(3 === (3 & seen0))) {
|
|
1026
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1060
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().k2d_1);
|
|
1027
1061
|
}
|
|
1028
|
-
$this.
|
|
1029
|
-
$this.
|
|
1062
|
+
$this.m2c_1 = type;
|
|
1063
|
+
$this.n2c_1 = items;
|
|
1030
1064
|
return $this;
|
|
1031
1065
|
}
|
|
1032
1066
|
function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
|
|
@@ -1046,20 +1080,20 @@ function $serializer_3() {
|
|
|
1046
1080
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.MapType', this, 2);
|
|
1047
1081
|
tmp0_serialDesc.dw('type', false);
|
|
1048
1082
|
tmp0_serialDesc.dw('values', false);
|
|
1049
|
-
this.
|
|
1083
|
+
this.m2d_1 = tmp0_serialDesc;
|
|
1050
1084
|
}
|
|
1051
|
-
protoOf($serializer_3).
|
|
1052
|
-
var tmp0_desc = this.
|
|
1085
|
+
protoOf($serializer_3).n2d = function (encoder, value) {
|
|
1086
|
+
var tmp0_desc = this.m2d_1;
|
|
1053
1087
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
1054
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
1055
|
-
tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.
|
|
1088
|
+
tmp1_output.iq(tmp0_desc, 0, value.x2b_1);
|
|
1089
|
+
tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.y2b_1);
|
|
1056
1090
|
tmp1_output.uo(tmp0_desc);
|
|
1057
1091
|
};
|
|
1058
1092
|
protoOf($serializer_3).tl = function (encoder, value) {
|
|
1059
|
-
return this.
|
|
1093
|
+
return this.n2d(encoder, value instanceof MapType ? value : THROW_CCE());
|
|
1060
1094
|
};
|
|
1061
1095
|
protoOf($serializer_3).ul = function (decoder) {
|
|
1062
|
-
var tmp0_desc = this.
|
|
1096
|
+
var tmp0_desc = this.m2d_1;
|
|
1063
1097
|
var tmp1_flag = true;
|
|
1064
1098
|
var tmp2_index = 0;
|
|
1065
1099
|
var tmp3_bitMask0 = 0;
|
|
@@ -1094,7 +1128,7 @@ protoOf($serializer_3).ul = function (decoder) {
|
|
|
1094
1128
|
return MapType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1095
1129
|
};
|
|
1096
1130
|
protoOf($serializer_3).sl = function () {
|
|
1097
|
-
return this.
|
|
1131
|
+
return this.m2d_1;
|
|
1098
1132
|
};
|
|
1099
1133
|
protoOf($serializer_3).ww = function () {
|
|
1100
1134
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1110,10 +1144,10 @@ function $serializer_getInstance_3() {
|
|
|
1110
1144
|
}
|
|
1111
1145
|
function MapType_init_$Init$(seen0, type, values, serializationConstructorMarker, $this) {
|
|
1112
1146
|
if (!(3 === (3 & seen0))) {
|
|
1113
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().
|
|
1147
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().m2d_1);
|
|
1114
1148
|
}
|
|
1115
|
-
$this.
|
|
1116
|
-
$this.
|
|
1149
|
+
$this.x2b_1 = type;
|
|
1150
|
+
$this.y2b_1 = values;
|
|
1117
1151
|
return $this;
|
|
1118
1152
|
}
|
|
1119
1153
|
function MapType_init_$Create$(seen0, type, values, serializationConstructorMarker) {
|
|
@@ -1125,7 +1159,7 @@ function Companion_6() {
|
|
|
1125
1159
|
// Inline function 'kotlin.arrayOf' call
|
|
1126
1160
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1127
1161
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1128
|
-
tmp.
|
|
1162
|
+
tmp.o2d_1 = [null, null, null, new ArrayListSerializer(StringSerializer_getInstance())];
|
|
1129
1163
|
}
|
|
1130
1164
|
protoOf(Companion_6).g18 = function () {
|
|
1131
1165
|
return $serializer_getInstance_4();
|
|
@@ -1143,25 +1177,25 @@ function $serializer_4() {
|
|
|
1143
1177
|
tmp0_serialDesc.dw('name', false);
|
|
1144
1178
|
tmp0_serialDesc.dw('doc', true);
|
|
1145
1179
|
tmp0_serialDesc.dw('symbols', false);
|
|
1146
|
-
this.
|
|
1180
|
+
this.p2d_1 = tmp0_serialDesc;
|
|
1147
1181
|
}
|
|
1148
|
-
protoOf($serializer_4).
|
|
1149
|
-
var tmp0_desc = this.
|
|
1182
|
+
protoOf($serializer_4).q2d = function (encoder, value) {
|
|
1183
|
+
var tmp0_desc = this.p2d_1;
|
|
1150
1184
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
1151
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
1152
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
1153
|
-
tmp1_output.iq(tmp0_desc, 1, value.
|
|
1154
|
-
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.
|
|
1155
|
-
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
1185
|
+
var tmp2_cached = Companion_getInstance_6().o2d_1;
|
|
1186
|
+
tmp1_output.iq(tmp0_desc, 0, value.d2c_1);
|
|
1187
|
+
tmp1_output.iq(tmp0_desc, 1, value.e2c_1);
|
|
1188
|
+
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.f2c_1 == null)) {
|
|
1189
|
+
tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.f2c_1);
|
|
1156
1190
|
}
|
|
1157
|
-
tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.
|
|
1191
|
+
tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.g2c_1);
|
|
1158
1192
|
tmp1_output.uo(tmp0_desc);
|
|
1159
1193
|
};
|
|
1160
1194
|
protoOf($serializer_4).tl = function (encoder, value) {
|
|
1161
|
-
return this.
|
|
1195
|
+
return this.q2d(encoder, value instanceof EnumType ? value : THROW_CCE());
|
|
1162
1196
|
};
|
|
1163
1197
|
protoOf($serializer_4).ul = function (decoder) {
|
|
1164
|
-
var tmp0_desc = this.
|
|
1198
|
+
var tmp0_desc = this.p2d_1;
|
|
1165
1199
|
var tmp1_flag = true;
|
|
1166
1200
|
var tmp2_index = 0;
|
|
1167
1201
|
var tmp3_bitMask0 = 0;
|
|
@@ -1170,7 +1204,7 @@ protoOf($serializer_4).ul = function (decoder) {
|
|
|
1170
1204
|
var tmp6_local2 = null;
|
|
1171
1205
|
var tmp7_local3 = null;
|
|
1172
1206
|
var tmp8_input = decoder.to(tmp0_desc);
|
|
1173
|
-
var tmp9_cached = Companion_getInstance_6().
|
|
1207
|
+
var tmp9_cached = Companion_getInstance_6().o2d_1;
|
|
1174
1208
|
if (tmp8_input.jp()) {
|
|
1175
1209
|
tmp4_local0 = tmp8_input.dp(tmp0_desc, 0);
|
|
1176
1210
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1211,10 +1245,10 @@ protoOf($serializer_4).ul = function (decoder) {
|
|
|
1211
1245
|
return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1212
1246
|
};
|
|
1213
1247
|
protoOf($serializer_4).sl = function () {
|
|
1214
|
-
return this.
|
|
1248
|
+
return this.p2d_1;
|
|
1215
1249
|
};
|
|
1216
1250
|
protoOf($serializer_4).ww = function () {
|
|
1217
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1251
|
+
var tmp0_cached = Companion_getInstance_6().o2d_1;
|
|
1218
1252
|
// Inline function 'kotlin.arrayOf' call
|
|
1219
1253
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1220
1254
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1228,15 +1262,15 @@ function $serializer_getInstance_4() {
|
|
|
1228
1262
|
}
|
|
1229
1263
|
function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
|
|
1230
1264
|
if (!(11 === (11 & seen0))) {
|
|
1231
|
-
throwMissingFieldException(seen0, 11, $serializer_getInstance_4().
|
|
1265
|
+
throwMissingFieldException(seen0, 11, $serializer_getInstance_4().p2d_1);
|
|
1232
1266
|
}
|
|
1233
|
-
$this.
|
|
1234
|
-
$this.
|
|
1267
|
+
$this.d2c_1 = type;
|
|
1268
|
+
$this.e2c_1 = name;
|
|
1235
1269
|
if (0 === (seen0 & 4))
|
|
1236
|
-
$this.
|
|
1270
|
+
$this.f2c_1 = null;
|
|
1237
1271
|
else
|
|
1238
|
-
$this.
|
|
1239
|
-
$this.
|
|
1272
|
+
$this.f2c_1 = doc;
|
|
1273
|
+
$this.g2c_1 = symbols;
|
|
1240
1274
|
return $this;
|
|
1241
1275
|
}
|
|
1242
1276
|
function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
|
|
@@ -1256,20 +1290,20 @@ function $serializer_5() {
|
|
|
1256
1290
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.UnionType', this, 2);
|
|
1257
1291
|
tmp0_serialDesc.dw('name', false);
|
|
1258
1292
|
tmp0_serialDesc.dw('type', false);
|
|
1259
|
-
this.
|
|
1293
|
+
this.r2d_1 = tmp0_serialDesc;
|
|
1260
1294
|
}
|
|
1261
|
-
protoOf($serializer_5).
|
|
1262
|
-
var tmp0_desc = this.
|
|
1295
|
+
protoOf($serializer_5).s2d = function (encoder, value) {
|
|
1296
|
+
var tmp0_desc = this.r2d_1;
|
|
1263
1297
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
1264
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
1265
|
-
tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.
|
|
1298
|
+
tmp1_output.iq(tmp0_desc, 0, value.v2b_1);
|
|
1299
|
+
tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.w2b_1);
|
|
1266
1300
|
tmp1_output.uo(tmp0_desc);
|
|
1267
1301
|
};
|
|
1268
1302
|
protoOf($serializer_5).tl = function (encoder, value) {
|
|
1269
|
-
return this.
|
|
1303
|
+
return this.s2d(encoder, value instanceof UnionType ? value : THROW_CCE());
|
|
1270
1304
|
};
|
|
1271
1305
|
protoOf($serializer_5).ul = function (decoder) {
|
|
1272
|
-
var tmp0_desc = this.
|
|
1306
|
+
var tmp0_desc = this.r2d_1;
|
|
1273
1307
|
var tmp1_flag = true;
|
|
1274
1308
|
var tmp2_index = 0;
|
|
1275
1309
|
var tmp3_bitMask0 = 0;
|
|
@@ -1304,7 +1338,7 @@ protoOf($serializer_5).ul = function (decoder) {
|
|
|
1304
1338
|
return UnionType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1305
1339
|
};
|
|
1306
1340
|
protoOf($serializer_5).sl = function () {
|
|
1307
|
-
return this.
|
|
1341
|
+
return this.r2d_1;
|
|
1308
1342
|
};
|
|
1309
1343
|
protoOf($serializer_5).ww = function () {
|
|
1310
1344
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1320,10 +1354,10 @@ function $serializer_getInstance_5() {
|
|
|
1320
1354
|
}
|
|
1321
1355
|
function UnionType_init_$Init$(seen0, name, type, serializationConstructorMarker, $this) {
|
|
1322
1356
|
if (!(3 === (3 & seen0))) {
|
|
1323
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
1357
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().r2d_1);
|
|
1324
1358
|
}
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1359
|
+
$this.v2b_1 = name;
|
|
1360
|
+
$this.w2b_1 = type;
|
|
1327
1361
|
return $this;
|
|
1328
1362
|
}
|
|
1329
1363
|
function UnionType_init_$Create$(seen0, name, type, serializationConstructorMarker) {
|
|
@@ -1345,26 +1379,26 @@ function $serializer_6() {
|
|
|
1345
1379
|
tmp0_serialDesc.dw('logicalType', false);
|
|
1346
1380
|
tmp0_serialDesc.dw('precision', true);
|
|
1347
1381
|
tmp0_serialDesc.dw('scale', true);
|
|
1348
|
-
this.
|
|
1382
|
+
this.t2d_1 = tmp0_serialDesc;
|
|
1349
1383
|
}
|
|
1350
|
-
protoOf($serializer_6).
|
|
1351
|
-
var tmp0_desc = this.
|
|
1384
|
+
protoOf($serializer_6).u2d = function (encoder, value) {
|
|
1385
|
+
var tmp0_desc = this.t2d_1;
|
|
1352
1386
|
var tmp1_output = encoder.to(tmp0_desc);
|
|
1353
|
-
tmp1_output.iq(tmp0_desc, 0, value.
|
|
1354
|
-
tmp1_output.iq(tmp0_desc, 1, value.
|
|
1355
|
-
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.
|
|
1356
|
-
tmp1_output.mq(tmp0_desc, 2, IntSerializer_getInstance(), value.
|
|
1387
|
+
tmp1_output.iq(tmp0_desc, 0, value.z2b_1);
|
|
1388
|
+
tmp1_output.iq(tmp0_desc, 1, value.a2c_1);
|
|
1389
|
+
if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.b2c_1 == null)) {
|
|
1390
|
+
tmp1_output.mq(tmp0_desc, 2, IntSerializer_getInstance(), value.b2c_1);
|
|
1357
1391
|
}
|
|
1358
|
-
if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.
|
|
1359
|
-
tmp1_output.mq(tmp0_desc, 3, IntSerializer_getInstance(), value.
|
|
1392
|
+
if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.c2c_1 == null)) {
|
|
1393
|
+
tmp1_output.mq(tmp0_desc, 3, IntSerializer_getInstance(), value.c2c_1);
|
|
1360
1394
|
}
|
|
1361
1395
|
tmp1_output.uo(tmp0_desc);
|
|
1362
1396
|
};
|
|
1363
1397
|
protoOf($serializer_6).tl = function (encoder, value) {
|
|
1364
|
-
return this.
|
|
1398
|
+
return this.u2d(encoder, value instanceof LogicalType ? value : THROW_CCE());
|
|
1365
1399
|
};
|
|
1366
1400
|
protoOf($serializer_6).ul = function (decoder) {
|
|
1367
|
-
var tmp0_desc = this.
|
|
1401
|
+
var tmp0_desc = this.t2d_1;
|
|
1368
1402
|
var tmp1_flag = true;
|
|
1369
1403
|
var tmp2_index = 0;
|
|
1370
1404
|
var tmp3_bitMask0 = 0;
|
|
@@ -1413,7 +1447,7 @@ protoOf($serializer_6).ul = function (decoder) {
|
|
|
1413
1447
|
return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
1414
1448
|
};
|
|
1415
1449
|
protoOf($serializer_6).sl = function () {
|
|
1416
|
-
return this.
|
|
1450
|
+
return this.t2d_1;
|
|
1417
1451
|
};
|
|
1418
1452
|
protoOf($serializer_6).ww = function () {
|
|
1419
1453
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1429,18 +1463,18 @@ function $serializer_getInstance_6() {
|
|
|
1429
1463
|
}
|
|
1430
1464
|
function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
|
|
1431
1465
|
if (!(3 === (3 & seen0))) {
|
|
1432
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_6().
|
|
1466
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_6().t2d_1);
|
|
1433
1467
|
}
|
|
1434
|
-
$this.
|
|
1435
|
-
$this.
|
|
1468
|
+
$this.z2b_1 = type;
|
|
1469
|
+
$this.a2c_1 = logicalType;
|
|
1436
1470
|
if (0 === (seen0 & 4))
|
|
1437
|
-
$this.
|
|
1471
|
+
$this.b2c_1 = null;
|
|
1438
1472
|
else
|
|
1439
|
-
$this.
|
|
1473
|
+
$this.b2c_1 = precision;
|
|
1440
1474
|
if (0 === (seen0 & 8))
|
|
1441
|
-
$this.
|
|
1475
|
+
$this.c2c_1 = null;
|
|
1442
1476
|
else
|
|
1443
|
-
$this.
|
|
1477
|
+
$this.c2c_1 = scale;
|
|
1444
1478
|
return $this;
|
|
1445
1479
|
}
|
|
1446
1480
|
function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
|
|
@@ -1449,19 +1483,19 @@ function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, s
|
|
|
1449
1483
|
function Field_0(name, type, doc, default_0) {
|
|
1450
1484
|
doc = doc === VOID ? null : doc;
|
|
1451
1485
|
default_0 = default_0 === VOID ? null : default_0;
|
|
1452
|
-
this.
|
|
1453
|
-
this.
|
|
1454
|
-
this.
|
|
1455
|
-
this.
|
|
1486
|
+
this.o2c_1 = name;
|
|
1487
|
+
this.p2c_1 = type;
|
|
1488
|
+
this.q2c_1 = doc;
|
|
1489
|
+
this.r2c_1 = default_0;
|
|
1456
1490
|
}
|
|
1457
1491
|
protoOf(Field_0).toString = function () {
|
|
1458
|
-
return 'Field(name=' + this.
|
|
1492
|
+
return 'Field(name=' + this.o2c_1 + ', type=' + this.p2c_1.toString() + ', doc=' + this.q2c_1 + ', default=' + this.r2c_1 + ')';
|
|
1459
1493
|
};
|
|
1460
1494
|
protoOf(Field_0).hashCode = function () {
|
|
1461
|
-
var result = getStringHashCode(this.
|
|
1462
|
-
result = imul(result, 31) + this.
|
|
1463
|
-
result = imul(result, 31) + (this.
|
|
1464
|
-
result = imul(result, 31) + (this.
|
|
1495
|
+
var result = getStringHashCode(this.o2c_1);
|
|
1496
|
+
result = imul(result, 31) + this.p2c_1.hashCode() | 0;
|
|
1497
|
+
result = imul(result, 31) + (this.q2c_1 == null ? 0 : getStringHashCode(this.q2c_1)) | 0;
|
|
1498
|
+
result = imul(result, 31) + (this.r2c_1 == null ? 0 : getStringHashCode(this.r2c_1)) | 0;
|
|
1465
1499
|
return result;
|
|
1466
1500
|
};
|
|
1467
1501
|
protoOf(Field_0).equals = function (other) {
|
|
@@ -1470,37 +1504,37 @@ protoOf(Field_0).equals = function (other) {
|
|
|
1470
1504
|
if (!(other instanceof Field_0))
|
|
1471
1505
|
return false;
|
|
1472
1506
|
var tmp0_other_with_cast = other instanceof Field_0 ? other : THROW_CCE();
|
|
1473
|
-
if (!(this.
|
|
1507
|
+
if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
|
|
1474
1508
|
return false;
|
|
1475
|
-
if (!this.
|
|
1509
|
+
if (!this.p2c_1.equals(tmp0_other_with_cast.p2c_1))
|
|
1476
1510
|
return false;
|
|
1477
|
-
if (!(this.
|
|
1511
|
+
if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
|
|
1478
1512
|
return false;
|
|
1479
|
-
if (!(this.
|
|
1513
|
+
if (!(this.r2c_1 == tmp0_other_with_cast.r2c_1))
|
|
1480
1514
|
return false;
|
|
1481
1515
|
return true;
|
|
1482
1516
|
};
|
|
1483
1517
|
function TypeList(type) {
|
|
1484
1518
|
AbstractList.call(this);
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1519
|
+
this.v2d_1 = toList_0(type);
|
|
1520
|
+
this.w2d_1 = this.v2d_1.j();
|
|
1487
1521
|
}
|
|
1488
1522
|
protoOf(TypeList).j = function () {
|
|
1489
|
-
return this.
|
|
1523
|
+
return this.w2d_1;
|
|
1490
1524
|
};
|
|
1491
1525
|
protoOf(TypeList).k = function (index) {
|
|
1492
|
-
return this.
|
|
1526
|
+
return this.v2d_1.k(index);
|
|
1493
1527
|
};
|
|
1494
1528
|
function Type_0() {
|
|
1495
1529
|
}
|
|
1496
1530
|
function SimpleType(value) {
|
|
1497
|
-
this.
|
|
1531
|
+
this.u2b_1 = value;
|
|
1498
1532
|
}
|
|
1499
1533
|
protoOf(SimpleType).toString = function () {
|
|
1500
|
-
return 'SimpleType(value=' + this.
|
|
1534
|
+
return 'SimpleType(value=' + this.u2b_1 + ')';
|
|
1501
1535
|
};
|
|
1502
1536
|
protoOf(SimpleType).hashCode = function () {
|
|
1503
|
-
return getStringHashCode(this.
|
|
1537
|
+
return getStringHashCode(this.u2b_1);
|
|
1504
1538
|
};
|
|
1505
1539
|
protoOf(SimpleType).equals = function (other) {
|
|
1506
1540
|
if (this === other)
|
|
@@ -1508,7 +1542,7 @@ protoOf(SimpleType).equals = function (other) {
|
|
|
1508
1542
|
if (!(other instanceof SimpleType))
|
|
1509
1543
|
return false;
|
|
1510
1544
|
var tmp0_other_with_cast = other instanceof SimpleType ? other : THROW_CCE();
|
|
1511
|
-
if (!(this.
|
|
1545
|
+
if (!(this.u2b_1 === tmp0_other_with_cast.u2b_1))
|
|
1512
1546
|
return false;
|
|
1513
1547
|
return true;
|
|
1514
1548
|
};
|
|
@@ -1516,21 +1550,21 @@ function RecordType(type, name, namespace, fields, doc) {
|
|
|
1516
1550
|
Companion_getInstance_3();
|
|
1517
1551
|
namespace = namespace === VOID ? null : namespace;
|
|
1518
1552
|
doc = doc === VOID ? null : doc;
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
-
this.
|
|
1523
|
-
this.
|
|
1553
|
+
this.h2c_1 = type;
|
|
1554
|
+
this.i2c_1 = name;
|
|
1555
|
+
this.j2c_1 = namespace;
|
|
1556
|
+
this.k2c_1 = fields;
|
|
1557
|
+
this.l2c_1 = doc;
|
|
1524
1558
|
}
|
|
1525
1559
|
protoOf(RecordType).toString = function () {
|
|
1526
|
-
return 'RecordType(type=' + this.
|
|
1560
|
+
return 'RecordType(type=' + this.h2c_1 + ', name=' + this.i2c_1 + ', namespace=' + this.j2c_1 + ', fields=' + toString(this.k2c_1) + ', doc=' + this.l2c_1 + ')';
|
|
1527
1561
|
};
|
|
1528
1562
|
protoOf(RecordType).hashCode = function () {
|
|
1529
|
-
var result = getStringHashCode(this.
|
|
1530
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1531
|
-
result = imul(result, 31) + (this.
|
|
1532
|
-
result = imul(result, 31) + hashCode(this.
|
|
1533
|
-
result = imul(result, 31) + (this.
|
|
1563
|
+
var result = getStringHashCode(this.h2c_1);
|
|
1564
|
+
result = imul(result, 31) + getStringHashCode(this.i2c_1) | 0;
|
|
1565
|
+
result = imul(result, 31) + (this.j2c_1 == null ? 0 : getStringHashCode(this.j2c_1)) | 0;
|
|
1566
|
+
result = imul(result, 31) + hashCode(this.k2c_1) | 0;
|
|
1567
|
+
result = imul(result, 31) + (this.l2c_1 == null ? 0 : getStringHashCode(this.l2c_1)) | 0;
|
|
1534
1568
|
return result;
|
|
1535
1569
|
};
|
|
1536
1570
|
protoOf(RecordType).equals = function (other) {
|
|
@@ -1539,28 +1573,28 @@ protoOf(RecordType).equals = function (other) {
|
|
|
1539
1573
|
if (!(other instanceof RecordType))
|
|
1540
1574
|
return false;
|
|
1541
1575
|
var tmp0_other_with_cast = other instanceof RecordType ? other : THROW_CCE();
|
|
1542
|
-
if (!(this.
|
|
1576
|
+
if (!(this.h2c_1 === tmp0_other_with_cast.h2c_1))
|
|
1543
1577
|
return false;
|
|
1544
|
-
if (!(this.
|
|
1578
|
+
if (!(this.i2c_1 === tmp0_other_with_cast.i2c_1))
|
|
1545
1579
|
return false;
|
|
1546
|
-
if (!(this.
|
|
1580
|
+
if (!(this.j2c_1 == tmp0_other_with_cast.j2c_1))
|
|
1547
1581
|
return false;
|
|
1548
|
-
if (!equals(this.
|
|
1582
|
+
if (!equals(this.k2c_1, tmp0_other_with_cast.k2c_1))
|
|
1549
1583
|
return false;
|
|
1550
|
-
if (!(this.
|
|
1584
|
+
if (!(this.l2c_1 == tmp0_other_with_cast.l2c_1))
|
|
1551
1585
|
return false;
|
|
1552
1586
|
return true;
|
|
1553
1587
|
};
|
|
1554
1588
|
function ArrayType(type, items) {
|
|
1555
|
-
this.
|
|
1556
|
-
this.
|
|
1589
|
+
this.m2c_1 = type;
|
|
1590
|
+
this.n2c_1 = items;
|
|
1557
1591
|
}
|
|
1558
1592
|
protoOf(ArrayType).toString = function () {
|
|
1559
|
-
return 'ArrayType(type=' + this.
|
|
1593
|
+
return 'ArrayType(type=' + this.m2c_1 + ', items=' + toString(this.n2c_1) + ')';
|
|
1560
1594
|
};
|
|
1561
1595
|
protoOf(ArrayType).hashCode = function () {
|
|
1562
|
-
var result = getStringHashCode(this.
|
|
1563
|
-
result = imul(result, 31) + hashCode(this.
|
|
1596
|
+
var result = getStringHashCode(this.m2c_1);
|
|
1597
|
+
result = imul(result, 31) + hashCode(this.n2c_1) | 0;
|
|
1564
1598
|
return result;
|
|
1565
1599
|
};
|
|
1566
1600
|
protoOf(ArrayType).equals = function (other) {
|
|
@@ -1569,22 +1603,22 @@ protoOf(ArrayType).equals = function (other) {
|
|
|
1569
1603
|
if (!(other instanceof ArrayType))
|
|
1570
1604
|
return false;
|
|
1571
1605
|
var tmp0_other_with_cast = other instanceof ArrayType ? other : THROW_CCE();
|
|
1572
|
-
if (!(this.
|
|
1606
|
+
if (!(this.m2c_1 === tmp0_other_with_cast.m2c_1))
|
|
1573
1607
|
return false;
|
|
1574
|
-
if (!equals(this.
|
|
1608
|
+
if (!equals(this.n2c_1, tmp0_other_with_cast.n2c_1))
|
|
1575
1609
|
return false;
|
|
1576
1610
|
return true;
|
|
1577
1611
|
};
|
|
1578
1612
|
function MapType(type, values) {
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1613
|
+
this.x2b_1 = type;
|
|
1614
|
+
this.y2b_1 = values;
|
|
1581
1615
|
}
|
|
1582
1616
|
protoOf(MapType).toString = function () {
|
|
1583
|
-
return 'MapType(type=' + this.
|
|
1617
|
+
return 'MapType(type=' + this.x2b_1 + ', values=' + toString(this.y2b_1) + ')';
|
|
1584
1618
|
};
|
|
1585
1619
|
protoOf(MapType).hashCode = function () {
|
|
1586
|
-
var result = getStringHashCode(this.
|
|
1587
|
-
result = imul(result, 31) + hashCode(this.
|
|
1620
|
+
var result = getStringHashCode(this.x2b_1);
|
|
1621
|
+
result = imul(result, 31) + hashCode(this.y2b_1) | 0;
|
|
1588
1622
|
return result;
|
|
1589
1623
|
};
|
|
1590
1624
|
protoOf(MapType).equals = function (other) {
|
|
@@ -1593,28 +1627,28 @@ protoOf(MapType).equals = function (other) {
|
|
|
1593
1627
|
if (!(other instanceof MapType))
|
|
1594
1628
|
return false;
|
|
1595
1629
|
var tmp0_other_with_cast = other instanceof MapType ? other : THROW_CCE();
|
|
1596
|
-
if (!(this.
|
|
1630
|
+
if (!(this.x2b_1 === tmp0_other_with_cast.x2b_1))
|
|
1597
1631
|
return false;
|
|
1598
|
-
if (!equals(this.
|
|
1632
|
+
if (!equals(this.y2b_1, tmp0_other_with_cast.y2b_1))
|
|
1599
1633
|
return false;
|
|
1600
1634
|
return true;
|
|
1601
1635
|
};
|
|
1602
1636
|
function EnumType(type, name, doc, symbols) {
|
|
1603
1637
|
Companion_getInstance_6();
|
|
1604
1638
|
doc = doc === VOID ? null : doc;
|
|
1605
|
-
this.
|
|
1606
|
-
this.
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1639
|
+
this.d2c_1 = type;
|
|
1640
|
+
this.e2c_1 = name;
|
|
1641
|
+
this.f2c_1 = doc;
|
|
1642
|
+
this.g2c_1 = symbols;
|
|
1609
1643
|
}
|
|
1610
1644
|
protoOf(EnumType).toString = function () {
|
|
1611
|
-
return 'EnumType(type=' + this.
|
|
1645
|
+
return 'EnumType(type=' + this.d2c_1 + ', name=' + this.e2c_1 + ', doc=' + this.f2c_1 + ', symbols=' + toString(this.g2c_1) + ')';
|
|
1612
1646
|
};
|
|
1613
1647
|
protoOf(EnumType).hashCode = function () {
|
|
1614
|
-
var result = getStringHashCode(this.
|
|
1615
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1616
|
-
result = imul(result, 31) + (this.
|
|
1617
|
-
result = imul(result, 31) + hashCode(this.
|
|
1648
|
+
var result = getStringHashCode(this.d2c_1);
|
|
1649
|
+
result = imul(result, 31) + getStringHashCode(this.e2c_1) | 0;
|
|
1650
|
+
result = imul(result, 31) + (this.f2c_1 == null ? 0 : getStringHashCode(this.f2c_1)) | 0;
|
|
1651
|
+
result = imul(result, 31) + hashCode(this.g2c_1) | 0;
|
|
1618
1652
|
return result;
|
|
1619
1653
|
};
|
|
1620
1654
|
protoOf(EnumType).equals = function (other) {
|
|
@@ -1623,26 +1657,26 @@ protoOf(EnumType).equals = function (other) {
|
|
|
1623
1657
|
if (!(other instanceof EnumType))
|
|
1624
1658
|
return false;
|
|
1625
1659
|
var tmp0_other_with_cast = other instanceof EnumType ? other : THROW_CCE();
|
|
1626
|
-
if (!(this.
|
|
1660
|
+
if (!(this.d2c_1 === tmp0_other_with_cast.d2c_1))
|
|
1627
1661
|
return false;
|
|
1628
|
-
if (!(this.
|
|
1662
|
+
if (!(this.e2c_1 === tmp0_other_with_cast.e2c_1))
|
|
1629
1663
|
return false;
|
|
1630
|
-
if (!(this.
|
|
1664
|
+
if (!(this.f2c_1 == tmp0_other_with_cast.f2c_1))
|
|
1631
1665
|
return false;
|
|
1632
|
-
if (!equals(this.
|
|
1666
|
+
if (!equals(this.g2c_1, tmp0_other_with_cast.g2c_1))
|
|
1633
1667
|
return false;
|
|
1634
1668
|
return true;
|
|
1635
1669
|
};
|
|
1636
1670
|
function UnionType(name, type) {
|
|
1637
|
-
this.
|
|
1638
|
-
this.
|
|
1671
|
+
this.v2b_1 = name;
|
|
1672
|
+
this.w2b_1 = type;
|
|
1639
1673
|
}
|
|
1640
1674
|
protoOf(UnionType).toString = function () {
|
|
1641
|
-
return 'UnionType(name=' + this.
|
|
1675
|
+
return 'UnionType(name=' + this.v2b_1 + ', type=' + this.w2b_1.toString() + ')';
|
|
1642
1676
|
};
|
|
1643
1677
|
protoOf(UnionType).hashCode = function () {
|
|
1644
|
-
var result = getStringHashCode(this.
|
|
1645
|
-
result = imul(result, 31) + this.
|
|
1678
|
+
var result = getStringHashCode(this.v2b_1);
|
|
1679
|
+
result = imul(result, 31) + this.w2b_1.hashCode() | 0;
|
|
1646
1680
|
return result;
|
|
1647
1681
|
};
|
|
1648
1682
|
protoOf(UnionType).equals = function (other) {
|
|
@@ -1651,22 +1685,22 @@ protoOf(UnionType).equals = function (other) {
|
|
|
1651
1685
|
if (!(other instanceof UnionType))
|
|
1652
1686
|
return false;
|
|
1653
1687
|
var tmp0_other_with_cast = other instanceof UnionType ? other : THROW_CCE();
|
|
1654
|
-
if (!(this.
|
|
1688
|
+
if (!(this.v2b_1 === tmp0_other_with_cast.v2b_1))
|
|
1655
1689
|
return false;
|
|
1656
|
-
if (!this.
|
|
1690
|
+
if (!this.w2b_1.equals(tmp0_other_with_cast.w2b_1))
|
|
1657
1691
|
return false;
|
|
1658
1692
|
return true;
|
|
1659
1693
|
};
|
|
1660
1694
|
function LogicalType() {
|
|
1661
1695
|
}
|
|
1662
1696
|
protoOf(LogicalType).toString = function () {
|
|
1663
|
-
return 'LogicalType(type=' + this.
|
|
1697
|
+
return 'LogicalType(type=' + this.z2b_1 + ', logicalType=' + this.a2c_1 + ', precision=' + this.b2c_1 + ', scale=' + this.c2c_1 + ')';
|
|
1664
1698
|
};
|
|
1665
1699
|
protoOf(LogicalType).hashCode = function () {
|
|
1666
|
-
var result = getStringHashCode(this.
|
|
1667
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1668
|
-
result = imul(result, 31) + (this.
|
|
1669
|
-
result = imul(result, 31) + (this.
|
|
1700
|
+
var result = getStringHashCode(this.z2b_1);
|
|
1701
|
+
result = imul(result, 31) + getStringHashCode(this.a2c_1) | 0;
|
|
1702
|
+
result = imul(result, 31) + (this.b2c_1 == null ? 0 : this.b2c_1) | 0;
|
|
1703
|
+
result = imul(result, 31) + (this.c2c_1 == null ? 0 : this.c2c_1) | 0;
|
|
1670
1704
|
return result;
|
|
1671
1705
|
};
|
|
1672
1706
|
protoOf(LogicalType).equals = function (other) {
|
|
@@ -1675,32 +1709,32 @@ protoOf(LogicalType).equals = function (other) {
|
|
|
1675
1709
|
if (!(other instanceof LogicalType))
|
|
1676
1710
|
return false;
|
|
1677
1711
|
var tmp0_other_with_cast = other instanceof LogicalType ? other : THROW_CCE();
|
|
1678
|
-
if (!(this.
|
|
1712
|
+
if (!(this.z2b_1 === tmp0_other_with_cast.z2b_1))
|
|
1679
1713
|
return false;
|
|
1680
|
-
if (!(this.
|
|
1714
|
+
if (!(this.a2c_1 === tmp0_other_with_cast.a2c_1))
|
|
1681
1715
|
return false;
|
|
1682
|
-
if (!(this.
|
|
1716
|
+
if (!(this.b2c_1 == tmp0_other_with_cast.b2c_1))
|
|
1683
1717
|
return false;
|
|
1684
|
-
if (!(this.
|
|
1718
|
+
if (!(this.c2c_1 == tmp0_other_with_cast.c2c_1))
|
|
1685
1719
|
return false;
|
|
1686
1720
|
return true;
|
|
1687
1721
|
};
|
|
1688
1722
|
function TypeListSerializer() {
|
|
1689
1723
|
TypeListSerializer_instance = this;
|
|
1690
|
-
this.
|
|
1724
|
+
this.x2d_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
|
|
1691
1725
|
}
|
|
1692
1726
|
protoOf(TypeListSerializer).sl = function () {
|
|
1693
|
-
return this.
|
|
1727
|
+
return this.x2d_1;
|
|
1694
1728
|
};
|
|
1695
|
-
protoOf(TypeListSerializer).
|
|
1696
|
-
if (value.
|
|
1729
|
+
protoOf(TypeListSerializer).y2d = function (encoder, value) {
|
|
1730
|
+
if (value.w2d_1 > 1) {
|
|
1697
1731
|
encoder.lq(ListSerializer(Companion_instance_1.g18()), value);
|
|
1698
1732
|
} else {
|
|
1699
1733
|
encoder.lq(Companion_instance_1.g18(), first(value));
|
|
1700
1734
|
}
|
|
1701
1735
|
};
|
|
1702
1736
|
protoOf(TypeListSerializer).tl = function (encoder, value) {
|
|
1703
|
-
return this.
|
|
1737
|
+
return this.y2d(encoder, value instanceof TypeList ? value : THROW_CCE());
|
|
1704
1738
|
};
|
|
1705
1739
|
protoOf(TypeListSerializer).ul = function (decoder) {
|
|
1706
1740
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
@@ -1748,14 +1782,14 @@ function TypeListSerializer_getInstance() {
|
|
|
1748
1782
|
}
|
|
1749
1783
|
function TypeSerializer() {
|
|
1750
1784
|
TypeSerializer_instance = this;
|
|
1751
|
-
this.
|
|
1785
|
+
this.z2d_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
|
|
1752
1786
|
}
|
|
1753
1787
|
protoOf(TypeSerializer).sl = function () {
|
|
1754
|
-
return this.
|
|
1788
|
+
return this.z2d_1;
|
|
1755
1789
|
};
|
|
1756
|
-
protoOf(TypeSerializer).
|
|
1790
|
+
protoOf(TypeSerializer).a2e = function (encoder, value) {
|
|
1757
1791
|
if (value instanceof SimpleType) {
|
|
1758
|
-
encoder.lq(serializer(StringCompanionObject_instance), value.
|
|
1792
|
+
encoder.lq(serializer(StringCompanionObject_instance), value.u2b_1);
|
|
1759
1793
|
} else {
|
|
1760
1794
|
if (value instanceof RecordType) {
|
|
1761
1795
|
encoder.lq(Companion_getInstance_3().g18(), value);
|
|
@@ -1786,7 +1820,7 @@ protoOf(TypeSerializer).c2g = function (encoder, value) {
|
|
|
1786
1820
|
}
|
|
1787
1821
|
};
|
|
1788
1822
|
protoOf(TypeSerializer).tl = function (encoder, value) {
|
|
1789
|
-
return this.
|
|
1823
|
+
return this.a2e(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
|
|
1790
1824
|
};
|
|
1791
1825
|
protoOf(TypeSerializer).ul = function (decoder) {
|
|
1792
1826
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
@@ -1841,7 +1875,7 @@ function AvroParser$parse$lambda($this$Json) {
|
|
|
1841
1875
|
}
|
|
1842
1876
|
function AvroParser() {
|
|
1843
1877
|
}
|
|
1844
|
-
protoOf(AvroParser).
|
|
1878
|
+
protoOf(AvroParser).b2e = function (schemaContent, strict) {
|
|
1845
1879
|
var json = Json(VOID, AvroParser$parse$lambda);
|
|
1846
1880
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
1847
1881
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -1850,10 +1884,10 @@ protoOf(AvroParser).o2b = function (schemaContent, strict) {
|
|
|
1850
1884
|
var this_1 = serializer_0(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
|
|
1851
1885
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
1852
1886
|
var avro = json.w15(tmp$ret$1, schemaContent);
|
|
1853
|
-
var tmp = AvroConverter_getInstance().
|
|
1887
|
+
var tmp = AvroConverter_getInstance().t2c(avro);
|
|
1854
1888
|
var tmp_0;
|
|
1855
1889
|
if (avro instanceof RecordType) {
|
|
1856
|
-
tmp_0 = new Channel(null, new DefinitionIdentifier(avro.
|
|
1890
|
+
tmp_0 = new Channel(null, new DefinitionIdentifier(avro.i2c_1), new Custom(avro.i2c_1, false));
|
|
1857
1891
|
} else {
|
|
1858
1892
|
if (avro instanceof ArrayType) {
|
|
1859
1893
|
throw new NotImplementedError();
|
|
@@ -1890,11 +1924,11 @@ protoOf(AvroParser).o2b = function (schemaContent, strict) {
|
|
|
1890
1924
|
} else {
|
|
1891
1925
|
tmp_1 = tmp1_elvis_lhs;
|
|
1892
1926
|
}
|
|
1893
|
-
return tmp_1;
|
|
1927
|
+
return new AST(nonEmptyListOf(new Module('', tmp_1), []));
|
|
1894
1928
|
};
|
|
1895
|
-
protoOf(AvroParser).
|
|
1929
|
+
protoOf(AvroParser).c2e = function (schemaContent, strict, $super) {
|
|
1896
1930
|
strict = strict === VOID ? true : strict;
|
|
1897
|
-
return $super === VOID ? this.
|
|
1931
|
+
return $super === VOID ? this.b2e(schemaContent, strict) : $super.b2e.call(this, schemaContent, strict);
|
|
1898
1932
|
};
|
|
1899
1933
|
var AvroParser_instance;
|
|
1900
1934
|
function AvroParser_getInstance() {
|
|
@@ -1911,7 +1945,6 @@ protoOf($serializer_5).xw = typeParametersSerializers;
|
|
|
1911
1945
|
protoOf($serializer_6).xw = typeParametersSerializers;
|
|
1912
1946
|
//endregion
|
|
1913
1947
|
//region block: init
|
|
1914
|
-
AvroEmitter_instance = new AvroEmitter();
|
|
1915
1948
|
Companion_instance = new Companion();
|
|
1916
1949
|
Companion_instance_0 = new Companion_0();
|
|
1917
1950
|
Companion_instance_1 = new Companion_1();
|
|
@@ -1925,7 +1958,7 @@ AvroParser_instance = new AvroParser();
|
|
|
1925
1958
|
//region block: exports
|
|
1926
1959
|
export {
|
|
1927
1960
|
Type_0 as Typel89stdvlxo83,
|
|
1928
|
-
|
|
1961
|
+
AvroEmitter_getInstance as AvroEmitter_getInstance2fev0i0aysjmp,
|
|
1929
1962
|
AvroParser_instance as AvroParser_instance25ibqzb3yimhc,
|
|
1930
1963
|
};
|
|
1931
1964
|
//endregion
|