@flock/wirespec 0.22.3 → 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 +119 -55
  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 +81 -81
  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
@@ -187,17 +187,17 @@ function sanitizeFirstIsDigit($this, $receiver) {
187
187
  return tmp;
188
188
  }
189
189
  function sanitizeKeywords($this, $receiver) {
190
- return Companion_getInstance_0().v1z().i1($receiver) ? '_' + $receiver : $receiver;
190
+ return Companion_getInstance_0().z34().i1($receiver) ? '_' + $receiver : $receiver;
191
191
  }
192
192
  function sanitizeEnum($this, $receiver) {
193
193
  return sanitizeKeywords($this, sanitizeFirstIsDigit($this, joinToString(split($receiver, ['-', ', ', '.', ' ', '//']), '_')));
194
194
  }
195
195
  function Companion() {
196
196
  Companion_instance_2 = this;
197
- this.u1z_1 = JavaGenerator_getInstance();
197
+ this.y34_1 = JavaGenerator_getInstance();
198
198
  }
199
- protoOf(Companion).v1z = function () {
200
- return this.u1z_1.l1a_1;
199
+ protoOf(Companion).z34 = function () {
200
+ return this.y34_1.j1b_1;
201
201
  };
202
202
  var Companion_instance_2;
203
203
  function Companion_getInstance_0() {
@@ -334,7 +334,7 @@ function JavaEmitter$emitGenerator$lambda_1(it) {
334
334
  }
335
335
  function JavaEmitter$emitGenerator$lambda_2(this$0) {
336
336
  return function (it) {
337
- return import_0(this$0.c20().bt_1 + '.model', it);
337
+ return import_0(this$0.g35().bt_1 + '.model', it);
338
338
  };
339
339
  }
340
340
  function JavaEmitter$emit$lambda(this$0) {
@@ -347,36 +347,36 @@ function JavaEmitter$emit$lambda_0(it) {
347
347
  }
348
348
  function JavaEmitter$emit$lambda$lambda($this$function) {
349
349
  $this$function.j13(String_instance);
350
- $this$function.m13(new VariableReference(Companion_getInstance().wt('label')));
350
+ $this$function.p13(new VariableReference(Companion_getInstance().wt('label')));
351
351
  return Unit_instance;
352
352
  }
353
353
  function JavaEmitter(packageName, emitShared) {
354
354
  Companion_getInstance_0();
355
355
  packageName = packageName === VOID ? Companion_instance_0.at('community.flock.wirespec.generated') : packageName;
356
356
  emitShared = emitShared === VOID ? Companion_instance_1.fq() : emitShared;
357
- this.w1z_1 = packageName;
358
- this.x1z_1 = emitShared;
359
- this.y1z_1 = JavaGenerator_getInstance();
360
- this.z1z_1 = FileExtension_Java_getInstance();
361
- this.a20_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
357
+ this.a35_1 = packageName;
358
+ this.b35_1 = emitShared;
359
+ this.c35_1 = JavaGenerator_getInstance();
360
+ this.d35_1 = FileExtension_Java_getInstance();
361
+ this.e35_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
362
362
  var tmp = this;
363
- var tmp_0 = Companion_getInstance_0().v1z();
363
+ var tmp_0 = Companion_getInstance_0().z34();
364
364
  var tmp_1 = JavaEmitter$sanitizationConfig$lambda;
365
365
  var tmp_2 = JavaEmitter$sanitizationConfig$lambda_0;
366
366
  var tmp_3 = JavaEmitter$sanitizationConfig$lambda_1;
367
367
  var tmp_4 = JavaEmitter$sanitizationConfig$lambda_2(this);
368
- tmp.b20_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaEmitter$sanitizationConfig$lambda_3);
368
+ tmp.f35_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaEmitter$sanitizationConfig$lambda_3);
369
369
  }
370
- protoOf(JavaEmitter).c20 = function () {
371
- return this.w1z_1;
370
+ protoOf(JavaEmitter).g35 = function () {
371
+ return this.a35_1;
372
372
  };
373
- protoOf(JavaEmitter).h1a = function () {
374
- return this.y1z_1;
373
+ protoOf(JavaEmitter).d1b = function () {
374
+ return this.c35_1;
375
375
  };
376
376
  protoOf(JavaEmitter).wp = function () {
377
- return this.z1z_1;
377
+ return this.d35_1;
378
378
  };
379
- protoOf(JavaEmitter).c1a = function () {
379
+ protoOf(JavaEmitter).y1a = function () {
380
380
  var packageName = Companion_instance_0.at('community.flock.wirespec.java');
381
381
  var imports = listOf_0([import_0('java.lang.reflect', 'Type'), import_0('java.lang.reflect', 'ParameterizedType'), import_0('java.util', 'List'), import_0('java.util', 'Map')]);
382
382
  // Inline function 'kotlin.collections.map' call
@@ -396,28 +396,28 @@ protoOf(JavaEmitter).c1a = function () {
396
396
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
397
397
  var tmp = scope;
398
398
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
399
- var this_2 = scope.u17_1;
399
+ var this_2 = scope.q18_1;
400
400
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
401
401
  // Inline function 'kotlin.apply' call
402
402
  var this_3 = new TransformerBuilder();
403
- this_3.o18(JavaEmitter$emitShared$lambda_0(imports));
404
- var tmp$ret$7 = this_3.j18();
405
- tmp.u17_1 = transform(this_2, tmp$ret$7);
403
+ this_3.k19(JavaEmitter$emitShared$lambda_0(imports));
404
+ var tmp$ret$7 = this_3.f19();
405
+ tmp.q18_1 = transform(this_2, tmp$ret$7);
406
406
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.injectAfter' call
407
407
  var tmp_0 = scope;
408
408
  // Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
409
409
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
410
- var this_4 = scope.u17_1;
410
+ var this_4 = scope.q18_1;
411
411
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
412
412
  // Inline function 'kotlin.apply' call
413
413
  var this_5 = new TransformerBuilder();
414
- this_5.o18(JavaEmitter$emitShared$lambda_1(clientServer));
415
- var tmp$ret$13 = this_5.j18();
416
- tmp_0.u17_1 = transform(this_4, tmp$ret$13);
417
- var tmp_1 = scope.u17_1;
414
+ this_5.k19(JavaEmitter$emitShared$lambda_1(clientServer));
415
+ var tmp$ret$13 = this_5.f19();
416
+ tmp_0.q18_1 = transform(this_4, tmp$ret$13);
417
+ var tmp_1 = scope.q18_1;
418
418
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
419
419
  var tmp_2;
420
- if (this.x1z_1.gq_1) {
420
+ if (this.b35_1.gq_1) {
421
421
  tmp_2 = wirespecShared;
422
422
  } else {
423
423
  tmp_2 = null;
@@ -428,7 +428,7 @@ protoOf(JavaEmitter).cs = function (definition, module_0, logger) {
428
428
  var file = emit.call(this, definition, module_0, logger);
429
429
  var tmp = file.lv(Companion_getInstance().wt(sanitizeSymbol(this, file.hv_1.zt())));
430
430
  // Inline function 'kotlin.takeIf' call
431
- var this_0 = this.a20_1;
431
+ var this_0 = this.e35_1;
432
432
  var tmp_0;
433
433
  if (Companion_instance.zr(module_0)) {
434
434
  tmp_0 = this_0;
@@ -436,9 +436,9 @@ protoOf(JavaEmitter).cs = function (definition, module_0, logger) {
436
436
  tmp_0 = null;
437
437
  }
438
438
  var tmp$ret$0 = tmp_0;
439
- return placeInPackage(prependImports(tmp, tmp$ret$0), this.c20(), definition);
439
+ return placeInPackage(prependImports(tmp, tmp$ret$0), this.g35(), definition);
440
440
  };
441
- protoOf(JavaEmitter).k1a = function (definition, module_0) {
441
+ protoOf(JavaEmitter).g1b = function (definition, module_0) {
442
442
  var tmp;
443
443
  if (definition instanceof Type) {
444
444
  tmp = convertToGenerator_2(definition, module_0);
@@ -458,33 +458,33 @@ protoOf(JavaEmitter).k1a = function (definition, module_0) {
458
458
  }
459
459
  }
460
460
  var generatorFile = tmp;
461
- var sanitized = sanitizeNames(generatorFile, this.b20_1);
461
+ var sanitized = sanitizeNames(generatorFile, this.f35_1);
462
462
  var generatorOwnName = definition.ds().o1() + 'Generator';
463
463
  var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
464
464
  var tmp_1 = filterNot(tmp_0, JavaEmitter$emitGenerator$lambda);
465
465
  var tmp_2 = filterNot(tmp_1, JavaEmitter$emitGenerator$lambda_0(generatorOwnName));
466
466
  var tmp_3 = distinct(map(tmp_2, JavaEmitter$emitGenerator$lambda_1));
467
467
  var modelImports = toList(map(tmp_3, JavaEmitter$emitGenerator$lambda_2(this)));
468
- return placeInPackage_0(prependImports(sanitized, plus(this.a20_1, modelImports)), this.c20(), 'generator');
468
+ return placeInPackage_0(prependImports(sanitized, plus(this.e35_1, modelImports)), this.g35(), 'generator');
469
469
  };
470
470
  protoOf(JavaEmitter).us = function (type, module_0) {
471
- return sanitizeNames(convertWithValidation(type, module_0), this.b20_1);
471
+ return sanitizeNames(convertWithValidation(type, module_0), this.f35_1);
472
472
  };
473
473
  protoOf(JavaEmitter).ss = function (enum_0, module_0) {
474
474
  var tmp = convert_0(enum_0);
475
475
  var tmp_0 = JavaEmitter$emit$lambda(this);
476
- return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaEmitter$emit$lambda_0), this.b20_1);
476
+ return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaEmitter$emit$lambda_0), this.f35_1);
477
477
  };
478
478
  protoOf(JavaEmitter).is = function (union) {
479
- return sanitizeNames(convert_1(union), this.b20_1);
479
+ return sanitizeNames(convert_1(union), this.f35_1);
480
480
  };
481
481
  protoOf(JavaEmitter).ns = function (refined) {
482
- return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.b20_1);
482
+ return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.f35_1);
483
483
  };
484
484
  protoOf(JavaEmitter).ts = function (endpoint) {
485
- var tmp = sanitizeNames(transformTypeDescriptors(injectApi(convert_3(endpoint), endpoint)), this.b20_1);
485
+ var tmp = sanitizeNames(transformTypeDescriptors(injectApi(convert_3(endpoint), endpoint)), this.f35_1);
486
486
  // Inline function 'kotlin.takeIf' call
487
- var this_0 = buildModelImports(endpoint, this.c20());
487
+ var this_0 = buildModelImports(endpoint, this.g35());
488
488
  var tmp_0;
489
489
  // Inline function 'kotlin.collections.isNotEmpty' call
490
490
  if (!this_0.r()) {
@@ -498,17 +498,17 @@ protoOf(JavaEmitter).ts = function (endpoint) {
498
498
  protoOf(JavaEmitter).hs = function (channel) {
499
499
  var tmp;
500
500
  if (channel.xq_1.o1() === channel.yq_1.o1()) {
501
- tmp = this.c20().bt_1 + '.model.';
501
+ tmp = this.g35().bt_1 + '.model.';
502
502
  } else {
503
503
  tmp = '';
504
504
  }
505
505
  var fullyQualifiedPrefix = tmp;
506
- return qualifyChannelReferences(sanitizeNames(convert_4(channel), this.b20_1), fullyQualifiedPrefix);
506
+ return qualifyChannelReferences(sanitizeNames(convert_4(channel), this.f35_1), fullyQualifiedPrefix);
507
507
  };
508
508
  protoOf(JavaEmitter).gs = function (rpc) {
509
- var tmp = sanitizeNames(convert_5(rpc), this.b20_1);
509
+ var tmp = sanitizeNames(convert_5(rpc), this.f35_1);
510
510
  // Inline function 'kotlin.takeIf' call
511
- var this_0 = buildModelImports(rpc, this.c20());
511
+ var this_0 = buildModelImports(rpc, this.g35());
512
512
  var tmp_0;
513
513
  // Inline function 'kotlin.collections.isNotEmpty' call
514
514
  if (!this_0.r()) {
@@ -519,15 +519,15 @@ protoOf(JavaEmitter).gs = function (rpc) {
519
519
  var tmp$ret$0 = tmp_0;
520
520
  return prependImports(tmp, tmp$ret$0);
521
521
  };
522
- protoOf(JavaEmitter).j1a = function (endpoint) {
523
- var imports = buildModelImports(endpoint, this.c20());
524
- var endpointImport = import_0(this.c20().bt_1 + '.endpoint', endpoint.fr_1.o1());
522
+ protoOf(JavaEmitter).f1b = function (endpoint) {
523
+ var imports = buildModelImports(endpoint, this.g35());
524
+ var endpointImport = import_0(this.g35().bt_1 + '.endpoint', endpoint.fr_1.o1());
525
525
  var endpointName = endpoint.fr_1.o1();
526
- var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.b20_1)), endpointName);
527
- var subPackageName = plus_1(this.c20(), 'client');
528
- return new File(Companion_getInstance().wt(subPackageName.dt() + sanitizeSymbol(this, file.hv_1.zt())), plus(plus(plus(plus(listOf(new Package(subPackageName.bt_1)), this.a20_1), imports), listOf(endpointImport)), file.iv_1));
526
+ var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.f35_1)), endpointName);
527
+ var subPackageName = plus_1(this.g35(), 'client');
528
+ return new File(Companion_getInstance().wt(subPackageName.dt() + sanitizeSymbol(this, file.hv_1.zt())), plus(plus(plus(plus(listOf(new Package(subPackageName.bt_1)), this.e35_1), imports), listOf(endpointImport)), file.iv_1));
529
529
  };
530
- protoOf(JavaEmitter).d1a = function (endpoints, logger) {
530
+ protoOf(JavaEmitter).z1a = function (endpoints, logger) {
531
531
  // Inline function 'kotlin.collections.flatMap' call
532
532
  // Inline function 'kotlin.collections.flatMapTo' call
533
533
  var destination = ArrayList_init_$Create$_0();
@@ -543,7 +543,7 @@ protoOf(JavaEmitter).d1a = function (endpoints, logger) {
543
543
  var _iterator__ex2g4s_0 = destination.t();
544
544
  while (_iterator__ex2g4s_0.u()) {
545
545
  var e = _iterator__ex2g4s_0.v();
546
- var key = e.r18_1;
546
+ var key = e.n19_1;
547
547
  if (set.x(key)) {
548
548
  list_0.x(e);
549
549
  }
@@ -570,7 +570,7 @@ protoOf(JavaEmitter).d1a = function (endpoints, logger) {
570
570
  var _iterator__ex2g4s_2 = endpoints.t();
571
571
  while (_iterator__ex2g4s_2.u()) {
572
572
  var element_1 = _iterator__ex2g4s_2.v();
573
- if (element_1.fr_1.o1() === element_0.r18_1) {
573
+ if (element_1.fr_1.o1() === element_0.n19_1) {
574
574
  tmp$ret$8 = false;
575
575
  break $l$block_0;
576
576
  }
@@ -587,7 +587,7 @@ protoOf(JavaEmitter).d1a = function (endpoints, logger) {
587
587
  var _iterator__ex2g4s_3 = destination_0.t();
588
588
  while (_iterator__ex2g4s_3.u()) {
589
589
  var item = _iterator__ex2g4s_3.v();
590
- var tmp$ret$12 = import_0(this.c20().bt_1 + '.model', item.r18_1);
590
+ var tmp$ret$12 = import_0(this.g35().bt_1 + '.model', item.n19_1);
591
591
  destination_1.x(tmp$ret$12);
592
592
  }
593
593
  var imports = destination_1;
@@ -597,7 +597,7 @@ protoOf(JavaEmitter).d1a = function (endpoints, logger) {
597
597
  var _iterator__ex2g4s_4 = endpoints.t();
598
598
  while (_iterator__ex2g4s_4.u()) {
599
599
  var item_0 = _iterator__ex2g4s_4.v();
600
- var tmp$ret$15 = import_0(this.c20().bt_1 + '.endpoint', item_0.fr_1.o1());
600
+ var tmp$ret$15 = import_0(this.g35().bt_1 + '.endpoint', item_0.fr_1.o1());
601
601
  destination_2.x(tmp$ret$15);
602
602
  }
603
603
  var endpointImports = destination_2;
@@ -607,19 +607,19 @@ protoOf(JavaEmitter).d1a = function (endpoints, logger) {
607
607
  var _iterator__ex2g4s_5 = endpoints.t();
608
608
  while (_iterator__ex2g4s_5.u()) {
609
609
  var item_1 = _iterator__ex2g4s_5.v();
610
- var tmp$ret$18 = import_0(this.c20().bt_1 + '.client', item_1.fr_1.o1() + 'Client');
610
+ var tmp$ret$18 = import_0(this.g35().bt_1 + '.client', item_1.fr_1.o1() + 'Client');
611
611
  destination_3.x(tmp$ret$18);
612
612
  }
613
613
  var clientImports = destination_3;
614
614
  var allImports = plus(plus(imports, endpointImports), clientImports);
615
- var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.b20_1);
616
- return new File(Companion_getInstance().wt(this.c20().dt() + sanitizeSymbol(this, file.hv_1.zt())), plus(plus(plus(listOf(new Package(this.c20().bt_1)), this.a20_1), allImports), file.iv_1));
615
+ var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.f35_1);
616
+ return new File(Companion_getInstance().wt(this.g35().dt() + sanitizeSymbol(this, file.hv_1.zt())), plus(plus(plus(listOf(new Package(this.g35().bt_1)), this.e35_1), allImports), file.iv_1));
617
617
  };
618
618
  function transformTypeDescriptors(_this__u8e3s4) {
619
619
  // Inline function 'community.flock.wirespec.compiler.core.ir.transform' call
620
620
  var scope = new TransformScope(_this__u8e3s4);
621
- scope.m18(transformTypeDescriptors$lambda);
622
- var tmp = scope.u17_1;
621
+ scope.i19(transformTypeDescriptors$lambda);
622
+ var tmp = scope.q18_1;
623
623
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
624
624
  }
625
625
  function applyRefinedStructShape(_this__u8e3s4, refined) {
@@ -628,14 +628,14 @@ function applyRefinedStructShape(_this__u8e3s4, refined) {
628
628
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
629
629
  var tmp = scope;
630
630
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
631
- var this_0 = scope.u17_1;
631
+ var this_0 = scope.q18_1;
632
632
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
633
633
  // Inline function 'kotlin.apply' call
634
634
  var this_1 = new TransformerBuilder();
635
- this_1.o18(applyRefinedStructShape$lambda(refined));
636
- var tmp$ret$4 = this_1.j18();
637
- tmp.u17_1 = transform(this_0, tmp$ret$4);
638
- var tmp_0 = scope.u17_1;
635
+ this_1.k19(applyRefinedStructShape$lambda(refined));
636
+ var tmp$ret$4 = this_1.f19();
637
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
638
+ var tmp_0 = scope.q18_1;
639
639
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
640
640
  }
641
641
  function injectApi(_this__u8e3s4, endpoint) {
@@ -645,14 +645,14 @@ function injectApi(_this__u8e3s4, endpoint) {
645
645
  var tmp = scope;
646
646
  // Inline function 'community.flock.wirespec.compiler.core.ir.injectAfter' call
647
647
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
648
- var this_0 = scope.u17_1;
648
+ var this_0 = scope.q18_1;
649
649
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
650
650
  // Inline function 'kotlin.apply' call
651
651
  var this_1 = new TransformerBuilder();
652
- this_1.o18(injectApi$lambda(endpoint));
653
- var tmp$ret$5 = this_1.j18();
654
- tmp.u17_1 = transform(this_0, tmp$ret$5);
655
- var tmp_0 = scope.u17_1;
652
+ this_1.k19(injectApi$lambda(endpoint));
653
+ var tmp$ret$5 = this_1.f19();
654
+ tmp.q18_1 = transform(this_0, tmp$ret$5);
655
+ var tmp_0 = scope.q18_1;
656
656
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
657
657
  }
658
658
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -663,7 +663,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
663
663
  var _iterator__ex2g4s = tmp0.t();
664
664
  while (_iterator__ex2g4s.u()) {
665
665
  var element = _iterator__ex2g4s.v();
666
- if (!(_this__u8e3s4.ds().o1() === element.r18_1)) {
666
+ if (!(_this__u8e3s4.ds().o1() === element.n19_1)) {
667
667
  destination.x(element);
668
668
  }
669
669
  }
@@ -673,7 +673,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
673
673
  var _iterator__ex2g4s_0 = destination.t();
674
674
  while (_iterator__ex2g4s_0.u()) {
675
675
  var item = _iterator__ex2g4s_0.v();
676
- var tmp$ret$5 = import_0(packageName.bt_1 + '.model', Companion_getInstance().wt(item.r18_1).zt());
676
+ var tmp$ret$5 = import_0(packageName.bt_1 + '.model', Companion_getInstance().wt(item.n19_1).zt());
677
677
  destination_0.x(tmp$ret$5);
678
678
  }
679
679
  return destination_0;
@@ -684,14 +684,14 @@ function qualifyChannelReferences(_this__u8e3s4, fullyQualifiedPrefix) {
684
684
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
685
685
  var tmp = scope;
686
686
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
687
- var this_0 = scope.u17_1;
687
+ var this_0 = scope.q18_1;
688
688
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
689
689
  // Inline function 'kotlin.apply' call
690
690
  var this_1 = new TransformerBuilder();
691
- this_1.o18(qualifyChannelReferences$lambda(fullyQualifiedPrefix));
692
- var tmp$ret$4 = this_1.j18();
693
- tmp.u17_1 = transform(this_0, tmp$ret$4);
694
- var tmp_0 = scope.u17_1;
691
+ this_1.k19(qualifyChannelReferences$lambda(fullyQualifiedPrefix));
692
+ var tmp$ret$4 = this_1.f19();
693
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
694
+ var tmp_0 = scope.q18_1;
695
695
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
696
696
  }
697
697
  function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
@@ -700,14 +700,14 @@ function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
700
700
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matchingElements' call
701
701
  var tmp = scope;
702
702
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatchingElements' call
703
- var this_0 = scope.u17_1;
703
+ var this_0 = scope.q18_1;
704
704
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
705
705
  // Inline function 'kotlin.apply' call
706
706
  var this_1 = new TransformerBuilder();
707
- this_1.o18(wrapAsyncReturnInThenApply$lambda(endpointName));
708
- var tmp$ret$4 = this_1.j18();
709
- tmp.u17_1 = transform(this_0, tmp$ret$4);
710
- var tmp_0 = scope.u17_1;
707
+ this_1.k19(wrapAsyncReturnInThenApply$lambda(endpointName));
708
+ var tmp$ret$4 = this_1.f19();
709
+ tmp.q18_1 = transform(this_0, tmp$ret$4);
710
+ var tmp_0 = scope.q18_1;
711
711
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
712
712
  }
713
713
  function findRoot(_this__u8e3s4) {
@@ -818,14 +818,14 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
818
818
  // Inline function 'community.flock.wirespec.compiler.core.ir.TransformScope.matching' call
819
819
  var tmp_0 = scope;
820
820
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformMatching' call
821
- var this_0 = scope.u17_1;
821
+ var this_0 = scope.q18_1;
822
822
  // Inline function 'community.flock.wirespec.compiler.core.ir.transformer' call
823
823
  // Inline function 'kotlin.apply' call
824
824
  var this_1 = new TransformerBuilder();
825
- this_1.a18(withFullyQualifiedPrefix$lambda(prefix));
826
- var tmp$ret$5 = this_1.j18();
827
- tmp_0.u17_1 = transform(this_0, tmp$ret$5);
828
- var tmp_1 = scope.u17_1;
825
+ this_1.w18(withFullyQualifiedPrefix$lambda(prefix));
826
+ var tmp$ret$5 = this_1.f19();
827
+ tmp_0.q18_1 = transform(this_0, tmp$ret$5);
828
+ var tmp_1 = scope.q18_1;
829
829
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
830
830
  } else {
831
831
  tmp = _this__u8e3s4;
@@ -856,7 +856,7 @@ function transformTypeDescriptors$lambda(stmt, tr) {
856
856
  function applyRefinedStructShape$lambda$lambda($refined) {
857
857
  return function ($this$function) {
858
858
  $this$function.j13(convert_6($refined.ms_1));
859
- $this$function.m13(new VariableReference(Companion_getInstance().wt('value')));
859
+ $this$function.p13(new VariableReference(Companion_getInstance().wt('value')));
860
860
  return Unit_instance;
861
861
  };
862
862
  }
@@ -1018,7 +1018,7 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1018
1018
  function buildApiStruct$lambda(it) {
1019
1019
  var tmp;
1020
1020
  if (it instanceof Literal) {
1021
- tmp = it.a1a_1;
1021
+ tmp = it.w1a_1;
1022
1022
  } else {
1023
1023
  if (it instanceof Param) {
1024
1024
  tmp = '{' + it.mr_1.o1() + '}';
@@ -1031,37 +1031,37 @@ function buildApiStruct$lambda(it) {
1031
1031
  function buildApiStruct$lambda$lambda($pathTemplate) {
1032
1032
  return function ($this$function) {
1033
1033
  $this$function.j13(String_instance);
1034
- $this$function.m13($this$function.g14($pathTemplate));
1034
+ $this$function.p13($this$function.u14($pathTemplate));
1035
1035
  return Unit_instance;
1036
1036
  };
1037
1037
  }
1038
1038
  function buildApiStruct$lambda$lambda_0($this_buildApiStruct) {
1039
1039
  return function ($this$function) {
1040
1040
  $this$function.j13(String_instance);
1041
- $this$function.m13($this$function.g14($this_buildApiStruct.gr_1.d3_1));
1041
+ $this$function.p13($this$function.u14($this_buildApiStruct.gr_1.d3_1));
1042
1042
  return Unit_instance;
1043
1043
  };
1044
1044
  }
1045
1045
  function buildApiStruct$lambda$lambda_1($this$function) {
1046
- $this$function.j13($this$function.f14('Wirespec.ServerEdge', [$this$function.f14('Request', []), $this$function.f14('Response', [Wildcard_instance])]));
1047
- $this$function.k13('serialization', $this$function.f14('Wirespec.Serialization', []));
1048
- $this$function.m13(new RawExpression('new Wirespec.ServerEdge<>() {\n@Override public Request from(Wirespec.RawRequest request) {\n return fromRawRequest(serialization, request);\n}\n@Override public Wirespec.RawResponse to(Response<?> response) {\n return toRawResponse(serialization, response);\n}\n}'));
1046
+ $this$function.j13($this$function.q14('Wirespec.ServerEdge', [$this$function.q14('Request', []), $this$function.q14('Response', [Wildcard_instance])]));
1047
+ $this$function.m13('serialization', $this$function.q14('Wirespec.Serialization', []));
1048
+ $this$function.p13(new RawExpression('new Wirespec.ServerEdge<>() {\n@Override public Request from(Wirespec.RawRequest request) {\n return fromRawRequest(serialization, request);\n}\n@Override public Wirespec.RawResponse to(Response<?> response) {\n return toRawResponse(serialization, response);\n}\n}'));
1049
1049
  return Unit_instance;
1050
1050
  }
1051
1051
  function buildApiStruct$lambda$lambda_2($this$function) {
1052
- $this$function.j13($this$function.f14('Wirespec.ClientEdge', [$this$function.f14('Request', []), $this$function.f14('Response', [Wildcard_instance])]));
1053
- $this$function.k13('serialization', $this$function.f14('Wirespec.Serialization', []));
1054
- $this$function.m13(new RawExpression('new Wirespec.ClientEdge<>() {\n@Override public Wirespec.RawRequest to(Request request) {\n return toRawRequest(serialization, request);\n}\n@Override public Response<?> from(Wirespec.RawResponse response) {\n return fromRawResponse(serialization, response);\n}\n}'));
1052
+ $this$function.j13($this$function.q14('Wirespec.ClientEdge', [$this$function.q14('Request', []), $this$function.q14('Response', [Wildcard_instance])]));
1053
+ $this$function.m13('serialization', $this$function.q14('Wirespec.Serialization', []));
1054
+ $this$function.p13(new RawExpression('new Wirespec.ClientEdge<>() {\n@Override public Wirespec.RawRequest to(Request request) {\n return toRawRequest(serialization, request);\n}\n@Override public Response<?> from(Wirespec.RawResponse response) {\n return fromRawResponse(serialization, response);\n}\n}'));
1055
1055
  return Unit_instance;
1056
1056
  }
1057
1057
  function buildApiStruct$lambda_0($pathTemplate, $this_buildApiStruct) {
1058
1058
  return function ($this$struct) {
1059
- $this$struct.r14($this$struct.f14('Wirespec.Server', [$this$struct.f14('Request', []), $this$struct.f14('Response', [Wildcard_instance])]));
1060
- $this$struct.r14($this$struct.f14('Wirespec.Client', [$this$struct.f14('Request', []), $this$struct.f14('Response', [Wildcard_instance])]));
1061
- $this$struct.a15('getPathTemplate', VOID, true, buildApiStruct$lambda$lambda($pathTemplate));
1062
- $this$struct.a15('getMethod', VOID, true, buildApiStruct$lambda$lambda_0($this_buildApiStruct));
1063
- $this$struct.a15('getServer', VOID, true, buildApiStruct$lambda$lambda_1);
1064
- $this$struct.a15('getClient', VOID, true, buildApiStruct$lambda$lambda_2);
1059
+ $this$struct.j15($this$struct.q14('Wirespec.Server', [$this$struct.q14('Request', []), $this$struct.q14('Response', [Wildcard_instance])]));
1060
+ $this$struct.j15($this$struct.q14('Wirespec.Client', [$this$struct.q14('Request', []), $this$struct.q14('Response', [Wildcard_instance])]));
1061
+ $this$struct.w15('getPathTemplate', VOID, true, buildApiStruct$lambda$lambda($pathTemplate));
1062
+ $this$struct.w15('getMethod', VOID, true, buildApiStruct$lambda$lambda_0($this_buildApiStruct));
1063
+ $this$struct.w15('getServer', VOID, true, buildApiStruct$lambda$lambda_1);
1064
+ $this$struct.w15('getClient', VOID, true, buildApiStruct$lambda$lambda_2);
1065
1065
  return Unit_instance;
1066
1066
  };
1067
1067
  }
@@ -1078,10 +1078,10 @@ function withFullyQualifiedPrefix$lambda($prefix) {
1078
1078
  };
1079
1079
  }
1080
1080
  //region block: post-declaration
1081
- protoOf(JavaEmitter).e1a = get_extensions;
1081
+ protoOf(JavaEmitter).a1b = get_extensions;
1082
1082
  protoOf(JavaEmitter).to = emit_0;
1083
- protoOf(JavaEmitter).b1a = emit_1;
1084
- protoOf(JavaEmitter).g1a = beforeGenerate;
1083
+ protoOf(JavaEmitter).x1a = emit_1;
1084
+ protoOf(JavaEmitter).c1b = beforeGenerate;
1085
1085
  protoOf(JavaEmitter).vp = get_supportsDefaults;
1086
1086
  //endregion
1087
1087
  //region block: exports