@flock/wirespec 0.7.2 → 0.7.3

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 (25) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
  2. package/kotlin/kotlin-openapi-bindings.js +3290 -3290
  3. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1239 -1239
  4. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  5. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +981 -981
  6. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  7. package/kotlin/wirespec-cli.js +80 -80
  8. package/kotlin/wirespec-core.js +510 -493
  9. package/kotlin/wirespec-core.js.map +1 -1
  10. package/kotlin/wirespec-lib.js +38 -38
  11. package/kotlin/wirespec-openapi.js +361 -357
  12. package/kotlin/wirespec-openapi.js.map +1 -1
  13. package/package.json +1 -1
  14. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  15. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  16. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  17. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  18. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  19. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  20. package/sync-hashes/wirespec-cli.js.hash +1 -1
  21. package/sync-hashes/wirespec-core.js.hash +1 -1
  22. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  23. package/sync-hashes/wirespec-lib.js.hash +1 -1
  24. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  25. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -89,47 +89,48 @@
89
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
90
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
91
91
  function withLogging(_this__u8e3s4, logger, block) {
92
- return logger.wk('Emitting Definition: Type', block);
92
+ return logger.yk('Emitting Definition: Type', block);
93
93
  }
94
94
  function withLogging_0(_this__u8e3s4, logger, block) {
95
- return logger.wk('Emitting Definition: Type Shape', block);
95
+ return logger.yk('Emitting Definition: Type Shape', block);
96
96
  }
97
97
  function withLogging_1(_this__u8e3s4, logger, block) {
98
- return logger.wk('Emitting Definition: Type Shape Field', block);
98
+ return logger.yk('Emitting Definition: Type Shape Field', block);
99
99
  }
100
100
  function withLogging_2(_this__u8e3s4, logger, block) {
101
- return logger.wk('Emitting Definition: Type Shape Field Key', block);
101
+ return logger.yk('Emitting Definition: Type Shape Field Key', block);
102
102
  }
103
103
  function withLogging_3(_this__u8e3s4, logger, block) {
104
- return logger.wk('Emitting Definition: Type Shape Field Value', block);
104
+ return logger.yk('Emitting Definition: Type Shape Field Value', block);
105
105
  }
106
106
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
107
107
  function withLogging_4(_this__u8e3s4, logger, block) {
108
- return logger.wk('Emitting Definition: Endpoint', block);
108
+ return logger.yk('Emitting Definition: Endpoint', block);
109
109
  }
110
110
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
111
111
  function withLogging_5(_this__u8e3s4, logger, block) {
112
- return logger.wk('Emitting Definition: Refined', block);
112
+ return logger.yk('Emitting Definition: Refined', block);
113
113
  }
114
114
  function withLogging_6(_this__u8e3s4, logger, block) {
115
- return logger.wk('Emitting Definition: Refined Validator', block);
115
+ return logger.yk('Emitting Definition: Refined Validator', block);
116
116
  }
117
117
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
118
118
  function withLogging_7(_this__u8e3s4, logger, block) {
119
- return logger.wk('Emitting Definition: Endpoint', block);
119
+ return logger.yk('Emitting Definition: Endpoint', block);
120
120
  }
121
121
  function withLogging_8(_this__u8e3s4, logger, block) {
122
- return logger.wk('Emitting Definition: Endpoint Segment', block);
122
+ return logger.yk('Emitting Definition: Endpoint Segment', block);
123
123
  }
124
124
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
125
125
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
126
126
  setMetadataFor(JavaEmitter, 'JavaEmitter', classMeta, Emitter);
127
- setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
128
127
  setMetadataFor(Companion, 'Companion', objectMeta);
128
+ setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
129
+ setMetadataFor(Companion_0, 'Companion', objectMeta);
129
130
  setMetadataFor(ScalaEmitter, 'ScalaEmitter', classMeta, Emitter);
130
131
  setMetadataFor(TypeScriptEmitter, 'TypeScriptEmitter', classMeta, Emitter);
131
132
  setMetadataFor(WirespecEmitter, 'WirespecEmitter', classMeta, Emitter);
132
- setMetadataFor(Companion_0, 'Companion', objectMeta);
133
+ setMetadataFor(Companion_1, 'Companion', objectMeta);
133
134
  setMetadataFor(WirespecException, 'WirespecException', classMeta, RuntimeException);
134
135
  setMetadataFor(CompilerException, 'CompilerException', classMeta, WirespecException);
135
136
  setMetadataFor(ParserException, 'ParserException', classMeta, CompilerException);
@@ -392,48 +393,48 @@
392
393
  return $this.vh(_this__u8e3s4, $this.qh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
393
394
  }
394
395
  function emit(_this__u8e3s4, $this, endpoint) {
395
- Companion_getInstance_1();
396
+ Companion_getInstance_2();
396
397
  var tmp = emitContentType(_this__u8e3s4.wh_1, $this);
397
398
  var tmp0_safe_receiver = _this__u8e3s4.wh_1;
398
399
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
399
400
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.ei(tmp1_safe_receiver);
400
401
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
401
- Companion_getInstance_1();
402
- Companion_getInstance_1();
403
- Companion_getInstance_1();
404
- Companion_getInstance_1();
405
- Companion_getInstance_1();
406
- Companion_getInstance_1();
407
- Companion_getInstance_1();
408
- Companion_getInstance_1();
409
- Companion_getInstance_1();
410
- Companion_getInstance_1();
402
+ Companion_getInstance_2();
403
+ Companion_getInstance_2();
404
+ Companion_getInstance_2();
405
+ Companion_getInstance_2();
406
+ Companion_getInstance_2();
407
+ Companion_getInstance_2();
408
+ Companion_getInstance_2();
409
+ Companion_getInstance_2();
410
+ Companion_getInstance_2();
411
+ Companion_getInstance_2();
411
412
  var tmp3_safe_receiver = _this__u8e3s4.wh_1;
412
413
  var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.yh_1;
413
414
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.ei(tmp4_safe_receiver);
414
415
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
415
- Companion_getInstance_1();
416
- Companion_getInstance_1();
416
+ Companion_getInstance_2();
417
+ Companion_getInstance_2();
417
418
  var tmp_2 = emitContentType(_this__u8e3s4.wh_1, $this);
418
419
  var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.wh_1);
419
- Companion_getInstance_1();
420
- Companion_getInstance_1();
421
- Companion_getInstance_1();
420
+ Companion_getInstance_2();
421
+ Companion_getInstance_2();
422
+ Companion_getInstance_2();
422
423
  var tmp_4 = emitPath(endpoint.hi_1, $this);
423
- Companion_getInstance_1();
424
- Companion_getInstance_1();
425
- Companion_getInstance_1();
426
- Companion_getInstance_1();
427
- Companion_getInstance_1();
428
- Companion_getInstance_1();
424
+ Companion_getInstance_2();
425
+ Companion_getInstance_2();
426
+ Companion_getInstance_2();
427
+ Companion_getInstance_2();
428
+ Companion_getInstance_2();
429
+ Companion_getInstance_2();
429
430
  var tmp_5 = emitMap(endpoint.ii_1, $this);
430
- Companion_getInstance_1();
431
- Companion_getInstance_1();
432
- Companion_getInstance_1();
431
+ Companion_getInstance_2();
432
+ Companion_getInstance_2();
433
+ Companion_getInstance_2();
433
434
  var tmp_6 = emitMap(endpoint.ji_1, $this);
434
- Companion_getInstance_1();
435
- Companion_getInstance_1();
436
- Companion_getInstance_1();
435
+ Companion_getInstance_2();
436
+ Companion_getInstance_2();
437
+ Companion_getInstance_2();
437
438
  var tmp6_safe_receiver = _this__u8e3s4.wh_1;
438
439
  var tmp_7;
439
440
  if (tmp6_safe_receiver == null) {
@@ -450,28 +451,28 @@
450
451
  }
451
452
  var tmp7_elvis_lhs = tmp_7;
452
453
  var tmp_8 = tmp7_elvis_lhs == null ? 'null' : tmp7_elvis_lhs;
453
- Companion_getInstance_1();
454
- Companion_getInstance_1();
455
- Companion_getInstance_1();
456
- Companion_getInstance_1();
457
- Companion_getInstance_1();
458
- Companion_getInstance_1();
459
- Companion_getInstance_1();
460
- Companion_getInstance_1();
461
- Companion_getInstance_1();
462
- Companion_getInstance_1();
463
- Companion_getInstance_1();
464
- Companion_getInstance_1();
454
+ Companion_getInstance_2();
455
+ Companion_getInstance_2();
456
+ Companion_getInstance_2();
457
+ Companion_getInstance_2();
458
+ Companion_getInstance_2();
459
+ Companion_getInstance_2();
460
+ Companion_getInstance_2();
461
+ Companion_getInstance_2();
462
+ Companion_getInstance_2();
463
+ Companion_getInstance_2();
464
+ Companion_getInstance_2();
465
+ Companion_getInstance_2();
465
466
  var tmp8_safe_receiver = _this__u8e3s4.wh_1;
466
467
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.yh_1;
467
468
  var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.ei(tmp9_safe_receiver);
468
469
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
469
- Companion_getInstance_1();
470
+ Companion_getInstance_2();
470
471
  return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.gi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
471
472
  }
472
473
  function emit_0(_this__u8e3s4, $this) {
473
- Companion_getInstance_1();
474
- var tmp = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
474
+ Companion_getInstance_2();
475
+ var tmp = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
475
476
  var tmp_0 = emitContentType(_this__u8e3s4.oi_1, $this);
476
477
  var tmp$ret$1;
477
478
  // Inline function 'kotlin.takeIf' call
@@ -493,19 +494,19 @@
493
494
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.yh_1;
494
495
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.ei(tmp2_safe_receiver);
495
496
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
496
- Companion_getInstance_1();
497
- Companion_getInstance_1();
498
- Companion_getInstance_1();
499
- Companion_getInstance_1();
500
- Companion_getInstance_1();
501
- Companion_getInstance_1();
497
+ Companion_getInstance_2();
498
+ Companion_getInstance_2();
499
+ Companion_getInstance_2();
500
+ Companion_getInstance_2();
501
+ Companion_getInstance_2();
502
+ Companion_getInstance_2();
502
503
  var tmp4_safe_receiver = _this__u8e3s4.oi_1;
503
504
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
504
505
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.ei(tmp5_safe_receiver);
505
506
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
506
- Companion_getInstance_1();
507
- Companion_getInstance_1();
508
- var tmp_5 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
507
+ Companion_getInstance_2();
508
+ Companion_getInstance_2();
509
+ var tmp_5 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
509
510
  var tmp_6 = emitContentType(_this__u8e3s4.oi_1, $this);
510
511
  var tmp$ret$3;
511
512
  // Inline function 'kotlin.takeIf' call
@@ -552,9 +553,9 @@
552
553
  }
553
554
  var tmp9_elvis_lhs = tmp_10;
554
555
  var tmp_11 = tmp9_elvis_lhs == null ? '' : tmp9_elvis_lhs;
555
- Companion_getInstance_1();
556
- Companion_getInstance_1();
557
- Companion_getInstance_1();
556
+ Companion_getInstance_2();
557
+ Companion_getInstance_2();
558
+ Companion_getInstance_2();
558
559
  var tmp$ret$9;
559
560
  // Inline function 'kotlin.takeIf' call
560
561
  var tmp2_takeIf = _this__u8e3s4.ni_1;
@@ -571,12 +572,12 @@
571
572
  tmp$ret$9 = tmp_12;
572
573
  var tmp10_elvis_lhs = tmp$ret$9;
573
574
  var tmp_13 = tmp10_elvis_lhs == null ? 'status' : tmp10_elvis_lhs;
574
- Companion_getInstance_1();
575
- Companion_getInstance_1();
576
- Companion_getInstance_1();
577
- Companion_getInstance_1();
578
- Companion_getInstance_1();
579
- Companion_getInstance_1();
575
+ Companion_getInstance_2();
576
+ Companion_getInstance_2();
577
+ Companion_getInstance_2();
578
+ Companion_getInstance_2();
579
+ Companion_getInstance_2();
580
+ Companion_getInstance_2();
580
581
  var tmp11_safe_receiver = _this__u8e3s4.oi_1;
581
582
  var tmp_14;
582
583
  if (tmp11_safe_receiver == null) {
@@ -593,23 +594,23 @@
593
594
  }
594
595
  var tmp12_elvis_lhs = tmp_14;
595
596
  var tmp_15 = tmp12_elvis_lhs == null ? 'null' : tmp12_elvis_lhs;
596
- Companion_getInstance_1();
597
- Companion_getInstance_1();
598
- Companion_getInstance_1();
599
- Companion_getInstance_1();
600
- Companion_getInstance_1();
601
- Companion_getInstance_1();
602
- Companion_getInstance_1();
603
- Companion_getInstance_1();
597
+ Companion_getInstance_2();
598
+ Companion_getInstance_2();
599
+ Companion_getInstance_2();
600
+ Companion_getInstance_2();
601
+ Companion_getInstance_2();
602
+ Companion_getInstance_2();
603
+ Companion_getInstance_2();
604
+ Companion_getInstance_2();
604
605
  var tmp13_safe_receiver = _this__u8e3s4.oi_1;
605
606
  var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.yh_1;
606
607
  var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.ei(tmp14_safe_receiver);
607
608
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
608
- Companion_getInstance_1();
609
+ Companion_getInstance_2();
609
610
  return trimMargin('\n |' + ' ' + 'class Response' + tmp + tmp_0 + ' implements Response' + tmp_2 + '<' + tmp_3 + '> {\n |' + ' ' + ' ' + 'private final int status;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_4 + '> content;\n |' + ' ' + ' ' + 'public Response' + tmp_5 + tmp_6 + '(' + tmp_9 + 'java.util.Map<String, java.util.List<Object>> headers' + tmp_11 + ') {\n |' + ' ' + ' ' + ' ' + 'this.status = ' + tmp_13 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = headers;\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_15 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public int getStatus() {return status;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_16 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
610
611
  }
611
612
  function emitResponseMapper(_this__u8e3s4, $this) {
612
- Companion_getInstance_1();
613
+ Companion_getInstance_2();
613
614
  var tmp$ret$1;
614
615
  // Inline function 'kotlin.collections.distinctBy' call
615
616
  var set = HashSet_init_$Create$();
@@ -629,18 +630,18 @@
629
630
  tmp$ret$1 = list;
630
631
  var tmp = tmp$ret$1;
631
632
  var tmp_0 = joinToString(tmp, '', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseMapper$lambda($this));
632
- Companion_getInstance_1();
633
- Companion_getInstance_1();
634
- Companion_getInstance_1();
633
+ Companion_getInstance_2();
634
+ Companion_getInstance_2();
635
+ Companion_getInstance_2();
635
636
  return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(WirespecShared.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, WirespecShared.Content<B> content) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
636
637
  }
637
638
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
638
639
  var tmp0_subject = _this__u8e3s4.oi_1;
639
640
  var tmp;
640
641
  if (tmp0_subject == null) {
641
- Companion_getInstance_1();
642
- Companion_getInstance_1();
643
- Companion_getInstance_1();
642
+ Companion_getInstance_2();
643
+ Companion_getInstance_2();
644
+ Companion_getInstance_2();
644
645
  var tmp$ret$1;
645
646
  // Inline function 'kotlin.takeIf' call
646
647
  var tmp0_takeIf = _this__u8e3s4.ni_1;
@@ -670,7 +671,7 @@
670
671
  tmp_1 = tmp$ret$3;
671
672
  }
672
673
  var tmp_2 = orEmptyString(tmp_1, $this);
673
- var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
674
+ var tmp_3 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
674
675
  var tmp$ret$5;
675
676
  // Inline function 'kotlin.takeIf' call
676
677
  var tmp1_takeIf = _this__u8e3s4.ni_1;
@@ -701,9 +702,9 @@
701
702
  }
702
703
  tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_2 + 'content == null) { return new Response' + tmp_3 + 'Void(' + orEmptyString(tmp_5, $this) + 'headers); }\n |\n ');
703
704
  } else {
704
- Companion_getInstance_1();
705
- Companion_getInstance_1();
706
- Companion_getInstance_1();
705
+ Companion_getInstance_2();
706
+ Companion_getInstance_2();
707
+ Companion_getInstance_2();
707
708
  var tmp$ret$9;
708
709
  // Inline function 'kotlin.takeIf' call
709
710
  var tmp2_takeIf = _this__u8e3s4.ni_1;
@@ -733,18 +734,18 @@
733
734
  tmp_7 = tmp$ret$11;
734
735
  }
735
736
  var tmp_8 = orEmptyString(tmp_7, $this);
736
- Companion_getInstance_1();
737
- Companion_getInstance_1();
738
- Companion_getInstance_1();
739
- Companion_getInstance_1();
737
+ Companion_getInstance_2();
738
+ Companion_getInstance_2();
739
+ Companion_getInstance_2();
740
+ Companion_getInstance_2();
740
741
  var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
741
742
  var tmp_10 = emitPrimaryType(_this__u8e3s4.oi_1.yh_1, $this);
742
743
  var tmp_11 = _this__u8e3s4.oi_1.yh_1.ri();
743
- Companion_getInstance_1();
744
- Companion_getInstance_1();
745
- Companion_getInstance_1();
746
- Companion_getInstance_1();
747
- var tmp_12 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
744
+ Companion_getInstance_2();
745
+ Companion_getInstance_2();
746
+ Companion_getInstance_2();
747
+ Companion_getInstance_2();
748
+ var tmp_12 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
748
749
  var tmp_13 = emitContentType(_this__u8e3s4.oi_1, $this);
749
750
  var tmp$ret$13;
750
751
  // Inline function 'kotlin.takeIf' call
@@ -775,9 +776,9 @@
775
776
  tmp_15 = tmp$ret$15;
776
777
  }
777
778
  var tmp_16 = orEmptyString(tmp_15, $this);
778
- Companion_getInstance_1();
779
- Companion_getInstance_1();
780
- Companion_getInstance_1();
779
+ Companion_getInstance_2();
780
+ Companion_getInstance_2();
781
+ Companion_getInstance_2();
781
782
  tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.oi_1.xh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
782
783
  }
783
784
  return tmp;
@@ -864,7 +865,7 @@
864
865
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
865
866
  tmp = tmp$ret$1 + 'XX';
866
867
  } else {
867
- tmp = Companion_getInstance_1().qi(_this__u8e3s4);
868
+ tmp = Companion_getInstance_2().qi(_this__u8e3s4);
868
869
  }
869
870
  return tmp;
870
871
  }
@@ -885,7 +886,7 @@
885
886
  }
886
887
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
887
888
  return function () {
888
- Companion_getInstance_1();
889
+ Companion_getInstance_2();
889
890
  return ' ' + ($this_emit.cj_1 ? 'java.util.Optional<' + this$0.ei($this_emit.bj_1) + '>' : this$0.ei($this_emit.bj_1)) + ' ' + this$0.dj($this_emit.aj_1);
890
891
  };
891
892
  }
@@ -960,30 +961,30 @@
960
961
  }
961
962
  function JavaEmitter$emit$lambda_4($this_emit) {
962
963
  return function () {
963
- Companion_getInstance_1();
964
- Companion_getInstance_1();
965
- Companion_getInstance_1();
966
- Companion_getInstance_1();
967
- Companion_getInstance_1();
964
+ Companion_getInstance_2();
965
+ Companion_getInstance_2();
966
+ Companion_getInstance_2();
967
+ Companion_getInstance_2();
968
+ Companion_getInstance_2();
968
969
  var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.lj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
969
- Companion_getInstance_1();
970
- Companion_getInstance_1();
970
+ Companion_getInstance_2();
971
+ Companion_getInstance_2();
971
972
  var tmp = ',\n' + ' ';
972
973
  return 'public enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n}\n';
973
974
  };
974
975
  }
975
976
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
976
977
  return function () {
977
- Companion_getInstance_1();
978
- Companion_getInstance_1();
978
+ Companion_getInstance_2();
979
+ Companion_getInstance_2();
979
980
  var tmp = this$0.pj($this_emit.oj_1);
980
- Companion_getInstance_1();
981
+ Companion_getInstance_2();
981
982
  return trimMargin('public record ' + $this_emit.nj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.nj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
982
983
  };
983
984
  }
984
985
  function JavaEmitter$emit$lambda_6($this_emit) {
985
986
  return function () {
986
- Companion_getInstance_1();
987
+ Companion_getInstance_2();
987
988
  return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.qj_1 + ').matcher(record.value).find();';
988
989
  };
989
990
  }
@@ -993,12 +994,12 @@
993
994
  };
994
995
  }
995
996
  function JavaEmitter$emit$lambda$lambda_2(it) {
996
- Companion_getInstance_1();
997
+ Companion_getInstance_2();
997
998
  return ' ' + 'interface Response' + it + '<T> extends Response<T>{};';
998
999
  }
999
1000
  function JavaEmitter$emit$lambda$lambda_3(this$0) {
1000
1001
  return function (it) {
1001
- Companion_getInstance_1();
1002
+ Companion_getInstance_2();
1002
1003
  return ' ' + 'interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
1003
1004
  };
1004
1005
  }
@@ -1009,12 +1010,12 @@
1009
1010
  }
1010
1011
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
1011
1012
  return function () {
1012
- Companion_getInstance_1();
1013
+ Companion_getInstance_2();
1013
1014
  var tmp = emitSegment($this_emit.hi_1, this$0);
1014
1015
  var tmp_0 = emitResponseMapper($this_emit.mi_1, this$0);
1015
- Companion_getInstance_1();
1016
+ Companion_getInstance_2();
1016
1017
  var tmp_1 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1017
- Companion_getInstance_1();
1018
+ Companion_getInstance_2();
1018
1019
  var tmp$ret$2;
1019
1020
  // Inline function 'kotlin.collections.map' call
1020
1021
  var tmp1_map = $this_emit.mi_1;
@@ -1089,8 +1090,8 @@
1089
1090
  tmp$ret$10 = list;
1090
1091
  var tmp_6 = tmp$ret$10;
1091
1092
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1092
- Companion_getInstance_1();
1093
- return trimMargin('public interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().rj($this_emit.fi_1) + '(Request request);\n |}\n |');
1093
+ Companion_getInstance_2();
1094
+ return trimMargin('public interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_2().rj($this_emit.fi_1) + '(Request request);\n |}\n |');
1094
1095
  };
1095
1096
  }
1096
1097
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1099,7 +1100,7 @@
1099
1100
  };
1100
1101
  }
1101
1102
  function JavaEmitter$emitContentType$lambda(it) {
1102
- return Companion_getInstance_1().qi(it);
1103
+ return Companion_getInstance_2().qi(it);
1103
1104
  }
1104
1105
  function JavaEmitter$emit$lambda_8($this_emit) {
1105
1106
  return function () {
@@ -1151,42 +1152,42 @@
1151
1152
  logger = logger === VOID ? get_noLogger() : logger;
1152
1153
  Emitter.call(this, logger, true);
1153
1154
  var tmp = this;
1154
- Companion_getInstance_1();
1155
- Companion_getInstance_1();
1156
- Companion_getInstance_1();
1157
- Companion_getInstance_1();
1158
- Companion_getInstance_1();
1159
- Companion_getInstance_1();
1160
- Companion_getInstance_1();
1161
- Companion_getInstance_1();
1162
- Companion_getInstance_1();
1163
- Companion_getInstance_1();
1164
- Companion_getInstance_1();
1165
- Companion_getInstance_1();
1166
- Companion_getInstance_1();
1167
- Companion_getInstance_1();
1168
- Companion_getInstance_1();
1169
- Companion_getInstance_1();
1170
- Companion_getInstance_1();
1171
- Companion_getInstance_1();
1172
- Companion_getInstance_1();
1173
- Companion_getInstance_1();
1174
- Companion_getInstance_1();
1175
- Companion_getInstance_1();
1176
- Companion_getInstance_1();
1177
- Companion_getInstance_1();
1178
- Companion_getInstance_1();
1179
- Companion_getInstance_1();
1180
- Companion_getInstance_1();
1181
- Companion_getInstance_1();
1182
- Companion_getInstance_1();
1183
- Companion_getInstance_1();
1184
- Companion_getInstance_1();
1185
- Companion_getInstance_1();
1186
- Companion_getInstance_1();
1187
- Companion_getInstance_1();
1188
- Companion_getInstance_1();
1189
- Companion_getInstance_1();
1155
+ Companion_getInstance_2();
1156
+ Companion_getInstance_2();
1157
+ Companion_getInstance_2();
1158
+ Companion_getInstance_2();
1159
+ Companion_getInstance_2();
1160
+ Companion_getInstance_2();
1161
+ Companion_getInstance_2();
1162
+ Companion_getInstance_2();
1163
+ Companion_getInstance_2();
1164
+ Companion_getInstance_2();
1165
+ Companion_getInstance_2();
1166
+ Companion_getInstance_2();
1167
+ Companion_getInstance_2();
1168
+ Companion_getInstance_2();
1169
+ Companion_getInstance_2();
1170
+ Companion_getInstance_2();
1171
+ Companion_getInstance_2();
1172
+ Companion_getInstance_2();
1173
+ Companion_getInstance_2();
1174
+ Companion_getInstance_2();
1175
+ Companion_getInstance_2();
1176
+ Companion_getInstance_2();
1177
+ Companion_getInstance_2();
1178
+ Companion_getInstance_2();
1179
+ Companion_getInstance_2();
1180
+ Companion_getInstance_2();
1181
+ Companion_getInstance_2();
1182
+ Companion_getInstance_2();
1183
+ Companion_getInstance_2();
1184
+ Companion_getInstance_2();
1185
+ Companion_getInstance_2();
1186
+ Companion_getInstance_2();
1187
+ Companion_getInstance_2();
1188
+ Companion_getInstance_2();
1189
+ Companion_getInstance_2();
1190
+ Companion_getInstance_2();
1190
1191
  tmp.ci_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1191
1192
  this.di_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1192
1193
  }
@@ -1290,9 +1291,9 @@
1290
1291
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
1291
1292
  }
1292
1293
  function emitResponseMapper_0(_this__u8e3s4, $this) {
1293
- Companion_getInstance_1();
1294
- Companion_getInstance_1();
1295
- Companion_getInstance_1();
1294
+ Companion_getInstance_2();
1295
+ Companion_getInstance_2();
1296
+ Companion_getInstance_2();
1296
1297
  var tmp$ret$4;
1297
1298
  // Inline function 'kotlin.collections.distinctBy' call
1298
1299
  var tmp$ret$2;
@@ -1305,7 +1306,7 @@
1305
1306
  var element = tmp0_iterator.e();
1306
1307
  var tmp$ret$0;
1307
1308
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1308
- tmp$ret$0 = Companion_getInstance_1().fk(element.ni_1);
1309
+ tmp$ret$0 = Companion_getInstance_2().fk(element.ni_1);
1309
1310
  if (tmp$ret$0) {
1310
1311
  tmp0_filterTo.a(element);
1311
1312
  }
@@ -1342,7 +1343,7 @@
1342
1343
  var element_0 = tmp0_iterator_1.e();
1343
1344
  var tmp$ret$5;
1344
1345
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1345
- tmp$ret$5 = !Companion_getInstance_1().fk(element_0.ni_1);
1346
+ tmp$ret$5 = !Companion_getInstance_2().fk(element_0.ni_1);
1346
1347
  if (tmp$ret$5) {
1347
1348
  tmp2_filterTo.a(element_0);
1348
1349
  }
@@ -1367,18 +1368,18 @@
1367
1368
  tmp$ret$9 = list_0;
1368
1369
  var tmp_1 = tmp$ret$9;
1369
1370
  var tmp_2 = joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitResponseMapper$lambda_0($this));
1370
- Companion_getInstance_1();
1371
- Companion_getInstance_1();
1372
- Companion_getInstance_1();
1371
+ Companion_getInstance_2();
1372
+ Companion_getInstance_2();
1373
+ Companion_getInstance_2();
1373
1374
  return trimMargin('\n |fun <B> RESPONSE_MAPPER(contentMapper: WirespecShared.ContentMapper<B>) =\n |' + ' ' + 'fun(status: Int, headers:Map<String, List<Any?>>, content: WirespecShared.Content<B>?) =\n |' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $status")\n ');
1374
1375
  }
1375
1376
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1376
1377
  var tmp0_subject = _this__u8e3s4.oi_1;
1377
1378
  var tmp;
1378
1379
  if (tmp0_subject == null) {
1379
- Companion_getInstance_1();
1380
- Companion_getInstance_1();
1381
- Companion_getInstance_1();
1380
+ Companion_getInstance_2();
1381
+ Companion_getInstance_2();
1382
+ Companion_getInstance_2();
1382
1383
  var tmp$ret$1;
1383
1384
  // Inline function 'kotlin.takeIf' call
1384
1385
  var tmp0_takeIf = _this__u8e3s4.ni_1;
@@ -1386,7 +1387,7 @@
1386
1387
  var tmp_0;
1387
1388
  var tmp$ret$0;
1388
1389
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1389
- tmp$ret$0 = Companion_getInstance_1().fk(tmp0_takeIf);
1390
+ tmp$ret$0 = Companion_getInstance_2().fk(tmp0_takeIf);
1390
1391
  if (tmp$ret$0) {
1391
1392
  tmp_0 = tmp0_takeIf;
1392
1393
  } else {
@@ -1408,7 +1409,7 @@
1408
1409
  tmp_1 = tmp$ret$3;
1409
1410
  }
1410
1411
  var tmp_2 = orEmptyString_0(tmp_1);
1411
- var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1412
+ var tmp_3 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
1412
1413
  var tmp$ret$5;
1413
1414
  // Inline function 'kotlin.takeIf' call
1414
1415
  var tmp1_takeIf = _this__u8e3s4.ni_1;
@@ -1416,7 +1417,7 @@
1416
1417
  var tmp_4;
1417
1418
  var tmp$ret$4;
1418
1419
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1419
- tmp$ret$4 = !Companion_getInstance_1().fk(tmp1_takeIf);
1420
+ tmp$ret$4 = !Companion_getInstance_2().fk(tmp1_takeIf);
1420
1421
  if (tmp$ret$4) {
1421
1422
  tmp_4 = tmp1_takeIf;
1422
1423
  } else {
@@ -1439,9 +1440,9 @@
1439
1440
  }
1440
1441
  tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_2 + 'content == null -> Response' + tmp_3 + 'Unit(' + orEmptyString_0(tmp_5) + 'headers)\n ');
1441
1442
  } else {
1442
- Companion_getInstance_1();
1443
- Companion_getInstance_1();
1444
- Companion_getInstance_1();
1443
+ Companion_getInstance_2();
1444
+ Companion_getInstance_2();
1445
+ Companion_getInstance_2();
1445
1446
  var tmp$ret$9;
1446
1447
  // Inline function 'kotlin.takeIf' call
1447
1448
  var tmp2_takeIf = _this__u8e3s4.ni_1;
@@ -1449,7 +1450,7 @@
1449
1450
  var tmp_6;
1450
1451
  var tmp$ret$8;
1451
1452
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1452
- tmp$ret$8 = Companion_getInstance_1().fk(tmp2_takeIf);
1453
+ tmp$ret$8 = Companion_getInstance_2().fk(tmp2_takeIf);
1453
1454
  if (tmp$ret$8) {
1454
1455
  tmp_6 = tmp2_takeIf;
1455
1456
  } else {
@@ -1471,17 +1472,17 @@
1471
1472
  tmp_7 = tmp$ret$11;
1472
1473
  }
1473
1474
  var tmp_8 = orEmptyString_0(tmp_7);
1474
- Companion_getInstance_1();
1475
- Companion_getInstance_1();
1476
- Companion_getInstance_1();
1477
- Companion_getInstance_1();
1475
+ Companion_getInstance_2();
1476
+ Companion_getInstance_2();
1477
+ Companion_getInstance_2();
1478
+ Companion_getInstance_2();
1478
1479
  var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1479
1480
  var tmp_10 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1480
- Companion_getInstance_1();
1481
- Companion_getInstance_1();
1482
- Companion_getInstance_1();
1483
- Companion_getInstance_1();
1484
- var tmp_11 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1481
+ Companion_getInstance_2();
1482
+ Companion_getInstance_2();
1483
+ Companion_getInstance_2();
1484
+ Companion_getInstance_2();
1485
+ var tmp_11 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
1485
1486
  var tmp_12 = emitContentType_0(_this__u8e3s4.oi_1);
1486
1487
  var tmp$ret$13;
1487
1488
  // Inline function 'kotlin.takeIf' call
@@ -1490,7 +1491,7 @@
1490
1491
  var tmp_13;
1491
1492
  var tmp$ret$12;
1492
1493
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1493
- tmp$ret$12 = !Companion_getInstance_1().fk(tmp3_takeIf);
1494
+ tmp$ret$12 = !Companion_getInstance_2().fk(tmp3_takeIf);
1494
1495
  if (tmp$ret$12) {
1495
1496
  tmp_13 = tmp3_takeIf;
1496
1497
  } else {
@@ -1515,6 +1516,16 @@
1515
1516
  }
1516
1517
  return tmp;
1517
1518
  }
1519
+ function Companion() {
1520
+ Companion_instance = this;
1521
+ this.kk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1522
+ }
1523
+ var Companion_instance;
1524
+ function Companion_getInstance_0() {
1525
+ if (Companion_instance == null)
1526
+ new Companion();
1527
+ return Companion_instance;
1528
+ }
1518
1529
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1519
1530
  return function () {
1520
1531
  return trimMargin('|data class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |');
@@ -1522,7 +1533,7 @@
1522
1533
  }
1523
1534
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1524
1535
  return function (it) {
1525
- Companion_getInstance_1();
1536
+ Companion_getInstance_2();
1526
1537
  return ' ' + 'val ' + this$0.yi(it);
1527
1538
  };
1528
1539
  }
@@ -1536,7 +1547,7 @@
1536
1547
  return this$0.dj($this_emit.aj_1) + ': ' + this$0.ei($this_emit.bj_1) + ($this_emit.cj_1 ? '? = null' : '');
1537
1548
  };
1538
1549
  }
1539
- function KotlinEmitter$emit$lambda_2($this_emit) {
1550
+ function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1540
1551
  return function () {
1541
1552
  var tmp$ret$2;
1542
1553
  // Inline function 'kotlin.collections.mapIndexed' call
@@ -1553,12 +1564,12 @@
1553
1564
  var tmp1 = index;
1554
1565
  index = tmp1 + 1 | 0;
1555
1566
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1556
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().qi(item) : item;
1567
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().qi(item) : item;
1557
1568
  tmp0_mapIndexedTo.a(tmp$ret$0);
1558
1569
  }
1559
1570
  tmp$ret$1 = tmp0_mapIndexedTo;
1560
1571
  tmp$ret$2 = tmp$ret$1;
1561
- return joinToString(tmp$ret$2, '');
1572
+ return this$0.lk(joinToString(tmp$ret$2, ''));
1562
1573
  };
1563
1574
  }
1564
1575
  function KotlinEmitter$emit$lambda_3($this_emit) {
@@ -1609,7 +1620,7 @@
1609
1620
  // Inline function 'kotlin.contracts.contract' call
1610
1621
  var tmp$ret$2;
1611
1622
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1612
- tmp$ret$2 = $this_emit.kk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1623
+ tmp$ret$2 = $this_emit.mk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1613
1624
  tmp$ret$3 = tmp$ret$2;
1614
1625
  return tmp$ret$3;
1615
1626
  };
@@ -1625,15 +1636,17 @@
1625
1636
  tmp$ret$1 = tmp$ret$0;
1626
1637
  return tmp$ret$1;
1627
1638
  }
1628
- function KotlinEmitter$emit$lambda$lambda_0(it) {
1629
- return invoke$sanitize_0(it) + '("' + it + '")';
1639
+ function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1640
+ return function (it) {
1641
+ return this$0.lk(invoke$sanitize_0(it)) + '("' + it + '")';
1642
+ };
1630
1643
  }
1631
- function KotlinEmitter$emit$lambda_4($this_emit) {
1644
+ function KotlinEmitter$emit$lambda_4($this_emit, this$0) {
1632
1645
  return function () {
1633
- Companion_getInstance_1();
1634
- Companion_getInstance_1();
1646
+ Companion_getInstance_2();
1647
+ Companion_getInstance_2();
1635
1648
  var tmp = ',\n' + ' ';
1636
- return 'enum class ' + $this_emit.lj_1 + ' (val label: String){\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0) + '\n}\n';
1649
+ return 'enum class ' + $this_emit.lj_1 + ' (val label: String){\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0)) + '\n}\n';
1637
1650
  };
1638
1651
  }
1639
1652
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
@@ -1648,7 +1661,7 @@
1648
1661
  }
1649
1662
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1650
1663
  return function (it) {
1651
- Companion_getInstance_1();
1664
+ Companion_getInstance_2();
1652
1665
  var tmp0_safe_receiver = it.wh_1;
1653
1666
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1654
1667
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1679,16 +1692,16 @@
1679
1692
  };
1680
1693
  }
1681
1694
  function KotlinEmitter$emit$lambda$lambda_2(it) {
1682
- Companion_getInstance_1();
1695
+ Companion_getInstance_2();
1683
1696
  return ' ' + 'sealed interface Response' + it + '<T>: Response<T>';
1684
1697
  }
1685
1698
  function KotlinEmitter$emit$lambda$lambda_3(it) {
1686
- Companion_getInstance_1();
1699
+ Companion_getInstance_2();
1687
1700
  return ' ' + 'sealed interface Response' + it + '<T>: Response' + groupStatus_0(it) + '<T>';
1688
1701
  }
1689
1702
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1690
1703
  return function (it) {
1691
- Companion_getInstance_1();
1704
+ Companion_getInstance_2();
1692
1705
  var tmp0_safe_receiver = it.oi_1;
1693
1706
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1694
1707
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1732,8 +1745,8 @@
1732
1745
  }
1733
1746
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1734
1747
  return function (it) {
1735
- Companion_getInstance_1();
1736
- var tmp = Companion_getInstance_1().qi(it.ni_1);
1748
+ Companion_getInstance_2();
1749
+ var tmp = Companion_getInstance_2().qi(it.ni_1);
1737
1750
  var tmp0_safe_receiver = it.oi_1;
1738
1751
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1739
1752
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1753,7 +1766,7 @@
1753
1766
  }
1754
1767
  var tmp3_elvis_lhs = tmp_1;
1755
1768
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1756
- var tmp_3 = Companion_getInstance_1().qi(it.ni_1);
1769
+ var tmp_3 = Companion_getInstance_2().qi(it.ni_1);
1757
1770
  var tmp4_safe_receiver = it.oi_1;
1758
1771
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1759
1772
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.ei(tmp5_safe_receiver);
@@ -1778,9 +1791,9 @@
1778
1791
  }
1779
1792
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1780
1793
  return function () {
1781
- Companion_getInstance_1();
1794
+ Companion_getInstance_2();
1782
1795
  var tmp = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1783
- Companion_getInstance_1();
1796
+ Companion_getInstance_2();
1784
1797
  var tmp$ret$2;
1785
1798
  // Inline function 'kotlin.collections.map' call
1786
1799
  var tmp1_map = $this_emit.mi_1;
@@ -1812,7 +1825,7 @@
1812
1825
  var element = tmp0_iterator_0.e();
1813
1826
  var tmp$ret$3;
1814
1827
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1815
- tmp$ret$3 = Companion_getInstance_1().fk(element.ni_1);
1828
+ tmp$ret$3 = Companion_getInstance_2().fk(element.ni_1);
1816
1829
  if (tmp$ret$3) {
1817
1830
  tmp2_filterTo.a(element);
1818
1831
  }
@@ -1848,7 +1861,7 @@
1848
1861
  var element_0 = tmp0_iterator_2.e();
1849
1862
  var tmp$ret$9;
1850
1863
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1851
- tmp$ret$9 = Companion_getInstance_1().fk(element_0.ni_1);
1864
+ tmp$ret$9 = Companion_getInstance_2().fk(element_0.ni_1);
1852
1865
  if (tmp$ret$9) {
1853
1866
  tmp6_filterTo.a(element_0);
1854
1867
  }
@@ -1886,7 +1899,7 @@
1886
1899
  var element_1 = tmp0_iterator_4.e();
1887
1900
  var tmp$ret$14;
1888
1901
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1889
- tmp$ret$14 = !Companion_getInstance_1().fk(element_1.ni_1);
1902
+ tmp$ret$14 = !Companion_getInstance_2().fk(element_1.ni_1);
1890
1903
  if (tmp$ret$14) {
1891
1904
  tmp9_filterTo.a(element_1);
1892
1905
  }
@@ -1911,17 +1924,17 @@
1911
1924
  tmp$ret$18 = list_0;
1912
1925
  var tmp_6 = tmp$ret$18;
1913
1926
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1914
- var tmp_8 = Companion_getInstance_1().rj($this_emit.fi_1);
1915
- Companion_getInstance_1();
1916
- Companion_getInstance_1();
1917
- Companion_getInstance_1();
1927
+ var tmp_8 = Companion_getInstance_2().rj($this_emit.fi_1);
1928
+ Companion_getInstance_2();
1929
+ Companion_getInstance_2();
1930
+ Companion_getInstance_2();
1918
1931
  var tmp_9 = emitSegment_0($this_emit.hi_1, this$0);
1919
- Companion_getInstance_1();
1920
- Companion_getInstance_1();
1932
+ Companion_getInstance_2();
1933
+ Companion_getInstance_2();
1921
1934
  var tmp_10 = emitResponseMapper_0($this_emit.mi_1, this$0);
1922
- Companion_getInstance_1();
1923
- Companion_getInstance_1();
1924
- Companion_getInstance_1();
1935
+ Companion_getInstance_2();
1936
+ Companion_getInstance_2();
1937
+ Companion_getInstance_2();
1925
1938
  return trimMargin('interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1926
1939
  };
1927
1940
  }
@@ -1981,16 +1994,17 @@
1981
1994
  };
1982
1995
  }
1983
1996
  function KotlinEmitter(packageName, logger) {
1997
+ Companion_getInstance_0();
1984
1998
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1985
1999
  logger = logger === VOID ? get_noLogger() : logger;
1986
2000
  Emitter.call(this, logger);
1987
2001
  this.ik_1 = packageName;
1988
2002
  var tmp = this;
1989
- Companion_getInstance_1();
1990
- Companion_getInstance_1();
1991
- Companion_getInstance_1();
1992
- Companion_getInstance_1();
1993
- Companion_getInstance_1();
2003
+ Companion_getInstance_2();
2004
+ Companion_getInstance_2();
2005
+ Companion_getInstance_2();
2006
+ Companion_getInstance_2();
2007
+ Companion_getInstance_2();
1994
2008
  tmp.jk_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
1995
2009
  }
1996
2010
  protoOf(KotlinEmitter).sh = function (ast) {
@@ -2009,7 +2023,7 @@
2009
2023
  var result = item.j3();
2010
2024
  var tmp$ret$0;
2011
2025
  // Inline function 'kotlin.text.trimStart' call
2012
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.ik_1) ? '' : 'package ' + this.ik_1) + '\n |' + (Companion_getInstance_1().lk(ast) ? this.jk_1 : '') + '\n |' + result + '\n ');
2026
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.ik_1) ? '' : 'package ' + this.ik_1) + '\n |' + (Companion_getInstance_2().nk(ast) ? this.jk_1 : '') + '\n |' + result + '\n ');
2013
2027
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2014
2028
  tmp$ret$1 = to(name, tmp$ret$0);
2015
2029
  tmp0_mapTo.a(tmp$ret$1);
@@ -2028,13 +2042,13 @@
2028
2042
  return this.wj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2029
2043
  };
2030
2044
  protoOf(KotlinEmitter).dj = function (_this__u8e3s4) {
2031
- return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(_this__u8e3s4));
2045
+ return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2032
2046
  };
2033
2047
  protoOf(KotlinEmitter).ei = function (_this__u8e3s4) {
2034
2048
  return this.vh(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2035
2049
  };
2036
2050
  protoOf(KotlinEmitter).yj = function (_this__u8e3s4) {
2037
- return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
2051
+ return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2038
2052
  };
2039
2053
  protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2040
2054
  return this.bk(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
@@ -2045,6 +2059,9 @@
2045
2059
  protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2046
2060
  return this.ek(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2047
2061
  };
2062
+ protoOf(KotlinEmitter).lk = function (_this__u8e3s4) {
2063
+ return Companion_getInstance_0().kk_1.i1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2064
+ };
2048
2065
  function toField(_this__u8e3s4, identifier, isNullable) {
2049
2066
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2050
2067
  }
@@ -2054,7 +2071,7 @@
2054
2071
  }
2055
2072
  function groupStatus_0(_this__u8e3s4) {
2056
2073
  var tmp;
2057
- if (Companion_getInstance_1().fk(_this__u8e3s4)) {
2074
+ if (Companion_getInstance_2().fk(_this__u8e3s4)) {
2058
2075
  var tmp$ret$1;
2059
2076
  // Inline function 'kotlin.text.substring' call
2060
2077
  var tmp$ret$0;
@@ -2063,7 +2080,7 @@
2063
2080
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2064
2081
  tmp = tmp$ret$1 + 'XX';
2065
2082
  } else {
2066
- tmp = Companion_getInstance_1().qi(_this__u8e3s4);
2083
+ tmp = Companion_getInstance_2().qi(_this__u8e3s4);
2067
2084
  }
2068
2085
  return tmp;
2069
2086
  }
@@ -2072,17 +2089,17 @@
2072
2089
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2073
2090
  }
2074
2091
  function emitContentType$lambda(it) {
2075
- return Companion_getInstance_1().qi(it);
2092
+ return Companion_getInstance_2().qi(it);
2076
2093
  }
2077
- function Companion() {
2078
- Companion_instance = this;
2079
- this.mk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2094
+ function Companion_0() {
2095
+ Companion_instance_0 = this;
2096
+ this.ok_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2080
2097
  }
2081
- var Companion_instance;
2082
- function Companion_getInstance_0() {
2083
- if (Companion_instance == null)
2084
- new Companion();
2085
- return Companion_instance;
2098
+ var Companion_instance_0;
2099
+ function Companion_getInstance_1() {
2100
+ if (Companion_instance_0 == null)
2101
+ new Companion_0();
2102
+ return Companion_instance_0;
2086
2103
  }
2087
2104
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2088
2105
  return function () {
@@ -2101,13 +2118,13 @@
2101
2118
  }
2102
2119
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2103
2120
  return function () {
2104
- Companion_getInstance_1();
2121
+ Companion_getInstance_2();
2105
2122
  return ' ' + 'val ' + this$0.dj($this_emit.aj_1) + ': ' + ($this_emit.cj_1 ? 'Option[' + this$0.ei($this_emit.bj_1) + ']' : this$0.ei($this_emit.bj_1)) + ',';
2106
2123
  };
2107
2124
  }
2108
2125
  function ScalaEmitter$emit$lambda_2($this_emit) {
2109
2126
  return function () {
2110
- return Companion_getInstance_0().mk_1.i1($this_emit.ej_1) ? '`' + $this_emit.ej_1 + '`' : $this_emit.ej_1;
2127
+ return Companion_getInstance_1().ok_1.i1($this_emit.ej_1) ? '`' + $this_emit.ej_1 + '`' : $this_emit.ej_1;
2111
2128
  };
2112
2129
  }
2113
2130
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2168,7 +2185,7 @@
2168
2185
  }
2169
2186
  function ScalaEmitter$emit$lambda$lambda_0($this_emit) {
2170
2187
  return function (it) {
2171
- Companion_getInstance_1();
2188
+ Companion_getInstance_2();
2172
2189
  var tmp$ret$1;
2173
2190
  // Inline function 'kotlin.text.uppercase' call
2174
2191
  var tmp0_uppercase = invoke$sanitize_1(it);
@@ -2186,18 +2203,18 @@
2186
2203
  }
2187
2204
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2188
2205
  return function () {
2189
- Companion_getInstance_1();
2206
+ Companion_getInstance_2();
2190
2207
  var tmp = this$0.pj($this_emit.oj_1);
2191
- Companion_getInstance_1();
2208
+ Companion_getInstance_2();
2192
2209
  return trimMargin('case class ' + $this_emit.nj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.nj_1 + 'Ops(val that: ' + $this_emit.nj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2193
2210
  };
2194
2211
  }
2195
2212
  function ScalaEmitter$emit$lambda_6($this_emit) {
2196
2213
  return function () {
2197
- Companion_getInstance_1();
2198
- Companion_getInstance_1();
2199
- Companion_getInstance_1();
2200
- Companion_getInstance_1();
2214
+ Companion_getInstance_2();
2215
+ Companion_getInstance_2();
2216
+ Companion_getInstance_2();
2217
+ Companion_getInstance_2();
2201
2218
  return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.qj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2202
2219
  };
2203
2220
  }
@@ -2205,11 +2222,11 @@
2205
2222
  return '// TODO("Not yet implemented")\n';
2206
2223
  }
2207
2224
  function ScalaEmitter(packageName, logger) {
2208
- Companion_getInstance_0();
2225
+ Companion_getInstance_1();
2209
2226
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2210
2227
  logger = logger === VOID ? get_noLogger() : logger;
2211
2228
  Emitter.call(this, logger);
2212
- this.pk_1 = packageName;
2229
+ this.rk_1 = packageName;
2213
2230
  }
2214
2231
  protoOf(ScalaEmitter).sh = function (ast) {
2215
2232
  var tmp$ret$2;
@@ -2225,7 +2242,7 @@
2225
2242
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2226
2243
  var name = item.i3();
2227
2244
  var result = item.j3();
2228
- tmp$ret$0 = to(name, isBlank(this.pk_1) ? '' : 'package ' + this.pk_1 + '\n\n' + result);
2245
+ tmp$ret$0 = to(name, isBlank(this.rk_1) ? '' : 'package ' + this.rk_1 + '\n\n' + result);
2229
2246
  tmp0_mapTo.a(tmp$ret$0);
2230
2247
  }
2231
2248
  tmp$ret$1 = tmp0_mapTo;
@@ -2271,7 +2288,7 @@
2271
2288
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2272
2289
  }
2273
2290
  function emitName_0(_this__u8e3s4, $this) {
2274
- var tmp = 'Response' + Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
2291
+ var tmp = 'Response' + Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
2275
2292
  var tmp0_safe_receiver = _this__u8e3s4.oi_1;
2276
2293
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2277
2294
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
@@ -2302,7 +2319,7 @@
2302
2319
  }
2303
2320
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2304
2321
  return function () {
2305
- Companion_getInstance_1();
2322
+ Companion_getInstance_2();
2306
2323
  return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1);
2307
2324
  };
2308
2325
  }
@@ -2359,7 +2376,7 @@
2359
2376
  // Inline function 'kotlin.contracts.contract' call
2360
2377
  var tmp$ret$2;
2361
2378
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2362
- tmp$ret$2 = $this_emit.kk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2379
+ tmp$ret$2 = $this_emit.mk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2363
2380
  tmp$ret$3 = tmp$ret$2;
2364
2381
  return tmp$ret$3;
2365
2382
  };
@@ -2374,7 +2391,7 @@
2374
2391
  }
2375
2392
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2376
2393
  return function () {
2377
- Companion_getInstance_1();
2394
+ Companion_getInstance_2();
2378
2395
  return trimMargin('type ' + $this_emit.nj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.nj_1 + ' = (type: ' + $this_emit.nj_1 + ') => (' + this$0.pj($this_emit.oj_1) + ').test(type.value);\n |\n |');
2379
2396
  };
2380
2397
  }
@@ -2385,7 +2402,7 @@
2385
2402
  }
2386
2403
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2387
2404
  return function (it) {
2388
- Companion_getInstance_1();
2405
+ Companion_getInstance_2();
2389
2406
  var tmp = emitName(it, this$0);
2390
2407
  var tmp_0 = emitType($this_emit.hi_1, this$0);
2391
2408
  var tmp$ret$2;
@@ -2447,9 +2464,9 @@
2447
2464
  }
2448
2465
  function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2449
2466
  return function (it) {
2450
- Companion_getInstance_1();
2467
+ Companion_getInstance_2();
2451
2468
  var tmp = emitName_0(it, this$0);
2452
- var tmp_0 = Companion_getInstance_1().fk(it.ni_1) ? it.ni_1 : 'number';
2469
+ var tmp_0 = Companion_getInstance_2().fk(it.ni_1) ? it.ni_1 : 'number';
2453
2470
  var tmp0_safe_receiver = it.oi_1;
2454
2471
  var tmp_1;
2455
2472
  if (tmp0_safe_receiver == null) {
@@ -2480,8 +2497,8 @@
2480
2497
  }
2481
2498
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2482
2499
  return function (it) {
2483
- var tmp = Companion_getInstance_1().rj(emitName(it, this$0));
2484
- var tmp_0 = Companion_getInstance_1().tk($this_emit, it.wh_1);
2500
+ var tmp = Companion_getInstance_2().rj(emitName(it, this$0));
2501
+ var tmp_0 = Companion_getInstance_2().vk($this_emit, it.wh_1);
2485
2502
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2486
2503
  var tmp_2 = emitPath_1($this_emit.hi_1, this$0);
2487
2504
  var tmp_3 = emitMap_1($this_emit.ii_1, this$0);
@@ -2508,20 +2525,20 @@
2508
2525
  return function () {
2509
2526
  var tmp = toSet($this_emit.li_1);
2510
2527
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2511
- Companion_getInstance_1();
2528
+ Companion_getInstance_2();
2512
2529
  var tmp_1 = toSet($this_emit.li_1);
2513
2530
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2514
2531
  var tmp_3 = toSet($this_emit.mi_1);
2515
2532
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2516
- Companion_getInstance_1();
2533
+ Companion_getInstance_2();
2517
2534
  var tmp_5 = toSet($this_emit.mi_1);
2518
2535
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2519
- Companion_getInstance_1();
2520
- Companion_getInstance_1();
2521
- Companion_getInstance_1();
2522
- var tmp_7 = Companion_getInstance_1().rj($this_emit.fi_1);
2523
- Companion_getInstance_1();
2524
- Companion_getInstance_1();
2536
+ Companion_getInstance_2();
2537
+ Companion_getInstance_2();
2538
+ Companion_getInstance_2();
2539
+ var tmp_7 = Companion_getInstance_2().rj($this_emit.fi_1);
2540
+ Companion_getInstance_2();
2541
+ Companion_getInstance_2();
2525
2542
  return trimMargin('\n |export namespace ' + $this_emit.fi_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2526
2543
  };
2527
2544
  }
@@ -2576,11 +2593,11 @@
2576
2593
  logger = logger === VOID ? get_noLogger() : logger;
2577
2594
  Emitter.call(this, logger);
2578
2595
  var tmp = this;
2579
- Companion_getInstance_1();
2580
- Companion_getInstance_1();
2581
- Companion_getInstance_1();
2582
- Companion_getInstance_1();
2583
- tmp.sk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2596
+ Companion_getInstance_2();
2597
+ Companion_getInstance_2();
2598
+ Companion_getInstance_2();
2599
+ Companion_getInstance_2();
2600
+ tmp.uk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2584
2601
  }
2585
2602
  protoOf(TypeScriptEmitter).sh = function (ast) {
2586
2603
  var tmp$ret$3;
@@ -2598,7 +2615,7 @@
2598
2615
  var result = item.j3();
2599
2616
  var tmp$ret$0;
2600
2617
  // Inline function 'kotlin.text.trimStart' call
2601
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().lk(ast) ? this.sk_1 : '') + '\n |' + result + '\n ');
2618
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().nk(ast) ? this.uk_1 : '') + '\n |' + result + '\n ');
2602
2619
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2603
2620
  tmp$ret$1 = to(name, tmp$ret$0);
2604
2621
  tmp0_mapTo.a(tmp$ret$1);
@@ -2651,7 +2668,7 @@
2651
2668
  }
2652
2669
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2653
2670
  return function () {
2654
- Companion_getInstance_1();
2671
+ Companion_getInstance_2();
2655
2672
  return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1) + ',';
2656
2673
  };
2657
2674
  }
@@ -2707,7 +2724,7 @@
2707
2724
  }
2708
2725
  function WirespecEmitter$emit$lambda_4($this_emit) {
2709
2726
  return function () {
2710
- Companion_getInstance_1();
2727
+ Companion_getInstance_2();
2711
2728
  return 'enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, ', ') + '\n}\n';
2712
2729
  };
2713
2730
  }
@@ -2759,11 +2776,11 @@
2759
2776
  return DEFAULT_PACKAGE_NAME;
2760
2777
  }
2761
2778
  var DEFAULT_PACKAGE_NAME;
2762
- function Companion_0() {
2763
- Companion_instance_0 = this;
2779
+ function Companion_1() {
2780
+ Companion_instance_1 = this;
2764
2781
  this.pi_1 = ' ';
2765
2782
  }
2766
- protoOf(Companion_0).qi = function (_this__u8e3s4) {
2783
+ protoOf(Companion_1).qi = function (_this__u8e3s4) {
2767
2784
  var tmp$ret$6;
2768
2785
  // Inline function 'kotlin.text.replaceFirstChar' call
2769
2786
  var tmp;
@@ -2797,7 +2814,7 @@
2797
2814
  tmp$ret$6 = tmp;
2798
2815
  return tmp$ret$6;
2799
2816
  };
2800
- protoOf(Companion_0).rj = function (_this__u8e3s4) {
2817
+ protoOf(Companion_1).rj = function (_this__u8e3s4) {
2801
2818
  var tmp$ret$6;
2802
2819
  // Inline function 'kotlin.text.replaceFirstChar' call
2803
2820
  var tmp;
@@ -2831,7 +2848,7 @@
2831
2848
  tmp$ret$6 = tmp;
2832
2849
  return tmp$ret$6;
2833
2850
  };
2834
- protoOf(Companion_0).lk = function (_this__u8e3s4) {
2851
+ protoOf(Companion_1).nk = function (_this__u8e3s4) {
2835
2852
  var tmp$ret$0;
2836
2853
  $l$block_0: {
2837
2854
  // Inline function 'kotlin.collections.any' call
@@ -2860,7 +2877,7 @@
2860
2877
  }
2861
2878
  return tmp$ret$0;
2862
2879
  };
2863
- protoOf(Companion_0).tk = function (_this__u8e3s4, content) {
2880
+ protoOf(Companion_1).vk = function (_this__u8e3s4, content) {
2864
2881
  var tmp$ret$4;
2865
2882
  // Inline function 'kotlin.collections.map' call
2866
2883
  var tmp$ret$1;
@@ -2898,20 +2915,20 @@
2898
2915
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
2899
2916
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2900
2917
  };
2901
- protoOf(Companion_0).fk = function (_this__u8e3s4) {
2918
+ protoOf(Companion_1).fk = function (_this__u8e3s4) {
2902
2919
  return !(toIntOrNull(_this__u8e3s4) == null);
2903
2920
  };
2904
- var Companion_instance_0;
2905
- function Companion_getInstance_1() {
2906
- if (Companion_instance_0 == null)
2907
- new Companion_0();
2908
- return Companion_instance_0;
2921
+ var Companion_instance_1;
2922
+ function Companion_getInstance_2() {
2923
+ if (Companion_instance_1 == null)
2924
+ new Companion_1();
2925
+ return Companion_instance_1;
2909
2926
  }
2910
2927
  function Emitter$emit$lambda(it) {
2911
2928
  return it.h3_1;
2912
2929
  }
2913
2930
  function Emitter(logger, split) {
2914
- Companion_getInstance_1();
2931
+ Companion_getInstance_2();
2915
2932
  split = split === VOID ? false : split;
2916
2933
  this.qh_1 = logger;
2917
2934
  this.rh_1 = split;
@@ -2985,7 +3002,7 @@
2985
3002
  captureStack(this, NextException);
2986
3003
  }
2987
3004
  function WrongTokenException(expected, actual) {
2988
- ParserException.call(this, actual.zk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.xk_1).fc() + ' at line ' + actual.zk_1.al_1 + ' and position ' + (actual.zk_1.bl_1 - actual.yk_1.length | 0));
3005
+ ParserException.call(this, actual.bl_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.zk_1).fc() + ' at line ' + actual.bl_1.cl_1 + ' and position ' + (actual.bl_1.dl_1 - actual.al_1.length | 0));
2989
3006
  captureStack(this, WrongTokenException);
2990
3007
  }
2991
3008
  function NullTokenException(message, coordinates) {
@@ -3003,7 +3020,7 @@
3003
3020
  function WirespecException(message, coordinates) {
3004
3021
  RuntimeException_init_$Init$(message, this);
3005
3022
  captureStack(this, WirespecException);
3006
- this.dl_1 = coordinates;
3023
+ this.fl_1 = coordinates;
3007
3024
  }
3008
3025
  function optimize(_this__u8e3s4) {
3009
3026
  var tmp$ret$2;
@@ -3016,10 +3033,10 @@
3016
3033
  var item = tmp0_iterator.e();
3017
3034
  var tmp$ret$0;
3018
3035
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3019
- var tmp0_subject = item.xk_1;
3036
+ var tmp0_subject = item.zk_1;
3020
3037
  var tmp;
3021
3038
  if (tmp0_subject instanceof CustomRegex) {
3022
- tmp = item.el(VOID, '"' + dropLast(drop(item.yk_1, 1), 2) + '"');
3039
+ tmp = item.gl(VOID, '"' + dropLast(drop(item.al_1, 1), 2) + '"');
3023
3040
  } else {
3024
3041
  tmp = item;
3025
3042
  }
@@ -3059,29 +3076,29 @@
3059
3076
  }
3060
3077
  function Any(isIterable, isMap) {
3061
3078
  isMap = isMap === VOID ? false : isMap;
3062
- this.fl_1 = isIterable;
3063
- this.gl_1 = isMap;
3079
+ this.hl_1 = isIterable;
3080
+ this.il_1 = isMap;
3064
3081
  }
3065
3082
  protoOf(Any).ri = function () {
3066
- return this.fl_1;
3083
+ return this.hl_1;
3067
3084
  };
3068
- protoOf(Any).kk = function () {
3069
- return this.gl_1;
3085
+ protoOf(Any).mk = function () {
3086
+ return this.il_1;
3070
3087
  };
3071
- protoOf(Any).hl = function (isIterable, isMap) {
3088
+ protoOf(Any).jl = function (isIterable, isMap) {
3072
3089
  return new Any(isIterable, isMap);
3073
3090
  };
3074
- protoOf(Any).il = function (isIterable, isMap, $super) {
3075
- isIterable = isIterable === VOID ? this.fl_1 : isIterable;
3076
- isMap = isMap === VOID ? this.gl_1 : isMap;
3077
- return $super === VOID ? this.hl(isIterable, isMap) : $super.hl.call(this, isIterable, isMap);
3091
+ protoOf(Any).kl = function (isIterable, isMap, $super) {
3092
+ isIterable = isIterable === VOID ? this.hl_1 : isIterable;
3093
+ isMap = isMap === VOID ? this.il_1 : isMap;
3094
+ return $super === VOID ? this.jl(isIterable, isMap) : $super.jl.call(this, isIterable, isMap);
3078
3095
  };
3079
3096
  protoOf(Any).toString = function () {
3080
- return 'Any(isIterable=' + this.fl_1 + ', isMap=' + this.gl_1 + ')';
3097
+ return 'Any(isIterable=' + this.hl_1 + ', isMap=' + this.il_1 + ')';
3081
3098
  };
3082
3099
  protoOf(Any).hashCode = function () {
3083
- var result = this.fl_1 | 0;
3084
- result = imul(result, 31) + (this.gl_1 | 0) | 0;
3100
+ var result = this.hl_1 | 0;
3101
+ result = imul(result, 31) + (this.il_1 | 0) | 0;
3085
3102
  return result;
3086
3103
  };
3087
3104
  protoOf(Any).equals = function (other) {
@@ -3090,9 +3107,9 @@
3090
3107
  if (!(other instanceof Any))
3091
3108
  return false;
3092
3109
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3093
- if (!(this.fl_1 === tmp0_other_with_cast.fl_1))
3110
+ if (!(this.hl_1 === tmp0_other_with_cast.hl_1))
3094
3111
  return false;
3095
- if (!(this.gl_1 === tmp0_other_with_cast.gl_1))
3112
+ if (!(this.il_1 === tmp0_other_with_cast.il_1))
3096
3113
  return false;
3097
3114
  return true;
3098
3115
  };
@@ -3105,17 +3122,17 @@
3105
3122
  protoOf(Custom).ri = function () {
3106
3123
  return this.jj_1;
3107
3124
  };
3108
- protoOf(Custom).kk = function () {
3125
+ protoOf(Custom).mk = function () {
3109
3126
  return this.kj_1;
3110
3127
  };
3111
- protoOf(Custom).jl = function (value, isIterable, isMap) {
3128
+ protoOf(Custom).ll = function (value, isIterable, isMap) {
3112
3129
  return new Custom(value, isIterable, isMap);
3113
3130
  };
3114
- protoOf(Custom).kl = function (value, isIterable, isMap, $super) {
3131
+ protoOf(Custom).ml = function (value, isIterable, isMap, $super) {
3115
3132
  value = value === VOID ? this.ij_1 : value;
3116
3133
  isIterable = isIterable === VOID ? this.jj_1 : isIterable;
3117
3134
  isMap = isMap === VOID ? this.kj_1 : isMap;
3118
- return $super === VOID ? this.jl(value, isIterable, isMap) : $super.jl.call(this, value, isIterable, isMap);
3135
+ return $super === VOID ? this.ll(value, isIterable, isMap) : $super.ll.call(this, value, isIterable, isMap);
3119
3136
  };
3120
3137
  protoOf(Custom).toString = function () {
3121
3138
  return 'Custom(value=' + this.ij_1 + ', isIterable=' + this.jj_1 + ', isMap=' + this.kj_1 + ')';
@@ -3149,17 +3166,17 @@
3149
3166
  protoOf(Primitive).ri = function () {
3150
3167
  return this.gj_1;
3151
3168
  };
3152
- protoOf(Primitive).kk = function () {
3169
+ protoOf(Primitive).mk = function () {
3153
3170
  return this.hj_1;
3154
3171
  };
3155
- protoOf(Primitive).ll = function (type, isIterable, isMap) {
3172
+ protoOf(Primitive).nl = function (type, isIterable, isMap) {
3156
3173
  return new Primitive(type, isIterable, isMap);
3157
3174
  };
3158
- protoOf(Primitive).ml = function (type, isIterable, isMap, $super) {
3175
+ protoOf(Primitive).ol = function (type, isIterable, isMap, $super) {
3159
3176
  type = type === VOID ? this.fj_1 : type;
3160
3177
  isIterable = isIterable === VOID ? this.gj_1 : isIterable;
3161
3178
  isMap = isMap === VOID ? this.hj_1 : isMap;
3162
- return $super === VOID ? this.ll(type, isIterable, isMap) : $super.ll.call(this, type, isIterable, isMap);
3179
+ return $super === VOID ? this.nl(type, isIterable, isMap) : $super.nl.call(this, type, isIterable, isMap);
3163
3180
  };
3164
3181
  protoOf(Primitive).toString = function () {
3165
3182
  return 'Primitive(type=' + this.fj_1 + ', isIterable=' + this.gj_1 + ', isMap=' + this.hj_1 + ')';
@@ -3658,8 +3675,8 @@
3658
3675
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3659
3676
  var tmp$ret$2;
3660
3677
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3661
- log(_this__u8e3s4.pl_1, $this);
3662
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3678
+ log(_this__u8e3s4.rl_1, $this);
3679
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3663
3680
  var tmp_0;
3664
3681
  if (tmp0_subject instanceof WsTypeDef) {
3665
3682
  tmp_0 = raise.eh(parseTypeDeclaration(_this__u8e3s4, $this));
@@ -3674,10 +3691,10 @@
3674
3691
  // Inline function 'arrow.core.nel' call
3675
3692
  var tmp$ret$0;
3676
3693
  // Inline function 'kotlin.also' call
3677
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.pl_1);
3694
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.rl_1);
3678
3695
  // Inline function 'kotlin.contracts.contract' call
3679
3696
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3680
- raise.eh(_this__u8e3s4.rl());
3697
+ raise.eh(_this__u8e3s4.tl());
3681
3698
  tmp$ret$0 = tmp0_also;
3682
3699
  var tmp1_nel = tmp$ret$0;
3683
3700
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3736,21 +3753,21 @@
3736
3753
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3737
3754
  var tmp$ret$2;
3738
3755
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3739
- raise.eh(_this__u8e3s4.rl());
3740
- log(_this__u8e3s4.pl_1, $this);
3741
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3756
+ raise.eh(_this__u8e3s4.tl());
3757
+ log(_this__u8e3s4.rl_1, $this);
3758
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3742
3759
  var tmp_0;
3743
3760
  if (tmp0_subject instanceof CustomType) {
3744
- tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
3761
+ tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
3745
3762
  } else {
3746
3763
  var tmp$ret$1;
3747
3764
  // Inline function 'arrow.core.nel' call
3748
3765
  var tmp$ret$0;
3749
3766
  // Inline function 'kotlin.also' call
3750
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3767
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
3751
3768
  // Inline function 'kotlin.contracts.contract' call
3752
3769
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3753
- raise.eh(_this__u8e3s4.rl());
3770
+ raise.eh(_this__u8e3s4.tl());
3754
3771
  tmp$ret$0 = tmp0_also;
3755
3772
  var tmp1_nel = tmp$ret$0;
3756
3773
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3807,11 +3824,11 @@
3807
3824
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3808
3825
  var tmp$ret$5;
3809
3826
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3810
- raise.eh(_this__u8e3s4.rl());
3811
- log(_this__u8e3s4.pl_1, $this);
3827
+ raise.eh(_this__u8e3s4.tl());
3828
+ log(_this__u8e3s4.rl_1, $this);
3812
3829
  var tmp$ret$4;
3813
3830
  // Inline function 'kotlin.also' call
3814
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3831
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3815
3832
  var tmp_0;
3816
3833
  if (tmp0_subject instanceof LeftCurly) {
3817
3834
  tmp_0 = new Type_0(typeName, raise.eh(parseTypeShape(_this__u8e3s4, $this)));
@@ -3820,10 +3837,10 @@
3820
3837
  // Inline function 'arrow.core.nel' call
3821
3838
  var tmp$ret$0;
3822
3839
  // Inline function 'kotlin.also' call
3823
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
3840
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.rl_1);
3824
3841
  // Inline function 'kotlin.contracts.contract' call
3825
3842
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3826
- raise.eh(_this__u8e3s4.rl());
3843
+ raise.eh(_this__u8e3s4.tl());
3827
3844
  tmp$ret$0 = tmp0_also;
3828
3845
  var tmp1_nel = tmp$ret$0;
3829
3846
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3832,18 +3849,18 @@
3832
3849
  var tmp2_also = tmp_0;
3833
3850
  // Inline function 'kotlin.contracts.contract' call
3834
3851
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3835
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3852
+ var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
3836
3853
  if (tmp0_subject_0 instanceof RightCurly)
3837
- raise.eh(_this__u8e3s4.rl());
3854
+ raise.eh(_this__u8e3s4.tl());
3838
3855
  else {
3839
3856
  var tmp$ret$3;
3840
3857
  // Inline function 'arrow.core.nel' call
3841
3858
  var tmp$ret$2;
3842
3859
  // Inline function 'kotlin.also' call
3843
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
3860
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.rl_1);
3844
3861
  // Inline function 'kotlin.contracts.contract' call
3845
3862
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3846
- raise.eh(_this__u8e3s4.rl());
3863
+ raise.eh(_this__u8e3s4.tl());
3847
3864
  tmp$ret$2 = tmp0_also_0;
3848
3865
  var tmp1_nel_0 = tmp$ret$2;
3849
3866
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -3901,11 +3918,11 @@
3901
3918
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3902
3919
  var tmp$ret$7;
3903
3920
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3904
- raise.eh(_this__u8e3s4.rl());
3905
- log(_this__u8e3s4.pl_1, $this);
3921
+ raise.eh(_this__u8e3s4.tl());
3922
+ log(_this__u8e3s4.rl_1, $this);
3906
3923
  var tmp$ret$6;
3907
3924
  // Inline function 'kotlin.let' call
3908
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3925
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3909
3926
  var tmp_0;
3910
3927
  if (tmp0_subject instanceof CustomValue) {
3911
3928
  var tmp$ret$3;
@@ -3916,21 +3933,21 @@
3916
3933
  var tmp0_apply = tmp$ret$0;
3917
3934
  // Inline function 'kotlin.contracts.contract' call
3918
3935
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3919
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3920
- while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
3921
- raise.eh(_this__u8e3s4.rl());
3922
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3936
+ tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.rl_1.al_1))));
3937
+ while (equals(_this__u8e3s4.rl_1.zk_1, Comma_getInstance())) {
3938
+ raise.eh(_this__u8e3s4.tl());
3939
+ var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
3923
3940
  if (tmp0_subject_0 instanceof CustomValue) {
3924
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3941
+ tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.rl_1.al_1))));
3925
3942
  } else {
3926
3943
  var tmp$ret$2;
3927
3944
  // Inline function 'arrow.core.nel' call
3928
3945
  var tmp$ret$1;
3929
3946
  // Inline function 'kotlin.also' call
3930
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3947
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.rl_1);
3931
3948
  // Inline function 'kotlin.contracts.contract' call
3932
3949
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3933
- raise.eh(_this__u8e3s4.rl());
3950
+ raise.eh(_this__u8e3s4.tl());
3934
3951
  tmp$ret$1 = tmp0_also;
3935
3952
  var tmp1_nel = tmp$ret$1;
3936
3953
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
@@ -3944,10 +3961,10 @@
3944
3961
  // Inline function 'arrow.core.nel' call
3945
3962
  var tmp$ret$4;
3946
3963
  // Inline function 'kotlin.also' call
3947
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3964
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.rl_1);
3948
3965
  // Inline function 'kotlin.contracts.contract' call
3949
3966
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3950
- raise.eh(_this__u8e3s4.rl());
3967
+ raise.eh(_this__u8e3s4.tl());
3951
3968
  tmp$ret$4 = tmp1_also;
3952
3969
  var tmp2_nel = tmp$ret$4;
3953
3970
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
@@ -4007,37 +4024,37 @@
4007
4024
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4008
4025
  var tmp$ret$5;
4009
4026
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
4010
- raise.eh(_this__u8e3s4.rl());
4011
- log(_this__u8e3s4.pl_1, $this);
4012
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4027
+ raise.eh(_this__u8e3s4.tl());
4028
+ log(_this__u8e3s4.rl_1, $this);
4029
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4013
4030
  if (tmp0_subject instanceof Colon)
4014
- raise.eh(_this__u8e3s4.rl());
4031
+ raise.eh(_this__u8e3s4.tl());
4015
4032
  else {
4016
4033
  var tmp$ret$1;
4017
4034
  // Inline function 'arrow.core.nel' call
4018
4035
  var tmp$ret$0;
4019
4036
  // Inline function 'kotlin.also' call
4020
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.pl_1);
4037
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.rl_1);
4021
4038
  // Inline function 'kotlin.contracts.contract' call
4022
4039
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4023
- raise.eh(_this__u8e3s4.rl());
4040
+ raise.eh(_this__u8e3s4.tl());
4024
4041
  tmp$ret$0 = tmp0_also;
4025
4042
  var tmp1_nel = tmp$ret$0;
4026
4043
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4027
4044
  raise.dh(tmp$ret$1);
4028
4045
  }
4029
- var type = _this__u8e3s4.pl_1.xk_1;
4046
+ var type = _this__u8e3s4.rl_1.zk_1;
4030
4047
  var tmp_0;
4031
4048
  if (isInterface(type, WsType)) {
4032
- var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.pl_1.yk_1));
4049
+ var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.rl_1.al_1));
4033
4050
  var tmp$ret$2;
4034
4051
  // Inline function 'kotlin.also' call
4035
- var tmp_2 = _this__u8e3s4.pl_1.xk_1;
4052
+ var tmp_2 = _this__u8e3s4.rl_1.zk_1;
4036
4053
  var tmp2_also = tmp_2 instanceof QuestionMark;
4037
4054
  // Inline function 'kotlin.contracts.contract' call
4038
4055
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4039
4056
  if (tmp2_also)
4040
- raise.eh(_this__u8e3s4.rl());
4057
+ raise.eh(_this__u8e3s4.tl());
4041
4058
  tmp$ret$2 = tmp2_also;
4042
4059
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
4043
4060
  } else {
@@ -4045,10 +4062,10 @@
4045
4062
  // Inline function 'arrow.core.nel' call
4046
4063
  var tmp$ret$3;
4047
4064
  // Inline function 'kotlin.also' call
4048
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4065
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4049
4066
  // Inline function 'kotlin.contracts.contract' call
4050
4067
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4051
- raise.eh(_this__u8e3s4.rl());
4068
+ raise.eh(_this__u8e3s4.tl());
4052
4069
  tmp$ret$3 = tmp3_also;
4053
4070
  var tmp4_nel = tmp$ret$3;
4054
4071
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
@@ -4105,16 +4122,16 @@
4105
4122
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4106
4123
  var tmp$ret$1;
4107
4124
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
4108
- raise.eh(_this__u8e3s4.rl());
4109
- log(_this__u8e3s4.pl_1, $this);
4125
+ raise.eh(_this__u8e3s4.tl());
4126
+ log(_this__u8e3s4.rl_1, $this);
4110
4127
  var tmp$ret$0;
4111
4128
  // Inline function 'kotlin.also' call
4112
- var tmp_0 = _this__u8e3s4.pl_1.xk_1;
4129
+ var tmp_0 = _this__u8e3s4.rl_1.zk_1;
4113
4130
  var tmp0_also = tmp_0 instanceof Brackets;
4114
4131
  // Inline function 'kotlin.contracts.contract' call
4115
4132
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
4116
4133
  if (tmp0_also)
4117
- raise.eh(_this__u8e3s4.rl());
4134
+ raise.eh(_this__u8e3s4.tl());
4118
4135
  tmp$ret$0 = tmp0_also;
4119
4136
  var isIterable = tmp$ret$0;
4120
4137
  var tmp0_subject = wsType;
@@ -4187,21 +4204,21 @@
4187
4204
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4188
4205
  var tmp$ret$2;
4189
4206
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4190
- raise.eh(_this__u8e3s4.rl());
4191
- log(_this__u8e3s4.pl_1, $this);
4192
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4207
+ raise.eh(_this__u8e3s4.tl());
4208
+ log(_this__u8e3s4.rl_1, $this);
4209
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4193
4210
  var tmp_0;
4194
4211
  if (tmp0_subject instanceof CustomType) {
4195
- tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4212
+ tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
4196
4213
  } else {
4197
4214
  var tmp$ret$1;
4198
4215
  // Inline function 'arrow.core.nel' call
4199
4216
  var tmp$ret$0;
4200
4217
  // Inline function 'kotlin.also' call
4201
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4218
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4202
4219
  // Inline function 'kotlin.contracts.contract' call
4203
4220
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4204
- raise.eh(_this__u8e3s4.rl());
4221
+ raise.eh(_this__u8e3s4.tl());
4205
4222
  tmp$ret$0 = tmp0_also;
4206
4223
  var tmp1_nel = tmp$ret$0;
4207
4224
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4258,11 +4275,11 @@
4258
4275
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4259
4276
  var tmp$ret$5;
4260
4277
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4261
- raise.eh(_this__u8e3s4.rl());
4262
- log(_this__u8e3s4.pl_1, $this);
4278
+ raise.eh(_this__u8e3s4.tl());
4279
+ log(_this__u8e3s4.rl_1, $this);
4263
4280
  var tmp$ret$4;
4264
4281
  // Inline function 'kotlin.also' call
4265
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4282
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4266
4283
  var tmp_0;
4267
4284
  if (tmp0_subject instanceof LeftCurly) {
4268
4285
  tmp_0 = new Enum_0(typeName, raise.eh(parseEnumTypeEntries(_this__u8e3s4, $this)));
@@ -4271,10 +4288,10 @@
4271
4288
  // Inline function 'arrow.core.nel' call
4272
4289
  var tmp$ret$0;
4273
4290
  // Inline function 'kotlin.also' call
4274
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
4291
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.rl_1);
4275
4292
  // Inline function 'kotlin.contracts.contract' call
4276
4293
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4277
- raise.eh(_this__u8e3s4.rl());
4294
+ raise.eh(_this__u8e3s4.tl());
4278
4295
  tmp$ret$0 = tmp0_also;
4279
4296
  var tmp1_nel = tmp$ret$0;
4280
4297
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4283,18 +4300,18 @@
4283
4300
  var tmp2_also = tmp_0;
4284
4301
  // Inline function 'kotlin.contracts.contract' call
4285
4302
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4286
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4303
+ var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
4287
4304
  if (tmp0_subject_0 instanceof RightCurly)
4288
- raise.eh(_this__u8e3s4.rl());
4305
+ raise.eh(_this__u8e3s4.tl());
4289
4306
  else {
4290
4307
  var tmp$ret$3;
4291
4308
  // Inline function 'arrow.core.nel' call
4292
4309
  var tmp$ret$2;
4293
4310
  // Inline function 'kotlin.also' call
4294
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
4311
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.rl_1);
4295
4312
  // Inline function 'kotlin.contracts.contract' call
4296
4313
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4297
- raise.eh(_this__u8e3s4.rl());
4314
+ raise.eh(_this__u8e3s4.tl());
4298
4315
  tmp$ret$2 = tmp0_also_0;
4299
4316
  var tmp1_nel_0 = tmp$ret$2;
4300
4317
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -4352,9 +4369,9 @@
4352
4369
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4353
4370
  var tmp$ret$7;
4354
4371
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4355
- raise.eh(_this__u8e3s4.rl());
4356
- log(_this__u8e3s4.pl_1, $this);
4357
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4372
+ raise.eh(_this__u8e3s4.tl());
4373
+ log(_this__u8e3s4.rl_1, $this);
4374
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4358
4375
  var tmp_0;
4359
4376
  if (tmp0_subject instanceof CustomType) {
4360
4377
  var tmp$ret$4;
@@ -4365,28 +4382,28 @@
4365
4382
  var tmp0_apply = tmp$ret$0;
4366
4383
  // Inline function 'kotlin.contracts.contract' call
4367
4384
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4368
- tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4369
- raise.eh(_this__u8e3s4.rl());
4370
- while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
4371
- raise.eh(_this__u8e3s4.rl());
4372
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4385
+ tmp0_apply.a(_this__u8e3s4.rl_1.al_1);
4386
+ raise.eh(_this__u8e3s4.tl());
4387
+ while (equals(_this__u8e3s4.rl_1.zk_1, Comma_getInstance())) {
4388
+ raise.eh(_this__u8e3s4.tl());
4389
+ var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
4373
4390
  if (tmp0_subject_0 instanceof CustomType) {
4374
4391
  var tmp$ret$1;
4375
4392
  // Inline function 'kotlin.also' call
4376
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4393
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.rl_1.al_1);
4377
4394
  // Inline function 'kotlin.contracts.contract' call
4378
4395
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4379
- raise.eh(_this__u8e3s4.rl());
4396
+ raise.eh(_this__u8e3s4.tl());
4380
4397
  tmp$ret$1 = tmp0_also;
4381
4398
  } else {
4382
4399
  var tmp$ret$3;
4383
4400
  // Inline function 'arrow.core.nel' call
4384
4401
  var tmp$ret$2;
4385
4402
  // Inline function 'kotlin.also' call
4386
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4403
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4387
4404
  // Inline function 'kotlin.contracts.contract' call
4388
4405
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4389
- raise.eh(_this__u8e3s4.rl());
4406
+ raise.eh(_this__u8e3s4.tl());
4390
4407
  tmp$ret$2 = tmp1_also;
4391
4408
  var tmp2_nel = tmp$ret$2;
4392
4409
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
@@ -4400,10 +4417,10 @@
4400
4417
  // Inline function 'arrow.core.nel' call
4401
4418
  var tmp$ret$5;
4402
4419
  // Inline function 'kotlin.also' call
4403
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4420
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4404
4421
  // Inline function 'kotlin.contracts.contract' call
4405
4422
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4406
- raise.eh(_this__u8e3s4.rl());
4423
+ raise.eh(_this__u8e3s4.tl());
4407
4424
  tmp$ret$5 = tmp1_also_0;
4408
4425
  var tmp2_nel_0 = tmp$ret$5;
4409
4426
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
@@ -4460,21 +4477,21 @@
4460
4477
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4461
4478
  var tmp$ret$2;
4462
4479
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4463
- raise.eh(_this__u8e3s4.rl());
4464
- log(_this__u8e3s4.pl_1, $this);
4465
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4480
+ raise.eh(_this__u8e3s4.tl());
4481
+ log(_this__u8e3s4.rl_1, $this);
4482
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4466
4483
  var tmp_0;
4467
4484
  if (tmp0_subject instanceof CustomType) {
4468
- tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4485
+ tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
4469
4486
  } else {
4470
4487
  var tmp$ret$1;
4471
4488
  // Inline function 'arrow.core.nel' call
4472
4489
  var tmp$ret$0;
4473
4490
  // Inline function 'kotlin.also' call
4474
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4491
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4475
4492
  // Inline function 'kotlin.contracts.contract' call
4476
4493
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4477
- raise.eh(_this__u8e3s4.rl());
4494
+ raise.eh(_this__u8e3s4.tl());
4478
4495
  tmp$ret$0 = tmp0_also;
4479
4496
  var tmp1_nel = tmp$ret$0;
4480
4497
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4531,23 +4548,23 @@
4531
4548
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4532
4549
  var tmp$ret$3;
4533
4550
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4534
- raise.eh(_this__u8e3s4.rl());
4535
- log(_this__u8e3s4.pl_1, $this);
4551
+ raise.eh(_this__u8e3s4.tl());
4552
+ log(_this__u8e3s4.rl_1, $this);
4536
4553
  var tmp$ret$2;
4537
4554
  // Inline function 'kotlin.also' call
4538
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4555
+ var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4539
4556
  var tmp_0;
4540
4557
  if (tmp0_subject instanceof CustomRegex) {
4541
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.pl_1.yk_1));
4558
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.rl_1.al_1));
4542
4559
  } else {
4543
4560
  var tmp$ret$1;
4544
4561
  // Inline function 'arrow.core.nel' call
4545
4562
  var tmp$ret$0;
4546
4563
  // Inline function 'kotlin.also' call
4547
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.pl_1);
4564
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.rl_1);
4548
4565
  // Inline function 'kotlin.contracts.contract' call
4549
4566
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4550
- raise.eh(_this__u8e3s4.rl());
4567
+ raise.eh(_this__u8e3s4.tl());
4551
4568
  tmp$ret$0 = tmp0_also;
4552
4569
  var tmp1_nel = tmp$ret$0;
4553
4570
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4556,7 +4573,7 @@
4556
4573
  var tmp2_also = tmp_0;
4557
4574
  // Inline function 'kotlin.contracts.contract' call
4558
4575
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4559
- raise.eh(_this__u8e3s4.rl());
4576
+ raise.eh(_this__u8e3s4.tl());
4560
4577
  tmp$ret$2 = tmp2_also;
4561
4578
  tmp$ret$3 = tmp$ret$2;
4562
4579
  tmp$ret$4 = tmp$ret$3;
@@ -4594,7 +4611,7 @@
4594
4611
  return tmp$ret$9;
4595
4612
  }
4596
4613
  function log(_this__u8e3s4, $this) {
4597
- return $this.oh_1.kh('Parsing ' + _this__u8e3s4.xk_1 + ' at line ' + _this__u8e3s4.zk_1.al_1 + ' position ' + _this__u8e3s4.zk_1.bl_1);
4614
+ return $this.oh_1.kh('Parsing ' + _this__u8e3s4.zk_1 + ' at line ' + _this__u8e3s4.bl_1.cl_1 + ' position ' + _this__u8e3s4.bl_1.dl_1);
4598
4615
  }
4599
4616
  function Parser(logger) {
4600
4617
  this.oh_1 = logger;
@@ -4610,7 +4627,7 @@
4610
4627
  var element = tmp0_iterator.e();
4611
4628
  var tmp$ret$0;
4612
4629
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4613
- var tmp = element.xk_1;
4630
+ var tmp = element.zk_1;
4614
4631
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4615
4632
  if (!tmp$ret$0) {
4616
4633
  tmp0_filterNotTo.a(element);
@@ -4634,7 +4651,7 @@
4634
4651
  // Inline function 'kotlin.contracts.contract' call
4635
4652
  var tmp$ret$0;
4636
4653
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4637
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.yk_1 + "', ";
4654
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.al_1 + "', ";
4638
4655
  tmp$ret$1 = tmp$ret$0;
4639
4656
  tmp = tmp$ret$1;
4640
4657
  }
@@ -4642,14 +4659,14 @@
4642
4659
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4643
4660
  var tmp$ret$3;
4644
4661
  // Inline function 'kotlin.run' call
4645
- var tmp0_run = $this.pl_1;
4662
+ var tmp0_run = $this.rl_1;
4646
4663
  // Inline function 'kotlin.contracts.contract' call
4647
4664
  var tmp$ret$2;
4648
4665
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4649
- tmp$ret$2 = "Current: '" + tmp0_run.yk_1 + "'";
4666
+ tmp$ret$2 = "Current: '" + tmp0_run.al_1 + "'";
4650
4667
  tmp$ret$3 = tmp$ret$2;
4651
4668
  var curr = tmp$ret$3;
4652
- var tmp2_safe_receiver = $this.ql_1;
4669
+ var tmp2_safe_receiver = $this.sl_1;
4653
4670
  var tmp_0;
4654
4671
  if (tmp2_safe_receiver == null) {
4655
4672
  tmp_0 = null;
@@ -4659,13 +4676,13 @@
4659
4676
  // Inline function 'kotlin.contracts.contract' call
4660
4677
  var tmp$ret$4;
4661
4678
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4662
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.yk_1 + "'";
4679
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.al_1 + "'";
4663
4680
  tmp$ret$5 = tmp$ret$4;
4664
4681
  tmp_0 = tmp$ret$5;
4665
4682
  }
4666
4683
  var tmp3_elvis_lhs = tmp_0;
4667
4684
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4668
- $this.nl_1.kh(prev + curr + next);
4685
+ $this.pl_1.kh(prev + curr + next);
4669
4686
  tmp$ret$6 = Unit_getInstance();
4670
4687
  return tmp$ret$6;
4671
4688
  }
@@ -4685,7 +4702,7 @@
4685
4702
  var tmp0_success = Companion_getInstance();
4686
4703
  var tmp$ret$0;
4687
4704
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4688
- tmp$ret$0 = $this.ol_1.e();
4705
+ tmp$ret$0 = $this.ql_1.e();
4689
4706
  var tmp1_success = tmp$ret$0;
4690
4707
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4691
4708
  tmp = tmp$ret$1;
@@ -4716,8 +4733,8 @@
4716
4733
  return tmp$ret$4;
4717
4734
  }
4718
4735
  function TokenProvider(logger, tokenIterator) {
4719
- this.nl_1 = logger;
4720
- this.ol_1 = tokenIterator;
4736
+ this.pl_1 = logger;
4737
+ this.ql_1 = tokenIterator;
4721
4738
  var tmp = this;
4722
4739
  var tmp0_elvis_lhs = nextToken(this);
4723
4740
  var tmp_0;
@@ -4726,14 +4743,14 @@
4726
4743
  } else {
4727
4744
  tmp_0 = tmp0_elvis_lhs;
4728
4745
  }
4729
- tmp.pl_1 = tmp_0;
4730
- this.ql_1 = nextToken(this);
4746
+ tmp.rl_1 = tmp_0;
4747
+ this.sl_1 = nextToken(this);
4731
4748
  printTokens$default(this);
4732
4749
  }
4733
4750
  protoOf(TokenProvider).d = function () {
4734
- return !(this.ql_1 == null);
4751
+ return !(this.sl_1 == null);
4735
4752
  };
4736
- protoOf(TokenProvider).rl = function () {
4753
+ protoOf(TokenProvider).tl = function () {
4737
4754
  var tmp$ret$6;
4738
4755
  // Inline function 'arrow.core.raise.either' call
4739
4756
  var tmp$ret$5;
@@ -4747,21 +4764,21 @@
4747
4764
  try {
4748
4765
  var tmp$ret$1;
4749
4766
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4750
- var previousToken = this.pl_1;
4767
+ var previousToken = this.rl_1;
4751
4768
  var tmp_0 = this;
4752
- var tmp0_elvis_lhs = this.ql_1;
4769
+ var tmp0_elvis_lhs = this.sl_1;
4753
4770
  var tmp_1;
4754
4771
  if (tmp0_elvis_lhs == null) {
4755
4772
  var tmp$ret$0;
4756
4773
  // Inline function 'arrow.core.nel' call
4757
- var tmp0_nel = new NextException(previousToken.zk_1);
4774
+ var tmp0_nel = new NextException(previousToken.bl_1);
4758
4775
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4759
4776
  raise.dh(tmp$ret$0);
4760
4777
  } else {
4761
4778
  tmp_1 = tmp0_elvis_lhs;
4762
4779
  }
4763
- tmp_0.pl_1 = tmp_1;
4764
- this.ql_1 = nextToken(this);
4780
+ tmp_0.rl_1 = tmp_1;
4781
+ this.sl_1 = nextToken(this);
4765
4782
  printTokens(this, previousToken);
4766
4783
  tmp$ret$1 = Unit_getInstance();
4767
4784
  var res = tmp$ret$1;
@@ -4803,15 +4820,15 @@
4803
4820
  function IdxAndLength(idx, length) {
4804
4821
  idx = idx === VOID ? 0 : idx;
4805
4822
  length = length === VOID ? 0 : length;
4806
- this.sl_1 = idx;
4807
- this.tl_1 = length;
4823
+ this.ul_1 = idx;
4824
+ this.vl_1 = length;
4808
4825
  }
4809
4826
  protoOf(IdxAndLength).toString = function () {
4810
- return 'IdxAndLength(idx=' + this.sl_1 + ', length=' + this.tl_1 + ')';
4827
+ return 'IdxAndLength(idx=' + this.ul_1 + ', length=' + this.vl_1 + ')';
4811
4828
  };
4812
4829
  protoOf(IdxAndLength).hashCode = function () {
4813
- var result = this.sl_1;
4814
- result = imul(result, 31) + this.tl_1 | 0;
4830
+ var result = this.ul_1;
4831
+ result = imul(result, 31) + this.vl_1 | 0;
4815
4832
  return result;
4816
4833
  };
4817
4834
  protoOf(IdxAndLength).equals = function (other) {
@@ -4820,9 +4837,9 @@
4820
4837
  if (!(other instanceof IdxAndLength))
4821
4838
  return false;
4822
4839
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4823
- if (!(this.sl_1 === tmp0_other_with_cast.sl_1))
4840
+ if (!(this.ul_1 === tmp0_other_with_cast.ul_1))
4824
4841
  return false;
4825
- if (!(this.tl_1 === tmp0_other_with_cast.tl_1))
4842
+ if (!(this.vl_1 === tmp0_other_with_cast.vl_1))
4826
4843
  return false;
4827
4844
  return true;
4828
4845
  };
@@ -4830,26 +4847,26 @@
4830
4847
  line = line === VOID ? 1 : line;
4831
4848
  position = position === VOID ? 1 : position;
4832
4849
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4833
- this.al_1 = line;
4834
- this.bl_1 = position;
4835
- this.cl_1 = idxAndLength;
4850
+ this.cl_1 = line;
4851
+ this.dl_1 = position;
4852
+ this.el_1 = idxAndLength;
4836
4853
  }
4837
- protoOf(Coordinates).ul = function (line, position, idxAndLength) {
4854
+ protoOf(Coordinates).wl = function (line, position, idxAndLength) {
4838
4855
  return new Coordinates(line, position, idxAndLength);
4839
4856
  };
4840
- protoOf(Coordinates).vl = function (line, position, idxAndLength, $super) {
4841
- line = line === VOID ? this.al_1 : line;
4842
- position = position === VOID ? this.bl_1 : position;
4843
- idxAndLength = idxAndLength === VOID ? this.cl_1 : idxAndLength;
4844
- return $super === VOID ? this.ul(line, position, idxAndLength) : $super.ul.call(this, line, position, idxAndLength);
4857
+ protoOf(Coordinates).xl = function (line, position, idxAndLength, $super) {
4858
+ line = line === VOID ? this.cl_1 : line;
4859
+ position = position === VOID ? this.dl_1 : position;
4860
+ idxAndLength = idxAndLength === VOID ? this.el_1 : idxAndLength;
4861
+ return $super === VOID ? this.wl(line, position, idxAndLength) : $super.wl.call(this, line, position, idxAndLength);
4845
4862
  };
4846
4863
  protoOf(Coordinates).toString = function () {
4847
- return 'Coordinates(line=' + this.al_1 + ', position=' + this.bl_1 + ', idxAndLength=' + this.cl_1 + ')';
4864
+ return 'Coordinates(line=' + this.cl_1 + ', position=' + this.dl_1 + ', idxAndLength=' + this.el_1 + ')';
4848
4865
  };
4849
4866
  protoOf(Coordinates).hashCode = function () {
4850
- var result = this.al_1;
4851
- result = imul(result, 31) + this.bl_1 | 0;
4852
- result = imul(result, 31) + this.cl_1.hashCode() | 0;
4867
+ var result = this.cl_1;
4868
+ result = imul(result, 31) + this.dl_1 | 0;
4869
+ result = imul(result, 31) + this.el_1.hashCode() | 0;
4853
4870
  return result;
4854
4871
  };
4855
4872
  protoOf(Coordinates).equals = function (other) {
@@ -4858,35 +4875,35 @@
4858
4875
  if (!(other instanceof Coordinates))
4859
4876
  return false;
4860
4877
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4861
- if (!(this.al_1 === tmp0_other_with_cast.al_1))
4878
+ if (!(this.cl_1 === tmp0_other_with_cast.cl_1))
4862
4879
  return false;
4863
- if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4880
+ if (!(this.dl_1 === tmp0_other_with_cast.dl_1))
4864
4881
  return false;
4865
- if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4882
+ if (!this.el_1.equals(tmp0_other_with_cast.el_1))
4866
4883
  return false;
4867
4884
  return true;
4868
4885
  };
4869
4886
  function Token(type, value, coordinates) {
4870
- this.xk_1 = type;
4871
- this.yk_1 = value;
4872
- this.zk_1 = coordinates;
4887
+ this.zk_1 = type;
4888
+ this.al_1 = value;
4889
+ this.bl_1 = coordinates;
4873
4890
  }
4874
- protoOf(Token).wl = function (type, value, coordinates) {
4891
+ protoOf(Token).yl = function (type, value, coordinates) {
4875
4892
  return new Token(type, value, coordinates);
4876
4893
  };
4877
- protoOf(Token).el = function (type, value, coordinates, $super) {
4878
- type = type === VOID ? this.xk_1 : type;
4879
- value = value === VOID ? this.yk_1 : value;
4880
- coordinates = coordinates === VOID ? this.zk_1 : coordinates;
4881
- return $super === VOID ? this.wl(type, value, coordinates) : $super.wl.call(this, type, value, coordinates);
4894
+ protoOf(Token).gl = function (type, value, coordinates, $super) {
4895
+ type = type === VOID ? this.zk_1 : type;
4896
+ value = value === VOID ? this.al_1 : value;
4897
+ coordinates = coordinates === VOID ? this.bl_1 : coordinates;
4898
+ return $super === VOID ? this.yl(type, value, coordinates) : $super.yl.call(this, type, value, coordinates);
4882
4899
  };
4883
4900
  protoOf(Token).toString = function () {
4884
- return 'Token(type=' + this.xk_1 + ', value=' + this.yk_1 + ', coordinates=' + this.zk_1 + ')';
4901
+ return 'Token(type=' + this.zk_1 + ', value=' + this.al_1 + ', coordinates=' + this.bl_1 + ')';
4885
4902
  };
4886
4903
  protoOf(Token).hashCode = function () {
4887
- var result = hashCode(this.xk_1);
4888
- result = imul(result, 31) + getStringHashCode(this.yk_1) | 0;
4889
- result = imul(result, 31) + this.zk_1.hashCode() | 0;
4904
+ var result = hashCode(this.zk_1);
4905
+ result = imul(result, 31) + getStringHashCode(this.al_1) | 0;
4906
+ result = imul(result, 31) + this.bl_1.hashCode() | 0;
4890
4907
  return result;
4891
4908
  };
4892
4909
  protoOf(Token).equals = function (other) {
@@ -4895,19 +4912,19 @@
4895
4912
  if (!(other instanceof Token))
4896
4913
  return false;
4897
4914
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4898
- if (!equals(this.xk_1, tmp0_other_with_cast.xk_1))
4915
+ if (!equals(this.zk_1, tmp0_other_with_cast.zk_1))
4899
4916
  return false;
4900
- if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4917
+ if (!(this.al_1 === tmp0_other_with_cast.al_1))
4901
4918
  return false;
4902
- if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4919
+ if (!this.bl_1.equals(tmp0_other_with_cast.bl_1))
4903
4920
  return false;
4904
4921
  return true;
4905
4922
  };
4906
4923
  function plus_1(_this__u8e3s4, length) {
4907
- return new IdxAndLength(_this__u8e3s4.sl_1 + length | 0, length);
4924
+ return new IdxAndLength(_this__u8e3s4.ul_1 + length | 0, length);
4908
4925
  }
4909
4926
  function plus_2(_this__u8e3s4, length) {
4910
- return _this__u8e3s4.vl(VOID, _this__u8e3s4.bl_1 + length | 0, plus_1(_this__u8e3s4.cl_1, length));
4927
+ return _this__u8e3s4.xl(VOID, _this__u8e3s4.dl_1 + length | 0, plus_1(_this__u8e3s4.el_1, length));
4911
4928
  }
4912
4929
  function tokenize(_this__u8e3s4, source) {
4913
4930
  var tmp$ret$1;
@@ -4929,7 +4946,7 @@
4929
4946
  var tmp0_subject = type;
4930
4947
  var tmp;
4931
4948
  if (tmp0_subject instanceof NewLine) {
4932
- tmp = new Coordinates(_this__u8e3s4.al_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.cl_1, value.length));
4949
+ tmp = new Coordinates(_this__u8e3s4.cl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.el_1, value.length));
4933
4950
  } else {
4934
4951
  tmp = plus_2(_this__u8e3s4, value.length);
4935
4952
  }
@@ -4937,7 +4954,7 @@
4937
4954
  }
4938
4955
  function lastCoordinates(_this__u8e3s4) {
4939
4956
  var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4940
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zk_1;
4957
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bl_1;
4941
4958
  return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4942
4959
  }
4943
4960
  function tokenize_0(_this__u8e3s4, source, tokens) {
@@ -4947,7 +4964,7 @@
4947
4964
  $l$1: do {
4948
4965
  $l$0: do {
4949
4966
  var token = findToken($this, lastCoordinates(tokens_0), source_0);
4950
- var newSource = removePrefix(source_0, token.yk_1);
4967
+ var newSource = removePrefix(source_0, token.al_1);
4951
4968
  var newTokens = plus_0(tokens_0, token);
4952
4969
  var tmp;
4953
4970
  var tmp$ret$0;
@@ -5173,7 +5190,7 @@
5173
5190
  }
5174
5191
  function EndOfProgram() {
5175
5192
  EndOfProgram_instance = this;
5176
- this.yl_1 = 'EOP';
5193
+ this.am_1 = 'EOP';
5177
5194
  }
5178
5195
  var EndOfProgram_instance;
5179
5196
  function EndOfProgram_getInstance() {
@@ -5206,7 +5223,7 @@
5206
5223
  }
5207
5224
  return tmp;
5208
5225
  };
5209
- protoOf(Logger).wk = function (s, block) {
5226
+ protoOf(Logger).yk = function (s, block) {
5210
5227
  var tmp$ret$1;
5211
5228
  // Inline function 'kotlin.run' call
5212
5229
  // Inline function 'kotlin.contracts.contract' call
@@ -5277,25 +5294,25 @@
5277
5294
  protoOf(WirespecEmitter).bk = withLogging_5;
5278
5295
  protoOf(WirespecEmitter).ck = withLogging_6;
5279
5296
  protoOf(WirespecEmitter).ek = withLogging_7;
5280
- protoOf(WsTypeDef).xl = name;
5281
- protoOf(WsEnumTypeDef).xl = name;
5282
- protoOf(WsRefinedTypeDef).xl = name;
5283
- protoOf(WhiteSpaceExceptNewLine).xl = name;
5284
- protoOf(NewLine).xl = name;
5285
- protoOf(LeftCurly).xl = name;
5286
- protoOf(Colon).xl = name;
5287
- protoOf(Comma).xl = name;
5288
- protoOf(QuestionMark).xl = name;
5289
- protoOf(Brackets).xl = name;
5290
- protoOf(WsString).xl = name;
5291
- protoOf(WsInteger).xl = name;
5292
- protoOf(WsBoolean).xl = name;
5293
- protoOf(RightCurly).xl = name;
5294
- protoOf(CustomValue).xl = name;
5295
- protoOf(CustomType).xl = name;
5296
- protoOf(CustomRegex).xl = name;
5297
- protoOf(Invalid).xl = name;
5298
- protoOf(EndOfProgram).xl = name;
5297
+ protoOf(WsTypeDef).zl = name;
5298
+ protoOf(WsEnumTypeDef).zl = name;
5299
+ protoOf(WsRefinedTypeDef).zl = name;
5300
+ protoOf(WhiteSpaceExceptNewLine).zl = name;
5301
+ protoOf(NewLine).zl = name;
5302
+ protoOf(LeftCurly).zl = name;
5303
+ protoOf(Colon).zl = name;
5304
+ protoOf(Comma).zl = name;
5305
+ protoOf(QuestionMark).zl = name;
5306
+ protoOf(Brackets).zl = name;
5307
+ protoOf(WsString).zl = name;
5308
+ protoOf(WsInteger).zl = name;
5309
+ protoOf(WsBoolean).zl = name;
5310
+ protoOf(RightCurly).zl = name;
5311
+ protoOf(CustomValue).zl = name;
5312
+ protoOf(CustomType).zl = name;
5313
+ protoOf(CustomRegex).zl = name;
5314
+ protoOf(Invalid).zl = name;
5315
+ protoOf(EndOfProgram).zl = name;
5299
5316
  //endregion
5300
5317
  //region block: init
5301
5318
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';
@@ -5330,7 +5347,7 @@
5330
5347
  _.$_$.z = Type_Boolean_getInstance;
5331
5348
  _.$_$.a1 = Type_Integer_getInstance;
5332
5349
  _.$_$.b1 = Type_String_getInstance;
5333
- _.$_$.c1 = Companion_getInstance_1;
5350
+ _.$_$.c1 = Companion_getInstance_2;
5334
5351
  _.$_$.d1 = Wirespec_getInstance;
5335
5352
  //endregion
5336
5353
  return _;