@flock/wirespec 0.7.3 → 0.7.4

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 (31) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +292 -292
  2. package/kotlin/arrow-arrow-core.js +32 -19
  3. package/kotlin/arrow-arrow-core.js.map +1 -1
  4. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +3 -3
  5. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  6. package/kotlin/kotlin-openapi-bindings.js +3214 -3214
  7. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1221 -1221
  8. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  9. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +975 -975
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  11. package/kotlin/wirespec-cli.js +83 -83
  12. package/kotlin/wirespec-core.js +935 -911
  13. package/kotlin/wirespec-core.js.map +1 -1
  14. package/kotlin/wirespec-lib.js +39 -39
  15. package/kotlin/wirespec-openapi.js +344 -344
  16. package/package.json +1 -1
  17. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  18. package/sync-hashes/arrow-arrow-core.js.hash +1 -1
  19. package/sync-hashes/arrow-arrow-core.js.map.hash +1 -1
  20. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  21. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  22. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  23. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  24. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  25. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  26. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  27. package/sync-hashes/wirespec-cli.js.hash +1 -1
  28. package/sync-hashes/wirespec-core.js.hash +1 -1
  29. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  30. package/sync-hashes/wirespec-lib.js.hash +1 -1
  31. package/sync-hashes/wirespec-openapi.js.hash +1 -1
@@ -63,6 +63,7 @@
63
63
  var getKClassFromExpression = kotlin_kotlin.$_$.c;
64
64
  var RuntimeException = kotlin_kotlin.$_$.aa;
65
65
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.h1;
66
+ var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
66
67
  var getStringHashCode = kotlin_kotlin.$_$.w6;
67
68
  var hashCode = kotlin_kotlin.$_$.x6;
68
69
  var equals = kotlin_kotlin.$_$.r6;
@@ -78,10 +79,9 @@
78
79
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.p1;
79
80
  var isObject = kotlin_kotlin.$_$.j7;
80
81
  var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
81
- var emptyList = kotlin_kotlin.$_$.q4;
82
- var lastOrNull = kotlin_kotlin.$_$.d5;
83
- var removePrefix = kotlin_kotlin.$_$.v8;
82
+ var last = kotlin_kotlin.$_$.e5;
84
83
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.g1;
84
+ var removePrefix = kotlin_kotlin.$_$.v8;
85
85
  var ensureNotNull = kotlin_kotlin.$_$.qa;
86
86
  var println = kotlin_kotlin.$_$.g6;
87
87
  //endregion
@@ -89,37 +89,37 @@
89
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
90
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
91
91
  function withLogging(_this__u8e3s4, logger, block) {
92
- return logger.yk('Emitting Definition: Type', block);
92
+ return logger.zk('Emitting Definition: Type', block);
93
93
  }
94
94
  function withLogging_0(_this__u8e3s4, logger, block) {
95
- return logger.yk('Emitting Definition: Type Shape', block);
95
+ return logger.zk('Emitting Definition: Type Shape', block);
96
96
  }
97
97
  function withLogging_1(_this__u8e3s4, logger, block) {
98
- return logger.yk('Emitting Definition: Type Shape Field', block);
98
+ return logger.zk('Emitting Definition: Type Shape Field', block);
99
99
  }
100
100
  function withLogging_2(_this__u8e3s4, logger, block) {
101
- return logger.yk('Emitting Definition: Type Shape Field Key', block);
101
+ return logger.zk('Emitting Definition: Type Shape Field Key', block);
102
102
  }
103
103
  function withLogging_3(_this__u8e3s4, logger, block) {
104
- return logger.yk('Emitting Definition: Type Shape Field Value', block);
104
+ return logger.zk('Emitting Definition: Type Shape Field Value', block);
105
105
  }
106
106
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
107
107
  function withLogging_4(_this__u8e3s4, logger, block) {
108
- return logger.yk('Emitting Definition: Endpoint', block);
108
+ return logger.zk('Emitting Definition: Endpoint', block);
109
109
  }
110
110
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
111
111
  function withLogging_5(_this__u8e3s4, logger, block) {
112
- return logger.yk('Emitting Definition: Refined', block);
112
+ return logger.zk('Emitting Definition: Refined', block);
113
113
  }
114
114
  function withLogging_6(_this__u8e3s4, logger, block) {
115
- return logger.yk('Emitting Definition: Refined Validator', block);
115
+ return logger.zk('Emitting Definition: Refined Validator', block);
116
116
  }
117
117
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
118
118
  function withLogging_7(_this__u8e3s4, logger, block) {
119
- return logger.yk('Emitting Definition: Endpoint', block);
119
+ return logger.zk('Emitting Definition: Endpoint', block);
120
120
  }
121
121
  function withLogging_8(_this__u8e3s4, logger, block) {
122
- return logger.yk('Emitting Definition: Endpoint Segment', block);
122
+ return logger.zk('Emitting Definition: Endpoint Segment', block);
123
123
  }
124
124
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
125
125
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -135,7 +135,6 @@
135
135
  setMetadataFor(CompilerException, 'CompilerException', classMeta, WirespecException);
136
136
  setMetadataFor(ParserException, 'ParserException', classMeta, CompilerException);
137
137
  setMetadataFor(NullTokenException, 'NullTokenException', classMeta, ParserException);
138
- setMetadataFor(StartingException, 'StartingException', classMeta, NullTokenException);
139
138
  setMetadataFor(NextException, 'NextException', classMeta, NullTokenException);
140
139
  setMetadataFor(WrongTokenException, 'WrongTokenException', classMeta, ParserException);
141
140
  setMetadataFor(Type, 'Type', classMeta, Enum);
@@ -198,7 +197,7 @@
198
197
  var Reported_EMITTED_instance;
199
198
  function Reported$report$lambda($logger, this$0) {
200
199
  return function (it) {
201
- $logger.kh('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
200
+ $logger.lh('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
202
201
  return Unit_getInstance();
203
202
  };
204
203
  }
@@ -215,40 +214,40 @@
215
214
  function Reported(name, ordinal) {
216
215
  Enum.call(this, name, ordinal);
217
216
  }
218
- protoOf(Reported).nh = function (logger) {
217
+ protoOf(Reported).oh = function (logger) {
219
218
  return Reported$report$lambda(logger, this);
220
219
  };
221
220
  function Reported$report$ref($boundThis) {
222
221
  var l = function (p0) {
223
- return $boundThis.nh(p0);
222
+ return $boundThis.oh(p0);
224
223
  };
225
224
  l.callableName = 'report';
226
225
  return l;
227
226
  }
228
227
  function Reported$report$ref_0($boundThis) {
229
228
  var l = function (p0) {
230
- return $boundThis.nh(p0);
229
+ return $boundThis.oh(p0);
231
230
  };
232
231
  l.callableName = 'report';
233
232
  return l;
234
233
  }
235
234
  function Reported$report$ref_1($boundThis) {
236
235
  var l = function (p0) {
237
- return $boundThis.nh(p0);
236
+ return $boundThis.oh(p0);
238
237
  };
239
238
  l.callableName = 'report';
240
239
  return l;
241
240
  }
242
241
  function Reported$report$ref_2($boundThis) {
243
242
  var l = function (p0) {
244
- return $boundThis.nh(p0);
243
+ return $boundThis.oh(p0);
245
244
  };
246
245
  l.callableName = 'report';
247
246
  return l;
248
247
  }
249
248
  function Reported$report$ref_3($boundThis) {
250
249
  var l = function (p0) {
251
- return $boundThis.nh(p0);
250
+ return $boundThis.oh(p0);
252
251
  };
253
252
  l.callableName = 'report';
254
253
  return l;
@@ -285,7 +284,7 @@
285
284
  // Inline function 'kotlin.contracts.contract' call
286
285
  var tmp$ret$2;
287
286
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
288
- tmp$ret$2 = (new Parser($logger)).ph(tmp4_let);
287
+ tmp$ret$2 = (new Parser($logger)).qh(tmp4_let);
289
288
  tmp$ret$3 = tmp$ret$2;
290
289
  var tmp5_also = tmp$ret$3;
291
290
  var tmp6_also = Reported$report$ref_1(Reported_PARSED_getInstance())($logger);
@@ -335,7 +334,7 @@
335
334
  var tmp11__anonymous__tkubxh = tmp12_map.qg_1;
336
335
  var tmp$ret$10;
337
336
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
338
- tmp$ret$10 = emitter.sh(tmp11__anonymous__tkubxh);
337
+ tmp$ret$10 = emitter.th(tmp11__anonymous__tkubxh);
339
338
  tmp$ret$11 = new Right(tmp$ret$10);
340
339
  tmp_0 = tmp$ret$11;
341
340
  } else {
@@ -378,10 +377,10 @@
378
377
  }
379
378
  function Wirespec() {
380
379
  Wirespec_instance = this;
381
- this.th_1 = listOf([to(Regex_init_$Create$('^type'), WsTypeDef_getInstance()), to(Regex_init_$Create$('^enum'), WsEnumTypeDef_getInstance()), to(Regex_init_$Create$('^refined'), WsRefinedTypeDef_getInstance()), to(Regex_init_$Create$('^[^\\S\\r\\n]+'), WhiteSpaceExceptNewLine_getInstance()), to(Regex_init_$Create$('^[\\r\\n]'), NewLine_getInstance()), to(Regex_init_$Create$('^\\{'), LeftCurly_getInstance()), to(Regex_init_$Create$('^:'), Colon_getInstance()), to(Regex_init_$Create$('^,'), Comma_getInstance()), to(Regex_init_$Create$('^\\?'), QuestionMark_getInstance()), to(Regex_init_$Create$('^\\[\\]'), Brackets_getInstance()), to(Regex_init_$Create$('^String'), WsString_getInstance()), to(Regex_init_$Create$('^Integer'), WsInteger_getInstance()), to(Regex_init_$Create$('^Boolean'), WsBoolean_getInstance()), to(Regex_init_$Create$('^\\}'), RightCurly_getInstance()), to(Regex_init_$Create$('^[a-z][a-zA-Z]*'), CustomValue_getInstance()), to(Regex_init_$Create$('^[A-Z][a-zA-Z]*'), CustomType_getInstance()), to(Regex_init_$Create$('^/.*/g'), CustomRegex_getInstance()), to(Regex_init_$Create$('^.'), Invalid_getInstance())]);
380
+ this.uh_1 = listOf([to(Regex_init_$Create$('^type'), WsTypeDef_getInstance()), to(Regex_init_$Create$('^enum'), WsEnumTypeDef_getInstance()), to(Regex_init_$Create$('^refined'), WsRefinedTypeDef_getInstance()), to(Regex_init_$Create$('^[^\\S\\r\\n]+'), WhiteSpaceExceptNewLine_getInstance()), to(Regex_init_$Create$('^[\\r\\n]'), NewLine_getInstance()), to(Regex_init_$Create$('^\\{'), LeftCurly_getInstance()), to(Regex_init_$Create$('^:'), Colon_getInstance()), to(Regex_init_$Create$('^,'), Comma_getInstance()), to(Regex_init_$Create$('^\\?'), QuestionMark_getInstance()), to(Regex_init_$Create$('^\\[\\]'), Brackets_getInstance()), to(Regex_init_$Create$('^String'), WsString_getInstance()), to(Regex_init_$Create$('^Integer'), WsInteger_getInstance()), to(Regex_init_$Create$('^Boolean'), WsBoolean_getInstance()), to(Regex_init_$Create$('^\\}'), RightCurly_getInstance()), to(Regex_init_$Create$('^[a-z][a-zA-Z]*'), CustomValue_getInstance()), to(Regex_init_$Create$('^[A-Z][a-zA-Z]*'), CustomType_getInstance()), to(Regex_init_$Create$('^/.*/g'), CustomRegex_getInstance()), to(Regex_init_$Create$('^.'), Invalid_getInstance())]);
382
381
  }
383
- protoOf(Wirespec).uh = function () {
384
- return this.th_1;
382
+ protoOf(Wirespec).vh = function () {
383
+ return this.uh_1;
385
384
  };
386
385
  var Wirespec_instance;
387
386
  function Wirespec_getInstance() {
@@ -390,14 +389,14 @@
390
389
  return Wirespec_instance;
391
390
  }
392
391
  function emitPrimaryType(_this__u8e3s4, $this) {
393
- return $this.vh(_this__u8e3s4, $this.qh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
392
+ return $this.wh(_this__u8e3s4, $this.rh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
394
393
  }
395
394
  function emit(_this__u8e3s4, $this, endpoint) {
396
395
  Companion_getInstance_2();
397
- var tmp = emitContentType(_this__u8e3s4.wh_1, $this);
398
- var tmp0_safe_receiver = _this__u8e3s4.wh_1;
399
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
400
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.ei(tmp1_safe_receiver);
396
+ var tmp = emitContentType(_this__u8e3s4.xh_1, $this);
397
+ var tmp0_safe_receiver = _this__u8e3s4.xh_1;
398
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
399
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.fi(tmp1_safe_receiver);
401
400
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
402
401
  Companion_getInstance_2();
403
402
  Companion_getInstance_2();
@@ -409,33 +408,33 @@
409
408
  Companion_getInstance_2();
410
409
  Companion_getInstance_2();
411
410
  Companion_getInstance_2();
412
- var tmp3_safe_receiver = _this__u8e3s4.wh_1;
413
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.yh_1;
414
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.ei(tmp4_safe_receiver);
411
+ var tmp3_safe_receiver = _this__u8e3s4.xh_1;
412
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.zh_1;
413
+ var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.fi(tmp4_safe_receiver);
415
414
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
416
415
  Companion_getInstance_2();
417
416
  Companion_getInstance_2();
418
- var tmp_2 = emitContentType(_this__u8e3s4.wh_1, $this);
419
- var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.wh_1);
417
+ var tmp_2 = emitContentType(_this__u8e3s4.xh_1, $this);
418
+ var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.xh_1);
420
419
  Companion_getInstance_2();
421
420
  Companion_getInstance_2();
422
421
  Companion_getInstance_2();
423
- var tmp_4 = emitPath(endpoint.hi_1, $this);
422
+ var tmp_4 = emitPath(endpoint.ii_1, $this);
424
423
  Companion_getInstance_2();
425
424
  Companion_getInstance_2();
426
425
  Companion_getInstance_2();
427
426
  Companion_getInstance_2();
428
427
  Companion_getInstance_2();
429
428
  Companion_getInstance_2();
430
- var tmp_5 = emitMap(endpoint.ii_1, $this);
429
+ var tmp_5 = emitMap(endpoint.ji_1, $this);
431
430
  Companion_getInstance_2();
432
431
  Companion_getInstance_2();
433
432
  Companion_getInstance_2();
434
- var tmp_6 = emitMap(endpoint.ji_1, $this);
433
+ var tmp_6 = emitMap(endpoint.ki_1, $this);
435
434
  Companion_getInstance_2();
436
435
  Companion_getInstance_2();
437
436
  Companion_getInstance_2();
438
- var tmp6_safe_receiver = _this__u8e3s4.wh_1;
437
+ var tmp6_safe_receiver = _this__u8e3s4.xh_1;
439
438
  var tmp_7;
440
439
  if (tmp6_safe_receiver == null) {
441
440
  tmp_7 = null;
@@ -445,7 +444,7 @@
445
444
  // Inline function 'kotlin.contracts.contract' call
446
445
  var tmp$ret$0;
447
446
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
448
- tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.xh_1 + '", body)';
447
+ tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.yh_1 + '", body)';
449
448
  tmp$ret$1 = tmp$ret$0;
450
449
  tmp_7 = tmp$ret$1;
451
450
  }
@@ -463,20 +462,20 @@
463
462
  Companion_getInstance_2();
464
463
  Companion_getInstance_2();
465
464
  Companion_getInstance_2();
466
- var tmp8_safe_receiver = _this__u8e3s4.wh_1;
467
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.yh_1;
468
- var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.ei(tmp9_safe_receiver);
465
+ var tmp8_safe_receiver = _this__u8e3s4.xh_1;
466
+ var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.zh_1;
467
+ var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.fi(tmp9_safe_receiver);
469
468
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
470
469
  Companion_getInstance_2();
471
- return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.gi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
470
+ return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.hi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
472
471
  }
473
472
  function emit_0(_this__u8e3s4, $this) {
474
473
  Companion_getInstance_2();
475
- var tmp = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
476
- var tmp_0 = emitContentType(_this__u8e3s4.oi_1, $this);
474
+ var tmp = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
475
+ var tmp_0 = emitContentType(_this__u8e3s4.pi_1, $this);
477
476
  var tmp$ret$1;
478
477
  // Inline function 'kotlin.takeIf' call
479
- var tmp0_takeIf = _this__u8e3s4.ni_1;
478
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
480
479
  // Inline function 'kotlin.contracts.contract' call
481
480
  var tmp_1;
482
481
  var tmp$ret$0;
@@ -490,9 +489,9 @@
490
489
  tmp$ret$1 = tmp_1;
491
490
  var tmp0_safe_receiver = tmp$ret$1;
492
491
  var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
493
- var tmp1_safe_receiver = _this__u8e3s4.oi_1;
494
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.yh_1;
495
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.ei(tmp2_safe_receiver);
492
+ var tmp1_safe_receiver = _this__u8e3s4.pi_1;
493
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.zh_1;
494
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.fi(tmp2_safe_receiver);
496
495
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
497
496
  Companion_getInstance_2();
498
497
  Companion_getInstance_2();
@@ -500,17 +499,17 @@
500
499
  Companion_getInstance_2();
501
500
  Companion_getInstance_2();
502
501
  Companion_getInstance_2();
503
- var tmp4_safe_receiver = _this__u8e3s4.oi_1;
504
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
505
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.ei(tmp5_safe_receiver);
502
+ var tmp4_safe_receiver = _this__u8e3s4.pi_1;
503
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
504
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.fi(tmp5_safe_receiver);
506
505
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
507
506
  Companion_getInstance_2();
508
507
  Companion_getInstance_2();
509
- var tmp_5 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
510
- var tmp_6 = emitContentType(_this__u8e3s4.oi_1, $this);
508
+ var tmp_5 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
509
+ var tmp_6 = emitContentType(_this__u8e3s4.pi_1, $this);
511
510
  var tmp$ret$3;
512
511
  // Inline function 'kotlin.takeIf' call
513
- var tmp1_takeIf = _this__u8e3s4.ni_1;
512
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
514
513
  // Inline function 'kotlin.contracts.contract' call
515
514
  var tmp_7;
516
515
  var tmp$ret$2;
@@ -537,7 +536,7 @@
537
536
  tmp_8 = tmp$ret$5;
538
537
  }
539
538
  var tmp_9 = orEmptyString(tmp_8, $this);
540
- var tmp8_safe_receiver = _this__u8e3s4.oi_1;
539
+ var tmp8_safe_receiver = _this__u8e3s4.pi_1;
541
540
  var tmp_10;
542
541
  if (tmp8_safe_receiver == null) {
543
542
  tmp_10 = null;
@@ -547,7 +546,7 @@
547
546
  // Inline function 'kotlin.contracts.contract' call
548
547
  var tmp$ret$6;
549
548
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
550
- tmp$ret$6 = ', ' + $this.ei(tmp8_safe_receiver.yh_1) + ' body';
549
+ tmp$ret$6 = ', ' + $this.fi(tmp8_safe_receiver.zh_1) + ' body';
551
550
  tmp$ret$7 = tmp$ret$6;
552
551
  tmp_10 = tmp$ret$7;
553
552
  }
@@ -558,7 +557,7 @@
558
557
  Companion_getInstance_2();
559
558
  var tmp$ret$9;
560
559
  // Inline function 'kotlin.takeIf' call
561
- var tmp2_takeIf = _this__u8e3s4.ni_1;
560
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
562
561
  // Inline function 'kotlin.contracts.contract' call
563
562
  var tmp_12;
564
563
  var tmp$ret$8;
@@ -578,7 +577,7 @@
578
577
  Companion_getInstance_2();
579
578
  Companion_getInstance_2();
580
579
  Companion_getInstance_2();
581
- var tmp11_safe_receiver = _this__u8e3s4.oi_1;
580
+ var tmp11_safe_receiver = _this__u8e3s4.pi_1;
582
581
  var tmp_14;
583
582
  if (tmp11_safe_receiver == null) {
584
583
  tmp_14 = null;
@@ -588,7 +587,7 @@
588
587
  // Inline function 'kotlin.contracts.contract' call
589
588
  var tmp$ret$10;
590
589
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
591
- tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.xh_1 + '", body)';
590
+ tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.yh_1 + '", body)';
592
591
  tmp$ret$11 = tmp$ret$10;
593
592
  tmp_14 = tmp$ret$11;
594
593
  }
@@ -602,9 +601,9 @@
602
601
  Companion_getInstance_2();
603
602
  Companion_getInstance_2();
604
603
  Companion_getInstance_2();
605
- var tmp13_safe_receiver = _this__u8e3s4.oi_1;
606
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.yh_1;
607
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.ei(tmp14_safe_receiver);
604
+ var tmp13_safe_receiver = _this__u8e3s4.pi_1;
605
+ var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.zh_1;
606
+ var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.fi(tmp14_safe_receiver);
608
607
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
609
608
  Companion_getInstance_2();
610
609
  return trimMargin('\n |' + ' ' + 'class Response' + tmp + tmp_0 + ' implements Response' + tmp_2 + '<' + tmp_3 + '> {\n |' + ' ' + ' ' + 'private final int status;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_4 + '> content;\n |' + ' ' + ' ' + 'public Response' + tmp_5 + tmp_6 + '(' + tmp_9 + 'java.util.Map<String, java.util.List<Object>> headers' + tmp_11 + ') {\n |' + ' ' + ' ' + ' ' + 'this.status = ' + tmp_13 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = headers;\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_15 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public int getStatus() {return status;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_16 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
@@ -620,8 +619,8 @@
620
619
  var e = tmp0_iterator.e();
621
620
  var tmp$ret$0;
622
621
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
623
- var tmp0_safe_receiver = e.oi_1;
624
- tmp$ret$0 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
622
+ var tmp0_safe_receiver = e.pi_1;
623
+ tmp$ret$0 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
625
624
  var key = tmp$ret$0;
626
625
  if (set.a(key)) {
627
626
  list.a(e);
@@ -636,7 +635,7 @@
636
635
  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 ');
637
636
  }
638
637
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
639
- var tmp0_subject = _this__u8e3s4.oi_1;
638
+ var tmp0_subject = _this__u8e3s4.pi_1;
640
639
  var tmp;
641
640
  if (tmp0_subject == null) {
642
641
  Companion_getInstance_2();
@@ -644,7 +643,7 @@
644
643
  Companion_getInstance_2();
645
644
  var tmp$ret$1;
646
645
  // Inline function 'kotlin.takeIf' call
647
- var tmp0_takeIf = _this__u8e3s4.ni_1;
646
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
648
647
  // Inline function 'kotlin.contracts.contract' call
649
648
  var tmp_0;
650
649
  var tmp$ret$0;
@@ -666,15 +665,15 @@
666
665
  // Inline function 'kotlin.contracts.contract' call
667
666
  var tmp$ret$2;
668
667
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
669
- tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
668
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
670
669
  tmp$ret$3 = tmp$ret$2;
671
670
  tmp_1 = tmp$ret$3;
672
671
  }
673
672
  var tmp_2 = orEmptyString(tmp_1, $this);
674
- var tmp_3 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
673
+ var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
675
674
  var tmp$ret$5;
676
675
  // Inline function 'kotlin.takeIf' call
677
- var tmp1_takeIf = _this__u8e3s4.ni_1;
676
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
678
677
  // Inline function 'kotlin.contracts.contract' call
679
678
  var tmp_4;
680
679
  var tmp$ret$4;
@@ -707,7 +706,7 @@
707
706
  Companion_getInstance_2();
708
707
  var tmp$ret$9;
709
708
  // Inline function 'kotlin.takeIf' call
710
- var tmp2_takeIf = _this__u8e3s4.ni_1;
709
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
711
710
  // Inline function 'kotlin.contracts.contract' call
712
711
  var tmp_6;
713
712
  var tmp$ret$8;
@@ -729,7 +728,7 @@
729
728
  // Inline function 'kotlin.contracts.contract' call
730
729
  var tmp$ret$10;
731
730
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
732
- tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
731
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
733
732
  tmp$ret$11 = tmp$ret$10;
734
733
  tmp_7 = tmp$ret$11;
735
734
  }
@@ -738,18 +737,18 @@
738
737
  Companion_getInstance_2();
739
738
  Companion_getInstance_2();
740
739
  Companion_getInstance_2();
741
- var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
742
- var tmp_10 = emitPrimaryType(_this__u8e3s4.oi_1.yh_1, $this);
743
- var tmp_11 = _this__u8e3s4.oi_1.yh_1.ri();
740
+ var tmp_9 = $this.fi(_this__u8e3s4.pi_1.zh_1);
741
+ var tmp_10 = emitPrimaryType(_this__u8e3s4.pi_1.zh_1, $this);
742
+ var tmp_11 = _this__u8e3s4.pi_1.zh_1.si();
744
743
  Companion_getInstance_2();
745
744
  Companion_getInstance_2();
746
745
  Companion_getInstance_2();
747
746
  Companion_getInstance_2();
748
- var tmp_12 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
749
- var tmp_13 = emitContentType(_this__u8e3s4.oi_1, $this);
747
+ var tmp_12 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
748
+ var tmp_13 = emitContentType(_this__u8e3s4.pi_1, $this);
750
749
  var tmp$ret$13;
751
750
  // Inline function 'kotlin.takeIf' call
752
- var tmp3_takeIf = _this__u8e3s4.ni_1;
751
+ var tmp3_takeIf = _this__u8e3s4.oi_1;
753
752
  // Inline function 'kotlin.contracts.contract' call
754
753
  var tmp_14;
755
754
  var tmp$ret$12;
@@ -779,13 +778,13 @@
779
778
  Companion_getInstance_2();
780
779
  Companion_getInstance_2();
781
780
  Companion_getInstance_2();
782
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.oi_1.xh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
781
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.pi_1.yh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
783
782
  }
784
783
  return tmp;
785
784
  }
786
785
  function emitContentType(_this__u8e3s4, $this) {
787
786
  var tmp0_safe_receiver = _this__u8e3s4;
788
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1;
787
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
789
788
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/', '-']);
790
789
  var tmp;
791
790
  if (tmp2_safe_receiver == null) {
@@ -797,14 +796,14 @@
797
796
  return tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
798
797
  }
799
798
  function emit_1(_this__u8e3s4, $this) {
800
- return $this.si(_this__u8e3s4, $this.qh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
799
+ return $this.ti(_this__u8e3s4, $this.rh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
801
800
  }
802
801
  function emitRequestSignature(_this__u8e3s4, $this, content) {
803
802
  var tmp$ret$4;
804
803
  // Inline function 'kotlin.collections.map' call
805
804
  var tmp$ret$1;
806
805
  // Inline function 'kotlin.collections.filterIsInstance' call
807
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
806
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
808
807
  var tmp$ret$0;
809
808
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
810
809
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -826,15 +825,15 @@
826
825
  var item = tmp0_iterator_0.e();
827
826
  var tmp$ret$2;
828
827
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
829
- tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
828
+ tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
830
829
  tmp2_mapTo.a(tmp$ret$2);
831
830
  }
832
831
  tmp$ret$3 = tmp2_mapTo;
833
832
  tmp$ret$4 = tmp$ret$3;
834
833
  var pathField = tmp$ret$4;
835
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
834
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
836
835
  var tmp0_safe_receiver = content;
837
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
836
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
838
837
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
839
838
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
840
839
  }
@@ -865,34 +864,34 @@
865
864
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
866
865
  tmp = tmp$ret$1 + 'XX';
867
866
  } else {
868
- tmp = Companion_getInstance_2().qi(_this__u8e3s4);
867
+ tmp = Companion_getInstance_2().ri(_this__u8e3s4);
869
868
  }
870
869
  return tmp;
871
870
  }
872
871
  function JavaEmitter$emit$lambda($this_emit, this$0) {
873
872
  return function () {
874
- return trimMargin('public record ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |) {};\n |');
873
+ return trimMargin('public record ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |) {};\n |');
875
874
  };
876
875
  }
877
876
  function JavaEmitter$emit$lambda$lambda(this$0) {
878
877
  return function (it) {
879
- return this$0.yi(it);
878
+ return this$0.zi(it);
880
879
  };
881
880
  }
882
881
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
883
882
  return function () {
884
- return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
883
+ return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
885
884
  };
886
885
  }
887
886
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
888
887
  return function () {
889
888
  Companion_getInstance_2();
890
- return ' ' + ($this_emit.cj_1 ? 'java.util.Optional<' + this$0.ei($this_emit.bj_1) + '>' : this$0.ei($this_emit.bj_1)) + ' ' + this$0.dj($this_emit.aj_1);
889
+ return ' ' + ($this_emit.dj_1 ? 'java.util.Optional<' + this$0.fi($this_emit.cj_1) + '>' : this$0.fi($this_emit.cj_1)) + ' ' + this$0.ej($this_emit.bj_1);
891
890
  };
892
891
  }
893
892
  function JavaEmitter$emit$lambda_2($this_emit) {
894
893
  return function () {
895
- return $this_emit.ej_1;
894
+ return $this_emit.fj_1;
896
895
  };
897
896
  }
898
897
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -903,10 +902,10 @@
903
902
  tmp = 'Object';
904
903
  } else {
905
904
  if (tmp0_subject instanceof Custom) {
906
- tmp = $this_emitPrimaryType.ij_1;
905
+ tmp = $this_emitPrimaryType.jj_1;
907
906
  } else {
908
907
  if (tmp0_subject instanceof Primitive) {
909
- var tmp1_subject = $this_emitPrimaryType.fj_1;
908
+ var tmp1_subject = $this_emitPrimaryType.gj_1;
910
909
  var tmp0 = tmp1_subject.q4_1;
911
910
  var tmp_0;
912
911
  switch (tmp0) {
@@ -940,7 +939,7 @@
940
939
  // Inline function 'kotlin.contracts.contract' call
941
940
  var tmp$ret$0;
942
941
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
943
- tmp$ret$0 = $this_emit.ri() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
942
+ tmp$ret$0 = $this_emit.si() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
944
943
  tmp$ret$1 = tmp$ret$0;
945
944
  return tmp$ret$1;
946
945
  };
@@ -966,26 +965,26 @@
966
965
  Companion_getInstance_2();
967
966
  Companion_getInstance_2();
968
967
  Companion_getInstance_2();
969
- var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.lj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
968
+ var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.mj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
970
969
  Companion_getInstance_2();
971
970
  Companion_getInstance_2();
972
971
  var tmp = ',\n' + ' ';
973
- return 'public enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n}\n';
972
+ return 'public enum ' + $this_emit.mj_1 + ' {\n' + ' ' + joinToString($this_emit.nj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n}\n';
974
973
  };
975
974
  }
976
975
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
977
976
  return function () {
978
977
  Companion_getInstance_2();
979
978
  Companion_getInstance_2();
980
- var tmp = this$0.pj($this_emit.oj_1);
979
+ var tmp = this$0.qj($this_emit.pj_1);
981
980
  Companion_getInstance_2();
982
- return trimMargin('public record ' + $this_emit.nj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.nj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
981
+ return trimMargin('public record ' + $this_emit.oj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.oj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
983
982
  };
984
983
  }
985
984
  function JavaEmitter$emit$lambda_6($this_emit) {
986
985
  return function () {
987
986
  Companion_getInstance_2();
988
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.qj_1 + ').matcher(record.value).find();';
987
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.rj_1 + ').matcher(record.value).find();';
989
988
  };
990
989
  }
991
990
  function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -1011,14 +1010,14 @@
1011
1010
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
1012
1011
  return function () {
1013
1012
  Companion_getInstance_2();
1014
- var tmp = emitSegment($this_emit.hi_1, this$0);
1015
- var tmp_0 = emitResponseMapper($this_emit.mi_1, this$0);
1013
+ var tmp = emitSegment($this_emit.ii_1, this$0);
1014
+ var tmp_0 = emitResponseMapper($this_emit.ni_1, this$0);
1016
1015
  Companion_getInstance_2();
1017
- var tmp_1 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1016
+ var tmp_1 = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1018
1017
  Companion_getInstance_2();
1019
1018
  var tmp$ret$2;
1020
1019
  // Inline function 'kotlin.collections.map' call
1021
- var tmp1_map = $this_emit.mi_1;
1020
+ var tmp1_map = $this_emit.ni_1;
1022
1021
  var tmp$ret$1;
1023
1022
  // Inline function 'kotlin.collections.mapTo' call
1024
1023
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1027,7 +1026,7 @@
1027
1026
  var item = tmp0_iterator.e();
1028
1027
  var tmp$ret$0;
1029
1028
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1030
- tmp$ret$0 = groupStatus(item.ni_1, this$0);
1029
+ tmp$ret$0 = groupStatus(item.oi_1, this$0);
1031
1030
  tmp0_mapTo.a(tmp$ret$0);
1032
1031
  }
1033
1032
  tmp$ret$1 = tmp0_mapTo;
@@ -1038,7 +1037,7 @@
1038
1037
  // Inline function 'kotlin.collections.map' call
1039
1038
  var tmp$ret$5;
1040
1039
  // Inline function 'kotlin.collections.filter' call
1041
- var tmp3_filter = $this_emit.mi_1;
1040
+ var tmp3_filter = $this_emit.ni_1;
1042
1041
  var tmp$ret$4;
1043
1042
  // Inline function 'kotlin.collections.filterTo' call
1044
1043
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1047,7 +1046,7 @@
1047
1046
  var element = tmp0_iterator_0.e();
1048
1047
  var tmp$ret$3;
1049
1048
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1050
- tmp$ret$3 = isInt(element.ni_1, this$0);
1049
+ tmp$ret$3 = isInt(element.oi_1, this$0);
1051
1050
  if (tmp$ret$3) {
1052
1051
  tmp2_filterTo.a(element);
1053
1052
  }
@@ -1063,7 +1062,7 @@
1063
1062
  var item_0 = tmp0_iterator_1.e();
1064
1063
  var tmp$ret$6;
1065
1064
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1066
- tmp$ret$6 = item_0.ni_1;
1065
+ tmp$ret$6 = item_0.oi_1;
1067
1066
  tmp4_mapTo.a(tmp$ret$6);
1068
1067
  }
1069
1068
  tmp$ret$7 = tmp4_mapTo;
@@ -1072,7 +1071,7 @@
1072
1071
  var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1073
1072
  var tmp$ret$10;
1074
1073
  // Inline function 'kotlin.collections.distinctBy' call
1075
- var tmp6_distinctBy = $this_emit.mi_1;
1074
+ var tmp6_distinctBy = $this_emit.ni_1;
1076
1075
  var set = HashSet_init_$Create$();
1077
1076
  var list = ArrayList_init_$Create$();
1078
1077
  var tmp0_iterator_2 = tmp6_distinctBy.c();
@@ -1080,8 +1079,8 @@
1080
1079
  var e = tmp0_iterator_2.e();
1081
1080
  var tmp$ret$9;
1082
1081
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1083
- var tmp0_safe_receiver = e.oi_1;
1084
- tmp$ret$9 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1082
+ var tmp0_safe_receiver = e.pi_1;
1083
+ tmp$ret$9 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1085
1084
  var key = tmp$ret$9;
1086
1085
  if (set.a(key)) {
1087
1086
  list.a(e);
@@ -1091,7 +1090,7 @@
1091
1090
  var tmp_6 = tmp$ret$10;
1092
1091
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1093
1092
  Companion_getInstance_2();
1094
- return trimMargin('public interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_2().rj($this_emit.fi_1) + '(Request request);\n |}\n |');
1093
+ return trimMargin('public interface ' + $this_emit.gi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_2().sj($this_emit.gi_1) + '(Request request);\n |}\n |');
1095
1094
  };
1096
1095
  }
1097
1096
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1100,17 +1099,17 @@
1100
1099
  };
1101
1100
  }
1102
1101
  function JavaEmitter$emitContentType$lambda(it) {
1103
- return Companion_getInstance_2().qi(it);
1102
+ return Companion_getInstance_2().ri(it);
1104
1103
  }
1105
1104
  function JavaEmitter$emit$lambda_8($this_emit) {
1106
1105
  return function () {
1107
1106
  var tmp0_subject = $this_emit;
1108
1107
  var tmp;
1109
1108
  if (tmp0_subject instanceof Literal) {
1110
- tmp = '"' + $this_emit.sj_1 + '"';
1109
+ tmp = '"' + $this_emit.tj_1 + '"';
1111
1110
  } else {
1112
1111
  if (tmp0_subject instanceof Param) {
1113
- tmp = $this_emit.ti_1.ej_1;
1112
+ tmp = $this_emit.ui_1.fj_1;
1114
1113
  } else {
1115
1114
  noWhenBranchMatchedException();
1116
1115
  }
@@ -1120,22 +1119,22 @@
1120
1119
  }
1121
1120
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1122
1121
  return function (it) {
1123
- return this$0.yi(it);
1122
+ return this$0.zi(it);
1124
1123
  };
1125
1124
  }
1126
1125
  function JavaEmitter$emitMap$lambda(this$0) {
1127
1126
  return function (it) {
1128
- return '"' + this$0.dj(it.aj_1) + '", java.util.List.of(' + this$0.dj(it.aj_1) + ')';
1127
+ return '"' + this$0.ej(it.bj_1) + '", java.util.List.of(' + this$0.ej(it.bj_1) + ')';
1129
1128
  };
1130
1129
  }
1131
1130
  function JavaEmitter$emitSegment$lambda(it) {
1132
1131
  var tmp0_subject = it;
1133
1132
  var tmp;
1134
1133
  if (tmp0_subject instanceof Param) {
1135
- tmp = '{' + it.ti_1.ej_1 + '}';
1134
+ tmp = '{' + it.ui_1.fj_1 + '}';
1136
1135
  } else {
1137
1136
  if (tmp0_subject instanceof Literal) {
1138
- tmp = it.sj_1;
1137
+ tmp = it.tj_1;
1139
1138
  } else {
1140
1139
  noWhenBranchMatchedException();
1141
1140
  }
@@ -1188,13 +1187,13 @@
1188
1187
  Companion_getInstance_2();
1189
1188
  Companion_getInstance_2();
1190
1189
  Companion_getInstance_2();
1191
- tmp.ci_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1192
- this.di_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1190
+ tmp.di_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1191
+ this.ei_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1193
1192
  }
1194
- protoOf(JavaEmitter).sh = function (ast) {
1193
+ protoOf(JavaEmitter).th = function (ast) {
1195
1194
  var tmp$ret$2;
1196
1195
  // Inline function 'kotlin.collections.map' call
1197
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1196
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
1198
1197
  var tmp$ret$1;
1199
1198
  // Inline function 'kotlin.collections.mapTo' call
1200
1199
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1205,46 +1204,46 @@
1205
1204
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1206
1205
  var name = item.i3();
1207
1206
  var result = item.j3();
1208
- tmp$ret$0 = to(name, this.di_1 + '\n\n' + result);
1207
+ tmp$ret$0 = to(name, this.ei_1 + '\n\n' + result);
1209
1208
  tmp0_mapTo.a(tmp$ret$0);
1210
1209
  }
1211
1210
  tmp$ret$1 = tmp0_mapTo;
1212
1211
  tmp$ret$2 = tmp$ret$1;
1213
- return plus_0(tmp$ret$2, to('WirespecShared', this.di_1 + '\n\n' + this.ci_1));
1214
- };
1215
- protoOf(JavaEmitter).tj = function (_this__u8e3s4) {
1216
- return this.uj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1212
+ return plus_0(tmp$ret$2, to('WirespecShared', this.ei_1 + '\n\n' + this.di_1));
1217
1213
  };
1218
- protoOf(JavaEmitter).xi = function (_this__u8e3s4) {
1219
- return this.vj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1214
+ protoOf(JavaEmitter).uj = function (_this__u8e3s4) {
1215
+ return this.vj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1220
1216
  };
1221
1217
  protoOf(JavaEmitter).yi = function (_this__u8e3s4) {
1222
- return this.wj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1218
+ return this.wj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1223
1219
  };
1224
- protoOf(JavaEmitter).dj = function (_this__u8e3s4) {
1225
- return this.xj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1220
+ protoOf(JavaEmitter).zi = function (_this__u8e3s4) {
1221
+ return this.xj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1226
1222
  };
1227
- protoOf(JavaEmitter).ei = function (_this__u8e3s4) {
1228
- return this.vh(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1223
+ protoOf(JavaEmitter).ej = function (_this__u8e3s4) {
1224
+ return this.yj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1229
1225
  };
1230
- protoOf(JavaEmitter).yj = function (_this__u8e3s4) {
1231
- return this.zj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1226
+ protoOf(JavaEmitter).fi = function (_this__u8e3s4) {
1227
+ return this.wh(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1232
1228
  };
1233
- protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1234
- return this.bk(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1229
+ protoOf(JavaEmitter).zj = function (_this__u8e3s4) {
1230
+ return this.ak(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1235
1231
  };
1236
- protoOf(JavaEmitter).pj = function (_this__u8e3s4) {
1237
- return this.ck(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1232
+ protoOf(JavaEmitter).bk = function (_this__u8e3s4) {
1233
+ return this.ck(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1238
1234
  };
1239
- protoOf(JavaEmitter).dk = function (_this__u8e3s4) {
1240
- return this.ek(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1235
+ protoOf(JavaEmitter).qj = function (_this__u8e3s4) {
1236
+ return this.dk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1237
+ };
1238
+ protoOf(JavaEmitter).ek = function (_this__u8e3s4) {
1239
+ return this.fk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1241
1240
  };
1242
1241
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1243
1242
  var tmp$ret$4;
1244
1243
  // Inline function 'kotlin.collections.map' call
1245
1244
  var tmp$ret$1;
1246
1245
  // Inline function 'kotlin.collections.filterIsInstance' call
1247
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
1246
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
1248
1247
  var tmp$ret$0;
1249
1248
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1250
1249
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -1266,15 +1265,15 @@
1266
1265
  var item = tmp0_iterator_0.e();
1267
1266
  var tmp$ret$2;
1268
1267
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1269
- tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
1268
+ tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
1270
1269
  tmp2_mapTo.a(tmp$ret$2);
1271
1270
  }
1272
1271
  tmp$ret$3 = tmp2_mapTo;
1273
1272
  tmp$ret$4 = tmp$ret$3;
1274
1273
  var pathField = tmp$ret$4;
1275
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
1274
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
1276
1275
  var tmp0_safe_receiver = content;
1277
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
1276
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
1278
1277
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
1279
1278
  return trimMargin('\n |(' + joinToString(tmp, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestSignature$lambda($this)) + ')\n ');
1280
1279
  }
@@ -1285,7 +1284,7 @@
1285
1284
  return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitMap$lambda($this));
1286
1285
  }
1287
1286
  function emit_2(_this__u8e3s4, $this) {
1288
- return $this.si(_this__u8e3s4, $this.qh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1287
+ return $this.ti(_this__u8e3s4, $this.rh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1289
1288
  }
1290
1289
  function emitPath_0(_this__u8e3s4, $this) {
1291
1290
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
@@ -1306,7 +1305,7 @@
1306
1305
  var element = tmp0_iterator.e();
1307
1306
  var tmp$ret$0;
1308
1307
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1309
- tmp$ret$0 = Companion_getInstance_2().fk(element.ni_1);
1308
+ tmp$ret$0 = Companion_getInstance_2().gk(element.oi_1);
1310
1309
  if (tmp$ret$0) {
1311
1310
  tmp0_filterTo.a(element);
1312
1311
  }
@@ -1321,8 +1320,8 @@
1321
1320
  var e = tmp0_iterator_0.e();
1322
1321
  var tmp$ret$3;
1323
1322
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1324
- var tmp0_safe_receiver = e.oi_1;
1325
- tmp$ret$3 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1323
+ var tmp0_safe_receiver = e.pi_1;
1324
+ tmp$ret$3 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1326
1325
  var key = tmp$ret$3;
1327
1326
  if (set.a(key)) {
1328
1327
  list.a(e);
@@ -1343,7 +1342,7 @@
1343
1342
  var element_0 = tmp0_iterator_1.e();
1344
1343
  var tmp$ret$5;
1345
1344
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1346
- tmp$ret$5 = !Companion_getInstance_2().fk(element_0.ni_1);
1345
+ tmp$ret$5 = !Companion_getInstance_2().gk(element_0.oi_1);
1347
1346
  if (tmp$ret$5) {
1348
1347
  tmp2_filterTo.a(element_0);
1349
1348
  }
@@ -1358,8 +1357,8 @@
1358
1357
  var e_0 = tmp0_iterator_2.e();
1359
1358
  var tmp$ret$8;
1360
1359
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1361
- var tmp0_safe_receiver_0 = e_0.oi_1;
1362
- tmp$ret$8 = to(e_0.ni_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.xh_1);
1360
+ var tmp0_safe_receiver_0 = e_0.pi_1;
1361
+ tmp$ret$8 = to(e_0.oi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.yh_1);
1363
1362
  var key_0 = tmp$ret$8;
1364
1363
  if (set_0.a(key_0)) {
1365
1364
  list_0.a(e_0);
@@ -1374,7 +1373,7 @@
1374
1373
  return trimMargin('\n |fun <B> RESPONSE_MAPPER(contentMapper: WirespecShared.ContentMapper<B>) =\n |' + ' ' + 'fun(status: Int, headers:Map<String, List<Any?>>, content: WirespecShared.Content<B>?) =\n |' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $status")\n ');
1375
1374
  }
1376
1375
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1377
- var tmp0_subject = _this__u8e3s4.oi_1;
1376
+ var tmp0_subject = _this__u8e3s4.pi_1;
1378
1377
  var tmp;
1379
1378
  if (tmp0_subject == null) {
1380
1379
  Companion_getInstance_2();
@@ -1382,12 +1381,12 @@
1382
1381
  Companion_getInstance_2();
1383
1382
  var tmp$ret$1;
1384
1383
  // Inline function 'kotlin.takeIf' call
1385
- var tmp0_takeIf = _this__u8e3s4.ni_1;
1384
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
1386
1385
  // Inline function 'kotlin.contracts.contract' call
1387
1386
  var tmp_0;
1388
1387
  var tmp$ret$0;
1389
1388
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1390
- tmp$ret$0 = Companion_getInstance_2().fk(tmp0_takeIf);
1389
+ tmp$ret$0 = Companion_getInstance_2().gk(tmp0_takeIf);
1391
1390
  if (tmp$ret$0) {
1392
1391
  tmp_0 = tmp0_takeIf;
1393
1392
  } else {
@@ -1404,20 +1403,20 @@
1404
1403
  // Inline function 'kotlin.contracts.contract' call
1405
1404
  var tmp$ret$2;
1406
1405
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1407
- tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1406
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1408
1407
  tmp$ret$3 = tmp$ret$2;
1409
1408
  tmp_1 = tmp$ret$3;
1410
1409
  }
1411
1410
  var tmp_2 = orEmptyString_0(tmp_1);
1412
- var tmp_3 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
1411
+ var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1413
1412
  var tmp$ret$5;
1414
1413
  // Inline function 'kotlin.takeIf' call
1415
- var tmp1_takeIf = _this__u8e3s4.ni_1;
1414
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
1416
1415
  // Inline function 'kotlin.contracts.contract' call
1417
1416
  var tmp_4;
1418
1417
  var tmp$ret$4;
1419
1418
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1420
- tmp$ret$4 = !Companion_getInstance_2().fk(tmp1_takeIf);
1419
+ tmp$ret$4 = !Companion_getInstance_2().gk(tmp1_takeIf);
1421
1420
  if (tmp$ret$4) {
1422
1421
  tmp_4 = tmp1_takeIf;
1423
1422
  } else {
@@ -1445,12 +1444,12 @@
1445
1444
  Companion_getInstance_2();
1446
1445
  var tmp$ret$9;
1447
1446
  // Inline function 'kotlin.takeIf' call
1448
- var tmp2_takeIf = _this__u8e3s4.ni_1;
1447
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
1449
1448
  // Inline function 'kotlin.contracts.contract' call
1450
1449
  var tmp_6;
1451
1450
  var tmp$ret$8;
1452
1451
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1453
- tmp$ret$8 = Companion_getInstance_2().fk(tmp2_takeIf);
1452
+ tmp$ret$8 = Companion_getInstance_2().gk(tmp2_takeIf);
1454
1453
  if (tmp$ret$8) {
1455
1454
  tmp_6 = tmp2_takeIf;
1456
1455
  } else {
@@ -1467,7 +1466,7 @@
1467
1466
  // Inline function 'kotlin.contracts.contract' call
1468
1467
  var tmp$ret$10;
1469
1468
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1470
- tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1469
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1471
1470
  tmp$ret$11 = tmp$ret$10;
1472
1471
  tmp_7 = tmp$ret$11;
1473
1472
  }
@@ -1476,22 +1475,22 @@
1476
1475
  Companion_getInstance_2();
1477
1476
  Companion_getInstance_2();
1478
1477
  Companion_getInstance_2();
1479
- var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1480
- var tmp_10 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1478
+ var tmp_9 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1479
+ var tmp_10 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1481
1480
  Companion_getInstance_2();
1482
1481
  Companion_getInstance_2();
1483
1482
  Companion_getInstance_2();
1484
1483
  Companion_getInstance_2();
1485
- var tmp_11 = Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
1486
- var tmp_12 = emitContentType_0(_this__u8e3s4.oi_1);
1484
+ var tmp_11 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1485
+ var tmp_12 = emitContentType_0(_this__u8e3s4.pi_1);
1487
1486
  var tmp$ret$13;
1488
1487
  // Inline function 'kotlin.takeIf' call
1489
- var tmp3_takeIf = _this__u8e3s4.ni_1;
1488
+ var tmp3_takeIf = _this__u8e3s4.oi_1;
1490
1489
  // Inline function 'kotlin.contracts.contract' call
1491
1490
  var tmp_13;
1492
1491
  var tmp$ret$12;
1493
1492
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1494
- tmp$ret$12 = !Companion_getInstance_2().fk(tmp3_takeIf);
1493
+ tmp$ret$12 = !Companion_getInstance_2().gk(tmp3_takeIf);
1495
1494
  if (tmp$ret$12) {
1496
1495
  tmp_13 = tmp3_takeIf;
1497
1496
  } else {
@@ -1512,13 +1511,13 @@
1512
1511
  tmp$ret$15 = tmp$ret$14;
1513
1512
  tmp_14 = tmp$ret$15;
1514
1513
  }
1515
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.oi_1.xh_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>())\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1514
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.pi_1.yh_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>())\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1516
1515
  }
1517
1516
  return tmp;
1518
1517
  }
1519
1518
  function Companion() {
1520
1519
  Companion_instance = this;
1521
- this.kk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1520
+ this.lk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1522
1521
  }
1523
1522
  var Companion_instance;
1524
1523
  function Companion_getInstance_0() {
@@ -1528,30 +1527,30 @@
1528
1527
  }
1529
1528
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1530
1529
  return function () {
1531
- return trimMargin('|data class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |');
1530
+ return trimMargin('|data class ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |)\n |');
1532
1531
  };
1533
1532
  }
1534
1533
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1535
1534
  return function (it) {
1536
1535
  Companion_getInstance_2();
1537
- return ' ' + 'val ' + this$0.yi(it);
1536
+ return ' ' + 'val ' + this$0.zi(it);
1538
1537
  };
1539
1538
  }
1540
1539
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1541
1540
  return function () {
1542
- return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1541
+ return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1543
1542
  };
1544
1543
  }
1545
1544
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1546
1545
  return function () {
1547
- return this$0.dj($this_emit.aj_1) + ': ' + this$0.ei($this_emit.bj_1) + ($this_emit.cj_1 ? '? = null' : '');
1546
+ return this$0.ej($this_emit.bj_1) + ': ' + this$0.fi($this_emit.cj_1) + ($this_emit.dj_1 ? '? = null' : '');
1548
1547
  };
1549
1548
  }
1550
1549
  function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1551
1550
  return function () {
1552
1551
  var tmp$ret$2;
1553
1552
  // Inline function 'kotlin.collections.mapIndexed' call
1554
- var tmp1_mapIndexed = split($this_emit.ej_1, ['-']);
1553
+ var tmp1_mapIndexed = split($this_emit.fj_1, ['-']);
1555
1554
  var tmp$ret$1;
1556
1555
  // Inline function 'kotlin.collections.mapIndexedTo' call
1557
1556
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_mapIndexed, 10));
@@ -1564,12 +1563,12 @@
1564
1563
  var tmp1 = index;
1565
1564
  index = tmp1 + 1 | 0;
1566
1565
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1567
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().qi(item) : item;
1566
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().ri(item) : item;
1568
1567
  tmp0_mapIndexedTo.a(tmp$ret$0);
1569
1568
  }
1570
1569
  tmp$ret$1 = tmp0_mapIndexedTo;
1571
1570
  tmp$ret$2 = tmp$ret$1;
1572
- return this$0.lk(joinToString(tmp$ret$2, ''));
1571
+ return this$0.mk(joinToString(tmp$ret$2, ''));
1573
1572
  };
1574
1573
  }
1575
1574
  function KotlinEmitter$emit$lambda_3($this_emit) {
@@ -1584,10 +1583,10 @@
1584
1583
  tmp = 'Any';
1585
1584
  } else {
1586
1585
  if (tmp0_subject instanceof Custom) {
1587
- tmp = $this_emit.ij_1;
1586
+ tmp = $this_emit.jj_1;
1588
1587
  } else {
1589
1588
  if (tmp0_subject instanceof Primitive) {
1590
- var tmp1_subject = $this_emit.fj_1;
1589
+ var tmp1_subject = $this_emit.gj_1;
1591
1590
  var tmp0 = tmp1_subject.q4_1;
1592
1591
  var tmp_0;
1593
1592
  switch (tmp0) {
@@ -1614,13 +1613,13 @@
1614
1613
  // Inline function 'kotlin.contracts.contract' call
1615
1614
  var tmp$ret$0;
1616
1615
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1617
- tmp$ret$0 = $this_emit.ri() ? 'List<' + tmp0_let + '>' : tmp0_let;
1616
+ tmp$ret$0 = $this_emit.si() ? 'List<' + tmp0_let + '>' : tmp0_let;
1618
1617
  tmp$ret$1 = tmp$ret$0;
1619
1618
  var tmp1_let = tmp$ret$1;
1620
1619
  // Inline function 'kotlin.contracts.contract' call
1621
1620
  var tmp$ret$2;
1622
1621
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1623
- tmp$ret$2 = $this_emit.mk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1622
+ tmp$ret$2 = $this_emit.nk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1624
1623
  tmp$ret$3 = tmp$ret$2;
1625
1624
  return tmp$ret$3;
1626
1625
  };
@@ -1638,7 +1637,7 @@
1638
1637
  }
1639
1638
  function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1640
1639
  return function (it) {
1641
- return this$0.lk(invoke$sanitize_0(it)) + '("' + it + '")';
1640
+ return this$0.mk(invoke$sanitize_0(it)) + '("' + it + '")';
1642
1641
  };
1643
1642
  }
1644
1643
  function KotlinEmitter$emit$lambda_4($this_emit, this$0) {
@@ -1646,34 +1645,34 @@
1646
1645
  Companion_getInstance_2();
1647
1646
  Companion_getInstance_2();
1648
1647
  var tmp = ',\n' + ' ';
1649
- return 'enum class ' + $this_emit.lj_1 + ' (val label: String){\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0)) + '\n}\n';
1648
+ return 'enum class ' + $this_emit.mj_1 + ' (val label: String){\n' + ' ' + joinToString($this_emit.nj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0)) + '\n}\n';
1650
1649
  };
1651
1650
  }
1652
1651
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1653
1652
  return function () {
1654
- return trimMargin('data class ' + $this_emit.nj_1 + '(val value: String)\n |fun ' + $this_emit.nj_1 + '.validate() = ' + this$0.pj($this_emit.oj_1) + '\n |');
1653
+ return trimMargin('data class ' + $this_emit.oj_1 + '(val value: String)\n |fun ' + $this_emit.oj_1 + '.validate() = ' + this$0.qj($this_emit.pj_1) + '\n |');
1655
1654
  };
1656
1655
  }
1657
1656
  function KotlinEmitter$emit$lambda_6($this_emit) {
1658
1657
  return function () {
1659
- return 'Regex(' + $this_emit.qj_1 + ').find(value)';
1658
+ return 'Regex(' + $this_emit.rj_1 + ').find(value)';
1660
1659
  };
1661
1660
  }
1662
1661
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1663
1662
  return function (it) {
1664
1663
  Companion_getInstance_2();
1665
- var tmp0_safe_receiver = it.wh_1;
1664
+ var tmp0_safe_receiver = it.xh_1;
1666
1665
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1667
1666
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1668
- var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.wh_1);
1669
- var tmp2_safe_receiver = it.wh_1;
1670
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.yh_1;
1671
- var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.ei(tmp3_safe_receiver);
1667
+ var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.xh_1);
1668
+ var tmp2_safe_receiver = it.xh_1;
1669
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.zh_1;
1670
+ var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.fi(tmp3_safe_receiver);
1672
1671
  var tmp_1 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1673
- var tmp_2 = emitPath_0($this_emit.hi_1, this$0);
1674
- var tmp_3 = emitMap_0($this_emit.ii_1, this$0);
1675
- var tmp_4 = emitMap_0($this_emit.ji_1, this$0);
1676
- var tmp5_safe_receiver = it.wh_1;
1672
+ var tmp_2 = emitPath_0($this_emit.ii_1, this$0);
1673
+ var tmp_3 = emitMap_0($this_emit.ji_1, this$0);
1674
+ var tmp_4 = emitMap_0($this_emit.ki_1, this$0);
1675
+ var tmp5_safe_receiver = it.xh_1;
1677
1676
  var tmp_5;
1678
1677
  if (tmp5_safe_receiver == null) {
1679
1678
  tmp_5 = null;
@@ -1683,12 +1682,12 @@
1683
1682
  // Inline function 'kotlin.contracts.contract' call
1684
1683
  var tmp$ret$0;
1685
1684
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1686
- tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.xh_1 + '", body)';
1685
+ tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.yh_1 + '", body)';
1687
1686
  tmp$ret$1 = tmp$ret$0;
1688
1687
  tmp_5 = tmp$ret$1;
1689
1688
  }
1690
1689
  var tmp6_elvis_lhs = tmp_5;
1691
- return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.gi_1.p4_1 + '; override val query = mapOf<String, List<Any?>>(' + tmp_3 + '); override val headers = mapOf<String, List<Any?>>(' + tmp_4 + '); override val content = ' + (tmp6_elvis_lhs == null ? 'null' : tmp6_elvis_lhs) + '}';
1690
+ return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.hi_1.p4_1 + '; override val query = mapOf<String, List<Any?>>(' + tmp_3 + '); override val headers = mapOf<String, List<Any?>>(' + tmp_4 + '); override val content = ' + (tmp6_elvis_lhs == null ? 'null' : tmp6_elvis_lhs) + '}';
1692
1691
  };
1693
1692
  }
1694
1693
  function KotlinEmitter$emit$lambda$lambda_2(it) {
@@ -1702,10 +1701,10 @@
1702
1701
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1703
1702
  return function (it) {
1704
1703
  Companion_getInstance_2();
1705
- var tmp0_safe_receiver = it.oi_1;
1704
+ var tmp0_safe_receiver = it.pi_1;
1706
1705
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1707
1706
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1708
- var tmp2_safe_receiver = it.oi_1;
1707
+ var tmp2_safe_receiver = it.pi_1;
1709
1708
  var tmp_0;
1710
1709
  if (tmp2_safe_receiver == null) {
1711
1710
  tmp_0 = null;
@@ -1715,17 +1714,17 @@
1715
1714
  // Inline function 'kotlin.contracts.contract' call
1716
1715
  var tmp$ret$0;
1717
1716
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1718
- tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1717
+ tmp$ret$0 = ', body: ' + this$0.fi(tmp2_safe_receiver.zh_1);
1719
1718
  tmp$ret$1 = tmp$ret$0;
1720
1719
  tmp_0 = tmp$ret$1;
1721
1720
  }
1722
1721
  var tmp3_elvis_lhs = tmp_0;
1723
1722
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1724
- var tmp4_safe_receiver = it.oi_1;
1725
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1726
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.ei(tmp5_safe_receiver);
1723
+ var tmp4_safe_receiver = it.pi_1;
1724
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
1725
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.fi(tmp5_safe_receiver);
1727
1726
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1728
- var tmp7_safe_receiver = it.oi_1;
1727
+ var tmp7_safe_receiver = it.pi_1;
1729
1728
  var tmp_3;
1730
1729
  if (tmp7_safe_receiver == null) {
1731
1730
  tmp_3 = null;
@@ -1735,22 +1734,22 @@
1735
1734
  // Inline function 'kotlin.contracts.contract' call
1736
1735
  var tmp$ret$2;
1737
1736
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1738
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1737
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1739
1738
  tmp$ret$3 = tmp$ret$2;
1740
1739
  tmp_3 = tmp$ret$3;
1741
1740
  }
1742
1741
  var tmp8_elvis_lhs = tmp_3;
1743
- return ' ' + 'class Response' + it.ni_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.ni_1 + '<' + tmp_2 + '> { override val status = ' + it.ni_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1742
+ return ' ' + 'class Response' + it.oi_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.oi_1 + '<' + tmp_2 + '> { override val status = ' + it.oi_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1744
1743
  };
1745
1744
  }
1746
1745
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1747
1746
  return function (it) {
1748
1747
  Companion_getInstance_2();
1749
- var tmp = Companion_getInstance_2().qi(it.ni_1);
1750
- var tmp0_safe_receiver = it.oi_1;
1748
+ var tmp = Companion_getInstance_2().ri(it.oi_1);
1749
+ var tmp0_safe_receiver = it.pi_1;
1751
1750
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1752
1751
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1753
- var tmp2_safe_receiver = it.oi_1;
1752
+ var tmp2_safe_receiver = it.pi_1;
1754
1753
  var tmp_1;
1755
1754
  if (tmp2_safe_receiver == null) {
1756
1755
  tmp_1 = null;
@@ -1760,18 +1759,18 @@
1760
1759
  // Inline function 'kotlin.contracts.contract' call
1761
1760
  var tmp$ret$0;
1762
1761
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1763
- tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1762
+ tmp$ret$0 = ', body: ' + this$0.fi(tmp2_safe_receiver.zh_1);
1764
1763
  tmp$ret$1 = tmp$ret$0;
1765
1764
  tmp_1 = tmp$ret$1;
1766
1765
  }
1767
1766
  var tmp3_elvis_lhs = tmp_1;
1768
1767
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1769
- var tmp_3 = Companion_getInstance_2().qi(it.ni_1);
1770
- var tmp4_safe_receiver = it.oi_1;
1771
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1772
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.ei(tmp5_safe_receiver);
1768
+ var tmp_3 = Companion_getInstance_2().ri(it.oi_1);
1769
+ var tmp4_safe_receiver = it.pi_1;
1770
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
1771
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.fi(tmp5_safe_receiver);
1773
1772
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1774
- var tmp7_safe_receiver = it.oi_1;
1773
+ var tmp7_safe_receiver = it.pi_1;
1775
1774
  var tmp_5;
1776
1775
  if (tmp7_safe_receiver == null) {
1777
1776
  tmp_5 = null;
@@ -1781,7 +1780,7 @@
1781
1780
  // Inline function 'kotlin.contracts.contract' call
1782
1781
  var tmp$ret$2;
1783
1782
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1784
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1783
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1785
1784
  tmp$ret$3 = tmp$ret$2;
1786
1785
  tmp_5 = tmp$ret$3;
1787
1786
  }
@@ -1792,11 +1791,11 @@
1792
1791
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1793
1792
  return function () {
1794
1793
  Companion_getInstance_2();
1795
- var tmp = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1794
+ var tmp = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1796
1795
  Companion_getInstance_2();
1797
1796
  var tmp$ret$2;
1798
1797
  // Inline function 'kotlin.collections.map' call
1799
- var tmp1_map = $this_emit.mi_1;
1798
+ var tmp1_map = $this_emit.ni_1;
1800
1799
  var tmp$ret$1;
1801
1800
  // Inline function 'kotlin.collections.mapTo' call
1802
1801
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1805,7 +1804,7 @@
1805
1804
  var item = tmp0_iterator.e();
1806
1805
  var tmp$ret$0;
1807
1806
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1808
- tmp$ret$0 = groupStatus_0(item.ni_1);
1807
+ tmp$ret$0 = groupStatus_0(item.oi_1);
1809
1808
  tmp0_mapTo.a(tmp$ret$0);
1810
1809
  }
1811
1810
  tmp$ret$1 = tmp0_mapTo;
@@ -1816,7 +1815,7 @@
1816
1815
  // Inline function 'kotlin.collections.map' call
1817
1816
  var tmp$ret$5;
1818
1817
  // Inline function 'kotlin.collections.filter' call
1819
- var tmp3_filter = $this_emit.mi_1;
1818
+ var tmp3_filter = $this_emit.ni_1;
1820
1819
  var tmp$ret$4;
1821
1820
  // Inline function 'kotlin.collections.filterTo' call
1822
1821
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1825,7 +1824,7 @@
1825
1824
  var element = tmp0_iterator_0.e();
1826
1825
  var tmp$ret$3;
1827
1826
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1828
- tmp$ret$3 = Companion_getInstance_2().fk(element.ni_1);
1827
+ tmp$ret$3 = Companion_getInstance_2().gk(element.oi_1);
1829
1828
  if (tmp$ret$3) {
1830
1829
  tmp2_filterTo.a(element);
1831
1830
  }
@@ -1841,7 +1840,7 @@
1841
1840
  var item_0 = tmp0_iterator_1.e();
1842
1841
  var tmp$ret$6;
1843
1842
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1844
- tmp$ret$6 = item_0.ni_1;
1843
+ tmp$ret$6 = item_0.oi_1;
1845
1844
  tmp4_mapTo.a(tmp$ret$6);
1846
1845
  }
1847
1846
  tmp$ret$7 = tmp4_mapTo;
@@ -1852,7 +1851,7 @@
1852
1851
  // Inline function 'kotlin.collections.distinctBy' call
1853
1852
  var tmp$ret$11;
1854
1853
  // Inline function 'kotlin.collections.filter' call
1855
- var tmp7_filter = $this_emit.mi_1;
1854
+ var tmp7_filter = $this_emit.ni_1;
1856
1855
  var tmp$ret$10;
1857
1856
  // Inline function 'kotlin.collections.filterTo' call
1858
1857
  var tmp6_filterTo = ArrayList_init_$Create$();
@@ -1861,7 +1860,7 @@
1861
1860
  var element_0 = tmp0_iterator_2.e();
1862
1861
  var tmp$ret$9;
1863
1862
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1864
- tmp$ret$9 = Companion_getInstance_2().fk(element_0.ni_1);
1863
+ tmp$ret$9 = Companion_getInstance_2().gk(element_0.oi_1);
1865
1864
  if (tmp$ret$9) {
1866
1865
  tmp6_filterTo.a(element_0);
1867
1866
  }
@@ -1876,8 +1875,8 @@
1876
1875
  var e = tmp0_iterator_3.e();
1877
1876
  var tmp$ret$12;
1878
1877
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1879
- var tmp0_safe_receiver = e.oi_1;
1880
- tmp$ret$12 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1878
+ var tmp0_safe_receiver = e.pi_1;
1879
+ tmp$ret$12 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1881
1880
  var key = tmp$ret$12;
1882
1881
  if (set.a(key)) {
1883
1882
  list.a(e);
@@ -1890,7 +1889,7 @@
1890
1889
  // Inline function 'kotlin.collections.distinctBy' call
1891
1890
  var tmp$ret$16;
1892
1891
  // Inline function 'kotlin.collections.filter' call
1893
- var tmp10_filter = $this_emit.mi_1;
1892
+ var tmp10_filter = $this_emit.ni_1;
1894
1893
  var tmp$ret$15;
1895
1894
  // Inline function 'kotlin.collections.filterTo' call
1896
1895
  var tmp9_filterTo = ArrayList_init_$Create$();
@@ -1899,7 +1898,7 @@
1899
1898
  var element_1 = tmp0_iterator_4.e();
1900
1899
  var tmp$ret$14;
1901
1900
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1902
- tmp$ret$14 = !Companion_getInstance_2().fk(element_1.ni_1);
1901
+ tmp$ret$14 = !Companion_getInstance_2().gk(element_1.oi_1);
1903
1902
  if (tmp$ret$14) {
1904
1903
  tmp9_filterTo.a(element_1);
1905
1904
  }
@@ -1914,8 +1913,8 @@
1914
1913
  var e_0 = tmp0_iterator_5.e();
1915
1914
  var tmp$ret$17;
1916
1915
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1917
- var tmp0_safe_receiver_0 = e_0.oi_1;
1918
- tmp$ret$17 = to(e_0.ni_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.xh_1);
1916
+ var tmp0_safe_receiver_0 = e_0.pi_1;
1917
+ tmp$ret$17 = to(e_0.oi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.yh_1);
1919
1918
  var key_0 = tmp$ret$17;
1920
1919
  if (set_0.a(key_0)) {
1921
1920
  list_0.a(e_0);
@@ -1924,33 +1923,33 @@
1924
1923
  tmp$ret$18 = list_0;
1925
1924
  var tmp_6 = tmp$ret$18;
1926
1925
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1927
- var tmp_8 = Companion_getInstance_2().rj($this_emit.fi_1);
1926
+ var tmp_8 = Companion_getInstance_2().sj($this_emit.gi_1);
1928
1927
  Companion_getInstance_2();
1929
1928
  Companion_getInstance_2();
1930
1929
  Companion_getInstance_2();
1931
- var tmp_9 = emitSegment_0($this_emit.hi_1, this$0);
1930
+ var tmp_9 = emitSegment_0($this_emit.ii_1, this$0);
1932
1931
  Companion_getInstance_2();
1933
1932
  Companion_getInstance_2();
1934
- var tmp_10 = emitResponseMapper_0($this_emit.mi_1, this$0);
1933
+ var tmp_10 = emitResponseMapper_0($this_emit.ni_1, this$0);
1935
1934
  Companion_getInstance_2();
1936
1935
  Companion_getInstance_2();
1937
1936
  Companion_getInstance_2();
1938
- return trimMargin('interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1937
+ return trimMargin('interface ' + $this_emit.gi_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1939
1938
  };
1940
1939
  }
1941
1940
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1942
1941
  return function (it) {
1943
- return this$0.yi(it);
1942
+ return this$0.zi(it);
1944
1943
  };
1945
1944
  }
1946
1945
  function KotlinEmitter$emitSegment$lambda(it) {
1947
1946
  var tmp0_subject = it;
1948
1947
  var tmp;
1949
1948
  if (tmp0_subject instanceof Param) {
1950
- tmp = '{' + it.ti_1.ej_1 + '}';
1949
+ tmp = '{' + it.ui_1.fj_1 + '}';
1951
1950
  } else {
1952
1951
  if (tmp0_subject instanceof Literal) {
1953
- tmp = it.sj_1;
1952
+ tmp = it.tj_1;
1954
1953
  } else {
1955
1954
  noWhenBranchMatchedException();
1956
1955
  }
@@ -1959,7 +1958,7 @@
1959
1958
  }
1960
1959
  function KotlinEmitter$emitMap$lambda(this$0) {
1961
1960
  return function (it) {
1962
- return '"' + this$0.dj(it.aj_1) + '" to listOf(' + this$0.dj(it.aj_1) + ')';
1961
+ return '"' + this$0.ej(it.bj_1) + '" to listOf(' + this$0.ej(it.bj_1) + ')';
1963
1962
  };
1964
1963
  }
1965
1964
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1967,10 +1966,10 @@
1967
1966
  var tmp0_subject = $this_emit;
1968
1967
  var tmp;
1969
1968
  if (tmp0_subject instanceof Literal) {
1970
- tmp = $this_emit.sj_1;
1969
+ tmp = $this_emit.tj_1;
1971
1970
  } else {
1972
1971
  if (tmp0_subject instanceof Param) {
1973
- tmp = '${' + $this_emit.ti_1.ej_1 + '}';
1972
+ tmp = '${' + $this_emit.ui_1.fj_1 + '}';
1974
1973
  } else {
1975
1974
  noWhenBranchMatchedException();
1976
1975
  }
@@ -1998,19 +1997,19 @@
1998
1997
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1999
1998
  logger = logger === VOID ? get_noLogger() : logger;
2000
1999
  Emitter.call(this, logger);
2001
- this.ik_1 = packageName;
2000
+ this.jk_1 = packageName;
2002
2001
  var tmp = this;
2003
2002
  Companion_getInstance_2();
2004
2003
  Companion_getInstance_2();
2005
2004
  Companion_getInstance_2();
2006
2005
  Companion_getInstance_2();
2007
2006
  Companion_getInstance_2();
2008
- tmp.jk_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
2007
+ tmp.kk_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 ');
2009
2008
  }
2010
- protoOf(KotlinEmitter).sh = function (ast) {
2009
+ protoOf(KotlinEmitter).th = function (ast) {
2011
2010
  var tmp$ret$3;
2012
2011
  // Inline function 'kotlin.collections.map' call
2013
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2012
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2014
2013
  var tmp$ret$2;
2015
2014
  // Inline function 'kotlin.collections.mapTo' call
2016
2015
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2023,7 +2022,7 @@
2023
2022
  var result = item.j3();
2024
2023
  var tmp$ret$0;
2025
2024
  // Inline function 'kotlin.text.trimStart' call
2026
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.ik_1) ? '' : 'package ' + this.ik_1) + '\n |' + (Companion_getInstance_2().nk(ast) ? this.jk_1 : '') + '\n |' + result + '\n ');
2025
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.jk_1) ? '' : 'package ' + this.jk_1) + '\n |' + (Companion_getInstance_2().ok(ast) ? this.kk_1 : '') + '\n |' + result + '\n ');
2027
2026
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2028
2027
  tmp$ret$1 = to(name, tmp$ret$0);
2029
2028
  tmp0_mapTo.a(tmp$ret$1);
@@ -2032,46 +2031,46 @@
2032
2031
  tmp$ret$3 = tmp$ret$2;
2033
2032
  return tmp$ret$3;
2034
2033
  };
2035
- protoOf(KotlinEmitter).tj = function (_this__u8e3s4) {
2036
- return this.uj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2037
- };
2038
- protoOf(KotlinEmitter).xi = function (_this__u8e3s4) {
2039
- return this.vj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2034
+ protoOf(KotlinEmitter).uj = function (_this__u8e3s4) {
2035
+ return this.vj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2040
2036
  };
2041
2037
  protoOf(KotlinEmitter).yi = function (_this__u8e3s4) {
2042
- return this.wj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2038
+ return this.wj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2043
2039
  };
2044
- protoOf(KotlinEmitter).dj = function (_this__u8e3s4) {
2045
- return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2040
+ protoOf(KotlinEmitter).zi = function (_this__u8e3s4) {
2041
+ return this.xj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2046
2042
  };
2047
- protoOf(KotlinEmitter).ei = function (_this__u8e3s4) {
2048
- return this.vh(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2043
+ protoOf(KotlinEmitter).ej = function (_this__u8e3s4) {
2044
+ return this.yj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2049
2045
  };
2050
- protoOf(KotlinEmitter).yj = function (_this__u8e3s4) {
2051
- return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2046
+ protoOf(KotlinEmitter).fi = function (_this__u8e3s4) {
2047
+ return this.wh(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2052
2048
  };
2053
- protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2054
- return this.bk(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2049
+ protoOf(KotlinEmitter).zj = function (_this__u8e3s4) {
2050
+ return this.ak(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2055
2051
  };
2056
- protoOf(KotlinEmitter).pj = function (_this__u8e3s4) {
2057
- return this.ck(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2052
+ protoOf(KotlinEmitter).bk = function (_this__u8e3s4) {
2053
+ return this.ck(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2058
2054
  };
2059
- protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2060
- return this.ek(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2055
+ protoOf(KotlinEmitter).qj = function (_this__u8e3s4) {
2056
+ return this.dk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2061
2057
  };
2062
- protoOf(KotlinEmitter).lk = function (_this__u8e3s4) {
2063
- return Companion_getInstance_0().kk_1.i1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2058
+ protoOf(KotlinEmitter).ek = function (_this__u8e3s4) {
2059
+ return this.fk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2060
+ };
2061
+ protoOf(KotlinEmitter).mk = function (_this__u8e3s4) {
2062
+ return Companion_getInstance_0().lk_1.i1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2064
2063
  };
2065
2064
  function toField(_this__u8e3s4, identifier, isNullable) {
2066
2065
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2067
2066
  }
2068
2067
  function emitContentType_0(_this__u8e3s4) {
2069
- var tmp = split(_this__u8e3s4.xh_1, ['/', '-']);
2068
+ var tmp = split(_this__u8e3s4.yh_1, ['/', '-']);
2070
2069
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2071
2070
  }
2072
2071
  function groupStatus_0(_this__u8e3s4) {
2073
2072
  var tmp;
2074
- if (Companion_getInstance_2().fk(_this__u8e3s4)) {
2073
+ if (Companion_getInstance_2().gk(_this__u8e3s4)) {
2075
2074
  var tmp$ret$1;
2076
2075
  // Inline function 'kotlin.text.substring' call
2077
2076
  var tmp$ret$0;
@@ -2080,7 +2079,7 @@
2080
2079
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2081
2080
  tmp = tmp$ret$1 + 'XX';
2082
2081
  } else {
2083
- tmp = Companion_getInstance_2().qi(_this__u8e3s4);
2082
+ tmp = Companion_getInstance_2().ri(_this__u8e3s4);
2084
2083
  }
2085
2084
  return tmp;
2086
2085
  }
@@ -2089,11 +2088,11 @@
2089
2088
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2090
2089
  }
2091
2090
  function emitContentType$lambda(it) {
2092
- return Companion_getInstance_2().qi(it);
2091
+ return Companion_getInstance_2().ri(it);
2093
2092
  }
2094
2093
  function Companion_0() {
2095
2094
  Companion_instance_0 = this;
2096
- this.ok_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2095
+ this.pk_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']);
2097
2096
  }
2098
2097
  var Companion_instance_0;
2099
2098
  function Companion_getInstance_1() {
@@ -2103,28 +2102,28 @@
2103
2102
  }
2104
2103
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2105
2104
  return function () {
2106
- return trimMargin('case class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |\n |');
2105
+ return trimMargin('case class ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |)\n |\n |');
2107
2106
  };
2108
2107
  }
2109
2108
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2110
2109
  return function (it) {
2111
- return this$0.yi(it);
2110
+ return this$0.zi(it);
2112
2111
  };
2113
2112
  }
2114
2113
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2115
2114
  return function () {
2116
- return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2115
+ return dropLast(joinToString($this_emit.aj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2117
2116
  };
2118
2117
  }
2119
2118
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2120
2119
  return function () {
2121
2120
  Companion_getInstance_2();
2122
- return ' ' + 'val ' + this$0.dj($this_emit.aj_1) + ': ' + ($this_emit.cj_1 ? 'Option[' + this$0.ei($this_emit.bj_1) + ']' : this$0.ei($this_emit.bj_1)) + ',';
2121
+ return ' ' + 'val ' + this$0.ej($this_emit.bj_1) + ': ' + ($this_emit.dj_1 ? 'Option[' + this$0.fi($this_emit.cj_1) + ']' : this$0.fi($this_emit.cj_1)) + ',';
2123
2122
  };
2124
2123
  }
2125
2124
  function ScalaEmitter$emit$lambda_2($this_emit) {
2126
2125
  return function () {
2127
- return Companion_getInstance_1().ok_1.i1($this_emit.ej_1) ? '`' + $this_emit.ej_1 + '`' : $this_emit.ej_1;
2126
+ return Companion_getInstance_1().pk_1.i1($this_emit.fj_1) ? '`' + $this_emit.fj_1 + '`' : $this_emit.fj_1;
2128
2127
  };
2129
2128
  }
2130
2129
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2137,10 +2136,10 @@
2137
2136
  tmp = 'Any';
2138
2137
  } else {
2139
2138
  if (tmp0_subject instanceof Custom) {
2140
- tmp = $this_emit.ij_1;
2139
+ tmp = $this_emit.jj_1;
2141
2140
  } else {
2142
2141
  if (tmp0_subject instanceof Primitive) {
2143
- var tmp1_subject = $this_emit.fj_1;
2142
+ var tmp1_subject = $this_emit.gj_1;
2144
2143
  var tmp0 = tmp1_subject.q4_1;
2145
2144
  var tmp_0;
2146
2145
  switch (tmp0) {
@@ -2167,7 +2166,7 @@
2167
2166
  // Inline function 'kotlin.contracts.contract' call
2168
2167
  var tmp$ret$0;
2169
2168
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2170
- tmp$ret$0 = $this_emit.ri() ? 'List[' + tmp0_let + ']' : tmp0_let;
2169
+ tmp$ret$0 = $this_emit.si() ? 'List[' + tmp0_let + ']' : tmp0_let;
2171
2170
  tmp$ret$1 = tmp$ret$0;
2172
2171
  return tmp$ret$1;
2173
2172
  };
@@ -2193,20 +2192,20 @@
2193
2192
  // Inline function 'kotlin.js.asDynamic' call
2194
2193
  tmp$ret$0 = tmp0_uppercase;
2195
2194
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2196
- return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.lj_1 + '(label = "' + it + '")';
2195
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.mj_1 + '(label = "' + it + '")';
2197
2196
  };
2198
2197
  }
2199
2198
  function ScalaEmitter$emit$lambda_4($this_emit) {
2200
2199
  return function () {
2201
- return trimMargin('\n |sealed abstract class ' + $this_emit.lj_1 + '(val label: String)\n |object ' + $this_emit.lj_1 + ' {\n |' + joinToString($this_emit.mj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2200
+ return trimMargin('\n |sealed abstract class ' + $this_emit.mj_1 + '(val label: String)\n |object ' + $this_emit.mj_1 + ' {\n |' + joinToString($this_emit.nj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2202
2201
  };
2203
2202
  }
2204
2203
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2205
2204
  return function () {
2206
2205
  Companion_getInstance_2();
2207
- var tmp = this$0.pj($this_emit.oj_1);
2206
+ var tmp = this$0.qj($this_emit.pj_1);
2208
2207
  Companion_getInstance_2();
2209
- return trimMargin('case class ' + $this_emit.nj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.nj_1 + 'Ops(val that: ' + $this_emit.nj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2208
+ return trimMargin('case class ' + $this_emit.oj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.oj_1 + 'Ops(val that: ' + $this_emit.oj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2210
2209
  };
2211
2210
  }
2212
2211
  function ScalaEmitter$emit$lambda_6($this_emit) {
@@ -2215,7 +2214,7 @@
2215
2214
  Companion_getInstance_2();
2216
2215
  Companion_getInstance_2();
2217
2216
  Companion_getInstance_2();
2218
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.qj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2217
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.rj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2219
2218
  };
2220
2219
  }
2221
2220
  function ScalaEmitter$emit$lambda_7() {
@@ -2226,12 +2225,12 @@
2226
2225
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2227
2226
  logger = logger === VOID ? get_noLogger() : logger;
2228
2227
  Emitter.call(this, logger);
2229
- this.rk_1 = packageName;
2228
+ this.sk_1 = packageName;
2230
2229
  }
2231
- protoOf(ScalaEmitter).sh = function (ast) {
2230
+ protoOf(ScalaEmitter).th = function (ast) {
2232
2231
  var tmp$ret$2;
2233
2232
  // Inline function 'kotlin.collections.map' call
2234
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2233
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2235
2234
  var tmp$ret$1;
2236
2235
  // Inline function 'kotlin.collections.mapTo' call
2237
2236
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2242,54 +2241,54 @@
2242
2241
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2243
2242
  var name = item.i3();
2244
2243
  var result = item.j3();
2245
- tmp$ret$0 = to(name, isBlank(this.rk_1) ? '' : 'package ' + this.rk_1 + '\n\n' + result);
2244
+ tmp$ret$0 = to(name, isBlank(this.sk_1) ? '' : 'package ' + this.sk_1 + '\n\n' + result);
2246
2245
  tmp0_mapTo.a(tmp$ret$0);
2247
2246
  }
2248
2247
  tmp$ret$1 = tmp0_mapTo;
2249
2248
  tmp$ret$2 = tmp$ret$1;
2250
2249
  return tmp$ret$2;
2251
2250
  };
2252
- protoOf(ScalaEmitter).tj = function (_this__u8e3s4) {
2253
- return this.uj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2254
- };
2255
- protoOf(ScalaEmitter).xi = function (_this__u8e3s4) {
2256
- return this.vj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2251
+ protoOf(ScalaEmitter).uj = function (_this__u8e3s4) {
2252
+ return this.vj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2257
2253
  };
2258
2254
  protoOf(ScalaEmitter).yi = function (_this__u8e3s4) {
2259
- return this.wj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2255
+ return this.wj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2256
+ };
2257
+ protoOf(ScalaEmitter).zi = function (_this__u8e3s4) {
2258
+ return this.xj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2260
2259
  };
2261
- protoOf(ScalaEmitter).dj = function (_this__u8e3s4) {
2262
- return this.xj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2260
+ protoOf(ScalaEmitter).ej = function (_this__u8e3s4) {
2261
+ return this.yj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2263
2262
  };
2264
- protoOf(ScalaEmitter).ei = function (_this__u8e3s4) {
2265
- return this.vh(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2263
+ protoOf(ScalaEmitter).fi = function (_this__u8e3s4) {
2264
+ return this.wh(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2266
2265
  };
2267
- protoOf(ScalaEmitter).yj = function (_this__u8e3s4) {
2268
- return this.zj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2266
+ protoOf(ScalaEmitter).zj = function (_this__u8e3s4) {
2267
+ return this.ak(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2269
2268
  };
2270
- protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2271
- return this.bk(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2269
+ protoOf(ScalaEmitter).bk = function (_this__u8e3s4) {
2270
+ return this.ck(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2272
2271
  };
2273
- protoOf(ScalaEmitter).pj = function (_this__u8e3s4) {
2274
- return this.ck(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2272
+ protoOf(ScalaEmitter).qj = function (_this__u8e3s4) {
2273
+ return this.dk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2275
2274
  };
2276
- protoOf(ScalaEmitter).dk = function (_this__u8e3s4) {
2277
- return this.ek(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_7);
2275
+ protoOf(ScalaEmitter).ek = function (_this__u8e3s4) {
2276
+ return this.fk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_7);
2278
2277
  };
2279
2278
  function emitType(_this__u8e3s4, $this) {
2280
2279
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2281
2280
  }
2282
2281
  function emitType_0(_this__u8e3s4, $this) {
2283
- return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2282
+ return $this.ti(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2284
2283
  }
2285
2284
  function emitName(_this__u8e3s4, $this) {
2286
- var tmp0_safe_receiver = _this__u8e3s4.wh_1;
2285
+ var tmp0_safe_receiver = _this__u8e3s4.xh_1;
2287
2286
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2288
2287
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2289
2288
  }
2290
2289
  function emitName_0(_this__u8e3s4, $this) {
2291
- var tmp = 'Response' + Companion_getInstance_2().qi(_this__u8e3s4.ni_1);
2292
- var tmp0_safe_receiver = _this__u8e3s4.oi_1;
2290
+ var tmp = 'Response' + Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
2291
+ var tmp0_safe_receiver = _this__u8e3s4.pi_1;
2293
2292
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2294
2293
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2295
2294
  }
@@ -2300,32 +2299,32 @@
2300
2299
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2301
2300
  }
2302
2301
  function emit_3(_this__u8e3s4, $this) {
2303
- return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2302
+ return $this.ti(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2304
2303
  }
2305
2304
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2306
2305
  return function () {
2307
- return trimMargin('export type ' + $this_emit.vi_1 + ' = {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |\n |');
2306
+ return trimMargin('export type ' + $this_emit.wi_1 + ' = {\n |' + this$0.yi($this_emit.xi_1) + '\n |}\n |\n |');
2308
2307
  };
2309
2308
  }
2310
2309
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2311
2310
  return function (it) {
2312
- return this$0.yi(it);
2311
+ return this$0.zi(it);
2313
2312
  };
2314
2313
  }
2315
2314
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2316
2315
  return function () {
2317
- return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2316
+ return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2318
2317
  };
2319
2318
  }
2320
2319
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2321
2320
  return function () {
2322
2321
  Companion_getInstance_2();
2323
- return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1);
2322
+ return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1);
2324
2323
  };
2325
2324
  }
2326
2325
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2327
2326
  return function () {
2328
- return $this_emit.ej_1;
2327
+ return $this_emit.fj_1;
2329
2328
  };
2330
2329
  }
2331
2330
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2340,10 +2339,10 @@
2340
2339
  tmp = 'any';
2341
2340
  } else {
2342
2341
  if (tmp0_subject instanceof Custom) {
2343
- tmp = $this_emit.ij_1;
2342
+ tmp = $this_emit.jj_1;
2344
2343
  } else {
2345
2344
  if (tmp0_subject instanceof Primitive) {
2346
- var tmp1_subject = $this_emit.fj_1;
2345
+ var tmp1_subject = $this_emit.gj_1;
2347
2346
  var tmp0 = tmp1_subject.q4_1;
2348
2347
  var tmp_0;
2349
2348
  switch (tmp0) {
@@ -2370,13 +2369,13 @@
2370
2369
  // Inline function 'kotlin.contracts.contract' call
2371
2370
  var tmp$ret$0;
2372
2371
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2373
- tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2372
+ tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2374
2373
  tmp$ret$1 = tmp$ret$0;
2375
2374
  var tmp1_let = tmp$ret$1;
2376
2375
  // Inline function 'kotlin.contracts.contract' call
2377
2376
  var tmp$ret$2;
2378
2377
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2379
- tmp$ret$2 = $this_emit.mk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2378
+ tmp$ret$2 = $this_emit.nk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2380
2379
  tmp$ret$3 = tmp$ret$2;
2381
2380
  return tmp$ret$3;
2382
2381
  };
@@ -2386,28 +2385,28 @@
2386
2385
  }
2387
2386
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2388
2387
  return function () {
2389
- return 'type ' + $this_emit.lj_1 + ' = ' + joinToString($this_emit.mj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2388
+ return 'type ' + $this_emit.mj_1 + ' = ' + joinToString($this_emit.nj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2390
2389
  };
2391
2390
  }
2392
2391
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2393
2392
  return function () {
2394
2393
  Companion_getInstance_2();
2395
- return trimMargin('type ' + $this_emit.nj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.nj_1 + ' = (type: ' + $this_emit.nj_1 + ') => (' + this$0.pj($this_emit.oj_1) + ').test(type.value);\n |\n |');
2394
+ return trimMargin('type ' + $this_emit.oj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.oj_1 + ' = (type: ' + $this_emit.oj_1 + ') => (' + this$0.qj($this_emit.pj_1) + ').test(type.value);\n |\n |');
2396
2395
  };
2397
2396
  }
2398
2397
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2399
2398
  return function () {
2400
- return "new RegExp('" + dropLast(drop($this_emit.qj_1, 1), 1) + "')";
2399
+ return "new RegExp('" + dropLast(drop($this_emit.rj_1, 1), 1) + "')";
2401
2400
  };
2402
2401
  }
2403
2402
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2404
2403
  return function (it) {
2405
2404
  Companion_getInstance_2();
2406
2405
  var tmp = emitName(it, this$0);
2407
- var tmp_0 = emitType($this_emit.hi_1, this$0);
2406
+ var tmp_0 = emitType($this_emit.ii_1, this$0);
2408
2407
  var tmp$ret$2;
2409
2408
  // Inline function 'kotlin.collections.map' call
2410
- var tmp1_map = $this_emit.ji_1;
2409
+ var tmp1_map = $this_emit.ki_1;
2411
2410
  var tmp$ret$1;
2412
2411
  // Inline function 'kotlin.collections.mapTo' call
2413
2412
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2416,7 +2415,7 @@
2416
2415
  var item = tmp0_iterator.e();
2417
2416
  var tmp$ret$0;
2418
2417
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2419
- tmp$ret$0 = this$0.yi(item);
2418
+ tmp$ret$0 = this$0.zi(item);
2420
2419
  tmp0_mapTo.a(tmp$ret$0);
2421
2420
  }
2422
2421
  tmp$ret$1 = tmp0_mapTo;
@@ -2424,7 +2423,7 @@
2424
2423
  var tmp_1 = joinToString(tmp$ret$2, ',');
2425
2424
  var tmp$ret$5;
2426
2425
  // Inline function 'kotlin.collections.map' call
2427
- var tmp3_map = $this_emit.ii_1;
2426
+ var tmp3_map = $this_emit.ji_1;
2428
2427
  var tmp$ret$4;
2429
2428
  // Inline function 'kotlin.collections.mapTo' call
2430
2429
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2433,13 +2432,13 @@
2433
2432
  var item_0 = tmp0_iterator_0.e();
2434
2433
  var tmp$ret$3;
2435
2434
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2436
- tmp$ret$3 = this$0.yi(item_0);
2435
+ tmp$ret$3 = this$0.zi(item_0);
2437
2436
  tmp2_mapTo.a(tmp$ret$3);
2438
2437
  }
2439
2438
  tmp$ret$4 = tmp2_mapTo;
2440
2439
  tmp$ret$5 = tmp$ret$4;
2441
2440
  var tmp_2 = joinToString(tmp$ret$5, ',');
2442
- var tmp0_safe_receiver = it.wh_1;
2441
+ var tmp0_safe_receiver = it.xh_1;
2443
2442
  var tmp_3;
2444
2443
  if (tmp0_safe_receiver == null) {
2445
2444
  tmp_3 = null;
@@ -2449,12 +2448,12 @@
2449
2448
  // Inline function 'kotlin.contracts.contract' call
2450
2449
  var tmp$ret$6;
2451
2450
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2452
- tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2451
+ tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.yh_1 + '", body: ' + this$0.fi(tmp0_safe_receiver.zh_1) + ' }';
2453
2452
  tmp$ret$7 = tmp$ret$6;
2454
2453
  tmp_3 = tmp$ret$7;
2455
2454
  }
2456
2455
  var tmp1_elvis_lhs = tmp_3;
2457
- return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.gi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2456
+ return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.hi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2458
2457
  };
2459
2458
  }
2460
2459
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2466,8 +2465,8 @@
2466
2465
  return function (it) {
2467
2466
  Companion_getInstance_2();
2468
2467
  var tmp = emitName_0(it, this$0);
2469
- var tmp_0 = Companion_getInstance_2().fk(it.ni_1) ? it.ni_1 : 'number';
2470
- var tmp0_safe_receiver = it.oi_1;
2468
+ var tmp_0 = Companion_getInstance_2().gk(it.oi_1) ? it.oi_1 : 'number';
2469
+ var tmp0_safe_receiver = it.pi_1;
2471
2470
  var tmp_1;
2472
2471
  if (tmp0_safe_receiver == null) {
2473
2472
  tmp_1 = null;
@@ -2477,7 +2476,7 @@
2477
2476
  // Inline function 'kotlin.contracts.contract' call
2478
2477
  var tmp$ret$0;
2479
2478
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2480
- tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2479
+ tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.yh_1 + '", body: ' + this$0.fi(tmp0_safe_receiver.zh_1) + ' }';
2481
2480
  tmp$ret$1 = tmp$ret$0;
2482
2481
  tmp_1 = tmp$ret$1;
2483
2482
  }
@@ -2492,18 +2491,18 @@
2492
2491
  }
2493
2492
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2494
2493
  return function (it) {
2495
- return this$0.yi(it);
2494
+ return this$0.zi(it);
2496
2495
  };
2497
2496
  }
2498
2497
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2499
2498
  return function (it) {
2500
- var tmp = Companion_getInstance_2().rj(emitName(it, this$0));
2501
- var tmp_0 = Companion_getInstance_2().vk($this_emit, it.wh_1);
2499
+ var tmp = Companion_getInstance_2().sj(emitName(it, this$0));
2500
+ var tmp_0 = Companion_getInstance_2().wk($this_emit, it.xh_1);
2502
2501
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2503
- var tmp_2 = emitPath_1($this_emit.hi_1, this$0);
2504
- var tmp_3 = emitMap_1($this_emit.ii_1, this$0);
2505
- var tmp_4 = emitMap_1($this_emit.ji_1, this$0);
2506
- var tmp0_safe_receiver = it.wh_1;
2502
+ var tmp_2 = emitPath_1($this_emit.ii_1, this$0);
2503
+ var tmp_3 = emitMap_1($this_emit.ji_1, this$0);
2504
+ var tmp_4 = emitMap_1($this_emit.ki_1, this$0);
2505
+ var tmp0_safe_receiver = it.xh_1;
2507
2506
  var tmp_5;
2508
2507
  if (tmp0_safe_receiver == null) {
2509
2508
  tmp_5 = null;
@@ -2513,33 +2512,33 @@
2513
2512
  // Inline function 'kotlin.contracts.contract' call
2514
2513
  var tmp$ret$0;
2515
2514
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2516
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.xh_1 + '", body}';
2515
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.yh_1 + '", body}';
2517
2516
  tmp$ret$1 = tmp$ret$0;
2518
2517
  tmp_5 = tmp$ret$1;
2519
2518
  }
2520
2519
  var tmp1_elvis_lhs = tmp_5;
2521
- return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.gi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2520
+ return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.hi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2522
2521
  };
2523
2522
  }
2524
2523
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2525
2524
  return function () {
2526
- var tmp = toSet($this_emit.li_1);
2525
+ var tmp = toSet($this_emit.mi_1);
2527
2526
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2528
2527
  Companion_getInstance_2();
2529
- var tmp_1 = toSet($this_emit.li_1);
2528
+ var tmp_1 = toSet($this_emit.mi_1);
2530
2529
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2531
- var tmp_3 = toSet($this_emit.mi_1);
2530
+ var tmp_3 = toSet($this_emit.ni_1);
2532
2531
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2533
2532
  Companion_getInstance_2();
2534
- var tmp_5 = toSet($this_emit.mi_1);
2533
+ var tmp_5 = toSet($this_emit.ni_1);
2535
2534
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2536
2535
  Companion_getInstance_2();
2537
2536
  Companion_getInstance_2();
2538
2537
  Companion_getInstance_2();
2539
- var tmp_7 = Companion_getInstance_2().rj($this_emit.fi_1);
2538
+ var tmp_7 = Companion_getInstance_2().sj($this_emit.gi_1);
2540
2539
  Companion_getInstance_2();
2541
2540
  Companion_getInstance_2();
2542
- return trimMargin('\n |export namespace ' + $this_emit.fi_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2541
+ return trimMargin('\n |export namespace ' + $this_emit.gi_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.mi_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2543
2542
  };
2544
2543
  }
2545
2544
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -2552,10 +2551,10 @@
2552
2551
  var tmp0_subject = $this_emitType;
2553
2552
  var tmp;
2554
2553
  if (tmp0_subject instanceof Literal) {
2555
- tmp = $this_emitType.sj_1;
2554
+ tmp = $this_emitType.tj_1;
2556
2555
  } else {
2557
2556
  if (tmp0_subject instanceof Param) {
2558
- tmp = '${' + this$0.ei($this_emitType.ui_1) + '}';
2557
+ tmp = '${' + this$0.fi($this_emitType.vi_1) + '}';
2559
2558
  } else {
2560
2559
  noWhenBranchMatchedException();
2561
2560
  }
@@ -2565,7 +2564,7 @@
2565
2564
  }
2566
2565
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2567
2566
  return function (it) {
2568
- return '"' + this$0.dj(it.aj_1) + '": ' + this$0.dj(it.aj_1);
2567
+ return '"' + this$0.ej(it.bj_1) + '": ' + this$0.ej(it.bj_1);
2569
2568
  };
2570
2569
  }
2571
2570
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2578,10 +2577,10 @@
2578
2577
  var tmp0_subject = $this_emit;
2579
2578
  var tmp;
2580
2579
  if (tmp0_subject instanceof Literal) {
2581
- tmp = $this_emit.sj_1;
2580
+ tmp = $this_emit.tj_1;
2582
2581
  } else {
2583
2582
  if (tmp0_subject instanceof Param) {
2584
- tmp = '${' + $this_emit.ti_1.ej_1 + '}';
2583
+ tmp = '${' + $this_emit.ui_1.fj_1 + '}';
2585
2584
  } else {
2586
2585
  noWhenBranchMatchedException();
2587
2586
  }
@@ -2597,12 +2596,12 @@
2597
2596
  Companion_getInstance_2();
2598
2597
  Companion_getInstance_2();
2599
2598
  Companion_getInstance_2();
2600
- tmp.uk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2599
+ tmp.vk_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 ');
2601
2600
  }
2602
- protoOf(TypeScriptEmitter).sh = function (ast) {
2601
+ protoOf(TypeScriptEmitter).th = function (ast) {
2603
2602
  var tmp$ret$3;
2604
2603
  // Inline function 'kotlin.collections.map' call
2605
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2604
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2606
2605
  var tmp$ret$2;
2607
2606
  // Inline function 'kotlin.collections.mapTo' call
2608
2607
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2615,7 +2614,7 @@
2615
2614
  var result = item.j3();
2616
2615
  var tmp$ret$0;
2617
2616
  // Inline function 'kotlin.text.trimStart' call
2618
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().nk(ast) ? this.uk_1 : '') + '\n |' + result + '\n ');
2617
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().ok(ast) ? this.vk_1 : '') + '\n |' + result + '\n ');
2619
2618
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2620
2619
  tmp$ret$1 = to(name, tmp$ret$0);
2621
2620
  tmp0_mapTo.a(tmp$ret$1);
@@ -2624,57 +2623,57 @@
2624
2623
  tmp$ret$3 = tmp$ret$2;
2625
2624
  return tmp$ret$3;
2626
2625
  };
2627
- protoOf(TypeScriptEmitter).tj = function (_this__u8e3s4) {
2628
- return this.uj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2629
- };
2630
- protoOf(TypeScriptEmitter).xi = function (_this__u8e3s4) {
2631
- return this.vj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2626
+ protoOf(TypeScriptEmitter).uj = function (_this__u8e3s4) {
2627
+ return this.vj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2632
2628
  };
2633
2629
  protoOf(TypeScriptEmitter).yi = function (_this__u8e3s4) {
2634
- return this.wj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2630
+ return this.wj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2631
+ };
2632
+ protoOf(TypeScriptEmitter).zi = function (_this__u8e3s4) {
2633
+ return this.xj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2635
2634
  };
2636
- protoOf(TypeScriptEmitter).dj = function (_this__u8e3s4) {
2637
- return this.xj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2635
+ protoOf(TypeScriptEmitter).ej = function (_this__u8e3s4) {
2636
+ return this.yj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2638
2637
  };
2639
- protoOf(TypeScriptEmitter).ei = function (_this__u8e3s4) {
2640
- return this.vh(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2638
+ protoOf(TypeScriptEmitter).fi = function (_this__u8e3s4) {
2639
+ return this.wh(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2641
2640
  };
2642
- protoOf(TypeScriptEmitter).yj = function (_this__u8e3s4) {
2643
- return this.zj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2641
+ protoOf(TypeScriptEmitter).zj = function (_this__u8e3s4) {
2642
+ return this.ak(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2644
2643
  };
2645
- protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2646
- return this.bk(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2644
+ protoOf(TypeScriptEmitter).bk = function (_this__u8e3s4) {
2645
+ return this.ck(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2647
2646
  };
2648
- protoOf(TypeScriptEmitter).pj = function (_this__u8e3s4) {
2649
- return this.ck(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2647
+ protoOf(TypeScriptEmitter).qj = function (_this__u8e3s4) {
2648
+ return this.dk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2650
2649
  };
2651
- protoOf(TypeScriptEmitter).dk = function (_this__u8e3s4) {
2652
- return this.ek(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2650
+ protoOf(TypeScriptEmitter).ek = function (_this__u8e3s4) {
2651
+ return this.fk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2653
2652
  };
2654
2653
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2655
2654
  return function () {
2656
- return trimMargin('type ' + $this_emit.vi_1 + ' {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |');
2655
+ return trimMargin('type ' + $this_emit.wi_1 + ' {\n |' + this$0.yi($this_emit.xi_1) + '\n |}\n |');
2657
2656
  };
2658
2657
  }
2659
2658
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2660
2659
  return function (it) {
2661
- return this$0.yi(it);
2660
+ return this$0.zi(it);
2662
2661
  };
2663
2662
  }
2664
2663
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2665
2664
  return function () {
2666
- return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2665
+ return dropLast(joinToString($this_emit.aj_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2667
2666
  };
2668
2667
  }
2669
2668
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2670
2669
  return function () {
2671
2670
  Companion_getInstance_2();
2672
- return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1) + ',';
2671
+ return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1) + ',';
2673
2672
  };
2674
2673
  }
2675
2674
  function WirespecEmitter$emit$lambda_2($this_emit) {
2676
2675
  return function () {
2677
- return $this_emit.ej_1;
2676
+ return $this_emit.fj_1;
2678
2677
  };
2679
2678
  }
2680
2679
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2687,10 +2686,10 @@
2687
2686
  tmp = 'Any';
2688
2687
  } else {
2689
2688
  if (tmp0_subject instanceof Custom) {
2690
- tmp = $this_emit.ij_1;
2689
+ tmp = $this_emit.jj_1;
2691
2690
  } else {
2692
2691
  if (tmp0_subject instanceof Primitive) {
2693
- var tmp1_subject = $this_emit.fj_1;
2692
+ var tmp1_subject = $this_emit.gj_1;
2694
2693
  var tmp0 = tmp1_subject.q4_1;
2695
2694
  var tmp_0;
2696
2695
  switch (tmp0) {
@@ -2717,7 +2716,7 @@
2717
2716
  // Inline function 'kotlin.contracts.contract' call
2718
2717
  var tmp$ret$0;
2719
2718
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
2720
- tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2719
+ tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2721
2720
  tmp$ret$1 = tmp$ret$0;
2722
2721
  return tmp$ret$1;
2723
2722
  };
@@ -2725,17 +2724,17 @@
2725
2724
  function WirespecEmitter$emit$lambda_4($this_emit) {
2726
2725
  return function () {
2727
2726
  Companion_getInstance_2();
2728
- return 'enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, ', ') + '\n}\n';
2727
+ return 'enum ' + $this_emit.mj_1 + ' {\n' + ' ' + joinToString($this_emit.nj_1, ', ') + '\n}\n';
2729
2728
  };
2730
2729
  }
2731
2730
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2732
2731
  return function () {
2733
- return 'refined ' + $this_emit.nj_1 + ' ' + this$0.pj($this_emit.oj_1) + '\n';
2732
+ return 'refined ' + $this_emit.oj_1 + ' ' + this$0.qj($this_emit.pj_1) + '\n';
2734
2733
  };
2735
2734
  }
2736
2735
  function WirespecEmitter$emit$lambda_6($this_emit) {
2737
2736
  return function () {
2738
- return '/' + dropLast(drop($this_emit.qj_1, 1), 1) + '/g';
2737
+ return '/' + dropLast(drop($this_emit.rj_1, 1), 1) + '/g';
2739
2738
  };
2740
2739
  }
2741
2740
  function WirespecEmitter$emit$lambda_7() {
@@ -2745,32 +2744,32 @@
2745
2744
  logger = logger === VOID ? get_noLogger() : logger;
2746
2745
  Emitter.call(this, logger);
2747
2746
  }
2748
- protoOf(WirespecEmitter).tj = function (_this__u8e3s4) {
2749
- return this.uj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2750
- };
2751
- protoOf(WirespecEmitter).xi = function (_this__u8e3s4) {
2752
- return this.vj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2747
+ protoOf(WirespecEmitter).uj = function (_this__u8e3s4) {
2748
+ return this.vj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2753
2749
  };
2754
2750
  protoOf(WirespecEmitter).yi = function (_this__u8e3s4) {
2755
- return this.wj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2751
+ return this.wj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2756
2752
  };
2757
- protoOf(WirespecEmitter).dj = function (_this__u8e3s4) {
2758
- return this.xj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2753
+ protoOf(WirespecEmitter).zi = function (_this__u8e3s4) {
2754
+ return this.xj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2759
2755
  };
2760
- protoOf(WirespecEmitter).ei = function (_this__u8e3s4) {
2761
- return this.vh(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2756
+ protoOf(WirespecEmitter).ej = function (_this__u8e3s4) {
2757
+ return this.yj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2762
2758
  };
2763
- protoOf(WirespecEmitter).yj = function (_this__u8e3s4) {
2764
- return this.zj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2759
+ protoOf(WirespecEmitter).fi = function (_this__u8e3s4) {
2760
+ return this.wh(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2765
2761
  };
2766
- protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2767
- return this.bk(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2762
+ protoOf(WirespecEmitter).zj = function (_this__u8e3s4) {
2763
+ return this.ak(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2768
2764
  };
2769
- protoOf(WirespecEmitter).pj = function (_this__u8e3s4) {
2770
- return this.ck(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2765
+ protoOf(WirespecEmitter).bk = function (_this__u8e3s4) {
2766
+ return this.ck(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2771
2767
  };
2772
- protoOf(WirespecEmitter).dk = function (_this__u8e3s4) {
2773
- return this.ek(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_7);
2768
+ protoOf(WirespecEmitter).qj = function (_this__u8e3s4) {
2769
+ return this.dk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2770
+ };
2771
+ protoOf(WirespecEmitter).ek = function (_this__u8e3s4) {
2772
+ return this.fk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_7);
2774
2773
  };
2775
2774
  function get_DEFAULT_PACKAGE_NAME() {
2776
2775
  return DEFAULT_PACKAGE_NAME;
@@ -2778,9 +2777,9 @@
2778
2777
  var DEFAULT_PACKAGE_NAME;
2779
2778
  function Companion_1() {
2780
2779
  Companion_instance_1 = this;
2781
- this.pi_1 = ' ';
2780
+ this.qi_1 = ' ';
2782
2781
  }
2783
- protoOf(Companion_1).qi = function (_this__u8e3s4) {
2782
+ protoOf(Companion_1).ri = function (_this__u8e3s4) {
2784
2783
  var tmp$ret$6;
2785
2784
  // Inline function 'kotlin.text.replaceFirstChar' call
2786
2785
  var tmp;
@@ -2814,7 +2813,7 @@
2814
2813
  tmp$ret$6 = tmp;
2815
2814
  return tmp$ret$6;
2816
2815
  };
2817
- protoOf(Companion_1).rj = function (_this__u8e3s4) {
2816
+ protoOf(Companion_1).sj = function (_this__u8e3s4) {
2818
2817
  var tmp$ret$6;
2819
2818
  // Inline function 'kotlin.text.replaceFirstChar' call
2820
2819
  var tmp;
@@ -2848,7 +2847,7 @@
2848
2847
  tmp$ret$6 = tmp;
2849
2848
  return tmp$ret$6;
2850
2849
  };
2851
- protoOf(Companion_1).nk = function (_this__u8e3s4) {
2850
+ protoOf(Companion_1).ok = function (_this__u8e3s4) {
2852
2851
  var tmp$ret$0;
2853
2852
  $l$block_0: {
2854
2853
  // Inline function 'kotlin.collections.any' call
@@ -2877,12 +2876,12 @@
2877
2876
  }
2878
2877
  return tmp$ret$0;
2879
2878
  };
2880
- protoOf(Companion_1).vk = function (_this__u8e3s4, content) {
2879
+ protoOf(Companion_1).wk = function (_this__u8e3s4, content) {
2881
2880
  var tmp$ret$4;
2882
2881
  // Inline function 'kotlin.collections.map' call
2883
2882
  var tmp$ret$1;
2884
2883
  // Inline function 'kotlin.collections.filterIsInstance' call
2885
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
2884
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
2886
2885
  var tmp$ret$0;
2887
2886
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2888
2887
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2904,18 +2903,18 @@
2904
2903
  var item = tmp0_iterator_0.e();
2905
2904
  var tmp$ret$2;
2906
2905
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2907
- tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
2906
+ tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
2908
2907
  tmp2_mapTo.a(tmp$ret$2);
2909
2908
  }
2910
2909
  tmp$ret$3 = tmp2_mapTo;
2911
2910
  tmp$ret$4 = tmp$ret$3;
2912
2911
  var pathField = tmp$ret$4;
2913
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
2912
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
2914
2913
  var tmp0_safe_receiver = content;
2915
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
2914
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
2916
2915
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2917
2916
  };
2918
- protoOf(Companion_1).fk = function (_this__u8e3s4) {
2917
+ protoOf(Companion_1).gk = function (_this__u8e3s4) {
2919
2918
  return !(toIntOrNull(_this__u8e3s4) == null);
2920
2919
  };
2921
2920
  var Companion_instance_1;
@@ -2930,10 +2929,10 @@
2930
2929
  function Emitter(logger, split) {
2931
2930
  Companion_getInstance_2();
2932
2931
  split = split === VOID ? false : split;
2933
- this.qh_1 = logger;
2934
- this.rh_1 = split;
2932
+ this.rh_1 = logger;
2933
+ this.sh_1 = split;
2935
2934
  }
2936
- protoOf(Emitter).sh = function (ast) {
2935
+ protoOf(Emitter).th = function (ast) {
2937
2936
  var tmp$ret$4;
2938
2937
  // Inline function 'kotlin.run' call
2939
2938
  var tmp$ret$2;
@@ -2946,20 +2945,20 @@
2946
2945
  var item = tmp0_iterator.e();
2947
2946
  var tmp$ret$0;
2948
2947
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2949
- this.qh_1.kh('Emitting Node ' + this);
2948
+ this.rh_1.lh('Emitting Node ' + this);
2950
2949
  var tmp0_subject = item;
2951
2950
  var tmp;
2952
2951
  if (tmp0_subject instanceof Type_0) {
2953
- tmp = to(item.vi_1, this.tj(item));
2952
+ tmp = to(item.wi_1, this.uj(item));
2954
2953
  } else {
2955
2954
  if (tmp0_subject instanceof Endpoint) {
2956
- tmp = to(item.fi_1, this.dk(item));
2955
+ tmp = to(item.gi_1, this.ek(item));
2957
2956
  } else {
2958
2957
  if (tmp0_subject instanceof Enum_0) {
2959
- tmp = to(item.lj_1, this.yj(item));
2958
+ tmp = to(item.mj_1, this.zj(item));
2960
2959
  } else {
2961
2960
  if (tmp0_subject instanceof Refined) {
2962
- tmp = to(item.nj_1, this.ak(item));
2961
+ tmp = to(item.oj_1, this.bk(item));
2963
2962
  } else {
2964
2963
  noWhenBranchMatchedException();
2965
2964
  }
@@ -2976,7 +2975,7 @@
2976
2975
  var tmp$ret$3;
2977
2976
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2978
2977
  var tmp_0;
2979
- if (this.rh_1) {
2978
+ if (this.sh_1) {
2980
2979
  tmp_0 = tmp1_run;
2981
2980
  } else {
2982
2981
  tmp_0 = listOf_0(to('NoName', joinToString(tmp1_run, '\n', VOID, VOID, VOID, VOID, Emitter$emit$lambda)));
@@ -2993,16 +2992,12 @@
2993
2992
  }
2994
2993
  function TypeDefinitionEmitterLogger() {
2995
2994
  }
2996
- function StartingException() {
2997
- NullTokenException.call(this, 'Starting Token', new Coordinates());
2998
- captureStack(this, StartingException);
2999
- }
3000
2995
  function NextException(coordinates) {
3001
2996
  NullTokenException.call(this, 'Next Token', coordinates);
3002
2997
  captureStack(this, NextException);
3003
2998
  }
3004
2999
  function WrongTokenException(expected, actual) {
3005
- ParserException.call(this, actual.bl_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.zk_1).fc() + ' at line ' + actual.bl_1.cl_1 + ' and position ' + (actual.bl_1.dl_1 - actual.al_1.length | 0));
3000
+ ParserException.call(this, actual.cl_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.al_1).fc() + ' at line ' + actual.cl_1.dl_1 + ' and position ' + (actual.cl_1.el_1 - actual.bl_1.length | 0));
3006
3001
  captureStack(this, WrongTokenException);
3007
3002
  }
3008
3003
  function NullTokenException(message, coordinates) {
@@ -3020,32 +3015,48 @@
3020
3015
  function WirespecException(message, coordinates) {
3021
3016
  RuntimeException_init_$Init$(message, this);
3022
3017
  captureStack(this, WirespecException);
3023
- this.fl_1 = coordinates;
3018
+ this.gl_1 = coordinates;
3024
3019
  }
3025
3020
  function optimize(_this__u8e3s4) {
3026
- var tmp$ret$2;
3021
+ var tmp$ret$4;
3022
+ // Inline function 'arrow.core.NonEmptyList.map' call
3023
+ var tmp$ret$0;
3024
+ // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3025
+ var tmp2__anonymous__z9zvc9 = _this__u8e3s4.ug_1;
3026
+ var tmp0_subject = tmp2__anonymous__z9zvc9.al_1;
3027
+ var tmp;
3028
+ if (tmp0_subject instanceof CustomRegex) {
3029
+ tmp = tmp2__anonymous__z9zvc9.hl(VOID, '"' + dropLast(drop(tmp2__anonymous__z9zvc9.bl_1, 1), 2) + '"');
3030
+ } else {
3031
+ tmp = tmp2__anonymous__z9zvc9;
3032
+ }
3033
+ tmp$ret$0 = tmp;
3034
+ var tmp_0 = tmp$ret$0;
3035
+ var tmp$ret$3;
3027
3036
  // Inline function 'kotlin.collections.map' call
3028
- var tmp$ret$1;
3037
+ var tmp1_map = _this__u8e3s4.vg_1;
3038
+ var tmp$ret$2;
3029
3039
  // Inline function 'kotlin.collections.mapTo' call
3030
- var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
3031
- var tmp0_iterator = _this__u8e3s4.c();
3040
+ var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
3041
+ var tmp0_iterator = tmp1_map.c();
3032
3042
  while (tmp0_iterator.d()) {
3033
3043
  var item = tmp0_iterator.e();
3034
- var tmp$ret$0;
3044
+ var tmp$ret$1;
3035
3045
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3036
- var tmp0_subject = item.zk_1;
3037
- var tmp;
3038
- if (tmp0_subject instanceof CustomRegex) {
3039
- tmp = item.gl(VOID, '"' + dropLast(drop(item.al_1, 1), 2) + '"');
3046
+ var tmp0_subject_0 = item.al_1;
3047
+ var tmp_1;
3048
+ if (tmp0_subject_0 instanceof CustomRegex) {
3049
+ tmp_1 = item.hl(VOID, '"' + dropLast(drop(item.bl_1, 1), 2) + '"');
3040
3050
  } else {
3041
- tmp = item;
3051
+ tmp_1 = item;
3042
3052
  }
3043
- tmp$ret$0 = tmp;
3044
- tmp0_mapTo.a(tmp$ret$0);
3053
+ tmp$ret$1 = tmp_1;
3054
+ tmp0_mapTo.a(tmp$ret$1);
3045
3055
  }
3046
- tmp$ret$1 = tmp0_mapTo;
3047
- tmp$ret$2 = tmp$ret$1;
3048
- return tmp$ret$2;
3056
+ tmp$ret$2 = tmp0_mapTo;
3057
+ tmp$ret$3 = tmp$ret$2;
3058
+ tmp$ret$4 = new NonEmptyList(tmp_0, tmp$ret$3);
3059
+ return tmp$ret$4;
3049
3060
  }
3050
3061
  var Type_String_instance;
3051
3062
  var Type_Integer_instance;
@@ -3076,29 +3087,29 @@
3076
3087
  }
3077
3088
  function Any(isIterable, isMap) {
3078
3089
  isMap = isMap === VOID ? false : isMap;
3079
- this.hl_1 = isIterable;
3080
- this.il_1 = isMap;
3090
+ this.il_1 = isIterable;
3091
+ this.jl_1 = isMap;
3081
3092
  }
3082
- protoOf(Any).ri = function () {
3083
- return this.hl_1;
3084
- };
3085
- protoOf(Any).mk = function () {
3093
+ protoOf(Any).si = function () {
3086
3094
  return this.il_1;
3087
3095
  };
3088
- protoOf(Any).jl = function (isIterable, isMap) {
3096
+ protoOf(Any).nk = function () {
3097
+ return this.jl_1;
3098
+ };
3099
+ protoOf(Any).kl = function (isIterable, isMap) {
3089
3100
  return new Any(isIterable, isMap);
3090
3101
  };
3091
- protoOf(Any).kl = function (isIterable, isMap, $super) {
3092
- isIterable = isIterable === VOID ? this.hl_1 : isIterable;
3093
- isMap = isMap === VOID ? this.il_1 : isMap;
3094
- return $super === VOID ? this.jl(isIterable, isMap) : $super.jl.call(this, isIterable, isMap);
3102
+ protoOf(Any).ll = function (isIterable, isMap, $super) {
3103
+ isIterable = isIterable === VOID ? this.il_1 : isIterable;
3104
+ isMap = isMap === VOID ? this.jl_1 : isMap;
3105
+ return $super === VOID ? this.kl(isIterable, isMap) : $super.kl.call(this, isIterable, isMap);
3095
3106
  };
3096
3107
  protoOf(Any).toString = function () {
3097
- return 'Any(isIterable=' + this.hl_1 + ', isMap=' + this.il_1 + ')';
3108
+ return 'Any(isIterable=' + this.il_1 + ', isMap=' + this.jl_1 + ')';
3098
3109
  };
3099
3110
  protoOf(Any).hashCode = function () {
3100
- var result = this.hl_1 | 0;
3101
- result = imul(result, 31) + (this.il_1 | 0) | 0;
3111
+ var result = this.il_1 | 0;
3112
+ result = imul(result, 31) + (this.jl_1 | 0) | 0;
3102
3113
  return result;
3103
3114
  };
3104
3115
  protoOf(Any).equals = function (other) {
@@ -3107,40 +3118,40 @@
3107
3118
  if (!(other instanceof Any))
3108
3119
  return false;
3109
3120
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3110
- if (!(this.hl_1 === tmp0_other_with_cast.hl_1))
3111
- return false;
3112
3121
  if (!(this.il_1 === tmp0_other_with_cast.il_1))
3113
3122
  return false;
3123
+ if (!(this.jl_1 === tmp0_other_with_cast.jl_1))
3124
+ return false;
3114
3125
  return true;
3115
3126
  };
3116
3127
  function Custom(value, isIterable, isMap) {
3117
3128
  isMap = isMap === VOID ? false : isMap;
3118
- this.ij_1 = value;
3119
- this.jj_1 = isIterable;
3120
- this.kj_1 = isMap;
3129
+ this.jj_1 = value;
3130
+ this.kj_1 = isIterable;
3131
+ this.lj_1 = isMap;
3121
3132
  }
3122
- protoOf(Custom).ri = function () {
3123
- return this.jj_1;
3124
- };
3125
- protoOf(Custom).mk = function () {
3133
+ protoOf(Custom).si = function () {
3126
3134
  return this.kj_1;
3127
3135
  };
3128
- protoOf(Custom).ll = function (value, isIterable, isMap) {
3136
+ protoOf(Custom).nk = function () {
3137
+ return this.lj_1;
3138
+ };
3139
+ protoOf(Custom).ml = function (value, isIterable, isMap) {
3129
3140
  return new Custom(value, isIterable, isMap);
3130
3141
  };
3131
- protoOf(Custom).ml = function (value, isIterable, isMap, $super) {
3132
- value = value === VOID ? this.ij_1 : value;
3133
- isIterable = isIterable === VOID ? this.jj_1 : isIterable;
3134
- isMap = isMap === VOID ? this.kj_1 : isMap;
3135
- return $super === VOID ? this.ll(value, isIterable, isMap) : $super.ll.call(this, value, isIterable, isMap);
3142
+ protoOf(Custom).nl = function (value, isIterable, isMap, $super) {
3143
+ value = value === VOID ? this.jj_1 : value;
3144
+ isIterable = isIterable === VOID ? this.kj_1 : isIterable;
3145
+ isMap = isMap === VOID ? this.lj_1 : isMap;
3146
+ return $super === VOID ? this.ml(value, isIterable, isMap) : $super.ml.call(this, value, isIterable, isMap);
3136
3147
  };
3137
3148
  protoOf(Custom).toString = function () {
3138
- return 'Custom(value=' + this.ij_1 + ', isIterable=' + this.jj_1 + ', isMap=' + this.kj_1 + ')';
3149
+ return 'Custom(value=' + this.jj_1 + ', isIterable=' + this.kj_1 + ', isMap=' + this.lj_1 + ')';
3139
3150
  };
3140
3151
  protoOf(Custom).hashCode = function () {
3141
- var result = getStringHashCode(this.ij_1);
3142
- result = imul(result, 31) + (this.jj_1 | 0) | 0;
3152
+ var result = getStringHashCode(this.jj_1);
3143
3153
  result = imul(result, 31) + (this.kj_1 | 0) | 0;
3154
+ result = imul(result, 31) + (this.lj_1 | 0) | 0;
3144
3155
  return result;
3145
3156
  };
3146
3157
  protoOf(Custom).equals = function (other) {
@@ -3149,42 +3160,42 @@
3149
3160
  if (!(other instanceof Custom))
3150
3161
  return false;
3151
3162
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
3152
- if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3153
- return false;
3154
3163
  if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3155
3164
  return false;
3156
3165
  if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3157
3166
  return false;
3167
+ if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3168
+ return false;
3158
3169
  return true;
3159
3170
  };
3160
3171
  function Primitive(type, isIterable, isMap) {
3161
3172
  isMap = isMap === VOID ? false : isMap;
3162
- this.fj_1 = type;
3163
- this.gj_1 = isIterable;
3164
- this.hj_1 = isMap;
3173
+ this.gj_1 = type;
3174
+ this.hj_1 = isIterable;
3175
+ this.ij_1 = isMap;
3165
3176
  }
3166
- protoOf(Primitive).ri = function () {
3167
- return this.gj_1;
3168
- };
3169
- protoOf(Primitive).mk = function () {
3177
+ protoOf(Primitive).si = function () {
3170
3178
  return this.hj_1;
3171
3179
  };
3172
- protoOf(Primitive).nl = function (type, isIterable, isMap) {
3180
+ protoOf(Primitive).nk = function () {
3181
+ return this.ij_1;
3182
+ };
3183
+ protoOf(Primitive).ol = function (type, isIterable, isMap) {
3173
3184
  return new Primitive(type, isIterable, isMap);
3174
3185
  };
3175
- protoOf(Primitive).ol = function (type, isIterable, isMap, $super) {
3176
- type = type === VOID ? this.fj_1 : type;
3177
- isIterable = isIterable === VOID ? this.gj_1 : isIterable;
3178
- isMap = isMap === VOID ? this.hj_1 : isMap;
3179
- return $super === VOID ? this.nl(type, isIterable, isMap) : $super.nl.call(this, type, isIterable, isMap);
3186
+ protoOf(Primitive).pl = function (type, isIterable, isMap, $super) {
3187
+ type = type === VOID ? this.gj_1 : type;
3188
+ isIterable = isIterable === VOID ? this.hj_1 : isIterable;
3189
+ isMap = isMap === VOID ? this.ij_1 : isMap;
3190
+ return $super === VOID ? this.ol(type, isIterable, isMap) : $super.ol.call(this, type, isIterable, isMap);
3180
3191
  };
3181
3192
  protoOf(Primitive).toString = function () {
3182
- return 'Primitive(type=' + this.fj_1 + ', isIterable=' + this.gj_1 + ', isMap=' + this.hj_1 + ')';
3193
+ return 'Primitive(type=' + this.gj_1 + ', isIterable=' + this.hj_1 + ', isMap=' + this.ij_1 + ')';
3183
3194
  };
3184
3195
  protoOf(Primitive).hashCode = function () {
3185
- var result = this.fj_1.hashCode();
3186
- result = imul(result, 31) + (this.gj_1 | 0) | 0;
3196
+ var result = this.gj_1.hashCode();
3187
3197
  result = imul(result, 31) + (this.hj_1 | 0) | 0;
3198
+ result = imul(result, 31) + (this.ij_1 | 0) | 0;
3188
3199
  return result;
3189
3200
  };
3190
3201
  protoOf(Primitive).equals = function (other) {
@@ -3193,22 +3204,22 @@
3193
3204
  if (!(other instanceof Primitive))
3194
3205
  return false;
3195
3206
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
3196
- if (!this.fj_1.equals(tmp0_other_with_cast.fj_1))
3197
- return false;
3198
- if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
3207
+ if (!this.gj_1.equals(tmp0_other_with_cast.gj_1))
3199
3208
  return false;
3200
3209
  if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3201
3210
  return false;
3211
+ if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3212
+ return false;
3202
3213
  return true;
3203
3214
  };
3204
3215
  function Identifier(value) {
3205
- this.ej_1 = value;
3216
+ this.fj_1 = value;
3206
3217
  }
3207
3218
  protoOf(Identifier).toString = function () {
3208
- return 'Identifier(value=' + this.ej_1 + ')';
3219
+ return 'Identifier(value=' + this.fj_1 + ')';
3209
3220
  };
3210
3221
  protoOf(Identifier).hashCode = function () {
3211
- return getStringHashCode(this.ej_1);
3222
+ return getStringHashCode(this.fj_1);
3212
3223
  };
3213
3224
  protoOf(Identifier).equals = function (other) {
3214
3225
  if (this === other)
@@ -3216,22 +3227,22 @@
3216
3227
  if (!(other instanceof Identifier))
3217
3228
  return false;
3218
3229
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
3219
- if (!(this.ej_1 === tmp0_other_with_cast.ej_1))
3230
+ if (!(this.fj_1 === tmp0_other_with_cast.fj_1))
3220
3231
  return false;
3221
3232
  return true;
3222
3233
  };
3223
3234
  function Field(identifier, reference, isNullable) {
3224
- this.aj_1 = identifier;
3225
- this.bj_1 = reference;
3226
- this.cj_1 = isNullable;
3235
+ this.bj_1 = identifier;
3236
+ this.cj_1 = reference;
3237
+ this.dj_1 = isNullable;
3227
3238
  }
3228
3239
  protoOf(Field).toString = function () {
3229
- return 'Field(identifier=' + this.aj_1 + ', reference=' + this.bj_1 + ', isNullable=' + this.cj_1 + ')';
3240
+ return 'Field(identifier=' + this.bj_1 + ', reference=' + this.cj_1 + ', isNullable=' + this.dj_1 + ')';
3230
3241
  };
3231
3242
  protoOf(Field).hashCode = function () {
3232
- var result = this.aj_1.hashCode();
3233
- result = imul(result, 31) + hashCode(this.bj_1) | 0;
3234
- result = imul(result, 31) + (this.cj_1 | 0) | 0;
3243
+ var result = this.bj_1.hashCode();
3244
+ result = imul(result, 31) + hashCode(this.cj_1) | 0;
3245
+ result = imul(result, 31) + (this.dj_1 | 0) | 0;
3235
3246
  return result;
3236
3247
  };
3237
3248
  protoOf(Field).equals = function (other) {
@@ -3240,22 +3251,22 @@
3240
3251
  if (!(other instanceof Field))
3241
3252
  return false;
3242
3253
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
3243
- if (!this.aj_1.equals(tmp0_other_with_cast.aj_1))
3254
+ if (!this.bj_1.equals(tmp0_other_with_cast.bj_1))
3244
3255
  return false;
3245
- if (!equals(this.bj_1, tmp0_other_with_cast.bj_1))
3256
+ if (!equals(this.cj_1, tmp0_other_with_cast.cj_1))
3246
3257
  return false;
3247
- if (!(this.cj_1 === tmp0_other_with_cast.cj_1))
3258
+ if (!(this.dj_1 === tmp0_other_with_cast.dj_1))
3248
3259
  return false;
3249
3260
  return true;
3250
3261
  };
3251
3262
  function Shape(value) {
3252
- this.zi_1 = value;
3263
+ this.aj_1 = value;
3253
3264
  }
3254
3265
  protoOf(Shape).toString = function () {
3255
- return 'Shape(value=' + this.zi_1 + ')';
3266
+ return 'Shape(value=' + this.aj_1 + ')';
3256
3267
  };
3257
3268
  protoOf(Shape).hashCode = function () {
3258
- return hashCode(this.zi_1);
3269
+ return hashCode(this.aj_1);
3259
3270
  };
3260
3271
  protoOf(Shape).equals = function (other) {
3261
3272
  if (this === other)
@@ -3263,20 +3274,20 @@
3263
3274
  if (!(other instanceof Shape))
3264
3275
  return false;
3265
3276
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
3266
- if (!equals(this.zi_1, tmp0_other_with_cast.zi_1))
3277
+ if (!equals(this.aj_1, tmp0_other_with_cast.aj_1))
3267
3278
  return false;
3268
3279
  return true;
3269
3280
  };
3270
3281
  function Type_0(name, shape) {
3271
- this.vi_1 = name;
3272
- this.wi_1 = shape;
3282
+ this.wi_1 = name;
3283
+ this.xi_1 = shape;
3273
3284
  }
3274
3285
  protoOf(Type_0).toString = function () {
3275
- return 'Type(name=' + this.vi_1 + ', shape=' + this.wi_1 + ')';
3286
+ return 'Type(name=' + this.wi_1 + ', shape=' + this.xi_1 + ')';
3276
3287
  };
3277
3288
  protoOf(Type_0).hashCode = function () {
3278
- var result = getStringHashCode(this.vi_1);
3279
- result = imul(result, 31) + this.wi_1.hashCode() | 0;
3289
+ var result = getStringHashCode(this.wi_1);
3290
+ result = imul(result, 31) + this.xi_1.hashCode() | 0;
3280
3291
  return result;
3281
3292
  };
3282
3293
  protoOf(Type_0).equals = function (other) {
@@ -3285,9 +3296,9 @@
3285
3296
  if (!(other instanceof Type_0))
3286
3297
  return false;
3287
3298
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
3288
- if (!(this.vi_1 === tmp0_other_with_cast.vi_1))
3299
+ if (!(this.wi_1 === tmp0_other_with_cast.wi_1))
3289
3300
  return false;
3290
- if (!this.wi_1.equals(tmp0_other_with_cast.wi_1))
3301
+ if (!this.xi_1.equals(tmp0_other_with_cast.xi_1))
3291
3302
  return false;
3292
3303
  return true;
3293
3304
  };
@@ -3317,13 +3328,13 @@
3317
3328
  Method_TRACE_instance = new Method('TRACE', 7);
3318
3329
  }
3319
3330
  function Literal(value) {
3320
- this.sj_1 = value;
3331
+ this.tj_1 = value;
3321
3332
  }
3322
3333
  protoOf(Literal).toString = function () {
3323
- return 'Literal(value=' + this.sj_1 + ')';
3334
+ return 'Literal(value=' + this.tj_1 + ')';
3324
3335
  };
3325
3336
  protoOf(Literal).hashCode = function () {
3326
- return getStringHashCode(this.sj_1);
3337
+ return getStringHashCode(this.tj_1);
3327
3338
  };
3328
3339
  protoOf(Literal).equals = function (other) {
3329
3340
  if (this === other)
@@ -3331,20 +3342,20 @@
3331
3342
  if (!(other instanceof Literal))
3332
3343
  return false;
3333
3344
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
3334
- if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
3345
+ if (!(this.tj_1 === tmp0_other_with_cast.tj_1))
3335
3346
  return false;
3336
3347
  return true;
3337
3348
  };
3338
3349
  function Param(identifier, reference) {
3339
- this.ti_1 = identifier;
3340
- this.ui_1 = reference;
3350
+ this.ui_1 = identifier;
3351
+ this.vi_1 = reference;
3341
3352
  }
3342
3353
  protoOf(Param).toString = function () {
3343
- return 'Param(identifier=' + this.ti_1 + ', reference=' + this.ui_1 + ')';
3354
+ return 'Param(identifier=' + this.ui_1 + ', reference=' + this.vi_1 + ')';
3344
3355
  };
3345
3356
  protoOf(Param).hashCode = function () {
3346
- var result = this.ti_1.hashCode();
3347
- result = imul(result, 31) + hashCode(this.ui_1) | 0;
3357
+ var result = this.ui_1.hashCode();
3358
+ result = imul(result, 31) + hashCode(this.vi_1) | 0;
3348
3359
  return result;
3349
3360
  };
3350
3361
  protoOf(Param).equals = function (other) {
@@ -3353,9 +3364,9 @@
3353
3364
  if (!(other instanceof Param))
3354
3365
  return false;
3355
3366
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
3356
- if (!this.ti_1.equals(tmp0_other_with_cast.ti_1))
3367
+ if (!this.ui_1.equals(tmp0_other_with_cast.ui_1))
3357
3368
  return false;
3358
- if (!equals(this.ui_1, tmp0_other_with_cast.ui_1))
3369
+ if (!equals(this.vi_1, tmp0_other_with_cast.vi_1))
3359
3370
  return false;
3360
3371
  return true;
3361
3372
  };
@@ -3363,13 +3374,13 @@
3363
3374
  Enum.call(this, name, ordinal);
3364
3375
  }
3365
3376
  function Request(content) {
3366
- this.wh_1 = content;
3377
+ this.xh_1 = content;
3367
3378
  }
3368
3379
  protoOf(Request).toString = function () {
3369
- return 'Request(content=' + this.wh_1 + ')';
3380
+ return 'Request(content=' + this.xh_1 + ')';
3370
3381
  };
3371
3382
  protoOf(Request).hashCode = function () {
3372
- return this.wh_1 == null ? 0 : this.wh_1.hashCode();
3383
+ return this.xh_1 == null ? 0 : this.xh_1.hashCode();
3373
3384
  };
3374
3385
  protoOf(Request).equals = function (other) {
3375
3386
  if (this === other)
@@ -3377,20 +3388,20 @@
3377
3388
  if (!(other instanceof Request))
3378
3389
  return false;
3379
3390
  var tmp0_other_with_cast = other instanceof Request ? other : THROW_CCE();
3380
- if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3391
+ if (!equals(this.xh_1, tmp0_other_with_cast.xh_1))
3381
3392
  return false;
3382
3393
  return true;
3383
3394
  };
3384
3395
  function Response(status, content) {
3385
- this.ni_1 = status;
3386
- this.oi_1 = content;
3396
+ this.oi_1 = status;
3397
+ this.pi_1 = content;
3387
3398
  }
3388
3399
  protoOf(Response).toString = function () {
3389
- return 'Response(status=' + this.ni_1 + ', content=' + this.oi_1 + ')';
3400
+ return 'Response(status=' + this.oi_1 + ', content=' + this.pi_1 + ')';
3390
3401
  };
3391
3402
  protoOf(Response).hashCode = function () {
3392
- var result = getStringHashCode(this.ni_1);
3393
- result = imul(result, 31) + (this.oi_1 == null ? 0 : this.oi_1.hashCode()) | 0;
3403
+ var result = getStringHashCode(this.oi_1);
3404
+ result = imul(result, 31) + (this.pi_1 == null ? 0 : this.pi_1.hashCode()) | 0;
3394
3405
  return result;
3395
3406
  };
3396
3407
  protoOf(Response).equals = function (other) {
@@ -3399,24 +3410,24 @@
3399
3410
  if (!(other instanceof Response))
3400
3411
  return false;
3401
3412
  var tmp0_other_with_cast = other instanceof Response ? other : THROW_CCE();
3402
- if (!(this.ni_1 === tmp0_other_with_cast.ni_1))
3413
+ if (!(this.oi_1 === tmp0_other_with_cast.oi_1))
3403
3414
  return false;
3404
- if (!equals(this.oi_1, tmp0_other_with_cast.oi_1))
3415
+ if (!equals(this.pi_1, tmp0_other_with_cast.pi_1))
3405
3416
  return false;
3406
3417
  return true;
3407
3418
  };
3408
3419
  function Content(type, reference, isNullable) {
3409
- this.xh_1 = type;
3410
- this.yh_1 = reference;
3411
- this.zh_1 = isNullable;
3420
+ this.yh_1 = type;
3421
+ this.zh_1 = reference;
3422
+ this.ai_1 = isNullable;
3412
3423
  }
3413
3424
  protoOf(Content).toString = function () {
3414
- return 'Content(type=' + this.xh_1 + ', reference=' + this.yh_1 + ', isNullable=' + this.zh_1 + ')';
3425
+ return 'Content(type=' + this.yh_1 + ', reference=' + this.zh_1 + ', isNullable=' + this.ai_1 + ')';
3415
3426
  };
3416
3427
  protoOf(Content).hashCode = function () {
3417
- var result = getStringHashCode(this.xh_1);
3418
- result = imul(result, 31) + hashCode(this.yh_1) | 0;
3419
- result = imul(result, 31) + (this.zh_1 | 0) | 0;
3428
+ var result = getStringHashCode(this.yh_1);
3429
+ result = imul(result, 31) + hashCode(this.zh_1) | 0;
3430
+ result = imul(result, 31) + (this.ai_1 | 0) | 0;
3420
3431
  return result;
3421
3432
  };
3422
3433
  protoOf(Content).equals = function (other) {
@@ -3425,11 +3436,11 @@
3425
3436
  if (!(other instanceof Content))
3426
3437
  return false;
3427
3438
  var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
3428
- if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3439
+ if (!(this.yh_1 === tmp0_other_with_cast.yh_1))
3429
3440
  return false;
3430
- if (!equals(this.yh_1, tmp0_other_with_cast.yh_1))
3441
+ if (!equals(this.zh_1, tmp0_other_with_cast.zh_1))
3431
3442
  return false;
3432
- if (!(this.zh_1 === tmp0_other_with_cast.zh_1))
3443
+ if (!(this.ai_1 === tmp0_other_with_cast.ai_1))
3433
3444
  return false;
3434
3445
  return true;
3435
3446
  };
@@ -3466,27 +3477,27 @@
3466
3477
  return Method_TRACE_instance;
3467
3478
  }
3468
3479
  function Endpoint(name, method, path, query, headers, cookies, requests, responses) {
3469
- this.fi_1 = name;
3470
- this.gi_1 = method;
3471
- this.hi_1 = path;
3472
- this.ii_1 = query;
3473
- this.ji_1 = headers;
3474
- this.ki_1 = cookies;
3475
- this.li_1 = requests;
3476
- this.mi_1 = responses;
3480
+ this.gi_1 = name;
3481
+ this.hi_1 = method;
3482
+ this.ii_1 = path;
3483
+ this.ji_1 = query;
3484
+ this.ki_1 = headers;
3485
+ this.li_1 = cookies;
3486
+ this.mi_1 = requests;
3487
+ this.ni_1 = responses;
3477
3488
  }
3478
3489
  protoOf(Endpoint).toString = function () {
3479
- return 'Endpoint(name=' + this.fi_1 + ', method=' + this.gi_1 + ', path=' + this.hi_1 + ', query=' + this.ii_1 + ', headers=' + this.ji_1 + ', cookies=' + this.ki_1 + ', requests=' + this.li_1 + ', responses=' + this.mi_1 + ')';
3490
+ return 'Endpoint(name=' + this.gi_1 + ', method=' + this.hi_1 + ', path=' + this.ii_1 + ', query=' + this.ji_1 + ', headers=' + this.ki_1 + ', cookies=' + this.li_1 + ', requests=' + this.mi_1 + ', responses=' + this.ni_1 + ')';
3480
3491
  };
3481
3492
  protoOf(Endpoint).hashCode = function () {
3482
- var result = getStringHashCode(this.fi_1);
3483
- result = imul(result, 31) + this.gi_1.hashCode() | 0;
3484
- result = imul(result, 31) + hashCode(this.hi_1) | 0;
3493
+ var result = getStringHashCode(this.gi_1);
3494
+ result = imul(result, 31) + this.hi_1.hashCode() | 0;
3485
3495
  result = imul(result, 31) + hashCode(this.ii_1) | 0;
3486
3496
  result = imul(result, 31) + hashCode(this.ji_1) | 0;
3487
3497
  result = imul(result, 31) + hashCode(this.ki_1) | 0;
3488
3498
  result = imul(result, 31) + hashCode(this.li_1) | 0;
3489
3499
  result = imul(result, 31) + hashCode(this.mi_1) | 0;
3500
+ result = imul(result, 31) + hashCode(this.ni_1) | 0;
3490
3501
  return result;
3491
3502
  };
3492
3503
  protoOf(Endpoint).equals = function (other) {
@@ -3495,11 +3506,9 @@
3495
3506
  if (!(other instanceof Endpoint))
3496
3507
  return false;
3497
3508
  var tmp0_other_with_cast = other instanceof Endpoint ? other : THROW_CCE();
3498
- if (!(this.fi_1 === tmp0_other_with_cast.fi_1))
3499
- return false;
3500
- if (!this.gi_1.equals(tmp0_other_with_cast.gi_1))
3509
+ if (!(this.gi_1 === tmp0_other_with_cast.gi_1))
3501
3510
  return false;
3502
- if (!equals(this.hi_1, tmp0_other_with_cast.hi_1))
3511
+ if (!this.hi_1.equals(tmp0_other_with_cast.hi_1))
3503
3512
  return false;
3504
3513
  if (!equals(this.ii_1, tmp0_other_with_cast.ii_1))
3505
3514
  return false;
@@ -3511,18 +3520,20 @@
3511
3520
  return false;
3512
3521
  if (!equals(this.mi_1, tmp0_other_with_cast.mi_1))
3513
3522
  return false;
3523
+ if (!equals(this.ni_1, tmp0_other_with_cast.ni_1))
3524
+ return false;
3514
3525
  return true;
3515
3526
  };
3516
3527
  function Enum_0(name, entries) {
3517
- this.lj_1 = name;
3518
- this.mj_1 = entries;
3528
+ this.mj_1 = name;
3529
+ this.nj_1 = entries;
3519
3530
  }
3520
3531
  protoOf(Enum_0).toString = function () {
3521
- return 'Enum(name=' + this.lj_1 + ', entries=' + this.mj_1 + ')';
3532
+ return 'Enum(name=' + this.mj_1 + ', entries=' + this.nj_1 + ')';
3522
3533
  };
3523
3534
  protoOf(Enum_0).hashCode = function () {
3524
- var result = getStringHashCode(this.lj_1);
3525
- result = imul(result, 31) + hashCode(this.mj_1) | 0;
3535
+ var result = getStringHashCode(this.mj_1);
3536
+ result = imul(result, 31) + hashCode(this.nj_1) | 0;
3526
3537
  return result;
3527
3538
  };
3528
3539
  protoOf(Enum_0).equals = function (other) {
@@ -3531,20 +3542,20 @@
3531
3542
  if (!(other instanceof Enum_0))
3532
3543
  return false;
3533
3544
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
3534
- if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3545
+ if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3535
3546
  return false;
3536
- if (!equals(this.mj_1, tmp0_other_with_cast.mj_1))
3547
+ if (!equals(this.nj_1, tmp0_other_with_cast.nj_1))
3537
3548
  return false;
3538
3549
  return true;
3539
3550
  };
3540
3551
  function Validator(value) {
3541
- this.qj_1 = value;
3552
+ this.rj_1 = value;
3542
3553
  }
3543
3554
  protoOf(Validator).toString = function () {
3544
- return 'Validator(value=' + this.qj_1 + ')';
3555
+ return 'Validator(value=' + this.rj_1 + ')';
3545
3556
  };
3546
3557
  protoOf(Validator).hashCode = function () {
3547
- return getStringHashCode(this.qj_1);
3558
+ return getStringHashCode(this.rj_1);
3548
3559
  };
3549
3560
  protoOf(Validator).equals = function (other) {
3550
3561
  if (this === other)
@@ -3552,20 +3563,20 @@
3552
3563
  if (!(other instanceof Validator))
3553
3564
  return false;
3554
3565
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
3555
- if (!(this.qj_1 === tmp0_other_with_cast.qj_1))
3566
+ if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
3556
3567
  return false;
3557
3568
  return true;
3558
3569
  };
3559
3570
  function Refined(name, validator) {
3560
- this.nj_1 = name;
3561
- this.oj_1 = validator;
3571
+ this.oj_1 = name;
3572
+ this.pj_1 = validator;
3562
3573
  }
3563
3574
  protoOf(Refined).toString = function () {
3564
- return 'Refined(name=' + this.nj_1 + ', validator=' + this.oj_1 + ')';
3575
+ return 'Refined(name=' + this.oj_1 + ', validator=' + this.pj_1 + ')';
3565
3576
  };
3566
3577
  protoOf(Refined).hashCode = function () {
3567
- var result = getStringHashCode(this.nj_1);
3568
- result = imul(result, 31) + this.oj_1.hashCode() | 0;
3578
+ var result = getStringHashCode(this.oj_1);
3579
+ result = imul(result, 31) + this.pj_1.hashCode() | 0;
3569
3580
  return result;
3570
3581
  };
3571
3582
  protoOf(Refined).equals = function (other) {
@@ -3574,9 +3585,9 @@
3574
3585
  if (!(other instanceof Refined))
3575
3586
  return false;
3576
3587
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
3577
- if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
3588
+ if (!(this.oj_1 === tmp0_other_with_cast.oj_1))
3578
3589
  return false;
3579
- if (!this.oj_1.equals(tmp0_other_with_cast.oj_1))
3590
+ if (!this.pj_1.equals(tmp0_other_with_cast.pj_1))
3580
3591
  return false;
3581
3592
  return true;
3582
3593
  };
@@ -3619,7 +3630,7 @@
3619
3630
  var item = tmp0_iterator.e();
3620
3631
  var tmp$ret$2;
3621
3632
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>.<anonymous>' call
3622
- tmp$ret$2 = raise.eh(item);
3633
+ tmp$ret$2 = raise.fh(item);
3623
3634
  tmp1_mapTo.a(tmp$ret$2);
3624
3635
  }
3625
3636
  tmp$ret$3 = tmp1_mapTo;
@@ -3627,7 +3638,7 @@
3627
3638
  tmp$ret$5 = tmp$ret$4;
3628
3639
  tmp$ret$6 = tmp$ret$5;
3629
3640
  var res = tmp$ret$6;
3630
- raise.bh();
3641
+ raise.ch();
3631
3642
  var tmp$ret$7;
3632
3643
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3633
3644
  tmp$ret$7 = new Right(res);
@@ -3636,7 +3647,7 @@
3636
3647
  var tmp_0;
3637
3648
  if ($p instanceof CancellationException) {
3638
3649
  var e = $p;
3639
- raise.bh();
3650
+ raise.ch();
3640
3651
  var tmp$ret$8;
3641
3652
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3642
3653
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3645,7 +3656,7 @@
3645
3656
  } else {
3646
3657
  if ($p instanceof Error) {
3647
3658
  var e_0 = $p;
3648
- raise.bh();
3659
+ raise.ch();
3649
3660
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3650
3661
  throw tmp0__anonymous__q1qw7t;
3651
3662
  } else {
@@ -3675,37 +3686,37 @@
3675
3686
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3676
3687
  var tmp$ret$2;
3677
3688
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3678
- log(_this__u8e3s4.rl_1, $this);
3679
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3689
+ log(_this__u8e3s4.sl_1, $this);
3690
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3680
3691
  var tmp_0;
3681
3692
  if (tmp0_subject instanceof WsTypeDef) {
3682
- tmp_0 = raise.eh(parseTypeDeclaration(_this__u8e3s4, $this));
3693
+ tmp_0 = raise.fh(parseTypeDeclaration(_this__u8e3s4, $this));
3683
3694
  } else {
3684
3695
  if (tmp0_subject instanceof WsEnumTypeDef) {
3685
- tmp_0 = raise.eh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3696
+ tmp_0 = raise.fh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3686
3697
  } else {
3687
3698
  if (tmp0_subject instanceof WsRefinedTypeDef) {
3688
- tmp_0 = raise.eh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3699
+ tmp_0 = raise.fh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3689
3700
  } else {
3690
3701
  var tmp$ret$1;
3691
3702
  // Inline function 'arrow.core.nel' call
3692
3703
  var tmp$ret$0;
3693
3704
  // Inline function 'kotlin.also' call
3694
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.rl_1);
3705
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.sl_1);
3695
3706
  // Inline function 'kotlin.contracts.contract' call
3696
3707
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3697
- raise.eh(_this__u8e3s4.tl());
3708
+ raise.fh(_this__u8e3s4.ul());
3698
3709
  tmp$ret$0 = tmp0_also;
3699
3710
  var tmp1_nel = tmp$ret$0;
3700
3711
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3701
- raise.dh(tmp$ret$1);
3712
+ raise.eh(tmp$ret$1);
3702
3713
  }
3703
3714
  }
3704
3715
  }
3705
3716
  tmp$ret$2 = tmp_0;
3706
3717
  tmp$ret$3 = tmp$ret$2;
3707
3718
  var res = tmp$ret$3;
3708
- raise.bh();
3719
+ raise.ch();
3709
3720
  var tmp$ret$4;
3710
3721
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3711
3722
  tmp$ret$4 = new Right(res);
@@ -3714,7 +3725,7 @@
3714
3725
  var tmp_1;
3715
3726
  if ($p instanceof CancellationException) {
3716
3727
  var e = $p;
3717
- raise.bh();
3728
+ raise.ch();
3718
3729
  var tmp$ret$5;
3719
3730
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3720
3731
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3723,7 +3734,7 @@
3723
3734
  } else {
3724
3735
  if ($p instanceof Error) {
3725
3736
  var e_0 = $p;
3726
- raise.bh();
3737
+ raise.ch();
3727
3738
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3728
3739
  throw tmp0__anonymous__q1qw7t;
3729
3740
  } else {
@@ -3753,30 +3764,30 @@
3753
3764
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3754
3765
  var tmp$ret$2;
3755
3766
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3756
- raise.eh(_this__u8e3s4.tl());
3757
- log(_this__u8e3s4.rl_1, $this);
3758
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3767
+ raise.fh(_this__u8e3s4.ul());
3768
+ log(_this__u8e3s4.sl_1, $this);
3769
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3759
3770
  var tmp_0;
3760
3771
  if (tmp0_subject instanceof CustomType) {
3761
- tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
3772
+ tmp_0 = raise.fh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
3762
3773
  } else {
3763
3774
  var tmp$ret$1;
3764
3775
  // Inline function 'arrow.core.nel' call
3765
3776
  var tmp$ret$0;
3766
3777
  // Inline function 'kotlin.also' call
3767
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
3778
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
3768
3779
  // Inline function 'kotlin.contracts.contract' call
3769
3780
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3770
- raise.eh(_this__u8e3s4.tl());
3781
+ raise.fh(_this__u8e3s4.ul());
3771
3782
  tmp$ret$0 = tmp0_also;
3772
3783
  var tmp1_nel = tmp$ret$0;
3773
3784
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3774
- raise.dh(tmp$ret$1);
3785
+ raise.eh(tmp$ret$1);
3775
3786
  }
3776
3787
  tmp$ret$2 = tmp_0;
3777
3788
  tmp$ret$3 = tmp$ret$2;
3778
3789
  var res = tmp$ret$3;
3779
- raise.bh();
3790
+ raise.ch();
3780
3791
  var tmp$ret$4;
3781
3792
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3782
3793
  tmp$ret$4 = new Right(res);
@@ -3785,7 +3796,7 @@
3785
3796
  var tmp_1;
3786
3797
  if ($p instanceof CancellationException) {
3787
3798
  var e = $p;
3788
- raise.bh();
3799
+ raise.ch();
3789
3800
  var tmp$ret$5;
3790
3801
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3791
3802
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3794,7 +3805,7 @@
3794
3805
  } else {
3795
3806
  if ($p instanceof Error) {
3796
3807
  var e_0 = $p;
3797
- raise.bh();
3808
+ raise.ch();
3798
3809
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3799
3810
  throw tmp0__anonymous__q1qw7t;
3800
3811
  } else {
@@ -3824,53 +3835,53 @@
3824
3835
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3825
3836
  var tmp$ret$5;
3826
3837
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3827
- raise.eh(_this__u8e3s4.tl());
3828
- log(_this__u8e3s4.rl_1, $this);
3838
+ raise.fh(_this__u8e3s4.ul());
3839
+ log(_this__u8e3s4.sl_1, $this);
3829
3840
  var tmp$ret$4;
3830
3841
  // Inline function 'kotlin.also' call
3831
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3842
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3832
3843
  var tmp_0;
3833
3844
  if (tmp0_subject instanceof LeftCurly) {
3834
- tmp_0 = new Type_0(typeName, raise.eh(parseTypeShape(_this__u8e3s4, $this)));
3845
+ tmp_0 = new Type_0(typeName, raise.fh(parseTypeShape(_this__u8e3s4, $this)));
3835
3846
  } else {
3836
3847
  var tmp$ret$1;
3837
3848
  // Inline function 'arrow.core.nel' call
3838
3849
  var tmp$ret$0;
3839
3850
  // Inline function 'kotlin.also' call
3840
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.rl_1);
3851
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
3841
3852
  // Inline function 'kotlin.contracts.contract' call
3842
3853
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3843
- raise.eh(_this__u8e3s4.tl());
3854
+ raise.fh(_this__u8e3s4.ul());
3844
3855
  tmp$ret$0 = tmp0_also;
3845
3856
  var tmp1_nel = tmp$ret$0;
3846
3857
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3847
- raise.dh(tmp$ret$1);
3858
+ raise.eh(tmp$ret$1);
3848
3859
  }
3849
3860
  var tmp2_also = tmp_0;
3850
3861
  // Inline function 'kotlin.contracts.contract' call
3851
3862
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3852
- var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
3863
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
3853
3864
  if (tmp0_subject_0 instanceof RightCurly)
3854
- raise.eh(_this__u8e3s4.tl());
3865
+ raise.fh(_this__u8e3s4.ul());
3855
3866
  else {
3856
3867
  var tmp$ret$3;
3857
3868
  // Inline function 'arrow.core.nel' call
3858
3869
  var tmp$ret$2;
3859
3870
  // Inline function 'kotlin.also' call
3860
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.rl_1);
3871
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
3861
3872
  // Inline function 'kotlin.contracts.contract' call
3862
3873
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3863
- raise.eh(_this__u8e3s4.tl());
3874
+ raise.fh(_this__u8e3s4.ul());
3864
3875
  tmp$ret$2 = tmp0_also_0;
3865
3876
  var tmp1_nel_0 = tmp$ret$2;
3866
3877
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
3867
- raise.dh(tmp$ret$3);
3878
+ raise.eh(tmp$ret$3);
3868
3879
  }
3869
3880
  tmp$ret$4 = tmp2_also;
3870
3881
  tmp$ret$5 = tmp$ret$4;
3871
3882
  tmp$ret$6 = tmp$ret$5;
3872
3883
  var res = tmp$ret$6;
3873
- raise.bh();
3884
+ raise.ch();
3874
3885
  var tmp$ret$7;
3875
3886
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3876
3887
  tmp$ret$7 = new Right(res);
@@ -3879,7 +3890,7 @@
3879
3890
  var tmp_1;
3880
3891
  if ($p instanceof CancellationException) {
3881
3892
  var e = $p;
3882
- raise.bh();
3893
+ raise.ch();
3883
3894
  var tmp$ret$8;
3884
3895
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3885
3896
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3888,7 +3899,7 @@
3888
3899
  } else {
3889
3900
  if ($p instanceof Error) {
3890
3901
  var e_0 = $p;
3891
- raise.bh();
3902
+ raise.ch();
3892
3903
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3893
3904
  throw tmp0__anonymous__q1qw7t;
3894
3905
  } else {
@@ -3918,11 +3929,11 @@
3918
3929
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3919
3930
  var tmp$ret$7;
3920
3931
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3921
- raise.eh(_this__u8e3s4.tl());
3922
- log(_this__u8e3s4.rl_1, $this);
3932
+ raise.fh(_this__u8e3s4.ul());
3933
+ log(_this__u8e3s4.sl_1, $this);
3923
3934
  var tmp$ret$6;
3924
3935
  // Inline function 'kotlin.let' call
3925
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
3936
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3926
3937
  var tmp_0;
3927
3938
  if (tmp0_subject instanceof CustomValue) {
3928
3939
  var tmp$ret$3;
@@ -3933,25 +3944,25 @@
3933
3944
  var tmp0_apply = tmp$ret$0;
3934
3945
  // Inline function 'kotlin.contracts.contract' call
3935
3946
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3936
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.rl_1.al_1))));
3937
- while (equals(_this__u8e3s4.rl_1.zk_1, Comma_getInstance())) {
3938
- raise.eh(_this__u8e3s4.tl());
3939
- var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
3947
+ tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.sl_1.bl_1))));
3948
+ while (equals(_this__u8e3s4.sl_1.al_1, Comma_getInstance())) {
3949
+ raise.fh(_this__u8e3s4.ul());
3950
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
3940
3951
  if (tmp0_subject_0 instanceof CustomValue) {
3941
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.rl_1.al_1))));
3952
+ tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.sl_1.bl_1))));
3942
3953
  } else {
3943
3954
  var tmp$ret$2;
3944
3955
  // Inline function 'arrow.core.nel' call
3945
3956
  var tmp$ret$1;
3946
3957
  // Inline function 'kotlin.also' call
3947
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.rl_1);
3958
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
3948
3959
  // Inline function 'kotlin.contracts.contract' call
3949
3960
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3950
- raise.eh(_this__u8e3s4.tl());
3961
+ raise.fh(_this__u8e3s4.ul());
3951
3962
  tmp$ret$1 = tmp0_also;
3952
3963
  var tmp1_nel = tmp$ret$1;
3953
3964
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
3954
- raise.dh(tmp$ret$2);
3965
+ raise.eh(tmp$ret$2);
3955
3966
  }
3956
3967
  }
3957
3968
  tmp$ret$3 = tmp0_apply;
@@ -3961,14 +3972,14 @@
3961
3972
  // Inline function 'arrow.core.nel' call
3962
3973
  var tmp$ret$4;
3963
3974
  // Inline function 'kotlin.also' call
3964
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.rl_1);
3975
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
3965
3976
  // Inline function 'kotlin.contracts.contract' call
3966
3977
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3967
- raise.eh(_this__u8e3s4.tl());
3978
+ raise.fh(_this__u8e3s4.ul());
3968
3979
  tmp$ret$4 = tmp1_also;
3969
3980
  var tmp2_nel = tmp$ret$4;
3970
3981
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
3971
- raise.dh(tmp$ret$5);
3982
+ raise.eh(tmp$ret$5);
3972
3983
  }
3973
3984
  var tmp3_let = tmp_0;
3974
3985
  // Inline function 'kotlin.contracts.contract' call
@@ -3976,7 +3987,7 @@
3976
3987
  tmp$ret$7 = tmp$ret$6;
3977
3988
  tmp$ret$8 = tmp$ret$7;
3978
3989
  var res = tmp$ret$8;
3979
- raise.bh();
3990
+ raise.ch();
3980
3991
  var tmp$ret$9;
3981
3992
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3982
3993
  tmp$ret$9 = new Right(res);
@@ -3985,7 +3996,7 @@
3985
3996
  var tmp_1;
3986
3997
  if ($p instanceof CancellationException) {
3987
3998
  var e = $p;
3988
- raise.bh();
3999
+ raise.ch();
3989
4000
  var tmp$ret$10;
3990
4001
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3991
4002
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3994,7 +4005,7 @@
3994
4005
  } else {
3995
4006
  if ($p instanceof Error) {
3996
4007
  var e_0 = $p;
3997
- raise.bh();
4008
+ raise.ch();
3998
4009
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3999
4010
  throw tmp0__anonymous__q1qw7t;
4000
4011
  } else {
@@ -4024,37 +4035,37 @@
4024
4035
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4025
4036
  var tmp$ret$5;
4026
4037
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
4027
- raise.eh(_this__u8e3s4.tl());
4028
- log(_this__u8e3s4.rl_1, $this);
4029
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4038
+ raise.fh(_this__u8e3s4.ul());
4039
+ log(_this__u8e3s4.sl_1, $this);
4040
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4030
4041
  if (tmp0_subject instanceof Colon)
4031
- raise.eh(_this__u8e3s4.tl());
4042
+ raise.fh(_this__u8e3s4.ul());
4032
4043
  else {
4033
4044
  var tmp$ret$1;
4034
4045
  // Inline function 'arrow.core.nel' call
4035
4046
  var tmp$ret$0;
4036
4047
  // Inline function 'kotlin.also' call
4037
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.rl_1);
4048
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.sl_1);
4038
4049
  // Inline function 'kotlin.contracts.contract' call
4039
4050
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4040
- raise.eh(_this__u8e3s4.tl());
4051
+ raise.fh(_this__u8e3s4.ul());
4041
4052
  tmp$ret$0 = tmp0_also;
4042
4053
  var tmp1_nel = tmp$ret$0;
4043
4054
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4044
- raise.dh(tmp$ret$1);
4055
+ raise.eh(tmp$ret$1);
4045
4056
  }
4046
- var type = _this__u8e3s4.rl_1.zk_1;
4057
+ var type = _this__u8e3s4.sl_1.al_1;
4047
4058
  var tmp_0;
4048
4059
  if (isInterface(type, WsType)) {
4049
- var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.rl_1.al_1));
4060
+ var tmp_1 = raise.fh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.sl_1.bl_1));
4050
4061
  var tmp$ret$2;
4051
4062
  // Inline function 'kotlin.also' call
4052
- var tmp_2 = _this__u8e3s4.rl_1.zk_1;
4063
+ var tmp_2 = _this__u8e3s4.sl_1.al_1;
4053
4064
  var tmp2_also = tmp_2 instanceof QuestionMark;
4054
4065
  // Inline function 'kotlin.contracts.contract' call
4055
4066
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4056
4067
  if (tmp2_also)
4057
- raise.eh(_this__u8e3s4.tl());
4068
+ raise.fh(_this__u8e3s4.ul());
4058
4069
  tmp$ret$2 = tmp2_also;
4059
4070
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
4060
4071
  } else {
@@ -4062,19 +4073,19 @@
4062
4073
  // Inline function 'arrow.core.nel' call
4063
4074
  var tmp$ret$3;
4064
4075
  // Inline function 'kotlin.also' call
4065
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4076
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4066
4077
  // Inline function 'kotlin.contracts.contract' call
4067
4078
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4068
- raise.eh(_this__u8e3s4.tl());
4079
+ raise.fh(_this__u8e3s4.ul());
4069
4080
  tmp$ret$3 = tmp3_also;
4070
4081
  var tmp4_nel = tmp$ret$3;
4071
4082
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
4072
- raise.dh(tmp$ret$4);
4083
+ raise.eh(tmp$ret$4);
4073
4084
  }
4074
4085
  tmp$ret$5 = tmp_0;
4075
4086
  tmp$ret$6 = tmp$ret$5;
4076
4087
  var res = tmp$ret$6;
4077
- raise.bh();
4088
+ raise.ch();
4078
4089
  var tmp$ret$7;
4079
4090
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4080
4091
  tmp$ret$7 = new Right(res);
@@ -4083,7 +4094,7 @@
4083
4094
  var tmp_3;
4084
4095
  if ($p instanceof CancellationException) {
4085
4096
  var e = $p;
4086
- raise.bh();
4097
+ raise.ch();
4087
4098
  var tmp$ret$8;
4088
4099
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4089
4100
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4092,7 +4103,7 @@
4092
4103
  } else {
4093
4104
  if ($p instanceof Error) {
4094
4105
  var e_0 = $p;
4095
- raise.bh();
4106
+ raise.ch();
4096
4107
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4097
4108
  throw tmp0__anonymous__q1qw7t;
4098
4109
  } else {
@@ -4122,16 +4133,16 @@
4122
4133
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4123
4134
  var tmp$ret$1;
4124
4135
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
4125
- raise.eh(_this__u8e3s4.tl());
4126
- log(_this__u8e3s4.rl_1, $this);
4136
+ raise.fh(_this__u8e3s4.ul());
4137
+ log(_this__u8e3s4.sl_1, $this);
4127
4138
  var tmp$ret$0;
4128
4139
  // Inline function 'kotlin.also' call
4129
- var tmp_0 = _this__u8e3s4.rl_1.zk_1;
4140
+ var tmp_0 = _this__u8e3s4.sl_1.al_1;
4130
4141
  var tmp0_also = tmp_0 instanceof Brackets;
4131
4142
  // Inline function 'kotlin.contracts.contract' call
4132
4143
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
4133
4144
  if (tmp0_also)
4134
- raise.eh(_this__u8e3s4.tl());
4145
+ raise.fh(_this__u8e3s4.ul());
4135
4146
  tmp$ret$0 = tmp0_also;
4136
4147
  var isIterable = tmp$ret$0;
4137
4148
  var tmp0_subject = wsType;
@@ -4156,7 +4167,7 @@
4156
4167
  tmp$ret$1 = tmp_1;
4157
4168
  tmp$ret$2 = tmp$ret$1;
4158
4169
  var res = tmp$ret$2;
4159
- raise.bh();
4170
+ raise.ch();
4160
4171
  var tmp$ret$3;
4161
4172
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4162
4173
  tmp$ret$3 = new Right(res);
@@ -4165,7 +4176,7 @@
4165
4176
  var tmp_2;
4166
4177
  if ($p instanceof CancellationException) {
4167
4178
  var e = $p;
4168
- raise.bh();
4179
+ raise.ch();
4169
4180
  var tmp$ret$4;
4170
4181
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4171
4182
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4174,7 +4185,7 @@
4174
4185
  } else {
4175
4186
  if ($p instanceof Error) {
4176
4187
  var e_0 = $p;
4177
- raise.bh();
4188
+ raise.ch();
4178
4189
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4179
4190
  throw tmp0__anonymous__q1qw7t;
4180
4191
  } else {
@@ -4204,30 +4215,30 @@
4204
4215
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4205
4216
  var tmp$ret$2;
4206
4217
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4207
- raise.eh(_this__u8e3s4.tl());
4208
- log(_this__u8e3s4.rl_1, $this);
4209
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4218
+ raise.fh(_this__u8e3s4.ul());
4219
+ log(_this__u8e3s4.sl_1, $this);
4220
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4210
4221
  var tmp_0;
4211
4222
  if (tmp0_subject instanceof CustomType) {
4212
- tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
4223
+ tmp_0 = raise.fh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4213
4224
  } else {
4214
4225
  var tmp$ret$1;
4215
4226
  // Inline function 'arrow.core.nel' call
4216
4227
  var tmp$ret$0;
4217
4228
  // Inline function 'kotlin.also' call
4218
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4229
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4219
4230
  // Inline function 'kotlin.contracts.contract' call
4220
4231
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4221
- raise.eh(_this__u8e3s4.tl());
4232
+ raise.fh(_this__u8e3s4.ul());
4222
4233
  tmp$ret$0 = tmp0_also;
4223
4234
  var tmp1_nel = tmp$ret$0;
4224
4235
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4225
- raise.dh(tmp$ret$1);
4236
+ raise.eh(tmp$ret$1);
4226
4237
  }
4227
4238
  tmp$ret$2 = tmp_0;
4228
4239
  tmp$ret$3 = tmp$ret$2;
4229
4240
  var res = tmp$ret$3;
4230
- raise.bh();
4241
+ raise.ch();
4231
4242
  var tmp$ret$4;
4232
4243
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4233
4244
  tmp$ret$4 = new Right(res);
@@ -4236,7 +4247,7 @@
4236
4247
  var tmp_1;
4237
4248
  if ($p instanceof CancellationException) {
4238
4249
  var e = $p;
4239
- raise.bh();
4250
+ raise.ch();
4240
4251
  var tmp$ret$5;
4241
4252
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4242
4253
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4245,7 +4256,7 @@
4245
4256
  } else {
4246
4257
  if ($p instanceof Error) {
4247
4258
  var e_0 = $p;
4248
- raise.bh();
4259
+ raise.ch();
4249
4260
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4250
4261
  throw tmp0__anonymous__q1qw7t;
4251
4262
  } else {
@@ -4275,53 +4286,53 @@
4275
4286
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4276
4287
  var tmp$ret$5;
4277
4288
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4278
- raise.eh(_this__u8e3s4.tl());
4279
- log(_this__u8e3s4.rl_1, $this);
4289
+ raise.fh(_this__u8e3s4.ul());
4290
+ log(_this__u8e3s4.sl_1, $this);
4280
4291
  var tmp$ret$4;
4281
4292
  // Inline function 'kotlin.also' call
4282
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4293
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4283
4294
  var tmp_0;
4284
4295
  if (tmp0_subject instanceof LeftCurly) {
4285
- tmp_0 = new Enum_0(typeName, raise.eh(parseEnumTypeEntries(_this__u8e3s4, $this)));
4296
+ tmp_0 = new Enum_0(typeName, raise.fh(parseEnumTypeEntries(_this__u8e3s4, $this)));
4286
4297
  } else {
4287
4298
  var tmp$ret$1;
4288
4299
  // Inline function 'arrow.core.nel' call
4289
4300
  var tmp$ret$0;
4290
4301
  // Inline function 'kotlin.also' call
4291
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.rl_1);
4302
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
4292
4303
  // Inline function 'kotlin.contracts.contract' call
4293
4304
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4294
- raise.eh(_this__u8e3s4.tl());
4305
+ raise.fh(_this__u8e3s4.ul());
4295
4306
  tmp$ret$0 = tmp0_also;
4296
4307
  var tmp1_nel = tmp$ret$0;
4297
4308
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4298
- raise.dh(tmp$ret$1);
4309
+ raise.eh(tmp$ret$1);
4299
4310
  }
4300
4311
  var tmp2_also = tmp_0;
4301
4312
  // Inline function 'kotlin.contracts.contract' call
4302
4313
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4303
- var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
4314
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4304
4315
  if (tmp0_subject_0 instanceof RightCurly)
4305
- raise.eh(_this__u8e3s4.tl());
4316
+ raise.fh(_this__u8e3s4.ul());
4306
4317
  else {
4307
4318
  var tmp$ret$3;
4308
4319
  // Inline function 'arrow.core.nel' call
4309
4320
  var tmp$ret$2;
4310
4321
  // Inline function 'kotlin.also' call
4311
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.rl_1);
4322
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
4312
4323
  // Inline function 'kotlin.contracts.contract' call
4313
4324
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4314
- raise.eh(_this__u8e3s4.tl());
4325
+ raise.fh(_this__u8e3s4.ul());
4315
4326
  tmp$ret$2 = tmp0_also_0;
4316
4327
  var tmp1_nel_0 = tmp$ret$2;
4317
4328
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
4318
- raise.dh(tmp$ret$3);
4329
+ raise.eh(tmp$ret$3);
4319
4330
  }
4320
4331
  tmp$ret$4 = tmp2_also;
4321
4332
  tmp$ret$5 = tmp$ret$4;
4322
4333
  tmp$ret$6 = tmp$ret$5;
4323
4334
  var res = tmp$ret$6;
4324
- raise.bh();
4335
+ raise.ch();
4325
4336
  var tmp$ret$7;
4326
4337
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4327
4338
  tmp$ret$7 = new Right(res);
@@ -4330,7 +4341,7 @@
4330
4341
  var tmp_1;
4331
4342
  if ($p instanceof CancellationException) {
4332
4343
  var e = $p;
4333
- raise.bh();
4344
+ raise.ch();
4334
4345
  var tmp$ret$8;
4335
4346
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4336
4347
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4339,7 +4350,7 @@
4339
4350
  } else {
4340
4351
  if ($p instanceof Error) {
4341
4352
  var e_0 = $p;
4342
- raise.bh();
4353
+ raise.ch();
4343
4354
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4344
4355
  throw tmp0__anonymous__q1qw7t;
4345
4356
  } else {
@@ -4369,9 +4380,9 @@
4369
4380
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4370
4381
  var tmp$ret$7;
4371
4382
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4372
- raise.eh(_this__u8e3s4.tl());
4373
- log(_this__u8e3s4.rl_1, $this);
4374
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4383
+ raise.fh(_this__u8e3s4.ul());
4384
+ log(_this__u8e3s4.sl_1, $this);
4385
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4375
4386
  var tmp_0;
4376
4387
  if (tmp0_subject instanceof CustomType) {
4377
4388
  var tmp$ret$4;
@@ -4382,32 +4393,32 @@
4382
4393
  var tmp0_apply = tmp$ret$0;
4383
4394
  // Inline function 'kotlin.contracts.contract' call
4384
4395
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4385
- tmp0_apply.a(_this__u8e3s4.rl_1.al_1);
4386
- raise.eh(_this__u8e3s4.tl());
4387
- while (equals(_this__u8e3s4.rl_1.zk_1, Comma_getInstance())) {
4388
- raise.eh(_this__u8e3s4.tl());
4389
- var tmp0_subject_0 = _this__u8e3s4.rl_1.zk_1;
4396
+ tmp0_apply.a(_this__u8e3s4.sl_1.bl_1);
4397
+ raise.fh(_this__u8e3s4.ul());
4398
+ while (equals(_this__u8e3s4.sl_1.al_1, Comma_getInstance())) {
4399
+ raise.fh(_this__u8e3s4.ul());
4400
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4390
4401
  if (tmp0_subject_0 instanceof CustomType) {
4391
4402
  var tmp$ret$1;
4392
4403
  // Inline function 'kotlin.also' call
4393
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.rl_1.al_1);
4404
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.sl_1.bl_1);
4394
4405
  // Inline function 'kotlin.contracts.contract' call
4395
4406
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4396
- raise.eh(_this__u8e3s4.tl());
4407
+ raise.fh(_this__u8e3s4.ul());
4397
4408
  tmp$ret$1 = tmp0_also;
4398
4409
  } else {
4399
4410
  var tmp$ret$3;
4400
4411
  // Inline function 'arrow.core.nel' call
4401
4412
  var tmp$ret$2;
4402
4413
  // Inline function 'kotlin.also' call
4403
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4414
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4404
4415
  // Inline function 'kotlin.contracts.contract' call
4405
4416
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4406
- raise.eh(_this__u8e3s4.tl());
4417
+ raise.fh(_this__u8e3s4.ul());
4407
4418
  tmp$ret$2 = tmp1_also;
4408
4419
  var tmp2_nel = tmp$ret$2;
4409
4420
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
4410
- raise.dh(tmp$ret$3);
4421
+ raise.eh(tmp$ret$3);
4411
4422
  }
4412
4423
  }
4413
4424
  tmp$ret$4 = tmp0_apply;
@@ -4417,19 +4428,19 @@
4417
4428
  // Inline function 'arrow.core.nel' call
4418
4429
  var tmp$ret$5;
4419
4430
  // Inline function 'kotlin.also' call
4420
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4431
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4421
4432
  // Inline function 'kotlin.contracts.contract' call
4422
4433
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4423
- raise.eh(_this__u8e3s4.tl());
4434
+ raise.fh(_this__u8e3s4.ul());
4424
4435
  tmp$ret$5 = tmp1_also_0;
4425
4436
  var tmp2_nel_0 = tmp$ret$5;
4426
4437
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
4427
- raise.dh(tmp$ret$6);
4438
+ raise.eh(tmp$ret$6);
4428
4439
  }
4429
4440
  tmp$ret$7 = toSet(tmp_0);
4430
4441
  tmp$ret$8 = tmp$ret$7;
4431
4442
  var res = tmp$ret$8;
4432
- raise.bh();
4443
+ raise.ch();
4433
4444
  var tmp$ret$9;
4434
4445
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4435
4446
  tmp$ret$9 = new Right(res);
@@ -4438,7 +4449,7 @@
4438
4449
  var tmp_1;
4439
4450
  if ($p instanceof CancellationException) {
4440
4451
  var e = $p;
4441
- raise.bh();
4452
+ raise.ch();
4442
4453
  var tmp$ret$10;
4443
4454
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4444
4455
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4447,7 +4458,7 @@
4447
4458
  } else {
4448
4459
  if ($p instanceof Error) {
4449
4460
  var e_0 = $p;
4450
- raise.bh();
4461
+ raise.ch();
4451
4462
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4452
4463
  throw tmp0__anonymous__q1qw7t;
4453
4464
  } else {
@@ -4477,30 +4488,30 @@
4477
4488
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4478
4489
  var tmp$ret$2;
4479
4490
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4480
- raise.eh(_this__u8e3s4.tl());
4481
- log(_this__u8e3s4.rl_1, $this);
4482
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4491
+ raise.fh(_this__u8e3s4.ul());
4492
+ log(_this__u8e3s4.sl_1, $this);
4493
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4483
4494
  var tmp_0;
4484
4495
  if (tmp0_subject instanceof CustomType) {
4485
- tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.rl_1.al_1));
4496
+ tmp_0 = raise.fh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4486
4497
  } else {
4487
4498
  var tmp$ret$1;
4488
4499
  // Inline function 'arrow.core.nel' call
4489
4500
  var tmp$ret$0;
4490
4501
  // Inline function 'kotlin.also' call
4491
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.rl_1);
4502
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4492
4503
  // Inline function 'kotlin.contracts.contract' call
4493
4504
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4494
- raise.eh(_this__u8e3s4.tl());
4505
+ raise.fh(_this__u8e3s4.ul());
4495
4506
  tmp$ret$0 = tmp0_also;
4496
4507
  var tmp1_nel = tmp$ret$0;
4497
4508
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4498
- raise.dh(tmp$ret$1);
4509
+ raise.eh(tmp$ret$1);
4499
4510
  }
4500
4511
  tmp$ret$2 = tmp_0;
4501
4512
  tmp$ret$3 = tmp$ret$2;
4502
4513
  var res = tmp$ret$3;
4503
- raise.bh();
4514
+ raise.ch();
4504
4515
  var tmp$ret$4;
4505
4516
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4506
4517
  tmp$ret$4 = new Right(res);
@@ -4509,7 +4520,7 @@
4509
4520
  var tmp_1;
4510
4521
  if ($p instanceof CancellationException) {
4511
4522
  var e = $p;
4512
- raise.bh();
4523
+ raise.ch();
4513
4524
  var tmp$ret$5;
4514
4525
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4515
4526
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4518,7 +4529,7 @@
4518
4529
  } else {
4519
4530
  if ($p instanceof Error) {
4520
4531
  var e_0 = $p;
4521
- raise.bh();
4532
+ raise.ch();
4522
4533
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4523
4534
  throw tmp0__anonymous__q1qw7t;
4524
4535
  } else {
@@ -4548,37 +4559,37 @@
4548
4559
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4549
4560
  var tmp$ret$3;
4550
4561
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4551
- raise.eh(_this__u8e3s4.tl());
4552
- log(_this__u8e3s4.rl_1, $this);
4562
+ raise.fh(_this__u8e3s4.ul());
4563
+ log(_this__u8e3s4.sl_1, $this);
4553
4564
  var tmp$ret$2;
4554
4565
  // Inline function 'kotlin.also' call
4555
- var tmp0_subject = _this__u8e3s4.rl_1.zk_1;
4566
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4556
4567
  var tmp_0;
4557
4568
  if (tmp0_subject instanceof CustomRegex) {
4558
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.rl_1.al_1));
4569
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.sl_1.bl_1));
4559
4570
  } else {
4560
4571
  var tmp$ret$1;
4561
4572
  // Inline function 'arrow.core.nel' call
4562
4573
  var tmp$ret$0;
4563
4574
  // Inline function 'kotlin.also' call
4564
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.rl_1);
4575
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.sl_1);
4565
4576
  // Inline function 'kotlin.contracts.contract' call
4566
4577
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4567
- raise.eh(_this__u8e3s4.tl());
4578
+ raise.fh(_this__u8e3s4.ul());
4568
4579
  tmp$ret$0 = tmp0_also;
4569
4580
  var tmp1_nel = tmp$ret$0;
4570
4581
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4571
- raise.dh(tmp$ret$1);
4582
+ raise.eh(tmp$ret$1);
4572
4583
  }
4573
4584
  var tmp2_also = tmp_0;
4574
4585
  // Inline function 'kotlin.contracts.contract' call
4575
4586
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4576
- raise.eh(_this__u8e3s4.tl());
4587
+ raise.fh(_this__u8e3s4.ul());
4577
4588
  tmp$ret$2 = tmp2_also;
4578
4589
  tmp$ret$3 = tmp$ret$2;
4579
4590
  tmp$ret$4 = tmp$ret$3;
4580
4591
  var res = tmp$ret$4;
4581
- raise.bh();
4592
+ raise.ch();
4582
4593
  var tmp$ret$5;
4583
4594
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4584
4595
  tmp$ret$5 = new Right(res);
@@ -4587,7 +4598,7 @@
4587
4598
  var tmp_1;
4588
4599
  if ($p instanceof CancellationException) {
4589
4600
  var e = $p;
4590
- raise.bh();
4601
+ raise.ch();
4591
4602
  var tmp$ret$6;
4592
4603
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4593
4604
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4596,7 +4607,7 @@
4596
4607
  } else {
4597
4608
  if ($p instanceof Error) {
4598
4609
  var e_0 = $p;
4599
- raise.bh();
4610
+ raise.ch();
4600
4611
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4601
4612
  throw tmp0__anonymous__q1qw7t;
4602
4613
  } else {
@@ -4611,12 +4622,12 @@
4611
4622
  return tmp$ret$9;
4612
4623
  }
4613
4624
  function log(_this__u8e3s4, $this) {
4614
- return $this.oh_1.kh('Parsing ' + _this__u8e3s4.zk_1 + ' at line ' + _this__u8e3s4.bl_1.cl_1 + ' position ' + _this__u8e3s4.bl_1.dl_1);
4625
+ return $this.ph_1.lh('Parsing ' + _this__u8e3s4.al_1 + ' at line ' + _this__u8e3s4.cl_1.dl_1 + ' position ' + _this__u8e3s4.cl_1.el_1);
4615
4626
  }
4616
4627
  function Parser(logger) {
4617
- this.oh_1 = logger;
4628
+ this.ph_1 = logger;
4618
4629
  }
4619
- protoOf(Parser).ph = function (tokens) {
4630
+ protoOf(Parser).qh = function (tokens) {
4620
4631
  var tmp$ret$2;
4621
4632
  // Inline function 'kotlin.collections.filterNot' call
4622
4633
  var tmp$ret$1;
@@ -4627,7 +4638,7 @@
4627
4638
  var element = tmp0_iterator.e();
4628
4639
  var tmp$ret$0;
4629
4640
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4630
- var tmp = element.zk_1;
4641
+ var tmp = element.al_1;
4631
4642
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4632
4643
  if (!tmp$ret$0) {
4633
4644
  tmp0_filterNotTo.a(element);
@@ -4635,12 +4646,9 @@
4635
4646
  }
4636
4647
  tmp$ret$1 = tmp0_filterNotTo;
4637
4648
  tmp$ret$2 = tmp$ret$1;
4638
- return parse(toProvider(tmp$ret$2, this.oh_1), this);
4649
+ return parse(toProvider(tmp$ret$2, this.ph_1), this);
4639
4650
  };
4640
4651
  function printTokens($this, previousToken) {
4641
- var tmp$ret$6;
4642
- // Inline function 'kotlin.run' call
4643
- // Inline function 'kotlin.contracts.contract' call
4644
4652
  var tmp0_safe_receiver = previousToken;
4645
4653
  var tmp;
4646
4654
  if (tmp0_safe_receiver == null) {
@@ -4650,8 +4658,8 @@
4650
4658
  // Inline function 'kotlin.run' call
4651
4659
  // Inline function 'kotlin.contracts.contract' call
4652
4660
  var tmp$ret$0;
4653
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4654
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.al_1 + "', ";
4661
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4662
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.bl_1 + "', ";
4655
4663
  tmp$ret$1 = tmp$ret$0;
4656
4664
  tmp = tmp$ret$1;
4657
4665
  }
@@ -4659,14 +4667,14 @@
4659
4667
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4660
4668
  var tmp$ret$3;
4661
4669
  // Inline function 'kotlin.run' call
4662
- var tmp0_run = $this.rl_1;
4670
+ var tmp0_run = $this.sl_1;
4663
4671
  // Inline function 'kotlin.contracts.contract' call
4664
4672
  var tmp$ret$2;
4665
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4666
- tmp$ret$2 = "Current: '" + tmp0_run.al_1 + "'";
4673
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4674
+ tmp$ret$2 = "Current: '" + tmp0_run.bl_1 + "'";
4667
4675
  tmp$ret$3 = tmp$ret$2;
4668
4676
  var curr = tmp$ret$3;
4669
- var tmp2_safe_receiver = $this.sl_1;
4677
+ var tmp2_safe_receiver = $this.tl_1;
4670
4678
  var tmp_0;
4671
4679
  if (tmp2_safe_receiver == null) {
4672
4680
  tmp_0 = null;
@@ -4675,16 +4683,14 @@
4675
4683
  // Inline function 'kotlin.run' call
4676
4684
  // Inline function 'kotlin.contracts.contract' call
4677
4685
  var tmp$ret$4;
4678
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4679
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.al_1 + "'";
4686
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4687
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.bl_1 + "'";
4680
4688
  tmp$ret$5 = tmp$ret$4;
4681
4689
  tmp_0 = tmp$ret$5;
4682
4690
  }
4683
4691
  var tmp3_elvis_lhs = tmp_0;
4684
4692
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4685
- $this.pl_1.kh(prev + curr + next);
4686
- tmp$ret$6 = Unit_getInstance();
4687
- return tmp$ret$6;
4693
+ $this.ql_1.lh(prev + curr + next);
4688
4694
  }
4689
4695
  function printTokens$default($this, previousToken, $super) {
4690
4696
  previousToken = previousToken === VOID ? null : previousToken;
@@ -4702,7 +4708,7 @@
4702
4708
  var tmp0_success = Companion_getInstance();
4703
4709
  var tmp$ret$0;
4704
4710
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4705
- tmp$ret$0 = $this.ql_1.e();
4711
+ tmp$ret$0 = $this.rl_1.e();
4706
4712
  var tmp1_success = tmp$ret$0;
4707
4713
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4708
4714
  tmp = tmp$ret$1;
@@ -4733,24 +4739,28 @@
4733
4739
  return tmp$ret$4;
4734
4740
  }
4735
4741
  function TokenProvider(logger, tokenIterator) {
4736
- this.pl_1 = logger;
4737
- this.ql_1 = tokenIterator;
4742
+ this.ql_1 = logger;
4743
+ this.rl_1 = tokenIterator;
4738
4744
  var tmp = this;
4739
4745
  var tmp0_elvis_lhs = nextToken(this);
4740
4746
  var tmp_0;
4741
4747
  if (tmp0_elvis_lhs == null) {
4742
- throw new StartingException();
4748
+ var tmp_1 = EndOfProgram_getInstance();
4749
+ EndOfProgram_getInstance();
4750
+ var tmp_2 = new Coordinates();
4751
+ EndOfProgram_getInstance();
4752
+ tmp_0 = new Token(tmp_1, 'EOP', plus_2(tmp_2, 'EOP'.length));
4743
4753
  } else {
4744
4754
  tmp_0 = tmp0_elvis_lhs;
4745
4755
  }
4746
- tmp.rl_1 = tmp_0;
4747
- this.sl_1 = nextToken(this);
4756
+ tmp.sl_1 = tmp_0;
4757
+ this.tl_1 = nextToken(this);
4748
4758
  printTokens$default(this);
4749
4759
  }
4750
4760
  protoOf(TokenProvider).d = function () {
4751
- return !(this.sl_1 == null);
4761
+ return !(this.tl_1 == null);
4752
4762
  };
4753
- protoOf(TokenProvider).tl = function () {
4763
+ protoOf(TokenProvider).ul = function () {
4754
4764
  var tmp$ret$6;
4755
4765
  // Inline function 'arrow.core.raise.either' call
4756
4766
  var tmp$ret$5;
@@ -4764,25 +4774,25 @@
4764
4774
  try {
4765
4775
  var tmp$ret$1;
4766
4776
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4767
- var previousToken = this.rl_1;
4777
+ var previousToken = this.sl_1;
4768
4778
  var tmp_0 = this;
4769
- var tmp0_elvis_lhs = this.sl_1;
4779
+ var tmp0_elvis_lhs = this.tl_1;
4770
4780
  var tmp_1;
4771
4781
  if (tmp0_elvis_lhs == null) {
4772
4782
  var tmp$ret$0;
4773
4783
  // Inline function 'arrow.core.nel' call
4774
- var tmp0_nel = new NextException(previousToken.bl_1);
4784
+ var tmp0_nel = new NextException(previousToken.cl_1);
4775
4785
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4776
- raise.dh(tmp$ret$0);
4786
+ raise.eh(tmp$ret$0);
4777
4787
  } else {
4778
4788
  tmp_1 = tmp0_elvis_lhs;
4779
4789
  }
4780
- tmp_0.rl_1 = tmp_1;
4781
- this.sl_1 = nextToken(this);
4790
+ tmp_0.sl_1 = tmp_1;
4791
+ this.tl_1 = nextToken(this);
4782
4792
  printTokens(this, previousToken);
4783
4793
  tmp$ret$1 = Unit_getInstance();
4784
4794
  var res = tmp$ret$1;
4785
- raise.bh();
4795
+ raise.ch();
4786
4796
  var tmp$ret$2;
4787
4797
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4788
4798
  tmp$ret$2 = new Right(Unit_getInstance());
@@ -4791,7 +4801,7 @@
4791
4801
  var tmp_2;
4792
4802
  if ($p instanceof CancellationException) {
4793
4803
  var e = $p;
4794
- raise.bh();
4804
+ raise.ch();
4795
4805
  var tmp$ret$3;
4796
4806
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4797
4807
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4800,7 +4810,7 @@
4800
4810
  } else {
4801
4811
  if ($p instanceof Error) {
4802
4812
  var e_0 = $p;
4803
- raise.bh();
4813
+ raise.ch();
4804
4814
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4805
4815
  throw tmp0__anonymous__q1qw7t;
4806
4816
  } else {
@@ -4820,15 +4830,15 @@
4820
4830
  function IdxAndLength(idx, length) {
4821
4831
  idx = idx === VOID ? 0 : idx;
4822
4832
  length = length === VOID ? 0 : length;
4823
- this.ul_1 = idx;
4824
- this.vl_1 = length;
4833
+ this.vl_1 = idx;
4834
+ this.wl_1 = length;
4825
4835
  }
4826
4836
  protoOf(IdxAndLength).toString = function () {
4827
- return 'IdxAndLength(idx=' + this.ul_1 + ', length=' + this.vl_1 + ')';
4837
+ return 'IdxAndLength(idx=' + this.vl_1 + ', length=' + this.wl_1 + ')';
4828
4838
  };
4829
4839
  protoOf(IdxAndLength).hashCode = function () {
4830
- var result = this.ul_1;
4831
- result = imul(result, 31) + this.vl_1 | 0;
4840
+ var result = this.vl_1;
4841
+ result = imul(result, 31) + this.wl_1 | 0;
4832
4842
  return result;
4833
4843
  };
4834
4844
  protoOf(IdxAndLength).equals = function (other) {
@@ -4837,36 +4847,36 @@
4837
4847
  if (!(other instanceof IdxAndLength))
4838
4848
  return false;
4839
4849
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4840
- if (!(this.ul_1 === tmp0_other_with_cast.ul_1))
4841
- return false;
4842
4850
  if (!(this.vl_1 === tmp0_other_with_cast.vl_1))
4843
4851
  return false;
4852
+ if (!(this.wl_1 === tmp0_other_with_cast.wl_1))
4853
+ return false;
4844
4854
  return true;
4845
4855
  };
4846
4856
  function Coordinates(line, position, idxAndLength) {
4847
4857
  line = line === VOID ? 1 : line;
4848
4858
  position = position === VOID ? 1 : position;
4849
4859
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4850
- this.cl_1 = line;
4851
- this.dl_1 = position;
4852
- this.el_1 = idxAndLength;
4860
+ this.dl_1 = line;
4861
+ this.el_1 = position;
4862
+ this.fl_1 = idxAndLength;
4853
4863
  }
4854
- protoOf(Coordinates).wl = function (line, position, idxAndLength) {
4864
+ protoOf(Coordinates).xl = function (line, position, idxAndLength) {
4855
4865
  return new Coordinates(line, position, idxAndLength);
4856
4866
  };
4857
- protoOf(Coordinates).xl = function (line, position, idxAndLength, $super) {
4858
- line = line === VOID ? this.cl_1 : line;
4859
- position = position === VOID ? this.dl_1 : position;
4860
- idxAndLength = idxAndLength === VOID ? this.el_1 : idxAndLength;
4861
- return $super === VOID ? this.wl(line, position, idxAndLength) : $super.wl.call(this, line, position, idxAndLength);
4867
+ protoOf(Coordinates).yl = function (line, position, idxAndLength, $super) {
4868
+ line = line === VOID ? this.dl_1 : line;
4869
+ position = position === VOID ? this.el_1 : position;
4870
+ idxAndLength = idxAndLength === VOID ? this.fl_1 : idxAndLength;
4871
+ return $super === VOID ? this.xl(line, position, idxAndLength) : $super.xl.call(this, line, position, idxAndLength);
4862
4872
  };
4863
4873
  protoOf(Coordinates).toString = function () {
4864
- return 'Coordinates(line=' + this.cl_1 + ', position=' + this.dl_1 + ', idxAndLength=' + this.el_1 + ')';
4874
+ return 'Coordinates(line=' + this.dl_1 + ', position=' + this.el_1 + ', idxAndLength=' + this.fl_1 + ')';
4865
4875
  };
4866
4876
  protoOf(Coordinates).hashCode = function () {
4867
- var result = this.cl_1;
4868
- result = imul(result, 31) + this.dl_1 | 0;
4869
- result = imul(result, 31) + this.el_1.hashCode() | 0;
4877
+ var result = this.dl_1;
4878
+ result = imul(result, 31) + this.el_1 | 0;
4879
+ result = imul(result, 31) + this.fl_1.hashCode() | 0;
4870
4880
  return result;
4871
4881
  };
4872
4882
  protoOf(Coordinates).equals = function (other) {
@@ -4875,35 +4885,35 @@
4875
4885
  if (!(other instanceof Coordinates))
4876
4886
  return false;
4877
4887
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4878
- if (!(this.cl_1 === tmp0_other_with_cast.cl_1))
4879
- return false;
4880
4888
  if (!(this.dl_1 === tmp0_other_with_cast.dl_1))
4881
4889
  return false;
4882
- if (!this.el_1.equals(tmp0_other_with_cast.el_1))
4890
+ if (!(this.el_1 === tmp0_other_with_cast.el_1))
4891
+ return false;
4892
+ if (!this.fl_1.equals(tmp0_other_with_cast.fl_1))
4883
4893
  return false;
4884
4894
  return true;
4885
4895
  };
4886
4896
  function Token(type, value, coordinates) {
4887
- this.zk_1 = type;
4888
- this.al_1 = value;
4889
- this.bl_1 = coordinates;
4897
+ this.al_1 = type;
4898
+ this.bl_1 = value;
4899
+ this.cl_1 = coordinates;
4890
4900
  }
4891
- protoOf(Token).yl = function (type, value, coordinates) {
4901
+ protoOf(Token).zl = function (type, value, coordinates) {
4892
4902
  return new Token(type, value, coordinates);
4893
4903
  };
4894
- protoOf(Token).gl = function (type, value, coordinates, $super) {
4895
- type = type === VOID ? this.zk_1 : type;
4896
- value = value === VOID ? this.al_1 : value;
4897
- coordinates = coordinates === VOID ? this.bl_1 : coordinates;
4898
- return $super === VOID ? this.yl(type, value, coordinates) : $super.yl.call(this, type, value, coordinates);
4904
+ protoOf(Token).hl = function (type, value, coordinates, $super) {
4905
+ type = type === VOID ? this.al_1 : type;
4906
+ value = value === VOID ? this.bl_1 : value;
4907
+ coordinates = coordinates === VOID ? this.cl_1 : coordinates;
4908
+ return $super === VOID ? this.zl(type, value, coordinates) : $super.zl.call(this, type, value, coordinates);
4899
4909
  };
4900
4910
  protoOf(Token).toString = function () {
4901
- return 'Token(type=' + this.zk_1 + ', value=' + this.al_1 + ', coordinates=' + this.bl_1 + ')';
4911
+ return 'Token(type=' + this.al_1 + ', value=' + this.bl_1 + ', coordinates=' + this.cl_1 + ')';
4902
4912
  };
4903
4913
  protoOf(Token).hashCode = function () {
4904
- var result = hashCode(this.zk_1);
4905
- result = imul(result, 31) + getStringHashCode(this.al_1) | 0;
4906
- result = imul(result, 31) + this.bl_1.hashCode() | 0;
4914
+ var result = hashCode(this.al_1);
4915
+ result = imul(result, 31) + getStringHashCode(this.bl_1) | 0;
4916
+ result = imul(result, 31) + this.cl_1.hashCode() | 0;
4907
4917
  return result;
4908
4918
  };
4909
4919
  protoOf(Token).equals = function (other) {
@@ -4912,73 +4922,79 @@
4912
4922
  if (!(other instanceof Token))
4913
4923
  return false;
4914
4924
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4915
- if (!equals(this.zk_1, tmp0_other_with_cast.zk_1))
4925
+ if (!equals(this.al_1, tmp0_other_with_cast.al_1))
4916
4926
  return false;
4917
- if (!(this.al_1 === tmp0_other_with_cast.al_1))
4927
+ if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4918
4928
  return false;
4919
- if (!this.bl_1.equals(tmp0_other_with_cast.bl_1))
4929
+ if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4920
4930
  return false;
4921
4931
  return true;
4922
4932
  };
4923
4933
  function plus_1(_this__u8e3s4, length) {
4924
- return new IdxAndLength(_this__u8e3s4.ul_1 + length | 0, length);
4934
+ return new IdxAndLength(_this__u8e3s4.vl_1 + length | 0, length);
4925
4935
  }
4926
4936
  function plus_2(_this__u8e3s4, length) {
4927
- return _this__u8e3s4.xl(VOID, _this__u8e3s4.dl_1 + length | 0, plus_1(_this__u8e3s4.el_1, length));
4937
+ return _this__u8e3s4.yl(VOID, _this__u8e3s4.el_1 + length | 0, plus_1(_this__u8e3s4.fl_1, length));
4928
4938
  }
4929
4939
  function tokenize(_this__u8e3s4, source) {
4940
+ var tmp$ret$3;
4941
+ // Inline function 'kotlin.let' call
4930
4942
  var tmp$ret$1;
4931
4943
  // Inline function 'kotlin.let' call
4932
- var tmp0_let = tokenize_0(_this__u8e3s4, source, emptyList());
4944
+ var tmp0_let = extractToken(_this__u8e3s4, source, new Coordinates());
4933
4945
  // Inline function 'kotlin.contracts.contract' call
4934
4946
  var tmp$ret$0;
4935
4947
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.tokenize.<anonymous>' call
4948
+ var token = tmp0_let.i3();
4949
+ var remaining = tmp0_let.j3();
4950
+ tmp$ret$0 = tokenize_0(_this__u8e3s4, remaining, nonEmptyListOf(token, []));
4951
+ tmp$ret$1 = tmp$ret$0;
4952
+ var tmp1_let = tmp$ret$1;
4953
+ // Inline function 'kotlin.contracts.contract' call
4954
+ var tmp$ret$2;
4955
+ // Inline function 'community.flock.wirespec.compiler.core.tokenize.tokenize.<anonymous>' call
4936
4956
  var tmp = EndOfProgram_getInstance();
4937
4957
  EndOfProgram_getInstance();
4938
- var tmp_0 = lastCoordinates(tmp0_let);
4958
+ var tmp_0 = last(tmp1_let).cl_1;
4939
4959
  var tmp_1 = EndOfProgram_getInstance();
4940
4960
  EndOfProgram_getInstance();
4941
- tmp$ret$0 = plus_0(tmp0_let, new Token(tmp, 'EOP', nextCoordinates(tmp_0, tmp_1, 'EOP')));
4942
- tmp$ret$1 = tmp$ret$0;
4943
- return tmp$ret$1;
4961
+ tmp$ret$2 = tmp1_let.zg(new Token(tmp, 'EOP', nextCoordinates(tmp_0, tmp_1, 'EOP')));
4962
+ tmp$ret$3 = tmp$ret$2;
4963
+ return tmp$ret$3;
4944
4964
  }
4945
4965
  function nextCoordinates(_this__u8e3s4, type, value) {
4946
4966
  var tmp0_subject = type;
4947
4967
  var tmp;
4948
4968
  if (tmp0_subject instanceof NewLine) {
4949
- tmp = new Coordinates(_this__u8e3s4.cl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.el_1, value.length));
4969
+ tmp = new Coordinates(_this__u8e3s4.dl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.fl_1, value.length));
4950
4970
  } else {
4951
4971
  tmp = plus_2(_this__u8e3s4, value.length);
4952
4972
  }
4953
4973
  return tmp;
4954
4974
  }
4955
- function lastCoordinates(_this__u8e3s4) {
4956
- var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4957
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bl_1;
4958
- return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4959
- }
4960
- function tokenize_0(_this__u8e3s4, source, tokens) {
4975
+ function tokenize_0(_this__u8e3s4, source, incompleteTokens) {
4961
4976
  var $this = _this__u8e3s4;
4962
4977
  var source_0 = source;
4963
- var tokens_0 = tokens;
4978
+ var incompleteTokens_0 = incompleteTokens;
4964
4979
  $l$1: do {
4965
4980
  $l$0: do {
4966
- var token = findToken($this, lastCoordinates(tokens_0), source_0);
4967
- var newSource = removePrefix(source_0, token.al_1);
4968
- var newTokens = plus_0(tokens_0, token);
4981
+ var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).cl_1);
4982
+ var token = tmp0_container.i3();
4983
+ var remaining = tmp0_container.j3();
4984
+ var tokens = incompleteTokens_0.zg(token);
4969
4985
  var tmp;
4970
4986
  var tmp$ret$0;
4971
4987
  // Inline function 'kotlin.text.isEmpty' call
4972
- tmp$ret$0 = charSequenceLength(newSource) === 0;
4988
+ tmp$ret$0 = charSequenceLength(remaining) === 0;
4973
4989
  if (tmp$ret$0) {
4974
- tmp = newTokens;
4990
+ tmp = tokens;
4975
4991
  } else {
4976
4992
  var tmp0 = $this;
4977
- var tmp1 = newSource;
4978
- var tmp2 = newTokens;
4993
+ var tmp1 = remaining;
4994
+ var tmp2 = tokens;
4979
4995
  $this = tmp0;
4980
4996
  source_0 = tmp1;
4981
- tokens_0 = tmp2;
4997
+ incompleteTokens_0 = tmp2;
4982
4998
  continue $l$0;
4983
4999
  }
4984
5000
  return tmp;
@@ -4987,10 +5003,12 @@
4987
5003
  }
4988
5004
  while (true);
4989
5005
  }
4990
- function findToken(_this__u8e3s4, previousTokenCoordinates, source) {
5006
+ function extractToken(_this__u8e3s4, source, previousTokenCoordinates) {
5007
+ var tmp$ret$4;
5008
+ // Inline function 'kotlin.let' call
4991
5009
  var tmp$ret$2;
4992
5010
  // Inline function 'kotlin.collections.firstNotNullOf' call
4993
- var tmp0_firstNotNullOf = _this__u8e3s4.uh();
5011
+ var tmp0_firstNotNullOf = _this__u8e3s4.vh();
4994
5012
  var tmp$ret$1;
4995
5013
  $l$block: {
4996
5014
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
@@ -4998,7 +5016,7 @@
4998
5016
  while (tmp0_iterator.d()) {
4999
5017
  var element = tmp0_iterator.e();
5000
5018
  var tmp$ret$0;
5001
- // Inline function 'community.flock.wirespec.compiler.core.tokenize.findToken.<anonymous>' call
5019
+ // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
5002
5020
  var regex = element.i3();
5003
5021
  var tokenType = element.j3();
5004
5022
  var tmp0_safe_receiver = regex.ce(source);
@@ -5019,7 +5037,13 @@
5019
5037
  tmp = tmp0_elvis_lhs;
5020
5038
  }
5021
5039
  tmp$ret$2 = tmp;
5022
- return tmp$ret$2;
5040
+ var tmp1_let = tmp$ret$2;
5041
+ // Inline function 'kotlin.contracts.contract' call
5042
+ var tmp$ret$3;
5043
+ // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
5044
+ tmp$ret$3 = to(tmp1_let, removePrefix(source, tmp1_let.bl_1));
5045
+ tmp$ret$4 = tmp$ret$3;
5046
+ return tmp$ret$4;
5023
5047
  }
5024
5048
  function toToken(_this__u8e3s4, type, previousTokenCoordinates) {
5025
5049
  return new Token(type, _this__u8e3s4.w(), nextCoordinates(previousTokenCoordinates, type, _this__u8e3s4.w()));
@@ -5190,7 +5214,7 @@
5190
5214
  }
5191
5215
  function EndOfProgram() {
5192
5216
  EndOfProgram_instance = this;
5193
- this.am_1 = 'EOP';
5217
+ this.bm_1 = 'EOP';
5194
5218
  }
5195
5219
  var EndOfProgram_instance;
5196
5220
  function EndOfProgram_getInstance() {
@@ -5211,11 +5235,11 @@
5211
5235
  }
5212
5236
  var noLogger;
5213
5237
  function Logger(enableLogging) {
5214
- this.jh_1 = enableLogging;
5238
+ this.kh_1 = enableLogging;
5215
5239
  }
5216
- protoOf(Logger).kh = function (s) {
5240
+ protoOf(Logger).lh = function (s) {
5217
5241
  var tmp;
5218
- if (this.jh_1) {
5242
+ if (this.kh_1) {
5219
5243
  println(s);
5220
5244
  tmp = Unit_getInstance();
5221
5245
  } else {
@@ -5223,13 +5247,13 @@
5223
5247
  }
5224
5248
  return tmp;
5225
5249
  };
5226
- protoOf(Logger).yk = function (s, block) {
5250
+ protoOf(Logger).zk = function (s, block) {
5227
5251
  var tmp$ret$1;
5228
5252
  // Inline function 'kotlin.run' call
5229
5253
  // Inline function 'kotlin.contracts.contract' call
5230
5254
  var tmp$ret$0;
5231
5255
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
5232
- this.kh(s);
5256
+ this.lh(s);
5233
5257
  tmp$ret$0 = block();
5234
5258
  tmp$ret$1 = tmp$ret$0;
5235
5259
  return tmp$ret$1;
@@ -5246,73 +5270,73 @@
5246
5270
  }
5247
5271
  }
5248
5272
  //region block: post-declaration
5249
- protoOf(JavaEmitter).uj = withLogging;
5250
- protoOf(JavaEmitter).vj = withLogging_0;
5251
- protoOf(JavaEmitter).wj = withLogging_1;
5252
- protoOf(JavaEmitter).xj = withLogging_2;
5253
- protoOf(JavaEmitter).vh = withLogging_3;
5254
- protoOf(JavaEmitter).zj = withLogging_4;
5255
- protoOf(JavaEmitter).bk = withLogging_5;
5256
- protoOf(JavaEmitter).ck = withLogging_6;
5257
- protoOf(JavaEmitter).ek = withLogging_7;
5258
- protoOf(JavaEmitter).si = withLogging_8;
5259
- protoOf(KotlinEmitter).uj = withLogging;
5260
- protoOf(KotlinEmitter).vj = withLogging_0;
5261
- protoOf(KotlinEmitter).wj = withLogging_1;
5262
- protoOf(KotlinEmitter).xj = withLogging_2;
5263
- protoOf(KotlinEmitter).vh = withLogging_3;
5264
- protoOf(KotlinEmitter).zj = withLogging_4;
5265
- protoOf(KotlinEmitter).bk = withLogging_5;
5266
- protoOf(KotlinEmitter).ck = withLogging_6;
5267
- protoOf(KotlinEmitter).ek = withLogging_7;
5268
- protoOf(KotlinEmitter).si = withLogging_8;
5269
- protoOf(ScalaEmitter).uj = withLogging;
5270
- protoOf(ScalaEmitter).vj = withLogging_0;
5271
- protoOf(ScalaEmitter).wj = withLogging_1;
5272
- protoOf(ScalaEmitter).xj = withLogging_2;
5273
- protoOf(ScalaEmitter).vh = withLogging_3;
5274
- protoOf(ScalaEmitter).zj = withLogging_4;
5275
- protoOf(ScalaEmitter).bk = withLogging_5;
5276
- protoOf(ScalaEmitter).ck = withLogging_6;
5277
- protoOf(ScalaEmitter).ek = withLogging_7;
5278
- protoOf(TypeScriptEmitter).uj = withLogging;
5279
- protoOf(TypeScriptEmitter).vj = withLogging_0;
5280
- protoOf(TypeScriptEmitter).wj = withLogging_1;
5281
- protoOf(TypeScriptEmitter).xj = withLogging_2;
5282
- protoOf(TypeScriptEmitter).vh = withLogging_3;
5283
- protoOf(TypeScriptEmitter).zj = withLogging_4;
5284
- protoOf(TypeScriptEmitter).bk = withLogging_5;
5285
- protoOf(TypeScriptEmitter).ck = withLogging_6;
5286
- protoOf(TypeScriptEmitter).ek = withLogging_7;
5287
- protoOf(TypeScriptEmitter).si = withLogging_8;
5288
- protoOf(WirespecEmitter).uj = withLogging;
5289
- protoOf(WirespecEmitter).vj = withLogging_0;
5290
- protoOf(WirespecEmitter).wj = withLogging_1;
5291
- protoOf(WirespecEmitter).xj = withLogging_2;
5292
- protoOf(WirespecEmitter).vh = withLogging_3;
5293
- protoOf(WirespecEmitter).zj = withLogging_4;
5294
- protoOf(WirespecEmitter).bk = withLogging_5;
5295
- protoOf(WirespecEmitter).ck = withLogging_6;
5296
- protoOf(WirespecEmitter).ek = withLogging_7;
5297
- protoOf(WsTypeDef).zl = name;
5298
- protoOf(WsEnumTypeDef).zl = name;
5299
- protoOf(WsRefinedTypeDef).zl = name;
5300
- protoOf(WhiteSpaceExceptNewLine).zl = name;
5301
- protoOf(NewLine).zl = name;
5302
- protoOf(LeftCurly).zl = name;
5303
- protoOf(Colon).zl = name;
5304
- protoOf(Comma).zl = name;
5305
- protoOf(QuestionMark).zl = name;
5306
- protoOf(Brackets).zl = name;
5307
- protoOf(WsString).zl = name;
5308
- protoOf(WsInteger).zl = name;
5309
- protoOf(WsBoolean).zl = name;
5310
- protoOf(RightCurly).zl = name;
5311
- protoOf(CustomValue).zl = name;
5312
- protoOf(CustomType).zl = name;
5313
- protoOf(CustomRegex).zl = name;
5314
- protoOf(Invalid).zl = name;
5315
- protoOf(EndOfProgram).zl = name;
5273
+ protoOf(JavaEmitter).vj = withLogging;
5274
+ protoOf(JavaEmitter).wj = withLogging_0;
5275
+ protoOf(JavaEmitter).xj = withLogging_1;
5276
+ protoOf(JavaEmitter).yj = withLogging_2;
5277
+ protoOf(JavaEmitter).wh = withLogging_3;
5278
+ protoOf(JavaEmitter).ak = withLogging_4;
5279
+ protoOf(JavaEmitter).ck = withLogging_5;
5280
+ protoOf(JavaEmitter).dk = withLogging_6;
5281
+ protoOf(JavaEmitter).fk = withLogging_7;
5282
+ protoOf(JavaEmitter).ti = withLogging_8;
5283
+ protoOf(KotlinEmitter).vj = withLogging;
5284
+ protoOf(KotlinEmitter).wj = withLogging_0;
5285
+ protoOf(KotlinEmitter).xj = withLogging_1;
5286
+ protoOf(KotlinEmitter).yj = withLogging_2;
5287
+ protoOf(KotlinEmitter).wh = withLogging_3;
5288
+ protoOf(KotlinEmitter).ak = withLogging_4;
5289
+ protoOf(KotlinEmitter).ck = withLogging_5;
5290
+ protoOf(KotlinEmitter).dk = withLogging_6;
5291
+ protoOf(KotlinEmitter).fk = withLogging_7;
5292
+ protoOf(KotlinEmitter).ti = withLogging_8;
5293
+ protoOf(ScalaEmitter).vj = withLogging;
5294
+ protoOf(ScalaEmitter).wj = withLogging_0;
5295
+ protoOf(ScalaEmitter).xj = withLogging_1;
5296
+ protoOf(ScalaEmitter).yj = withLogging_2;
5297
+ protoOf(ScalaEmitter).wh = withLogging_3;
5298
+ protoOf(ScalaEmitter).ak = withLogging_4;
5299
+ protoOf(ScalaEmitter).ck = withLogging_5;
5300
+ protoOf(ScalaEmitter).dk = withLogging_6;
5301
+ protoOf(ScalaEmitter).fk = withLogging_7;
5302
+ protoOf(TypeScriptEmitter).vj = withLogging;
5303
+ protoOf(TypeScriptEmitter).wj = withLogging_0;
5304
+ protoOf(TypeScriptEmitter).xj = withLogging_1;
5305
+ protoOf(TypeScriptEmitter).yj = withLogging_2;
5306
+ protoOf(TypeScriptEmitter).wh = withLogging_3;
5307
+ protoOf(TypeScriptEmitter).ak = withLogging_4;
5308
+ protoOf(TypeScriptEmitter).ck = withLogging_5;
5309
+ protoOf(TypeScriptEmitter).dk = withLogging_6;
5310
+ protoOf(TypeScriptEmitter).fk = withLogging_7;
5311
+ protoOf(TypeScriptEmitter).ti = withLogging_8;
5312
+ protoOf(WirespecEmitter).vj = withLogging;
5313
+ protoOf(WirespecEmitter).wj = withLogging_0;
5314
+ protoOf(WirespecEmitter).xj = withLogging_1;
5315
+ protoOf(WirespecEmitter).yj = withLogging_2;
5316
+ protoOf(WirespecEmitter).wh = withLogging_3;
5317
+ protoOf(WirespecEmitter).ak = withLogging_4;
5318
+ protoOf(WirespecEmitter).ck = withLogging_5;
5319
+ protoOf(WirespecEmitter).dk = withLogging_6;
5320
+ protoOf(WirespecEmitter).fk = withLogging_7;
5321
+ protoOf(WsTypeDef).am = name;
5322
+ protoOf(WsEnumTypeDef).am = name;
5323
+ protoOf(WsRefinedTypeDef).am = name;
5324
+ protoOf(WhiteSpaceExceptNewLine).am = name;
5325
+ protoOf(NewLine).am = name;
5326
+ protoOf(LeftCurly).am = name;
5327
+ protoOf(Colon).am = name;
5328
+ protoOf(Comma).am = name;
5329
+ protoOf(QuestionMark).am = name;
5330
+ protoOf(Brackets).am = name;
5331
+ protoOf(WsString).am = name;
5332
+ protoOf(WsInteger).am = name;
5333
+ protoOf(WsBoolean).am = name;
5334
+ protoOf(RightCurly).am = name;
5335
+ protoOf(CustomValue).am = name;
5336
+ protoOf(CustomType).am = name;
5337
+ protoOf(CustomRegex).am = name;
5338
+ protoOf(Invalid).am = name;
5339
+ protoOf(EndOfProgram).am = name;
5316
5340
  //endregion
5317
5341
  //region block: init
5318
5342
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';