@flock/wirespec 0.7.2 → 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 (33) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
  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 +3342 -3342
  7. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1252 -1252
  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 +982 -982
  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 +1184 -1143
  13. package/kotlin/wirespec-core.js.map +1 -1
  14. package/kotlin/wirespec-lib.js +39 -39
  15. package/kotlin/wirespec-openapi.js +366 -362
  16. package/kotlin/wirespec-openapi.js.map +1 -1
  17. package/package.json +1 -1
  18. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  19. package/sync-hashes/arrow-arrow-core.js.hash +1 -1
  20. package/sync-hashes/arrow-arrow-core.js.map.hash +1 -1
  21. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  22. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  23. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  24. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  25. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  26. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  27. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  28. package/sync-hashes/wirespec-cli.js.hash +1 -1
  29. package/sync-hashes/wirespec-core.js.hash +1 -1
  30. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  31. package/sync-hashes/wirespec-lib.js.hash +1 -1
  32. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  33. package/sync-hashes/wirespec-openapi.js.map.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,52 +89,52 @@
89
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
90
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
91
91
  function withLogging(_this__u8e3s4, logger, block) {
92
- return logger.wk('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.wk('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.wk('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.wk('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.wk('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.wk('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.wk('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.wk('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.wk('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.wk('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]);
126
126
  setMetadataFor(JavaEmitter, 'JavaEmitter', classMeta, Emitter);
127
- setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
128
127
  setMetadataFor(Companion, 'Companion', objectMeta);
128
+ setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
129
+ setMetadataFor(Companion_0, 'Companion', objectMeta);
129
130
  setMetadataFor(ScalaEmitter, 'ScalaEmitter', classMeta, Emitter);
130
131
  setMetadataFor(TypeScriptEmitter, 'TypeScriptEmitter', classMeta, Emitter);
131
132
  setMetadataFor(WirespecEmitter, 'WirespecEmitter', classMeta, Emitter);
132
- setMetadataFor(Companion_0, 'Companion', objectMeta);
133
+ setMetadataFor(Companion_1, 'Companion', objectMeta);
133
134
  setMetadataFor(WirespecException, 'WirespecException', classMeta, RuntimeException);
134
135
  setMetadataFor(CompilerException, 'CompilerException', classMeta, WirespecException);
135
136
  setMetadataFor(ParserException, 'ParserException', classMeta, CompilerException);
136
137
  setMetadataFor(NullTokenException, 'NullTokenException', classMeta, ParserException);
137
- setMetadataFor(StartingException, 'StartingException', classMeta, NullTokenException);
138
138
  setMetadataFor(NextException, 'NextException', classMeta, NullTokenException);
139
139
  setMetadataFor(WrongTokenException, 'WrongTokenException', classMeta, ParserException);
140
140
  setMetadataFor(Type, 'Type', classMeta, Enum);
@@ -197,7 +197,7 @@
197
197
  var Reported_EMITTED_instance;
198
198
  function Reported$report$lambda($logger, this$0) {
199
199
  return function (it) {
200
- $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 + ' ##########');
201
201
  return Unit_getInstance();
202
202
  };
203
203
  }
@@ -214,40 +214,40 @@
214
214
  function Reported(name, ordinal) {
215
215
  Enum.call(this, name, ordinal);
216
216
  }
217
- protoOf(Reported).nh = function (logger) {
217
+ protoOf(Reported).oh = function (logger) {
218
218
  return Reported$report$lambda(logger, this);
219
219
  };
220
220
  function Reported$report$ref($boundThis) {
221
221
  var l = function (p0) {
222
- return $boundThis.nh(p0);
222
+ return $boundThis.oh(p0);
223
223
  };
224
224
  l.callableName = 'report';
225
225
  return l;
226
226
  }
227
227
  function Reported$report$ref_0($boundThis) {
228
228
  var l = function (p0) {
229
- return $boundThis.nh(p0);
229
+ return $boundThis.oh(p0);
230
230
  };
231
231
  l.callableName = 'report';
232
232
  return l;
233
233
  }
234
234
  function Reported$report$ref_1($boundThis) {
235
235
  var l = function (p0) {
236
- return $boundThis.nh(p0);
236
+ return $boundThis.oh(p0);
237
237
  };
238
238
  l.callableName = 'report';
239
239
  return l;
240
240
  }
241
241
  function Reported$report$ref_2($boundThis) {
242
242
  var l = function (p0) {
243
- return $boundThis.nh(p0);
243
+ return $boundThis.oh(p0);
244
244
  };
245
245
  l.callableName = 'report';
246
246
  return l;
247
247
  }
248
248
  function Reported$report$ref_3($boundThis) {
249
249
  var l = function (p0) {
250
- return $boundThis.nh(p0);
250
+ return $boundThis.oh(p0);
251
251
  };
252
252
  l.callableName = 'report';
253
253
  return l;
@@ -284,7 +284,7 @@
284
284
  // Inline function 'kotlin.contracts.contract' call
285
285
  var tmp$ret$2;
286
286
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
287
- tmp$ret$2 = (new Parser($logger)).ph(tmp4_let);
287
+ tmp$ret$2 = (new Parser($logger)).qh(tmp4_let);
288
288
  tmp$ret$3 = tmp$ret$2;
289
289
  var tmp5_also = tmp$ret$3;
290
290
  var tmp6_also = Reported$report$ref_1(Reported_PARSED_getInstance())($logger);
@@ -334,7 +334,7 @@
334
334
  var tmp11__anonymous__tkubxh = tmp12_map.qg_1;
335
335
  var tmp$ret$10;
336
336
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
337
- tmp$ret$10 = emitter.sh(tmp11__anonymous__tkubxh);
337
+ tmp$ret$10 = emitter.th(tmp11__anonymous__tkubxh);
338
338
  tmp$ret$11 = new Right(tmp$ret$10);
339
339
  tmp_0 = tmp$ret$11;
340
340
  } else {
@@ -377,10 +377,10 @@
377
377
  }
378
378
  function Wirespec() {
379
379
  Wirespec_instance = this;
380
- 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())]);
381
381
  }
382
- protoOf(Wirespec).uh = function () {
383
- return this.th_1;
382
+ protoOf(Wirespec).vh = function () {
383
+ return this.uh_1;
384
384
  };
385
385
  var Wirespec_instance;
386
386
  function Wirespec_getInstance() {
@@ -389,52 +389,52 @@
389
389
  return Wirespec_instance;
390
390
  }
391
391
  function emitPrimaryType(_this__u8e3s4, $this) {
392
- 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));
393
393
  }
394
394
  function emit(_this__u8e3s4, $this, endpoint) {
395
- Companion_getInstance_1();
396
- var tmp = emitContentType(_this__u8e3s4.wh_1, $this);
397
- var tmp0_safe_receiver = _this__u8e3s4.wh_1;
398
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
399
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.ei(tmp1_safe_receiver);
395
+ Companion_getInstance_2();
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);
400
400
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
401
- Companion_getInstance_1();
402
- Companion_getInstance_1();
403
- Companion_getInstance_1();
404
- Companion_getInstance_1();
405
- Companion_getInstance_1();
406
- Companion_getInstance_1();
407
- Companion_getInstance_1();
408
- Companion_getInstance_1();
409
- Companion_getInstance_1();
410
- Companion_getInstance_1();
411
- var tmp3_safe_receiver = _this__u8e3s4.wh_1;
412
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.yh_1;
413
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.ei(tmp4_safe_receiver);
401
+ Companion_getInstance_2();
402
+ Companion_getInstance_2();
403
+ Companion_getInstance_2();
404
+ Companion_getInstance_2();
405
+ Companion_getInstance_2();
406
+ Companion_getInstance_2();
407
+ Companion_getInstance_2();
408
+ Companion_getInstance_2();
409
+ Companion_getInstance_2();
410
+ Companion_getInstance_2();
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);
414
414
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
415
- Companion_getInstance_1();
416
- Companion_getInstance_1();
417
- var tmp_2 = emitContentType(_this__u8e3s4.wh_1, $this);
418
- var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.wh_1);
419
- Companion_getInstance_1();
420
- Companion_getInstance_1();
421
- Companion_getInstance_1();
422
- var tmp_4 = emitPath(endpoint.hi_1, $this);
423
- Companion_getInstance_1();
424
- Companion_getInstance_1();
425
- Companion_getInstance_1();
426
- Companion_getInstance_1();
427
- Companion_getInstance_1();
428
- Companion_getInstance_1();
429
- var tmp_5 = emitMap(endpoint.ii_1, $this);
430
- Companion_getInstance_1();
431
- Companion_getInstance_1();
432
- Companion_getInstance_1();
433
- var tmp_6 = emitMap(endpoint.ji_1, $this);
434
- Companion_getInstance_1();
435
- Companion_getInstance_1();
436
- Companion_getInstance_1();
437
- var tmp6_safe_receiver = _this__u8e3s4.wh_1;
415
+ Companion_getInstance_2();
416
+ Companion_getInstance_2();
417
+ var tmp_2 = emitContentType(_this__u8e3s4.xh_1, $this);
418
+ var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.xh_1);
419
+ Companion_getInstance_2();
420
+ Companion_getInstance_2();
421
+ Companion_getInstance_2();
422
+ var tmp_4 = emitPath(endpoint.ii_1, $this);
423
+ Companion_getInstance_2();
424
+ Companion_getInstance_2();
425
+ Companion_getInstance_2();
426
+ Companion_getInstance_2();
427
+ Companion_getInstance_2();
428
+ Companion_getInstance_2();
429
+ var tmp_5 = emitMap(endpoint.ji_1, $this);
430
+ Companion_getInstance_2();
431
+ Companion_getInstance_2();
432
+ Companion_getInstance_2();
433
+ var tmp_6 = emitMap(endpoint.ki_1, $this);
434
+ Companion_getInstance_2();
435
+ Companion_getInstance_2();
436
+ Companion_getInstance_2();
437
+ var tmp6_safe_receiver = _this__u8e3s4.xh_1;
438
438
  var tmp_7;
439
439
  if (tmp6_safe_receiver == null) {
440
440
  tmp_7 = null;
@@ -444,38 +444,38 @@
444
444
  // Inline function 'kotlin.contracts.contract' call
445
445
  var tmp$ret$0;
446
446
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
447
- 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)';
448
448
  tmp$ret$1 = tmp$ret$0;
449
449
  tmp_7 = tmp$ret$1;
450
450
  }
451
451
  var tmp7_elvis_lhs = tmp_7;
452
452
  var tmp_8 = tmp7_elvis_lhs == null ? 'null' : tmp7_elvis_lhs;
453
- Companion_getInstance_1();
454
- Companion_getInstance_1();
455
- Companion_getInstance_1();
456
- Companion_getInstance_1();
457
- Companion_getInstance_1();
458
- Companion_getInstance_1();
459
- Companion_getInstance_1();
460
- Companion_getInstance_1();
461
- Companion_getInstance_1();
462
- Companion_getInstance_1();
463
- Companion_getInstance_1();
464
- Companion_getInstance_1();
465
- var tmp8_safe_receiver = _this__u8e3s4.wh_1;
466
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.yh_1;
467
- var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.ei(tmp9_safe_receiver);
453
+ Companion_getInstance_2();
454
+ Companion_getInstance_2();
455
+ Companion_getInstance_2();
456
+ Companion_getInstance_2();
457
+ Companion_getInstance_2();
458
+ Companion_getInstance_2();
459
+ Companion_getInstance_2();
460
+ Companion_getInstance_2();
461
+ Companion_getInstance_2();
462
+ Companion_getInstance_2();
463
+ Companion_getInstance_2();
464
+ Companion_getInstance_2();
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);
468
468
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
469
- Companion_getInstance_1();
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.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 ');
469
+ Companion_getInstance_2();
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 ');
471
471
  }
472
472
  function emit_0(_this__u8e3s4, $this) {
473
- Companion_getInstance_1();
474
- var tmp = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
475
- var tmp_0 = emitContentType(_this__u8e3s4.oi_1, $this);
473
+ Companion_getInstance_2();
474
+ var tmp = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
475
+ var tmp_0 = emitContentType(_this__u8e3s4.pi_1, $this);
476
476
  var tmp$ret$1;
477
477
  // Inline function 'kotlin.takeIf' call
478
- var tmp0_takeIf = _this__u8e3s4.ni_1;
478
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
479
479
  // Inline function 'kotlin.contracts.contract' call
480
480
  var tmp_1;
481
481
  var tmp$ret$0;
@@ -489,27 +489,27 @@
489
489
  tmp$ret$1 = tmp_1;
490
490
  var tmp0_safe_receiver = tmp$ret$1;
491
491
  var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
492
- var tmp1_safe_receiver = _this__u8e3s4.oi_1;
493
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.yh_1;
494
- 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);
495
495
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
496
- Companion_getInstance_1();
497
- Companion_getInstance_1();
498
- Companion_getInstance_1();
499
- Companion_getInstance_1();
500
- Companion_getInstance_1();
501
- Companion_getInstance_1();
502
- var tmp4_safe_receiver = _this__u8e3s4.oi_1;
503
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
504
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.ei(tmp5_safe_receiver);
496
+ Companion_getInstance_2();
497
+ Companion_getInstance_2();
498
+ Companion_getInstance_2();
499
+ Companion_getInstance_2();
500
+ Companion_getInstance_2();
501
+ Companion_getInstance_2();
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);
505
505
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
506
- Companion_getInstance_1();
507
- Companion_getInstance_1();
508
- var tmp_5 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
509
- var tmp_6 = emitContentType(_this__u8e3s4.oi_1, $this);
506
+ Companion_getInstance_2();
507
+ Companion_getInstance_2();
508
+ var tmp_5 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
509
+ var tmp_6 = emitContentType(_this__u8e3s4.pi_1, $this);
510
510
  var tmp$ret$3;
511
511
  // Inline function 'kotlin.takeIf' call
512
- var tmp1_takeIf = _this__u8e3s4.ni_1;
512
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
513
513
  // Inline function 'kotlin.contracts.contract' call
514
514
  var tmp_7;
515
515
  var tmp$ret$2;
@@ -536,7 +536,7 @@
536
536
  tmp_8 = tmp$ret$5;
537
537
  }
538
538
  var tmp_9 = orEmptyString(tmp_8, $this);
539
- var tmp8_safe_receiver = _this__u8e3s4.oi_1;
539
+ var tmp8_safe_receiver = _this__u8e3s4.pi_1;
540
540
  var tmp_10;
541
541
  if (tmp8_safe_receiver == null) {
542
542
  tmp_10 = null;
@@ -546,18 +546,18 @@
546
546
  // Inline function 'kotlin.contracts.contract' call
547
547
  var tmp$ret$6;
548
548
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
549
- tmp$ret$6 = ', ' + $this.ei(tmp8_safe_receiver.yh_1) + ' body';
549
+ tmp$ret$6 = ', ' + $this.fi(tmp8_safe_receiver.zh_1) + ' body';
550
550
  tmp$ret$7 = tmp$ret$6;
551
551
  tmp_10 = tmp$ret$7;
552
552
  }
553
553
  var tmp9_elvis_lhs = tmp_10;
554
554
  var tmp_11 = tmp9_elvis_lhs == null ? '' : tmp9_elvis_lhs;
555
- Companion_getInstance_1();
556
- Companion_getInstance_1();
557
- Companion_getInstance_1();
555
+ Companion_getInstance_2();
556
+ Companion_getInstance_2();
557
+ Companion_getInstance_2();
558
558
  var tmp$ret$9;
559
559
  // Inline function 'kotlin.takeIf' call
560
- var tmp2_takeIf = _this__u8e3s4.ni_1;
560
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
561
561
  // Inline function 'kotlin.contracts.contract' call
562
562
  var tmp_12;
563
563
  var tmp$ret$8;
@@ -571,13 +571,13 @@
571
571
  tmp$ret$9 = tmp_12;
572
572
  var tmp10_elvis_lhs = tmp$ret$9;
573
573
  var tmp_13 = tmp10_elvis_lhs == null ? 'status' : tmp10_elvis_lhs;
574
- Companion_getInstance_1();
575
- Companion_getInstance_1();
576
- Companion_getInstance_1();
577
- Companion_getInstance_1();
578
- Companion_getInstance_1();
579
- Companion_getInstance_1();
580
- var tmp11_safe_receiver = _this__u8e3s4.oi_1;
574
+ Companion_getInstance_2();
575
+ Companion_getInstance_2();
576
+ Companion_getInstance_2();
577
+ Companion_getInstance_2();
578
+ Companion_getInstance_2();
579
+ Companion_getInstance_2();
580
+ var tmp11_safe_receiver = _this__u8e3s4.pi_1;
581
581
  var tmp_14;
582
582
  if (tmp11_safe_receiver == null) {
583
583
  tmp_14 = null;
@@ -587,29 +587,29 @@
587
587
  // Inline function 'kotlin.contracts.contract' call
588
588
  var tmp$ret$10;
589
589
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
590
- 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)';
591
591
  tmp$ret$11 = tmp$ret$10;
592
592
  tmp_14 = tmp$ret$11;
593
593
  }
594
594
  var tmp12_elvis_lhs = tmp_14;
595
595
  var tmp_15 = tmp12_elvis_lhs == null ? 'null' : tmp12_elvis_lhs;
596
- Companion_getInstance_1();
597
- Companion_getInstance_1();
598
- Companion_getInstance_1();
599
- Companion_getInstance_1();
600
- Companion_getInstance_1();
601
- Companion_getInstance_1();
602
- Companion_getInstance_1();
603
- Companion_getInstance_1();
604
- var tmp13_safe_receiver = _this__u8e3s4.oi_1;
605
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.yh_1;
606
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.ei(tmp14_safe_receiver);
596
+ Companion_getInstance_2();
597
+ Companion_getInstance_2();
598
+ Companion_getInstance_2();
599
+ Companion_getInstance_2();
600
+ Companion_getInstance_2();
601
+ Companion_getInstance_2();
602
+ Companion_getInstance_2();
603
+ Companion_getInstance_2();
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);
607
607
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
608
- Companion_getInstance_1();
608
+ Companion_getInstance_2();
609
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 ');
610
610
  }
611
611
  function emitResponseMapper(_this__u8e3s4, $this) {
612
- Companion_getInstance_1();
612
+ Companion_getInstance_2();
613
613
  var tmp$ret$1;
614
614
  // Inline function 'kotlin.collections.distinctBy' call
615
615
  var set = HashSet_init_$Create$();
@@ -619,8 +619,8 @@
619
619
  var e = tmp0_iterator.e();
620
620
  var tmp$ret$0;
621
621
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
622
- var tmp0_safe_receiver = e.oi_1;
623
- 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);
624
624
  var key = tmp$ret$0;
625
625
  if (set.a(key)) {
626
626
  list.a(e);
@@ -629,21 +629,21 @@
629
629
  tmp$ret$1 = list;
630
630
  var tmp = tmp$ret$1;
631
631
  var tmp_0 = joinToString(tmp, '', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseMapper$lambda($this));
632
- Companion_getInstance_1();
633
- Companion_getInstance_1();
634
- Companion_getInstance_1();
632
+ Companion_getInstance_2();
633
+ Companion_getInstance_2();
634
+ Companion_getInstance_2();
635
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 ');
636
636
  }
637
637
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
638
- var tmp0_subject = _this__u8e3s4.oi_1;
638
+ var tmp0_subject = _this__u8e3s4.pi_1;
639
639
  var tmp;
640
640
  if (tmp0_subject == null) {
641
- Companion_getInstance_1();
642
- Companion_getInstance_1();
643
- Companion_getInstance_1();
641
+ Companion_getInstance_2();
642
+ Companion_getInstance_2();
643
+ Companion_getInstance_2();
644
644
  var tmp$ret$1;
645
645
  // Inline function 'kotlin.takeIf' call
646
- var tmp0_takeIf = _this__u8e3s4.ni_1;
646
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
647
647
  // Inline function 'kotlin.contracts.contract' call
648
648
  var tmp_0;
649
649
  var tmp$ret$0;
@@ -665,15 +665,15 @@
665
665
  // Inline function 'kotlin.contracts.contract' call
666
666
  var tmp$ret$2;
667
667
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
668
- tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
668
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
669
669
  tmp$ret$3 = tmp$ret$2;
670
670
  tmp_1 = tmp$ret$3;
671
671
  }
672
672
  var tmp_2 = orEmptyString(tmp_1, $this);
673
- var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
673
+ var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
674
674
  var tmp$ret$5;
675
675
  // Inline function 'kotlin.takeIf' call
676
- var tmp1_takeIf = _this__u8e3s4.ni_1;
676
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
677
677
  // Inline function 'kotlin.contracts.contract' call
678
678
  var tmp_4;
679
679
  var tmp$ret$4;
@@ -701,12 +701,12 @@
701
701
  }
702
702
  tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_2 + 'content == null) { return new Response' + tmp_3 + 'Void(' + orEmptyString(tmp_5, $this) + 'headers); }\n |\n ');
703
703
  } else {
704
- Companion_getInstance_1();
705
- Companion_getInstance_1();
706
- Companion_getInstance_1();
704
+ Companion_getInstance_2();
705
+ Companion_getInstance_2();
706
+ Companion_getInstance_2();
707
707
  var tmp$ret$9;
708
708
  // Inline function 'kotlin.takeIf' call
709
- var tmp2_takeIf = _this__u8e3s4.ni_1;
709
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
710
710
  // Inline function 'kotlin.contracts.contract' call
711
711
  var tmp_6;
712
712
  var tmp$ret$8;
@@ -728,27 +728,27 @@
728
728
  // Inline function 'kotlin.contracts.contract' call
729
729
  var tmp$ret$10;
730
730
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
731
- tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
731
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
732
732
  tmp$ret$11 = tmp$ret$10;
733
733
  tmp_7 = tmp$ret$11;
734
734
  }
735
735
  var tmp_8 = orEmptyString(tmp_7, $this);
736
- Companion_getInstance_1();
737
- Companion_getInstance_1();
738
- Companion_getInstance_1();
739
- Companion_getInstance_1();
740
- var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
741
- var tmp_10 = emitPrimaryType(_this__u8e3s4.oi_1.yh_1, $this);
742
- var tmp_11 = _this__u8e3s4.oi_1.yh_1.ri();
743
- Companion_getInstance_1();
744
- Companion_getInstance_1();
745
- Companion_getInstance_1();
746
- Companion_getInstance_1();
747
- var tmp_12 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
748
- var tmp_13 = emitContentType(_this__u8e3s4.oi_1, $this);
736
+ Companion_getInstance_2();
737
+ Companion_getInstance_2();
738
+ Companion_getInstance_2();
739
+ Companion_getInstance_2();
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();
743
+ Companion_getInstance_2();
744
+ Companion_getInstance_2();
745
+ Companion_getInstance_2();
746
+ Companion_getInstance_2();
747
+ var tmp_12 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
748
+ var tmp_13 = emitContentType(_this__u8e3s4.pi_1, $this);
749
749
  var tmp$ret$13;
750
750
  // Inline function 'kotlin.takeIf' call
751
- var tmp3_takeIf = _this__u8e3s4.ni_1;
751
+ var tmp3_takeIf = _this__u8e3s4.oi_1;
752
752
  // Inline function 'kotlin.contracts.contract' call
753
753
  var tmp_14;
754
754
  var tmp$ret$12;
@@ -775,16 +775,16 @@
775
775
  tmp_15 = tmp$ret$15;
776
776
  }
777
777
  var tmp_16 = orEmptyString(tmp_15, $this);
778
- Companion_getInstance_1();
779
- Companion_getInstance_1();
780
- Companion_getInstance_1();
781
- 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 ');
778
+ Companion_getInstance_2();
779
+ Companion_getInstance_2();
780
+ Companion_getInstance_2();
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 ');
782
782
  }
783
783
  return tmp;
784
784
  }
785
785
  function emitContentType(_this__u8e3s4, $this) {
786
786
  var tmp0_safe_receiver = _this__u8e3s4;
787
- 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;
788
788
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/', '-']);
789
789
  var tmp;
790
790
  if (tmp2_safe_receiver == null) {
@@ -796,14 +796,14 @@
796
796
  return tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
797
797
  }
798
798
  function emit_1(_this__u8e3s4, $this) {
799
- 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));
800
800
  }
801
801
  function emitRequestSignature(_this__u8e3s4, $this, content) {
802
802
  var tmp$ret$4;
803
803
  // Inline function 'kotlin.collections.map' call
804
804
  var tmp$ret$1;
805
805
  // Inline function 'kotlin.collections.filterIsInstance' call
806
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
806
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
807
807
  var tmp$ret$0;
808
808
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
809
809
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -825,15 +825,15 @@
825
825
  var item = tmp0_iterator_0.e();
826
826
  var tmp$ret$2;
827
827
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
828
- 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);
829
829
  tmp2_mapTo.a(tmp$ret$2);
830
830
  }
831
831
  tmp$ret$3 = tmp2_mapTo;
832
832
  tmp$ret$4 = tmp$ret$3;
833
833
  var pathField = tmp$ret$4;
834
- 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);
835
835
  var tmp0_safe_receiver = content;
836
- 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;
837
837
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
838
838
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
839
839
  }
@@ -864,34 +864,34 @@
864
864
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
865
865
  tmp = tmp$ret$1 + 'XX';
866
866
  } else {
867
- tmp = Companion_getInstance_1().qi(_this__u8e3s4);
867
+ tmp = Companion_getInstance_2().ri(_this__u8e3s4);
868
868
  }
869
869
  return tmp;
870
870
  }
871
871
  function JavaEmitter$emit$lambda($this_emit, this$0) {
872
872
  return function () {
873
- 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 |');
874
874
  };
875
875
  }
876
876
  function JavaEmitter$emit$lambda$lambda(this$0) {
877
877
  return function (it) {
878
- return this$0.yi(it);
878
+ return this$0.zi(it);
879
879
  };
880
880
  }
881
881
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
882
882
  return function () {
883
- 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));
884
884
  };
885
885
  }
886
886
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
887
887
  return function () {
888
- Companion_getInstance_1();
889
- 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);
888
+ Companion_getInstance_2();
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);
890
890
  };
891
891
  }
892
892
  function JavaEmitter$emit$lambda_2($this_emit) {
893
893
  return function () {
894
- return $this_emit.ej_1;
894
+ return $this_emit.fj_1;
895
895
  };
896
896
  }
897
897
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -902,10 +902,10 @@
902
902
  tmp = 'Object';
903
903
  } else {
904
904
  if (tmp0_subject instanceof Custom) {
905
- tmp = $this_emitPrimaryType.ij_1;
905
+ tmp = $this_emitPrimaryType.jj_1;
906
906
  } else {
907
907
  if (tmp0_subject instanceof Primitive) {
908
- var tmp1_subject = $this_emitPrimaryType.fj_1;
908
+ var tmp1_subject = $this_emitPrimaryType.gj_1;
909
909
  var tmp0 = tmp1_subject.q4_1;
910
910
  var tmp_0;
911
911
  switch (tmp0) {
@@ -939,7 +939,7 @@
939
939
  // Inline function 'kotlin.contracts.contract' call
940
940
  var tmp$ret$0;
941
941
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
942
- 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;
943
943
  tmp$ret$1 = tmp$ret$0;
944
944
  return tmp$ret$1;
945
945
  };
@@ -960,31 +960,31 @@
960
960
  }
961
961
  function JavaEmitter$emit$lambda_4($this_emit) {
962
962
  return function () {
963
- Companion_getInstance_1();
964
- Companion_getInstance_1();
965
- Companion_getInstance_1();
966
- Companion_getInstance_1();
967
- Companion_getInstance_1();
968
- var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.lj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
969
- Companion_getInstance_1();
970
- Companion_getInstance_1();
963
+ Companion_getInstance_2();
964
+ Companion_getInstance_2();
965
+ Companion_getInstance_2();
966
+ Companion_getInstance_2();
967
+ Companion_getInstance_2();
968
+ var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.mj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
969
+ Companion_getInstance_2();
970
+ Companion_getInstance_2();
971
971
  var tmp = ',\n' + ' ';
972
- 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';
973
973
  };
974
974
  }
975
975
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
976
976
  return function () {
977
- Companion_getInstance_1();
978
- Companion_getInstance_1();
979
- var tmp = this$0.pj($this_emit.oj_1);
980
- Companion_getInstance_1();
981
- return trimMargin('public record ' + $this_emit.nj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.nj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
977
+ Companion_getInstance_2();
978
+ Companion_getInstance_2();
979
+ var tmp = this$0.qj($this_emit.pj_1);
980
+ Companion_getInstance_2();
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 |');
982
982
  };
983
983
  }
984
984
  function JavaEmitter$emit$lambda_6($this_emit) {
985
985
  return function () {
986
- Companion_getInstance_1();
987
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.qj_1 + ').matcher(record.value).find();';
986
+ Companion_getInstance_2();
987
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.rj_1 + ').matcher(record.value).find();';
988
988
  };
989
989
  }
990
990
  function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -993,12 +993,12 @@
993
993
  };
994
994
  }
995
995
  function JavaEmitter$emit$lambda$lambda_2(it) {
996
- Companion_getInstance_1();
996
+ Companion_getInstance_2();
997
997
  return ' ' + 'interface Response' + it + '<T> extends Response<T>{};';
998
998
  }
999
999
  function JavaEmitter$emit$lambda$lambda_3(this$0) {
1000
1000
  return function (it) {
1001
- Companion_getInstance_1();
1001
+ Companion_getInstance_2();
1002
1002
  return ' ' + 'interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
1003
1003
  };
1004
1004
  }
@@ -1009,15 +1009,15 @@
1009
1009
  }
1010
1010
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
1011
1011
  return function () {
1012
- Companion_getInstance_1();
1013
- var tmp = emitSegment($this_emit.hi_1, this$0);
1014
- var tmp_0 = emitResponseMapper($this_emit.mi_1, this$0);
1015
- Companion_getInstance_1();
1016
- var tmp_1 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1017
- Companion_getInstance_1();
1012
+ Companion_getInstance_2();
1013
+ var tmp = emitSegment($this_emit.ii_1, this$0);
1014
+ var tmp_0 = emitResponseMapper($this_emit.ni_1, this$0);
1015
+ Companion_getInstance_2();
1016
+ var tmp_1 = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1017
+ Companion_getInstance_2();
1018
1018
  var tmp$ret$2;
1019
1019
  // Inline function 'kotlin.collections.map' call
1020
- var tmp1_map = $this_emit.mi_1;
1020
+ var tmp1_map = $this_emit.ni_1;
1021
1021
  var tmp$ret$1;
1022
1022
  // Inline function 'kotlin.collections.mapTo' call
1023
1023
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1026,7 +1026,7 @@
1026
1026
  var item = tmp0_iterator.e();
1027
1027
  var tmp$ret$0;
1028
1028
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1029
- tmp$ret$0 = groupStatus(item.ni_1, this$0);
1029
+ tmp$ret$0 = groupStatus(item.oi_1, this$0);
1030
1030
  tmp0_mapTo.a(tmp$ret$0);
1031
1031
  }
1032
1032
  tmp$ret$1 = tmp0_mapTo;
@@ -1037,7 +1037,7 @@
1037
1037
  // Inline function 'kotlin.collections.map' call
1038
1038
  var tmp$ret$5;
1039
1039
  // Inline function 'kotlin.collections.filter' call
1040
- var tmp3_filter = $this_emit.mi_1;
1040
+ var tmp3_filter = $this_emit.ni_1;
1041
1041
  var tmp$ret$4;
1042
1042
  // Inline function 'kotlin.collections.filterTo' call
1043
1043
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1046,7 +1046,7 @@
1046
1046
  var element = tmp0_iterator_0.e();
1047
1047
  var tmp$ret$3;
1048
1048
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1049
- tmp$ret$3 = isInt(element.ni_1, this$0);
1049
+ tmp$ret$3 = isInt(element.oi_1, this$0);
1050
1050
  if (tmp$ret$3) {
1051
1051
  tmp2_filterTo.a(element);
1052
1052
  }
@@ -1062,7 +1062,7 @@
1062
1062
  var item_0 = tmp0_iterator_1.e();
1063
1063
  var tmp$ret$6;
1064
1064
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1065
- tmp$ret$6 = item_0.ni_1;
1065
+ tmp$ret$6 = item_0.oi_1;
1066
1066
  tmp4_mapTo.a(tmp$ret$6);
1067
1067
  }
1068
1068
  tmp$ret$7 = tmp4_mapTo;
@@ -1071,7 +1071,7 @@
1071
1071
  var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1072
1072
  var tmp$ret$10;
1073
1073
  // Inline function 'kotlin.collections.distinctBy' call
1074
- var tmp6_distinctBy = $this_emit.mi_1;
1074
+ var tmp6_distinctBy = $this_emit.ni_1;
1075
1075
  var set = HashSet_init_$Create$();
1076
1076
  var list = ArrayList_init_$Create$();
1077
1077
  var tmp0_iterator_2 = tmp6_distinctBy.c();
@@ -1079,8 +1079,8 @@
1079
1079
  var e = tmp0_iterator_2.e();
1080
1080
  var tmp$ret$9;
1081
1081
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1082
- var tmp0_safe_receiver = e.oi_1;
1083
- 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);
1084
1084
  var key = tmp$ret$9;
1085
1085
  if (set.a(key)) {
1086
1086
  list.a(e);
@@ -1089,8 +1089,8 @@
1089
1089
  tmp$ret$10 = list;
1090
1090
  var tmp_6 = tmp$ret$10;
1091
1091
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1092
- Companion_getInstance_1();
1093
- 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_1().rj($this_emit.fi_1) + '(Request request);\n |}\n |');
1092
+ Companion_getInstance_2();
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 |');
1094
1094
  };
1095
1095
  }
1096
1096
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1099,17 +1099,17 @@
1099
1099
  };
1100
1100
  }
1101
1101
  function JavaEmitter$emitContentType$lambda(it) {
1102
- return Companion_getInstance_1().qi(it);
1102
+ return Companion_getInstance_2().ri(it);
1103
1103
  }
1104
1104
  function JavaEmitter$emit$lambda_8($this_emit) {
1105
1105
  return function () {
1106
1106
  var tmp0_subject = $this_emit;
1107
1107
  var tmp;
1108
1108
  if (tmp0_subject instanceof Literal) {
1109
- tmp = '"' + $this_emit.sj_1 + '"';
1109
+ tmp = '"' + $this_emit.tj_1 + '"';
1110
1110
  } else {
1111
1111
  if (tmp0_subject instanceof Param) {
1112
- tmp = $this_emit.ti_1.ej_1;
1112
+ tmp = $this_emit.ui_1.fj_1;
1113
1113
  } else {
1114
1114
  noWhenBranchMatchedException();
1115
1115
  }
@@ -1119,22 +1119,22 @@
1119
1119
  }
1120
1120
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1121
1121
  return function (it) {
1122
- return this$0.yi(it);
1122
+ return this$0.zi(it);
1123
1123
  };
1124
1124
  }
1125
1125
  function JavaEmitter$emitMap$lambda(this$0) {
1126
1126
  return function (it) {
1127
- 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) + ')';
1128
1128
  };
1129
1129
  }
1130
1130
  function JavaEmitter$emitSegment$lambda(it) {
1131
1131
  var tmp0_subject = it;
1132
1132
  var tmp;
1133
1133
  if (tmp0_subject instanceof Param) {
1134
- tmp = '{' + it.ti_1.ej_1 + '}';
1134
+ tmp = '{' + it.ui_1.fj_1 + '}';
1135
1135
  } else {
1136
1136
  if (tmp0_subject instanceof Literal) {
1137
- tmp = it.sj_1;
1137
+ tmp = it.tj_1;
1138
1138
  } else {
1139
1139
  noWhenBranchMatchedException();
1140
1140
  }
@@ -1151,49 +1151,49 @@
1151
1151
  logger = logger === VOID ? get_noLogger() : logger;
1152
1152
  Emitter.call(this, logger, true);
1153
1153
  var tmp = this;
1154
- Companion_getInstance_1();
1155
- Companion_getInstance_1();
1156
- Companion_getInstance_1();
1157
- Companion_getInstance_1();
1158
- Companion_getInstance_1();
1159
- Companion_getInstance_1();
1160
- Companion_getInstance_1();
1161
- Companion_getInstance_1();
1162
- Companion_getInstance_1();
1163
- Companion_getInstance_1();
1164
- Companion_getInstance_1();
1165
- Companion_getInstance_1();
1166
- Companion_getInstance_1();
1167
- Companion_getInstance_1();
1168
- Companion_getInstance_1();
1169
- Companion_getInstance_1();
1170
- Companion_getInstance_1();
1171
- Companion_getInstance_1();
1172
- Companion_getInstance_1();
1173
- Companion_getInstance_1();
1174
- Companion_getInstance_1();
1175
- Companion_getInstance_1();
1176
- Companion_getInstance_1();
1177
- Companion_getInstance_1();
1178
- Companion_getInstance_1();
1179
- Companion_getInstance_1();
1180
- Companion_getInstance_1();
1181
- Companion_getInstance_1();
1182
- Companion_getInstance_1();
1183
- Companion_getInstance_1();
1184
- Companion_getInstance_1();
1185
- Companion_getInstance_1();
1186
- Companion_getInstance_1();
1187
- Companion_getInstance_1();
1188
- Companion_getInstance_1();
1189
- Companion_getInstance_1();
1190
- 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 ');
1191
- this.di_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1192
- }
1193
- protoOf(JavaEmitter).sh = function (ast) {
1154
+ Companion_getInstance_2();
1155
+ Companion_getInstance_2();
1156
+ Companion_getInstance_2();
1157
+ Companion_getInstance_2();
1158
+ Companion_getInstance_2();
1159
+ Companion_getInstance_2();
1160
+ Companion_getInstance_2();
1161
+ Companion_getInstance_2();
1162
+ Companion_getInstance_2();
1163
+ Companion_getInstance_2();
1164
+ Companion_getInstance_2();
1165
+ Companion_getInstance_2();
1166
+ Companion_getInstance_2();
1167
+ Companion_getInstance_2();
1168
+ Companion_getInstance_2();
1169
+ Companion_getInstance_2();
1170
+ Companion_getInstance_2();
1171
+ Companion_getInstance_2();
1172
+ Companion_getInstance_2();
1173
+ Companion_getInstance_2();
1174
+ Companion_getInstance_2();
1175
+ Companion_getInstance_2();
1176
+ Companion_getInstance_2();
1177
+ Companion_getInstance_2();
1178
+ Companion_getInstance_2();
1179
+ Companion_getInstance_2();
1180
+ Companion_getInstance_2();
1181
+ Companion_getInstance_2();
1182
+ Companion_getInstance_2();
1183
+ Companion_getInstance_2();
1184
+ Companion_getInstance_2();
1185
+ Companion_getInstance_2();
1186
+ Companion_getInstance_2();
1187
+ Companion_getInstance_2();
1188
+ Companion_getInstance_2();
1189
+ Companion_getInstance_2();
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 + ';';
1192
+ }
1193
+ protoOf(JavaEmitter).th = function (ast) {
1194
1194
  var tmp$ret$2;
1195
1195
  // Inline function 'kotlin.collections.map' call
1196
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1196
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
1197
1197
  var tmp$ret$1;
1198
1198
  // Inline function 'kotlin.collections.mapTo' call
1199
1199
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1204,46 +1204,46 @@
1204
1204
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1205
1205
  var name = item.i3();
1206
1206
  var result = item.j3();
1207
- tmp$ret$0 = to(name, this.di_1 + '\n\n' + result);
1207
+ tmp$ret$0 = to(name, this.ei_1 + '\n\n' + result);
1208
1208
  tmp0_mapTo.a(tmp$ret$0);
1209
1209
  }
1210
1210
  tmp$ret$1 = tmp0_mapTo;
1211
1211
  tmp$ret$2 = tmp$ret$1;
1212
- return plus_0(tmp$ret$2, to('WirespecShared', this.di_1 + '\n\n' + this.ci_1));
1213
- };
1214
- protoOf(JavaEmitter).tj = function (_this__u8e3s4) {
1215
- 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));
1216
1213
  };
1217
- protoOf(JavaEmitter).xi = function (_this__u8e3s4) {
1218
- 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));
1219
1216
  };
1220
1217
  protoOf(JavaEmitter).yi = function (_this__u8e3s4) {
1221
- 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));
1222
1219
  };
1223
- protoOf(JavaEmitter).dj = function (_this__u8e3s4) {
1224
- 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));
1225
1222
  };
1226
- protoOf(JavaEmitter).ei = function (_this__u8e3s4) {
1227
- 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));
1228
1225
  };
1229
- protoOf(JavaEmitter).yj = function (_this__u8e3s4) {
1230
- 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));
1231
1228
  };
1232
- protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1233
- 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));
1234
1231
  };
1235
- protoOf(JavaEmitter).pj = function (_this__u8e3s4) {
1236
- 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));
1237
1234
  };
1238
- protoOf(JavaEmitter).dk = function (_this__u8e3s4) {
1239
- 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));
1240
1240
  };
1241
1241
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1242
1242
  var tmp$ret$4;
1243
1243
  // Inline function 'kotlin.collections.map' call
1244
1244
  var tmp$ret$1;
1245
1245
  // Inline function 'kotlin.collections.filterIsInstance' call
1246
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
1246
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
1247
1247
  var tmp$ret$0;
1248
1248
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1249
1249
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -1265,15 +1265,15 @@
1265
1265
  var item = tmp0_iterator_0.e();
1266
1266
  var tmp$ret$2;
1267
1267
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1268
- 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);
1269
1269
  tmp2_mapTo.a(tmp$ret$2);
1270
1270
  }
1271
1271
  tmp$ret$3 = tmp2_mapTo;
1272
1272
  tmp$ret$4 = tmp$ret$3;
1273
1273
  var pathField = tmp$ret$4;
1274
- 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);
1275
1275
  var tmp0_safe_receiver = content;
1276
- 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;
1277
1277
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
1278
1278
  return trimMargin('\n |(' + joinToString(tmp, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestSignature$lambda($this)) + ')\n ');
1279
1279
  }
@@ -1284,15 +1284,15 @@
1284
1284
  return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitMap$lambda($this));
1285
1285
  }
1286
1286
  function emit_2(_this__u8e3s4, $this) {
1287
- 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));
1288
1288
  }
1289
1289
  function emitPath_0(_this__u8e3s4, $this) {
1290
1290
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
1291
1291
  }
1292
1292
  function emitResponseMapper_0(_this__u8e3s4, $this) {
1293
- Companion_getInstance_1();
1294
- Companion_getInstance_1();
1295
- Companion_getInstance_1();
1293
+ Companion_getInstance_2();
1294
+ Companion_getInstance_2();
1295
+ Companion_getInstance_2();
1296
1296
  var tmp$ret$4;
1297
1297
  // Inline function 'kotlin.collections.distinctBy' call
1298
1298
  var tmp$ret$2;
@@ -1305,7 +1305,7 @@
1305
1305
  var element = tmp0_iterator.e();
1306
1306
  var tmp$ret$0;
1307
1307
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1308
- tmp$ret$0 = Companion_getInstance_1().fk(element.ni_1);
1308
+ tmp$ret$0 = Companion_getInstance_2().gk(element.oi_1);
1309
1309
  if (tmp$ret$0) {
1310
1310
  tmp0_filterTo.a(element);
1311
1311
  }
@@ -1320,8 +1320,8 @@
1320
1320
  var e = tmp0_iterator_0.e();
1321
1321
  var tmp$ret$3;
1322
1322
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1323
- var tmp0_safe_receiver = e.oi_1;
1324
- 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);
1325
1325
  var key = tmp$ret$3;
1326
1326
  if (set.a(key)) {
1327
1327
  list.a(e);
@@ -1342,7 +1342,7 @@
1342
1342
  var element_0 = tmp0_iterator_1.e();
1343
1343
  var tmp$ret$5;
1344
1344
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1345
- tmp$ret$5 = !Companion_getInstance_1().fk(element_0.ni_1);
1345
+ tmp$ret$5 = !Companion_getInstance_2().gk(element_0.oi_1);
1346
1346
  if (tmp$ret$5) {
1347
1347
  tmp2_filterTo.a(element_0);
1348
1348
  }
@@ -1357,8 +1357,8 @@
1357
1357
  var e_0 = tmp0_iterator_2.e();
1358
1358
  var tmp$ret$8;
1359
1359
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1360
- var tmp0_safe_receiver_0 = e_0.oi_1;
1361
- 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);
1362
1362
  var key_0 = tmp$ret$8;
1363
1363
  if (set_0.a(key_0)) {
1364
1364
  list_0.a(e_0);
@@ -1367,26 +1367,26 @@
1367
1367
  tmp$ret$9 = list_0;
1368
1368
  var tmp_1 = tmp$ret$9;
1369
1369
  var tmp_2 = joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitResponseMapper$lambda_0($this));
1370
- Companion_getInstance_1();
1371
- Companion_getInstance_1();
1372
- Companion_getInstance_1();
1370
+ Companion_getInstance_2();
1371
+ Companion_getInstance_2();
1372
+ Companion_getInstance_2();
1373
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 ');
1374
1374
  }
1375
1375
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1376
- var tmp0_subject = _this__u8e3s4.oi_1;
1376
+ var tmp0_subject = _this__u8e3s4.pi_1;
1377
1377
  var tmp;
1378
1378
  if (tmp0_subject == null) {
1379
- Companion_getInstance_1();
1380
- Companion_getInstance_1();
1381
- Companion_getInstance_1();
1379
+ Companion_getInstance_2();
1380
+ Companion_getInstance_2();
1381
+ Companion_getInstance_2();
1382
1382
  var tmp$ret$1;
1383
1383
  // Inline function 'kotlin.takeIf' call
1384
- var tmp0_takeIf = _this__u8e3s4.ni_1;
1384
+ var tmp0_takeIf = _this__u8e3s4.oi_1;
1385
1385
  // Inline function 'kotlin.contracts.contract' call
1386
1386
  var tmp_0;
1387
1387
  var tmp$ret$0;
1388
1388
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1389
- tmp$ret$0 = Companion_getInstance_1().fk(tmp0_takeIf);
1389
+ tmp$ret$0 = Companion_getInstance_2().gk(tmp0_takeIf);
1390
1390
  if (tmp$ret$0) {
1391
1391
  tmp_0 = tmp0_takeIf;
1392
1392
  } else {
@@ -1403,20 +1403,20 @@
1403
1403
  // Inline function 'kotlin.contracts.contract' call
1404
1404
  var tmp$ret$2;
1405
1405
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1406
- tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1406
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1407
1407
  tmp$ret$3 = tmp$ret$2;
1408
1408
  tmp_1 = tmp$ret$3;
1409
1409
  }
1410
1410
  var tmp_2 = orEmptyString_0(tmp_1);
1411
- var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1411
+ var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1412
1412
  var tmp$ret$5;
1413
1413
  // Inline function 'kotlin.takeIf' call
1414
- var tmp1_takeIf = _this__u8e3s4.ni_1;
1414
+ var tmp1_takeIf = _this__u8e3s4.oi_1;
1415
1415
  // Inline function 'kotlin.contracts.contract' call
1416
1416
  var tmp_4;
1417
1417
  var tmp$ret$4;
1418
1418
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1419
- tmp$ret$4 = !Companion_getInstance_1().fk(tmp1_takeIf);
1419
+ tmp$ret$4 = !Companion_getInstance_2().gk(tmp1_takeIf);
1420
1420
  if (tmp$ret$4) {
1421
1421
  tmp_4 = tmp1_takeIf;
1422
1422
  } else {
@@ -1439,17 +1439,17 @@
1439
1439
  }
1440
1440
  tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_2 + 'content == null -> Response' + tmp_3 + 'Unit(' + orEmptyString_0(tmp_5) + 'headers)\n ');
1441
1441
  } else {
1442
- Companion_getInstance_1();
1443
- Companion_getInstance_1();
1444
- Companion_getInstance_1();
1442
+ Companion_getInstance_2();
1443
+ Companion_getInstance_2();
1444
+ Companion_getInstance_2();
1445
1445
  var tmp$ret$9;
1446
1446
  // Inline function 'kotlin.takeIf' call
1447
- var tmp2_takeIf = _this__u8e3s4.ni_1;
1447
+ var tmp2_takeIf = _this__u8e3s4.oi_1;
1448
1448
  // Inline function 'kotlin.contracts.contract' call
1449
1449
  var tmp_6;
1450
1450
  var tmp$ret$8;
1451
1451
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1452
- tmp$ret$8 = Companion_getInstance_1().fk(tmp2_takeIf);
1452
+ tmp$ret$8 = Companion_getInstance_2().gk(tmp2_takeIf);
1453
1453
  if (tmp$ret$8) {
1454
1454
  tmp_6 = tmp2_takeIf;
1455
1455
  } else {
@@ -1466,31 +1466,31 @@
1466
1466
  // Inline function 'kotlin.contracts.contract' call
1467
1467
  var tmp$ret$10;
1468
1468
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1469
- tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1469
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1470
1470
  tmp$ret$11 = tmp$ret$10;
1471
1471
  tmp_7 = tmp$ret$11;
1472
1472
  }
1473
1473
  var tmp_8 = orEmptyString_0(tmp_7);
1474
- Companion_getInstance_1();
1475
- Companion_getInstance_1();
1476
- Companion_getInstance_1();
1477
- Companion_getInstance_1();
1478
- var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1479
- var tmp_10 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1480
- Companion_getInstance_1();
1481
- Companion_getInstance_1();
1482
- Companion_getInstance_1();
1483
- Companion_getInstance_1();
1484
- var tmp_11 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1485
- var tmp_12 = emitContentType_0(_this__u8e3s4.oi_1);
1474
+ Companion_getInstance_2();
1475
+ Companion_getInstance_2();
1476
+ Companion_getInstance_2();
1477
+ Companion_getInstance_2();
1478
+ var tmp_9 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1479
+ var tmp_10 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1480
+ Companion_getInstance_2();
1481
+ Companion_getInstance_2();
1482
+ Companion_getInstance_2();
1483
+ Companion_getInstance_2();
1484
+ var tmp_11 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1485
+ var tmp_12 = emitContentType_0(_this__u8e3s4.pi_1);
1486
1486
  var tmp$ret$13;
1487
1487
  // Inline function 'kotlin.takeIf' call
1488
- var tmp3_takeIf = _this__u8e3s4.ni_1;
1488
+ var tmp3_takeIf = _this__u8e3s4.oi_1;
1489
1489
  // Inline function 'kotlin.contracts.contract' call
1490
1490
  var tmp_13;
1491
1491
  var tmp$ret$12;
1492
1492
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1493
- tmp$ret$12 = !Companion_getInstance_1().fk(tmp3_takeIf);
1493
+ tmp$ret$12 = !Companion_getInstance_2().gk(tmp3_takeIf);
1494
1494
  if (tmp$ret$12) {
1495
1495
  tmp_13 = tmp3_takeIf;
1496
1496
  } else {
@@ -1511,36 +1511,46 @@
1511
1511
  tmp$ret$15 = tmp$ret$14;
1512
1512
  tmp_14 = tmp$ret$15;
1513
1513
  }
1514
- 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 ');
1515
1515
  }
1516
1516
  return tmp;
1517
1517
  }
1518
+ function Companion() {
1519
+ Companion_instance = this;
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']);
1521
+ }
1522
+ var Companion_instance;
1523
+ function Companion_getInstance_0() {
1524
+ if (Companion_instance == null)
1525
+ new Companion();
1526
+ return Companion_instance;
1527
+ }
1518
1528
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1519
1529
  return function () {
1520
- 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 |');
1521
1531
  };
1522
1532
  }
1523
1533
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1524
1534
  return function (it) {
1525
- Companion_getInstance_1();
1526
- return ' ' + 'val ' + this$0.yi(it);
1535
+ Companion_getInstance_2();
1536
+ return ' ' + 'val ' + this$0.zi(it);
1527
1537
  };
1528
1538
  }
1529
1539
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1530
1540
  return function () {
1531
- 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));
1532
1542
  };
1533
1543
  }
1534
1544
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1535
1545
  return function () {
1536
- 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' : '');
1537
1547
  };
1538
1548
  }
1539
- function KotlinEmitter$emit$lambda_2($this_emit) {
1549
+ function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1540
1550
  return function () {
1541
1551
  var tmp$ret$2;
1542
1552
  // Inline function 'kotlin.collections.mapIndexed' call
1543
- var tmp1_mapIndexed = split($this_emit.ej_1, ['-']);
1553
+ var tmp1_mapIndexed = split($this_emit.fj_1, ['-']);
1544
1554
  var tmp$ret$1;
1545
1555
  // Inline function 'kotlin.collections.mapIndexedTo' call
1546
1556
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_mapIndexed, 10));
@@ -1553,12 +1563,12 @@
1553
1563
  var tmp1 = index;
1554
1564
  index = tmp1 + 1 | 0;
1555
1565
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1556
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().qi(item) : item;
1566
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().ri(item) : item;
1557
1567
  tmp0_mapIndexedTo.a(tmp$ret$0);
1558
1568
  }
1559
1569
  tmp$ret$1 = tmp0_mapIndexedTo;
1560
1570
  tmp$ret$2 = tmp$ret$1;
1561
- return joinToString(tmp$ret$2, '');
1571
+ return this$0.mk(joinToString(tmp$ret$2, ''));
1562
1572
  };
1563
1573
  }
1564
1574
  function KotlinEmitter$emit$lambda_3($this_emit) {
@@ -1573,10 +1583,10 @@
1573
1583
  tmp = 'Any';
1574
1584
  } else {
1575
1585
  if (tmp0_subject instanceof Custom) {
1576
- tmp = $this_emit.ij_1;
1586
+ tmp = $this_emit.jj_1;
1577
1587
  } else {
1578
1588
  if (tmp0_subject instanceof Primitive) {
1579
- var tmp1_subject = $this_emit.fj_1;
1589
+ var tmp1_subject = $this_emit.gj_1;
1580
1590
  var tmp0 = tmp1_subject.q4_1;
1581
1591
  var tmp_0;
1582
1592
  switch (tmp0) {
@@ -1603,13 +1613,13 @@
1603
1613
  // Inline function 'kotlin.contracts.contract' call
1604
1614
  var tmp$ret$0;
1605
1615
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1606
- tmp$ret$0 = $this_emit.ri() ? 'List<' + tmp0_let + '>' : tmp0_let;
1616
+ tmp$ret$0 = $this_emit.si() ? 'List<' + tmp0_let + '>' : tmp0_let;
1607
1617
  tmp$ret$1 = tmp$ret$0;
1608
1618
  var tmp1_let = tmp$ret$1;
1609
1619
  // Inline function 'kotlin.contracts.contract' call
1610
1620
  var tmp$ret$2;
1611
1621
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1612
- tmp$ret$2 = $this_emit.kk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1622
+ tmp$ret$2 = $this_emit.nk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1613
1623
  tmp$ret$3 = tmp$ret$2;
1614
1624
  return tmp$ret$3;
1615
1625
  };
@@ -1625,42 +1635,44 @@
1625
1635
  tmp$ret$1 = tmp$ret$0;
1626
1636
  return tmp$ret$1;
1627
1637
  }
1628
- function KotlinEmitter$emit$lambda$lambda_0(it) {
1629
- return invoke$sanitize_0(it) + '("' + it + '")';
1638
+ function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1639
+ return function (it) {
1640
+ return this$0.mk(invoke$sanitize_0(it)) + '("' + it + '")';
1641
+ };
1630
1642
  }
1631
- function KotlinEmitter$emit$lambda_4($this_emit) {
1643
+ function KotlinEmitter$emit$lambda_4($this_emit, this$0) {
1632
1644
  return function () {
1633
- Companion_getInstance_1();
1634
- Companion_getInstance_1();
1645
+ Companion_getInstance_2();
1646
+ Companion_getInstance_2();
1635
1647
  var tmp = ',\n' + ' ';
1636
- 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) + '\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';
1637
1649
  };
1638
1650
  }
1639
1651
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1640
1652
  return function () {
1641
- 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 |');
1642
1654
  };
1643
1655
  }
1644
1656
  function KotlinEmitter$emit$lambda_6($this_emit) {
1645
1657
  return function () {
1646
- return 'Regex(' + $this_emit.qj_1 + ').find(value)';
1658
+ return 'Regex(' + $this_emit.rj_1 + ').find(value)';
1647
1659
  };
1648
1660
  }
1649
1661
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1650
1662
  return function (it) {
1651
- Companion_getInstance_1();
1652
- var tmp0_safe_receiver = it.wh_1;
1663
+ Companion_getInstance_2();
1664
+ var tmp0_safe_receiver = it.xh_1;
1653
1665
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1654
1666
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1655
- var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.wh_1);
1656
- var tmp2_safe_receiver = it.wh_1;
1657
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.yh_1;
1658
- 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);
1659
1671
  var tmp_1 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1660
- var tmp_2 = emitPath_0($this_emit.hi_1, this$0);
1661
- var tmp_3 = emitMap_0($this_emit.ii_1, this$0);
1662
- var tmp_4 = emitMap_0($this_emit.ji_1, this$0);
1663
- 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;
1664
1676
  var tmp_5;
1665
1677
  if (tmp5_safe_receiver == null) {
1666
1678
  tmp_5 = null;
@@ -1670,29 +1682,29 @@
1670
1682
  // Inline function 'kotlin.contracts.contract' call
1671
1683
  var tmp$ret$0;
1672
1684
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1673
- tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.xh_1 + '", body)';
1685
+ tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.yh_1 + '", body)';
1674
1686
  tmp$ret$1 = tmp$ret$0;
1675
1687
  tmp_5 = tmp$ret$1;
1676
1688
  }
1677
1689
  var tmp6_elvis_lhs = tmp_5;
1678
- 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) + '}';
1679
1691
  };
1680
1692
  }
1681
1693
  function KotlinEmitter$emit$lambda$lambda_2(it) {
1682
- Companion_getInstance_1();
1694
+ Companion_getInstance_2();
1683
1695
  return ' ' + 'sealed interface Response' + it + '<T>: Response<T>';
1684
1696
  }
1685
1697
  function KotlinEmitter$emit$lambda$lambda_3(it) {
1686
- Companion_getInstance_1();
1698
+ Companion_getInstance_2();
1687
1699
  return ' ' + 'sealed interface Response' + it + '<T>: Response' + groupStatus_0(it) + '<T>';
1688
1700
  }
1689
1701
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1690
1702
  return function (it) {
1691
- Companion_getInstance_1();
1692
- var tmp0_safe_receiver = it.oi_1;
1703
+ Companion_getInstance_2();
1704
+ var tmp0_safe_receiver = it.pi_1;
1693
1705
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1694
1706
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1695
- var tmp2_safe_receiver = it.oi_1;
1707
+ var tmp2_safe_receiver = it.pi_1;
1696
1708
  var tmp_0;
1697
1709
  if (tmp2_safe_receiver == null) {
1698
1710
  tmp_0 = null;
@@ -1702,17 +1714,17 @@
1702
1714
  // Inline function 'kotlin.contracts.contract' call
1703
1715
  var tmp$ret$0;
1704
1716
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1705
- 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);
1706
1718
  tmp$ret$1 = tmp$ret$0;
1707
1719
  tmp_0 = tmp$ret$1;
1708
1720
  }
1709
1721
  var tmp3_elvis_lhs = tmp_0;
1710
1722
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1711
- var tmp4_safe_receiver = it.oi_1;
1712
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1713
- 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);
1714
1726
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1715
- var tmp7_safe_receiver = it.oi_1;
1727
+ var tmp7_safe_receiver = it.pi_1;
1716
1728
  var tmp_3;
1717
1729
  if (tmp7_safe_receiver == null) {
1718
1730
  tmp_3 = null;
@@ -1722,22 +1734,22 @@
1722
1734
  // Inline function 'kotlin.contracts.contract' call
1723
1735
  var tmp$ret$2;
1724
1736
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1725
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1737
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1726
1738
  tmp$ret$3 = tmp$ret$2;
1727
1739
  tmp_3 = tmp$ret$3;
1728
1740
  }
1729
1741
  var tmp8_elvis_lhs = tmp_3;
1730
- 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) + '}';
1731
1743
  };
1732
1744
  }
1733
1745
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1734
1746
  return function (it) {
1735
- Companion_getInstance_1();
1736
- var tmp = Companion_getInstance_1().qi(it.ni_1);
1737
- var tmp0_safe_receiver = it.oi_1;
1747
+ Companion_getInstance_2();
1748
+ var tmp = Companion_getInstance_2().ri(it.oi_1);
1749
+ var tmp0_safe_receiver = it.pi_1;
1738
1750
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1739
1751
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1740
- var tmp2_safe_receiver = it.oi_1;
1752
+ var tmp2_safe_receiver = it.pi_1;
1741
1753
  var tmp_1;
1742
1754
  if (tmp2_safe_receiver == null) {
1743
1755
  tmp_1 = null;
@@ -1747,18 +1759,18 @@
1747
1759
  // Inline function 'kotlin.contracts.contract' call
1748
1760
  var tmp$ret$0;
1749
1761
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1750
- 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);
1751
1763
  tmp$ret$1 = tmp$ret$0;
1752
1764
  tmp_1 = tmp$ret$1;
1753
1765
  }
1754
1766
  var tmp3_elvis_lhs = tmp_1;
1755
1767
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1756
- var tmp_3 = Companion_getInstance_1().qi(it.ni_1);
1757
- var tmp4_safe_receiver = it.oi_1;
1758
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1759
- 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);
1760
1772
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1761
- var tmp7_safe_receiver = it.oi_1;
1773
+ var tmp7_safe_receiver = it.pi_1;
1762
1774
  var tmp_5;
1763
1775
  if (tmp7_safe_receiver == null) {
1764
1776
  tmp_5 = null;
@@ -1768,7 +1780,7 @@
1768
1780
  // Inline function 'kotlin.contracts.contract' call
1769
1781
  var tmp$ret$2;
1770
1782
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1771
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1783
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1772
1784
  tmp$ret$3 = tmp$ret$2;
1773
1785
  tmp_5 = tmp$ret$3;
1774
1786
  }
@@ -1778,12 +1790,12 @@
1778
1790
  }
1779
1791
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1780
1792
  return function () {
1781
- Companion_getInstance_1();
1782
- var tmp = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1783
- Companion_getInstance_1();
1793
+ Companion_getInstance_2();
1794
+ var tmp = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1795
+ Companion_getInstance_2();
1784
1796
  var tmp$ret$2;
1785
1797
  // Inline function 'kotlin.collections.map' call
1786
- var tmp1_map = $this_emit.mi_1;
1798
+ var tmp1_map = $this_emit.ni_1;
1787
1799
  var tmp$ret$1;
1788
1800
  // Inline function 'kotlin.collections.mapTo' call
1789
1801
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1792,7 +1804,7 @@
1792
1804
  var item = tmp0_iterator.e();
1793
1805
  var tmp$ret$0;
1794
1806
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1795
- tmp$ret$0 = groupStatus_0(item.ni_1);
1807
+ tmp$ret$0 = groupStatus_0(item.oi_1);
1796
1808
  tmp0_mapTo.a(tmp$ret$0);
1797
1809
  }
1798
1810
  tmp$ret$1 = tmp0_mapTo;
@@ -1803,7 +1815,7 @@
1803
1815
  // Inline function 'kotlin.collections.map' call
1804
1816
  var tmp$ret$5;
1805
1817
  // Inline function 'kotlin.collections.filter' call
1806
- var tmp3_filter = $this_emit.mi_1;
1818
+ var tmp3_filter = $this_emit.ni_1;
1807
1819
  var tmp$ret$4;
1808
1820
  // Inline function 'kotlin.collections.filterTo' call
1809
1821
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1812,7 +1824,7 @@
1812
1824
  var element = tmp0_iterator_0.e();
1813
1825
  var tmp$ret$3;
1814
1826
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1815
- tmp$ret$3 = Companion_getInstance_1().fk(element.ni_1);
1827
+ tmp$ret$3 = Companion_getInstance_2().gk(element.oi_1);
1816
1828
  if (tmp$ret$3) {
1817
1829
  tmp2_filterTo.a(element);
1818
1830
  }
@@ -1828,7 +1840,7 @@
1828
1840
  var item_0 = tmp0_iterator_1.e();
1829
1841
  var tmp$ret$6;
1830
1842
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1831
- tmp$ret$6 = item_0.ni_1;
1843
+ tmp$ret$6 = item_0.oi_1;
1832
1844
  tmp4_mapTo.a(tmp$ret$6);
1833
1845
  }
1834
1846
  tmp$ret$7 = tmp4_mapTo;
@@ -1839,7 +1851,7 @@
1839
1851
  // Inline function 'kotlin.collections.distinctBy' call
1840
1852
  var tmp$ret$11;
1841
1853
  // Inline function 'kotlin.collections.filter' call
1842
- var tmp7_filter = $this_emit.mi_1;
1854
+ var tmp7_filter = $this_emit.ni_1;
1843
1855
  var tmp$ret$10;
1844
1856
  // Inline function 'kotlin.collections.filterTo' call
1845
1857
  var tmp6_filterTo = ArrayList_init_$Create$();
@@ -1848,7 +1860,7 @@
1848
1860
  var element_0 = tmp0_iterator_2.e();
1849
1861
  var tmp$ret$9;
1850
1862
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1851
- tmp$ret$9 = Companion_getInstance_1().fk(element_0.ni_1);
1863
+ tmp$ret$9 = Companion_getInstance_2().gk(element_0.oi_1);
1852
1864
  if (tmp$ret$9) {
1853
1865
  tmp6_filterTo.a(element_0);
1854
1866
  }
@@ -1863,8 +1875,8 @@
1863
1875
  var e = tmp0_iterator_3.e();
1864
1876
  var tmp$ret$12;
1865
1877
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1866
- var tmp0_safe_receiver = e.oi_1;
1867
- 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);
1868
1880
  var key = tmp$ret$12;
1869
1881
  if (set.a(key)) {
1870
1882
  list.a(e);
@@ -1877,7 +1889,7 @@
1877
1889
  // Inline function 'kotlin.collections.distinctBy' call
1878
1890
  var tmp$ret$16;
1879
1891
  // Inline function 'kotlin.collections.filter' call
1880
- var tmp10_filter = $this_emit.mi_1;
1892
+ var tmp10_filter = $this_emit.ni_1;
1881
1893
  var tmp$ret$15;
1882
1894
  // Inline function 'kotlin.collections.filterTo' call
1883
1895
  var tmp9_filterTo = ArrayList_init_$Create$();
@@ -1886,7 +1898,7 @@
1886
1898
  var element_1 = tmp0_iterator_4.e();
1887
1899
  var tmp$ret$14;
1888
1900
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1889
- tmp$ret$14 = !Companion_getInstance_1().fk(element_1.ni_1);
1901
+ tmp$ret$14 = !Companion_getInstance_2().gk(element_1.oi_1);
1890
1902
  if (tmp$ret$14) {
1891
1903
  tmp9_filterTo.a(element_1);
1892
1904
  }
@@ -1901,8 +1913,8 @@
1901
1913
  var e_0 = tmp0_iterator_5.e();
1902
1914
  var tmp$ret$17;
1903
1915
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1904
- var tmp0_safe_receiver_0 = e_0.oi_1;
1905
- 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);
1906
1918
  var key_0 = tmp$ret$17;
1907
1919
  if (set_0.a(key_0)) {
1908
1920
  list_0.a(e_0);
@@ -1911,33 +1923,33 @@
1911
1923
  tmp$ret$18 = list_0;
1912
1924
  var tmp_6 = tmp$ret$18;
1913
1925
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1914
- var tmp_8 = Companion_getInstance_1().rj($this_emit.fi_1);
1915
- Companion_getInstance_1();
1916
- Companion_getInstance_1();
1917
- Companion_getInstance_1();
1918
- var tmp_9 = emitSegment_0($this_emit.hi_1, this$0);
1919
- Companion_getInstance_1();
1920
- Companion_getInstance_1();
1921
- var tmp_10 = emitResponseMapper_0($this_emit.mi_1, this$0);
1922
- Companion_getInstance_1();
1923
- Companion_getInstance_1();
1924
- Companion_getInstance_1();
1925
- 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 |');
1926
+ var tmp_8 = Companion_getInstance_2().sj($this_emit.gi_1);
1927
+ Companion_getInstance_2();
1928
+ Companion_getInstance_2();
1929
+ Companion_getInstance_2();
1930
+ var tmp_9 = emitSegment_0($this_emit.ii_1, this$0);
1931
+ Companion_getInstance_2();
1932
+ Companion_getInstance_2();
1933
+ var tmp_10 = emitResponseMapper_0($this_emit.ni_1, this$0);
1934
+ Companion_getInstance_2();
1935
+ Companion_getInstance_2();
1936
+ Companion_getInstance_2();
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 |');
1926
1938
  };
1927
1939
  }
1928
1940
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1929
1941
  return function (it) {
1930
- return this$0.yi(it);
1942
+ return this$0.zi(it);
1931
1943
  };
1932
1944
  }
1933
1945
  function KotlinEmitter$emitSegment$lambda(it) {
1934
1946
  var tmp0_subject = it;
1935
1947
  var tmp;
1936
1948
  if (tmp0_subject instanceof Param) {
1937
- tmp = '{' + it.ti_1.ej_1 + '}';
1949
+ tmp = '{' + it.ui_1.fj_1 + '}';
1938
1950
  } else {
1939
1951
  if (tmp0_subject instanceof Literal) {
1940
- tmp = it.sj_1;
1952
+ tmp = it.tj_1;
1941
1953
  } else {
1942
1954
  noWhenBranchMatchedException();
1943
1955
  }
@@ -1946,7 +1958,7 @@
1946
1958
  }
1947
1959
  function KotlinEmitter$emitMap$lambda(this$0) {
1948
1960
  return function (it) {
1949
- 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) + ')';
1950
1962
  };
1951
1963
  }
1952
1964
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1954,10 +1966,10 @@
1954
1966
  var tmp0_subject = $this_emit;
1955
1967
  var tmp;
1956
1968
  if (tmp0_subject instanceof Literal) {
1957
- tmp = $this_emit.sj_1;
1969
+ tmp = $this_emit.tj_1;
1958
1970
  } else {
1959
1971
  if (tmp0_subject instanceof Param) {
1960
- tmp = '${' + $this_emit.ti_1.ej_1 + '}';
1972
+ tmp = '${' + $this_emit.ui_1.fj_1 + '}';
1961
1973
  } else {
1962
1974
  noWhenBranchMatchedException();
1963
1975
  }
@@ -1981,22 +1993,23 @@
1981
1993
  };
1982
1994
  }
1983
1995
  function KotlinEmitter(packageName, logger) {
1996
+ Companion_getInstance_0();
1984
1997
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1985
1998
  logger = logger === VOID ? get_noLogger() : logger;
1986
1999
  Emitter.call(this, logger);
1987
- this.ik_1 = packageName;
2000
+ this.jk_1 = packageName;
1988
2001
  var tmp = this;
1989
- Companion_getInstance_1();
1990
- Companion_getInstance_1();
1991
- Companion_getInstance_1();
1992
- Companion_getInstance_1();
1993
- Companion_getInstance_1();
1994
- 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 ');
1995
- }
1996
- protoOf(KotlinEmitter).sh = function (ast) {
2002
+ Companion_getInstance_2();
2003
+ Companion_getInstance_2();
2004
+ Companion_getInstance_2();
2005
+ Companion_getInstance_2();
2006
+ Companion_getInstance_2();
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 ');
2008
+ }
2009
+ protoOf(KotlinEmitter).th = function (ast) {
1997
2010
  var tmp$ret$3;
1998
2011
  // Inline function 'kotlin.collections.map' call
1999
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2012
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2000
2013
  var tmp$ret$2;
2001
2014
  // Inline function 'kotlin.collections.mapTo' call
2002
2015
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2009,7 +2022,7 @@
2009
2022
  var result = item.j3();
2010
2023
  var tmp$ret$0;
2011
2024
  // Inline function 'kotlin.text.trimStart' call
2012
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.ik_1) ? '' : 'package ' + this.ik_1) + '\n |' + (Companion_getInstance_1().lk(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 ');
2013
2026
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2014
2027
  tmp$ret$1 = to(name, tmp$ret$0);
2015
2028
  tmp0_mapTo.a(tmp$ret$1);
@@ -2018,43 +2031,46 @@
2018
2031
  tmp$ret$3 = tmp$ret$2;
2019
2032
  return tmp$ret$3;
2020
2033
  };
2021
- protoOf(KotlinEmitter).tj = function (_this__u8e3s4) {
2022
- return this.uj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2023
- };
2024
- protoOf(KotlinEmitter).xi = function (_this__u8e3s4) {
2025
- 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));
2026
2036
  };
2027
2037
  protoOf(KotlinEmitter).yi = function (_this__u8e3s4) {
2028
- 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));
2039
+ };
2040
+ protoOf(KotlinEmitter).zi = function (_this__u8e3s4) {
2041
+ return this.xj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2029
2042
  };
2030
- protoOf(KotlinEmitter).dj = function (_this__u8e3s4) {
2031
- return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(_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));
2032
2045
  };
2033
- protoOf(KotlinEmitter).ei = function (_this__u8e3s4) {
2034
- return this.vh(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2046
+ protoOf(KotlinEmitter).fi = function (_this__u8e3s4) {
2047
+ return this.wh(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2035
2048
  };
2036
- protoOf(KotlinEmitter).yj = function (_this__u8e3s4) {
2037
- return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
2049
+ protoOf(KotlinEmitter).zj = function (_this__u8e3s4) {
2050
+ return this.ak(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2038
2051
  };
2039
- protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2040
- return this.bk(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2052
+ protoOf(KotlinEmitter).bk = function (_this__u8e3s4) {
2053
+ return this.ck(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2041
2054
  };
2042
- protoOf(KotlinEmitter).pj = function (_this__u8e3s4) {
2043
- return this.ck(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2055
+ protoOf(KotlinEmitter).qj = function (_this__u8e3s4) {
2056
+ return this.dk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2044
2057
  };
2045
- protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2046
- return this.ek(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
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;
2047
2063
  };
2048
2064
  function toField(_this__u8e3s4, identifier, isNullable) {
2049
2065
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2050
2066
  }
2051
2067
  function emitContentType_0(_this__u8e3s4) {
2052
- var tmp = split(_this__u8e3s4.xh_1, ['/', '-']);
2068
+ var tmp = split(_this__u8e3s4.yh_1, ['/', '-']);
2053
2069
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2054
2070
  }
2055
2071
  function groupStatus_0(_this__u8e3s4) {
2056
2072
  var tmp;
2057
- if (Companion_getInstance_1().fk(_this__u8e3s4)) {
2073
+ if (Companion_getInstance_2().gk(_this__u8e3s4)) {
2058
2074
  var tmp$ret$1;
2059
2075
  // Inline function 'kotlin.text.substring' call
2060
2076
  var tmp$ret$0;
@@ -2063,7 +2079,7 @@
2063
2079
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2064
2080
  tmp = tmp$ret$1 + 'XX';
2065
2081
  } else {
2066
- tmp = Companion_getInstance_1().qi(_this__u8e3s4);
2082
+ tmp = Companion_getInstance_2().ri(_this__u8e3s4);
2067
2083
  }
2068
2084
  return tmp;
2069
2085
  }
@@ -2072,42 +2088,42 @@
2072
2088
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2073
2089
  }
2074
2090
  function emitContentType$lambda(it) {
2075
- return Companion_getInstance_1().qi(it);
2091
+ return Companion_getInstance_2().ri(it);
2076
2092
  }
2077
- function Companion() {
2078
- Companion_instance = this;
2079
- this.mk_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']);
2093
+ function Companion_0() {
2094
+ Companion_instance_0 = this;
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']);
2080
2096
  }
2081
- var Companion_instance;
2082
- function Companion_getInstance_0() {
2083
- if (Companion_instance == null)
2084
- new Companion();
2085
- return Companion_instance;
2097
+ var Companion_instance_0;
2098
+ function Companion_getInstance_1() {
2099
+ if (Companion_instance_0 == null)
2100
+ new Companion_0();
2101
+ return Companion_instance_0;
2086
2102
  }
2087
2103
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2088
2104
  return function () {
2089
- 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 |');
2090
2106
  };
2091
2107
  }
2092
2108
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2093
2109
  return function (it) {
2094
- return this$0.yi(it);
2110
+ return this$0.zi(it);
2095
2111
  };
2096
2112
  }
2097
2113
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2098
2114
  return function () {
2099
- 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);
2100
2116
  };
2101
2117
  }
2102
2118
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2103
2119
  return function () {
2104
- Companion_getInstance_1();
2105
- 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)) + ',';
2120
+ Companion_getInstance_2();
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)) + ',';
2106
2122
  };
2107
2123
  }
2108
2124
  function ScalaEmitter$emit$lambda_2($this_emit) {
2109
2125
  return function () {
2110
- return Companion_getInstance_0().mk_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;
2111
2127
  };
2112
2128
  }
2113
2129
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2120,10 +2136,10 @@
2120
2136
  tmp = 'Any';
2121
2137
  } else {
2122
2138
  if (tmp0_subject instanceof Custom) {
2123
- tmp = $this_emit.ij_1;
2139
+ tmp = $this_emit.jj_1;
2124
2140
  } else {
2125
2141
  if (tmp0_subject instanceof Primitive) {
2126
- var tmp1_subject = $this_emit.fj_1;
2142
+ var tmp1_subject = $this_emit.gj_1;
2127
2143
  var tmp0 = tmp1_subject.q4_1;
2128
2144
  var tmp_0;
2129
2145
  switch (tmp0) {
@@ -2150,7 +2166,7 @@
2150
2166
  // Inline function 'kotlin.contracts.contract' call
2151
2167
  var tmp$ret$0;
2152
2168
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2153
- tmp$ret$0 = $this_emit.ri() ? 'List[' + tmp0_let + ']' : tmp0_let;
2169
+ tmp$ret$0 = $this_emit.si() ? 'List[' + tmp0_let + ']' : tmp0_let;
2154
2170
  tmp$ret$1 = tmp$ret$0;
2155
2171
  return tmp$ret$1;
2156
2172
  };
@@ -2168,7 +2184,7 @@
2168
2184
  }
2169
2185
  function ScalaEmitter$emit$lambda$lambda_0($this_emit) {
2170
2186
  return function (it) {
2171
- Companion_getInstance_1();
2187
+ Companion_getInstance_2();
2172
2188
  var tmp$ret$1;
2173
2189
  // Inline function 'kotlin.text.uppercase' call
2174
2190
  var tmp0_uppercase = invoke$sanitize_1(it);
@@ -2176,45 +2192,45 @@
2176
2192
  // Inline function 'kotlin.js.asDynamic' call
2177
2193
  tmp$ret$0 = tmp0_uppercase;
2178
2194
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2179
- 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 + '")';
2180
2196
  };
2181
2197
  }
2182
2198
  function ScalaEmitter$emit$lambda_4($this_emit) {
2183
2199
  return function () {
2184
- 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 |');
2185
2201
  };
2186
2202
  }
2187
2203
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2188
2204
  return function () {
2189
- Companion_getInstance_1();
2190
- var tmp = this$0.pj($this_emit.oj_1);
2191
- Companion_getInstance_1();
2192
- 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 |');
2205
+ Companion_getInstance_2();
2206
+ var tmp = this$0.qj($this_emit.pj_1);
2207
+ Companion_getInstance_2();
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 |');
2193
2209
  };
2194
2210
  }
2195
2211
  function ScalaEmitter$emit$lambda_6($this_emit) {
2196
2212
  return function () {
2197
- Companion_getInstance_1();
2198
- Companion_getInstance_1();
2199
- Companion_getInstance_1();
2200
- Companion_getInstance_1();
2201
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.qj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2213
+ Companion_getInstance_2();
2214
+ Companion_getInstance_2();
2215
+ Companion_getInstance_2();
2216
+ Companion_getInstance_2();
2217
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.rj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2202
2218
  };
2203
2219
  }
2204
2220
  function ScalaEmitter$emit$lambda_7() {
2205
2221
  return '// TODO("Not yet implemented")\n';
2206
2222
  }
2207
2223
  function ScalaEmitter(packageName, logger) {
2208
- Companion_getInstance_0();
2224
+ Companion_getInstance_1();
2209
2225
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2210
2226
  logger = logger === VOID ? get_noLogger() : logger;
2211
2227
  Emitter.call(this, logger);
2212
- this.pk_1 = packageName;
2228
+ this.sk_1 = packageName;
2213
2229
  }
2214
- protoOf(ScalaEmitter).sh = function (ast) {
2230
+ protoOf(ScalaEmitter).th = function (ast) {
2215
2231
  var tmp$ret$2;
2216
2232
  // Inline function 'kotlin.collections.map' call
2217
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2233
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2218
2234
  var tmp$ret$1;
2219
2235
  // Inline function 'kotlin.collections.mapTo' call
2220
2236
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2225,54 +2241,54 @@
2225
2241
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2226
2242
  var name = item.i3();
2227
2243
  var result = item.j3();
2228
- tmp$ret$0 = to(name, isBlank(this.pk_1) ? '' : 'package ' + this.pk_1 + '\n\n' + result);
2244
+ tmp$ret$0 = to(name, isBlank(this.sk_1) ? '' : 'package ' + this.sk_1 + '\n\n' + result);
2229
2245
  tmp0_mapTo.a(tmp$ret$0);
2230
2246
  }
2231
2247
  tmp$ret$1 = tmp0_mapTo;
2232
2248
  tmp$ret$2 = tmp$ret$1;
2233
2249
  return tmp$ret$2;
2234
2250
  };
2235
- protoOf(ScalaEmitter).tj = function (_this__u8e3s4) {
2236
- return this.uj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2237
- };
2238
- protoOf(ScalaEmitter).xi = function (_this__u8e3s4) {
2239
- 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));
2240
2253
  };
2241
2254
  protoOf(ScalaEmitter).yi = function (_this__u8e3s4) {
2242
- 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));
2243
2256
  };
2244
- protoOf(ScalaEmitter).dj = function (_this__u8e3s4) {
2245
- return this.xj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2257
+ protoOf(ScalaEmitter).zi = function (_this__u8e3s4) {
2258
+ return this.xj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2246
2259
  };
2247
- protoOf(ScalaEmitter).ei = function (_this__u8e3s4) {
2248
- return this.vh(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2260
+ protoOf(ScalaEmitter).ej = function (_this__u8e3s4) {
2261
+ return this.yj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2249
2262
  };
2250
- protoOf(ScalaEmitter).yj = function (_this__u8e3s4) {
2251
- return this.zj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2263
+ protoOf(ScalaEmitter).fi = function (_this__u8e3s4) {
2264
+ return this.wh(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2252
2265
  };
2253
- protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2254
- return this.bk(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2266
+ protoOf(ScalaEmitter).zj = function (_this__u8e3s4) {
2267
+ return this.ak(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2255
2268
  };
2256
- protoOf(ScalaEmitter).pj = function (_this__u8e3s4) {
2257
- return this.ck(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2269
+ protoOf(ScalaEmitter).bk = function (_this__u8e3s4) {
2270
+ return this.ck(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2258
2271
  };
2259
- protoOf(ScalaEmitter).dk = function (_this__u8e3s4) {
2260
- return this.ek(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_7);
2272
+ protoOf(ScalaEmitter).qj = function (_this__u8e3s4) {
2273
+ return this.dk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2274
+ };
2275
+ protoOf(ScalaEmitter).ek = function (_this__u8e3s4) {
2276
+ return this.fk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_7);
2261
2277
  };
2262
2278
  function emitType(_this__u8e3s4, $this) {
2263
2279
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2264
2280
  }
2265
2281
  function emitType_0(_this__u8e3s4, $this) {
2266
- 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));
2267
2283
  }
2268
2284
  function emitName(_this__u8e3s4, $this) {
2269
- var tmp0_safe_receiver = _this__u8e3s4.wh_1;
2285
+ var tmp0_safe_receiver = _this__u8e3s4.xh_1;
2270
2286
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2271
2287
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2272
2288
  }
2273
2289
  function emitName_0(_this__u8e3s4, $this) {
2274
- var tmp = 'Response' + Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
2275
- 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;
2276
2292
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2277
2293
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2278
2294
  }
@@ -2283,32 +2299,32 @@
2283
2299
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2284
2300
  }
2285
2301
  function emit_3(_this__u8e3s4, $this) {
2286
- 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));
2287
2303
  }
2288
2304
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2289
2305
  return function () {
2290
- 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 |');
2291
2307
  };
2292
2308
  }
2293
2309
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2294
2310
  return function (it) {
2295
- return this$0.yi(it);
2311
+ return this$0.zi(it);
2296
2312
  };
2297
2313
  }
2298
2314
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2299
2315
  return function () {
2300
- 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));
2301
2317
  };
2302
2318
  }
2303
2319
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2304
2320
  return function () {
2305
- Companion_getInstance_1();
2306
- return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1);
2321
+ Companion_getInstance_2();
2322
+ return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1);
2307
2323
  };
2308
2324
  }
2309
2325
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2310
2326
  return function () {
2311
- return $this_emit.ej_1;
2327
+ return $this_emit.fj_1;
2312
2328
  };
2313
2329
  }
2314
2330
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2323,10 +2339,10 @@
2323
2339
  tmp = 'any';
2324
2340
  } else {
2325
2341
  if (tmp0_subject instanceof Custom) {
2326
- tmp = $this_emit.ij_1;
2342
+ tmp = $this_emit.jj_1;
2327
2343
  } else {
2328
2344
  if (tmp0_subject instanceof Primitive) {
2329
- var tmp1_subject = $this_emit.fj_1;
2345
+ var tmp1_subject = $this_emit.gj_1;
2330
2346
  var tmp0 = tmp1_subject.q4_1;
2331
2347
  var tmp_0;
2332
2348
  switch (tmp0) {
@@ -2353,13 +2369,13 @@
2353
2369
  // Inline function 'kotlin.contracts.contract' call
2354
2370
  var tmp$ret$0;
2355
2371
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2356
- tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2372
+ tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2357
2373
  tmp$ret$1 = tmp$ret$0;
2358
2374
  var tmp1_let = tmp$ret$1;
2359
2375
  // Inline function 'kotlin.contracts.contract' call
2360
2376
  var tmp$ret$2;
2361
2377
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2362
- tmp$ret$2 = $this_emit.kk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2378
+ tmp$ret$2 = $this_emit.nk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2363
2379
  tmp$ret$3 = tmp$ret$2;
2364
2380
  return tmp$ret$3;
2365
2381
  };
@@ -2369,28 +2385,28 @@
2369
2385
  }
2370
2386
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2371
2387
  return function () {
2372
- 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';
2373
2389
  };
2374
2390
  }
2375
2391
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2376
2392
  return function () {
2377
- Companion_getInstance_1();
2378
- 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 |');
2393
+ Companion_getInstance_2();
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 |');
2379
2395
  };
2380
2396
  }
2381
2397
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2382
2398
  return function () {
2383
- return "new RegExp('" + dropLast(drop($this_emit.qj_1, 1), 1) + "')";
2399
+ return "new RegExp('" + dropLast(drop($this_emit.rj_1, 1), 1) + "')";
2384
2400
  };
2385
2401
  }
2386
2402
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2387
2403
  return function (it) {
2388
- Companion_getInstance_1();
2404
+ Companion_getInstance_2();
2389
2405
  var tmp = emitName(it, this$0);
2390
- var tmp_0 = emitType($this_emit.hi_1, this$0);
2406
+ var tmp_0 = emitType($this_emit.ii_1, this$0);
2391
2407
  var tmp$ret$2;
2392
2408
  // Inline function 'kotlin.collections.map' call
2393
- var tmp1_map = $this_emit.ji_1;
2409
+ var tmp1_map = $this_emit.ki_1;
2394
2410
  var tmp$ret$1;
2395
2411
  // Inline function 'kotlin.collections.mapTo' call
2396
2412
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2399,7 +2415,7 @@
2399
2415
  var item = tmp0_iterator.e();
2400
2416
  var tmp$ret$0;
2401
2417
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2402
- tmp$ret$0 = this$0.yi(item);
2418
+ tmp$ret$0 = this$0.zi(item);
2403
2419
  tmp0_mapTo.a(tmp$ret$0);
2404
2420
  }
2405
2421
  tmp$ret$1 = tmp0_mapTo;
@@ -2407,7 +2423,7 @@
2407
2423
  var tmp_1 = joinToString(tmp$ret$2, ',');
2408
2424
  var tmp$ret$5;
2409
2425
  // Inline function 'kotlin.collections.map' call
2410
- var tmp3_map = $this_emit.ii_1;
2426
+ var tmp3_map = $this_emit.ji_1;
2411
2427
  var tmp$ret$4;
2412
2428
  // Inline function 'kotlin.collections.mapTo' call
2413
2429
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2416,13 +2432,13 @@
2416
2432
  var item_0 = tmp0_iterator_0.e();
2417
2433
  var tmp$ret$3;
2418
2434
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2419
- tmp$ret$3 = this$0.yi(item_0);
2435
+ tmp$ret$3 = this$0.zi(item_0);
2420
2436
  tmp2_mapTo.a(tmp$ret$3);
2421
2437
  }
2422
2438
  tmp$ret$4 = tmp2_mapTo;
2423
2439
  tmp$ret$5 = tmp$ret$4;
2424
2440
  var tmp_2 = joinToString(tmp$ret$5, ',');
2425
- var tmp0_safe_receiver = it.wh_1;
2441
+ var tmp0_safe_receiver = it.xh_1;
2426
2442
  var tmp_3;
2427
2443
  if (tmp0_safe_receiver == null) {
2428
2444
  tmp_3 = null;
@@ -2432,12 +2448,12 @@
2432
2448
  // Inline function 'kotlin.contracts.contract' call
2433
2449
  var tmp$ret$6;
2434
2450
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2435
- 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) + ' }';
2436
2452
  tmp$ret$7 = tmp$ret$6;
2437
2453
  tmp_3 = tmp$ret$7;
2438
2454
  }
2439
2455
  var tmp1_elvis_lhs = tmp_3;
2440
- 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) + ' } ';
2441
2457
  };
2442
2458
  }
2443
2459
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2447,10 +2463,10 @@
2447
2463
  }
2448
2464
  function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2449
2465
  return function (it) {
2450
- Companion_getInstance_1();
2466
+ Companion_getInstance_2();
2451
2467
  var tmp = emitName_0(it, this$0);
2452
- var tmp_0 = Companion_getInstance_1().fk(it.ni_1) ? it.ni_1 : 'number';
2453
- 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;
2454
2470
  var tmp_1;
2455
2471
  if (tmp0_safe_receiver == null) {
2456
2472
  tmp_1 = null;
@@ -2460,7 +2476,7 @@
2460
2476
  // Inline function 'kotlin.contracts.contract' call
2461
2477
  var tmp$ret$0;
2462
2478
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2463
- 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) + ' }';
2464
2480
  tmp$ret$1 = tmp$ret$0;
2465
2481
  tmp_1 = tmp$ret$1;
2466
2482
  }
@@ -2475,18 +2491,18 @@
2475
2491
  }
2476
2492
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2477
2493
  return function (it) {
2478
- return this$0.yi(it);
2494
+ return this$0.zi(it);
2479
2495
  };
2480
2496
  }
2481
2497
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2482
2498
  return function (it) {
2483
- var tmp = Companion_getInstance_1().rj(emitName(it, this$0));
2484
- var tmp_0 = Companion_getInstance_1().tk($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);
2485
2501
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2486
- var tmp_2 = emitPath_1($this_emit.hi_1, this$0);
2487
- var tmp_3 = emitMap_1($this_emit.ii_1, this$0);
2488
- var tmp_4 = emitMap_1($this_emit.ji_1, this$0);
2489
- 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;
2490
2506
  var tmp_5;
2491
2507
  if (tmp0_safe_receiver == null) {
2492
2508
  tmp_5 = null;
@@ -2496,33 +2512,33 @@
2496
2512
  // Inline function 'kotlin.contracts.contract' call
2497
2513
  var tmp$ret$0;
2498
2514
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2499
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.xh_1 + '", body}';
2515
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.yh_1 + '", body}';
2500
2516
  tmp$ret$1 = tmp$ret$0;
2501
2517
  tmp_5 = tmp$ret$1;
2502
2518
  }
2503
2519
  var tmp1_elvis_lhs = tmp_5;
2504
- 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)';
2505
2521
  };
2506
2522
  }
2507
2523
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2508
2524
  return function () {
2509
- var tmp = toSet($this_emit.li_1);
2525
+ var tmp = toSet($this_emit.mi_1);
2510
2526
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2511
- Companion_getInstance_1();
2512
- var tmp_1 = toSet($this_emit.li_1);
2527
+ Companion_getInstance_2();
2528
+ var tmp_1 = toSet($this_emit.mi_1);
2513
2529
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2514
- var tmp_3 = toSet($this_emit.mi_1);
2530
+ var tmp_3 = toSet($this_emit.ni_1);
2515
2531
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2516
- Companion_getInstance_1();
2517
- var tmp_5 = toSet($this_emit.mi_1);
2532
+ Companion_getInstance_2();
2533
+ var tmp_5 = toSet($this_emit.ni_1);
2518
2534
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2519
- Companion_getInstance_1();
2520
- Companion_getInstance_1();
2521
- Companion_getInstance_1();
2522
- var tmp_7 = Companion_getInstance_1().rj($this_emit.fi_1);
2523
- Companion_getInstance_1();
2524
- Companion_getInstance_1();
2525
- 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 ');
2535
+ Companion_getInstance_2();
2536
+ Companion_getInstance_2();
2537
+ Companion_getInstance_2();
2538
+ var tmp_7 = Companion_getInstance_2().sj($this_emit.gi_1);
2539
+ Companion_getInstance_2();
2540
+ Companion_getInstance_2();
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 ');
2526
2542
  };
2527
2543
  }
2528
2544
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -2535,10 +2551,10 @@
2535
2551
  var tmp0_subject = $this_emitType;
2536
2552
  var tmp;
2537
2553
  if (tmp0_subject instanceof Literal) {
2538
- tmp = $this_emitType.sj_1;
2554
+ tmp = $this_emitType.tj_1;
2539
2555
  } else {
2540
2556
  if (tmp0_subject instanceof Param) {
2541
- tmp = '${' + this$0.ei($this_emitType.ui_1) + '}';
2557
+ tmp = '${' + this$0.fi($this_emitType.vi_1) + '}';
2542
2558
  } else {
2543
2559
  noWhenBranchMatchedException();
2544
2560
  }
@@ -2548,7 +2564,7 @@
2548
2564
  }
2549
2565
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2550
2566
  return function (it) {
2551
- 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);
2552
2568
  };
2553
2569
  }
2554
2570
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2561,10 +2577,10 @@
2561
2577
  var tmp0_subject = $this_emit;
2562
2578
  var tmp;
2563
2579
  if (tmp0_subject instanceof Literal) {
2564
- tmp = $this_emit.sj_1;
2580
+ tmp = $this_emit.tj_1;
2565
2581
  } else {
2566
2582
  if (tmp0_subject instanceof Param) {
2567
- tmp = '${' + $this_emit.ti_1.ej_1 + '}';
2583
+ tmp = '${' + $this_emit.ui_1.fj_1 + '}';
2568
2584
  } else {
2569
2585
  noWhenBranchMatchedException();
2570
2586
  }
@@ -2576,16 +2592,16 @@
2576
2592
  logger = logger === VOID ? get_noLogger() : logger;
2577
2593
  Emitter.call(this, logger);
2578
2594
  var tmp = this;
2579
- Companion_getInstance_1();
2580
- Companion_getInstance_1();
2581
- Companion_getInstance_1();
2582
- Companion_getInstance_1();
2583
- tmp.sk_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 ');
2595
+ Companion_getInstance_2();
2596
+ Companion_getInstance_2();
2597
+ Companion_getInstance_2();
2598
+ Companion_getInstance_2();
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 ');
2584
2600
  }
2585
- protoOf(TypeScriptEmitter).sh = function (ast) {
2601
+ protoOf(TypeScriptEmitter).th = function (ast) {
2586
2602
  var tmp$ret$3;
2587
2603
  // Inline function 'kotlin.collections.map' call
2588
- var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2604
+ var tmp1_map = protoOf(Emitter).th.call(this, ast);
2589
2605
  var tmp$ret$2;
2590
2606
  // Inline function 'kotlin.collections.mapTo' call
2591
2607
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2598,7 +2614,7 @@
2598
2614
  var result = item.j3();
2599
2615
  var tmp$ret$0;
2600
2616
  // Inline function 'kotlin.text.trimStart' call
2601
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().lk(ast) ? this.sk_1 : '') + '\n |' + result + '\n ');
2617
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().ok(ast) ? this.vk_1 : '') + '\n |' + result + '\n ');
2602
2618
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2603
2619
  tmp$ret$1 = to(name, tmp$ret$0);
2604
2620
  tmp0_mapTo.a(tmp$ret$1);
@@ -2607,57 +2623,57 @@
2607
2623
  tmp$ret$3 = tmp$ret$2;
2608
2624
  return tmp$ret$3;
2609
2625
  };
2610
- protoOf(TypeScriptEmitter).tj = function (_this__u8e3s4) {
2611
- return this.uj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2612
- };
2613
- protoOf(TypeScriptEmitter).xi = function (_this__u8e3s4) {
2614
- 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));
2615
2628
  };
2616
2629
  protoOf(TypeScriptEmitter).yi = function (_this__u8e3s4) {
2617
- 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));
2618
2631
  };
2619
- protoOf(TypeScriptEmitter).dj = function (_this__u8e3s4) {
2620
- return this.xj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2632
+ protoOf(TypeScriptEmitter).zi = function (_this__u8e3s4) {
2633
+ return this.xj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2621
2634
  };
2622
- protoOf(TypeScriptEmitter).ei = function (_this__u8e3s4) {
2623
- return this.vh(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2635
+ protoOf(TypeScriptEmitter).ej = function (_this__u8e3s4) {
2636
+ return this.yj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2624
2637
  };
2625
- protoOf(TypeScriptEmitter).yj = function (_this__u8e3s4) {
2626
- return this.zj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2638
+ protoOf(TypeScriptEmitter).fi = function (_this__u8e3s4) {
2639
+ return this.wh(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2627
2640
  };
2628
- protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2629
- return this.bk(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2641
+ protoOf(TypeScriptEmitter).zj = function (_this__u8e3s4) {
2642
+ return this.ak(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2630
2643
  };
2631
- protoOf(TypeScriptEmitter).pj = function (_this__u8e3s4) {
2632
- return this.ck(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2644
+ protoOf(TypeScriptEmitter).bk = function (_this__u8e3s4) {
2645
+ return this.ck(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2633
2646
  };
2634
- protoOf(TypeScriptEmitter).dk = function (_this__u8e3s4) {
2635
- return this.ek(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2647
+ protoOf(TypeScriptEmitter).qj = function (_this__u8e3s4) {
2648
+ return this.dk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2649
+ };
2650
+ protoOf(TypeScriptEmitter).ek = function (_this__u8e3s4) {
2651
+ return this.fk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2636
2652
  };
2637
2653
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2638
2654
  return function () {
2639
- 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 |');
2640
2656
  };
2641
2657
  }
2642
2658
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2643
2659
  return function (it) {
2644
- return this$0.yi(it);
2660
+ return this$0.zi(it);
2645
2661
  };
2646
2662
  }
2647
2663
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2648
2664
  return function () {
2649
- 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);
2650
2666
  };
2651
2667
  }
2652
2668
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2653
2669
  return function () {
2654
- Companion_getInstance_1();
2655
- return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1) + ',';
2670
+ Companion_getInstance_2();
2671
+ return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1) + ',';
2656
2672
  };
2657
2673
  }
2658
2674
  function WirespecEmitter$emit$lambda_2($this_emit) {
2659
2675
  return function () {
2660
- return $this_emit.ej_1;
2676
+ return $this_emit.fj_1;
2661
2677
  };
2662
2678
  }
2663
2679
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2670,10 +2686,10 @@
2670
2686
  tmp = 'Any';
2671
2687
  } else {
2672
2688
  if (tmp0_subject instanceof Custom) {
2673
- tmp = $this_emit.ij_1;
2689
+ tmp = $this_emit.jj_1;
2674
2690
  } else {
2675
2691
  if (tmp0_subject instanceof Primitive) {
2676
- var tmp1_subject = $this_emit.fj_1;
2692
+ var tmp1_subject = $this_emit.gj_1;
2677
2693
  var tmp0 = tmp1_subject.q4_1;
2678
2694
  var tmp_0;
2679
2695
  switch (tmp0) {
@@ -2700,25 +2716,25 @@
2700
2716
  // Inline function 'kotlin.contracts.contract' call
2701
2717
  var tmp$ret$0;
2702
2718
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
2703
- tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2719
+ tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2704
2720
  tmp$ret$1 = tmp$ret$0;
2705
2721
  return tmp$ret$1;
2706
2722
  };
2707
2723
  }
2708
2724
  function WirespecEmitter$emit$lambda_4($this_emit) {
2709
2725
  return function () {
2710
- Companion_getInstance_1();
2711
- return 'enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, ', ') + '\n}\n';
2726
+ Companion_getInstance_2();
2727
+ return 'enum ' + $this_emit.mj_1 + ' {\n' + ' ' + joinToString($this_emit.nj_1, ', ') + '\n}\n';
2712
2728
  };
2713
2729
  }
2714
2730
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2715
2731
  return function () {
2716
- 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';
2717
2733
  };
2718
2734
  }
2719
2735
  function WirespecEmitter$emit$lambda_6($this_emit) {
2720
2736
  return function () {
2721
- return '/' + dropLast(drop($this_emit.qj_1, 1), 1) + '/g';
2737
+ return '/' + dropLast(drop($this_emit.rj_1, 1), 1) + '/g';
2722
2738
  };
2723
2739
  }
2724
2740
  function WirespecEmitter$emit$lambda_7() {
@@ -2728,42 +2744,42 @@
2728
2744
  logger = logger === VOID ? get_noLogger() : logger;
2729
2745
  Emitter.call(this, logger);
2730
2746
  }
2731
- protoOf(WirespecEmitter).tj = function (_this__u8e3s4) {
2732
- return this.uj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2733
- };
2734
- protoOf(WirespecEmitter).xi = function (_this__u8e3s4) {
2735
- 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));
2736
2749
  };
2737
2750
  protoOf(WirespecEmitter).yi = function (_this__u8e3s4) {
2738
- 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));
2739
2752
  };
2740
- protoOf(WirespecEmitter).dj = function (_this__u8e3s4) {
2741
- 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));
2742
2755
  };
2743
- protoOf(WirespecEmitter).ei = function (_this__u8e3s4) {
2744
- 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));
2745
2758
  };
2746
- protoOf(WirespecEmitter).yj = function (_this__u8e3s4) {
2747
- 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));
2748
2761
  };
2749
- protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2750
- 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));
2751
2764
  };
2752
- protoOf(WirespecEmitter).pj = function (_this__u8e3s4) {
2753
- 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));
2754
2767
  };
2755
- protoOf(WirespecEmitter).dk = function (_this__u8e3s4) {
2756
- 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);
2757
2773
  };
2758
2774
  function get_DEFAULT_PACKAGE_NAME() {
2759
2775
  return DEFAULT_PACKAGE_NAME;
2760
2776
  }
2761
2777
  var DEFAULT_PACKAGE_NAME;
2762
- function Companion_0() {
2763
- Companion_instance_0 = this;
2764
- this.pi_1 = ' ';
2778
+ function Companion_1() {
2779
+ Companion_instance_1 = this;
2780
+ this.qi_1 = ' ';
2765
2781
  }
2766
- protoOf(Companion_0).qi = function (_this__u8e3s4) {
2782
+ protoOf(Companion_1).ri = function (_this__u8e3s4) {
2767
2783
  var tmp$ret$6;
2768
2784
  // Inline function 'kotlin.text.replaceFirstChar' call
2769
2785
  var tmp;
@@ -2797,7 +2813,7 @@
2797
2813
  tmp$ret$6 = tmp;
2798
2814
  return tmp$ret$6;
2799
2815
  };
2800
- protoOf(Companion_0).rj = function (_this__u8e3s4) {
2816
+ protoOf(Companion_1).sj = function (_this__u8e3s4) {
2801
2817
  var tmp$ret$6;
2802
2818
  // Inline function 'kotlin.text.replaceFirstChar' call
2803
2819
  var tmp;
@@ -2831,7 +2847,7 @@
2831
2847
  tmp$ret$6 = tmp;
2832
2848
  return tmp$ret$6;
2833
2849
  };
2834
- protoOf(Companion_0).lk = function (_this__u8e3s4) {
2850
+ protoOf(Companion_1).ok = function (_this__u8e3s4) {
2835
2851
  var tmp$ret$0;
2836
2852
  $l$block_0: {
2837
2853
  // Inline function 'kotlin.collections.any' call
@@ -2860,12 +2876,12 @@
2860
2876
  }
2861
2877
  return tmp$ret$0;
2862
2878
  };
2863
- protoOf(Companion_0).tk = function (_this__u8e3s4, content) {
2879
+ protoOf(Companion_1).wk = function (_this__u8e3s4, content) {
2864
2880
  var tmp$ret$4;
2865
2881
  // Inline function 'kotlin.collections.map' call
2866
2882
  var tmp$ret$1;
2867
2883
  // Inline function 'kotlin.collections.filterIsInstance' call
2868
- var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
2884
+ var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
2869
2885
  var tmp$ret$0;
2870
2886
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2871
2887
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2887,36 +2903,36 @@
2887
2903
  var item = tmp0_iterator_0.e();
2888
2904
  var tmp$ret$2;
2889
2905
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2890
- 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);
2891
2907
  tmp2_mapTo.a(tmp$ret$2);
2892
2908
  }
2893
2909
  tmp$ret$3 = tmp2_mapTo;
2894
2910
  tmp$ret$4 = tmp$ret$3;
2895
2911
  var pathField = tmp$ret$4;
2896
- 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);
2897
2913
  var tmp0_safe_receiver = content;
2898
- 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;
2899
2915
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2900
2916
  };
2901
- protoOf(Companion_0).fk = function (_this__u8e3s4) {
2917
+ protoOf(Companion_1).gk = function (_this__u8e3s4) {
2902
2918
  return !(toIntOrNull(_this__u8e3s4) == null);
2903
2919
  };
2904
- var Companion_instance_0;
2905
- function Companion_getInstance_1() {
2906
- if (Companion_instance_0 == null)
2907
- new Companion_0();
2908
- return Companion_instance_0;
2920
+ var Companion_instance_1;
2921
+ function Companion_getInstance_2() {
2922
+ if (Companion_instance_1 == null)
2923
+ new Companion_1();
2924
+ return Companion_instance_1;
2909
2925
  }
2910
2926
  function Emitter$emit$lambda(it) {
2911
2927
  return it.h3_1;
2912
2928
  }
2913
2929
  function Emitter(logger, split) {
2914
- Companion_getInstance_1();
2930
+ Companion_getInstance_2();
2915
2931
  split = split === VOID ? false : split;
2916
- this.qh_1 = logger;
2917
- this.rh_1 = split;
2932
+ this.rh_1 = logger;
2933
+ this.sh_1 = split;
2918
2934
  }
2919
- protoOf(Emitter).sh = function (ast) {
2935
+ protoOf(Emitter).th = function (ast) {
2920
2936
  var tmp$ret$4;
2921
2937
  // Inline function 'kotlin.run' call
2922
2938
  var tmp$ret$2;
@@ -2929,20 +2945,20 @@
2929
2945
  var item = tmp0_iterator.e();
2930
2946
  var tmp$ret$0;
2931
2947
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2932
- this.qh_1.kh('Emitting Node ' + this);
2948
+ this.rh_1.lh('Emitting Node ' + this);
2933
2949
  var tmp0_subject = item;
2934
2950
  var tmp;
2935
2951
  if (tmp0_subject instanceof Type_0) {
2936
- tmp = to(item.vi_1, this.tj(item));
2952
+ tmp = to(item.wi_1, this.uj(item));
2937
2953
  } else {
2938
2954
  if (tmp0_subject instanceof Endpoint) {
2939
- tmp = to(item.fi_1, this.dk(item));
2955
+ tmp = to(item.gi_1, this.ek(item));
2940
2956
  } else {
2941
2957
  if (tmp0_subject instanceof Enum_0) {
2942
- tmp = to(item.lj_1, this.yj(item));
2958
+ tmp = to(item.mj_1, this.zj(item));
2943
2959
  } else {
2944
2960
  if (tmp0_subject instanceof Refined) {
2945
- tmp = to(item.nj_1, this.ak(item));
2961
+ tmp = to(item.oj_1, this.bk(item));
2946
2962
  } else {
2947
2963
  noWhenBranchMatchedException();
2948
2964
  }
@@ -2959,7 +2975,7 @@
2959
2975
  var tmp$ret$3;
2960
2976
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2961
2977
  var tmp_0;
2962
- if (this.rh_1) {
2978
+ if (this.sh_1) {
2963
2979
  tmp_0 = tmp1_run;
2964
2980
  } else {
2965
2981
  tmp_0 = listOf_0(to('NoName', joinToString(tmp1_run, '\n', VOID, VOID, VOID, VOID, Emitter$emit$lambda)));
@@ -2976,16 +2992,12 @@
2976
2992
  }
2977
2993
  function TypeDefinitionEmitterLogger() {
2978
2994
  }
2979
- function StartingException() {
2980
- NullTokenException.call(this, 'Starting Token', new Coordinates());
2981
- captureStack(this, StartingException);
2982
- }
2983
2995
  function NextException(coordinates) {
2984
2996
  NullTokenException.call(this, 'Next Token', coordinates);
2985
2997
  captureStack(this, NextException);
2986
2998
  }
2987
2999
  function WrongTokenException(expected, actual) {
2988
- ParserException.call(this, actual.zk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.xk_1).fc() + ' at line ' + actual.zk_1.al_1 + ' and position ' + (actual.zk_1.bl_1 - actual.yk_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));
2989
3001
  captureStack(this, WrongTokenException);
2990
3002
  }
2991
3003
  function NullTokenException(message, coordinates) {
@@ -3003,32 +3015,48 @@
3003
3015
  function WirespecException(message, coordinates) {
3004
3016
  RuntimeException_init_$Init$(message, this);
3005
3017
  captureStack(this, WirespecException);
3006
- this.dl_1 = coordinates;
3018
+ this.gl_1 = coordinates;
3007
3019
  }
3008
3020
  function optimize(_this__u8e3s4) {
3009
- 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;
3010
3036
  // Inline function 'kotlin.collections.map' call
3011
- var tmp$ret$1;
3037
+ var tmp1_map = _this__u8e3s4.vg_1;
3038
+ var tmp$ret$2;
3012
3039
  // Inline function 'kotlin.collections.mapTo' call
3013
- var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
3014
- 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();
3015
3042
  while (tmp0_iterator.d()) {
3016
3043
  var item = tmp0_iterator.e();
3017
- var tmp$ret$0;
3044
+ var tmp$ret$1;
3018
3045
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3019
- var tmp0_subject = item.xk_1;
3020
- var tmp;
3021
- if (tmp0_subject instanceof CustomRegex) {
3022
- tmp = item.el(VOID, '"' + dropLast(drop(item.yk_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) + '"');
3023
3050
  } else {
3024
- tmp = item;
3051
+ tmp_1 = item;
3025
3052
  }
3026
- tmp$ret$0 = tmp;
3027
- tmp0_mapTo.a(tmp$ret$0);
3053
+ tmp$ret$1 = tmp_1;
3054
+ tmp0_mapTo.a(tmp$ret$1);
3028
3055
  }
3029
- tmp$ret$1 = tmp0_mapTo;
3030
- tmp$ret$2 = tmp$ret$1;
3031
- 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;
3032
3060
  }
3033
3061
  var Type_String_instance;
3034
3062
  var Type_Integer_instance;
@@ -3059,29 +3087,29 @@
3059
3087
  }
3060
3088
  function Any(isIterable, isMap) {
3061
3089
  isMap = isMap === VOID ? false : isMap;
3062
- this.fl_1 = isIterable;
3063
- this.gl_1 = isMap;
3090
+ this.il_1 = isIterable;
3091
+ this.jl_1 = isMap;
3064
3092
  }
3065
- protoOf(Any).ri = function () {
3066
- return this.fl_1;
3093
+ protoOf(Any).si = function () {
3094
+ return this.il_1;
3067
3095
  };
3068
- protoOf(Any).kk = function () {
3069
- return this.gl_1;
3096
+ protoOf(Any).nk = function () {
3097
+ return this.jl_1;
3070
3098
  };
3071
- protoOf(Any).hl = function (isIterable, isMap) {
3099
+ protoOf(Any).kl = function (isIterable, isMap) {
3072
3100
  return new Any(isIterable, isMap);
3073
3101
  };
3074
- protoOf(Any).il = function (isIterable, isMap, $super) {
3075
- isIterable = isIterable === VOID ? this.fl_1 : isIterable;
3076
- isMap = isMap === VOID ? this.gl_1 : isMap;
3077
- return $super === VOID ? this.hl(isIterable, isMap) : $super.hl.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);
3078
3106
  };
3079
3107
  protoOf(Any).toString = function () {
3080
- return 'Any(isIterable=' + this.fl_1 + ', isMap=' + this.gl_1 + ')';
3108
+ return 'Any(isIterable=' + this.il_1 + ', isMap=' + this.jl_1 + ')';
3081
3109
  };
3082
3110
  protoOf(Any).hashCode = function () {
3083
- var result = this.fl_1 | 0;
3084
- result = imul(result, 31) + (this.gl_1 | 0) | 0;
3111
+ var result = this.il_1 | 0;
3112
+ result = imul(result, 31) + (this.jl_1 | 0) | 0;
3085
3113
  return result;
3086
3114
  };
3087
3115
  protoOf(Any).equals = function (other) {
@@ -3090,40 +3118,40 @@
3090
3118
  if (!(other instanceof Any))
3091
3119
  return false;
3092
3120
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3093
- if (!(this.fl_1 === tmp0_other_with_cast.fl_1))
3121
+ if (!(this.il_1 === tmp0_other_with_cast.il_1))
3094
3122
  return false;
3095
- if (!(this.gl_1 === tmp0_other_with_cast.gl_1))
3123
+ if (!(this.jl_1 === tmp0_other_with_cast.jl_1))
3096
3124
  return false;
3097
3125
  return true;
3098
3126
  };
3099
3127
  function Custom(value, isIterable, isMap) {
3100
3128
  isMap = isMap === VOID ? false : isMap;
3101
- this.ij_1 = value;
3102
- this.jj_1 = isIterable;
3103
- this.kj_1 = isMap;
3129
+ this.jj_1 = value;
3130
+ this.kj_1 = isIterable;
3131
+ this.lj_1 = isMap;
3104
3132
  }
3105
- protoOf(Custom).ri = function () {
3106
- return this.jj_1;
3107
- };
3108
- protoOf(Custom).kk = function () {
3133
+ protoOf(Custom).si = function () {
3109
3134
  return this.kj_1;
3110
3135
  };
3111
- protoOf(Custom).jl = function (value, isIterable, isMap) {
3136
+ protoOf(Custom).nk = function () {
3137
+ return this.lj_1;
3138
+ };
3139
+ protoOf(Custom).ml = function (value, isIterable, isMap) {
3112
3140
  return new Custom(value, isIterable, isMap);
3113
3141
  };
3114
- protoOf(Custom).kl = function (value, isIterable, isMap, $super) {
3115
- value = value === VOID ? this.ij_1 : value;
3116
- isIterable = isIterable === VOID ? this.jj_1 : isIterable;
3117
- isMap = isMap === VOID ? this.kj_1 : isMap;
3118
- return $super === VOID ? this.jl(value, isIterable, isMap) : $super.jl.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);
3119
3147
  };
3120
3148
  protoOf(Custom).toString = function () {
3121
- 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 + ')';
3122
3150
  };
3123
3151
  protoOf(Custom).hashCode = function () {
3124
- var result = getStringHashCode(this.ij_1);
3125
- result = imul(result, 31) + (this.jj_1 | 0) | 0;
3152
+ var result = getStringHashCode(this.jj_1);
3126
3153
  result = imul(result, 31) + (this.kj_1 | 0) | 0;
3154
+ result = imul(result, 31) + (this.lj_1 | 0) | 0;
3127
3155
  return result;
3128
3156
  };
3129
3157
  protoOf(Custom).equals = function (other) {
@@ -3132,42 +3160,42 @@
3132
3160
  if (!(other instanceof Custom))
3133
3161
  return false;
3134
3162
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
3135
- if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3136
- return false;
3137
3163
  if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3138
3164
  return false;
3139
3165
  if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3140
3166
  return false;
3167
+ if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3168
+ return false;
3141
3169
  return true;
3142
3170
  };
3143
3171
  function Primitive(type, isIterable, isMap) {
3144
3172
  isMap = isMap === VOID ? false : isMap;
3145
- this.fj_1 = type;
3146
- this.gj_1 = isIterable;
3147
- this.hj_1 = isMap;
3173
+ this.gj_1 = type;
3174
+ this.hj_1 = isIterable;
3175
+ this.ij_1 = isMap;
3148
3176
  }
3149
- protoOf(Primitive).ri = function () {
3150
- return this.gj_1;
3151
- };
3152
- protoOf(Primitive).kk = function () {
3177
+ protoOf(Primitive).si = function () {
3153
3178
  return this.hj_1;
3154
3179
  };
3155
- protoOf(Primitive).ll = function (type, isIterable, isMap) {
3180
+ protoOf(Primitive).nk = function () {
3181
+ return this.ij_1;
3182
+ };
3183
+ protoOf(Primitive).ol = function (type, isIterable, isMap) {
3156
3184
  return new Primitive(type, isIterable, isMap);
3157
3185
  };
3158
- protoOf(Primitive).ml = function (type, isIterable, isMap, $super) {
3159
- type = type === VOID ? this.fj_1 : type;
3160
- isIterable = isIterable === VOID ? this.gj_1 : isIterable;
3161
- isMap = isMap === VOID ? this.hj_1 : isMap;
3162
- return $super === VOID ? this.ll(type, isIterable, isMap) : $super.ll.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);
3163
3191
  };
3164
3192
  protoOf(Primitive).toString = function () {
3165
- 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 + ')';
3166
3194
  };
3167
3195
  protoOf(Primitive).hashCode = function () {
3168
- var result = this.fj_1.hashCode();
3169
- result = imul(result, 31) + (this.gj_1 | 0) | 0;
3196
+ var result = this.gj_1.hashCode();
3170
3197
  result = imul(result, 31) + (this.hj_1 | 0) | 0;
3198
+ result = imul(result, 31) + (this.ij_1 | 0) | 0;
3171
3199
  return result;
3172
3200
  };
3173
3201
  protoOf(Primitive).equals = function (other) {
@@ -3176,22 +3204,22 @@
3176
3204
  if (!(other instanceof Primitive))
3177
3205
  return false;
3178
3206
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
3179
- if (!this.fj_1.equals(tmp0_other_with_cast.fj_1))
3180
- return false;
3181
- if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
3207
+ if (!this.gj_1.equals(tmp0_other_with_cast.gj_1))
3182
3208
  return false;
3183
3209
  if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3184
3210
  return false;
3211
+ if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3212
+ return false;
3185
3213
  return true;
3186
3214
  };
3187
3215
  function Identifier(value) {
3188
- this.ej_1 = value;
3216
+ this.fj_1 = value;
3189
3217
  }
3190
3218
  protoOf(Identifier).toString = function () {
3191
- return 'Identifier(value=' + this.ej_1 + ')';
3219
+ return 'Identifier(value=' + this.fj_1 + ')';
3192
3220
  };
3193
3221
  protoOf(Identifier).hashCode = function () {
3194
- return getStringHashCode(this.ej_1);
3222
+ return getStringHashCode(this.fj_1);
3195
3223
  };
3196
3224
  protoOf(Identifier).equals = function (other) {
3197
3225
  if (this === other)
@@ -3199,22 +3227,22 @@
3199
3227
  if (!(other instanceof Identifier))
3200
3228
  return false;
3201
3229
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
3202
- if (!(this.ej_1 === tmp0_other_with_cast.ej_1))
3230
+ if (!(this.fj_1 === tmp0_other_with_cast.fj_1))
3203
3231
  return false;
3204
3232
  return true;
3205
3233
  };
3206
3234
  function Field(identifier, reference, isNullable) {
3207
- this.aj_1 = identifier;
3208
- this.bj_1 = reference;
3209
- this.cj_1 = isNullable;
3235
+ this.bj_1 = identifier;
3236
+ this.cj_1 = reference;
3237
+ this.dj_1 = isNullable;
3210
3238
  }
3211
3239
  protoOf(Field).toString = function () {
3212
- 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 + ')';
3213
3241
  };
3214
3242
  protoOf(Field).hashCode = function () {
3215
- var result = this.aj_1.hashCode();
3216
- result = imul(result, 31) + hashCode(this.bj_1) | 0;
3217
- 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;
3218
3246
  return result;
3219
3247
  };
3220
3248
  protoOf(Field).equals = function (other) {
@@ -3223,22 +3251,22 @@
3223
3251
  if (!(other instanceof Field))
3224
3252
  return false;
3225
3253
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
3226
- if (!this.aj_1.equals(tmp0_other_with_cast.aj_1))
3254
+ if (!this.bj_1.equals(tmp0_other_with_cast.bj_1))
3227
3255
  return false;
3228
- if (!equals(this.bj_1, tmp0_other_with_cast.bj_1))
3256
+ if (!equals(this.cj_1, tmp0_other_with_cast.cj_1))
3229
3257
  return false;
3230
- if (!(this.cj_1 === tmp0_other_with_cast.cj_1))
3258
+ if (!(this.dj_1 === tmp0_other_with_cast.dj_1))
3231
3259
  return false;
3232
3260
  return true;
3233
3261
  };
3234
3262
  function Shape(value) {
3235
- this.zi_1 = value;
3263
+ this.aj_1 = value;
3236
3264
  }
3237
3265
  protoOf(Shape).toString = function () {
3238
- return 'Shape(value=' + this.zi_1 + ')';
3266
+ return 'Shape(value=' + this.aj_1 + ')';
3239
3267
  };
3240
3268
  protoOf(Shape).hashCode = function () {
3241
- return hashCode(this.zi_1);
3269
+ return hashCode(this.aj_1);
3242
3270
  };
3243
3271
  protoOf(Shape).equals = function (other) {
3244
3272
  if (this === other)
@@ -3246,20 +3274,20 @@
3246
3274
  if (!(other instanceof Shape))
3247
3275
  return false;
3248
3276
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
3249
- if (!equals(this.zi_1, tmp0_other_with_cast.zi_1))
3277
+ if (!equals(this.aj_1, tmp0_other_with_cast.aj_1))
3250
3278
  return false;
3251
3279
  return true;
3252
3280
  };
3253
3281
  function Type_0(name, shape) {
3254
- this.vi_1 = name;
3255
- this.wi_1 = shape;
3282
+ this.wi_1 = name;
3283
+ this.xi_1 = shape;
3256
3284
  }
3257
3285
  protoOf(Type_0).toString = function () {
3258
- return 'Type(name=' + this.vi_1 + ', shape=' + this.wi_1 + ')';
3286
+ return 'Type(name=' + this.wi_1 + ', shape=' + this.xi_1 + ')';
3259
3287
  };
3260
3288
  protoOf(Type_0).hashCode = function () {
3261
- var result = getStringHashCode(this.vi_1);
3262
- 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;
3263
3291
  return result;
3264
3292
  };
3265
3293
  protoOf(Type_0).equals = function (other) {
@@ -3268,9 +3296,9 @@
3268
3296
  if (!(other instanceof Type_0))
3269
3297
  return false;
3270
3298
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
3271
- if (!(this.vi_1 === tmp0_other_with_cast.vi_1))
3299
+ if (!(this.wi_1 === tmp0_other_with_cast.wi_1))
3272
3300
  return false;
3273
- if (!this.wi_1.equals(tmp0_other_with_cast.wi_1))
3301
+ if (!this.xi_1.equals(tmp0_other_with_cast.xi_1))
3274
3302
  return false;
3275
3303
  return true;
3276
3304
  };
@@ -3300,13 +3328,13 @@
3300
3328
  Method_TRACE_instance = new Method('TRACE', 7);
3301
3329
  }
3302
3330
  function Literal(value) {
3303
- this.sj_1 = value;
3331
+ this.tj_1 = value;
3304
3332
  }
3305
3333
  protoOf(Literal).toString = function () {
3306
- return 'Literal(value=' + this.sj_1 + ')';
3334
+ return 'Literal(value=' + this.tj_1 + ')';
3307
3335
  };
3308
3336
  protoOf(Literal).hashCode = function () {
3309
- return getStringHashCode(this.sj_1);
3337
+ return getStringHashCode(this.tj_1);
3310
3338
  };
3311
3339
  protoOf(Literal).equals = function (other) {
3312
3340
  if (this === other)
@@ -3314,20 +3342,20 @@
3314
3342
  if (!(other instanceof Literal))
3315
3343
  return false;
3316
3344
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
3317
- if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
3345
+ if (!(this.tj_1 === tmp0_other_with_cast.tj_1))
3318
3346
  return false;
3319
3347
  return true;
3320
3348
  };
3321
3349
  function Param(identifier, reference) {
3322
- this.ti_1 = identifier;
3323
- this.ui_1 = reference;
3350
+ this.ui_1 = identifier;
3351
+ this.vi_1 = reference;
3324
3352
  }
3325
3353
  protoOf(Param).toString = function () {
3326
- return 'Param(identifier=' + this.ti_1 + ', reference=' + this.ui_1 + ')';
3354
+ return 'Param(identifier=' + this.ui_1 + ', reference=' + this.vi_1 + ')';
3327
3355
  };
3328
3356
  protoOf(Param).hashCode = function () {
3329
- var result = this.ti_1.hashCode();
3330
- 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;
3331
3359
  return result;
3332
3360
  };
3333
3361
  protoOf(Param).equals = function (other) {
@@ -3336,9 +3364,9 @@
3336
3364
  if (!(other instanceof Param))
3337
3365
  return false;
3338
3366
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
3339
- if (!this.ti_1.equals(tmp0_other_with_cast.ti_1))
3367
+ if (!this.ui_1.equals(tmp0_other_with_cast.ui_1))
3340
3368
  return false;
3341
- if (!equals(this.ui_1, tmp0_other_with_cast.ui_1))
3369
+ if (!equals(this.vi_1, tmp0_other_with_cast.vi_1))
3342
3370
  return false;
3343
3371
  return true;
3344
3372
  };
@@ -3346,13 +3374,13 @@
3346
3374
  Enum.call(this, name, ordinal);
3347
3375
  }
3348
3376
  function Request(content) {
3349
- this.wh_1 = content;
3377
+ this.xh_1 = content;
3350
3378
  }
3351
3379
  protoOf(Request).toString = function () {
3352
- return 'Request(content=' + this.wh_1 + ')';
3380
+ return 'Request(content=' + this.xh_1 + ')';
3353
3381
  };
3354
3382
  protoOf(Request).hashCode = function () {
3355
- return this.wh_1 == null ? 0 : this.wh_1.hashCode();
3383
+ return this.xh_1 == null ? 0 : this.xh_1.hashCode();
3356
3384
  };
3357
3385
  protoOf(Request).equals = function (other) {
3358
3386
  if (this === other)
@@ -3360,20 +3388,20 @@
3360
3388
  if (!(other instanceof Request))
3361
3389
  return false;
3362
3390
  var tmp0_other_with_cast = other instanceof Request ? other : THROW_CCE();
3363
- if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3391
+ if (!equals(this.xh_1, tmp0_other_with_cast.xh_1))
3364
3392
  return false;
3365
3393
  return true;
3366
3394
  };
3367
3395
  function Response(status, content) {
3368
- this.ni_1 = status;
3369
- this.oi_1 = content;
3396
+ this.oi_1 = status;
3397
+ this.pi_1 = content;
3370
3398
  }
3371
3399
  protoOf(Response).toString = function () {
3372
- return 'Response(status=' + this.ni_1 + ', content=' + this.oi_1 + ')';
3400
+ return 'Response(status=' + this.oi_1 + ', content=' + this.pi_1 + ')';
3373
3401
  };
3374
3402
  protoOf(Response).hashCode = function () {
3375
- var result = getStringHashCode(this.ni_1);
3376
- 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;
3377
3405
  return result;
3378
3406
  };
3379
3407
  protoOf(Response).equals = function (other) {
@@ -3382,24 +3410,24 @@
3382
3410
  if (!(other instanceof Response))
3383
3411
  return false;
3384
3412
  var tmp0_other_with_cast = other instanceof Response ? other : THROW_CCE();
3385
- if (!(this.ni_1 === tmp0_other_with_cast.ni_1))
3413
+ if (!(this.oi_1 === tmp0_other_with_cast.oi_1))
3386
3414
  return false;
3387
- if (!equals(this.oi_1, tmp0_other_with_cast.oi_1))
3415
+ if (!equals(this.pi_1, tmp0_other_with_cast.pi_1))
3388
3416
  return false;
3389
3417
  return true;
3390
3418
  };
3391
3419
  function Content(type, reference, isNullable) {
3392
- this.xh_1 = type;
3393
- this.yh_1 = reference;
3394
- this.zh_1 = isNullable;
3420
+ this.yh_1 = type;
3421
+ this.zh_1 = reference;
3422
+ this.ai_1 = isNullable;
3395
3423
  }
3396
3424
  protoOf(Content).toString = function () {
3397
- 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 + ')';
3398
3426
  };
3399
3427
  protoOf(Content).hashCode = function () {
3400
- var result = getStringHashCode(this.xh_1);
3401
- result = imul(result, 31) + hashCode(this.yh_1) | 0;
3402
- 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;
3403
3431
  return result;
3404
3432
  };
3405
3433
  protoOf(Content).equals = function (other) {
@@ -3408,11 +3436,11 @@
3408
3436
  if (!(other instanceof Content))
3409
3437
  return false;
3410
3438
  var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
3411
- if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3439
+ if (!(this.yh_1 === tmp0_other_with_cast.yh_1))
3412
3440
  return false;
3413
- if (!equals(this.yh_1, tmp0_other_with_cast.yh_1))
3441
+ if (!equals(this.zh_1, tmp0_other_with_cast.zh_1))
3414
3442
  return false;
3415
- if (!(this.zh_1 === tmp0_other_with_cast.zh_1))
3443
+ if (!(this.ai_1 === tmp0_other_with_cast.ai_1))
3416
3444
  return false;
3417
3445
  return true;
3418
3446
  };
@@ -3449,27 +3477,27 @@
3449
3477
  return Method_TRACE_instance;
3450
3478
  }
3451
3479
  function Endpoint(name, method, path, query, headers, cookies, requests, responses) {
3452
- this.fi_1 = name;
3453
- this.gi_1 = method;
3454
- this.hi_1 = path;
3455
- this.ii_1 = query;
3456
- this.ji_1 = headers;
3457
- this.ki_1 = cookies;
3458
- this.li_1 = requests;
3459
- 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;
3460
3488
  }
3461
3489
  protoOf(Endpoint).toString = function () {
3462
- 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 + ')';
3463
3491
  };
3464
3492
  protoOf(Endpoint).hashCode = function () {
3465
- var result = getStringHashCode(this.fi_1);
3466
- result = imul(result, 31) + this.gi_1.hashCode() | 0;
3467
- 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;
3468
3495
  result = imul(result, 31) + hashCode(this.ii_1) | 0;
3469
3496
  result = imul(result, 31) + hashCode(this.ji_1) | 0;
3470
3497
  result = imul(result, 31) + hashCode(this.ki_1) | 0;
3471
3498
  result = imul(result, 31) + hashCode(this.li_1) | 0;
3472
3499
  result = imul(result, 31) + hashCode(this.mi_1) | 0;
3500
+ result = imul(result, 31) + hashCode(this.ni_1) | 0;
3473
3501
  return result;
3474
3502
  };
3475
3503
  protoOf(Endpoint).equals = function (other) {
@@ -3478,11 +3506,9 @@
3478
3506
  if (!(other instanceof Endpoint))
3479
3507
  return false;
3480
3508
  var tmp0_other_with_cast = other instanceof Endpoint ? other : THROW_CCE();
3481
- if (!(this.fi_1 === tmp0_other_with_cast.fi_1))
3482
- return false;
3483
- if (!this.gi_1.equals(tmp0_other_with_cast.gi_1))
3509
+ if (!(this.gi_1 === tmp0_other_with_cast.gi_1))
3484
3510
  return false;
3485
- if (!equals(this.hi_1, tmp0_other_with_cast.hi_1))
3511
+ if (!this.hi_1.equals(tmp0_other_with_cast.hi_1))
3486
3512
  return false;
3487
3513
  if (!equals(this.ii_1, tmp0_other_with_cast.ii_1))
3488
3514
  return false;
@@ -3494,18 +3520,20 @@
3494
3520
  return false;
3495
3521
  if (!equals(this.mi_1, tmp0_other_with_cast.mi_1))
3496
3522
  return false;
3523
+ if (!equals(this.ni_1, tmp0_other_with_cast.ni_1))
3524
+ return false;
3497
3525
  return true;
3498
3526
  };
3499
3527
  function Enum_0(name, entries) {
3500
- this.lj_1 = name;
3501
- this.mj_1 = entries;
3528
+ this.mj_1 = name;
3529
+ this.nj_1 = entries;
3502
3530
  }
3503
3531
  protoOf(Enum_0).toString = function () {
3504
- return 'Enum(name=' + this.lj_1 + ', entries=' + this.mj_1 + ')';
3532
+ return 'Enum(name=' + this.mj_1 + ', entries=' + this.nj_1 + ')';
3505
3533
  };
3506
3534
  protoOf(Enum_0).hashCode = function () {
3507
- var result = getStringHashCode(this.lj_1);
3508
- 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;
3509
3537
  return result;
3510
3538
  };
3511
3539
  protoOf(Enum_0).equals = function (other) {
@@ -3514,20 +3542,20 @@
3514
3542
  if (!(other instanceof Enum_0))
3515
3543
  return false;
3516
3544
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
3517
- if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3545
+ if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3518
3546
  return false;
3519
- if (!equals(this.mj_1, tmp0_other_with_cast.mj_1))
3547
+ if (!equals(this.nj_1, tmp0_other_with_cast.nj_1))
3520
3548
  return false;
3521
3549
  return true;
3522
3550
  };
3523
3551
  function Validator(value) {
3524
- this.qj_1 = value;
3552
+ this.rj_1 = value;
3525
3553
  }
3526
3554
  protoOf(Validator).toString = function () {
3527
- return 'Validator(value=' + this.qj_1 + ')';
3555
+ return 'Validator(value=' + this.rj_1 + ')';
3528
3556
  };
3529
3557
  protoOf(Validator).hashCode = function () {
3530
- return getStringHashCode(this.qj_1);
3558
+ return getStringHashCode(this.rj_1);
3531
3559
  };
3532
3560
  protoOf(Validator).equals = function (other) {
3533
3561
  if (this === other)
@@ -3535,20 +3563,20 @@
3535
3563
  if (!(other instanceof Validator))
3536
3564
  return false;
3537
3565
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
3538
- if (!(this.qj_1 === tmp0_other_with_cast.qj_1))
3566
+ if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
3539
3567
  return false;
3540
3568
  return true;
3541
3569
  };
3542
3570
  function Refined(name, validator) {
3543
- this.nj_1 = name;
3544
- this.oj_1 = validator;
3571
+ this.oj_1 = name;
3572
+ this.pj_1 = validator;
3545
3573
  }
3546
3574
  protoOf(Refined).toString = function () {
3547
- return 'Refined(name=' + this.nj_1 + ', validator=' + this.oj_1 + ')';
3575
+ return 'Refined(name=' + this.oj_1 + ', validator=' + this.pj_1 + ')';
3548
3576
  };
3549
3577
  protoOf(Refined).hashCode = function () {
3550
- var result = getStringHashCode(this.nj_1);
3551
- 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;
3552
3580
  return result;
3553
3581
  };
3554
3582
  protoOf(Refined).equals = function (other) {
@@ -3557,9 +3585,9 @@
3557
3585
  if (!(other instanceof Refined))
3558
3586
  return false;
3559
3587
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
3560
- if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
3588
+ if (!(this.oj_1 === tmp0_other_with_cast.oj_1))
3561
3589
  return false;
3562
- if (!this.oj_1.equals(tmp0_other_with_cast.oj_1))
3590
+ if (!this.pj_1.equals(tmp0_other_with_cast.pj_1))
3563
3591
  return false;
3564
3592
  return true;
3565
3593
  };
@@ -3602,7 +3630,7 @@
3602
3630
  var item = tmp0_iterator.e();
3603
3631
  var tmp$ret$2;
3604
3632
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>.<anonymous>' call
3605
- tmp$ret$2 = raise.eh(item);
3633
+ tmp$ret$2 = raise.fh(item);
3606
3634
  tmp1_mapTo.a(tmp$ret$2);
3607
3635
  }
3608
3636
  tmp$ret$3 = tmp1_mapTo;
@@ -3610,7 +3638,7 @@
3610
3638
  tmp$ret$5 = tmp$ret$4;
3611
3639
  tmp$ret$6 = tmp$ret$5;
3612
3640
  var res = tmp$ret$6;
3613
- raise.bh();
3641
+ raise.ch();
3614
3642
  var tmp$ret$7;
3615
3643
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3616
3644
  tmp$ret$7 = new Right(res);
@@ -3619,7 +3647,7 @@
3619
3647
  var tmp_0;
3620
3648
  if ($p instanceof CancellationException) {
3621
3649
  var e = $p;
3622
- raise.bh();
3650
+ raise.ch();
3623
3651
  var tmp$ret$8;
3624
3652
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3625
3653
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3628,7 +3656,7 @@
3628
3656
  } else {
3629
3657
  if ($p instanceof Error) {
3630
3658
  var e_0 = $p;
3631
- raise.bh();
3659
+ raise.ch();
3632
3660
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3633
3661
  throw tmp0__anonymous__q1qw7t;
3634
3662
  } else {
@@ -3658,37 +3686,37 @@
3658
3686
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3659
3687
  var tmp$ret$2;
3660
3688
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3661
- log(_this__u8e3s4.pl_1, $this);
3662
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3689
+ log(_this__u8e3s4.sl_1, $this);
3690
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3663
3691
  var tmp_0;
3664
3692
  if (tmp0_subject instanceof WsTypeDef) {
3665
- tmp_0 = raise.eh(parseTypeDeclaration(_this__u8e3s4, $this));
3693
+ tmp_0 = raise.fh(parseTypeDeclaration(_this__u8e3s4, $this));
3666
3694
  } else {
3667
3695
  if (tmp0_subject instanceof WsEnumTypeDef) {
3668
- tmp_0 = raise.eh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3696
+ tmp_0 = raise.fh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3669
3697
  } else {
3670
3698
  if (tmp0_subject instanceof WsRefinedTypeDef) {
3671
- tmp_0 = raise.eh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3699
+ tmp_0 = raise.fh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3672
3700
  } else {
3673
3701
  var tmp$ret$1;
3674
3702
  // Inline function 'arrow.core.nel' call
3675
3703
  var tmp$ret$0;
3676
3704
  // Inline function 'kotlin.also' call
3677
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.pl_1);
3705
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.sl_1);
3678
3706
  // Inline function 'kotlin.contracts.contract' call
3679
3707
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3680
- raise.eh(_this__u8e3s4.rl());
3708
+ raise.fh(_this__u8e3s4.ul());
3681
3709
  tmp$ret$0 = tmp0_also;
3682
3710
  var tmp1_nel = tmp$ret$0;
3683
3711
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3684
- raise.dh(tmp$ret$1);
3712
+ raise.eh(tmp$ret$1);
3685
3713
  }
3686
3714
  }
3687
3715
  }
3688
3716
  tmp$ret$2 = tmp_0;
3689
3717
  tmp$ret$3 = tmp$ret$2;
3690
3718
  var res = tmp$ret$3;
3691
- raise.bh();
3719
+ raise.ch();
3692
3720
  var tmp$ret$4;
3693
3721
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3694
3722
  tmp$ret$4 = new Right(res);
@@ -3697,7 +3725,7 @@
3697
3725
  var tmp_1;
3698
3726
  if ($p instanceof CancellationException) {
3699
3727
  var e = $p;
3700
- raise.bh();
3728
+ raise.ch();
3701
3729
  var tmp$ret$5;
3702
3730
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3703
3731
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3706,7 +3734,7 @@
3706
3734
  } else {
3707
3735
  if ($p instanceof Error) {
3708
3736
  var e_0 = $p;
3709
- raise.bh();
3737
+ raise.ch();
3710
3738
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3711
3739
  throw tmp0__anonymous__q1qw7t;
3712
3740
  } else {
@@ -3736,30 +3764,30 @@
3736
3764
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3737
3765
  var tmp$ret$2;
3738
3766
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3739
- raise.eh(_this__u8e3s4.rl());
3740
- log(_this__u8e3s4.pl_1, $this);
3741
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3767
+ raise.fh(_this__u8e3s4.ul());
3768
+ log(_this__u8e3s4.sl_1, $this);
3769
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3742
3770
  var tmp_0;
3743
3771
  if (tmp0_subject instanceof CustomType) {
3744
- tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
3772
+ tmp_0 = raise.fh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
3745
3773
  } else {
3746
3774
  var tmp$ret$1;
3747
3775
  // Inline function 'arrow.core.nel' call
3748
3776
  var tmp$ret$0;
3749
3777
  // Inline function 'kotlin.also' call
3750
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3778
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
3751
3779
  // Inline function 'kotlin.contracts.contract' call
3752
3780
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3753
- raise.eh(_this__u8e3s4.rl());
3781
+ raise.fh(_this__u8e3s4.ul());
3754
3782
  tmp$ret$0 = tmp0_also;
3755
3783
  var tmp1_nel = tmp$ret$0;
3756
3784
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3757
- raise.dh(tmp$ret$1);
3785
+ raise.eh(tmp$ret$1);
3758
3786
  }
3759
3787
  tmp$ret$2 = tmp_0;
3760
3788
  tmp$ret$3 = tmp$ret$2;
3761
3789
  var res = tmp$ret$3;
3762
- raise.bh();
3790
+ raise.ch();
3763
3791
  var tmp$ret$4;
3764
3792
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3765
3793
  tmp$ret$4 = new Right(res);
@@ -3768,7 +3796,7 @@
3768
3796
  var tmp_1;
3769
3797
  if ($p instanceof CancellationException) {
3770
3798
  var e = $p;
3771
- raise.bh();
3799
+ raise.ch();
3772
3800
  var tmp$ret$5;
3773
3801
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3774
3802
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3777,7 +3805,7 @@
3777
3805
  } else {
3778
3806
  if ($p instanceof Error) {
3779
3807
  var e_0 = $p;
3780
- raise.bh();
3808
+ raise.ch();
3781
3809
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3782
3810
  throw tmp0__anonymous__q1qw7t;
3783
3811
  } else {
@@ -3807,53 +3835,53 @@
3807
3835
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3808
3836
  var tmp$ret$5;
3809
3837
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3810
- raise.eh(_this__u8e3s4.rl());
3811
- log(_this__u8e3s4.pl_1, $this);
3838
+ raise.fh(_this__u8e3s4.ul());
3839
+ log(_this__u8e3s4.sl_1, $this);
3812
3840
  var tmp$ret$4;
3813
3841
  // Inline function 'kotlin.also' call
3814
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3842
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3815
3843
  var tmp_0;
3816
3844
  if (tmp0_subject instanceof LeftCurly) {
3817
- 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)));
3818
3846
  } else {
3819
3847
  var tmp$ret$1;
3820
3848
  // Inline function 'arrow.core.nel' call
3821
3849
  var tmp$ret$0;
3822
3850
  // Inline function 'kotlin.also' call
3823
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
3851
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
3824
3852
  // Inline function 'kotlin.contracts.contract' call
3825
3853
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3826
- raise.eh(_this__u8e3s4.rl());
3854
+ raise.fh(_this__u8e3s4.ul());
3827
3855
  tmp$ret$0 = tmp0_also;
3828
3856
  var tmp1_nel = tmp$ret$0;
3829
3857
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3830
- raise.dh(tmp$ret$1);
3858
+ raise.eh(tmp$ret$1);
3831
3859
  }
3832
3860
  var tmp2_also = tmp_0;
3833
3861
  // Inline function 'kotlin.contracts.contract' call
3834
3862
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3835
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3863
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
3836
3864
  if (tmp0_subject_0 instanceof RightCurly)
3837
- raise.eh(_this__u8e3s4.rl());
3865
+ raise.fh(_this__u8e3s4.ul());
3838
3866
  else {
3839
3867
  var tmp$ret$3;
3840
3868
  // Inline function 'arrow.core.nel' call
3841
3869
  var tmp$ret$2;
3842
3870
  // Inline function 'kotlin.also' call
3843
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
3871
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
3844
3872
  // Inline function 'kotlin.contracts.contract' call
3845
3873
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3846
- raise.eh(_this__u8e3s4.rl());
3874
+ raise.fh(_this__u8e3s4.ul());
3847
3875
  tmp$ret$2 = tmp0_also_0;
3848
3876
  var tmp1_nel_0 = tmp$ret$2;
3849
3877
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
3850
- raise.dh(tmp$ret$3);
3878
+ raise.eh(tmp$ret$3);
3851
3879
  }
3852
3880
  tmp$ret$4 = tmp2_also;
3853
3881
  tmp$ret$5 = tmp$ret$4;
3854
3882
  tmp$ret$6 = tmp$ret$5;
3855
3883
  var res = tmp$ret$6;
3856
- raise.bh();
3884
+ raise.ch();
3857
3885
  var tmp$ret$7;
3858
3886
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3859
3887
  tmp$ret$7 = new Right(res);
@@ -3862,7 +3890,7 @@
3862
3890
  var tmp_1;
3863
3891
  if ($p instanceof CancellationException) {
3864
3892
  var e = $p;
3865
- raise.bh();
3893
+ raise.ch();
3866
3894
  var tmp$ret$8;
3867
3895
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3868
3896
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3871,7 +3899,7 @@
3871
3899
  } else {
3872
3900
  if ($p instanceof Error) {
3873
3901
  var e_0 = $p;
3874
- raise.bh();
3902
+ raise.ch();
3875
3903
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3876
3904
  throw tmp0__anonymous__q1qw7t;
3877
3905
  } else {
@@ -3901,11 +3929,11 @@
3901
3929
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3902
3930
  var tmp$ret$7;
3903
3931
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3904
- raise.eh(_this__u8e3s4.rl());
3905
- log(_this__u8e3s4.pl_1, $this);
3932
+ raise.fh(_this__u8e3s4.ul());
3933
+ log(_this__u8e3s4.sl_1, $this);
3906
3934
  var tmp$ret$6;
3907
3935
  // Inline function 'kotlin.let' call
3908
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3936
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3909
3937
  var tmp_0;
3910
3938
  if (tmp0_subject instanceof CustomValue) {
3911
3939
  var tmp$ret$3;
@@ -3916,25 +3944,25 @@
3916
3944
  var tmp0_apply = tmp$ret$0;
3917
3945
  // Inline function 'kotlin.contracts.contract' call
3918
3946
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3919
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3920
- while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
3921
- raise.eh(_this__u8e3s4.rl());
3922
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_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;
3923
3951
  if (tmp0_subject_0 instanceof CustomValue) {
3924
- tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3952
+ tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.sl_1.bl_1))));
3925
3953
  } else {
3926
3954
  var tmp$ret$2;
3927
3955
  // Inline function 'arrow.core.nel' call
3928
3956
  var tmp$ret$1;
3929
3957
  // Inline function 'kotlin.also' call
3930
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3958
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
3931
3959
  // Inline function 'kotlin.contracts.contract' call
3932
3960
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3933
- raise.eh(_this__u8e3s4.rl());
3961
+ raise.fh(_this__u8e3s4.ul());
3934
3962
  tmp$ret$1 = tmp0_also;
3935
3963
  var tmp1_nel = tmp$ret$1;
3936
3964
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
3937
- raise.dh(tmp$ret$2);
3965
+ raise.eh(tmp$ret$2);
3938
3966
  }
3939
3967
  }
3940
3968
  tmp$ret$3 = tmp0_apply;
@@ -3944,14 +3972,14 @@
3944
3972
  // Inline function 'arrow.core.nel' call
3945
3973
  var tmp$ret$4;
3946
3974
  // Inline function 'kotlin.also' call
3947
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3975
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
3948
3976
  // Inline function 'kotlin.contracts.contract' call
3949
3977
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3950
- raise.eh(_this__u8e3s4.rl());
3978
+ raise.fh(_this__u8e3s4.ul());
3951
3979
  tmp$ret$4 = tmp1_also;
3952
3980
  var tmp2_nel = tmp$ret$4;
3953
3981
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
3954
- raise.dh(tmp$ret$5);
3982
+ raise.eh(tmp$ret$5);
3955
3983
  }
3956
3984
  var tmp3_let = tmp_0;
3957
3985
  // Inline function 'kotlin.contracts.contract' call
@@ -3959,7 +3987,7 @@
3959
3987
  tmp$ret$7 = tmp$ret$6;
3960
3988
  tmp$ret$8 = tmp$ret$7;
3961
3989
  var res = tmp$ret$8;
3962
- raise.bh();
3990
+ raise.ch();
3963
3991
  var tmp$ret$9;
3964
3992
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3965
3993
  tmp$ret$9 = new Right(res);
@@ -3968,7 +3996,7 @@
3968
3996
  var tmp_1;
3969
3997
  if ($p instanceof CancellationException) {
3970
3998
  var e = $p;
3971
- raise.bh();
3999
+ raise.ch();
3972
4000
  var tmp$ret$10;
3973
4001
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3974
4002
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3977,7 +4005,7 @@
3977
4005
  } else {
3978
4006
  if ($p instanceof Error) {
3979
4007
  var e_0 = $p;
3980
- raise.bh();
4008
+ raise.ch();
3981
4009
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3982
4010
  throw tmp0__anonymous__q1qw7t;
3983
4011
  } else {
@@ -4007,37 +4035,37 @@
4007
4035
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4008
4036
  var tmp$ret$5;
4009
4037
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
4010
- raise.eh(_this__u8e3s4.rl());
4011
- log(_this__u8e3s4.pl_1, $this);
4012
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4038
+ raise.fh(_this__u8e3s4.ul());
4039
+ log(_this__u8e3s4.sl_1, $this);
4040
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4013
4041
  if (tmp0_subject instanceof Colon)
4014
- raise.eh(_this__u8e3s4.rl());
4042
+ raise.fh(_this__u8e3s4.ul());
4015
4043
  else {
4016
4044
  var tmp$ret$1;
4017
4045
  // Inline function 'arrow.core.nel' call
4018
4046
  var tmp$ret$0;
4019
4047
  // Inline function 'kotlin.also' call
4020
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.pl_1);
4048
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.sl_1);
4021
4049
  // Inline function 'kotlin.contracts.contract' call
4022
4050
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4023
- raise.eh(_this__u8e3s4.rl());
4051
+ raise.fh(_this__u8e3s4.ul());
4024
4052
  tmp$ret$0 = tmp0_also;
4025
4053
  var tmp1_nel = tmp$ret$0;
4026
4054
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4027
- raise.dh(tmp$ret$1);
4055
+ raise.eh(tmp$ret$1);
4028
4056
  }
4029
- var type = _this__u8e3s4.pl_1.xk_1;
4057
+ var type = _this__u8e3s4.sl_1.al_1;
4030
4058
  var tmp_0;
4031
4059
  if (isInterface(type, WsType)) {
4032
- var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.pl_1.yk_1));
4060
+ var tmp_1 = raise.fh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.sl_1.bl_1));
4033
4061
  var tmp$ret$2;
4034
4062
  // Inline function 'kotlin.also' call
4035
- var tmp_2 = _this__u8e3s4.pl_1.xk_1;
4063
+ var tmp_2 = _this__u8e3s4.sl_1.al_1;
4036
4064
  var tmp2_also = tmp_2 instanceof QuestionMark;
4037
4065
  // Inline function 'kotlin.contracts.contract' call
4038
4066
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4039
4067
  if (tmp2_also)
4040
- raise.eh(_this__u8e3s4.rl());
4068
+ raise.fh(_this__u8e3s4.ul());
4041
4069
  tmp$ret$2 = tmp2_also;
4042
4070
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
4043
4071
  } else {
@@ -4045,19 +4073,19 @@
4045
4073
  // Inline function 'arrow.core.nel' call
4046
4074
  var tmp$ret$3;
4047
4075
  // Inline function 'kotlin.also' call
4048
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4076
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4049
4077
  // Inline function 'kotlin.contracts.contract' call
4050
4078
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4051
- raise.eh(_this__u8e3s4.rl());
4079
+ raise.fh(_this__u8e3s4.ul());
4052
4080
  tmp$ret$3 = tmp3_also;
4053
4081
  var tmp4_nel = tmp$ret$3;
4054
4082
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
4055
- raise.dh(tmp$ret$4);
4083
+ raise.eh(tmp$ret$4);
4056
4084
  }
4057
4085
  tmp$ret$5 = tmp_0;
4058
4086
  tmp$ret$6 = tmp$ret$5;
4059
4087
  var res = tmp$ret$6;
4060
- raise.bh();
4088
+ raise.ch();
4061
4089
  var tmp$ret$7;
4062
4090
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4063
4091
  tmp$ret$7 = new Right(res);
@@ -4066,7 +4094,7 @@
4066
4094
  var tmp_3;
4067
4095
  if ($p instanceof CancellationException) {
4068
4096
  var e = $p;
4069
- raise.bh();
4097
+ raise.ch();
4070
4098
  var tmp$ret$8;
4071
4099
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4072
4100
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4075,7 +4103,7 @@
4075
4103
  } else {
4076
4104
  if ($p instanceof Error) {
4077
4105
  var e_0 = $p;
4078
- raise.bh();
4106
+ raise.ch();
4079
4107
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4080
4108
  throw tmp0__anonymous__q1qw7t;
4081
4109
  } else {
@@ -4105,16 +4133,16 @@
4105
4133
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4106
4134
  var tmp$ret$1;
4107
4135
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
4108
- raise.eh(_this__u8e3s4.rl());
4109
- log(_this__u8e3s4.pl_1, $this);
4136
+ raise.fh(_this__u8e3s4.ul());
4137
+ log(_this__u8e3s4.sl_1, $this);
4110
4138
  var tmp$ret$0;
4111
4139
  // Inline function 'kotlin.also' call
4112
- var tmp_0 = _this__u8e3s4.pl_1.xk_1;
4140
+ var tmp_0 = _this__u8e3s4.sl_1.al_1;
4113
4141
  var tmp0_also = tmp_0 instanceof Brackets;
4114
4142
  // Inline function 'kotlin.contracts.contract' call
4115
4143
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
4116
4144
  if (tmp0_also)
4117
- raise.eh(_this__u8e3s4.rl());
4145
+ raise.fh(_this__u8e3s4.ul());
4118
4146
  tmp$ret$0 = tmp0_also;
4119
4147
  var isIterable = tmp$ret$0;
4120
4148
  var tmp0_subject = wsType;
@@ -4139,7 +4167,7 @@
4139
4167
  tmp$ret$1 = tmp_1;
4140
4168
  tmp$ret$2 = tmp$ret$1;
4141
4169
  var res = tmp$ret$2;
4142
- raise.bh();
4170
+ raise.ch();
4143
4171
  var tmp$ret$3;
4144
4172
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4145
4173
  tmp$ret$3 = new Right(res);
@@ -4148,7 +4176,7 @@
4148
4176
  var tmp_2;
4149
4177
  if ($p instanceof CancellationException) {
4150
4178
  var e = $p;
4151
- raise.bh();
4179
+ raise.ch();
4152
4180
  var tmp$ret$4;
4153
4181
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4154
4182
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4157,7 +4185,7 @@
4157
4185
  } else {
4158
4186
  if ($p instanceof Error) {
4159
4187
  var e_0 = $p;
4160
- raise.bh();
4188
+ raise.ch();
4161
4189
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4162
4190
  throw tmp0__anonymous__q1qw7t;
4163
4191
  } else {
@@ -4187,30 +4215,30 @@
4187
4215
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4188
4216
  var tmp$ret$2;
4189
4217
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4190
- raise.eh(_this__u8e3s4.rl());
4191
- log(_this__u8e3s4.pl_1, $this);
4192
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4218
+ raise.fh(_this__u8e3s4.ul());
4219
+ log(_this__u8e3s4.sl_1, $this);
4220
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4193
4221
  var tmp_0;
4194
4222
  if (tmp0_subject instanceof CustomType) {
4195
- tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4223
+ tmp_0 = raise.fh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4196
4224
  } else {
4197
4225
  var tmp$ret$1;
4198
4226
  // Inline function 'arrow.core.nel' call
4199
4227
  var tmp$ret$0;
4200
4228
  // Inline function 'kotlin.also' call
4201
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4229
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4202
4230
  // Inline function 'kotlin.contracts.contract' call
4203
4231
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4204
- raise.eh(_this__u8e3s4.rl());
4232
+ raise.fh(_this__u8e3s4.ul());
4205
4233
  tmp$ret$0 = tmp0_also;
4206
4234
  var tmp1_nel = tmp$ret$0;
4207
4235
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4208
- raise.dh(tmp$ret$1);
4236
+ raise.eh(tmp$ret$1);
4209
4237
  }
4210
4238
  tmp$ret$2 = tmp_0;
4211
4239
  tmp$ret$3 = tmp$ret$2;
4212
4240
  var res = tmp$ret$3;
4213
- raise.bh();
4241
+ raise.ch();
4214
4242
  var tmp$ret$4;
4215
4243
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4216
4244
  tmp$ret$4 = new Right(res);
@@ -4219,7 +4247,7 @@
4219
4247
  var tmp_1;
4220
4248
  if ($p instanceof CancellationException) {
4221
4249
  var e = $p;
4222
- raise.bh();
4250
+ raise.ch();
4223
4251
  var tmp$ret$5;
4224
4252
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4225
4253
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4228,7 +4256,7 @@
4228
4256
  } else {
4229
4257
  if ($p instanceof Error) {
4230
4258
  var e_0 = $p;
4231
- raise.bh();
4259
+ raise.ch();
4232
4260
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4233
4261
  throw tmp0__anonymous__q1qw7t;
4234
4262
  } else {
@@ -4258,53 +4286,53 @@
4258
4286
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4259
4287
  var tmp$ret$5;
4260
4288
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4261
- raise.eh(_this__u8e3s4.rl());
4262
- log(_this__u8e3s4.pl_1, $this);
4289
+ raise.fh(_this__u8e3s4.ul());
4290
+ log(_this__u8e3s4.sl_1, $this);
4263
4291
  var tmp$ret$4;
4264
4292
  // Inline function 'kotlin.also' call
4265
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4293
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4266
4294
  var tmp_0;
4267
4295
  if (tmp0_subject instanceof LeftCurly) {
4268
- 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)));
4269
4297
  } else {
4270
4298
  var tmp$ret$1;
4271
4299
  // Inline function 'arrow.core.nel' call
4272
4300
  var tmp$ret$0;
4273
4301
  // Inline function 'kotlin.also' call
4274
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
4302
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
4275
4303
  // Inline function 'kotlin.contracts.contract' call
4276
4304
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4277
- raise.eh(_this__u8e3s4.rl());
4305
+ raise.fh(_this__u8e3s4.ul());
4278
4306
  tmp$ret$0 = tmp0_also;
4279
4307
  var tmp1_nel = tmp$ret$0;
4280
4308
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4281
- raise.dh(tmp$ret$1);
4309
+ raise.eh(tmp$ret$1);
4282
4310
  }
4283
4311
  var tmp2_also = tmp_0;
4284
4312
  // Inline function 'kotlin.contracts.contract' call
4285
4313
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4286
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4314
+ var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4287
4315
  if (tmp0_subject_0 instanceof RightCurly)
4288
- raise.eh(_this__u8e3s4.rl());
4316
+ raise.fh(_this__u8e3s4.ul());
4289
4317
  else {
4290
4318
  var tmp$ret$3;
4291
4319
  // Inline function 'arrow.core.nel' call
4292
4320
  var tmp$ret$2;
4293
4321
  // Inline function 'kotlin.also' call
4294
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
4322
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
4295
4323
  // Inline function 'kotlin.contracts.contract' call
4296
4324
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4297
- raise.eh(_this__u8e3s4.rl());
4325
+ raise.fh(_this__u8e3s4.ul());
4298
4326
  tmp$ret$2 = tmp0_also_0;
4299
4327
  var tmp1_nel_0 = tmp$ret$2;
4300
4328
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
4301
- raise.dh(tmp$ret$3);
4329
+ raise.eh(tmp$ret$3);
4302
4330
  }
4303
4331
  tmp$ret$4 = tmp2_also;
4304
4332
  tmp$ret$5 = tmp$ret$4;
4305
4333
  tmp$ret$6 = tmp$ret$5;
4306
4334
  var res = tmp$ret$6;
4307
- raise.bh();
4335
+ raise.ch();
4308
4336
  var tmp$ret$7;
4309
4337
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4310
4338
  tmp$ret$7 = new Right(res);
@@ -4313,7 +4341,7 @@
4313
4341
  var tmp_1;
4314
4342
  if ($p instanceof CancellationException) {
4315
4343
  var e = $p;
4316
- raise.bh();
4344
+ raise.ch();
4317
4345
  var tmp$ret$8;
4318
4346
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4319
4347
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4322,7 +4350,7 @@
4322
4350
  } else {
4323
4351
  if ($p instanceof Error) {
4324
4352
  var e_0 = $p;
4325
- raise.bh();
4353
+ raise.ch();
4326
4354
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4327
4355
  throw tmp0__anonymous__q1qw7t;
4328
4356
  } else {
@@ -4352,9 +4380,9 @@
4352
4380
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4353
4381
  var tmp$ret$7;
4354
4382
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4355
- raise.eh(_this__u8e3s4.rl());
4356
- log(_this__u8e3s4.pl_1, $this);
4357
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4383
+ raise.fh(_this__u8e3s4.ul());
4384
+ log(_this__u8e3s4.sl_1, $this);
4385
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4358
4386
  var tmp_0;
4359
4387
  if (tmp0_subject instanceof CustomType) {
4360
4388
  var tmp$ret$4;
@@ -4365,32 +4393,32 @@
4365
4393
  var tmp0_apply = tmp$ret$0;
4366
4394
  // Inline function 'kotlin.contracts.contract' call
4367
4395
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4368
- tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4369
- raise.eh(_this__u8e3s4.rl());
4370
- while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
4371
- raise.eh(_this__u8e3s4.rl());
4372
- var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_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;
4373
4401
  if (tmp0_subject_0 instanceof CustomType) {
4374
4402
  var tmp$ret$1;
4375
4403
  // Inline function 'kotlin.also' call
4376
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4404
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.sl_1.bl_1);
4377
4405
  // Inline function 'kotlin.contracts.contract' call
4378
4406
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4379
- raise.eh(_this__u8e3s4.rl());
4407
+ raise.fh(_this__u8e3s4.ul());
4380
4408
  tmp$ret$1 = tmp0_also;
4381
4409
  } else {
4382
4410
  var tmp$ret$3;
4383
4411
  // Inline function 'arrow.core.nel' call
4384
4412
  var tmp$ret$2;
4385
4413
  // Inline function 'kotlin.also' call
4386
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4414
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4387
4415
  // Inline function 'kotlin.contracts.contract' call
4388
4416
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4389
- raise.eh(_this__u8e3s4.rl());
4417
+ raise.fh(_this__u8e3s4.ul());
4390
4418
  tmp$ret$2 = tmp1_also;
4391
4419
  var tmp2_nel = tmp$ret$2;
4392
4420
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
4393
- raise.dh(tmp$ret$3);
4421
+ raise.eh(tmp$ret$3);
4394
4422
  }
4395
4423
  }
4396
4424
  tmp$ret$4 = tmp0_apply;
@@ -4400,19 +4428,19 @@
4400
4428
  // Inline function 'arrow.core.nel' call
4401
4429
  var tmp$ret$5;
4402
4430
  // Inline function 'kotlin.also' call
4403
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4431
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4404
4432
  // Inline function 'kotlin.contracts.contract' call
4405
4433
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4406
- raise.eh(_this__u8e3s4.rl());
4434
+ raise.fh(_this__u8e3s4.ul());
4407
4435
  tmp$ret$5 = tmp1_also_0;
4408
4436
  var tmp2_nel_0 = tmp$ret$5;
4409
4437
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
4410
- raise.dh(tmp$ret$6);
4438
+ raise.eh(tmp$ret$6);
4411
4439
  }
4412
4440
  tmp$ret$7 = toSet(tmp_0);
4413
4441
  tmp$ret$8 = tmp$ret$7;
4414
4442
  var res = tmp$ret$8;
4415
- raise.bh();
4443
+ raise.ch();
4416
4444
  var tmp$ret$9;
4417
4445
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4418
4446
  tmp$ret$9 = new Right(res);
@@ -4421,7 +4449,7 @@
4421
4449
  var tmp_1;
4422
4450
  if ($p instanceof CancellationException) {
4423
4451
  var e = $p;
4424
- raise.bh();
4452
+ raise.ch();
4425
4453
  var tmp$ret$10;
4426
4454
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4427
4455
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4430,7 +4458,7 @@
4430
4458
  } else {
4431
4459
  if ($p instanceof Error) {
4432
4460
  var e_0 = $p;
4433
- raise.bh();
4461
+ raise.ch();
4434
4462
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4435
4463
  throw tmp0__anonymous__q1qw7t;
4436
4464
  } else {
@@ -4460,30 +4488,30 @@
4460
4488
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4461
4489
  var tmp$ret$2;
4462
4490
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4463
- raise.eh(_this__u8e3s4.rl());
4464
- log(_this__u8e3s4.pl_1, $this);
4465
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4491
+ raise.fh(_this__u8e3s4.ul());
4492
+ log(_this__u8e3s4.sl_1, $this);
4493
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4466
4494
  var tmp_0;
4467
4495
  if (tmp0_subject instanceof CustomType) {
4468
- tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4496
+ tmp_0 = raise.fh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4469
4497
  } else {
4470
4498
  var tmp$ret$1;
4471
4499
  // Inline function 'arrow.core.nel' call
4472
4500
  var tmp$ret$0;
4473
4501
  // Inline function 'kotlin.also' call
4474
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4502
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4475
4503
  // Inline function 'kotlin.contracts.contract' call
4476
4504
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4477
- raise.eh(_this__u8e3s4.rl());
4505
+ raise.fh(_this__u8e3s4.ul());
4478
4506
  tmp$ret$0 = tmp0_also;
4479
4507
  var tmp1_nel = tmp$ret$0;
4480
4508
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4481
- raise.dh(tmp$ret$1);
4509
+ raise.eh(tmp$ret$1);
4482
4510
  }
4483
4511
  tmp$ret$2 = tmp_0;
4484
4512
  tmp$ret$3 = tmp$ret$2;
4485
4513
  var res = tmp$ret$3;
4486
- raise.bh();
4514
+ raise.ch();
4487
4515
  var tmp$ret$4;
4488
4516
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4489
4517
  tmp$ret$4 = new Right(res);
@@ -4492,7 +4520,7 @@
4492
4520
  var tmp_1;
4493
4521
  if ($p instanceof CancellationException) {
4494
4522
  var e = $p;
4495
- raise.bh();
4523
+ raise.ch();
4496
4524
  var tmp$ret$5;
4497
4525
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4498
4526
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4501,7 +4529,7 @@
4501
4529
  } else {
4502
4530
  if ($p instanceof Error) {
4503
4531
  var e_0 = $p;
4504
- raise.bh();
4532
+ raise.ch();
4505
4533
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4506
4534
  throw tmp0__anonymous__q1qw7t;
4507
4535
  } else {
@@ -4531,37 +4559,37 @@
4531
4559
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4532
4560
  var tmp$ret$3;
4533
4561
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4534
- raise.eh(_this__u8e3s4.rl());
4535
- log(_this__u8e3s4.pl_1, $this);
4562
+ raise.fh(_this__u8e3s4.ul());
4563
+ log(_this__u8e3s4.sl_1, $this);
4536
4564
  var tmp$ret$2;
4537
4565
  // Inline function 'kotlin.also' call
4538
- var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4566
+ var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4539
4567
  var tmp_0;
4540
4568
  if (tmp0_subject instanceof CustomRegex) {
4541
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.pl_1.yk_1));
4569
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.sl_1.bl_1));
4542
4570
  } else {
4543
4571
  var tmp$ret$1;
4544
4572
  // Inline function 'arrow.core.nel' call
4545
4573
  var tmp$ret$0;
4546
4574
  // Inline function 'kotlin.also' call
4547
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.pl_1);
4575
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.sl_1);
4548
4576
  // Inline function 'kotlin.contracts.contract' call
4549
4577
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4550
- raise.eh(_this__u8e3s4.rl());
4578
+ raise.fh(_this__u8e3s4.ul());
4551
4579
  tmp$ret$0 = tmp0_also;
4552
4580
  var tmp1_nel = tmp$ret$0;
4553
4581
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4554
- raise.dh(tmp$ret$1);
4582
+ raise.eh(tmp$ret$1);
4555
4583
  }
4556
4584
  var tmp2_also = tmp_0;
4557
4585
  // Inline function 'kotlin.contracts.contract' call
4558
4586
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4559
- raise.eh(_this__u8e3s4.rl());
4587
+ raise.fh(_this__u8e3s4.ul());
4560
4588
  tmp$ret$2 = tmp2_also;
4561
4589
  tmp$ret$3 = tmp$ret$2;
4562
4590
  tmp$ret$4 = tmp$ret$3;
4563
4591
  var res = tmp$ret$4;
4564
- raise.bh();
4592
+ raise.ch();
4565
4593
  var tmp$ret$5;
4566
4594
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4567
4595
  tmp$ret$5 = new Right(res);
@@ -4570,7 +4598,7 @@
4570
4598
  var tmp_1;
4571
4599
  if ($p instanceof CancellationException) {
4572
4600
  var e = $p;
4573
- raise.bh();
4601
+ raise.ch();
4574
4602
  var tmp$ret$6;
4575
4603
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4576
4604
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4579,7 +4607,7 @@
4579
4607
  } else {
4580
4608
  if ($p instanceof Error) {
4581
4609
  var e_0 = $p;
4582
- raise.bh();
4610
+ raise.ch();
4583
4611
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4584
4612
  throw tmp0__anonymous__q1qw7t;
4585
4613
  } else {
@@ -4594,12 +4622,12 @@
4594
4622
  return tmp$ret$9;
4595
4623
  }
4596
4624
  function log(_this__u8e3s4, $this) {
4597
- return $this.oh_1.kh('Parsing ' + _this__u8e3s4.xk_1 + ' at line ' + _this__u8e3s4.zk_1.al_1 + ' position ' + _this__u8e3s4.zk_1.bl_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);
4598
4626
  }
4599
4627
  function Parser(logger) {
4600
- this.oh_1 = logger;
4628
+ this.ph_1 = logger;
4601
4629
  }
4602
- protoOf(Parser).ph = function (tokens) {
4630
+ protoOf(Parser).qh = function (tokens) {
4603
4631
  var tmp$ret$2;
4604
4632
  // Inline function 'kotlin.collections.filterNot' call
4605
4633
  var tmp$ret$1;
@@ -4610,7 +4638,7 @@
4610
4638
  var element = tmp0_iterator.e();
4611
4639
  var tmp$ret$0;
4612
4640
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4613
- var tmp = element.xk_1;
4641
+ var tmp = element.al_1;
4614
4642
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4615
4643
  if (!tmp$ret$0) {
4616
4644
  tmp0_filterNotTo.a(element);
@@ -4618,12 +4646,9 @@
4618
4646
  }
4619
4647
  tmp$ret$1 = tmp0_filterNotTo;
4620
4648
  tmp$ret$2 = tmp$ret$1;
4621
- return parse(toProvider(tmp$ret$2, this.oh_1), this);
4649
+ return parse(toProvider(tmp$ret$2, this.ph_1), this);
4622
4650
  };
4623
4651
  function printTokens($this, previousToken) {
4624
- var tmp$ret$6;
4625
- // Inline function 'kotlin.run' call
4626
- // Inline function 'kotlin.contracts.contract' call
4627
4652
  var tmp0_safe_receiver = previousToken;
4628
4653
  var tmp;
4629
4654
  if (tmp0_safe_receiver == null) {
@@ -4633,8 +4658,8 @@
4633
4658
  // Inline function 'kotlin.run' call
4634
4659
  // Inline function 'kotlin.contracts.contract' call
4635
4660
  var tmp$ret$0;
4636
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4637
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.yk_1 + "', ";
4661
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4662
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.bl_1 + "', ";
4638
4663
  tmp$ret$1 = tmp$ret$0;
4639
4664
  tmp = tmp$ret$1;
4640
4665
  }
@@ -4642,14 +4667,14 @@
4642
4667
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4643
4668
  var tmp$ret$3;
4644
4669
  // Inline function 'kotlin.run' call
4645
- var tmp0_run = $this.pl_1;
4670
+ var tmp0_run = $this.sl_1;
4646
4671
  // Inline function 'kotlin.contracts.contract' call
4647
4672
  var tmp$ret$2;
4648
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4649
- tmp$ret$2 = "Current: '" + tmp0_run.yk_1 + "'";
4673
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4674
+ tmp$ret$2 = "Current: '" + tmp0_run.bl_1 + "'";
4650
4675
  tmp$ret$3 = tmp$ret$2;
4651
4676
  var curr = tmp$ret$3;
4652
- var tmp2_safe_receiver = $this.ql_1;
4677
+ var tmp2_safe_receiver = $this.tl_1;
4653
4678
  var tmp_0;
4654
4679
  if (tmp2_safe_receiver == null) {
4655
4680
  tmp_0 = null;
@@ -4658,16 +4683,14 @@
4658
4683
  // Inline function 'kotlin.run' call
4659
4684
  // Inline function 'kotlin.contracts.contract' call
4660
4685
  var tmp$ret$4;
4661
- // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4662
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.yk_1 + "'";
4686
+ // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4687
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.bl_1 + "'";
4663
4688
  tmp$ret$5 = tmp$ret$4;
4664
4689
  tmp_0 = tmp$ret$5;
4665
4690
  }
4666
4691
  var tmp3_elvis_lhs = tmp_0;
4667
4692
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4668
- $this.nl_1.kh(prev + curr + next);
4669
- tmp$ret$6 = Unit_getInstance();
4670
- return tmp$ret$6;
4693
+ $this.ql_1.lh(prev + curr + next);
4671
4694
  }
4672
4695
  function printTokens$default($this, previousToken, $super) {
4673
4696
  previousToken = previousToken === VOID ? null : previousToken;
@@ -4685,7 +4708,7 @@
4685
4708
  var tmp0_success = Companion_getInstance();
4686
4709
  var tmp$ret$0;
4687
4710
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4688
- tmp$ret$0 = $this.ol_1.e();
4711
+ tmp$ret$0 = $this.rl_1.e();
4689
4712
  var tmp1_success = tmp$ret$0;
4690
4713
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4691
4714
  tmp = tmp$ret$1;
@@ -4716,24 +4739,28 @@
4716
4739
  return tmp$ret$4;
4717
4740
  }
4718
4741
  function TokenProvider(logger, tokenIterator) {
4719
- this.nl_1 = logger;
4720
- this.ol_1 = tokenIterator;
4742
+ this.ql_1 = logger;
4743
+ this.rl_1 = tokenIterator;
4721
4744
  var tmp = this;
4722
4745
  var tmp0_elvis_lhs = nextToken(this);
4723
4746
  var tmp_0;
4724
4747
  if (tmp0_elvis_lhs == null) {
4725
- 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));
4726
4753
  } else {
4727
4754
  tmp_0 = tmp0_elvis_lhs;
4728
4755
  }
4729
- tmp.pl_1 = tmp_0;
4730
- this.ql_1 = nextToken(this);
4756
+ tmp.sl_1 = tmp_0;
4757
+ this.tl_1 = nextToken(this);
4731
4758
  printTokens$default(this);
4732
4759
  }
4733
4760
  protoOf(TokenProvider).d = function () {
4734
- return !(this.ql_1 == null);
4761
+ return !(this.tl_1 == null);
4735
4762
  };
4736
- protoOf(TokenProvider).rl = function () {
4763
+ protoOf(TokenProvider).ul = function () {
4737
4764
  var tmp$ret$6;
4738
4765
  // Inline function 'arrow.core.raise.either' call
4739
4766
  var tmp$ret$5;
@@ -4747,25 +4774,25 @@
4747
4774
  try {
4748
4775
  var tmp$ret$1;
4749
4776
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4750
- var previousToken = this.pl_1;
4777
+ var previousToken = this.sl_1;
4751
4778
  var tmp_0 = this;
4752
- var tmp0_elvis_lhs = this.ql_1;
4779
+ var tmp0_elvis_lhs = this.tl_1;
4753
4780
  var tmp_1;
4754
4781
  if (tmp0_elvis_lhs == null) {
4755
4782
  var tmp$ret$0;
4756
4783
  // Inline function 'arrow.core.nel' call
4757
- var tmp0_nel = new NextException(previousToken.zk_1);
4784
+ var tmp0_nel = new NextException(previousToken.cl_1);
4758
4785
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4759
- raise.dh(tmp$ret$0);
4786
+ raise.eh(tmp$ret$0);
4760
4787
  } else {
4761
4788
  tmp_1 = tmp0_elvis_lhs;
4762
4789
  }
4763
- tmp_0.pl_1 = tmp_1;
4764
- this.ql_1 = nextToken(this);
4790
+ tmp_0.sl_1 = tmp_1;
4791
+ this.tl_1 = nextToken(this);
4765
4792
  printTokens(this, previousToken);
4766
4793
  tmp$ret$1 = Unit_getInstance();
4767
4794
  var res = tmp$ret$1;
4768
- raise.bh();
4795
+ raise.ch();
4769
4796
  var tmp$ret$2;
4770
4797
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4771
4798
  tmp$ret$2 = new Right(Unit_getInstance());
@@ -4774,7 +4801,7 @@
4774
4801
  var tmp_2;
4775
4802
  if ($p instanceof CancellationException) {
4776
4803
  var e = $p;
4777
- raise.bh();
4804
+ raise.ch();
4778
4805
  var tmp$ret$3;
4779
4806
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4780
4807
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4783,7 +4810,7 @@
4783
4810
  } else {
4784
4811
  if ($p instanceof Error) {
4785
4812
  var e_0 = $p;
4786
- raise.bh();
4813
+ raise.ch();
4787
4814
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4788
4815
  throw tmp0__anonymous__q1qw7t;
4789
4816
  } else {
@@ -4803,15 +4830,15 @@
4803
4830
  function IdxAndLength(idx, length) {
4804
4831
  idx = idx === VOID ? 0 : idx;
4805
4832
  length = length === VOID ? 0 : length;
4806
- this.sl_1 = idx;
4807
- this.tl_1 = length;
4833
+ this.vl_1 = idx;
4834
+ this.wl_1 = length;
4808
4835
  }
4809
4836
  protoOf(IdxAndLength).toString = function () {
4810
- return 'IdxAndLength(idx=' + this.sl_1 + ', length=' + this.tl_1 + ')';
4837
+ return 'IdxAndLength(idx=' + this.vl_1 + ', length=' + this.wl_1 + ')';
4811
4838
  };
4812
4839
  protoOf(IdxAndLength).hashCode = function () {
4813
- var result = this.sl_1;
4814
- result = imul(result, 31) + this.tl_1 | 0;
4840
+ var result = this.vl_1;
4841
+ result = imul(result, 31) + this.wl_1 | 0;
4815
4842
  return result;
4816
4843
  };
4817
4844
  protoOf(IdxAndLength).equals = function (other) {
@@ -4820,9 +4847,9 @@
4820
4847
  if (!(other instanceof IdxAndLength))
4821
4848
  return false;
4822
4849
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4823
- if (!(this.sl_1 === tmp0_other_with_cast.sl_1))
4850
+ if (!(this.vl_1 === tmp0_other_with_cast.vl_1))
4824
4851
  return false;
4825
- if (!(this.tl_1 === tmp0_other_with_cast.tl_1))
4852
+ if (!(this.wl_1 === tmp0_other_with_cast.wl_1))
4826
4853
  return false;
4827
4854
  return true;
4828
4855
  };
@@ -4830,26 +4857,26 @@
4830
4857
  line = line === VOID ? 1 : line;
4831
4858
  position = position === VOID ? 1 : position;
4832
4859
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4833
- this.al_1 = line;
4834
- this.bl_1 = position;
4835
- this.cl_1 = idxAndLength;
4860
+ this.dl_1 = line;
4861
+ this.el_1 = position;
4862
+ this.fl_1 = idxAndLength;
4836
4863
  }
4837
- protoOf(Coordinates).ul = function (line, position, idxAndLength) {
4864
+ protoOf(Coordinates).xl = function (line, position, idxAndLength) {
4838
4865
  return new Coordinates(line, position, idxAndLength);
4839
4866
  };
4840
- protoOf(Coordinates).vl = function (line, position, idxAndLength, $super) {
4841
- line = line === VOID ? this.al_1 : line;
4842
- position = position === VOID ? this.bl_1 : position;
4843
- idxAndLength = idxAndLength === VOID ? this.cl_1 : idxAndLength;
4844
- return $super === VOID ? this.ul(line, position, idxAndLength) : $super.ul.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);
4845
4872
  };
4846
4873
  protoOf(Coordinates).toString = function () {
4847
- return 'Coordinates(line=' + this.al_1 + ', position=' + this.bl_1 + ', idxAndLength=' + this.cl_1 + ')';
4874
+ return 'Coordinates(line=' + this.dl_1 + ', position=' + this.el_1 + ', idxAndLength=' + this.fl_1 + ')';
4848
4875
  };
4849
4876
  protoOf(Coordinates).hashCode = function () {
4850
- var result = this.al_1;
4851
- result = imul(result, 31) + this.bl_1 | 0;
4852
- result = imul(result, 31) + this.cl_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;
4853
4880
  return result;
4854
4881
  };
4855
4882
  protoOf(Coordinates).equals = function (other) {
@@ -4858,35 +4885,35 @@
4858
4885
  if (!(other instanceof Coordinates))
4859
4886
  return false;
4860
4887
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4861
- if (!(this.al_1 === tmp0_other_with_cast.al_1))
4888
+ if (!(this.dl_1 === tmp0_other_with_cast.dl_1))
4862
4889
  return false;
4863
- if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4890
+ if (!(this.el_1 === tmp0_other_with_cast.el_1))
4864
4891
  return false;
4865
- if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4892
+ if (!this.fl_1.equals(tmp0_other_with_cast.fl_1))
4866
4893
  return false;
4867
4894
  return true;
4868
4895
  };
4869
4896
  function Token(type, value, coordinates) {
4870
- this.xk_1 = type;
4871
- this.yk_1 = value;
4872
- this.zk_1 = coordinates;
4897
+ this.al_1 = type;
4898
+ this.bl_1 = value;
4899
+ this.cl_1 = coordinates;
4873
4900
  }
4874
- protoOf(Token).wl = function (type, value, coordinates) {
4901
+ protoOf(Token).zl = function (type, value, coordinates) {
4875
4902
  return new Token(type, value, coordinates);
4876
4903
  };
4877
- protoOf(Token).el = function (type, value, coordinates, $super) {
4878
- type = type === VOID ? this.xk_1 : type;
4879
- value = value === VOID ? this.yk_1 : value;
4880
- coordinates = coordinates === VOID ? this.zk_1 : coordinates;
4881
- return $super === VOID ? this.wl(type, value, coordinates) : $super.wl.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);
4882
4909
  };
4883
4910
  protoOf(Token).toString = function () {
4884
- return 'Token(type=' + this.xk_1 + ', value=' + this.yk_1 + ', coordinates=' + this.zk_1 + ')';
4911
+ return 'Token(type=' + this.al_1 + ', value=' + this.bl_1 + ', coordinates=' + this.cl_1 + ')';
4885
4912
  };
4886
4913
  protoOf(Token).hashCode = function () {
4887
- var result = hashCode(this.xk_1);
4888
- result = imul(result, 31) + getStringHashCode(this.yk_1) | 0;
4889
- result = imul(result, 31) + this.zk_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;
4890
4917
  return result;
4891
4918
  };
4892
4919
  protoOf(Token).equals = function (other) {
@@ -4895,73 +4922,79 @@
4895
4922
  if (!(other instanceof Token))
4896
4923
  return false;
4897
4924
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4898
- if (!equals(this.xk_1, tmp0_other_with_cast.xk_1))
4925
+ if (!equals(this.al_1, tmp0_other_with_cast.al_1))
4899
4926
  return false;
4900
- if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4927
+ if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4901
4928
  return false;
4902
- if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4929
+ if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4903
4930
  return false;
4904
4931
  return true;
4905
4932
  };
4906
4933
  function plus_1(_this__u8e3s4, length) {
4907
- return new IdxAndLength(_this__u8e3s4.sl_1 + length | 0, length);
4934
+ return new IdxAndLength(_this__u8e3s4.vl_1 + length | 0, length);
4908
4935
  }
4909
4936
  function plus_2(_this__u8e3s4, length) {
4910
- return _this__u8e3s4.vl(VOID, _this__u8e3s4.bl_1 + length | 0, plus_1(_this__u8e3s4.cl_1, length));
4937
+ return _this__u8e3s4.yl(VOID, _this__u8e3s4.el_1 + length | 0, plus_1(_this__u8e3s4.fl_1, length));
4911
4938
  }
4912
4939
  function tokenize(_this__u8e3s4, source) {
4940
+ var tmp$ret$3;
4941
+ // Inline function 'kotlin.let' call
4913
4942
  var tmp$ret$1;
4914
4943
  // Inline function 'kotlin.let' call
4915
- var tmp0_let = tokenize_0(_this__u8e3s4, source, emptyList());
4944
+ var tmp0_let = extractToken(_this__u8e3s4, source, new Coordinates());
4916
4945
  // Inline function 'kotlin.contracts.contract' call
4917
4946
  var tmp$ret$0;
4918
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
4919
4956
  var tmp = EndOfProgram_getInstance();
4920
4957
  EndOfProgram_getInstance();
4921
- var tmp_0 = lastCoordinates(tmp0_let);
4958
+ var tmp_0 = last(tmp1_let).cl_1;
4922
4959
  var tmp_1 = EndOfProgram_getInstance();
4923
4960
  EndOfProgram_getInstance();
4924
- tmp$ret$0 = plus_0(tmp0_let, new Token(tmp, 'EOP', nextCoordinates(tmp_0, tmp_1, 'EOP')));
4925
- tmp$ret$1 = tmp$ret$0;
4926
- 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;
4927
4964
  }
4928
4965
  function nextCoordinates(_this__u8e3s4, type, value) {
4929
4966
  var tmp0_subject = type;
4930
4967
  var tmp;
4931
4968
  if (tmp0_subject instanceof NewLine) {
4932
- tmp = new Coordinates(_this__u8e3s4.al_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.cl_1, value.length));
4969
+ tmp = new Coordinates(_this__u8e3s4.dl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.fl_1, value.length));
4933
4970
  } else {
4934
4971
  tmp = plus_2(_this__u8e3s4, value.length);
4935
4972
  }
4936
4973
  return tmp;
4937
4974
  }
4938
- function lastCoordinates(_this__u8e3s4) {
4939
- var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4940
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zk_1;
4941
- return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4942
- }
4943
- function tokenize_0(_this__u8e3s4, source, tokens) {
4975
+ function tokenize_0(_this__u8e3s4, source, incompleteTokens) {
4944
4976
  var $this = _this__u8e3s4;
4945
4977
  var source_0 = source;
4946
- var tokens_0 = tokens;
4978
+ var incompleteTokens_0 = incompleteTokens;
4947
4979
  $l$1: do {
4948
4980
  $l$0: do {
4949
- var token = findToken($this, lastCoordinates(tokens_0), source_0);
4950
- var newSource = removePrefix(source_0, token.yk_1);
4951
- 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);
4952
4985
  var tmp;
4953
4986
  var tmp$ret$0;
4954
4987
  // Inline function 'kotlin.text.isEmpty' call
4955
- tmp$ret$0 = charSequenceLength(newSource) === 0;
4988
+ tmp$ret$0 = charSequenceLength(remaining) === 0;
4956
4989
  if (tmp$ret$0) {
4957
- tmp = newTokens;
4990
+ tmp = tokens;
4958
4991
  } else {
4959
4992
  var tmp0 = $this;
4960
- var tmp1 = newSource;
4961
- var tmp2 = newTokens;
4993
+ var tmp1 = remaining;
4994
+ var tmp2 = tokens;
4962
4995
  $this = tmp0;
4963
4996
  source_0 = tmp1;
4964
- tokens_0 = tmp2;
4997
+ incompleteTokens_0 = tmp2;
4965
4998
  continue $l$0;
4966
4999
  }
4967
5000
  return tmp;
@@ -4970,10 +5003,12 @@
4970
5003
  }
4971
5004
  while (true);
4972
5005
  }
4973
- function findToken(_this__u8e3s4, previousTokenCoordinates, source) {
5006
+ function extractToken(_this__u8e3s4, source, previousTokenCoordinates) {
5007
+ var tmp$ret$4;
5008
+ // Inline function 'kotlin.let' call
4974
5009
  var tmp$ret$2;
4975
5010
  // Inline function 'kotlin.collections.firstNotNullOf' call
4976
- var tmp0_firstNotNullOf = _this__u8e3s4.uh();
5011
+ var tmp0_firstNotNullOf = _this__u8e3s4.vh();
4977
5012
  var tmp$ret$1;
4978
5013
  $l$block: {
4979
5014
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
@@ -4981,7 +5016,7 @@
4981
5016
  while (tmp0_iterator.d()) {
4982
5017
  var element = tmp0_iterator.e();
4983
5018
  var tmp$ret$0;
4984
- // Inline function 'community.flock.wirespec.compiler.core.tokenize.findToken.<anonymous>' call
5019
+ // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
4985
5020
  var regex = element.i3();
4986
5021
  var tokenType = element.j3();
4987
5022
  var tmp0_safe_receiver = regex.ce(source);
@@ -5002,7 +5037,13 @@
5002
5037
  tmp = tmp0_elvis_lhs;
5003
5038
  }
5004
5039
  tmp$ret$2 = tmp;
5005
- 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;
5006
5047
  }
5007
5048
  function toToken(_this__u8e3s4, type, previousTokenCoordinates) {
5008
5049
  return new Token(type, _this__u8e3s4.w(), nextCoordinates(previousTokenCoordinates, type, _this__u8e3s4.w()));
@@ -5173,7 +5214,7 @@
5173
5214
  }
5174
5215
  function EndOfProgram() {
5175
5216
  EndOfProgram_instance = this;
5176
- this.yl_1 = 'EOP';
5217
+ this.bm_1 = 'EOP';
5177
5218
  }
5178
5219
  var EndOfProgram_instance;
5179
5220
  function EndOfProgram_getInstance() {
@@ -5194,11 +5235,11 @@
5194
5235
  }
5195
5236
  var noLogger;
5196
5237
  function Logger(enableLogging) {
5197
- this.jh_1 = enableLogging;
5238
+ this.kh_1 = enableLogging;
5198
5239
  }
5199
- protoOf(Logger).kh = function (s) {
5240
+ protoOf(Logger).lh = function (s) {
5200
5241
  var tmp;
5201
- if (this.jh_1) {
5242
+ if (this.kh_1) {
5202
5243
  println(s);
5203
5244
  tmp = Unit_getInstance();
5204
5245
  } else {
@@ -5206,13 +5247,13 @@
5206
5247
  }
5207
5248
  return tmp;
5208
5249
  };
5209
- protoOf(Logger).wk = function (s, block) {
5250
+ protoOf(Logger).zk = function (s, block) {
5210
5251
  var tmp$ret$1;
5211
5252
  // Inline function 'kotlin.run' call
5212
5253
  // Inline function 'kotlin.contracts.contract' call
5213
5254
  var tmp$ret$0;
5214
5255
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
5215
- this.kh(s);
5256
+ this.lh(s);
5216
5257
  tmp$ret$0 = block();
5217
5258
  tmp$ret$1 = tmp$ret$0;
5218
5259
  return tmp$ret$1;
@@ -5229,73 +5270,73 @@
5229
5270
  }
5230
5271
  }
5231
5272
  //region block: post-declaration
5232
- protoOf(JavaEmitter).uj = withLogging;
5233
- protoOf(JavaEmitter).vj = withLogging_0;
5234
- protoOf(JavaEmitter).wj = withLogging_1;
5235
- protoOf(JavaEmitter).xj = withLogging_2;
5236
- protoOf(JavaEmitter).vh = withLogging_3;
5237
- protoOf(JavaEmitter).zj = withLogging_4;
5238
- protoOf(JavaEmitter).bk = withLogging_5;
5239
- protoOf(JavaEmitter).ck = withLogging_6;
5240
- protoOf(JavaEmitter).ek = withLogging_7;
5241
- protoOf(JavaEmitter).si = withLogging_8;
5242
- protoOf(KotlinEmitter).uj = withLogging;
5243
- protoOf(KotlinEmitter).vj = withLogging_0;
5244
- protoOf(KotlinEmitter).wj = withLogging_1;
5245
- protoOf(KotlinEmitter).xj = withLogging_2;
5246
- protoOf(KotlinEmitter).vh = withLogging_3;
5247
- protoOf(KotlinEmitter).zj = withLogging_4;
5248
- protoOf(KotlinEmitter).bk = withLogging_5;
5249
- protoOf(KotlinEmitter).ck = withLogging_6;
5250
- protoOf(KotlinEmitter).ek = withLogging_7;
5251
- protoOf(KotlinEmitter).si = withLogging_8;
5252
- protoOf(ScalaEmitter).uj = withLogging;
5253
- protoOf(ScalaEmitter).vj = withLogging_0;
5254
- protoOf(ScalaEmitter).wj = withLogging_1;
5255
- protoOf(ScalaEmitter).xj = withLogging_2;
5256
- protoOf(ScalaEmitter).vh = withLogging_3;
5257
- protoOf(ScalaEmitter).zj = withLogging_4;
5258
- protoOf(ScalaEmitter).bk = withLogging_5;
5259
- protoOf(ScalaEmitter).ck = withLogging_6;
5260
- protoOf(ScalaEmitter).ek = withLogging_7;
5261
- protoOf(TypeScriptEmitter).uj = withLogging;
5262
- protoOf(TypeScriptEmitter).vj = withLogging_0;
5263
- protoOf(TypeScriptEmitter).wj = withLogging_1;
5264
- protoOf(TypeScriptEmitter).xj = withLogging_2;
5265
- protoOf(TypeScriptEmitter).vh = withLogging_3;
5266
- protoOf(TypeScriptEmitter).zj = withLogging_4;
5267
- protoOf(TypeScriptEmitter).bk = withLogging_5;
5268
- protoOf(TypeScriptEmitter).ck = withLogging_6;
5269
- protoOf(TypeScriptEmitter).ek = withLogging_7;
5270
- protoOf(TypeScriptEmitter).si = withLogging_8;
5271
- protoOf(WirespecEmitter).uj = withLogging;
5272
- protoOf(WirespecEmitter).vj = withLogging_0;
5273
- protoOf(WirespecEmitter).wj = withLogging_1;
5274
- protoOf(WirespecEmitter).xj = withLogging_2;
5275
- protoOf(WirespecEmitter).vh = withLogging_3;
5276
- protoOf(WirespecEmitter).zj = withLogging_4;
5277
- protoOf(WirespecEmitter).bk = withLogging_5;
5278
- protoOf(WirespecEmitter).ck = withLogging_6;
5279
- protoOf(WirespecEmitter).ek = withLogging_7;
5280
- protoOf(WsTypeDef).xl = name;
5281
- protoOf(WsEnumTypeDef).xl = name;
5282
- protoOf(WsRefinedTypeDef).xl = name;
5283
- protoOf(WhiteSpaceExceptNewLine).xl = name;
5284
- protoOf(NewLine).xl = name;
5285
- protoOf(LeftCurly).xl = name;
5286
- protoOf(Colon).xl = name;
5287
- protoOf(Comma).xl = name;
5288
- protoOf(QuestionMark).xl = name;
5289
- protoOf(Brackets).xl = name;
5290
- protoOf(WsString).xl = name;
5291
- protoOf(WsInteger).xl = name;
5292
- protoOf(WsBoolean).xl = name;
5293
- protoOf(RightCurly).xl = name;
5294
- protoOf(CustomValue).xl = name;
5295
- protoOf(CustomType).xl = name;
5296
- protoOf(CustomRegex).xl = name;
5297
- protoOf(Invalid).xl = name;
5298
- protoOf(EndOfProgram).xl = 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;
5299
5340
  //endregion
5300
5341
  //region block: init
5301
5342
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';
@@ -5330,7 +5371,7 @@
5330
5371
  _.$_$.z = Type_Boolean_getInstance;
5331
5372
  _.$_$.a1 = Type_Integer_getInstance;
5332
5373
  _.$_$.b1 = Type_String_getInstance;
5333
- _.$_$.c1 = Companion_getInstance_1;
5374
+ _.$_$.c1 = Companion_getInstance_2;
5334
5375
  _.$_$.d1 = Wirespec_getInstance;
5335
5376
  //endregion
5336
5377
  return _;