@flock/wirespec 0.8.31 → 0.8.32

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.
@@ -55,36 +55,36 @@
55
55
  var trimStart = kotlin_kotlin.$_$.ha;
56
56
  var firstOrNull = kotlin_kotlin.$_$.f5;
57
57
  var take = kotlin_kotlin.$_$.j6;
58
- var ParameterLocation_BODY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.v;
58
+ var ParameterLocation_BODY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.w;
59
59
  var ParameterObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.d;
60
- var ParameterLocation_QUERY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.y;
60
+ var ParameterLocation_QUERY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.z;
61
61
  var mapCapacity = kotlin_kotlin.$_$.x5;
62
62
  var coerceAtLeast = kotlin_kotlin.$_$.p8;
63
63
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.o;
64
- var _StatusCode___init__impl__t1yi9q = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.o1;
64
+ var _StatusCode___init__impl__t1yi9q = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.p1;
65
65
  var StatusCode = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.k;
66
- var Type_ARRAY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.z;
66
+ var Type_ARRAY_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.a1;
67
67
  var SchemaObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.j;
68
68
  var ResponseObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.i;
69
69
  var OperationObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.c;
70
- var Type_STRING_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.e1;
71
- var Type_INTEGER_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.b1;
72
- var Type_NUMBER_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.c1;
73
- var Type_BOOLEAN_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.a1;
74
- var Type_OBJECT_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.d1;
70
+ var Type_STRING_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.f1;
71
+ var Type_INTEGER_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.c1;
72
+ var Type_NUMBER_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.d1;
73
+ var Type_BOOLEAN_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.b1;
74
+ var Type_OBJECT_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.e1;
75
75
  var InfoObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.b;
76
76
  var listOf_0 = kotlin_kotlin.$_$.v5;
77
77
  var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.p;
78
- var _Path___init__impl__6uf4pw = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.j1;
78
+ var _Path___init__impl__6uf4pw = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.k1;
79
79
  var Path = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.f;
80
- var ParameterLocation_PATH_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.x;
80
+ var ParameterLocation_PATH_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.y;
81
81
  var PathItemObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.e;
82
82
  var toMap = kotlin_kotlin.$_$.p6;
83
83
  var plus_1 = kotlin_kotlin.$_$.a6;
84
84
  var SwaggerObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.l;
85
- var Default_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.x1;
85
+ var Default_getInstance = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.y1;
86
86
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.f1;
87
- var _Ref___init__impl__7qfl46 = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.m1;
87
+ var _Ref___init__impl__7qfl46 = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.n1;
88
88
  var ReferenceObject = kotlin_community_flock_kotlinx_openapi_bindings_kotlin_openapi_bindings.$_$.g;
89
89
  var dropLast = kotlin_kotlin.$_$.c9;
90
90
  var drop = kotlin_kotlin.$_$.d9;
@@ -132,37 +132,37 @@
132
132
  setMetadataFor(Companion, 'Companion', objectMeta);
133
133
  setMetadataFor(Emitter, 'Emitter', classMeta);
134
134
  function withLogging(_this__u8e3s4, logger, block) {
135
- return logger.a25('Emitting Definition: Endpoint', block);
135
+ return logger.b25('Emitting Definition: Endpoint', block);
136
136
  }
137
137
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
138
138
  function withLogging_0(_this__u8e3s4, logger, block) {
139
- return logger.a25('Emitting Definition: Endpoint', block);
139
+ return logger.b25('Emitting Definition: Endpoint', block);
140
140
  }
141
141
  function withLogging_1(_this__u8e3s4, logger, block) {
142
- return logger.a25('Emitting Definition: Endpoint Segment', block);
142
+ return logger.b25('Emitting Definition: Endpoint Segment', block);
143
143
  }
144
144
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
145
145
  function withLogging_2(_this__u8e3s4, logger, block) {
146
- return logger.a25('Emitting Definition: Type', block);
146
+ return logger.b25('Emitting Definition: Type', block);
147
147
  }
148
148
  function withLogging_3(_this__u8e3s4, logger, block) {
149
- return logger.a25('Emitting Definition: Type Shape', block);
149
+ return logger.b25('Emitting Definition: Type Shape', block);
150
150
  }
151
151
  function withLogging_4(_this__u8e3s4, logger, block) {
152
- return logger.a25('Emitting Definition: Type Shape Field', block);
152
+ return logger.b25('Emitting Definition: Type Shape Field', block);
153
153
  }
154
154
  function withLogging_5(_this__u8e3s4, logger, block) {
155
- return logger.a25('Emitting Definition: Type Shape Field Key', block);
155
+ return logger.b25('Emitting Definition: Type Shape Field Key', block);
156
156
  }
157
157
  function withLogging_6(_this__u8e3s4, logger, block) {
158
- return logger.a25('Emitting Definition: Type Shape Field Value', block);
158
+ return logger.b25('Emitting Definition: Type Shape Field Value', block);
159
159
  }
160
160
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
161
161
  function withLogging_7(_this__u8e3s4, logger, block) {
162
- return logger.a25('Emitting Definition: Refined', block);
162
+ return logger.b25('Emitting Definition: Refined', block);
163
163
  }
164
164
  function withLogging_8(_this__u8e3s4, logger, block) {
165
- return logger.a25('Emitting Definition: Refined Validator', block);
165
+ return logger.b25('Emitting Definition: Refined Validator', block);
166
166
  }
167
167
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
168
168
  setMetadataFor(AbstractEmitter, 'AbstractEmitter', classMeta, Emitter, [Emitter, EnumDefinitionEmitterLogger, EndpointDefinitionEmitterLogger, TypeDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger]);
@@ -532,10 +532,10 @@
532
532
  }
533
533
  function emit_0(_this__u8e3s4, $this) {
534
534
  Companion_getInstance_4();
535
- var tmp = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
536
- var tmp_0 = emitContentType(_this__u8e3s4.y21_1, $this);
537
- var tmp_1 = orEmptyString(Companion_getInstance_4().z21(_this__u8e3s4.x21_1), $this);
538
- var tmp0_safe_receiver = _this__u8e3s4.y21_1;
535
+ var tmp = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
536
+ var tmp_0 = emitContentType(_this__u8e3s4.z21_1, $this);
537
+ var tmp_1 = orEmptyString(Companion_getInstance_4().a22(_this__u8e3s4.x21_1), $this);
538
+ var tmp0_safe_receiver = _this__u8e3s4.z21_1;
539
539
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g21_1;
540
540
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.o21(tmp1_safe_receiver);
541
541
  var tmp_2 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
@@ -545,14 +545,14 @@
545
545
  Companion_getInstance_4();
546
546
  Companion_getInstance_4();
547
547
  Companion_getInstance_4();
548
- var tmp3_safe_receiver = _this__u8e3s4.y21_1;
548
+ var tmp3_safe_receiver = _this__u8e3s4.z21_1;
549
549
  var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.g21_1;
550
550
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.o21(tmp4_safe_receiver);
551
551
  var tmp_3 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
552
552
  Companion_getInstance_4();
553
553
  Companion_getInstance_4();
554
- var tmp_4 = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
555
- var tmp_5 = emitContentType(_this__u8e3s4.y21_1, $this);
554
+ var tmp_4 = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
555
+ var tmp_5 = emitContentType(_this__u8e3s4.z21_1, $this);
556
556
  // Inline function 'kotlin.takeIf' call
557
557
  var tmp0_takeIf = _this__u8e3s4.x21_1;
558
558
  // Inline function 'kotlin.contracts.contract' call
@@ -573,7 +573,7 @@
573
573
  tmp_7 = 'int status, ';
574
574
  }
575
575
  var tmp_8 = orEmptyString(tmp_7, $this);
576
- var tmp7_safe_receiver = _this__u8e3s4.y21_1;
576
+ var tmp7_safe_receiver = _this__u8e3s4.z21_1;
577
577
  var tmp_9;
578
578
  if (tmp7_safe_receiver == null) {
579
579
  tmp_9 = null;
@@ -606,7 +606,7 @@
606
606
  Companion_getInstance_4();
607
607
  Companion_getInstance_4();
608
608
  Companion_getInstance_4();
609
- var tmp10_safe_receiver = _this__u8e3s4.y21_1;
609
+ var tmp10_safe_receiver = _this__u8e3s4.z21_1;
610
610
  var tmp_13;
611
611
  if (tmp10_safe_receiver == null) {
612
612
  tmp_13 = null;
@@ -626,7 +626,7 @@
626
626
  Companion_getInstance_4();
627
627
  Companion_getInstance_4();
628
628
  Companion_getInstance_4();
629
- var tmp12_safe_receiver = _this__u8e3s4.y21_1;
629
+ var tmp12_safe_receiver = _this__u8e3s4.z21_1;
630
630
  var tmp13_safe_receiver = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.g21_1;
631
631
  var tmp14_elvis_lhs = tmp13_safe_receiver == null ? null : $this.o21(tmp13_safe_receiver);
632
632
  var tmp_15 = tmp14_elvis_lhs == null ? 'Void' : tmp14_elvis_lhs;
@@ -642,7 +642,7 @@
642
642
  while (tmp0_iterator.d()) {
643
643
  var e = tmp0_iterator.e();
644
644
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
645
- var tmp0_safe_receiver = e.y21_1;
645
+ var tmp0_safe_receiver = e.z21_1;
646
646
  var key = to(e.x21_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f21_1);
647
647
  if (set.a(key)) {
648
648
  list.a(e);
@@ -657,7 +657,7 @@
657
657
  }
658
658
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
659
659
  var tmp;
660
- if (_this__u8e3s4.y21_1 == null) {
660
+ if (_this__u8e3s4.z21_1 == null) {
661
661
  Companion_getInstance_4();
662
662
  Companion_getInstance_4();
663
663
  Companion_getInstance_4();
@@ -681,7 +681,7 @@
681
681
  tmp_1 = 'response.getStatus() == ' + _this__u8e3s4.x21_1 + ' && ';
682
682
  }
683
683
  var tmp_2 = orEmptyString(tmp_1, $this);
684
- var tmp_3 = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
684
+ var tmp_3 = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
685
685
  // Inline function 'kotlin.takeIf' call
686
686
  var tmp1_takeIf = _this__u8e3s4.x21_1;
687
687
  // Inline function 'kotlin.contracts.contract' call
@@ -730,15 +730,15 @@
730
730
  Companion_getInstance_4();
731
731
  Companion_getInstance_4();
732
732
  Companion_getInstance_4();
733
- var tmp_9 = $this.o21(_this__u8e3s4.y21_1.g21_1);
734
- var tmp_10 = emitSymbol(_this__u8e3s4.y21_1.g21_1, $this);
735
- var tmp_11 = _this__u8e3s4.y21_1.g21_1.a22();
733
+ var tmp_9 = $this.o21(_this__u8e3s4.z21_1.g21_1);
734
+ var tmp_10 = emitSymbol(_this__u8e3s4.z21_1.g21_1, $this);
735
+ var tmp_11 = _this__u8e3s4.z21_1.g21_1.b22();
736
736
  Companion_getInstance_4();
737
737
  Companion_getInstance_4();
738
738
  Companion_getInstance_4();
739
739
  Companion_getInstance_4();
740
- var tmp_12 = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
741
- var tmp_13 = emitContentType(_this__u8e3s4.y21_1, $this);
740
+ var tmp_12 = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
741
+ var tmp_13 = emitContentType(_this__u8e3s4.z21_1, $this);
742
742
  // Inline function 'kotlin.takeIf' call
743
743
  var tmp3_takeIf = _this__u8e3s4.x21_1;
744
744
  // Inline function 'kotlin.contracts.contract' call
@@ -762,7 +762,7 @@
762
762
  Companion_getInstance_4();
763
763
  Companion_getInstance_4();
764
764
  Companion_getInstance_4();
765
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'response.getContent().type().equals("' + _this__u8e3s4.y21_1.f21_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'Wirespec.Content<' + tmp_9 + '> content = contentMapper.read(response.getContent(), Wirespec.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return (Res) new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'response.getHeaders(), content.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
765
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'response.getContent().type().equals("' + _this__u8e3s4.z21_1.f21_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'Wirespec.Content<' + tmp_9 + '> content = contentMapper.read(response.getContent(), Wirespec.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return (Res) new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'response.getHeaders(), content.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
766
766
  }
767
767
  return tmp;
768
768
  }
@@ -780,7 +780,7 @@
780
780
  }
781
781
  function emit_1(_this__u8e3s4, $this) {
782
782
  var tmp = $this.c21();
783
- return $this.b22(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_8(_this__u8e3s4));
783
+ return $this.c22(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_8(_this__u8e3s4));
784
784
  }
785
785
  function emitRequestSignature(_this__u8e3s4, $this, content) {
786
786
  // Inline function 'kotlin.collections.map' call
@@ -802,7 +802,7 @@
802
802
  var item = tmp0_iterator_0.e();
803
803
  var tmp$ret$2;
804
804
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
805
- tmp$ret$2 = new Field(item.c22_1, item.d22_1, false);
805
+ tmp$ret$2 = new Field(item.d22_1, item.e22_1, false);
806
806
  tmp0_mapTo.a(tmp$ret$2);
807
807
  }
808
808
  var pathField = tmp0_mapTo;
@@ -833,13 +833,13 @@
833
833
  // Inline function 'kotlin.js.asDynamic' call
834
834
  tmp = _this__u8e3s4.substring(0, 1) + 'XX';
835
835
  } else {
836
- tmp = Companion_getInstance_4().z21(_this__u8e3s4);
836
+ tmp = Companion_getInstance_4().a22(_this__u8e3s4);
837
837
  }
838
838
  return tmp;
839
839
  }
840
840
  function Companion() {
841
841
  Companion_instance = this;
842
- this.e22_1 = listOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while']);
842
+ this.f22_1 = listOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while']);
843
843
  }
844
844
  var Companion_instance;
845
845
  function Companion_getInstance_0() {
@@ -849,30 +849,30 @@
849
849
  }
850
850
  function JavaEmitter$emit$lambda(this$0, $this_emit) {
851
851
  return function () {
852
- return trimMargin('public record ' + this$0.h22($this_emit.f22_1) + '(\n |' + this$0.i22($this_emit.g22_1) + '\n |) {};\n |');
852
+ return trimMargin('public record ' + this$0.i22($this_emit.g22_1) + '(\n |' + this$0.j22($this_emit.h22_1) + '\n |) {};\n |');
853
853
  };
854
854
  }
855
855
  function JavaEmitter$emit$lambda$lambda(this$0) {
856
856
  return function (it) {
857
- return this$0.j22(it);
857
+ return this$0.k22(it);
858
858
  };
859
859
  }
860
860
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
861
861
  return function () {
862
- return joinToString($this_emit.k22_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
862
+ return joinToString($this_emit.l22_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
863
863
  };
864
864
  }
865
865
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
866
866
  return function () {
867
867
  Companion_getInstance_4();
868
- return ' ' + ($this_emit.n22_1 ? 'java.util.Optional<' + this$0.o21($this_emit.m22_1) + '>' : this$0.o21($this_emit.m22_1)) + ' ' + this$0.o22($this_emit.l22_1);
868
+ return ' ' + ($this_emit.o22_1 ? 'java.util.Optional<' + this$0.o21($this_emit.n22_1) + '>' : this$0.o21($this_emit.n22_1)) + ' ' + this$0.p22($this_emit.m22_1);
869
869
  };
870
870
  }
871
871
  function JavaEmitter$emit$lambda_2(this$0, $this_emit) {
872
872
  return function () {
873
873
  var tmp$ret$2;
874
874
  // Inline function 'kotlin.collections.mapIndexed' call
875
- var tmp0_mapIndexed = split($this_emit.p22_1, ['-']);
875
+ var tmp0_mapIndexed = split($this_emit.q22_1, ['-']);
876
876
  var tmp$ret$1;
877
877
  // Inline function 'kotlin.collections.mapIndexedTo' call
878
878
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_mapIndexed, 10));
@@ -885,12 +885,12 @@
885
885
  var tmp1 = index;
886
886
  index = tmp1 + 1 | 0;
887
887
  var tmp1_anonymous = checkIndexOverflow(tmp1);
888
- tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_4().z21(item) : item;
888
+ tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_4().a22(item) : item;
889
889
  tmp0_mapIndexedTo.a(tmp$ret$0);
890
890
  }
891
891
  tmp$ret$1 = tmp0_mapIndexedTo;
892
892
  tmp$ret$2 = tmp$ret$1;
893
- return this$0.h22(this$0.q22(joinToString(tmp$ret$2, '')));
893
+ return this$0.i22(this$0.r22(joinToString(tmp$ret$2, '')));
894
894
  };
895
895
  }
896
896
  function JavaEmitter$emitSymbol$lambda(this$0, $this_emitSymbol) {
@@ -901,10 +901,10 @@
901
901
  tmp = 'Object';
902
902
  } else {
903
903
  if (tmp0_subject instanceof Custom) {
904
- tmp = $this_emitSymbol.u22_1;
904
+ tmp = $this_emitSymbol.v22_1;
905
905
  } else {
906
906
  if (tmp0_subject instanceof Primitive) {
907
- var tmp1_subject = $this_emitSymbol.r22_1;
907
+ var tmp1_subject = $this_emitSymbol.s22_1;
908
908
  var tmp0 = tmp1_subject.w4_1;
909
909
  var tmp_0;
910
910
  switch (tmp0) {
@@ -930,7 +930,7 @@
930
930
  }
931
931
  }
932
932
  }
933
- return this$0.h22(tmp);
933
+ return this$0.i22(tmp);
934
934
  };
935
935
  }
936
936
  function JavaEmitter$emit$lambda_3(this$0, $this_emit) {
@@ -943,13 +943,13 @@
943
943
  // Inline function 'kotlin.contracts.contract' call
944
944
  var tmp$ret$0;
945
945
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
946
- tmp$ret$0 = $this_emit.a22() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
946
+ tmp$ret$0 = $this_emit.b22() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
947
947
  tmp$ret$1 = tmp$ret$0;
948
948
  var tmp1_let = tmp$ret$1;
949
949
  // Inline function 'kotlin.contracts.contract' call
950
950
  var tmp$ret$2;
951
951
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
952
- tmp$ret$2 = $this_emit.x22() ? 'java.util.Map<String, ' + tmp1_let + '>' : tmp1_let;
952
+ tmp$ret$2 = $this_emit.y22() ? 'java.util.Map<String, ' + tmp1_let + '>' : tmp1_let;
953
953
  tmp$ret$3 = tmp$ret$2;
954
954
  return tmp$ret$3;
955
955
  };
@@ -968,7 +968,7 @@
968
968
  return function () {
969
969
  Companion_getInstance_4();
970
970
  Companion_getInstance_4();
971
- var tmp = this$0.h22($this_emit.y22_1);
971
+ var tmp = this$0.i22($this_emit.z22_1);
972
972
  Companion_getInstance_4();
973
973
  Companion_getInstance_4();
974
974
  Companion_getInstance_4();
@@ -979,27 +979,27 @@
979
979
  Companion_getInstance_4();
980
980
  Companion_getInstance_4();
981
981
  var toString = trimMargin('\n |' + ' ' + '@Override\n |' + ' ' + 'public String toString() {\n |' + ' ' + ' ' + 'return label;\n |' + ' ' + '}\n ');
982
- var tmp_0 = this$0.h22($this_emit.y22_1);
982
+ var tmp_0 = this$0.i22($this_emit.z22_1);
983
983
  Companion_getInstance_4();
984
984
  Companion_getInstance_4();
985
985
  var tmp_1 = ',\n' + ' ';
986
- return 'public enum ' + tmp_0 + ' {\n' + ' ' + joinToString($this_emit.z22_1, tmp_1, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
986
+ return 'public enum ' + tmp_0 + ' {\n' + ' ' + joinToString($this_emit.a23_1, tmp_1, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
987
987
  };
988
988
  }
989
989
  function JavaEmitter$emit$lambda_5(this$0, $this_emit) {
990
990
  return function () {
991
- var tmp = this$0.h22($this_emit.a23_1);
991
+ var tmp = this$0.i22($this_emit.b23_1);
992
992
  Companion_getInstance_4();
993
993
  Companion_getInstance_4();
994
- var tmp_0 = this$0.c23($this_emit.b23_1);
994
+ var tmp_0 = this$0.d23($this_emit.c23_1);
995
995
  Companion_getInstance_4();
996
- return trimMargin('public record ' + tmp + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.a23_1 + ' record) {\n |' + ' ' + tmp_0 + '\n |' + ' ' + '}\n |}\n |');
996
+ return trimMargin('public record ' + tmp + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.b23_1 + ' record) {\n |' + ' ' + tmp_0 + '\n |' + ' ' + '}\n |}\n |');
997
997
  };
998
998
  }
999
999
  function JavaEmitter$emit$lambda_6($this_emit) {
1000
1000
  return function () {
1001
1001
  Companion_getInstance_4();
1002
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.d23_1 + ').matcher(record.value).find();';
1002
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.e23_1 + ').matcher(record.value).find();';
1003
1003
  };
1004
1004
  }
1005
1005
  function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -1094,7 +1094,7 @@
1094
1094
  var e = tmp0_iterator_2.e();
1095
1095
  var tmp$ret$9;
1096
1096
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1097
- var tmp0_safe_receiver = e.y21_1;
1097
+ var tmp0_safe_receiver = e.z21_1;
1098
1098
  tmp$ret$9 = to(e.x21_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f21_1);
1099
1099
  var key = tmp$ret$9;
1100
1100
  if (set.a(key)) {
@@ -1105,7 +1105,7 @@
1105
1105
  var tmp_6 = tmp$ret$10;
1106
1106
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1107
1107
  Companion_getInstance_4();
1108
- return trimMargin('public interface ' + $this_emit.p21_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'sealed interface Request<T> extends Wirespec.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public CompletableFuture<Response<?>> ' + Companion_getInstance_4().e23($this_emit.p21_1) + '(Request<?> request);\n |}\n |');
1108
+ return trimMargin('public interface ' + $this_emit.p21_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'sealed interface Request<T> extends Wirespec.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public CompletableFuture<Response<?>> ' + Companion_getInstance_4().f23($this_emit.p21_1) + '(Request<?> request);\n |}\n |');
1109
1109
  };
1110
1110
  }
1111
1111
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1114,17 +1114,17 @@
1114
1114
  };
1115
1115
  }
1116
1116
  function JavaEmitter$emitContentType$lambda(it) {
1117
- return Companion_getInstance_4().z21(it);
1117
+ return Companion_getInstance_4().a22(it);
1118
1118
  }
1119
1119
  function JavaEmitter$emit$lambda_8($this_emit) {
1120
1120
  return function () {
1121
1121
  var tmp0_subject = $this_emit;
1122
1122
  var tmp;
1123
1123
  if (tmp0_subject instanceof Literal) {
1124
- tmp = '"' + $this_emit.f23_1 + '"';
1124
+ tmp = '"' + $this_emit.g23_1 + '"';
1125
1125
  } else {
1126
1126
  if (tmp0_subject instanceof Param) {
1127
- tmp = $this_emit.c22_1.p22_1;
1127
+ tmp = $this_emit.d22_1.q22_1;
1128
1128
  } else {
1129
1129
  noWhenBranchMatchedException();
1130
1130
  }
@@ -1134,21 +1134,21 @@
1134
1134
  }
1135
1135
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1136
1136
  return function (it) {
1137
- return this$0.j22(it);
1137
+ return this$0.k22(it);
1138
1138
  };
1139
1139
  }
1140
1140
  function JavaEmitter$emitMap$lambda(this$0) {
1141
1141
  return function (it) {
1142
- return 'java.util.Map.entry("' + it.l22_1.p22_1 + '", java.util.List.of(' + this$0.o22(it.l22_1) + '))';
1142
+ return 'java.util.Map.entry("' + it.m22_1.q22_1 + '", java.util.List.of(' + this$0.p22(it.m22_1) + '))';
1143
1143
  };
1144
1144
  }
1145
1145
  function JavaEmitter$emitSegment$lambda(it) {
1146
1146
  var tmp;
1147
1147
  if (it instanceof Param) {
1148
- tmp = '{' + it.c22_1.p22_1 + '}';
1148
+ tmp = '{' + it.d22_1.q22_1 + '}';
1149
1149
  } else {
1150
1150
  if (it instanceof Literal) {
1151
- tmp = it.f23_1;
1151
+ tmp = it.g23_1;
1152
1152
  } else {
1153
1153
  noWhenBranchMatchedException();
1154
1154
  }
@@ -1217,51 +1217,51 @@
1217
1217
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1218
1218
  var name = item.j3();
1219
1219
  var result = item.k3();
1220
- tmp$ret$0 = to(this.h22(name), this.n21_1 + '\n\n' + import_0(this, ast) + result);
1220
+ tmp$ret$0 = to(this.i22(name), this.n21_1 + '\n\n' + import_0(this, ast) + result);
1221
1221
  tmp0_mapTo.a(tmp$ret$0);
1222
1222
  }
1223
1223
  return tmp0_mapTo;
1224
1224
  };
1225
- protoOf(JavaEmitter).g23 = function (_this__u8e3s4) {
1225
+ protoOf(JavaEmitter).h23 = function (_this__u8e3s4) {
1226
1226
  var tmp = this.c21();
1227
- return this.h23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda(this, _this__u8e3s4));
1227
+ return this.i23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda(this, _this__u8e3s4));
1228
1228
  };
1229
- protoOf(JavaEmitter).i22 = function (_this__u8e3s4) {
1229
+ protoOf(JavaEmitter).j22 = function (_this__u8e3s4) {
1230
1230
  var tmp = this.c21();
1231
- return this.i23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1231
+ return this.j23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1232
1232
  };
1233
- protoOf(JavaEmitter).j22 = function (_this__u8e3s4) {
1233
+ protoOf(JavaEmitter).k22 = function (_this__u8e3s4) {
1234
1234
  var tmp = this.c21();
1235
- return this.j23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1235
+ return this.k23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1236
1236
  };
1237
- protoOf(JavaEmitter).o22 = function (_this__u8e3s4) {
1237
+ protoOf(JavaEmitter).p22 = function (_this__u8e3s4) {
1238
1238
  var tmp = this.c21();
1239
- return this.k23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_2(this, _this__u8e3s4));
1239
+ return this.l23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_2(this, _this__u8e3s4));
1240
1240
  };
1241
1241
  protoOf(JavaEmitter).o21 = function (_this__u8e3s4) {
1242
1242
  var tmp = this.c21();
1243
1243
  return this.d21(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1244
1244
  };
1245
- protoOf(JavaEmitter).l23 = function (_this__u8e3s4) {
1245
+ protoOf(JavaEmitter).m23 = function (_this__u8e3s4) {
1246
1246
  var tmp = this.c21();
1247
- return this.m23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_4(this, _this__u8e3s4));
1247
+ return this.n23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_4(this, _this__u8e3s4));
1248
1248
  };
1249
- protoOf(JavaEmitter).n23 = function (_this__u8e3s4) {
1249
+ protoOf(JavaEmitter).o23 = function (_this__u8e3s4) {
1250
1250
  var tmp = this.c21();
1251
- return this.o23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_5(this, _this__u8e3s4));
1251
+ return this.p23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_5(this, _this__u8e3s4));
1252
1252
  };
1253
- protoOf(JavaEmitter).c23 = function (_this__u8e3s4) {
1253
+ protoOf(JavaEmitter).d23 = function (_this__u8e3s4) {
1254
1254
  var tmp = this.c21();
1255
- return this.p23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1255
+ return this.q23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1256
1256
  };
1257
- protoOf(JavaEmitter).q23 = function (_this__u8e3s4) {
1257
+ protoOf(JavaEmitter).r23 = function (_this__u8e3s4) {
1258
1258
  var tmp = this.c21();
1259
- return this.r23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1259
+ return this.s23(_this__u8e3s4, tmp, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1260
1260
  };
1261
- protoOf(JavaEmitter).q22 = function (_this__u8e3s4) {
1262
- return Companion_getInstance_0().e22_1.j1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1261
+ protoOf(JavaEmitter).r22 = function (_this__u8e3s4) {
1262
+ return Companion_getInstance_0().f22_1.j1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1263
1263
  };
1264
- protoOf(JavaEmitter).h22 = function (_this__u8e3s4) {
1264
+ protoOf(JavaEmitter).i22 = function (_this__u8e3s4) {
1265
1265
  return replace(replace(_this__u8e3s4, '.', ''), ' ', '_');
1266
1266
  };
1267
1267
  function emitSymbol_0(_this__u8e3s4, $this) {
@@ -1288,7 +1288,7 @@
1288
1288
  var item = tmp0_iterator_0.e();
1289
1289
  var tmp$ret$2;
1290
1290
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1291
- tmp$ret$2 = new Field(item.c22_1, item.d22_1, false);
1291
+ tmp$ret$2 = new Field(item.d22_1, item.e22_1, false);
1292
1292
  tmp0_mapTo.a(tmp$ret$2);
1293
1293
  }
1294
1294
  var pathField = tmp0_mapTo;
@@ -1305,7 +1305,7 @@
1305
1305
  }
1306
1306
  function emit_2(_this__u8e3s4, $this) {
1307
1307
  var tmp = $this.c21();
1308
- return $this.b22(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1308
+ return $this.c22(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1309
1309
  }
1310
1310
  function emitPath_0(_this__u8e3s4, $this) {
1311
1311
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
@@ -1348,7 +1348,7 @@
1348
1348
  Companion_getInstance_4();
1349
1349
  var tmp_0 = $this.o21(_this__u8e3s4.e21_1.g21_1);
1350
1350
  var tmp_1 = emitSymbol_0(_this__u8e3s4.e21_1.g21_1, $this);
1351
- var tmp_2 = _this__u8e3s4.e21_1.g21_1.a22();
1351
+ var tmp_2 = _this__u8e3s4.e21_1.g21_1.b22();
1352
1352
  Companion_getInstance_4();
1353
1353
  Companion_getInstance_4();
1354
1354
  Companion_getInstance_4();
@@ -1372,7 +1372,7 @@
1372
1372
  while (tmp0_iterator.d()) {
1373
1373
  var element = tmp0_iterator.e();
1374
1374
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1375
- if (Companion_getInstance_4().a24(element.x21_1)) {
1375
+ if (Companion_getInstance_4().b24(element.x21_1)) {
1376
1376
  tmp0_filterTo.a(element);
1377
1377
  }
1378
1378
  }
@@ -1382,7 +1382,7 @@
1382
1382
  while (tmp0_iterator_0.d()) {
1383
1383
  var e = tmp0_iterator_0.e();
1384
1384
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1385
- var tmp0_safe_receiver = e.y21_1;
1385
+ var tmp0_safe_receiver = e.z21_1;
1386
1386
  var key = to(e.x21_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f21_1);
1387
1387
  if (set.a(key)) {
1388
1388
  list.a(e);
@@ -1398,7 +1398,7 @@
1398
1398
  while (tmp0_iterator_1.d()) {
1399
1399
  var element_0 = tmp0_iterator_1.e();
1400
1400
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1401
- if (!Companion_getInstance_4().a24(element_0.x21_1)) {
1401
+ if (!Companion_getInstance_4().b24(element_0.x21_1)) {
1402
1402
  tmp0_filterTo_0.a(element_0);
1403
1403
  }
1404
1404
  }
@@ -1408,7 +1408,7 @@
1408
1408
  while (tmp0_iterator_2.d()) {
1409
1409
  var e_0 = tmp0_iterator_2.e();
1410
1410
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1411
- var tmp0_safe_receiver_0 = e_0.y21_1;
1411
+ var tmp0_safe_receiver_0 = e_0.z21_1;
1412
1412
  var key_0 = to(e_0.x21_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f21_1);
1413
1413
  if (set_0.a(key_0)) {
1414
1414
  list_0.a(e_0);
@@ -1429,7 +1429,7 @@
1429
1429
  }
1430
1430
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1431
1431
  var tmp;
1432
- if (_this__u8e3s4.y21_1 == null) {
1432
+ if (_this__u8e3s4.z21_1 == null) {
1433
1433
  Companion_getInstance_4();
1434
1434
  Companion_getInstance_4();
1435
1435
  Companion_getInstance_4();
@@ -1439,7 +1439,7 @@
1439
1439
  // Inline function 'kotlin.contracts.contract' call
1440
1440
  var tmp_0;
1441
1441
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1442
- if (Companion_getInstance_4().a24(tmp0_takeIf)) {
1442
+ if (Companion_getInstance_4().b24(tmp0_takeIf)) {
1443
1443
  tmp_0 = tmp0_takeIf;
1444
1444
  } else {
1445
1445
  tmp_0 = null;
@@ -1454,13 +1454,13 @@
1454
1454
  tmp_1 = 'response.status == ' + _this__u8e3s4.x21_1 + ' && ';
1455
1455
  }
1456
1456
  var tmp_2 = orEmptyString_0(tmp_1);
1457
- var tmp_3 = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
1457
+ var tmp_3 = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
1458
1458
  // Inline function 'kotlin.takeIf' call
1459
1459
  var tmp1_takeIf = _this__u8e3s4.x21_1;
1460
1460
  // Inline function 'kotlin.contracts.contract' call
1461
1461
  var tmp_4;
1462
1462
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1463
- if (!Companion_getInstance_4().a24(tmp1_takeIf)) {
1463
+ if (!Companion_getInstance_4().b24(tmp1_takeIf)) {
1464
1464
  tmp_4 = tmp1_takeIf;
1465
1465
  } else {
1466
1466
  tmp_4 = null;
@@ -1485,7 +1485,7 @@
1485
1485
  // Inline function 'kotlin.contracts.contract' call
1486
1486
  var tmp_6;
1487
1487
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1488
- if (Companion_getInstance_4().a24(tmp2_takeIf)) {
1488
+ if (Companion_getInstance_4().b24(tmp2_takeIf)) {
1489
1489
  tmp_6 = tmp2_takeIf;
1490
1490
  } else {
1491
1491
  tmp_6 = null;
@@ -1505,22 +1505,22 @@
1505
1505
  Companion_getInstance_4();
1506
1506
  Companion_getInstance_4();
1507
1507
  Companion_getInstance_4();
1508
- var tmp_9 = $this.o21(_this__u8e3s4.y21_1.g21_1);
1509
- var tmp_10 = emitSymbol_0(_this__u8e3s4.y21_1.g21_1, $this);
1510
- var tmp_11 = _this__u8e3s4.y21_1.g21_1.a22();
1508
+ var tmp_9 = $this.o21(_this__u8e3s4.z21_1.g21_1);
1509
+ var tmp_10 = emitSymbol_0(_this__u8e3s4.z21_1.g21_1, $this);
1510
+ var tmp_11 = _this__u8e3s4.z21_1.g21_1.b22();
1511
1511
  Companion_getInstance_4();
1512
1512
  Companion_getInstance_4();
1513
1513
  Companion_getInstance_4();
1514
1514
  Companion_getInstance_4();
1515
1515
  Companion_getInstance_4();
1516
- var tmp_12 = Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
1517
- var tmp_13 = emitContentType_0(_this__u8e3s4.y21_1);
1516
+ var tmp_12 = Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
1517
+ var tmp_13 = emitContentType_0(_this__u8e3s4.z21_1);
1518
1518
  // Inline function 'kotlin.takeIf' call
1519
1519
  var tmp3_takeIf = _this__u8e3s4.x21_1;
1520
1520
  // Inline function 'kotlin.contracts.contract' call
1521
1521
  var tmp_14;
1522
1522
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1523
- if (!Companion_getInstance_4().a24(tmp3_takeIf)) {
1523
+ if (!Companion_getInstance_4().b24(tmp3_takeIf)) {
1524
1524
  tmp_14 = tmp3_takeIf;
1525
1525
  } else {
1526
1526
  tmp_14 = null;
@@ -1534,13 +1534,13 @@
1534
1534
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1535
1535
  tmp_15 = 'response.status, ';
1536
1536
  }
1537
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_8 + 'response.content?.type == "' + _this__u8e3s4.y21_1.f21_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(response.content!!, Wirespec.getType(' + tmp_10 + '::class.java, ' + tmp_11 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_12 + tmp_13 + '(' + orEmptyString_0(tmp_15) + 'response.headers, it.body) }\n ');
1537
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_8 + 'response.content?.type == "' + _this__u8e3s4.z21_1.f21_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(response.content!!, Wirespec.getType(' + tmp_10 + '::class.java, ' + tmp_11 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_12 + tmp_13 + '(' + orEmptyString_0(tmp_15) + 'response.headers, it.body) }\n ');
1538
1538
  }
1539
1539
  return tmp;
1540
1540
  }
1541
1541
  function Companion_0() {
1542
1542
  Companion_instance_0 = this;
1543
- this.b24_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']);
1543
+ this.c24_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']);
1544
1544
  }
1545
1545
  var Companion_instance_0;
1546
1546
  function Companion_getInstance_1() {
@@ -1550,30 +1550,30 @@
1550
1550
  }
1551
1551
  function KotlinEmitter$emit$lambda(this$0, $this_emit) {
1552
1552
  return function () {
1553
- return trimMargin('|data class ' + this$0.h22($this_emit.f22_1) + '(\n |' + this$0.i22($this_emit.g22_1) + '\n |)\n |');
1553
+ return trimMargin('|data class ' + this$0.i22($this_emit.g22_1) + '(\n |' + this$0.j22($this_emit.h22_1) + '\n |)\n |');
1554
1554
  };
1555
1555
  }
1556
1556
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1557
1557
  return function (it) {
1558
1558
  Companion_getInstance_4();
1559
- return ' ' + 'val ' + this$0.j22(it);
1559
+ return ' ' + 'val ' + this$0.k22(it);
1560
1560
  };
1561
1561
  }
1562
1562
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1563
1563
  return function () {
1564
- return joinToString($this_emit.k22_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1564
+ return joinToString($this_emit.l22_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1565
1565
  };
1566
1566
  }
1567
1567
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1568
1568
  return function () {
1569
- return this$0.o22($this_emit.l22_1) + ': ' + this$0.o21($this_emit.m22_1) + ($this_emit.n22_1 ? '? = null' : '');
1569
+ return this$0.p22($this_emit.m22_1) + ': ' + this$0.o21($this_emit.n22_1) + ($this_emit.o22_1 ? '? = null' : '');
1570
1570
  };
1571
1571
  }
1572
1572
  function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1573
1573
  return function () {
1574
1574
  var tmp$ret$2;
1575
1575
  // Inline function 'kotlin.collections.mapIndexed' call
1576
- var tmp0_mapIndexed = split($this_emit.p22_1, ['-']);
1576
+ var tmp0_mapIndexed = split($this_emit.q22_1, ['-']);
1577
1577
  var tmp$ret$1;
1578
1578
  // Inline function 'kotlin.collections.mapIndexedTo' call
1579
1579
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_mapIndexed, 10));
@@ -1586,12 +1586,12 @@
1586
1586
  var tmp1 = index;
1587
1587
  index = tmp1 + 1 | 0;
1588
1588
  var tmp1_anonymous = checkIndexOverflow(tmp1);
1589
- tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_4().z21(item) : item;
1589
+ tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_4().a22(item) : item;
1590
1590
  tmp0_mapIndexedTo.a(tmp$ret$0);
1591
1591
  }
1592
1592
  tmp$ret$1 = tmp0_mapIndexedTo;
1593
1593
  tmp$ret$2 = tmp$ret$1;
1594
- return this$0.h22(this$0.q22(joinToString(tmp$ret$2, '')));
1594
+ return this$0.i22(this$0.r22(joinToString(tmp$ret$2, '')));
1595
1595
  };
1596
1596
  }
1597
1597
  function KotlinEmitter$emitSymbol$lambda(this$0, $this_emitSymbol) {
@@ -1602,10 +1602,10 @@
1602
1602
  tmp = 'Any';
1603
1603
  } else {
1604
1604
  if (tmp0_subject instanceof Custom) {
1605
- tmp = $this_emitSymbol.u22_1;
1605
+ tmp = $this_emitSymbol.v22_1;
1606
1606
  } else {
1607
1607
  if (tmp0_subject instanceof Primitive) {
1608
- var tmp1_subject = $this_emitSymbol.r22_1;
1608
+ var tmp1_subject = $this_emitSymbol.s22_1;
1609
1609
  var tmp0 = tmp1_subject.w4_1;
1610
1610
  var tmp_0;
1611
1611
  switch (tmp0) {
@@ -1631,7 +1631,7 @@
1631
1631
  }
1632
1632
  }
1633
1633
  }
1634
- return this$0.h22(tmp);
1634
+ return this$0.i22(tmp);
1635
1635
  };
1636
1636
  }
1637
1637
  function KotlinEmitter$emit$lambda_3(this$0, $this_emit) {
@@ -1644,13 +1644,13 @@
1644
1644
  // Inline function 'kotlin.contracts.contract' call
1645
1645
  var tmp$ret$0;
1646
1646
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1647
- tmp$ret$0 = $this_emit.a22() ? 'List<' + tmp0_let + '>' : tmp0_let;
1647
+ tmp$ret$0 = $this_emit.b22() ? 'List<' + tmp0_let + '>' : tmp0_let;
1648
1648
  tmp$ret$1 = tmp$ret$0;
1649
1649
  var tmp1_let = tmp$ret$1;
1650
1650
  // Inline function 'kotlin.contracts.contract' call
1651
1651
  var tmp$ret$2;
1652
1652
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1653
- tmp$ret$2 = $this_emit.x22() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1653
+ tmp$ret$2 = $this_emit.y22() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1654
1654
  tmp$ret$3 = tmp$ret$2;
1655
1655
  return tmp$ret$3;
1656
1656
  };
@@ -1664,16 +1664,16 @@
1664
1664
  }
1665
1665
  function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1666
1666
  return function (it) {
1667
- return this$0.q22(invoke$sanitizeEnum_0(it)) + '("' + it + '")';
1667
+ return this$0.r22(invoke$sanitizeEnum_0(it)) + '("' + it + '")';
1668
1668
  };
1669
1669
  }
1670
1670
  function KotlinEmitter$emit$lambda_4(this$0, $this_emit) {
1671
1671
  return function () {
1672
- var tmp = this$0.h22($this_emit.y22_1);
1672
+ var tmp = this$0.i22($this_emit.z22_1);
1673
1673
  Companion_getInstance_4();
1674
1674
  Companion_getInstance_4();
1675
1675
  var tmp_0 = ',\n' + ' ';
1676
- var tmp_1 = joinToString($this_emit.z22_1, tmp_0, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1676
+ var tmp_1 = joinToString($this_emit.a23_1, tmp_0, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1677
1677
  Companion_getInstance_4();
1678
1678
  Companion_getInstance_4();
1679
1679
  Companion_getInstance_4();
@@ -1683,12 +1683,12 @@
1683
1683
  }
1684
1684
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1685
1685
  return function () {
1686
- return trimMargin('data class ' + $this_emit.a23_1 + '(val value: String)\n |fun ' + $this_emit.a23_1 + '.validate() = ' + this$0.c23($this_emit.b23_1) + '\n |');
1686
+ return trimMargin('data class ' + $this_emit.b23_1 + '(val value: String)\n |fun ' + $this_emit.b23_1 + '.validate() = ' + this$0.d23($this_emit.c23_1) + '\n |');
1687
1687
  };
1688
1688
  }
1689
1689
  function KotlinEmitter$emit$lambda_6($this_emit) {
1690
1690
  return function () {
1691
- return 'Regex(' + $this_emit.d23_1 + ').find(value)';
1691
+ return 'Regex(' + $this_emit.e23_1 + ').find(value)';
1692
1692
  };
1693
1693
  }
1694
1694
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -1738,10 +1738,10 @@
1738
1738
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1739
1739
  return function (it) {
1740
1740
  Companion_getInstance_4();
1741
- var tmp0_safe_receiver = it.y21_1;
1741
+ var tmp0_safe_receiver = it.z21_1;
1742
1742
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1743
1743
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1744
- var tmp2_safe_receiver = it.y21_1;
1744
+ var tmp2_safe_receiver = it.z21_1;
1745
1745
  var tmp_0;
1746
1746
  if (tmp2_safe_receiver == null) {
1747
1747
  tmp_0 = null;
@@ -1757,11 +1757,11 @@
1757
1757
  }
1758
1758
  var tmp3_elvis_lhs = tmp_0;
1759
1759
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1760
- var tmp4_safe_receiver = it.y21_1;
1760
+ var tmp4_safe_receiver = it.z21_1;
1761
1761
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.g21_1;
1762
1762
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.o21(tmp5_safe_receiver);
1763
1763
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1764
- var tmp7_safe_receiver = it.y21_1;
1764
+ var tmp7_safe_receiver = it.z21_1;
1765
1765
  var tmp_3;
1766
1766
  if (tmp7_safe_receiver == null) {
1767
1767
  tmp_3 = null;
@@ -1782,11 +1782,11 @@
1782
1782
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1783
1783
  return function (it) {
1784
1784
  Companion_getInstance_4();
1785
- var tmp = Companion_getInstance_4().z21(it.x21_1);
1786
- var tmp0_safe_receiver = it.y21_1;
1785
+ var tmp = Companion_getInstance_4().a22(it.x21_1);
1786
+ var tmp0_safe_receiver = it.z21_1;
1787
1787
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1788
1788
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1789
- var tmp2_safe_receiver = it.y21_1;
1789
+ var tmp2_safe_receiver = it.z21_1;
1790
1790
  var tmp_1;
1791
1791
  if (tmp2_safe_receiver == null) {
1792
1792
  tmp_1 = null;
@@ -1802,12 +1802,12 @@
1802
1802
  }
1803
1803
  var tmp3_elvis_lhs = tmp_1;
1804
1804
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1805
- var tmp_3 = Companion_getInstance_4().z21(it.x21_1);
1806
- var tmp4_safe_receiver = it.y21_1;
1805
+ var tmp_3 = Companion_getInstance_4().a22(it.x21_1);
1806
+ var tmp4_safe_receiver = it.z21_1;
1807
1807
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.g21_1;
1808
1808
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.o21(tmp5_safe_receiver);
1809
1809
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1810
- var tmp7_safe_receiver = it.y21_1;
1810
+ var tmp7_safe_receiver = it.z21_1;
1811
1811
  var tmp_5;
1812
1812
  if (tmp7_safe_receiver == null) {
1813
1813
  tmp_5 = null;
@@ -1861,7 +1861,7 @@
1861
1861
  var element = tmp0_iterator_0.e();
1862
1862
  var tmp$ret$3;
1863
1863
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1864
- tmp$ret$3 = Companion_getInstance_4().a24(element.x21_1);
1864
+ tmp$ret$3 = Companion_getInstance_4().b24(element.x21_1);
1865
1865
  if (tmp$ret$3) {
1866
1866
  tmp0_filterTo.a(element);
1867
1867
  }
@@ -1897,7 +1897,7 @@
1897
1897
  var element_0 = tmp0_iterator_2.e();
1898
1898
  var tmp$ret$9;
1899
1899
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1900
- tmp$ret$9 = Companion_getInstance_4().a24(element_0.x21_1);
1900
+ tmp$ret$9 = Companion_getInstance_4().b24(element_0.x21_1);
1901
1901
  if (tmp$ret$9) {
1902
1902
  tmp0_filterTo_0.a(element_0);
1903
1903
  }
@@ -1912,7 +1912,7 @@
1912
1912
  var e = tmp0_iterator_3.e();
1913
1913
  var tmp$ret$12;
1914
1914
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1915
- var tmp0_safe_receiver = e.y21_1;
1915
+ var tmp0_safe_receiver = e.z21_1;
1916
1916
  tmp$ret$12 = to(e.x21_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f21_1);
1917
1917
  var key = tmp$ret$12;
1918
1918
  if (set.a(key)) {
@@ -1935,7 +1935,7 @@
1935
1935
  var element_1 = tmp0_iterator_4.e();
1936
1936
  var tmp$ret$14;
1937
1937
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1938
- tmp$ret$14 = !Companion_getInstance_4().a24(element_1.x21_1);
1938
+ tmp$ret$14 = !Companion_getInstance_4().b24(element_1.x21_1);
1939
1939
  if (tmp$ret$14) {
1940
1940
  tmp0_filterTo_1.a(element_1);
1941
1941
  }
@@ -1950,7 +1950,7 @@
1950
1950
  var e_0 = tmp0_iterator_5.e();
1951
1951
  var tmp$ret$17;
1952
1952
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1953
- var tmp0_safe_receiver_0 = e_0.y21_1;
1953
+ var tmp0_safe_receiver_0 = e_0.z21_1;
1954
1954
  tmp$ret$17 = to(e_0.x21_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f21_1);
1955
1955
  var key_0 = tmp$ret$17;
1956
1956
  if (set_0.a(key_0)) {
@@ -1961,7 +1961,7 @@
1961
1961
  var tmp_6 = tmp$ret$18;
1962
1962
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1963
1963
  Companion_getInstance_4();
1964
- var tmp_8 = Companion_getInstance_4().e23($this_emit.p21_1);
1964
+ var tmp_8 = Companion_getInstance_4().f23($this_emit.p21_1);
1965
1965
  Companion_getInstance_4();
1966
1966
  Companion_getInstance_4();
1967
1967
  Companion_getInstance_4();
@@ -1976,16 +1976,16 @@
1976
1976
  }
1977
1977
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1978
1978
  return function (it) {
1979
- return this$0.j22(it);
1979
+ return this$0.k22(it);
1980
1980
  };
1981
1981
  }
1982
1982
  function KotlinEmitter$emitSegment$lambda(it) {
1983
1983
  var tmp;
1984
1984
  if (it instanceof Param) {
1985
- tmp = '{' + it.c22_1.p22_1 + '}';
1985
+ tmp = '{' + it.d22_1.q22_1 + '}';
1986
1986
  } else {
1987
1987
  if (it instanceof Literal) {
1988
- tmp = it.f23_1;
1988
+ tmp = it.g23_1;
1989
1989
  } else {
1990
1990
  noWhenBranchMatchedException();
1991
1991
  }
@@ -1994,7 +1994,7 @@
1994
1994
  }
1995
1995
  function KotlinEmitter$emitMap$lambda(this$0) {
1996
1996
  return function (it) {
1997
- return '"' + it.l22_1.p22_1 + '" to listOf(' + this$0.o22(it.l22_1) + ')';
1997
+ return '"' + it.m22_1.q22_1 + '" to listOf(' + this$0.p22(it.m22_1) + ')';
1998
1998
  };
1999
1999
  }
2000
2000
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -2002,10 +2002,10 @@
2002
2002
  var tmp0_subject = $this_emit;
2003
2003
  var tmp;
2004
2004
  if (tmp0_subject instanceof Literal) {
2005
- tmp = $this_emit.f23_1;
2005
+ tmp = $this_emit.g23_1;
2006
2006
  } else {
2007
2007
  if (tmp0_subject instanceof Param) {
2008
- tmp = '${' + $this_emit.c22_1.p22_1 + '}';
2008
+ tmp = '${' + $this_emit.d22_1.q22_1 + '}';
2009
2009
  } else {
2010
2010
  noWhenBranchMatchedException();
2011
2011
  }
@@ -2038,7 +2038,7 @@
2038
2038
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2039
2039
  logger = logger === VOID ? get_noLogger() : logger;
2040
2040
  AbstractEmitter.call(this, logger);
2041
- this.x23_1 = packageName;
2041
+ this.y23_1 = packageName;
2042
2042
  var tmp = this;
2043
2043
  Companion_getInstance_4();
2044
2044
  Companion_getInstance_4();
@@ -2087,8 +2087,8 @@
2087
2087
  Companion_getInstance_4();
2088
2088
  Companion_getInstance_4();
2089
2089
  Companion_getInstance_4();
2090
- tmp.y23_1 = trimMargin('\n |package community.flock.wirespec\n |\n |import java.lang.reflect.Type\n |import java.lang.reflect.ParameterizedType\n |\n |interface Wirespec {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + '@JvmRecord 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: Type): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |' + ' ' + 'companion object {\n |' + ' ' + ' ' + '@JvmStatic fun getType(type: Class<*>, isIterable: Boolean): Type {\n |' + ' ' + ' ' + ' ' + 'return if (isIterable) {\n |' + ' ' + ' ' + ' ' + ' ' + 'object : ParameterizedType {\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getRawType() = MutableList::class.java\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getActualTypeArguments() = arrayOf(type)\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getOwnerType() = null\n |' + ' ' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + ' ' + '} else {\n |' + ' ' + ' ' + ' ' + ' ' + 'type\n |' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
2091
- this.z23_1 = '\nimport community.flock.wirespec.Wirespec\n';
2090
+ tmp.z23_1 = trimMargin('\n |package community.flock.wirespec\n |\n |import java.lang.reflect.Type\n |import java.lang.reflect.ParameterizedType\n |\n |interface Wirespec {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + '@JvmRecord 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: Type): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |' + ' ' + 'companion object {\n |' + ' ' + ' ' + '@JvmStatic fun getType(type: Class<*>, isIterable: Boolean): Type {\n |' + ' ' + ' ' + ' ' + 'return if (isIterable) {\n |' + ' ' + ' ' + ' ' + ' ' + 'object : ParameterizedType {\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getRawType() = MutableList::class.java\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getActualTypeArguments() = arrayOf(type)\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getOwnerType() = null\n |' + ' ' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + ' ' + '} else {\n |' + ' ' + ' ' + ' ' + ' ' + 'type\n |' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
2091
+ this.a24_1 = '\nimport community.flock.wirespec.Wirespec\n';
2092
2092
  }
2093
2093
  protoOf(KotlinEmitter).t20 = function (ast) {
2094
2094
  // Inline function 'kotlin.collections.map' call
@@ -2102,70 +2102,70 @@
2102
2102
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>' call
2103
2103
  var name = item.j3();
2104
2104
  var result = item.k3();
2105
- var tmp = this.h22(name);
2105
+ var tmp = this.i22(name);
2106
2106
  var tmp$ret$0;
2107
2107
  // Inline function 'kotlin.text.trimStart' call
2108
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.x23_1) ? '' : 'package ' + this.x23_1) + '\n |' + (Companion_getInstance_4().x20(ast) ? this.z23_1 : '') + '\n |' + result + '\n ');
2108
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.y23_1) ? '' : 'package ' + this.y23_1) + '\n |' + (Companion_getInstance_4().x20(ast) ? this.a24_1 : '') + '\n |' + result + '\n ');
2109
2109
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2110
2110
  tmp$ret$1 = to(tmp, tmp$ret$0);
2111
2111
  tmp0_mapTo.a(tmp$ret$1);
2112
2112
  }
2113
2113
  return tmp0_mapTo;
2114
2114
  };
2115
- protoOf(KotlinEmitter).g23 = function (_this__u8e3s4) {
2115
+ protoOf(KotlinEmitter).h23 = function (_this__u8e3s4) {
2116
2116
  var tmp = this.c21();
2117
- return this.h23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda(this, _this__u8e3s4));
2117
+ return this.i23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda(this, _this__u8e3s4));
2118
2118
  };
2119
- protoOf(KotlinEmitter).i22 = function (_this__u8e3s4) {
2119
+ protoOf(KotlinEmitter).j22 = function (_this__u8e3s4) {
2120
2120
  var tmp = this.c21();
2121
- return this.i23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2121
+ return this.j23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2122
2122
  };
2123
- protoOf(KotlinEmitter).j22 = function (_this__u8e3s4) {
2123
+ protoOf(KotlinEmitter).k22 = function (_this__u8e3s4) {
2124
2124
  var tmp = this.c21();
2125
- return this.j23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2125
+ return this.k23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2126
2126
  };
2127
- protoOf(KotlinEmitter).o22 = function (_this__u8e3s4) {
2127
+ protoOf(KotlinEmitter).p22 = function (_this__u8e3s4) {
2128
2128
  var tmp = this.c21();
2129
- return this.k23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2129
+ return this.l23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2130
2130
  };
2131
2131
  protoOf(KotlinEmitter).o21 = function (_this__u8e3s4) {
2132
2132
  var tmp = this.c21();
2133
2133
  return this.d21(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_3(this, _this__u8e3s4));
2134
2134
  };
2135
- protoOf(KotlinEmitter).l23 = function (_this__u8e3s4) {
2135
+ protoOf(KotlinEmitter).m23 = function (_this__u8e3s4) {
2136
2136
  var tmp = this.c21();
2137
- return this.m23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_4(this, _this__u8e3s4));
2137
+ return this.n23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_4(this, _this__u8e3s4));
2138
2138
  };
2139
- protoOf(KotlinEmitter).n23 = function (_this__u8e3s4) {
2139
+ protoOf(KotlinEmitter).o23 = function (_this__u8e3s4) {
2140
2140
  var tmp = this.c21();
2141
- return this.o23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2141
+ return this.p23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2142
2142
  };
2143
- protoOf(KotlinEmitter).c23 = function (_this__u8e3s4) {
2143
+ protoOf(KotlinEmitter).d23 = function (_this__u8e3s4) {
2144
2144
  var tmp = this.c21();
2145
- return this.p23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2145
+ return this.q23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2146
2146
  };
2147
- protoOf(KotlinEmitter).q23 = function (_this__u8e3s4) {
2147
+ protoOf(KotlinEmitter).r23 = function (_this__u8e3s4) {
2148
2148
  var tmp = this.c21();
2149
- return this.r23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2149
+ return this.s23(_this__u8e3s4, tmp, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2150
2150
  };
2151
- protoOf(KotlinEmitter).q22 = function (_this__u8e3s4) {
2152
- return Companion_getInstance_1().b24_1.j1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2151
+ protoOf(KotlinEmitter).r22 = function (_this__u8e3s4) {
2152
+ return Companion_getInstance_1().c24_1.j1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2153
2153
  };
2154
- protoOf(KotlinEmitter).h22 = function (_this__u8e3s4) {
2154
+ protoOf(KotlinEmitter).i22 = function (_this__u8e3s4) {
2155
2155
  return replace(_this__u8e3s4, '.', '');
2156
2156
  };
2157
2157
  function emitContentType_0(_this__u8e3s4) {
2158
2158
  var tmp = split(_this__u8e3s4.f21_1, ['/', '-']);
2159
- return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2159
+ return replace(joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda), '+', '');
2160
2160
  }
2161
2161
  function groupStatus_0(_this__u8e3s4) {
2162
2162
  var tmp;
2163
- if (Companion_getInstance_4().a24(_this__u8e3s4)) {
2163
+ if (Companion_getInstance_4().b24(_this__u8e3s4)) {
2164
2164
  // Inline function 'kotlin.text.substring' call
2165
2165
  // Inline function 'kotlin.js.asDynamic' call
2166
2166
  tmp = _this__u8e3s4.substring(0, 1) + 'XX';
2167
2167
  } else {
2168
- tmp = Companion_getInstance_4().z21(_this__u8e3s4);
2168
+ tmp = Companion_getInstance_4().a22(_this__u8e3s4);
2169
2169
  }
2170
2170
  return tmp;
2171
2171
  }
@@ -2176,7 +2176,7 @@
2176
2176
  return _this__u8e3s4 == null ? '' : _this__u8e3s4;
2177
2177
  }
2178
2178
  function emitContentType$lambda(it) {
2179
- return Companion_getInstance_4().z21(it);
2179
+ return Companion_getInstance_4().a22(it);
2180
2180
  }
2181
2181
  function emit_3(_this__u8e3s4, $this, method) {
2182
2182
  // Inline function 'kotlin.collections.map' call
@@ -2248,8 +2248,8 @@
2248
2248
  var tmp$ret$7;
2249
2249
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>' call
2250
2250
  var tmp0_in_0 = ParameterLocation_QUERY_getInstance();
2251
- var tmp1_name = item_0.l22_1.p22_1;
2252
- var tmp2_type = emitType_0(item_0.m22_1, $this);
2251
+ var tmp1_name = item_0.m22_1.q22_1;
2252
+ var tmp2_type = emitType_0(item_0.n22_1, $this);
2253
2253
  tmp$ret$7 = new ParameterObject(tmp1_name, tmp0_in_0, VOID, VOID, VOID, tmp2_type);
2254
2254
  tmp0_mapTo_0.a(tmp$ret$7);
2255
2255
  }
@@ -2265,7 +2265,7 @@
2265
2265
  // Inline function 'kotlin.collections.plusAssign' call
2266
2266
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>' call
2267
2267
  var tmp_1 = new StatusCode(_StatusCode___init__impl__t1yi9q(element_0.x21_1));
2268
- var tmp0_safe_receiver_0 = element_0.y21_1;
2268
+ var tmp0_safe_receiver_0 = element_0.z21_1;
2269
2269
  var tmp1_safe_receiver = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.g21_1;
2270
2270
  var tmp_2;
2271
2271
  if (tmp1_safe_receiver == null) {
@@ -2275,7 +2275,7 @@
2275
2275
  // Inline function 'kotlin.contracts.contract' call
2276
2276
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>.<anonymous>' call
2277
2277
  var tmp_3;
2278
- switch (tmp1_safe_receiver.a22()) {
2278
+ switch (tmp1_safe_receiver.b22()) {
2279
2279
  case false:
2280
2280
  tmp_3 = $this.o21(tmp1_safe_receiver);
2281
2281
  break;
@@ -2320,7 +2320,7 @@
2320
2320
  function emitType_0(_this__u8e3s4, $this) {
2321
2321
  var tmp;
2322
2322
  if (_this__u8e3s4 instanceof Primitive) {
2323
- tmp = emitType(_this__u8e3s4.r22_1, $this);
2323
+ tmp = emitType(_this__u8e3s4.s22_1, $this);
2324
2324
  } else {
2325
2325
  if (_this__u8e3s4 instanceof Custom) {
2326
2326
  tmp = Type_OBJECT_getInstance();
@@ -2337,10 +2337,10 @@
2337
2337
  function OpenApiV2Emitter$emitSegment$lambda(it) {
2338
2338
  var tmp;
2339
2339
  if (it instanceof Param) {
2340
- tmp = '{' + it.c22_1.p22_1 + '}';
2340
+ tmp = '{' + it.d22_1.q22_1 + '}';
2341
2341
  } else {
2342
2342
  if (it instanceof Literal) {
2343
- tmp = it.f23_1;
2343
+ tmp = it.g23_1;
2344
2344
  } else {
2345
2345
  noWhenBranchMatchedException();
2346
2346
  }
@@ -2351,11 +2351,11 @@
2351
2351
  logger = logger === VOID ? get_noLogger() : logger;
2352
2352
  split = split === VOID ? false : split;
2353
2353
  Emitter.call(this, logger, split);
2354
- this.e24_1 = logger;
2355
- this.f24_1 = split;
2354
+ this.f24_1 = logger;
2355
+ this.g24_1 = split;
2356
2356
  }
2357
- protoOf(OpenApiV2Emitter).s23 = function () {
2358
- return this.f24_1;
2357
+ protoOf(OpenApiV2Emitter).t23 = function () {
2358
+ return this.g24_1;
2359
2359
  };
2360
2360
  protoOf(OpenApiV2Emitter).t20 = function (ast) {
2361
2361
  var tmp = new InfoObject('Wirespec', VOID, VOID, VOID, VOID, '0.0.0');
@@ -2423,7 +2423,7 @@
2423
2423
  var tmp$ret$10;
2424
2424
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>.<anonymous>' call
2425
2425
  var tmp0_in = ParameterLocation_PATH_getInstance();
2426
- var tmp1_name = item_0.c22_1.p22_1;
2426
+ var tmp1_name = item_0.d22_1.q22_1;
2427
2427
  var tmp2_type = Type_STRING_getInstance();
2428
2428
  tmp$ret$10 = new ParameterObject(tmp1_name, tmp0_in, VOID, VOID, VOID, tmp2_type);
2429
2429
  tmp0_mapTo_0.a(tmp$ret$10);
@@ -2460,8 +2460,8 @@
2460
2460
  // Inline function 'kotlin.collections.plusAssign' call
2461
2461
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>' call
2462
2462
  var tmp0_type = Type_STRING_getInstance();
2463
- var tmp1_pattern = element_3.b23_1.d23_1;
2464
- var tmp0_plusAssign = to(element_3.a23_1, new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_pattern, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_type));
2463
+ var tmp1_pattern = element_3.c23_1.e23_1;
2464
+ var tmp0_plusAssign = to(element_3.b23_1, new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_pattern, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_type));
2465
2465
  tmp0_associateTo.l3(tmp0_plusAssign.h3_1, tmp0_plusAssign.i3_1);
2466
2466
  }
2467
2467
  var tmp_5 = tmp0_associateTo;
@@ -2485,7 +2485,7 @@
2485
2485
  // Inline function 'kotlin.collections.plusAssign' call
2486
2486
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>' call
2487
2487
  // Inline function 'kotlin.collections.associate' call
2488
- var tmp0_associate = element_5.g22_1.k22_1;
2488
+ var tmp0_associate = element_5.h22_1.l22_1;
2489
2489
  var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associate, 10)), 16);
2490
2490
  // Inline function 'kotlin.collections.associateTo' call
2491
2491
  var tmp0_associateTo_1 = LinkedHashMap_init_$Create$(capacity_1);
@@ -2494,20 +2494,20 @@
2494
2494
  var element_6 = tmp0_iterator_8.e();
2495
2495
  // Inline function 'kotlin.collections.plusAssign' call
2496
2496
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>.<anonymous>' call
2497
- var tmp0_plusAssign_0 = this.j22(element_6);
2497
+ var tmp0_plusAssign_0 = this.k22(element_6);
2498
2498
  tmp0_associateTo_1.l3(tmp0_plusAssign_0.h3_1, tmp0_plusAssign_0.i3_1);
2499
2499
  }
2500
2500
  // Inline function 'kotlin.takeIf' call
2501
2501
  // Inline function 'kotlin.collections.map' call
2502
2502
  // Inline function 'kotlin.collections.filter' call
2503
- var tmp1_filter = element_5.g22_1.k22_1;
2503
+ var tmp1_filter = element_5.h22_1.l22_1;
2504
2504
  // Inline function 'kotlin.collections.filterTo' call
2505
2505
  var tmp0_filterTo = ArrayList_init_$Create$();
2506
2506
  var tmp0_iterator_9 = tmp1_filter.c();
2507
2507
  while (tmp0_iterator_9.d()) {
2508
2508
  var element_7 = tmp0_iterator_9.e();
2509
2509
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>.<anonymous>' call
2510
- if (!element_7.n22_1) {
2510
+ if (!element_7.o22_1) {
2511
2511
  tmp0_filterTo.a(element_7);
2512
2512
  }
2513
2513
  }
@@ -2518,7 +2518,7 @@
2518
2518
  var item_1 = tmp0_iterator_10.e();
2519
2519
  var tmp$ret$29;
2520
2520
  // Inline function 'community.flock.wirespec.compiler.core.emit.OpenApiV2Emitter.emit.<anonymous>.<anonymous>' call
2521
- tmp$ret$29 = item_1.l22_1.p22_1;
2521
+ tmp$ret$29 = item_1.m22_1.q22_1;
2522
2522
  tmp0_mapTo_1.a(tmp$ret$29);
2523
2523
  }
2524
2524
  // Inline function 'kotlin.contracts.contract' call
@@ -2531,23 +2531,23 @@
2531
2531
  tmp_6 = null;
2532
2532
  }
2533
2533
  var tmp1_required = tmp_6;
2534
- var tmp0_plusAssign_1 = to(element_5.f22_1, new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_required, VOID, VOID, VOID, VOID, tmp0_associateTo_1));
2534
+ var tmp0_plusAssign_1 = to(element_5.g22_1, new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_required, VOID, VOID, VOID, VOID, tmp0_associateTo_1));
2535
2535
  tmp0_associateTo_0.l3(tmp0_plusAssign_1.h3_1, tmp0_plusAssign_1.i3_1);
2536
2536
  }
2537
2537
  var obj = new SwaggerObject('2.0', tmp, VOID, VOID, VOID, tmp_0, tmp_1, tmp_4, plus_1(tmp_5, tmp0_associateTo_0));
2538
2538
  var str = Default_getInstance().j1d(obj);
2539
2539
  return listOf_0(to('OpenApi', str));
2540
2540
  };
2541
- protoOf(OpenApiV2Emitter).j22 = function (_this__u8e3s4) {
2542
- return to(_this__u8e3s4.l22_1.p22_1, this.o21(_this__u8e3s4.m22_1));
2541
+ protoOf(OpenApiV2Emitter).k22 = function (_this__u8e3s4) {
2542
+ return to(_this__u8e3s4.m22_1.q22_1, this.o21(_this__u8e3s4.n22_1));
2543
2543
  };
2544
2544
  protoOf(OpenApiV2Emitter).o21 = function (_this__u8e3s4) {
2545
2545
  var tmp;
2546
2546
  if (_this__u8e3s4 instanceof Custom) {
2547
- tmp = new ReferenceObject(_Ref___init__impl__7qfl46('#/definitions/' + _this__u8e3s4.u22_1));
2547
+ tmp = new ReferenceObject(_Ref___init__impl__7qfl46('#/definitions/' + _this__u8e3s4.v22_1));
2548
2548
  } else {
2549
2549
  if (_this__u8e3s4 instanceof Primitive) {
2550
- tmp = new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, emitType(_this__u8e3s4.r22_1, this));
2550
+ tmp = new SchemaObject(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, emitType(_this__u8e3s4.s22_1, this));
2551
2551
  } else {
2552
2552
  if (_this__u8e3s4 instanceof Any) {
2553
2553
  throw IllegalStateException_init_$Create$('Cannot map Any');
@@ -2560,7 +2560,7 @@
2560
2560
  };
2561
2561
  function Companion_1() {
2562
2562
  Companion_instance_1 = this;
2563
- this.g24_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']);
2563
+ this.h24_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']);
2564
2564
  }
2565
2565
  var Companion_instance_1;
2566
2566
  function Companion_getInstance_2() {
@@ -2570,28 +2570,28 @@
2570
2570
  }
2571
2571
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2572
2572
  return function () {
2573
- return trimMargin('case class ' + $this_emit.f22_1 + '(\n |' + this$0.i22($this_emit.g22_1) + '\n |)\n |\n |');
2573
+ return trimMargin('case class ' + $this_emit.g22_1 + '(\n |' + this$0.j22($this_emit.h22_1) + '\n |)\n |\n |');
2574
2574
  };
2575
2575
  }
2576
2576
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2577
2577
  return function (it) {
2578
- return this$0.j22(it);
2578
+ return this$0.k22(it);
2579
2579
  };
2580
2580
  }
2581
2581
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2582
2582
  return function () {
2583
- return dropLast(joinToString($this_emit.k22_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2583
+ return dropLast(joinToString($this_emit.l22_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2584
2584
  };
2585
2585
  }
2586
2586
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2587
2587
  return function () {
2588
2588
  Companion_getInstance_4();
2589
- return ' ' + 'val ' + this$0.o22($this_emit.l22_1) + ': ' + ($this_emit.n22_1 ? 'Option[' + this$0.o21($this_emit.m22_1) + ']' : this$0.o21($this_emit.m22_1)) + ',';
2589
+ return ' ' + 'val ' + this$0.p22($this_emit.m22_1) + ': ' + ($this_emit.o22_1 ? 'Option[' + this$0.o21($this_emit.n22_1) + ']' : this$0.o21($this_emit.n22_1)) + ',';
2590
2590
  };
2591
2591
  }
2592
2592
  function ScalaEmitter$emit$lambda_2($this_emit) {
2593
2593
  return function () {
2594
- return Companion_getInstance_2().g24_1.j1($this_emit.p22_1) ? '`' + $this_emit.p22_1 + '`' : $this_emit.p22_1;
2594
+ return Companion_getInstance_2().h24_1.j1($this_emit.q22_1) ? '`' + $this_emit.q22_1 + '`' : $this_emit.q22_1;
2595
2595
  };
2596
2596
  }
2597
2597
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2604,10 +2604,10 @@
2604
2604
  tmp = 'Any';
2605
2605
  } else {
2606
2606
  if (tmp0_subject instanceof Custom) {
2607
- tmp = $this_emit.u22_1;
2607
+ tmp = $this_emit.v22_1;
2608
2608
  } else {
2609
2609
  if (tmp0_subject instanceof Primitive) {
2610
- var tmp1_subject = $this_emit.r22_1;
2610
+ var tmp1_subject = $this_emit.s22_1;
2611
2611
  var tmp0 = tmp1_subject.w4_1;
2612
2612
  var tmp_0;
2613
2613
  switch (tmp0) {
@@ -2637,7 +2637,7 @@
2637
2637
  // Inline function 'kotlin.contracts.contract' call
2638
2638
  var tmp$ret$0;
2639
2639
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2640
- tmp$ret$0 = $this_emit.a22() ? 'List[' + tmp0_let + ']' : tmp0_let;
2640
+ tmp$ret$0 = $this_emit.b22() ? 'List[' + tmp0_let + ']' : tmp0_let;
2641
2641
  tmp$ret$1 = tmp$ret$0;
2642
2642
  return tmp$ret$1;
2643
2643
  };
@@ -2659,20 +2659,20 @@
2659
2659
  // Inline function 'kotlin.js.asDynamic' call
2660
2660
  tmp$ret$0 = tmp0_uppercase;
2661
2661
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2662
- return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.y22_1 + '(label = "' + it + '")';
2662
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.z22_1 + '(label = "' + it + '")';
2663
2663
  };
2664
2664
  }
2665
2665
  function ScalaEmitter$emit$lambda_4($this_emit) {
2666
2666
  return function () {
2667
- return trimMargin('\n |sealed abstract class ' + $this_emit.y22_1 + '(val label: String)\n |object ' + $this_emit.y22_1 + ' {\n |' + joinToString($this_emit.z22_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2667
+ return trimMargin('\n |sealed abstract class ' + $this_emit.z22_1 + '(val label: String)\n |object ' + $this_emit.z22_1 + ' {\n |' + joinToString($this_emit.a23_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2668
2668
  };
2669
2669
  }
2670
2670
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2671
2671
  return function () {
2672
2672
  Companion_getInstance_4();
2673
- var tmp = this$0.c23($this_emit.b23_1);
2673
+ var tmp = this$0.d23($this_emit.c23_1);
2674
2674
  Companion_getInstance_4();
2675
- return trimMargin('case class ' + $this_emit.a23_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.a23_1 + 'Ops(val that: ' + $this_emit.a23_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2675
+ return trimMargin('case class ' + $this_emit.b23_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.b23_1 + 'Ops(val that: ' + $this_emit.b23_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2676
2676
  };
2677
2677
  }
2678
2678
  function ScalaEmitter$emit$lambda_6($this_emit) {
@@ -2681,7 +2681,7 @@
2681
2681
  Companion_getInstance_4();
2682
2682
  Companion_getInstance_4();
2683
2683
  Companion_getInstance_4();
2684
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.d23_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2684
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.e23_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2685
2685
  };
2686
2686
  }
2687
2687
  function ScalaEmitter$emit$lambda_7() {
@@ -2692,8 +2692,8 @@
2692
2692
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2693
2693
  logger = logger === VOID ? get_noLogger() : logger;
2694
2694
  AbstractEmitter.call(this, logger);
2695
- this.l24_1 = packageName;
2696
- this.m24_1 = '';
2695
+ this.m24_1 = packageName;
2696
+ this.n24_1 = '';
2697
2697
  }
2698
2698
  protoOf(ScalaEmitter).t20 = function (ast) {
2699
2699
  // Inline function 'kotlin.collections.map' call
@@ -2707,53 +2707,53 @@
2707
2707
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2708
2708
  var name = item.j3();
2709
2709
  var result = item.k3();
2710
- tmp$ret$0 = to(name, isBlank(this.l24_1) ? '' : 'package ' + this.l24_1 + '\n\n' + result);
2710
+ tmp$ret$0 = to(name, isBlank(this.m24_1) ? '' : 'package ' + this.m24_1 + '\n\n' + result);
2711
2711
  tmp0_mapTo.a(tmp$ret$0);
2712
2712
  }
2713
2713
  return tmp0_mapTo;
2714
2714
  };
2715
- protoOf(ScalaEmitter).g23 = function (_this__u8e3s4) {
2715
+ protoOf(ScalaEmitter).h23 = function (_this__u8e3s4) {
2716
2716
  var tmp = this.c21();
2717
- return this.h23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2717
+ return this.i23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2718
2718
  };
2719
- protoOf(ScalaEmitter).i22 = function (_this__u8e3s4) {
2719
+ protoOf(ScalaEmitter).j22 = function (_this__u8e3s4) {
2720
2720
  var tmp = this.c21();
2721
- return this.i23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2721
+ return this.j23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2722
2722
  };
2723
- protoOf(ScalaEmitter).j22 = function (_this__u8e3s4) {
2723
+ protoOf(ScalaEmitter).k22 = function (_this__u8e3s4) {
2724
2724
  var tmp = this.c21();
2725
- return this.j23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2725
+ return this.k23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2726
2726
  };
2727
- protoOf(ScalaEmitter).o22 = function (_this__u8e3s4) {
2727
+ protoOf(ScalaEmitter).p22 = function (_this__u8e3s4) {
2728
2728
  var tmp = this.c21();
2729
- return this.k23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2729
+ return this.l23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2730
2730
  };
2731
2731
  protoOf(ScalaEmitter).o21 = function (_this__u8e3s4) {
2732
2732
  var tmp = this.c21();
2733
2733
  return this.d21(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2734
2734
  };
2735
- protoOf(ScalaEmitter).l23 = function (_this__u8e3s4) {
2735
+ protoOf(ScalaEmitter).m23 = function (_this__u8e3s4) {
2736
2736
  var tmp = this.c21();
2737
- return this.m23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2737
+ return this.n23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2738
2738
  };
2739
- protoOf(ScalaEmitter).n23 = function (_this__u8e3s4) {
2739
+ protoOf(ScalaEmitter).o23 = function (_this__u8e3s4) {
2740
2740
  var tmp = this.c21();
2741
- return this.o23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2741
+ return this.p23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2742
2742
  };
2743
- protoOf(ScalaEmitter).c23 = function (_this__u8e3s4) {
2743
+ protoOf(ScalaEmitter).d23 = function (_this__u8e3s4) {
2744
2744
  var tmp = this.c21();
2745
- return this.p23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2745
+ return this.q23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2746
2746
  };
2747
- protoOf(ScalaEmitter).q23 = function (_this__u8e3s4) {
2747
+ protoOf(ScalaEmitter).r23 = function (_this__u8e3s4) {
2748
2748
  var tmp = this.c21();
2749
- return this.r23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_7);
2749
+ return this.s23(_this__u8e3s4, tmp, ScalaEmitter$emit$lambda_7);
2750
2750
  };
2751
2751
  function emitType_1(_this__u8e3s4, $this) {
2752
2752
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2753
2753
  }
2754
2754
  function emitType_2(_this__u8e3s4, $this) {
2755
2755
  var tmp = $this.c21();
2756
- return $this.b22(_this__u8e3s4, tmp, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2756
+ return $this.c22(_this__u8e3s4, tmp, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2757
2757
  }
2758
2758
  function emitName(_this__u8e3s4, $this) {
2759
2759
  var tmp0_safe_receiver = _this__u8e3s4.e21_1;
@@ -2761,8 +2761,8 @@
2761
2761
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2762
2762
  }
2763
2763
  function emitName_0(_this__u8e3s4, $this) {
2764
- var tmp = 'Response' + Companion_getInstance_4().z21(_this__u8e3s4.x21_1);
2765
- var tmp0_safe_receiver = _this__u8e3s4.y21_1;
2764
+ var tmp = 'Response' + Companion_getInstance_4().a22(_this__u8e3s4.x21_1);
2765
+ var tmp0_safe_receiver = _this__u8e3s4.z21_1;
2766
2766
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2767
2767
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2768
2768
  }
@@ -2774,32 +2774,76 @@
2774
2774
  }
2775
2775
  function emit_5(_this__u8e3s4, $this) {
2776
2776
  var tmp = $this.c21();
2777
- return $this.b22(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2777
+ return $this.c22(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2778
+ }
2779
+ function joinParameters(_this__u8e3s4, $this, content, response) {
2780
+ // Inline function 'kotlin.collections.map' call
2781
+ // Inline function 'kotlin.collections.filterIsInstance' call
2782
+ var tmp0_filterIsInstance = _this__u8e3s4.r21_1;
2783
+ // Inline function 'kotlin.collections.filterIsInstanceTo' call
2784
+ var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
2785
+ var tmp0_iterator = tmp0_filterIsInstance.c();
2786
+ while (tmp0_iterator.d()) {
2787
+ var element = tmp0_iterator.e();
2788
+ if (element instanceof Param) {
2789
+ tmp0_filterIsInstanceTo.a(element);
2790
+ }
2791
+ }
2792
+ // Inline function 'kotlin.collections.mapTo' call
2793
+ var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_filterIsInstanceTo, 10));
2794
+ var tmp0_iterator_0 = tmp0_filterIsInstanceTo.c();
2795
+ while (tmp0_iterator_0.d()) {
2796
+ var item = tmp0_iterator_0.e();
2797
+ var tmp$ret$2;
2798
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.joinParameters.<anonymous>' call
2799
+ tmp$ret$2 = new Field(item.d22_1, item.e22_1, false);
2800
+ tmp0_mapTo.a(tmp$ret$2);
2801
+ }
2802
+ var pathField = tmp0_mapTo;
2803
+ var tmp1_elvis_lhs = response == null ? null : response.y21_1;
2804
+ var parameters = tmp1_elvis_lhs == null ? plus(plus(plus(pathField, _this__u8e3s4.s21_1), _this__u8e3s4.t21_1), _this__u8e3s4.u21_1) : tmp1_elvis_lhs;
2805
+ // Inline function 'kotlin.collections.map' call
2806
+ var tmp3_safe_receiver = content == null ? null : content.g21_1;
2807
+ var tmp2_map = filterNotNull(plus_0(parameters, tmp3_safe_receiver == null ? null : toField(tmp3_safe_receiver, 'body', false)));
2808
+ // Inline function 'kotlin.collections.mapTo' call
2809
+ var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp2_map, 10));
2810
+ var tmp0_iterator_1 = tmp2_map.c();
2811
+ while (tmp0_iterator_1.d()) {
2812
+ var item_0 = tmp0_iterator_1.e();
2813
+ var tmp$ret$5;
2814
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.joinParameters.<anonymous>' call
2815
+ tmp$ret$5 = item_0.o24(new Identifier(Companion_getInstance_4().f23(sanitizeSymbol(item_0.m22_1.q22_1, $this))));
2816
+ tmp0_mapTo_0.a(tmp$ret$5);
2817
+ }
2818
+ return tmp0_mapTo_0;
2819
+ }
2820
+ function sanitizeSymbol(_this__u8e3s4, $this) {
2821
+ return replace(replace(replace(_this__u8e3s4, '-', ''), '.', ''), ' ', '_');
2778
2822
  }
2779
2823
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2780
2824
  return function () {
2781
- return trimMargin('export type ' + $this_emit.f22_1 + ' = {\n |' + this$0.i22($this_emit.g22_1) + '\n |}\n |\n |');
2825
+ return trimMargin('export type ' + $this_emit.g22_1 + ' = {\n |' + this$0.j22($this_emit.h22_1) + '\n |}\n |\n |');
2782
2826
  };
2783
2827
  }
2784
2828
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2785
2829
  return function (it) {
2786
- return this$0.j22(it);
2830
+ return this$0.k22(it);
2787
2831
  };
2788
2832
  }
2789
2833
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2790
2834
  return function () {
2791
- return joinToString($this_emit.k22_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2835
+ return joinToString($this_emit.l22_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2792
2836
  };
2793
2837
  }
2794
2838
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2795
2839
  return function () {
2796
2840
  Companion_getInstance_4();
2797
- return ' ' + this$0.o22($this_emit.l22_1) + ($this_emit.n22_1 ? '?' : '') + ': ' + this$0.o21($this_emit.m22_1);
2841
+ return ' ' + this$0.p22($this_emit.m22_1) + ($this_emit.o22_1 ? '?' : '') + ': ' + this$0.o21($this_emit.n22_1);
2798
2842
  };
2799
2843
  }
2800
2844
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2801
2845
  return function () {
2802
- return $this_emit.p22_1;
2846
+ return $this_emit.q22_1;
2803
2847
  };
2804
2848
  }
2805
2849
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2814,10 +2858,10 @@
2814
2858
  tmp = 'any';
2815
2859
  } else {
2816
2860
  if (tmp0_subject instanceof Custom) {
2817
- tmp = $this_emit.u22_1;
2861
+ tmp = $this_emit.v22_1;
2818
2862
  } else {
2819
2863
  if (tmp0_subject instanceof Primitive) {
2820
- var tmp1_subject = $this_emit.r22_1;
2864
+ var tmp1_subject = $this_emit.s22_1;
2821
2865
  var tmp0 = tmp1_subject.w4_1;
2822
2866
  var tmp_0;
2823
2867
  switch (tmp0) {
@@ -2847,13 +2891,13 @@
2847
2891
  // Inline function 'kotlin.contracts.contract' call
2848
2892
  var tmp$ret$0;
2849
2893
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2850
- tmp$ret$0 = $this_emit.a22() ? tmp0_let + '[]' : tmp0_let;
2894
+ tmp$ret$0 = $this_emit.b22() ? tmp0_let + '[]' : tmp0_let;
2851
2895
  tmp$ret$1 = tmp$ret$0;
2852
2896
  var tmp1_let = tmp$ret$1;
2853
2897
  // Inline function 'kotlin.contracts.contract' call
2854
2898
  var tmp$ret$2;
2855
2899
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2856
- tmp$ret$2 = $this_emit.x22() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2900
+ tmp$ret$2 = $this_emit.y22() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2857
2901
  tmp$ret$3 = tmp$ret$2;
2858
2902
  return tmp$ret$3;
2859
2903
  };
@@ -2863,21 +2907,34 @@
2863
2907
  }
2864
2908
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2865
2909
  return function () {
2866
- return 'type ' + $this_emit.y22_1 + ' = ' + joinToString($this_emit.z22_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2910
+ return 'type ' + $this_emit.z22_1 + ' = ' + joinToString($this_emit.a23_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2867
2911
  };
2868
2912
  }
2869
2913
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2870
2914
  return function () {
2871
2915
  Companion_getInstance_4();
2872
- return trimMargin('type ' + $this_emit.a23_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.a23_1 + ' = (type: ' + $this_emit.a23_1 + ') => (' + this$0.c23($this_emit.b23_1) + ').test(type.value);\n |\n |');
2916
+ return trimMargin('type ' + $this_emit.b23_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.b23_1 + ' = (type: ' + $this_emit.b23_1 + ') => (' + this$0.d23($this_emit.c23_1) + ').test(type.value);\n |\n |');
2873
2917
  };
2874
2918
  }
2875
2919
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2876
2920
  return function () {
2877
- return "new RegExp('" + dropLast(drop($this_emit.d23_1, 1), 1) + "')";
2921
+ return "new RegExp('" + dropLast(drop($this_emit.e23_1, 1), 1) + "')";
2878
2922
  };
2879
2923
  }
2880
- function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2924
+ function TypeScriptEmitter$emit$lambda$lambda_1(it) {
2925
+ var tmp;
2926
+ if (it instanceof Literal) {
2927
+ tmp = it.g23_1;
2928
+ } else {
2929
+ if (it instanceof Param) {
2930
+ tmp = ':' + it.d22_1.q22_1;
2931
+ } else {
2932
+ noWhenBranchMatchedException();
2933
+ }
2934
+ }
2935
+ return tmp;
2936
+ }
2937
+ function TypeScriptEmitter$emit$lambda$lambda_2(this$0, $this_emit) {
2881
2938
  return function (it) {
2882
2939
  Companion_getInstance_4();
2883
2940
  var tmp = emitName(it, this$0);
@@ -2893,7 +2950,7 @@
2893
2950
  var item = tmp0_iterator.e();
2894
2951
  var tmp$ret$0;
2895
2952
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2896
- tmp$ret$0 = this$0.j22(item);
2953
+ tmp$ret$0 = this$0.k22(item);
2897
2954
  tmp0_mapTo.a(tmp$ret$0);
2898
2955
  }
2899
2956
  tmp$ret$1 = tmp0_mapTo;
@@ -2910,7 +2967,7 @@
2910
2967
  var item_0 = tmp0_iterator_0.e();
2911
2968
  var tmp$ret$3;
2912
2969
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2913
- tmp$ret$3 = this$0.j22(item_0);
2970
+ tmp$ret$3 = this$0.k22(item_0);
2914
2971
  tmp0_mapTo_0.a(tmp$ret$3);
2915
2972
  }
2916
2973
  tmp$ret$4 = tmp0_mapTo_0;
@@ -2934,17 +2991,17 @@
2934
2991
  return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.q21_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2935
2992
  };
2936
2993
  }
2937
- function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
2994
+ function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2938
2995
  return function (it) {
2939
2996
  return emitName(it, this$0);
2940
2997
  };
2941
2998
  }
2942
- function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2999
+ function TypeScriptEmitter$emit$lambda$lambda_4(this$0) {
2943
3000
  return function (it) {
2944
3001
  Companion_getInstance_4();
2945
3002
  var tmp = emitName_0(it, this$0);
2946
- var tmp_0 = Companion_getInstance_4().a24(it.x21_1) ? it.x21_1 : 'number';
2947
- var tmp0_safe_receiver = it.y21_1;
3003
+ var tmp_0 = Companion_getInstance_4().b24(it.x21_1) ? it.x21_1 : 'string';
3004
+ var tmp0_safe_receiver = it.z21_1;
2948
3005
  var tmp_1;
2949
3006
  if (tmp0_safe_receiver == null) {
2950
3007
  tmp_1 = null;
@@ -2962,61 +3019,153 @@
2962
3019
  return ' ' + 'type ' + tmp + ' = { status: ' + tmp_0 + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' }';
2963
3020
  };
2964
3021
  }
2965
- function TypeScriptEmitter$emit$lambda$lambda_4(this$0) {
3022
+ function TypeScriptEmitter$emit$lambda$lambda_5(this$0) {
2966
3023
  return function (it) {
2967
3024
  return emitName_0(it, this$0);
2968
3025
  };
2969
3026
  }
2970
3027
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2971
3028
  return function (it) {
2972
- return this$0.j22(it);
3029
+ return this$0.k22(it);
2973
3030
  };
2974
3031
  }
2975
- function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
3032
+ function TypeScriptEmitter$emit$lambda$lambda_6(this$0, $this_emit) {
2976
3033
  return function (it) {
2977
- var tmp = Companion_getInstance_4().e23(emitName(it, this$0));
2978
- var tmp_0 = Companion_getInstance_4().t24($this_emit, it.e21_1);
2979
- var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2980
- var tmp_2 = emitPath_1($this_emit.r21_1, this$0);
2981
- var tmp_3 = emitMap_1($this_emit.s21_1, this$0);
2982
- var tmp_4 = emitMap_1($this_emit.t21_1, this$0);
2983
- var tmp0_safe_receiver = it.e21_1;
2984
- var tmp_5;
3034
+ Companion_getInstance_4();
3035
+ var tmp = Companion_getInstance_4().f23(emitName(it, this$0));
3036
+ var tmp$ret$3;
3037
+ // Inline function 'kotlin.text.orEmpty' call
3038
+ var tmp$ret$2;
3039
+ // Inline function 'kotlin.takeIf' call
3040
+ var tmp0_takeIf = joinParameters($this_emit, this$0, it.e21_1, null);
3041
+ // Inline function 'kotlin.contracts.contract' call
3042
+ var tmp_0;
3043
+ var tmp$ret$1;
3044
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
3045
+ var tmp$ret$0;
3046
+ // Inline function 'kotlin.collections.isNotEmpty' call
3047
+ tmp$ret$0 = !tmp0_takeIf.g();
3048
+ tmp$ret$1 = tmp$ret$0;
3049
+ if (tmp$ret$1) {
3050
+ tmp_0 = tmp0_takeIf;
3051
+ } else {
3052
+ tmp_0 = null;
3053
+ }
3054
+ tmp$ret$2 = tmp_0;
3055
+ var tmp0_safe_receiver = tmp$ret$2;
3056
+ var tmp_1;
3057
+ if (tmp0_safe_receiver == null) {
3058
+ tmp_1 = null;
3059
+ } else {
3060
+ tmp_1 = joinToString(tmp0_safe_receiver, ',', 'obj:{', '}', VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
3061
+ }
3062
+ var tmp1_orEmpty = tmp_1;
3063
+ var tmp0_elvis_lhs = tmp1_orEmpty;
3064
+ tmp$ret$3 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
3065
+ var tmp_2 = tmp$ret$3;
3066
+ var tmp_3 = emitPath_1($this_emit.r21_1, this$0);
3067
+ var tmp_4 = emitMap_1($this_emit.s21_1, this$0);
3068
+ var tmp_5 = emitMap_1($this_emit.t21_1, this$0);
3069
+ var tmp1_safe_receiver = it.e21_1;
3070
+ var tmp_6;
3071
+ if (tmp1_safe_receiver == null) {
3072
+ tmp_6 = null;
3073
+ } else {
3074
+ var tmp$ret$5;
3075
+ // Inline function 'kotlin.let' call
3076
+ // Inline function 'kotlin.contracts.contract' call
3077
+ var tmp$ret$4;
3078
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
3079
+ tmp$ret$4 = ', content: {type: "' + tmp1_safe_receiver.f21_1 + '", body: obj.body}';
3080
+ tmp$ret$5 = tmp$ret$4;
3081
+ tmp_6 = tmp$ret$5;
3082
+ }
3083
+ var tmp2_elvis_lhs = tmp_6;
3084
+ return ' ' + 'export const ' + tmp + ' = (' + tmp_2 + ') => ({path: `' + tmp_3 + '`, method: "' + $this_emit.q21_1.v4_1 + '", query: {' + tmp_4 + '}, headers: {' + tmp_5 + '}' + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs) + '} as const)';
3085
+ };
3086
+ }
3087
+ function TypeScriptEmitter$emit$lambda$lambda$lambda_0(this$0) {
3088
+ return function (it) {
3089
+ return this$0.k22(it);
3090
+ };
3091
+ }
3092
+ function TypeScriptEmitter$emit$lambda$lambda_7(this$0, $this_emit) {
3093
+ return function (it) {
3094
+ Companion_getInstance_4();
3095
+ var tmp = Companion_getInstance_4().f23(emitName_0(it, this$0));
3096
+ var tmp$ret$3;
3097
+ // Inline function 'kotlin.text.orEmpty' call
3098
+ var tmp$ret$2;
3099
+ // Inline function 'kotlin.takeIf' call
3100
+ var tmp0_takeIf = joinParameters($this_emit, this$0, it.z21_1, it);
3101
+ // Inline function 'kotlin.contracts.contract' call
3102
+ var tmp_0;
3103
+ var tmp$ret$1;
3104
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
3105
+ var tmp$ret$0;
3106
+ // Inline function 'kotlin.collections.isNotEmpty' call
3107
+ tmp$ret$0 = !tmp0_takeIf.g();
3108
+ tmp$ret$1 = tmp$ret$0;
3109
+ if (tmp$ret$1) {
3110
+ tmp_0 = tmp0_takeIf;
3111
+ } else {
3112
+ tmp_0 = null;
3113
+ }
3114
+ tmp$ret$2 = tmp_0;
3115
+ var tmp0_safe_receiver = tmp$ret$2;
3116
+ var tmp_1;
2985
3117
  if (tmp0_safe_receiver == null) {
3118
+ tmp_1 = null;
3119
+ } else {
3120
+ tmp_1 = joinToString(tmp0_safe_receiver, ',', 'obj:{', '}', VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda_0(this$0));
3121
+ }
3122
+ var tmp1_orEmpty = tmp_1;
3123
+ var tmp0_elvis_lhs = tmp1_orEmpty;
3124
+ tmp$ret$3 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
3125
+ var tmp_2 = tmp$ret$3;
3126
+ var tmp_3 = Companion_getInstance_4().b24(it.x21_1) ? it.x21_1 : '`' + it.x21_1 + '`';
3127
+ var tmp_4 = emitMap_1(it.y21_1, this$0);
3128
+ var tmp1_safe_receiver = it.z21_1;
3129
+ var tmp_5;
3130
+ if (tmp1_safe_receiver == null) {
2986
3131
  tmp_5 = null;
2987
3132
  } else {
2988
- var tmp$ret$1;
3133
+ var tmp$ret$5;
2989
3134
  // Inline function 'kotlin.let' call
2990
3135
  // Inline function 'kotlin.contracts.contract' call
2991
- var tmp$ret$0;
3136
+ var tmp$ret$4;
2992
3137
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2993
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.f21_1 + '", body}';
2994
- tmp$ret$1 = tmp$ret$0;
2995
- tmp_5 = tmp$ret$1;
3138
+ tmp$ret$4 = ', content: {type: "' + tmp1_safe_receiver.f21_1 + '", body: obj.body}';
3139
+ tmp$ret$5 = tmp$ret$4;
3140
+ tmp_5 = tmp$ret$5;
2996
3141
  }
2997
- var tmp1_elvis_lhs = tmp_5;
2998
- return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.q21_1.v4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
3142
+ var tmp2_elvis_lhs = tmp_5;
3143
+ return ' ' + 'export const ' + tmp + ' = (' + tmp_2 + ') => ({status: ' + tmp_3 + ', headers: {' + tmp_4 + '}' + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs) + '} as const)';
2999
3144
  };
3000
3145
  }
3001
3146
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
3002
3147
  return function () {
3003
- var tmp = toSet($this_emit.v21_1);
3004
- var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
3005
3148
  Companion_getInstance_4();
3006
- var tmp_1 = toSet($this_emit.v21_1);
3007
- var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
3008
- var tmp_3 = toSet($this_emit.w21_1);
3009
- var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
3149
+ var tmp = joinToString($this_emit.r21_1, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1);
3150
+ Companion_getInstance_4();
3151
+ var tmp_0 = toSet($this_emit.v21_1);
3152
+ var tmp_1 = joinToString(tmp_0, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0, $this_emit));
3153
+ Companion_getInstance_4();
3154
+ var tmp_2 = toSet($this_emit.v21_1);
3155
+ var tmp_3 = joinToString(tmp_2, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
3156
+ var tmp_4 = toSet($this_emit.w21_1);
3157
+ var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
3010
3158
  Companion_getInstance_4();
3011
- var tmp_5 = toSet($this_emit.w21_1);
3012
- var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
3159
+ var tmp_6 = toSet($this_emit.w21_1);
3160
+ var tmp_7 = joinToString(tmp_6, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0));
3013
3161
  Companion_getInstance_4();
3014
3162
  Companion_getInstance_4();
3015
3163
  Companion_getInstance_4();
3016
- var tmp_7 = Companion_getInstance_4().e23($this_emit.p21_1);
3017
3164
  Companion_getInstance_4();
3165
+ var tmp_8 = Companion_getInstance_4().f23($this_emit.p21_1);
3018
3166
  Companion_getInstance_4();
3019
- return trimMargin('\n |export namespace ' + $this_emit.p21_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.v21_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
3167
+ var tmp_9 = joinToString($this_emit.v21_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_6(this$0, $this_emit));
3168
+ return trimMargin('\n |export module ' + $this_emit.p21_1 + ' {\n |' + ' ' + 'export const PATH = "/' + tmp + '"\n |' + ' ' + 'export const METHOD = "' + $this_emit.q21_1.v4_1 + '"\n |' + tmp_1 + '\n |' + ' ' + 'export type Request = ' + tmp_3 + '\n |' + tmp_5 + '\n |' + ' ' + 'export type Response = ' + tmp_7 + '\n |' + ' ' + 'export type Handler = (request:Request) => Promise<Response>\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_8 + ': Handler\n |' + ' ' + '}\n |' + tmp_9 + '\n |' + joinToString($this_emit.w21_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_7(this$0, $this_emit)) + '\n |}\n |\n ');
3020
3169
  };
3021
3170
  }
3022
3171
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -3029,10 +3178,10 @@
3029
3178
  var tmp0_subject = $this_emitType;
3030
3179
  var tmp;
3031
3180
  if (tmp0_subject instanceof Literal) {
3032
- tmp = $this_emitType.f23_1;
3181
+ tmp = $this_emitType.g23_1;
3033
3182
  } else {
3034
3183
  if (tmp0_subject instanceof Param) {
3035
- tmp = '${' + this$0.o21($this_emitType.d22_1) + '}';
3184
+ tmp = '${' + this$0.o21($this_emitType.e22_1) + '}';
3036
3185
  } else {
3037
3186
  noWhenBranchMatchedException();
3038
3187
  }
@@ -3042,7 +3191,7 @@
3042
3191
  }
3043
3192
  function TypeScriptEmitter$emitMap$lambda(this$0) {
3044
3193
  return function (it) {
3045
- return '"' + this$0.o22(it.l22_1) + '": ' + this$0.o22(it.l22_1);
3194
+ return '"' + this$0.p22(it.m22_1) + '": obj.' + Companion_getInstance_4().f23(sanitizeSymbol(this$0.p22(it.m22_1), this$0));
3046
3195
  };
3047
3196
  }
3048
3197
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -3055,10 +3204,10 @@
3055
3204
  var tmp0_subject = $this_emit;
3056
3205
  var tmp;
3057
3206
  if (tmp0_subject instanceof Literal) {
3058
- tmp = $this_emit.f23_1;
3207
+ tmp = $this_emit.g23_1;
3059
3208
  } else {
3060
3209
  if (tmp0_subject instanceof Param) {
3061
- tmp = '${' + $this_emit.c22_1.p22_1 + '}';
3210
+ tmp = '${obj.' + $this_emit.d22_1.q22_1 + '}';
3062
3211
  } else {
3063
3212
  noWhenBranchMatchedException();
3064
3213
  }
@@ -3069,13 +3218,13 @@
3069
3218
  function TypeScriptEmitter(logger) {
3070
3219
  logger = logger === VOID ? get_noLogger() : logger;
3071
3220
  AbstractEmitter.call(this, logger);
3072
- this.r24_1 = '';
3221
+ this.t24_1 = '';
3073
3222
  var tmp = this;
3074
3223
  Companion_getInstance_4();
3075
3224
  Companion_getInstance_4();
3076
3225
  Companion_getInstance_4();
3077
3226
  Companion_getInstance_4();
3078
- tmp.s24_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 ');
3227
+ tmp.u24_1 = trimMargin('\n |export module Wirespec {\n |' + ' ' + 'export type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'export 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 ');
3079
3228
  }
3080
3229
  protoOf(TypeScriptEmitter).t20 = function (ast) {
3081
3230
  // Inline function 'kotlin.collections.map' call
@@ -3091,48 +3240,48 @@
3091
3240
  var result = item.k3();
3092
3241
  var tmp$ret$0;
3093
3242
  // Inline function 'kotlin.text.trimStart' call
3094
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_4().x20(ast) ? this.s24_1 : '') + '\n |' + result + '\n ');
3243
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_4().x20(ast) ? this.u24_1 : '') + '\n |' + result + '\n ');
3095
3244
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
3096
3245
  tmp$ret$1 = to(name, tmp$ret$0);
3097
3246
  tmp0_mapTo.a(tmp$ret$1);
3098
3247
  }
3099
3248
  return tmp0_mapTo;
3100
3249
  };
3101
- protoOf(TypeScriptEmitter).g23 = function (_this__u8e3s4) {
3250
+ protoOf(TypeScriptEmitter).h23 = function (_this__u8e3s4) {
3102
3251
  var tmp = this.c21();
3103
- return this.h23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
3252
+ return this.i23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
3104
3253
  };
3105
- protoOf(TypeScriptEmitter).i22 = function (_this__u8e3s4) {
3254
+ protoOf(TypeScriptEmitter).j22 = function (_this__u8e3s4) {
3106
3255
  var tmp = this.c21();
3107
- return this.i23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
3256
+ return this.j23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
3108
3257
  };
3109
- protoOf(TypeScriptEmitter).j22 = function (_this__u8e3s4) {
3258
+ protoOf(TypeScriptEmitter).k22 = function (_this__u8e3s4) {
3110
3259
  var tmp = this.c21();
3111
- return this.j23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
3260
+ return this.k23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
3112
3261
  };
3113
- protoOf(TypeScriptEmitter).o22 = function (_this__u8e3s4) {
3262
+ protoOf(TypeScriptEmitter).p22 = function (_this__u8e3s4) {
3114
3263
  var tmp = this.c21();
3115
- return this.k23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
3264
+ return this.l23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
3116
3265
  };
3117
3266
  protoOf(TypeScriptEmitter).o21 = function (_this__u8e3s4) {
3118
3267
  var tmp = this.c21();
3119
3268
  return this.d21(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
3120
3269
  };
3121
- protoOf(TypeScriptEmitter).l23 = function (_this__u8e3s4) {
3270
+ protoOf(TypeScriptEmitter).m23 = function (_this__u8e3s4) {
3122
3271
  var tmp = this.c21();
3123
- return this.m23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
3272
+ return this.n23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
3124
3273
  };
3125
- protoOf(TypeScriptEmitter).n23 = function (_this__u8e3s4) {
3274
+ protoOf(TypeScriptEmitter).o23 = function (_this__u8e3s4) {
3126
3275
  var tmp = this.c21();
3127
- return this.o23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
3276
+ return this.p23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
3128
3277
  };
3129
- protoOf(TypeScriptEmitter).c23 = function (_this__u8e3s4) {
3278
+ protoOf(TypeScriptEmitter).d23 = function (_this__u8e3s4) {
3130
3279
  var tmp = this.c21();
3131
- return this.p23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
3280
+ return this.q23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
3132
3281
  };
3133
- protoOf(TypeScriptEmitter).q23 = function (_this__u8e3s4) {
3282
+ protoOf(TypeScriptEmitter).r23 = function (_this__u8e3s4) {
3134
3283
  var tmp = this.c21();
3135
- return this.r23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
3284
+ return this.s23(_this__u8e3s4, tmp, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
3136
3285
  };
3137
3286
  function emitPath_2(_this__u8e3s4, $this) {
3138
3287
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, WirespecEmitter$emitPath$lambda($this));
@@ -3189,28 +3338,28 @@
3189
3338
  }
3190
3339
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
3191
3340
  return function () {
3192
- return trimMargin('type ' + $this_emit.f22_1 + ' {\n |' + this$0.i22($this_emit.g22_1) + '\n |}\n |');
3341
+ return trimMargin('type ' + $this_emit.g22_1 + ' {\n |' + this$0.j22($this_emit.h22_1) + '\n |}\n |');
3193
3342
  };
3194
3343
  }
3195
3344
  function WirespecEmitter$emit$lambda$lambda(this$0) {
3196
3345
  return function (it) {
3197
3346
  Companion_getInstance_4();
3198
- return ' ' + this$0.j22(it);
3347
+ return ' ' + this$0.k22(it);
3199
3348
  };
3200
3349
  }
3201
3350
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
3202
3351
  return function () {
3203
- return joinToString($this_emit.k22_1, ',\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0));
3352
+ return joinToString($this_emit.l22_1, ',\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0));
3204
3353
  };
3205
3354
  }
3206
3355
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
3207
3356
  return function () {
3208
- return this$0.o22($this_emit.l22_1) + ': ' + this$0.o21($this_emit.m22_1) + ($this_emit.n22_1 ? '?' : '');
3357
+ return this$0.p22($this_emit.m22_1) + ': ' + this$0.o21($this_emit.n22_1) + ($this_emit.o22_1 ? '?' : '');
3209
3358
  };
3210
3359
  }
3211
3360
  function WirespecEmitter$emit$lambda_2($this_emit) {
3212
3361
  return function () {
3213
- return $this_emit.p22_1;
3362
+ return $this_emit.q22_1;
3214
3363
  };
3215
3364
  }
3216
3365
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -3223,10 +3372,10 @@
3223
3372
  tmp = 'Any';
3224
3373
  } else {
3225
3374
  if (tmp0_subject instanceof Custom) {
3226
- tmp = $this_emit.u22_1;
3375
+ tmp = $this_emit.v22_1;
3227
3376
  } else {
3228
3377
  if (tmp0_subject instanceof Primitive) {
3229
- var tmp1_subject = $this_emit.r22_1;
3378
+ var tmp1_subject = $this_emit.s22_1;
3230
3379
  var tmp0 = tmp1_subject.w4_1;
3231
3380
  var tmp_0;
3232
3381
  switch (tmp0) {
@@ -3256,7 +3405,7 @@
3256
3405
  // Inline function 'kotlin.contracts.contract' call
3257
3406
  var tmp$ret$0;
3258
3407
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
3259
- tmp$ret$0 = $this_emit.a22() ? tmp0_let + '[]' : tmp0_let;
3408
+ tmp$ret$0 = $this_emit.b22() ? tmp0_let + '[]' : tmp0_let;
3260
3409
  tmp$ret$1 = tmp$ret$0;
3261
3410
  return tmp$ret$1;
3262
3411
  };
@@ -3264,27 +3413,27 @@
3264
3413
  function WirespecEmitter$emit$lambda_4($this_emit) {
3265
3414
  return function () {
3266
3415
  Companion_getInstance_4();
3267
- return 'enum ' + $this_emit.y22_1 + ' {\n' + ' ' + joinToString($this_emit.z22_1, ', ') + '\n}\n';
3416
+ return 'enum ' + $this_emit.z22_1 + ' {\n' + ' ' + joinToString($this_emit.a23_1, ', ') + '\n}\n';
3268
3417
  };
3269
3418
  }
3270
3419
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
3271
3420
  return function () {
3272
- return 'refined ' + $this_emit.a23_1 + ' ' + this$0.c23($this_emit.b23_1) + '\n';
3421
+ return 'refined ' + $this_emit.b23_1 + ' ' + this$0.d23($this_emit.c23_1) + '\n';
3273
3422
  };
3274
3423
  }
3275
3424
  function WirespecEmitter$emit$lambda_6($this_emit) {
3276
3425
  return function () {
3277
- return '/' + dropLast(drop($this_emit.d23_1, 1), 1) + '/g';
3426
+ return '/' + dropLast(drop($this_emit.e23_1, 1), 1) + '/g';
3278
3427
  };
3279
3428
  }
3280
3429
  function WirespecEmitter$emit$lambda$lambda_0(this$0) {
3281
3430
  return function (it) {
3282
3431
  Companion_getInstance_4();
3283
- var tmp0_safe_receiver = it.y21_1;
3432
+ var tmp0_safe_receiver = it.z21_1;
3284
3433
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g21_1;
3285
3434
  var tmp = tmp1_safe_receiver == null ? null : this$0.o21(tmp1_safe_receiver);
3286
3435
  var tmp_0;
3287
- var tmp2_safe_receiver = it.y21_1;
3436
+ var tmp2_safe_receiver = it.z21_1;
3288
3437
  if ((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h21_1) === true) {
3289
3438
  tmp_0 = '?';
3290
3439
  } else {
@@ -3306,10 +3455,10 @@
3306
3455
  var tmp0_subject = it;
3307
3456
  var tmp;
3308
3457
  if (tmp0_subject instanceof Param) {
3309
- tmp = '{' + it.c22_1.p22_1 + ': ' + this$0.o21(it.d22_1) + '}';
3458
+ tmp = '{' + it.d22_1.q22_1 + ': ' + this$0.o21(it.e22_1) + '}';
3310
3459
  } else {
3311
3460
  if (tmp0_subject instanceof Literal) {
3312
- tmp = it.f23_1;
3461
+ tmp = it.g23_1;
3313
3462
  } else {
3314
3463
  noWhenBranchMatchedException();
3315
3464
  }
@@ -3319,53 +3468,53 @@
3319
3468
  }
3320
3469
  function WirespecEmitter$emitQuery$lambda(this$0) {
3321
3470
  return function (it) {
3322
- return this$0.j22(it);
3471
+ return this$0.k22(it);
3323
3472
  };
3324
3473
  }
3325
3474
  function WirespecEmitter(logger) {
3326
3475
  logger = logger === VOID ? get_noLogger() : logger;
3327
3476
  AbstractEmitter.call(this, logger);
3328
- this.y24_1 = '';
3477
+ this.z24_1 = '';
3329
3478
  }
3330
- protoOf(WirespecEmitter).g23 = function (_this__u8e3s4) {
3479
+ protoOf(WirespecEmitter).h23 = function (_this__u8e3s4) {
3331
3480
  var tmp = this.c21();
3332
- return this.h23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
3481
+ return this.i23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
3333
3482
  };
3334
- protoOf(WirespecEmitter).i22 = function (_this__u8e3s4) {
3483
+ protoOf(WirespecEmitter).j22 = function (_this__u8e3s4) {
3335
3484
  var tmp = this.c21();
3336
- return this.i23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
3485
+ return this.j23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
3337
3486
  };
3338
- protoOf(WirespecEmitter).j22 = function (_this__u8e3s4) {
3487
+ protoOf(WirespecEmitter).k22 = function (_this__u8e3s4) {
3339
3488
  var tmp = this.c21();
3340
- return this.j23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
3489
+ return this.k23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
3341
3490
  };
3342
- protoOf(WirespecEmitter).o22 = function (_this__u8e3s4) {
3491
+ protoOf(WirespecEmitter).p22 = function (_this__u8e3s4) {
3343
3492
  var tmp = this.c21();
3344
- return this.k23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
3493
+ return this.l23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
3345
3494
  };
3346
3495
  protoOf(WirespecEmitter).o21 = function (_this__u8e3s4) {
3347
3496
  var tmp = this.c21();
3348
3497
  return this.d21(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
3349
3498
  };
3350
- protoOf(WirespecEmitter).l23 = function (_this__u8e3s4) {
3499
+ protoOf(WirespecEmitter).m23 = function (_this__u8e3s4) {
3351
3500
  var tmp = this.c21();
3352
- return this.m23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
3501
+ return this.n23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
3353
3502
  };
3354
- protoOf(WirespecEmitter).n23 = function (_this__u8e3s4) {
3503
+ protoOf(WirespecEmitter).o23 = function (_this__u8e3s4) {
3355
3504
  var tmp = this.c21();
3356
- return this.o23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
3505
+ return this.p23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
3357
3506
  };
3358
- protoOf(WirespecEmitter).c23 = function (_this__u8e3s4) {
3507
+ protoOf(WirespecEmitter).d23 = function (_this__u8e3s4) {
3359
3508
  var tmp = this.c21();
3360
- return this.p23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
3509
+ return this.q23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
3361
3510
  };
3362
- protoOf(WirespecEmitter).q23 = function (_this__u8e3s4) {
3511
+ protoOf(WirespecEmitter).r23 = function (_this__u8e3s4) {
3363
3512
  var tmp = this.c21();
3364
- return this.r23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_7(_this__u8e3s4, this));
3513
+ return this.s23(_this__u8e3s4, tmp, WirespecEmitter$emit$lambda_7(_this__u8e3s4, this));
3365
3514
  };
3366
3515
  function Companion_2() {
3367
3516
  Companion_instance_2 = this;
3368
- this.z24_1 = ' ';
3517
+ this.a25_1 = ' ';
3369
3518
  }
3370
3519
  var Companion_instance_2;
3371
3520
  function Companion_getInstance_3() {
@@ -3378,14 +3527,14 @@
3378
3527
  this.r20_1 = logger;
3379
3528
  this.s20_1 = split;
3380
3529
  }
3381
- protoOf(Emitter).s23 = function () {
3530
+ protoOf(Emitter).t23 = function () {
3382
3531
  return this.s20_1;
3383
3532
  };
3384
3533
  function Companion_3() {
3385
3534
  Companion_instance_3 = this;
3386
3535
  this.w20_1 = ' ';
3387
3536
  }
3388
- protoOf(Companion_3).z21 = function (_this__u8e3s4) {
3537
+ protoOf(Companion_3).a22 = function (_this__u8e3s4) {
3389
3538
  // Inline function 'kotlin.text.replaceFirstChar' call
3390
3539
  var tmp;
3391
3540
  // Inline function 'kotlin.text.isNotEmpty' call
@@ -3405,7 +3554,7 @@
3405
3554
  }
3406
3555
  return tmp;
3407
3556
  };
3408
- protoOf(Companion_3).e23 = function (_this__u8e3s4) {
3557
+ protoOf(Companion_3).f23 = function (_this__u8e3s4) {
3409
3558
  // Inline function 'kotlin.text.replaceFirstChar' call
3410
3559
  var tmp;
3411
3560
  // Inline function 'kotlin.text.isNotEmpty' call
@@ -3452,35 +3601,7 @@
3452
3601
  }
3453
3602
  return tmp$ret$0;
3454
3603
  };
3455
- protoOf(Companion_3).t24 = function (_this__u8e3s4, content) {
3456
- // Inline function 'kotlin.collections.map' call
3457
- // Inline function 'kotlin.collections.filterIsInstance' call
3458
- var tmp0_filterIsInstance = _this__u8e3s4.r21_1;
3459
- // Inline function 'kotlin.collections.filterIsInstanceTo' call
3460
- var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
3461
- var tmp0_iterator = tmp0_filterIsInstance.c();
3462
- while (tmp0_iterator.d()) {
3463
- var element = tmp0_iterator.e();
3464
- if (element instanceof Param) {
3465
- tmp0_filterIsInstanceTo.a(element);
3466
- }
3467
- }
3468
- // Inline function 'kotlin.collections.mapTo' call
3469
- var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_filterIsInstanceTo, 10));
3470
- var tmp0_iterator_0 = tmp0_filterIsInstanceTo.c();
3471
- while (tmp0_iterator_0.d()) {
3472
- var item = tmp0_iterator_0.e();
3473
- var tmp$ret$2;
3474
- // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
3475
- tmp$ret$2 = new Field(item.c22_1, item.d22_1, false);
3476
- tmp0_mapTo.a(tmp$ret$2);
3477
- }
3478
- var pathField = tmp0_mapTo;
3479
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.s21_1), _this__u8e3s4.t21_1), _this__u8e3s4.u21_1);
3480
- var tmp1_safe_receiver = content == null ? null : content.g21_1;
3481
- return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
3482
- };
3483
- protoOf(Companion_3).a24 = function (_this__u8e3s4) {
3604
+ protoOf(Companion_3).b24 = function (_this__u8e3s4) {
3484
3605
  return !(toIntOrNull(_this__u8e3s4) == null);
3485
3606
  };
3486
3607
  var Companion_instance_3;
@@ -3502,7 +3623,7 @@
3502
3623
  protoOf(AbstractEmitter).c21 = function () {
3503
3624
  return this.a21_1;
3504
3625
  };
3505
- protoOf(AbstractEmitter).s23 = function () {
3626
+ protoOf(AbstractEmitter).t23 = function () {
3506
3627
  return this.b21_1;
3507
3628
  };
3508
3629
  protoOf(AbstractEmitter).t20 = function (ast) {
@@ -3518,16 +3639,16 @@
3518
3639
  this.c21().h20('Emitting Node ' + this);
3519
3640
  var tmp;
3520
3641
  if (item instanceof Type_0) {
3521
- tmp = to(item.f22_1, this.g23(item));
3642
+ tmp = to(item.g22_1, this.h23(item));
3522
3643
  } else {
3523
3644
  if (item instanceof Endpoint) {
3524
- tmp = to(item.p21_1, this.q23(item));
3645
+ tmp = to(item.p21_1, this.r23(item));
3525
3646
  } else {
3526
3647
  if (item instanceof Enum_0) {
3527
- tmp = to(item.y22_1, this.l23(item));
3648
+ tmp = to(item.z22_1, this.m23(item));
3528
3649
  } else {
3529
3650
  if (item instanceof Refined) {
3530
- tmp = to(item.a23_1, this.n23(item));
3651
+ tmp = to(item.b23_1, this.o23(item));
3531
3652
  } else {
3532
3653
  noWhenBranchMatchedException();
3533
3654
  }
@@ -3540,7 +3661,7 @@
3540
3661
  // Inline function 'kotlin.contracts.contract' call
3541
3662
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.AbstractEmitter.emit.<anonymous>' call
3542
3663
  var tmp_0;
3543
- if (this.s23()) {
3664
+ if (this.t23()) {
3544
3665
  tmp_0 = tmp0_mapTo;
3545
3666
  } else {
3546
3667
  tmp_0 = listOf_0(to('NoName', joinToString(tmp0_mapTo, '\n', VOID, VOID, VOID, VOID, AbstractEmitter$emit$lambda)));
@@ -3574,7 +3695,7 @@
3574
3695
  }
3575
3696
  function WrongTokenException(expected, actual) {
3576
3697
  Companion_getInstance_5();
3577
- ParserException.call(this, actual.d25_1, '' + expected.kc() + ' expected, not: ' + actual.b25_1.e25() + ' at line ' + actual.d25_1.f25_1 + ' and position ' + (actual.d25_1.g25_1 - actual.c25_1.length | 0));
3698
+ ParserException.call(this, actual.e25_1, '' + expected.kc() + ' expected, not: ' + actual.c25_1.f25() + ' at line ' + actual.e25_1.g25_1 + ' and position ' + (actual.e25_1.h25_1 - actual.d25_1.length | 0));
3578
3699
  captureStack(this, WrongTokenException);
3579
3700
  }
3580
3701
  function NullTokenException(message, coordinates) {
@@ -3592,15 +3713,15 @@
3592
3713
  function WirespecException(message, coordinates) {
3593
3714
  RuntimeException_init_$Init$(message, this);
3594
3715
  captureStack(this, WirespecException);
3595
- this.i25_1 = coordinates;
3716
+ this.j25_1 = coordinates;
3596
3717
  }
3597
3718
  function optimize(_this__u8e3s4) {
3598
3719
  // Inline function 'arrow.core.NonEmptyList.map' call
3599
3720
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3600
3721
  var tmp0_anonymous = _this__u8e3s4.q1z_1;
3601
3722
  var tmp;
3602
- if (tmp0_anonymous.b25_1 instanceof CustomRegex) {
3603
- tmp = tmp0_anonymous.j25(VOID, '"' + dropLast(drop(tmp0_anonymous.c25_1, 1), 2) + '"');
3723
+ if (tmp0_anonymous.c25_1 instanceof CustomRegex) {
3724
+ tmp = tmp0_anonymous.k25(VOID, '"' + dropLast(drop(tmp0_anonymous.d25_1, 1), 2) + '"');
3604
3725
  } else {
3605
3726
  tmp = tmp0_anonymous;
3606
3727
  }
@@ -3615,8 +3736,8 @@
3615
3736
  var tmp$ret$1;
3616
3737
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3617
3738
  var tmp_1;
3618
- if (item.b25_1 instanceof CustomRegex) {
3619
- tmp_1 = item.j25(VOID, '"' + dropLast(drop(item.c25_1, 1), 2) + '"');
3739
+ if (item.c25_1 instanceof CustomRegex) {
3740
+ tmp_1 = item.k25(VOID, '"' + dropLast(drop(item.d25_1, 1), 2) + '"');
3620
3741
  } else {
3621
3742
  tmp_1 = item;
3622
3743
  }
@@ -3636,31 +3757,31 @@
3636
3757
  try {
3637
3758
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3638
3759
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>' call
3639
- raise.b20(_this__u8e3s4.o25());
3640
- $this.q25(_this__u8e3s4.m25_1);
3760
+ raise.b20(_this__u8e3s4.p25());
3761
+ $this.r25(_this__u8e3s4.n25_1);
3641
3762
  // Inline function 'kotlin.also' call
3642
3763
  var tmp_0;
3643
- if (_this__u8e3s4.m25_1.b25_1 instanceof Method_0) {
3644
- tmp_0 = valueOf(_this__u8e3s4.m25_1.c25_1);
3764
+ if (_this__u8e3s4.n25_1.c25_1 instanceof Method_0) {
3765
+ tmp_0 = valueOf(_this__u8e3s4.n25_1.d25_1);
3645
3766
  } else {
3646
3767
  var tmp$ret$0;
3647
3768
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3648
3769
  Companion_getInstance_5();
3649
- var tmp1_invoke = _this__u8e3s4.m25_1;
3770
+ var tmp1_invoke = _this__u8e3s4.n25_1;
3650
3771
  tmp$ret$0 = new WrongTokenException(getKClass(Method_0), tmp1_invoke);
3651
3772
  raise.a20(tmp$ret$0);
3652
3773
  }
3653
3774
  var tmp2_also = tmp_0;
3654
3775
  // Inline function 'kotlin.contracts.contract' call
3655
3776
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3656
- raise.b20(_this__u8e3s4.o25());
3777
+ raise.b20(_this__u8e3s4.p25());
3657
3778
  var method = tmp2_also;
3658
3779
  // Inline function 'kotlin.collections.map' call
3659
- var tmp1_subject = _this__u8e3s4.m25_1.b25_1;
3780
+ var tmp1_subject = _this__u8e3s4.n25_1.c25_1;
3660
3781
  var tmp_1;
3661
3782
  if (isInterface(tmp1_subject, WirespecType)) {
3662
- var tmp_2 = _this__u8e3s4.m25_1.b25_1;
3663
- tmp_1 = raise.b20(parseReference(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.m25_1.c25_1));
3783
+ var tmp_2 = _this__u8e3s4.n25_1.c25_1;
3784
+ tmp_1 = raise.b20(parseReference(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.n25_1.d25_1));
3664
3785
  } else {
3665
3786
  tmp_1 = null;
3666
3787
  }
@@ -3684,15 +3805,15 @@
3684
3805
  $l$loop: while (true) {
3685
3806
  var tmp_3;
3686
3807
  var tmp_4;
3687
- var tmp_5 = _this__u8e3s4.m25_1.b25_1;
3808
+ var tmp_5 = _this__u8e3s4.n25_1.c25_1;
3688
3809
  if (!(tmp_5 instanceof QuestionMark)) {
3689
- var tmp_6 = _this__u8e3s4.m25_1.b25_1;
3810
+ var tmp_6 = _this__u8e3s4.n25_1.c25_1;
3690
3811
  tmp_4 = !(tmp_6 instanceof Hash);
3691
3812
  } else {
3692
3813
  tmp_4 = false;
3693
3814
  }
3694
3815
  if (tmp_4) {
3695
- var tmp_7 = _this__u8e3s4.m25_1.b25_1;
3816
+ var tmp_7 = _this__u8e3s4.n25_1.c25_1;
3696
3817
  tmp_3 = !(tmp_7 instanceof Arrow);
3697
3818
  } else {
3698
3819
  tmp_3 = false;
@@ -3704,20 +3825,20 @@
3704
3825
  }
3705
3826
  var segments = tmp4_apply;
3706
3827
  var tmp_8;
3707
- if (_this__u8e3s4.m25_1.b25_1 instanceof QuestionMark) {
3708
- raise.b20(_this__u8e3s4.o25());
3828
+ if (_this__u8e3s4.n25_1.c25_1 instanceof QuestionMark) {
3829
+ raise.b20(_this__u8e3s4.p25());
3709
3830
  var tmp_9;
3710
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly) {
3831
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly) {
3711
3832
  // Inline function 'kotlin.with' call
3712
- var tmp5_with = $this.s25_1;
3833
+ var tmp5_with = $this.t25_1;
3713
3834
  // Inline function 'kotlin.contracts.contract' call
3714
3835
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3715
- tmp_9 = raise.b20(tmp5_with.u25(_this__u8e3s4)).k22_1;
3836
+ tmp_9 = raise.b20(tmp5_with.v25(_this__u8e3s4)).l22_1;
3716
3837
  } else {
3717
3838
  var tmp$ret$9;
3718
3839
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3719
3840
  Companion_getInstance_5();
3720
- var tmp7_invoke = _this__u8e3s4.m25_1;
3841
+ var tmp7_invoke = _this__u8e3s4.n25_1;
3721
3842
  tmp$ret$9 = new WrongTokenException(getKClass(LeftCurly), tmp7_invoke);
3722
3843
  raise.a20(tmp$ret$9);
3723
3844
  }
@@ -3727,20 +3848,20 @@
3727
3848
  }
3728
3849
  var queryParams = tmp_8;
3729
3850
  var tmp_10;
3730
- if (_this__u8e3s4.m25_1.b25_1 instanceof Hash) {
3731
- raise.b20(_this__u8e3s4.o25());
3851
+ if (_this__u8e3s4.n25_1.c25_1 instanceof Hash) {
3852
+ raise.b20(_this__u8e3s4.p25());
3732
3853
  var tmp_11;
3733
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly) {
3854
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly) {
3734
3855
  // Inline function 'kotlin.with' call
3735
- var tmp8_with = $this.s25_1;
3856
+ var tmp8_with = $this.t25_1;
3736
3857
  // Inline function 'kotlin.contracts.contract' call
3737
3858
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3738
- tmp_11 = raise.b20(tmp8_with.u25(_this__u8e3s4)).k22_1;
3859
+ tmp_11 = raise.b20(tmp8_with.v25(_this__u8e3s4)).l22_1;
3739
3860
  } else {
3740
3861
  var tmp$ret$12;
3741
3862
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3742
3863
  Companion_getInstance_5();
3743
- var tmp10_invoke = _this__u8e3s4.m25_1;
3864
+ var tmp10_invoke = _this__u8e3s4.n25_1;
3744
3865
  tmp$ret$12 = new WrongTokenException(getKClass(LeftCurly), tmp10_invoke);
3745
3866
  raise.a20(tmp$ret$12);
3746
3867
  }
@@ -3749,31 +3870,31 @@
3749
3870
  tmp_10 = emptyList();
3750
3871
  }
3751
3872
  var headers = tmp_10;
3752
- if (_this__u8e3s4.m25_1.b25_1 instanceof Arrow)
3753
- raise.b20(_this__u8e3s4.o25());
3873
+ if (_this__u8e3s4.n25_1.c25_1 instanceof Arrow)
3874
+ raise.b20(_this__u8e3s4.p25());
3754
3875
  else {
3755
3876
  var tmp$ret$13;
3756
3877
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3757
3878
  Companion_getInstance_5();
3758
- var tmp12_invoke = _this__u8e3s4.m25_1;
3879
+ var tmp12_invoke = _this__u8e3s4.n25_1;
3759
3880
  tmp$ret$13 = new WrongTokenException(getKClass(Arrow), tmp12_invoke);
3760
3881
  raise.a20(tmp$ret$13);
3761
3882
  }
3762
3883
  // Inline function 'kotlin.also' call
3763
3884
  var tmp_12;
3764
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly) {
3885
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly) {
3765
3886
  tmp_12 = Unit_getInstance();
3766
3887
  } else {
3767
3888
  var tmp$ret$14;
3768
3889
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3769
3890
  Companion_getInstance_5();
3770
- var tmp14_invoke = _this__u8e3s4.m25_1;
3891
+ var tmp14_invoke = _this__u8e3s4.n25_1;
3771
3892
  tmp$ret$14 = new WrongTokenException(getKClass(LeftCurly), tmp14_invoke);
3772
3893
  raise.a20(tmp$ret$14);
3773
3894
  }
3774
3895
  // Inline function 'kotlin.contracts.contract' call
3775
3896
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3776
- raise.b20(_this__u8e3s4.o25());
3897
+ raise.b20(_this__u8e3s4.p25());
3777
3898
  var responses = raise.b20(parseEndpointResponses(_this__u8e3s4, $this));
3778
3899
  var res = new Endpoint(name, method, segments, queryParams, headers, emptyList(), requests, responses);
3779
3900
  raise.y1z();
@@ -3811,15 +3932,15 @@
3811
3932
  try {
3812
3933
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3813
3934
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegments.<anonymous>' call
3814
- $this.q25(_this__u8e3s4.m25_1);
3815
- var tmp0_subject = _this__u8e3s4.m25_1.b25_1;
3935
+ $this.r25(_this__u8e3s4.n25_1);
3936
+ var tmp0_subject = _this__u8e3s4.n25_1.c25_1;
3816
3937
  var tmp_0;
3817
3938
  if (tmp0_subject instanceof Path_0) {
3818
3939
  // Inline function 'kotlin.also' call
3819
- var tmp0_also = new Literal(drop(_this__u8e3s4.m25_1.c25_1, 1));
3940
+ var tmp0_also = new Literal(drop(_this__u8e3s4.n25_1.d25_1, 1));
3820
3941
  // Inline function 'kotlin.contracts.contract' call
3821
3942
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegments.<anonymous>.<anonymous>' call
3822
- raise.b20(_this__u8e3s4.o25());
3943
+ raise.b20(_this__u8e3s4.p25());
3823
3944
  tmp_0 = tmp0_also;
3824
3945
  } else {
3825
3946
  if (tmp0_subject instanceof ForwardSlash) {
@@ -3828,7 +3949,7 @@
3828
3949
  var tmp$ret$1;
3829
3950
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3830
3951
  Companion_getInstance_5();
3831
- var tmp2_invoke = _this__u8e3s4.m25_1;
3952
+ var tmp2_invoke = _this__u8e3s4.n25_1;
3832
3953
  tmp$ret$1 = new WrongTokenException(getKClass(Path_0), tmp2_invoke);
3833
3954
  raise.a20(tmp$ret$1);
3834
3955
  }
@@ -3869,66 +3990,66 @@
3869
3990
  try {
3870
3991
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3871
3992
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>' call
3872
- raise.b20(_this__u8e3s4.o25());
3873
- $this.q25(_this__u8e3s4.m25_1);
3874
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly)
3875
- raise.b20(_this__u8e3s4.o25());
3993
+ raise.b20(_this__u8e3s4.p25());
3994
+ $this.r25(_this__u8e3s4.n25_1);
3995
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly)
3996
+ raise.b20(_this__u8e3s4.p25());
3876
3997
  else {
3877
3998
  var tmp$ret$0;
3878
3999
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3879
4000
  Companion_getInstance_5();
3880
- var tmp1_invoke = _this__u8e3s4.m25_1;
4001
+ var tmp1_invoke = _this__u8e3s4.n25_1;
3881
4002
  tmp$ret$0 = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
3882
4003
  raise.a20(tmp$ret$0);
3883
4004
  }
3884
4005
  var tmp_0;
3885
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomValue) {
4006
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomValue) {
3886
4007
  // Inline function 'kotlin.also' call
3887
- var tmp2_also = new Identifier(_this__u8e3s4.m25_1.c25_1);
4008
+ var tmp2_also = new Identifier(_this__u8e3s4.n25_1.d25_1);
3888
4009
  // Inline function 'kotlin.contracts.contract' call
3889
4010
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>.<anonymous>' call
3890
- raise.b20(_this__u8e3s4.o25());
4011
+ raise.b20(_this__u8e3s4.p25());
3891
4012
  tmp_0 = tmp2_also;
3892
4013
  } else {
3893
4014
  var tmp$ret$2;
3894
4015
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3895
4016
  Companion_getInstance_5();
3896
- var tmp4_invoke = _this__u8e3s4.m25_1;
4017
+ var tmp4_invoke = _this__u8e3s4.n25_1;
3897
4018
  tmp$ret$2 = new WrongTokenException(getKClass(CustomValue), tmp4_invoke);
3898
4019
  raise.a20(tmp$ret$2);
3899
4020
  }
3900
4021
  var identifier = tmp_0;
3901
- if (_this__u8e3s4.m25_1.b25_1 instanceof Colon)
3902
- raise.b20(_this__u8e3s4.o25());
4022
+ if (_this__u8e3s4.n25_1.c25_1 instanceof Colon)
4023
+ raise.b20(_this__u8e3s4.p25());
3903
4024
  else {
3904
4025
  var tmp$ret$3;
3905
4026
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3906
4027
  Companion_getInstance_5();
3907
- var tmp6_invoke = _this__u8e3s4.m25_1;
4028
+ var tmp6_invoke = _this__u8e3s4.n25_1;
3908
4029
  tmp$ret$3 = new WrongTokenException(getKClass(Colon), tmp6_invoke);
3909
4030
  raise.a20(tmp$ret$3);
3910
4031
  }
3911
- var tmp3_subject = _this__u8e3s4.m25_1.b25_1;
4032
+ var tmp3_subject = _this__u8e3s4.n25_1.c25_1;
3912
4033
  var tmp_1;
3913
4034
  if (isInterface(tmp3_subject, WirespecType)) {
3914
- var tmp_2 = _this__u8e3s4.m25_1.b25_1;
3915
- tmp_1 = raise.b20(parseReference(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.m25_1.c25_1));
4035
+ var tmp_2 = _this__u8e3s4.n25_1.c25_1;
4036
+ tmp_1 = raise.b20(parseReference(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.n25_1.d25_1));
3916
4037
  } else {
3917
4038
  var tmp$ret$4;
3918
4039
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3919
4040
  Companion_getInstance_5();
3920
- var tmp8_invoke = _this__u8e3s4.m25_1;
4041
+ var tmp8_invoke = _this__u8e3s4.n25_1;
3921
4042
  tmp$ret$4 = new WrongTokenException(getKClass(WirespecType), tmp8_invoke);
3922
4043
  raise.a20(tmp$ret$4);
3923
4044
  }
3924
4045
  var reference = tmp_1;
3925
- if (_this__u8e3s4.m25_1.b25_1 instanceof RightCurly)
3926
- raise.b20(_this__u8e3s4.o25());
4046
+ if (_this__u8e3s4.n25_1.c25_1 instanceof RightCurly)
4047
+ raise.b20(_this__u8e3s4.p25());
3927
4048
  else {
3928
4049
  var tmp$ret$5;
3929
4050
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3930
4051
  Companion_getInstance_5();
3931
- var tmp10_invoke = _this__u8e3s4.m25_1;
4052
+ var tmp10_invoke = _this__u8e3s4.n25_1;
3932
4053
  tmp$ret$5 = new WrongTokenException(getKClass(RightCurly), tmp10_invoke);
3933
4054
  raise.a20(tmp$ret$5);
3934
4055
  }
@@ -3968,40 +4089,40 @@
3968
4089
  try {
3969
4090
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3970
4091
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>' call
3971
- $this.q25(_this__u8e3s4.m25_1);
4092
+ $this.r25(_this__u8e3s4.n25_1);
3972
4093
  // Inline function 'kotlin.collections.mutableListOf' call
3973
4094
  var responses = ArrayList_init_$Create$();
3974
4095
  $l$loop: while (true) {
3975
- var tmp_0 = _this__u8e3s4.m25_1.b25_1;
4096
+ var tmp_0 = _this__u8e3s4.n25_1.c25_1;
3976
4097
  if (!!(tmp_0 instanceof RightCurly)) {
3977
4098
  break $l$loop;
3978
4099
  }
3979
- if (_this__u8e3s4.m25_1.b25_1 instanceof StatusCode_0) {
3980
- responses.a(raise.b20(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.m25_1.c25_1)));
4100
+ if (_this__u8e3s4.n25_1.c25_1 instanceof StatusCode_0) {
4101
+ responses.a(raise.b20(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.n25_1.d25_1)));
3981
4102
  } else {
3982
4103
  var tmp$ret$1;
3983
4104
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3984
4105
  Companion_getInstance_5();
3985
- var tmp1_invoke = _this__u8e3s4.m25_1;
4106
+ var tmp1_invoke = _this__u8e3s4.n25_1;
3986
4107
  tmp$ret$1 = new WrongTokenException(getKClass(StatusCode_0), tmp1_invoke);
3987
4108
  raise.a20(tmp$ret$1);
3988
4109
  }
3989
4110
  }
3990
4111
  // Inline function 'kotlin.also' call
3991
4112
  var tmp_1;
3992
- if (_this__u8e3s4.m25_1.b25_1 instanceof RightCurly) {
4113
+ if (_this__u8e3s4.n25_1.c25_1 instanceof RightCurly) {
3993
4114
  tmp_1 = Unit_getInstance();
3994
4115
  } else {
3995
4116
  var tmp$ret$2;
3996
4117
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3997
4118
  Companion_getInstance_5();
3998
- var tmp3_invoke = _this__u8e3s4.m25_1;
4119
+ var tmp3_invoke = _this__u8e3s4.n25_1;
3999
4120
  tmp$ret$2 = new WrongTokenException(getKClass(RightCurly), tmp3_invoke);
4000
4121
  raise.a20(tmp$ret$2);
4001
4122
  }
4002
4123
  // Inline function 'kotlin.contracts.contract' call
4003
4124
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>.<anonymous>' call
4004
- raise.b20(_this__u8e3s4.o25());
4125
+ raise.b20(_this__u8e3s4.p25());
4005
4126
  var res = toList(responses);
4006
4127
  raise.y1z();
4007
4128
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -4038,33 +4159,33 @@
4038
4159
  try {
4039
4160
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4040
4161
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>' call
4041
- raise.b20(_this__u8e3s4.o25());
4042
- $this.q25(_this__u8e3s4.m25_1);
4043
- if (!(_this__u8e3s4.m25_1.b25_1 instanceof Arrow)) {
4162
+ raise.b20(_this__u8e3s4.p25());
4163
+ $this.r25(_this__u8e3s4.n25_1);
4164
+ if (!(_this__u8e3s4.n25_1.c25_1 instanceof Arrow)) {
4044
4165
  var tmp$ret$0;
4045
4166
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4046
4167
  Companion_getInstance_5();
4047
- var tmp1_invoke = _this__u8e3s4.m25_1;
4168
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4048
4169
  tmp$ret$0 = new WrongTokenException(getKClass(Arrow), tmp1_invoke);
4049
4170
  raise.a20(tmp$ret$0);
4050
4171
  }
4051
- raise.b20(_this__u8e3s4.o25());
4052
- $this.q25(_this__u8e3s4.m25_1);
4053
- var tmp1_subject = _this__u8e3s4.m25_1.b25_1;
4172
+ raise.b20(_this__u8e3s4.p25());
4173
+ $this.r25(_this__u8e3s4.n25_1);
4174
+ var tmp1_subject = _this__u8e3s4.n25_1.c25_1;
4054
4175
  var tmp_0;
4055
4176
  if (isInterface(tmp1_subject, WirespecType)) {
4056
- var tmp_1 = _this__u8e3s4.m25_1.b25_1;
4057
- tmp_0 = raise.b20(parseContent(_this__u8e3s4, $this, isInterface(tmp_1, WirespecType) ? tmp_1 : THROW_CCE(), _this__u8e3s4.m25_1.c25_1));
4177
+ var tmp_1 = _this__u8e3s4.n25_1.c25_1;
4178
+ tmp_0 = raise.b20(parseContent(_this__u8e3s4, $this, isInterface(tmp_1, WirespecType) ? tmp_1 : THROW_CCE(), _this__u8e3s4.n25_1.d25_1));
4058
4179
  } else {
4059
4180
  var tmp$ret$1;
4060
4181
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4061
4182
  Companion_getInstance_5();
4062
- var tmp3_invoke = _this__u8e3s4.m25_1;
4183
+ var tmp3_invoke = _this__u8e3s4.n25_1;
4063
4184
  tmp$ret$1 = new WrongTokenException(getKClass(WirespecType), tmp3_invoke);
4064
4185
  raise.a20(tmp$ret$1);
4065
4186
  }
4066
4187
  var content = tmp_0;
4067
- var res = new Response(statusCode, content);
4188
+ var res = new Response(statusCode, emptyList(), content);
4068
4189
  raise.y1z();
4069
4190
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4070
4191
  tmp = new Right(res);
@@ -4100,7 +4221,7 @@
4100
4221
  try {
4101
4222
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4102
4223
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseContent.<anonymous>' call
4103
- $this.q25(_this__u8e3s4.m25_1);
4224
+ $this.r25(_this__u8e3s4.n25_1);
4104
4225
  var res = new Content('application/json', raise.b20(parseReference(_this__u8e3s4, $this, wsType, value)));
4105
4226
  raise.y1z();
4106
4227
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -4137,15 +4258,15 @@
4137
4258
  try {
4138
4259
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4139
4260
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseReference.<anonymous>' call
4140
- raise.b20(_this__u8e3s4.o25());
4141
- $this.q25(_this__u8e3s4.m25_1);
4261
+ raise.b20(_this__u8e3s4.p25());
4262
+ $this.r25(_this__u8e3s4.n25_1);
4142
4263
  // Inline function 'kotlin.also' call
4143
- var tmp_0 = _this__u8e3s4.m25_1.b25_1;
4264
+ var tmp_0 = _this__u8e3s4.n25_1.c25_1;
4144
4265
  var tmp0_also = tmp_0 instanceof Brackets;
4145
4266
  // Inline function 'kotlin.contracts.contract' call
4146
4267
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseReference.<anonymous>.<anonymous>' call
4147
4268
  if (tmp0_also)
4148
- raise.b20(_this__u8e3s4.o25());
4269
+ raise.b20(_this__u8e3s4.p25());
4149
4270
  var isIterable = tmp0_also;
4150
4271
  var tmp_1;
4151
4272
  if (wsType instanceof WsString) {
@@ -4196,9 +4317,9 @@
4196
4317
  }
4197
4318
  function EndpointParser(logger) {
4198
4319
  AbstractParser.call(this, logger);
4199
- this.s25_1 = new TypeParser(logger);
4320
+ this.t25_1 = new TypeParser(logger);
4200
4321
  }
4201
- protoOf(EndpointParser).v25 = function (_this__u8e3s4) {
4322
+ protoOf(EndpointParser).w25 = function (_this__u8e3s4) {
4202
4323
  // Inline function 'arrow.core.raise.either' call
4203
4324
  // Inline function 'arrow.core.raise.fold' call
4204
4325
  // Inline function 'kotlin.contracts.contract' call
@@ -4209,20 +4330,20 @@
4209
4330
  try {
4210
4331
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4211
4332
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>' call
4212
- raise.b20(_this__u8e3s4.o25());
4213
- this.q25(_this__u8e3s4.m25_1);
4333
+ raise.b20(_this__u8e3s4.p25());
4334
+ this.r25(_this__u8e3s4.n25_1);
4214
4335
  var tmp_0;
4215
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
4216
- tmp_0 = raise.b20(parseEndpointDefinition(_this__u8e3s4, this, _this__u8e3s4.m25_1.c25_1));
4336
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
4337
+ tmp_0 = raise.b20(parseEndpointDefinition(_this__u8e3s4, this, _this__u8e3s4.n25_1.d25_1));
4217
4338
  } else {
4218
4339
  // Inline function 'kotlin.also' call
4219
4340
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4220
4341
  Companion_getInstance_5();
4221
- var tmp1_invoke = _this__u8e3s4.m25_1;
4342
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4222
4343
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
4223
4344
  // Inline function 'kotlin.contracts.contract' call
4224
4345
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>.<anonymous>' call
4225
- raise.b20(_this__u8e3s4.o25());
4346
+ raise.b20(_this__u8e3s4.p25());
4226
4347
  raise.a20(tmp2_also);
4227
4348
  }
4228
4349
  var res = tmp_0;
@@ -4261,37 +4382,37 @@
4261
4382
  try {
4262
4383
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4263
4384
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>' call
4264
- raise.b20(_this__u8e3s4.o25());
4265
- $this.q25(_this__u8e3s4.m25_1);
4385
+ raise.b20(_this__u8e3s4.p25());
4386
+ $this.r25(_this__u8e3s4.n25_1);
4266
4387
  // Inline function 'kotlin.also' call
4267
4388
  var tmp_0;
4268
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly) {
4389
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly) {
4269
4390
  tmp_0 = new Enum_0(typeName, raise.b20(parseEnumTypeEntries(_this__u8e3s4, $this)));
4270
4391
  } else {
4271
4392
  // Inline function 'kotlin.also' call
4272
4393
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4273
4394
  Companion_getInstance_5();
4274
- var tmp1_invoke = _this__u8e3s4.m25_1;
4395
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4275
4396
  var tmp2_also = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
4276
4397
  // Inline function 'kotlin.contracts.contract' call
4277
4398
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4278
- raise.b20(_this__u8e3s4.o25());
4399
+ raise.b20(_this__u8e3s4.p25());
4279
4400
  raise.a20(tmp2_also);
4280
4401
  }
4281
4402
  var tmp3_also = tmp_0;
4282
4403
  // Inline function 'kotlin.contracts.contract' call
4283
4404
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4284
- if (_this__u8e3s4.m25_1.b25_1 instanceof RightCurly)
4285
- raise.b20(_this__u8e3s4.o25());
4405
+ if (_this__u8e3s4.n25_1.c25_1 instanceof RightCurly)
4406
+ raise.b20(_this__u8e3s4.p25());
4286
4407
  else {
4287
4408
  // Inline function 'kotlin.also' call
4288
4409
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4289
4410
  Companion_getInstance_5();
4290
- var tmp1_invoke_0 = _this__u8e3s4.m25_1;
4411
+ var tmp1_invoke_0 = _this__u8e3s4.n25_1;
4291
4412
  var tmp2_also_0 = new WrongTokenException(getKClass(RightCurly), tmp1_invoke_0);
4292
4413
  // Inline function 'kotlin.contracts.contract' call
4293
4414
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4294
- raise.b20(_this__u8e3s4.o25());
4415
+ raise.b20(_this__u8e3s4.p25());
4295
4416
  raise.a20(tmp2_also_0);
4296
4417
  }
4297
4418
  var res = tmp3_also;
@@ -4330,34 +4451,34 @@
4330
4451
  try {
4331
4452
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4332
4453
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>' call
4333
- raise.b20(_this__u8e3s4.o25());
4334
- $this.q25(_this__u8e3s4.m25_1);
4454
+ raise.b20(_this__u8e3s4.p25());
4455
+ $this.r25(_this__u8e3s4.n25_1);
4335
4456
  var tmp_0;
4336
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
4457
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
4337
4458
  // Inline function 'kotlin.apply' call
4338
4459
  // Inline function 'kotlin.collections.mutableListOf' call
4339
4460
  var tmp0_apply = ArrayList_init_$Create$();
4340
4461
  // Inline function 'kotlin.contracts.contract' call
4341
4462
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4342
- tmp0_apply.a(_this__u8e3s4.m25_1.c25_1);
4343
- raise.b20(_this__u8e3s4.o25());
4344
- while (equals(_this__u8e3s4.m25_1.b25_1, Comma_getInstance())) {
4345
- raise.b20(_this__u8e3s4.o25());
4346
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
4463
+ tmp0_apply.a(_this__u8e3s4.n25_1.d25_1);
4464
+ raise.b20(_this__u8e3s4.p25());
4465
+ while (equals(_this__u8e3s4.n25_1.c25_1, Comma_getInstance())) {
4466
+ raise.b20(_this__u8e3s4.p25());
4467
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
4347
4468
  // Inline function 'kotlin.also' call
4348
- tmp0_apply.a(_this__u8e3s4.m25_1.c25_1);
4469
+ tmp0_apply.a(_this__u8e3s4.n25_1.d25_1);
4349
4470
  // Inline function 'kotlin.contracts.contract' call
4350
4471
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4351
- raise.b20(_this__u8e3s4.o25());
4472
+ raise.b20(_this__u8e3s4.p25());
4352
4473
  } else {
4353
4474
  // Inline function 'kotlin.also' call
4354
4475
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4355
4476
  Companion_getInstance_5();
4356
- var tmp2_invoke = _this__u8e3s4.m25_1;
4477
+ var tmp2_invoke = _this__u8e3s4.n25_1;
4357
4478
  var tmp3_also = new WrongTokenException(getKClass(CustomType), tmp2_invoke);
4358
4479
  // Inline function 'kotlin.contracts.contract' call
4359
4480
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4360
- raise.b20(_this__u8e3s4.o25());
4481
+ raise.b20(_this__u8e3s4.p25());
4361
4482
  raise.a20(tmp3_also);
4362
4483
  }
4363
4484
  }
@@ -4366,11 +4487,11 @@
4366
4487
  // Inline function 'kotlin.also' call
4367
4488
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4368
4489
  Companion_getInstance_5();
4369
- var tmp2_invoke_0 = _this__u8e3s4.m25_1;
4490
+ var tmp2_invoke_0 = _this__u8e3s4.n25_1;
4370
4491
  var tmp3_also_0 = new WrongTokenException(getKClass(CustomType), tmp2_invoke_0);
4371
4492
  // Inline function 'kotlin.contracts.contract' call
4372
4493
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4373
- raise.b20(_this__u8e3s4.o25());
4494
+ raise.b20(_this__u8e3s4.p25());
4374
4495
  raise.a20(tmp3_also_0);
4375
4496
  }
4376
4497
  var res = toSet(tmp_0);
@@ -4401,7 +4522,7 @@
4401
4522
  function EnumParser(logger) {
4402
4523
  AbstractParser.call(this, logger);
4403
4524
  }
4404
- protoOf(EnumParser).x25 = function (_this__u8e3s4) {
4525
+ protoOf(EnumParser).y25 = function (_this__u8e3s4) {
4405
4526
  // Inline function 'arrow.core.raise.either' call
4406
4527
  // Inline function 'arrow.core.raise.fold' call
4407
4528
  // Inline function 'kotlin.contracts.contract' call
@@ -4412,20 +4533,20 @@
4412
4533
  try {
4413
4534
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4414
4535
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>' call
4415
- raise.b20(_this__u8e3s4.o25());
4416
- this.q25(_this__u8e3s4.m25_1);
4536
+ raise.b20(_this__u8e3s4.p25());
4537
+ this.r25(_this__u8e3s4.n25_1);
4417
4538
  var tmp_0;
4418
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
4419
- tmp_0 = raise.b20(parseEnumTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.m25_1.c25_1));
4539
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
4540
+ tmp_0 = raise.b20(parseEnumTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.n25_1.d25_1));
4420
4541
  } else {
4421
4542
  // Inline function 'kotlin.also' call
4422
4543
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4423
4544
  Companion_getInstance_5();
4424
- var tmp1_invoke = _this__u8e3s4.m25_1;
4545
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4425
4546
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
4426
4547
  // Inline function 'kotlin.contracts.contract' call
4427
4548
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>.<anonymous>' call
4428
- raise.b20(_this__u8e3s4.o25());
4549
+ raise.b20(_this__u8e3s4.p25());
4429
4550
  raise.a20(tmp2_also);
4430
4551
  }
4431
4552
  var res = tmp_0;
@@ -4544,11 +4665,11 @@
4544
4665
  try {
4545
4666
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4546
4667
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
4547
- $this.q25(_this__u8e3s4.m25_1);
4548
- var tmp0_subject = _this__u8e3s4.m25_1.b25_1;
4668
+ $this.r25(_this__u8e3s4.n25_1);
4669
+ var tmp0_subject = _this__u8e3s4.n25_1.c25_1;
4549
4670
  var tmp_0;
4550
4671
  if (isInterface(tmp0_subject, WirespecDefinition)) {
4551
- var tmp_1 = _this__u8e3s4.m25_1.b25_1;
4672
+ var tmp_1 = _this__u8e3s4.n25_1.c25_1;
4552
4673
  var tmp1_subject = isInterface(tmp_1, WirespecDefinition) ? tmp_1 : THROW_CCE();
4553
4674
  var tmp_2;
4554
4675
  if (tmp1_subject instanceof WsTypeDef) {
@@ -4556,7 +4677,7 @@
4556
4677
  // Inline function 'kotlin.with' call
4557
4678
  // Inline function 'kotlin.contracts.contract' call
4558
4679
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
4559
- tmp$ret$1 = $this.m20_1.a26(_this__u8e3s4);
4680
+ tmp$ret$1 = $this.m20_1.b26(_this__u8e3s4);
4560
4681
  tmp_2 = raise.b20(tmp$ret$1);
4561
4682
  } else {
4562
4683
  if (tmp1_subject instanceof WsEnumTypeDef) {
@@ -4564,7 +4685,7 @@
4564
4685
  // Inline function 'kotlin.with' call
4565
4686
  // Inline function 'kotlin.contracts.contract' call
4566
4687
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
4567
- tmp$ret$3 = $this.n20_1.x25(_this__u8e3s4);
4688
+ tmp$ret$3 = $this.n20_1.y25(_this__u8e3s4);
4568
4689
  tmp_2 = raise.b20(tmp$ret$3);
4569
4690
  } else {
4570
4691
  if (tmp1_subject instanceof WsRefinedTypeDef) {
@@ -4572,7 +4693,7 @@
4572
4693
  // Inline function 'kotlin.with' call
4573
4694
  // Inline function 'kotlin.contracts.contract' call
4574
4695
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
4575
- tmp$ret$5 = $this.o20_1.z25(_this__u8e3s4);
4696
+ tmp$ret$5 = $this.o20_1.a26(_this__u8e3s4);
4576
4697
  tmp_2 = raise.b20(tmp$ret$5);
4577
4698
  } else {
4578
4699
  if (tmp1_subject instanceof WsEndpointDef) {
@@ -4580,7 +4701,7 @@
4580
4701
  // Inline function 'kotlin.with' call
4581
4702
  // Inline function 'kotlin.contracts.contract' call
4582
4703
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
4583
- tmp$ret$7 = $this.p20_1.v25(_this__u8e3s4);
4704
+ tmp$ret$7 = $this.p20_1.w25(_this__u8e3s4);
4584
4705
  tmp_2 = raise.b20(tmp$ret$7);
4585
4706
  } else {
4586
4707
  noWhenBranchMatchedException();
@@ -4593,11 +4714,11 @@
4593
4714
  // Inline function 'kotlin.also' call
4594
4715
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4595
4716
  Companion_getInstance_5();
4596
- var tmp5_invoke = _this__u8e3s4.m25_1;
4717
+ var tmp5_invoke = _this__u8e3s4.n25_1;
4597
4718
  var tmp6_also = new WrongTokenException(getKClass(WirespecDefinition), tmp5_invoke);
4598
4719
  // Inline function 'kotlin.contracts.contract' call
4599
4720
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
4600
- raise.b20(_this__u8e3s4.o25());
4721
+ raise.b20(_this__u8e3s4.p25());
4601
4722
  raise.a20(tmp6_also);
4602
4723
  }
4603
4724
  var res = tmp_0;
@@ -4633,13 +4754,13 @@
4633
4754
  this.p20_1 = new EndpointParser(logger);
4634
4755
  }
4635
4756
  protoOf(Parser).q20 = function (tokens) {
4636
- return parse(toProvider(removeWhiteSpace(tokens), this.p25_1), this);
4757
+ return parse(toProvider(removeWhiteSpace(tokens), this.q25_1), this);
4637
4758
  };
4638
4759
  function AbstractParser(logger) {
4639
- this.p25_1 = logger;
4760
+ this.q25_1 = logger;
4640
4761
  }
4641
- protoOf(AbstractParser).q25 = function (_this__u8e3s4) {
4642
- return this.p25_1.h20('Parsing ' + _this__u8e3s4.b25_1 + ' at line ' + _this__u8e3s4.d25_1.f25_1 + ' position ' + _this__u8e3s4.d25_1.g25_1);
4762
+ protoOf(AbstractParser).r25 = function (_this__u8e3s4) {
4763
+ return this.q25_1.h20('Parsing ' + _this__u8e3s4.c25_1 + ' at line ' + _this__u8e3s4.e25_1.g25_1 + ' position ' + _this__u8e3s4.e25_1.h25_1);
4643
4764
  };
4644
4765
  function parseCustomRegex(_this__u8e3s4, $this, typeName) {
4645
4766
  // Inline function 'arrow.core.raise.either' call
@@ -4652,27 +4773,27 @@
4652
4773
  try {
4653
4774
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4654
4775
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>' call
4655
- raise.b20(_this__u8e3s4.o25());
4656
- $this.q25(_this__u8e3s4.m25_1);
4776
+ raise.b20(_this__u8e3s4.p25());
4777
+ $this.r25(_this__u8e3s4.n25_1);
4657
4778
  // Inline function 'kotlin.also' call
4658
4779
  var tmp_0;
4659
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomRegex) {
4660
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.m25_1.c25_1));
4780
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomRegex) {
4781
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.n25_1.d25_1));
4661
4782
  } else {
4662
4783
  // Inline function 'kotlin.also' call
4663
4784
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4664
4785
  Companion_getInstance_5();
4665
- var tmp1_invoke = _this__u8e3s4.m25_1;
4786
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4666
4787
  var tmp2_also = new WrongTokenException(getKClass(CustomRegex), tmp1_invoke);
4667
4788
  // Inline function 'kotlin.contracts.contract' call
4668
4789
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>.<anonymous>' call
4669
- raise.b20(_this__u8e3s4.o25());
4790
+ raise.b20(_this__u8e3s4.p25());
4670
4791
  raise.a20(tmp2_also);
4671
4792
  }
4672
4793
  var tmp3_also = tmp_0;
4673
4794
  // Inline function 'kotlin.contracts.contract' call
4674
4795
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>.<anonymous>' call
4675
- raise.b20(_this__u8e3s4.o25());
4796
+ raise.b20(_this__u8e3s4.p25());
4676
4797
  var res = tmp3_also;
4677
4798
  raise.y1z();
4678
4799
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -4701,7 +4822,7 @@
4701
4822
  function RefinedTypeParser(logger) {
4702
4823
  AbstractParser.call(this, logger);
4703
4824
  }
4704
- protoOf(RefinedTypeParser).z25 = function (_this__u8e3s4) {
4825
+ protoOf(RefinedTypeParser).a26 = function (_this__u8e3s4) {
4705
4826
  // Inline function 'arrow.core.raise.either' call
4706
4827
  // Inline function 'arrow.core.raise.fold' call
4707
4828
  // Inline function 'kotlin.contracts.contract' call
@@ -4712,20 +4833,20 @@
4712
4833
  try {
4713
4834
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4714
4835
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseRefinedType.<anonymous>' call
4715
- raise.b20(_this__u8e3s4.o25());
4716
- this.q25(_this__u8e3s4.m25_1);
4836
+ raise.b20(_this__u8e3s4.p25());
4837
+ this.r25(_this__u8e3s4.n25_1);
4717
4838
  var tmp_0;
4718
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
4719
- tmp_0 = raise.b20(parseCustomRegex(_this__u8e3s4, this, _this__u8e3s4.m25_1.c25_1));
4839
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
4840
+ tmp_0 = raise.b20(parseCustomRegex(_this__u8e3s4, this, _this__u8e3s4.n25_1.d25_1));
4720
4841
  } else {
4721
4842
  // Inline function 'kotlin.also' call
4722
4843
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4723
4844
  Companion_getInstance_5();
4724
- var tmp1_invoke = _this__u8e3s4.m25_1;
4845
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4725
4846
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
4726
4847
  // Inline function 'kotlin.contracts.contract' call
4727
4848
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseRefinedType.<anonymous>.<anonymous>' call
4728
- raise.b20(_this__u8e3s4.o25());
4849
+ raise.b20(_this__u8e3s4.p25());
4729
4850
  raise.a20(tmp2_also);
4730
4851
  }
4731
4852
  var res = tmp_0;
@@ -4761,15 +4882,15 @@
4761
4882
  // Inline function 'kotlin.run' call
4762
4883
  // Inline function 'kotlin.contracts.contract' call
4763
4884
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4764
- tmp = "Eating: '" + previousToken.c25_1 + "', ";
4885
+ tmp = "Eating: '" + previousToken.d25_1 + "', ";
4765
4886
  }
4766
4887
  var tmp1_elvis_lhs = tmp;
4767
4888
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4768
4889
  // Inline function 'kotlin.run' call
4769
4890
  // Inline function 'kotlin.contracts.contract' call
4770
4891
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4771
- var curr = "Current: '" + $this.m25_1.c25_1 + "'";
4772
- var tmp2_safe_receiver = $this.n25_1;
4892
+ var curr = "Current: '" + $this.n25_1.d25_1 + "'";
4893
+ var tmp2_safe_receiver = $this.o25_1;
4773
4894
  var tmp_0;
4774
4895
  if (tmp2_safe_receiver == null) {
4775
4896
  tmp_0 = null;
@@ -4777,11 +4898,11 @@
4777
4898
  // Inline function 'kotlin.run' call
4778
4899
  // Inline function 'kotlin.contracts.contract' call
4779
4900
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4780
- tmp_0 = ", Next: '" + tmp2_safe_receiver.c25_1 + "'";
4901
+ tmp_0 = ", Next: '" + tmp2_safe_receiver.d25_1 + "'";
4781
4902
  }
4782
4903
  var tmp3_elvis_lhs = tmp_0;
4783
4904
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4784
- $this.k25_1.h20(prev + curr + next);
4905
+ $this.l25_1.h20(prev + curr + next);
4785
4906
  }
4786
4907
  function printTokens$default($this, previousToken, $super) {
4787
4908
  previousToken = previousToken === VOID ? null : previousToken;
@@ -4795,7 +4916,7 @@
4795
4916
  // Inline function 'kotlin.Companion.success' call
4796
4917
  Companion_getInstance();
4797
4918
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4798
- var tmp1_success = $this.l25_1.e();
4919
+ var tmp1_success = $this.m25_1.e();
4799
4920
  tmp = _Result___init__impl__xyqfz8(tmp1_success);
4800
4921
  } catch ($p) {
4801
4922
  var tmp_0;
@@ -4820,16 +4941,16 @@
4820
4941
  return tmp_1;
4821
4942
  }
4822
4943
  function TokenProvider(logger, tokenIterator) {
4823
- this.k25_1 = logger;
4824
- this.l25_1 = tokenIterator;
4825
- this.m25_1 = ensureNotNull(nextToken(this));
4826
- this.n25_1 = nextToken(this);
4944
+ this.l25_1 = logger;
4945
+ this.m25_1 = tokenIterator;
4946
+ this.n25_1 = ensureNotNull(nextToken(this));
4947
+ this.o25_1 = nextToken(this);
4827
4948
  printTokens$default(this);
4828
4949
  }
4829
4950
  protoOf(TokenProvider).d = function () {
4830
- return !(this.n25_1 == null);
4951
+ return !(this.o25_1 == null);
4831
4952
  };
4832
- protoOf(TokenProvider).o25 = function () {
4953
+ protoOf(TokenProvider).p25 = function () {
4833
4954
  // Inline function 'arrow.core.raise.either' call
4834
4955
  // Inline function 'arrow.core.raise.fold' call
4835
4956
  // Inline function 'kotlin.contracts.contract' call
@@ -4839,17 +4960,17 @@
4839
4960
  var tmp;
4840
4961
  try {
4841
4962
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4842
- var previousToken = this.m25_1;
4963
+ var previousToken = this.n25_1;
4843
4964
  var tmp_0 = this;
4844
- var tmp0_elvis_lhs = this.n25_1;
4965
+ var tmp0_elvis_lhs = this.o25_1;
4845
4966
  var tmp_1;
4846
4967
  if (tmp0_elvis_lhs == null) {
4847
- raise.a20(new NextException(previousToken.d25_1));
4968
+ raise.a20(new NextException(previousToken.e25_1));
4848
4969
  } else {
4849
4970
  tmp_1 = tmp0_elvis_lhs;
4850
4971
  }
4851
- tmp_0.m25_1 = tmp_1;
4852
- this.n25_1 = nextToken(this);
4972
+ tmp_0.n25_1 = tmp_1;
4973
+ this.o25_1 = nextToken(this);
4853
4974
  printTokens(this, previousToken);
4854
4975
  var res = Unit_getInstance();
4855
4976
  raise.y1z();
@@ -4890,20 +5011,20 @@
4890
5011
  try {
4891
5012
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4892
5013
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>' call
4893
- raise.b20(_this__u8e3s4.o25());
4894
- $this.q25(_this__u8e3s4.m25_1);
5014
+ raise.b20(_this__u8e3s4.p25());
5015
+ $this.r25(_this__u8e3s4.n25_1);
4895
5016
  var tmp_0;
4896
- if (_this__u8e3s4.m25_1.b25_1 instanceof LeftCurly) {
4897
- tmp_0 = new Type_0(typeName, raise.b20($this.u25(_this__u8e3s4)));
5017
+ if (_this__u8e3s4.n25_1.c25_1 instanceof LeftCurly) {
5018
+ tmp_0 = new Type_0(typeName, raise.b20($this.v25(_this__u8e3s4)));
4898
5019
  } else {
4899
5020
  // Inline function 'kotlin.also' call
4900
5021
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4901
5022
  Companion_getInstance_5();
4902
- var tmp1_invoke = _this__u8e3s4.m25_1;
5023
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4903
5024
  var tmp2_also = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
4904
5025
  // Inline function 'kotlin.contracts.contract' call
4905
5026
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>.<anonymous>' call
4906
- raise.b20(_this__u8e3s4.o25());
5027
+ raise.b20(_this__u8e3s4.p25());
4907
5028
  raise.a20(tmp2_also);
4908
5029
  }
4909
5030
  var res = tmp_0;
@@ -4942,42 +5063,42 @@
4942
5063
  try {
4943
5064
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4944
5065
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>' call
4945
- raise.b20(_this__u8e3s4.o25());
4946
- $this.q25(_this__u8e3s4.m25_1);
4947
- if (_this__u8e3s4.m25_1.b25_1 instanceof Colon)
4948
- raise.b20(_this__u8e3s4.o25());
5066
+ raise.b20(_this__u8e3s4.p25());
5067
+ $this.r25(_this__u8e3s4.n25_1);
5068
+ if (_this__u8e3s4.n25_1.c25_1 instanceof Colon)
5069
+ raise.b20(_this__u8e3s4.p25());
4949
5070
  else {
4950
5071
  // Inline function 'kotlin.also' call
4951
5072
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4952
5073
  Companion_getInstance_5();
4953
- var tmp1_invoke = _this__u8e3s4.m25_1;
5074
+ var tmp1_invoke = _this__u8e3s4.n25_1;
4954
5075
  var tmp2_also = new WrongTokenException(getKClass(Colon), tmp1_invoke);
4955
5076
  // Inline function 'kotlin.contracts.contract' call
4956
5077
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4957
- raise.b20(_this__u8e3s4.o25());
5078
+ raise.b20(_this__u8e3s4.p25());
4958
5079
  raise.a20(tmp2_also);
4959
5080
  }
4960
- var type = _this__u8e3s4.m25_1.b25_1;
5081
+ var type = _this__u8e3s4.n25_1.c25_1;
4961
5082
  var tmp_0;
4962
5083
  if (isInterface(type, WirespecType)) {
4963
- var tmp_1 = raise.b20(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.m25_1.c25_1));
5084
+ var tmp_1 = raise.b20(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.n25_1.d25_1));
4964
5085
  // Inline function 'kotlin.also' call
4965
- var tmp_2 = _this__u8e3s4.m25_1.b25_1;
5086
+ var tmp_2 = _this__u8e3s4.n25_1.c25_1;
4966
5087
  var tmp3_also = tmp_2 instanceof QuestionMark;
4967
5088
  // Inline function 'kotlin.contracts.contract' call
4968
5089
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4969
5090
  if (tmp3_also)
4970
- raise.b20(_this__u8e3s4.o25());
5091
+ raise.b20(_this__u8e3s4.p25());
4971
5092
  tmp_0 = new Field(identifier, tmp_1, tmp3_also);
4972
5093
  } else {
4973
5094
  // Inline function 'kotlin.also' call
4974
5095
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4975
5096
  Companion_getInstance_5();
4976
- var tmp5_invoke = _this__u8e3s4.m25_1;
5097
+ var tmp5_invoke = _this__u8e3s4.n25_1;
4977
5098
  var tmp6_also = new WrongTokenException(getKClass(CustomType), tmp5_invoke);
4978
5099
  // Inline function 'kotlin.contracts.contract' call
4979
5100
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4980
- raise.b20(_this__u8e3s4.o25());
5101
+ raise.b20(_this__u8e3s4.p25());
4981
5102
  raise.a20(tmp6_also);
4982
5103
  }
4983
5104
  var res = tmp_0;
@@ -5016,15 +5137,15 @@
5016
5137
  try {
5017
5138
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5018
5139
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>' call
5019
- raise.b20(_this__u8e3s4.o25());
5020
- $this.q25(_this__u8e3s4.m25_1);
5140
+ raise.b20(_this__u8e3s4.p25());
5141
+ $this.r25(_this__u8e3s4.n25_1);
5021
5142
  // Inline function 'kotlin.also' call
5022
- var tmp_0 = _this__u8e3s4.m25_1.b25_1;
5143
+ var tmp_0 = _this__u8e3s4.n25_1.c25_1;
5023
5144
  var tmp0_also = tmp_0 instanceof Brackets;
5024
5145
  // Inline function 'kotlin.contracts.contract' call
5025
5146
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>.<anonymous>' call
5026
5147
  if (tmp0_also)
5027
- raise.b20(_this__u8e3s4.o25());
5148
+ raise.b20(_this__u8e3s4.p25());
5028
5149
  var isIterable = tmp0_also;
5029
5150
  var tmp_1;
5030
5151
  if (wsType instanceof WsString) {
@@ -5076,7 +5197,7 @@
5076
5197
  function TypeParser(logger) {
5077
5198
  AbstractParser.call(this, logger);
5078
5199
  }
5079
- protoOf(TypeParser).a26 = function (_this__u8e3s4) {
5200
+ protoOf(TypeParser).b26 = function (_this__u8e3s4) {
5080
5201
  // Inline function 'arrow.core.raise.either' call
5081
5202
  // Inline function 'arrow.core.raise.fold' call
5082
5203
  // Inline function 'kotlin.contracts.contract' call
@@ -5087,20 +5208,20 @@
5087
5208
  try {
5088
5209
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5089
5210
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>' call
5090
- raise.b20(_this__u8e3s4.o25());
5091
- this.q25(_this__u8e3s4.m25_1);
5211
+ raise.b20(_this__u8e3s4.p25());
5212
+ this.r25(_this__u8e3s4.n25_1);
5092
5213
  var tmp_0;
5093
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomType) {
5094
- tmp_0 = raise.b20(parseTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.m25_1.c25_1));
5214
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomType) {
5215
+ tmp_0 = raise.b20(parseTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.n25_1.d25_1));
5095
5216
  } else {
5096
5217
  // Inline function 'kotlin.also' call
5097
5218
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5098
5219
  Companion_getInstance_5();
5099
- var tmp1_invoke = _this__u8e3s4.m25_1;
5220
+ var tmp1_invoke = _this__u8e3s4.n25_1;
5100
5221
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
5101
5222
  // Inline function 'kotlin.contracts.contract' call
5102
5223
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>.<anonymous>' call
5103
- raise.b20(_this__u8e3s4.o25());
5224
+ raise.b20(_this__u8e3s4.p25());
5104
5225
  raise.a20(tmp2_also);
5105
5226
  }
5106
5227
  var res = tmp_0;
@@ -5128,7 +5249,7 @@
5128
5249
  }
5129
5250
  return tmp;
5130
5251
  };
5131
- protoOf(TypeParser).u25 = function (_this__u8e3s4) {
5252
+ protoOf(TypeParser).v25 = function (_this__u8e3s4) {
5132
5253
  // Inline function 'arrow.core.raise.either' call
5133
5254
  // Inline function 'arrow.core.raise.fold' call
5134
5255
  // Inline function 'kotlin.contracts.contract' call
@@ -5139,31 +5260,31 @@
5139
5260
  try {
5140
5261
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5141
5262
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>' call
5142
- raise.b20(_this__u8e3s4.o25());
5143
- this.q25(_this__u8e3s4.m25_1);
5263
+ raise.b20(_this__u8e3s4.p25());
5264
+ this.r25(_this__u8e3s4.n25_1);
5144
5265
  // Inline function 'kotlin.let' call
5145
5266
  // Inline function 'kotlin.also' call
5146
5267
  var tmp_0;
5147
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomValue) {
5268
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomValue) {
5148
5269
  // Inline function 'kotlin.apply' call
5149
5270
  // Inline function 'kotlin.collections.mutableListOf' call
5150
5271
  var tmp0_apply = ArrayList_init_$Create$();
5151
5272
  // Inline function 'kotlin.contracts.contract' call
5152
5273
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
5153
- tmp0_apply.a(raise.b20(parseField(_this__u8e3s4, this, new Identifier(_this__u8e3s4.m25_1.c25_1))));
5154
- while (equals(_this__u8e3s4.m25_1.b25_1, Comma_getInstance())) {
5155
- raise.b20(_this__u8e3s4.o25());
5156
- if (_this__u8e3s4.m25_1.b25_1 instanceof CustomValue) {
5157
- tmp0_apply.a(raise.b20(parseField(_this__u8e3s4, this, new Identifier(_this__u8e3s4.m25_1.c25_1))));
5274
+ tmp0_apply.a(raise.b20(parseField(_this__u8e3s4, this, new Identifier(_this__u8e3s4.n25_1.d25_1))));
5275
+ while (equals(_this__u8e3s4.n25_1.c25_1, Comma_getInstance())) {
5276
+ raise.b20(_this__u8e3s4.p25());
5277
+ if (_this__u8e3s4.n25_1.c25_1 instanceof CustomValue) {
5278
+ tmp0_apply.a(raise.b20(parseField(_this__u8e3s4, this, new Identifier(_this__u8e3s4.n25_1.d25_1))));
5158
5279
  } else {
5159
5280
  // Inline function 'kotlin.also' call
5160
5281
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5161
5282
  Companion_getInstance_5();
5162
- var tmp1_invoke = _this__u8e3s4.m25_1;
5283
+ var tmp1_invoke = _this__u8e3s4.n25_1;
5163
5284
  var tmp2_also = new WrongTokenException(getKClass(CustomValue), tmp1_invoke);
5164
5285
  // Inline function 'kotlin.contracts.contract' call
5165
5286
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
5166
- raise.b20(_this__u8e3s4.o25());
5287
+ raise.b20(_this__u8e3s4.p25());
5167
5288
  raise.a20(tmp2_also);
5168
5289
  }
5169
5290
  }
@@ -5172,27 +5293,27 @@
5172
5293
  // Inline function 'kotlin.also' call
5173
5294
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5174
5295
  Companion_getInstance_5();
5175
- var tmp2_invoke = _this__u8e3s4.m25_1;
5296
+ var tmp2_invoke = _this__u8e3s4.n25_1;
5176
5297
  var tmp3_also = new WrongTokenException(getKClass(CustomValue), tmp2_invoke);
5177
5298
  // Inline function 'kotlin.contracts.contract' call
5178
5299
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
5179
- raise.b20(_this__u8e3s4.o25());
5300
+ raise.b20(_this__u8e3s4.p25());
5180
5301
  raise.a20(tmp3_also);
5181
5302
  }
5182
5303
  var tmp4_also = tmp_0;
5183
5304
  // Inline function 'kotlin.contracts.contract' call
5184
5305
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
5185
- if (_this__u8e3s4.m25_1.b25_1 instanceof RightCurly)
5186
- raise.b20(_this__u8e3s4.o25());
5306
+ if (_this__u8e3s4.n25_1.c25_1 instanceof RightCurly)
5307
+ raise.b20(_this__u8e3s4.p25());
5187
5308
  else {
5188
5309
  // Inline function 'kotlin.also' call
5189
5310
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5190
5311
  Companion_getInstance_5();
5191
- var tmp1_invoke_0 = _this__u8e3s4.m25_1;
5312
+ var tmp1_invoke_0 = _this__u8e3s4.n25_1;
5192
5313
  var tmp2_also_0 = new WrongTokenException(getKClass(RightCurly), tmp1_invoke_0);
5193
5314
  // Inline function 'kotlin.contracts.contract' call
5194
5315
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
5195
- raise.b20(_this__u8e3s4.o25());
5316
+ raise.b20(_this__u8e3s4.p25());
5196
5317
  raise.a20(tmp2_also_0);
5197
5318
  }
5198
5319
  // Inline function 'kotlin.contracts.contract' call
@@ -5277,13 +5398,13 @@
5277
5398
  }
5278
5399
  var $ENTRIES;
5279
5400
  function Literal(value) {
5280
- this.f23_1 = value;
5401
+ this.g23_1 = value;
5281
5402
  }
5282
5403
  protoOf(Literal).toString = function () {
5283
- return 'Literal(value=' + this.f23_1 + ')';
5404
+ return 'Literal(value=' + this.g23_1 + ')';
5284
5405
  };
5285
5406
  protoOf(Literal).hashCode = function () {
5286
- return getStringHashCode(this.f23_1);
5407
+ return getStringHashCode(this.g23_1);
5287
5408
  };
5288
5409
  protoOf(Literal).equals = function (other) {
5289
5410
  if (this === other)
@@ -5291,20 +5412,20 @@
5291
5412
  if (!(other instanceof Literal))
5292
5413
  return false;
5293
5414
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
5294
- if (!(this.f23_1 === tmp0_other_with_cast.f23_1))
5415
+ if (!(this.g23_1 === tmp0_other_with_cast.g23_1))
5295
5416
  return false;
5296
5417
  return true;
5297
5418
  };
5298
5419
  function Param(identifier, reference) {
5299
- this.c22_1 = identifier;
5300
- this.d22_1 = reference;
5420
+ this.d22_1 = identifier;
5421
+ this.e22_1 = reference;
5301
5422
  }
5302
5423
  protoOf(Param).toString = function () {
5303
- return 'Param(identifier=' + this.c22_1 + ', reference=' + this.d22_1 + ')';
5424
+ return 'Param(identifier=' + this.d22_1 + ', reference=' + this.e22_1 + ')';
5304
5425
  };
5305
5426
  protoOf(Param).hashCode = function () {
5306
- var result = this.c22_1.hashCode();
5307
- result = imul(result, 31) + hashCode(this.d22_1) | 0;
5427
+ var result = this.d22_1.hashCode();
5428
+ result = imul(result, 31) + hashCode(this.e22_1) | 0;
5308
5429
  return result;
5309
5430
  };
5310
5431
  protoOf(Param).equals = function (other) {
@@ -5313,9 +5434,9 @@
5313
5434
  if (!(other instanceof Param))
5314
5435
  return false;
5315
5436
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
5316
- if (!this.c22_1.equals(tmp0_other_with_cast.c22_1))
5437
+ if (!this.d22_1.equals(tmp0_other_with_cast.d22_1))
5317
5438
  return false;
5318
- if (!equals(this.d22_1, tmp0_other_with_cast.d22_1))
5439
+ if (!equals(this.e22_1, tmp0_other_with_cast.e22_1))
5319
5440
  return false;
5320
5441
  return true;
5321
5442
  };
@@ -5341,16 +5462,18 @@
5341
5462
  return false;
5342
5463
  return true;
5343
5464
  };
5344
- function Response(status, content) {
5465
+ function Response(status, headers, content) {
5345
5466
  this.x21_1 = status;
5346
- this.y21_1 = content;
5467
+ this.y21_1 = headers;
5468
+ this.z21_1 = content;
5347
5469
  }
5348
5470
  protoOf(Response).toString = function () {
5349
- return 'Response(status=' + this.x21_1 + ', content=' + this.y21_1 + ')';
5471
+ return 'Response(status=' + this.x21_1 + ', headers=' + this.y21_1 + ', content=' + this.z21_1 + ')';
5350
5472
  };
5351
5473
  protoOf(Response).hashCode = function () {
5352
5474
  var result = getStringHashCode(this.x21_1);
5353
- result = imul(result, 31) + (this.y21_1 == null ? 0 : this.y21_1.hashCode()) | 0;
5475
+ result = imul(result, 31) + hashCode(this.y21_1) | 0;
5476
+ result = imul(result, 31) + (this.z21_1 == null ? 0 : this.z21_1.hashCode()) | 0;
5354
5477
  return result;
5355
5478
  };
5356
5479
  protoOf(Response).equals = function (other) {
@@ -5363,6 +5486,8 @@
5363
5486
  return false;
5364
5487
  if (!equals(this.y21_1, tmp0_other_with_cast.y21_1))
5365
5488
  return false;
5489
+ if (!equals(this.z21_1, tmp0_other_with_cast.z21_1))
5490
+ return false;
5366
5491
  return true;
5367
5492
  };
5368
5493
  function Content(type, reference, isNullable) {
@@ -5475,15 +5600,15 @@
5475
5600
  return true;
5476
5601
  };
5477
5602
  function Enum_0(name, entries) {
5478
- this.y22_1 = name;
5479
- this.z22_1 = entries;
5603
+ this.z22_1 = name;
5604
+ this.a23_1 = entries;
5480
5605
  }
5481
5606
  protoOf(Enum_0).toString = function () {
5482
- return 'Enum(name=' + this.y22_1 + ', entries=' + this.z22_1 + ')';
5607
+ return 'Enum(name=' + this.z22_1 + ', entries=' + this.a23_1 + ')';
5483
5608
  };
5484
5609
  protoOf(Enum_0).hashCode = function () {
5485
- var result = getStringHashCode(this.y22_1);
5486
- result = imul(result, 31) + hashCode(this.z22_1) | 0;
5610
+ var result = getStringHashCode(this.z22_1);
5611
+ result = imul(result, 31) + hashCode(this.a23_1) | 0;
5487
5612
  return result;
5488
5613
  };
5489
5614
  protoOf(Enum_0).equals = function (other) {
@@ -5492,20 +5617,20 @@
5492
5617
  if (!(other instanceof Enum_0))
5493
5618
  return false;
5494
5619
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
5495
- if (!(this.y22_1 === tmp0_other_with_cast.y22_1))
5620
+ if (!(this.z22_1 === tmp0_other_with_cast.z22_1))
5496
5621
  return false;
5497
- if (!equals(this.z22_1, tmp0_other_with_cast.z22_1))
5622
+ if (!equals(this.a23_1, tmp0_other_with_cast.a23_1))
5498
5623
  return false;
5499
5624
  return true;
5500
5625
  };
5501
5626
  function Validator(value) {
5502
- this.d23_1 = value;
5627
+ this.e23_1 = value;
5503
5628
  }
5504
5629
  protoOf(Validator).toString = function () {
5505
- return 'Validator(value=' + this.d23_1 + ')';
5630
+ return 'Validator(value=' + this.e23_1 + ')';
5506
5631
  };
5507
5632
  protoOf(Validator).hashCode = function () {
5508
- return getStringHashCode(this.d23_1);
5633
+ return getStringHashCode(this.e23_1);
5509
5634
  };
5510
5635
  protoOf(Validator).equals = function (other) {
5511
5636
  if (this === other)
@@ -5513,20 +5638,20 @@
5513
5638
  if (!(other instanceof Validator))
5514
5639
  return false;
5515
5640
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
5516
- if (!(this.d23_1 === tmp0_other_with_cast.d23_1))
5641
+ if (!(this.e23_1 === tmp0_other_with_cast.e23_1))
5517
5642
  return false;
5518
5643
  return true;
5519
5644
  };
5520
5645
  function Refined(name, validator) {
5521
- this.a23_1 = name;
5522
- this.b23_1 = validator;
5646
+ this.b23_1 = name;
5647
+ this.c23_1 = validator;
5523
5648
  }
5524
5649
  protoOf(Refined).toString = function () {
5525
- return 'Refined(name=' + this.a23_1 + ', validator=' + this.b23_1 + ')';
5650
+ return 'Refined(name=' + this.b23_1 + ', validator=' + this.c23_1 + ')';
5526
5651
  };
5527
5652
  protoOf(Refined).hashCode = function () {
5528
- var result = getStringHashCode(this.a23_1);
5529
- result = imul(result, 31) + this.b23_1.hashCode() | 0;
5653
+ var result = getStringHashCode(this.b23_1);
5654
+ result = imul(result, 31) + this.c23_1.hashCode() | 0;
5530
5655
  return result;
5531
5656
  };
5532
5657
  protoOf(Refined).equals = function (other) {
@@ -5535,9 +5660,9 @@
5535
5660
  if (!(other instanceof Refined))
5536
5661
  return false;
5537
5662
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
5538
- if (!(this.a23_1 === tmp0_other_with_cast.a23_1))
5663
+ if (!(this.b23_1 === tmp0_other_with_cast.b23_1))
5539
5664
  return false;
5540
- if (!this.b23_1.equals(tmp0_other_with_cast.b23_1))
5665
+ if (!this.c23_1.equals(tmp0_other_with_cast.c23_1))
5541
5666
  return false;
5542
5667
  return true;
5543
5668
  };
@@ -5576,29 +5701,29 @@
5576
5701
  }
5577
5702
  function Any(isIterable, isMap) {
5578
5703
  isMap = isMap === VOID ? false : isMap;
5579
- this.b26_1 = isIterable;
5580
- this.c26_1 = isMap;
5704
+ this.c26_1 = isIterable;
5705
+ this.d26_1 = isMap;
5581
5706
  }
5582
- protoOf(Any).a22 = function () {
5583
- return this.b26_1;
5584
- };
5585
- protoOf(Any).x22 = function () {
5707
+ protoOf(Any).b22 = function () {
5586
5708
  return this.c26_1;
5587
5709
  };
5588
- protoOf(Any).d26 = function (isIterable, isMap) {
5710
+ protoOf(Any).y22 = function () {
5711
+ return this.d26_1;
5712
+ };
5713
+ protoOf(Any).e26 = function (isIterable, isMap) {
5589
5714
  return new Any(isIterable, isMap);
5590
5715
  };
5591
- protoOf(Any).e26 = function (isIterable, isMap, $super) {
5592
- isIterable = isIterable === VOID ? this.b26_1 : isIterable;
5593
- isMap = isMap === VOID ? this.c26_1 : isMap;
5594
- return $super === VOID ? this.d26(isIterable, isMap) : $super.d26.call(this, isIterable, isMap);
5716
+ protoOf(Any).f26 = function (isIterable, isMap, $super) {
5717
+ isIterable = isIterable === VOID ? this.c26_1 : isIterable;
5718
+ isMap = isMap === VOID ? this.d26_1 : isMap;
5719
+ return $super === VOID ? this.e26(isIterable, isMap) : $super.e26.call(this, isIterable, isMap);
5595
5720
  };
5596
5721
  protoOf(Any).toString = function () {
5597
- return 'Any(isIterable=' + this.b26_1 + ', isMap=' + this.c26_1 + ')';
5722
+ return 'Any(isIterable=' + this.c26_1 + ', isMap=' + this.d26_1 + ')';
5598
5723
  };
5599
5724
  protoOf(Any).hashCode = function () {
5600
- var result = this.b26_1 | 0;
5601
- result = imul(result, 31) + (this.c26_1 | 0) | 0;
5725
+ var result = this.c26_1 | 0;
5726
+ result = imul(result, 31) + (this.d26_1 | 0) | 0;
5602
5727
  return result;
5603
5728
  };
5604
5729
  protoOf(Any).equals = function (other) {
@@ -5607,40 +5732,40 @@
5607
5732
  if (!(other instanceof Any))
5608
5733
  return false;
5609
5734
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
5610
- if (!(this.b26_1 === tmp0_other_with_cast.b26_1))
5611
- return false;
5612
5735
  if (!(this.c26_1 === tmp0_other_with_cast.c26_1))
5613
5736
  return false;
5737
+ if (!(this.d26_1 === tmp0_other_with_cast.d26_1))
5738
+ return false;
5614
5739
  return true;
5615
5740
  };
5616
5741
  function Custom(value, isIterable, isMap) {
5617
5742
  isMap = isMap === VOID ? false : isMap;
5618
- this.u22_1 = value;
5619
- this.v22_1 = isIterable;
5620
- this.w22_1 = isMap;
5743
+ this.v22_1 = value;
5744
+ this.w22_1 = isIterable;
5745
+ this.x22_1 = isMap;
5621
5746
  }
5622
- protoOf(Custom).a22 = function () {
5623
- return this.v22_1;
5624
- };
5625
- protoOf(Custom).x22 = function () {
5747
+ protoOf(Custom).b22 = function () {
5626
5748
  return this.w22_1;
5627
5749
  };
5628
- protoOf(Custom).f26 = function (value, isIterable, isMap) {
5750
+ protoOf(Custom).y22 = function () {
5751
+ return this.x22_1;
5752
+ };
5753
+ protoOf(Custom).g26 = function (value, isIterable, isMap) {
5629
5754
  return new Custom(value, isIterable, isMap);
5630
5755
  };
5631
- protoOf(Custom).g26 = function (value, isIterable, isMap, $super) {
5632
- value = value === VOID ? this.u22_1 : value;
5633
- isIterable = isIterable === VOID ? this.v22_1 : isIterable;
5634
- isMap = isMap === VOID ? this.w22_1 : isMap;
5635
- return $super === VOID ? this.f26(value, isIterable, isMap) : $super.f26.call(this, value, isIterable, isMap);
5756
+ protoOf(Custom).h26 = function (value, isIterable, isMap, $super) {
5757
+ value = value === VOID ? this.v22_1 : value;
5758
+ isIterable = isIterable === VOID ? this.w22_1 : isIterable;
5759
+ isMap = isMap === VOID ? this.x22_1 : isMap;
5760
+ return $super === VOID ? this.g26(value, isIterable, isMap) : $super.g26.call(this, value, isIterable, isMap);
5636
5761
  };
5637
5762
  protoOf(Custom).toString = function () {
5638
- return 'Custom(value=' + this.u22_1 + ', isIterable=' + this.v22_1 + ', isMap=' + this.w22_1 + ')';
5763
+ return 'Custom(value=' + this.v22_1 + ', isIterable=' + this.w22_1 + ', isMap=' + this.x22_1 + ')';
5639
5764
  };
5640
5765
  protoOf(Custom).hashCode = function () {
5641
- var result = getStringHashCode(this.u22_1);
5642
- result = imul(result, 31) + (this.v22_1 | 0) | 0;
5766
+ var result = getStringHashCode(this.v22_1);
5643
5767
  result = imul(result, 31) + (this.w22_1 | 0) | 0;
5768
+ result = imul(result, 31) + (this.x22_1 | 0) | 0;
5644
5769
  return result;
5645
5770
  };
5646
5771
  protoOf(Custom).equals = function (other) {
@@ -5649,42 +5774,42 @@
5649
5774
  if (!(other instanceof Custom))
5650
5775
  return false;
5651
5776
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
5652
- if (!(this.u22_1 === tmp0_other_with_cast.u22_1))
5653
- return false;
5654
5777
  if (!(this.v22_1 === tmp0_other_with_cast.v22_1))
5655
5778
  return false;
5656
5779
  if (!(this.w22_1 === tmp0_other_with_cast.w22_1))
5657
5780
  return false;
5781
+ if (!(this.x22_1 === tmp0_other_with_cast.x22_1))
5782
+ return false;
5658
5783
  return true;
5659
5784
  };
5660
5785
  function Primitive(type, isIterable, isMap) {
5661
5786
  isMap = isMap === VOID ? false : isMap;
5662
- this.r22_1 = type;
5663
- this.s22_1 = isIterable;
5664
- this.t22_1 = isMap;
5787
+ this.s22_1 = type;
5788
+ this.t22_1 = isIterable;
5789
+ this.u22_1 = isMap;
5665
5790
  }
5666
- protoOf(Primitive).a22 = function () {
5667
- return this.s22_1;
5668
- };
5669
- protoOf(Primitive).x22 = function () {
5791
+ protoOf(Primitive).b22 = function () {
5670
5792
  return this.t22_1;
5671
5793
  };
5672
- protoOf(Primitive).h26 = function (type, isIterable, isMap) {
5794
+ protoOf(Primitive).y22 = function () {
5795
+ return this.u22_1;
5796
+ };
5797
+ protoOf(Primitive).i26 = function (type, isIterable, isMap) {
5673
5798
  return new Primitive(type, isIterable, isMap);
5674
5799
  };
5675
- protoOf(Primitive).i26 = function (type, isIterable, isMap, $super) {
5676
- type = type === VOID ? this.r22_1 : type;
5677
- isIterable = isIterable === VOID ? this.s22_1 : isIterable;
5678
- isMap = isMap === VOID ? this.t22_1 : isMap;
5679
- return $super === VOID ? this.h26(type, isIterable, isMap) : $super.h26.call(this, type, isIterable, isMap);
5800
+ protoOf(Primitive).j26 = function (type, isIterable, isMap, $super) {
5801
+ type = type === VOID ? this.s22_1 : type;
5802
+ isIterable = isIterable === VOID ? this.t22_1 : isIterable;
5803
+ isMap = isMap === VOID ? this.u22_1 : isMap;
5804
+ return $super === VOID ? this.i26(type, isIterable, isMap) : $super.i26.call(this, type, isIterable, isMap);
5680
5805
  };
5681
5806
  protoOf(Primitive).toString = function () {
5682
- return 'Primitive(type=' + this.r22_1 + ', isIterable=' + this.s22_1 + ', isMap=' + this.t22_1 + ')';
5807
+ return 'Primitive(type=' + this.s22_1 + ', isIterable=' + this.t22_1 + ', isMap=' + this.u22_1 + ')';
5683
5808
  };
5684
5809
  protoOf(Primitive).hashCode = function () {
5685
- var result = this.r22_1.hashCode();
5686
- result = imul(result, 31) + (this.s22_1 | 0) | 0;
5810
+ var result = this.s22_1.hashCode();
5687
5811
  result = imul(result, 31) + (this.t22_1 | 0) | 0;
5812
+ result = imul(result, 31) + (this.u22_1 | 0) | 0;
5688
5813
  return result;
5689
5814
  };
5690
5815
  protoOf(Primitive).equals = function (other) {
@@ -5693,22 +5818,22 @@
5693
5818
  if (!(other instanceof Primitive))
5694
5819
  return false;
5695
5820
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
5696
- if (!this.r22_1.equals(tmp0_other_with_cast.r22_1))
5697
- return false;
5698
- if (!(this.s22_1 === tmp0_other_with_cast.s22_1))
5821
+ if (!this.s22_1.equals(tmp0_other_with_cast.s22_1))
5699
5822
  return false;
5700
5823
  if (!(this.t22_1 === tmp0_other_with_cast.t22_1))
5701
5824
  return false;
5825
+ if (!(this.u22_1 === tmp0_other_with_cast.u22_1))
5826
+ return false;
5702
5827
  return true;
5703
5828
  };
5704
5829
  function Identifier(value) {
5705
- this.p22_1 = value;
5830
+ this.q22_1 = value;
5706
5831
  }
5707
5832
  protoOf(Identifier).toString = function () {
5708
- return 'Identifier(value=' + this.p22_1 + ')';
5833
+ return 'Identifier(value=' + this.q22_1 + ')';
5709
5834
  };
5710
5835
  protoOf(Identifier).hashCode = function () {
5711
- return getStringHashCode(this.p22_1);
5836
+ return getStringHashCode(this.q22_1);
5712
5837
  };
5713
5838
  protoOf(Identifier).equals = function (other) {
5714
5839
  if (this === other)
@@ -5716,22 +5841,31 @@
5716
5841
  if (!(other instanceof Identifier))
5717
5842
  return false;
5718
5843
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
5719
- if (!(this.p22_1 === tmp0_other_with_cast.p22_1))
5844
+ if (!(this.q22_1 === tmp0_other_with_cast.q22_1))
5720
5845
  return false;
5721
5846
  return true;
5722
5847
  };
5723
5848
  function Field(identifier, reference, isNullable) {
5724
- this.l22_1 = identifier;
5725
- this.m22_1 = reference;
5726
- this.n22_1 = isNullable;
5849
+ this.m22_1 = identifier;
5850
+ this.n22_1 = reference;
5851
+ this.o22_1 = isNullable;
5727
5852
  }
5853
+ protoOf(Field).k26 = function (identifier, reference, isNullable) {
5854
+ return new Field(identifier, reference, isNullable);
5855
+ };
5856
+ protoOf(Field).o24 = function (identifier, reference, isNullable, $super) {
5857
+ identifier = identifier === VOID ? this.m22_1 : identifier;
5858
+ reference = reference === VOID ? this.n22_1 : reference;
5859
+ isNullable = isNullable === VOID ? this.o22_1 : isNullable;
5860
+ return $super === VOID ? this.k26(identifier, reference, isNullable) : $super.k26.call(this, identifier, reference, isNullable);
5861
+ };
5728
5862
  protoOf(Field).toString = function () {
5729
- return 'Field(identifier=' + this.l22_1 + ', reference=' + this.m22_1 + ', isNullable=' + this.n22_1 + ')';
5863
+ return 'Field(identifier=' + this.m22_1 + ', reference=' + this.n22_1 + ', isNullable=' + this.o22_1 + ')';
5730
5864
  };
5731
5865
  protoOf(Field).hashCode = function () {
5732
- var result = this.l22_1.hashCode();
5733
- result = imul(result, 31) + hashCode(this.m22_1) | 0;
5734
- result = imul(result, 31) + (this.n22_1 | 0) | 0;
5866
+ var result = this.m22_1.hashCode();
5867
+ result = imul(result, 31) + hashCode(this.n22_1) | 0;
5868
+ result = imul(result, 31) + (this.o22_1 | 0) | 0;
5735
5869
  return result;
5736
5870
  };
5737
5871
  protoOf(Field).equals = function (other) {
@@ -5740,22 +5874,22 @@
5740
5874
  if (!(other instanceof Field))
5741
5875
  return false;
5742
5876
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
5743
- if (!this.l22_1.equals(tmp0_other_with_cast.l22_1))
5877
+ if (!this.m22_1.equals(tmp0_other_with_cast.m22_1))
5744
5878
  return false;
5745
- if (!equals(this.m22_1, tmp0_other_with_cast.m22_1))
5879
+ if (!equals(this.n22_1, tmp0_other_with_cast.n22_1))
5746
5880
  return false;
5747
- if (!(this.n22_1 === tmp0_other_with_cast.n22_1))
5881
+ if (!(this.o22_1 === tmp0_other_with_cast.o22_1))
5748
5882
  return false;
5749
5883
  return true;
5750
5884
  };
5751
5885
  function Shape(value) {
5752
- this.k22_1 = value;
5886
+ this.l22_1 = value;
5753
5887
  }
5754
5888
  protoOf(Shape).toString = function () {
5755
- return 'Shape(value=' + this.k22_1 + ')';
5889
+ return 'Shape(value=' + this.l22_1 + ')';
5756
5890
  };
5757
5891
  protoOf(Shape).hashCode = function () {
5758
- return hashCode(this.k22_1);
5892
+ return hashCode(this.l22_1);
5759
5893
  };
5760
5894
  protoOf(Shape).equals = function (other) {
5761
5895
  if (this === other)
@@ -5763,20 +5897,20 @@
5763
5897
  if (!(other instanceof Shape))
5764
5898
  return false;
5765
5899
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
5766
- if (!equals(this.k22_1, tmp0_other_with_cast.k22_1))
5900
+ if (!equals(this.l22_1, tmp0_other_with_cast.l22_1))
5767
5901
  return false;
5768
5902
  return true;
5769
5903
  };
5770
5904
  function Type_0(name, shape) {
5771
- this.f22_1 = name;
5772
- this.g22_1 = shape;
5905
+ this.g22_1 = name;
5906
+ this.h22_1 = shape;
5773
5907
  }
5774
5908
  protoOf(Type_0).toString = function () {
5775
- return 'Type(name=' + this.f22_1 + ', shape=' + this.g22_1 + ')';
5909
+ return 'Type(name=' + this.g22_1 + ', shape=' + this.h22_1 + ')';
5776
5910
  };
5777
5911
  protoOf(Type_0).hashCode = function () {
5778
- var result = getStringHashCode(this.f22_1);
5779
- result = imul(result, 31) + this.g22_1.hashCode() | 0;
5912
+ var result = getStringHashCode(this.g22_1);
5913
+ result = imul(result, 31) + this.h22_1.hashCode() | 0;
5780
5914
  return result;
5781
5915
  };
5782
5916
  protoOf(Type_0).equals = function (other) {
@@ -5785,24 +5919,24 @@
5785
5919
  if (!(other instanceof Type_0))
5786
5920
  return false;
5787
5921
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
5788
- if (!(this.f22_1 === tmp0_other_with_cast.f22_1))
5922
+ if (!(this.g22_1 === tmp0_other_with_cast.g22_1))
5789
5923
  return false;
5790
- if (!this.g22_1.equals(tmp0_other_with_cast.g22_1))
5924
+ if (!this.h22_1.equals(tmp0_other_with_cast.h22_1))
5791
5925
  return false;
5792
5926
  return true;
5793
5927
  };
5794
5928
  function IdxAndLength(idx, length) {
5795
5929
  idx = idx === VOID ? 0 : idx;
5796
5930
  length = length === VOID ? 0 : length;
5797
- this.j26_1 = idx;
5798
- this.k26_1 = length;
5931
+ this.l26_1 = idx;
5932
+ this.m26_1 = length;
5799
5933
  }
5800
5934
  protoOf(IdxAndLength).toString = function () {
5801
- return 'IdxAndLength(idx=' + this.j26_1 + ', length=' + this.k26_1 + ')';
5935
+ return 'IdxAndLength(idx=' + this.l26_1 + ', length=' + this.m26_1 + ')';
5802
5936
  };
5803
5937
  protoOf(IdxAndLength).hashCode = function () {
5804
- var result = this.j26_1;
5805
- result = imul(result, 31) + this.k26_1 | 0;
5938
+ var result = this.l26_1;
5939
+ result = imul(result, 31) + this.m26_1 | 0;
5806
5940
  return result;
5807
5941
  };
5808
5942
  protoOf(IdxAndLength).equals = function (other) {
@@ -5811,9 +5945,9 @@
5811
5945
  if (!(other instanceof IdxAndLength))
5812
5946
  return false;
5813
5947
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
5814
- if (!(this.j26_1 === tmp0_other_with_cast.j26_1))
5948
+ if (!(this.l26_1 === tmp0_other_with_cast.l26_1))
5815
5949
  return false;
5816
- if (!(this.k26_1 === tmp0_other_with_cast.k26_1))
5950
+ if (!(this.m26_1 === tmp0_other_with_cast.m26_1))
5817
5951
  return false;
5818
5952
  return true;
5819
5953
  };
@@ -5821,26 +5955,26 @@
5821
5955
  line = line === VOID ? 1 : line;
5822
5956
  position = position === VOID ? 1 : position;
5823
5957
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
5824
- this.f25_1 = line;
5825
- this.g25_1 = position;
5826
- this.h25_1 = idxAndLength;
5958
+ this.g25_1 = line;
5959
+ this.h25_1 = position;
5960
+ this.i25_1 = idxAndLength;
5827
5961
  }
5828
- protoOf(Coordinates).l26 = function (line, position, idxAndLength) {
5962
+ protoOf(Coordinates).n26 = function (line, position, idxAndLength) {
5829
5963
  return new Coordinates(line, position, idxAndLength);
5830
5964
  };
5831
- protoOf(Coordinates).m26 = function (line, position, idxAndLength, $super) {
5832
- line = line === VOID ? this.f25_1 : line;
5833
- position = position === VOID ? this.g25_1 : position;
5834
- idxAndLength = idxAndLength === VOID ? this.h25_1 : idxAndLength;
5835
- return $super === VOID ? this.l26(line, position, idxAndLength) : $super.l26.call(this, line, position, idxAndLength);
5965
+ protoOf(Coordinates).o26 = function (line, position, idxAndLength, $super) {
5966
+ line = line === VOID ? this.g25_1 : line;
5967
+ position = position === VOID ? this.h25_1 : position;
5968
+ idxAndLength = idxAndLength === VOID ? this.i25_1 : idxAndLength;
5969
+ return $super === VOID ? this.n26(line, position, idxAndLength) : $super.n26.call(this, line, position, idxAndLength);
5836
5970
  };
5837
5971
  protoOf(Coordinates).toString = function () {
5838
- return 'Coordinates(line=' + this.f25_1 + ', position=' + this.g25_1 + ', idxAndLength=' + this.h25_1 + ')';
5972
+ return 'Coordinates(line=' + this.g25_1 + ', position=' + this.h25_1 + ', idxAndLength=' + this.i25_1 + ')';
5839
5973
  };
5840
5974
  protoOf(Coordinates).hashCode = function () {
5841
- var result = this.f25_1;
5842
- result = imul(result, 31) + this.g25_1 | 0;
5843
- result = imul(result, 31) + this.h25_1.hashCode() | 0;
5975
+ var result = this.g25_1;
5976
+ result = imul(result, 31) + this.h25_1 | 0;
5977
+ result = imul(result, 31) + this.i25_1.hashCode() | 0;
5844
5978
  return result;
5845
5979
  };
5846
5980
  protoOf(Coordinates).equals = function (other) {
@@ -5849,35 +5983,35 @@
5849
5983
  if (!(other instanceof Coordinates))
5850
5984
  return false;
5851
5985
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
5852
- if (!(this.f25_1 === tmp0_other_with_cast.f25_1))
5853
- return false;
5854
5986
  if (!(this.g25_1 === tmp0_other_with_cast.g25_1))
5855
5987
  return false;
5856
- if (!this.h25_1.equals(tmp0_other_with_cast.h25_1))
5988
+ if (!(this.h25_1 === tmp0_other_with_cast.h25_1))
5989
+ return false;
5990
+ if (!this.i25_1.equals(tmp0_other_with_cast.i25_1))
5857
5991
  return false;
5858
5992
  return true;
5859
5993
  };
5860
5994
  function Token(type, value, coordinates) {
5861
- this.b25_1 = type;
5862
- this.c25_1 = value;
5863
- this.d25_1 = coordinates;
5995
+ this.c25_1 = type;
5996
+ this.d25_1 = value;
5997
+ this.e25_1 = coordinates;
5864
5998
  }
5865
- protoOf(Token).n26 = function (type, value, coordinates) {
5999
+ protoOf(Token).p26 = function (type, value, coordinates) {
5866
6000
  return new Token(type, value, coordinates);
5867
6001
  };
5868
- protoOf(Token).j25 = function (type, value, coordinates, $super) {
5869
- type = type === VOID ? this.b25_1 : type;
5870
- value = value === VOID ? this.c25_1 : value;
5871
- coordinates = coordinates === VOID ? this.d25_1 : coordinates;
5872
- return $super === VOID ? this.n26(type, value, coordinates) : $super.n26.call(this, type, value, coordinates);
6002
+ protoOf(Token).k25 = function (type, value, coordinates, $super) {
6003
+ type = type === VOID ? this.c25_1 : type;
6004
+ value = value === VOID ? this.d25_1 : value;
6005
+ coordinates = coordinates === VOID ? this.e25_1 : coordinates;
6006
+ return $super === VOID ? this.p26(type, value, coordinates) : $super.p26.call(this, type, value, coordinates);
5873
6007
  };
5874
6008
  protoOf(Token).toString = function () {
5875
- return 'Token(type=' + this.b25_1 + ', value=' + this.c25_1 + ', coordinates=' + this.d25_1 + ')';
6009
+ return 'Token(type=' + this.c25_1 + ', value=' + this.d25_1 + ', coordinates=' + this.e25_1 + ')';
5876
6010
  };
5877
6011
  protoOf(Token).hashCode = function () {
5878
- var result = hashCode(this.b25_1);
5879
- result = imul(result, 31) + getStringHashCode(this.c25_1) | 0;
5880
- result = imul(result, 31) + this.d25_1.hashCode() | 0;
6012
+ var result = hashCode(this.c25_1);
6013
+ result = imul(result, 31) + getStringHashCode(this.d25_1) | 0;
6014
+ result = imul(result, 31) + this.e25_1.hashCode() | 0;
5881
6015
  return result;
5882
6016
  };
5883
6017
  protoOf(Token).equals = function (other) {
@@ -5886,19 +6020,19 @@
5886
6020
  if (!(other instanceof Token))
5887
6021
  return false;
5888
6022
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
5889
- if (!equals(this.b25_1, tmp0_other_with_cast.b25_1))
6023
+ if (!equals(this.c25_1, tmp0_other_with_cast.c25_1))
5890
6024
  return false;
5891
- if (!(this.c25_1 === tmp0_other_with_cast.c25_1))
6025
+ if (!(this.d25_1 === tmp0_other_with_cast.d25_1))
5892
6026
  return false;
5893
- if (!this.d25_1.equals(tmp0_other_with_cast.d25_1))
6027
+ if (!this.e25_1.equals(tmp0_other_with_cast.e25_1))
5894
6028
  return false;
5895
6029
  return true;
5896
6030
  };
5897
6031
  function plus_2(_this__u8e3s4, length) {
5898
- return new IdxAndLength(_this__u8e3s4.j26_1 + length | 0, length);
6032
+ return new IdxAndLength(_this__u8e3s4.l26_1 + length | 0, length);
5899
6033
  }
5900
6034
  function plus_3(_this__u8e3s4, length) {
5901
- return _this__u8e3s4.m26(VOID, _this__u8e3s4.g25_1 + length | 0, plus_2(_this__u8e3s4.h25_1, length));
6035
+ return _this__u8e3s4.o26(VOID, _this__u8e3s4.h25_1 + length | 0, plus_2(_this__u8e3s4.i25_1, length));
5902
6036
  }
5903
6037
  function tokenize(_this__u8e3s4, source) {
5904
6038
  return tokenize_0(_this__u8e3s4, source, nonEmptyListOf(new Token(StartOfProgram_getInstance(), '', new Coordinates()), []));
@@ -5909,12 +6043,12 @@
5909
6043
  var incompleteTokens_0 = incompleteTokens;
5910
6044
  $l$1: do {
5911
6045
  $l$0: do {
5912
- var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).d25_1);
6046
+ var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).e25_1);
5913
6047
  var token = tmp0_container.j3();
5914
6048
  var remaining = tmp0_container.k3();
5915
6049
  var tokens = incompleteTokens_0.v1z(token);
5916
6050
  var tmp;
5917
- var tmp_0 = token.b25_1;
6051
+ var tmp_0 = token.c25_1;
5918
6052
  if (tmp_0 instanceof EndOfProgram) {
5919
6053
  tmp = tokens;
5920
6054
  } else {
@@ -5956,7 +6090,7 @@
5956
6090
  // Inline function 'kotlin.let' call
5957
6091
  // Inline function 'kotlin.contracts.contract' call
5958
6092
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
5959
- tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.c25_1));
6093
+ tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.d25_1));
5960
6094
  }
5961
6095
  var tmp1_elvis_lhs = tmp;
5962
6096
  return tmp1_elvis_lhs == null ? new Pair(endToken(previousTokenCoordinates), '') : tmp1_elvis_lhs;
@@ -5975,7 +6109,7 @@
5975
6109
  function nextCoordinates(_this__u8e3s4, type, value) {
5976
6110
  var tmp;
5977
6111
  if (type instanceof NewLine) {
5978
- tmp = new Coordinates(_this__u8e3s4.f25_1 + 1 | 0, VOID, plus_2(_this__u8e3s4.h25_1, value.length));
6112
+ tmp = new Coordinates(_this__u8e3s4.g25_1 + 1 | 0, VOID, plus_2(_this__u8e3s4.i25_1, value.length));
5979
6113
  } else {
5980
6114
  tmp = plus_3(_this__u8e3s4, value.length);
5981
6115
  }
@@ -5989,7 +6123,7 @@
5989
6123
  while (tmp0_iterator.d()) {
5990
6124
  var element = tmp0_iterator.e();
5991
6125
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.removeWhiteSpace.<anonymous>' call
5992
- var tmp = element.b25_1;
6126
+ var tmp = element.c25_1;
5993
6127
  if (!isInterface(tmp, WhiteSpace)) {
5994
6128
  tmp0_filterNotTo.a(element);
5995
6129
  }
@@ -6630,7 +6764,7 @@
6630
6764
  }
6631
6765
  function EndOfProgram() {
6632
6766
  EndOfProgram_instance = this;
6633
- this.o26_1 = 'EOP';
6767
+ this.q26_1 = 'EOP';
6634
6768
  }
6635
6769
  protoOf(EndOfProgram).toString = function () {
6636
6770
  return 'EndOfProgram';
@@ -6680,7 +6814,7 @@
6680
6814
  }
6681
6815
  return tmp;
6682
6816
  };
6683
- protoOf(Logger).a25 = function (s, block) {
6817
+ protoOf(Logger).b25 = function (s, block) {
6684
6818
  // Inline function 'kotlin.run' call
6685
6819
  // Inline function 'kotlin.contracts.contract' call
6686
6820
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
@@ -6698,82 +6832,82 @@
6698
6832
  }
6699
6833
  }
6700
6834
  //region block: post-declaration
6701
- protoOf(JavaEmitter).h23 = withLogging_2;
6702
- protoOf(JavaEmitter).i23 = withLogging_3;
6703
- protoOf(JavaEmitter).j23 = withLogging_4;
6704
- protoOf(JavaEmitter).k23 = withLogging_5;
6835
+ protoOf(JavaEmitter).i23 = withLogging_2;
6836
+ protoOf(JavaEmitter).j23 = withLogging_3;
6837
+ protoOf(JavaEmitter).k23 = withLogging_4;
6838
+ protoOf(JavaEmitter).l23 = withLogging_5;
6705
6839
  protoOf(JavaEmitter).d21 = withLogging_6;
6706
- protoOf(JavaEmitter).m23 = withLogging;
6707
- protoOf(JavaEmitter).o23 = withLogging_7;
6708
- protoOf(JavaEmitter).p23 = withLogging_8;
6709
- protoOf(JavaEmitter).r23 = withLogging_0;
6710
- protoOf(JavaEmitter).b22 = withLogging_1;
6711
- protoOf(KotlinEmitter).h23 = withLogging_2;
6712
- protoOf(KotlinEmitter).i23 = withLogging_3;
6713
- protoOf(KotlinEmitter).j23 = withLogging_4;
6714
- protoOf(KotlinEmitter).k23 = withLogging_5;
6840
+ protoOf(JavaEmitter).n23 = withLogging;
6841
+ protoOf(JavaEmitter).p23 = withLogging_7;
6842
+ protoOf(JavaEmitter).q23 = withLogging_8;
6843
+ protoOf(JavaEmitter).s23 = withLogging_0;
6844
+ protoOf(JavaEmitter).c22 = withLogging_1;
6845
+ protoOf(KotlinEmitter).i23 = withLogging_2;
6846
+ protoOf(KotlinEmitter).j23 = withLogging_3;
6847
+ protoOf(KotlinEmitter).k23 = withLogging_4;
6848
+ protoOf(KotlinEmitter).l23 = withLogging_5;
6715
6849
  protoOf(KotlinEmitter).d21 = withLogging_6;
6716
- protoOf(KotlinEmitter).m23 = withLogging;
6717
- protoOf(KotlinEmitter).o23 = withLogging_7;
6718
- protoOf(KotlinEmitter).p23 = withLogging_8;
6719
- protoOf(KotlinEmitter).r23 = withLogging_0;
6720
- protoOf(KotlinEmitter).b22 = withLogging_1;
6721
- protoOf(ScalaEmitter).h23 = withLogging_2;
6722
- protoOf(ScalaEmitter).i23 = withLogging_3;
6723
- protoOf(ScalaEmitter).j23 = withLogging_4;
6724
- protoOf(ScalaEmitter).k23 = withLogging_5;
6850
+ protoOf(KotlinEmitter).n23 = withLogging;
6851
+ protoOf(KotlinEmitter).p23 = withLogging_7;
6852
+ protoOf(KotlinEmitter).q23 = withLogging_8;
6853
+ protoOf(KotlinEmitter).s23 = withLogging_0;
6854
+ protoOf(KotlinEmitter).c22 = withLogging_1;
6855
+ protoOf(ScalaEmitter).i23 = withLogging_2;
6856
+ protoOf(ScalaEmitter).j23 = withLogging_3;
6857
+ protoOf(ScalaEmitter).k23 = withLogging_4;
6858
+ protoOf(ScalaEmitter).l23 = withLogging_5;
6725
6859
  protoOf(ScalaEmitter).d21 = withLogging_6;
6726
- protoOf(ScalaEmitter).m23 = withLogging;
6727
- protoOf(ScalaEmitter).o23 = withLogging_7;
6728
- protoOf(ScalaEmitter).p23 = withLogging_8;
6729
- protoOf(ScalaEmitter).r23 = withLogging_0;
6730
- protoOf(TypeScriptEmitter).h23 = withLogging_2;
6731
- protoOf(TypeScriptEmitter).i23 = withLogging_3;
6732
- protoOf(TypeScriptEmitter).j23 = withLogging_4;
6733
- protoOf(TypeScriptEmitter).k23 = withLogging_5;
6860
+ protoOf(ScalaEmitter).n23 = withLogging;
6861
+ protoOf(ScalaEmitter).p23 = withLogging_7;
6862
+ protoOf(ScalaEmitter).q23 = withLogging_8;
6863
+ protoOf(ScalaEmitter).s23 = withLogging_0;
6864
+ protoOf(TypeScriptEmitter).i23 = withLogging_2;
6865
+ protoOf(TypeScriptEmitter).j23 = withLogging_3;
6866
+ protoOf(TypeScriptEmitter).k23 = withLogging_4;
6867
+ protoOf(TypeScriptEmitter).l23 = withLogging_5;
6734
6868
  protoOf(TypeScriptEmitter).d21 = withLogging_6;
6735
- protoOf(TypeScriptEmitter).m23 = withLogging;
6736
- protoOf(TypeScriptEmitter).o23 = withLogging_7;
6737
- protoOf(TypeScriptEmitter).p23 = withLogging_8;
6738
- protoOf(TypeScriptEmitter).r23 = withLogging_0;
6739
- protoOf(TypeScriptEmitter).b22 = withLogging_1;
6740
- protoOf(WirespecEmitter).h23 = withLogging_2;
6741
- protoOf(WirespecEmitter).i23 = withLogging_3;
6742
- protoOf(WirespecEmitter).j23 = withLogging_4;
6743
- protoOf(WirespecEmitter).k23 = withLogging_5;
6869
+ protoOf(TypeScriptEmitter).n23 = withLogging;
6870
+ protoOf(TypeScriptEmitter).p23 = withLogging_7;
6871
+ protoOf(TypeScriptEmitter).q23 = withLogging_8;
6872
+ protoOf(TypeScriptEmitter).s23 = withLogging_0;
6873
+ protoOf(TypeScriptEmitter).c22 = withLogging_1;
6874
+ protoOf(WirespecEmitter).i23 = withLogging_2;
6875
+ protoOf(WirespecEmitter).j23 = withLogging_3;
6876
+ protoOf(WirespecEmitter).k23 = withLogging_4;
6877
+ protoOf(WirespecEmitter).l23 = withLogging_5;
6744
6878
  protoOf(WirespecEmitter).d21 = withLogging_6;
6745
- protoOf(WirespecEmitter).m23 = withLogging;
6746
- protoOf(WirespecEmitter).o23 = withLogging_7;
6747
- protoOf(WirespecEmitter).p23 = withLogging_8;
6748
- protoOf(WirespecEmitter).r23 = withLogging_0;
6749
- protoOf(WsTypeDef).e25 = name;
6750
- protoOf(WsEnumTypeDef).e25 = name;
6751
- protoOf(WsRefinedTypeDef).e25 = name;
6752
- protoOf(WsEndpointDef).e25 = name;
6753
- protoOf(WhiteSpaceExceptNewLine).e25 = name;
6754
- protoOf(NewLine).e25 = name;
6755
- protoOf(LeftCurly).e25 = name;
6756
- protoOf(RightCurly).e25 = name;
6757
- protoOf(Colon).e25 = name;
6758
- protoOf(Comma).e25 = name;
6759
- protoOf(QuestionMark).e25 = name;
6760
- protoOf(Hash).e25 = name;
6761
- protoOf(Brackets).e25 = name;
6762
- protoOf(WsString).e25 = name;
6763
- protoOf(WsInteger).e25 = name;
6764
- protoOf(WsNumber).e25 = name;
6765
- protoOf(WsBoolean).e25 = name;
6766
- protoOf(Arrow).e25 = name;
6767
- protoOf(Method_0).e25 = name;
6768
- protoOf(CustomRegex).e25 = name;
6769
- protoOf(StatusCode_0).e25 = name;
6770
- protoOf(CustomValue).e25 = name;
6771
- protoOf(CustomType).e25 = name;
6772
- protoOf(Path_0).e25 = name;
6773
- protoOf(ForwardSlash).e25 = name;
6774
- protoOf(Invalid).e25 = name;
6775
- protoOf(StartOfProgram).e25 = name;
6776
- protoOf(EndOfProgram).e25 = name;
6879
+ protoOf(WirespecEmitter).n23 = withLogging;
6880
+ protoOf(WirespecEmitter).p23 = withLogging_7;
6881
+ protoOf(WirespecEmitter).q23 = withLogging_8;
6882
+ protoOf(WirespecEmitter).s23 = withLogging_0;
6883
+ protoOf(WsTypeDef).f25 = name;
6884
+ protoOf(WsEnumTypeDef).f25 = name;
6885
+ protoOf(WsRefinedTypeDef).f25 = name;
6886
+ protoOf(WsEndpointDef).f25 = name;
6887
+ protoOf(WhiteSpaceExceptNewLine).f25 = name;
6888
+ protoOf(NewLine).f25 = name;
6889
+ protoOf(LeftCurly).f25 = name;
6890
+ protoOf(RightCurly).f25 = name;
6891
+ protoOf(Colon).f25 = name;
6892
+ protoOf(Comma).f25 = name;
6893
+ protoOf(QuestionMark).f25 = name;
6894
+ protoOf(Hash).f25 = name;
6895
+ protoOf(Brackets).f25 = name;
6896
+ protoOf(WsString).f25 = name;
6897
+ protoOf(WsInteger).f25 = name;
6898
+ protoOf(WsNumber).f25 = name;
6899
+ protoOf(WsBoolean).f25 = name;
6900
+ protoOf(Arrow).f25 = name;
6901
+ protoOf(Method_0).f25 = name;
6902
+ protoOf(CustomRegex).f25 = name;
6903
+ protoOf(StatusCode_0).f25 = name;
6904
+ protoOf(CustomValue).f25 = name;
6905
+ protoOf(CustomType).f25 = name;
6906
+ protoOf(Path_0).f25 = name;
6907
+ protoOf(ForwardSlash).f25 = name;
6908
+ protoOf(Invalid).f25 = name;
6909
+ protoOf(StartOfProgram).f25 = name;
6910
+ protoOf(EndOfProgram).f25 = name;
6777
6911
  //endregion
6778
6912
  //region block: init
6779
6913
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';