@flock/wirespec 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
  2. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +6 -6
  3. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  4. package/kotlin/kotlin-openapi-bindings.js +3633 -3633
  5. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  6. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1238 -1238
  7. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  8. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +979 -979
  9. package/kotlin/wirespec-cli.js +80 -80
  10. package/kotlin/wirespec-core.js +525 -268
  11. package/kotlin/wirespec-core.js.map +1 -1
  12. package/kotlin/wirespec-lib.js +38 -38
  13. package/kotlin/wirespec-openapi.js +720 -626
  14. package/kotlin/wirespec-openapi.js.map +1 -1
  15. package/package.json +1 -1
  16. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  17. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  18. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  19. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  20. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
  21. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  22. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  23. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  24. package/sync-hashes/wirespec-cli.js.hash +1 -1
  25. package/sync-hashes/wirespec-core.js.hash +1 -1
  26. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  27. package/sync-hashes/wirespec-lib.js.hash +1 -1
  28. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  29. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -31,9 +31,10 @@
31
31
  var listOf = kotlin_kotlin.$_$.j5;
32
32
  var objectMeta = kotlin_kotlin.$_$.s7;
33
33
  var trimMargin = kotlin_kotlin.$_$.j9;
34
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.m;
35
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
34
36
  var joinToString = kotlin_kotlin.$_$.a5;
35
37
  var split = kotlin_kotlin.$_$.w8;
36
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
37
38
  var collectionSizeOrDefault = kotlin_kotlin.$_$.c4;
38
39
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
39
40
  var plus = kotlin_kotlin.$_$.p5;
@@ -42,8 +43,6 @@
42
43
  var toIntOrNull = kotlin_kotlin.$_$.b9;
43
44
  var toSet = kotlin_kotlin.$_$.b6;
44
45
  var isBlank = kotlin_kotlin.$_$.q8;
45
- var Collection = kotlin_kotlin.$_$.m3;
46
- var isInterface = kotlin_kotlin.$_$.i7;
47
46
  var checkIndexOverflow = kotlin_kotlin.$_$.b4;
48
47
  var THROW_CCE = kotlin_kotlin.$_$.y9;
49
48
  var isCharSequence = kotlin_kotlin.$_$.e7;
@@ -53,6 +52,8 @@
53
52
  var charSequenceLength = kotlin_kotlin.$_$.o6;
54
53
  var charSequenceGet = kotlin_kotlin.$_$.n6;
55
54
  var toString_0 = kotlin_kotlin.$_$.l1;
55
+ var Collection = kotlin_kotlin.$_$.m3;
56
+ var isInterface = kotlin_kotlin.$_$.i7;
56
57
  var listOf_0 = kotlin_kotlin.$_$.i5;
57
58
  var interfaceMeta = kotlin_kotlin.$_$.z6;
58
59
  var captureStack = kotlin_kotlin.$_$.k6;
@@ -85,37 +86,37 @@
85
86
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
86
87
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
87
88
  function withLogging(_this__u8e3s4, logger, block) {
88
- return logger.rk('Emitting Definition: Type', block);
89
+ return logger.tk('Emitting Definition: Type', block);
89
90
  }
90
91
  function withLogging_0(_this__u8e3s4, logger, block) {
91
- return logger.rk('Emitting Definition: Type Shape', block);
92
+ return logger.tk('Emitting Definition: Type Shape', block);
92
93
  }
93
94
  function withLogging_1(_this__u8e3s4, logger, block) {
94
- return logger.rk('Emitting Definition: Type Shape Field', block);
95
+ return logger.tk('Emitting Definition: Type Shape Field', block);
95
96
  }
96
97
  function withLogging_2(_this__u8e3s4, logger, block) {
97
- return logger.rk('Emitting Definition: Type Shape Field Key', block);
98
+ return logger.tk('Emitting Definition: Type Shape Field Key', block);
98
99
  }
99
100
  function withLogging_3(_this__u8e3s4, logger, block) {
100
- return logger.rk('Emitting Definition: Type Shape Field Value', block);
101
+ return logger.tk('Emitting Definition: Type Shape Field Value', block);
101
102
  }
102
103
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
103
104
  function withLogging_4(_this__u8e3s4, logger, block) {
104
- return logger.rk('Emitting Definition: Endpoint', block);
105
+ return logger.tk('Emitting Definition: Endpoint', block);
105
106
  }
106
107
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
107
108
  function withLogging_5(_this__u8e3s4, logger, block) {
108
- return logger.rk('Emitting Definition: Refined', block);
109
+ return logger.tk('Emitting Definition: Refined', block);
109
110
  }
110
111
  function withLogging_6(_this__u8e3s4, logger, block) {
111
- return logger.rk('Emitting Definition: Refined Validator', block);
112
+ return logger.tk('Emitting Definition: Refined Validator', block);
112
113
  }
113
114
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
114
115
  function withLogging_7(_this__u8e3s4, logger, block) {
115
- return logger.rk('Emitting Definition: Endpoint', block);
116
+ return logger.tk('Emitting Definition: Endpoint', block);
116
117
  }
117
118
  function withLogging_8(_this__u8e3s4, logger, block) {
118
- return logger.rk('Emitting Definition: Endpoint Segment', block);
119
+ return logger.tk('Emitting Definition: Endpoint Segment', block);
119
120
  }
120
121
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
121
122
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -605,11 +606,29 @@
605
606
  }
606
607
  function emitResponseMapper(_this__u8e3s4, $this) {
607
608
  Companion_getInstance_1();
608
- var tmp = joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseMapper$lambda($this));
609
+ var tmp$ret$1;
610
+ // Inline function 'kotlin.collections.distinctBy' call
611
+ var set = HashSet_init_$Create$();
612
+ var list = ArrayList_init_$Create$();
613
+ var tmp0_iterator = _this__u8e3s4.c();
614
+ while (tmp0_iterator.d()) {
615
+ var e = tmp0_iterator.e();
616
+ var tmp$ret$0;
617
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
618
+ var tmp0_safe_receiver = e.ni_1;
619
+ tmp$ret$0 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
620
+ var key = tmp$ret$0;
621
+ if (set.a(key)) {
622
+ list.a(e);
623
+ }
624
+ }
625
+ tmp$ret$1 = list;
626
+ var tmp = tmp$ret$1;
627
+ var tmp_0 = joinToString(tmp, '', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseMapper$lambda($this));
609
628
  Companion_getInstance_1();
610
629
  Companion_getInstance_1();
611
630
  Companion_getInstance_1();
612
- return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(WirespecShared.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, WirespecShared.Content<B> content) {\n |' + tmp + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
631
+ return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(WirespecShared.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, WirespecShared.Content<B> content) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
613
632
  }
614
633
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
615
634
  var tmp0_subject = _this__u8e3s4.ni_1;
@@ -1018,11 +1037,30 @@
1018
1037
  }
1019
1038
  tmp$ret$7 = tmp4_mapTo;
1020
1039
  tmp$ret$8 = tmp$ret$7;
1021
- var tmp_4 = tmp$ret$8;
1040
+ var tmp_4 = toSet(tmp$ret$8);
1022
1041
  var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_2(this$0));
1023
- var tmp_6 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1042
+ var tmp$ret$10;
1043
+ // Inline function 'kotlin.collections.distinctBy' call
1044
+ var tmp6_distinctBy = $this_emit.li_1;
1045
+ var set = HashSet_init_$Create$();
1046
+ var list = ArrayList_init_$Create$();
1047
+ var tmp0_iterator_2 = tmp6_distinctBy.c();
1048
+ while (tmp0_iterator_2.d()) {
1049
+ var e = tmp0_iterator_2.e();
1050
+ var tmp$ret$9;
1051
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1052
+ var tmp0_safe_receiver = e.ni_1;
1053
+ tmp$ret$9 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1054
+ var key = tmp$ret$9;
1055
+ if (set.a(key)) {
1056
+ list.a(e);
1057
+ }
1058
+ }
1059
+ tmp$ret$10 = list;
1060
+ var tmp_6 = tmp$ret$10;
1061
+ var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1024
1062
  Companion_getInstance_1();
1025
- return trimMargin('public interface ' + $this_emit.ei_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_6 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().qj($this_emit.ei_1) + '(Request request);\n |}\n |');
1063
+ return trimMargin('public interface ' + $this_emit.ei_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().qj($this_emit.ei_1) + '(Request request);\n |}\n |');
1026
1064
  };
1027
1065
  }
1028
1066
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1171,35 +1209,6 @@
1171
1209
  protoOf(JavaEmitter).ck = function (_this__u8e3s4) {
1172
1210
  return this.dk(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1173
1211
  };
1174
- function hasEndpoints(_this__u8e3s4, $this) {
1175
- var tmp$ret$0;
1176
- $l$block_0: {
1177
- // Inline function 'kotlin.collections.any' call
1178
- var tmp;
1179
- if (isInterface(_this__u8e3s4, Collection)) {
1180
- tmp = _this__u8e3s4.g();
1181
- } else {
1182
- tmp = false;
1183
- }
1184
- if (tmp) {
1185
- tmp$ret$0 = false;
1186
- break $l$block_0;
1187
- }
1188
- var tmp0_iterator = _this__u8e3s4.c();
1189
- while (tmp0_iterator.d()) {
1190
- var element = tmp0_iterator.e();
1191
- var tmp$ret$1;
1192
- // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.hasEndpoints.<anonymous>' call
1193
- tmp$ret$1 = element instanceof Endpoint;
1194
- if (tmp$ret$1) {
1195
- tmp$ret$0 = true;
1196
- break $l$block_0;
1197
- }
1198
- }
1199
- tmp$ret$0 = false;
1200
- }
1201
- return tmp$ret$0;
1202
- }
1203
1212
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1204
1213
  var tmp$ret$4;
1205
1214
  // Inline function 'kotlin.collections.map' call
@@ -1255,6 +1264,8 @@
1255
1264
  Companion_getInstance_1();
1256
1265
  Companion_getInstance_1();
1257
1266
  Companion_getInstance_1();
1267
+ var tmp$ret$4;
1268
+ // Inline function 'kotlin.collections.distinctBy' call
1258
1269
  var tmp$ret$2;
1259
1270
  // Inline function 'kotlin.collections.filter' call
1260
1271
  var tmp$ret$1;
@@ -1272,26 +1283,60 @@
1272
1283
  }
1273
1284
  tmp$ret$1 = tmp0_filterTo;
1274
1285
  tmp$ret$2 = tmp$ret$1;
1275
- var tmp = tmp$ret$2;
1286
+ var tmp1_distinctBy = tmp$ret$2;
1287
+ var set = HashSet_init_$Create$();
1288
+ var list = ArrayList_init_$Create$();
1289
+ var tmp0_iterator_0 = tmp1_distinctBy.c();
1290
+ while (tmp0_iterator_0.d()) {
1291
+ var e = tmp0_iterator_0.e();
1292
+ var tmp$ret$3;
1293
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1294
+ var tmp0_safe_receiver = e.ni_1;
1295
+ tmp$ret$3 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1296
+ var key = tmp$ret$3;
1297
+ if (set.a(key)) {
1298
+ list.a(e);
1299
+ }
1300
+ }
1301
+ tmp$ret$4 = list;
1302
+ var tmp = tmp$ret$4;
1276
1303
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitResponseMapper$lambda($this));
1277
- var tmp$ret$5;
1304
+ var tmp$ret$9;
1305
+ // Inline function 'kotlin.collections.distinctBy' call
1306
+ var tmp$ret$7;
1278
1307
  // Inline function 'kotlin.collections.filter' call
1279
- var tmp$ret$4;
1308
+ var tmp$ret$6;
1280
1309
  // Inline function 'kotlin.collections.filterTo' call
1281
- var tmp1_filterTo = ArrayList_init_$Create$();
1282
- var tmp0_iterator_0 = _this__u8e3s4.c();
1283
- while (tmp0_iterator_0.d()) {
1284
- var element_0 = tmp0_iterator_0.e();
1285
- var tmp$ret$3;
1310
+ var tmp2_filterTo = ArrayList_init_$Create$();
1311
+ var tmp0_iterator_1 = _this__u8e3s4.c();
1312
+ while (tmp0_iterator_1.d()) {
1313
+ var element_0 = tmp0_iterator_1.e();
1314
+ var tmp$ret$5;
1286
1315
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1287
- tmp$ret$3 = !isInt_0(element_0.mi_1);
1288
- if (tmp$ret$3) {
1289
- tmp1_filterTo.a(element_0);
1316
+ tmp$ret$5 = !isInt_0(element_0.mi_1);
1317
+ if (tmp$ret$5) {
1318
+ tmp2_filterTo.a(element_0);
1290
1319
  }
1291
1320
  }
1292
- tmp$ret$4 = tmp1_filterTo;
1293
- tmp$ret$5 = tmp$ret$4;
1294
- var tmp_1 = tmp$ret$5;
1321
+ tmp$ret$6 = tmp2_filterTo;
1322
+ tmp$ret$7 = tmp$ret$6;
1323
+ var tmp3_distinctBy = tmp$ret$7;
1324
+ var set_0 = HashSet_init_$Create$();
1325
+ var list_0 = ArrayList_init_$Create$();
1326
+ var tmp0_iterator_2 = tmp3_distinctBy.c();
1327
+ while (tmp0_iterator_2.d()) {
1328
+ var e_0 = tmp0_iterator_2.e();
1329
+ var tmp$ret$8;
1330
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1331
+ var tmp0_safe_receiver_0 = e_0.ni_1;
1332
+ tmp$ret$8 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
1333
+ var key_0 = tmp$ret$8;
1334
+ if (set_0.a(key_0)) {
1335
+ list_0.a(e_0);
1336
+ }
1337
+ }
1338
+ tmp$ret$9 = list_0;
1339
+ var tmp_1 = tmp$ret$9;
1295
1340
  var tmp_2 = joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitResponseMapper$lambda_0($this));
1296
1341
  Companion_getInstance_1();
1297
1342
  Companion_getInstance_1();
@@ -1739,8 +1784,10 @@
1739
1784
  }
1740
1785
  tmp$ret$7 = tmp4_mapTo;
1741
1786
  tmp$ret$8 = tmp$ret$7;
1742
- var tmp_2 = tmp$ret$8;
1787
+ var tmp_2 = toSet(tmp$ret$8);
1743
1788
  var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_2);
1789
+ var tmp$ret$13;
1790
+ // Inline function 'kotlin.collections.distinctBy' call
1744
1791
  var tmp$ret$11;
1745
1792
  // Inline function 'kotlin.collections.filter' call
1746
1793
  var tmp7_filter = $this_emit.li_1;
@@ -1759,27 +1806,61 @@
1759
1806
  }
1760
1807
  tmp$ret$10 = tmp6_filterTo;
1761
1808
  tmp$ret$11 = tmp$ret$10;
1762
- var tmp_4 = tmp$ret$11;
1809
+ var tmp8_distinctBy = tmp$ret$11;
1810
+ var set = HashSet_init_$Create$();
1811
+ var list = ArrayList_init_$Create$();
1812
+ var tmp0_iterator_3 = tmp8_distinctBy.c();
1813
+ while (tmp0_iterator_3.d()) {
1814
+ var e = tmp0_iterator_3.e();
1815
+ var tmp$ret$12;
1816
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1817
+ var tmp0_safe_receiver = e.ni_1;
1818
+ tmp$ret$12 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1819
+ var key = tmp$ret$12;
1820
+ if (set.a(key)) {
1821
+ list.a(e);
1822
+ }
1823
+ }
1824
+ tmp$ret$13 = list;
1825
+ var tmp_4 = tmp$ret$13;
1763
1826
  var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_3(this$0));
1764
- var tmp$ret$14;
1827
+ var tmp$ret$18;
1828
+ // Inline function 'kotlin.collections.distinctBy' call
1829
+ var tmp$ret$16;
1765
1830
  // Inline function 'kotlin.collections.filter' call
1766
- var tmp9_filter = $this_emit.li_1;
1767
- var tmp$ret$13;
1831
+ var tmp10_filter = $this_emit.li_1;
1832
+ var tmp$ret$15;
1768
1833
  // Inline function 'kotlin.collections.filterTo' call
1769
- var tmp8_filterTo = ArrayList_init_$Create$();
1770
- var tmp0_iterator_3 = tmp9_filter.c();
1771
- while (tmp0_iterator_3.d()) {
1772
- var element_1 = tmp0_iterator_3.e();
1773
- var tmp$ret$12;
1834
+ var tmp9_filterTo = ArrayList_init_$Create$();
1835
+ var tmp0_iterator_4 = tmp10_filter.c();
1836
+ while (tmp0_iterator_4.d()) {
1837
+ var element_1 = tmp0_iterator_4.e();
1838
+ var tmp$ret$14;
1774
1839
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1775
- tmp$ret$12 = !isInt_0(element_1.mi_1);
1776
- if (tmp$ret$12) {
1777
- tmp8_filterTo.a(element_1);
1840
+ tmp$ret$14 = !isInt_0(element_1.mi_1);
1841
+ if (tmp$ret$14) {
1842
+ tmp9_filterTo.a(element_1);
1778
1843
  }
1779
1844
  }
1780
- tmp$ret$13 = tmp8_filterTo;
1781
- tmp$ret$14 = tmp$ret$13;
1782
- var tmp_6 = tmp$ret$14;
1845
+ tmp$ret$15 = tmp9_filterTo;
1846
+ tmp$ret$16 = tmp$ret$15;
1847
+ var tmp11_distinctBy = tmp$ret$16;
1848
+ var set_0 = HashSet_init_$Create$();
1849
+ var list_0 = ArrayList_init_$Create$();
1850
+ var tmp0_iterator_5 = tmp11_distinctBy.c();
1851
+ while (tmp0_iterator_5.d()) {
1852
+ var e_0 = tmp0_iterator_5.e();
1853
+ var tmp$ret$17;
1854
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1855
+ var tmp0_safe_receiver_0 = e_0.ni_1;
1856
+ tmp$ret$17 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
1857
+ var key_0 = tmp$ret$17;
1858
+ if (set_0.a(key_0)) {
1859
+ list_0.a(e_0);
1860
+ }
1861
+ }
1862
+ tmp$ret$18 = list_0;
1863
+ var tmp_6 = tmp$ret$18;
1783
1864
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_4(this$0));
1784
1865
  var tmp_8 = Companion_getInstance_1().qj($this_emit.ei_1);
1785
1866
  Companion_getInstance_1();
@@ -1879,7 +1960,7 @@
1879
1960
  var result = item.j3();
1880
1961
  var tmp$ret$0;
1881
1962
  // Inline function 'kotlin.text.trimStart' call
1882
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.gk_1) ? '' : 'package ' + this.gk_1) + '\n |' + (hasEndpoints(ast, this) ? this.hk_1 : '') + '\n |' + result + '\n ');
1963
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.gk_1) ? '' : 'package ' + this.gk_1) + '\n |' + (Companion_getInstance_1().jk(ast) ? this.hk_1 : '') + '\n |' + result + '\n ');
1883
1964
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
1884
1965
  tmp$ret$1 = to(name, tmp$ret$0);
1885
1966
  tmp0_mapTo.a(tmp$ret$1);
@@ -1949,7 +2030,7 @@
1949
2030
  }
1950
2031
  function Companion() {
1951
2032
  Companion_instance = this;
1952
- this.jk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2033
+ this.kk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
1953
2034
  }
1954
2035
  var Companion_instance;
1955
2036
  function Companion_getInstance_0() {
@@ -1980,7 +2061,7 @@
1980
2061
  }
1981
2062
  function ScalaEmitter$emit$lambda_2($this_emit) {
1982
2063
  return function () {
1983
- return Companion_getInstance_0().jk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
2064
+ return Companion_getInstance_0().kk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
1984
2065
  };
1985
2066
  }
1986
2067
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2060,7 +2141,7 @@
2060
2141
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2061
2142
  logger = logger === VOID ? get_noLogger() : logger;
2062
2143
  Emitter.call(this, logger);
2063
- this.mk_1 = packageName;
2144
+ this.nk_1 = packageName;
2064
2145
  }
2065
2146
  protoOf(ScalaEmitter).qh = function (ast) {
2066
2147
  var tmp$ret$2;
@@ -2076,7 +2157,7 @@
2076
2157
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2077
2158
  var name = item.i3();
2078
2159
  var result = item.j3();
2079
- tmp$ret$0 = to(name, isBlank(this.mk_1) ? '' : 'package ' + this.mk_1 + '\n\n' + result);
2160
+ tmp$ret$0 = to(name, isBlank(this.nk_1) ? '' : 'package ' + this.nk_1 + '\n\n' + result);
2080
2161
  tmp0_mapTo.a(tmp$ret$0);
2081
2162
  }
2082
2163
  tmp$ret$1 = tmp0_mapTo;
@@ -2110,6 +2191,17 @@
2110
2191
  protoOf(ScalaEmitter).ck = function (_this__u8e3s4) {
2111
2192
  return this.dk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_7);
2112
2193
  };
2194
+ function emitName(_this__u8e3s4, $this) {
2195
+ var tmp0_safe_receiver = _this__u8e3s4.uh_1;
2196
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2197
+ return 'Request' + (tmp1_elvis_lhs == null ? 'unknown' : tmp1_elvis_lhs);
2198
+ }
2199
+ function emitName_0(_this__u8e3s4, $this) {
2200
+ var tmp = 'Response' + _this__u8e3s4.mi_1;
2201
+ var tmp0_safe_receiver = _this__u8e3s4.ni_1;
2202
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2203
+ return tmp + (tmp1_elvis_lhs == null ? 'unknown' : tmp1_elvis_lhs);
2204
+ }
2113
2205
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2114
2206
  return function () {
2115
2207
  return trimMargin('interface ' + $this_emit.ui_1 + ' {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |\n |');
@@ -2122,13 +2214,13 @@
2122
2214
  }
2123
2215
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2124
2216
  return function () {
2125
- return dropLast(joinToString($this_emit.yi_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0)), 1);
2217
+ return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2126
2218
  };
2127
2219
  }
2128
2220
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2129
2221
  return function () {
2130
2222
  Companion_getInstance_1();
2131
- return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1) + ',';
2223
+ return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1);
2132
2224
  };
2133
2225
  }
2134
2226
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
@@ -2196,13 +2288,149 @@
2196
2288
  return "new RegExp('" + dropLast(drop($this_emit.pj_1, 1), 1) + "')";
2197
2289
  };
2198
2290
  }
2199
- function TypeScriptEmitter$emit$lambda_7() {
2200
- return '// TODO("Not yet implemented")\n';
2291
+ function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2292
+ return function (it) {
2293
+ Companion_getInstance_1();
2294
+ var tmp = emitName(it, this$0);
2295
+ var tmp$ret$2;
2296
+ // Inline function 'kotlin.collections.map' call
2297
+ var tmp1_map = $this_emit.ii_1;
2298
+ var tmp$ret$1;
2299
+ // Inline function 'kotlin.collections.mapTo' call
2300
+ var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
2301
+ var tmp0_iterator = tmp1_map.c();
2302
+ while (tmp0_iterator.d()) {
2303
+ var item = tmp0_iterator.e();
2304
+ var tmp$ret$0;
2305
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2306
+ tmp$ret$0 = this$0.xi(item);
2307
+ tmp0_mapTo.a(tmp$ret$0);
2308
+ }
2309
+ tmp$ret$1 = tmp0_mapTo;
2310
+ tmp$ret$2 = tmp$ret$1;
2311
+ var tmp_0 = joinToString(tmp$ret$2, ',');
2312
+ var tmp$ret$5;
2313
+ // Inline function 'kotlin.collections.map' call
2314
+ var tmp3_map = $this_emit.ii_1;
2315
+ var tmp$ret$4;
2316
+ // Inline function 'kotlin.collections.mapTo' call
2317
+ var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
2318
+ var tmp0_iterator_0 = tmp3_map.c();
2319
+ while (tmp0_iterator_0.d()) {
2320
+ var item_0 = tmp0_iterator_0.e();
2321
+ var tmp$ret$3;
2322
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2323
+ tmp$ret$3 = this$0.xi(item_0);
2324
+ tmp2_mapTo.a(tmp$ret$3);
2325
+ }
2326
+ tmp$ret$4 = tmp2_mapTo;
2327
+ tmp$ret$5 = tmp$ret$4;
2328
+ var tmp_1 = joinToString(tmp$ret$5, ',');
2329
+ var tmp0_safe_receiver = it.uh_1;
2330
+ var tmp_2;
2331
+ if (tmp0_safe_receiver == null) {
2332
+ tmp_2 = null;
2333
+ } else {
2334
+ var tmp$ret$7;
2335
+ // Inline function 'kotlin.let' call
2336
+ // Inline function 'kotlin.contracts.contract' call
2337
+ var tmp$ret$6;
2338
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2339
+ tmp$ret$6 = '{ type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2340
+ tmp$ret$7 = tmp$ret$6;
2341
+ tmp_2 = tmp$ret$7;
2342
+ }
2343
+ var tmp1_elvis_lhs = tmp_2;
2344
+ return ' ' + 'type ' + tmp + ' = { path: string, method: "' + $this_emit.fi_1 + '", headers: {' + tmp_0 + '}, query: {' + tmp_1 + '}, content: ' + (tmp1_elvis_lhs == null ? 'undefined' : tmp1_elvis_lhs) + ' } ';
2345
+ };
2346
+ }
2347
+ function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
2348
+ return function (it) {
2349
+ return emitName(it, this$0);
2350
+ };
2351
+ }
2352
+ function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2353
+ return function (it) {
2354
+ Companion_getInstance_1();
2355
+ var tmp = emitName_0(it, this$0);
2356
+ var tmp0_safe_receiver = it.ni_1;
2357
+ var tmp_0;
2358
+ if (tmp0_safe_receiver == null) {
2359
+ tmp_0 = null;
2360
+ } else {
2361
+ var tmp$ret$1;
2362
+ // Inline function 'kotlin.let' call
2363
+ // Inline function 'kotlin.contracts.contract' call
2364
+ var tmp$ret$0;
2365
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2366
+ tmp$ret$0 = '{ type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2367
+ tmp$ret$1 = tmp$ret$0;
2368
+ tmp_0 = tmp$ret$1;
2369
+ }
2370
+ var tmp1_elvis_lhs = tmp_0;
2371
+ return ' ' + 'type ' + tmp + ' = { status: ' + it.mi_1 + ', content: ' + (tmp1_elvis_lhs == null ? 'undefined' : tmp1_elvis_lhs) + ' }';
2372
+ };
2373
+ }
2374
+ function TypeScriptEmitter$emit$lambda$lambda_4(this$0) {
2375
+ return function (it) {
2376
+ return emitName_0(it, this$0);
2377
+ };
2378
+ }
2379
+ function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2380
+ return function () {
2381
+ var tmp = toSet($this_emit.ki_1);
2382
+ var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2383
+ Companion_getInstance_1();
2384
+ var tmp_1 = toSet($this_emit.ki_1);
2385
+ var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2386
+ var tmp_3 = toSet($this_emit.li_1);
2387
+ var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2388
+ Companion_getInstance_1();
2389
+ var tmp_5 = toSet($this_emit.li_1);
2390
+ var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2391
+ Companion_getInstance_1();
2392
+ Companion_getInstance_1();
2393
+ Companion_getInstance_1();
2394
+ var tmp_7 = Companion_getInstance_1().qj($this_emit.ei_1);
2395
+ Companion_getInstance_1();
2396
+ return trimMargin('\n |export namespace ' + $this_emit.ei_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |}\n ');
2397
+ };
2201
2398
  }
2202
2399
  function TypeScriptEmitter(logger) {
2203
2400
  logger = logger === VOID ? get_noLogger() : logger;
2204
2401
  Emitter.call(this, logger);
2402
+ var tmp = this;
2403
+ Companion_getInstance_1();
2404
+ Companion_getInstance_1();
2405
+ Companion_getInstance_1();
2406
+ Companion_getInstance_1();
2407
+ tmp.qk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'export type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'export type Content<T> = { type: string, body: T }\n |' + ' ' + 'export type Request<T> = { path: string, method: Method, query: Record<string, any[]>, headers: Record<string, any[]>, content?: Content<T> }\n |' + ' ' + 'export type Response<T> = { status: number, headers: Record<string, any[]>, content?: Content<T> }\n |}\n ');
2205
2408
  }
2409
+ protoOf(TypeScriptEmitter).qh = function (ast) {
2410
+ var tmp$ret$3;
2411
+ // Inline function 'kotlin.collections.map' call
2412
+ var tmp1_map = protoOf(Emitter).qh.call(this, ast);
2413
+ var tmp$ret$2;
2414
+ // Inline function 'kotlin.collections.mapTo' call
2415
+ var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
2416
+ var tmp0_iterator = tmp1_map.c();
2417
+ while (tmp0_iterator.d()) {
2418
+ var item = tmp0_iterator.e();
2419
+ var tmp$ret$1;
2420
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>' call
2421
+ var name = item.i3();
2422
+ var result = item.j3();
2423
+ var tmp$ret$0;
2424
+ // Inline function 'kotlin.text.trimStart' call
2425
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().jk(ast) ? this.qk_1 : '') + '\n |' + result + '\n ');
2426
+ tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2427
+ tmp$ret$1 = to(name, tmp$ret$0);
2428
+ tmp0_mapTo.a(tmp$ret$1);
2429
+ }
2430
+ tmp$ret$2 = tmp0_mapTo;
2431
+ tmp$ret$3 = tmp$ret$2;
2432
+ return tmp$ret$3;
2433
+ };
2206
2434
  protoOf(TypeScriptEmitter).sj = function (_this__u8e3s4) {
2207
2435
  return this.tj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2208
2436
  };
@@ -2228,7 +2456,7 @@
2228
2456
  return this.bk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2229
2457
  };
2230
2458
  protoOf(TypeScriptEmitter).ck = function (_this__u8e3s4) {
2231
- return this.dk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_7);
2459
+ return this.dk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2232
2460
  };
2233
2461
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2234
2462
  return function () {
@@ -2423,6 +2651,35 @@
2423
2651
  tmp$ret$6 = tmp;
2424
2652
  return tmp$ret$6;
2425
2653
  };
2654
+ protoOf(Companion_0).jk = function (_this__u8e3s4) {
2655
+ var tmp$ret$0;
2656
+ $l$block_0: {
2657
+ // Inline function 'kotlin.collections.any' call
2658
+ var tmp;
2659
+ if (isInterface(_this__u8e3s4, Collection)) {
2660
+ tmp = _this__u8e3s4.g();
2661
+ } else {
2662
+ tmp = false;
2663
+ }
2664
+ if (tmp) {
2665
+ tmp$ret$0 = false;
2666
+ break $l$block_0;
2667
+ }
2668
+ var tmp0_iterator = _this__u8e3s4.c();
2669
+ while (tmp0_iterator.d()) {
2670
+ var element = tmp0_iterator.e();
2671
+ var tmp$ret$1;
2672
+ // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.hasEndpoints.<anonymous>' call
2673
+ tmp$ret$1 = element instanceof Endpoint;
2674
+ if (tmp$ret$1) {
2675
+ tmp$ret$0 = true;
2676
+ break $l$block_0;
2677
+ }
2678
+ }
2679
+ tmp$ret$0 = false;
2680
+ }
2681
+ return tmp$ret$0;
2682
+ };
2426
2683
  var Companion_instance_0;
2427
2684
  function Companion_getInstance_1() {
2428
2685
  if (Companion_instance_0 == null)
@@ -2507,7 +2764,7 @@
2507
2764
  captureStack(this, NextException);
2508
2765
  }
2509
2766
  function WrongTokenException(expected, actual) {
2510
- ParserException.call(this, actual.uk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.sk_1).fc() + ' at line ' + actual.uk_1.vk_1 + ' and position ' + (actual.uk_1.wk_1 - actual.tk_1.length | 0));
2767
+ ParserException.call(this, actual.wk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.uk_1).fc() + ' at line ' + actual.wk_1.xk_1 + ' and position ' + (actual.wk_1.yk_1 - actual.vk_1.length | 0));
2511
2768
  captureStack(this, WrongTokenException);
2512
2769
  }
2513
2770
  function NullTokenException(message, coordinates) {
@@ -2525,7 +2782,7 @@
2525
2782
  function WirespecException(message, coordinates) {
2526
2783
  RuntimeException_init_$Init$(message, this);
2527
2784
  captureStack(this, WirespecException);
2528
- this.yk_1 = coordinates;
2785
+ this.al_1 = coordinates;
2529
2786
  }
2530
2787
  function optimize(_this__u8e3s4) {
2531
2788
  var tmp$ret$2;
@@ -2538,10 +2795,10 @@
2538
2795
  var item = tmp0_iterator.e();
2539
2796
  var tmp$ret$0;
2540
2797
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2541
- var tmp0_subject = item.sk_1;
2798
+ var tmp0_subject = item.uk_1;
2542
2799
  var tmp;
2543
2800
  if (tmp0_subject instanceof CustomRegex) {
2544
- tmp = item.zk(VOID, '"' + dropLast(drop(item.tk_1, 1), 2) + '"');
2801
+ tmp = item.bl(VOID, '"' + dropLast(drop(item.vk_1, 1), 2) + '"');
2545
2802
  } else {
2546
2803
  tmp = item;
2547
2804
  }
@@ -2591,14 +2848,14 @@
2591
2848
  protoOf(Custom).ik = function () {
2592
2849
  return this.jj_1;
2593
2850
  };
2594
- protoOf(Custom).al = function (value, isIterable, isMap) {
2851
+ protoOf(Custom).cl = function (value, isIterable, isMap) {
2595
2852
  return new Custom(value, isIterable, isMap);
2596
2853
  };
2597
- protoOf(Custom).bl = function (value, isIterable, isMap, $super) {
2854
+ protoOf(Custom).dl = function (value, isIterable, isMap, $super) {
2598
2855
  value = value === VOID ? this.hj_1 : value;
2599
2856
  isIterable = isIterable === VOID ? this.ij_1 : isIterable;
2600
2857
  isMap = isMap === VOID ? this.jj_1 : isMap;
2601
- return $super === VOID ? this.al(value, isIterable, isMap) : $super.al.call(this, value, isIterable, isMap);
2858
+ return $super === VOID ? this.cl(value, isIterable, isMap) : $super.cl.call(this, value, isIterable, isMap);
2602
2859
  };
2603
2860
  protoOf(Custom).toString = function () {
2604
2861
  return 'Custom(value=' + this.hj_1 + ', isIterable=' + this.ij_1 + ', isMap=' + this.jj_1 + ')';
@@ -3132,8 +3389,8 @@
3132
3389
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3133
3390
  var tmp$ret$2;
3134
3391
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3135
- log(_this__u8e3s4.el_1, $this);
3136
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3392
+ log(_this__u8e3s4.gl_1, $this);
3393
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3137
3394
  var tmp_0;
3138
3395
  if (tmp0_subject instanceof WsTypeDef) {
3139
3396
  tmp_0 = raise.ch(parseTypeDeclaration(_this__u8e3s4, $this));
@@ -3148,10 +3405,10 @@
3148
3405
  // Inline function 'arrow.core.nel' call
3149
3406
  var tmp$ret$0;
3150
3407
  // Inline function 'kotlin.also' call
3151
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.el_1);
3408
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.gl_1);
3152
3409
  // Inline function 'kotlin.contracts.contract' call
3153
3410
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3154
- raise.ch(_this__u8e3s4.gl());
3411
+ raise.ch(_this__u8e3s4.il());
3155
3412
  tmp$ret$0 = tmp0_also;
3156
3413
  var tmp1_nel = tmp$ret$0;
3157
3414
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3210,21 +3467,21 @@
3210
3467
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3211
3468
  var tmp$ret$2;
3212
3469
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3213
- raise.ch(_this__u8e3s4.gl());
3214
- log(_this__u8e3s4.el_1, $this);
3215
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3470
+ raise.ch(_this__u8e3s4.il());
3471
+ log(_this__u8e3s4.gl_1, $this);
3472
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3216
3473
  var tmp_0;
3217
3474
  if (tmp0_subject instanceof CustomType) {
3218
- tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.el_1.tk_1));
3475
+ tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
3219
3476
  } else {
3220
3477
  var tmp$ret$1;
3221
3478
  // Inline function 'arrow.core.nel' call
3222
3479
  var tmp$ret$0;
3223
3480
  // Inline function 'kotlin.also' call
3224
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
3481
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3225
3482
  // Inline function 'kotlin.contracts.contract' call
3226
3483
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3227
- raise.ch(_this__u8e3s4.gl());
3484
+ raise.ch(_this__u8e3s4.il());
3228
3485
  tmp$ret$0 = tmp0_also;
3229
3486
  var tmp1_nel = tmp$ret$0;
3230
3487
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3281,11 +3538,11 @@
3281
3538
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3282
3539
  var tmp$ret$5;
3283
3540
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3284
- raise.ch(_this__u8e3s4.gl());
3285
- log(_this__u8e3s4.el_1, $this);
3541
+ raise.ch(_this__u8e3s4.il());
3542
+ log(_this__u8e3s4.gl_1, $this);
3286
3543
  var tmp$ret$4;
3287
3544
  // Inline function 'kotlin.also' call
3288
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3545
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3289
3546
  var tmp_0;
3290
3547
  if (tmp0_subject instanceof LeftCurly) {
3291
3548
  tmp_0 = new Type_0(typeName, raise.ch(parseTypeShape(_this__u8e3s4, $this)));
@@ -3294,10 +3551,10 @@
3294
3551
  // Inline function 'arrow.core.nel' call
3295
3552
  var tmp$ret$0;
3296
3553
  // Inline function 'kotlin.also' call
3297
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.el_1);
3554
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.gl_1);
3298
3555
  // Inline function 'kotlin.contracts.contract' call
3299
3556
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3300
- raise.ch(_this__u8e3s4.gl());
3557
+ raise.ch(_this__u8e3s4.il());
3301
3558
  tmp$ret$0 = tmp0_also;
3302
3559
  var tmp1_nel = tmp$ret$0;
3303
3560
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3306,18 +3563,18 @@
3306
3563
  var tmp2_also = tmp_0;
3307
3564
  // Inline function 'kotlin.contracts.contract' call
3308
3565
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3309
- var tmp0_subject_0 = _this__u8e3s4.el_1.sk_1;
3566
+ var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
3310
3567
  if (tmp0_subject_0 instanceof RightCurly)
3311
- raise.ch(_this__u8e3s4.gl());
3568
+ raise.ch(_this__u8e3s4.il());
3312
3569
  else {
3313
3570
  var tmp$ret$3;
3314
3571
  // Inline function 'arrow.core.nel' call
3315
3572
  var tmp$ret$2;
3316
3573
  // Inline function 'kotlin.also' call
3317
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.el_1);
3574
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.gl_1);
3318
3575
  // Inline function 'kotlin.contracts.contract' call
3319
3576
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3320
- raise.ch(_this__u8e3s4.gl());
3577
+ raise.ch(_this__u8e3s4.il());
3321
3578
  tmp$ret$2 = tmp0_also_0;
3322
3579
  var tmp1_nel_0 = tmp$ret$2;
3323
3580
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -3375,11 +3632,11 @@
3375
3632
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3376
3633
  var tmp$ret$7;
3377
3634
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3378
- raise.ch(_this__u8e3s4.gl());
3379
- log(_this__u8e3s4.el_1, $this);
3635
+ raise.ch(_this__u8e3s4.il());
3636
+ log(_this__u8e3s4.gl_1, $this);
3380
3637
  var tmp$ret$6;
3381
3638
  // Inline function 'kotlin.let' call
3382
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3639
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3383
3640
  var tmp_0;
3384
3641
  if (tmp0_subject instanceof CustomValue) {
3385
3642
  var tmp$ret$3;
@@ -3390,21 +3647,21 @@
3390
3647
  var tmp0_apply = tmp$ret$0;
3391
3648
  // Inline function 'kotlin.contracts.contract' call
3392
3649
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3393
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.el_1.tk_1))));
3394
- while (equals(_this__u8e3s4.el_1.sk_1, Comma_getInstance())) {
3395
- raise.ch(_this__u8e3s4.gl());
3396
- var tmp0_subject_0 = _this__u8e3s4.el_1.sk_1;
3650
+ tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.gl_1.vk_1))));
3651
+ while (equals(_this__u8e3s4.gl_1.uk_1, Comma_getInstance())) {
3652
+ raise.ch(_this__u8e3s4.il());
3653
+ var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
3397
3654
  if (tmp0_subject_0 instanceof CustomValue) {
3398
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.el_1.tk_1))));
3655
+ tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.gl_1.vk_1))));
3399
3656
  } else {
3400
3657
  var tmp$ret$2;
3401
3658
  // Inline function 'arrow.core.nel' call
3402
3659
  var tmp$ret$1;
3403
3660
  // Inline function 'kotlin.also' call
3404
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.el_1);
3661
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.gl_1);
3405
3662
  // Inline function 'kotlin.contracts.contract' call
3406
3663
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3407
- raise.ch(_this__u8e3s4.gl());
3664
+ raise.ch(_this__u8e3s4.il());
3408
3665
  tmp$ret$1 = tmp0_also;
3409
3666
  var tmp1_nel = tmp$ret$1;
3410
3667
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
@@ -3418,10 +3675,10 @@
3418
3675
  // Inline function 'arrow.core.nel' call
3419
3676
  var tmp$ret$4;
3420
3677
  // Inline function 'kotlin.also' call
3421
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.el_1);
3678
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.gl_1);
3422
3679
  // Inline function 'kotlin.contracts.contract' call
3423
3680
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3424
- raise.ch(_this__u8e3s4.gl());
3681
+ raise.ch(_this__u8e3s4.il());
3425
3682
  tmp$ret$4 = tmp1_also;
3426
3683
  var tmp2_nel = tmp$ret$4;
3427
3684
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
@@ -3481,37 +3738,37 @@
3481
3738
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3482
3739
  var tmp$ret$5;
3483
3740
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
3484
- raise.ch(_this__u8e3s4.gl());
3485
- log(_this__u8e3s4.el_1, $this);
3486
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3741
+ raise.ch(_this__u8e3s4.il());
3742
+ log(_this__u8e3s4.gl_1, $this);
3743
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3487
3744
  if (tmp0_subject instanceof Colon)
3488
- raise.ch(_this__u8e3s4.gl());
3745
+ raise.ch(_this__u8e3s4.il());
3489
3746
  else {
3490
3747
  var tmp$ret$1;
3491
3748
  // Inline function 'arrow.core.nel' call
3492
3749
  var tmp$ret$0;
3493
3750
  // Inline function 'kotlin.also' call
3494
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.el_1);
3751
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.gl_1);
3495
3752
  // Inline function 'kotlin.contracts.contract' call
3496
3753
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3497
- raise.ch(_this__u8e3s4.gl());
3754
+ raise.ch(_this__u8e3s4.il());
3498
3755
  tmp$ret$0 = tmp0_also;
3499
3756
  var tmp1_nel = tmp$ret$0;
3500
3757
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3501
3758
  raise.bh(tmp$ret$1);
3502
3759
  }
3503
- var type = _this__u8e3s4.el_1.sk_1;
3760
+ var type = _this__u8e3s4.gl_1.uk_1;
3504
3761
  var tmp_0;
3505
3762
  if (isInterface(type, WsType)) {
3506
- var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.el_1.tk_1));
3763
+ var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.gl_1.vk_1));
3507
3764
  var tmp$ret$2;
3508
3765
  // Inline function 'kotlin.also' call
3509
- var tmp_2 = _this__u8e3s4.el_1.sk_1;
3766
+ var tmp_2 = _this__u8e3s4.gl_1.uk_1;
3510
3767
  var tmp2_also = tmp_2 instanceof QuestionMark;
3511
3768
  // Inline function 'kotlin.contracts.contract' call
3512
3769
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3513
3770
  if (tmp2_also)
3514
- raise.ch(_this__u8e3s4.gl());
3771
+ raise.ch(_this__u8e3s4.il());
3515
3772
  tmp$ret$2 = tmp2_also;
3516
3773
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
3517
3774
  } else {
@@ -3519,10 +3776,10 @@
3519
3776
  // Inline function 'arrow.core.nel' call
3520
3777
  var tmp$ret$3;
3521
3778
  // Inline function 'kotlin.also' call
3522
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
3779
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3523
3780
  // Inline function 'kotlin.contracts.contract' call
3524
3781
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3525
- raise.ch(_this__u8e3s4.gl());
3782
+ raise.ch(_this__u8e3s4.il());
3526
3783
  tmp$ret$3 = tmp3_also;
3527
3784
  var tmp4_nel = tmp$ret$3;
3528
3785
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
@@ -3579,16 +3836,16 @@
3579
3836
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3580
3837
  var tmp$ret$1;
3581
3838
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
3582
- raise.ch(_this__u8e3s4.gl());
3583
- log(_this__u8e3s4.el_1, $this);
3839
+ raise.ch(_this__u8e3s4.il());
3840
+ log(_this__u8e3s4.gl_1, $this);
3584
3841
  var tmp$ret$0;
3585
3842
  // Inline function 'kotlin.also' call
3586
- var tmp_0 = _this__u8e3s4.el_1.sk_1;
3843
+ var tmp_0 = _this__u8e3s4.gl_1.uk_1;
3587
3844
  var tmp0_also = tmp_0 instanceof Brackets;
3588
3845
  // Inline function 'kotlin.contracts.contract' call
3589
3846
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
3590
3847
  if (tmp0_also)
3591
- raise.ch(_this__u8e3s4.gl());
3848
+ raise.ch(_this__u8e3s4.il());
3592
3849
  tmp$ret$0 = tmp0_also;
3593
3850
  var isIterable = tmp$ret$0;
3594
3851
  var tmp0_subject = wsType;
@@ -3661,21 +3918,21 @@
3661
3918
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3662
3919
  var tmp$ret$2;
3663
3920
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
3664
- raise.ch(_this__u8e3s4.gl());
3665
- log(_this__u8e3s4.el_1, $this);
3666
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3921
+ raise.ch(_this__u8e3s4.il());
3922
+ log(_this__u8e3s4.gl_1, $this);
3923
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3667
3924
  var tmp_0;
3668
3925
  if (tmp0_subject instanceof CustomType) {
3669
- tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.el_1.tk_1));
3926
+ tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
3670
3927
  } else {
3671
3928
  var tmp$ret$1;
3672
3929
  // Inline function 'arrow.core.nel' call
3673
3930
  var tmp$ret$0;
3674
3931
  // Inline function 'kotlin.also' call
3675
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
3932
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3676
3933
  // Inline function 'kotlin.contracts.contract' call
3677
3934
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
3678
- raise.ch(_this__u8e3s4.gl());
3935
+ raise.ch(_this__u8e3s4.il());
3679
3936
  tmp$ret$0 = tmp0_also;
3680
3937
  var tmp1_nel = tmp$ret$0;
3681
3938
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3732,11 +3989,11 @@
3732
3989
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3733
3990
  var tmp$ret$5;
3734
3991
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
3735
- raise.ch(_this__u8e3s4.gl());
3736
- log(_this__u8e3s4.el_1, $this);
3992
+ raise.ch(_this__u8e3s4.il());
3993
+ log(_this__u8e3s4.gl_1, $this);
3737
3994
  var tmp$ret$4;
3738
3995
  // Inline function 'kotlin.also' call
3739
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
3996
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3740
3997
  var tmp_0;
3741
3998
  if (tmp0_subject instanceof LeftCurly) {
3742
3999
  tmp_0 = new Enum_0(typeName, raise.ch(parseEnumTypeEntries(_this__u8e3s4, $this)));
@@ -3745,10 +4002,10 @@
3745
4002
  // Inline function 'arrow.core.nel' call
3746
4003
  var tmp$ret$0;
3747
4004
  // Inline function 'kotlin.also' call
3748
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.el_1);
4005
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.gl_1);
3749
4006
  // Inline function 'kotlin.contracts.contract' call
3750
4007
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
3751
- raise.ch(_this__u8e3s4.gl());
4008
+ raise.ch(_this__u8e3s4.il());
3752
4009
  tmp$ret$0 = tmp0_also;
3753
4010
  var tmp1_nel = tmp$ret$0;
3754
4011
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3757,18 +4014,18 @@
3757
4014
  var tmp2_also = tmp_0;
3758
4015
  // Inline function 'kotlin.contracts.contract' call
3759
4016
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
3760
- var tmp0_subject_0 = _this__u8e3s4.el_1.sk_1;
4017
+ var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
3761
4018
  if (tmp0_subject_0 instanceof RightCurly)
3762
- raise.ch(_this__u8e3s4.gl());
4019
+ raise.ch(_this__u8e3s4.il());
3763
4020
  else {
3764
4021
  var tmp$ret$3;
3765
4022
  // Inline function 'arrow.core.nel' call
3766
4023
  var tmp$ret$2;
3767
4024
  // Inline function 'kotlin.also' call
3768
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.el_1);
4025
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.gl_1);
3769
4026
  // Inline function 'kotlin.contracts.contract' call
3770
4027
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3771
- raise.ch(_this__u8e3s4.gl());
4028
+ raise.ch(_this__u8e3s4.il());
3772
4029
  tmp$ret$2 = tmp0_also_0;
3773
4030
  var tmp1_nel_0 = tmp$ret$2;
3774
4031
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -3826,9 +4083,9 @@
3826
4083
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3827
4084
  var tmp$ret$7;
3828
4085
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
3829
- raise.ch(_this__u8e3s4.gl());
3830
- log(_this__u8e3s4.el_1, $this);
3831
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
4086
+ raise.ch(_this__u8e3s4.il());
4087
+ log(_this__u8e3s4.gl_1, $this);
4088
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3832
4089
  var tmp_0;
3833
4090
  if (tmp0_subject instanceof CustomType) {
3834
4091
  var tmp$ret$4;
@@ -3839,28 +4096,28 @@
3839
4096
  var tmp0_apply = tmp$ret$0;
3840
4097
  // Inline function 'kotlin.contracts.contract' call
3841
4098
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
3842
- tmp0_apply.a(_this__u8e3s4.el_1.tk_1);
3843
- raise.ch(_this__u8e3s4.gl());
3844
- while (equals(_this__u8e3s4.el_1.sk_1, Comma_getInstance())) {
3845
- raise.ch(_this__u8e3s4.gl());
3846
- var tmp0_subject_0 = _this__u8e3s4.el_1.sk_1;
4099
+ tmp0_apply.a(_this__u8e3s4.gl_1.vk_1);
4100
+ raise.ch(_this__u8e3s4.il());
4101
+ while (equals(_this__u8e3s4.gl_1.uk_1, Comma_getInstance())) {
4102
+ raise.ch(_this__u8e3s4.il());
4103
+ var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
3847
4104
  if (tmp0_subject_0 instanceof CustomType) {
3848
4105
  var tmp$ret$1;
3849
4106
  // Inline function 'kotlin.also' call
3850
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.el_1.tk_1);
4107
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.gl_1.vk_1);
3851
4108
  // Inline function 'kotlin.contracts.contract' call
3852
4109
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
3853
- raise.ch(_this__u8e3s4.gl());
4110
+ raise.ch(_this__u8e3s4.il());
3854
4111
  tmp$ret$1 = tmp0_also;
3855
4112
  } else {
3856
4113
  var tmp$ret$3;
3857
4114
  // Inline function 'arrow.core.nel' call
3858
4115
  var tmp$ret$2;
3859
4116
  // Inline function 'kotlin.also' call
3860
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
4117
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3861
4118
  // Inline function 'kotlin.contracts.contract' call
3862
4119
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
3863
- raise.ch(_this__u8e3s4.gl());
4120
+ raise.ch(_this__u8e3s4.il());
3864
4121
  tmp$ret$2 = tmp1_also;
3865
4122
  var tmp2_nel = tmp$ret$2;
3866
4123
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
@@ -3874,10 +4131,10 @@
3874
4131
  // Inline function 'arrow.core.nel' call
3875
4132
  var tmp$ret$5;
3876
4133
  // Inline function 'kotlin.also' call
3877
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
4134
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3878
4135
  // Inline function 'kotlin.contracts.contract' call
3879
4136
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
3880
- raise.ch(_this__u8e3s4.gl());
4137
+ raise.ch(_this__u8e3s4.il());
3881
4138
  tmp$ret$5 = tmp1_also_0;
3882
4139
  var tmp2_nel_0 = tmp$ret$5;
3883
4140
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
@@ -3934,21 +4191,21 @@
3934
4191
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3935
4192
  var tmp$ret$2;
3936
4193
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
3937
- raise.ch(_this__u8e3s4.gl());
3938
- log(_this__u8e3s4.el_1, $this);
3939
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
4194
+ raise.ch(_this__u8e3s4.il());
4195
+ log(_this__u8e3s4.gl_1, $this);
4196
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3940
4197
  var tmp_0;
3941
4198
  if (tmp0_subject instanceof CustomType) {
3942
- tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.el_1.tk_1));
4199
+ tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
3943
4200
  } else {
3944
4201
  var tmp$ret$1;
3945
4202
  // Inline function 'arrow.core.nel' call
3946
4203
  var tmp$ret$0;
3947
4204
  // Inline function 'kotlin.also' call
3948
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.el_1);
4205
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3949
4206
  // Inline function 'kotlin.contracts.contract' call
3950
4207
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
3951
- raise.ch(_this__u8e3s4.gl());
4208
+ raise.ch(_this__u8e3s4.il());
3952
4209
  tmp$ret$0 = tmp0_also;
3953
4210
  var tmp1_nel = tmp$ret$0;
3954
4211
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4005,23 +4262,23 @@
4005
4262
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4006
4263
  var tmp$ret$3;
4007
4264
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4008
- raise.ch(_this__u8e3s4.gl());
4009
- log(_this__u8e3s4.el_1, $this);
4265
+ raise.ch(_this__u8e3s4.il());
4266
+ log(_this__u8e3s4.gl_1, $this);
4010
4267
  var tmp$ret$2;
4011
4268
  // Inline function 'kotlin.also' call
4012
- var tmp0_subject = _this__u8e3s4.el_1.sk_1;
4269
+ var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4013
4270
  var tmp_0;
4014
4271
  if (tmp0_subject instanceof CustomRegex) {
4015
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.el_1.tk_1));
4272
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.gl_1.vk_1));
4016
4273
  } else {
4017
4274
  var tmp$ret$1;
4018
4275
  // Inline function 'arrow.core.nel' call
4019
4276
  var tmp$ret$0;
4020
4277
  // Inline function 'kotlin.also' call
4021
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.el_1);
4278
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.gl_1);
4022
4279
  // Inline function 'kotlin.contracts.contract' call
4023
4280
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4024
- raise.ch(_this__u8e3s4.gl());
4281
+ raise.ch(_this__u8e3s4.il());
4025
4282
  tmp$ret$0 = tmp0_also;
4026
4283
  var tmp1_nel = tmp$ret$0;
4027
4284
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4030,7 +4287,7 @@
4030
4287
  var tmp2_also = tmp_0;
4031
4288
  // Inline function 'kotlin.contracts.contract' call
4032
4289
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4033
- raise.ch(_this__u8e3s4.gl());
4290
+ raise.ch(_this__u8e3s4.il());
4034
4291
  tmp$ret$2 = tmp2_also;
4035
4292
  tmp$ret$3 = tmp$ret$2;
4036
4293
  tmp$ret$4 = tmp$ret$3;
@@ -4068,7 +4325,7 @@
4068
4325
  return tmp$ret$9;
4069
4326
  }
4070
4327
  function log(_this__u8e3s4, $this) {
4071
- return $this.mh_1.ih('Parsing ' + _this__u8e3s4.sk_1 + ' at line ' + _this__u8e3s4.uk_1.vk_1 + ' position ' + _this__u8e3s4.uk_1.wk_1);
4328
+ return $this.mh_1.ih('Parsing ' + _this__u8e3s4.uk_1 + ' at line ' + _this__u8e3s4.wk_1.xk_1 + ' position ' + _this__u8e3s4.wk_1.yk_1);
4072
4329
  }
4073
4330
  function Parser(logger) {
4074
4331
  this.mh_1 = logger;
@@ -4084,7 +4341,7 @@
4084
4341
  var element = tmp0_iterator.e();
4085
4342
  var tmp$ret$0;
4086
4343
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4087
- var tmp = element.sk_1;
4344
+ var tmp = element.uk_1;
4088
4345
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4089
4346
  if (!tmp$ret$0) {
4090
4347
  tmp0_filterNotTo.a(element);
@@ -4108,7 +4365,7 @@
4108
4365
  // Inline function 'kotlin.contracts.contract' call
4109
4366
  var tmp$ret$0;
4110
4367
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4111
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.tk_1 + "', ";
4368
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.vk_1 + "', ";
4112
4369
  tmp$ret$1 = tmp$ret$0;
4113
4370
  tmp = tmp$ret$1;
4114
4371
  }
@@ -4116,14 +4373,14 @@
4116
4373
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4117
4374
  var tmp$ret$3;
4118
4375
  // Inline function 'kotlin.run' call
4119
- var tmp0_run = $this.el_1;
4376
+ var tmp0_run = $this.gl_1;
4120
4377
  // Inline function 'kotlin.contracts.contract' call
4121
4378
  var tmp$ret$2;
4122
4379
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4123
- tmp$ret$2 = "Current: '" + tmp0_run.tk_1 + "'";
4380
+ tmp$ret$2 = "Current: '" + tmp0_run.vk_1 + "'";
4124
4381
  tmp$ret$3 = tmp$ret$2;
4125
4382
  var curr = tmp$ret$3;
4126
- var tmp2_safe_receiver = $this.fl_1;
4383
+ var tmp2_safe_receiver = $this.hl_1;
4127
4384
  var tmp_0;
4128
4385
  if (tmp2_safe_receiver == null) {
4129
4386
  tmp_0 = null;
@@ -4133,13 +4390,13 @@
4133
4390
  // Inline function 'kotlin.contracts.contract' call
4134
4391
  var tmp$ret$4;
4135
4392
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4136
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.tk_1 + "'";
4393
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.vk_1 + "'";
4137
4394
  tmp$ret$5 = tmp$ret$4;
4138
4395
  tmp_0 = tmp$ret$5;
4139
4396
  }
4140
4397
  var tmp3_elvis_lhs = tmp_0;
4141
4398
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4142
- $this.cl_1.ih(prev + curr + next);
4399
+ $this.el_1.ih(prev + curr + next);
4143
4400
  tmp$ret$6 = Unit_getInstance();
4144
4401
  return tmp$ret$6;
4145
4402
  }
@@ -4159,7 +4416,7 @@
4159
4416
  var tmp0_success = Companion_getInstance();
4160
4417
  var tmp$ret$0;
4161
4418
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4162
- tmp$ret$0 = $this.dl_1.e();
4419
+ tmp$ret$0 = $this.fl_1.e();
4163
4420
  var tmp1_success = tmp$ret$0;
4164
4421
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4165
4422
  tmp = tmp$ret$1;
@@ -4190,8 +4447,8 @@
4190
4447
  return tmp$ret$4;
4191
4448
  }
4192
4449
  function TokenProvider(logger, tokenIterator) {
4193
- this.cl_1 = logger;
4194
- this.dl_1 = tokenIterator;
4450
+ this.el_1 = logger;
4451
+ this.fl_1 = tokenIterator;
4195
4452
  var tmp = this;
4196
4453
  var tmp0_elvis_lhs = nextToken(this);
4197
4454
  var tmp_0;
@@ -4200,14 +4457,14 @@
4200
4457
  } else {
4201
4458
  tmp_0 = tmp0_elvis_lhs;
4202
4459
  }
4203
- tmp.el_1 = tmp_0;
4204
- this.fl_1 = nextToken(this);
4460
+ tmp.gl_1 = tmp_0;
4461
+ this.hl_1 = nextToken(this);
4205
4462
  printTokens$default(this);
4206
4463
  }
4207
4464
  protoOf(TokenProvider).d = function () {
4208
- return !(this.fl_1 == null);
4465
+ return !(this.hl_1 == null);
4209
4466
  };
4210
- protoOf(TokenProvider).gl = function () {
4467
+ protoOf(TokenProvider).il = function () {
4211
4468
  var tmp$ret$6;
4212
4469
  // Inline function 'arrow.core.raise.either' call
4213
4470
  var tmp$ret$5;
@@ -4221,21 +4478,21 @@
4221
4478
  try {
4222
4479
  var tmp$ret$1;
4223
4480
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4224
- var previousToken = this.el_1;
4481
+ var previousToken = this.gl_1;
4225
4482
  var tmp_0 = this;
4226
- var tmp0_elvis_lhs = this.fl_1;
4483
+ var tmp0_elvis_lhs = this.hl_1;
4227
4484
  var tmp_1;
4228
4485
  if (tmp0_elvis_lhs == null) {
4229
4486
  var tmp$ret$0;
4230
4487
  // Inline function 'arrow.core.nel' call
4231
- var tmp0_nel = new NextException(previousToken.uk_1);
4488
+ var tmp0_nel = new NextException(previousToken.wk_1);
4232
4489
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4233
4490
  raise.bh(tmp$ret$0);
4234
4491
  } else {
4235
4492
  tmp_1 = tmp0_elvis_lhs;
4236
4493
  }
4237
- tmp_0.el_1 = tmp_1;
4238
- this.fl_1 = nextToken(this);
4494
+ tmp_0.gl_1 = tmp_1;
4495
+ this.hl_1 = nextToken(this);
4239
4496
  printTokens(this, previousToken);
4240
4497
  tmp$ret$1 = Unit_getInstance();
4241
4498
  var res = tmp$ret$1;
@@ -4277,15 +4534,15 @@
4277
4534
  function IdxAndLength(idx, length) {
4278
4535
  idx = idx === VOID ? 0 : idx;
4279
4536
  length = length === VOID ? 0 : length;
4280
- this.hl_1 = idx;
4281
- this.il_1 = length;
4537
+ this.jl_1 = idx;
4538
+ this.kl_1 = length;
4282
4539
  }
4283
4540
  protoOf(IdxAndLength).toString = function () {
4284
- return 'IdxAndLength(idx=' + this.hl_1 + ', length=' + this.il_1 + ')';
4541
+ return 'IdxAndLength(idx=' + this.jl_1 + ', length=' + this.kl_1 + ')';
4285
4542
  };
4286
4543
  protoOf(IdxAndLength).hashCode = function () {
4287
- var result = this.hl_1;
4288
- result = imul(result, 31) + this.il_1 | 0;
4544
+ var result = this.jl_1;
4545
+ result = imul(result, 31) + this.kl_1 | 0;
4289
4546
  return result;
4290
4547
  };
4291
4548
  protoOf(IdxAndLength).equals = function (other) {
@@ -4294,9 +4551,9 @@
4294
4551
  if (!(other instanceof IdxAndLength))
4295
4552
  return false;
4296
4553
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4297
- if (!(this.hl_1 === tmp0_other_with_cast.hl_1))
4554
+ if (!(this.jl_1 === tmp0_other_with_cast.jl_1))
4298
4555
  return false;
4299
- if (!(this.il_1 === tmp0_other_with_cast.il_1))
4556
+ if (!(this.kl_1 === tmp0_other_with_cast.kl_1))
4300
4557
  return false;
4301
4558
  return true;
4302
4559
  };
@@ -4304,26 +4561,26 @@
4304
4561
  line = line === VOID ? 1 : line;
4305
4562
  position = position === VOID ? 1 : position;
4306
4563
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4307
- this.vk_1 = line;
4308
- this.wk_1 = position;
4309
- this.xk_1 = idxAndLength;
4564
+ this.xk_1 = line;
4565
+ this.yk_1 = position;
4566
+ this.zk_1 = idxAndLength;
4310
4567
  }
4311
- protoOf(Coordinates).jl = function (line, position, idxAndLength) {
4568
+ protoOf(Coordinates).ll = function (line, position, idxAndLength) {
4312
4569
  return new Coordinates(line, position, idxAndLength);
4313
4570
  };
4314
- protoOf(Coordinates).kl = function (line, position, idxAndLength, $super) {
4315
- line = line === VOID ? this.vk_1 : line;
4316
- position = position === VOID ? this.wk_1 : position;
4317
- idxAndLength = idxAndLength === VOID ? this.xk_1 : idxAndLength;
4318
- return $super === VOID ? this.jl(line, position, idxAndLength) : $super.jl.call(this, line, position, idxAndLength);
4571
+ protoOf(Coordinates).ml = function (line, position, idxAndLength, $super) {
4572
+ line = line === VOID ? this.xk_1 : line;
4573
+ position = position === VOID ? this.yk_1 : position;
4574
+ idxAndLength = idxAndLength === VOID ? this.zk_1 : idxAndLength;
4575
+ return $super === VOID ? this.ll(line, position, idxAndLength) : $super.ll.call(this, line, position, idxAndLength);
4319
4576
  };
4320
4577
  protoOf(Coordinates).toString = function () {
4321
- return 'Coordinates(line=' + this.vk_1 + ', position=' + this.wk_1 + ', idxAndLength=' + this.xk_1 + ')';
4578
+ return 'Coordinates(line=' + this.xk_1 + ', position=' + this.yk_1 + ', idxAndLength=' + this.zk_1 + ')';
4322
4579
  };
4323
4580
  protoOf(Coordinates).hashCode = function () {
4324
- var result = this.vk_1;
4325
- result = imul(result, 31) + this.wk_1 | 0;
4326
- result = imul(result, 31) + this.xk_1.hashCode() | 0;
4581
+ var result = this.xk_1;
4582
+ result = imul(result, 31) + this.yk_1 | 0;
4583
+ result = imul(result, 31) + this.zk_1.hashCode() | 0;
4327
4584
  return result;
4328
4585
  };
4329
4586
  protoOf(Coordinates).equals = function (other) {
@@ -4332,35 +4589,35 @@
4332
4589
  if (!(other instanceof Coordinates))
4333
4590
  return false;
4334
4591
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4335
- if (!(this.vk_1 === tmp0_other_with_cast.vk_1))
4592
+ if (!(this.xk_1 === tmp0_other_with_cast.xk_1))
4336
4593
  return false;
4337
- if (!(this.wk_1 === tmp0_other_with_cast.wk_1))
4594
+ if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4338
4595
  return false;
4339
- if (!this.xk_1.equals(tmp0_other_with_cast.xk_1))
4596
+ if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4340
4597
  return false;
4341
4598
  return true;
4342
4599
  };
4343
4600
  function Token(type, value, coordinates) {
4344
- this.sk_1 = type;
4345
- this.tk_1 = value;
4346
- this.uk_1 = coordinates;
4601
+ this.uk_1 = type;
4602
+ this.vk_1 = value;
4603
+ this.wk_1 = coordinates;
4347
4604
  }
4348
- protoOf(Token).ll = function (type, value, coordinates) {
4605
+ protoOf(Token).nl = function (type, value, coordinates) {
4349
4606
  return new Token(type, value, coordinates);
4350
4607
  };
4351
- protoOf(Token).zk = function (type, value, coordinates, $super) {
4352
- type = type === VOID ? this.sk_1 : type;
4353
- value = value === VOID ? this.tk_1 : value;
4354
- coordinates = coordinates === VOID ? this.uk_1 : coordinates;
4355
- return $super === VOID ? this.ll(type, value, coordinates) : $super.ll.call(this, type, value, coordinates);
4608
+ protoOf(Token).bl = function (type, value, coordinates, $super) {
4609
+ type = type === VOID ? this.uk_1 : type;
4610
+ value = value === VOID ? this.vk_1 : value;
4611
+ coordinates = coordinates === VOID ? this.wk_1 : coordinates;
4612
+ return $super === VOID ? this.nl(type, value, coordinates) : $super.nl.call(this, type, value, coordinates);
4356
4613
  };
4357
4614
  protoOf(Token).toString = function () {
4358
- return 'Token(type=' + this.sk_1 + ', value=' + this.tk_1 + ', coordinates=' + this.uk_1 + ')';
4615
+ return 'Token(type=' + this.uk_1 + ', value=' + this.vk_1 + ', coordinates=' + this.wk_1 + ')';
4359
4616
  };
4360
4617
  protoOf(Token).hashCode = function () {
4361
- var result = hashCode(this.sk_1);
4362
- result = imul(result, 31) + getStringHashCode(this.tk_1) | 0;
4363
- result = imul(result, 31) + this.uk_1.hashCode() | 0;
4618
+ var result = hashCode(this.uk_1);
4619
+ result = imul(result, 31) + getStringHashCode(this.vk_1) | 0;
4620
+ result = imul(result, 31) + this.wk_1.hashCode() | 0;
4364
4621
  return result;
4365
4622
  };
4366
4623
  protoOf(Token).equals = function (other) {
@@ -4369,19 +4626,19 @@
4369
4626
  if (!(other instanceof Token))
4370
4627
  return false;
4371
4628
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4372
- if (!equals(this.sk_1, tmp0_other_with_cast.sk_1))
4629
+ if (!equals(this.uk_1, tmp0_other_with_cast.uk_1))
4373
4630
  return false;
4374
- if (!(this.tk_1 === tmp0_other_with_cast.tk_1))
4631
+ if (!(this.vk_1 === tmp0_other_with_cast.vk_1))
4375
4632
  return false;
4376
- if (!this.uk_1.equals(tmp0_other_with_cast.uk_1))
4633
+ if (!this.wk_1.equals(tmp0_other_with_cast.wk_1))
4377
4634
  return false;
4378
4635
  return true;
4379
4636
  };
4380
4637
  function plus_1(_this__u8e3s4, length) {
4381
- return new IdxAndLength(_this__u8e3s4.hl_1 + length | 0, length);
4638
+ return new IdxAndLength(_this__u8e3s4.jl_1 + length | 0, length);
4382
4639
  }
4383
4640
  function plus_2(_this__u8e3s4, length) {
4384
- return _this__u8e3s4.kl(VOID, _this__u8e3s4.wk_1 + length | 0, plus_1(_this__u8e3s4.xk_1, length));
4641
+ return _this__u8e3s4.ml(VOID, _this__u8e3s4.yk_1 + length | 0, plus_1(_this__u8e3s4.zk_1, length));
4385
4642
  }
4386
4643
  function tokenize(_this__u8e3s4, source) {
4387
4644
  var tmp$ret$1;
@@ -4403,7 +4660,7 @@
4403
4660
  var tmp0_subject = type;
4404
4661
  var tmp;
4405
4662
  if (tmp0_subject instanceof NewLine) {
4406
- tmp = new Coordinates(_this__u8e3s4.vk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.xk_1, value.length));
4663
+ tmp = new Coordinates(_this__u8e3s4.xk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.zk_1, value.length));
4407
4664
  } else {
4408
4665
  tmp = plus_2(_this__u8e3s4, value.length);
4409
4666
  }
@@ -4411,7 +4668,7 @@
4411
4668
  }
4412
4669
  function lastCoordinates(_this__u8e3s4) {
4413
4670
  var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4414
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.uk_1;
4671
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wk_1;
4415
4672
  return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4416
4673
  }
4417
4674
  function tokenize_0(_this__u8e3s4, source, tokens) {
@@ -4421,7 +4678,7 @@
4421
4678
  $l$1: do {
4422
4679
  $l$0: do {
4423
4680
  var token = findToken($this, lastCoordinates(tokens_0), source_0);
4424
- var newSource = removePrefix(source_0, token.tk_1);
4681
+ var newSource = removePrefix(source_0, token.vk_1);
4425
4682
  var newTokens = plus_0(tokens_0, token);
4426
4683
  var tmp;
4427
4684
  var tmp$ret$0;
@@ -4647,7 +4904,7 @@
4647
4904
  }
4648
4905
  function EndOfProgram() {
4649
4906
  EndOfProgram_instance = this;
4650
- this.nl_1 = 'EOP';
4907
+ this.pl_1 = 'EOP';
4651
4908
  }
4652
4909
  var EndOfProgram_instance;
4653
4910
  function EndOfProgram_getInstance() {
@@ -4680,7 +4937,7 @@
4680
4937
  }
4681
4938
  return tmp;
4682
4939
  };
4683
- protoOf(Logger).rk = function (s, block) {
4940
+ protoOf(Logger).tk = function (s, block) {
4684
4941
  var tmp$ret$1;
4685
4942
  // Inline function 'kotlin.run' call
4686
4943
  // Inline function 'kotlin.contracts.contract' call
@@ -4750,25 +5007,25 @@
4750
5007
  protoOf(WirespecEmitter).ak = withLogging_5;
4751
5008
  protoOf(WirespecEmitter).bk = withLogging_6;
4752
5009
  protoOf(WirespecEmitter).dk = withLogging_7;
4753
- protoOf(WsTypeDef).ml = name;
4754
- protoOf(WsEnumTypeDef).ml = name;
4755
- protoOf(WsRefinedTypeDef).ml = name;
4756
- protoOf(WhiteSpaceExceptNewLine).ml = name;
4757
- protoOf(NewLine).ml = name;
4758
- protoOf(LeftCurly).ml = name;
4759
- protoOf(Colon).ml = name;
4760
- protoOf(Comma).ml = name;
4761
- protoOf(QuestionMark).ml = name;
4762
- protoOf(Brackets).ml = name;
4763
- protoOf(WsString).ml = name;
4764
- protoOf(WsInteger).ml = name;
4765
- protoOf(WsBoolean).ml = name;
4766
- protoOf(RightCurly).ml = name;
4767
- protoOf(CustomValue).ml = name;
4768
- protoOf(CustomType).ml = name;
4769
- protoOf(CustomRegex).ml = name;
4770
- protoOf(Invalid).ml = name;
4771
- protoOf(EndOfProgram).ml = name;
5010
+ protoOf(WsTypeDef).ol = name;
5011
+ protoOf(WsEnumTypeDef).ol = name;
5012
+ protoOf(WsRefinedTypeDef).ol = name;
5013
+ protoOf(WhiteSpaceExceptNewLine).ol = name;
5014
+ protoOf(NewLine).ol = name;
5015
+ protoOf(LeftCurly).ol = name;
5016
+ protoOf(Colon).ol = name;
5017
+ protoOf(Comma).ol = name;
5018
+ protoOf(QuestionMark).ol = name;
5019
+ protoOf(Brackets).ol = name;
5020
+ protoOf(WsString).ol = name;
5021
+ protoOf(WsInteger).ol = name;
5022
+ protoOf(WsBoolean).ol = name;
5023
+ protoOf(RightCurly).ol = name;
5024
+ protoOf(CustomValue).ol = name;
5025
+ protoOf(CustomType).ol = name;
5026
+ protoOf(CustomRegex).ol = name;
5027
+ protoOf(Invalid).ol = name;
5028
+ protoOf(EndOfProgram).ol = name;
4772
5029
  //endregion
4773
5030
  //region block: init
4774
5031
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';