@flock/wirespec 0.10.11 → 0.10.13

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.
@@ -48,6 +48,7 @@
48
48
  var first = kotlin_kotlin.$_$.qc;
49
49
  var Char = kotlin_kotlin.$_$.se;
50
50
  var distinct = kotlin_kotlin.$_$.y5;
51
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
51
52
  var trimMargin = kotlin_kotlin.$_$.me;
52
53
  var listOfNotNull = kotlin_kotlin.$_$.f7;
53
54
  var split = kotlin_kotlin.$_$.od;
@@ -67,7 +68,6 @@
67
68
  var dropLast = kotlin_kotlin.$_$.kc;
68
69
  var replace = kotlin_kotlin.$_$.jd;
69
70
  var first_0 = kotlin_kotlin.$_$.h6;
70
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
71
71
  var trimIndent = kotlin_kotlin.$_$.le;
72
72
  var prependIndent = kotlin_kotlin.$_$.ed;
73
73
  var toSet = kotlin_kotlin.$_$.p8;
@@ -83,7 +83,6 @@
83
83
  var IndexedValue = kotlin_kotlin.$_$.n4;
84
84
  var listOfNotNull_0 = kotlin_kotlin.$_$.e7;
85
85
  var flatten = kotlin_kotlin.$_$.j6;
86
- var initMetadataForInterface = kotlin_kotlin.$_$.aa;
87
86
  var captureStack = kotlin_kotlin.$_$.i9;
88
87
  var RuntimeException = kotlin_kotlin.$_$.hf;
89
88
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.r1;
@@ -95,7 +94,7 @@
95
94
  var emptyList = kotlin_kotlin.$_$.b6;
96
95
  var drop = kotlin_kotlin.$_$.lc;
97
96
  var toList = kotlin_kotlin.$_$.k8;
98
- var getKClassFromExpression = kotlin_kotlin.$_$.d;
97
+ var initMetadataForInterface = kotlin_kotlin.$_$.aa;
99
98
  var toString_1 = kotlin_kotlin.$_$.gg;
100
99
  var THROW_IAE = kotlin_kotlin.$_$.jf;
101
100
  var enumEntries = kotlin_kotlin.$_$.a9;
@@ -111,6 +110,7 @@
111
110
  var last = kotlin_kotlin.$_$.c7;
112
111
  var Pair = kotlin_kotlin.$_$.ff;
113
112
  var toNonEmptyListOrNull = kotlin_io_arrow_kt_arrow_core.$_$.j;
113
+ var getKClassFromExpression = kotlin_kotlin.$_$.d;
114
114
  var ensureNotNull = kotlin_kotlin.$_$.yf;
115
115
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
116
116
  var println = kotlin_kotlin.$_$.b9;
@@ -119,11 +119,7 @@
119
119
  initMetadataForClass(Reported, 'Reported', VOID, Enum);
120
120
  initMetadataForObject(WirespecSpec, 'WirespecSpec');
121
121
  initMetadataForCompanion(Companion);
122
- function emit(_this__u8e3s4, type) {
123
- return _this__u8e3s4.y22_1;
124
- }
125
- initMetadataForInterface(IdentifierEmitter, 'IdentifierEmitter');
126
- initMetadataForClass(Emitter, 'Emitter', VOID, VOID, [IdentifierEmitter]);
122
+ initMetadataForClass(Emitter, 'Emitter');
127
123
  initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, Emitter);
128
124
  initMetadataForCompanion(Companion_0);
129
125
  initMetadataForClass(KotlinEmitter, 'KotlinEmitter', KotlinEmitter, Emitter);
@@ -152,16 +148,14 @@
152
148
  initMetadataForClass(EnumParser, 'EnumParser', VOID, AbstractParser);
153
149
  initMetadataForInterface(Definition, 'Definition');
154
150
  initMetadataForClass(Comment, 'Comment');
155
- initMetadataForClass(Type, 'Type', VOID, Enum);
156
- initMetadataForCompanion(Companion_5);
157
151
  initMetadataForClass(Identifier, 'Identifier');
158
- initMetadataForClass(Type_0, 'Type', VOID, Enum);
152
+ initMetadataForClass(Type, 'Type', VOID, Enum);
159
153
  initMetadataForClass(Any, 'Any');
160
154
  initMetadataForClass(Unit, 'Unit');
161
155
  initMetadataForClass(Custom, 'Custom');
162
156
  initMetadataForClass(Primitive, 'Primitive');
163
157
  initMetadataForClass(Shape, 'Shape');
164
- initMetadataForClass(Type_1, 'Type', VOID, VOID, [Definition]);
158
+ initMetadataForClass(Type_0, 'Type', VOID, VOID, [Definition]);
165
159
  initMetadataForClass(Literal, 'Literal');
166
160
  initMetadataForClass(Param_0, 'Param');
167
161
  initMetadataForClass(Method, 'Method', VOID, Enum);
@@ -174,7 +168,9 @@
174
168
  initMetadataForClass(Refined, 'Refined', VOID, VOID, [Definition]);
175
169
  initMetadataForClass(Union, 'Union', VOID, VOID, [Definition]);
176
170
  initMetadataForClass(Channel, 'Channel', VOID, VOID, [Definition]);
171
+ initMetadataForClass(FieldIdentifier, 'FieldIdentifier', VOID, Identifier);
177
172
  initMetadataForClass(Field, 'Field');
173
+ initMetadataForClass(DefinitionIdentifier, 'DefinitionIdentifier', VOID, Identifier);
178
174
  initMetadataForClass(Parser, 'Parser', VOID, AbstractParser);
179
175
  initMetadataForClass(TokenProvider, 'TokenProvider');
180
176
  initMetadataForClass(TypeParser, 'TypeParser', VOID, AbstractParser);
@@ -216,7 +212,7 @@
216
212
  initMetadataForObject(Character, 'Character');
217
213
  initMetadataForObject(StartOfProgram, 'StartOfProgram', VOID, VOID, [WhiteSpace]);
218
214
  initMetadataForObject(EndOfProgram, 'EndOfProgram');
219
- initMetadataForCompanion(Companion_6);
215
+ initMetadataForCompanion(Companion_5);
220
216
  initMetadataForClass(Level, 'Level', VOID, Enum);
221
217
  initMetadataForClass(Logger, 'Logger');
222
218
  initMetadataForClass(noLogger$1, VOID, VOID, Logger);
@@ -503,7 +499,7 @@
503
499
  while (tmp0_iterator_2.h()) {
504
500
  var element_2 = tmp0_iterator_2.i();
505
501
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitUnion.<anonymous>.<anonymous>' call
506
- if (element_2.v22_1 === _this__u8e3s4.a23_1.y22_1) {
502
+ if (element_2.v22_1 === _this__u8e3s4.z22_1.b1()) {
507
503
  tmp$ret$4 = true;
508
504
  break $l$block_0;
509
505
  }
@@ -520,7 +516,7 @@
520
516
  while (tmp0_iterator_3.h()) {
521
517
  var item = tmp0_iterator_3.i();
522
518
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitUnion.<anonymous>' call
523
- var tmp$ret$9 = item.t22_1.y22_1;
519
+ var tmp$ret$9 = item.t22_1.b1();
524
520
  destination_2.e(tmp$ret$9);
525
521
  }
526
522
  // Inline function 'kotlin.contracts.contract' call
@@ -545,10 +541,10 @@
545
541
  tmp = 'Object';
546
542
  } else {
547
543
  if (_this__u8e3s4 instanceof Custom) {
548
- tmp = emit_0(_this__u8e3s4, $this);
544
+ tmp = emit(_this__u8e3s4, $this);
549
545
  } else {
550
546
  if (_this__u8e3s4 instanceof Primitive) {
551
- tmp = emit_1(_this__u8e3s4, $this);
547
+ tmp = emit_0(_this__u8e3s4, $this);
552
548
  } else {
553
549
  noWhenBranchMatchedException();
554
550
  }
@@ -561,7 +557,7 @@
561
557
  void_0 = void_0 === VOID ? 'void' : void_0;
562
558
  return emitType(_this__u8e3s4, $this, void_0);
563
559
  }
564
- function emit_0(_this__u8e3s4, $this) {
560
+ function emit(_this__u8e3s4, $this) {
565
561
  // Inline function 'kotlin.let' call
566
562
  // Inline function 'kotlin.text.orEmpty' call
567
563
  // Inline function 'kotlin.takeIf' call
@@ -589,7 +585,7 @@
589
585
  var tmp$ret$6 = (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + _this__u8e3s4.v22_1;
590
586
  return sanitizeSymbol(tmp$ret$6, $this);
591
587
  }
592
- function emit_1(_this__u8e3s4, $this) {
588
+ function emit_0(_this__u8e3s4, $this) {
593
589
  var tmp;
594
590
  switch (_this__u8e3s4.i23_1.q2_1) {
595
591
  case 0:
@@ -627,15 +623,27 @@
627
623
  }
628
624
  function emitResponseInterfaces(_this__u8e3s4, $this) {
629
625
  // Inline function 'kotlin.collections.map' call
626
+ // Inline function 'kotlin.collections.distinctBy' call
630
627
  var this_0 = _this__u8e3s4.u23_1;
631
- // Inline function 'kotlin.collections.mapTo' call
632
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
628
+ var set = HashSet_init_$Create$();
629
+ var list = ArrayList_init_$Create$();
633
630
  var tmp0_iterator = this_0.g();
634
631
  while (tmp0_iterator.h()) {
635
- var item = tmp0_iterator.i();
632
+ var e = tmp0_iterator.i();
636
633
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseInterfaces.<anonymous>' call
637
- var tmp$ret$0 = emit_2(item.x23_1, $this);
638
- destination.e(tmp$ret$0);
634
+ var key = e.v23_1;
635
+ if (set.e(key)) {
636
+ list.e(e);
637
+ }
638
+ }
639
+ // Inline function 'kotlin.collections.mapTo' call
640
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(list, 10));
641
+ var tmp0_iterator_0 = list.g();
642
+ while (tmp0_iterator_0.h()) {
643
+ var item = tmp0_iterator_0.i();
644
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseInterfaces.<anonymous>' call
645
+ var tmp$ret$2 = emit_1(item.x23_1, $this);
646
+ destination.e(tmp$ret$2);
639
647
  }
640
648
  var tmp = distinct(destination);
641
649
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseInterfaces$lambda);
@@ -675,7 +683,7 @@
675
683
  }
676
684
  var tmp_9 = tmp_8;
677
685
  var tmp_10 = Spacer_instance.z23(4);
678
- var tmp_11 = emit_2(_this__u8e3s4.a24_1, $this);
686
+ var tmp_11 = emit_1(_this__u8e3s4.a24_1, $this);
679
687
  var tmp0_safe_receiver = _this__u8e3s4.a24_1;
680
688
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c24_1;
681
689
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.e24();
@@ -694,7 +702,7 @@
694
702
  // Inline function 'kotlin.let' call
695
703
  // Inline function 'kotlin.contracts.contract' call
696
704
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitConstructor.<anonymous>' call
697
- tmp_3 = emit_2(tmp0_safe_receiver, $this) + ' body';
705
+ tmp_3 = emit_1(tmp0_safe_receiver, $this) + ' body';
698
706
  }
699
707
  var tmp_4 = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]));
700
708
  var tmp_5 = Spacer_instance.z23(3);
@@ -738,7 +746,7 @@
738
746
  // Inline function 'kotlin.let' call
739
747
  // Inline function 'kotlin.contracts.contract' call
740
748
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitDeserializedParams.<anonymous>' call
741
- tmp_3 = Spacer_instance.z23(4) + 'serialization.deserialize(request.body(), Wirespec.getType(' + emit_2(tmp0_safe_receiver, $this) + '.class, ' + tmp0_safe_receiver.c24_1.e24() + '))';
749
+ tmp_3 = Spacer_instance.z23(4) + 'serialization.deserialize(request.body(), Wirespec.getType(' + emit_1(tmp0_safe_receiver, $this) + '.class, ' + tmp0_safe_receiver.c24_1.e24() + '))';
742
750
  }
743
751
  // Inline function 'kotlin.contracts.contract' call
744
752
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitDeserializedParams.<anonymous>' call
@@ -779,32 +787,32 @@
779
787
  return Spacer_instance.z23(4) + 'case ' + _this__u8e3s4.v23_1 + ' -> new Response' + Companion_getInstance_3().h24(_this__u8e3s4.v23_1) + '(' + emitDeserializedParams_0(_this__u8e3s4, $this) + ');';
780
788
  }
781
789
  function emitSerialized_0(_this__u8e3s4, $this, fields) {
782
- return 'java.util.Map.entry("' + _this__u8e3s4.i24_1.y22_1 + '", serialization.serialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ', Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))';
790
+ return 'java.util.Map.entry("' + _this__u8e3s4.i24_1.b1() + '", serialization.serialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1) + ', Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))';
783
791
  }
784
792
  function emitDeserialized_0(_this__u8e3s4, $this) {
785
793
  return Spacer_instance.z23(4) + 'serialization.<' + $this.o24(_this__u8e3s4.pd_1.n24_1) + '>deserialize(request.path().get(' + _this__u8e3s4.od_1 + '), Wirespec.getType(' + emitType$default(_this__u8e3s4.pd_1.n24_1, $this) + '.class, ' + _this__u8e3s4.pd_1.n24_1.e24() + '))';
786
794
  }
787
795
  function emitDeserialized_1(_this__u8e3s4, $this, fields) {
788
- return Spacer_instance.z23(4) + 'java.util.Optional.ofNullable(request.' + fields + '().get("' + _this__u8e3s4.i24_1.y22_1 + '")).map(it -> serialization.<' + $this.o24(_this__u8e3s4.j24_1) + '>deserialize(it, Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))' + (!_this__u8e3s4.k24_1 ? '.get()' : '');
796
+ return Spacer_instance.z23(4) + 'java.util.Optional.ofNullable(request.' + fields + '().get("' + _this__u8e3s4.i24_1.b1() + '")).map(it -> serialization.<' + $this.o24(_this__u8e3s4.j24_1) + '>deserialize(it, Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))' + (!_this__u8e3s4.k24_1 ? '.get()' : '');
789
797
  }
790
- function emitSerializedMap(_this__u8e3s4, $this, fields) {
791
- return 'java.util.Map.entry("' + _this__u8e3s4.i24_1.y22_1 + '", serialization.serialize(response.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ', Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))';
798
+ function emitSerializedHeader(_this__u8e3s4, $this) {
799
+ return 'java.util.Map.entry("' + _this__u8e3s4.i24_1.b1() + '", serialization.serialize(r.getHeaders().' + $this.l24(_this__u8e3s4.i24_1) + '(), Wirespec.getType(' + emitType$default(_this__u8e3s4.j24_1, $this) + '.class, ' + _this__u8e3s4.j24_1.e24() + ')))';
792
800
  }
793
801
  function emitIdentifier(_this__u8e3s4, $this) {
794
- return 'serialization.serialize(request.path.' + Companion_getInstance_3().p24($this.l24(_this__u8e3s4.m24_1, Type_Field_getInstance())) + ', Wirespec.getType(' + emitType$default(_this__u8e3s4.n24_1, $this) + '.class, ' + _this__u8e3s4.n24_1.e24() + '))';
802
+ return 'serialization.serialize(request.path.' + Companion_getInstance_3().p24($this.l24(_this__u8e3s4.m24_1)) + ', Wirespec.getType(' + emitType$default(_this__u8e3s4.n24_1, $this) + '.class, ' + _this__u8e3s4.n24_1.e24() + '))';
795
803
  }
796
804
  function emitType_0(_this__u8e3s4, $this) {
797
805
  var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.c24_1;
798
806
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : emitType$default(tmp1_safe_receiver, $this);
799
807
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
800
808
  }
801
- function emit_2(_this__u8e3s4, $this) {
809
+ function emit_1(_this__u8e3s4, $this) {
802
810
  var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.c24_1;
803
811
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.o24(tmp1_safe_receiver);
804
812
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
805
813
  }
806
- function emit_3(_this__u8e3s4, $this) {
807
- return $this.o24(_this__u8e3s4.n24_1) + ' ' + $this.l24(_this__u8e3s4.m24_1, Type_Field_getInstance());
814
+ function emit_2(_this__u8e3s4, $this) {
815
+ return $this.o24(_this__u8e3s4.n24_1) + ' ' + $this.l24(_this__u8e3s4.m24_1);
808
816
  }
809
817
  function emitWrap(_this__u8e3s4, $this, isNullable) {
810
818
  // Inline function 'kotlin.let' call
@@ -815,10 +823,10 @@
815
823
  var it = _this__u8e3s4.b1();
816
824
  // Inline function 'kotlin.contracts.contract' call
817
825
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitWrap.<anonymous>' call
818
- var it_0 = _this__u8e3s4.e24() ? 'java.util.Optional<' + it + '>' : it;
826
+ var it_0 = isNullable ? 'java.util.Optional<' + it + '>' : it;
819
827
  // Inline function 'kotlin.contracts.contract' call
820
828
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitWrap.<anonymous>' call
821
- var it_1 = isNullable ? 'java.util.List<' + it_0 + '>' : it_0;
829
+ var it_1 = _this__u8e3s4.e24() ? 'java.util.List<' + it_0 + '>' : it_0;
822
830
  return _this__u8e3s4.q24() ? 'java.util.Map<String, ' + it_1 + '>' : it_1;
823
831
  }
824
832
  function fixStatus(_this__u8e3s4, $this) {
@@ -882,7 +890,7 @@
882
890
  }
883
891
  function JavaEmitter$emit$lambda_3(this$0) {
884
892
  return function (it) {
885
- return emit_3(it, this$0);
893
+ return emit_2(it, this$0);
886
894
  };
887
895
  }
888
896
  function JavaEmitter$emit$lambda_4(this$0) {
@@ -958,7 +966,7 @@
958
966
  }
959
967
  function JavaEmitter$emit$lambda_11(this$0) {
960
968
  return function (it) {
961
- return this$0.l24(it.i24_1, Type_Field_getInstance());
969
+ return this$0.l24(it.i24_1);
962
970
  };
963
971
  }
964
972
  function JavaEmitter$emit$lambda_12(this$0) {
@@ -968,7 +976,7 @@
968
976
  }
969
977
  function JavaEmitter$emitConstructor$lambda(this$0) {
970
978
  return function (it) {
971
- return emit_3(it, this$0);
979
+ return emit_2(it, this$0);
972
980
  };
973
981
  }
974
982
  function JavaEmitter$emitConstructor$lambda_0(this$0) {
@@ -983,17 +991,17 @@
983
991
  }
984
992
  function JavaEmitter$emitConstructor$lambda_2(this$0) {
985
993
  return function (it) {
986
- return this$0.l24(it.m24_1, Type_Field_getInstance());
994
+ return this$0.l24(it.m24_1);
987
995
  };
988
996
  }
989
997
  function JavaEmitter$emitConstructor$lambda_3(this$0) {
990
998
  return function (it) {
991
- return this$0.l24(it.i24_1, Type_Field_getInstance());
999
+ return this$0.l24(it.i24_1);
992
1000
  };
993
1001
  }
994
1002
  function JavaEmitter$emitConstructor$lambda_4(this$0) {
995
1003
  return function (it) {
996
- return this$0.l24(it.i24_1, Type_Field_getInstance());
1004
+ return this$0.l24(it.i24_1);
997
1005
  };
998
1006
  }
999
1007
  function JavaEmitter$emitDeserializedParams$lambda(this$0) {
@@ -1013,12 +1021,12 @@
1013
1021
  }
1014
1022
  function JavaEmitter$emitDeserializedParams$lambda_2(this$0) {
1015
1023
  return function (it) {
1016
- return Spacer_instance.z23(4) + 'java.util.Optional.ofNullable(response.headers().get("' + it.i24_1.y22_1 + '")).map(it -> serialization.deserialize(it, Wirespec.getType(' + emitType$default(it.j24_1, this$0) + '.class, ' + it.j24_1.e24() + ')))' + (!it.k24_1 ? '.get()' : '');
1024
+ return Spacer_instance.z23(4) + 'java.util.Optional.ofNullable(response.headers().get("' + it.i24_1.b1() + '")).map(it -> serialization.deserialize(it, Wirespec.getType(' + emitType$default(it.j24_1, this$0) + '.class, ' + it.j24_1.e24() + ')))' + (!it.k24_1 ? '.get()' : '');
1017
1025
  };
1018
1026
  }
1019
1027
  function JavaEmitter$emitSerialized$lambda(this$0) {
1020
1028
  return function (it) {
1021
- return emitSerializedMap(it, this$0, 'headers');
1029
+ return emitSerializedHeader(it, this$0);
1022
1030
  };
1023
1031
  }
1024
1032
  function JavaEmitter$sanitizeSymbol$lambda(it) {
@@ -1041,22 +1049,22 @@
1041
1049
  protoOf(JavaEmitter).x24 = function (_this__u8e3s4) {
1042
1050
  var tmp;
1043
1051
  if (_this__u8e3s4 instanceof Endpoint) {
1044
- tmp = this.l24(_this__u8e3s4.n23_1, Type_Class_getInstance()) + 'Endpoint';
1052
+ tmp = this.l24(_this__u8e3s4.n23_1) + 'Endpoint';
1045
1053
  } else {
1046
1054
  if (_this__u8e3s4 instanceof Channel) {
1047
- tmp = this.l24(_this__u8e3s4.f25_1, Type_Class_getInstance()) + 'Channel';
1055
+ tmp = this.l24(_this__u8e3s4.f25_1) + 'Channel';
1048
1056
  } else {
1049
1057
  if (_this__u8e3s4 instanceof Enum_0) {
1050
- tmp = this.l24(_this__u8e3s4.c25_1, Type_Class_getInstance());
1058
+ tmp = this.l24(_this__u8e3s4.c25_1);
1051
1059
  } else {
1052
1060
  if (_this__u8e3s4 instanceof Refined) {
1053
- tmp = this.l24(_this__u8e3s4.z24_1, Type_Class_getInstance());
1061
+ tmp = this.l24(_this__u8e3s4.z24_1);
1054
1062
  } else {
1055
- if (_this__u8e3s4 instanceof Type_1) {
1056
- tmp = this.l24(_this__u8e3s4.a23_1, Type_Class_getInstance());
1063
+ if (_this__u8e3s4 instanceof Type_0) {
1064
+ tmp = this.l24(_this__u8e3s4.z22_1);
1057
1065
  } else {
1058
1066
  if (_this__u8e3s4 instanceof Union) {
1059
- tmp = this.l24(_this__u8e3s4.t22_1, Type_Class_getInstance());
1067
+ tmp = this.l24(_this__u8e3s4.t22_1);
1060
1068
  } else {
1061
1069
  noWhenBranchMatchedException();
1062
1070
  }
@@ -1089,11 +1097,11 @@
1089
1097
  };
1090
1098
  protoOf(JavaEmitter).l25 = function (type, ast) {
1091
1099
  var tmp = this.x24(type);
1092
- var tmp_0 = this.m25(type.b23_1);
1100
+ var tmp_0 = this.m25(type.a23_1);
1093
1101
  // Inline function 'kotlin.run' call
1094
1102
  // Inline function 'kotlin.contracts.contract' call
1095
1103
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1096
- var $this$run = type.c23_1;
1104
+ var $this$run = type.b23_1;
1097
1105
  var tmp_1;
1098
1106
  if ($this$run.l()) {
1099
1107
  tmp_1 = '';
@@ -1107,7 +1115,7 @@
1107
1115
  return dropLast(joinToString(_this__u8e3s4.n25_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_0(this)), 1);
1108
1116
  };
1109
1117
  protoOf(JavaEmitter).s24 = function (_this__u8e3s4) {
1110
- return (_this__u8e3s4.k24_1 ? 'java.util.Optional<' + this.o24(_this__u8e3s4.j24_1) + '>' : this.o24(_this__u8e3s4.j24_1)) + ' ' + this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance());
1118
+ return (_this__u8e3s4.k24_1 ? 'java.util.Optional<' + this.o24(_this__u8e3s4.j24_1) + '>' : this.o24(_this__u8e3s4.j24_1)) + ' ' + this.l24(_this__u8e3s4.i24_1);
1111
1119
  };
1112
1120
  protoOf(JavaEmitter).o24 = function (_this__u8e3s4) {
1113
1121
  // Inline function 'kotlin.let' call
@@ -1120,40 +1128,38 @@
1120
1128
  var it_0 = _this__u8e3s4.e24() ? 'java.util.List<' + it + '>' : it;
1121
1129
  return _this__u8e3s4.q24() ? 'java.util.Map<String, ' + it_0 + '>' : it_0;
1122
1130
  };
1123
- protoOf(JavaEmitter).l24 = function (_this__u8e3s4, type) {
1131
+ protoOf(JavaEmitter).l24 = function (identifier) {
1124
1132
  var tmp;
1125
- switch (type.q2_1) {
1126
- case 0:
1127
- tmp = Companion_getInstance_3().h24(sanitizeSymbol(_this__u8e3s4.y22_1, this));
1128
- break;
1129
- case 1:
1130
- tmp = sanitizeKeywords(Companion_getInstance_3().p24(sanitizeSymbol(_this__u8e3s4.y22_1, this)), this);
1131
- break;
1132
- default:
1133
+ if (identifier instanceof DefinitionIdentifier) {
1134
+ tmp = Companion_getInstance_3().h24(sanitizeSymbol(identifier.b1(), this));
1135
+ } else {
1136
+ if (identifier instanceof FieldIdentifier) {
1137
+ tmp = sanitizeKeywords(Companion_getInstance_3().p24(sanitizeSymbol(identifier.b1(), this)), this);
1138
+ } else {
1133
1139
  noWhenBranchMatchedException();
1134
- break;
1140
+ }
1135
1141
  }
1136
1142
  return tmp;
1137
1143
  };
1138
1144
  protoOf(JavaEmitter).o25 = function (refined) {
1139
- return trimMargin('\n |public record ' + this.l24(refined.z24_1, Type_Class_getInstance()) + ' (String value) implements Wirespec.Refined {\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() { return value; }\n |' + Spacer_instance.toString() + 'public static boolean validate(' + this.x24(refined) + ' record) {\n |' + Spacer_instance.toString() + this.p25(refined.a25_1) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String getValue() { return value; }\n |}\n |\n ');
1145
+ return trimMargin('\n |public record ' + this.l24(refined.z24_1) + ' (String value) implements Wirespec.Refined {\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() { return value; }\n |' + Spacer_instance.toString() + 'public static boolean validate(' + this.x24(refined) + ' record) {\n |' + Spacer_instance.toString() + this.p25(refined.a25_1) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String getValue() { return value; }\n |}\n |\n ');
1140
1146
  };
1141
1147
  protoOf(JavaEmitter).p25 = function (_this__u8e3s4) {
1142
1148
  return Spacer_instance.toString() + 'return java.util.regex.Pattern.compile("' + replace(_this__u8e3s4.r25_1, '\\', '\\\\') + '").matcher(record.value).find();';
1143
1149
  };
1144
1150
  protoOf(JavaEmitter).s25 = function (enum_0) {
1145
- var tmp = this.l24(enum_0.c25_1, Type_Class_getInstance());
1146
- return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + this.t25(joinToString(enum_0.d25_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_1(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.l24(enum_0.c25_1, Type_Class_getInstance()) + '(String label) {\n |' + Spacer_instance.z23(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.z23(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String getLabel() {\n |' + Spacer_instance.z23(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1151
+ var tmp = this.l24(enum_0.c25_1);
1152
+ return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + this.t25(joinToString(enum_0.d25_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_1(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.l24(enum_0.c25_1) + '(String label) {\n |' + Spacer_instance.z23(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.z23(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String getLabel() {\n |' + Spacer_instance.z23(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1147
1153
  };
1148
1154
  protoOf(JavaEmitter).u25 = function (union) {
1149
1155
  var tmp = this.x24(union);
1150
1156
  return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.u22_1, VOID, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_2) + ' {}\n |\n ');
1151
1157
  };
1152
1158
  protoOf(JavaEmitter).v25 = function (channel) {
1153
- return trimMargin('\n |interface ' + this.l24(channel.f25_1, Type_Class_getInstance()) + 'Channel {\n | void invoke(' + emitWrap(channel.h25_1, this, channel.g25_1) + ' message)\n |}\n |\n ');
1159
+ return trimMargin('\n |interface ' + this.l24(channel.f25_1) + 'Channel {\n | void invoke(' + emitWrap(channel.h25_1, this, channel.g25_1) + ' message)\n |}\n |\n ');
1154
1160
  };
1155
1161
  protoOf(JavaEmitter).w25 = function (endpoint) {
1156
- var tmp = this.l24(endpoint.n23_1, Type_Class_getInstance());
1162
+ var tmp = this.l24(endpoint.n23_1);
1157
1163
  var tmp_0 = this.f24(endpoint);
1158
1164
  var tmp_1 = emitObject(tmp_0, this, 'Path', 'Wirespec.Path', JavaEmitter$emit$lambda_3(this));
1159
1165
  var tmp_2 = emitObject(endpoint.q23_1, this, 'Queries', 'Wirespec.Queries', JavaEmitter$emit$lambda_4(this));
@@ -1235,10 +1241,10 @@
1235
1241
  return trimMargin('\n |public interface ' + tmp + 'Endpoint extends Wirespec.Endpoint {\n |' + tmp_1 + '\n |\n |' + tmp_2 + '\n |\n |' + tmp_3 + '\n |\n |' + tmp_4 + '\n |\n |' + tmp_5 + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_6 + '\n |' + tmp_7 + '\n |\n |' + tmp_9 + '\n |\n |' + tmp_10 + 'interface Handler extends Wirespec.Handler {\n |\n |' + tmp_11 + '\n |\n |' + tmp_12 + 'static Wirespec.RawResponse toResponse(Wirespec.Serializer<String> serialization, Response<?> response) {\n |' + tmp_14 + '\n |' + tmp_15 + 'else { throw new IllegalStateException("Cannot match response with status: " + response.getStatus());}\n |' + tmp_16 + '}\n |\n |' + tmp_17 + 'static Response<?> fromResponse(Wirespec.Deserializer<String> serialization, Wirespec.RawResponse response) {\n |' + tmp_18 + 'return switch (response.statusCode()) {\n |' + tmp_20 + '\n |' + tmp_21 + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + tmp_22 + '};\n |' + tmp_23 + '}\n |\n |' + tmp_24 + tmp_25 + '\n |' + tmp_26 + 'class Handlers implements Wirespec.Server<Request, Response<?>>, Wirespec.Client<Request, Response<?>> {\n |' + tmp_27 + '@Override public String getPathTemplate() { return "/' + joinToString(endpoint.p23_1, '/', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_9(this)) + '"; }\n |' + Spacer_instance.z23(3) + '@Override public String getMethod() { return "' + endpoint.o23_1.toString() + '"; }\n |' + Spacer_instance.z23(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization<String> serialization) {\n |' + Spacer_instance.z23(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.z23(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.z23(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.z23(4) + '};\n |' + Spacer_instance.z23(3) + '}\n |' + Spacer_instance.z23(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization<String> serialization) {\n |' + Spacer_instance.z23(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.z23(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.z23(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.z23(4) + '};\n |' + Spacer_instance.z23(3) + '}\n |' + Spacer_instance.z23(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1236
1242
  };
1237
1243
  protoOf(JavaEmitter).z25 = function (endpoint) {
1238
- return 'java.util.concurrent.CompletableFuture<Response<?>> ' + this.l24(endpoint.n23_1, Type_Field_getInstance()) + '(Request request);';
1244
+ return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_getInstance_3().p24(this.l24(endpoint.n23_1)) + '(Request request);';
1239
1245
  };
1240
1246
  protoOf(JavaEmitter).x25 = function (_this__u8e3s4, endpoint) {
1241
- return trimMargin('\n |' + Spacer_instance.toString() + 'class Request implements Wirespec.Request<' + emit_2(_this__u8e3s4.a24_1, this) + '> {\n |' + Spacer_instance.z23(2) + 'private final Path path;\n |' + Spacer_instance.z23(2) + 'private final Wirespec.Method method;\n |' + Spacer_instance.z23(2) + 'private final Queries queries;\n |' + Spacer_instance.z23(2) + 'private final RequestHeaders headers;\n |' + Spacer_instance.z23(2) + 'private final ' + emit_2(_this__u8e3s4.a24_1, this) + ' body;\n |' + Spacer_instance.z23(2) + emitConstructor(_this__u8e3s4, this, endpoint) + '\n |' + Spacer_instance.z23(2) + '@Override public Path getPath() { return path; }\n |' + Spacer_instance.z23(2) + '@Override public Wirespec.Method getMethod() { return method; }\n |' + Spacer_instance.z23(2) + '@Override public Queries getQueries() { return queries; }\n |' + Spacer_instance.z23(2) + '@Override public RequestHeaders getHeaders() { return headers; }\n |' + Spacer_instance.z23(2) + '@Override public ' + emit_2(_this__u8e3s4.a24_1, this) + ' getBody() { return body; }\n |' + Spacer_instance.toString() + '}\n ');
1247
+ return trimMargin('\n |' + Spacer_instance.toString() + 'class Request implements Wirespec.Request<' + emit_1(_this__u8e3s4.a24_1, this) + '> {\n |' + Spacer_instance.z23(2) + 'private final Path path;\n |' + Spacer_instance.z23(2) + 'private final Wirespec.Method method;\n |' + Spacer_instance.z23(2) + 'private final Queries queries;\n |' + Spacer_instance.z23(2) + 'private final RequestHeaders headers;\n |' + Spacer_instance.z23(2) + 'private final ' + emit_1(_this__u8e3s4.a24_1, this) + ' body;\n |' + Spacer_instance.z23(2) + emitConstructor(_this__u8e3s4, this, endpoint) + '\n |' + Spacer_instance.z23(2) + '@Override public Path getPath() { return path; }\n |' + Spacer_instance.z23(2) + '@Override public Wirespec.Method getMethod() { return method; }\n |' + Spacer_instance.z23(2) + '@Override public Queries getQueries() { return queries; }\n |' + Spacer_instance.z23(2) + '@Override public RequestHeaders getHeaders() { return headers; }\n |' + Spacer_instance.z23(2) + '@Override public ' + emit_1(_this__u8e3s4.a24_1, this) + ' getBody() { return body; }\n |' + Spacer_instance.toString() + '}\n ');
1242
1248
  };
1243
1249
  protoOf(JavaEmitter).t24 = function (_this__u8e3s4) {
1244
1250
  var tmp = Spacer_instance.toString();
@@ -1252,12 +1258,12 @@
1252
1258
  // Inline function 'kotlin.let' call
1253
1259
  // Inline function 'kotlin.contracts.contract' call
1254
1260
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1255
- tmp_2 = emit_2(tmp0_safe_receiver, this) + ' body';
1261
+ tmp_2 = emit_1(tmp0_safe_receiver, this) + ' body';
1256
1262
  }
1257
1263
  var tmp_3 = joinToString(listOfNotNull([tmp_1, tmp_2]));
1258
1264
  var tmp_4 = toString_0(first(_this__u8e3s4.v23_1));
1259
- var tmp_5 = emit_2(_this__u8e3s4.x23_1, this);
1260
- var tmp_6 = concatGenerics(emit_2(_this__u8e3s4.x23_1, this));
1265
+ var tmp_5 = emit_1(_this__u8e3s4.x23_1, this);
1266
+ var tmp_6 = concatGenerics(emit_1(_this__u8e3s4.x23_1, this));
1261
1267
  var tmp_7 = Spacer_instance.z23(2);
1262
1268
  var tmp_8 = fixStatus(_this__u8e3s4.v23_1, this);
1263
1269
  var tmp_9 = Spacer_instance.z23(2);
@@ -1266,7 +1272,7 @@
1266
1272
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1267
1273
  var tmp_10 = '@Override public Headers getHeaders() { return new Headers(' + joinToString(_this__u8e3s4.w23_1, VOID, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda_11(this)) + '); }';
1268
1274
  var tmp_11 = Spacer_instance.z23(2);
1269
- var tmp_12 = emit_2(_this__u8e3s4.x23_1, this);
1275
+ var tmp_12 = emit_1(_this__u8e3s4.x23_1, this);
1270
1276
  var tmp_13 = _this__u8e3s4.x23_1 == null ? 'null' : 'body';
1271
1277
  var tmp_14 = Spacer_instance.z23(1);
1272
1278
  return trimMargin('\n |' + tmp + 'record Response' + tmp_0 + '(' + tmp_3 + ') implements Response' + tmp_4 + 'XX<' + tmp_5 + '>, Response' + tmp_6 + ' {\n |' + tmp_7 + '@Override public int getStatus() { return ' + tmp_8 + '; }\n |' + tmp_9 + tmp_10 + '\n |' + tmp_11 + '@Override public ' + tmp_12 + ' getBody() { return ' + tmp_13 + '; }\n |' + tmp_14 + emitObject(_this__u8e3s4.w23_1, this, 'Headers', 'Wirespec.Response.Headers', JavaEmitter$emit$lambda_12(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
@@ -1295,7 +1301,7 @@
1295
1301
  while (tmp0_iterator.h()) {
1296
1302
  var item = tmp0_iterator.i();
1297
1303
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseInterfaces.<anonymous>' call
1298
- var tmp$ret$0 = emit_4(item.x23_1, $this);
1304
+ var tmp$ret$0 = emit_3(item.x23_1, $this);
1299
1305
  destination.e(tmp$ret$0);
1300
1306
  }
1301
1307
  var tmp = distinct(destination);
@@ -1325,12 +1331,12 @@
1325
1331
  // Inline function 'kotlin.let' call
1326
1332
  // Inline function 'kotlin.contracts.contract' call
1327
1333
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitConstructor.<anonymous>' call
1328
- tmp_3 = Spacer_instance.z23(2) + 'override val body: ' + emit_4(tmp0_safe_receiver, $this) + ',';
1334
+ tmp_3 = Spacer_instance.z23(2) + 'override val body: ' + emit_3(tmp0_safe_receiver, $this) + ',';
1329
1335
  }
1330
1336
  // Inline function 'kotlin.contracts.contract' call
1331
1337
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitConstructor.<anonymous>' call
1332
1338
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
1333
- return isBlank(it) ? 'object Request : Wirespec.Request<' + emit_4(_this__u8e3s4.a24_1, $this) + '> {' : 'class Request(\n' + it + '\n' + Spacer_instance.toString() + ') : Wirespec.Request<' + emit_4(_this__u8e3s4.a24_1, $this) + '> {';
1339
+ return isBlank(it) ? 'object Request : Wirespec.Request<' + emit_3(_this__u8e3s4.a24_1, $this) + '> {' : 'class Request(\n' + it + '\n' + Spacer_instance.toString() + ') : Wirespec.Request<' + emit_3(_this__u8e3s4.a24_1, $this) + '> {';
1334
1340
  }
1335
1341
  function emitDeserializedParams_1(_this__u8e3s4, $this, endpoint) {
1336
1342
  // Inline function 'kotlin.let' call
@@ -1346,7 +1352,7 @@
1346
1352
  // Inline function 'kotlin.let' call
1347
1353
  // Inline function 'kotlin.contracts.contract' call
1348
1354
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitDeserializedParams.<anonymous>' call
1349
- tmp_3 = Spacer_instance.z23(3) + 'body = serialization.deserialize(requireNotNull(request.body) { "body is null" }, typeOf<' + emit_4(tmp0_safe_receiver, $this) + '>()),';
1355
+ tmp_3 = Spacer_instance.z23(3) + 'body = serialization.deserialize(requireNotNull(request.body) { "body is null" }, typeOf<' + emit_3(tmp0_safe_receiver, $this) + '>()),';
1350
1356
  }
1351
1357
  // Inline function 'kotlin.contracts.contract' call
1352
1358
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitDeserializedParams.<anonymous>' call
@@ -1354,30 +1360,30 @@
1354
1360
  return isBlank(it) ? '' : '(\n' + it + '\n' + Spacer_instance.z23(2) + ')';
1355
1361
  }
1356
1362
  function emitSerialized_1(_this__u8e3s4, $this) {
1357
- return trimMargin('\n |' + Spacer_instance.z23(3) + 'is Response' + _this__u8e3s4.v23_1 + ' -> Wirespec.RawResponse(\n |' + Spacer_instance.z23(4) + 'statusCode = response.status,\n |' + Spacer_instance.z23(4) + 'headers = mapOf(),\n |' + Spacer_instance.z23(4) + 'body = ' + (!(_this__u8e3s4.x23_1 == null) ? 'serialization.serialize(response.body, typeOf<' + emit_4(_this__u8e3s4.x23_1, $this) + '>())' : 'null') + ',\n |' + Spacer_instance.z23(3) + ')\n ');
1363
+ return trimMargin('\n |' + Spacer_instance.z23(3) + 'is Response' + _this__u8e3s4.v23_1 + ' -> Wirespec.RawResponse(\n |' + Spacer_instance.z23(4) + 'statusCode = response.status,\n |' + Spacer_instance.z23(4) + 'headers = mapOf(),\n |' + Spacer_instance.z23(4) + 'body = ' + (!(_this__u8e3s4.x23_1 == null) ? 'serialization.serialize(response.body, typeOf<' + emit_3(_this__u8e3s4.x23_1, $this) + '>())' : 'null') + ',\n |' + Spacer_instance.z23(3) + ')\n ');
1358
1364
  }
1359
1365
  function emitDeserialized_2(_this__u8e3s4, $this) {
1360
- return trimMargin('\n |' + Spacer_instance.z23(3) + _this__u8e3s4.v23_1 + ' -> Response' + _this__u8e3s4.v23_1 + '(\n |' + Spacer_instance.z23(4) + 'body = serialization.deserialize(requireNotNull(response.body) { "body is null" }, typeOf<' + emit_4(_this__u8e3s4.x23_1, $this) + '>()),\n |' + Spacer_instance.z23(3) + ')\n ');
1366
+ return trimMargin('\n |' + Spacer_instance.z23(3) + _this__u8e3s4.v23_1 + ' -> Response' + _this__u8e3s4.v23_1 + '(\n |' + Spacer_instance.z23(4) + 'body = serialization.deserialize(requireNotNull(response.body) { "body is null" }, typeOf<' + emit_3(_this__u8e3s4.x23_1, $this) + '>()),\n |' + Spacer_instance.z23(3) + ')\n ');
1361
1367
  }
1362
1368
  function emitSerialized_2(_this__u8e3s4, $this, fields) {
1363
- return 'request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + '?.let{"' + _this__u8e3s4.i24_1.y22_1 + '" to serialization.serialize(it, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>())}';
1369
+ return 'request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1) + '?.let{"' + _this__u8e3s4.i24_1.b1() + '" to serialization.serialize(it, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>())}';
1364
1370
  }
1365
1371
  function emitDeserialized_3(_this__u8e3s4, $this) {
1366
- return Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.pd_1.m24_1, Type_Field_getInstance()) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.od_1 + '], typeOf<' + $this.o24(_this__u8e3s4.pd_1.n24_1) + '>())';
1372
+ return Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.pd_1.m24_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.od_1 + '], typeOf<' + $this.o24(_this__u8e3s4.pd_1.n24_1) + '>())';
1367
1373
  }
1368
1374
  function emitDeserialized_4(_this__u8e3s4, $this, fields) {
1369
- return _this__u8e3s4.k24_1 ? Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ' = request.' + fields + '["' + _this__u8e3s4.i24_1.y22_1 + '"]?.let{ serialization.deserialize(it, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>()) }' : Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ' = serialization.deserialize(requireNotNull(request.' + fields + '["' + _this__u8e3s4.i24_1.y22_1 + '"]) { "' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ' is null" }, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>())';
1375
+ return _this__u8e3s4.k24_1 ? Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.i24_1) + ' = request.' + fields + '["' + _this__u8e3s4.i24_1.b1() + '"]?.let{ serialization.deserialize(it, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>()) }' : Spacer_instance.z23(3) + $this.l24(_this__u8e3s4.i24_1) + ' = serialization.deserialize(requireNotNull(request.' + fields + '["' + _this__u8e3s4.i24_1.b1() + '"]) { "' + $this.l24(_this__u8e3s4.i24_1) + ' is null" }, typeOf<' + $this.o24(_this__u8e3s4.j24_1) + '>())';
1370
1376
  }
1371
1377
  function emitIdentifier_0(_this__u8e3s4, $this) {
1372
- return 'request.path.' + $this.l24(_this__u8e3s4.m24_1, Type_Field_getInstance()) + '.let{serialization.serialize(it, typeOf<' + $this.o24(_this__u8e3s4.n24_1) + '>())}';
1378
+ return 'request.path.' + $this.l24(_this__u8e3s4.m24_1) + '.let{serialization.serialize(it, typeOf<' + $this.o24(_this__u8e3s4.n24_1) + '>())}';
1373
1379
  }
1374
- function emit_4(_this__u8e3s4, $this) {
1380
+ function emit_3(_this__u8e3s4, $this) {
1375
1381
  var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.c24_1;
1376
1382
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.o24(tmp1_safe_receiver);
1377
1383
  return tmp2_elvis_lhs == null ? 'Unit' : tmp2_elvis_lhs;
1378
1384
  }
1379
- function emit_5(_this__u8e3s4, $this) {
1380
- return $this.l24(_this__u8e3s4.m24_1, Type_Field_getInstance()) + ': ' + $this.o24(_this__u8e3s4.n24_1);
1385
+ function emit_4(_this__u8e3s4, $this) {
1386
+ return $this.l24(_this__u8e3s4.m24_1) + ': ' + $this.o24(_this__u8e3s4.n24_1);
1381
1387
  }
1382
1388
  function brace(_this__u8e3s4, $this) {
1383
1389
  return wrap(_this__u8e3s4, $this, '(', ')');
@@ -1465,7 +1471,7 @@
1465
1471
  }
1466
1472
  function KotlinEmitter$emit$lambda_2(this$0) {
1467
1473
  return function (it) {
1468
- return emit_5(it, this$0);
1474
+ return emit_4(it, this$0);
1469
1475
  };
1470
1476
  }
1471
1477
  function KotlinEmitter$emit$lambda_3(this$0) {
@@ -1511,17 +1517,17 @@
1511
1517
  }
1512
1518
  function KotlinEmitter$emit$lambda_9(this$0) {
1513
1519
  return function (it) {
1514
- return this$0.l24(it.m24_1, Type_Field_getInstance());
1520
+ return this$0.l24(it.m24_1);
1515
1521
  };
1516
1522
  }
1517
1523
  function KotlinEmitter$emit$lambda_10(this$0) {
1518
1524
  return function (it) {
1519
- return this$0.l24(it.i24_1, Type_Field_getInstance());
1525
+ return this$0.l24(it.i24_1);
1520
1526
  };
1521
1527
  }
1522
1528
  function KotlinEmitter$emit$lambda_11(this$0) {
1523
1529
  return function (it) {
1524
- return this$0.l24(it.i24_1, Type_Field_getInstance());
1530
+ return this$0.l24(it.i24_1);
1525
1531
  };
1526
1532
  }
1527
1533
  function KotlinEmitter$emit$lambda_12(this$0) {
@@ -1551,7 +1557,7 @@
1551
1557
  }
1552
1558
  function KotlinEmitter$emitConstructor$lambda(this$0) {
1553
1559
  return function (it) {
1554
- return Spacer_instance.z23(2) + emit_5(it, this$0);
1560
+ return Spacer_instance.z23(2) + emit_4(it, this$0);
1555
1561
  };
1556
1562
  }
1557
1563
  function KotlinEmitter$emitConstructor$lambda_0(this$0) {
@@ -1599,22 +1605,22 @@
1599
1605
  protoOf(KotlinEmitter).x24 = function (_this__u8e3s4) {
1600
1606
  var tmp;
1601
1607
  if (_this__u8e3s4 instanceof Endpoint) {
1602
- tmp = this.l24(_this__u8e3s4.n23_1, Type_Class_getInstance()) + 'Endpoint';
1608
+ tmp = this.l24(_this__u8e3s4.n23_1) + 'Endpoint';
1603
1609
  } else {
1604
1610
  if (_this__u8e3s4 instanceof Channel) {
1605
- tmp = this.l24(_this__u8e3s4.f25_1, Type_Class_getInstance()) + 'Channel';
1611
+ tmp = this.l24(_this__u8e3s4.f25_1) + 'Channel';
1606
1612
  } else {
1607
1613
  if (_this__u8e3s4 instanceof Enum_0) {
1608
- tmp = this.l24(_this__u8e3s4.c25_1, Type_Class_getInstance());
1614
+ tmp = this.l24(_this__u8e3s4.c25_1);
1609
1615
  } else {
1610
1616
  if (_this__u8e3s4 instanceof Refined) {
1611
- tmp = this.l24(_this__u8e3s4.z24_1, Type_Class_getInstance());
1617
+ tmp = this.l24(_this__u8e3s4.z24_1);
1612
1618
  } else {
1613
- if (_this__u8e3s4 instanceof Type_1) {
1614
- tmp = this.l24(_this__u8e3s4.a23_1, Type_Class_getInstance());
1619
+ if (_this__u8e3s4 instanceof Type_0) {
1620
+ tmp = this.l24(_this__u8e3s4.z22_1);
1615
1621
  } else {
1616
1622
  if (_this__u8e3s4 instanceof Union) {
1617
- tmp = this.l24(_this__u8e3s4.t22_1, Type_Class_getInstance());
1623
+ tmp = this.l24(_this__u8e3s4.t22_1);
1618
1624
  } else {
1619
1625
  noWhenBranchMatchedException();
1620
1626
  }
@@ -1647,15 +1653,15 @@
1647
1653
  };
1648
1654
  protoOf(KotlinEmitter).l25 = function (type, ast) {
1649
1655
  var tmp;
1650
- if (type.b23_1.n25_1.l()) {
1656
+ if (type.a23_1.n25_1.l()) {
1651
1657
  tmp = Spacer_instance.toString() + 'data object ' + this.x24(type);
1652
1658
  } else {
1653
1659
  var tmp_0 = this.x24(type);
1654
- var tmp_1 = this.m25(type.b23_1);
1660
+ var tmp_1 = this.m25(type.a23_1);
1655
1661
  // Inline function 'kotlin.run' call
1656
1662
  // Inline function 'kotlin.contracts.contract' call
1657
1663
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>' call
1658
- var $this$run = type.c23_1;
1664
+ var $this$run = type.b23_1;
1659
1665
  var tmp_2;
1660
1666
  if ($this$run.l()) {
1661
1667
  tmp_2 = '';
@@ -1671,7 +1677,7 @@
1671
1677
  return dropLast(joinToString(_this__u8e3s4.n25_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda_0(this)), 1);
1672
1678
  };
1673
1679
  protoOf(KotlinEmitter).s24 = function (_this__u8e3s4) {
1674
- return this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ': ' + this.o24(_this__u8e3s4.j24_1) + (_this__u8e3s4.k24_1 ? '?' : '');
1680
+ return this.l24(_this__u8e3s4.i24_1) + ': ' + this.o24(_this__u8e3s4.j24_1) + (_this__u8e3s4.k24_1 ? '?' : '');
1675
1681
  };
1676
1682
  protoOf(KotlinEmitter).o24 = function (_this__u8e3s4) {
1677
1683
  // Inline function 'kotlin.let' call
@@ -1720,39 +1726,37 @@
1720
1726
  var it_0 = _this__u8e3s4.e24() ? 'List<' + it + '>' : it;
1721
1727
  return _this__u8e3s4.q24() ? 'Map<String, ' + it_0 + '>' : it_0;
1722
1728
  };
1723
- protoOf(KotlinEmitter).l24 = function (_this__u8e3s4, type) {
1729
+ protoOf(KotlinEmitter).l24 = function (identifier) {
1724
1730
  var tmp;
1725
- switch (type.q2_1) {
1726
- case 0:
1727
- tmp = Companion_getInstance_3().h24(sanitizeSymbol_0(_this__u8e3s4.y22_1, this));
1728
- break;
1729
- case 1:
1730
- tmp = sanitizeKeywords_0(Companion_getInstance_3().p24(sanitizeSymbol_0(_this__u8e3s4.y22_1, this)), this);
1731
- break;
1732
- default:
1731
+ if (identifier instanceof DefinitionIdentifier) {
1732
+ tmp = Companion_getInstance_3().h24(sanitizeSymbol_0(identifier.b1(), this));
1733
+ } else {
1734
+ if (identifier instanceof FieldIdentifier) {
1735
+ tmp = sanitizeKeywords_0(Companion_getInstance_3().p24(sanitizeSymbol_0(identifier.b1(), this)), this);
1736
+ } else {
1733
1737
  noWhenBranchMatchedException();
1734
- break;
1738
+ }
1735
1739
  }
1736
1740
  return tmp;
1737
1741
  };
1738
1742
  protoOf(KotlinEmitter).o25 = function (refined) {
1739
- return trimMargin('\n |data class ' + sanitizeSymbol_0(refined.z24_1.y22_1, this) + '(override val value: String): Wirespec.Refined {\n |' + Spacer_instance.toString() + 'override fun toString() = value\n |}\n |\n |fun ' + refined.z24_1.y22_1 + '.validate() = ' + this.p25(refined.a25_1) + '\n |\n ');
1743
+ return trimMargin('\n |data class ' + sanitizeSymbol_0(refined.z24_1.b1(), this) + '(override val value: String): Wirespec.Refined {\n |' + Spacer_instance.toString() + 'override fun toString() = value\n |}\n |\n |fun ' + refined.z24_1.b1() + '.validate() = ' + this.p25(refined.a25_1) + '\n |\n ');
1740
1744
  };
1741
1745
  protoOf(KotlinEmitter).p25 = function (_this__u8e3s4) {
1742
1746
  return 'Regex("""' + _this__u8e3s4.r25_1 + '""").matches(value)';
1743
1747
  };
1744
1748
  protoOf(KotlinEmitter).s25 = function (enum_0) {
1745
- var tmp = sanitizeSymbol_0(enum_0.c25_1.y22_1, this);
1749
+ var tmp = sanitizeSymbol_0(enum_0.c25_1.b1(), this);
1746
1750
  return trimMargin('\n |enum class ' + tmp + ' (override val label: String): Wirespec.Enum {\n |' + this.t25(joinToString(enum_0.d25_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda_1(this))) + ';\n |' + Spacer_instance.toString() + 'override fun toString(): String {\n |' + Spacer_instance.z23(2) + 'return label\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1747
1751
  };
1748
1752
  protoOf(KotlinEmitter).u25 = function (union) {
1749
1753
  return trimMargin('\n |sealed interface ' + this.x24(union) + '\n |\n ');
1750
1754
  };
1751
1755
  protoOf(KotlinEmitter).v25 = function (channel) {
1752
- return trimMargin('\n |interface ' + this.l24(channel.f25_1, Type_Class_getInstance()) + 'Channel {\n | operator fun invoke(message: ' + emitWrap_0(channel.h25_1, this, channel.g25_1) + ')\n |}\n |\n ');
1756
+ return trimMargin('\n |interface ' + this.l24(channel.f25_1) + 'Channel {\n | operator fun invoke(message: ' + emitWrap_0(channel.h25_1, this, channel.g25_1) + ')\n |}\n |\n ');
1753
1757
  };
1754
1758
  protoOf(KotlinEmitter).w25 = function (endpoint) {
1755
- var tmp = this.l24(endpoint.n23_1, Type_Class_getInstance());
1759
+ var tmp = this.l24(endpoint.n23_1);
1756
1760
  var tmp_0 = this.f24(endpoint);
1757
1761
  var tmp_1 = emitObject_0(tmp_0, this, 'Path', 'Wirespec.Path', KotlinEmitter$emit$lambda_2(this));
1758
1762
  var tmp_2 = emitObject_0(endpoint.q23_1, this, 'Queries', 'Wirespec.Queries', KotlinEmitter$emit$lambda_3(this));
@@ -1832,7 +1836,7 @@
1832
1836
  return trimMargin('\n |object ' + tmp + 'Endpoint : Wirespec.Endpoint {\n |' + tmp_1 + '\n |\n |' + tmp_2 + '\n |\n |' + tmp_3 + '\n |\n |' + tmp_4 + '\n |\n |' + tmp_5 + 'sealed interface Response<T: Any> : Wirespec.Response<T>\n |\n |' + tmp_6 + '\n |\n |' + tmp_7 + '\n |\n |' + tmp_9 + '\n |\n |' + tmp_10 + 'fun toResponse(serialization: Wirespec.Serializer<String>, response: Response<*>): Wirespec.RawResponse =\n |' + tmp_11 + 'when(response) {\n |' + tmp_13 + '\n |' + tmp_14 + '}\n |\n |' + tmp_15 + 'fun fromResponse(serialization: Wirespec.Deserializer<String>, response: Wirespec.RawResponse): Response<*> =\n |' + tmp_16 + 'when (response.statusCode) {\n |' + tmp_18 + '\n |' + tmp_19 + 'else -> error("Cannot match response with status: ${response.statusCode}")\n |' + tmp_20 + '}\n |\n |' + tmp_21 + 'interface Handler: Wirespec.Handler {\n |' + tmp_22 + tmp_23 + '\n |' + tmp_24 + 'companion object: Wirespec.Server<Request, Response<*>>, Wirespec.Client<Request, Response<*>> {\n |' + tmp_25 + 'override val pathTemplate = "/' + joinToString(endpoint.p23_1, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda_8(this)) + '"\n |' + Spacer_instance.z23(3) + 'override val method = "' + endpoint.o23_1.toString() + '"\n |' + Spacer_instance.z23(3) + 'override fun server(serialization: Wirespec.Serialization<String>) = object : Wirespec.ServerEdge<Request, Response<*>> {\n |' + Spacer_instance.z23(4) + 'override fun from(request: Wirespec.RawRequest) = fromRequest(serialization, request)\n |' + Spacer_instance.z23(4) + 'override fun to(response: Response<*>) = toResponse(serialization, response)\n |' + Spacer_instance.z23(3) + '}\n |' + Spacer_instance.z23(3) + 'override fun client(serialization: Wirespec.Serialization<String>) = object : Wirespec.ClientEdge<Request, Response<*>> {\n |' + Spacer_instance.z23(4) + 'override fun to(request: Request) = toRequest(serialization, request)\n |' + Spacer_instance.z23(4) + 'override fun from(response: Wirespec.RawResponse) = fromResponse(serialization, response)\n |' + Spacer_instance.z23(3) + '}\n |' + Spacer_instance.z23(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1833
1837
  };
1834
1838
  protoOf(KotlinEmitter).z25 = function (endpoint) {
1835
- return 'suspend fun ' + Companion_getInstance_3().p24(this.l24(endpoint.n23_1, Type_Class_getInstance())) + '(request: Request): Response<*>';
1839
+ return 'suspend fun ' + Companion_getInstance_3().p24(this.l24(endpoint.n23_1)) + '(request: Request): Response<*>';
1836
1840
  };
1837
1841
  protoOf(KotlinEmitter).x25 = function (_this__u8e3s4, endpoint) {
1838
1842
  var tmp = Spacer_instance.toString();
@@ -1869,10 +1873,10 @@
1869
1873
  } else {
1870
1874
  tmp_20 = 'emptyMap()';
1871
1875
  }
1872
- return trimMargin('\n |' + tmp + tmp_0 + '\n |' + tmp_1 + 'override val path = Path' + tmp_3 + '\n |' + tmp_4 + 'override val method = Wirespec.Method.' + endpoint.o23_1.p2_1 + '\n |' + tmp_5 + 'override val queries = Queries' + tmp_6 + '\n |' + tmp_7 + 'override val headers = Headers' + tmp_8 + tmp_9 + '\n |' + tmp_10 + '}\n |\n |' + tmp_11 + 'fun toRequest(serialization: Wirespec.Serializer<String>, request: Request): Wirespec.RawRequest =\n |' + tmp_12 + 'Wirespec.RawRequest(\n |' + tmp_13 + 'path = listOf(' + tmp_14 + '),\n |' + tmp_15 + 'method = request.method.name,\n |' + tmp_16 + 'queries = ' + tmp_18 + ',\n |' + tmp_19 + 'headers = ' + tmp_20 + ',\n |' + Spacer_instance.z23(3) + 'body = serialization.serialize(request.body, typeOf<' + emit_4(_this__u8e3s4.a24_1, this) + '>()),\n |' + Spacer_instance.z23(2) + ')\n |\n |' + Spacer_instance.toString() + 'fun fromRequest(serialization: Wirespec.Deserializer<String>, request: Wirespec.RawRequest): Request =\n |' + Spacer_instance.z23(2) + 'Request' + emitDeserializedParams_1(_this__u8e3s4, this, endpoint) + '\n ');
1876
+ return trimMargin('\n |' + tmp + tmp_0 + '\n |' + tmp_1 + 'override val path = Path' + tmp_3 + '\n |' + tmp_4 + 'override val method = Wirespec.Method.' + endpoint.o23_1.p2_1 + '\n |' + tmp_5 + 'override val queries = Queries' + tmp_6 + '\n |' + tmp_7 + 'override val headers = Headers' + tmp_8 + tmp_9 + '\n |' + tmp_10 + '}\n |\n |' + tmp_11 + 'fun toRequest(serialization: Wirespec.Serializer<String>, request: Request): Wirespec.RawRequest =\n |' + tmp_12 + 'Wirespec.RawRequest(\n |' + tmp_13 + 'path = listOf(' + tmp_14 + '),\n |' + tmp_15 + 'method = request.method.name,\n |' + tmp_16 + 'queries = ' + tmp_18 + ',\n |' + tmp_19 + 'headers = ' + tmp_20 + ',\n |' + Spacer_instance.z23(3) + 'body = serialization.serialize(request.body, typeOf<' + emit_3(_this__u8e3s4.a24_1, this) + '>()),\n |' + Spacer_instance.z23(2) + ')\n |\n |' + Spacer_instance.toString() + 'fun fromRequest(serialization: Wirespec.Deserializer<String>, request: Wirespec.RawRequest): Request =\n |' + Spacer_instance.z23(2) + 'Request' + emitDeserializedParams_1(_this__u8e3s4, this, endpoint) + '\n ');
1873
1877
  };
1874
1878
  protoOf(KotlinEmitter).t24 = function (_this__u8e3s4) {
1875
- return trimMargin('\n |' + Spacer_instance.toString() + 'data class Response' + _this__u8e3s4.v23_1 + '(override val body: ' + emit_4(_this__u8e3s4.x23_1, this) + ') : Response' + toString_0(charSequenceGet(_this__u8e3s4.v23_1, 0)) + 'XX<' + emit_4(_this__u8e3s4.x23_1, this) + '>, Response' + concatGenerics(emit_4(_this__u8e3s4.x23_1, this)) + ' {\n |' + Spacer_instance.z23(2) + 'override val status = ' + fixStatus_0(_this__u8e3s4.v23_1, this) + '\n |' + Spacer_instance.z23(2) + 'override val headers = Headers\n |' + Spacer_instance.z23(2) + 'data object Headers : Wirespec.Response.Headers\n |' + Spacer_instance.toString() + '}\n ');
1879
+ return trimMargin('\n |' + Spacer_instance.toString() + 'data class Response' + _this__u8e3s4.v23_1 + '(override val body: ' + emit_3(_this__u8e3s4.x23_1, this) + ') : Response' + toString_0(charSequenceGet(_this__u8e3s4.v23_1, 0)) + 'XX<' + emit_3(_this__u8e3s4.x23_1, this) + '>, Response' + concatGenerics(emit_3(_this__u8e3s4.x23_1, this)) + ' {\n |' + Spacer_instance.z23(2) + 'override val status = ' + fixStatus_0(_this__u8e3s4.v23_1, this) + '\n |' + Spacer_instance.z23(2) + 'override val headers = Headers\n |' + Spacer_instance.z23(2) + 'data object Headers : Wirespec.Response.Headers\n |' + Spacer_instance.toString() + '}\n ');
1876
1880
  };
1877
1881
  function Companion_1() {
1878
1882
  Companion_instance_2 = this;
@@ -1901,7 +1905,7 @@
1901
1905
  var tmp = Spacer_instance.toString();
1902
1906
  // Inline function 'kotlin.text.uppercase' call
1903
1907
  // Inline function 'kotlin.js.asDynamic' call
1904
- return tmp + 'final case object ' + emit$_anonymous_$sanitize_964c6p(it).toUpperCase() + ' extends ' + this$0.l24($$this$run.c25_1, Type_Class_getInstance()) + '(label = "' + it + '")';
1908
+ return tmp + 'final case object ' + emit$_anonymous_$sanitize_964c6p(it).toUpperCase() + ' extends ' + this$0.l24($$this$run.c25_1) + '(label = "' + it + '")';
1905
1909
  };
1906
1910
  }
1907
1911
  function ScalaEmitter(packageName, logger) {
@@ -1918,22 +1922,22 @@
1918
1922
  protoOf(ScalaEmitter).x24 = function (_this__u8e3s4) {
1919
1923
  var tmp;
1920
1924
  if (_this__u8e3s4 instanceof Endpoint) {
1921
- tmp = this.l24(_this__u8e3s4.n23_1, Type_Class_getInstance()) + 'Endpoint';
1925
+ tmp = this.l24(_this__u8e3s4.n23_1) + 'Endpoint';
1922
1926
  } else {
1923
1927
  if (_this__u8e3s4 instanceof Channel) {
1924
- tmp = this.l24(_this__u8e3s4.f25_1, Type_Class_getInstance()) + 'Channel';
1928
+ tmp = this.l24(_this__u8e3s4.f25_1) + 'Channel';
1925
1929
  } else {
1926
1930
  if (_this__u8e3s4 instanceof Enum_0) {
1927
- tmp = this.l24(_this__u8e3s4.c25_1, Type_Class_getInstance());
1931
+ tmp = this.l24(_this__u8e3s4.c25_1);
1928
1932
  } else {
1929
1933
  if (_this__u8e3s4 instanceof Refined) {
1930
- tmp = this.l24(_this__u8e3s4.z24_1, Type_Class_getInstance());
1934
+ tmp = this.l24(_this__u8e3s4.z24_1);
1931
1935
  } else {
1932
- if (_this__u8e3s4 instanceof Type_1) {
1933
- tmp = this.l24(_this__u8e3s4.a23_1, Type_Class_getInstance());
1936
+ if (_this__u8e3s4 instanceof Type_0) {
1937
+ tmp = this.l24(_this__u8e3s4.z22_1);
1934
1938
  } else {
1935
1939
  if (_this__u8e3s4 instanceof Union) {
1936
- tmp = this.l24(_this__u8e3s4.t22_1, Type_Class_getInstance());
1940
+ tmp = this.l24(_this__u8e3s4.t22_1);
1937
1941
  } else {
1938
1942
  noWhenBranchMatchedException();
1939
1943
  }
@@ -1967,16 +1971,19 @@
1967
1971
  return destination;
1968
1972
  };
1969
1973
  protoOf(ScalaEmitter).l25 = function (type, ast) {
1970
- return trimMargin('\n |case class ' + this.x24(type) + '(\n |' + this.m25(type.b23_1) + '\n |)\n |\n ');
1974
+ return trimMargin('\n |case class ' + this.x24(type) + '(\n |' + this.m25(type.a23_1) + '\n |)\n |\n ');
1971
1975
  };
1972
1976
  protoOf(ScalaEmitter).m25 = function (_this__u8e3s4) {
1973
1977
  return dropLast(joinToString(_this__u8e3s4.n25_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda(this)), 1);
1974
1978
  };
1975
1979
  protoOf(ScalaEmitter).s24 = function (_this__u8e3s4) {
1976
- return Spacer_instance.toString() + 'val ' + this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ': ' + (_this__u8e3s4.k24_1 ? 'Option[' + this.o24(_this__u8e3s4.j24_1) + ']' : this.o24(_this__u8e3s4.j24_1)) + ',';
1980
+ return Spacer_instance.toString() + 'val ' + this.l24(_this__u8e3s4.i24_1) + ': ' + (_this__u8e3s4.k24_1 ? 'Option[' + this.o24(_this__u8e3s4.j24_1) + ']' : this.o24(_this__u8e3s4.j24_1)) + ',';
1977
1981
  };
1978
- protoOf(ScalaEmitter).l24 = function (_this__u8e3s4, type) {
1979
- return Companion_getInstance_1().g26_1.p1(_this__u8e3s4.y22_1) ? addBackticks(_this__u8e3s4.y22_1) : _this__u8e3s4.y22_1;
1982
+ protoOf(ScalaEmitter).l24 = function (identifier) {
1983
+ // Inline function 'kotlin.run' call
1984
+ // Inline function 'kotlin.contracts.contract' call
1985
+ // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
1986
+ return Companion_getInstance_1().g26_1.p1(identifier.b1()) ? addBackticks(identifier.b1()) : identifier.b1();
1980
1987
  };
1981
1988
  protoOf(ScalaEmitter).v25 = function (channel) {
1982
1989
  return this.l26();
@@ -2033,7 +2040,7 @@
2033
2040
  // Inline function 'kotlin.contracts.contract' call
2034
2041
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2035
2042
  var tmp = this.x24(enum_0);
2036
- var tmp_0 = this.l24(enum_0.c25_1, Type_Class_getInstance());
2043
+ var tmp_0 = this.l24(enum_0.c25_1);
2037
2044
  return trimMargin('\n |sealed abstract class ' + tmp + '(val label: String)\n |object ' + tmp_0 + ' {\n |' + joinToString(enum_0.d25_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda_0(this, enum_0)) + '\n |}\n |');
2038
2045
  };
2039
2046
  protoOf(ScalaEmitter).o25 = function (refined) {
@@ -2165,8 +2172,8 @@
2165
2172
  function joinToObject(_this__u8e3s4, $this, transform) {
2166
2173
  return joinToString(_this__u8e3s4, ', ', '{', '}', VOID, VOID, transform);
2167
2174
  }
2168
- function emit_6(_this__u8e3s4, $this) {
2169
- return $this.l24(_this__u8e3s4.r26_1, Type_Field_getInstance()) + (_this__u8e3s4.t26_1 ? '?' : '') + ': ' + $this.o24(_this__u8e3s4.s26_1);
2175
+ function emit_5(_this__u8e3s4, $this) {
2176
+ return $this.l24(_this__u8e3s4.r26_1) + (_this__u8e3s4.t26_1 ? '?' : '') + ': ' + $this.o24(_this__u8e3s4.s26_1);
2170
2177
  }
2171
2178
  function emitName(_this__u8e3s4, $this) {
2172
2179
  return 'Response' + Companion_getInstance_3().h24(_this__u8e3s4.v23_1);
@@ -2185,7 +2192,7 @@
2185
2192
  return trimIndent('\n |' + tmp + 'export type ' + tmp_0 + ' = { \n |' + tmp_1 + 'status: ' + _this__u8e3s4.v23_1 + '\n |' + tmp_2 + 'headers: {' + joinToString(_this__u8e3s4.w23_1, VOID, VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda_0($this)) + '}\n |' + Spacer_instance.z23(2) + 'body: ' + emitReference_0(_this__u8e3s4, $this) + '\n |' + Spacer_instance.toString() + '}\n ');
2186
2193
  }
2187
2194
  function sanitizeSymbol_1(_this__u8e3s4, $this) {
2188
- return sanitizeSymbol_2(_this__u8e3s4.y22_1, $this);
2195
+ return sanitizeSymbol_2(_this__u8e3s4.b1(), $this);
2189
2196
  }
2190
2197
  function sanitizeSymbol_2(_this__u8e3s4, $this) {
2191
2198
  var tmp = asSequence(_this__u8e3s4);
@@ -2195,7 +2202,7 @@
2195
2202
  return trimMargin('\n |export const client: Wirespec.Client<Request, Response> = (serialization: Wirespec.Serialization) => ({\n |' + prependIndent(emitClientTo(_this__u8e3s4, $this), Spacer_instance.z23(1)) + ',\n |' + prependIndent(emitClientFrom(_this__u8e3s4, $this), Spacer_instance.z23(1)) + '\n |})\n ');
2196
2203
  }
2197
2204
  function emitPathArray(_this__u8e3s4, $this) {
2198
- return joinToString(_this__u8e3s4.p23_1, ', ', '[', ']', VOID, VOID, TypeScriptEmitter$emitPathArray$lambda);
2205
+ return joinToString(_this__u8e3s4.p23_1, ', ', '[', ']', VOID, VOID, TypeScriptEmitter$emitPathArray$lambda($this));
2199
2206
  }
2200
2207
  function emitClientTo(_this__u8e3s4, $this) {
2201
2208
  var tmp = Spacer_instance.z23(1);
@@ -2239,13 +2246,13 @@
2239
2246
  return trimMargin('\n |to: (response) => ({\n |' + Spacer_instance.z23(1) + 'status: response.status,\n |' + Spacer_instance.z23(1) + 'headers: {},\n |' + Spacer_instance.z23(1) + 'body: serialization.serialize(response.body),\n |})\n ');
2240
2247
  }
2241
2248
  function emitDeserialize(_this__u8e3s4, $this) {
2242
- return $this.l24(_this__u8e3s4.pd_1.m24_1, Type_Field_getInstance()) + ': serialization.deserialize(request.path[' + _this__u8e3s4.od_1 + '])';
2249
+ return $this.l24(_this__u8e3s4.pd_1.m24_1) + ': serialization.deserialize(request.path[' + _this__u8e3s4.od_1 + '])';
2243
2250
  }
2244
2251
  function emitDeserialize_0(_this__u8e3s4, $this, fields) {
2245
- return $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ': serialization.deserialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ')';
2252
+ return $this.l24(_this__u8e3s4.i24_1) + ': serialization.deserialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1) + ')';
2246
2253
  }
2247
2254
  function emitSerialize(_this__u8e3s4, $this, fields) {
2248
- return $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ': serialization.serialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ')';
2255
+ return $this.l24(_this__u8e3s4.i24_1) + ': serialization.serialize(request.' + fields + '.' + $this.l24(_this__u8e3s4.i24_1) + ')';
2249
2256
  }
2250
2257
  function TypeScriptEmitter$emit$lambda(it) {
2251
2258
  return '"' + it + '"';
@@ -2297,32 +2304,32 @@
2297
2304
  }
2298
2305
  function TypeScriptEmitter$emitFunction$lambda(this$0) {
2299
2306
  return function (it) {
2300
- return emit_6(it, this$0);
2307
+ return emit_5(it, this$0);
2301
2308
  };
2302
2309
  }
2303
2310
  function TypeScriptEmitter$emitFunction$lambda_0(this$0) {
2304
2311
  return function (it) {
2305
- return this$0.l24(it.m24_1, Type_Field_getInstance()) + ': props.' + this$0.l24(it.m24_1, Type_Field_getInstance());
2312
+ return this$0.l24(it.m24_1) + ': props.' + this$0.l24(it.m24_1);
2306
2313
  };
2307
2314
  }
2308
2315
  function TypeScriptEmitter$emitFunction$lambda_1(this$0) {
2309
2316
  return function (it) {
2310
- return this$0.l24(it.i24_1, Type_Field_getInstance()) + ': props.' + this$0.l24(it.i24_1, Type_Field_getInstance());
2317
+ return this$0.l24(it.i24_1) + ': props.' + this$0.l24(it.i24_1);
2311
2318
  };
2312
2319
  }
2313
2320
  function TypeScriptEmitter$emitFunction$lambda_2(this$0) {
2314
2321
  return function (it) {
2315
- return this$0.l24(it.i24_1, Type_Field_getInstance()) + ': props.' + this$0.l24(it.i24_1, Type_Field_getInstance());
2322
+ return this$0.l24(it.i24_1) + ': props.' + this$0.l24(it.i24_1);
2316
2323
  };
2317
2324
  }
2318
2325
  function TypeScriptEmitter$emitFunction$lambda_3(this$0) {
2319
2326
  return function (it) {
2320
- return emit_6(it, this$0);
2327
+ return emit_5(it, this$0);
2321
2328
  };
2322
2329
  }
2323
2330
  function TypeScriptEmitter$emitFunction$lambda_4(this$0) {
2324
2331
  return function (it) {
2325
- return this$0.l24(it.i24_1, Type_Field_getInstance()) + ': props.' + this$0.l24(it.i24_1, Type_Field_getInstance());
2332
+ return this$0.l24(it.i24_1) + ': props.' + this$0.l24(it.i24_1);
2326
2333
  };
2327
2334
  }
2328
2335
  function TypeScriptEmitter$emitType$lambda_0(this$0) {
@@ -2333,18 +2340,20 @@
2333
2340
  function TypeScriptEmitter$sanitizeSymbol$lambda(it) {
2334
2341
  return isLetterOrDigit(it.x_1) || listOf_0(new Char(_Char___init__impl__6a9atx(95))).p1(it);
2335
2342
  }
2336
- function TypeScriptEmitter$emitPathArray$lambda(it) {
2337
- var tmp;
2338
- if (it instanceof Literal) {
2339
- tmp = '"' + it.v24_1 + '"';
2340
- } else {
2341
- if (it instanceof Param_0) {
2342
- tmp = 'serialization.serialize(request.path.' + it.m24_1.toString() + ')';
2343
+ function TypeScriptEmitter$emitPathArray$lambda(this$0) {
2344
+ return function (it) {
2345
+ var tmp;
2346
+ if (it instanceof Literal) {
2347
+ tmp = '"' + it.v24_1 + '"';
2343
2348
  } else {
2344
- noWhenBranchMatchedException();
2349
+ if (it instanceof Param_0) {
2350
+ tmp = 'serialization.serialize(request.path.' + this$0.l24(it.m24_1) + ')';
2351
+ } else {
2352
+ noWhenBranchMatchedException();
2353
+ }
2345
2354
  }
2346
- }
2347
- return tmp;
2355
+ return tmp;
2356
+ };
2348
2357
  }
2349
2358
  function TypeScriptEmitter$emitClientTo$lambda(this$0) {
2350
2359
  return function (it) {
@@ -2383,22 +2392,22 @@
2383
2392
  protoOf(TypeScriptEmitter).x24 = function (_this__u8e3s4) {
2384
2393
  var tmp;
2385
2394
  if (_this__u8e3s4 instanceof Endpoint) {
2386
- tmp = this.l24(_this__u8e3s4.n23_1, Type_Class_getInstance());
2395
+ tmp = this.l24(_this__u8e3s4.n23_1);
2387
2396
  } else {
2388
2397
  if (_this__u8e3s4 instanceof Enum_0) {
2389
- tmp = this.l24(_this__u8e3s4.c25_1, Type_Class_getInstance());
2398
+ tmp = this.l24(_this__u8e3s4.c25_1);
2390
2399
  } else {
2391
2400
  if (_this__u8e3s4 instanceof Refined) {
2392
- tmp = this.l24(_this__u8e3s4.z24_1, Type_Class_getInstance());
2401
+ tmp = this.l24(_this__u8e3s4.z24_1);
2393
2402
  } else {
2394
- if (_this__u8e3s4 instanceof Type_1) {
2395
- tmp = this.l24(_this__u8e3s4.a23_1, Type_Class_getInstance());
2403
+ if (_this__u8e3s4 instanceof Type_0) {
2404
+ tmp = this.l24(_this__u8e3s4.z22_1);
2396
2405
  } else {
2397
2406
  if (_this__u8e3s4 instanceof Union) {
2398
- tmp = this.l24(_this__u8e3s4.t22_1, Type_Class_getInstance());
2407
+ tmp = this.l24(_this__u8e3s4.t22_1);
2399
2408
  } else {
2400
2409
  if (_this__u8e3s4 instanceof Channel) {
2401
- tmp = this.l24(_this__u8e3s4.f25_1, Type_Class_getInstance());
2410
+ tmp = this.l24(_this__u8e3s4.f25_1);
2402
2411
  } else {
2403
2412
  noWhenBranchMatchedException();
2404
2413
  }
@@ -2431,7 +2440,7 @@
2431
2440
  return destination;
2432
2441
  };
2433
2442
  protoOf(TypeScriptEmitter).l25 = function (type, ast) {
2434
- return trimMargin('export type ' + sanitizeSymbol_1(type.a23_1, this) + ' = {\n |' + this.m25(type.b23_1) + '\n |}\n |\n |');
2443
+ return trimMargin('export type ' + sanitizeSymbol_1(type.z22_1, this) + ' = {\n |' + this.m25(type.a23_1) + '\n |}\n |\n |');
2435
2444
  };
2436
2445
  protoOf(TypeScriptEmitter).s25 = function (enum_0) {
2437
2446
  var tmp = sanitizeSymbol_1(enum_0.c25_1, this);
@@ -2441,10 +2450,10 @@
2441
2450
  return joinToString(_this__u8e3s4.n25_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda_0(this));
2442
2451
  };
2443
2452
  protoOf(TypeScriptEmitter).u26 = function (_this__u8e3s4) {
2444
- return Spacer_instance.toString() + '"' + this.l24(_this__u8e3s4.m24_1, Type_Field_getInstance()) + '": ' + this.o24(_this__u8e3s4.n24_1);
2453
+ return Spacer_instance.toString() + '"' + this.l24(_this__u8e3s4.m24_1) + '": ' + this.o24(_this__u8e3s4.n24_1);
2445
2454
  };
2446
2455
  protoOf(TypeScriptEmitter).s24 = function (_this__u8e3s4) {
2447
- return Spacer_instance.toString() + '"' + this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + '"' + (_this__u8e3s4.k24_1 ? '?' : '') + ': ' + this.o24(_this__u8e3s4.j24_1);
2456
+ return Spacer_instance.toString() + '"' + this.l24(_this__u8e3s4.i24_1) + '"' + (_this__u8e3s4.k24_1 ? '?' : '') + ': ' + this.o24(_this__u8e3s4.j24_1);
2448
2457
  };
2449
2458
  protoOf(TypeScriptEmitter).o24 = function (_this__u8e3s4) {
2450
2459
  // Inline function 'kotlin.let' call
@@ -2494,7 +2503,7 @@
2494
2503
  return _this__u8e3s4.q24() ? 'Record<string, ' + it_0 + '>' : it_0;
2495
2504
  };
2496
2505
  protoOf(TypeScriptEmitter).o25 = function (refined) {
2497
- return trimMargin('export type ' + sanitizeSymbol_1(refined.z24_1, this) + ' = string;\n |const regExp' + this.l24(refined.z24_1, Type_Class_getInstance()) + ' = ' + this.p25(refined.a25_1) + ';\n |export const validate' + this.l24(refined.z24_1, Type_Class_getInstance()) + ' = (value: string): value is ' + sanitizeSymbol_1(refined.z24_1, this) + ' => \n |' + Spacer_instance.toString() + 'regExp' + this.l24(refined.z24_1, Type_Class_getInstance()) + '.test(value);\n |');
2506
+ return trimMargin('export type ' + sanitizeSymbol_1(refined.z24_1, this) + ' = string;\n |const regExp' + this.l24(refined.z24_1) + ' = ' + this.p25(refined.a25_1) + ';\n |export const validate' + this.l24(refined.z24_1) + ' = (value: string): value is ' + sanitizeSymbol_1(refined.z24_1, this) + ' => \n |' + Spacer_instance.toString() + 'regExp' + this.l24(refined.z24_1) + '.test(value);\n |');
2498
2507
  };
2499
2508
  protoOf(TypeScriptEmitter).p25 = function (_this__u8e3s4) {
2500
2509
  return _this__u8e3s4.q25_1;
@@ -2518,6 +2527,9 @@
2518
2527
  var tmp = sanitizeSymbol_1(union.t22_1, this);
2519
2528
  return 'export type ' + tmp + ' = ' + joinToString(union.u22_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda_7(this)) + '\n';
2520
2529
  };
2530
+ protoOf(TypeScriptEmitter).l24 = function (identifier) {
2531
+ return identifier.b1();
2532
+ };
2521
2533
  protoOf(TypeScriptEmitter).v25 = function (channel) {
2522
2534
  return this.l26();
2523
2535
  };
@@ -2644,7 +2656,7 @@
2644
2656
  return function (it) {
2645
2657
  var tmp;
2646
2658
  if (it instanceof Param_0) {
2647
- tmp = '{' + it.m24_1.y22_1 + ': ' + this$0.o24(it.n24_1) + '}';
2659
+ tmp = '{' + it.m24_1.b1() + ': ' + this$0.o24(it.n24_1) + '}';
2648
2660
  } else {
2649
2661
  if (it instanceof Literal) {
2650
2662
  tmp = it.v24_1;
@@ -2668,22 +2680,22 @@
2668
2680
  protoOf(WirespecEmitter).x24 = function (_this__u8e3s4) {
2669
2681
  var tmp;
2670
2682
  if (_this__u8e3s4 instanceof Endpoint) {
2671
- tmp = this.l24(_this__u8e3s4.n23_1, Type_Class_getInstance());
2683
+ tmp = this.l24(_this__u8e3s4.n23_1);
2672
2684
  } else {
2673
2685
  if (_this__u8e3s4 instanceof Enum_0) {
2674
- tmp = this.l24(_this__u8e3s4.c25_1, Type_Class_getInstance());
2686
+ tmp = this.l24(_this__u8e3s4.c25_1);
2675
2687
  } else {
2676
2688
  if (_this__u8e3s4 instanceof Refined) {
2677
- tmp = this.l24(_this__u8e3s4.z24_1, Type_Class_getInstance());
2689
+ tmp = this.l24(_this__u8e3s4.z24_1);
2678
2690
  } else {
2679
- if (_this__u8e3s4 instanceof Type_1) {
2680
- tmp = this.l24(_this__u8e3s4.a23_1, Type_Class_getInstance());
2691
+ if (_this__u8e3s4 instanceof Type_0) {
2692
+ tmp = this.l24(_this__u8e3s4.z22_1);
2681
2693
  } else {
2682
2694
  if (_this__u8e3s4 instanceof Union) {
2683
- tmp = this.l24(_this__u8e3s4.t22_1, Type_Class_getInstance());
2695
+ tmp = this.l24(_this__u8e3s4.t22_1);
2684
2696
  } else {
2685
2697
  if (_this__u8e3s4 instanceof Channel) {
2686
- tmp = this.l24(_this__u8e3s4.f25_1, Type_Class_getInstance());
2698
+ tmp = this.l24(_this__u8e3s4.f25_1);
2687
2699
  } else {
2688
2700
  noWhenBranchMatchedException();
2689
2701
  }
@@ -2695,19 +2707,22 @@
2695
2707
  return tmp;
2696
2708
  };
2697
2709
  protoOf(WirespecEmitter).l25 = function (type, ast) {
2698
- return trimMargin('\n |type ' + this.l24(type.a23_1, Type_Class_getInstance()) + ' {\n |' + this.m25(type.b23_1) + '\n |}\n |');
2710
+ return trimMargin('\n |type ' + this.l24(type.z22_1) + ' {\n |' + this.m25(type.a23_1) + '\n |}\n |');
2699
2711
  };
2700
2712
  protoOf(WirespecEmitter).m25 = function (_this__u8e3s4) {
2701
2713
  return joinToString(_this__u8e3s4.n25_1, ',\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda(this));
2702
2714
  };
2703
2715
  protoOf(WirespecEmitter).s24 = function (_this__u8e3s4) {
2704
- return this.l24(_this__u8e3s4.i24_1, Type_Field_getInstance()) + ': ' + this.o24(_this__u8e3s4.j24_1) + (_this__u8e3s4.k24_1 ? '?' : '');
2716
+ return this.l24(_this__u8e3s4.i24_1) + ': ' + this.o24(_this__u8e3s4.j24_1) + (_this__u8e3s4.k24_1 ? '?' : '');
2705
2717
  };
2706
- protoOf(WirespecEmitter).l24 = function (_this__u8e3s4, type) {
2707
- return Companion_getInstance_2().a27_1.p1(_this__u8e3s4.y22_1) ? addBackticks(_this__u8e3s4.y22_1) : _this__u8e3s4.y22_1;
2718
+ protoOf(WirespecEmitter).l24 = function (identifier) {
2719
+ // Inline function 'kotlin.run' call
2720
+ // Inline function 'kotlin.contracts.contract' call
2721
+ // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>' call
2722
+ return Companion_getInstance_2().a27_1.p1(identifier.b1()) ? addBackticks(identifier.b1()) : identifier.b1();
2708
2723
  };
2709
2724
  protoOf(WirespecEmitter).v25 = function (channel) {
2710
- return 'channel ' + this.l24(channel.f25_1, Type_Class_getInstance()) + ' -> ' + this.o24(channel.h25_1);
2725
+ return 'channel ' + this.l24(channel.f25_1) + ' -> ' + this.o24(channel.h25_1);
2711
2726
  };
2712
2727
  protoOf(WirespecEmitter).o24 = function (_this__u8e3s4) {
2713
2728
  // Inline function 'kotlin.let' call
@@ -2757,18 +2772,18 @@
2757
2772
  return _this__u8e3s4.q24() ? '{ ' + it_0 + ' }' : it_0;
2758
2773
  };
2759
2774
  protoOf(WirespecEmitter).s25 = function (enum_0) {
2760
- var tmp = this.l24(enum_0.c25_1, Type_Class_getInstance());
2775
+ var tmp = this.l24(enum_0.c25_1);
2761
2776
  var tmp_0 = Spacer_instance.toString();
2762
2777
  return 'enum ' + tmp + ' {\n' + tmp_0 + joinToString(enum_0.d25_1, ', ', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda_0(this)) + '\n}\n';
2763
2778
  };
2764
2779
  protoOf(WirespecEmitter).o25 = function (refined) {
2765
- return 'type ' + this.l24(refined.z24_1, Type_Class_getInstance()) + ' ' + this.p25(refined.a25_1) + '\n';
2780
+ return 'type ' + this.l24(refined.z24_1) + ' ' + this.p25(refined.a25_1) + '\n';
2766
2781
  };
2767
2782
  protoOf(WirespecEmitter).p25 = function (_this__u8e3s4) {
2768
2783
  return _this__u8e3s4.q25_1;
2769
2784
  };
2770
2785
  protoOf(WirespecEmitter).w25 = function (endpoint) {
2771
- var tmp = this.l24(endpoint.n23_1, Type_Class_getInstance());
2786
+ var tmp = this.l24(endpoint.n23_1);
2772
2787
  var tmp_0 = endpoint.o23_1.toString();
2773
2788
  var tmp_1 = emitRequest(endpoint.t23_1, this);
2774
2789
  var tmp_2 = emitPath(endpoint.p23_1, this);
@@ -2776,7 +2791,7 @@
2776
2791
  return trimMargin('\n |endpoint ' + tmp + ' ' + tmp_0 + tmp_1 + ' ' + tmp_2 + tmp_3 + ' -> {\n |' + joinToString(endpoint.u23_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda_1(this)) + '\n |}\n |\n ');
2777
2792
  };
2778
2793
  protoOf(WirespecEmitter).u25 = function (union) {
2779
- var tmp = this.l24(union.t22_1, Type_Class_getInstance());
2794
+ var tmp = this.l24(union.t22_1);
2780
2795
  return 'type ' + tmp + ' = ' + joinToString(union.u22_1, ' | ', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda_2(this)) + '\n';
2781
2796
  };
2782
2797
  function Spacer() {
@@ -2873,11 +2888,11 @@
2873
2888
  this.t26_1 = isNullable;
2874
2889
  }
2875
2890
  protoOf(Param).toString = function () {
2876
- return 'Param(type=' + this.q26_1.toString() + ', identifier=' + this.r26_1.toString() + ', reference=' + toString(this.s26_1) + ', isNullable=' + this.t26_1 + ')';
2891
+ return 'Param(type=' + this.q26_1.toString() + ', identifier=' + toString(this.r26_1) + ', reference=' + toString(this.s26_1) + ', isNullable=' + this.t26_1 + ')';
2877
2892
  };
2878
2893
  protoOf(Param).hashCode = function () {
2879
2894
  var result = this.q26_1.hashCode();
2880
- result = imul(result, 31) + this.r26_1.hashCode() | 0;
2895
+ result = imul(result, 31) + hashCode(this.r26_1) | 0;
2881
2896
  result = imul(result, 31) + hashCode(this.s26_1) | 0;
2882
2897
  result = imul(result, 31) + getBooleanHashCode(this.t26_1) | 0;
2883
2898
  return result;
@@ -2890,7 +2905,7 @@
2890
2905
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
2891
2906
  if (!this.q26_1.equals(tmp0_other_with_cast.q26_1))
2892
2907
  return false;
2893
- if (!this.r26_1.equals(tmp0_other_with_cast.r26_1))
2908
+ if (!equals(this.r26_1, tmp0_other_with_cast.r26_1))
2894
2909
  return false;
2895
2910
  if (!equals(this.s26_1, tmp0_other_with_cast.s26_1))
2896
2911
  return false;
@@ -2902,7 +2917,7 @@
2902
2917
  return new Param(ParamType_PATH_getInstance(), _this__u8e3s4.m24_1, _this__u8e3s4.n24_1, false);
2903
2918
  }
2904
2919
  function toParam_0(_this__u8e3s4, $this) {
2905
- return new Param(ParamType_BODY_getInstance(), Companion_instance_6.b27('body'), _this__u8e3s4.c24_1, _this__u8e3s4.d24_1);
2920
+ return new Param(ParamType_BODY_getInstance(), new FieldIdentifier('body'), _this__u8e3s4.c24_1, _this__u8e3s4.d24_1);
2906
2921
  }
2907
2922
  function toParam_1(_this__u8e3s4, $this, type) {
2908
2923
  return new Param(type, _this__u8e3s4.i24_1, _this__u8e3s4.j24_1, _this__u8e3s4.k24_1);
@@ -3073,7 +3088,7 @@
3073
3088
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
3074
3089
  this.n22_1.d22('Emitting Node ' + toString(item));
3075
3090
  var tmp;
3076
- if (item instanceof Type_1) {
3091
+ if (item instanceof Type_0) {
3077
3092
  tmp = new Emitted(this.x24(item), this.l25(item, ast));
3078
3093
  } else {
3079
3094
  if (item instanceof Endpoint) {
@@ -3125,7 +3140,7 @@
3125
3140
  tmp = _this__u8e3s4.v24_1;
3126
3141
  } else {
3127
3142
  if (_this__u8e3s4 instanceof Param_0) {
3128
- tmp = '{' + _this__u8e3s4.m24_1.y22_1 + '}';
3143
+ tmp = '{' + _this__u8e3s4.m24_1.b1() + '}';
3129
3144
  } else {
3130
3145
  noWhenBranchMatchedException();
3131
3146
  }
@@ -3236,8 +3251,6 @@
3236
3251
  var tmp0_safe_receiver = _this__u8e3s4.x23_1;
3237
3252
  return flatten(listOf([tmp, listOfNotNull_0(tmp0_safe_receiver == null ? null : toParam_0(tmp0_safe_receiver, this))]));
3238
3253
  };
3239
- function IdentifierEmitter() {
3240
- }
3241
3254
  function TypeScriptShared() {
3242
3255
  TypeScriptShared_instance = this;
3243
3256
  this.v26_1 = 'community.flock.wirespec';
@@ -3274,7 +3287,7 @@
3274
3287
  captureStack(this, NextException);
3275
3288
  }
3276
3289
  function WrongTokenException(expected, actual) {
3277
- ParserException.call(this, actual.e27_1, '' + expected.k9() + ' expected, not: ' + name(actual.d27_1) + ' at line ' + actual.e27_1.f27_1 + ' and position ' + (actual.e27_1.g27_1 - actual.c27_1.length | 0));
3290
+ ParserException.call(this, actual.d27_1, '' + expected.k9() + ' expected, not: ' + name(actual.c27_1) + ' at line ' + actual.d27_1.e27_1 + ' and position ' + (actual.d27_1.f27_1 - actual.b27_1.length | 0));
3278
3291
  captureStack(this, WrongTokenException);
3279
3292
  }
3280
3293
  function DefinitionNotExistsException(referenceName, coordinates) {
@@ -3296,7 +3309,7 @@
3296
3309
  function WirespecException(message, coordinates) {
3297
3310
  RuntimeException_init_$Init$(message, this);
3298
3311
  captureStack(this, WirespecException);
3299
- this.i27_1 = coordinates;
3312
+ this.h27_1 = coordinates;
3300
3313
  }
3301
3314
  function optimize(_this__u8e3s4) {
3302
3315
  return _this__u8e3s4;
@@ -3312,60 +3325,60 @@
3312
3325
  try {
3313
3326
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3314
3327
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>' call
3315
- raise.qk(_this__u8e3s4.o27());
3316
- if (_this__u8e3s4.l27_1.d27_1 instanceof Arrow)
3317
- raise.qk(_this__u8e3s4.o27());
3328
+ raise.qk(_this__u8e3s4.n27());
3329
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Arrow)
3330
+ raise.qk(_this__u8e3s4.n27());
3318
3331
  else {
3319
3332
  // Inline function 'kotlin.also' call
3320
3333
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3321
- var actual = _this__u8e3s4.l27_1;
3334
+ var actual = _this__u8e3s4.k27_1;
3322
3335
  var this_0 = new WrongTokenException(getKClass(Colon), actual);
3323
3336
  // Inline function 'kotlin.contracts.contract' call
3324
3337
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3325
- raise.qk(_this__u8e3s4.o27());
3338
+ raise.qk(_this__u8e3s4.n27());
3326
3339
  raise.pk(this_0);
3327
3340
  }
3328
3341
  var tmp_0;
3329
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3342
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3330
3343
  // Inline function 'kotlin.also' call
3331
3344
  // Inline function 'kotlin.contracts.contract' call
3332
3345
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3333
- raise.qk(_this__u8e3s4.o27());
3346
+ raise.qk(_this__u8e3s4.n27());
3334
3347
  tmp_0 = true;
3335
3348
  } else {
3336
3349
  tmp_0 = false;
3337
3350
  }
3338
3351
  var isDict = tmp_0;
3339
- var type = _this__u8e3s4.l27_1.d27_1;
3352
+ var type = _this__u8e3s4.k27_1.c27_1;
3340
3353
  var tmp_1;
3341
3354
  if (isInterface(type, WirespecType)) {
3342
3355
  // Inline function 'kotlin.also' call
3343
3356
  // Inline function 'kotlin.with' call
3344
3357
  // Inline function 'kotlin.contracts.contract' call
3345
3358
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3346
- var $this$with = $this.q27_1;
3347
- var tmp2_reference = raise.qk($this$with.s27(_this__u8e3s4, type, _this__u8e3s4.l27_1.c27_1, isDict));
3359
+ var $this$with = $this.p27_1;
3360
+ var tmp2_reference = raise.qk($this$with.r27(_this__u8e3s4, type, _this__u8e3s4.k27_1.b27_1, isDict));
3348
3361
  // Inline function 'kotlin.also' call
3349
- var tmp_2 = _this__u8e3s4.l27_1.d27_1;
3362
+ var tmp_2 = _this__u8e3s4.k27_1.c27_1;
3350
3363
  var this_1 = tmp_2 instanceof QuestionMark;
3351
3364
  // Inline function 'kotlin.contracts.contract' call
3352
3365
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3353
3366
  if (this_1)
3354
- raise.qk(_this__u8e3s4.o27());
3367
+ raise.qk(_this__u8e3s4.n27());
3355
3368
  var this_2 = new Channel(comment, identifier, this_1, tmp2_reference);
3356
3369
  // Inline function 'kotlin.contracts.contract' call
3357
3370
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3358
3371
  if (isDict) {
3359
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
3360
- raise.qk(_this__u8e3s4.o27());
3372
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
3373
+ raise.qk(_this__u8e3s4.n27());
3361
3374
  else {
3362
3375
  // Inline function 'kotlin.also' call
3363
3376
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3364
- var actual_0 = _this__u8e3s4.l27_1;
3377
+ var actual_0 = _this__u8e3s4.k27_1;
3365
3378
  var this_3 = new WrongTokenException(getKClass(RightCurly), actual_0);
3366
3379
  // Inline function 'kotlin.contracts.contract' call
3367
3380
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>.<anonymous>' call
3368
- raise.qk(_this__u8e3s4.o27());
3381
+ raise.qk(_this__u8e3s4.n27());
3369
3382
  raise.pk(this_3);
3370
3383
  }
3371
3384
  }
@@ -3373,11 +3386,11 @@
3373
3386
  } else {
3374
3387
  // Inline function 'kotlin.also' call
3375
3388
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3376
- var actual_1 = _this__u8e3s4.l27_1;
3389
+ var actual_1 = _this__u8e3s4.k27_1;
3377
3390
  var this_4 = new WrongTokenException(getKClass(CustomType), actual_1);
3378
3391
  // Inline function 'kotlin.contracts.contract' call
3379
3392
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannelDefinition.<anonymous>.<anonymous>' call
3380
- raise.qk(_this__u8e3s4.o27());
3393
+ raise.qk(_this__u8e3s4.n27());
3381
3394
  raise.pk(this_4);
3382
3395
  }
3383
3396
  var res = tmp_1;
@@ -3407,9 +3420,9 @@
3407
3420
  }
3408
3421
  function ChannelParser(logger) {
3409
3422
  AbstractParser.call(this, logger);
3410
- this.q27_1 = new TypeParser(logger);
3423
+ this.p27_1 = new TypeParser(logger);
3411
3424
  }
3412
- protoOf(ChannelParser).t27 = function (_this__u8e3s4, comment) {
3425
+ protoOf(ChannelParser).s27 = function (_this__u8e3s4, comment) {
3413
3426
  // Inline function 'arrow.core.raise.either' call
3414
3427
  // Inline function 'arrow.core.raise.fold' call
3415
3428
  // Inline function 'kotlin.contracts.contract' call
@@ -3420,19 +3433,19 @@
3420
3433
  try {
3421
3434
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3422
3435
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannel.<anonymous>' call
3423
- raise.qk(_this__u8e3s4.o27());
3424
- this.v27(_this__u8e3s4.l27_1);
3436
+ raise.qk(_this__u8e3s4.n27());
3437
+ this.u27(_this__u8e3s4.k27_1);
3425
3438
  var tmp_0;
3426
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
3427
- tmp_0 = raise.qk(parseChannelDefinition(_this__u8e3s4, this, comment, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1)));
3439
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
3440
+ tmp_0 = raise.qk(parseChannelDefinition(_this__u8e3s4, this, comment, new DefinitionIdentifier(_this__u8e3s4.k27_1.b27_1)));
3428
3441
  } else {
3429
3442
  // Inline function 'kotlin.also' call
3430
3443
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3431
- var actual = _this__u8e3s4.l27_1;
3444
+ var actual = _this__u8e3s4.k27_1;
3432
3445
  var this_0 = new WrongTokenException(getKClass(CustomType), actual);
3433
3446
  // Inline function 'kotlin.contracts.contract' call
3434
3447
  // Inline function 'community.flock.wirespec.compiler.core.parse.ChannelParser.parseChannel.<anonymous>.<anonymous>' call
3435
- raise.qk(_this__u8e3s4.o27());
3448
+ raise.qk(_this__u8e3s4.n27());
3436
3449
  raise.pk(this_0);
3437
3450
  }
3438
3451
  var res = tmp_0;
@@ -3471,29 +3484,29 @@
3471
3484
  try {
3472
3485
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3473
3486
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>' call
3474
- raise.qk(_this__u8e3s4.o27());
3475
- $this.v27(_this__u8e3s4.l27_1);
3487
+ raise.qk(_this__u8e3s4.n27());
3488
+ $this.u27(_this__u8e3s4.k27_1);
3476
3489
  // Inline function 'kotlin.also' call
3477
3490
  var tmp_0;
3478
- if (_this__u8e3s4.l27_1.d27_1 instanceof Method_0) {
3479
- tmp_0 = valueOf(_this__u8e3s4.l27_1.c27_1);
3491
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Method_0) {
3492
+ tmp_0 = valueOf(_this__u8e3s4.k27_1.b27_1);
3480
3493
  } else {
3481
3494
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3482
- var actual = _this__u8e3s4.l27_1;
3495
+ var actual = _this__u8e3s4.k27_1;
3483
3496
  var tmp$ret$0 = new WrongTokenException(getKClass(Method_0), actual);
3484
3497
  raise.pk(tmp$ret$0);
3485
3498
  }
3486
3499
  var this_0 = tmp_0;
3487
3500
  // Inline function 'kotlin.contracts.contract' call
3488
3501
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3489
- raise.qk(_this__u8e3s4.o27());
3502
+ raise.qk(_this__u8e3s4.n27());
3490
3503
  var method = this_0;
3491
3504
  var tmp_1;
3492
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3505
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3493
3506
  // Inline function 'kotlin.also' call
3494
3507
  // Inline function 'kotlin.contracts.contract' call
3495
3508
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3496
- raise.qk(_this__u8e3s4.o27());
3509
+ raise.qk(_this__u8e3s4.n27());
3497
3510
  tmp_1 = true;
3498
3511
  } else {
3499
3512
  tmp_1 = false;
@@ -3501,11 +3514,11 @@
3501
3514
  var isDict = tmp_1;
3502
3515
  // Inline function 'kotlin.collections.map' call
3503
3516
  // Inline function 'kotlin.also' call
3504
- var tmp2_subject = _this__u8e3s4.l27_1.d27_1;
3517
+ var tmp2_subject = _this__u8e3s4.k27_1.c27_1;
3505
3518
  var tmp_2;
3506
3519
  if (isInterface(tmp2_subject, WirespecType)) {
3507
- var tmp_3 = _this__u8e3s4.l27_1.d27_1;
3508
- tmp_2 = raise.qk(parseReference(_this__u8e3s4, $this, isInterface(tmp_3, WirespecType) ? tmp_3 : THROW_CCE(), _this__u8e3s4.l27_1.c27_1, isDict));
3520
+ var tmp_3 = _this__u8e3s4.k27_1.c27_1;
3521
+ tmp_2 = raise.qk(parseReference(_this__u8e3s4, $this, isInterface(tmp_3, WirespecType) ? tmp_3 : THROW_CCE(), _this__u8e3s4.k27_1.b27_1, isDict));
3509
3522
  } else {
3510
3523
  tmp_2 = null;
3511
3524
  }
@@ -3513,16 +3526,16 @@
3513
3526
  // Inline function 'kotlin.contracts.contract' call
3514
3527
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3515
3528
  if (isDict) {
3516
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
3517
- raise.qk(_this__u8e3s4.o27());
3529
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
3530
+ raise.qk(_this__u8e3s4.n27());
3518
3531
  else {
3519
3532
  // Inline function 'kotlin.also' call
3520
3533
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3521
- var actual_0 = _this__u8e3s4.l27_1;
3534
+ var actual_0 = _this__u8e3s4.k27_1;
3522
3535
  var this_2 = new WrongTokenException(getKClass(RightCurly), actual_0);
3523
3536
  // Inline function 'kotlin.contracts.contract' call
3524
3537
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>.<anonymous>' call
3525
- raise.qk(_this__u8e3s4.o27());
3538
+ raise.qk(_this__u8e3s4.n27());
3526
3539
  raise.pk(this_2);
3527
3540
  }
3528
3541
  }
@@ -3553,15 +3566,15 @@
3553
3566
  $l$loop: while (true) {
3554
3567
  var tmp_5;
3555
3568
  var tmp_6;
3556
- var tmp_7 = _this__u8e3s4.l27_1.d27_1;
3569
+ var tmp_7 = _this__u8e3s4.k27_1.c27_1;
3557
3570
  if (!(tmp_7 instanceof QuestionMark)) {
3558
- var tmp_8 = _this__u8e3s4.l27_1.d27_1;
3571
+ var tmp_8 = _this__u8e3s4.k27_1.c27_1;
3559
3572
  tmp_6 = !(tmp_8 instanceof Hash);
3560
3573
  } else {
3561
3574
  tmp_6 = false;
3562
3575
  }
3563
3576
  if (tmp_6) {
3564
- var tmp_9 = _this__u8e3s4.l27_1.d27_1;
3577
+ var tmp_9 = _this__u8e3s4.k27_1.c27_1;
3565
3578
  tmp_5 = !(tmp_9 instanceof Arrow);
3566
3579
  } else {
3567
3580
  tmp_5 = false;
@@ -3573,18 +3586,18 @@
3573
3586
  }
3574
3587
  var segments = this_3;
3575
3588
  var tmp_10;
3576
- if (_this__u8e3s4.l27_1.d27_1 instanceof QuestionMark) {
3577
- raise.qk(_this__u8e3s4.o27());
3589
+ if (_this__u8e3s4.k27_1.c27_1 instanceof QuestionMark) {
3590
+ raise.qk(_this__u8e3s4.n27());
3578
3591
  var tmp_11;
3579
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3592
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3580
3593
  // Inline function 'kotlin.with' call
3581
3594
  // Inline function 'kotlin.contracts.contract' call
3582
3595
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3583
- var $this$with = $this.x27_1;
3584
- tmp_11 = raise.qk($this$with.y27(_this__u8e3s4)).n25_1;
3596
+ var $this$with = $this.w27_1;
3597
+ tmp_11 = raise.qk($this$with.x27(_this__u8e3s4)).n25_1;
3585
3598
  } else {
3586
3599
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3587
- var actual_1 = _this__u8e3s4.l27_1;
3600
+ var actual_1 = _this__u8e3s4.k27_1;
3588
3601
  var tmp$ret$15 = new WrongTokenException(getKClass(LeftCurly), actual_1);
3589
3602
  raise.pk(tmp$ret$15);
3590
3603
  }
@@ -3594,18 +3607,18 @@
3594
3607
  }
3595
3608
  var queryParams = tmp_10;
3596
3609
  var tmp_12;
3597
- if (_this__u8e3s4.l27_1.d27_1 instanceof Hash) {
3598
- raise.qk(_this__u8e3s4.o27());
3610
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Hash) {
3611
+ raise.qk(_this__u8e3s4.n27());
3599
3612
  var tmp_13;
3600
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3613
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3601
3614
  // Inline function 'kotlin.with' call
3602
3615
  // Inline function 'kotlin.contracts.contract' call
3603
3616
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3604
- var $this$with_0 = $this.x27_1;
3605
- tmp_13 = raise.qk($this$with_0.y27(_this__u8e3s4)).n25_1;
3617
+ var $this$with_0 = $this.w27_1;
3618
+ tmp_13 = raise.qk($this$with_0.x27(_this__u8e3s4)).n25_1;
3606
3619
  } else {
3607
3620
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3608
- var actual_2 = _this__u8e3s4.l27_1;
3621
+ var actual_2 = _this__u8e3s4.k27_1;
3609
3622
  var tmp$ret$18 = new WrongTokenException(getKClass(LeftCurly), actual_2);
3610
3623
  raise.pk(tmp$ret$18);
3611
3624
  }
@@ -3614,24 +3627,24 @@
3614
3627
  tmp_12 = emptyList();
3615
3628
  }
3616
3629
  var headers = tmp_12;
3617
- if (_this__u8e3s4.l27_1.d27_1 instanceof Arrow)
3618
- raise.qk(_this__u8e3s4.o27());
3630
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Arrow)
3631
+ raise.qk(_this__u8e3s4.n27());
3619
3632
  else {
3620
3633
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3621
- var actual_3 = _this__u8e3s4.l27_1;
3634
+ var actual_3 = _this__u8e3s4.k27_1;
3622
3635
  var tmp$ret$19 = new WrongTokenException(getKClass(Arrow), actual_3);
3623
3636
  raise.pk(tmp$ret$19);
3624
3637
  }
3625
3638
  // Inline function 'kotlin.also' call
3626
- if (!(_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly)) {
3639
+ if (!(_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly)) {
3627
3640
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3628
- var actual_4 = _this__u8e3s4.l27_1;
3641
+ var actual_4 = _this__u8e3s4.k27_1;
3629
3642
  var tmp$ret$20 = new WrongTokenException(getKClass(LeftCurly), actual_4);
3630
3643
  raise.pk(tmp$ret$20);
3631
3644
  }
3632
3645
  // Inline function 'kotlin.contracts.contract' call
3633
3646
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3634
- raise.qk(_this__u8e3s4.o27());
3647
+ raise.qk(_this__u8e3s4.n27());
3635
3648
  var responses = raise.qk(parseEndpointResponses(_this__u8e3s4, $this));
3636
3649
  var res = new Endpoint(comment, name, method, segments, queryParams, headers, emptyList(), requests, responses);
3637
3650
  raise.nk();
@@ -3669,22 +3682,22 @@
3669
3682
  try {
3670
3683
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3671
3684
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegments.<anonymous>' call
3672
- $this.v27(_this__u8e3s4.l27_1);
3673
- var tmp0_subject = _this__u8e3s4.l27_1.d27_1;
3685
+ $this.u27(_this__u8e3s4.k27_1);
3686
+ var tmp0_subject = _this__u8e3s4.k27_1.c27_1;
3674
3687
  var tmp_0;
3675
3688
  if (tmp0_subject instanceof Path) {
3676
3689
  // Inline function 'kotlin.also' call
3677
- var this_0 = new Literal(drop(_this__u8e3s4.l27_1.c27_1, 1));
3690
+ var this_0 = new Literal(drop(_this__u8e3s4.k27_1.b27_1, 1));
3678
3691
  // Inline function 'kotlin.contracts.contract' call
3679
3692
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegments.<anonymous>.<anonymous>' call
3680
- raise.qk(_this__u8e3s4.o27());
3693
+ raise.qk(_this__u8e3s4.n27());
3681
3694
  tmp_0 = this_0;
3682
3695
  } else {
3683
3696
  if (tmp0_subject instanceof ForwardSlash) {
3684
3697
  tmp_0 = raise.qk(parseEndpointSegmentParam(_this__u8e3s4, $this));
3685
3698
  } else {
3686
3699
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3687
- var actual = _this__u8e3s4.l27_1;
3700
+ var actual = _this__u8e3s4.k27_1;
3688
3701
  var tmp$ret$1 = new WrongTokenException(getKClass(Path), actual);
3689
3702
  raise.pk(tmp$ret$1);
3690
3703
  }
@@ -3725,59 +3738,59 @@
3725
3738
  try {
3726
3739
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3727
3740
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>' call
3728
- raise.qk(_this__u8e3s4.o27());
3729
- $this.v27(_this__u8e3s4.l27_1);
3730
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly)
3731
- raise.qk(_this__u8e3s4.o27());
3741
+ raise.qk(_this__u8e3s4.n27());
3742
+ $this.u27(_this__u8e3s4.k27_1);
3743
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly)
3744
+ raise.qk(_this__u8e3s4.n27());
3732
3745
  else {
3733
3746
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3734
- var actual = _this__u8e3s4.l27_1;
3747
+ var actual = _this__u8e3s4.k27_1;
3735
3748
  var tmp$ret$0 = new WrongTokenException(getKClass(LeftCurly), actual);
3736
3749
  raise.pk(tmp$ret$0);
3737
3750
  }
3738
3751
  var tmp_0;
3739
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomValue) {
3752
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomValue) {
3740
3753
  // Inline function 'kotlin.also' call
3741
- var this_0 = Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1);
3754
+ var this_0 = new FieldIdentifier(_this__u8e3s4.k27_1.b27_1);
3742
3755
  // Inline function 'kotlin.contracts.contract' call
3743
3756
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>.<anonymous>' call
3744
- raise.qk(_this__u8e3s4.o27());
3757
+ raise.qk(_this__u8e3s4.n27());
3745
3758
  tmp_0 = this_0;
3746
3759
  } else {
3747
3760
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3748
- var actual_0 = _this__u8e3s4.l27_1;
3761
+ var actual_0 = _this__u8e3s4.k27_1;
3749
3762
  var tmp$ret$2 = new WrongTokenException(getKClass(CustomValue), actual_0);
3750
3763
  raise.pk(tmp$ret$2);
3751
3764
  }
3752
3765
  var identifier = tmp_0;
3753
- if (_this__u8e3s4.l27_1.d27_1 instanceof Colon)
3754
- raise.qk(_this__u8e3s4.o27());
3766
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Colon)
3767
+ raise.qk(_this__u8e3s4.n27());
3755
3768
  else {
3756
3769
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3757
- var actual_1 = _this__u8e3s4.l27_1;
3770
+ var actual_1 = _this__u8e3s4.k27_1;
3758
3771
  var tmp$ret$3 = new WrongTokenException(getKClass(Colon), actual_1);
3759
3772
  raise.pk(tmp$ret$3);
3760
3773
  }
3761
3774
  var tmp_1;
3762
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3775
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3763
3776
  // Inline function 'kotlin.also' call
3764
3777
  // Inline function 'kotlin.contracts.contract' call
3765
3778
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>.<anonymous>' call
3766
- raise.qk(_this__u8e3s4.o27());
3779
+ raise.qk(_this__u8e3s4.n27());
3767
3780
  tmp_1 = true;
3768
3781
  } else {
3769
3782
  tmp_1 = false;
3770
3783
  }
3771
3784
  var isDict = tmp_1;
3772
3785
  // Inline function 'kotlin.also' call
3773
- var tmp4_subject = _this__u8e3s4.l27_1.d27_1;
3786
+ var tmp4_subject = _this__u8e3s4.k27_1.c27_1;
3774
3787
  var tmp_2;
3775
3788
  if (isInterface(tmp4_subject, WirespecType)) {
3776
- var tmp_3 = _this__u8e3s4.l27_1.d27_1;
3777
- tmp_2 = raise.qk(parseReference(_this__u8e3s4, $this, isInterface(tmp_3, WirespecType) ? tmp_3 : THROW_CCE(), _this__u8e3s4.l27_1.c27_1, isDict));
3789
+ var tmp_3 = _this__u8e3s4.k27_1.c27_1;
3790
+ tmp_2 = raise.qk(parseReference(_this__u8e3s4, $this, isInterface(tmp_3, WirespecType) ? tmp_3 : THROW_CCE(), _this__u8e3s4.k27_1.b27_1, isDict));
3778
3791
  } else {
3779
3792
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3780
- var actual_2 = _this__u8e3s4.l27_1;
3793
+ var actual_2 = _this__u8e3s4.k27_1;
3781
3794
  var tmp$ret$5 = new WrongTokenException(getKClass(WirespecType), actual_2);
3782
3795
  raise.pk(tmp$ret$5);
3783
3796
  }
@@ -3785,25 +3798,25 @@
3785
3798
  // Inline function 'kotlin.contracts.contract' call
3786
3799
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>.<anonymous>' call
3787
3800
  if (isDict) {
3788
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
3789
- raise.qk(_this__u8e3s4.o27());
3801
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
3802
+ raise.qk(_this__u8e3s4.n27());
3790
3803
  else {
3791
3804
  // Inline function 'kotlin.also' call
3792
3805
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3793
- var actual_3 = _this__u8e3s4.l27_1;
3806
+ var actual_3 = _this__u8e3s4.k27_1;
3794
3807
  var this_2 = new WrongTokenException(getKClass(RightCurly), actual_3);
3795
3808
  // Inline function 'kotlin.contracts.contract' call
3796
3809
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointSegmentParam.<anonymous>.<anonymous>.<anonymous>' call
3797
- raise.qk(_this__u8e3s4.o27());
3810
+ raise.qk(_this__u8e3s4.n27());
3798
3811
  raise.pk(this_2);
3799
3812
  }
3800
3813
  }
3801
3814
  var reference = this_1;
3802
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
3803
- raise.qk(_this__u8e3s4.o27());
3815
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
3816
+ raise.qk(_this__u8e3s4.n27());
3804
3817
  else {
3805
3818
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3806
- var actual_4 = _this__u8e3s4.l27_1;
3819
+ var actual_4 = _this__u8e3s4.k27_1;
3807
3820
  var tmp$ret$9 = new WrongTokenException(getKClass(RightCurly), actual_4);
3808
3821
  raise.pk(tmp$ret$9);
3809
3822
  }
@@ -3843,33 +3856,33 @@
3843
3856
  try {
3844
3857
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3845
3858
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>' call
3846
- $this.v27(_this__u8e3s4.l27_1);
3859
+ $this.u27(_this__u8e3s4.k27_1);
3847
3860
  // Inline function 'kotlin.collections.mutableListOf' call
3848
3861
  var responses = ArrayList_init_$Create$();
3849
3862
  $l$loop: while (true) {
3850
- var tmp_0 = _this__u8e3s4.l27_1.d27_1;
3863
+ var tmp_0 = _this__u8e3s4.k27_1.c27_1;
3851
3864
  if (!!(tmp_0 instanceof RightCurly)) {
3852
3865
  break $l$loop;
3853
3866
  }
3854
- if (_this__u8e3s4.l27_1.d27_1 instanceof StatusCode)
3855
- responses.e(raise.qk(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.l27_1.c27_1)));
3867
+ if (_this__u8e3s4.k27_1.c27_1 instanceof StatusCode)
3868
+ responses.e(raise.qk(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.k27_1.b27_1)));
3856
3869
  else {
3857
3870
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3858
- var actual = _this__u8e3s4.l27_1;
3871
+ var actual = _this__u8e3s4.k27_1;
3859
3872
  var tmp$ret$1 = new WrongTokenException(getKClass(StatusCode), actual);
3860
3873
  raise.pk(tmp$ret$1);
3861
3874
  }
3862
3875
  }
3863
3876
  // Inline function 'kotlin.also' call
3864
- if (!(_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)) {
3877
+ if (!(_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)) {
3865
3878
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3866
- var actual_0 = _this__u8e3s4.l27_1;
3879
+ var actual_0 = _this__u8e3s4.k27_1;
3867
3880
  var tmp$ret$2 = new WrongTokenException(getKClass(RightCurly), actual_0);
3868
3881
  raise.pk(tmp$ret$2);
3869
3882
  }
3870
3883
  // Inline function 'kotlin.contracts.contract' call
3871
3884
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>.<anonymous>' call
3872
- raise.qk(_this__u8e3s4.o27());
3885
+ raise.qk(_this__u8e3s4.n27());
3873
3886
  var res = toList(responses);
3874
3887
  raise.nk();
3875
3888
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -3906,36 +3919,36 @@
3906
3919
  try {
3907
3920
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3908
3921
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>' call
3909
- raise.qk(_this__u8e3s4.o27());
3910
- $this.v27(_this__u8e3s4.l27_1);
3911
- if (!(_this__u8e3s4.l27_1.d27_1 instanceof Arrow)) {
3922
+ raise.qk(_this__u8e3s4.n27());
3923
+ $this.u27(_this__u8e3s4.k27_1);
3924
+ if (!(_this__u8e3s4.k27_1.c27_1 instanceof Arrow)) {
3912
3925
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3913
- var actual = _this__u8e3s4.l27_1;
3926
+ var actual = _this__u8e3s4.k27_1;
3914
3927
  var tmp$ret$0 = new WrongTokenException(getKClass(Arrow), actual);
3915
3928
  raise.pk(tmp$ret$0);
3916
3929
  }
3917
- raise.qk(_this__u8e3s4.o27());
3918
- $this.v27(_this__u8e3s4.l27_1);
3930
+ raise.qk(_this__u8e3s4.n27());
3931
+ $this.u27(_this__u8e3s4.k27_1);
3919
3932
  var tmp_0;
3920
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
3933
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
3921
3934
  // Inline function 'kotlin.also' call
3922
3935
  // Inline function 'kotlin.contracts.contract' call
3923
3936
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>.<anonymous>' call
3924
- raise.qk(_this__u8e3s4.o27());
3937
+ raise.qk(_this__u8e3s4.n27());
3925
3938
  tmp_0 = true;
3926
3939
  } else {
3927
3940
  tmp_0 = false;
3928
3941
  }
3929
3942
  var isDict = tmp_0;
3930
3943
  // Inline function 'kotlin.also' call
3931
- var tmp2_subject = _this__u8e3s4.l27_1.d27_1;
3944
+ var tmp2_subject = _this__u8e3s4.k27_1.c27_1;
3932
3945
  var tmp_1;
3933
3946
  if (isInterface(tmp2_subject, WirespecType)) {
3934
- var tmp_2 = _this__u8e3s4.l27_1.d27_1;
3935
- tmp_1 = raise.qk(parseContent(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.l27_1.c27_1, isDict));
3947
+ var tmp_2 = _this__u8e3s4.k27_1.c27_1;
3948
+ tmp_1 = raise.qk(parseContent(_this__u8e3s4, $this, isInterface(tmp_2, WirespecType) ? tmp_2 : THROW_CCE(), _this__u8e3s4.k27_1.b27_1, isDict));
3936
3949
  } else {
3937
3950
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3938
- var actual_0 = _this__u8e3s4.l27_1;
3951
+ var actual_0 = _this__u8e3s4.k27_1;
3939
3952
  var tmp$ret$2 = new WrongTokenException(getKClass(WirespecType), actual_0);
3940
3953
  raise.pk(tmp$ret$2);
3941
3954
  }
@@ -3943,16 +3956,16 @@
3943
3956
  // Inline function 'kotlin.contracts.contract' call
3944
3957
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>.<anonymous>' call
3945
3958
  if (isDict) {
3946
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
3947
- raise.qk(_this__u8e3s4.o27());
3959
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
3960
+ raise.qk(_this__u8e3s4.n27());
3948
3961
  else {
3949
3962
  // Inline function 'kotlin.also' call
3950
3963
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3951
- var actual_1 = _this__u8e3s4.l27_1;
3964
+ var actual_1 = _this__u8e3s4.k27_1;
3952
3965
  var this_1 = new WrongTokenException(getKClass(RightCurly), actual_1);
3953
3966
  // Inline function 'kotlin.contracts.contract' call
3954
3967
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>.<anonymous>.<anonymous>' call
3955
- raise.qk(_this__u8e3s4.o27());
3968
+ raise.qk(_this__u8e3s4.n27());
3956
3969
  raise.pk(this_1);
3957
3970
  }
3958
3971
  }
@@ -3993,7 +4006,7 @@
3993
4006
  try {
3994
4007
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3995
4008
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseContent.<anonymous>' call
3996
- $this.v27(_this__u8e3s4.l27_1);
4009
+ $this.u27(_this__u8e3s4.k27_1);
3997
4010
  var reference = raise.qk(parseReference(_this__u8e3s4, $this, wsType, value, isDict));
3998
4011
  var tmp_0;
3999
4012
  if (reference instanceof Unit) {
@@ -4037,16 +4050,16 @@
4037
4050
  try {
4038
4051
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4039
4052
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseReference.<anonymous>' call
4040
- var previousToken = _this__u8e3s4.l27_1;
4041
- raise.qk(_this__u8e3s4.o27());
4042
- $this.v27(_this__u8e3s4.l27_1);
4053
+ var previousToken = _this__u8e3s4.k27_1;
4054
+ raise.qk(_this__u8e3s4.n27());
4055
+ $this.u27(_this__u8e3s4.k27_1);
4043
4056
  // Inline function 'kotlin.also' call
4044
- var tmp_0 = _this__u8e3s4.l27_1.d27_1;
4057
+ var tmp_0 = _this__u8e3s4.k27_1.c27_1;
4045
4058
  var this_0 = tmp_0 instanceof Brackets;
4046
4059
  // Inline function 'kotlin.contracts.contract' call
4047
4060
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseReference.<anonymous>.<anonymous>' call
4048
4061
  if (this_0)
4049
- raise.qk(_this__u8e3s4.o27());
4062
+ raise.qk(_this__u8e3s4.n27());
4050
4063
  var isIterable = this_0;
4051
4064
  var tmp_1;
4052
4065
  if (wsType instanceof WsString) {
@@ -4065,7 +4078,7 @@
4065
4078
  tmp_1 = new Unit(isIterable);
4066
4079
  } else {
4067
4080
  if (wsType instanceof CustomType) {
4068
- raise.qk(_this__u8e3s4.z27(previousToken));
4081
+ raise.qk(_this__u8e3s4.y27(previousToken));
4069
4082
  tmp_1 = new Custom(value, isIterable);
4070
4083
  } else {
4071
4084
  noWhenBranchMatchedException();
@@ -4102,9 +4115,9 @@
4102
4115
  }
4103
4116
  function EndpointParser(logger) {
4104
4117
  AbstractParser.call(this, logger);
4105
- this.x27_1 = new TypeParser(logger);
4118
+ this.w27_1 = new TypeParser(logger);
4106
4119
  }
4107
- protoOf(EndpointParser).a28 = function (_this__u8e3s4, comment) {
4120
+ protoOf(EndpointParser).z27 = function (_this__u8e3s4, comment) {
4108
4121
  // Inline function 'arrow.core.raise.either' call
4109
4122
  // Inline function 'arrow.core.raise.fold' call
4110
4123
  // Inline function 'kotlin.contracts.contract' call
@@ -4115,19 +4128,19 @@
4115
4128
  try {
4116
4129
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4117
4130
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>' call
4118
- raise.qk(_this__u8e3s4.o27());
4119
- this.v27(_this__u8e3s4.l27_1);
4131
+ raise.qk(_this__u8e3s4.n27());
4132
+ this.u27(_this__u8e3s4.k27_1);
4120
4133
  var tmp_0;
4121
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
4122
- tmp_0 = raise.qk(parseEndpointDefinition(_this__u8e3s4, this, comment, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1)));
4134
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
4135
+ tmp_0 = raise.qk(parseEndpointDefinition(_this__u8e3s4, this, comment, new DefinitionIdentifier(_this__u8e3s4.k27_1.b27_1)));
4123
4136
  } else {
4124
4137
  // Inline function 'kotlin.also' call
4125
4138
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4126
- var actual = _this__u8e3s4.l27_1;
4139
+ var actual = _this__u8e3s4.k27_1;
4127
4140
  var this_0 = new WrongTokenException(getKClass(CustomType), actual);
4128
4141
  // Inline function 'kotlin.contracts.contract' call
4129
4142
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>.<anonymous>' call
4130
- raise.qk(_this__u8e3s4.o27());
4143
+ raise.qk(_this__u8e3s4.n27());
4131
4144
  raise.pk(this_0);
4132
4145
  }
4133
4146
  var res = tmp_0;
@@ -4166,35 +4179,35 @@
4166
4179
  try {
4167
4180
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4168
4181
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>' call
4169
- raise.qk(_this__u8e3s4.o27());
4170
- $this.v27(_this__u8e3s4.l27_1);
4182
+ raise.qk(_this__u8e3s4.n27());
4183
+ $this.u27(_this__u8e3s4.k27_1);
4171
4184
  // Inline function 'kotlin.also' call
4172
4185
  var tmp_0;
4173
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
4186
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
4174
4187
  tmp_0 = new Enum_0(comment, typeName, raise.qk(parseEnumTypeEntries(_this__u8e3s4, $this)));
4175
4188
  } else {
4176
4189
  // Inline function 'kotlin.also' call
4177
4190
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4178
- var actual = _this__u8e3s4.l27_1;
4191
+ var actual = _this__u8e3s4.k27_1;
4179
4192
  var this_0 = new WrongTokenException(getKClass(LeftCurly), actual);
4180
4193
  // Inline function 'kotlin.contracts.contract' call
4181
4194
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4182
- raise.qk(_this__u8e3s4.o27());
4195
+ raise.qk(_this__u8e3s4.n27());
4183
4196
  raise.pk(this_0);
4184
4197
  }
4185
4198
  var this_1 = tmp_0;
4186
4199
  // Inline function 'kotlin.contracts.contract' call
4187
4200
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4188
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
4189
- raise.qk(_this__u8e3s4.o27());
4201
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
4202
+ raise.qk(_this__u8e3s4.n27());
4190
4203
  else {
4191
4204
  // Inline function 'kotlin.also' call
4192
4205
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4193
- var actual_0 = _this__u8e3s4.l27_1;
4206
+ var actual_0 = _this__u8e3s4.k27_1;
4194
4207
  var this_2 = new WrongTokenException(getKClass(RightCurly), actual_0);
4195
4208
  // Inline function 'kotlin.contracts.contract' call
4196
4209
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4197
- raise.qk(_this__u8e3s4.o27());
4210
+ raise.qk(_this__u8e3s4.n27());
4198
4211
  raise.pk(this_2);
4199
4212
  }
4200
4213
  var res = this_1;
@@ -4233,33 +4246,33 @@
4233
4246
  try {
4234
4247
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4235
4248
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>' call
4236
- raise.qk(_this__u8e3s4.o27());
4237
- $this.v27(_this__u8e3s4.l27_1);
4249
+ raise.qk(_this__u8e3s4.n27());
4250
+ $this.u27(_this__u8e3s4.k27_1);
4238
4251
  var tmp_0;
4239
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
4252
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
4240
4253
  // Inline function 'kotlin.apply' call
4241
4254
  // Inline function 'kotlin.collections.mutableListOf' call
4242
4255
  var this_0 = ArrayList_init_$Create$();
4243
4256
  // Inline function 'kotlin.contracts.contract' call
4244
4257
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4245
- this_0.e(_this__u8e3s4.l27_1.c27_1);
4246
- raise.qk(_this__u8e3s4.o27());
4247
- while (equals(_this__u8e3s4.l27_1.d27_1, Comma_instance)) {
4248
- raise.qk(_this__u8e3s4.o27());
4249
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
4258
+ this_0.e(_this__u8e3s4.k27_1.b27_1);
4259
+ raise.qk(_this__u8e3s4.n27());
4260
+ while (equals(_this__u8e3s4.k27_1.c27_1, Comma_instance)) {
4261
+ raise.qk(_this__u8e3s4.n27());
4262
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
4250
4263
  // Inline function 'kotlin.also' call
4251
- this_0.e(_this__u8e3s4.l27_1.c27_1);
4264
+ this_0.e(_this__u8e3s4.k27_1.b27_1);
4252
4265
  // Inline function 'kotlin.contracts.contract' call
4253
4266
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4254
- raise.qk(_this__u8e3s4.o27());
4267
+ raise.qk(_this__u8e3s4.n27());
4255
4268
  } else {
4256
4269
  // Inline function 'kotlin.also' call
4257
4270
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4258
- var actual = _this__u8e3s4.l27_1;
4271
+ var actual = _this__u8e3s4.k27_1;
4259
4272
  var this_1 = new WrongTokenException(getKClass(CustomType), actual);
4260
4273
  // Inline function 'kotlin.contracts.contract' call
4261
4274
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4262
- raise.qk(_this__u8e3s4.o27());
4275
+ raise.qk(_this__u8e3s4.n27());
4263
4276
  raise.pk(this_1);
4264
4277
  }
4265
4278
  }
@@ -4267,11 +4280,11 @@
4267
4280
  } else {
4268
4281
  // Inline function 'kotlin.also' call
4269
4282
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4270
- var actual_0 = _this__u8e3s4.l27_1;
4283
+ var actual_0 = _this__u8e3s4.k27_1;
4271
4284
  var this_2 = new WrongTokenException(getKClass(CustomType), actual_0);
4272
4285
  // Inline function 'kotlin.contracts.contract' call
4273
4286
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4274
- raise.qk(_this__u8e3s4.o27());
4287
+ raise.qk(_this__u8e3s4.n27());
4275
4288
  raise.pk(this_2);
4276
4289
  }
4277
4290
  var res = toSet(tmp_0);
@@ -4302,7 +4315,7 @@
4302
4315
  function EnumParser(logger) {
4303
4316
  AbstractParser.call(this, logger);
4304
4317
  }
4305
- protoOf(EnumParser).c28 = function (_this__u8e3s4, comment) {
4318
+ protoOf(EnumParser).b28 = function (_this__u8e3s4, comment) {
4306
4319
  // Inline function 'arrow.core.raise.either' call
4307
4320
  // Inline function 'arrow.core.raise.fold' call
4308
4321
  // Inline function 'kotlin.contracts.contract' call
@@ -4313,19 +4326,19 @@
4313
4326
  try {
4314
4327
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4315
4328
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>' call
4316
- raise.qk(_this__u8e3s4.o27());
4317
- this.v27(_this__u8e3s4.l27_1);
4329
+ raise.qk(_this__u8e3s4.n27());
4330
+ this.u27(_this__u8e3s4.k27_1);
4318
4331
  var tmp_0;
4319
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
4320
- tmp_0 = raise.qk(parseEnumTypeDefinition(_this__u8e3s4, this, comment, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1)));
4332
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
4333
+ tmp_0 = raise.qk(parseEnumTypeDefinition(_this__u8e3s4, this, comment, new DefinitionIdentifier(_this__u8e3s4.k27_1.b27_1)));
4321
4334
  } else {
4322
4335
  // Inline function 'kotlin.also' call
4323
4336
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4324
- var actual = _this__u8e3s4.l27_1;
4337
+ var actual = _this__u8e3s4.k27_1;
4325
4338
  var this_0 = new WrongTokenException(getKClass(CustomType), actual);
4326
4339
  // Inline function 'kotlin.contracts.contract' call
4327
4340
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>.<anonymous>' call
4328
- raise.qk(_this__u8e3s4.o27());
4341
+ raise.qk(_this__u8e3s4.n27());
4329
4342
  raise.pk(this_0);
4330
4343
  }
4331
4344
  var res = tmp_0;
@@ -4370,141 +4383,93 @@
4370
4383
  function Comment__equals_impl_3xkmkx($this, other) {
4371
4384
  if (!(other instanceof Comment))
4372
4385
  return false;
4373
- if (!($this === (other instanceof Comment ? other.e28_1 : THROW_CCE())))
4386
+ if (!($this === (other instanceof Comment ? other.d28_1 : THROW_CCE())))
4374
4387
  return false;
4375
4388
  return true;
4376
4389
  }
4377
4390
  function Comment(value) {
4378
- this.e28_1 = value;
4391
+ this.d28_1 = value;
4379
4392
  }
4380
4393
  protoOf(Comment).b1 = function () {
4381
- return _Comment___get_value__impl__8r3pla(this.e28_1);
4394
+ return _Comment___get_value__impl__8r3pla(this.d28_1);
4382
4395
  };
4383
4396
  protoOf(Comment).toString = function () {
4384
- return Comment__toString_impl_803gny(this.e28_1);
4397
+ return Comment__toString_impl_803gny(this.d28_1);
4385
4398
  };
4386
4399
  protoOf(Comment).hashCode = function () {
4387
- return Comment__hashCode_impl_tr9dgt(this.e28_1);
4400
+ return Comment__hashCode_impl_tr9dgt(this.d28_1);
4388
4401
  };
4389
4402
  protoOf(Comment).equals = function (other) {
4390
- return Comment__equals_impl_3xkmkx(this.e28_1, other);
4403
+ return Comment__equals_impl_3xkmkx(this.d28_1, other);
4391
4404
  };
4392
- var Type_Class_instance;
4393
- var Type_Field_instance;
4394
- var Type_entriesInitialized;
4395
- function Type_initEntries() {
4396
- if (Type_entriesInitialized)
4397
- return Unit_instance;
4398
- Type_entriesInitialized = true;
4399
- Type_Class_instance = new Type('Class', 0);
4400
- Type_Field_instance = new Type('Field', 1);
4401
- }
4402
- function Type(name, ordinal) {
4403
- Enum.call(this, name, ordinal);
4404
- }
4405
- function Companion_5() {
4406
- }
4407
- protoOf(Companion_5).b27 = function (value) {
4408
- // Inline function 'kotlin.let' call
4409
- // Inline function 'kotlin.contracts.contract' call
4410
- var p0 = removeBackticks(value);
4411
- return new Identifier(p0);
4412
- };
4413
- var Companion_instance_6;
4414
- function Companion_getInstance_5() {
4415
- return Companion_instance_6;
4416
- }
4417
- function Type_Class_getInstance() {
4418
- Type_initEntries();
4419
- return Type_Class_instance;
4420
- }
4421
- function Type_Field_getInstance() {
4422
- Type_initEntries();
4423
- return Type_Field_instance;
4424
- }
4425
- function Identifier(value) {
4426
- this.y22_1 = value;
4405
+ function Identifier(name) {
4406
+ this.c23_1 = removeBackticks(name);
4427
4407
  }
4428
4408
  protoOf(Identifier).b1 = function () {
4429
- return this.y22_1;
4430
- };
4431
- protoOf(Identifier).toString = function () {
4432
- return this.y22_1;
4433
- };
4434
- protoOf(Identifier).equals = function (other) {
4435
- if (this === other)
4436
- return true;
4437
- if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
4438
- return false;
4439
- if (!(other instanceof Identifier))
4440
- THROW_CCE();
4441
- return this.y22_1 === other.y22_1;
4442
- };
4443
- protoOf(Identifier).hashCode = function () {
4444
- return getStringHashCode(this.y22_1);
4409
+ return this.c23_1;
4445
4410
  };
4446
4411
  var Type_String_instance;
4447
4412
  var Type_Integer_instance;
4448
4413
  var Type_Number_instance;
4449
4414
  var Type_Boolean_instance;
4450
- var Type_entriesInitialized_0;
4451
- function Type_initEntries_0() {
4452
- if (Type_entriesInitialized_0)
4415
+ var Type_entriesInitialized;
4416
+ function Type_initEntries() {
4417
+ if (Type_entriesInitialized)
4453
4418
  return Unit_instance;
4454
- Type_entriesInitialized_0 = true;
4455
- Type_String_instance = new Type_0('String', 0);
4456
- Type_Integer_instance = new Type_0('Integer', 1);
4457
- Type_Number_instance = new Type_0('Number', 2);
4458
- Type_Boolean_instance = new Type_0('Boolean', 3);
4419
+ Type_entriesInitialized = true;
4420
+ Type_String_instance = new Type('String', 0);
4421
+ Type_Integer_instance = new Type('Integer', 1);
4422
+ Type_Number_instance = new Type('Number', 2);
4423
+ Type_Boolean_instance = new Type('Boolean', 3);
4459
4424
  }
4460
- function Type_0(name, ordinal) {
4425
+ function Type(name, ordinal) {
4461
4426
  Enum.call(this, name, ordinal);
4462
4427
  }
4463
4428
  function Type_String_getInstance() {
4464
- Type_initEntries_0();
4429
+ Type_initEntries();
4465
4430
  return Type_String_instance;
4466
4431
  }
4467
4432
  function Type_Integer_getInstance() {
4468
- Type_initEntries_0();
4433
+ Type_initEntries();
4469
4434
  return Type_Integer_instance;
4470
4435
  }
4471
4436
  function Type_Number_getInstance() {
4472
- Type_initEntries_0();
4437
+ Type_initEntries();
4473
4438
  return Type_Number_instance;
4474
4439
  }
4475
4440
  function Type_Boolean_getInstance() {
4476
- Type_initEntries_0();
4441
+ Type_initEntries();
4477
4442
  return Type_Boolean_instance;
4478
4443
  }
4479
4444
  function Any(isIterable, isDictionary) {
4480
4445
  isDictionary = isDictionary === VOID ? false : isDictionary;
4481
- this.f28_1 = isIterable;
4482
- this.g28_1 = isDictionary;
4483
- this.h28_1 = 'Any';
4446
+ this.e28_1 = isIterable;
4447
+ this.f28_1 = isDictionary;
4448
+ this.g28_1 = 'Any';
4484
4449
  }
4485
4450
  protoOf(Any).e24 = function () {
4486
- return this.f28_1;
4451
+ return this.e28_1;
4487
4452
  };
4488
4453
  protoOf(Any).q24 = function () {
4489
- return this.g28_1;
4454
+ return this.f28_1;
4490
4455
  };
4491
4456
  protoOf(Any).b1 = function () {
4492
- return this.h28_1;
4457
+ return this.g28_1;
4493
4458
  };
4494
- protoOf(Any).i28 = function (isIterable, isDictionary) {
4459
+ protoOf(Any).h28 = function (isIterable, isDictionary) {
4495
4460
  return new Any(isIterable, isDictionary);
4496
4461
  };
4497
- protoOf(Any).j28 = function (isIterable, isDictionary, $super) {
4498
- isIterable = isIterable === VOID ? this.f28_1 : isIterable;
4499
- isDictionary = isDictionary === VOID ? this.g28_1 : isDictionary;
4500
- return $super === VOID ? this.i28(isIterable, isDictionary) : $super.i28.call(this, isIterable, isDictionary);
4462
+ protoOf(Any).i28 = function (isIterable, isDictionary, $super) {
4463
+ isIterable = isIterable === VOID ? this.e28_1 : isIterable;
4464
+ isDictionary = isDictionary === VOID ? this.f28_1 : isDictionary;
4465
+ return $super === VOID ? this.h28(isIterable, isDictionary) : $super.h28.call(this, isIterable, isDictionary);
4501
4466
  };
4502
4467
  protoOf(Any).toString = function () {
4503
- return 'Any(isIterable=' + this.f28_1 + ', isDictionary=' + this.g28_1 + ')';
4468
+ return 'Any(isIterable=' + this.e28_1 + ', isDictionary=' + this.f28_1 + ')';
4504
4469
  };
4505
4470
  protoOf(Any).hashCode = function () {
4506
- var result = getBooleanHashCode(this.f28_1);
4507
- result = imul(result, 31) + getBooleanHashCode(this.g28_1) | 0;
4471
+ var result = getBooleanHashCode(this.e28_1);
4472
+ result = imul(result, 31) + getBooleanHashCode(this.f28_1) | 0;
4508
4473
  return result;
4509
4474
  };
4510
4475
  protoOf(Any).equals = function (other) {
@@ -4513,41 +4478,41 @@
4513
4478
  if (!(other instanceof Any))
4514
4479
  return false;
4515
4480
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
4516
- if (!(this.f28_1 === tmp0_other_with_cast.f28_1))
4481
+ if (!(this.e28_1 === tmp0_other_with_cast.e28_1))
4517
4482
  return false;
4518
- if (!(this.g28_1 === tmp0_other_with_cast.g28_1))
4483
+ if (!(this.f28_1 === tmp0_other_with_cast.f28_1))
4519
4484
  return false;
4520
4485
  return true;
4521
4486
  };
4522
4487
  function Unit(isIterable, isDictionary) {
4523
4488
  isDictionary = isDictionary === VOID ? false : isDictionary;
4524
- this.k28_1 = isIterable;
4525
- this.l28_1 = isDictionary;
4526
- this.m28_1 = 'Unit';
4489
+ this.j28_1 = isIterable;
4490
+ this.k28_1 = isDictionary;
4491
+ this.l28_1 = 'Unit';
4527
4492
  }
4528
4493
  protoOf(Unit).e24 = function () {
4529
- return this.k28_1;
4494
+ return this.j28_1;
4530
4495
  };
4531
4496
  protoOf(Unit).q24 = function () {
4532
- return this.l28_1;
4497
+ return this.k28_1;
4533
4498
  };
4534
4499
  protoOf(Unit).b1 = function () {
4535
- return this.m28_1;
4500
+ return this.l28_1;
4536
4501
  };
4537
- protoOf(Unit).i28 = function (isIterable, isDictionary) {
4502
+ protoOf(Unit).h28 = function (isIterable, isDictionary) {
4538
4503
  return new Unit(isIterable, isDictionary);
4539
4504
  };
4540
- protoOf(Unit).n28 = function (isIterable, isDictionary, $super) {
4541
- isIterable = isIterable === VOID ? this.k28_1 : isIterable;
4542
- isDictionary = isDictionary === VOID ? this.l28_1 : isDictionary;
4543
- return $super === VOID ? this.i28(isIterable, isDictionary) : $super.i28.call(this, isIterable, isDictionary);
4505
+ protoOf(Unit).m28 = function (isIterable, isDictionary, $super) {
4506
+ isIterable = isIterable === VOID ? this.j28_1 : isIterable;
4507
+ isDictionary = isDictionary === VOID ? this.k28_1 : isDictionary;
4508
+ return $super === VOID ? this.h28(isIterable, isDictionary) : $super.h28.call(this, isIterable, isDictionary);
4544
4509
  };
4545
4510
  protoOf(Unit).toString = function () {
4546
- return 'Unit(isIterable=' + this.k28_1 + ', isDictionary=' + this.l28_1 + ')';
4511
+ return 'Unit(isIterable=' + this.j28_1 + ', isDictionary=' + this.k28_1 + ')';
4547
4512
  };
4548
4513
  protoOf(Unit).hashCode = function () {
4549
- var result = getBooleanHashCode(this.k28_1);
4550
- result = imul(result, 31) + getBooleanHashCode(this.l28_1) | 0;
4514
+ var result = getBooleanHashCode(this.j28_1);
4515
+ result = imul(result, 31) + getBooleanHashCode(this.k28_1) | 0;
4551
4516
  return result;
4552
4517
  };
4553
4518
  protoOf(Unit).equals = function (other) {
@@ -4556,9 +4521,9 @@
4556
4521
  if (!(other instanceof Unit))
4557
4522
  return false;
4558
4523
  var tmp0_other_with_cast = other instanceof Unit ? other : THROW_CCE();
4559
- if (!(this.k28_1 === tmp0_other_with_cast.k28_1))
4524
+ if (!(this.j28_1 === tmp0_other_with_cast.j28_1))
4560
4525
  return false;
4561
- if (!(this.l28_1 === tmp0_other_with_cast.l28_1))
4526
+ if (!(this.k28_1 === tmp0_other_with_cast.k28_1))
4562
4527
  return false;
4563
4528
  return true;
4564
4529
  };
@@ -4577,14 +4542,14 @@
4577
4542
  protoOf(Custom).q24 = function () {
4578
4543
  return this.x22_1;
4579
4544
  };
4580
- protoOf(Custom).o28 = function (value, isIterable, isDictionary) {
4545
+ protoOf(Custom).n28 = function (value, isIterable, isDictionary) {
4581
4546
  return new Custom(value, isIterable, isDictionary);
4582
4547
  };
4583
- protoOf(Custom).p28 = function (value, isIterable, isDictionary, $super) {
4548
+ protoOf(Custom).o28 = function (value, isIterable, isDictionary, $super) {
4584
4549
  value = value === VOID ? this.v22_1 : value;
4585
4550
  isIterable = isIterable === VOID ? this.w22_1 : isIterable;
4586
4551
  isDictionary = isDictionary === VOID ? this.x22_1 : isDictionary;
4587
- return $super === VOID ? this.o28(value, isIterable, isDictionary) : $super.o28.call(this, value, isIterable, isDictionary);
4552
+ return $super === VOID ? this.n28(value, isIterable, isDictionary) : $super.n28.call(this, value, isIterable, isDictionary);
4588
4553
  };
4589
4554
  protoOf(Custom).toString = function () {
4590
4555
  return 'Custom(value=' + this.v22_1 + ', isIterable=' + this.w22_1 + ', isDictionary=' + this.x22_1 + ')';
@@ -4626,14 +4591,14 @@
4626
4591
  protoOf(Primitive).b1 = function () {
4627
4592
  return this.l23_1;
4628
4593
  };
4629
- protoOf(Primitive).q28 = function (type, isIterable, isDictionary) {
4594
+ protoOf(Primitive).p28 = function (type, isIterable, isDictionary) {
4630
4595
  return new Primitive(type, isIterable, isDictionary);
4631
4596
  };
4632
- protoOf(Primitive).r28 = function (type, isIterable, isDictionary, $super) {
4597
+ protoOf(Primitive).q28 = function (type, isIterable, isDictionary, $super) {
4633
4598
  type = type === VOID ? this.i23_1 : type;
4634
4599
  isIterable = isIterable === VOID ? this.j23_1 : isIterable;
4635
4600
  isDictionary = isDictionary === VOID ? this.k23_1 : isDictionary;
4636
- return $super === VOID ? this.q28(type, isIterable, isDictionary) : $super.q28.call(this, type, isIterable, isDictionary);
4601
+ return $super === VOID ? this.p28(type, isIterable, isDictionary) : $super.p28.call(this, type, isIterable, isDictionary);
4637
4602
  };
4638
4603
  protoOf(Primitive).toString = function () {
4639
4604
  return 'Primitive(type=' + this.i23_1.toString() + ', isIterable=' + this.j23_1 + ', isDictionary=' + this.k23_1 + ')';
@@ -4680,67 +4645,67 @@
4680
4645
  return false;
4681
4646
  return true;
4682
4647
  };
4683
- function Type_1(comment, identifier, shape, extends_0) {
4684
- this.z22_1 = comment;
4685
- this.a23_1 = identifier;
4686
- this.b23_1 = shape;
4687
- this.c23_1 = extends_0;
4648
+ function Type_0(comment, identifier, shape, extends_0) {
4649
+ this.y22_1 = comment;
4650
+ this.z22_1 = identifier;
4651
+ this.a23_1 = shape;
4652
+ this.b23_1 = extends_0;
4688
4653
  }
4689
- protoOf(Type_1).d28 = function () {
4690
- return this.a23_1;
4654
+ protoOf(Type_0).c28 = function () {
4655
+ return this.z22_1;
4691
4656
  };
4692
- protoOf(Type_1).s28 = function (comment, identifier, shape, extends_0) {
4693
- return new Type_1(comment, identifier, shape, extends_0);
4657
+ protoOf(Type_0).r28 = function (comment, identifier, shape, extends_0) {
4658
+ return new Type_0(comment, identifier, shape, extends_0);
4694
4659
  };
4695
- protoOf(Type_1).t28 = function (comment, identifier, shape, extends_0, $super) {
4696
- comment = comment === VOID ? this.z22_1 : comment;
4697
- identifier = identifier === VOID ? this.a23_1 : identifier;
4698
- shape = shape === VOID ? this.b23_1 : shape;
4699
- extends_0 = extends_0 === VOID ? this.c23_1 : extends_0;
4660
+ protoOf(Type_0).s28 = function (comment, identifier, shape, extends_0, $super) {
4661
+ comment = comment === VOID ? this.y22_1 : comment;
4662
+ identifier = identifier === VOID ? this.z22_1 : identifier;
4663
+ shape = shape === VOID ? this.a23_1 : shape;
4664
+ extends_0 = extends_0 === VOID ? this.b23_1 : extends_0;
4700
4665
  var tmp;
4701
4666
  if ($super === VOID) {
4702
- tmp = this.s28(comment, identifier, shape, extends_0);
4667
+ tmp = this.r28(comment, identifier, shape, extends_0);
4703
4668
  } else {
4704
- var tmp_0 = $super.s28;
4669
+ var tmp_0 = $super.r28;
4705
4670
  var tmp_1 = comment;
4706
4671
  tmp = tmp_0.call(this, tmp_1 == null ? null : new Comment(tmp_1), identifier, shape, extends_0);
4707
4672
  }
4708
4673
  return tmp;
4709
4674
  };
4710
- protoOf(Type_1).toString = function () {
4711
- var tmp = this.z22_1;
4712
- return 'Type(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', identifier=' + this.a23_1.toString() + ', shape=' + this.b23_1.toString() + ', extends=' + toString(this.c23_1) + ')';
4675
+ protoOf(Type_0).toString = function () {
4676
+ var tmp = this.y22_1;
4677
+ return 'Type(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', identifier=' + this.z22_1.toString() + ', shape=' + this.a23_1.toString() + ', extends=' + toString(this.b23_1) + ')';
4713
4678
  };
4714
- protoOf(Type_1).hashCode = function () {
4679
+ protoOf(Type_0).hashCode = function () {
4715
4680
  var tmp;
4716
- var tmp_0 = this.z22_1;
4681
+ var tmp_0 = this.y22_1;
4717
4682
  if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
4718
4683
  tmp = 0;
4719
4684
  } else {
4720
- tmp = Comment__hashCode_impl_tr9dgt(this.z22_1);
4685
+ tmp = Comment__hashCode_impl_tr9dgt(this.y22_1);
4721
4686
  }
4722
4687
  var result = tmp;
4688
+ result = imul(result, 31) + this.z22_1.hashCode() | 0;
4723
4689
  result = imul(result, 31) + this.a23_1.hashCode() | 0;
4724
- result = imul(result, 31) + this.b23_1.hashCode() | 0;
4725
- result = imul(result, 31) + hashCode(this.c23_1) | 0;
4690
+ result = imul(result, 31) + hashCode(this.b23_1) | 0;
4726
4691
  return result;
4727
4692
  };
4728
- protoOf(Type_1).equals = function (other) {
4693
+ protoOf(Type_0).equals = function (other) {
4729
4694
  if (this === other)
4730
4695
  return true;
4731
- if (!(other instanceof Type_1))
4696
+ if (!(other instanceof Type_0))
4732
4697
  return false;
4733
- var tmp0_other_with_cast = other instanceof Type_1 ? other : THROW_CCE();
4734
- var tmp = this.z22_1;
4698
+ var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
4699
+ var tmp = this.y22_1;
4735
4700
  var tmp_0 = tmp == null ? null : new Comment(tmp);
4736
- var tmp_1 = tmp0_other_with_cast.z22_1;
4701
+ var tmp_1 = tmp0_other_with_cast.y22_1;
4737
4702
  if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
4738
4703
  return false;
4739
- if (!this.a23_1.equals(tmp0_other_with_cast.a23_1))
4704
+ if (!this.z22_1.equals(tmp0_other_with_cast.z22_1))
4740
4705
  return false;
4741
- if (!this.b23_1.equals(tmp0_other_with_cast.b23_1))
4706
+ if (!this.a23_1.equals(tmp0_other_with_cast.a23_1))
4742
4707
  return false;
4743
- if (!equals(this.c23_1, tmp0_other_with_cast.c23_1))
4708
+ if (!equals(this.b23_1, tmp0_other_with_cast.b23_1))
4744
4709
  return false;
4745
4710
  return true;
4746
4711
  };
@@ -4967,7 +4932,7 @@
4967
4932
  this.t23_1 = requests;
4968
4933
  this.u23_1 = responses;
4969
4934
  }
4970
- protoOf(Endpoint).d28 = function () {
4935
+ protoOf(Endpoint).c28 = function () {
4971
4936
  return this.n23_1;
4972
4937
  };
4973
4938
  protoOf(Endpoint).toString = function () {
@@ -5027,7 +4992,7 @@
5027
4992
  this.c25_1 = identifier;
5028
4993
  this.d25_1 = entries;
5029
4994
  }
5030
- protoOf(Enum_0).d28 = function () {
4995
+ protoOf(Enum_0).c28 = function () {
5031
4996
  return this.c25_1;
5032
4997
  };
5033
4998
  protoOf(Enum_0).toString = function () {
@@ -5092,7 +5057,7 @@
5092
5057
  this.z24_1 = identifier;
5093
5058
  this.a25_1 = validator;
5094
5059
  }
5095
- protoOf(Refined).d28 = function () {
5060
+ protoOf(Refined).c28 = function () {
5096
5061
  return this.z24_1;
5097
5062
  };
5098
5063
  protoOf(Refined).toString = function () {
@@ -5134,7 +5099,7 @@
5134
5099
  this.t22_1 = identifier;
5135
5100
  this.u22_1 = entries;
5136
5101
  }
5137
- protoOf(Union).d28 = function () {
5102
+ protoOf(Union).c28 = function () {
5138
5103
  return this.t22_1;
5139
5104
  };
5140
5105
  protoOf(Union).toString = function () {
@@ -5177,7 +5142,7 @@
5177
5142
  this.g25_1 = isNullable;
5178
5143
  this.h25_1 = reference;
5179
5144
  }
5180
- protoOf(Channel).d28 = function () {
5145
+ protoOf(Channel).c28 = function () {
5181
5146
  return this.f25_1;
5182
5147
  };
5183
5148
  protoOf(Channel).toString = function () {
@@ -5217,6 +5182,26 @@
5217
5182
  return false;
5218
5183
  return true;
5219
5184
  };
5185
+ function FieldIdentifier(name) {
5186
+ Identifier.call(this, name);
5187
+ this.u28_1 = name;
5188
+ }
5189
+ protoOf(FieldIdentifier).toString = function () {
5190
+ return 'FieldIdentifier(name=' + this.u28_1 + ')';
5191
+ };
5192
+ protoOf(FieldIdentifier).hashCode = function () {
5193
+ return getStringHashCode(this.u28_1);
5194
+ };
5195
+ protoOf(FieldIdentifier).equals = function (other) {
5196
+ if (this === other)
5197
+ return true;
5198
+ if (!(other instanceof FieldIdentifier))
5199
+ return false;
5200
+ var tmp0_other_with_cast = other instanceof FieldIdentifier ? other : THROW_CCE();
5201
+ if (!(this.u28_1 === tmp0_other_with_cast.u28_1))
5202
+ return false;
5203
+ return true;
5204
+ };
5220
5205
  function Field(identifier, reference, isNullable) {
5221
5206
  this.i24_1 = identifier;
5222
5207
  this.j24_1 = reference;
@@ -5245,6 +5230,26 @@
5245
5230
  return false;
5246
5231
  return true;
5247
5232
  };
5233
+ function DefinitionIdentifier(name) {
5234
+ Identifier.call(this, name);
5235
+ this.w28_1 = name;
5236
+ }
5237
+ protoOf(DefinitionIdentifier).toString = function () {
5238
+ return 'DefinitionIdentifier(name=' + this.w28_1 + ')';
5239
+ };
5240
+ protoOf(DefinitionIdentifier).hashCode = function () {
5241
+ return getStringHashCode(this.w28_1);
5242
+ };
5243
+ protoOf(DefinitionIdentifier).equals = function (other) {
5244
+ if (this === other)
5245
+ return true;
5246
+ if (!(other instanceof DefinitionIdentifier))
5247
+ return false;
5248
+ var tmp0_other_with_cast = other instanceof DefinitionIdentifier ? other : THROW_CCE();
5249
+ if (!(this.w28_1 === tmp0_other_with_cast.w28_1))
5250
+ return false;
5251
+ return true;
5252
+ };
5248
5253
  function parse_0(_this__u8e3s4, $this) {
5249
5254
  // Inline function 'arrow.core.raise.either' call
5250
5255
  // Inline function 'arrow.core.raise.fold' call
@@ -5333,52 +5338,52 @@
5333
5338
  try {
5334
5339
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5335
5340
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
5336
- $this.v27(_this__u8e3s4.l27_1);
5341
+ $this.u27(_this__u8e3s4.k27_1);
5337
5342
  var tmp_0;
5338
- if (_this__u8e3s4.l27_1.d27_1 instanceof WsComment) {
5343
+ if (_this__u8e3s4.k27_1.c27_1 instanceof WsComment) {
5339
5344
  // Inline function 'kotlin.also' call
5340
- var this_0 = new Comment(_Comment___init__impl__cg8s2u(_this__u8e3s4.l27_1.c27_1));
5345
+ var this_0 = new Comment(_Comment___init__impl__cg8s2u(_this__u8e3s4.k27_1.b27_1));
5341
5346
  // Inline function 'kotlin.contracts.contract' call
5342
5347
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5343
- this_0.e28_1;
5344
- raise.qk(_this__u8e3s4.o27());
5345
- tmp_0 = this_0.e28_1;
5348
+ this_0.d28_1;
5349
+ raise.qk(_this__u8e3s4.n27());
5350
+ tmp_0 = this_0.d28_1;
5346
5351
  } else {
5347
5352
  tmp_0 = null;
5348
5353
  }
5349
5354
  var comment = tmp_0;
5350
- var tmp1_subject = _this__u8e3s4.l27_1.d27_1;
5355
+ var tmp1_subject = _this__u8e3s4.k27_1.c27_1;
5351
5356
  var tmp_1;
5352
5357
  if (isInterface(tmp1_subject, WirespecDefinition)) {
5353
- var tmp_2 = _this__u8e3s4.l27_1.d27_1;
5358
+ var tmp_2 = _this__u8e3s4.k27_1.c27_1;
5354
5359
  var tmp2_subject = isInterface(tmp_2, WirespecDefinition) ? tmp_2 : THROW_CCE();
5355
5360
  var tmp_3;
5356
5361
  if (tmp2_subject instanceof WsTypeDef) {
5357
5362
  // Inline function 'kotlin.with' call
5358
5363
  // Inline function 'kotlin.contracts.contract' call
5359
5364
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5360
- var tmp$ret$2 = $this.i22_1.u28(_this__u8e3s4, comment);
5365
+ var tmp$ret$2 = $this.i22_1.x28(_this__u8e3s4, comment);
5361
5366
  tmp_3 = raise.qk(tmp$ret$2);
5362
5367
  } else {
5363
5368
  if (tmp2_subject instanceof WsEnumTypeDef) {
5364
5369
  // Inline function 'kotlin.with' call
5365
5370
  // Inline function 'kotlin.contracts.contract' call
5366
5371
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5367
- var tmp$ret$4 = $this.j22_1.c28(_this__u8e3s4, comment);
5372
+ var tmp$ret$4 = $this.j22_1.b28(_this__u8e3s4, comment);
5368
5373
  tmp_3 = raise.qk(tmp$ret$4);
5369
5374
  } else {
5370
5375
  if (tmp2_subject instanceof WsEndpointDef) {
5371
5376
  // Inline function 'kotlin.with' call
5372
5377
  // Inline function 'kotlin.contracts.contract' call
5373
5378
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5374
- var tmp$ret$6 = $this.k22_1.a28(_this__u8e3s4, comment);
5379
+ var tmp$ret$6 = $this.k22_1.z27(_this__u8e3s4, comment);
5375
5380
  tmp_3 = raise.qk(tmp$ret$6);
5376
5381
  } else {
5377
5382
  if (tmp2_subject instanceof WsChannelDef) {
5378
5383
  // Inline function 'kotlin.with' call
5379
5384
  // Inline function 'kotlin.contracts.contract' call
5380
5385
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5381
- var tmp$ret$8 = $this.l22_1.t27(_this__u8e3s4, comment);
5386
+ var tmp$ret$8 = $this.l22_1.s27(_this__u8e3s4, comment);
5382
5387
  tmp_3 = raise.qk(tmp$ret$8);
5383
5388
  } else {
5384
5389
  noWhenBranchMatchedException();
@@ -5390,11 +5395,11 @@
5390
5395
  } else {
5391
5396
  // Inline function 'kotlin.also' call
5392
5397
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5393
- var actual = _this__u8e3s4.l27_1;
5398
+ var actual = _this__u8e3s4.k27_1;
5394
5399
  var this_1 = new WrongTokenException(getKClass(WirespecDefinition), actual);
5395
5400
  // Inline function 'kotlin.contracts.contract' call
5396
5401
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
5397
- raise.qk(_this__u8e3s4.o27());
5402
+ raise.qk(_this__u8e3s4.n27());
5398
5403
  raise.pk(this_1);
5399
5404
  }
5400
5405
  var res = tmp_1;
@@ -5430,13 +5435,13 @@
5430
5435
  this.l22_1 = new ChannelParser(logger);
5431
5436
  }
5432
5437
  protoOf(Parser).m22 = function (tokens) {
5433
- return parse_0(toProvider(removeWhiteSpace(tokens), this.u27_1), this);
5438
+ return parse_0(toProvider(removeWhiteSpace(tokens), this.t27_1), this);
5434
5439
  };
5435
5440
  function AbstractParser(logger) {
5436
- this.u27_1 = logger;
5441
+ this.t27_1 = logger;
5437
5442
  }
5438
- protoOf(AbstractParser).v27 = function (_this__u8e3s4) {
5439
- return this.u27_1.d22('Parsing ' + toString(_this__u8e3s4.d27_1) + ' at line ' + _this__u8e3s4.e27_1.f27_1 + ' position ' + _this__u8e3s4.e27_1.g27_1);
5443
+ protoOf(AbstractParser).u27 = function (_this__u8e3s4) {
5444
+ return this.t27_1.d22('Parsing ' + toString(_this__u8e3s4.c27_1) + ' at line ' + _this__u8e3s4.d27_1.e27_1 + ' position ' + _this__u8e3s4.d27_1.f27_1);
5440
5445
  };
5441
5446
  function printTokens($this, previousToken) {
5442
5447
  var tmp;
@@ -5446,15 +5451,15 @@
5446
5451
  // Inline function 'kotlin.run' call
5447
5452
  // Inline function 'kotlin.contracts.contract' call
5448
5453
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
5449
- tmp = "Eating: '" + previousToken.c27_1 + "', ";
5454
+ tmp = "Eating: '" + previousToken.b27_1 + "', ";
5450
5455
  }
5451
5456
  var tmp1_elvis_lhs = tmp;
5452
5457
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
5453
5458
  // Inline function 'kotlin.run' call
5454
5459
  // Inline function 'kotlin.contracts.contract' call
5455
5460
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
5456
- var curr = "Current: '" + $this.l27_1.c27_1 + "'";
5457
- var tmp2_safe_receiver = $this.m27_1;
5461
+ var curr = "Current: '" + $this.k27_1.b27_1 + "'";
5462
+ var tmp2_safe_receiver = $this.l27_1;
5458
5463
  var tmp_0;
5459
5464
  if (tmp2_safe_receiver == null) {
5460
5465
  tmp_0 = null;
@@ -5462,11 +5467,11 @@
5462
5467
  // Inline function 'kotlin.run' call
5463
5468
  // Inline function 'kotlin.contracts.contract' call
5464
5469
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
5465
- tmp_0 = ", Next: '" + tmp2_safe_receiver.c27_1 + "'";
5470
+ tmp_0 = ", Next: '" + tmp2_safe_receiver.b27_1 + "'";
5466
5471
  }
5467
5472
  var tmp3_elvis_lhs = tmp_0;
5468
5473
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
5469
- $this.j27_1.v28(prev + curr + next);
5474
+ $this.i27_1.y28(prev + curr + next);
5470
5475
  }
5471
5476
  function printTokens$default($this, previousToken, $super) {
5472
5477
  previousToken = previousToken === VOID ? null : previousToken;
@@ -5479,7 +5484,7 @@
5479
5484
  try {
5480
5485
  // Inline function 'kotlin.Companion.success' call
5481
5486
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
5482
- var value = $this.k27_1.i();
5487
+ var value = $this.j27_1.i();
5483
5488
  tmp = _Result___init__impl__xyqfz8(value);
5484
5489
  } catch ($p) {
5485
5490
  var tmp_0;
@@ -5503,10 +5508,10 @@
5503
5508
  return tmp_1;
5504
5509
  }
5505
5510
  function TokenProvider(logger, list) {
5506
- this.j27_1 = logger;
5507
- this.k27_1 = list.fk_1.g();
5508
- this.l27_1 = list.ek_1;
5509
- this.m27_1 = nextToken(this);
5511
+ this.i27_1 = logger;
5512
+ this.j27_1 = list.fk_1.g();
5513
+ this.k27_1 = list.ek_1;
5514
+ this.l27_1 = nextToken(this);
5510
5515
  var tmp = this;
5511
5516
  // Inline function 'kotlin.collections.mapNotNull' call
5512
5517
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -5520,10 +5525,10 @@
5520
5525
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.definitionNames.<anonymous>' call
5521
5526
  var first = element.qd();
5522
5527
  var second = element.rd();
5523
- var tmp0_subject = first.d27_1;
5528
+ var tmp0_subject = first.c27_1;
5524
5529
  var tmp_0;
5525
5530
  if (isInterface(tmp0_subject, WirespecDefinition)) {
5526
- tmp_0 = second.c27_1;
5531
+ tmp_0 = second.b27_1;
5527
5532
  } else {
5528
5533
  tmp_0 = null;
5529
5534
  }
@@ -5536,10 +5541,10 @@
5536
5541
  destination.e(tmp0_safe_receiver);
5537
5542
  }
5538
5543
  }
5539
- tmp.n27_1 = destination;
5544
+ tmp.m27_1 = destination;
5540
5545
  printTokens$default(this);
5541
5546
  }
5542
- protoOf(TokenProvider).z27 = function (_this__u8e3s4) {
5547
+ protoOf(TokenProvider).y27 = function (_this__u8e3s4) {
5543
5548
  // Inline function 'arrow.core.raise.either' call
5544
5549
  // Inline function 'arrow.core.raise.fold' call
5545
5550
  // Inline function 'kotlin.contracts.contract' call
@@ -5549,8 +5554,8 @@
5549
5554
  var tmp;
5550
5555
  try {
5551
5556
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5552
- if (!this.n27_1.p1(_this__u8e3s4.c27_1)) {
5553
- raise.pk(new DefinitionNotExistsException(_this__u8e3s4.c27_1, _this__u8e3s4.e27_1));
5557
+ if (!this.m27_1.p1(_this__u8e3s4.b27_1)) {
5558
+ raise.pk(new DefinitionNotExistsException(_this__u8e3s4.b27_1, _this__u8e3s4.d27_1));
5554
5559
  }
5555
5560
  var res = Unit_instance;
5556
5561
  raise.nk();
@@ -5578,9 +5583,9 @@
5578
5583
  return tmp;
5579
5584
  };
5580
5585
  protoOf(TokenProvider).h = function () {
5581
- return !(this.m27_1 == null);
5586
+ return !(this.l27_1 == null);
5582
5587
  };
5583
- protoOf(TokenProvider).o27 = function () {
5588
+ protoOf(TokenProvider).n27 = function () {
5584
5589
  // Inline function 'arrow.core.raise.either' call
5585
5590
  // Inline function 'arrow.core.raise.fold' call
5586
5591
  // Inline function 'kotlin.contracts.contract' call
@@ -5590,17 +5595,17 @@
5590
5595
  var tmp;
5591
5596
  try {
5592
5597
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5593
- var previousToken = this.l27_1;
5598
+ var previousToken = this.k27_1;
5594
5599
  var tmp_0 = this;
5595
- var tmp0_elvis_lhs = this.m27_1;
5600
+ var tmp0_elvis_lhs = this.l27_1;
5596
5601
  var tmp_1;
5597
5602
  if (tmp0_elvis_lhs == null) {
5598
- raise.pk(new NextException(previousToken.e27_1));
5603
+ raise.pk(new NextException(previousToken.d27_1));
5599
5604
  } else {
5600
5605
  tmp_1 = tmp0_elvis_lhs;
5601
5606
  }
5602
- tmp_0.l27_1 = tmp_1;
5603
- this.m27_1 = nextToken(this);
5607
+ tmp_0.k27_1 = tmp_1;
5608
+ this.l27_1 = nextToken(this);
5604
5609
  printTokens(this, previousToken);
5605
5610
  var res = Unit_instance;
5606
5611
  raise.nk();
@@ -5641,9 +5646,9 @@
5641
5646
  try {
5642
5647
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5643
5648
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseRefinedValidator.<anonymous>' call
5644
- raise.qk(_this__u8e3s4.o27());
5645
- $this.v27(_this__u8e3s4.l27_1);
5646
- var tmp0_subject = _this__u8e3s4.l27_1.d27_1;
5649
+ raise.qk(_this__u8e3s4.n27());
5650
+ $this.u27(_this__u8e3s4.k27_1);
5651
+ var tmp0_subject = _this__u8e3s4.k27_1.c27_1;
5647
5652
  var tmp_0;
5648
5653
  var tmp_1;
5649
5654
  if (isInterface(tmp0_subject, WirespecDefinition)) {
@@ -5654,7 +5659,7 @@
5654
5659
  if (tmp_1) {
5655
5660
  tmp_0 = accumulatedString;
5656
5661
  } else {
5657
- tmp_0 = raise.qk(parseRefinedValidator(_this__u8e3s4, $this, accumulatedString + _this__u8e3s4.l27_1.c27_1));
5662
+ tmp_0 = raise.qk(parseRefinedValidator(_this__u8e3s4, $this, accumulatedString + _this__u8e3s4.k27_1.b27_1));
5658
5663
  }
5659
5664
  var res = tmp_0;
5660
5665
  raise.nk();
@@ -5692,12 +5697,12 @@
5692
5697
  try {
5693
5698
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5694
5699
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>' call
5695
- raise.qk(_this__u8e3s4.o27());
5696
- $this.v27(_this__u8e3s4.l27_1);
5697
- var tmp0_subject = _this__u8e3s4.l27_1.d27_1;
5700
+ raise.qk(_this__u8e3s4.n27());
5701
+ $this.u27(_this__u8e3s4.k27_1);
5702
+ var tmp0_subject = _this__u8e3s4.k27_1.c27_1;
5698
5703
  var tmp_0;
5699
5704
  if (tmp0_subject instanceof LeftCurly) {
5700
- tmp_0 = new Type_1(comment, typeName, raise.qk($this.y27(_this__u8e3s4)), emptyList());
5705
+ tmp_0 = new Type_0(comment, typeName, raise.qk($this.x27(_this__u8e3s4)), emptyList());
5701
5706
  } else {
5702
5707
  if (tmp0_subject instanceof ForwardSlash) {
5703
5708
  tmp_0 = new Refined(comment, typeName, new Validator(raise.qk(parseRefinedValidator(_this__u8e3s4, $this, '/'))));
@@ -5707,11 +5712,11 @@
5707
5712
  } else {
5708
5713
  // Inline function 'kotlin.also' call
5709
5714
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5710
- var actual = _this__u8e3s4.l27_1;
5715
+ var actual = _this__u8e3s4.k27_1;
5711
5716
  var this_0 = new WrongTokenException(getKClass(TypeDefinitionStart), actual);
5712
5717
  // Inline function 'kotlin.contracts.contract' call
5713
5718
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>.<anonymous>' call
5714
- raise.qk(_this__u8e3s4.o27());
5719
+ raise.qk(_this__u8e3s4.n27());
5715
5720
  raise.pk(this_0);
5716
5721
  }
5717
5722
  }
@@ -5752,57 +5757,57 @@
5752
5757
  try {
5753
5758
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5754
5759
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>' call
5755
- raise.qk(_this__u8e3s4.o27());
5756
- $this.v27(_this__u8e3s4.l27_1);
5757
- if (_this__u8e3s4.l27_1.d27_1 instanceof Colon)
5758
- raise.qk(_this__u8e3s4.o27());
5760
+ raise.qk(_this__u8e3s4.n27());
5761
+ $this.u27(_this__u8e3s4.k27_1);
5762
+ if (_this__u8e3s4.k27_1.c27_1 instanceof Colon)
5763
+ raise.qk(_this__u8e3s4.n27());
5759
5764
  else {
5760
5765
  // Inline function 'kotlin.also' call
5761
5766
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5762
- var actual = _this__u8e3s4.l27_1;
5767
+ var actual = _this__u8e3s4.k27_1;
5763
5768
  var this_0 = new WrongTokenException(getKClass(Colon), actual);
5764
5769
  // Inline function 'kotlin.contracts.contract' call
5765
5770
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
5766
- raise.qk(_this__u8e3s4.o27());
5771
+ raise.qk(_this__u8e3s4.n27());
5767
5772
  raise.pk(this_0);
5768
5773
  }
5769
5774
  var tmp_0;
5770
- if (_this__u8e3s4.l27_1.d27_1 instanceof LeftCurly) {
5775
+ if (_this__u8e3s4.k27_1.c27_1 instanceof LeftCurly) {
5771
5776
  // Inline function 'kotlin.also' call
5772
5777
  // Inline function 'kotlin.contracts.contract' call
5773
5778
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
5774
- raise.qk(_this__u8e3s4.o27());
5779
+ raise.qk(_this__u8e3s4.n27());
5775
5780
  tmp_0 = true;
5776
5781
  } else {
5777
5782
  tmp_0 = false;
5778
5783
  }
5779
5784
  var isDict = tmp_0;
5780
- var type = _this__u8e3s4.l27_1.d27_1;
5785
+ var type = _this__u8e3s4.k27_1.c27_1;
5781
5786
  var tmp_1;
5782
5787
  if (isInterface(type, WirespecType)) {
5783
5788
  // Inline function 'kotlin.also' call
5784
- var tmp_2 = raise.qk($this.s27(_this__u8e3s4, type, _this__u8e3s4.l27_1.c27_1, isDict));
5789
+ var tmp_2 = raise.qk($this.r27(_this__u8e3s4, type, _this__u8e3s4.k27_1.b27_1, isDict));
5785
5790
  // Inline function 'kotlin.also' call
5786
- var tmp_3 = _this__u8e3s4.l27_1.d27_1;
5791
+ var tmp_3 = _this__u8e3s4.k27_1.c27_1;
5787
5792
  var this_1 = tmp_3 instanceof QuestionMark;
5788
5793
  // Inline function 'kotlin.contracts.contract' call
5789
5794
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
5790
5795
  if (this_1)
5791
- raise.qk(_this__u8e3s4.o27());
5796
+ raise.qk(_this__u8e3s4.n27());
5792
5797
  var this_2 = new Field(identifier, tmp_2, this_1);
5793
5798
  // Inline function 'kotlin.contracts.contract' call
5794
5799
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
5795
5800
  if (isDict) {
5796
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
5797
- raise.qk(_this__u8e3s4.o27());
5801
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
5802
+ raise.qk(_this__u8e3s4.n27());
5798
5803
  else {
5799
5804
  // Inline function 'kotlin.also' call
5800
5805
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5801
- var actual_0 = _this__u8e3s4.l27_1;
5806
+ var actual_0 = _this__u8e3s4.k27_1;
5802
5807
  var this_3 = new WrongTokenException(getKClass(RightCurly), actual_0);
5803
5808
  // Inline function 'kotlin.contracts.contract' call
5804
5809
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>.<anonymous>' call
5805
- raise.qk(_this__u8e3s4.o27());
5810
+ raise.qk(_this__u8e3s4.n27());
5806
5811
  raise.pk(this_3);
5807
5812
  }
5808
5813
  }
@@ -5810,11 +5815,11 @@
5810
5815
  } else {
5811
5816
  // Inline function 'kotlin.also' call
5812
5817
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5813
- var actual_1 = _this__u8e3s4.l27_1;
5818
+ var actual_1 = _this__u8e3s4.k27_1;
5814
5819
  var this_4 = new WrongTokenException(getKClass(CustomType), actual_1);
5815
5820
  // Inline function 'kotlin.contracts.contract' call
5816
5821
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
5817
- raise.qk(_this__u8e3s4.o27());
5822
+ raise.qk(_this__u8e3s4.n27());
5818
5823
  raise.pk(this_4);
5819
5824
  }
5820
5825
  var res = tmp_1;
@@ -5853,35 +5858,35 @@
5853
5858
  try {
5854
5859
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5855
5860
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseUnionTypeEntries.<anonymous>' call
5856
- raise.qk(_this__u8e3s4.o27());
5857
- $this.v27(_this__u8e3s4.l27_1);
5861
+ raise.qk(_this__u8e3s4.n27());
5862
+ $this.u27(_this__u8e3s4.k27_1);
5858
5863
  var tmp_0;
5859
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
5864
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
5860
5865
  // Inline function 'kotlin.apply' call
5861
5866
  // Inline function 'kotlin.collections.mutableListOf' call
5862
5867
  var this_0 = ArrayList_init_$Create$();
5863
5868
  // Inline function 'kotlin.contracts.contract' call
5864
5869
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseUnionTypeEntries.<anonymous>.<anonymous>' call
5865
- raise.qk(_this__u8e3s4.z27(_this__u8e3s4.l27_1));
5866
- this_0.e(new Custom(_this__u8e3s4.l27_1.c27_1, false));
5867
- raise.qk(_this__u8e3s4.o27());
5868
- while (equals(_this__u8e3s4.l27_1.d27_1, Pipe_instance)) {
5869
- raise.qk(_this__u8e3s4.o27());
5870
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
5871
- raise.qk(_this__u8e3s4.z27(_this__u8e3s4.l27_1));
5870
+ raise.qk(_this__u8e3s4.y27(_this__u8e3s4.k27_1));
5871
+ this_0.e(new Custom(_this__u8e3s4.k27_1.b27_1, false));
5872
+ raise.qk(_this__u8e3s4.n27());
5873
+ while (equals(_this__u8e3s4.k27_1.c27_1, Pipe_instance)) {
5874
+ raise.qk(_this__u8e3s4.n27());
5875
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
5876
+ raise.qk(_this__u8e3s4.y27(_this__u8e3s4.k27_1));
5872
5877
  // Inline function 'kotlin.also' call
5873
- this_0.e(new Custom(_this__u8e3s4.l27_1.c27_1, false));
5878
+ this_0.e(new Custom(_this__u8e3s4.k27_1.b27_1, false));
5874
5879
  // Inline function 'kotlin.contracts.contract' call
5875
5880
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseUnionTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
5876
- raise.qk(_this__u8e3s4.o27());
5881
+ raise.qk(_this__u8e3s4.n27());
5877
5882
  } else {
5878
5883
  // Inline function 'kotlin.also' call
5879
5884
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5880
- var actual = _this__u8e3s4.l27_1;
5885
+ var actual = _this__u8e3s4.k27_1;
5881
5886
  var this_1 = new WrongTokenException(getKClass(CustomType), actual);
5882
5887
  // Inline function 'kotlin.contracts.contract' call
5883
5888
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseUnionTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
5884
- raise.qk(_this__u8e3s4.o27());
5889
+ raise.qk(_this__u8e3s4.n27());
5885
5890
  raise.pk(this_1);
5886
5891
  }
5887
5892
  }
@@ -5889,11 +5894,11 @@
5889
5894
  } else {
5890
5895
  // Inline function 'kotlin.also' call
5891
5896
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5892
- var actual_0 = _this__u8e3s4.l27_1;
5897
+ var actual_0 = _this__u8e3s4.k27_1;
5893
5898
  var this_2 = new WrongTokenException(getKClass(CustomType), actual_0);
5894
5899
  // Inline function 'kotlin.contracts.contract' call
5895
5900
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseUnionTypeEntries.<anonymous>.<anonymous>' call
5896
- raise.qk(_this__u8e3s4.o27());
5901
+ raise.qk(_this__u8e3s4.n27());
5897
5902
  raise.pk(this_2);
5898
5903
  }
5899
5904
  var res = toSet(tmp_0);
@@ -5924,7 +5929,7 @@
5924
5929
  function TypeParser(logger) {
5925
5930
  AbstractParser.call(this, logger);
5926
5931
  }
5927
- protoOf(TypeParser).u28 = function (_this__u8e3s4, comment) {
5932
+ protoOf(TypeParser).x28 = function (_this__u8e3s4, comment) {
5928
5933
  // Inline function 'arrow.core.raise.either' call
5929
5934
  // Inline function 'arrow.core.raise.fold' call
5930
5935
  // Inline function 'kotlin.contracts.contract' call
@@ -5935,19 +5940,19 @@
5935
5940
  try {
5936
5941
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5937
5942
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>' call
5938
- raise.qk(_this__u8e3s4.o27());
5939
- this.v27(_this__u8e3s4.l27_1);
5943
+ raise.qk(_this__u8e3s4.n27());
5944
+ this.u27(_this__u8e3s4.k27_1);
5940
5945
  var tmp_0;
5941
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomType) {
5942
- tmp_0 = raise.qk(parseTypeDefinition(_this__u8e3s4, this, comment, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1)));
5946
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomType) {
5947
+ tmp_0 = raise.qk(parseTypeDefinition(_this__u8e3s4, this, comment, new DefinitionIdentifier(_this__u8e3s4.k27_1.b27_1)));
5943
5948
  } else {
5944
5949
  // Inline function 'kotlin.also' call
5945
5950
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
5946
- var actual = _this__u8e3s4.l27_1;
5951
+ var actual = _this__u8e3s4.k27_1;
5947
5952
  var this_0 = new WrongTokenException(getKClass(CustomType), actual);
5948
5953
  // Inline function 'kotlin.contracts.contract' call
5949
5954
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>.<anonymous>' call
5950
- raise.qk(_this__u8e3s4.o27());
5955
+ raise.qk(_this__u8e3s4.n27());
5951
5956
  raise.pk(this_0);
5952
5957
  }
5953
5958
  var res = tmp_0;
@@ -5975,7 +5980,7 @@
5975
5980
  }
5976
5981
  return tmp;
5977
5982
  };
5978
- protoOf(TypeParser).y27 = function (_this__u8e3s4) {
5983
+ protoOf(TypeParser).x27 = function (_this__u8e3s4) {
5979
5984
  // Inline function 'arrow.core.raise.either' call
5980
5985
  // Inline function 'arrow.core.raise.fold' call
5981
5986
  // Inline function 'kotlin.contracts.contract' call
@@ -5986,30 +5991,30 @@
5986
5991
  try {
5987
5992
  // Inline function 'arrow.core.raise.either.<anonymous>' call
5988
5993
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>' call
5989
- raise.qk(_this__u8e3s4.o27());
5990
- this.v27(_this__u8e3s4.l27_1);
5994
+ raise.qk(_this__u8e3s4.n27());
5995
+ this.u27(_this__u8e3s4.k27_1);
5991
5996
  // Inline function 'kotlin.let' call
5992
5997
  // Inline function 'kotlin.also' call
5993
5998
  var tmp_0;
5994
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomValue) {
5999
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomValue) {
5995
6000
  // Inline function 'kotlin.apply' call
5996
6001
  // Inline function 'kotlin.collections.mutableListOf' call
5997
6002
  var this_0 = ArrayList_init_$Create$();
5998
6003
  // Inline function 'kotlin.contracts.contract' call
5999
6004
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
6000
- this_0.e(raise.qk(parseField(_this__u8e3s4, this, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1))));
6001
- while (equals(_this__u8e3s4.l27_1.d27_1, Comma_instance)) {
6002
- raise.qk(_this__u8e3s4.o27());
6003
- if (_this__u8e3s4.l27_1.d27_1 instanceof CustomValue)
6004
- this_0.e(raise.qk(parseField(_this__u8e3s4, this, Companion_instance_6.b27(_this__u8e3s4.l27_1.c27_1))));
6005
+ this_0.e(raise.qk(parseField(_this__u8e3s4, this, new FieldIdentifier(_this__u8e3s4.k27_1.b27_1))));
6006
+ while (equals(_this__u8e3s4.k27_1.c27_1, Comma_instance)) {
6007
+ raise.qk(_this__u8e3s4.n27());
6008
+ if (_this__u8e3s4.k27_1.c27_1 instanceof CustomValue)
6009
+ this_0.e(raise.qk(parseField(_this__u8e3s4, this, new FieldIdentifier(_this__u8e3s4.k27_1.b27_1))));
6005
6010
  else {
6006
6011
  // Inline function 'kotlin.also' call
6007
6012
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
6008
- var actual = _this__u8e3s4.l27_1;
6013
+ var actual = _this__u8e3s4.k27_1;
6009
6014
  var this_1 = new WrongTokenException(getKClass(CustomValue), actual);
6010
6015
  // Inline function 'kotlin.contracts.contract' call
6011
6016
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
6012
- raise.qk(_this__u8e3s4.o27());
6017
+ raise.qk(_this__u8e3s4.n27());
6013
6018
  raise.pk(this_1);
6014
6019
  }
6015
6020
  }
@@ -6017,26 +6022,26 @@
6017
6022
  } else {
6018
6023
  // Inline function 'kotlin.also' call
6019
6024
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
6020
- var actual_0 = _this__u8e3s4.l27_1;
6025
+ var actual_0 = _this__u8e3s4.k27_1;
6021
6026
  var this_2 = new WrongTokenException(getKClass(CustomValue), actual_0);
6022
6027
  // Inline function 'kotlin.contracts.contract' call
6023
6028
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
6024
- raise.qk(_this__u8e3s4.o27());
6029
+ raise.qk(_this__u8e3s4.n27());
6025
6030
  raise.pk(this_2);
6026
6031
  }
6027
6032
  var this_3 = tmp_0;
6028
6033
  // Inline function 'kotlin.contracts.contract' call
6029
6034
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
6030
- if (_this__u8e3s4.l27_1.d27_1 instanceof RightCurly)
6031
- raise.qk(_this__u8e3s4.o27());
6035
+ if (_this__u8e3s4.k27_1.c27_1 instanceof RightCurly)
6036
+ raise.qk(_this__u8e3s4.n27());
6032
6037
  else {
6033
6038
  // Inline function 'kotlin.also' call
6034
6039
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
6035
- var actual_1 = _this__u8e3s4.l27_1;
6040
+ var actual_1 = _this__u8e3s4.k27_1;
6036
6041
  var this_4 = new WrongTokenException(getKClass(RightCurly), actual_1);
6037
6042
  // Inline function 'kotlin.contracts.contract' call
6038
6043
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
6039
- raise.qk(_this__u8e3s4.o27());
6044
+ raise.qk(_this__u8e3s4.n27());
6040
6045
  raise.pk(this_4);
6041
6046
  }
6042
6047
  // Inline function 'kotlin.contracts.contract' call
@@ -6065,7 +6070,7 @@
6065
6070
  }
6066
6071
  return tmp;
6067
6072
  };
6068
- protoOf(TypeParser).s27 = function (_this__u8e3s4, wsType, value, isDict) {
6073
+ protoOf(TypeParser).r27 = function (_this__u8e3s4, wsType, value, isDict) {
6069
6074
  // Inline function 'arrow.core.raise.either' call
6070
6075
  // Inline function 'arrow.core.raise.fold' call
6071
6076
  // Inline function 'kotlin.contracts.contract' call
@@ -6076,16 +6081,16 @@
6076
6081
  try {
6077
6082
  // Inline function 'arrow.core.raise.either.<anonymous>' call
6078
6083
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>' call
6079
- var previousToken = _this__u8e3s4.l27_1;
6080
- raise.qk(_this__u8e3s4.o27());
6081
- this.v27(_this__u8e3s4.l27_1);
6084
+ var previousToken = _this__u8e3s4.k27_1;
6085
+ raise.qk(_this__u8e3s4.n27());
6086
+ this.u27(_this__u8e3s4.k27_1);
6082
6087
  // Inline function 'kotlin.also' call
6083
- var tmp_0 = _this__u8e3s4.l27_1.d27_1;
6088
+ var tmp_0 = _this__u8e3s4.k27_1.c27_1;
6084
6089
  var this_0 = tmp_0 instanceof Brackets;
6085
6090
  // Inline function 'kotlin.contracts.contract' call
6086
6091
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>.<anonymous>' call
6087
6092
  if (this_0)
6088
- raise.qk(_this__u8e3s4.o27());
6093
+ raise.qk(_this__u8e3s4.n27());
6089
6094
  var isIterable = this_0;
6090
6095
  var tmp_1;
6091
6096
  if (wsType instanceof WsString) {
@@ -6104,7 +6109,7 @@
6104
6109
  tmp_1 = new Unit(isIterable, isDict);
6105
6110
  } else {
6106
6111
  if (wsType instanceof CustomType) {
6107
- raise.qk(_this__u8e3s4.z27(previousToken));
6112
+ raise.qk(_this__u8e3s4.y27(previousToken));
6108
6113
  tmp_1 = new Custom(value, isIterable, isDict);
6109
6114
  } else {
6110
6115
  noWhenBranchMatchedException();
@@ -6142,15 +6147,15 @@
6142
6147
  function IdxAndLength(idx, length) {
6143
6148
  idx = idx === VOID ? 0 : idx;
6144
6149
  length = length === VOID ? 0 : length;
6145
- this.w28_1 = idx;
6146
- this.x28_1 = length;
6150
+ this.z28_1 = idx;
6151
+ this.a29_1 = length;
6147
6152
  }
6148
6153
  protoOf(IdxAndLength).toString = function () {
6149
- return 'IdxAndLength(idx=' + this.w28_1 + ', length=' + this.x28_1 + ')';
6154
+ return 'IdxAndLength(idx=' + this.z28_1 + ', length=' + this.a29_1 + ')';
6150
6155
  };
6151
6156
  protoOf(IdxAndLength).hashCode = function () {
6152
- var result = this.w28_1;
6153
- result = imul(result, 31) + this.x28_1 | 0;
6157
+ var result = this.z28_1;
6158
+ result = imul(result, 31) + this.a29_1 | 0;
6154
6159
  return result;
6155
6160
  };
6156
6161
  protoOf(IdxAndLength).equals = function (other) {
@@ -6159,9 +6164,9 @@
6159
6164
  if (!(other instanceof IdxAndLength))
6160
6165
  return false;
6161
6166
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
6162
- if (!(this.w28_1 === tmp0_other_with_cast.w28_1))
6167
+ if (!(this.z28_1 === tmp0_other_with_cast.z28_1))
6163
6168
  return false;
6164
- if (!(this.x28_1 === tmp0_other_with_cast.x28_1))
6169
+ if (!(this.a29_1 === tmp0_other_with_cast.a29_1))
6165
6170
  return false;
6166
6171
  return true;
6167
6172
  };
@@ -6169,26 +6174,26 @@
6169
6174
  line = line === VOID ? 1 : line;
6170
6175
  position = position === VOID ? 1 : position;
6171
6176
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
6172
- this.f27_1 = line;
6173
- this.g27_1 = position;
6174
- this.h27_1 = idxAndLength;
6177
+ this.e27_1 = line;
6178
+ this.f27_1 = position;
6179
+ this.g27_1 = idxAndLength;
6175
6180
  }
6176
- protoOf(Coordinates).y28 = function (line, position, idxAndLength) {
6181
+ protoOf(Coordinates).b29 = function (line, position, idxAndLength) {
6177
6182
  return new Coordinates(line, position, idxAndLength);
6178
6183
  };
6179
- protoOf(Coordinates).z28 = function (line, position, idxAndLength, $super) {
6180
- line = line === VOID ? this.f27_1 : line;
6181
- position = position === VOID ? this.g27_1 : position;
6182
- idxAndLength = idxAndLength === VOID ? this.h27_1 : idxAndLength;
6183
- return $super === VOID ? this.y28(line, position, idxAndLength) : $super.y28.call(this, line, position, idxAndLength);
6184
+ protoOf(Coordinates).c29 = function (line, position, idxAndLength, $super) {
6185
+ line = line === VOID ? this.e27_1 : line;
6186
+ position = position === VOID ? this.f27_1 : position;
6187
+ idxAndLength = idxAndLength === VOID ? this.g27_1 : idxAndLength;
6188
+ return $super === VOID ? this.b29(line, position, idxAndLength) : $super.b29.call(this, line, position, idxAndLength);
6184
6189
  };
6185
6190
  protoOf(Coordinates).toString = function () {
6186
- return 'Coordinates(line=' + this.f27_1 + ', position=' + this.g27_1 + ', idxAndLength=' + this.h27_1.toString() + ')';
6191
+ return 'Coordinates(line=' + this.e27_1 + ', position=' + this.f27_1 + ', idxAndLength=' + this.g27_1.toString() + ')';
6187
6192
  };
6188
6193
  protoOf(Coordinates).hashCode = function () {
6189
- var result = this.f27_1;
6190
- result = imul(result, 31) + this.g27_1 | 0;
6191
- result = imul(result, 31) + this.h27_1.hashCode() | 0;
6194
+ var result = this.e27_1;
6195
+ result = imul(result, 31) + this.f27_1 | 0;
6196
+ result = imul(result, 31) + this.g27_1.hashCode() | 0;
6192
6197
  return result;
6193
6198
  };
6194
6199
  protoOf(Coordinates).equals = function (other) {
@@ -6197,29 +6202,29 @@
6197
6202
  if (!(other instanceof Coordinates))
6198
6203
  return false;
6199
6204
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
6200
- if (!(this.f27_1 === tmp0_other_with_cast.f27_1))
6205
+ if (!(this.e27_1 === tmp0_other_with_cast.e27_1))
6201
6206
  return false;
6202
- if (!(this.g27_1 === tmp0_other_with_cast.g27_1))
6207
+ if (!(this.f27_1 === tmp0_other_with_cast.f27_1))
6203
6208
  return false;
6204
- if (!this.h27_1.equals(tmp0_other_with_cast.h27_1))
6209
+ if (!this.g27_1.equals(tmp0_other_with_cast.g27_1))
6205
6210
  return false;
6206
6211
  return true;
6207
6212
  };
6208
6213
  function Token(value, type, coordinates) {
6209
- this.c27_1 = value;
6210
- this.d27_1 = type;
6211
- this.e27_1 = coordinates;
6214
+ this.b27_1 = value;
6215
+ this.c27_1 = type;
6216
+ this.d27_1 = coordinates;
6212
6217
  }
6213
6218
  protoOf(Token).b1 = function () {
6214
- return this.c27_1;
6219
+ return this.b27_1;
6215
6220
  };
6216
6221
  protoOf(Token).toString = function () {
6217
- return 'Token(value=' + this.c27_1 + ', type=' + toString(this.d27_1) + ', coordinates=' + this.e27_1.toString() + ')';
6222
+ return 'Token(value=' + this.b27_1 + ', type=' + toString(this.c27_1) + ', coordinates=' + this.d27_1.toString() + ')';
6218
6223
  };
6219
6224
  protoOf(Token).hashCode = function () {
6220
- var result = getStringHashCode(this.c27_1);
6221
- result = imul(result, 31) + hashCode(this.d27_1) | 0;
6222
- result = imul(result, 31) + this.e27_1.hashCode() | 0;
6225
+ var result = getStringHashCode(this.b27_1);
6226
+ result = imul(result, 31) + hashCode(this.c27_1) | 0;
6227
+ result = imul(result, 31) + this.d27_1.hashCode() | 0;
6223
6228
  return result;
6224
6229
  };
6225
6230
  protoOf(Token).equals = function (other) {
@@ -6228,19 +6233,19 @@
6228
6233
  if (!(other instanceof Token))
6229
6234
  return false;
6230
6235
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
6231
- if (!(this.c27_1 === tmp0_other_with_cast.c27_1))
6236
+ if (!(this.b27_1 === tmp0_other_with_cast.b27_1))
6232
6237
  return false;
6233
- if (!equals(this.d27_1, tmp0_other_with_cast.d27_1))
6238
+ if (!equals(this.c27_1, tmp0_other_with_cast.c27_1))
6234
6239
  return false;
6235
- if (!this.e27_1.equals(tmp0_other_with_cast.e27_1))
6240
+ if (!this.d27_1.equals(tmp0_other_with_cast.d27_1))
6236
6241
  return false;
6237
6242
  return true;
6238
6243
  };
6239
6244
  function plus(_this__u8e3s4, length) {
6240
- return new IdxAndLength(_this__u8e3s4.w28_1 + length | 0, length);
6245
+ return new IdxAndLength(_this__u8e3s4.z28_1 + length | 0, length);
6241
6246
  }
6242
6247
  function plus_0(_this__u8e3s4, length) {
6243
- return _this__u8e3s4.z28(VOID, _this__u8e3s4.g27_1 + length | 0, plus(_this__u8e3s4.h27_1, length));
6248
+ return _this__u8e3s4.c29(VOID, _this__u8e3s4.f27_1 + length | 0, plus(_this__u8e3s4.g27_1, length));
6244
6249
  }
6245
6250
  function tokenize(_this__u8e3s4, source) {
6246
6251
  var tmp1_coordinates = new Coordinates();
@@ -6252,12 +6257,12 @@
6252
6257
  var incompleteTokens_0 = incompleteTokens;
6253
6258
  $l$1: do {
6254
6259
  $l$0: do {
6255
- var _destruct__k2r9zo = extractToken($this, source_0, last(incompleteTokens_0).e27_1);
6260
+ var _destruct__k2r9zo = extractToken($this, source_0, last(incompleteTokens_0).d27_1);
6256
6261
  var token = _destruct__k2r9zo.qd();
6257
6262
  var remaining = _destruct__k2r9zo.rd();
6258
6263
  var tokens = incompleteTokens_0.jk(token);
6259
6264
  var tmp;
6260
- var tmp_0 = token.d27_1;
6265
+ var tmp_0 = token.c27_1;
6261
6266
  if (tmp_0 instanceof EndOfProgram) {
6262
6267
  tmp = tokens;
6263
6268
  } else {
@@ -6299,7 +6304,7 @@
6299
6304
  // Inline function 'kotlin.let' call
6300
6305
  // Inline function 'kotlin.contracts.contract' call
6301
6306
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
6302
- tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.c27_1));
6307
+ tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.b27_1));
6303
6308
  }
6304
6309
  var tmp1_elvis_lhs = tmp;
6305
6310
  return tmp1_elvis_lhs == null ? new Pair(endToken(previousTokenCoordinates), '') : tmp1_elvis_lhs;
@@ -6315,7 +6320,7 @@
6315
6320
  function nextCoordinates(_this__u8e3s4, type, value) {
6316
6321
  var tmp;
6317
6322
  if (type instanceof NewLine) {
6318
- tmp = new Coordinates(_this__u8e3s4.f27_1 + 1 | 0, VOID, plus(_this__u8e3s4.h27_1, value.length));
6323
+ tmp = new Coordinates(_this__u8e3s4.e27_1 + 1 | 0, VOID, plus(_this__u8e3s4.g27_1, value.length));
6319
6324
  } else {
6320
6325
  tmp = plus_0(_this__u8e3s4, value.length);
6321
6326
  }
@@ -6329,7 +6334,7 @@
6329
6334
  while (tmp0_iterator.h()) {
6330
6335
  var element = tmp0_iterator.i();
6331
6336
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.removeWhiteSpace.<anonymous>' call
6332
- var tmp = element.d27_1;
6337
+ var tmp = element.c27_1;
6333
6338
  if (!isInterface(tmp, WhiteSpace)) {
6334
6339
  destination.e(element);
6335
6340
  }
@@ -6949,7 +6954,7 @@
6949
6954
  return StartOfProgram_instance;
6950
6955
  }
6951
6956
  function EndOfProgram() {
6952
- this.a29_1 = 'EOP';
6957
+ this.d29_1 = 'EOP';
6953
6958
  }
6954
6959
  protoOf(EndOfProgram).toString = function () {
6955
6960
  return 'EndOfProgram';
@@ -6998,7 +7003,7 @@
6998
7003
  if (item instanceof Refined) {
6999
7004
  tmp = item;
7000
7005
  } else {
7001
- if (item instanceof Type_1) {
7006
+ if (item instanceof Type_0) {
7002
7007
  // Inline function 'kotlin.collections.map' call
7003
7008
  // Inline function 'kotlin.collections.filter' call
7004
7009
  // Inline function 'kotlin.collections.filterIsInstance' call
@@ -7035,7 +7040,7 @@
7035
7040
  var tmp$ret$2 = tmp_0;
7036
7041
  destination_2.e(tmp$ret$2);
7037
7042
  }
7038
- if (destination_2.p1(item.a23_1.y22_1)) {
7043
+ if (destination_2.p1(item.z22_1.b1())) {
7039
7044
  destination_1.e(element_0);
7040
7045
  }
7041
7046
  }
@@ -7045,10 +7050,10 @@
7045
7050
  while (tmp0_iterator_3.h()) {
7046
7051
  var item_1 = tmp0_iterator_3.i();
7047
7052
  // Inline function 'community.flock.wirespec.compiler.core.validate.validate.<anonymous>.<anonymous>' call
7048
- var tmp$ret$8 = new Custom(item_1.t22_1.y22_1, false);
7053
+ var tmp$ret$8 = new Custom(item_1.t22_1.b1(), false);
7049
7054
  destination_3.e(tmp$ret$8);
7050
7055
  }
7051
- tmp = item.t28(VOID, VOID, VOID, destination_3);
7056
+ tmp = item.s28(VOID, VOID, VOID, destination_3);
7052
7057
  } else {
7053
7058
  if (item instanceof Union) {
7054
7059
  tmp = item;
@@ -7074,14 +7079,14 @@
7074
7079
  var Level_INFO_instance;
7075
7080
  var Level_WARN_instance;
7076
7081
  var Level_ERROR_instance;
7077
- function Companion_6() {
7082
+ function Companion_5() {
7078
7083
  }
7079
- protoOf(Companion_6).toString = function () {
7084
+ protoOf(Companion_5).toString = function () {
7080
7085
  return joinToString(get_entries_0(), ', ');
7081
7086
  };
7082
- var Companion_instance_7;
7083
- function Companion_getInstance_6() {
7084
- return Companion_instance_7;
7087
+ var Companion_instance_6;
7088
+ function Companion_getInstance_5() {
7089
+ return Companion_instance_6;
7085
7090
  }
7086
7091
  function values_0() {
7087
7092
  return [Level_DEBUG_getInstance(), Level_INFO_getInstance(), Level_WARN_getInstance(), Level_ERROR_getInstance()];
@@ -7201,17 +7206,17 @@
7201
7206
  }
7202
7207
  tmp_5.c22_1 = tmp_6;
7203
7208
  }
7204
- protoOf(Logger).b29 = function () {
7209
+ protoOf(Logger).e29 = function () {
7205
7210
  return this.z21_1;
7206
7211
  };
7207
- protoOf(Logger).c29 = function () {
7212
+ protoOf(Logger).f29 = function () {
7208
7213
  return this.a22_1;
7209
7214
  };
7210
- protoOf(Logger).v28 = function (string) {
7211
- return logIf(string, this, this.b29());
7215
+ protoOf(Logger).y28 = function (string) {
7216
+ return logIf(string, this, this.e29());
7212
7217
  };
7213
7218
  protoOf(Logger).d22 = function (string) {
7214
- return logIf(string, this, this.c29());
7219
+ return logIf(string, this, this.f29());
7215
7220
  };
7216
7221
  function noLogger$1() {
7217
7222
  Logger.call(this, null);
@@ -7223,13 +7228,9 @@
7223
7228
  noLogger = new noLogger$1();
7224
7229
  }
7225
7230
  }
7226
- //region block: post-declaration
7227
- protoOf(Emitter).l24 = emit;
7228
- //endregion
7229
7231
  //region block: init
7230
7232
  Spacer_instance = new Spacer();
7231
7233
  Companion_instance_5 = new Companion_4();
7232
- Companion_instance_6 = new Companion_5();
7233
7234
  WsTypeDef_instance = new WsTypeDef();
7234
7235
  WsEnumTypeDef_instance = new WsEnumTypeDef();
7235
7236
  WsEndpointDef_instance = new WsEndpointDef();
@@ -7261,7 +7262,7 @@
7261
7262
  Character_instance = new Character();
7262
7263
  StartOfProgram_instance = new StartOfProgram();
7263
7264
  EndOfProgram_instance = new EndOfProgram();
7264
- Companion_instance_7 = new Companion_6();
7265
+ Companion_instance_6 = new Companion_5();
7265
7266
  //endregion
7266
7267
  //region block: exports
7267
7268
  _.$_$ = _.$_$ || {};
@@ -7273,55 +7274,56 @@
7273
7274
  _.$_$.f = WirespecEmitter;
7274
7275
  _.$_$.g = Channel;
7275
7276
  _.$_$.h = Comment;
7276
- _.$_$.i = Definition;
7277
- _.$_$.j = Content;
7278
- _.$_$.k = get_entries;
7279
- _.$_$.l = Request;
7280
- _.$_$.m = Response;
7281
- _.$_$.n = Literal;
7282
- _.$_$.o = Param_0;
7283
- _.$_$.p = Endpoint;
7284
- _.$_$.q = Enum_0;
7285
- _.$_$.r = Field;
7286
- _.$_$.s = Parser;
7287
- _.$_$.t = Any;
7288
- _.$_$.u = Custom;
7289
- _.$_$.v = Primitive;
7290
- _.$_$.w = Unit;
7291
- _.$_$.x = Validator;
7292
- _.$_$.y = Refined;
7293
- _.$_$.z = Shape;
7294
- _.$_$.a1 = Type_1;
7295
- _.$_$.b1 = Union;
7296
- _.$_$.c1 = name;
7297
- _.$_$.d1 = tokenize;
7298
- _.$_$.e1 = compile;
7299
- _.$_$.f1 = component1;
7300
- _.$_$.g1 = parse;
7301
- _.$_$.h1 = Logger;
7302
- _.$_$.i1 = get_noLogger;
7303
- _.$_$.j1 = Method_DELETE_getInstance;
7304
- _.$_$.k1 = Method_GET_getInstance;
7305
- _.$_$.l1 = Method_HEAD_getInstance;
7306
- _.$_$.m1 = Method_OPTIONS_getInstance;
7307
- _.$_$.n1 = Method_PATCH_getInstance;
7308
- _.$_$.o1 = Method_POST_getInstance;
7309
- _.$_$.p1 = Method_PUT_getInstance;
7310
- _.$_$.q1 = Method_TRACE_getInstance;
7311
- _.$_$.r1 = Type_Boolean_getInstance;
7312
- _.$_$.s1 = Type_Integer_getInstance;
7313
- _.$_$.t1 = Type_Number_getInstance;
7314
- _.$_$.u1 = Type_String_getInstance;
7315
- _.$_$.v1 = Level_DEBUG_getInstance;
7316
- _.$_$.w1 = Level_ERROR_getInstance;
7317
- _.$_$.x1 = Level_INFO_getInstance;
7318
- _.$_$.y1 = Level_WARN_getInstance;
7319
- _.$_$.z1 = _Comment___init__impl__cg8s2u;
7320
- _.$_$.a2 = _Comment___get_value__impl__8r3pla;
7321
- _.$_$.b2 = Companion_getInstance_3;
7322
- _.$_$.c2 = Companion_instance_6;
7323
- _.$_$.d2 = WirespecSpec_getInstance;
7324
- _.$_$.e2 = Companion_instance_7;
7277
+ _.$_$.i = DefinitionIdentifier;
7278
+ _.$_$.j = Definition;
7279
+ _.$_$.k = Content;
7280
+ _.$_$.l = get_entries;
7281
+ _.$_$.m = Request;
7282
+ _.$_$.n = Response;
7283
+ _.$_$.o = Literal;
7284
+ _.$_$.p = Param_0;
7285
+ _.$_$.q = Endpoint;
7286
+ _.$_$.r = Enum_0;
7287
+ _.$_$.s = FieldIdentifier;
7288
+ _.$_$.t = Field;
7289
+ _.$_$.u = Parser;
7290
+ _.$_$.v = Any;
7291
+ _.$_$.w = Custom;
7292
+ _.$_$.x = Primitive;
7293
+ _.$_$.y = Unit;
7294
+ _.$_$.z = Validator;
7295
+ _.$_$.a1 = Refined;
7296
+ _.$_$.b1 = Shape;
7297
+ _.$_$.c1 = Type_0;
7298
+ _.$_$.d1 = Union;
7299
+ _.$_$.e1 = name;
7300
+ _.$_$.f1 = tokenize;
7301
+ _.$_$.g1 = compile;
7302
+ _.$_$.h1 = component1;
7303
+ _.$_$.i1 = parse;
7304
+ _.$_$.j1 = Logger;
7305
+ _.$_$.k1 = get_noLogger;
7306
+ _.$_$.l1 = Method_DELETE_getInstance;
7307
+ _.$_$.m1 = Method_GET_getInstance;
7308
+ _.$_$.n1 = Method_HEAD_getInstance;
7309
+ _.$_$.o1 = Method_OPTIONS_getInstance;
7310
+ _.$_$.p1 = Method_PATCH_getInstance;
7311
+ _.$_$.q1 = Method_POST_getInstance;
7312
+ _.$_$.r1 = Method_PUT_getInstance;
7313
+ _.$_$.s1 = Method_TRACE_getInstance;
7314
+ _.$_$.t1 = Type_Boolean_getInstance;
7315
+ _.$_$.u1 = Type_Integer_getInstance;
7316
+ _.$_$.v1 = Type_Number_getInstance;
7317
+ _.$_$.w1 = Type_String_getInstance;
7318
+ _.$_$.x1 = Level_DEBUG_getInstance;
7319
+ _.$_$.y1 = Level_ERROR_getInstance;
7320
+ _.$_$.z1 = Level_INFO_getInstance;
7321
+ _.$_$.a2 = Level_WARN_getInstance;
7322
+ _.$_$.b2 = _Comment___init__impl__cg8s2u;
7323
+ _.$_$.c2 = _Comment___get_value__impl__8r3pla;
7324
+ _.$_$.d2 = Companion_getInstance_3;
7325
+ _.$_$.e2 = WirespecSpec_getInstance;
7326
+ _.$_$.f2 = Companion_instance_6;
7325
7327
  //endregion
7326
7328
  return _;
7327
7329
  }));