@flock/wirespec 0.22.4 → 0.22.5

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.
Files changed (43) hide show
  1. package/arrow-arrow-core.mjs +5 -0
  2. package/arrow-arrow-core.mjs.map +1 -1
  3. package/clikt-clikt-mordant.mjs +79 -79
  4. package/clikt-clikt.mjs +1335 -1335
  5. package/colormath-root-colormath.mjs +433 -433
  6. package/kotlin-kotlin-stdlib.mjs +114 -50
  7. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  8. package/kotlin-openapi-bindings.mjs +10209 -10209
  9. package/kotlin-rgxgen.mjs +1760 -1760
  10. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  11. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1802 -1802
  12. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1503 -1503
  13. package/mordant-mordant.mjs +1202 -1202
  14. package/package.json +1 -1
  15. package/wirespec-src-compiler-core.mjs +2897 -2620
  16. package/wirespec-src-compiler-core.mjs.map +1 -1
  17. package/wirespec-src-compiler-emitters-java.mjs +106 -106
  18. package/wirespec-src-compiler-emitters-kotlin.mjs +136 -116
  19. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-python.mjs +84 -84
  21. package/wirespec-src-compiler-emitters-rust.mjs +209 -209
  22. package/wirespec-src-compiler-emitters-scala.mjs +85 -85
  23. package/wirespec-src-compiler-emitters-typescript.mjs +108 -108
  24. package/wirespec-src-compiler-emitters-wirespec.mjs +78 -78
  25. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  26. package/wirespec-src-compiler-lib.mjs +194 -194
  27. package/wirespec-src-converter-asyncapi.mjs +532 -532
  28. package/wirespec-src-converter-avro.mjs +566 -510
  29. package/wirespec-src-converter-avro.mjs.map +1 -1
  30. package/wirespec-src-converter-common.mjs +11 -11
  31. package/wirespec-src-converter-graphql.mjs +936 -936
  32. package/wirespec-src-converter-openapi.mjs +435 -435
  33. package/wirespec-src-ide-lsp.mjs +1358 -1358
  34. package/wirespec-src-plugin-arguments.mjs +413 -214
  35. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  36. package/wirespec-src-plugin-cli.mjs +135 -99
  37. package/wirespec-src-plugin-cli.mjs.map +1 -1
  38. package/wirespec-src-plugin-extensions.mjs +4357 -0
  39. package/wirespec-src-plugin-extensions.mjs.map +1 -0
  40. package/wirespec-src-plugin-npm.d.mts +43 -1
  41. package/wirespec-src-plugin-npm.mjs +230 -54
  42. package/wirespec-src-plugin-npm.mjs.map +1 -1
  43. package/wirespec-src-tools-generator.mjs +13 -13
@@ -160,7 +160,7 @@ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, V
160
160
  initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, VOID, [IrEmitter]);
161
161
  //endregion
162
162
  function _get_sanitizationConfig__sns434($this) {
163
- var tmp0 = $this.q20_1;
163
+ var tmp0 = $this.u35_1;
164
164
  var tmp = KProperty1;
165
165
  // Inline function 'kotlin.getValue' call
166
166
  getPropertyCallableRef('sanitizationConfig', 1, tmp, PythonEmitter$_get_sanitizationConfig_$ref_crpgpd(), null);
@@ -223,7 +223,7 @@ function sanitize($this, $receiver) {
223
223
  return tmp_2;
224
224
  }
225
225
  function sanitizeKeywords($this, $receiver) {
226
- return Companion_getInstance_0().v1z().i1($receiver) ? '_' + $receiver : $receiver;
226
+ return Companion_getInstance_0().z34().i1($receiver) ? '_' + $receiver : $receiver;
227
227
  }
228
228
  function sanitizeEnum($this, $receiver) {
229
229
  // Inline function 'kotlin.let' call
@@ -249,10 +249,10 @@ function buildImports($this, wirespecPath) {
249
249
  }
250
250
  function Companion() {
251
251
  Companion_instance_2 = this;
252
- this.s20_1 = PythonGenerator_getInstance();
252
+ this.w35_1 = PythonGenerator_getInstance();
253
253
  }
254
- protoOf(Companion).v1z = function () {
255
- return this.s20_1.o1a_1;
254
+ protoOf(Companion).z34 = function () {
255
+ return this.w35_1.n1b_1;
256
256
  };
257
257
  var Companion_instance_2;
258
258
  function Companion_getInstance_0() {
@@ -261,16 +261,16 @@ function Companion_getInstance_0() {
261
261
  return Companion_instance_2;
262
262
  }
263
263
  function sam$kotlin_Comparator$0(function_0) {
264
- this.t20_1 = function_0;
264
+ this.x35_1 = function_0;
265
265
  }
266
266
  protoOf(sam$kotlin_Comparator$0).yd = function (a, b) {
267
- return this.t20_1(a, b);
267
+ return this.x35_1(a, b);
268
268
  };
269
269
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
270
270
  return this.yd(a, b);
271
271
  };
272
272
  protoOf(sam$kotlin_Comparator$0).o3 = function () {
273
- return this.t20_1;
273
+ return this.x35_1;
274
274
  };
275
275
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
276
276
  var tmp;
@@ -307,7 +307,7 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
307
307
  return function (stmt, tr) {
308
308
  var tmp;
309
309
  if (stmt instanceof ConstructorStatement) {
310
- var tmp_0 = tr.m17(stmt.dv_1);
310
+ var tmp_0 = tr.i18(stmt.dv_1);
311
311
  // Inline function 'kotlin.collections.map' call
312
312
  var this_0 = stmt.ev_1;
313
313
  // Inline function 'kotlin.collections.mapTo' call
@@ -320,7 +320,7 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
320
320
  var k = item.n1();
321
321
  // Inline function 'kotlin.collections.component2' call
322
322
  var v = item.o1();
323
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.p17(v));
323
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.l18(v));
324
324
  destination.x(tmp$ret$3);
325
325
  }
326
326
  tmp = new ConstructorStatement(tmp_0, toMap(destination));
@@ -332,7 +332,7 @@ function PythonEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
332
332
  }
333
333
  function PythonEmitter$sanitizationConfig$delegate$lambda(this$0) {
334
334
  return function () {
335
- var tmp = Companion_getInstance_0().v1z();
335
+ var tmp = Companion_getInstance_0().z34();
336
336
  var tmp_0 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda;
337
337
  var tmp_1 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda_0;
338
338
  var tmp_2 = PythonEmitter$sanitizationConfig$delegate$lambda$lambda_1;
@@ -396,31 +396,31 @@ function PythonEmitter(packageName, emitShared) {
396
396
  Companion_getInstance_0();
397
397
  packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
398
398
  emitShared = emitShared === VOID ? Companion_instance_1.fq() : emitShared;
399
- this.m20_1 = packageName;
400
- this.n20_1 = emitShared;
401
- this.o20_1 = PythonGenerator_getInstance();
402
- this.p20_1 = FileExtension_Python_getInstance();
399
+ this.q35_1 = packageName;
400
+ this.r35_1 = emitShared;
401
+ this.s35_1 = PythonGenerator_getInstance();
402
+ this.t35_1 = FileExtension_Python_getInstance();
403
403
  var tmp = this;
404
- tmp.q20_1 = lazy(PythonEmitter$sanitizationConfig$delegate$lambda(this));
405
- this.r20_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";
404
+ tmp.u35_1 = lazy(PythonEmitter$sanitizationConfig$delegate$lambda(this));
405
+ this.v35_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
406
  }
407
- protoOf(PythonEmitter).h1a = function () {
408
- return this.o20_1;
407
+ protoOf(PythonEmitter).d1b = function () {
408
+ return this.s35_1;
409
409
  };
410
410
  protoOf(PythonEmitter).wp = function () {
411
- return this.p20_1;
411
+ return this.t35_1;
412
412
  };
413
- protoOf(PythonEmitter).c1a = function () {
413
+ protoOf(PythonEmitter).y1a = function () {
414
414
  var source = replaceReflectInNonGenericStructFields(convert(Companion_instance_0.at('shared')));
415
415
  var tmp;
416
- if (this.n20_1.gq_1) {
417
- tmp = new File(Companion_getInstance().wt(this.m20_1.dt() + 'wirespec'), listOf_0(raw(this.r20_1 + PythonGenerator_getInstance().i1a(source))));
416
+ if (this.r35_1.gq_1) {
417
+ tmp = new File(Companion_getInstance().wt(this.q35_1.dt() + 'wirespec'), listOf_0(raw(this.v35_1 + PythonGenerator_getInstance().e1b(source))));
418
418
  } else {
419
419
  tmp = null;
420
420
  }
421
421
  return tmp;
422
422
  };
423
- protoOf(PythonEmitter).b1a = function (module_0, logger) {
423
+ protoOf(PythonEmitter).x1a = function (module_0, logger) {
424
424
  // Inline function 'kotlin.collections.sortedBy' call
425
425
  var this_0 = new NonEmptyList(module_0.gp_1);
426
426
  // Inline function 'kotlin.comparisons.compareBy' call
@@ -455,7 +455,7 @@ protoOf(PythonEmitter).b1a = function (module_0, logger) {
455
455
  tmp$ret$2 = false;
456
456
  }
457
457
  var hasEndpoints = tmp$ret$2;
458
- var tmp_2 = Companion_getInstance().wt(this.m20_1.dt() + '__init__');
458
+ var tmp_2 = Companion_getInstance().wt(this.q35_1.dt() + '__init__');
459
459
  // Inline function 'kotlin.collections.buildList' call
460
460
  // Inline function 'kotlin.collections.buildListInternal' call
461
461
  // Inline function 'kotlin.apply' call
@@ -468,7 +468,7 @@ protoOf(PythonEmitter).b1a = function (module_0, logger) {
468
468
  this_1.x(import_0('.', 'wirespec'));
469
469
  var tmp$ret$4 = this_1.q5();
470
470
  var init = new File(tmp_2, tmp$ret$4);
471
- var tmp_3 = Companion_getInstance().wt(this.m20_1.dt() + 'endpoint/' + '__init__');
471
+ var tmp_3 = Companion_getInstance().wt(this.q35_1.dt() + 'endpoint/' + '__init__');
472
472
  // Inline function 'kotlin.collections.filterIsInstance' call
473
473
  var tmp0_0 = new NonEmptyList(module_0.gp_1);
474
474
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
@@ -490,7 +490,7 @@ protoOf(PythonEmitter).b1a = function (module_0, logger) {
490
490
  destination_0.x(tmp$ret$12);
491
491
  }
492
492
  var initEndpoint = new File(tmp_3, destination_0);
493
- var tmp_4 = Companion_getInstance().wt(this.m20_1.dt() + 'model/' + '__init__');
493
+ var tmp_4 = Companion_getInstance().wt(this.q35_1.dt() + 'model/' + '__init__');
494
494
  // Inline function 'kotlin.collections.filterIsInstance' call
495
495
  var tmp0_1 = new NonEmptyList(module_0.gp_1);
496
496
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
@@ -512,8 +512,8 @@ protoOf(PythonEmitter).b1a = function (module_0, logger) {
512
512
  destination_2.x(tmp$ret$17);
513
513
  }
514
514
  var initModel = new File(tmp_4, destination_2);
515
- var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().wt(this.m20_1.dt() + 'client/' + '__init__'), emptyList())) : emptyList();
516
- var tmp0_2 = dropLast(split(this.m20_1.bt_1, ['.']), 1);
515
+ var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().wt(this.q35_1.dt() + 'client/' + '__init__'), emptyList())) : emptyList();
516
+ var tmp0_2 = dropLast(split(this.q35_1.bt_1, ['.']), 1);
517
517
  var tmp$ret$18;
518
518
  $l$block_1: {
519
519
  // Inline function 'kotlin.collections.runningFold' call
@@ -554,13 +554,13 @@ protoOf(PythonEmitter).b1a = function (module_0, logger) {
554
554
  destination_3.x(tmp$ret$25);
555
555
  }
556
556
  var parentInits = destination_3;
557
- return this.n20_1.gq_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);
557
+ return this.r35_1.gq_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
558
  };
559
559
  protoOf(PythonEmitter).cs = function (definition, module_0, logger) {
560
560
  var file = emit_0.call(this, definition, module_0, logger);
561
- return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.m20_1, definition);
561
+ return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.q35_1, definition);
562
562
  };
563
- protoOf(PythonEmitter).k1a = function (definition, module_0) {
563
+ protoOf(PythonEmitter).g1b = function (definition, module_0) {
564
564
  var tmp;
565
565
  if (definition instanceof Type) {
566
566
  tmp = convertToGenerator_2(definition, module_0);
@@ -590,8 +590,8 @@ protoOf(PythonEmitter).k1a = function (definition, module_0) {
590
590
  var generatorRefs = LinkedHashSet_init_$Create$();
591
591
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
592
592
  var scope = new TransformScope(sanitized);
593
- scope.l18(PythonEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
594
- var tmp_3 = scope.u17_1;
593
+ scope.h19(PythonEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
594
+ var tmp_3 = scope.q18_1;
595
595
  isInterface(tmp_3, Element) || THROW_CCE();
596
596
  // Inline function 'kotlin.collections.filter' call
597
597
  // Inline function 'kotlin.collections.filterTo' call
@@ -634,7 +634,7 @@ protoOf(PythonEmitter).k1a = function (definition, module_0) {
634
634
  destination_2.x(tmp$ret$14);
635
635
  }
636
636
  var modelImports = destination_2;
637
- return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.m20_1, 'generator');
637
+ return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.q35_1, 'generator');
638
638
  };
639
639
  protoOf(PythonEmitter).us = function (type, module_0) {
640
640
  // Inline function 'kotlin.collections.distinctBy' call
@@ -644,7 +644,7 @@ protoOf(PythonEmitter).us = function (type, module_0) {
644
644
  var _iterator__ex2g4s = this_0.t();
645
645
  while (_iterator__ex2g4s.u()) {
646
646
  var e = _iterator__ex2g4s.v();
647
- var key = e.r18_1;
647
+ var key = e.n19_1;
648
648
  if (set.x(key)) {
649
649
  list.x(e);
650
650
  }
@@ -655,7 +655,7 @@ protoOf(PythonEmitter).us = function (type, module_0) {
655
655
  var _iterator__ex2g4s_0 = list.t();
656
656
  while (_iterator__ex2g4s_0.u()) {
657
657
  var item = _iterator__ex2g4s_0.v();
658
- var tmp$ret$4 = import_0('.' + item.r18_1, item.r18_1);
658
+ var tmp$ret$4 = import_0('.' + item.n19_1, item.n19_1);
659
659
  destination.x(tmp$ret$4);
660
660
  }
661
661
  var typeImports = destination;
@@ -700,7 +700,7 @@ protoOf(PythonEmitter).ts = function (endpoint) {
700
700
  var _iterator__ex2g4s = this_0.t();
701
701
  while (_iterator__ex2g4s.u()) {
702
702
  var e = _iterator__ex2g4s.v();
703
- var key = e.r18_1;
703
+ var key = e.n19_1;
704
704
  if (set.x(key)) {
705
705
  list.x(e);
706
706
  }
@@ -711,7 +711,7 @@ protoOf(PythonEmitter).ts = function (endpoint) {
711
711
  var _iterator__ex2g4s_0 = list.t();
712
712
  while (_iterator__ex2g4s_0.u()) {
713
713
  var item = _iterator__ex2g4s_0.v();
714
- var tmp$ret$4 = import_0('..model.' + item.r18_1, item.r18_1);
714
+ var tmp$ret$4 = import_0('..model.' + item.n19_1, item.n19_1);
715
715
  destination.x(tmp$ret$4);
716
716
  }
717
717
  var endpointImports = destination;
@@ -731,7 +731,7 @@ protoOf(PythonEmitter).gs = function (rpc) {
731
731
  var _iterator__ex2g4s = this_0.t();
732
732
  while (_iterator__ex2g4s.u()) {
733
733
  var e = _iterator__ex2g4s.v();
734
- var key = e.r18_1;
734
+ var key = e.n19_1;
735
735
  if (set.x(key)) {
736
736
  list.x(e);
737
737
  }
@@ -742,7 +742,7 @@ protoOf(PythonEmitter).gs = function (rpc) {
742
742
  var _iterator__ex2g4s_0 = list.t();
743
743
  while (_iterator__ex2g4s_0.u()) {
744
744
  var item = _iterator__ex2g4s_0.v();
745
- var tmp$ret$4 = import_0('..model.' + item.r18_1, item.r18_1);
745
+ var tmp$ret$4 = import_0('..model.' + item.n19_1, item.n19_1);
746
746
  destination.x(tmp$ret$4);
747
747
  }
748
748
  var rpcImports = destination;
@@ -751,7 +751,7 @@ protoOf(PythonEmitter).gs = function (rpc) {
751
751
  var tmp$ret$5 = it.lv(VOID, plus(rpcImports, it.iv_1));
752
752
  return sanitizeNames(tmp$ret$5, _get_sanitizationConfig__sns434(this));
753
753
  };
754
- protoOf(PythonEmitter).j1a = function (endpoint) {
754
+ protoOf(PythonEmitter).f1b = function (endpoint) {
755
755
  // Inline function 'kotlin.collections.distinctBy' call
756
756
  var this_0 = importReferences(endpoint);
757
757
  var set = HashSet_init_$Create$();
@@ -759,7 +759,7 @@ protoOf(PythonEmitter).j1a = function (endpoint) {
759
759
  var _iterator__ex2g4s = this_0.t();
760
760
  while (_iterator__ex2g4s.u()) {
761
761
  var e = _iterator__ex2g4s.v();
762
- var key = e.r18_1;
762
+ var key = e.n19_1;
763
763
  if (set.x(key)) {
764
764
  list.x(e);
765
765
  }
@@ -770,17 +770,17 @@ protoOf(PythonEmitter).j1a = function (endpoint) {
770
770
  var _iterator__ex2g4s_0 = list.t();
771
771
  while (_iterator__ex2g4s_0.u()) {
772
772
  var item = _iterator__ex2g4s_0.v();
773
- var tmp$ret$4 = import_0('..model.' + item.r18_1, item.r18_1);
773
+ var tmp$ret$4 = import_0('..model.' + item.n19_1, item.n19_1);
774
774
  destination.x(tmp$ret$4);
775
775
  }
776
776
  var modelImports = destination;
777
777
  var endpointImport = import_0('..endpoint.' + endpoint.fr_1.o1(), '*');
778
778
  var endpointName = endpoint.fr_1.o1();
779
779
  var file = flattenEndpointTypeRefs(snakeCaseClientFunctions(addSelfReceiverToClientFields(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)))), endpointName);
780
- var subPackageName = plus_1(this.m20_1, 'client');
780
+ var subPackageName = plus_1(this.q35_1, 'client');
781
781
  return new File(Companion_getInstance().wt(subPackageName.dt() + file.hv_1.zt()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.iv_1));
782
782
  };
783
- protoOf(PythonEmitter).d1a = function (endpoints, logger) {
783
+ protoOf(PythonEmitter).z1a = function (endpoints, logger) {
784
784
  // Inline function 'kotlin.collections.flatMap' call
785
785
  // Inline function 'kotlin.collections.flatMapTo' call
786
786
  var destination = ArrayList_init_$Create$_0();
@@ -796,7 +796,7 @@ protoOf(PythonEmitter).d1a = function (endpoints, logger) {
796
796
  var _iterator__ex2g4s_0 = destination.t();
797
797
  while (_iterator__ex2g4s_0.u()) {
798
798
  var e = _iterator__ex2g4s_0.v();
799
- var key = e.r18_1;
799
+ var key = e.n19_1;
800
800
  if (set.x(key)) {
801
801
  list_0.x(e);
802
802
  }
@@ -807,7 +807,7 @@ protoOf(PythonEmitter).d1a = function (endpoints, logger) {
807
807
  var _iterator__ex2g4s_1 = list_0.t();
808
808
  while (_iterator__ex2g4s_1.u()) {
809
809
  var item = _iterator__ex2g4s_1.v();
810
- var tmp$ret$7 = import_0('.model.' + item.r18_1, item.r18_1);
810
+ var tmp$ret$7 = import_0('.model.' + item.n19_1, item.n19_1);
811
811
  destination_0.x(tmp$ret$7);
812
812
  }
813
813
  var modelImports = destination_0;
@@ -852,7 +852,7 @@ protoOf(PythonEmitter).d1a = function (endpoints, logger) {
852
852
  accumulator = flattenEndpointTypeRefs(acc, element_0);
853
853
  }
854
854
  var file = accumulator;
855
- return new File(Companion_getInstance().wt(this.m20_1.dt() + file.hv_1.zt()), plus(plus(buildImports(this, '.wirespec'), allImports), file.iv_1));
855
+ return new File(Companion_getInstance().wt(this.q35_1.dt() + file.hv_1.zt()), plus(plus(buildImports(this, '.wirespec'), allImports), file.iv_1));
856
856
  };
857
857
  function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
858
858
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
@@ -860,14 +860,14 @@ function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
860
860
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
861
861
  var tmp = scope;
862
862
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
863
- var this_0 = scope.u17_1;
863
+ var this_0 = scope.q18_1;
864
864
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
865
865
  // Inline function 'kotlin.apply' call
866
866
  var this_1 = new TransformerBuilder();
867
- this_1.o18(replaceReflectInNonGenericStructFields$lambda);
868
- var tmp$ret$4 = this_1.j18();
869
- tmp.u17_1 = transform(this_0, tmp$ret$4);
870
- var tmp_0 = scope.u17_1;
867
+ this_1.k19(replaceReflectInNonGenericStructFields$lambda);
868
+ var tmp$ret$4 = this_1.f19();
869
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
870
+ var tmp_0 = scope.q18_1;
871
871
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
872
872
  }
873
873
  function replaceRefinedFunctions(_this__u8e3s4, refined) {
@@ -876,14 +876,14 @@ function replaceRefinedFunctions(_this__u8e3s4, refined) {
876
876
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
877
877
  var tmp = scope;
878
878
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
879
- var this_0 = scope.u17_1;
879
+ var this_0 = scope.q18_1;
880
880
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
881
881
  // Inline function 'kotlin.apply' call
882
882
  var this_1 = new TransformerBuilder();
883
- this_1.o18(replaceRefinedFunctions$lambda(refined));
884
- var tmp$ret$4 = this_1.j18();
885
- tmp.u17_1 = transform(this_0, tmp$ret$4);
886
- var tmp_0 = scope.u17_1;
883
+ this_1.k19(replaceRefinedFunctions$lambda(refined));
884
+ var tmp$ret$4 = this_1.f19();
885
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
886
+ var tmp_0 = scope.q18_1;
887
887
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
888
888
  }
889
889
  function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
@@ -892,14 +892,14 @@ function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
892
892
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
893
893
  var tmp = scope;
894
894
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
895
- var this_0 = scope.u17_1;
895
+ var this_0 = scope.q18_1;
896
896
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
897
897
  // Inline function 'kotlin.apply' call
898
898
  var this_1 = new TransformerBuilder();
899
- this_1.o18(snakeCaseHandlerAndCallMethods$lambda);
900
- var tmp$ret$4 = this_1.j18();
901
- tmp.u17_1 = transform(this_0, tmp$ret$4);
902
- var tmp_0 = scope.u17_1;
899
+ this_1.k19(snakeCaseHandlerAndCallMethods$lambda);
900
+ var tmp$ret$4 = this_1.f19();
901
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
902
+ var tmp_0 = scope.q18_1;
903
903
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
904
904
  }
905
905
  function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
@@ -945,8 +945,8 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
945
945
  function flattenEndpointTypeRefs(_this__u8e3s4, endpointName) {
946
946
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
947
947
  var scope = new TransformScope(_this__u8e3s4);
948
- scope.a18(flattenEndpointTypeRefs$lambda(endpointName));
949
- var tmp = scope.u17_1;
948
+ scope.w18(flattenEndpointTypeRefs$lambda(endpointName));
949
+ var tmp = scope.q18_1;
950
950
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
951
951
  }
952
952
  function snakeCaseClientFunctions(_this__u8e3s4) {
@@ -955,15 +955,15 @@ function snakeCaseClientFunctions(_this__u8e3s4) {
955
955
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
956
956
  var tmp = scope;
957
957
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
958
- var this_0 = scope.u17_1;
958
+ var this_0 = scope.q18_1;
959
959
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
960
960
  // Inline function 'kotlin.apply' call
961
961
  var this_1 = new TransformerBuilder();
962
- this_1.o18(snakeCaseClientFunctions$lambda);
963
- var tmp$ret$4 = this_1.j18();
964
- tmp.u17_1 = transform(this_0, tmp$ret$4);
965
- scope.m18(snakeCaseClientFunctions$lambda_0);
966
- var tmp_0 = scope.u17_1;
962
+ this_1.k19(snakeCaseClientFunctions$lambda);
963
+ var tmp$ret$4 = this_1.f19();
964
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
965
+ scope.i19(snakeCaseClientFunctions$lambda_0);
966
+ var tmp_0 = scope.q18_1;
967
967
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
968
968
  }
969
969
  function addSelfReceiverToClientFields(_this__u8e3s4) {
@@ -1010,8 +1010,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1010
1010
  return _this__u8e3s4;
1011
1011
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
1012
1012
  var scope = new TransformScope(_this__u8e3s4);
1013
- scope.m18(addSelfReceiverToClientFields$lambda(fieldNames));
1014
- var tmp_1 = scope.u17_1;
1013
+ scope.i19(addSelfReceiverToClientFields$lambda(fieldNames));
1014
+ var tmp_1 = scope.q18_1;
1015
1015
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1016
1016
  }
1017
1017
  function replaceReflectAsTypeAny(_this__u8e3s4) {
@@ -1072,17 +1072,17 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1072
1072
  }
1073
1073
  function replaceRefinedFunctions$lambda$lambda($constraintExpr) {
1074
1074
  return function ($this$function) {
1075
- $this$function.k13('self', Custom_init_$Create$(''));
1075
+ $this$function.m13('self', Custom_init_$Create$(''));
1076
1076
  $this$function.j13(Boolean_instance);
1077
- $this$function.m13($constraintExpr);
1077
+ $this$function.p13($constraintExpr);
1078
1078
  return Unit_instance;
1079
1079
  };
1080
1080
  }
1081
1081
  function replaceRefinedFunctions$lambda$lambda_0($toStringExpr) {
1082
1082
  return function ($this$function) {
1083
- $this$function.k13('self', Custom_init_$Create$(''));
1083
+ $this$function.m13('self', Custom_init_$Create$(''));
1084
1084
  $this$function.j13(String_instance);
1085
- $this$function.m13(new RawExpression($toStringExpr));
1085
+ $this$function.p13(new RawExpression($toStringExpr));
1086
1086
  return Unit_instance;
1087
1087
  };
1088
1088
  }
@@ -1116,7 +1116,7 @@ function replaceRefinedFunctions$lambda($refined) {
1116
1116
  }
1117
1117
  if (tmp_2) {
1118
1118
  var tmp_3;
1119
- if ($refined.ms_1.t18_1 instanceof String_0) {
1119
+ if ($refined.ms_1.p19_1 instanceof String_0) {
1120
1120
  tmp_3 = 'self.value';
1121
1121
  } else {
1122
1122
  tmp_3 = 'str(self.value)';
@@ -1213,7 +1213,7 @@ function snakeCaseClientFunctions$lambda_0(stmt, tr) {
1213
1213
  tmp_0 = null;
1214
1214
  } else {
1215
1215
  // Inline function 'kotlin.let' call
1216
- tmp_0 = tr.p17(tmp1_safe_receiver);
1216
+ tmp_0 = tr.l18(tmp1_safe_receiver);
1217
1217
  }
1218
1218
  var tmp2_receiver = tmp_0;
1219
1219
  // Inline function 'kotlin.collections.mapValues' call
@@ -1227,7 +1227,7 @@ function snakeCaseClientFunctions$lambda_0(stmt, tr) {
1227
1227
  var tmp_1 = element.n1();
1228
1228
  // Inline function 'kotlin.collections.component2' call
1229
1229
  var v = element.o1();
1230
- var tmp$ret$6 = tr.p17(v);
1230
+ var tmp$ret$6 = tr.l18(v);
1231
1231
  destination.v2(tmp_1, tmp$ret$6);
1232
1232
  }
1233
1233
  var tmp4_isAwait = !(stmt.cu_1 == null);
@@ -1256,7 +1256,7 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
1256
1256
  tmp_1 = null;
1257
1257
  } else {
1258
1258
  // Inline function 'kotlin.let' call
1259
- tmp_1 = tr.p17(tmp1_safe_receiver);
1259
+ tmp_1 = tr.l18(tmp1_safe_receiver);
1260
1260
  }
1261
1261
  tmp = new FieldCall(tmp_1, stmt.gz_1);
1262
1262
  } else {
@@ -1267,9 +1267,9 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
1267
1267
  };
1268
1268
  }
1269
1269
  //region block: post-declaration
1270
- protoOf(PythonEmitter).e1a = get_extensions;
1270
+ protoOf(PythonEmitter).a1b = get_extensions;
1271
1271
  protoOf(PythonEmitter).to = emit_1;
1272
- protoOf(PythonEmitter).g1a = beforeGenerate;
1272
+ protoOf(PythonEmitter).c1b = beforeGenerate;
1273
1273
  protoOf(PythonEmitter).vp = get_supportsDefaults;
1274
1274
  //endregion
1275
1275
  //region block: exports