@flock/wirespec 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
  2. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +3 -3
  3. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  4. package/kotlin/kotlin-openapi-bindings.js +3290 -3290
  5. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1238 -1238
  6. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  7. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +979 -979
  8. package/kotlin/wirespec-cli.js +80 -80
  9. package/kotlin/wirespec-core.js +385 -242
  10. package/kotlin/wirespec-core.js.map +1 -1
  11. package/kotlin/wirespec-lib.js +38 -38
  12. package/kotlin/wirespec-openapi.js +311 -311
  13. package/package.json +1 -1
  14. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  15. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  16. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  17. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  18. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  19. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  20. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  21. package/sync-hashes/wirespec-cli.js.hash +1 -1
  22. package/sync-hashes/wirespec-core.js.hash +1 -1
  23. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  24. package/sync-hashes/wirespec-lib.js.hash +1 -1
  25. package/sync-hashes/wirespec-openapi.js.hash +1 -1
@@ -86,37 +86,37 @@
86
86
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
87
87
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
88
88
  function withLogging(_this__u8e3s4, logger, block) {
89
- return logger.tk('Emitting Definition: Type', block);
89
+ return logger.vk('Emitting Definition: Type', block);
90
90
  }
91
91
  function withLogging_0(_this__u8e3s4, logger, block) {
92
- return logger.tk('Emitting Definition: Type Shape', block);
92
+ return logger.vk('Emitting Definition: Type Shape', block);
93
93
  }
94
94
  function withLogging_1(_this__u8e3s4, logger, block) {
95
- return logger.tk('Emitting Definition: Type Shape Field', block);
95
+ return logger.vk('Emitting Definition: Type Shape Field', block);
96
96
  }
97
97
  function withLogging_2(_this__u8e3s4, logger, block) {
98
- return logger.tk('Emitting Definition: Type Shape Field Key', block);
98
+ return logger.vk('Emitting Definition: Type Shape Field Key', block);
99
99
  }
100
100
  function withLogging_3(_this__u8e3s4, logger, block) {
101
- return logger.tk('Emitting Definition: Type Shape Field Value', block);
101
+ return logger.vk('Emitting Definition: Type Shape Field Value', block);
102
102
  }
103
103
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
104
104
  function withLogging_4(_this__u8e3s4, logger, block) {
105
- return logger.tk('Emitting Definition: Endpoint', block);
105
+ return logger.vk('Emitting Definition: Endpoint', block);
106
106
  }
107
107
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
108
108
  function withLogging_5(_this__u8e3s4, logger, block) {
109
- return logger.tk('Emitting Definition: Refined', block);
109
+ return logger.vk('Emitting Definition: Refined', block);
110
110
  }
111
111
  function withLogging_6(_this__u8e3s4, logger, block) {
112
- return logger.tk('Emitting Definition: Refined Validator', block);
112
+ return logger.vk('Emitting Definition: Refined Validator', block);
113
113
  }
114
114
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
115
115
  function withLogging_7(_this__u8e3s4, logger, block) {
116
- return logger.tk('Emitting Definition: Endpoint', block);
116
+ return logger.vk('Emitting Definition: Endpoint', block);
117
117
  }
118
118
  function withLogging_8(_this__u8e3s4, logger, block) {
119
- return logger.tk('Emitting Definition: Endpoint Segment', block);
119
+ return logger.vk('Emitting Definition: Endpoint Segment', block);
120
120
  }
121
121
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
122
122
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -1276,7 +1276,7 @@
1276
1276
  var element = tmp0_iterator.e();
1277
1277
  var tmp$ret$0;
1278
1278
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1279
- tmp$ret$0 = isInt_0(element.mi_1);
1279
+ tmp$ret$0 = Companion_getInstance_1().ek(element.mi_1);
1280
1280
  if (tmp$ret$0) {
1281
1281
  tmp0_filterTo.a(element);
1282
1282
  }
@@ -1313,7 +1313,7 @@
1313
1313
  var element_0 = tmp0_iterator_1.e();
1314
1314
  var tmp$ret$5;
1315
1315
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1316
- tmp$ret$5 = !isInt_0(element_0.mi_1);
1316
+ tmp$ret$5 = !Companion_getInstance_1().ek(element_0.mi_1);
1317
1317
  if (tmp$ret$5) {
1318
1318
  tmp2_filterTo.a(element_0);
1319
1319
  }
@@ -1357,7 +1357,7 @@
1357
1357
  var tmp_0;
1358
1358
  var tmp$ret$0;
1359
1359
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1360
- tmp$ret$0 = isInt_0(tmp0_takeIf);
1360
+ tmp$ret$0 = Companion_getInstance_1().ek(tmp0_takeIf);
1361
1361
  if (tmp$ret$0) {
1362
1362
  tmp_0 = tmp0_takeIf;
1363
1363
  } else {
@@ -1387,7 +1387,7 @@
1387
1387
  var tmp_4;
1388
1388
  var tmp$ret$4;
1389
1389
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1390
- tmp$ret$4 = !isInt_0(tmp1_takeIf);
1390
+ tmp$ret$4 = !Companion_getInstance_1().ek(tmp1_takeIf);
1391
1391
  if (tmp$ret$4) {
1392
1392
  tmp_4 = tmp1_takeIf;
1393
1393
  } else {
@@ -1420,7 +1420,7 @@
1420
1420
  var tmp_6;
1421
1421
  var tmp$ret$8;
1422
1422
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1423
- tmp$ret$8 = isInt_0(tmp2_takeIf);
1423
+ tmp$ret$8 = Companion_getInstance_1().ek(tmp2_takeIf);
1424
1424
  if (tmp$ret$8) {
1425
1425
  tmp_6 = tmp2_takeIf;
1426
1426
  } else {
@@ -1461,7 +1461,7 @@
1461
1461
  var tmp_13;
1462
1462
  var tmp$ret$12;
1463
1463
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1464
- tmp$ret$12 = !isInt_0(tmp3_takeIf);
1464
+ tmp$ret$12 = !Companion_getInstance_1().ek(tmp3_takeIf);
1465
1465
  if (tmp$ret$12) {
1466
1466
  tmp_13 = tmp3_takeIf;
1467
1467
  } else {
@@ -1576,7 +1576,7 @@
1576
1576
  // Inline function 'kotlin.contracts.contract' call
1577
1577
  var tmp$ret$2;
1578
1578
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1579
- tmp$ret$2 = $this_emit.ik() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1579
+ tmp$ret$2 = $this_emit.jk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1580
1580
  tmp$ret$3 = tmp$ret$2;
1581
1581
  return tmp$ret$3;
1582
1582
  };
@@ -1763,7 +1763,7 @@
1763
1763
  var element = tmp0_iterator_0.e();
1764
1764
  var tmp$ret$3;
1765
1765
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1766
- tmp$ret$3 = isInt_0(element.mi_1);
1766
+ tmp$ret$3 = Companion_getInstance_1().ek(element.mi_1);
1767
1767
  if (tmp$ret$3) {
1768
1768
  tmp2_filterTo.a(element);
1769
1769
  }
@@ -1799,7 +1799,7 @@
1799
1799
  var element_0 = tmp0_iterator_2.e();
1800
1800
  var tmp$ret$9;
1801
1801
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1802
- tmp$ret$9 = isInt_0(element_0.mi_1);
1802
+ tmp$ret$9 = Companion_getInstance_1().ek(element_0.mi_1);
1803
1803
  if (tmp$ret$9) {
1804
1804
  tmp6_filterTo.a(element_0);
1805
1805
  }
@@ -1837,7 +1837,7 @@
1837
1837
  var element_1 = tmp0_iterator_4.e();
1838
1838
  var tmp$ret$14;
1839
1839
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1840
- tmp$ret$14 = !isInt_0(element_1.mi_1);
1840
+ tmp$ret$14 = !Companion_getInstance_1().ek(element_1.mi_1);
1841
1841
  if (tmp$ret$14) {
1842
1842
  tmp9_filterTo.a(element_1);
1843
1843
  }
@@ -1935,14 +1935,14 @@
1935
1935
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1936
1936
  logger = logger === VOID ? get_noLogger() : logger;
1937
1937
  Emitter.call(this, logger);
1938
- this.gk_1 = packageName;
1938
+ this.hk_1 = packageName;
1939
1939
  var tmp = this;
1940
1940
  Companion_getInstance_1();
1941
1941
  Companion_getInstance_1();
1942
1942
  Companion_getInstance_1();
1943
1943
  Companion_getInstance_1();
1944
1944
  Companion_getInstance_1();
1945
- tmp.hk_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
1945
+ tmp.ik_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
1946
1946
  }
1947
1947
  protoOf(KotlinEmitter).qh = function (ast) {
1948
1948
  var tmp$ret$3;
@@ -1960,7 +1960,7 @@
1960
1960
  var result = item.j3();
1961
1961
  var tmp$ret$0;
1962
1962
  // Inline function 'kotlin.text.trimStart' call
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 ');
1963
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.hk_1) ? '' : 'package ' + this.hk_1) + '\n |' + (Companion_getInstance_1().kk(ast) ? this.ik_1 : '') + '\n |' + result + '\n ');
1964
1964
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
1965
1965
  tmp$ret$1 = to(name, tmp$ret$0);
1966
1966
  tmp0_mapTo.a(tmp$ret$1);
@@ -1996,13 +1996,16 @@
1996
1996
  protoOf(KotlinEmitter).ck = function (_this__u8e3s4) {
1997
1997
  return this.dk(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
1998
1998
  };
1999
+ function toField(_this__u8e3s4, identifier, isNullable) {
2000
+ return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2001
+ }
1999
2002
  function emitContentType_0(_this__u8e3s4) {
2000
2003
  var tmp = split(_this__u8e3s4.vh_1, ['/']);
2001
2004
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2002
2005
  }
2003
2006
  function groupStatus_0(_this__u8e3s4) {
2004
2007
  var tmp;
2005
- if (isInt_0(_this__u8e3s4)) {
2008
+ if (Companion_getInstance_1().ek(_this__u8e3s4)) {
2006
2009
  var tmp$ret$1;
2007
2010
  // Inline function 'kotlin.text.substring' call
2008
2011
  var tmp$ret$0;
@@ -2015,12 +2018,6 @@
2015
2018
  }
2016
2019
  return tmp;
2017
2020
  }
2018
- function isInt_0(_this__u8e3s4) {
2019
- return !(toIntOrNull(_this__u8e3s4) == null);
2020
- }
2021
- function toField(_this__u8e3s4, identifier, isNullable) {
2022
- return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2023
- }
2024
2021
  function orEmptyString_0(_this__u8e3s4) {
2025
2022
  var tmp0_elvis_lhs = _this__u8e3s4;
2026
2023
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
@@ -2030,7 +2027,7 @@
2030
2027
  }
2031
2028
  function Companion() {
2032
2029
  Companion_instance = this;
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']);
2030
+ this.lk_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']);
2034
2031
  }
2035
2032
  var Companion_instance;
2036
2033
  function Companion_getInstance_0() {
@@ -2061,7 +2058,7 @@
2061
2058
  }
2062
2059
  function ScalaEmitter$emit$lambda_2($this_emit) {
2063
2060
  return function () {
2064
- return Companion_getInstance_0().kk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
2061
+ return Companion_getInstance_0().lk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
2065
2062
  };
2066
2063
  }
2067
2064
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2141,7 +2138,7 @@
2141
2138
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2142
2139
  logger = logger === VOID ? get_noLogger() : logger;
2143
2140
  Emitter.call(this, logger);
2144
- this.nk_1 = packageName;
2141
+ this.ok_1 = packageName;
2145
2142
  }
2146
2143
  protoOf(ScalaEmitter).qh = function (ast) {
2147
2144
  var tmp$ret$2;
@@ -2157,7 +2154,7 @@
2157
2154
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2158
2155
  var name = item.i3();
2159
2156
  var result = item.j3();
2160
- tmp$ret$0 = to(name, isBlank(this.nk_1) ? '' : 'package ' + this.nk_1 + '\n\n' + result);
2157
+ tmp$ret$0 = to(name, isBlank(this.ok_1) ? '' : 'package ' + this.ok_1 + '\n\n' + result);
2161
2158
  tmp0_mapTo.a(tmp$ret$0);
2162
2159
  }
2163
2160
  tmp$ret$1 = tmp0_mapTo;
@@ -2191,20 +2188,35 @@
2191
2188
  protoOf(ScalaEmitter).ck = function (_this__u8e3s4) {
2192
2189
  return this.dk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_7);
2193
2190
  };
2191
+ function emitType(_this__u8e3s4, $this) {
2192
+ return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2193
+ }
2194
+ function emitType_0(_this__u8e3s4, $this) {
2195
+ return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2196
+ }
2194
2197
  function emitName(_this__u8e3s4, $this) {
2195
2198
  var tmp0_safe_receiver = _this__u8e3s4.uh_1;
2196
2199
  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);
2200
+ return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2198
2201
  }
2199
2202
  function emitName_0(_this__u8e3s4, $this) {
2200
- var tmp = 'Response' + _this__u8e3s4.mi_1;
2203
+ var tmp = 'Response' + Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
2201
2204
  var tmp0_safe_receiver = _this__u8e3s4.ni_1;
2202
2205
  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);
2206
+ return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2207
+ }
2208
+ function emitMap_1(_this__u8e3s4, $this) {
2209
+ return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitMap$lambda($this));
2210
+ }
2211
+ function emitPath_1(_this__u8e3s4, $this) {
2212
+ return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2213
+ }
2214
+ function emit_3(_this__u8e3s4, $this) {
2215
+ return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2204
2216
  }
2205
2217
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2206
2218
  return function () {
2207
- return trimMargin('interface ' + $this_emit.ui_1 + ' {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |\n |');
2219
+ return trimMargin('export type ' + $this_emit.ui_1 + ' = {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |\n |');
2208
2220
  };
2209
2221
  }
2210
2222
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
@@ -2230,6 +2242,8 @@
2230
2242
  }
2231
2243
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
2232
2244
  return function () {
2245
+ var tmp$ret$3;
2246
+ // Inline function 'kotlin.let' call
2233
2247
  var tmp$ret$1;
2234
2248
  // Inline function 'kotlin.let' call
2235
2249
  var tmp0_subject = $this_emit;
@@ -2266,7 +2280,13 @@
2266
2280
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2267
2281
  tmp$ret$0 = $this_emit.qi() ? tmp0_let + '[]' : tmp0_let;
2268
2282
  tmp$ret$1 = tmp$ret$0;
2269
- return tmp$ret$1;
2283
+ var tmp1_let = tmp$ret$1;
2284
+ // Inline function 'kotlin.contracts.contract' call
2285
+ var tmp$ret$2;
2286
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2287
+ tmp$ret$2 = $this_emit.jk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2288
+ tmp$ret$3 = tmp$ret$2;
2289
+ return tmp$ret$3;
2270
2290
  };
2271
2291
  }
2272
2292
  function TypeScriptEmitter$emit$lambda$lambda_0(it) {
@@ -2280,7 +2300,7 @@
2280
2300
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2281
2301
  return function () {
2282
2302
  Companion_getInstance_1();
2283
- return trimMargin('interface ' + $this_emit.mj_1 + ' {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.mj_1 + ' = (type: ' + $this_emit.mj_1 + ') => (' + this$0.oj($this_emit.nj_1) + ').test(type.value);\n |\n |');
2303
+ return trimMargin('type ' + $this_emit.mj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.mj_1 + ' = (type: ' + $this_emit.mj_1 + ') => (' + this$0.oj($this_emit.nj_1) + ').test(type.value);\n |\n |');
2284
2304
  };
2285
2305
  }
2286
2306
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
@@ -2292,6 +2312,7 @@
2292
2312
  return function (it) {
2293
2313
  Companion_getInstance_1();
2294
2314
  var tmp = emitName(it, this$0);
2315
+ var tmp_0 = emitType($this_emit.gi_1, this$0);
2295
2316
  var tmp$ret$2;
2296
2317
  // Inline function 'kotlin.collections.map' call
2297
2318
  var tmp1_map = $this_emit.ii_1;
@@ -2308,10 +2329,10 @@
2308
2329
  }
2309
2330
  tmp$ret$1 = tmp0_mapTo;
2310
2331
  tmp$ret$2 = tmp$ret$1;
2311
- var tmp_0 = joinToString(tmp$ret$2, ',');
2332
+ var tmp_1 = joinToString(tmp$ret$2, ',');
2312
2333
  var tmp$ret$5;
2313
2334
  // Inline function 'kotlin.collections.map' call
2314
- var tmp3_map = $this_emit.ii_1;
2335
+ var tmp3_map = $this_emit.hi_1;
2315
2336
  var tmp$ret$4;
2316
2337
  // Inline function 'kotlin.collections.mapTo' call
2317
2338
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2325,23 +2346,23 @@
2325
2346
  }
2326
2347
  tmp$ret$4 = tmp2_mapTo;
2327
2348
  tmp$ret$5 = tmp$ret$4;
2328
- var tmp_1 = joinToString(tmp$ret$5, ',');
2349
+ var tmp_2 = joinToString(tmp$ret$5, ',');
2329
2350
  var tmp0_safe_receiver = it.uh_1;
2330
- var tmp_2;
2351
+ var tmp_3;
2331
2352
  if (tmp0_safe_receiver == null) {
2332
- tmp_2 = null;
2353
+ tmp_3 = null;
2333
2354
  } else {
2334
2355
  var tmp$ret$7;
2335
2356
  // Inline function 'kotlin.let' call
2336
2357
  // Inline function 'kotlin.contracts.contract' call
2337
2358
  var tmp$ret$6;
2338
2359
  // 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) + ' }';
2360
+ tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2340
2361
  tmp$ret$7 = tmp$ret$6;
2341
- tmp_2 = tmp$ret$7;
2362
+ tmp_3 = tmp$ret$7;
2342
2363
  }
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) + ' } ';
2364
+ var tmp1_elvis_lhs = tmp_3;
2365
+ return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.fi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2345
2366
  };
2346
2367
  }
2347
2368
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2353,22 +2374,23 @@
2353
2374
  return function (it) {
2354
2375
  Companion_getInstance_1();
2355
2376
  var tmp = emitName_0(it, this$0);
2377
+ var tmp_0 = Companion_getInstance_1().ek(it.mi_1) ? it.mi_1 : 'number';
2356
2378
  var tmp0_safe_receiver = it.ni_1;
2357
- var tmp_0;
2379
+ var tmp_1;
2358
2380
  if (tmp0_safe_receiver == null) {
2359
- tmp_0 = null;
2381
+ tmp_1 = null;
2360
2382
  } else {
2361
2383
  var tmp$ret$1;
2362
2384
  // Inline function 'kotlin.let' call
2363
2385
  // Inline function 'kotlin.contracts.contract' call
2364
2386
  var tmp$ret$0;
2365
2387
  // 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) + ' }';
2388
+ tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2367
2389
  tmp$ret$1 = tmp$ret$0;
2368
- tmp_0 = tmp$ret$1;
2390
+ tmp_1 = tmp$ret$1;
2369
2391
  }
2370
- var tmp1_elvis_lhs = tmp_0;
2371
- return ' ' + 'type ' + tmp + ' = { status: ' + it.mi_1 + ', content: ' + (tmp1_elvis_lhs == null ? 'undefined' : tmp1_elvis_lhs) + ' }';
2392
+ var tmp1_elvis_lhs = tmp_1;
2393
+ return ' ' + 'type ' + tmp + ' = { status: ' + tmp_0 + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' }';
2372
2394
  };
2373
2395
  }
2374
2396
  function TypeScriptEmitter$emit$lambda$lambda_4(this$0) {
@@ -2376,6 +2398,37 @@
2376
2398
  return emitName_0(it, this$0);
2377
2399
  };
2378
2400
  }
2401
+ function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2402
+ return function (it) {
2403
+ return this$0.xi(it);
2404
+ };
2405
+ }
2406
+ function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2407
+ return function (it) {
2408
+ var tmp = Companion_getInstance_1().qj(emitName(it, this$0));
2409
+ var tmp_0 = Companion_getInstance_1().sk($this_emit, it.uh_1);
2410
+ var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2411
+ var tmp_2 = emitPath_1($this_emit.gi_1, this$0);
2412
+ var tmp_3 = emitMap_1($this_emit.hi_1, this$0);
2413
+ var tmp_4 = emitMap_1($this_emit.ii_1, this$0);
2414
+ var tmp0_safe_receiver = it.uh_1;
2415
+ var tmp_5;
2416
+ if (tmp0_safe_receiver == null) {
2417
+ tmp_5 = null;
2418
+ } else {
2419
+ var tmp$ret$1;
2420
+ // Inline function 'kotlin.let' call
2421
+ // Inline function 'kotlin.contracts.contract' call
2422
+ var tmp$ret$0;
2423
+ // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2424
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.vh_1 + '", body}';
2425
+ tmp$ret$1 = tmp$ret$0;
2426
+ tmp_5 = tmp$ret$1;
2427
+ }
2428
+ var tmp1_elvis_lhs = tmp_5;
2429
+ return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.fi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2430
+ };
2431
+ }
2379
2432
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2380
2433
  return function () {
2381
2434
  var tmp = toSet($this_emit.ki_1);
@@ -2393,7 +2446,55 @@
2393
2446
  Companion_getInstance_1();
2394
2447
  var tmp_7 = Companion_getInstance_1().qj($this_emit.ei_1);
2395
2448
  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 ');
2449
+ Companion_getInstance_1();
2450
+ 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 |' + ' ' + joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2451
+ };
2452
+ }
2453
+ function TypeScriptEmitter$emitType$lambda(this$0) {
2454
+ return function (it) {
2455
+ return '/' + emitType_0(it, this$0);
2456
+ };
2457
+ }
2458
+ function TypeScriptEmitter$emitType$lambda_0($this_emitType, this$0) {
2459
+ return function () {
2460
+ var tmp0_subject = $this_emitType;
2461
+ var tmp;
2462
+ if (tmp0_subject instanceof Literal) {
2463
+ tmp = $this_emitType.rj_1;
2464
+ } else {
2465
+ if (tmp0_subject instanceof Param) {
2466
+ tmp = '${' + this$0.di($this_emitType.ti_1) + '}';
2467
+ } else {
2468
+ noWhenBranchMatchedException();
2469
+ }
2470
+ }
2471
+ return tmp;
2472
+ };
2473
+ }
2474
+ function TypeScriptEmitter$emitMap$lambda(this$0) {
2475
+ return function (it) {
2476
+ return '"' + this$0.cj(it.zi_1) + '": ' + this$0.cj(it.zi_1);
2477
+ };
2478
+ }
2479
+ function TypeScriptEmitter$emitPath$lambda(this$0) {
2480
+ return function (it) {
2481
+ return emit_3(it, this$0);
2482
+ };
2483
+ }
2484
+ function TypeScriptEmitter$emit$lambda_8($this_emit) {
2485
+ return function () {
2486
+ var tmp0_subject = $this_emit;
2487
+ var tmp;
2488
+ if (tmp0_subject instanceof Literal) {
2489
+ tmp = $this_emit.rj_1;
2490
+ } else {
2491
+ if (tmp0_subject instanceof Param) {
2492
+ tmp = '${' + $this_emit.si_1.dj_1 + '}';
2493
+ } else {
2494
+ noWhenBranchMatchedException();
2495
+ }
2496
+ }
2497
+ return tmp;
2397
2498
  };
2398
2499
  }
2399
2500
  function TypeScriptEmitter(logger) {
@@ -2404,7 +2505,7 @@
2404
2505
  Companion_getInstance_1();
2405
2506
  Companion_getInstance_1();
2406
2507
  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 ');
2508
+ tmp.rk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2408
2509
  }
2409
2510
  protoOf(TypeScriptEmitter).qh = function (ast) {
2410
2511
  var tmp$ret$3;
@@ -2422,7 +2523,7 @@
2422
2523
  var result = item.j3();
2423
2524
  var tmp$ret$0;
2424
2525
  // Inline function 'kotlin.text.trimStart' call
2425
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().jk(ast) ? this.qk_1 : '') + '\n |' + result + '\n ');
2526
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().kk(ast) ? this.rk_1 : '') + '\n |' + result + '\n ');
2426
2527
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2427
2528
  tmp$ret$1 = to(name, tmp$ret$0);
2428
2529
  tmp0_mapTo.a(tmp$ret$1);
@@ -2651,7 +2752,7 @@
2651
2752
  tmp$ret$6 = tmp;
2652
2753
  return tmp$ret$6;
2653
2754
  };
2654
- protoOf(Companion_0).jk = function (_this__u8e3s4) {
2755
+ protoOf(Companion_0).kk = function (_this__u8e3s4) {
2655
2756
  var tmp$ret$0;
2656
2757
  $l$block_0: {
2657
2758
  // Inline function 'kotlin.collections.any' call
@@ -2680,6 +2781,47 @@
2680
2781
  }
2681
2782
  return tmp$ret$0;
2682
2783
  };
2784
+ protoOf(Companion_0).sk = function (_this__u8e3s4, content) {
2785
+ var tmp$ret$4;
2786
+ // Inline function 'kotlin.collections.map' call
2787
+ var tmp$ret$1;
2788
+ // Inline function 'kotlin.collections.filterIsInstance' call
2789
+ var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
2790
+ var tmp$ret$0;
2791
+ // Inline function 'kotlin.collections.filterIsInstanceTo' call
2792
+ var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
2793
+ var tmp0_iterator = tmp1_filterIsInstance.c();
2794
+ while (tmp0_iterator.d()) {
2795
+ var element = tmp0_iterator.e();
2796
+ if (element instanceof Param) {
2797
+ tmp0_filterIsInstanceTo.a(element);
2798
+ }
2799
+ }
2800
+ tmp$ret$0 = tmp0_filterIsInstanceTo;
2801
+ tmp$ret$1 = tmp$ret$0;
2802
+ var tmp3_map = tmp$ret$1;
2803
+ var tmp$ret$3;
2804
+ // Inline function 'kotlin.collections.mapTo' call
2805
+ var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
2806
+ var tmp0_iterator_0 = tmp3_map.c();
2807
+ while (tmp0_iterator_0.d()) {
2808
+ var item = tmp0_iterator_0.e();
2809
+ var tmp$ret$2;
2810
+ // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2811
+ tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
2812
+ tmp2_mapTo.a(tmp$ret$2);
2813
+ }
2814
+ tmp$ret$3 = tmp2_mapTo;
2815
+ tmp$ret$4 = tmp$ret$3;
2816
+ var pathField = tmp$ret$4;
2817
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
2818
+ var tmp0_safe_receiver = content;
2819
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
2820
+ return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2821
+ };
2822
+ protoOf(Companion_0).ek = function (_this__u8e3s4) {
2823
+ return !(toIntOrNull(_this__u8e3s4) == null);
2824
+ };
2683
2825
  var Companion_instance_0;
2684
2826
  function Companion_getInstance_1() {
2685
2827
  if (Companion_instance_0 == null)
@@ -2764,7 +2906,7 @@
2764
2906
  captureStack(this, NextException);
2765
2907
  }
2766
2908
  function WrongTokenException(expected, actual) {
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));
2909
+ ParserException.call(this, actual.yk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.wk_1).fc() + ' at line ' + actual.yk_1.zk_1 + ' and position ' + (actual.yk_1.al_1 - actual.xk_1.length | 0));
2768
2910
  captureStack(this, WrongTokenException);
2769
2911
  }
2770
2912
  function NullTokenException(message, coordinates) {
@@ -2782,7 +2924,7 @@
2782
2924
  function WirespecException(message, coordinates) {
2783
2925
  RuntimeException_init_$Init$(message, this);
2784
2926
  captureStack(this, WirespecException);
2785
- this.al_1 = coordinates;
2927
+ this.cl_1 = coordinates;
2786
2928
  }
2787
2929
  function optimize(_this__u8e3s4) {
2788
2930
  var tmp$ret$2;
@@ -2795,10 +2937,10 @@
2795
2937
  var item = tmp0_iterator.e();
2796
2938
  var tmp$ret$0;
2797
2939
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2798
- var tmp0_subject = item.uk_1;
2940
+ var tmp0_subject = item.wk_1;
2799
2941
  var tmp;
2800
2942
  if (tmp0_subject instanceof CustomRegex) {
2801
- tmp = item.bl(VOID, '"' + dropLast(drop(item.vk_1, 1), 2) + '"');
2943
+ tmp = item.dl(VOID, '"' + dropLast(drop(item.xk_1, 1), 2) + '"');
2802
2944
  } else {
2803
2945
  tmp = item;
2804
2946
  }
@@ -2845,17 +2987,17 @@
2845
2987
  protoOf(Custom).qi = function () {
2846
2988
  return this.ij_1;
2847
2989
  };
2848
- protoOf(Custom).ik = function () {
2990
+ protoOf(Custom).jk = function () {
2849
2991
  return this.jj_1;
2850
2992
  };
2851
- protoOf(Custom).cl = function (value, isIterable, isMap) {
2993
+ protoOf(Custom).el = function (value, isIterable, isMap) {
2852
2994
  return new Custom(value, isIterable, isMap);
2853
2995
  };
2854
- protoOf(Custom).dl = function (value, isIterable, isMap, $super) {
2996
+ protoOf(Custom).fl = function (value, isIterable, isMap, $super) {
2855
2997
  value = value === VOID ? this.hj_1 : value;
2856
2998
  isIterable = isIterable === VOID ? this.ij_1 : isIterable;
2857
2999
  isMap = isMap === VOID ? this.jj_1 : isMap;
2858
- return $super === VOID ? this.cl(value, isIterable, isMap) : $super.cl.call(this, value, isIterable, isMap);
3000
+ return $super === VOID ? this.el(value, isIterable, isMap) : $super.el.call(this, value, isIterable, isMap);
2859
3001
  };
2860
3002
  protoOf(Custom).toString = function () {
2861
3003
  return 'Custom(value=' + this.hj_1 + ', isIterable=' + this.ij_1 + ', isMap=' + this.jj_1 + ')';
@@ -2889,7 +3031,7 @@
2889
3031
  protoOf(Primitive).qi = function () {
2890
3032
  return this.fj_1;
2891
3033
  };
2892
- protoOf(Primitive).ik = function () {
3034
+ protoOf(Primitive).jk = function () {
2893
3035
  return this.gj_1;
2894
3036
  };
2895
3037
  protoOf(Primitive).toString = function () {
@@ -3389,8 +3531,8 @@
3389
3531
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3390
3532
  var tmp$ret$2;
3391
3533
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3392
- log(_this__u8e3s4.gl_1, $this);
3393
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3534
+ log(_this__u8e3s4.il_1, $this);
3535
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3394
3536
  var tmp_0;
3395
3537
  if (tmp0_subject instanceof WsTypeDef) {
3396
3538
  tmp_0 = raise.ch(parseTypeDeclaration(_this__u8e3s4, $this));
@@ -3405,10 +3547,10 @@
3405
3547
  // Inline function 'arrow.core.nel' call
3406
3548
  var tmp$ret$0;
3407
3549
  // Inline function 'kotlin.also' call
3408
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.gl_1);
3550
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.il_1);
3409
3551
  // Inline function 'kotlin.contracts.contract' call
3410
3552
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3411
- raise.ch(_this__u8e3s4.il());
3553
+ raise.ch(_this__u8e3s4.kl());
3412
3554
  tmp$ret$0 = tmp0_also;
3413
3555
  var tmp1_nel = tmp$ret$0;
3414
3556
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3467,21 +3609,21 @@
3467
3609
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3468
3610
  var tmp$ret$2;
3469
3611
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3470
- raise.ch(_this__u8e3s4.il());
3471
- log(_this__u8e3s4.gl_1, $this);
3472
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3612
+ raise.ch(_this__u8e3s4.kl());
3613
+ log(_this__u8e3s4.il_1, $this);
3614
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3473
3615
  var tmp_0;
3474
3616
  if (tmp0_subject instanceof CustomType) {
3475
- tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
3617
+ tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
3476
3618
  } else {
3477
3619
  var tmp$ret$1;
3478
3620
  // Inline function 'arrow.core.nel' call
3479
3621
  var tmp$ret$0;
3480
3622
  // Inline function 'kotlin.also' call
3481
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3623
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
3482
3624
  // Inline function 'kotlin.contracts.contract' call
3483
3625
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3484
- raise.ch(_this__u8e3s4.il());
3626
+ raise.ch(_this__u8e3s4.kl());
3485
3627
  tmp$ret$0 = tmp0_also;
3486
3628
  var tmp1_nel = tmp$ret$0;
3487
3629
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3538,11 +3680,11 @@
3538
3680
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3539
3681
  var tmp$ret$5;
3540
3682
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3541
- raise.ch(_this__u8e3s4.il());
3542
- log(_this__u8e3s4.gl_1, $this);
3683
+ raise.ch(_this__u8e3s4.kl());
3684
+ log(_this__u8e3s4.il_1, $this);
3543
3685
  var tmp$ret$4;
3544
3686
  // Inline function 'kotlin.also' call
3545
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3687
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3546
3688
  var tmp_0;
3547
3689
  if (tmp0_subject instanceof LeftCurly) {
3548
3690
  tmp_0 = new Type_0(typeName, raise.ch(parseTypeShape(_this__u8e3s4, $this)));
@@ -3551,10 +3693,10 @@
3551
3693
  // Inline function 'arrow.core.nel' call
3552
3694
  var tmp$ret$0;
3553
3695
  // Inline function 'kotlin.also' call
3554
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.gl_1);
3696
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.il_1);
3555
3697
  // Inline function 'kotlin.contracts.contract' call
3556
3698
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3557
- raise.ch(_this__u8e3s4.il());
3699
+ raise.ch(_this__u8e3s4.kl());
3558
3700
  tmp$ret$0 = tmp0_also;
3559
3701
  var tmp1_nel = tmp$ret$0;
3560
3702
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3563,18 +3705,18 @@
3563
3705
  var tmp2_also = tmp_0;
3564
3706
  // Inline function 'kotlin.contracts.contract' call
3565
3707
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3566
- var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
3708
+ var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
3567
3709
  if (tmp0_subject_0 instanceof RightCurly)
3568
- raise.ch(_this__u8e3s4.il());
3710
+ raise.ch(_this__u8e3s4.kl());
3569
3711
  else {
3570
3712
  var tmp$ret$3;
3571
3713
  // Inline function 'arrow.core.nel' call
3572
3714
  var tmp$ret$2;
3573
3715
  // Inline function 'kotlin.also' call
3574
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.gl_1);
3716
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.il_1);
3575
3717
  // Inline function 'kotlin.contracts.contract' call
3576
3718
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3577
- raise.ch(_this__u8e3s4.il());
3719
+ raise.ch(_this__u8e3s4.kl());
3578
3720
  tmp$ret$2 = tmp0_also_0;
3579
3721
  var tmp1_nel_0 = tmp$ret$2;
3580
3722
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -3632,11 +3774,11 @@
3632
3774
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3633
3775
  var tmp$ret$7;
3634
3776
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3635
- raise.ch(_this__u8e3s4.il());
3636
- log(_this__u8e3s4.gl_1, $this);
3777
+ raise.ch(_this__u8e3s4.kl());
3778
+ log(_this__u8e3s4.il_1, $this);
3637
3779
  var tmp$ret$6;
3638
3780
  // Inline function 'kotlin.let' call
3639
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3781
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3640
3782
  var tmp_0;
3641
3783
  if (tmp0_subject instanceof CustomValue) {
3642
3784
  var tmp$ret$3;
@@ -3647,21 +3789,21 @@
3647
3789
  var tmp0_apply = tmp$ret$0;
3648
3790
  // Inline function 'kotlin.contracts.contract' call
3649
3791
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
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;
3792
+ tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.il_1.xk_1))));
3793
+ while (equals(_this__u8e3s4.il_1.wk_1, Comma_getInstance())) {
3794
+ raise.ch(_this__u8e3s4.kl());
3795
+ var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
3654
3796
  if (tmp0_subject_0 instanceof CustomValue) {
3655
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.gl_1.vk_1))));
3797
+ tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.il_1.xk_1))));
3656
3798
  } else {
3657
3799
  var tmp$ret$2;
3658
3800
  // Inline function 'arrow.core.nel' call
3659
3801
  var tmp$ret$1;
3660
3802
  // Inline function 'kotlin.also' call
3661
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.gl_1);
3803
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.il_1);
3662
3804
  // Inline function 'kotlin.contracts.contract' call
3663
3805
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3664
- raise.ch(_this__u8e3s4.il());
3806
+ raise.ch(_this__u8e3s4.kl());
3665
3807
  tmp$ret$1 = tmp0_also;
3666
3808
  var tmp1_nel = tmp$ret$1;
3667
3809
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
@@ -3675,10 +3817,10 @@
3675
3817
  // Inline function 'arrow.core.nel' call
3676
3818
  var tmp$ret$4;
3677
3819
  // Inline function 'kotlin.also' call
3678
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.gl_1);
3820
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.il_1);
3679
3821
  // Inline function 'kotlin.contracts.contract' call
3680
3822
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3681
- raise.ch(_this__u8e3s4.il());
3823
+ raise.ch(_this__u8e3s4.kl());
3682
3824
  tmp$ret$4 = tmp1_also;
3683
3825
  var tmp2_nel = tmp$ret$4;
3684
3826
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
@@ -3738,37 +3880,37 @@
3738
3880
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3739
3881
  var tmp$ret$5;
3740
3882
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
3741
- raise.ch(_this__u8e3s4.il());
3742
- log(_this__u8e3s4.gl_1, $this);
3743
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
3883
+ raise.ch(_this__u8e3s4.kl());
3884
+ log(_this__u8e3s4.il_1, $this);
3885
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3744
3886
  if (tmp0_subject instanceof Colon)
3745
- raise.ch(_this__u8e3s4.il());
3887
+ raise.ch(_this__u8e3s4.kl());
3746
3888
  else {
3747
3889
  var tmp$ret$1;
3748
3890
  // Inline function 'arrow.core.nel' call
3749
3891
  var tmp$ret$0;
3750
3892
  // Inline function 'kotlin.also' call
3751
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.gl_1);
3893
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.il_1);
3752
3894
  // Inline function 'kotlin.contracts.contract' call
3753
3895
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3754
- raise.ch(_this__u8e3s4.il());
3896
+ raise.ch(_this__u8e3s4.kl());
3755
3897
  tmp$ret$0 = tmp0_also;
3756
3898
  var tmp1_nel = tmp$ret$0;
3757
3899
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3758
3900
  raise.bh(tmp$ret$1);
3759
3901
  }
3760
- var type = _this__u8e3s4.gl_1.uk_1;
3902
+ var type = _this__u8e3s4.il_1.wk_1;
3761
3903
  var tmp_0;
3762
3904
  if (isInterface(type, WsType)) {
3763
- var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.gl_1.vk_1));
3905
+ var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.il_1.xk_1));
3764
3906
  var tmp$ret$2;
3765
3907
  // Inline function 'kotlin.also' call
3766
- var tmp_2 = _this__u8e3s4.gl_1.uk_1;
3908
+ var tmp_2 = _this__u8e3s4.il_1.wk_1;
3767
3909
  var tmp2_also = tmp_2 instanceof QuestionMark;
3768
3910
  // Inline function 'kotlin.contracts.contract' call
3769
3911
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3770
3912
  if (tmp2_also)
3771
- raise.ch(_this__u8e3s4.il());
3913
+ raise.ch(_this__u8e3s4.kl());
3772
3914
  tmp$ret$2 = tmp2_also;
3773
3915
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
3774
3916
  } else {
@@ -3776,10 +3918,10 @@
3776
3918
  // Inline function 'arrow.core.nel' call
3777
3919
  var tmp$ret$3;
3778
3920
  // Inline function 'kotlin.also' call
3779
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
3921
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
3780
3922
  // Inline function 'kotlin.contracts.contract' call
3781
3923
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3782
- raise.ch(_this__u8e3s4.il());
3924
+ raise.ch(_this__u8e3s4.kl());
3783
3925
  tmp$ret$3 = tmp3_also;
3784
3926
  var tmp4_nel = tmp$ret$3;
3785
3927
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
@@ -3836,16 +3978,16 @@
3836
3978
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3837
3979
  var tmp$ret$1;
3838
3980
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
3839
- raise.ch(_this__u8e3s4.il());
3840
- log(_this__u8e3s4.gl_1, $this);
3981
+ raise.ch(_this__u8e3s4.kl());
3982
+ log(_this__u8e3s4.il_1, $this);
3841
3983
  var tmp$ret$0;
3842
3984
  // Inline function 'kotlin.also' call
3843
- var tmp_0 = _this__u8e3s4.gl_1.uk_1;
3985
+ var tmp_0 = _this__u8e3s4.il_1.wk_1;
3844
3986
  var tmp0_also = tmp_0 instanceof Brackets;
3845
3987
  // Inline function 'kotlin.contracts.contract' call
3846
3988
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
3847
3989
  if (tmp0_also)
3848
- raise.ch(_this__u8e3s4.il());
3990
+ raise.ch(_this__u8e3s4.kl());
3849
3991
  tmp$ret$0 = tmp0_also;
3850
3992
  var isIterable = tmp$ret$0;
3851
3993
  var tmp0_subject = wsType;
@@ -3918,21 +4060,21 @@
3918
4060
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3919
4061
  var tmp$ret$2;
3920
4062
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
3921
- raise.ch(_this__u8e3s4.il());
3922
- log(_this__u8e3s4.gl_1, $this);
3923
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4063
+ raise.ch(_this__u8e3s4.kl());
4064
+ log(_this__u8e3s4.il_1, $this);
4065
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3924
4066
  var tmp_0;
3925
4067
  if (tmp0_subject instanceof CustomType) {
3926
- tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
4068
+ tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
3927
4069
  } else {
3928
4070
  var tmp$ret$1;
3929
4071
  // Inline function 'arrow.core.nel' call
3930
4072
  var tmp$ret$0;
3931
4073
  // Inline function 'kotlin.also' call
3932
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
4074
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
3933
4075
  // Inline function 'kotlin.contracts.contract' call
3934
4076
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
3935
- raise.ch(_this__u8e3s4.il());
4077
+ raise.ch(_this__u8e3s4.kl());
3936
4078
  tmp$ret$0 = tmp0_also;
3937
4079
  var tmp1_nel = tmp$ret$0;
3938
4080
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3989,11 +4131,11 @@
3989
4131
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3990
4132
  var tmp$ret$5;
3991
4133
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
3992
- raise.ch(_this__u8e3s4.il());
3993
- log(_this__u8e3s4.gl_1, $this);
4134
+ raise.ch(_this__u8e3s4.kl());
4135
+ log(_this__u8e3s4.il_1, $this);
3994
4136
  var tmp$ret$4;
3995
4137
  // Inline function 'kotlin.also' call
3996
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4138
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3997
4139
  var tmp_0;
3998
4140
  if (tmp0_subject instanceof LeftCurly) {
3999
4141
  tmp_0 = new Enum_0(typeName, raise.ch(parseEnumTypeEntries(_this__u8e3s4, $this)));
@@ -4002,10 +4144,10 @@
4002
4144
  // Inline function 'arrow.core.nel' call
4003
4145
  var tmp$ret$0;
4004
4146
  // Inline function 'kotlin.also' call
4005
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.gl_1);
4147
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.il_1);
4006
4148
  // Inline function 'kotlin.contracts.contract' call
4007
4149
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4008
- raise.ch(_this__u8e3s4.il());
4150
+ raise.ch(_this__u8e3s4.kl());
4009
4151
  tmp$ret$0 = tmp0_also;
4010
4152
  var tmp1_nel = tmp$ret$0;
4011
4153
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4014,18 +4156,18 @@
4014
4156
  var tmp2_also = tmp_0;
4015
4157
  // Inline function 'kotlin.contracts.contract' call
4016
4158
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4017
- var tmp0_subject_0 = _this__u8e3s4.gl_1.uk_1;
4159
+ var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
4018
4160
  if (tmp0_subject_0 instanceof RightCurly)
4019
- raise.ch(_this__u8e3s4.il());
4161
+ raise.ch(_this__u8e3s4.kl());
4020
4162
  else {
4021
4163
  var tmp$ret$3;
4022
4164
  // Inline function 'arrow.core.nel' call
4023
4165
  var tmp$ret$2;
4024
4166
  // Inline function 'kotlin.also' call
4025
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.gl_1);
4167
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.il_1);
4026
4168
  // Inline function 'kotlin.contracts.contract' call
4027
4169
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4028
- raise.ch(_this__u8e3s4.il());
4170
+ raise.ch(_this__u8e3s4.kl());
4029
4171
  tmp$ret$2 = tmp0_also_0;
4030
4172
  var tmp1_nel_0 = tmp$ret$2;
4031
4173
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -4083,9 +4225,9 @@
4083
4225
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4084
4226
  var tmp$ret$7;
4085
4227
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4086
- raise.ch(_this__u8e3s4.il());
4087
- log(_this__u8e3s4.gl_1, $this);
4088
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4228
+ raise.ch(_this__u8e3s4.kl());
4229
+ log(_this__u8e3s4.il_1, $this);
4230
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4089
4231
  var tmp_0;
4090
4232
  if (tmp0_subject instanceof CustomType) {
4091
4233
  var tmp$ret$4;
@@ -4096,28 +4238,28 @@
4096
4238
  var tmp0_apply = tmp$ret$0;
4097
4239
  // Inline function 'kotlin.contracts.contract' call
4098
4240
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
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;
4241
+ tmp0_apply.a(_this__u8e3s4.il_1.xk_1);
4242
+ raise.ch(_this__u8e3s4.kl());
4243
+ while (equals(_this__u8e3s4.il_1.wk_1, Comma_getInstance())) {
4244
+ raise.ch(_this__u8e3s4.kl());
4245
+ var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
4104
4246
  if (tmp0_subject_0 instanceof CustomType) {
4105
4247
  var tmp$ret$1;
4106
4248
  // Inline function 'kotlin.also' call
4107
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.gl_1.vk_1);
4249
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.il_1.xk_1);
4108
4250
  // Inline function 'kotlin.contracts.contract' call
4109
4251
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4110
- raise.ch(_this__u8e3s4.il());
4252
+ raise.ch(_this__u8e3s4.kl());
4111
4253
  tmp$ret$1 = tmp0_also;
4112
4254
  } else {
4113
4255
  var tmp$ret$3;
4114
4256
  // Inline function 'arrow.core.nel' call
4115
4257
  var tmp$ret$2;
4116
4258
  // Inline function 'kotlin.also' call
4117
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
4259
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4118
4260
  // Inline function 'kotlin.contracts.contract' call
4119
4261
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4120
- raise.ch(_this__u8e3s4.il());
4262
+ raise.ch(_this__u8e3s4.kl());
4121
4263
  tmp$ret$2 = tmp1_also;
4122
4264
  var tmp2_nel = tmp$ret$2;
4123
4265
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
@@ -4131,10 +4273,10 @@
4131
4273
  // Inline function 'arrow.core.nel' call
4132
4274
  var tmp$ret$5;
4133
4275
  // Inline function 'kotlin.also' call
4134
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
4276
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4135
4277
  // Inline function 'kotlin.contracts.contract' call
4136
4278
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4137
- raise.ch(_this__u8e3s4.il());
4279
+ raise.ch(_this__u8e3s4.kl());
4138
4280
  tmp$ret$5 = tmp1_also_0;
4139
4281
  var tmp2_nel_0 = tmp$ret$5;
4140
4282
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
@@ -4191,21 +4333,21 @@
4191
4333
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4192
4334
  var tmp$ret$2;
4193
4335
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4194
- raise.ch(_this__u8e3s4.il());
4195
- log(_this__u8e3s4.gl_1, $this);
4196
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4336
+ raise.ch(_this__u8e3s4.kl());
4337
+ log(_this__u8e3s4.il_1, $this);
4338
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4197
4339
  var tmp_0;
4198
4340
  if (tmp0_subject instanceof CustomType) {
4199
- tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.gl_1.vk_1));
4341
+ tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
4200
4342
  } else {
4201
4343
  var tmp$ret$1;
4202
4344
  // Inline function 'arrow.core.nel' call
4203
4345
  var tmp$ret$0;
4204
4346
  // Inline function 'kotlin.also' call
4205
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.gl_1);
4347
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4206
4348
  // Inline function 'kotlin.contracts.contract' call
4207
4349
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4208
- raise.ch(_this__u8e3s4.il());
4350
+ raise.ch(_this__u8e3s4.kl());
4209
4351
  tmp$ret$0 = tmp0_also;
4210
4352
  var tmp1_nel = tmp$ret$0;
4211
4353
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4262,23 +4404,23 @@
4262
4404
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4263
4405
  var tmp$ret$3;
4264
4406
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4265
- raise.ch(_this__u8e3s4.il());
4266
- log(_this__u8e3s4.gl_1, $this);
4407
+ raise.ch(_this__u8e3s4.kl());
4408
+ log(_this__u8e3s4.il_1, $this);
4267
4409
  var tmp$ret$2;
4268
4410
  // Inline function 'kotlin.also' call
4269
- var tmp0_subject = _this__u8e3s4.gl_1.uk_1;
4411
+ var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4270
4412
  var tmp_0;
4271
4413
  if (tmp0_subject instanceof CustomRegex) {
4272
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.gl_1.vk_1));
4414
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.il_1.xk_1));
4273
4415
  } else {
4274
4416
  var tmp$ret$1;
4275
4417
  // Inline function 'arrow.core.nel' call
4276
4418
  var tmp$ret$0;
4277
4419
  // Inline function 'kotlin.also' call
4278
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.gl_1);
4420
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.il_1);
4279
4421
  // Inline function 'kotlin.contracts.contract' call
4280
4422
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4281
- raise.ch(_this__u8e3s4.il());
4423
+ raise.ch(_this__u8e3s4.kl());
4282
4424
  tmp$ret$0 = tmp0_also;
4283
4425
  var tmp1_nel = tmp$ret$0;
4284
4426
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4287,7 +4429,7 @@
4287
4429
  var tmp2_also = tmp_0;
4288
4430
  // Inline function 'kotlin.contracts.contract' call
4289
4431
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4290
- raise.ch(_this__u8e3s4.il());
4432
+ raise.ch(_this__u8e3s4.kl());
4291
4433
  tmp$ret$2 = tmp2_also;
4292
4434
  tmp$ret$3 = tmp$ret$2;
4293
4435
  tmp$ret$4 = tmp$ret$3;
@@ -4325,7 +4467,7 @@
4325
4467
  return tmp$ret$9;
4326
4468
  }
4327
4469
  function log(_this__u8e3s4, $this) {
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);
4470
+ return $this.mh_1.ih('Parsing ' + _this__u8e3s4.wk_1 + ' at line ' + _this__u8e3s4.yk_1.zk_1 + ' position ' + _this__u8e3s4.yk_1.al_1);
4329
4471
  }
4330
4472
  function Parser(logger) {
4331
4473
  this.mh_1 = logger;
@@ -4341,7 +4483,7 @@
4341
4483
  var element = tmp0_iterator.e();
4342
4484
  var tmp$ret$0;
4343
4485
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4344
- var tmp = element.uk_1;
4486
+ var tmp = element.wk_1;
4345
4487
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4346
4488
  if (!tmp$ret$0) {
4347
4489
  tmp0_filterNotTo.a(element);
@@ -4365,7 +4507,7 @@
4365
4507
  // Inline function 'kotlin.contracts.contract' call
4366
4508
  var tmp$ret$0;
4367
4509
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4368
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.vk_1 + "', ";
4510
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.xk_1 + "', ";
4369
4511
  tmp$ret$1 = tmp$ret$0;
4370
4512
  tmp = tmp$ret$1;
4371
4513
  }
@@ -4373,14 +4515,14 @@
4373
4515
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4374
4516
  var tmp$ret$3;
4375
4517
  // Inline function 'kotlin.run' call
4376
- var tmp0_run = $this.gl_1;
4518
+ var tmp0_run = $this.il_1;
4377
4519
  // Inline function 'kotlin.contracts.contract' call
4378
4520
  var tmp$ret$2;
4379
4521
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4380
- tmp$ret$2 = "Current: '" + tmp0_run.vk_1 + "'";
4522
+ tmp$ret$2 = "Current: '" + tmp0_run.xk_1 + "'";
4381
4523
  tmp$ret$3 = tmp$ret$2;
4382
4524
  var curr = tmp$ret$3;
4383
- var tmp2_safe_receiver = $this.hl_1;
4525
+ var tmp2_safe_receiver = $this.jl_1;
4384
4526
  var tmp_0;
4385
4527
  if (tmp2_safe_receiver == null) {
4386
4528
  tmp_0 = null;
@@ -4390,13 +4532,13 @@
4390
4532
  // Inline function 'kotlin.contracts.contract' call
4391
4533
  var tmp$ret$4;
4392
4534
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4393
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.vk_1 + "'";
4535
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.xk_1 + "'";
4394
4536
  tmp$ret$5 = tmp$ret$4;
4395
4537
  tmp_0 = tmp$ret$5;
4396
4538
  }
4397
4539
  var tmp3_elvis_lhs = tmp_0;
4398
4540
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4399
- $this.el_1.ih(prev + curr + next);
4541
+ $this.gl_1.ih(prev + curr + next);
4400
4542
  tmp$ret$6 = Unit_getInstance();
4401
4543
  return tmp$ret$6;
4402
4544
  }
@@ -4416,7 +4558,7 @@
4416
4558
  var tmp0_success = Companion_getInstance();
4417
4559
  var tmp$ret$0;
4418
4560
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4419
- tmp$ret$0 = $this.fl_1.e();
4561
+ tmp$ret$0 = $this.hl_1.e();
4420
4562
  var tmp1_success = tmp$ret$0;
4421
4563
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4422
4564
  tmp = tmp$ret$1;
@@ -4447,8 +4589,8 @@
4447
4589
  return tmp$ret$4;
4448
4590
  }
4449
4591
  function TokenProvider(logger, tokenIterator) {
4450
- this.el_1 = logger;
4451
- this.fl_1 = tokenIterator;
4592
+ this.gl_1 = logger;
4593
+ this.hl_1 = tokenIterator;
4452
4594
  var tmp = this;
4453
4595
  var tmp0_elvis_lhs = nextToken(this);
4454
4596
  var tmp_0;
@@ -4457,14 +4599,14 @@
4457
4599
  } else {
4458
4600
  tmp_0 = tmp0_elvis_lhs;
4459
4601
  }
4460
- tmp.gl_1 = tmp_0;
4461
- this.hl_1 = nextToken(this);
4602
+ tmp.il_1 = tmp_0;
4603
+ this.jl_1 = nextToken(this);
4462
4604
  printTokens$default(this);
4463
4605
  }
4464
4606
  protoOf(TokenProvider).d = function () {
4465
- return !(this.hl_1 == null);
4607
+ return !(this.jl_1 == null);
4466
4608
  };
4467
- protoOf(TokenProvider).il = function () {
4609
+ protoOf(TokenProvider).kl = function () {
4468
4610
  var tmp$ret$6;
4469
4611
  // Inline function 'arrow.core.raise.either' call
4470
4612
  var tmp$ret$5;
@@ -4478,21 +4620,21 @@
4478
4620
  try {
4479
4621
  var tmp$ret$1;
4480
4622
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4481
- var previousToken = this.gl_1;
4623
+ var previousToken = this.il_1;
4482
4624
  var tmp_0 = this;
4483
- var tmp0_elvis_lhs = this.hl_1;
4625
+ var tmp0_elvis_lhs = this.jl_1;
4484
4626
  var tmp_1;
4485
4627
  if (tmp0_elvis_lhs == null) {
4486
4628
  var tmp$ret$0;
4487
4629
  // Inline function 'arrow.core.nel' call
4488
- var tmp0_nel = new NextException(previousToken.wk_1);
4630
+ var tmp0_nel = new NextException(previousToken.yk_1);
4489
4631
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4490
4632
  raise.bh(tmp$ret$0);
4491
4633
  } else {
4492
4634
  tmp_1 = tmp0_elvis_lhs;
4493
4635
  }
4494
- tmp_0.gl_1 = tmp_1;
4495
- this.hl_1 = nextToken(this);
4636
+ tmp_0.il_1 = tmp_1;
4637
+ this.jl_1 = nextToken(this);
4496
4638
  printTokens(this, previousToken);
4497
4639
  tmp$ret$1 = Unit_getInstance();
4498
4640
  var res = tmp$ret$1;
@@ -4534,15 +4676,15 @@
4534
4676
  function IdxAndLength(idx, length) {
4535
4677
  idx = idx === VOID ? 0 : idx;
4536
4678
  length = length === VOID ? 0 : length;
4537
- this.jl_1 = idx;
4538
- this.kl_1 = length;
4679
+ this.ll_1 = idx;
4680
+ this.ml_1 = length;
4539
4681
  }
4540
4682
  protoOf(IdxAndLength).toString = function () {
4541
- return 'IdxAndLength(idx=' + this.jl_1 + ', length=' + this.kl_1 + ')';
4683
+ return 'IdxAndLength(idx=' + this.ll_1 + ', length=' + this.ml_1 + ')';
4542
4684
  };
4543
4685
  protoOf(IdxAndLength).hashCode = function () {
4544
- var result = this.jl_1;
4545
- result = imul(result, 31) + this.kl_1 | 0;
4686
+ var result = this.ll_1;
4687
+ result = imul(result, 31) + this.ml_1 | 0;
4546
4688
  return result;
4547
4689
  };
4548
4690
  protoOf(IdxAndLength).equals = function (other) {
@@ -4551,9 +4693,9 @@
4551
4693
  if (!(other instanceof IdxAndLength))
4552
4694
  return false;
4553
4695
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4554
- if (!(this.jl_1 === tmp0_other_with_cast.jl_1))
4696
+ if (!(this.ll_1 === tmp0_other_with_cast.ll_1))
4555
4697
  return false;
4556
- if (!(this.kl_1 === tmp0_other_with_cast.kl_1))
4698
+ if (!(this.ml_1 === tmp0_other_with_cast.ml_1))
4557
4699
  return false;
4558
4700
  return true;
4559
4701
  };
@@ -4561,26 +4703,26 @@
4561
4703
  line = line === VOID ? 1 : line;
4562
4704
  position = position === VOID ? 1 : position;
4563
4705
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4564
- this.xk_1 = line;
4565
- this.yk_1 = position;
4566
- this.zk_1 = idxAndLength;
4706
+ this.zk_1 = line;
4707
+ this.al_1 = position;
4708
+ this.bl_1 = idxAndLength;
4567
4709
  }
4568
- protoOf(Coordinates).ll = function (line, position, idxAndLength) {
4710
+ protoOf(Coordinates).nl = function (line, position, idxAndLength) {
4569
4711
  return new Coordinates(line, position, idxAndLength);
4570
4712
  };
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);
4713
+ protoOf(Coordinates).ol = function (line, position, idxAndLength, $super) {
4714
+ line = line === VOID ? this.zk_1 : line;
4715
+ position = position === VOID ? this.al_1 : position;
4716
+ idxAndLength = idxAndLength === VOID ? this.bl_1 : idxAndLength;
4717
+ return $super === VOID ? this.nl(line, position, idxAndLength) : $super.nl.call(this, line, position, idxAndLength);
4576
4718
  };
4577
4719
  protoOf(Coordinates).toString = function () {
4578
- return 'Coordinates(line=' + this.xk_1 + ', position=' + this.yk_1 + ', idxAndLength=' + this.zk_1 + ')';
4720
+ return 'Coordinates(line=' + this.zk_1 + ', position=' + this.al_1 + ', idxAndLength=' + this.bl_1 + ')';
4579
4721
  };
4580
4722
  protoOf(Coordinates).hashCode = function () {
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;
4723
+ var result = this.zk_1;
4724
+ result = imul(result, 31) + this.al_1 | 0;
4725
+ result = imul(result, 31) + this.bl_1.hashCode() | 0;
4584
4726
  return result;
4585
4727
  };
4586
4728
  protoOf(Coordinates).equals = function (other) {
@@ -4589,35 +4731,35 @@
4589
4731
  if (!(other instanceof Coordinates))
4590
4732
  return false;
4591
4733
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4592
- if (!(this.xk_1 === tmp0_other_with_cast.xk_1))
4734
+ if (!(this.zk_1 === tmp0_other_with_cast.zk_1))
4593
4735
  return false;
4594
- if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4736
+ if (!(this.al_1 === tmp0_other_with_cast.al_1))
4595
4737
  return false;
4596
- if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4738
+ if (!this.bl_1.equals(tmp0_other_with_cast.bl_1))
4597
4739
  return false;
4598
4740
  return true;
4599
4741
  };
4600
4742
  function Token(type, value, coordinates) {
4601
- this.uk_1 = type;
4602
- this.vk_1 = value;
4603
- this.wk_1 = coordinates;
4743
+ this.wk_1 = type;
4744
+ this.xk_1 = value;
4745
+ this.yk_1 = coordinates;
4604
4746
  }
4605
- protoOf(Token).nl = function (type, value, coordinates) {
4747
+ protoOf(Token).pl = function (type, value, coordinates) {
4606
4748
  return new Token(type, value, coordinates);
4607
4749
  };
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);
4750
+ protoOf(Token).dl = function (type, value, coordinates, $super) {
4751
+ type = type === VOID ? this.wk_1 : type;
4752
+ value = value === VOID ? this.xk_1 : value;
4753
+ coordinates = coordinates === VOID ? this.yk_1 : coordinates;
4754
+ return $super === VOID ? this.pl(type, value, coordinates) : $super.pl.call(this, type, value, coordinates);
4613
4755
  };
4614
4756
  protoOf(Token).toString = function () {
4615
- return 'Token(type=' + this.uk_1 + ', value=' + this.vk_1 + ', coordinates=' + this.wk_1 + ')';
4757
+ return 'Token(type=' + this.wk_1 + ', value=' + this.xk_1 + ', coordinates=' + this.yk_1 + ')';
4616
4758
  };
4617
4759
  protoOf(Token).hashCode = function () {
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;
4760
+ var result = hashCode(this.wk_1);
4761
+ result = imul(result, 31) + getStringHashCode(this.xk_1) | 0;
4762
+ result = imul(result, 31) + this.yk_1.hashCode() | 0;
4621
4763
  return result;
4622
4764
  };
4623
4765
  protoOf(Token).equals = function (other) {
@@ -4626,19 +4768,19 @@
4626
4768
  if (!(other instanceof Token))
4627
4769
  return false;
4628
4770
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4629
- if (!equals(this.uk_1, tmp0_other_with_cast.uk_1))
4771
+ if (!equals(this.wk_1, tmp0_other_with_cast.wk_1))
4630
4772
  return false;
4631
- if (!(this.vk_1 === tmp0_other_with_cast.vk_1))
4773
+ if (!(this.xk_1 === tmp0_other_with_cast.xk_1))
4632
4774
  return false;
4633
- if (!this.wk_1.equals(tmp0_other_with_cast.wk_1))
4775
+ if (!this.yk_1.equals(tmp0_other_with_cast.yk_1))
4634
4776
  return false;
4635
4777
  return true;
4636
4778
  };
4637
4779
  function plus_1(_this__u8e3s4, length) {
4638
- return new IdxAndLength(_this__u8e3s4.jl_1 + length | 0, length);
4780
+ return new IdxAndLength(_this__u8e3s4.ll_1 + length | 0, length);
4639
4781
  }
4640
4782
  function plus_2(_this__u8e3s4, length) {
4641
- return _this__u8e3s4.ml(VOID, _this__u8e3s4.yk_1 + length | 0, plus_1(_this__u8e3s4.zk_1, length));
4783
+ return _this__u8e3s4.ol(VOID, _this__u8e3s4.al_1 + length | 0, plus_1(_this__u8e3s4.bl_1, length));
4642
4784
  }
4643
4785
  function tokenize(_this__u8e3s4, source) {
4644
4786
  var tmp$ret$1;
@@ -4660,7 +4802,7 @@
4660
4802
  var tmp0_subject = type;
4661
4803
  var tmp;
4662
4804
  if (tmp0_subject instanceof NewLine) {
4663
- tmp = new Coordinates(_this__u8e3s4.xk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.zk_1, value.length));
4805
+ tmp = new Coordinates(_this__u8e3s4.zk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.bl_1, value.length));
4664
4806
  } else {
4665
4807
  tmp = plus_2(_this__u8e3s4, value.length);
4666
4808
  }
@@ -4668,7 +4810,7 @@
4668
4810
  }
4669
4811
  function lastCoordinates(_this__u8e3s4) {
4670
4812
  var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4671
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wk_1;
4813
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yk_1;
4672
4814
  return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4673
4815
  }
4674
4816
  function tokenize_0(_this__u8e3s4, source, tokens) {
@@ -4678,7 +4820,7 @@
4678
4820
  $l$1: do {
4679
4821
  $l$0: do {
4680
4822
  var token = findToken($this, lastCoordinates(tokens_0), source_0);
4681
- var newSource = removePrefix(source_0, token.vk_1);
4823
+ var newSource = removePrefix(source_0, token.xk_1);
4682
4824
  var newTokens = plus_0(tokens_0, token);
4683
4825
  var tmp;
4684
4826
  var tmp$ret$0;
@@ -4904,7 +5046,7 @@
4904
5046
  }
4905
5047
  function EndOfProgram() {
4906
5048
  EndOfProgram_instance = this;
4907
- this.pl_1 = 'EOP';
5049
+ this.rl_1 = 'EOP';
4908
5050
  }
4909
5051
  var EndOfProgram_instance;
4910
5052
  function EndOfProgram_getInstance() {
@@ -4937,7 +5079,7 @@
4937
5079
  }
4938
5080
  return tmp;
4939
5081
  };
4940
- protoOf(Logger).tk = function (s, block) {
5082
+ protoOf(Logger).vk = function (s, block) {
4941
5083
  var tmp$ret$1;
4942
5084
  // Inline function 'kotlin.run' call
4943
5085
  // Inline function 'kotlin.contracts.contract' call
@@ -4998,6 +5140,7 @@
4998
5140
  protoOf(TypeScriptEmitter).ak = withLogging_5;
4999
5141
  protoOf(TypeScriptEmitter).bk = withLogging_6;
5000
5142
  protoOf(TypeScriptEmitter).dk = withLogging_7;
5143
+ protoOf(TypeScriptEmitter).ri = withLogging_8;
5001
5144
  protoOf(WirespecEmitter).tj = withLogging;
5002
5145
  protoOf(WirespecEmitter).uj = withLogging_0;
5003
5146
  protoOf(WirespecEmitter).vj = withLogging_1;
@@ -5007,25 +5150,25 @@
5007
5150
  protoOf(WirespecEmitter).ak = withLogging_5;
5008
5151
  protoOf(WirespecEmitter).bk = withLogging_6;
5009
5152
  protoOf(WirespecEmitter).dk = withLogging_7;
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;
5153
+ protoOf(WsTypeDef).ql = name;
5154
+ protoOf(WsEnumTypeDef).ql = name;
5155
+ protoOf(WsRefinedTypeDef).ql = name;
5156
+ protoOf(WhiteSpaceExceptNewLine).ql = name;
5157
+ protoOf(NewLine).ql = name;
5158
+ protoOf(LeftCurly).ql = name;
5159
+ protoOf(Colon).ql = name;
5160
+ protoOf(Comma).ql = name;
5161
+ protoOf(QuestionMark).ql = name;
5162
+ protoOf(Brackets).ql = name;
5163
+ protoOf(WsString).ql = name;
5164
+ protoOf(WsInteger).ql = name;
5165
+ protoOf(WsBoolean).ql = name;
5166
+ protoOf(RightCurly).ql = name;
5167
+ protoOf(CustomValue).ql = name;
5168
+ protoOf(CustomType).ql = name;
5169
+ protoOf(CustomRegex).ql = name;
5170
+ protoOf(Invalid).ql = name;
5171
+ protoOf(EndOfProgram).ql = name;
5029
5172
  //endregion
5030
5173
  //region block: init
5031
5174
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';