@flock/wirespec 0.22.5 → 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 +157 -157
- package/clikt-clikt-mordant.mjs +80 -80
- package/clikt-clikt.mjs +1528 -1527
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +444 -444
- package/kotlin-kotlin-stdlib.mjs +1780 -1757
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10202 -10202
- package/kotlin-rgxgen.mjs +1812 -1812
- package/kotlinx-io-kotlinx-io-core.mjs +435 -435
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1848 -1848
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1576 -1576
- package/mordant-mordant.mjs +1322 -1322
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +7497 -7034
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +198 -214
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +164 -175
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +185 -198
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +425 -439
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +197 -207
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +234 -360
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +179 -199
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +282 -282
- package/wirespec-src-converter-asyncapi.mjs +861 -779
- package/wirespec-src-converter-asyncapi.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +603 -602
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +18 -18
- package/wirespec-src-converter-graphql.mjs +1070 -1070
- package/wirespec-src-converter-openapi.mjs +792 -680
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-ide-lsp.mjs +1383 -1383
- package/wirespec-src-plugin-arguments.mjs +207 -201
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +156 -159
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +1828 -1275
- 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
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
plus310ted5e4i90h as plus,
|
|
51
51
|
distinct10qe1scfdvu5k as distinct_0,
|
|
52
52
|
HashSet_init_$Create$2w31ptb4ree5i as HashSet_init_$Create$,
|
|
53
|
-
toSet2orjxp16sotqu as toSet,
|
|
54
53
|
addAll1k27qatfgp3k5 as addAll,
|
|
55
54
|
firstOrNull1982767dljvdy as firstOrNull_0,
|
|
56
55
|
Paire9pteg33gng7 as Pair,
|
|
57
56
|
plus20p0vtfmu0596 as plus_0,
|
|
57
|
+
toSet2orjxp16sotqu as toSet,
|
|
58
58
|
emptySetcxexqki71qfa as emptySet,
|
|
59
59
|
removePrefix279df90bhrqqg as removePrefix,
|
|
60
60
|
contains3ue2qo8xhmpf1 as contains,
|
|
@@ -101,16 +101,14 @@ import {
|
|
|
101
101
|
Element3p1xrn21d2w4b as Element,
|
|
102
102
|
placeInModulejrzh4j1pcq54 as placeInModule_0,
|
|
103
103
|
importReferencesy4xv7r53sjjs as importReferences,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
injectSelfReceiverToValidate17yidn7t1g367 as injectSelfReceiverToValidate,
|
|
107
|
-
convert1ke01d6gmcvu7 as convert_0,
|
|
104
|
+
convert23o50n5glj7h5 as convert_0,
|
|
105
|
+
convert1ke01d6gmcvu7 as convert_1,
|
|
108
106
|
sanitizeEnumEntries28cw6g8cmlq5s as sanitizeEnumEntries,
|
|
109
|
-
convert29zpebhuxz599 as
|
|
110
|
-
convert39lmqftdnlhsy as
|
|
111
|
-
convert333pgxr2q05n as
|
|
112
|
-
convert86y6uioox2cl as
|
|
113
|
-
convert1o5h4ulxoqycg as
|
|
107
|
+
convert29zpebhuxz599 as convert_2,
|
|
108
|
+
convert39lmqftdnlhsy as convert_3,
|
|
109
|
+
convert333pgxr2q05n as convert_4,
|
|
110
|
+
convert86y6uioox2cl as convert_5,
|
|
111
|
+
convert1o5h4ulxoqycg as convert_6,
|
|
114
112
|
emitEndpointClient2og25opoka4ql as emitEndpointClient,
|
|
115
113
|
plus14o24vdaiongg as plus_1,
|
|
116
114
|
emitClient1ucatfg1ovgb6 as emitClient,
|
|
@@ -160,7 +158,7 @@ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, V
|
|
|
160
158
|
initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, VOID, [IrEmitter]);
|
|
161
159
|
//endregion
|
|
162
160
|
function _get_sanitizationConfig__sns434($this) {
|
|
163
|
-
var tmp0 = $this.
|
|
161
|
+
var tmp0 = $this.i38_1;
|
|
164
162
|
var tmp = KProperty1;
|
|
165
163
|
// Inline function 'kotlin.getValue' call
|
|
166
164
|
getPropertyCallableRef('sanitizationConfig', 1, tmp, PythonEmitter$_get_sanitizationConfig_$ref_crpgpd(), null);
|
|
@@ -177,7 +175,7 @@ function sanitize($this, $receiver) {
|
|
|
177
175
|
var item = _iterator__ex2g4s.v();
|
|
178
176
|
var _unary__edvuaz = index;
|
|
179
177
|
index = _unary__edvuaz + 1 | 0;
|
|
180
|
-
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.
|
|
178
|
+
var tmp$ret$2 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.zr(item) : item;
|
|
181
179
|
destination.x(tmp$ret$2);
|
|
182
180
|
}
|
|
183
181
|
// Inline function 'kotlin.text.filter' call
|
|
@@ -223,7 +221,7 @@ function sanitize($this, $receiver) {
|
|
|
223
221
|
return tmp_2;
|
|
224
222
|
}
|
|
225
223
|
function sanitizeKeywords($this, $receiver) {
|
|
226
|
-
return Companion_getInstance_0().
|
|
224
|
+
return Companion_getInstance_0().n37().i1($receiver) ? '_' + $receiver : $receiver;
|
|
227
225
|
}
|
|
228
226
|
function sanitizeEnum($this, $receiver) {
|
|
229
227
|
// Inline function 'kotlin.let' call
|
|
@@ -249,10 +247,10 @@ function buildImports($this, wirespecPath) {
|
|
|
249
247
|
}
|
|
250
248
|
function Companion() {
|
|
251
249
|
Companion_instance_2 = this;
|
|
252
|
-
this.
|
|
250
|
+
this.k38_1 = PythonGenerator_getInstance();
|
|
253
251
|
}
|
|
254
|
-
protoOf(Companion).
|
|
255
|
-
return this.
|
|
252
|
+
protoOf(Companion).n37 = function () {
|
|
253
|
+
return this.k38_1.q1c_1;
|
|
256
254
|
};
|
|
257
255
|
var Companion_instance_2;
|
|
258
256
|
function Companion_getInstance_0() {
|
|
@@ -261,23 +259,23 @@ function Companion_getInstance_0() {
|
|
|
261
259
|
return Companion_instance_2;
|
|
262
260
|
}
|
|
263
261
|
function sam$kotlin_Comparator$0(function_0) {
|
|
264
|
-
this.
|
|
262
|
+
this.l38_1 = function_0;
|
|
265
263
|
}
|
|
266
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
267
|
-
return this.
|
|
264
|
+
protoOf(sam$kotlin_Comparator$0).zd = function (a, b) {
|
|
265
|
+
return this.l38_1(a, b);
|
|
268
266
|
};
|
|
269
267
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
270
|
-
return this.
|
|
268
|
+
return this.zd(a, b);
|
|
271
269
|
};
|
|
272
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
273
|
-
return this.
|
|
270
|
+
protoOf(sam$kotlin_Comparator$0).p3 = function () {
|
|
271
|
+
return this.l38_1;
|
|
274
272
|
};
|
|
275
273
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
276
274
|
var tmp;
|
|
277
275
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
278
276
|
var tmp_0;
|
|
279
277
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
280
|
-
tmp_0 = equals(this.
|
|
278
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
281
279
|
} else {
|
|
282
280
|
tmp_0 = false;
|
|
283
281
|
}
|
|
@@ -288,17 +286,17 @@ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
|
288
286
|
return tmp;
|
|
289
287
|
};
|
|
290
288
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
291
|
-
return hashCode(this.
|
|
289
|
+
return hashCode(this.p3());
|
|
292
290
|
};
|
|
293
291
|
function PythonEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
|
|
294
292
|
return '_' + it;
|
|
295
293
|
}
|
|
296
294
|
function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_0(name) {
|
|
297
|
-
var sanitized = name.
|
|
295
|
+
var sanitized = name.yt_1.c1() > 1 ? name.cu() : name.bu();
|
|
298
296
|
return new Name(listOf_0(sanitized));
|
|
299
297
|
}
|
|
300
298
|
function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_1(name) {
|
|
301
|
-
return new Name(listOf_0(name.
|
|
299
|
+
return new Name(listOf_0(name.cu()));
|
|
302
300
|
}
|
|
303
301
|
function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_2(it) {
|
|
304
302
|
return it;
|
|
@@ -307,11 +305,11 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
|
|
|
307
305
|
return function (stmt, tr) {
|
|
308
306
|
var tmp;
|
|
309
307
|
if (stmt instanceof ConstructorStatement) {
|
|
310
|
-
var tmp_0 = tr.
|
|
308
|
+
var tmp_0 = tr.w18(stmt.gu_1);
|
|
311
309
|
// Inline function 'kotlin.collections.map' call
|
|
312
|
-
var this_0 = stmt.
|
|
310
|
+
var this_0 = stmt.hu_1;
|
|
313
311
|
// Inline function 'kotlin.collections.mapTo' call
|
|
314
|
-
var destination = ArrayList_init_$Create$(this_0.
|
|
312
|
+
var destination = ArrayList_init_$Create$(this_0.c1());
|
|
315
313
|
// Inline function 'kotlin.collections.iterator' call
|
|
316
314
|
var _iterator__ex2g4s = this_0.m1().t();
|
|
317
315
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -320,7 +318,7 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
|
|
|
320
318
|
var k = item.n1();
|
|
321
319
|
// Inline function 'kotlin.collections.component2' call
|
|
322
320
|
var v = item.o1();
|
|
323
|
-
var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.
|
|
321
|
+
var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.z18(v));
|
|
324
322
|
destination.x(tmp$ret$3);
|
|
325
323
|
}
|
|
326
324
|
tmp = new ConstructorStatement(tmp_0, toMap(destination));
|
|
@@ -332,7 +330,7 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
|
|
|
332
330
|
}
|
|
333
331
|
function PythonEmitter$sanitizationConfig$delegate$lambda(this$0) {
|
|
334
332
|
return function () {
|
|
335
|
-
var tmp = Companion_getInstance_0().
|
|
333
|
+
var tmp = Companion_getInstance_0().n37();
|
|
336
334
|
var tmp_0 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda;
|
|
337
335
|
var tmp_1 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda_0;
|
|
338
336
|
var tmp_2 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda_1;
|
|
@@ -352,7 +350,7 @@ function PythonEmitter$emit$lambda(a, b) {
|
|
|
352
350
|
return compareValues(tmp, tmp$ret$2);
|
|
353
351
|
}
|
|
354
352
|
function emit$emitInitImport(this$0, def) {
|
|
355
|
-
return import_0('.' + sanitize(this$0, def.
|
|
353
|
+
return import_0('.' + sanitize(this$0, def.es()), sanitize(this$0, def.es()));
|
|
356
354
|
}
|
|
357
355
|
function PythonEmitter$emitGenerator$lambda(it) {
|
|
358
356
|
return startsWith(it, 'Wirespec.') || it === 'Wirespec';
|
|
@@ -371,17 +369,17 @@ function PythonEmitter$emitGenerator$lambda_2($generatorOwnName, $generatorRefs)
|
|
|
371
369
|
var tmp_0;
|
|
372
370
|
var tmp_1;
|
|
373
371
|
if (expr instanceof RawExpression) {
|
|
374
|
-
tmp_1 = endsWith(expr.
|
|
372
|
+
tmp_1 = endsWith(expr.gy_1, 'Generator');
|
|
375
373
|
} else {
|
|
376
374
|
tmp_1 = false;
|
|
377
375
|
}
|
|
378
376
|
if (tmp_1) {
|
|
379
|
-
tmp_0 = !(expr.
|
|
377
|
+
tmp_0 = !(expr.gy_1 === $generatorOwnName);
|
|
380
378
|
} else {
|
|
381
379
|
tmp_0 = false;
|
|
382
380
|
}
|
|
383
381
|
if (tmp_0) {
|
|
384
|
-
$generatorRefs.x(expr.
|
|
382
|
+
$generatorRefs.x(expr.gy_1);
|
|
385
383
|
tmp = Unit_instance;
|
|
386
384
|
}
|
|
387
385
|
return transformChildren_0(expr, t);
|
|
@@ -395,42 +393,42 @@ function PythonEmitter$emit$lambda_0(this$0) {
|
|
|
395
393
|
function PythonEmitter(packageName, emitShared) {
|
|
396
394
|
Companion_getInstance_0();
|
|
397
395
|
packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
|
|
398
|
-
emitShared = emitShared === VOID ? Companion_instance_1.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
396
|
+
emitShared = emitShared === VOID ? Companion_instance_1.gq() : emitShared;
|
|
397
|
+
this.e38_1 = packageName;
|
|
398
|
+
this.f38_1 = emitShared;
|
|
399
|
+
this.g38_1 = PythonGenerator_getInstance();
|
|
400
|
+
this.h38_1 = FileExtension_Python_getInstance();
|
|
403
401
|
var tmp = this;
|
|
404
|
-
tmp.
|
|
405
|
-
this.
|
|
402
|
+
tmp.i38_1 = lazy(PythonEmitter$sanitizationConfig$delegate$lambda(this));
|
|
403
|
+
this.j38_1 = "from __future__ import annotations\n\nimport enum\nfrom abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom typing import Any, Callable, Generic, Optional, Type, TypeVar\n\nT = TypeVar('T')\nV = TypeVar('V')\n\n\ndef _raise(msg: str) -> Any:\n raise Exception(msg)\n\n";
|
|
406
404
|
}
|
|
407
|
-
protoOf(PythonEmitter).
|
|
408
|
-
return this.
|
|
405
|
+
protoOf(PythonEmitter).l1b = function () {
|
|
406
|
+
return this.g38_1;
|
|
409
407
|
};
|
|
410
|
-
protoOf(PythonEmitter).
|
|
411
|
-
return this.
|
|
408
|
+
protoOf(PythonEmitter).xp = function () {
|
|
409
|
+
return this.h38_1;
|
|
412
410
|
};
|
|
413
|
-
protoOf(PythonEmitter).
|
|
411
|
+
protoOf(PythonEmitter).g1b = function () {
|
|
414
412
|
var source = replaceReflectInNonGenericStructFields(convert(Companion_instance_0.at('shared')));
|
|
415
413
|
var tmp;
|
|
416
|
-
if (this.
|
|
417
|
-
tmp = new File(Companion_getInstance().
|
|
414
|
+
if (this.f38_1.hq_1) {
|
|
415
|
+
tmp = new File(Companion_getInstance().au(this.e38_1.dt() + 'wirespec'), listOf_0(raw(this.j38_1 + PythonGenerator_getInstance().m1b(source))));
|
|
418
416
|
} else {
|
|
419
417
|
tmp = null;
|
|
420
418
|
}
|
|
421
419
|
return tmp;
|
|
422
420
|
};
|
|
423
|
-
protoOf(PythonEmitter).
|
|
421
|
+
protoOf(PythonEmitter).f1b = function (module_0, logger) {
|
|
424
422
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
425
|
-
var this_0 = new NonEmptyList(module_0.
|
|
423
|
+
var this_0 = new NonEmptyList(module_0.hp_1);
|
|
426
424
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
427
425
|
var tmp = PythonEmitter$emit$lambda;
|
|
428
426
|
var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
|
|
429
427
|
var tmp$ret$0 = sortedWith(this_0, tmp$ret$1);
|
|
430
428
|
var tmp_0 = toNonEmptyListOrNull(tmp$ret$0);
|
|
431
|
-
var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).
|
|
432
|
-
var emitted = emit.call(this, module_0.
|
|
433
|
-
var tmp0 = new NonEmptyList(module_0.
|
|
429
|
+
var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).en_1;
|
|
430
|
+
var emitted = emit.call(this, module_0.up(VOID, statements), logger);
|
|
431
|
+
var tmp0 = new NonEmptyList(module_0.hp_1);
|
|
434
432
|
var tmp$ret$2;
|
|
435
433
|
$l$block_0: {
|
|
436
434
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -455,7 +453,7 @@ protoOf(PythonEmitter).x1a = function (module_0, logger) {
|
|
|
455
453
|
tmp$ret$2 = false;
|
|
456
454
|
}
|
|
457
455
|
var hasEndpoints = tmp$ret$2;
|
|
458
|
-
var tmp_2 = Companion_getInstance().
|
|
456
|
+
var tmp_2 = Companion_getInstance().au(this.e38_1.dt() + '__init__');
|
|
459
457
|
// Inline function 'kotlin.collections.buildList' call
|
|
460
458
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
461
459
|
// Inline function 'kotlin.apply' call
|
|
@@ -466,11 +464,11 @@ protoOf(PythonEmitter).x1a = function (module_0, logger) {
|
|
|
466
464
|
this_1.x(import_0('.', 'client'));
|
|
467
465
|
}
|
|
468
466
|
this_1.x(import_0('.', 'wirespec'));
|
|
469
|
-
var tmp$ret$4 = this_1.
|
|
467
|
+
var tmp$ret$4 = this_1.r5();
|
|
470
468
|
var init = new File(tmp_2, tmp$ret$4);
|
|
471
|
-
var tmp_3 = Companion_getInstance().
|
|
469
|
+
var tmp_3 = Companion_getInstance().au(this.e38_1.dt() + 'endpoint/' + '__init__');
|
|
472
470
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
473
|
-
var tmp0_0 = new NonEmptyList(module_0.
|
|
471
|
+
var tmp0_0 = new NonEmptyList(module_0.hp_1);
|
|
474
472
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
475
473
|
var destination = ArrayList_init_$Create$_0();
|
|
476
474
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -490,9 +488,9 @@ protoOf(PythonEmitter).x1a = function (module_0, logger) {
|
|
|
490
488
|
destination_0.x(tmp$ret$12);
|
|
491
489
|
}
|
|
492
490
|
var initEndpoint = new File(tmp_3, destination_0);
|
|
493
|
-
var tmp_4 = Companion_getInstance().
|
|
491
|
+
var tmp_4 = Companion_getInstance().au(this.e38_1.dt() + 'model/' + '__init__');
|
|
494
492
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
495
|
-
var tmp0_1 = new NonEmptyList(module_0.
|
|
493
|
+
var tmp0_1 = new NonEmptyList(module_0.hp_1);
|
|
496
494
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
497
495
|
var destination_1 = ArrayList_init_$Create$_0();
|
|
498
496
|
var _iterator__ex2g4s_2 = tmp0_1.t();
|
|
@@ -512,8 +510,8 @@ protoOf(PythonEmitter).x1a = function (module_0, logger) {
|
|
|
512
510
|
destination_2.x(tmp$ret$17);
|
|
513
511
|
}
|
|
514
512
|
var initModel = new File(tmp_4, destination_2);
|
|
515
|
-
var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().
|
|
516
|
-
var tmp0_2 = dropLast(split(this.
|
|
513
|
+
var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().au(this.e38_1.dt() + 'client/' + '__init__'), emptyList())) : emptyList();
|
|
514
|
+
var tmp0_2 = dropLast(split(this.e38_1.bt_1, ['.']), 1);
|
|
517
515
|
var tmp$ret$18;
|
|
518
516
|
$l$block_1: {
|
|
519
517
|
// Inline function 'kotlin.collections.runningFold' call
|
|
@@ -550,17 +548,17 @@ protoOf(PythonEmitter).x1a = function (module_0, logger) {
|
|
|
550
548
|
var _iterator__ex2g4s_5 = this_3.t();
|
|
551
549
|
while (_iterator__ex2g4s_5.u()) {
|
|
552
550
|
var item_1 = _iterator__ex2g4s_5.v();
|
|
553
|
-
var tmp$ret$25 = new File(Companion_getInstance().
|
|
551
|
+
var tmp$ret$25 = new File(Companion_getInstance().au(item_1 + '/__init__'), emptyList());
|
|
554
552
|
destination_3.x(tmp$ret$25);
|
|
555
553
|
}
|
|
556
554
|
var parentInits = destination_3;
|
|
557
|
-
return this.
|
|
555
|
+
return this.f38_1.hq_1 ? NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(emitted, init), initEndpoint), initModel), initClient), parentInits) : NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(emitted, init), parentInits);
|
|
558
556
|
};
|
|
559
|
-
protoOf(PythonEmitter).
|
|
557
|
+
protoOf(PythonEmitter).ds = function (definition, module_0, logger) {
|
|
560
558
|
var file = emit_0.call(this, definition, module_0, logger);
|
|
561
|
-
return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.
|
|
559
|
+
return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.e38_1, definition);
|
|
562
560
|
};
|
|
563
|
-
protoOf(PythonEmitter).
|
|
561
|
+
protoOf(PythonEmitter).o1b = function (definition, module_0) {
|
|
564
562
|
var tmp;
|
|
565
563
|
if (definition instanceof Type) {
|
|
566
564
|
tmp = convertToGenerator_2(definition, module_0);
|
|
@@ -581,7 +579,7 @@ protoOf(PythonEmitter).g1b = function (definition, module_0) {
|
|
|
581
579
|
}
|
|
582
580
|
var generatorFile = tmp;
|
|
583
581
|
var sanitized = sanitizeNames(generatorFile, _get_sanitizationConfig__sns434(this));
|
|
584
|
-
var generatorOwnName = definition.
|
|
582
|
+
var generatorOwnName = definition.es().o1() + 'Generator';
|
|
585
583
|
var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
|
|
586
584
|
var tmp_1 = filterNot(tmp_0, PythonEmitter$emitGenerator$lambda);
|
|
587
585
|
var tmp_2 = filterNot(tmp_1, PythonEmitter$emitGenerator$lambda_0(generatorOwnName));
|
|
@@ -590,8 +588,8 @@ protoOf(PythonEmitter).g1b = function (definition, module_0) {
|
|
|
590
588
|
var generatorRefs = LinkedHashSet_init_$Create$();
|
|
591
589
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
592
590
|
var scope = new TransformScope(sanitized);
|
|
593
|
-
scope.
|
|
594
|
-
var tmp_3 = scope.
|
|
591
|
+
scope.v19(PythonEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
|
|
592
|
+
var tmp_3 = scope.e19_1;
|
|
595
593
|
isInterface(tmp_3, Element) || THROW_CCE();
|
|
596
594
|
// Inline function 'kotlin.collections.filter' call
|
|
597
595
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -634,9 +632,9 @@ protoOf(PythonEmitter).g1b = function (definition, module_0) {
|
|
|
634
632
|
destination_2.x(tmp$ret$14);
|
|
635
633
|
}
|
|
636
634
|
var modelImports = destination_2;
|
|
637
|
-
return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.
|
|
635
|
+
return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.e38_1, 'generator');
|
|
638
636
|
};
|
|
639
|
-
protoOf(PythonEmitter).
|
|
637
|
+
protoOf(PythonEmitter).vs = function (type, module_0) {
|
|
640
638
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
641
639
|
var this_0 = importReferences(type);
|
|
642
640
|
var set = HashSet_init_$Create$();
|
|
@@ -644,7 +642,7 @@ protoOf(PythonEmitter).us = function (type, module_0) {
|
|
|
644
642
|
var _iterator__ex2g4s = this_0.t();
|
|
645
643
|
while (_iterator__ex2g4s.u()) {
|
|
646
644
|
var e = _iterator__ex2g4s.v();
|
|
647
|
-
var key = e.
|
|
645
|
+
var key = e.b1a_1;
|
|
648
646
|
if (set.x(key)) {
|
|
649
647
|
list.x(e);
|
|
650
648
|
}
|
|
@@ -655,22 +653,11 @@ protoOf(PythonEmitter).us = function (type, module_0) {
|
|
|
655
653
|
var _iterator__ex2g4s_0 = list.t();
|
|
656
654
|
while (_iterator__ex2g4s_0.u()) {
|
|
657
655
|
var item = _iterator__ex2g4s_0.v();
|
|
658
|
-
var tmp$ret$4 = import_0('.' + item.
|
|
656
|
+
var tmp$ret$4 = import_0('.' + item.b1a_1, item.b1a_1);
|
|
659
657
|
destination.x(tmp$ret$4);
|
|
660
658
|
}
|
|
661
659
|
var typeImports = destination;
|
|
662
|
-
|
|
663
|
-
var this_1 = get_fields(type.lp_1);
|
|
664
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
665
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
666
|
-
var _iterator__ex2g4s_1 = this_1.t();
|
|
667
|
-
while (_iterator__ex2g4s_1.u()) {
|
|
668
|
-
var item_0 = _iterator__ex2g4s_1.v();
|
|
669
|
-
var tmp$ret$7 = item_0.op_1.o1();
|
|
670
|
-
destination_0.x(tmp$ret$7);
|
|
671
|
-
}
|
|
672
|
-
var fieldNames = toSet(destination_0);
|
|
673
|
-
var tmp = sanitizeNames(injectSelfReceiverToValidate(convertWithValidation(type, module_0), fieldNames), _get_sanitizationConfig__sns434(this));
|
|
660
|
+
var tmp = sanitizeNames(convert_0(type), _get_sanitizationConfig__sns434(this));
|
|
674
661
|
// Inline function 'kotlin.takeIf' call
|
|
675
662
|
var tmp_0;
|
|
676
663
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -679,20 +666,20 @@ protoOf(PythonEmitter).us = function (type, module_0) {
|
|
|
679
666
|
} else {
|
|
680
667
|
tmp_0 = null;
|
|
681
668
|
}
|
|
682
|
-
var tmp$ret$
|
|
683
|
-
return prependImports(tmp, tmp$ret$
|
|
669
|
+
var tmp$ret$5 = tmp_0;
|
|
670
|
+
return prependImports(tmp, tmp$ret$5);
|
|
684
671
|
};
|
|
685
|
-
protoOf(PythonEmitter).
|
|
686
|
-
var tmp =
|
|
672
|
+
protoOf(PythonEmitter).ts = function (enum_0, module_0) {
|
|
673
|
+
var tmp = convert_1(enum_0);
|
|
687
674
|
return sanitizeNames(sanitizeEnumEntries(tmp, PythonEmitter$emit$lambda_0(this)), _get_sanitizationConfig__sns434(this));
|
|
688
675
|
};
|
|
689
|
-
protoOf(PythonEmitter).
|
|
690
|
-
return sanitizeNames(
|
|
676
|
+
protoOf(PythonEmitter).js = function (union) {
|
|
677
|
+
return sanitizeNames(convert_2(union), _get_sanitizationConfig__sns434(this));
|
|
691
678
|
};
|
|
692
|
-
protoOf(PythonEmitter).
|
|
693
|
-
return sanitizeNames(replaceRefinedFunctions(
|
|
679
|
+
protoOf(PythonEmitter).os = function (refined) {
|
|
680
|
+
return sanitizeNames(replaceRefinedFunctions(convert_3(refined), refined), _get_sanitizationConfig__sns434(this));
|
|
694
681
|
};
|
|
695
|
-
protoOf(PythonEmitter).
|
|
682
|
+
protoOf(PythonEmitter).us = function (endpoint) {
|
|
696
683
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
697
684
|
var this_0 = importReferences(endpoint);
|
|
698
685
|
var set = HashSet_init_$Create$();
|
|
@@ -700,7 +687,7 @@ protoOf(PythonEmitter).ts = function (endpoint) {
|
|
|
700
687
|
var _iterator__ex2g4s = this_0.t();
|
|
701
688
|
while (_iterator__ex2g4s.u()) {
|
|
702
689
|
var e = _iterator__ex2g4s.v();
|
|
703
|
-
var key = e.
|
|
690
|
+
var key = e.b1a_1;
|
|
704
691
|
if (set.x(key)) {
|
|
705
692
|
list.x(e);
|
|
706
693
|
}
|
|
@@ -711,19 +698,19 @@ protoOf(PythonEmitter).ts = function (endpoint) {
|
|
|
711
698
|
var _iterator__ex2g4s_0 = list.t();
|
|
712
699
|
while (_iterator__ex2g4s_0.u()) {
|
|
713
700
|
var item = _iterator__ex2g4s_0.v();
|
|
714
|
-
var tmp$ret$4 = import_0('..model.' + item.
|
|
701
|
+
var tmp$ret$4 = import_0('..model.' + item.b1a_1, item.b1a_1);
|
|
715
702
|
destination.x(tmp$ret$4);
|
|
716
703
|
}
|
|
717
704
|
var endpointImports = destination;
|
|
718
705
|
// Inline function 'kotlin.let' call
|
|
719
|
-
var it = splitEndpointStructsToModuleLevel(
|
|
720
|
-
var tmp$ret$5 = it.
|
|
706
|
+
var it = splitEndpointStructsToModuleLevel(convert_4(endpoint));
|
|
707
|
+
var tmp$ret$5 = it.jv(VOID, plus(endpointImports, it.gv_1));
|
|
721
708
|
return sanitizeNames(snakeCaseHandlerAndCallMethods(tmp$ret$5), _get_sanitizationConfig__sns434(this));
|
|
722
709
|
};
|
|
723
|
-
protoOf(PythonEmitter).
|
|
724
|
-
return sanitizeNames(
|
|
710
|
+
protoOf(PythonEmitter).is = function (channel) {
|
|
711
|
+
return sanitizeNames(convert_5(channel), _get_sanitizationConfig__sns434(this));
|
|
725
712
|
};
|
|
726
|
-
protoOf(PythonEmitter).
|
|
713
|
+
protoOf(PythonEmitter).hs = function (rpc) {
|
|
727
714
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
728
715
|
var this_0 = importReferences(rpc);
|
|
729
716
|
var set = HashSet_init_$Create$();
|
|
@@ -731,7 +718,7 @@ protoOf(PythonEmitter).gs = function (rpc) {
|
|
|
731
718
|
var _iterator__ex2g4s = this_0.t();
|
|
732
719
|
while (_iterator__ex2g4s.u()) {
|
|
733
720
|
var e = _iterator__ex2g4s.v();
|
|
734
|
-
var key = e.
|
|
721
|
+
var key = e.b1a_1;
|
|
735
722
|
if (set.x(key)) {
|
|
736
723
|
list.x(e);
|
|
737
724
|
}
|
|
@@ -742,16 +729,16 @@ protoOf(PythonEmitter).gs = function (rpc) {
|
|
|
742
729
|
var _iterator__ex2g4s_0 = list.t();
|
|
743
730
|
while (_iterator__ex2g4s_0.u()) {
|
|
744
731
|
var item = _iterator__ex2g4s_0.v();
|
|
745
|
-
var tmp$ret$4 = import_0('..model.' + item.
|
|
732
|
+
var tmp$ret$4 = import_0('..model.' + item.b1a_1, item.b1a_1);
|
|
746
733
|
destination.x(tmp$ret$4);
|
|
747
734
|
}
|
|
748
735
|
var rpcImports = destination;
|
|
749
736
|
// Inline function 'kotlin.let' call
|
|
750
|
-
var it =
|
|
751
|
-
var tmp$ret$5 = it.
|
|
737
|
+
var it = convert_6(rpc);
|
|
738
|
+
var tmp$ret$5 = it.jv(VOID, plus(rpcImports, it.gv_1));
|
|
752
739
|
return sanitizeNames(tmp$ret$5, _get_sanitizationConfig__sns434(this));
|
|
753
740
|
};
|
|
754
|
-
protoOf(PythonEmitter).
|
|
741
|
+
protoOf(PythonEmitter).n1b = function (endpoint) {
|
|
755
742
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
756
743
|
var this_0 = importReferences(endpoint);
|
|
757
744
|
var set = HashSet_init_$Create$();
|
|
@@ -759,7 +746,7 @@ protoOf(PythonEmitter).f1b = function (endpoint) {
|
|
|
759
746
|
var _iterator__ex2g4s = this_0.t();
|
|
760
747
|
while (_iterator__ex2g4s.u()) {
|
|
761
748
|
var e = _iterator__ex2g4s.v();
|
|
762
|
-
var key = e.
|
|
749
|
+
var key = e.b1a_1;
|
|
763
750
|
if (set.x(key)) {
|
|
764
751
|
list.x(e);
|
|
765
752
|
}
|
|
@@ -770,17 +757,17 @@ protoOf(PythonEmitter).f1b = function (endpoint) {
|
|
|
770
757
|
var _iterator__ex2g4s_0 = list.t();
|
|
771
758
|
while (_iterator__ex2g4s_0.u()) {
|
|
772
759
|
var item = _iterator__ex2g4s_0.v();
|
|
773
|
-
var tmp$ret$4 = import_0('..model.' + item.
|
|
760
|
+
var tmp$ret$4 = import_0('..model.' + item.b1a_1, item.b1a_1);
|
|
774
761
|
destination.x(tmp$ret$4);
|
|
775
762
|
}
|
|
776
763
|
var modelImports = destination;
|
|
777
|
-
var endpointImport = import_0('..endpoint.' + endpoint.
|
|
778
|
-
var endpointName = endpoint.
|
|
764
|
+
var endpointImport = import_0('..endpoint.' + endpoint.gr_1.o1(), '*');
|
|
765
|
+
var endpointName = endpoint.gr_1.o1();
|
|
779
766
|
var file = flattenEndpointTypeRefs(snakeCaseClientFunctions(addSelfReceiverToClientFields(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)))), endpointName);
|
|
780
|
-
var subPackageName = plus_1(this.
|
|
781
|
-
return new File(Companion_getInstance().
|
|
767
|
+
var subPackageName = plus_1(this.e38_1, 'client');
|
|
768
|
+
return new File(Companion_getInstance().au(subPackageName.dt() + file.fv_1.du()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.gv_1));
|
|
782
769
|
};
|
|
783
|
-
protoOf(PythonEmitter).
|
|
770
|
+
protoOf(PythonEmitter).h1b = function (endpoints, logger) {
|
|
784
771
|
// Inline function 'kotlin.collections.flatMap' call
|
|
785
772
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
786
773
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -796,7 +783,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
796
783
|
var _iterator__ex2g4s_0 = destination.t();
|
|
797
784
|
while (_iterator__ex2g4s_0.u()) {
|
|
798
785
|
var e = _iterator__ex2g4s_0.v();
|
|
799
|
-
var key = e.
|
|
786
|
+
var key = e.b1a_1;
|
|
800
787
|
if (set.x(key)) {
|
|
801
788
|
list_0.x(e);
|
|
802
789
|
}
|
|
@@ -807,7 +794,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
807
794
|
var _iterator__ex2g4s_1 = list_0.t();
|
|
808
795
|
while (_iterator__ex2g4s_1.u()) {
|
|
809
796
|
var item = _iterator__ex2g4s_1.v();
|
|
810
|
-
var tmp$ret$7 = import_0('.model.' + item.
|
|
797
|
+
var tmp$ret$7 = import_0('.model.' + item.b1a_1, item.b1a_1);
|
|
811
798
|
destination_0.x(tmp$ret$7);
|
|
812
799
|
}
|
|
813
800
|
var modelImports = destination_0;
|
|
@@ -817,7 +804,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
817
804
|
var _iterator__ex2g4s_2 = endpoints.t();
|
|
818
805
|
while (_iterator__ex2g4s_2.u()) {
|
|
819
806
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
820
|
-
var tmp$ret$10 = import_0('.endpoint.' + item_0.
|
|
807
|
+
var tmp$ret$10 = import_0('.endpoint.' + item_0.gr_1.o1(), '*');
|
|
821
808
|
destination_1.x(tmp$ret$10);
|
|
822
809
|
}
|
|
823
810
|
var endpointImports = destination_1;
|
|
@@ -827,7 +814,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
827
814
|
var _iterator__ex2g4s_3 = endpoints.t();
|
|
828
815
|
while (_iterator__ex2g4s_3.u()) {
|
|
829
816
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
830
|
-
var tmp$ret$13 = import_0('.client.' + item_1.
|
|
817
|
+
var tmp$ret$13 = import_0('.client.' + item_1.gr_1.o1() + 'Client', item_1.gr_1.o1() + 'Client');
|
|
831
818
|
destination_2.x(tmp$ret$13);
|
|
832
819
|
}
|
|
833
820
|
var clientImports = destination_2;
|
|
@@ -838,7 +825,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
838
825
|
var _iterator__ex2g4s_4 = endpoints.t();
|
|
839
826
|
while (_iterator__ex2g4s_4.u()) {
|
|
840
827
|
var item_2 = _iterator__ex2g4s_4.v();
|
|
841
|
-
var tmp$ret$16 = item_2.
|
|
828
|
+
var tmp$ret$16 = item_2.gr_1.o1();
|
|
842
829
|
destination_3.x(tmp$ret$16);
|
|
843
830
|
}
|
|
844
831
|
var endpointNames = destination_3;
|
|
@@ -852,7 +839,7 @@ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
|
|
|
852
839
|
accumulator = flattenEndpointTypeRefs(acc, element_0);
|
|
853
840
|
}
|
|
854
841
|
var file = accumulator;
|
|
855
|
-
return new File(Companion_getInstance().
|
|
842
|
+
return new File(Companion_getInstance().au(this.e38_1.dt() + file.fv_1.du()), plus(plus(buildImports(this, '.wirespec'), allImports), file.gv_1));
|
|
856
843
|
};
|
|
857
844
|
function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
|
|
858
845
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
@@ -860,14 +847,14 @@ function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
|
|
|
860
847
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
861
848
|
var tmp = scope;
|
|
862
849
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
863
|
-
var this_0 = scope.
|
|
850
|
+
var this_0 = scope.e19_1;
|
|
864
851
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
865
852
|
// Inline function 'kotlin.apply' call
|
|
866
853
|
var this_1 = new TransformerBuilder();
|
|
867
|
-
this_1.
|
|
868
|
-
var tmp$ret$4 = this_1.
|
|
869
|
-
tmp.
|
|
870
|
-
var tmp_0 = scope.
|
|
854
|
+
this_1.y19(replaceReflectInNonGenericStructFields$lambda);
|
|
855
|
+
var tmp$ret$4 = this_1.t19();
|
|
856
|
+
tmp.e19_1 = transform(this_0, tmp$ret$4);
|
|
857
|
+
var tmp_0 = scope.e19_1;
|
|
871
858
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
872
859
|
}
|
|
873
860
|
function replaceRefinedFunctions(_this__u8e3s4, refined) {
|
|
@@ -876,14 +863,14 @@ function replaceRefinedFunctions(_this__u8e3s4, refined) {
|
|
|
876
863
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
877
864
|
var tmp = scope;
|
|
878
865
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
879
|
-
var this_0 = scope.
|
|
866
|
+
var this_0 = scope.e19_1;
|
|
880
867
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
881
868
|
// Inline function 'kotlin.apply' call
|
|
882
869
|
var this_1 = new TransformerBuilder();
|
|
883
|
-
this_1.
|
|
884
|
-
var tmp$ret$4 = this_1.
|
|
885
|
-
tmp.
|
|
886
|
-
var tmp_0 = scope.
|
|
870
|
+
this_1.y19(replaceRefinedFunctions$lambda(refined));
|
|
871
|
+
var tmp$ret$4 = this_1.t19();
|
|
872
|
+
tmp.e19_1 = transform(this_0, tmp$ret$4);
|
|
873
|
+
var tmp_0 = scope.e19_1;
|
|
887
874
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
888
875
|
}
|
|
889
876
|
function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
|
|
@@ -892,20 +879,20 @@ function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
|
|
|
892
879
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
893
880
|
var tmp = scope;
|
|
894
881
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
895
|
-
var this_0 = scope.
|
|
882
|
+
var this_0 = scope.e19_1;
|
|
896
883
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
897
884
|
// Inline function 'kotlin.apply' call
|
|
898
885
|
var this_1 = new TransformerBuilder();
|
|
899
|
-
this_1.
|
|
900
|
-
var tmp$ret$4 = this_1.
|
|
901
|
-
tmp.
|
|
902
|
-
var tmp_0 = scope.
|
|
886
|
+
this_1.y19(snakeCaseHandlerAndCallMethods$lambda);
|
|
887
|
+
var tmp$ret$4 = this_1.t19();
|
|
888
|
+
tmp.e19_1 = transform(this_0, tmp$ret$4);
|
|
889
|
+
var tmp_0 = scope.e19_1;
|
|
903
890
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
904
891
|
}
|
|
905
892
|
function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
|
|
906
893
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
907
894
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
908
|
-
var tmp0 = _this__u8e3s4.
|
|
895
|
+
var tmp0 = _this__u8e3s4.hv();
|
|
909
896
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
910
897
|
var destination = ArrayList_init_$Create$_0();
|
|
911
898
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -918,7 +905,7 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
|
|
|
918
905
|
var tmp$ret$0 = firstOrNull_0(destination);
|
|
919
906
|
var namespace = ensureNotNull(tmp$ret$0);
|
|
920
907
|
// Inline function 'kotlin.collections.partition' call
|
|
921
|
-
var this_0 = namespace.
|
|
908
|
+
var this_0 = namespace.mv_1;
|
|
922
909
|
var first = ArrayList_init_$Create$_0();
|
|
923
910
|
var second = ArrayList_init_$Create$_0();
|
|
924
911
|
var _iterator__ex2g4s_0 = this_0.t();
|
|
@@ -937,16 +924,16 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
|
|
|
937
924
|
}
|
|
938
925
|
}
|
|
939
926
|
var _destruct__k2r9zo = new Pair(first, second);
|
|
940
|
-
var moduleElements = _destruct__k2r9zo.
|
|
941
|
-
var classElements = _destruct__k2r9zo.
|
|
942
|
-
var endpointClass = new Namespace(namespace.
|
|
943
|
-
return new File(namespace.
|
|
927
|
+
var moduleElements = _destruct__k2r9zo.af();
|
|
928
|
+
var classElements = _destruct__k2r9zo.bf();
|
|
929
|
+
var endpointClass = new Namespace(namespace.lv_1, classElements, namespace.nv_1);
|
|
930
|
+
return new File(namespace.lv_1, plus_0(moduleElements, endpointClass));
|
|
944
931
|
}
|
|
945
932
|
function flattenEndpointTypeRefs(_this__u8e3s4, endpointName) {
|
|
946
933
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
947
934
|
var scope = new TransformScope(_this__u8e3s4);
|
|
948
|
-
scope.
|
|
949
|
-
var tmp = scope.
|
|
935
|
+
scope.k19(flattenEndpointTypeRefs$lambda(endpointName));
|
|
936
|
+
var tmp = scope.e19_1;
|
|
950
937
|
return isInterface(tmp, Element) ? tmp : THROW_CCE();
|
|
951
938
|
}
|
|
952
939
|
function snakeCaseClientFunctions(_this__u8e3s4) {
|
|
@@ -955,15 +942,15 @@ function snakeCaseClientFunctions(_this__u8e3s4) {
|
|
|
955
942
|
// Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
|
|
956
943
|
var tmp = scope;
|
|
957
944
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
|
|
958
|
-
var this_0 = scope.
|
|
945
|
+
var this_0 = scope.e19_1;
|
|
959
946
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
|
|
960
947
|
// Inline function 'kotlin.apply' call
|
|
961
948
|
var this_1 = new TransformerBuilder();
|
|
962
|
-
this_1.
|
|
963
|
-
var tmp$ret$4 = this_1.
|
|
964
|
-
tmp.
|
|
965
|
-
scope.
|
|
966
|
-
var tmp_0 = scope.
|
|
949
|
+
this_1.y19(snakeCaseClientFunctions$lambda);
|
|
950
|
+
var tmp$ret$4 = this_1.t19();
|
|
951
|
+
tmp.e19_1 = transform(this_0, tmp$ret$4);
|
|
952
|
+
scope.w19(snakeCaseClientFunctions$lambda_0);
|
|
953
|
+
var tmp_0 = scope.e19_1;
|
|
967
954
|
return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
|
|
968
955
|
}
|
|
969
956
|
function addSelfReceiverToClientFields(_this__u8e3s4) {
|
|
@@ -974,7 +961,7 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
|
|
|
974
961
|
} else {
|
|
975
962
|
// Inline function 'community.flock.wirespec.compiler.core.ir.findElement' call
|
|
976
963
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
977
|
-
var tmp0 = tmp0_safe_receiver.
|
|
964
|
+
var tmp0 = tmp0_safe_receiver.hv();
|
|
978
965
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
979
966
|
var destination = ArrayList_init_$Create$_0();
|
|
980
967
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -998,7 +985,7 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
|
|
|
998
985
|
var _iterator__ex2g4s_0 = tmp2_safe_receiver.t();
|
|
999
986
|
while (_iterator__ex2g4s_0.u()) {
|
|
1000
987
|
var item = _iterator__ex2g4s_0.v();
|
|
1001
|
-
var tmp$ret$5 = item.
|
|
988
|
+
var tmp$ret$5 = item.aw_1.bu();
|
|
1002
989
|
destination_0.x(tmp$ret$5);
|
|
1003
990
|
}
|
|
1004
991
|
tmp_0 = destination_0;
|
|
@@ -1010,8 +997,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
|
|
|
1010
997
|
return _this__u8e3s4;
|
|
1011
998
|
// Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
|
|
1012
999
|
var scope = new TransformScope(_this__u8e3s4);
|
|
1013
|
-
scope.
|
|
1014
|
-
var tmp_1 = scope.
|
|
1000
|
+
scope.w19(addSelfReceiverToClientFields$lambda(fieldNames));
|
|
1001
|
+
var tmp_1 = scope.e19_1;
|
|
1015
1002
|
return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
|
|
1016
1003
|
}
|
|
1017
1004
|
function replaceReflectAsTypeAny(_this__u8e3s4) {
|
|
@@ -1020,13 +1007,13 @@ function replaceReflectAsTypeAny(_this__u8e3s4) {
|
|
|
1020
1007
|
tmp = Custom_init_$Create$('type', listOf_0(Any_instance));
|
|
1021
1008
|
} else {
|
|
1022
1009
|
if (_this__u8e3s4 instanceof Nullable) {
|
|
1023
|
-
tmp = _this__u8e3s4.
|
|
1010
|
+
tmp = _this__u8e3s4.nu(replaceReflectAsTypeAny(_this__u8e3s4.vu_1));
|
|
1024
1011
|
} else {
|
|
1025
1012
|
if (_this__u8e3s4 instanceof Array_0) {
|
|
1026
|
-
tmp = _this__u8e3s4.
|
|
1013
|
+
tmp = _this__u8e3s4.nu(replaceReflectAsTypeAny(_this__u8e3s4.mu_1));
|
|
1027
1014
|
} else {
|
|
1028
1015
|
if (_this__u8e3s4 instanceof Dict) {
|
|
1029
|
-
tmp = _this__u8e3s4.
|
|
1016
|
+
tmp = _this__u8e3s4.qu(replaceReflectAsTypeAny(_this__u8e3s4.ou_1), replaceReflectAsTypeAny(_this__u8e3s4.pu_1));
|
|
1030
1017
|
} else {
|
|
1031
1018
|
tmp = _this__u8e3s4;
|
|
1032
1019
|
}
|
|
@@ -1041,12 +1028,12 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
|
|
|
1041
1028
|
var tmp$ret$0;
|
|
1042
1029
|
$l$block: {
|
|
1043
1030
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1044
|
-
if (!element.
|
|
1031
|
+
if (!element.kx_1.r()) {
|
|
1045
1032
|
tmp$ret$0 = element;
|
|
1046
1033
|
break $l$block;
|
|
1047
1034
|
}
|
|
1048
1035
|
// Inline function 'kotlin.collections.map' call
|
|
1049
|
-
var this_0 = element.
|
|
1036
|
+
var this_0 = element.gx_1;
|
|
1050
1037
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1051
1038
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1052
1039
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -1054,14 +1041,14 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
|
|
|
1054
1041
|
var item = _iterator__ex2g4s.v();
|
|
1055
1042
|
var tmp_0;
|
|
1056
1043
|
if (item instanceof Field) {
|
|
1057
|
-
tmp_0 = item.
|
|
1044
|
+
tmp_0 = item.kw(VOID, replaceReflectAsTypeAny(item.bw_1));
|
|
1058
1045
|
} else {
|
|
1059
1046
|
tmp_0 = item;
|
|
1060
1047
|
}
|
|
1061
1048
|
var tmp$ret$4 = tmp_0;
|
|
1062
1049
|
destination.x(tmp$ret$4);
|
|
1063
1050
|
}
|
|
1064
|
-
tmp$ret$0 = element.
|
|
1051
|
+
tmp$ret$0 = element.qx(VOID, destination);
|
|
1065
1052
|
}
|
|
1066
1053
|
tmp = tmp$ret$0;
|
|
1067
1054
|
} else {
|
|
@@ -1072,17 +1059,17 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
|
|
|
1072
1059
|
}
|
|
1073
1060
|
function replaceRefinedFunctions$lambda$lambda($constraintExpr) {
|
|
1074
1061
|
return function ($this$function) {
|
|
1075
|
-
$this$function.
|
|
1076
|
-
$this$function.
|
|
1077
|
-
$this$function.
|
|
1062
|
+
$this$function.a14('self', Custom_init_$Create$(''));
|
|
1063
|
+
$this$function.x13(Boolean_instance);
|
|
1064
|
+
$this$function.d14($constraintExpr);
|
|
1078
1065
|
return Unit_instance;
|
|
1079
1066
|
};
|
|
1080
1067
|
}
|
|
1081
1068
|
function replaceRefinedFunctions$lambda$lambda_0($toStringExpr) {
|
|
1082
1069
|
return function ($this$function) {
|
|
1083
|
-
$this$function.
|
|
1084
|
-
$this$function.
|
|
1085
|
-
$this$function.
|
|
1070
|
+
$this$function.a14('self', Custom_init_$Create$(''));
|
|
1071
|
+
$this$function.x13(String_instance);
|
|
1072
|
+
$this$function.d14(new RawExpression($toStringExpr));
|
|
1086
1073
|
return Unit_instance;
|
|
1087
1074
|
};
|
|
1088
1075
|
}
|
|
@@ -1091,7 +1078,7 @@ function replaceRefinedFunctions$lambda($refined) {
|
|
|
1091
1078
|
var tmp;
|
|
1092
1079
|
if (element instanceof Struct) {
|
|
1093
1080
|
// Inline function 'kotlin.collections.map' call
|
|
1094
|
-
var this_0 = element.
|
|
1081
|
+
var this_0 = element.jx_1;
|
|
1095
1082
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1096
1083
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1097
1084
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -1100,23 +1087,23 @@ function replaceRefinedFunctions$lambda($refined) {
|
|
|
1100
1087
|
var tmp_0;
|
|
1101
1088
|
var tmp_1;
|
|
1102
1089
|
if (item instanceof Function) {
|
|
1103
|
-
tmp_1 = item.
|
|
1090
|
+
tmp_1 = item.rx_1.equals(Companion_getInstance().au('validate'));
|
|
1104
1091
|
} else {
|
|
1105
1092
|
tmp_1 = false;
|
|
1106
1093
|
}
|
|
1107
1094
|
if (tmp_1) {
|
|
1108
|
-
var constraintExpr = convertConstraint($refined.
|
|
1095
|
+
var constraintExpr = convertConstraint($refined.ns_1, new FieldCall(new VariableReference(Companion_getInstance().au('self')), Companion_getInstance().au('value')));
|
|
1109
1096
|
tmp_0 = function_0('validate', VOID, VOID, replaceRefinedFunctions$lambda$lambda(constraintExpr));
|
|
1110
1097
|
} else {
|
|
1111
1098
|
var tmp_2;
|
|
1112
1099
|
if (item instanceof Function) {
|
|
1113
|
-
tmp_2 = item.
|
|
1100
|
+
tmp_2 = item.rx_1.equals(Companion_getInstance().au('toString'));
|
|
1114
1101
|
} else {
|
|
1115
1102
|
tmp_2 = false;
|
|
1116
1103
|
}
|
|
1117
1104
|
if (tmp_2) {
|
|
1118
1105
|
var tmp_3;
|
|
1119
|
-
if ($refined.
|
|
1106
|
+
if ($refined.ns_1.d1a_1 instanceof String_0) {
|
|
1120
1107
|
tmp_3 = 'self.value';
|
|
1121
1108
|
} else {
|
|
1122
1109
|
tmp_3 = 'str(self.value)';
|
|
@@ -1130,7 +1117,7 @@ function replaceRefinedFunctions$lambda($refined) {
|
|
|
1130
1117
|
var tmp$ret$3 = tmp_0;
|
|
1131
1118
|
destination.x(tmp$ret$3);
|
|
1132
1119
|
}
|
|
1133
|
-
tmp = element.
|
|
1120
|
+
tmp = element.qx(VOID, VOID, VOID, VOID, destination);
|
|
1134
1121
|
} else {
|
|
1135
1122
|
tmp = element;
|
|
1136
1123
|
}
|
|
@@ -1143,23 +1130,23 @@ function snakeCaseHandlerAndCallMethods$lambda(element, transformer) {
|
|
|
1143
1130
|
if (element instanceof Interface) {
|
|
1144
1131
|
var tmp$ret$0;
|
|
1145
1132
|
$l$block: {
|
|
1146
|
-
if (!element.
|
|
1133
|
+
if (!element.rv_1.equals(Companion_getInstance().au('Handler')) && !element.rv_1.equals(Companion_getInstance().au('Call'))) {
|
|
1147
1134
|
tmp$ret$0 = element;
|
|
1148
1135
|
break $l$block;
|
|
1149
1136
|
}
|
|
1150
1137
|
// Inline function 'kotlin.collections.map' call
|
|
1151
|
-
var this_0 = element.
|
|
1138
|
+
var this_0 = element.sv_1;
|
|
1152
1139
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1153
1140
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1154
1141
|
var _iterator__ex2g4s = this_0.t();
|
|
1155
1142
|
while (_iterator__ex2g4s.u()) {
|
|
1156
1143
|
var item = _iterator__ex2g4s.v();
|
|
1157
1144
|
var tmp0_safe_receiver = item instanceof Function ? item : null;
|
|
1158
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1145
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.dy(Companion_getInstance().au(item.rx_1.eu()));
|
|
1159
1146
|
var tmp$ret$3 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
|
|
1160
1147
|
destination.x(tmp$ret$3);
|
|
1161
1148
|
}
|
|
1162
|
-
tmp$ret$0 = element.
|
|
1149
|
+
tmp$ret$0 = element.zv(VOID, destination);
|
|
1163
1150
|
}
|
|
1164
1151
|
tmp = tmp$ret$0;
|
|
1165
1152
|
} else {
|
|
@@ -1174,17 +1161,17 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
|
|
|
1174
1161
|
if (!(type instanceof Custom)) {
|
|
1175
1162
|
tmp = type;
|
|
1176
1163
|
} else {
|
|
1177
|
-
if (!startsWith(type.
|
|
1164
|
+
if (!startsWith(type.ru_1.du(), $endpointName + '.')) {
|
|
1178
1165
|
tmp = type;
|
|
1179
1166
|
} else {
|
|
1180
|
-
var suffix = removePrefix(type.
|
|
1167
|
+
var suffix = removePrefix(type.ru_1.du(), $endpointName + '.');
|
|
1181
1168
|
switch (suffix) {
|
|
1182
1169
|
case 'Call':
|
|
1183
1170
|
case 'Handler':
|
|
1184
1171
|
tmp = type;
|
|
1185
1172
|
break;
|
|
1186
1173
|
default:
|
|
1187
|
-
tmp = type.
|
|
1174
|
+
tmp = type.uu(Companion_getInstance().au(suffix));
|
|
1188
1175
|
break;
|
|
1189
1176
|
}
|
|
1190
1177
|
}
|
|
@@ -1195,7 +1182,7 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
|
|
|
1195
1182
|
function snakeCaseClientFunctions$lambda(element, transformer) {
|
|
1196
1183
|
var tmp;
|
|
1197
1184
|
if (element instanceof Function) {
|
|
1198
|
-
tmp = element.
|
|
1185
|
+
tmp = element.dy(Companion_getInstance().au(element.rx_1.eu()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().au('self'), Custom_init_$Create$(''))), element.tx_1));
|
|
1199
1186
|
} else {
|
|
1200
1187
|
tmp = element;
|
|
1201
1188
|
}
|
|
@@ -1205,21 +1192,21 @@ function snakeCaseClientFunctions$lambda(element, transformer) {
|
|
|
1205
1192
|
function snakeCaseClientFunctions$lambda_0(stmt, tr) {
|
|
1206
1193
|
var tmp;
|
|
1207
1194
|
if (stmt instanceof FunctionCall) {
|
|
1208
|
-
var nameStr = stmt.
|
|
1209
|
-
var newName = contains(nameStr, '.') ? stmt.
|
|
1210
|
-
var tmp1_safe_receiver = stmt.
|
|
1195
|
+
var nameStr = stmt.qy_1.bu();
|
|
1196
|
+
var newName = contains(nameStr, '.') ? stmt.qy_1 : Companion_getInstance().au(Companion_getInstance().au(nameStr).eu());
|
|
1197
|
+
var tmp1_safe_receiver = stmt.oy_1;
|
|
1211
1198
|
var tmp_0;
|
|
1212
1199
|
if (tmp1_safe_receiver == null) {
|
|
1213
1200
|
tmp_0 = null;
|
|
1214
1201
|
} else {
|
|
1215
1202
|
// Inline function 'kotlin.let' call
|
|
1216
|
-
tmp_0 = tr.
|
|
1203
|
+
tmp_0 = tr.z18(tmp1_safe_receiver);
|
|
1217
1204
|
}
|
|
1218
1205
|
var tmp2_receiver = tmp_0;
|
|
1219
1206
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1220
|
-
var this_0 = stmt.
|
|
1207
|
+
var this_0 = stmt.ry_1;
|
|
1221
1208
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1222
|
-
var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.
|
|
1209
|
+
var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.c1()));
|
|
1223
1210
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
1224
1211
|
var _iterator__ex2g4s = this_0.m1().t();
|
|
1225
1212
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -1227,10 +1214,10 @@ function snakeCaseClientFunctions$lambda_0(stmt, tr) {
|
|
|
1227
1214
|
var tmp_1 = element.n1();
|
|
1228
1215
|
// Inline function 'kotlin.collections.component2' call
|
|
1229
1216
|
var v = element.o1();
|
|
1230
|
-
var tmp$ret$6 = tr.
|
|
1231
|
-
destination.
|
|
1217
|
+
var tmp$ret$6 = tr.z18(v);
|
|
1218
|
+
destination.w2(tmp_1, tmp$ret$6);
|
|
1232
1219
|
}
|
|
1233
|
-
var tmp4_isAwait = !(stmt.
|
|
1220
|
+
var tmp4_isAwait = !(stmt.oy_1 == null);
|
|
1234
1221
|
tmp = new FunctionCall(tmp2_receiver, VOID, newName, destination, tmp4_isAwait);
|
|
1235
1222
|
} else {
|
|
1236
1223
|
tmp = transformChildren(stmt, tr);
|
|
@@ -1242,23 +1229,23 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
|
|
|
1242
1229
|
var tmp;
|
|
1243
1230
|
var tmp_0;
|
|
1244
1231
|
if (stmt instanceof FieldCall) {
|
|
1245
|
-
tmp_0 = (stmt.
|
|
1232
|
+
tmp_0 = (stmt.kz_1 == null && $fieldNames.i1(stmt.lz_1.bu()));
|
|
1246
1233
|
} else {
|
|
1247
1234
|
tmp_0 = false;
|
|
1248
1235
|
}
|
|
1249
1236
|
if (tmp_0) {
|
|
1250
|
-
tmp = new FieldCall(new VariableReference(Companion_getInstance().
|
|
1237
|
+
tmp = new FieldCall(new VariableReference(Companion_getInstance().au('self')), stmt.lz_1);
|
|
1251
1238
|
} else {
|
|
1252
1239
|
if (stmt instanceof FieldCall) {
|
|
1253
|
-
var tmp1_safe_receiver = stmt.
|
|
1240
|
+
var tmp1_safe_receiver = stmt.kz_1;
|
|
1254
1241
|
var tmp_1;
|
|
1255
1242
|
if (tmp1_safe_receiver == null) {
|
|
1256
1243
|
tmp_1 = null;
|
|
1257
1244
|
} else {
|
|
1258
1245
|
// Inline function 'kotlin.let' call
|
|
1259
|
-
tmp_1 = tr.
|
|
1246
|
+
tmp_1 = tr.z18(tmp1_safe_receiver);
|
|
1260
1247
|
}
|
|
1261
|
-
tmp = new FieldCall(tmp_1, stmt.
|
|
1248
|
+
tmp = new FieldCall(tmp_1, stmt.lz_1);
|
|
1262
1249
|
} else {
|
|
1263
1250
|
tmp = transformChildren(stmt, tr);
|
|
1264
1251
|
}
|
|
@@ -1267,10 +1254,10 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
|
|
|
1267
1254
|
};
|
|
1268
1255
|
}
|
|
1269
1256
|
//region block: post-declaration
|
|
1270
|
-
protoOf(PythonEmitter).
|
|
1271
|
-
protoOf(PythonEmitter).
|
|
1272
|
-
protoOf(PythonEmitter).
|
|
1273
|
-
protoOf(PythonEmitter).
|
|
1257
|
+
protoOf(PythonEmitter).i1b = get_extensions;
|
|
1258
|
+
protoOf(PythonEmitter).uo = emit_1;
|
|
1259
|
+
protoOf(PythonEmitter).k1b = beforeGenerate;
|
|
1260
|
+
protoOf(PythonEmitter).wp = get_supportsDefaults;
|
|
1274
1261
|
//endregion
|
|
1275
1262
|
//region block: exports
|
|
1276
1263
|
export {
|