@flock/wirespec 0.22.5 → 0.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-core.mjs +8 -8
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1364 -1363
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +436 -436
- package/kotlin-kotlin-stdlib.mjs +192 -191
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10204 -10204
- package/kotlin-rgxgen.mjs +1771 -1771
- package/kotlinx-io-kotlinx-io-core.mjs +425 -425
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1824 -1824
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1509 -1509
- package/mordant-mordant.mjs +1246 -1246
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +5661 -5333
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +171 -187
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +138 -149
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +147 -160
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +356 -370
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +165 -175
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +187 -313
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +79 -79
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +194 -194
- package/wirespec-src-converter-asyncapi.mjs +545 -545
- package/wirespec-src-converter-avro.mjs +544 -544
- package/wirespec-src-converter-common.mjs +11 -11
- package/wirespec-src-converter-graphql.mjs +942 -942
- package/wirespec-src-converter-openapi.mjs +453 -453
- package/wirespec-src-ide-lsp.mjs +1359 -1359
- package/wirespec-src-plugin-arguments.mjs +153 -157
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +139 -142
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +1631 -1114
- package/wirespec-src-plugin-extensions.mjs.map +1 -1
- package/wirespec-src-plugin-npm.mjs +27 -27
- package/wirespec-src-tools-generator.mjs +17 -17
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
VOID3gxj6tk5isa35 as VOID,
|
|
26
26
|
to2cs3ny02qtbcb as to,
|
|
27
27
|
toMap1vec9topfei08 as toMap,
|
|
28
|
-
emptyList1g2z5xcrvp2zy as emptyList,
|
|
29
28
|
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
30
29
|
Paire9pteg33gng7 as Pair,
|
|
31
30
|
plus20p0vtfmu0596 as plus,
|
|
32
31
|
plus310ted5e4i90h as plus_0,
|
|
32
|
+
emptyList1g2z5xcrvp2zy as emptyList,
|
|
33
33
|
startsWith26w8qjqapeeq6 as startsWith,
|
|
34
34
|
substringBefore3n7kj60w69hju as substringBefore,
|
|
35
35
|
listOf1jh22dvmctj1r as listOf_0,
|
|
@@ -59,7 +59,6 @@ import {
|
|
|
59
59
|
KotlinGenerator_getInstance2e31cf8vh2zcv as KotlinGenerator_getInstance,
|
|
60
60
|
Name1ijtblv1phm3y as Name,
|
|
61
61
|
SanitizationConfigunh0ok3qg1q3 as SanitizationConfig,
|
|
62
|
-
FunctionCall1a3g4e6bcljl6 as FunctionCall,
|
|
63
62
|
transformChildren34heehtlmzzif as transformChildren,
|
|
64
63
|
VariableReferencesji1q1tq3ygo as VariableReference,
|
|
65
64
|
sanitizeFieldName333wgwu6tt90n as sanitizeFieldName,
|
|
@@ -96,17 +95,17 @@ import {
|
|
|
96
95
|
sanitizeNames1v55mz1p84psg as sanitizeNames,
|
|
97
96
|
collectCustomTypeNames2atsrip288ol4 as collectCustomTypeNames,
|
|
98
97
|
placeInPackagea1jcxre6uf77 as placeInPackage_0,
|
|
99
|
-
|
|
98
|
+
convert23o50n5glj7h5 as convert_0,
|
|
100
99
|
sanitizeEnumDefaults29ynqh9a2ayr9 as sanitizeEnumDefaults,
|
|
101
100
|
ensureEmptyStructHasConstructorftf9v01tnb2y as ensureEmptyStructHasConstructor,
|
|
102
|
-
convert1ke01d6gmcvu7 as
|
|
101
|
+
convert1ke01d6gmcvu7 as convert_1,
|
|
103
102
|
injectEnumLabelField21kogrwccvlea as injectEnumLabelField,
|
|
104
|
-
convert29zpebhuxz599 as
|
|
105
|
-
convert39lmqftdnlhsy as
|
|
103
|
+
convert29zpebhuxz599 as convert_2,
|
|
104
|
+
convert39lmqftdnlhsy as convert_3,
|
|
106
105
|
markMembersAsOverridessfchvibgdcx as markMembersAsOverride,
|
|
107
|
-
convert333pgxr2q05n as
|
|
108
|
-
convert86y6uioox2cl as
|
|
109
|
-
convert1o5h4ulxoqycg as
|
|
106
|
+
convert333pgxr2q05n as convert_4,
|
|
107
|
+
convert86y6uioox2cl as convert_5,
|
|
108
|
+
convert1o5h4ulxoqycg as convert_6,
|
|
110
109
|
emitEndpointClient2og25opoka4ql as emitEndpointClient,
|
|
111
110
|
plus14o24vdaiongg as plus_1,
|
|
112
111
|
importReferencesy4xv7r53sjjs as importReferences,
|
|
@@ -127,14 +126,14 @@ initMetadataForCompanion(Companion);
|
|
|
127
126
|
initMetadataForClass(KotlinEmitter, 'KotlinEmitter', KotlinEmitter, VOID, [IrEmitter]);
|
|
128
127
|
//endregion
|
|
129
128
|
function _get_sanitizationConfig__sns434($this) {
|
|
130
|
-
var tmp0 = $this.
|
|
129
|
+
var tmp0 = $this.w37_1;
|
|
131
130
|
var tmp = KProperty1;
|
|
132
131
|
// Inline function 'kotlin.getValue' call
|
|
133
132
|
getPropertyCallableRef('sanitizationConfig', 1, tmp, KotlinEmitter$_get_sanitizationConfig_$ref_sjisty(), null);
|
|
134
133
|
return tmp0.o1();
|
|
135
134
|
}
|
|
136
135
|
function _get_modelSanitizationConfig__vgg831($this) {
|
|
137
|
-
var tmp0 = $this.
|
|
136
|
+
var tmp0 = $this.x37_1;
|
|
138
137
|
var tmp = KProperty1;
|
|
139
138
|
// Inline function 'kotlin.getValue' call
|
|
140
139
|
getPropertyCallableRef('modelSanitizationConfig', 1, tmp, KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5(), null);
|
|
@@ -149,14 +148,14 @@ function withExplicitVisibility($this, $receiver) {
|
|
|
149
148
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
150
149
|
var tmp = scope;
|
|
151
150
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
152
|
-
var this_0 = scope.
|
|
151
|
+
var this_0 = scope.a19_1;
|
|
153
152
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
154
153
|
// Inline function 'kotlin.apply' call
|
|
155
154
|
var this_1 = new TransformerBuilder();
|
|
156
|
-
this_1.
|
|
157
|
-
var tmp$ret$4 = this_1.
|
|
158
|
-
tmp.
|
|
159
|
-
var tmp_0 = scope.
|
|
155
|
+
this_1.u19(KotlinEmitter$withExplicitVisibility$lambda);
|
|
156
|
+
var tmp$ret$4 = this_1.p19();
|
|
157
|
+
tmp.a19_1 = transform(this_0, tmp$ret$4);
|
|
158
|
+
var tmp_0 = scope.a19_1;
|
|
160
159
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
161
160
|
}
|
|
162
161
|
function sanitize($this, $receiver) {
|
|
@@ -218,7 +217,7 @@ function sanitizeFirstIsDigit($this, $receiver) {
|
|
|
218
217
|
return tmp;
|
|
219
218
|
}
|
|
220
219
|
function sanitizeKeywords($this, $receiver) {
|
|
221
|
-
return Companion_getInstance_0().
|
|
220
|
+
return Companion_getInstance_0().i37().i1($receiver) ? addBackticks($receiver) : $receiver;
|
|
222
221
|
}
|
|
223
222
|
function sanitizeSymbol($this, $receiver) {
|
|
224
223
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
@@ -291,10 +290,10 @@ function sanitizeEnum($this, $receiver) {
|
|
|
291
290
|
}
|
|
292
291
|
function Companion() {
|
|
293
292
|
Companion_instance_2 = this;
|
|
294
|
-
this.
|
|
293
|
+
this.y37_1 = KotlinGenerator_getInstance();
|
|
295
294
|
}
|
|
296
|
-
protoOf(Companion).
|
|
297
|
-
return this.
|
|
295
|
+
protoOf(Companion).i37 = function () {
|
|
296
|
+
return this.y37_1.k1c_1;
|
|
298
297
|
};
|
|
299
298
|
var Companion_instance_2;
|
|
300
299
|
function Companion_getInstance_0() {
|
|
@@ -307,13 +306,13 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
|
|
|
307
306
|
}
|
|
308
307
|
function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0) {
|
|
309
308
|
return function (name) {
|
|
310
|
-
var sanitized = name.ut_1.
|
|
309
|
+
var sanitized = name.ut_1.c1() > 1 ? name.yt() : sanitizeSymbol(this$0, name.xt());
|
|
311
310
|
return new Name(listOf(sanitized));
|
|
312
311
|
};
|
|
313
312
|
}
|
|
314
313
|
function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0) {
|
|
315
314
|
return function (name) {
|
|
316
|
-
var sanitized = name.ut_1.
|
|
315
|
+
var sanitized = name.ut_1.c1() > 1 ? name.yt() : sanitizeSymbol(this$0, name.xt());
|
|
317
316
|
return new Name(listOf(sanitized));
|
|
318
317
|
};
|
|
319
318
|
}
|
|
@@ -329,7 +328,7 @@ function KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
|
|
|
329
328
|
}
|
|
330
329
|
function KotlinEmitter$sanitizationConfig$delegate$lambda(this$0) {
|
|
331
330
|
return function () {
|
|
332
|
-
var tmp = Companion_getInstance_0().
|
|
331
|
+
var tmp = Companion_getInstance_0().i37();
|
|
333
332
|
var tmp_0 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda;
|
|
334
333
|
var tmp_1 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0);
|
|
335
334
|
var tmp_2 = KotlinEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0);
|
|
@@ -360,7 +359,7 @@ function KotlinEmitter$modelSanitizationConfig$delegate$lambda(this$0) {
|
|
|
360
359
|
var tmp = _get_sanitizationConfig__sns434(this$0);
|
|
361
360
|
var tmp_0 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda;
|
|
362
361
|
var tmp_1 = KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_0(this$0);
|
|
363
|
-
return tmp.
|
|
362
|
+
return tmp.f1d(VOID, VOID, tmp_0, VOID, tmp_1, statementTransforms(this$0, KotlinEmitter$modelSanitizationConfig$delegate$lambda$lambda_1(this$0)));
|
|
364
363
|
};
|
|
365
364
|
}
|
|
366
365
|
function KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5() {
|
|
@@ -371,42 +370,32 @@ function KotlinEmitter$_get_modelSanitizationConfig_$ref_pvjfk5() {
|
|
|
371
370
|
function KotlinEmitter$statementTransforms$lambda($namedArguments, this$0) {
|
|
372
371
|
return function (stmt, tr) {
|
|
373
372
|
var tmp;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
373
|
+
if (stmt instanceof ConstructorStatement) {
|
|
374
|
+
var tmp_0 = tr.s18(stmt.cu_1);
|
|
375
|
+
// Inline function 'kotlin.collections.map' call
|
|
376
|
+
var this_0 = stmt.du_1;
|
|
377
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
378
|
+
var destination = ArrayList_init_$Create$(this_0.c1());
|
|
379
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
380
|
+
var _iterator__ex2g4s = this_0.m1().t();
|
|
381
|
+
while (_iterator__ex2g4s.u()) {
|
|
382
|
+
var item = _iterator__ex2g4s.v();
|
|
383
|
+
// Inline function 'kotlin.collections.component1' call
|
|
384
|
+
var name = item.n1();
|
|
385
|
+
// Inline function 'kotlin.collections.component2' call
|
|
386
|
+
var expr = item.o1();
|
|
387
|
+
var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.v18(expr));
|
|
388
|
+
destination.x(tmp$ret$3);
|
|
389
|
+
}
|
|
390
|
+
tmp = new ConstructorStatement(tmp_0, toMap(destination));
|
|
382
391
|
} else {
|
|
383
|
-
if (stmt instanceof
|
|
384
|
-
var
|
|
385
|
-
|
|
386
|
-
var
|
|
387
|
-
|
|
388
|
-
var destination = ArrayList_init_$Create$(this_0.b1());
|
|
389
|
-
// Inline function 'kotlin.collections.iterator' call
|
|
390
|
-
var _iterator__ex2g4s = this_0.m1().t();
|
|
391
|
-
while (_iterator__ex2g4s.u()) {
|
|
392
|
-
var item = _iterator__ex2g4s.v();
|
|
393
|
-
// Inline function 'kotlin.collections.component1' call
|
|
394
|
-
var name = item.n1();
|
|
395
|
-
// Inline function 'kotlin.collections.component2' call
|
|
396
|
-
var expr = item.o1();
|
|
397
|
-
var tmp$ret$3 = to(sanitizeFieldName($namedArguments(), name), tr.l18(expr));
|
|
398
|
-
destination.x(tmp$ret$3);
|
|
399
|
-
}
|
|
400
|
-
tmp = new ConstructorStatement(tmp_1, toMap(destination));
|
|
392
|
+
if (stmt instanceof VariableReference) {
|
|
393
|
+
var cased = _get_sanitizationConfig__sns434(this$0).a1d_1(stmt.av_1);
|
|
394
|
+
var sanitized = _get_sanitizationConfig__sns434(this$0).b1d_1(cased.xt());
|
|
395
|
+
var escaped = Companion_getInstance_0().i37().i1(sanitized) ? addBackticks(sanitized) : sanitized;
|
|
396
|
+
tmp = new VariableReference(new Name(listOf(escaped)));
|
|
401
397
|
} else {
|
|
402
|
-
|
|
403
|
-
var cased = _get_sanitizationConfig__sns434(this$0).b1c_1(stmt.gv_1);
|
|
404
|
-
var sanitized = _get_sanitizationConfig__sns434(this$0).c1c_1(cased.xt());
|
|
405
|
-
var escaped = Companion_getInstance_0().z34().i1(sanitized) ? addBackticks(sanitized) : sanitized;
|
|
406
|
-
tmp = new VariableReference(new Name(listOf(escaped)));
|
|
407
|
-
} else {
|
|
408
|
-
tmp = transformChildren(stmt, tr);
|
|
409
|
-
}
|
|
398
|
+
tmp = transformChildren(stmt, tr);
|
|
410
399
|
}
|
|
411
400
|
}
|
|
412
401
|
return tmp;
|
|
@@ -416,7 +405,7 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
|
|
|
416
405
|
var tmp;
|
|
417
406
|
if (element instanceof File) {
|
|
418
407
|
// Inline function 'kotlin.collections.partition' call
|
|
419
|
-
var this_0 = element.
|
|
408
|
+
var this_0 = element.cv_1;
|
|
420
409
|
var first = ArrayList_init_$Create$_0();
|
|
421
410
|
var second = ArrayList_init_$Create$_0();
|
|
422
411
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -431,7 +420,7 @@ function KotlinEmitter$emitShared$lambda(element, transformer) {
|
|
|
431
420
|
var _destruct__k2r9zo = new Pair(first, second);
|
|
432
421
|
var packageElements = _destruct__k2r9zo.ze();
|
|
433
422
|
var rest = _destruct__k2r9zo.af();
|
|
434
|
-
tmp = element.
|
|
423
|
+
tmp = element.fv(VOID, plus_0(plus(packageElements, import_0('kotlin.reflect', 'KType')), rest));
|
|
435
424
|
} else {
|
|
436
425
|
tmp = element;
|
|
437
426
|
}
|
|
@@ -442,27 +431,27 @@ function KotlinEmitter$emitShared$lambda_0($clientServer) {
|
|
|
442
431
|
return function (element, transformer) {
|
|
443
432
|
var tmp;
|
|
444
433
|
if (element instanceof Namespace) {
|
|
445
|
-
var injected = element.
|
|
434
|
+
var injected = element.hv_1.equals(Companion_getInstance().wt('Wirespec')) ? $clientServer : emptyList();
|
|
446
435
|
var tmp_0;
|
|
447
436
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
448
437
|
if (!injected.r()) {
|
|
449
438
|
// Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
|
|
450
|
-
var elements = plus_0(element.
|
|
439
|
+
var elements = plus_0(element.dv(), injected);
|
|
451
440
|
var tmp_1;
|
|
452
441
|
if (element instanceof File) {
|
|
453
|
-
tmp_1 = element.
|
|
442
|
+
tmp_1 = element.fv(VOID, elements);
|
|
454
443
|
} else {
|
|
455
444
|
if (element instanceof Struct) {
|
|
456
|
-
tmp_1 = element.
|
|
445
|
+
tmp_1 = element.mx(VOID, VOID, VOID, VOID, elements);
|
|
457
446
|
} else {
|
|
458
447
|
if (element instanceof Namespace) {
|
|
459
|
-
tmp_1 = element.
|
|
448
|
+
tmp_1 = element.mv(VOID, elements);
|
|
460
449
|
} else {
|
|
461
450
|
if (element instanceof Interface) {
|
|
462
|
-
tmp_1 = element.
|
|
451
|
+
tmp_1 = element.vv(VOID, elements);
|
|
463
452
|
} else {
|
|
464
453
|
if (element instanceof Enum) {
|
|
465
|
-
tmp_1 = element.
|
|
454
|
+
tmp_1 = element.ax(VOID, VOID, VOID, VOID, VOID, elements);
|
|
466
455
|
} else {
|
|
467
456
|
if (element instanceof Main) {
|
|
468
457
|
tmp_1 = element;
|
|
@@ -492,33 +481,33 @@ function KotlinEmitter$withExplicitVisibility$lambda(element, transformer) {
|
|
|
492
481
|
if (isInterface(element, Element)) {
|
|
493
482
|
var tmp_0;
|
|
494
483
|
if (element instanceof Namespace) {
|
|
495
|
-
tmp_0 = element.
|
|
484
|
+
tmp_0 = element.mv(VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
496
485
|
} else {
|
|
497
486
|
if (element instanceof Interface) {
|
|
498
487
|
var tmp2_visibility = Visibility_PUBLIC_getInstance();
|
|
499
488
|
// Inline function 'kotlin.collections.map' call
|
|
500
|
-
var this_0 = element.
|
|
489
|
+
var this_0 = element.sv_1;
|
|
501
490
|
// Inline function 'kotlin.collections.mapTo' call
|
|
502
491
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
503
492
|
var _iterator__ex2g4s = this_0.t();
|
|
504
493
|
while (_iterator__ex2g4s.u()) {
|
|
505
494
|
var item = _iterator__ex2g4s.v();
|
|
506
|
-
var tmp$ret$3 = item.
|
|
495
|
+
var tmp$ret$3 = item.gw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
507
496
|
destination.x(tmp$ret$3);
|
|
508
497
|
}
|
|
509
|
-
tmp_0 = element.
|
|
498
|
+
tmp_0 = element.vv(VOID, VOID, VOID, VOID, VOID, destination, tmp2_visibility);
|
|
510
499
|
} else {
|
|
511
500
|
if (element instanceof Union) {
|
|
512
|
-
tmp_0 = element.
|
|
501
|
+
tmp_0 = element.nw(VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
513
502
|
} else {
|
|
514
503
|
if (element instanceof Enum) {
|
|
515
|
-
tmp_0 = element.
|
|
504
|
+
tmp_0 = element.ax(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
516
505
|
} else {
|
|
517
506
|
if (element instanceof Struct) {
|
|
518
|
-
tmp_0 = element.
|
|
507
|
+
tmp_0 = element.mx(VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
519
508
|
} else {
|
|
520
509
|
if (element instanceof Function) {
|
|
521
|
-
tmp_0 = element.
|
|
510
|
+
tmp_0 = element.zx(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Visibility_PUBLIC_getInstance());
|
|
522
511
|
} else {
|
|
523
512
|
tmp_0 = element;
|
|
524
513
|
}
|
|
@@ -547,7 +536,7 @@ function KotlinEmitter$emitGenerator$lambda_1(it) {
|
|
|
547
536
|
}
|
|
548
537
|
function KotlinEmitter$emitGenerator$lambda_2(this$0) {
|
|
549
538
|
return function (it) {
|
|
550
|
-
return import_0(this$0.
|
|
539
|
+
return import_0(this$0.p37().bt_1 + '.model', it);
|
|
551
540
|
};
|
|
552
541
|
}
|
|
553
542
|
function KotlinEmitter$emit$lambda(this$0) {
|
|
@@ -564,30 +553,30 @@ function KotlinEmitter(packageName, emitShared) {
|
|
|
564
553
|
Companion_getInstance_0();
|
|
565
554
|
packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
|
|
566
555
|
emitShared = emitShared === VOID ? Companion_instance_1.fq() : emitShared;
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
556
|
+
this.q37_1 = packageName;
|
|
557
|
+
this.r37_1 = emitShared;
|
|
558
|
+
this.s37_1 = KotlinGenerator_getInstance();
|
|
559
|
+
this.t37_1 = FileExtension_Kotlin_getInstance();
|
|
560
|
+
this.u37_1 = true;
|
|
561
|
+
this.v37_1 = listOf_0([import_0('community.flock.wirespec.kotlin', 'Wirespec'), import_0('kotlin.reflect', 'typeOf')]);
|
|
573
562
|
var tmp = this;
|
|
574
|
-
tmp.
|
|
563
|
+
tmp.w37_1 = lazy(KotlinEmitter$sanitizationConfig$delegate$lambda(this));
|
|
575
564
|
var tmp_0 = this;
|
|
576
|
-
tmp_0.
|
|
565
|
+
tmp_0.x37_1 = lazy(KotlinEmitter$modelSanitizationConfig$delegate$lambda(this));
|
|
577
566
|
}
|
|
578
|
-
protoOf(KotlinEmitter).
|
|
579
|
-
return this.
|
|
567
|
+
protoOf(KotlinEmitter).p37 = function () {
|
|
568
|
+
return this.q37_1;
|
|
580
569
|
};
|
|
581
|
-
protoOf(KotlinEmitter).
|
|
582
|
-
return this.
|
|
570
|
+
protoOf(KotlinEmitter).h1b = function () {
|
|
571
|
+
return this.s37_1;
|
|
583
572
|
};
|
|
584
573
|
protoOf(KotlinEmitter).wp = function () {
|
|
585
|
-
return this.
|
|
574
|
+
return this.t37_1;
|
|
586
575
|
};
|
|
587
576
|
protoOf(KotlinEmitter).vp = function () {
|
|
588
|
-
return this.
|
|
577
|
+
return this.u37_1;
|
|
589
578
|
};
|
|
590
|
-
protoOf(KotlinEmitter).
|
|
579
|
+
protoOf(KotlinEmitter).c1b = function () {
|
|
591
580
|
var packageName = Companion_instance_0.at('community.flock.wirespec.kotlin');
|
|
592
581
|
var clientServer = convertClientServer();
|
|
593
582
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
@@ -596,28 +585,28 @@ protoOf(KotlinEmitter).y1a = function () {
|
|
|
596
585
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
597
586
|
var tmp = scope;
|
|
598
587
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
599
|
-
var this_1 = scope.
|
|
588
|
+
var this_1 = scope.a19_1;
|
|
600
589
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
601
590
|
// Inline function 'kotlin.apply' call
|
|
602
591
|
var this_2 = new TransformerBuilder();
|
|
603
|
-
this_2.
|
|
604
|
-
var tmp$ret$4 = this_2.
|
|
605
|
-
tmp.
|
|
592
|
+
this_2.u19(KotlinEmitter$emitShared$lambda);
|
|
593
|
+
var tmp$ret$4 = this_2.p19();
|
|
594
|
+
tmp.a19_1 = transform(this_1, tmp$ret$4);
|
|
606
595
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.injectAfter' call
|
|
607
596
|
var tmp_0 = scope;
|
|
608
597
|
// Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
|
|
609
598
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
610
|
-
var this_3 = scope.
|
|
599
|
+
var this_3 = scope.a19_1;
|
|
611
600
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
612
601
|
// Inline function 'kotlin.apply' call
|
|
613
602
|
var this_4 = new TransformerBuilder();
|
|
614
|
-
this_4.
|
|
615
|
-
var tmp$ret$10 = this_4.
|
|
616
|
-
tmp_0.
|
|
617
|
-
var tmp_1 = scope.
|
|
603
|
+
this_4.u19(KotlinEmitter$emitShared$lambda_0(clientServer));
|
|
604
|
+
var tmp$ret$10 = this_4.p19();
|
|
605
|
+
tmp_0.a19_1 = transform(this_3, tmp$ret$10);
|
|
606
|
+
var tmp_1 = scope.a19_1;
|
|
618
607
|
var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
|
|
619
608
|
var tmp_2;
|
|
620
|
-
if (this.
|
|
609
|
+
if (this.r37_1.gq_1) {
|
|
621
610
|
tmp_2 = withExplicitVisibility(this, wirespecShared);
|
|
622
611
|
} else {
|
|
623
612
|
tmp_2 = null;
|
|
@@ -627,7 +616,7 @@ protoOf(KotlinEmitter).y1a = function () {
|
|
|
627
616
|
protoOf(KotlinEmitter).cs = function (definition, module_0, logger) {
|
|
628
617
|
var file = emit.call(this, definition, module_0, logger);
|
|
629
618
|
// Inline function 'kotlin.takeIf' call
|
|
630
|
-
var this_0 = this.
|
|
619
|
+
var this_0 = this.v37_1;
|
|
631
620
|
var tmp;
|
|
632
621
|
if (Companion_instance.zr(module_0)) {
|
|
633
622
|
tmp = this_0;
|
|
@@ -635,9 +624,9 @@ protoOf(KotlinEmitter).cs = function (definition, module_0, logger) {
|
|
|
635
624
|
tmp = null;
|
|
636
625
|
}
|
|
637
626
|
var tmp$ret$0 = tmp;
|
|
638
|
-
return placeInPackage(prependImports(file, tmp$ret$0), this.
|
|
627
|
+
return placeInPackage(prependImports(file, tmp$ret$0), this.p37(), definition);
|
|
639
628
|
};
|
|
640
|
-
protoOf(KotlinEmitter).
|
|
629
|
+
protoOf(KotlinEmitter).k1b = function (definition, module_0) {
|
|
641
630
|
var tmp;
|
|
642
631
|
if (definition instanceof Type) {
|
|
643
632
|
tmp = convertToGenerator_2(definition, module_0);
|
|
@@ -670,24 +659,24 @@ protoOf(KotlinEmitter).g1b = function (definition, module_0) {
|
|
|
670
659
|
var tmp_3 = filterNot(tmp_2, KotlinEmitter$emitGenerator$lambda_0(generatorOwnName));
|
|
671
660
|
var tmp_4 = distinct(map(tmp_3, KotlinEmitter$emitGenerator$lambda_1));
|
|
672
661
|
var modelImports = toList(map(tmp_4, KotlinEmitter$emitGenerator$lambda_2(this)));
|
|
673
|
-
return placeInPackage_0(prependImports(sanitized, plus_0(this.
|
|
662
|
+
return placeInPackage_0(prependImports(sanitized, plus_0(this.v37_1, modelImports)), this.p37(), 'generator');
|
|
674
663
|
};
|
|
675
664
|
protoOf(KotlinEmitter).us = function (type, module_0) {
|
|
676
|
-
var tmp = sanitizeNames(
|
|
665
|
+
var tmp = sanitizeNames(convert_0(type), _get_modelSanitizationConfig__vgg831(this));
|
|
677
666
|
return ensureEmptyStructHasConstructor(sanitizeEnumDefaults(tmp, KotlinEmitter$emit$lambda(this)));
|
|
678
667
|
};
|
|
679
668
|
protoOf(KotlinEmitter).ss = function (enum_0, module_0) {
|
|
680
|
-
var tmp = sanitizeNames(
|
|
669
|
+
var tmp = sanitizeNames(convert_1(enum_0), _get_sanitizationConfig__sns434(this));
|
|
681
670
|
return injectEnumLabelField(tmp, KotlinEmitter$emit$lambda_0(this));
|
|
682
671
|
};
|
|
683
672
|
protoOf(KotlinEmitter).is = function (union) {
|
|
684
|
-
return sanitizeNames(
|
|
673
|
+
return sanitizeNames(convert_2(union), _get_sanitizationConfig__sns434(this));
|
|
685
674
|
};
|
|
686
675
|
protoOf(KotlinEmitter).ns = function (refined) {
|
|
687
|
-
var file = sanitizeNames(
|
|
676
|
+
var file = sanitizeNames(convert_3(refined), _get_sanitizationConfig__sns434(this));
|
|
688
677
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
689
678
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
690
|
-
var tmp0 = file.
|
|
679
|
+
var tmp0 = file.dv();
|
|
691
680
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
692
681
|
var destination = ArrayList_init_$Create$_0();
|
|
693
682
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -702,10 +691,10 @@ protoOf(KotlinEmitter).ns = function (refined) {
|
|
|
702
691
|
return new File(Companion_getInstance().wt(sanitize(this, refined.ls_1)), listOfNotNull(updatedStruct));
|
|
703
692
|
};
|
|
704
693
|
protoOf(KotlinEmitter).ts = function (endpoint) {
|
|
705
|
-
var imports = buildModelImports(endpoint, this.
|
|
694
|
+
var imports = buildModelImports(endpoint, this.p37());
|
|
706
695
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
707
696
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
708
|
-
var tmp0 =
|
|
697
|
+
var tmp0 = convert_4(endpoint).dv();
|
|
709
698
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
710
699
|
var destination = ArrayList_init_$Create$_0();
|
|
711
700
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -731,9 +720,9 @@ protoOf(KotlinEmitter).ts = function (endpoint) {
|
|
|
731
720
|
return prependImports(tmp, tmp$ret$3);
|
|
732
721
|
};
|
|
733
722
|
protoOf(KotlinEmitter).hs = function (channel) {
|
|
734
|
-
var tmp = sanitizeNames(
|
|
723
|
+
var tmp = sanitizeNames(convert_5(channel), _get_sanitizationConfig__sns434(this));
|
|
735
724
|
// Inline function 'kotlin.takeIf' call
|
|
736
|
-
var this_0 = buildModelImports(channel, this.
|
|
725
|
+
var this_0 = buildModelImports(channel, this.p37());
|
|
737
726
|
var tmp_0;
|
|
738
727
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
739
728
|
if (!this_0.r()) {
|
|
@@ -745,9 +734,9 @@ protoOf(KotlinEmitter).hs = function (channel) {
|
|
|
745
734
|
return prependImports(tmp, tmp$ret$0);
|
|
746
735
|
};
|
|
747
736
|
protoOf(KotlinEmitter).gs = function (rpc) {
|
|
748
|
-
var tmp = sanitizeNames(
|
|
737
|
+
var tmp = sanitizeNames(convert_6(rpc), _get_sanitizationConfig__sns434(this));
|
|
749
738
|
// Inline function 'kotlin.takeIf' call
|
|
750
|
-
var this_0 = buildModelImports(rpc, this.
|
|
739
|
+
var this_0 = buildModelImports(rpc, this.p37());
|
|
751
740
|
var tmp_0;
|
|
752
741
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
753
742
|
if (!this_0.r()) {
|
|
@@ -758,25 +747,25 @@ protoOf(KotlinEmitter).gs = function (rpc) {
|
|
|
758
747
|
var tmp$ret$0 = tmp_0;
|
|
759
748
|
return prependImports(tmp, tmp$ret$0);
|
|
760
749
|
};
|
|
761
|
-
protoOf(KotlinEmitter).
|
|
762
|
-
var imports = buildModelImports(endpoint, this.
|
|
763
|
-
var endpointImport = import_0(this.
|
|
750
|
+
protoOf(KotlinEmitter).j1b = function (endpoint) {
|
|
751
|
+
var imports = buildModelImports(endpoint, this.p37());
|
|
752
|
+
var endpointImport = import_0(this.p37().bt_1 + '.endpoint', endpoint.fr_1.o1());
|
|
764
753
|
var file = sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this));
|
|
765
|
-
var subPackageName = plus_1(this.
|
|
766
|
-
var tmp = Companion_getInstance().wt(subPackageName.dt() + file.
|
|
754
|
+
var subPackageName = plus_1(this.p37(), 'client');
|
|
755
|
+
var tmp = Companion_getInstance().wt(subPackageName.dt() + file.bv_1.zt());
|
|
767
756
|
// Inline function 'kotlin.collections.buildList' call
|
|
768
757
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
769
758
|
// Inline function 'kotlin.apply' call
|
|
770
759
|
var this_0 = ArrayList_init_$Create$_0();
|
|
771
760
|
this_0.x(new Package(subPackageName.bt_1));
|
|
772
|
-
this_0.g1(this.
|
|
761
|
+
this_0.g1(this.v37_1);
|
|
773
762
|
this_0.g1(imports);
|
|
774
763
|
this_0.x(endpointImport);
|
|
775
|
-
this_0.g1(file.
|
|
764
|
+
this_0.g1(file.cv_1);
|
|
776
765
|
var tmp$ret$0 = this_0.q5();
|
|
777
766
|
return new File(tmp, tmp$ret$0);
|
|
778
767
|
};
|
|
779
|
-
protoOf(KotlinEmitter).
|
|
768
|
+
protoOf(KotlinEmitter).d1b = function (endpoints, logger) {
|
|
780
769
|
// Inline function 'kotlin.collections.flatMap' call
|
|
781
770
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
782
771
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -792,7 +781,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
|
|
|
792
781
|
var _iterator__ex2g4s_0 = destination.t();
|
|
793
782
|
while (_iterator__ex2g4s_0.u()) {
|
|
794
783
|
var e = _iterator__ex2g4s_0.v();
|
|
795
|
-
var key = e.
|
|
784
|
+
var key = e.x19_1;
|
|
796
785
|
if (set.x(key)) {
|
|
797
786
|
list_0.x(e);
|
|
798
787
|
}
|
|
@@ -803,7 +792,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
|
|
|
803
792
|
var _iterator__ex2g4s_1 = list_0.t();
|
|
804
793
|
while (_iterator__ex2g4s_1.u()) {
|
|
805
794
|
var item = _iterator__ex2g4s_1.v();
|
|
806
|
-
var tmp$ret$7 = import_0(this.
|
|
795
|
+
var tmp$ret$7 = import_0(this.p37().bt_1 + '.model', item.x19_1);
|
|
807
796
|
destination_0.x(tmp$ret$7);
|
|
808
797
|
}
|
|
809
798
|
var imports = destination_0;
|
|
@@ -813,7 +802,7 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
|
|
|
813
802
|
var _iterator__ex2g4s_2 = endpoints.t();
|
|
814
803
|
while (_iterator__ex2g4s_2.u()) {
|
|
815
804
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
816
|
-
var tmp$ret$10 = import_0(this.
|
|
805
|
+
var tmp$ret$10 = import_0(this.p37().bt_1 + '.endpoint', item_0.fr_1.o1());
|
|
817
806
|
destination_1.x(tmp$ret$10);
|
|
818
807
|
}
|
|
819
808
|
var endpointImports = destination_1;
|
|
@@ -823,21 +812,21 @@ protoOf(KotlinEmitter).z1a = function (endpoints, logger) {
|
|
|
823
812
|
var _iterator__ex2g4s_3 = endpoints.t();
|
|
824
813
|
while (_iterator__ex2g4s_3.u()) {
|
|
825
814
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
826
|
-
var tmp$ret$13 = import_0(this.
|
|
815
|
+
var tmp$ret$13 = import_0(this.p37().bt_1 + '.client', item_1.fr_1.o1() + 'Client');
|
|
827
816
|
destination_2.x(tmp$ret$13);
|
|
828
817
|
}
|
|
829
818
|
var clientImports = destination_2;
|
|
830
819
|
var allImports = plus_0(plus_0(imports, endpointImports), clientImports);
|
|
831
820
|
var file = sanitizeNames(emitClient.call(this, endpoints, logger), _get_sanitizationConfig__sns434(this));
|
|
832
|
-
var tmp = Companion_getInstance().wt(this.
|
|
821
|
+
var tmp = Companion_getInstance().wt(this.p37().dt() + file.bv_1.zt());
|
|
833
822
|
// Inline function 'kotlin.collections.buildList' call
|
|
834
823
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
835
824
|
// Inline function 'kotlin.apply' call
|
|
836
825
|
var this_0 = ArrayList_init_$Create$_0();
|
|
837
|
-
this_0.x(new Package(this.
|
|
838
|
-
this_0.g1(this.
|
|
826
|
+
this_0.x(new Package(this.p37().bt_1));
|
|
827
|
+
this_0.g1(this.v37_1);
|
|
839
828
|
this_0.g1(allImports);
|
|
840
|
-
this_0.g1(file.
|
|
829
|
+
this_0.g1(file.cv_1);
|
|
841
830
|
var tmp$ret$14 = this_0.q5();
|
|
842
831
|
return new File(tmp, tmp$ret$14);
|
|
843
832
|
};
|
|
@@ -849,7 +838,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
|
|
|
849
838
|
var _iterator__ex2g4s = this_0.t();
|
|
850
839
|
while (_iterator__ex2g4s.u()) {
|
|
851
840
|
var e = _iterator__ex2g4s.v();
|
|
852
|
-
var key = e.
|
|
841
|
+
var key = e.x19_1;
|
|
853
842
|
if (set.x(key)) {
|
|
854
843
|
list.x(e);
|
|
855
844
|
}
|
|
@@ -860,7 +849,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
|
|
|
860
849
|
var _iterator__ex2g4s_0 = list.t();
|
|
861
850
|
while (_iterator__ex2g4s_0.u()) {
|
|
862
851
|
var item = _iterator__ex2g4s_0.v();
|
|
863
|
-
var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().wt(item.
|
|
852
|
+
var tmp$ret$4 = import_0(packageName.bt_1 + '.model', Companion_getInstance().wt(item.x19_1).zt());
|
|
864
853
|
destination.x(tmp$ret$4);
|
|
865
854
|
}
|
|
866
855
|
return destination;
|
|
@@ -872,14 +861,14 @@ function injectApiObject(_this__u8e3s4, endpoint) {
|
|
|
872
861
|
var tmp = scope;
|
|
873
862
|
// Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
|
|
874
863
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
875
|
-
var this_0 = scope.
|
|
864
|
+
var this_0 = scope.a19_1;
|
|
876
865
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
877
866
|
// Inline function 'kotlin.apply' call
|
|
878
867
|
var this_1 = new TransformerBuilder();
|
|
879
|
-
this_1.
|
|
880
|
-
var tmp$ret$5 = this_1.
|
|
881
|
-
tmp.
|
|
882
|
-
var tmp_0 = scope.
|
|
868
|
+
this_1.u19(injectApiObject$lambda(endpoint));
|
|
869
|
+
var tmp$ret$5 = this_1.p19();
|
|
870
|
+
tmp.a19_1 = transform(this_0, tmp$ret$5);
|
|
871
|
+
var tmp_0 = scope.a19_1;
|
|
883
872
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
884
873
|
}
|
|
885
874
|
function buildApiObject(endpoint) {
|
|
@@ -897,22 +886,22 @@ function injectApiObject$lambda($endpoint) {
|
|
|
897
886
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
898
887
|
if (!injected.r()) {
|
|
899
888
|
// Inline function 'community.flock.wirespec.compiler.core.ir.withElements' call
|
|
900
|
-
var elements = plus_0(element.
|
|
889
|
+
var elements = plus_0(element.dv(), injected);
|
|
901
890
|
var tmp_1;
|
|
902
891
|
if (element instanceof File) {
|
|
903
|
-
tmp_1 = element.
|
|
892
|
+
tmp_1 = element.fv(VOID, elements);
|
|
904
893
|
} else {
|
|
905
894
|
if (element instanceof Struct) {
|
|
906
|
-
tmp_1 = element.
|
|
895
|
+
tmp_1 = element.mx(VOID, VOID, VOID, VOID, elements);
|
|
907
896
|
} else {
|
|
908
897
|
if (element instanceof Namespace) {
|
|
909
|
-
tmp_1 = element.
|
|
898
|
+
tmp_1 = element.mv(VOID, elements);
|
|
910
899
|
} else {
|
|
911
900
|
if (element instanceof Interface) {
|
|
912
|
-
tmp_1 = element.
|
|
901
|
+
tmp_1 = element.vv(VOID, elements);
|
|
913
902
|
} else {
|
|
914
903
|
if (element instanceof Enum) {
|
|
915
|
-
tmp_1 = element.
|
|
904
|
+
tmp_1 = element.ax(VOID, VOID, VOID, VOID, VOID, elements);
|
|
916
905
|
} else {
|
|
917
906
|
if (element instanceof Main) {
|
|
918
907
|
tmp_1 = element;
|
|
@@ -940,7 +929,7 @@ function injectApiObject$lambda($endpoint) {
|
|
|
940
929
|
function buildApiObject$lambda(it) {
|
|
941
930
|
var tmp;
|
|
942
931
|
if (it instanceof Literal) {
|
|
943
|
-
tmp = it.
|
|
932
|
+
tmp = it.a1b_1;
|
|
944
933
|
} else {
|
|
945
934
|
if (it instanceof Param) {
|
|
946
935
|
tmp = '{' + it.mr_1.o1() + '}';
|
|
@@ -951,10 +940,10 @@ function buildApiObject$lambda(it) {
|
|
|
951
940
|
return tmp;
|
|
952
941
|
}
|
|
953
942
|
//region block: post-declaration
|
|
954
|
-
protoOf(KotlinEmitter).
|
|
943
|
+
protoOf(KotlinEmitter).e1b = get_extensions;
|
|
955
944
|
protoOf(KotlinEmitter).to = emit_0;
|
|
956
|
-
protoOf(KotlinEmitter).
|
|
957
|
-
protoOf(KotlinEmitter).
|
|
945
|
+
protoOf(KotlinEmitter).b1b = emit_1;
|
|
946
|
+
protoOf(KotlinEmitter).g1b = beforeGenerate;
|
|
958
947
|
//endregion
|
|
959
948
|
//region block: exports
|
|
960
949
|
export {
|