@flock/wirespec 0.22.6 → 0.22.7
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 +11 -11
- package/arrow-arrow-core.mjs +150 -150
- package/clikt-clikt-mordant.mjs +80 -80
- package/clikt-clikt.mjs +1488 -1488
- package/colormath-root-colormath.mjs +441 -441
- package/kotlin-kotlin-stdlib.mjs +1622 -1600
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10028 -10028
- package/kotlin-rgxgen.mjs +1802 -1802
- package/kotlinx-io-kotlinx-io-core.mjs +414 -414
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1816 -1816
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1570 -1570
- package/mordant-mordant.mjs +1278 -1278
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +6104 -5969
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +177 -177
- package/wirespec-src-compiler-emitters-kotlin.mjs +132 -132
- package/wirespec-src-compiler-emitters-python.mjs +166 -166
- package/wirespec-src-compiler-emitters-rust.mjs +409 -409
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +165 -165
- package/wirespec-src-compiler-emitters-typescript.mjs +214 -214
- package/wirespec-src-compiler-emitters-wirespec.mjs +175 -195
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +282 -282
- package/wirespec-src-converter-asyncapi.mjs +849 -767
- package/wirespec-src-converter-asyncapi.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +596 -595
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +18 -18
- package/wirespec-src-converter-graphql.mjs +1063 -1063
- package/wirespec-src-converter-openapi.mjs +773 -661
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-ide-lsp.mjs +1379 -1379
- package/wirespec-src-plugin-arguments.mjs +200 -190
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +112 -112
- package/wirespec-src-plugin-extensions.mjs +1034 -998
- package/wirespec-src-plugin-extensions.mjs.map +1 -1
- package/wirespec-src-plugin-npm.mjs +54 -54
- package/wirespec-src-tools-generator.mjs +32 -32
|
@@ -126,14 +126,14 @@ initMetadataForCompanion(Companion);
|
|
|
126
126
|
initMetadataForClass(KotlinEmitter, 'KotlinEmitter', KotlinEmitter, VOID, [IrEmitter]);
|
|
127
127
|
//endregion
|
|
128
128
|
function _get_sanitizationConfig__sns434($this) {
|
|
129
|
-
var tmp0 = $this.
|
|
129
|
+
var tmp0 = $this.b38_1;
|
|
130
130
|
var tmp = KProperty1;
|
|
131
131
|
// Inline function 'kotlin.getValue' call
|
|
132
132
|
getPropertyCallableRef('sanitizationConfig', 1, tmp, KotlinEmitter$_get_sanitizationConfig_$ref_sjisty(), null);
|
|
133
133
|
return tmp0.o1();
|
|
134
134
|
}
|
|
135
135
|
function _get_modelSanitizationConfig__vgg831($this) {
|
|
136
|
-
var tmp0 = $this.
|
|
136
|
+
var tmp0 = $this.c38_1;
|
|
137
137
|
var tmp = KProperty1;
|
|
138
138
|
// Inline function 'kotlin.getValue' call
|
|
139
139
|
getPropertyCallableRef('modelSanitizationConfig', 1, tmp, KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5(), null);
|
|
@@ -148,14 +148,14 @@ function withExplicitVisibility($this, $receiver) {
|
|
|
148
148
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
149
149
|
var tmp = scope;
|
|
150
150
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
151
|
-
var this_0 = scope.
|
|
151
|
+
var this_0 = scope.e19_1;
|
|
152
152
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
153
153
|
// Inline function 'kotlin.apply' call
|
|
154
154
|
var this_1 = new TransformerBuilder();
|
|
155
|
-
this_1.
|
|
156
|
-
var tmp$ret$4 = this_1.
|
|
157
|
-
tmp.
|
|
158
|
-
var tmp_0 = scope.
|
|
155
|
+
this_1.y19(KotlinEmitter$withExplicitVisibility$lambda);
|
|
156
|
+
var tmp$ret$4 = this_1.t19();
|
|
157
|
+
tmp.e19_1 = transform(this_0, tmp$ret$4);
|
|
158
|
+
var tmp_0 = scope.e19_1;
|
|
159
159
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
160
160
|
}
|
|
161
161
|
function sanitize($this, $receiver) {
|
|
@@ -169,7 +169,7 @@ function sanitize($this, $receiver) {
|
|
|
169
169
|
var item = _iterator__ex2g4s.v();
|
|
170
170
|
var _unary__edvuaz = index;
|
|
171
171
|
index = _unary__edvuaz + 1 | 0;
|
|
172
|
-
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.
|
|
172
|
+
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.zr(item) : item;
|
|
173
173
|
destination.x(tmp$ret$2);
|
|
174
174
|
}
|
|
175
175
|
// Inline function 'kotlin.text.filter' call
|
|
@@ -217,7 +217,7 @@ function sanitizeFirstIsDigit($this, $receiver) {
|
|
|
217
217
|
return tmp;
|
|
218
218
|
}
|
|
219
219
|
function sanitizeKeywords($this, $receiver) {
|
|
220
|
-
return Companion_getInstance_0().
|
|
220
|
+
return Companion_getInstance_0().n37().i1($receiver) ? addBackticks($receiver) : $receiver;
|
|
221
221
|
}
|
|
222
222
|
function sanitizeSymbol($this, $receiver) {
|
|
223
223
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
@@ -230,7 +230,7 @@ function sanitizeSymbol($this, $receiver) {
|
|
|
230
230
|
var item = _iterator__ex2g4s.v();
|
|
231
231
|
var _unary__edvuaz = index;
|
|
232
232
|
index = _unary__edvuaz + 1 | 0;
|
|
233
|
-
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.
|
|
233
|
+
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.zr(item) : item;
|
|
234
234
|
destination.x(tmp$ret$2);
|
|
235
235
|
}
|
|
236
236
|
// Inline function 'kotlin.text.filter' call
|
|
@@ -290,10 +290,10 @@ function sanitizeEnum($this, $receiver) {
|
|
|
290
290
|
}
|
|
291
291
|
function Companion() {
|
|
292
292
|
Companion_instance_2 = this;
|
|
293
|
-
this.
|
|
293
|
+
this.d38_1 = KotlinGenerator_getInstance();
|
|
294
294
|
}
|
|
295
|
-
protoOf(Companion).
|
|
296
|
-
return this.
|
|
295
|
+
protoOf(Companion).n37 = function () {
|
|
296
|
+
return this.d38_1.o1c_1;
|
|
297
297
|
};
|
|
298
298
|
var Companion_instance_2;
|
|
299
299
|
function Companion_getInstance_0() {
|
|
@@ -306,13 +306,13 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
|
|
|
306
306
|
}
|
|
307
307
|
function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0) {
|
|
308
308
|
return function (name) {
|
|
309
|
-
var sanitized = name.
|
|
309
|
+
var sanitized = name.yt_1.c1() > 1 ? name.cu() : sanitizeSymbol(this$0, name.bu());
|
|
310
310
|
return new Name(listOf(sanitized));
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
313
|
function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0) {
|
|
314
314
|
return function (name) {
|
|
315
|
-
var sanitized = name.
|
|
315
|
+
var sanitized = name.yt_1.c1() > 1 ? name.cu() : sanitizeSymbol(this$0, name.bu());
|
|
316
316
|
return new Name(listOf(sanitized));
|
|
317
317
|
};
|
|
318
318
|
}
|
|
@@ -328,7 +328,7 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
|
|
|
328
328
|
}
|
|
329
329
|
function KotlinEmitter$sanitizationConfig$delegate$lambda(this$0) {
|
|
330
330
|
return function () {
|
|
331
|
-
var tmp = Companion_getInstance_0().
|
|
331
|
+
var tmp = Companion_getInstance_0().n37();
|
|
332
332
|
var tmp_0 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda;
|
|
333
333
|
var tmp_1 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0);
|
|
334
334
|
var tmp_2 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0);
|
|
@@ -342,7 +342,7 @@ function KotlinEmitter$_get_sanitizationConfig_$ref_sjisty() {
|
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
function KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda(name) {
|
|
345
|
-
return new Name(listOf(name.
|
|
345
|
+
return new Name(listOf(name.bu()));
|
|
346
346
|
}
|
|
347
347
|
function KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_0(this$0) {
|
|
348
348
|
return function (it) {
|
|
@@ -359,7 +359,7 @@ function KotlinEmitter$modelSanitizationConfig$delegate$lambda(this$0) {
|
|
|
359
359
|
var tmp = _get_sanitizationConfig__sns434(this$0);
|
|
360
360
|
var tmp_0 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda;
|
|
361
361
|
var tmp_1 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_0(this$0);
|
|
362
|
-
return tmp.
|
|
362
|
+
return tmp.j1d(VOID, VOID, tmp_0, VOID, tmp_1, statementTransforms(this$0, KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_1(this$0)));
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
function KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5() {
|
|
@@ -371,9 +371,9 @@ function KotlinEmitter$statementTransforms$lambda($namedArguments, this$0) {
|
|
|
371
371
|
return function (stmt, tr) {
|
|
372
372
|
var tmp;
|
|
373
373
|
if (stmt instanceof ConstructorStatement) {
|
|
374
|
-
var tmp_0 = tr.
|
|
374
|
+
var tmp_0 = tr.w18(stmt.gu_1);
|
|
375
375
|
// Inline function 'kotlin.collections.map' call
|
|
376
|
-
var this_0 = stmt.
|
|
376
|
+
var this_0 = stmt.hu_1;
|
|
377
377
|
// Inline function 'kotlin.collections.mapTo' call
|
|
378
378
|
var destination = ArrayList_init_$Create$(this_0.c1());
|
|
379
379
|
// Inline function 'kotlin.collections.iterator' call
|
|
@@ -384,15 +384,15 @@ function KotlinEmitter$statementTransforms$lambda($namedArguments, this$0) {
|
|
|
384
384
|
var name = item.n1();
|
|
385
385
|
// Inline function 'kotlin.collections.component2' call
|
|
386
386
|
var expr = item.o1();
|
|
387
|
-
var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.
|
|
387
|
+
var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.z18(expr));
|
|
388
388
|
destination.x(tmp$ret$3);
|
|
389
389
|
}
|
|
390
390
|
tmp = new ConstructorStatement(tmp_0, toMap(destination));
|
|
391
391
|
} else {
|
|
392
392
|
if (stmt instanceof VariableReference) {
|
|
393
|
-
var cased = _get_sanitizationConfig__sns434(this$0).
|
|
394
|
-
var sanitized = _get_sanitizationConfig__sns434(this$0).
|
|
395
|
-
var escaped = Companion_getInstance_0().
|
|
393
|
+
var cased = _get_sanitizationConfig__sns434(this$0).e1d_1(stmt.ev_1);
|
|
394
|
+
var sanitized = _get_sanitizationConfig__sns434(this$0).f1d_1(cased.bu());
|
|
395
|
+
var escaped = Companion_getInstance_0().n37().i1(sanitized) ? addBackticks(sanitized) : sanitized;
|
|
396
396
|
tmp = new VariableReference(new Name(listOf(escaped)));
|
|
397
397
|
} else {
|
|
398
398
|
tmp = transformChildren(stmt, tr);
|
|
@@ -405,7 +405,7 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
|
|
|
405
405
|
var tmp;
|
|
406
406
|
if (element instanceof File) {
|
|
407
407
|
// Inline function 'kotlin.collections.partition' call
|
|
408
|
-
var this_0 = element.
|
|
408
|
+
var this_0 = element.gv_1;
|
|
409
409
|
var first = ArrayList_init_$Create$_0();
|
|
410
410
|
var second = ArrayList_init_$Create$_0();
|
|
411
411
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -418,9 +418,9 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
|
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
var _destruct__k2r9zo = new Pair(first, second);
|
|
421
|
-
var packageElements = _destruct__k2r9zo.
|
|
422
|
-
var rest = _destruct__k2r9zo.
|
|
423
|
-
tmp = element.
|
|
421
|
+
var packageElements = _destruct__k2r9zo.af();
|
|
422
|
+
var rest = _destruct__k2r9zo.bf();
|
|
423
|
+
tmp = element.jv(VOID, plus_0(plus(packageElements, import_0('kotlin.reflect', 'KType')), rest));
|
|
424
424
|
} else {
|
|
425
425
|
tmp = element;
|
|
426
426
|
}
|
|
@@ -431,27 +431,27 @@ function KotlinEmitter$emitShared$lambda_0($clientServer) {
|
|
|
431
431
|
return function (element, transformer) {
|
|
432
432
|
var tmp;
|
|
433
433
|
if (element instanceof Namespace) {
|
|
434
|
-
var injected = element.
|
|
434
|
+
var injected = element.lv_1.equals(Companion_getInstance().au('Wirespec')) ? $clientServer : emptyList();
|
|
435
435
|
var tmp_0;
|
|
436
436
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
437
437
|
if (!injected.r()) {
|
|
438
438
|
// Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
|
|
439
|
-
var elements = plus_0(element.
|
|
439
|
+
var elements = plus_0(element.hv(), injected);
|
|
440
440
|
var tmp_1;
|
|
441
441
|
if (element instanceof File) {
|
|
442
|
-
tmp_1 = element.
|
|
442
|
+
tmp_1 = element.jv(VOID, elements);
|
|
443
443
|
} else {
|
|
444
444
|
if (element instanceof Struct) {
|
|
445
|
-
tmp_1 = element.
|
|
445
|
+
tmp_1 = element.qx(VOID, VOID, VOID, VOID, elements);
|
|
446
446
|
} else {
|
|
447
447
|
if (element instanceof Namespace) {
|
|
448
|
-
tmp_1 = element.
|
|
448
|
+
tmp_1 = element.qv(VOID, elements);
|
|
449
449
|
} else {
|
|
450
450
|
if (element instanceof Interface) {
|
|
451
|
-
tmp_1 = element.
|
|
451
|
+
tmp_1 = element.zv(VOID, elements);
|
|
452
452
|
} else {
|
|
453
453
|
if (element instanceof Enum) {
|
|
454
|
-
tmp_1 = element.
|
|
454
|
+
tmp_1 = element.ex(VOID, VOID, VOID, VOID, VOID, elements);
|
|
455
455
|
} else {
|
|
456
456
|
if (element instanceof Main) {
|
|
457
457
|
tmp_1 = element;
|
|
@@ -481,33 +481,33 @@ function KotlinEmitter$withExplicitVisibility$lambda(element, transformer) {
|
|
|
481
481
|
if (isInterface(element, Element)) {
|
|
482
482
|
var tmp_0;
|
|
483
483
|
if (element instanceof Namespace) {
|
|
484
|
-
tmp_0 = element.
|
|
484
|
+
tmp_0 = element.qv(VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
485
485
|
} else {
|
|
486
486
|
if (element instanceof Interface) {
|
|
487
487
|
var tmp2_visibility = Visibility_PUBLIC_getInstance();
|
|
488
488
|
// Inline function 'kotlin.collections.map' call
|
|
489
|
-
var this_0 = element.
|
|
489
|
+
var this_0 = element.wv_1;
|
|
490
490
|
// Inline function 'kotlin.collections.mapTo' call
|
|
491
491
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
492
492
|
var _iterator__ex2g4s = this_0.t();
|
|
493
493
|
while (_iterator__ex2g4s.u()) {
|
|
494
494
|
var item = _iterator__ex2g4s.v();
|
|
495
|
-
var tmp$ret$3 = item.
|
|
495
|
+
var tmp$ret$3 = item.kw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
496
496
|
destination.x(tmp$ret$3);
|
|
497
497
|
}
|
|
498
|
-
tmp_0 = element.
|
|
498
|
+
tmp_0 = element.zv(VOID, VOID, VOID, VOID, VOID, destination, tmp2_visibility);
|
|
499
499
|
} else {
|
|
500
500
|
if (element instanceof Union) {
|
|
501
|
-
tmp_0 = element.
|
|
501
|
+
tmp_0 = element.rw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
502
502
|
} else {
|
|
503
503
|
if (element instanceof Enum) {
|
|
504
|
-
tmp_0 = element.
|
|
504
|
+
tmp_0 = element.ex(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
505
505
|
} else {
|
|
506
506
|
if (element instanceof Struct) {
|
|
507
|
-
tmp_0 = element.
|
|
507
|
+
tmp_0 = element.qx(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
508
508
|
} else {
|
|
509
509
|
if (element instanceof Function) {
|
|
510
|
-
tmp_0 = element.
|
|
510
|
+
tmp_0 = element.dy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
511
511
|
} else {
|
|
512
512
|
tmp_0 = element;
|
|
513
513
|
}
|
|
@@ -536,7 +536,7 @@ function KotlinEmitter$emitGenerator$lambda_1(it) {
|
|
|
536
536
|
}
|
|
537
537
|
function KotlinEmitter$emitGenerator$lambda_2(this$0) {
|
|
538
538
|
return function (it) {
|
|
539
|
-
return import_0(this$0.
|
|
539
|
+
return import_0(this$0.u37().bt_1 + '.model', it);
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
542
|
function KotlinEmitter$emit$lambda(this$0) {
|
|
@@ -552,31 +552,31 @@ function KotlinEmitter$emit$lambda_0(this$0) {
|
|
|
552
552
|
function KotlinEmitter(packageName, emitShared) {
|
|
553
553
|
Companion_getInstance_0();
|
|
554
554
|
packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
|
|
555
|
-
emitShared = emitShared === VOID ? Companion_instance_1.
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
555
|
+
emitShared = emitShared === VOID ? Companion_instance_1.gq() : emitShared;
|
|
556
|
+
this.v37_1 = packageName;
|
|
557
|
+
this.w37_1 = emitShared;
|
|
558
|
+
this.x37_1 = KotlinGenerator_getInstance();
|
|
559
|
+
this.y37_1 = FileExtension_Kotlin_getInstance();
|
|
560
|
+
this.z37_1 = true;
|
|
561
|
+
this.a38_1 = listOf_0([import_0('community.flock.wirespec.kotlin', 'Wirespec'), import_0('kotlin.reflect', 'typeOf')]);
|
|
562
562
|
var tmp = this;
|
|
563
|
-
tmp.
|
|
563
|
+
tmp.b38_1 = lazy(KotlinEmitter$sanitizationConfig$delegate$lambda(this));
|
|
564
564
|
var tmp_0 = this;
|
|
565
|
-
tmp_0.
|
|
565
|
+
tmp_0.c38_1 = lazy(KotlinEmitter$modelSanitizationConfig$delegate$lambda(this));
|
|
566
566
|
}
|
|
567
|
-
protoOf(KotlinEmitter).
|
|
568
|
-
return this.
|
|
567
|
+
protoOf(KotlinEmitter).u37 = function () {
|
|
568
|
+
return this.v37_1;
|
|
569
569
|
};
|
|
570
|
-
protoOf(KotlinEmitter).
|
|
571
|
-
return this.
|
|
570
|
+
protoOf(KotlinEmitter).l1b = function () {
|
|
571
|
+
return this.x37_1;
|
|
572
572
|
};
|
|
573
|
-
protoOf(KotlinEmitter).
|
|
574
|
-
return this.
|
|
573
|
+
protoOf(KotlinEmitter).xp = function () {
|
|
574
|
+
return this.y37_1;
|
|
575
575
|
};
|
|
576
|
-
protoOf(KotlinEmitter).
|
|
577
|
-
return this.
|
|
576
|
+
protoOf(KotlinEmitter).wp = function () {
|
|
577
|
+
return this.z37_1;
|
|
578
578
|
};
|
|
579
|
-
protoOf(KotlinEmitter).
|
|
579
|
+
protoOf(KotlinEmitter).g1b = function () {
|
|
580
580
|
var packageName = Companion_instance_0.at('community.flock.wirespec.kotlin');
|
|
581
581
|
var clientServer = convertClientServer();
|
|
582
582
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
@@ -585,48 +585,48 @@ protoOf(KotlinEmitter).c1b = function () {
|
|
|
585
585
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
586
586
|
var tmp = scope;
|
|
587
587
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
588
|
-
var this_1 = scope.
|
|
588
|
+
var this_1 = scope.e19_1;
|
|
589
589
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
590
590
|
// Inline function 'kotlin.apply' call
|
|
591
591
|
var this_2 = new TransformerBuilder();
|
|
592
|
-
this_2.
|
|
593
|
-
var tmp$ret$4 = this_2.
|
|
594
|
-
tmp.
|
|
592
|
+
this_2.y19(KotlinEmitter$emitShared$lambda);
|
|
593
|
+
var tmp$ret$4 = this_2.t19();
|
|
594
|
+
tmp.e19_1 = transform(this_1, tmp$ret$4);
|
|
595
595
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.injectAfter' call
|
|
596
596
|
var tmp_0 = scope;
|
|
597
597
|
// Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
|
|
598
598
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
599
|
-
var this_3 = scope.
|
|
599
|
+
var this_3 = scope.e19_1;
|
|
600
600
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
601
601
|
// Inline function 'kotlin.apply' call
|
|
602
602
|
var this_4 = new TransformerBuilder();
|
|
603
|
-
this_4.
|
|
604
|
-
var tmp$ret$10 = this_4.
|
|
605
|
-
tmp_0.
|
|
606
|
-
var tmp_1 = scope.
|
|
603
|
+
this_4.y19(KotlinEmitter$emitShared$lambda_0(clientServer));
|
|
604
|
+
var tmp$ret$10 = this_4.t19();
|
|
605
|
+
tmp_0.e19_1 = transform(this_3, tmp$ret$10);
|
|
606
|
+
var tmp_1 = scope.e19_1;
|
|
607
607
|
var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
|
|
608
608
|
var tmp_2;
|
|
609
|
-
if (this.
|
|
609
|
+
if (this.w37_1.hq_1) {
|
|
610
610
|
tmp_2 = withExplicitVisibility(this, wirespecShared);
|
|
611
611
|
} else {
|
|
612
612
|
tmp_2 = null;
|
|
613
613
|
}
|
|
614
614
|
return tmp_2;
|
|
615
615
|
};
|
|
616
|
-
protoOf(KotlinEmitter).
|
|
616
|
+
protoOf(KotlinEmitter).ds = function (definition, module_0, logger) {
|
|
617
617
|
var file = emit.call(this, definition, module_0, logger);
|
|
618
618
|
// Inline function 'kotlin.takeIf' call
|
|
619
|
-
var this_0 = this.
|
|
619
|
+
var this_0 = this.a38_1;
|
|
620
620
|
var tmp;
|
|
621
|
-
if (Companion_instance.
|
|
621
|
+
if (Companion_instance.as(module_0)) {
|
|
622
622
|
tmp = this_0;
|
|
623
623
|
} else {
|
|
624
624
|
tmp = null;
|
|
625
625
|
}
|
|
626
626
|
var tmp$ret$0 = tmp;
|
|
627
|
-
return placeInPackage(prependImports(file, tmp$ret$0), this.
|
|
627
|
+
return placeInPackage(prependImports(file, tmp$ret$0), this.u37(), definition);
|
|
628
628
|
};
|
|
629
|
-
protoOf(KotlinEmitter).
|
|
629
|
+
protoOf(KotlinEmitter).o1b = function (definition, module_0) {
|
|
630
630
|
var tmp;
|
|
631
631
|
if (definition instanceof Type) {
|
|
632
632
|
tmp = convertToGenerator_2(definition, module_0);
|
|
@@ -653,30 +653,30 @@ protoOf(KotlinEmitter).k1b = function (definition, module_0) {
|
|
|
653
653
|
tmp_0 = _get_sanitizationConfig__sns434(this);
|
|
654
654
|
}
|
|
655
655
|
var sanitized = sanitizeNames(generatorFile, tmp_0);
|
|
656
|
-
var generatorOwnName = definition.
|
|
656
|
+
var generatorOwnName = definition.es().o1() + 'Generator';
|
|
657
657
|
var tmp_1 = asSequence(collectCustomTypeNames(sanitized));
|
|
658
658
|
var tmp_2 = filterNot(tmp_1, KotlinEmitter$emitGenerator$lambda);
|
|
659
659
|
var tmp_3 = filterNot(tmp_2, KotlinEmitter$emitGenerator$lambda_0(generatorOwnName));
|
|
660
660
|
var tmp_4 = distinct(map(tmp_3, KotlinEmitter$emitGenerator$lambda_1));
|
|
661
661
|
var modelImports = toList(map(tmp_4, KotlinEmitter$emitGenerator$lambda_2(this)));
|
|
662
|
-
return placeInPackage_0(prependImports(sanitized, plus_0(this.
|
|
662
|
+
return placeInPackage_0(prependImports(sanitized, plus_0(this.a38_1, modelImports)), this.u37(), 'generator');
|
|
663
663
|
};
|
|
664
|
-
protoOf(KotlinEmitter).
|
|
664
|
+
protoOf(KotlinEmitter).vs = function (type, module_0) {
|
|
665
665
|
var tmp = sanitizeNames(convert_0(type), _get_modelSanitizationConfig__vgg831(this));
|
|
666
666
|
return ensureEmptyStructHasConstructor(sanitizeEnumDefaults(tmp, KotlinEmitter$emit$lambda(this)));
|
|
667
667
|
};
|
|
668
|
-
protoOf(KotlinEmitter).
|
|
668
|
+
protoOf(KotlinEmitter).ts = function (enum_0, module_0) {
|
|
669
669
|
var tmp = sanitizeNames(convert_1(enum_0), _get_sanitizationConfig__sns434(this));
|
|
670
670
|
return injectEnumLabelField(tmp, KotlinEmitter$emit$lambda_0(this));
|
|
671
671
|
};
|
|
672
|
-
protoOf(KotlinEmitter).
|
|
672
|
+
protoOf(KotlinEmitter).js = function (union) {
|
|
673
673
|
return sanitizeNames(convert_2(union), _get_sanitizationConfig__sns434(this));
|
|
674
674
|
};
|
|
675
|
-
protoOf(KotlinEmitter).
|
|
675
|
+
protoOf(KotlinEmitter).os = function (refined) {
|
|
676
676
|
var file = sanitizeNames(convert_3(refined), _get_sanitizationConfig__sns434(this));
|
|
677
677
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
678
678
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
679
|
-
var tmp0 = file.
|
|
679
|
+
var tmp0 = file.hv();
|
|
680
680
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
681
681
|
var destination = ArrayList_init_$Create$_0();
|
|
682
682
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -688,13 +688,13 @@ protoOf(KotlinEmitter).ns = function (refined) {
|
|
|
688
688
|
}
|
|
689
689
|
var tmp0_safe_receiver = firstOrNull_0(destination);
|
|
690
690
|
var updatedStruct = tmp0_safe_receiver == null ? null : markMembersAsOverride(tmp0_safe_receiver);
|
|
691
|
-
return new File(Companion_getInstance().
|
|
691
|
+
return new File(Companion_getInstance().au(sanitize(this, refined.ms_1)), listOfNotNull(updatedStruct));
|
|
692
692
|
};
|
|
693
|
-
protoOf(KotlinEmitter).
|
|
694
|
-
var imports = buildModelImports(endpoint, this.
|
|
693
|
+
protoOf(KotlinEmitter).us = function (endpoint) {
|
|
694
|
+
var imports = buildModelImports(endpoint, this.u37());
|
|
695
695
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
696
696
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
697
|
-
var tmp0 = convert_4(endpoint).
|
|
697
|
+
var tmp0 = convert_4(endpoint).hv();
|
|
698
698
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
699
699
|
var destination = ArrayList_init_$Create$_0();
|
|
700
700
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -707,7 +707,7 @@ protoOf(KotlinEmitter).ts = function (endpoint) {
|
|
|
707
707
|
var tmp$ret$0 = firstOrNull_0(destination);
|
|
708
708
|
var endpointNamespace = ensureNotNull(tmp$ret$0);
|
|
709
709
|
var body = injectApiObject(endpointNamespace, endpoint);
|
|
710
|
-
var tmp = sanitizeNames(new File(Companion_getInstance().
|
|
710
|
+
var tmp = sanitizeNames(new File(Companion_getInstance().au(sanitize(this, endpoint.gr_1)), listOf(body)), _get_sanitizationConfig__sns434(this));
|
|
711
711
|
// Inline function 'kotlin.takeIf' call
|
|
712
712
|
var tmp_0;
|
|
713
713
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -719,10 +719,10 @@ protoOf(KotlinEmitter).ts = function (endpoint) {
|
|
|
719
719
|
var tmp$ret$3 = tmp_0;
|
|
720
720
|
return prependImports(tmp, tmp$ret$3);
|
|
721
721
|
};
|
|
722
|
-
protoOf(KotlinEmitter).
|
|
722
|
+
protoOf(KotlinEmitter).is = function (channel) {
|
|
723
723
|
var tmp = sanitizeNames(convert_5(channel), _get_sanitizationConfig__sns434(this));
|
|
724
724
|
// Inline function 'kotlin.takeIf' call
|
|
725
|
-
var this_0 = buildModelImports(channel, this.
|
|
725
|
+
var this_0 = buildModelImports(channel, this.u37());
|
|
726
726
|
var tmp_0;
|
|
727
727
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
728
728
|
if (!this_0.r()) {
|
|
@@ -733,10 +733,10 @@ protoOf(KotlinEmitter).hs = function (channel) {
|
|
|
733
733
|
var tmp$ret$0 = tmp_0;
|
|
734
734
|
return prependImports(tmp, tmp$ret$0);
|
|
735
735
|
};
|
|
736
|
-
protoOf(KotlinEmitter).
|
|
736
|
+
protoOf(KotlinEmitter).hs = function (rpc) {
|
|
737
737
|
var tmp = sanitizeNames(convert_6(rpc), _get_sanitizationConfig__sns434(this));
|
|
738
738
|
// Inline function 'kotlin.takeIf' call
|
|
739
|
-
var this_0 = buildModelImports(rpc, this.
|
|
739
|
+
var this_0 = buildModelImports(rpc, this.u37());
|
|
740
740
|
var tmp_0;
|
|
741
741
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
742
742
|
if (!this_0.r()) {
|
|
@@ -747,25 +747,25 @@ protoOf(KotlinEmitter).gs = function (rpc) {
|
|
|
747
747
|
var tmp$ret$0 = tmp_0;
|
|
748
748
|
return prependImports(tmp, tmp$ret$0);
|
|
749
749
|
};
|
|
750
|
-
protoOf(KotlinEmitter).
|
|
751
|
-
var imports = buildModelImports(endpoint, this.
|
|
752
|
-
var endpointImport = import_0(this.
|
|
750
|
+
protoOf(KotlinEmitter).n1b = function (endpoint) {
|
|
751
|
+
var imports = buildModelImports(endpoint, this.u37());
|
|
752
|
+
var endpointImport = import_0(this.u37().bt_1 + '.endpoint', endpoint.gr_1.o1());
|
|
753
753
|
var file = sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this));
|
|
754
|
-
var subPackageName = plus_1(this.
|
|
755
|
-
var tmp = Companion_getInstance().
|
|
754
|
+
var subPackageName = plus_1(this.u37(), 'client');
|
|
755
|
+
var tmp = Companion_getInstance().au(subPackageName.dt() + file.fv_1.du());
|
|
756
756
|
// Inline function 'kotlin.collections.buildList' call
|
|
757
757
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
758
758
|
// Inline function 'kotlin.apply' call
|
|
759
759
|
var this_0 = ArrayList_init_$Create$_0();
|
|
760
760
|
this_0.x(new Package(subPackageName.bt_1));
|
|
761
|
-
this_0.g1(this.
|
|
761
|
+
this_0.g1(this.a38_1);
|
|
762
762
|
this_0.g1(imports);
|
|
763
763
|
this_0.x(endpointImport);
|
|
764
|
-
this_0.g1(file.
|
|
765
|
-
var tmp$ret$0 = this_0.
|
|
764
|
+
this_0.g1(file.gv_1);
|
|
765
|
+
var tmp$ret$0 = this_0.r5();
|
|
766
766
|
return new File(tmp, tmp$ret$0);
|
|
767
767
|
};
|
|
768
|
-
protoOf(KotlinEmitter).
|
|
768
|
+
protoOf(KotlinEmitter).h1b = function (endpoints, logger) {
|
|
769
769
|
// Inline function 'kotlin.collections.flatMap' call
|
|
770
770
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
771
771
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -781,7 +781,7 @@ protoOf(KotlinEmitter).d1b = function (endpoints, logger) {
|
|
|
781
781
|
var _iterator__ex2g4s_0 = destination.t();
|
|
782
782
|
while (_iterator__ex2g4s_0.u()) {
|
|
783
783
|
var e = _iterator__ex2g4s_0.v();
|
|
784
|
-
var key = e.
|
|
784
|
+
var key = e.b1a_1;
|
|
785
785
|
if (set.x(key)) {
|
|
786
786
|
list_0.x(e);
|
|
787
787
|
}
|
|
@@ -792,7 +792,7 @@ protoOf(KotlinEmitter).d1b = function (endpoints, logger) {
|
|
|
792
792
|
var _iterator__ex2g4s_1 = list_0.t();
|
|
793
793
|
while (_iterator__ex2g4s_1.u()) {
|
|
794
794
|
var item = _iterator__ex2g4s_1.v();
|
|
795
|
-
var tmp$ret$7 = import_0(this.
|
|
795
|
+
var tmp$ret$7 = import_0(this.u37().bt_1 + '.model', item.b1a_1);
|
|
796
796
|
destination_0.x(tmp$ret$7);
|
|
797
797
|
}
|
|
798
798
|
var imports = destination_0;
|
|
@@ -802,7 +802,7 @@ protoOf(KotlinEmitter).d1b = function (endpoints, logger) {
|
|
|
802
802
|
var _iterator__ex2g4s_2 = endpoints.t();
|
|
803
803
|
while (_iterator__ex2g4s_2.u()) {
|
|
804
804
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
805
|
-
var tmp$ret$10 = import_0(this.
|
|
805
|
+
var tmp$ret$10 = import_0(this.u37().bt_1 + '.endpoint', item_0.gr_1.o1());
|
|
806
806
|
destination_1.x(tmp$ret$10);
|
|
807
807
|
}
|
|
808
808
|
var endpointImports = destination_1;
|
|
@@ -812,22 +812,22 @@ protoOf(KotlinEmitter).d1b = function (endpoints, logger) {
|
|
|
812
812
|
var _iterator__ex2g4s_3 = endpoints.t();
|
|
813
813
|
while (_iterator__ex2g4s_3.u()) {
|
|
814
814
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
815
|
-
var tmp$ret$13 = import_0(this.
|
|
815
|
+
var tmp$ret$13 = import_0(this.u37().bt_1 + '.client', item_1.gr_1.o1() + 'Client');
|
|
816
816
|
destination_2.x(tmp$ret$13);
|
|
817
817
|
}
|
|
818
818
|
var clientImports = destination_2;
|
|
819
819
|
var allImports = plus_0(plus_0(imports, endpointImports), clientImports);
|
|
820
820
|
var file = sanitizeNames(emitClient.call(this, endpoints, logger), _get_sanitizationConfig__sns434(this));
|
|
821
|
-
var tmp = Companion_getInstance().
|
|
821
|
+
var tmp = Companion_getInstance().au(this.u37().dt() + file.fv_1.du());
|
|
822
822
|
// Inline function 'kotlin.collections.buildList' call
|
|
823
823
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
824
824
|
// Inline function 'kotlin.apply' call
|
|
825
825
|
var this_0 = ArrayList_init_$Create$_0();
|
|
826
|
-
this_0.x(new Package(this.
|
|
827
|
-
this_0.g1(this.
|
|
826
|
+
this_0.x(new Package(this.u37().bt_1));
|
|
827
|
+
this_0.g1(this.a38_1);
|
|
828
828
|
this_0.g1(allImports);
|
|
829
|
-
this_0.g1(file.
|
|
830
|
-
var tmp$ret$14 = this_0.
|
|
829
|
+
this_0.g1(file.gv_1);
|
|
830
|
+
var tmp$ret$14 = this_0.r5();
|
|
831
831
|
return new File(tmp, tmp$ret$14);
|
|
832
832
|
};
|
|
833
833
|
function buildModelImports(_this__u8e3s4, packageName) {
|
|
@@ -838,7 +838,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
|
|
|
838
838
|
var _iterator__ex2g4s = this_0.t();
|
|
839
839
|
while (_iterator__ex2g4s.u()) {
|
|
840
840
|
var e = _iterator__ex2g4s.v();
|
|
841
|
-
var key = e.
|
|
841
|
+
var key = e.b1a_1;
|
|
842
842
|
if (set.x(key)) {
|
|
843
843
|
list.x(e);
|
|
844
844
|
}
|
|
@@ -849,7 +849,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
|
|
|
849
849
|
var _iterator__ex2g4s_0 = list.t();
|
|
850
850
|
while (_iterator__ex2g4s_0.u()) {
|
|
851
851
|
var item = _iterator__ex2g4s_0.v();
|
|
852
|
-
var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().
|
|
852
|
+
var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().au(item.b1a_1).du());
|
|
853
853
|
destination.x(tmp$ret$4);
|
|
854
854
|
}
|
|
855
855
|
return destination;
|
|
@@ -861,20 +861,20 @@ function injectApiObject(_this__u8e3s4, endpoint) {
|
|
|
861
861
|
var tmp = scope;
|
|
862
862
|
// Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
|
|
863
863
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
864
|
-
var this_0 = scope.
|
|
864
|
+
var this_0 = scope.e19_1;
|
|
865
865
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
866
866
|
// Inline function 'kotlin.apply' call
|
|
867
867
|
var this_1 = new TransformerBuilder();
|
|
868
|
-
this_1.
|
|
869
|
-
var tmp$ret$5 = this_1.
|
|
870
|
-
tmp.
|
|
871
|
-
var tmp_0 = scope.
|
|
868
|
+
this_1.y19(injectApiObject$lambda(endpoint));
|
|
869
|
+
var tmp$ret$5 = this_1.t19();
|
|
870
|
+
tmp.e19_1 = transform(this_0, tmp$ret$5);
|
|
871
|
+
var tmp_0 = scope.e19_1;
|
|
872
872
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
873
873
|
}
|
|
874
874
|
function buildApiObject(endpoint) {
|
|
875
|
-
var pathTemplate = '/' + joinToString(endpoint.
|
|
875
|
+
var pathTemplate = '/' + joinToString(endpoint.ir_1, '/', VOID, VOID, VOID, VOID, buildApiObject$lambda);
|
|
876
876
|
// Inline function 'kotlin.let' call
|
|
877
|
-
var p0 = trimMargin('\n |object api : Wirespec.Server<Request, Response<*>>, Wirespec.Client<Request, Response<*>> {\n | override val pathTemplate = "' + pathTemplate + '"\n | override val method = "' + endpoint.
|
|
877
|
+
var p0 = trimMargin('\n |object api : Wirespec.Server<Request, Response<*>>, Wirespec.Client<Request, Response<*>> {\n | override val pathTemplate = "' + pathTemplate + '"\n | override val method = "' + endpoint.hr_1.toString() + '"\n | override fun server(serialization: Wirespec.Serialization) = object : Wirespec.ServerEdge<Request, Response<*>> {\n | override fun from(request: Wirespec.RawRequest) = fromRawRequest(serialization, request)\n | override fun to(response: Response<*>) = toRawResponse(serialization, response)\n | }\n | override fun client(serialization: Wirespec.Serialization) = object : Wirespec.ClientEdge<Request, Response<*>> {\n | override fun to(request: Request) = toRawRequest(serialization, request)\n | override fun from(response: Wirespec.RawResponse) = fromRawResponse(serialization, response)\n | }\n |}\n ');
|
|
878
878
|
return raw(p0);
|
|
879
879
|
}
|
|
880
880
|
function injectApiObject$lambda($endpoint) {
|
|
@@ -886,22 +886,22 @@ function injectApiObject$lambda($endpoint) {
|
|
|
886
886
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
887
887
|
if (!injected.r()) {
|
|
888
888
|
// Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
|
|
889
|
-
var elements = plus_0(element.
|
|
889
|
+
var elements = plus_0(element.hv(), injected);
|
|
890
890
|
var tmp_1;
|
|
891
891
|
if (element instanceof File) {
|
|
892
|
-
tmp_1 = element.
|
|
892
|
+
tmp_1 = element.jv(VOID, elements);
|
|
893
893
|
} else {
|
|
894
894
|
if (element instanceof Struct) {
|
|
895
|
-
tmp_1 = element.
|
|
895
|
+
tmp_1 = element.qx(VOID, VOID, VOID, VOID, elements);
|
|
896
896
|
} else {
|
|
897
897
|
if (element instanceof Namespace) {
|
|
898
|
-
tmp_1 = element.
|
|
898
|
+
tmp_1 = element.qv(VOID, elements);
|
|
899
899
|
} else {
|
|
900
900
|
if (element instanceof Interface) {
|
|
901
|
-
tmp_1 = element.
|
|
901
|
+
tmp_1 = element.zv(VOID, elements);
|
|
902
902
|
} else {
|
|
903
903
|
if (element instanceof Enum) {
|
|
904
|
-
tmp_1 = element.
|
|
904
|
+
tmp_1 = element.ex(VOID, VOID, VOID, VOID, VOID, elements);
|
|
905
905
|
} else {
|
|
906
906
|
if (element instanceof Main) {
|
|
907
907
|
tmp_1 = element;
|
|
@@ -929,10 +929,10 @@ function injectApiObject$lambda($endpoint) {
|
|
|
929
929
|
function buildApiObject$lambda(it) {
|
|
930
930
|
var tmp;
|
|
931
931
|
if (it instanceof Literal) {
|
|
932
|
-
tmp = it.
|
|
932
|
+
tmp = it.e1b_1;
|
|
933
933
|
} else {
|
|
934
934
|
if (it instanceof Param) {
|
|
935
|
-
tmp = '{' + it.
|
|
935
|
+
tmp = '{' + it.nr_1.o1() + '}';
|
|
936
936
|
} else {
|
|
937
937
|
noWhenBranchMatchedException();
|
|
938
938
|
}
|
|
@@ -940,10 +940,10 @@ function buildApiObject$lambda(it) {
|
|
|
940
940
|
return tmp;
|
|
941
941
|
}
|
|
942
942
|
//region block: post-declaration
|
|
943
|
-
protoOf(KotlinEmitter).
|
|
944
|
-
protoOf(KotlinEmitter).
|
|
945
|
-
protoOf(KotlinEmitter).
|
|
946
|
-
protoOf(KotlinEmitter).
|
|
943
|
+
protoOf(KotlinEmitter).i1b = get_extensions;
|
|
944
|
+
protoOf(KotlinEmitter).uo = emit_0;
|
|
945
|
+
protoOf(KotlinEmitter).f1b = emit_1;
|
|
946
|
+
protoOf(KotlinEmitter).k1b = beforeGenerate;
|
|
947
947
|
//endregion
|
|
948
948
|
//region block: exports
|
|
949
949
|
export {
|