@flock/wirespec 0.6.3 → 0.7.1

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 (37) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +309 -309
  2. package/kotlin/arrow-arrow-atomic.js +12 -12
  3. package/kotlin/arrow-arrow-continuations.js +1 -1
  4. package/kotlin/arrow-arrow-core.js +61 -61
  5. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +276 -207
  6. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  7. package/kotlin/kotlin-openapi-bindings.js +3505 -3507
  8. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  9. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1381 -1352
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1118 -1108
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  13. package/kotlin/wirespec-cli.js +103 -103
  14. package/kotlin/wirespec-core.js +1115 -986
  15. package/kotlin/wirespec-core.js.map +1 -1
  16. package/kotlin/wirespec-lib.js +55 -55
  17. package/kotlin/wirespec-openapi.js +1634 -1299
  18. package/kotlin/wirespec-openapi.js.map +1 -1
  19. package/package.json +1 -1
  20. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  21. package/sync-hashes/arrow-arrow-atomic.js.hash +1 -1
  22. package/sync-hashes/arrow-arrow-continuations.js.hash +1 -1
  23. package/sync-hashes/arrow-arrow-core.js.hash +1 -1
  24. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  25. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  26. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  27. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
  28. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  29. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  30. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  31. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  32. package/sync-hashes/wirespec-cli.js.hash +1 -1
  33. package/sync-hashes/wirespec-core.js.hash +1 -1
  34. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  35. package/sync-hashes/wirespec-lib.js.hash +1 -1
  36. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  37. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -18,37 +18,40 @@
18
18
  var imul = Math.imul;
19
19
  var toString = kotlin_kotlin.$_$.x7;
20
20
  var Unit_getInstance = kotlin_kotlin.$_$.i3;
21
- var Enum = kotlin_kotlin.$_$.o9;
21
+ var Enum = kotlin_kotlin.$_$.s9;
22
22
  var protoOf = kotlin_kotlin.$_$.s7;
23
23
  var classMeta = kotlin_kotlin.$_$.p6;
24
- var VOID = kotlin_kotlin.$_$.xa;
24
+ var VOID = kotlin_kotlin.$_$.bb;
25
25
  var setMetadataFor = kotlin_kotlin.$_$.t7;
26
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.sa;
26
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.wa;
27
27
  var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
28
28
  var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
29
29
  var Regex_init_$Create$ = kotlin_kotlin.$_$.v;
30
- var to = kotlin_kotlin.$_$.wa;
30
+ var to = kotlin_kotlin.$_$.ab;
31
31
  var listOf = kotlin_kotlin.$_$.i5;
32
32
  var objectMeta = kotlin_kotlin.$_$.r7;
33
- var trimMargin = kotlin_kotlin.$_$.i9;
33
+ var trimMargin = kotlin_kotlin.$_$.m9;
34
34
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.m;
35
35
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
36
36
  var joinToString = kotlin_kotlin.$_$.a5;
37
- var split = kotlin_kotlin.$_$.v8;
37
+ var split = kotlin_kotlin.$_$.z8;
38
38
  var collectionSizeOrDefault = kotlin_kotlin.$_$.c4;
39
39
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
40
40
  var plus = kotlin_kotlin.$_$.o5;
41
41
  var plus_0 = kotlin_kotlin.$_$.p5;
42
- var filterNotNull = kotlin_kotlin.$_$.u4;
43
- var toIntOrNull = kotlin_kotlin.$_$.a9;
42
+ var filterNotNull = kotlin_kotlin.$_$.t4;
43
+ var toIntOrNull = kotlin_kotlin.$_$.e9;
44
+ var replace = kotlin_kotlin.$_$.w8;
45
+ var first = kotlin_kotlin.$_$.p8;
46
+ var isDigit = kotlin_kotlin.$_$.s8;
44
47
  var toSet = kotlin_kotlin.$_$.a6;
45
- var isBlank = kotlin_kotlin.$_$.p8;
48
+ var isBlank = kotlin_kotlin.$_$.r8;
46
49
  var checkIndexOverflow = kotlin_kotlin.$_$.b4;
47
- var THROW_CCE = kotlin_kotlin.$_$.x9;
50
+ var THROW_CCE = kotlin_kotlin.$_$.ba;
48
51
  var isCharSequence = kotlin_kotlin.$_$.d7;
49
- var trimStart = kotlin_kotlin.$_$.j9;
50
- var dropLast = kotlin_kotlin.$_$.k8;
51
- var drop = kotlin_kotlin.$_$.l8;
52
+ var trimStart = kotlin_kotlin.$_$.n9;
53
+ var dropLast = kotlin_kotlin.$_$.l8;
54
+ var drop = kotlin_kotlin.$_$.m8;
52
55
  var charSequenceLength = kotlin_kotlin.$_$.n6;
53
56
  var charSequenceGet = kotlin_kotlin.$_$.m6;
54
57
  var toString_0 = kotlin_kotlin.$_$.l1;
@@ -58,7 +61,7 @@
58
61
  var interfaceMeta = kotlin_kotlin.$_$.y6;
59
62
  var captureStack = kotlin_kotlin.$_$.j6;
60
63
  var getKClassFromExpression = kotlin_kotlin.$_$.c;
61
- var RuntimeException = kotlin_kotlin.$_$.w9;
64
+ var RuntimeException = kotlin_kotlin.$_$.aa;
62
65
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.h1;
63
66
  var getStringHashCode = kotlin_kotlin.$_$.w6;
64
67
  var hashCode = kotlin_kotlin.$_$.x6;
@@ -71,52 +74,52 @@
71
74
  var nonEmptyListOf = kotlin_io_arrow_kt_arrow_core.$_$.f;
72
75
  var Companion_getInstance = kotlin_kotlin.$_$.d3;
73
76
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.m1;
74
- var createFailure = kotlin_kotlin.$_$.la;
77
+ var createFailure = kotlin_kotlin.$_$.pa;
75
78
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.p1;
76
79
  var isObject = kotlin_kotlin.$_$.j7;
77
80
  var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
78
- var emptyList = kotlin_kotlin.$_$.r4;
81
+ var emptyList = kotlin_kotlin.$_$.q4;
79
82
  var lastOrNull = kotlin_kotlin.$_$.d5;
80
- var removePrefix = kotlin_kotlin.$_$.s8;
83
+ var removePrefix = kotlin_kotlin.$_$.v8;
81
84
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.g1;
82
- var ensureNotNull = kotlin_kotlin.$_$.ma;
85
+ var ensureNotNull = kotlin_kotlin.$_$.qa;
83
86
  var println = kotlin_kotlin.$_$.g6;
84
87
  //endregion
85
88
  //region block: pre-declaration
86
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
87
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
88
91
  function withLogging(_this__u8e3s4, logger, block) {
89
- return logger.vk('Emitting Definition: Type', block);
92
+ return logger.wk('Emitting Definition: Type', block);
90
93
  }
91
94
  function withLogging_0(_this__u8e3s4, logger, block) {
92
- return logger.vk('Emitting Definition: Type Shape', block);
95
+ return logger.wk('Emitting Definition: Type Shape', block);
93
96
  }
94
97
  function withLogging_1(_this__u8e3s4, logger, block) {
95
- return logger.vk('Emitting Definition: Type Shape Field', block);
98
+ return logger.wk('Emitting Definition: Type Shape Field', block);
96
99
  }
97
100
  function withLogging_2(_this__u8e3s4, logger, block) {
98
- return logger.vk('Emitting Definition: Type Shape Field Key', block);
101
+ return logger.wk('Emitting Definition: Type Shape Field Key', block);
99
102
  }
100
103
  function withLogging_3(_this__u8e3s4, logger, block) {
101
- return logger.vk('Emitting Definition: Type Shape Field Value', block);
104
+ return logger.wk('Emitting Definition: Type Shape Field Value', block);
102
105
  }
103
106
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
104
107
  function withLogging_4(_this__u8e3s4, logger, block) {
105
- return logger.vk('Emitting Definition: Endpoint', block);
108
+ return logger.wk('Emitting Definition: Endpoint', block);
106
109
  }
107
110
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
108
111
  function withLogging_5(_this__u8e3s4, logger, block) {
109
- return logger.vk('Emitting Definition: Refined', block);
112
+ return logger.wk('Emitting Definition: Refined', block);
110
113
  }
111
114
  function withLogging_6(_this__u8e3s4, logger, block) {
112
- return logger.vk('Emitting Definition: Refined Validator', block);
115
+ return logger.wk('Emitting Definition: Refined Validator', block);
113
116
  }
114
117
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
115
118
  function withLogging_7(_this__u8e3s4, logger, block) {
116
- return logger.vk('Emitting Definition: Endpoint', block);
119
+ return logger.wk('Emitting Definition: Endpoint', block);
117
120
  }
118
121
  function withLogging_8(_this__u8e3s4, logger, block) {
119
- return logger.vk('Emitting Definition: Endpoint Segment', block);
122
+ return logger.wk('Emitting Definition: Endpoint Segment', block);
120
123
  }
121
124
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
122
125
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -135,6 +138,7 @@
135
138
  setMetadataFor(NextException, 'NextException', classMeta, NullTokenException);
136
139
  setMetadataFor(WrongTokenException, 'WrongTokenException', classMeta, ParserException);
137
140
  setMetadataFor(Type, 'Type', classMeta, Enum);
141
+ setMetadataFor(Any, 'Any', classMeta);
138
142
  setMetadataFor(Custom, 'Custom', classMeta);
139
143
  setMetadataFor(Primitive, 'Primitive', classMeta);
140
144
  setMetadataFor(Identifier, 'Identifier', classMeta);
@@ -193,7 +197,7 @@
193
197
  var Reported_EMITTED_instance;
194
198
  function Reported$report$lambda($logger, this$0) {
195
199
  return function (it) {
196
- $logger.ih('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
200
+ $logger.kh('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
197
201
  return Unit_getInstance();
198
202
  };
199
203
  }
@@ -210,40 +214,40 @@
210
214
  function Reported(name, ordinal) {
211
215
  Enum.call(this, name, ordinal);
212
216
  }
213
- protoOf(Reported).lh = function (logger) {
217
+ protoOf(Reported).nh = function (logger) {
214
218
  return Reported$report$lambda(logger, this);
215
219
  };
216
220
  function Reported$report$ref($boundThis) {
217
221
  var l = function (p0) {
218
- return $boundThis.lh(p0);
222
+ return $boundThis.nh(p0);
219
223
  };
220
224
  l.callableName = 'report';
221
225
  return l;
222
226
  }
223
227
  function Reported$report$ref_0($boundThis) {
224
228
  var l = function (p0) {
225
- return $boundThis.lh(p0);
229
+ return $boundThis.nh(p0);
226
230
  };
227
231
  l.callableName = 'report';
228
232
  return l;
229
233
  }
230
234
  function Reported$report$ref_1($boundThis) {
231
235
  var l = function (p0) {
232
- return $boundThis.lh(p0);
236
+ return $boundThis.nh(p0);
233
237
  };
234
238
  l.callableName = 'report';
235
239
  return l;
236
240
  }
237
241
  function Reported$report$ref_2($boundThis) {
238
242
  var l = function (p0) {
239
- return $boundThis.lh(p0);
243
+ return $boundThis.nh(p0);
240
244
  };
241
245
  l.callableName = 'report';
242
246
  return l;
243
247
  }
244
248
  function Reported$report$ref_3($boundThis) {
245
249
  var l = function (p0) {
246
- return $boundThis.lh(p0);
250
+ return $boundThis.nh(p0);
247
251
  };
248
252
  l.callableName = 'report';
249
253
  return l;
@@ -280,7 +284,7 @@
280
284
  // Inline function 'kotlin.contracts.contract' call
281
285
  var tmp$ret$2;
282
286
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
283
- tmp$ret$2 = (new Parser($logger)).nh(tmp4_let);
287
+ tmp$ret$2 = (new Parser($logger)).ph(tmp4_let);
284
288
  tmp$ret$3 = tmp$ret$2;
285
289
  var tmp5_also = tmp$ret$3;
286
290
  var tmp6_also = Reported$report$ref_1(Reported_PARSED_getInstance())($logger);
@@ -297,7 +301,7 @@
297
301
  if (tmp0_subject instanceof Right) {
298
302
  var tmp$ret$6;
299
303
  // Inline function 'arrow.core.Either.map.<anonymous>' call
300
- var tmp7__anonymous__b0knam = tmp8_map.og_1;
304
+ var tmp7__anonymous__b0knam = tmp8_map.qg_1;
301
305
  var tmp$ret$5;
302
306
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
303
307
  tmp$ret$5 = validate(tmp7__anonymous__b0knam);
@@ -327,10 +331,10 @@
327
331
  if (tmp0_subject_0 instanceof Right) {
328
332
  var tmp$ret$11;
329
333
  // Inline function 'arrow.core.Either.map.<anonymous>' call
330
- var tmp11__anonymous__tkubxh = tmp12_map.og_1;
334
+ var tmp11__anonymous__tkubxh = tmp12_map.qg_1;
331
335
  var tmp$ret$10;
332
336
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
333
- tmp$ret$10 = emitter.qh(tmp11__anonymous__tkubxh);
337
+ tmp$ret$10 = emitter.sh(tmp11__anonymous__tkubxh);
334
338
  tmp$ret$11 = new Right(tmp$ret$10);
335
339
  tmp_0 = tmp$ret$11;
336
340
  } else {
@@ -373,10 +377,10 @@
373
377
  }
374
378
  function Wirespec() {
375
379
  Wirespec_instance = this;
376
- this.rh_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.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())]);
377
381
  }
378
- protoOf(Wirespec).sh = function () {
379
- return this.rh_1;
382
+ protoOf(Wirespec).uh = function () {
383
+ return this.th_1;
380
384
  };
381
385
  var Wirespec_instance;
382
386
  function Wirespec_getInstance() {
@@ -385,14 +389,14 @@
385
389
  return Wirespec_instance;
386
390
  }
387
391
  function emitPrimaryType(_this__u8e3s4, $this) {
388
- return $this.th(_this__u8e3s4, $this.oh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
392
+ return $this.vh(_this__u8e3s4, $this.qh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
389
393
  }
390
394
  function emit(_this__u8e3s4, $this, endpoint) {
391
395
  Companion_getInstance_1();
392
- var tmp = emitContentType(_this__u8e3s4.uh_1, $this);
393
- var tmp0_safe_receiver = _this__u8e3s4.uh_1;
394
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
395
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.di(tmp1_safe_receiver);
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);
396
400
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
397
401
  Companion_getInstance_1();
398
402
  Companion_getInstance_1();
@@ -404,33 +408,33 @@
404
408
  Companion_getInstance_1();
405
409
  Companion_getInstance_1();
406
410
  Companion_getInstance_1();
407
- var tmp3_safe_receiver = _this__u8e3s4.uh_1;
408
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.wh_1;
409
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.di(tmp4_safe_receiver);
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);
410
414
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
411
415
  Companion_getInstance_1();
412
416
  Companion_getInstance_1();
413
- var tmp_2 = emitContentType(_this__u8e3s4.uh_1, $this);
414
- var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.uh_1);
417
+ var tmp_2 = emitContentType(_this__u8e3s4.wh_1, $this);
418
+ var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.wh_1);
415
419
  Companion_getInstance_1();
416
420
  Companion_getInstance_1();
417
421
  Companion_getInstance_1();
418
- var tmp_4 = emitPath(endpoint.gi_1, $this);
422
+ var tmp_4 = emitPath(endpoint.hi_1, $this);
419
423
  Companion_getInstance_1();
420
424
  Companion_getInstance_1();
421
425
  Companion_getInstance_1();
422
426
  Companion_getInstance_1();
423
427
  Companion_getInstance_1();
424
428
  Companion_getInstance_1();
425
- var tmp_5 = emitMap(endpoint.hi_1, $this);
429
+ var tmp_5 = emitMap(endpoint.ii_1, $this);
426
430
  Companion_getInstance_1();
427
431
  Companion_getInstance_1();
428
432
  Companion_getInstance_1();
429
- var tmp_6 = emitMap(endpoint.ii_1, $this);
433
+ var tmp_6 = emitMap(endpoint.ji_1, $this);
430
434
  Companion_getInstance_1();
431
435
  Companion_getInstance_1();
432
436
  Companion_getInstance_1();
433
- var tmp6_safe_receiver = _this__u8e3s4.uh_1;
437
+ var tmp6_safe_receiver = _this__u8e3s4.wh_1;
434
438
  var tmp_7;
435
439
  if (tmp6_safe_receiver == null) {
436
440
  tmp_7 = null;
@@ -440,7 +444,7 @@
440
444
  // Inline function 'kotlin.contracts.contract' call
441
445
  var tmp$ret$0;
442
446
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
443
- tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.vh_1 + '", body)';
447
+ tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.xh_1 + '", body)';
444
448
  tmp$ret$1 = tmp$ret$0;
445
449
  tmp_7 = tmp$ret$1;
446
450
  }
@@ -458,20 +462,20 @@
458
462
  Companion_getInstance_1();
459
463
  Companion_getInstance_1();
460
464
  Companion_getInstance_1();
461
- var tmp8_safe_receiver = _this__u8e3s4.uh_1;
462
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.wh_1;
463
- var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.di(tmp9_safe_receiver);
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);
464
468
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
465
469
  Companion_getInstance_1();
466
- 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.fi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
470
+ return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.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 ');
467
471
  }
468
472
  function emit_0(_this__u8e3s4, $this) {
469
473
  Companion_getInstance_1();
470
- var tmp = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
471
- var tmp_0 = emitContentType(_this__u8e3s4.ni_1, $this);
474
+ var tmp = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
475
+ var tmp_0 = emitContentType(_this__u8e3s4.oi_1, $this);
472
476
  var tmp$ret$1;
473
477
  // Inline function 'kotlin.takeIf' call
474
- var tmp0_takeIf = _this__u8e3s4.mi_1;
478
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
475
479
  // Inline function 'kotlin.contracts.contract' call
476
480
  var tmp_1;
477
481
  var tmp$ret$0;
@@ -485,9 +489,9 @@
485
489
  tmp$ret$1 = tmp_1;
486
490
  var tmp0_safe_receiver = tmp$ret$1;
487
491
  var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
488
- var tmp1_safe_receiver = _this__u8e3s4.ni_1;
489
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.wh_1;
490
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.di(tmp2_safe_receiver);
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);
491
495
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
492
496
  Companion_getInstance_1();
493
497
  Companion_getInstance_1();
@@ -495,17 +499,17 @@
495
499
  Companion_getInstance_1();
496
500
  Companion_getInstance_1();
497
501
  Companion_getInstance_1();
498
- var tmp4_safe_receiver = _this__u8e3s4.ni_1;
499
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
500
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.di(tmp5_safe_receiver);
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);
501
505
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
502
506
  Companion_getInstance_1();
503
507
  Companion_getInstance_1();
504
- var tmp_5 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
505
- var tmp_6 = emitContentType(_this__u8e3s4.ni_1, $this);
508
+ var tmp_5 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
509
+ var tmp_6 = emitContentType(_this__u8e3s4.oi_1, $this);
506
510
  var tmp$ret$3;
507
511
  // Inline function 'kotlin.takeIf' call
508
- var tmp1_takeIf = _this__u8e3s4.mi_1;
512
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
509
513
  // Inline function 'kotlin.contracts.contract' call
510
514
  var tmp_7;
511
515
  var tmp$ret$2;
@@ -532,7 +536,7 @@
532
536
  tmp_8 = tmp$ret$5;
533
537
  }
534
538
  var tmp_9 = orEmptyString(tmp_8, $this);
535
- var tmp8_safe_receiver = _this__u8e3s4.ni_1;
539
+ var tmp8_safe_receiver = _this__u8e3s4.oi_1;
536
540
  var tmp_10;
537
541
  if (tmp8_safe_receiver == null) {
538
542
  tmp_10 = null;
@@ -542,7 +546,7 @@
542
546
  // Inline function 'kotlin.contracts.contract' call
543
547
  var tmp$ret$6;
544
548
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
545
- tmp$ret$6 = ', ' + $this.di(tmp8_safe_receiver.wh_1) + ' body';
549
+ tmp$ret$6 = ', ' + $this.ei(tmp8_safe_receiver.yh_1) + ' body';
546
550
  tmp$ret$7 = tmp$ret$6;
547
551
  tmp_10 = tmp$ret$7;
548
552
  }
@@ -553,7 +557,7 @@
553
557
  Companion_getInstance_1();
554
558
  var tmp$ret$9;
555
559
  // Inline function 'kotlin.takeIf' call
556
- var tmp2_takeIf = _this__u8e3s4.mi_1;
560
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
557
561
  // Inline function 'kotlin.contracts.contract' call
558
562
  var tmp_12;
559
563
  var tmp$ret$8;
@@ -573,7 +577,7 @@
573
577
  Companion_getInstance_1();
574
578
  Companion_getInstance_1();
575
579
  Companion_getInstance_1();
576
- var tmp11_safe_receiver = _this__u8e3s4.ni_1;
580
+ var tmp11_safe_receiver = _this__u8e3s4.oi_1;
577
581
  var tmp_14;
578
582
  if (tmp11_safe_receiver == null) {
579
583
  tmp_14 = null;
@@ -583,7 +587,7 @@
583
587
  // Inline function 'kotlin.contracts.contract' call
584
588
  var tmp$ret$10;
585
589
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
586
- tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.vh_1 + '", body)';
590
+ tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.xh_1 + '", body)';
587
591
  tmp$ret$11 = tmp$ret$10;
588
592
  tmp_14 = tmp$ret$11;
589
593
  }
@@ -597,9 +601,9 @@
597
601
  Companion_getInstance_1();
598
602
  Companion_getInstance_1();
599
603
  Companion_getInstance_1();
600
- var tmp13_safe_receiver = _this__u8e3s4.ni_1;
601
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.wh_1;
602
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.di(tmp14_safe_receiver);
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);
603
607
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
604
608
  Companion_getInstance_1();
605
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 ');
@@ -615,8 +619,8 @@
615
619
  var e = tmp0_iterator.e();
616
620
  var tmp$ret$0;
617
621
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
618
- var tmp0_safe_receiver = e.ni_1;
619
- tmp$ret$0 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
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);
620
624
  var key = tmp$ret$0;
621
625
  if (set.a(key)) {
622
626
  list.a(e);
@@ -631,7 +635,7 @@
631
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 ');
632
636
  }
633
637
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
634
- var tmp0_subject = _this__u8e3s4.ni_1;
638
+ var tmp0_subject = _this__u8e3s4.oi_1;
635
639
  var tmp;
636
640
  if (tmp0_subject == null) {
637
641
  Companion_getInstance_1();
@@ -639,7 +643,7 @@
639
643
  Companion_getInstance_1();
640
644
  var tmp$ret$1;
641
645
  // Inline function 'kotlin.takeIf' call
642
- var tmp0_takeIf = _this__u8e3s4.mi_1;
646
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
643
647
  // Inline function 'kotlin.contracts.contract' call
644
648
  var tmp_0;
645
649
  var tmp$ret$0;
@@ -661,15 +665,15 @@
661
665
  // Inline function 'kotlin.contracts.contract' call
662
666
  var tmp$ret$2;
663
667
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
664
- tmp$ret$2 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
668
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
665
669
  tmp$ret$3 = tmp$ret$2;
666
670
  tmp_1 = tmp$ret$3;
667
671
  }
668
672
  var tmp_2 = orEmptyString(tmp_1, $this);
669
- var tmp_3 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
673
+ var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
670
674
  var tmp$ret$5;
671
675
  // Inline function 'kotlin.takeIf' call
672
- var tmp1_takeIf = _this__u8e3s4.mi_1;
676
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
673
677
  // Inline function 'kotlin.contracts.contract' call
674
678
  var tmp_4;
675
679
  var tmp$ret$4;
@@ -702,7 +706,7 @@
702
706
  Companion_getInstance_1();
703
707
  var tmp$ret$9;
704
708
  // Inline function 'kotlin.takeIf' call
705
- var tmp2_takeIf = _this__u8e3s4.mi_1;
709
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
706
710
  // Inline function 'kotlin.contracts.contract' call
707
711
  var tmp_6;
708
712
  var tmp$ret$8;
@@ -724,7 +728,7 @@
724
728
  // Inline function 'kotlin.contracts.contract' call
725
729
  var tmp$ret$10;
726
730
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
727
- tmp$ret$10 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
731
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
728
732
  tmp$ret$11 = tmp$ret$10;
729
733
  tmp_7 = tmp$ret$11;
730
734
  }
@@ -733,18 +737,18 @@
733
737
  Companion_getInstance_1();
734
738
  Companion_getInstance_1();
735
739
  Companion_getInstance_1();
736
- var tmp_9 = $this.di(_this__u8e3s4.ni_1.wh_1);
737
- var tmp_10 = emitPrimaryType(_this__u8e3s4.ni_1.wh_1, $this);
738
- var tmp_11 = _this__u8e3s4.ni_1.wh_1.qi();
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();
739
743
  Companion_getInstance_1();
740
744
  Companion_getInstance_1();
741
745
  Companion_getInstance_1();
742
746
  Companion_getInstance_1();
743
- var tmp_12 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
744
- var tmp_13 = emitContentType(_this__u8e3s4.ni_1, $this);
747
+ var tmp_12 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
748
+ var tmp_13 = emitContentType(_this__u8e3s4.oi_1, $this);
745
749
  var tmp$ret$13;
746
750
  // Inline function 'kotlin.takeIf' call
747
- var tmp3_takeIf = _this__u8e3s4.mi_1;
751
+ var tmp3_takeIf = _this__u8e3s4.ni_1;
748
752
  // Inline function 'kotlin.contracts.contract' call
749
753
  var tmp_14;
750
754
  var tmp$ret$12;
@@ -774,14 +778,14 @@
774
778
  Companion_getInstance_1();
775
779
  Companion_getInstance_1();
776
780
  Companion_getInstance_1();
777
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.ni_1.vh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
781
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.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
782
  }
779
783
  return tmp;
780
784
  }
781
785
  function emitContentType(_this__u8e3s4, $this) {
782
786
  var tmp0_safe_receiver = _this__u8e3s4;
783
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1;
784
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/']);
787
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1;
788
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/', '-']);
785
789
  var tmp;
786
790
  if (tmp2_safe_receiver == null) {
787
791
  tmp = null;
@@ -792,14 +796,14 @@
792
796
  return tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
793
797
  }
794
798
  function emit_1(_this__u8e3s4, $this) {
795
- return $this.ri(_this__u8e3s4, $this.oh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
799
+ return $this.si(_this__u8e3s4, $this.qh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
796
800
  }
797
801
  function emitRequestSignature(_this__u8e3s4, $this, content) {
798
802
  var tmp$ret$4;
799
803
  // Inline function 'kotlin.collections.map' call
800
804
  var tmp$ret$1;
801
805
  // Inline function 'kotlin.collections.filterIsInstance' call
802
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
806
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
803
807
  var tmp$ret$0;
804
808
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
805
809
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -821,15 +825,15 @@
821
825
  var item = tmp0_iterator_0.e();
822
826
  var tmp$ret$2;
823
827
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
824
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
828
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
825
829
  tmp2_mapTo.a(tmp$ret$2);
826
830
  }
827
831
  tmp$ret$3 = tmp2_mapTo;
828
832
  tmp$ret$4 = tmp$ret$3;
829
833
  var pathField = tmp$ret$4;
830
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
834
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
831
835
  var tmp0_safe_receiver = content;
832
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
836
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
833
837
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
834
838
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
835
839
  }
@@ -860,64 +864,68 @@
860
864
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
861
865
  tmp = tmp$ret$1 + 'XX';
862
866
  } else {
863
- tmp = Companion_getInstance_1().pi(_this__u8e3s4);
867
+ tmp = Companion_getInstance_1().qi(_this__u8e3s4);
864
868
  }
865
869
  return tmp;
866
870
  }
867
871
  function JavaEmitter$emit$lambda($this_emit, this$0) {
868
872
  return function () {
869
- return trimMargin('public record ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |) {};\n |');
873
+ return trimMargin('public record ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |) {};\n |');
870
874
  };
871
875
  }
872
876
  function JavaEmitter$emit$lambda$lambda(this$0) {
873
877
  return function (it) {
874
- return this$0.xi(it);
878
+ return this$0.yi(it);
875
879
  };
876
880
  }
877
881
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
878
882
  return function () {
879
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
883
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
880
884
  };
881
885
  }
882
886
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
883
887
  return function () {
884
888
  Companion_getInstance_1();
885
- return ' ' + ($this_emit.bj_1 ? 'java.util.Optional<' + this$0.di($this_emit.aj_1) + '>' : this$0.di($this_emit.aj_1)) + ' ' + this$0.cj($this_emit.zi_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);
886
890
  };
887
891
  }
888
892
  function JavaEmitter$emit$lambda_2($this_emit) {
889
893
  return function () {
890
- return $this_emit.dj_1;
894
+ return $this_emit.ej_1;
891
895
  };
892
896
  }
893
897
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
894
898
  return function () {
895
899
  var tmp0_subject = $this_emitPrimaryType;
896
900
  var tmp;
897
- if (tmp0_subject instanceof Custom) {
898
- tmp = $this_emitPrimaryType.hj_1;
901
+ if (tmp0_subject instanceof Any) {
902
+ tmp = 'Object';
899
903
  } else {
900
- if (tmp0_subject instanceof Primitive) {
901
- var tmp1_subject = $this_emitPrimaryType.ej_1;
902
- var tmp0 = tmp1_subject.q4_1;
903
- var tmp_0;
904
- switch (tmp0) {
905
- case 0:
906
- tmp_0 = 'String';
907
- break;
908
- case 1:
909
- tmp_0 = 'Integer';
910
- break;
911
- case 2:
912
- tmp_0 = 'Boolean';
913
- break;
914
- default:
915
- noWhenBranchMatchedException();
916
- break;
917
- }
918
- tmp = tmp_0;
904
+ if (tmp0_subject instanceof Custom) {
905
+ tmp = $this_emitPrimaryType.ij_1;
919
906
  } else {
920
- noWhenBranchMatchedException();
907
+ if (tmp0_subject instanceof Primitive) {
908
+ var tmp1_subject = $this_emitPrimaryType.fj_1;
909
+ var tmp0 = tmp1_subject.q4_1;
910
+ var tmp_0;
911
+ switch (tmp0) {
912
+ case 0:
913
+ tmp_0 = 'String';
914
+ break;
915
+ case 1:
916
+ tmp_0 = 'Integer';
917
+ break;
918
+ case 2:
919
+ tmp_0 = 'Boolean';
920
+ break;
921
+ default:
922
+ noWhenBranchMatchedException();
923
+ break;
924
+ }
925
+ tmp = tmp_0;
926
+ } else {
927
+ noWhenBranchMatchedException();
928
+ }
921
929
  }
922
930
  }
923
931
  return tmp;
@@ -931,48 +939,70 @@
931
939
  // Inline function 'kotlin.contracts.contract' call
932
940
  var tmp$ret$0;
933
941
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
934
- tmp$ret$0 = $this_emit.qi() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
942
+ tmp$ret$0 = $this_emit.ri() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
935
943
  tmp$ret$1 = tmp$ret$0;
936
944
  return tmp$ret$1;
937
945
  };
938
946
  }
947
+ function invoke$sanitize(_this__u8e3s4) {
948
+ var tmp$ret$1;
949
+ // Inline function 'kotlin.let' call
950
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
951
+ // Inline function 'kotlin.contracts.contract' call
952
+ var tmp$ret$0;
953
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.JavaEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
954
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
955
+ tmp$ret$1 = tmp$ret$0;
956
+ return tmp$ret$1;
957
+ }
958
+ function JavaEmitter$emit$lambda$lambda_0(enum_0) {
959
+ return invoke$sanitize(enum_0) + '("' + enum_0 + '")';
960
+ }
939
961
  function JavaEmitter$emit$lambda_4($this_emit) {
940
962
  return function () {
941
963
  Companion_getInstance_1();
942
- return 'enum ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + ';\n}\n';
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();
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';
943
973
  };
944
974
  }
945
975
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
946
976
  return function () {
947
977
  Companion_getInstance_1();
948
978
  Companion_getInstance_1();
949
- var tmp = this$0.oj($this_emit.nj_1);
979
+ var tmp = this$0.pj($this_emit.oj_1);
950
980
  Companion_getInstance_1();
951
- return trimMargin('public record ' + $this_emit.mj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.mj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
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 |');
952
982
  };
953
983
  }
954
984
  function JavaEmitter$emit$lambda_6($this_emit) {
955
985
  return function () {
956
986
  Companion_getInstance_1();
957
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.pj_1 + ').matcher(record.value).find();';
987
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.qj_1 + ').matcher(record.value).find();';
958
988
  };
959
989
  }
960
- function JavaEmitter$emit$lambda$lambda_0(this$0, $this_emit) {
990
+ function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
961
991
  return function (it) {
962
992
  return emit(it, this$0, $this_emit);
963
993
  };
964
994
  }
965
- function JavaEmitter$emit$lambda$lambda_1(it) {
995
+ function JavaEmitter$emit$lambda$lambda_2(it) {
966
996
  Companion_getInstance_1();
967
997
  return ' ' + 'interface Response' + it + '<T> extends Response<T>{};';
968
998
  }
969
- function JavaEmitter$emit$lambda$lambda_2(this$0) {
999
+ function JavaEmitter$emit$lambda$lambda_3(this$0) {
970
1000
  return function (it) {
971
1001
  Companion_getInstance_1();
972
1002
  return ' ' + 'interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
973
1003
  };
974
1004
  }
975
- function JavaEmitter$emit$lambda$lambda_3(this$0) {
1005
+ function JavaEmitter$emit$lambda$lambda_4(this$0) {
976
1006
  return function (it) {
977
1007
  return emit_0(it, this$0);
978
1008
  };
@@ -980,14 +1010,14 @@
980
1010
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
981
1011
  return function () {
982
1012
  Companion_getInstance_1();
983
- var tmp = emitSegment($this_emit.gi_1, this$0);
984
- var tmp_0 = emitResponseMapper($this_emit.li_1, this$0);
1013
+ var tmp = emitSegment($this_emit.hi_1, this$0);
1014
+ var tmp_0 = emitResponseMapper($this_emit.mi_1, this$0);
985
1015
  Companion_getInstance_1();
986
- var tmp_1 = joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0(this$0, $this_emit));
1016
+ var tmp_1 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
987
1017
  Companion_getInstance_1();
988
1018
  var tmp$ret$2;
989
1019
  // Inline function 'kotlin.collections.map' call
990
- var tmp1_map = $this_emit.li_1;
1020
+ var tmp1_map = $this_emit.mi_1;
991
1021
  var tmp$ret$1;
992
1022
  // Inline function 'kotlin.collections.mapTo' call
993
1023
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -996,18 +1026,18 @@
996
1026
  var item = tmp0_iterator.e();
997
1027
  var tmp$ret$0;
998
1028
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
999
- tmp$ret$0 = groupStatus(item.mi_1, this$0);
1029
+ tmp$ret$0 = groupStatus(item.ni_1, this$0);
1000
1030
  tmp0_mapTo.a(tmp$ret$0);
1001
1031
  }
1002
1032
  tmp$ret$1 = tmp0_mapTo;
1003
1033
  tmp$ret$2 = tmp$ret$1;
1004
1034
  var tmp_2 = toSet(tmp$ret$2);
1005
- var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1);
1035
+ var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_2);
1006
1036
  var tmp$ret$8;
1007
1037
  // Inline function 'kotlin.collections.map' call
1008
1038
  var tmp$ret$5;
1009
1039
  // Inline function 'kotlin.collections.filter' call
1010
- var tmp3_filter = $this_emit.li_1;
1040
+ var tmp3_filter = $this_emit.mi_1;
1011
1041
  var tmp$ret$4;
1012
1042
  // Inline function 'kotlin.collections.filterTo' call
1013
1043
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1016,7 +1046,7 @@
1016
1046
  var element = tmp0_iterator_0.e();
1017
1047
  var tmp$ret$3;
1018
1048
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1019
- tmp$ret$3 = isInt(element.mi_1, this$0);
1049
+ tmp$ret$3 = isInt(element.ni_1, this$0);
1020
1050
  if (tmp$ret$3) {
1021
1051
  tmp2_filterTo.a(element);
1022
1052
  }
@@ -1032,16 +1062,16 @@
1032
1062
  var item_0 = tmp0_iterator_1.e();
1033
1063
  var tmp$ret$6;
1034
1064
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1035
- tmp$ret$6 = item_0.mi_1;
1065
+ tmp$ret$6 = item_0.ni_1;
1036
1066
  tmp4_mapTo.a(tmp$ret$6);
1037
1067
  }
1038
1068
  tmp$ret$7 = tmp4_mapTo;
1039
1069
  tmp$ret$8 = tmp$ret$7;
1040
1070
  var tmp_4 = toSet(tmp$ret$8);
1041
- var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_2(this$0));
1071
+ var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1042
1072
  var tmp$ret$10;
1043
1073
  // Inline function 'kotlin.collections.distinctBy' call
1044
- var tmp6_distinctBy = $this_emit.li_1;
1074
+ var tmp6_distinctBy = $this_emit.mi_1;
1045
1075
  var set = HashSet_init_$Create$();
1046
1076
  var list = ArrayList_init_$Create$();
1047
1077
  var tmp0_iterator_2 = tmp6_distinctBy.c();
@@ -1049,8 +1079,8 @@
1049
1079
  var e = tmp0_iterator_2.e();
1050
1080
  var tmp$ret$9;
1051
1081
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1052
- var tmp0_safe_receiver = e.ni_1;
1053
- tmp$ret$9 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
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);
1054
1084
  var key = tmp$ret$9;
1055
1085
  if (set.a(key)) {
1056
1086
  list.a(e);
@@ -1058,9 +1088,9 @@
1058
1088
  }
1059
1089
  tmp$ret$10 = list;
1060
1090
  var tmp_6 = tmp$ret$10;
1061
- var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1091
+ var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1062
1092
  Companion_getInstance_1();
1063
- return trimMargin('public interface ' + $this_emit.ei_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().qj($this_emit.ei_1) + '(Request request);\n |}\n |');
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 |');
1064
1094
  };
1065
1095
  }
1066
1096
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1069,17 +1099,17 @@
1069
1099
  };
1070
1100
  }
1071
1101
  function JavaEmitter$emitContentType$lambda(it) {
1072
- return Companion_getInstance_1().pi(it);
1102
+ return Companion_getInstance_1().qi(it);
1073
1103
  }
1074
1104
  function JavaEmitter$emit$lambda_8($this_emit) {
1075
1105
  return function () {
1076
1106
  var tmp0_subject = $this_emit;
1077
1107
  var tmp;
1078
1108
  if (tmp0_subject instanceof Literal) {
1079
- tmp = '"' + $this_emit.rj_1 + '"';
1109
+ tmp = '"' + $this_emit.sj_1 + '"';
1080
1110
  } else {
1081
1111
  if (tmp0_subject instanceof Param) {
1082
- tmp = $this_emit.si_1.dj_1;
1112
+ tmp = $this_emit.ti_1.ej_1;
1083
1113
  } else {
1084
1114
  noWhenBranchMatchedException();
1085
1115
  }
@@ -1089,22 +1119,22 @@
1089
1119
  }
1090
1120
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1091
1121
  return function (it) {
1092
- return this$0.xi(it);
1122
+ return this$0.yi(it);
1093
1123
  };
1094
1124
  }
1095
1125
  function JavaEmitter$emitMap$lambda(this$0) {
1096
1126
  return function (it) {
1097
- return '"' + this$0.cj(it.zi_1) + '", java.util.List.of(' + this$0.cj(it.zi_1) + ')';
1127
+ return '"' + this$0.dj(it.aj_1) + '", java.util.List.of(' + this$0.dj(it.aj_1) + ')';
1098
1128
  };
1099
1129
  }
1100
1130
  function JavaEmitter$emitSegment$lambda(it) {
1101
1131
  var tmp0_subject = it;
1102
1132
  var tmp;
1103
1133
  if (tmp0_subject instanceof Param) {
1104
- tmp = '{' + it.si_1.dj_1 + '}';
1134
+ tmp = '{' + it.ti_1.ej_1 + '}';
1105
1135
  } else {
1106
1136
  if (tmp0_subject instanceof Literal) {
1107
- tmp = it.rj_1;
1137
+ tmp = it.sj_1;
1108
1138
  } else {
1109
1139
  noWhenBranchMatchedException();
1110
1140
  }
@@ -1120,7 +1150,6 @@
1120
1150
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1121
1151
  logger = logger === VOID ? get_noLogger() : logger;
1122
1152
  Emitter.call(this, logger, true);
1123
- this.ai_1 = packageName;
1124
1153
  var tmp = this;
1125
1154
  Companion_getInstance_1();
1126
1155
  Companion_getInstance_1();
@@ -1158,13 +1187,13 @@
1158
1187
  Companion_getInstance_1();
1159
1188
  Companion_getInstance_1();
1160
1189
  Companion_getInstance_1();
1161
- tmp.bi_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 ');
1162
- this.ci_1 = isBlank(this.ai_1) ? '' : 'package ' + this.ai_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 + ';';
1163
1192
  }
1164
- protoOf(JavaEmitter).qh = function (ast) {
1193
+ protoOf(JavaEmitter).sh = function (ast) {
1165
1194
  var tmp$ret$2;
1166
1195
  // Inline function 'kotlin.collections.map' call
1167
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
1196
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1168
1197
  var tmp$ret$1;
1169
1198
  // Inline function 'kotlin.collections.mapTo' call
1170
1199
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1175,46 +1204,46 @@
1175
1204
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1176
1205
  var name = item.i3();
1177
1206
  var result = item.j3();
1178
- tmp$ret$0 = to(name, this.ci_1 + '\n\n' + result);
1207
+ tmp$ret$0 = to(name, this.di_1 + '\n\n' + result);
1179
1208
  tmp0_mapTo.a(tmp$ret$0);
1180
1209
  }
1181
1210
  tmp$ret$1 = tmp0_mapTo;
1182
1211
  tmp$ret$2 = tmp$ret$1;
1183
- return plus_0(tmp$ret$2, to('WirespecShared', this.ci_1 + '\n\n' + this.bi_1));
1184
- };
1185
- protoOf(JavaEmitter).sj = function (_this__u8e3s4) {
1186
- return this.tj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1212
+ return plus_0(tmp$ret$2, to('WirespecShared', this.di_1 + '\n\n' + this.ci_1));
1187
1213
  };
1188
- protoOf(JavaEmitter).wi = function (_this__u8e3s4) {
1189
- return this.uj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1214
+ protoOf(JavaEmitter).tj = function (_this__u8e3s4) {
1215
+ return this.uj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1190
1216
  };
1191
1217
  protoOf(JavaEmitter).xi = function (_this__u8e3s4) {
1192
- return this.vj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1218
+ return this.vj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1193
1219
  };
1194
- protoOf(JavaEmitter).cj = function (_this__u8e3s4) {
1195
- return this.wj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1220
+ protoOf(JavaEmitter).yi = function (_this__u8e3s4) {
1221
+ return this.wj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1196
1222
  };
1197
- protoOf(JavaEmitter).di = function (_this__u8e3s4) {
1198
- return this.th(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1223
+ protoOf(JavaEmitter).dj = function (_this__u8e3s4) {
1224
+ return this.xj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1199
1225
  };
1200
- protoOf(JavaEmitter).xj = function (_this__u8e3s4) {
1201
- return this.yj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1226
+ protoOf(JavaEmitter).ei = function (_this__u8e3s4) {
1227
+ return this.vh(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1202
1228
  };
1203
- protoOf(JavaEmitter).zj = function (_this__u8e3s4) {
1204
- return this.ak(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1229
+ protoOf(JavaEmitter).yj = function (_this__u8e3s4) {
1230
+ return this.zj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1205
1231
  };
1206
- protoOf(JavaEmitter).oj = function (_this__u8e3s4) {
1207
- return this.bk(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1232
+ protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1233
+ return this.bk(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1208
1234
  };
1209
- protoOf(JavaEmitter).ck = function (_this__u8e3s4) {
1210
- return this.dk(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1235
+ protoOf(JavaEmitter).pj = function (_this__u8e3s4) {
1236
+ return this.ck(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1237
+ };
1238
+ protoOf(JavaEmitter).dk = function (_this__u8e3s4) {
1239
+ return this.ek(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1211
1240
  };
1212
1241
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1213
1242
  var tmp$ret$4;
1214
1243
  // Inline function 'kotlin.collections.map' call
1215
1244
  var tmp$ret$1;
1216
1245
  // Inline function 'kotlin.collections.filterIsInstance' call
1217
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
1246
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
1218
1247
  var tmp$ret$0;
1219
1248
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1220
1249
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -1236,15 +1265,15 @@
1236
1265
  var item = tmp0_iterator_0.e();
1237
1266
  var tmp$ret$2;
1238
1267
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1239
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
1268
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
1240
1269
  tmp2_mapTo.a(tmp$ret$2);
1241
1270
  }
1242
1271
  tmp$ret$3 = tmp2_mapTo;
1243
1272
  tmp$ret$4 = tmp$ret$3;
1244
1273
  var pathField = tmp$ret$4;
1245
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
1274
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
1246
1275
  var tmp0_safe_receiver = content;
1247
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
1276
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
1248
1277
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
1249
1278
  return trimMargin('\n |(' + joinToString(tmp, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestSignature$lambda($this)) + ')\n ');
1250
1279
  }
@@ -1255,7 +1284,7 @@
1255
1284
  return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitMap$lambda($this));
1256
1285
  }
1257
1286
  function emit_2(_this__u8e3s4, $this) {
1258
- return $this.ri(_this__u8e3s4, $this.oh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1287
+ return $this.si(_this__u8e3s4, $this.qh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1259
1288
  }
1260
1289
  function emitPath_0(_this__u8e3s4, $this) {
1261
1290
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
@@ -1276,7 +1305,7 @@
1276
1305
  var element = tmp0_iterator.e();
1277
1306
  var tmp$ret$0;
1278
1307
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1279
- tmp$ret$0 = Companion_getInstance_1().ek(element.mi_1);
1308
+ tmp$ret$0 = Companion_getInstance_1().fk(element.ni_1);
1280
1309
  if (tmp$ret$0) {
1281
1310
  tmp0_filterTo.a(element);
1282
1311
  }
@@ -1291,8 +1320,8 @@
1291
1320
  var e = tmp0_iterator_0.e();
1292
1321
  var tmp$ret$3;
1293
1322
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1294
- var tmp0_safe_receiver = e.ni_1;
1295
- tmp$ret$3 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
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);
1296
1325
  var key = tmp$ret$3;
1297
1326
  if (set.a(key)) {
1298
1327
  list.a(e);
@@ -1313,7 +1342,7 @@
1313
1342
  var element_0 = tmp0_iterator_1.e();
1314
1343
  var tmp$ret$5;
1315
1344
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1316
- tmp$ret$5 = !Companion_getInstance_1().ek(element_0.mi_1);
1345
+ tmp$ret$5 = !Companion_getInstance_1().fk(element_0.ni_1);
1317
1346
  if (tmp$ret$5) {
1318
1347
  tmp2_filterTo.a(element_0);
1319
1348
  }
@@ -1328,8 +1357,8 @@
1328
1357
  var e_0 = tmp0_iterator_2.e();
1329
1358
  var tmp$ret$8;
1330
1359
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1331
- var tmp0_safe_receiver_0 = e_0.ni_1;
1332
- tmp$ret$8 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
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);
1333
1362
  var key_0 = tmp$ret$8;
1334
1363
  if (set_0.a(key_0)) {
1335
1364
  list_0.a(e_0);
@@ -1344,7 +1373,7 @@
1344
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 ');
1345
1374
  }
1346
1375
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1347
- var tmp0_subject = _this__u8e3s4.ni_1;
1376
+ var tmp0_subject = _this__u8e3s4.oi_1;
1348
1377
  var tmp;
1349
1378
  if (tmp0_subject == null) {
1350
1379
  Companion_getInstance_1();
@@ -1352,12 +1381,12 @@
1352
1381
  Companion_getInstance_1();
1353
1382
  var tmp$ret$1;
1354
1383
  // Inline function 'kotlin.takeIf' call
1355
- var tmp0_takeIf = _this__u8e3s4.mi_1;
1384
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
1356
1385
  // Inline function 'kotlin.contracts.contract' call
1357
1386
  var tmp_0;
1358
1387
  var tmp$ret$0;
1359
1388
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1360
- tmp$ret$0 = Companion_getInstance_1().ek(tmp0_takeIf);
1389
+ tmp$ret$0 = Companion_getInstance_1().fk(tmp0_takeIf);
1361
1390
  if (tmp$ret$0) {
1362
1391
  tmp_0 = tmp0_takeIf;
1363
1392
  } else {
@@ -1374,20 +1403,20 @@
1374
1403
  // Inline function 'kotlin.contracts.contract' call
1375
1404
  var tmp$ret$2;
1376
1405
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1377
- tmp$ret$2 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
1406
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1378
1407
  tmp$ret$3 = tmp$ret$2;
1379
1408
  tmp_1 = tmp$ret$3;
1380
1409
  }
1381
1410
  var tmp_2 = orEmptyString_0(tmp_1);
1382
- var tmp_3 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
1411
+ var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1383
1412
  var tmp$ret$5;
1384
1413
  // Inline function 'kotlin.takeIf' call
1385
- var tmp1_takeIf = _this__u8e3s4.mi_1;
1414
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
1386
1415
  // Inline function 'kotlin.contracts.contract' call
1387
1416
  var tmp_4;
1388
1417
  var tmp$ret$4;
1389
1418
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1390
- tmp$ret$4 = !Companion_getInstance_1().ek(tmp1_takeIf);
1419
+ tmp$ret$4 = !Companion_getInstance_1().fk(tmp1_takeIf);
1391
1420
  if (tmp$ret$4) {
1392
1421
  tmp_4 = tmp1_takeIf;
1393
1422
  } else {
@@ -1415,12 +1444,12 @@
1415
1444
  Companion_getInstance_1();
1416
1445
  var tmp$ret$9;
1417
1446
  // Inline function 'kotlin.takeIf' call
1418
- var tmp2_takeIf = _this__u8e3s4.mi_1;
1447
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
1419
1448
  // Inline function 'kotlin.contracts.contract' call
1420
1449
  var tmp_6;
1421
1450
  var tmp$ret$8;
1422
1451
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1423
- tmp$ret$8 = Companion_getInstance_1().ek(tmp2_takeIf);
1452
+ tmp$ret$8 = Companion_getInstance_1().fk(tmp2_takeIf);
1424
1453
  if (tmp$ret$8) {
1425
1454
  tmp_6 = tmp2_takeIf;
1426
1455
  } else {
@@ -1437,7 +1466,7 @@
1437
1466
  // Inline function 'kotlin.contracts.contract' call
1438
1467
  var tmp$ret$10;
1439
1468
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1440
- tmp$ret$10 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
1469
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1441
1470
  tmp$ret$11 = tmp$ret$10;
1442
1471
  tmp_7 = tmp$ret$11;
1443
1472
  }
@@ -1446,22 +1475,22 @@
1446
1475
  Companion_getInstance_1();
1447
1476
  Companion_getInstance_1();
1448
1477
  Companion_getInstance_1();
1449
- var tmp_9 = $this.di(_this__u8e3s4.ni_1.wh_1);
1450
- var tmp_10 = $this.di(_this__u8e3s4.ni_1.wh_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);
1451
1480
  Companion_getInstance_1();
1452
1481
  Companion_getInstance_1();
1453
1482
  Companion_getInstance_1();
1454
1483
  Companion_getInstance_1();
1455
- var tmp_11 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
1456
- var tmp_12 = emitContentType_0(_this__u8e3s4.ni_1);
1484
+ var tmp_11 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1485
+ var tmp_12 = emitContentType_0(_this__u8e3s4.oi_1);
1457
1486
  var tmp$ret$13;
1458
1487
  // Inline function 'kotlin.takeIf' call
1459
- var tmp3_takeIf = _this__u8e3s4.mi_1;
1488
+ var tmp3_takeIf = _this__u8e3s4.ni_1;
1460
1489
  // Inline function 'kotlin.contracts.contract' call
1461
1490
  var tmp_13;
1462
1491
  var tmp$ret$12;
1463
1492
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1464
- tmp$ret$12 = !Companion_getInstance_1().ek(tmp3_takeIf);
1493
+ tmp$ret$12 = !Companion_getInstance_1().fk(tmp3_takeIf);
1465
1494
  if (tmp$ret$12) {
1466
1495
  tmp_13 = tmp3_takeIf;
1467
1496
  } else {
@@ -1482,36 +1511,36 @@
1482
1511
  tmp$ret$15 = tmp$ret$14;
1483
1512
  tmp_14 = tmp$ret$15;
1484
1513
  }
1485
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.ni_1.vh_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.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 ');
1486
1515
  }
1487
1516
  return tmp;
1488
1517
  }
1489
1518
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1490
1519
  return function () {
1491
- return trimMargin('|data class ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |)\n |');
1520
+ return trimMargin('|data class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |');
1492
1521
  };
1493
1522
  }
1494
1523
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1495
1524
  return function (it) {
1496
1525
  Companion_getInstance_1();
1497
- return ' ' + 'val ' + this$0.xi(it);
1526
+ return ' ' + 'val ' + this$0.yi(it);
1498
1527
  };
1499
1528
  }
1500
1529
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1501
1530
  return function () {
1502
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1531
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1503
1532
  };
1504
1533
  }
1505
1534
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1506
1535
  return function () {
1507
- return this$0.cj($this_emit.zi_1) + ': ' + this$0.di($this_emit.aj_1) + ($this_emit.bj_1 ? '? = null' : '');
1536
+ return this$0.dj($this_emit.aj_1) + ': ' + this$0.ei($this_emit.bj_1) + ($this_emit.cj_1 ? '? = null' : '');
1508
1537
  };
1509
1538
  }
1510
1539
  function KotlinEmitter$emit$lambda_2($this_emit) {
1511
1540
  return function () {
1512
1541
  var tmp$ret$2;
1513
1542
  // Inline function 'kotlin.collections.mapIndexed' call
1514
- var tmp1_mapIndexed = split($this_emit.dj_1, ['-']);
1543
+ var tmp1_mapIndexed = split($this_emit.ej_1, ['-']);
1515
1544
  var tmp$ret$1;
1516
1545
  // Inline function 'kotlin.collections.mapIndexedTo' call
1517
1546
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_mapIndexed, 10));
@@ -1524,7 +1553,7 @@
1524
1553
  var tmp1 = index;
1525
1554
  index = tmp1 + 1 | 0;
1526
1555
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1527
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().pi(item) : item;
1556
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().qi(item) : item;
1528
1557
  tmp0_mapIndexedTo.a(tmp$ret$0);
1529
1558
  }
1530
1559
  tmp$ret$1 = tmp0_mapIndexedTo;
@@ -1540,78 +1569,98 @@
1540
1569
  // Inline function 'kotlin.let' call
1541
1570
  var tmp0_subject = $this_emit;
1542
1571
  var tmp;
1543
- if (tmp0_subject instanceof Custom) {
1544
- tmp = $this_emit.hj_1;
1572
+ if (tmp0_subject instanceof Any) {
1573
+ tmp = 'Any';
1545
1574
  } else {
1546
- if (tmp0_subject instanceof Primitive) {
1547
- var tmp1_subject = $this_emit.ej_1;
1548
- var tmp0 = tmp1_subject.q4_1;
1549
- var tmp_0;
1550
- switch (tmp0) {
1551
- case 0:
1552
- tmp_0 = 'String';
1553
- break;
1554
- case 1:
1555
- tmp_0 = 'Int';
1556
- break;
1557
- case 2:
1558
- tmp_0 = 'Boolean';
1559
- break;
1560
- default:
1561
- noWhenBranchMatchedException();
1562
- break;
1563
- }
1564
- tmp = tmp_0;
1575
+ if (tmp0_subject instanceof Custom) {
1576
+ tmp = $this_emit.ij_1;
1565
1577
  } else {
1566
- noWhenBranchMatchedException();
1578
+ if (tmp0_subject instanceof Primitive) {
1579
+ var tmp1_subject = $this_emit.fj_1;
1580
+ var tmp0 = tmp1_subject.q4_1;
1581
+ var tmp_0;
1582
+ switch (tmp0) {
1583
+ case 0:
1584
+ tmp_0 = 'String';
1585
+ break;
1586
+ case 1:
1587
+ tmp_0 = 'Int';
1588
+ break;
1589
+ case 2:
1590
+ tmp_0 = 'Boolean';
1591
+ break;
1592
+ default:
1593
+ noWhenBranchMatchedException();
1594
+ break;
1595
+ }
1596
+ tmp = tmp_0;
1597
+ } else {
1598
+ noWhenBranchMatchedException();
1599
+ }
1567
1600
  }
1568
1601
  }
1569
1602
  var tmp0_let = tmp;
1570
1603
  // Inline function 'kotlin.contracts.contract' call
1571
1604
  var tmp$ret$0;
1572
1605
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1573
- tmp$ret$0 = $this_emit.qi() ? 'List<' + tmp0_let + '>' : tmp0_let;
1606
+ tmp$ret$0 = $this_emit.ri() ? 'List<' + tmp0_let + '>' : tmp0_let;
1574
1607
  tmp$ret$1 = tmp$ret$0;
1575
1608
  var tmp1_let = tmp$ret$1;
1576
1609
  // Inline function 'kotlin.contracts.contract' call
1577
1610
  var tmp$ret$2;
1578
1611
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1579
- tmp$ret$2 = $this_emit.jk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1612
+ tmp$ret$2 = $this_emit.kk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1580
1613
  tmp$ret$3 = tmp$ret$2;
1581
1614
  return tmp$ret$3;
1582
1615
  };
1583
1616
  }
1617
+ function invoke$sanitize_0(_this__u8e3s4) {
1618
+ var tmp$ret$1;
1619
+ // Inline function 'kotlin.let' call
1620
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
1621
+ // Inline function 'kotlin.contracts.contract' call
1622
+ var tmp$ret$0;
1623
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.KotlinEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
1624
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
1625
+ tmp$ret$1 = tmp$ret$0;
1626
+ return tmp$ret$1;
1627
+ }
1628
+ function KotlinEmitter$emit$lambda$lambda_0(it) {
1629
+ return invoke$sanitize_0(it) + '("' + it + '")';
1630
+ }
1584
1631
  function KotlinEmitter$emit$lambda_4($this_emit) {
1585
1632
  return function () {
1586
1633
  Companion_getInstance_1();
1587
- return 'enum class ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + '\n}\n';
1634
+ Companion_getInstance_1();
1635
+ 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';
1588
1637
  };
1589
1638
  }
1590
1639
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1591
1640
  return function () {
1592
- return trimMargin('data class ' + $this_emit.mj_1 + '(val value: String)\n |fun ' + $this_emit.mj_1 + '.validate() = ' + this$0.oj($this_emit.nj_1) + '\n |');
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 |');
1593
1642
  };
1594
1643
  }
1595
1644
  function KotlinEmitter$emit$lambda_6($this_emit) {
1596
1645
  return function () {
1597
- return 'Regex(' + $this_emit.pj_1 + ').find(value)';
1646
+ return 'Regex(' + $this_emit.qj_1 + ').find(value)';
1598
1647
  };
1599
1648
  }
1600
- function KotlinEmitter$emit$lambda$lambda_0(this$0, $this_emit) {
1649
+ function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1601
1650
  return function (it) {
1602
1651
  Companion_getInstance_1();
1603
- var tmp0_safe_receiver = it.uh_1;
1652
+ var tmp0_safe_receiver = it.wh_1;
1604
1653
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1605
1654
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1606
- var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.uh_1);
1607
- var tmp2_safe_receiver = it.uh_1;
1608
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.wh_1;
1609
- var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.di(tmp3_safe_receiver);
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);
1610
1659
  var tmp_1 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1611
- var tmp_2 = emitPath_0($this_emit.gi_1, this$0);
1612
- var tmp_3 = emitMap_0($this_emit.hi_1, this$0);
1613
- var tmp_4 = emitMap_0($this_emit.ii_1, this$0);
1614
- var tmp5_safe_receiver = it.uh_1;
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;
1615
1664
  var tmp_5;
1616
1665
  if (tmp5_safe_receiver == null) {
1617
1666
  tmp_5 = null;
@@ -1621,29 +1670,29 @@
1621
1670
  // Inline function 'kotlin.contracts.contract' call
1622
1671
  var tmp$ret$0;
1623
1672
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1624
- tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.vh_1 + '", body)';
1673
+ tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.xh_1 + '", body)';
1625
1674
  tmp$ret$1 = tmp$ret$0;
1626
1675
  tmp_5 = tmp$ret$1;
1627
1676
  }
1628
1677
  var tmp6_elvis_lhs = tmp_5;
1629
- return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.fi_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) + '}';
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) + '}';
1630
1679
  };
1631
1680
  }
1632
- function KotlinEmitter$emit$lambda$lambda_1(it) {
1681
+ function KotlinEmitter$emit$lambda$lambda_2(it) {
1633
1682
  Companion_getInstance_1();
1634
1683
  return ' ' + 'sealed interface Response' + it + '<T>: Response<T>';
1635
1684
  }
1636
- function KotlinEmitter$emit$lambda$lambda_2(it) {
1685
+ function KotlinEmitter$emit$lambda$lambda_3(it) {
1637
1686
  Companion_getInstance_1();
1638
1687
  return ' ' + 'sealed interface Response' + it + '<T>: Response' + groupStatus_0(it) + '<T>';
1639
1688
  }
1640
- function KotlinEmitter$emit$lambda$lambda_3(this$0) {
1689
+ function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1641
1690
  return function (it) {
1642
1691
  Companion_getInstance_1();
1643
- var tmp0_safe_receiver = it.ni_1;
1692
+ var tmp0_safe_receiver = it.oi_1;
1644
1693
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1645
1694
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1646
- var tmp2_safe_receiver = it.ni_1;
1695
+ var tmp2_safe_receiver = it.oi_1;
1647
1696
  var tmp_0;
1648
1697
  if (tmp2_safe_receiver == null) {
1649
1698
  tmp_0 = null;
@@ -1653,17 +1702,17 @@
1653
1702
  // Inline function 'kotlin.contracts.contract' call
1654
1703
  var tmp$ret$0;
1655
1704
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1656
- tmp$ret$0 = ', body: ' + this$0.di(tmp2_safe_receiver.wh_1);
1705
+ tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1657
1706
  tmp$ret$1 = tmp$ret$0;
1658
1707
  tmp_0 = tmp$ret$1;
1659
1708
  }
1660
1709
  var tmp3_elvis_lhs = tmp_0;
1661
1710
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1662
- var tmp4_safe_receiver = it.ni_1;
1663
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
1664
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.di(tmp5_safe_receiver);
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);
1665
1714
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1666
- var tmp7_safe_receiver = it.ni_1;
1715
+ var tmp7_safe_receiver = it.oi_1;
1667
1716
  var tmp_3;
1668
1717
  if (tmp7_safe_receiver == null) {
1669
1718
  tmp_3 = null;
@@ -1673,22 +1722,22 @@
1673
1722
  // Inline function 'kotlin.contracts.contract' call
1674
1723
  var tmp$ret$2;
1675
1724
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1676
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.vh_1 + '", body)';
1725
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1677
1726
  tmp$ret$3 = tmp$ret$2;
1678
1727
  tmp_3 = tmp$ret$3;
1679
1728
  }
1680
1729
  var tmp8_elvis_lhs = tmp_3;
1681
- return ' ' + 'class Response' + it.mi_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.mi_1 + '<' + tmp_2 + '> { override val status = ' + it.mi_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
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) + '}';
1682
1731
  };
1683
1732
  }
1684
- function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1733
+ function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1685
1734
  return function (it) {
1686
1735
  Companion_getInstance_1();
1687
- var tmp = Companion_getInstance_1().pi(it.mi_1);
1688
- var tmp0_safe_receiver = it.ni_1;
1736
+ var tmp = Companion_getInstance_1().qi(it.ni_1);
1737
+ var tmp0_safe_receiver = it.oi_1;
1689
1738
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1690
1739
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1691
- var tmp2_safe_receiver = it.ni_1;
1740
+ var tmp2_safe_receiver = it.oi_1;
1692
1741
  var tmp_1;
1693
1742
  if (tmp2_safe_receiver == null) {
1694
1743
  tmp_1 = null;
@@ -1698,18 +1747,18 @@
1698
1747
  // Inline function 'kotlin.contracts.contract' call
1699
1748
  var tmp$ret$0;
1700
1749
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1701
- tmp$ret$0 = ', body: ' + this$0.di(tmp2_safe_receiver.wh_1);
1750
+ tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1702
1751
  tmp$ret$1 = tmp$ret$0;
1703
1752
  tmp_1 = tmp$ret$1;
1704
1753
  }
1705
1754
  var tmp3_elvis_lhs = tmp_1;
1706
1755
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1707
- var tmp_3 = Companion_getInstance_1().pi(it.mi_1);
1708
- var tmp4_safe_receiver = it.ni_1;
1709
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
1710
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.di(tmp5_safe_receiver);
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);
1711
1760
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1712
- var tmp7_safe_receiver = it.ni_1;
1761
+ var tmp7_safe_receiver = it.oi_1;
1713
1762
  var tmp_5;
1714
1763
  if (tmp7_safe_receiver == null) {
1715
1764
  tmp_5 = null;
@@ -1719,7 +1768,7 @@
1719
1768
  // Inline function 'kotlin.contracts.contract' call
1720
1769
  var tmp$ret$2;
1721
1770
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1722
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.vh_1 + '", body)';
1771
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1723
1772
  tmp$ret$3 = tmp$ret$2;
1724
1773
  tmp_5 = tmp$ret$3;
1725
1774
  }
@@ -1730,11 +1779,11 @@
1730
1779
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1731
1780
  return function () {
1732
1781
  Companion_getInstance_1();
1733
- var tmp = joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0, $this_emit));
1782
+ var tmp = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1734
1783
  Companion_getInstance_1();
1735
1784
  var tmp$ret$2;
1736
1785
  // Inline function 'kotlin.collections.map' call
1737
- var tmp1_map = $this_emit.li_1;
1786
+ var tmp1_map = $this_emit.mi_1;
1738
1787
  var tmp$ret$1;
1739
1788
  // Inline function 'kotlin.collections.mapTo' call
1740
1789
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1743,18 +1792,18 @@
1743
1792
  var item = tmp0_iterator.e();
1744
1793
  var tmp$ret$0;
1745
1794
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1746
- tmp$ret$0 = groupStatus_0(item.mi_1);
1795
+ tmp$ret$0 = groupStatus_0(item.ni_1);
1747
1796
  tmp0_mapTo.a(tmp$ret$0);
1748
1797
  }
1749
1798
  tmp$ret$1 = tmp0_mapTo;
1750
1799
  tmp$ret$2 = tmp$ret$1;
1751
1800
  var tmp_0 = toSet(tmp$ret$2);
1752
- var tmp_1 = joinToString(tmp_0, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1);
1801
+ var tmp_1 = joinToString(tmp_0, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_2);
1753
1802
  var tmp$ret$8;
1754
1803
  // Inline function 'kotlin.collections.map' call
1755
1804
  var tmp$ret$5;
1756
1805
  // Inline function 'kotlin.collections.filter' call
1757
- var tmp3_filter = $this_emit.li_1;
1806
+ var tmp3_filter = $this_emit.mi_1;
1758
1807
  var tmp$ret$4;
1759
1808
  // Inline function 'kotlin.collections.filterTo' call
1760
1809
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1763,7 +1812,7 @@
1763
1812
  var element = tmp0_iterator_0.e();
1764
1813
  var tmp$ret$3;
1765
1814
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1766
- tmp$ret$3 = Companion_getInstance_1().ek(element.mi_1);
1815
+ tmp$ret$3 = Companion_getInstance_1().fk(element.ni_1);
1767
1816
  if (tmp$ret$3) {
1768
1817
  tmp2_filterTo.a(element);
1769
1818
  }
@@ -1779,18 +1828,18 @@
1779
1828
  var item_0 = tmp0_iterator_1.e();
1780
1829
  var tmp$ret$6;
1781
1830
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1782
- tmp$ret$6 = item_0.mi_1;
1831
+ tmp$ret$6 = item_0.ni_1;
1783
1832
  tmp4_mapTo.a(tmp$ret$6);
1784
1833
  }
1785
1834
  tmp$ret$7 = tmp4_mapTo;
1786
1835
  tmp$ret$8 = tmp$ret$7;
1787
1836
  var tmp_2 = toSet(tmp$ret$8);
1788
- var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_2);
1837
+ var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_3);
1789
1838
  var tmp$ret$13;
1790
1839
  // Inline function 'kotlin.collections.distinctBy' call
1791
1840
  var tmp$ret$11;
1792
1841
  // Inline function 'kotlin.collections.filter' call
1793
- var tmp7_filter = $this_emit.li_1;
1842
+ var tmp7_filter = $this_emit.mi_1;
1794
1843
  var tmp$ret$10;
1795
1844
  // Inline function 'kotlin.collections.filterTo' call
1796
1845
  var tmp6_filterTo = ArrayList_init_$Create$();
@@ -1799,7 +1848,7 @@
1799
1848
  var element_0 = tmp0_iterator_2.e();
1800
1849
  var tmp$ret$9;
1801
1850
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1802
- tmp$ret$9 = Companion_getInstance_1().ek(element_0.mi_1);
1851
+ tmp$ret$9 = Companion_getInstance_1().fk(element_0.ni_1);
1803
1852
  if (tmp$ret$9) {
1804
1853
  tmp6_filterTo.a(element_0);
1805
1854
  }
@@ -1814,8 +1863,8 @@
1814
1863
  var e = tmp0_iterator_3.e();
1815
1864
  var tmp$ret$12;
1816
1865
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1817
- var tmp0_safe_receiver = e.ni_1;
1818
- tmp$ret$12 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
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);
1819
1868
  var key = tmp$ret$12;
1820
1869
  if (set.a(key)) {
1821
1870
  list.a(e);
@@ -1823,12 +1872,12 @@
1823
1872
  }
1824
1873
  tmp$ret$13 = list;
1825
1874
  var tmp_4 = tmp$ret$13;
1826
- var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_3(this$0));
1875
+ var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_4(this$0));
1827
1876
  var tmp$ret$18;
1828
1877
  // Inline function 'kotlin.collections.distinctBy' call
1829
1878
  var tmp$ret$16;
1830
1879
  // Inline function 'kotlin.collections.filter' call
1831
- var tmp10_filter = $this_emit.li_1;
1880
+ var tmp10_filter = $this_emit.mi_1;
1832
1881
  var tmp$ret$15;
1833
1882
  // Inline function 'kotlin.collections.filterTo' call
1834
1883
  var tmp9_filterTo = ArrayList_init_$Create$();
@@ -1837,7 +1886,7 @@
1837
1886
  var element_1 = tmp0_iterator_4.e();
1838
1887
  var tmp$ret$14;
1839
1888
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1840
- tmp$ret$14 = !Companion_getInstance_1().ek(element_1.mi_1);
1889
+ tmp$ret$14 = !Companion_getInstance_1().fk(element_1.ni_1);
1841
1890
  if (tmp$ret$14) {
1842
1891
  tmp9_filterTo.a(element_1);
1843
1892
  }
@@ -1852,8 +1901,8 @@
1852
1901
  var e_0 = tmp0_iterator_5.e();
1853
1902
  var tmp$ret$17;
1854
1903
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1855
- var tmp0_safe_receiver_0 = e_0.ni_1;
1856
- tmp$ret$17 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
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);
1857
1906
  var key_0 = tmp$ret$17;
1858
1907
  if (set_0.a(key_0)) {
1859
1908
  list_0.a(e_0);
@@ -1861,34 +1910,34 @@
1861
1910
  }
1862
1911
  tmp$ret$18 = list_0;
1863
1912
  var tmp_6 = tmp$ret$18;
1864
- var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_4(this$0));
1865
- var tmp_8 = Companion_getInstance_1().qj($this_emit.ei_1);
1913
+ 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);
1866
1915
  Companion_getInstance_1();
1867
1916
  Companion_getInstance_1();
1868
1917
  Companion_getInstance_1();
1869
- var tmp_9 = emitSegment_0($this_emit.gi_1, this$0);
1918
+ var tmp_9 = emitSegment_0($this_emit.hi_1, this$0);
1870
1919
  Companion_getInstance_1();
1871
1920
  Companion_getInstance_1();
1872
- var tmp_10 = emitResponseMapper_0($this_emit.li_1, this$0);
1921
+ var tmp_10 = emitResponseMapper_0($this_emit.mi_1, this$0);
1873
1922
  Companion_getInstance_1();
1874
1923
  Companion_getInstance_1();
1875
1924
  Companion_getInstance_1();
1876
- return trimMargin('interface ' + $this_emit.ei_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 |');
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 |');
1877
1926
  };
1878
1927
  }
1879
1928
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1880
1929
  return function (it) {
1881
- return this$0.xi(it);
1930
+ return this$0.yi(it);
1882
1931
  };
1883
1932
  }
1884
1933
  function KotlinEmitter$emitSegment$lambda(it) {
1885
1934
  var tmp0_subject = it;
1886
1935
  var tmp;
1887
1936
  if (tmp0_subject instanceof Param) {
1888
- tmp = '{' + it.si_1.dj_1 + '}';
1937
+ tmp = '{' + it.ti_1.ej_1 + '}';
1889
1938
  } else {
1890
1939
  if (tmp0_subject instanceof Literal) {
1891
- tmp = it.rj_1;
1940
+ tmp = it.sj_1;
1892
1941
  } else {
1893
1942
  noWhenBranchMatchedException();
1894
1943
  }
@@ -1897,7 +1946,7 @@
1897
1946
  }
1898
1947
  function KotlinEmitter$emitMap$lambda(this$0) {
1899
1948
  return function (it) {
1900
- return '"' + this$0.cj(it.zi_1) + '" to listOf(' + this$0.cj(it.zi_1) + ')';
1949
+ return '"' + this$0.dj(it.aj_1) + '" to listOf(' + this$0.dj(it.aj_1) + ')';
1901
1950
  };
1902
1951
  }
1903
1952
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1905,10 +1954,10 @@
1905
1954
  var tmp0_subject = $this_emit;
1906
1955
  var tmp;
1907
1956
  if (tmp0_subject instanceof Literal) {
1908
- tmp = $this_emit.rj_1;
1957
+ tmp = $this_emit.sj_1;
1909
1958
  } else {
1910
1959
  if (tmp0_subject instanceof Param) {
1911
- tmp = '${' + $this_emit.si_1.dj_1 + '}';
1960
+ tmp = '${' + $this_emit.ti_1.ej_1 + '}';
1912
1961
  } else {
1913
1962
  noWhenBranchMatchedException();
1914
1963
  }
@@ -1935,19 +1984,19 @@
1935
1984
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1936
1985
  logger = logger === VOID ? get_noLogger() : logger;
1937
1986
  Emitter.call(this, logger);
1938
- this.hk_1 = packageName;
1987
+ this.ik_1 = packageName;
1939
1988
  var tmp = this;
1940
1989
  Companion_getInstance_1();
1941
1990
  Companion_getInstance_1();
1942
1991
  Companion_getInstance_1();
1943
1992
  Companion_getInstance_1();
1944
1993
  Companion_getInstance_1();
1945
- tmp.ik_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
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 ');
1946
1995
  }
1947
- protoOf(KotlinEmitter).qh = function (ast) {
1996
+ protoOf(KotlinEmitter).sh = function (ast) {
1948
1997
  var tmp$ret$3;
1949
1998
  // Inline function 'kotlin.collections.map' call
1950
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
1999
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1951
2000
  var tmp$ret$2;
1952
2001
  // Inline function 'kotlin.collections.mapTo' call
1953
2002
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1960,7 +2009,7 @@
1960
2009
  var result = item.j3();
1961
2010
  var tmp$ret$0;
1962
2011
  // Inline function 'kotlin.text.trimStart' call
1963
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.hk_1) ? '' : 'package ' + this.hk_1) + '\n |' + (Companion_getInstance_1().kk(ast) ? this.ik_1 : '') + '\n |' + result + '\n ');
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 ');
1964
2013
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
1965
2014
  tmp$ret$1 = to(name, tmp$ret$0);
1966
2015
  tmp0_mapTo.a(tmp$ret$1);
@@ -1969,43 +2018,43 @@
1969
2018
  tmp$ret$3 = tmp$ret$2;
1970
2019
  return tmp$ret$3;
1971
2020
  };
1972
- protoOf(KotlinEmitter).sj = function (_this__u8e3s4) {
1973
- return this.tj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
1974
- };
1975
- protoOf(KotlinEmitter).wi = function (_this__u8e3s4) {
1976
- return this.uj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2021
+ protoOf(KotlinEmitter).tj = function (_this__u8e3s4) {
2022
+ return this.uj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
1977
2023
  };
1978
2024
  protoOf(KotlinEmitter).xi = function (_this__u8e3s4) {
1979
- return this.vj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2025
+ return this.vj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2026
+ };
2027
+ protoOf(KotlinEmitter).yi = function (_this__u8e3s4) {
2028
+ return this.wj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
1980
2029
  };
1981
- protoOf(KotlinEmitter).cj = function (_this__u8e3s4) {
1982
- return this.wj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_2(_this__u8e3s4));
2030
+ protoOf(KotlinEmitter).dj = function (_this__u8e3s4) {
2031
+ return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(_this__u8e3s4));
1983
2032
  };
1984
- protoOf(KotlinEmitter).di = function (_this__u8e3s4) {
1985
- return this.th(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2033
+ protoOf(KotlinEmitter).ei = function (_this__u8e3s4) {
2034
+ return this.vh(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
1986
2035
  };
1987
- protoOf(KotlinEmitter).xj = function (_this__u8e3s4) {
1988
- return this.yj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
2036
+ protoOf(KotlinEmitter).yj = function (_this__u8e3s4) {
2037
+ return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
1989
2038
  };
1990
- protoOf(KotlinEmitter).zj = function (_this__u8e3s4) {
1991
- return this.ak(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2039
+ protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2040
+ return this.bk(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
1992
2041
  };
1993
- protoOf(KotlinEmitter).oj = function (_this__u8e3s4) {
1994
- return this.bk(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2042
+ protoOf(KotlinEmitter).pj = function (_this__u8e3s4) {
2043
+ return this.ck(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
1995
2044
  };
1996
- protoOf(KotlinEmitter).ck = function (_this__u8e3s4) {
1997
- return this.dk(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2045
+ protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2046
+ return this.ek(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
1998
2047
  };
1999
2048
  function toField(_this__u8e3s4, identifier, isNullable) {
2000
2049
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2001
2050
  }
2002
2051
  function emitContentType_0(_this__u8e3s4) {
2003
- var tmp = split(_this__u8e3s4.vh_1, ['/']);
2052
+ var tmp = split(_this__u8e3s4.xh_1, ['/', '-']);
2004
2053
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2005
2054
  }
2006
2055
  function groupStatus_0(_this__u8e3s4) {
2007
2056
  var tmp;
2008
- if (Companion_getInstance_1().ek(_this__u8e3s4)) {
2057
+ if (Companion_getInstance_1().fk(_this__u8e3s4)) {
2009
2058
  var tmp$ret$1;
2010
2059
  // Inline function 'kotlin.text.substring' call
2011
2060
  var tmp$ret$0;
@@ -2014,7 +2063,7 @@
2014
2063
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2015
2064
  tmp = tmp$ret$1 + 'XX';
2016
2065
  } else {
2017
- tmp = Companion_getInstance_1().pi(_this__u8e3s4);
2066
+ tmp = Companion_getInstance_1().qi(_this__u8e3s4);
2018
2067
  }
2019
2068
  return tmp;
2020
2069
  }
@@ -2023,11 +2072,11 @@
2023
2072
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2024
2073
  }
2025
2074
  function emitContentType$lambda(it) {
2026
- return Companion_getInstance_1().pi(it);
2075
+ return Companion_getInstance_1().qi(it);
2027
2076
  }
2028
2077
  function Companion() {
2029
2078
  Companion_instance = this;
2030
- this.lk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
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']);
2031
2080
  }
2032
2081
  var Companion_instance;
2033
2082
  function Companion_getInstance_0() {
@@ -2037,28 +2086,28 @@
2037
2086
  }
2038
2087
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2039
2088
  return function () {
2040
- return trimMargin('case class ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |)\n |\n |');
2089
+ return trimMargin('case class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |\n |');
2041
2090
  };
2042
2091
  }
2043
2092
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2044
2093
  return function (it) {
2045
- return this$0.xi(it);
2094
+ return this$0.yi(it);
2046
2095
  };
2047
2096
  }
2048
2097
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2049
2098
  return function () {
2050
- return dropLast(joinToString($this_emit.yi_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2099
+ return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2051
2100
  };
2052
2101
  }
2053
2102
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2054
2103
  return function () {
2055
2104
  Companion_getInstance_1();
2056
- return ' ' + 'val ' + this$0.cj($this_emit.zi_1) + ': ' + ($this_emit.bj_1 ? 'Option[' + this$0.di($this_emit.aj_1) + ']' : this$0.di($this_emit.aj_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)) + ',';
2057
2106
  };
2058
2107
  }
2059
2108
  function ScalaEmitter$emit$lambda_2($this_emit) {
2060
2109
  return function () {
2061
- return Companion_getInstance_0().lk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
2110
+ return Companion_getInstance_0().mk_1.i1($this_emit.ej_1) ? '`' + $this_emit.ej_1 + '`' : $this_emit.ej_1;
2062
2111
  };
2063
2112
  }
2064
2113
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2067,58 +2116,80 @@
2067
2116
  // Inline function 'kotlin.let' call
2068
2117
  var tmp0_subject = $this_emit;
2069
2118
  var tmp;
2070
- if (tmp0_subject instanceof Custom) {
2071
- tmp = $this_emit.hj_1;
2119
+ if (tmp0_subject instanceof Any) {
2120
+ tmp = 'Any';
2072
2121
  } else {
2073
- if (tmp0_subject instanceof Primitive) {
2074
- var tmp1_subject = $this_emit.ej_1;
2075
- var tmp0 = tmp1_subject.q4_1;
2076
- var tmp_0;
2077
- switch (tmp0) {
2078
- case 0:
2079
- tmp_0 = 'String';
2080
- break;
2081
- case 1:
2082
- tmp_0 = 'Int';
2083
- break;
2084
- case 2:
2085
- tmp_0 = 'Boolean';
2086
- break;
2087
- default:
2088
- noWhenBranchMatchedException();
2089
- break;
2090
- }
2091
- tmp = tmp_0;
2122
+ if (tmp0_subject instanceof Custom) {
2123
+ tmp = $this_emit.ij_1;
2092
2124
  } else {
2093
- noWhenBranchMatchedException();
2125
+ if (tmp0_subject instanceof Primitive) {
2126
+ var tmp1_subject = $this_emit.fj_1;
2127
+ var tmp0 = tmp1_subject.q4_1;
2128
+ var tmp_0;
2129
+ switch (tmp0) {
2130
+ case 0:
2131
+ tmp_0 = 'String';
2132
+ break;
2133
+ case 1:
2134
+ tmp_0 = 'Int';
2135
+ break;
2136
+ case 2:
2137
+ tmp_0 = 'Boolean';
2138
+ break;
2139
+ default:
2140
+ noWhenBranchMatchedException();
2141
+ break;
2142
+ }
2143
+ tmp = tmp_0;
2144
+ } else {
2145
+ noWhenBranchMatchedException();
2146
+ }
2094
2147
  }
2095
2148
  }
2096
2149
  var tmp0_let = tmp;
2097
2150
  // Inline function 'kotlin.contracts.contract' call
2098
2151
  var tmp$ret$0;
2099
2152
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2100
- tmp$ret$0 = $this_emit.qi() ? 'List[' + tmp0_let + ']' : tmp0_let;
2153
+ tmp$ret$0 = $this_emit.ri() ? 'List[' + tmp0_let + ']' : tmp0_let;
2101
2154
  tmp$ret$1 = tmp$ret$0;
2102
2155
  return tmp$ret$1;
2103
2156
  };
2104
2157
  }
2158
+ function invoke$sanitize_1(_this__u8e3s4) {
2159
+ var tmp$ret$1;
2160
+ // Inline function 'kotlin.let' call
2161
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
2162
+ // Inline function 'kotlin.contracts.contract' call
2163
+ var tmp$ret$0;
2164
+ // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.ScalaEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
2165
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
2166
+ tmp$ret$1 = tmp$ret$0;
2167
+ return tmp$ret$1;
2168
+ }
2105
2169
  function ScalaEmitter$emit$lambda$lambda_0($this_emit) {
2106
2170
  return function (it) {
2107
2171
  Companion_getInstance_1();
2108
- return ' ' + 'final case object ' + it + ' extends ' + $this_emit.kj_1 + '(label = "' + it + '")';
2172
+ var tmp$ret$1;
2173
+ // Inline function 'kotlin.text.uppercase' call
2174
+ var tmp0_uppercase = invoke$sanitize_1(it);
2175
+ var tmp$ret$0;
2176
+ // Inline function 'kotlin.js.asDynamic' call
2177
+ tmp$ret$0 = tmp0_uppercase;
2178
+ tmp$ret$1 = tmp$ret$0.toUpperCase();
2179
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.lj_1 + '(label = "' + it + '")';
2109
2180
  };
2110
2181
  }
2111
2182
  function ScalaEmitter$emit$lambda_4($this_emit) {
2112
2183
  return function () {
2113
- return trimMargin('\n |sealed abstract class ' + $this_emit.kj_1 + '(val label: String)\n |object ' + $this_emit.kj_1 + ' {\n |' + joinToString($this_emit.lj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
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 |');
2114
2185
  };
2115
2186
  }
2116
2187
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2117
2188
  return function () {
2118
2189
  Companion_getInstance_1();
2119
- var tmp = this$0.oj($this_emit.nj_1);
2190
+ var tmp = this$0.pj($this_emit.oj_1);
2120
2191
  Companion_getInstance_1();
2121
- return trimMargin('case class ' + $this_emit.mj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.mj_1 + 'Ops(val that: ' + $this_emit.mj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
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 |');
2122
2193
  };
2123
2194
  }
2124
2195
  function ScalaEmitter$emit$lambda_6($this_emit) {
@@ -2127,7 +2198,7 @@
2127
2198
  Companion_getInstance_1();
2128
2199
  Companion_getInstance_1();
2129
2200
  Companion_getInstance_1();
2130
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.pj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2201
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.qj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2131
2202
  };
2132
2203
  }
2133
2204
  function ScalaEmitter$emit$lambda_7() {
@@ -2138,12 +2209,12 @@
2138
2209
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2139
2210
  logger = logger === VOID ? get_noLogger() : logger;
2140
2211
  Emitter.call(this, logger);
2141
- this.ok_1 = packageName;
2212
+ this.pk_1 = packageName;
2142
2213
  }
2143
- protoOf(ScalaEmitter).qh = function (ast) {
2214
+ protoOf(ScalaEmitter).sh = function (ast) {
2144
2215
  var tmp$ret$2;
2145
2216
  // Inline function 'kotlin.collections.map' call
2146
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
2217
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2147
2218
  var tmp$ret$1;
2148
2219
  // Inline function 'kotlin.collections.mapTo' call
2149
2220
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2154,54 +2225,54 @@
2154
2225
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2155
2226
  var name = item.i3();
2156
2227
  var result = item.j3();
2157
- tmp$ret$0 = to(name, isBlank(this.ok_1) ? '' : 'package ' + this.ok_1 + '\n\n' + result);
2228
+ tmp$ret$0 = to(name, isBlank(this.pk_1) ? '' : 'package ' + this.pk_1 + '\n\n' + result);
2158
2229
  tmp0_mapTo.a(tmp$ret$0);
2159
2230
  }
2160
2231
  tmp$ret$1 = tmp0_mapTo;
2161
2232
  tmp$ret$2 = tmp$ret$1;
2162
2233
  return tmp$ret$2;
2163
2234
  };
2164
- protoOf(ScalaEmitter).sj = function (_this__u8e3s4) {
2165
- return this.tj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2166
- };
2167
- protoOf(ScalaEmitter).wi = function (_this__u8e3s4) {
2168
- return this.uj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2235
+ protoOf(ScalaEmitter).tj = function (_this__u8e3s4) {
2236
+ return this.uj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2169
2237
  };
2170
2238
  protoOf(ScalaEmitter).xi = function (_this__u8e3s4) {
2171
- return this.vj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2239
+ return this.vj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2240
+ };
2241
+ protoOf(ScalaEmitter).yi = function (_this__u8e3s4) {
2242
+ return this.wj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2172
2243
  };
2173
- protoOf(ScalaEmitter).cj = function (_this__u8e3s4) {
2174
- return this.wj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2244
+ protoOf(ScalaEmitter).dj = function (_this__u8e3s4) {
2245
+ return this.xj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2175
2246
  };
2176
- protoOf(ScalaEmitter).di = function (_this__u8e3s4) {
2177
- return this.th(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2247
+ protoOf(ScalaEmitter).ei = function (_this__u8e3s4) {
2248
+ return this.vh(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2178
2249
  };
2179
- protoOf(ScalaEmitter).xj = function (_this__u8e3s4) {
2180
- return this.yj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2250
+ protoOf(ScalaEmitter).yj = function (_this__u8e3s4) {
2251
+ return this.zj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2181
2252
  };
2182
- protoOf(ScalaEmitter).zj = function (_this__u8e3s4) {
2183
- return this.ak(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2253
+ protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2254
+ return this.bk(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2184
2255
  };
2185
- protoOf(ScalaEmitter).oj = function (_this__u8e3s4) {
2186
- return this.bk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2256
+ protoOf(ScalaEmitter).pj = function (_this__u8e3s4) {
2257
+ return this.ck(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2187
2258
  };
2188
- protoOf(ScalaEmitter).ck = function (_this__u8e3s4) {
2189
- return this.dk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_7);
2259
+ protoOf(ScalaEmitter).dk = function (_this__u8e3s4) {
2260
+ return this.ek(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_7);
2190
2261
  };
2191
2262
  function emitType(_this__u8e3s4, $this) {
2192
2263
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2193
2264
  }
2194
2265
  function emitType_0(_this__u8e3s4, $this) {
2195
- return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2266
+ return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2196
2267
  }
2197
2268
  function emitName(_this__u8e3s4, $this) {
2198
- var tmp0_safe_receiver = _this__u8e3s4.uh_1;
2269
+ var tmp0_safe_receiver = _this__u8e3s4.wh_1;
2199
2270
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2200
2271
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2201
2272
  }
2202
2273
  function emitName_0(_this__u8e3s4, $this) {
2203
- var tmp = 'Response' + Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
2204
- var tmp0_safe_receiver = _this__u8e3s4.ni_1;
2274
+ var tmp = 'Response' + Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
2275
+ var tmp0_safe_receiver = _this__u8e3s4.oi_1;
2205
2276
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2206
2277
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2207
2278
  }
@@ -2212,32 +2283,32 @@
2212
2283
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2213
2284
  }
2214
2285
  function emit_3(_this__u8e3s4, $this) {
2215
- return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2286
+ return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2216
2287
  }
2217
2288
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2218
2289
  return function () {
2219
- return trimMargin('export type ' + $this_emit.ui_1 + ' = {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |\n |');
2290
+ return trimMargin('export type ' + $this_emit.vi_1 + ' = {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |\n |');
2220
2291
  };
2221
2292
  }
2222
2293
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2223
2294
  return function (it) {
2224
- return this$0.xi(it);
2295
+ return this$0.yi(it);
2225
2296
  };
2226
2297
  }
2227
2298
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2228
2299
  return function () {
2229
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2300
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2230
2301
  };
2231
2302
  }
2232
2303
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2233
2304
  return function () {
2234
2305
  Companion_getInstance_1();
2235
- return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1);
2306
+ return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1);
2236
2307
  };
2237
2308
  }
2238
2309
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2239
2310
  return function () {
2240
- return $this_emit.dj_1;
2311
+ return $this_emit.ej_1;
2241
2312
  };
2242
2313
  }
2243
2314
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2248,43 +2319,47 @@
2248
2319
  // Inline function 'kotlin.let' call
2249
2320
  var tmp0_subject = $this_emit;
2250
2321
  var tmp;
2251
- if (tmp0_subject instanceof Custom) {
2252
- tmp = $this_emit.hj_1;
2322
+ if (tmp0_subject instanceof Any) {
2323
+ tmp = 'any';
2253
2324
  } else {
2254
- if (tmp0_subject instanceof Primitive) {
2255
- var tmp1_subject = $this_emit.ej_1;
2256
- var tmp0 = tmp1_subject.q4_1;
2257
- var tmp_0;
2258
- switch (tmp0) {
2259
- case 0:
2260
- tmp_0 = 'string';
2261
- break;
2262
- case 1:
2263
- tmp_0 = 'number';
2264
- break;
2265
- case 2:
2266
- tmp_0 = 'boolean';
2267
- break;
2268
- default:
2269
- noWhenBranchMatchedException();
2270
- break;
2271
- }
2272
- tmp = tmp_0;
2325
+ if (tmp0_subject instanceof Custom) {
2326
+ tmp = $this_emit.ij_1;
2273
2327
  } else {
2274
- noWhenBranchMatchedException();
2328
+ if (tmp0_subject instanceof Primitive) {
2329
+ var tmp1_subject = $this_emit.fj_1;
2330
+ var tmp0 = tmp1_subject.q4_1;
2331
+ var tmp_0;
2332
+ switch (tmp0) {
2333
+ case 0:
2334
+ tmp_0 = 'string';
2335
+ break;
2336
+ case 1:
2337
+ tmp_0 = 'number';
2338
+ break;
2339
+ case 2:
2340
+ tmp_0 = 'boolean';
2341
+ break;
2342
+ default:
2343
+ noWhenBranchMatchedException();
2344
+ break;
2345
+ }
2346
+ tmp = tmp_0;
2347
+ } else {
2348
+ noWhenBranchMatchedException();
2349
+ }
2275
2350
  }
2276
2351
  }
2277
2352
  var tmp0_let = tmp;
2278
2353
  // Inline function 'kotlin.contracts.contract' call
2279
2354
  var tmp$ret$0;
2280
2355
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2281
- tmp$ret$0 = $this_emit.qi() ? tmp0_let + '[]' : tmp0_let;
2356
+ tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2282
2357
  tmp$ret$1 = tmp$ret$0;
2283
2358
  var tmp1_let = tmp$ret$1;
2284
2359
  // Inline function 'kotlin.contracts.contract' call
2285
2360
  var tmp$ret$2;
2286
2361
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2287
- tmp$ret$2 = $this_emit.jk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2362
+ tmp$ret$2 = $this_emit.kk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2288
2363
  tmp$ret$3 = tmp$ret$2;
2289
2364
  return tmp$ret$3;
2290
2365
  };
@@ -2294,28 +2369,28 @@
2294
2369
  }
2295
2370
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2296
2371
  return function () {
2297
- return 'type ' + $this_emit.kj_1 + ' = ' + joinToString($this_emit.lj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2372
+ return 'type ' + $this_emit.lj_1 + ' = ' + joinToString($this_emit.mj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2298
2373
  };
2299
2374
  }
2300
2375
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2301
2376
  return function () {
2302
2377
  Companion_getInstance_1();
2303
- return trimMargin('type ' + $this_emit.mj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.mj_1 + ' = (type: ' + $this_emit.mj_1 + ') => (' + this$0.oj($this_emit.nj_1) + ').test(type.value);\n |\n |');
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 |');
2304
2379
  };
2305
2380
  }
2306
2381
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2307
2382
  return function () {
2308
- return "new RegExp('" + dropLast(drop($this_emit.pj_1, 1), 1) + "')";
2383
+ return "new RegExp('" + dropLast(drop($this_emit.qj_1, 1), 1) + "')";
2309
2384
  };
2310
2385
  }
2311
2386
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2312
2387
  return function (it) {
2313
2388
  Companion_getInstance_1();
2314
2389
  var tmp = emitName(it, this$0);
2315
- var tmp_0 = emitType($this_emit.gi_1, this$0);
2390
+ var tmp_0 = emitType($this_emit.hi_1, this$0);
2316
2391
  var tmp$ret$2;
2317
2392
  // Inline function 'kotlin.collections.map' call
2318
- var tmp1_map = $this_emit.ii_1;
2393
+ var tmp1_map = $this_emit.ji_1;
2319
2394
  var tmp$ret$1;
2320
2395
  // Inline function 'kotlin.collections.mapTo' call
2321
2396
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2324,7 +2399,7 @@
2324
2399
  var item = tmp0_iterator.e();
2325
2400
  var tmp$ret$0;
2326
2401
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2327
- tmp$ret$0 = this$0.xi(item);
2402
+ tmp$ret$0 = this$0.yi(item);
2328
2403
  tmp0_mapTo.a(tmp$ret$0);
2329
2404
  }
2330
2405
  tmp$ret$1 = tmp0_mapTo;
@@ -2332,7 +2407,7 @@
2332
2407
  var tmp_1 = joinToString(tmp$ret$2, ',');
2333
2408
  var tmp$ret$5;
2334
2409
  // Inline function 'kotlin.collections.map' call
2335
- var tmp3_map = $this_emit.hi_1;
2410
+ var tmp3_map = $this_emit.ii_1;
2336
2411
  var tmp$ret$4;
2337
2412
  // Inline function 'kotlin.collections.mapTo' call
2338
2413
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2341,13 +2416,13 @@
2341
2416
  var item_0 = tmp0_iterator_0.e();
2342
2417
  var tmp$ret$3;
2343
2418
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2344
- tmp$ret$3 = this$0.xi(item_0);
2419
+ tmp$ret$3 = this$0.yi(item_0);
2345
2420
  tmp2_mapTo.a(tmp$ret$3);
2346
2421
  }
2347
2422
  tmp$ret$4 = tmp2_mapTo;
2348
2423
  tmp$ret$5 = tmp$ret$4;
2349
2424
  var tmp_2 = joinToString(tmp$ret$5, ',');
2350
- var tmp0_safe_receiver = it.uh_1;
2425
+ var tmp0_safe_receiver = it.wh_1;
2351
2426
  var tmp_3;
2352
2427
  if (tmp0_safe_receiver == null) {
2353
2428
  tmp_3 = null;
@@ -2357,12 +2432,12 @@
2357
2432
  // Inline function 'kotlin.contracts.contract' call
2358
2433
  var tmp$ret$6;
2359
2434
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2360
- tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2435
+ tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2361
2436
  tmp$ret$7 = tmp$ret$6;
2362
2437
  tmp_3 = tmp$ret$7;
2363
2438
  }
2364
2439
  var tmp1_elvis_lhs = tmp_3;
2365
- return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.fi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
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) + ' } ';
2366
2441
  };
2367
2442
  }
2368
2443
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2374,8 +2449,8 @@
2374
2449
  return function (it) {
2375
2450
  Companion_getInstance_1();
2376
2451
  var tmp = emitName_0(it, this$0);
2377
- var tmp_0 = Companion_getInstance_1().ek(it.mi_1) ? it.mi_1 : 'number';
2378
- var tmp0_safe_receiver = it.ni_1;
2452
+ var tmp_0 = Companion_getInstance_1().fk(it.ni_1) ? it.ni_1 : 'number';
2453
+ var tmp0_safe_receiver = it.oi_1;
2379
2454
  var tmp_1;
2380
2455
  if (tmp0_safe_receiver == null) {
2381
2456
  tmp_1 = null;
@@ -2385,7 +2460,7 @@
2385
2460
  // Inline function 'kotlin.contracts.contract' call
2386
2461
  var tmp$ret$0;
2387
2462
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2388
- tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2463
+ tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2389
2464
  tmp$ret$1 = tmp$ret$0;
2390
2465
  tmp_1 = tmp$ret$1;
2391
2466
  }
@@ -2400,18 +2475,18 @@
2400
2475
  }
2401
2476
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2402
2477
  return function (it) {
2403
- return this$0.xi(it);
2478
+ return this$0.yi(it);
2404
2479
  };
2405
2480
  }
2406
2481
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2407
2482
  return function (it) {
2408
- var tmp = Companion_getInstance_1().qj(emitName(it, this$0));
2409
- var tmp_0 = Companion_getInstance_1().sk($this_emit, it.uh_1);
2483
+ var tmp = Companion_getInstance_1().rj(emitName(it, this$0));
2484
+ var tmp_0 = Companion_getInstance_1().tk($this_emit, it.wh_1);
2410
2485
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2411
- var tmp_2 = emitPath_1($this_emit.gi_1, this$0);
2412
- var tmp_3 = emitMap_1($this_emit.hi_1, this$0);
2413
- var tmp_4 = emitMap_1($this_emit.ii_1, this$0);
2414
- var tmp0_safe_receiver = it.uh_1;
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;
2415
2490
  var tmp_5;
2416
2491
  if (tmp0_safe_receiver == null) {
2417
2492
  tmp_5 = null;
@@ -2421,33 +2496,33 @@
2421
2496
  // Inline function 'kotlin.contracts.contract' call
2422
2497
  var tmp$ret$0;
2423
2498
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2424
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.vh_1 + '", body}';
2499
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.xh_1 + '", body}';
2425
2500
  tmp$ret$1 = tmp$ret$0;
2426
2501
  tmp_5 = tmp$ret$1;
2427
2502
  }
2428
2503
  var tmp1_elvis_lhs = tmp_5;
2429
- return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.fi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
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)';
2430
2505
  };
2431
2506
  }
2432
2507
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2433
2508
  return function () {
2434
- var tmp = toSet($this_emit.ki_1);
2509
+ var tmp = toSet($this_emit.li_1);
2435
2510
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2436
2511
  Companion_getInstance_1();
2437
- var tmp_1 = toSet($this_emit.ki_1);
2512
+ var tmp_1 = toSet($this_emit.li_1);
2438
2513
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2439
- var tmp_3 = toSet($this_emit.li_1);
2514
+ var tmp_3 = toSet($this_emit.mi_1);
2440
2515
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2441
2516
  Companion_getInstance_1();
2442
- var tmp_5 = toSet($this_emit.li_1);
2517
+ var tmp_5 = toSet($this_emit.mi_1);
2443
2518
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2444
2519
  Companion_getInstance_1();
2445
2520
  Companion_getInstance_1();
2446
2521
  Companion_getInstance_1();
2447
- var tmp_7 = Companion_getInstance_1().qj($this_emit.ei_1);
2522
+ var tmp_7 = Companion_getInstance_1().rj($this_emit.fi_1);
2448
2523
  Companion_getInstance_1();
2449
2524
  Companion_getInstance_1();
2450
- return trimMargin('\n |export namespace ' + $this_emit.ei_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
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 ');
2451
2526
  };
2452
2527
  }
2453
2528
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -2460,10 +2535,10 @@
2460
2535
  var tmp0_subject = $this_emitType;
2461
2536
  var tmp;
2462
2537
  if (tmp0_subject instanceof Literal) {
2463
- tmp = $this_emitType.rj_1;
2538
+ tmp = $this_emitType.sj_1;
2464
2539
  } else {
2465
2540
  if (tmp0_subject instanceof Param) {
2466
- tmp = '${' + this$0.di($this_emitType.ti_1) + '}';
2541
+ tmp = '${' + this$0.ei($this_emitType.ui_1) + '}';
2467
2542
  } else {
2468
2543
  noWhenBranchMatchedException();
2469
2544
  }
@@ -2473,7 +2548,7 @@
2473
2548
  }
2474
2549
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2475
2550
  return function (it) {
2476
- return '"' + this$0.cj(it.zi_1) + '": ' + this$0.cj(it.zi_1);
2551
+ return '"' + this$0.dj(it.aj_1) + '": ' + this$0.dj(it.aj_1);
2477
2552
  };
2478
2553
  }
2479
2554
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2486,10 +2561,10 @@
2486
2561
  var tmp0_subject = $this_emit;
2487
2562
  var tmp;
2488
2563
  if (tmp0_subject instanceof Literal) {
2489
- tmp = $this_emit.rj_1;
2564
+ tmp = $this_emit.sj_1;
2490
2565
  } else {
2491
2566
  if (tmp0_subject instanceof Param) {
2492
- tmp = '${' + $this_emit.si_1.dj_1 + '}';
2567
+ tmp = '${' + $this_emit.ti_1.ej_1 + '}';
2493
2568
  } else {
2494
2569
  noWhenBranchMatchedException();
2495
2570
  }
@@ -2505,12 +2580,12 @@
2505
2580
  Companion_getInstance_1();
2506
2581
  Companion_getInstance_1();
2507
2582
  Companion_getInstance_1();
2508
- tmp.rk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
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 ');
2509
2584
  }
2510
- protoOf(TypeScriptEmitter).qh = function (ast) {
2585
+ protoOf(TypeScriptEmitter).sh = function (ast) {
2511
2586
  var tmp$ret$3;
2512
2587
  // Inline function 'kotlin.collections.map' call
2513
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
2588
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2514
2589
  var tmp$ret$2;
2515
2590
  // Inline function 'kotlin.collections.mapTo' call
2516
2591
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2523,7 +2598,7 @@
2523
2598
  var result = item.j3();
2524
2599
  var tmp$ret$0;
2525
2600
  // Inline function 'kotlin.text.trimStart' call
2526
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().kk(ast) ? this.rk_1 : '') + '\n |' + result + '\n ');
2601
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().lk(ast) ? this.sk_1 : '') + '\n |' + result + '\n ');
2527
2602
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2528
2603
  tmp$ret$1 = to(name, tmp$ret$0);
2529
2604
  tmp0_mapTo.a(tmp$ret$1);
@@ -2532,57 +2607,57 @@
2532
2607
  tmp$ret$3 = tmp$ret$2;
2533
2608
  return tmp$ret$3;
2534
2609
  };
2535
- protoOf(TypeScriptEmitter).sj = function (_this__u8e3s4) {
2536
- return this.tj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2537
- };
2538
- protoOf(TypeScriptEmitter).wi = function (_this__u8e3s4) {
2539
- return this.uj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2610
+ protoOf(TypeScriptEmitter).tj = function (_this__u8e3s4) {
2611
+ return this.uj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2540
2612
  };
2541
2613
  protoOf(TypeScriptEmitter).xi = function (_this__u8e3s4) {
2542
- return this.vj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2614
+ return this.vj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2615
+ };
2616
+ protoOf(TypeScriptEmitter).yi = function (_this__u8e3s4) {
2617
+ return this.wj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2543
2618
  };
2544
- protoOf(TypeScriptEmitter).cj = function (_this__u8e3s4) {
2545
- return this.wj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2619
+ protoOf(TypeScriptEmitter).dj = function (_this__u8e3s4) {
2620
+ return this.xj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2546
2621
  };
2547
- protoOf(TypeScriptEmitter).di = function (_this__u8e3s4) {
2548
- return this.th(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2622
+ protoOf(TypeScriptEmitter).ei = function (_this__u8e3s4) {
2623
+ return this.vh(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2549
2624
  };
2550
- protoOf(TypeScriptEmitter).xj = function (_this__u8e3s4) {
2551
- return this.yj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2625
+ protoOf(TypeScriptEmitter).yj = function (_this__u8e3s4) {
2626
+ return this.zj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2552
2627
  };
2553
- protoOf(TypeScriptEmitter).zj = function (_this__u8e3s4) {
2554
- return this.ak(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2628
+ protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2629
+ return this.bk(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2555
2630
  };
2556
- protoOf(TypeScriptEmitter).oj = function (_this__u8e3s4) {
2557
- return this.bk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2631
+ protoOf(TypeScriptEmitter).pj = function (_this__u8e3s4) {
2632
+ return this.ck(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2558
2633
  };
2559
- protoOf(TypeScriptEmitter).ck = function (_this__u8e3s4) {
2560
- return this.dk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2634
+ protoOf(TypeScriptEmitter).dk = function (_this__u8e3s4) {
2635
+ return this.ek(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2561
2636
  };
2562
2637
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2563
2638
  return function () {
2564
- return trimMargin('type ' + $this_emit.ui_1 + ' {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |');
2639
+ return trimMargin('type ' + $this_emit.vi_1 + ' {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |');
2565
2640
  };
2566
2641
  }
2567
2642
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2568
2643
  return function (it) {
2569
- return this$0.xi(it);
2644
+ return this$0.yi(it);
2570
2645
  };
2571
2646
  }
2572
2647
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2573
2648
  return function () {
2574
- return dropLast(joinToString($this_emit.yi_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2649
+ return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2575
2650
  };
2576
2651
  }
2577
2652
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2578
2653
  return function () {
2579
2654
  Companion_getInstance_1();
2580
- return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1) + ',';
2655
+ return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1) + ',';
2581
2656
  };
2582
2657
  }
2583
2658
  function WirespecEmitter$emit$lambda_2($this_emit) {
2584
2659
  return function () {
2585
- return $this_emit.dj_1;
2660
+ return $this_emit.ej_1;
2586
2661
  };
2587
2662
  }
2588
2663
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2591,37 +2666,41 @@
2591
2666
  // Inline function 'kotlin.let' call
2592
2667
  var tmp0_subject = $this_emit;
2593
2668
  var tmp;
2594
- if (tmp0_subject instanceof Custom) {
2595
- tmp = $this_emit.hj_1;
2669
+ if (tmp0_subject instanceof Any) {
2670
+ tmp = 'Any';
2596
2671
  } else {
2597
- if (tmp0_subject instanceof Primitive) {
2598
- var tmp1_subject = $this_emit.ej_1;
2599
- var tmp0 = tmp1_subject.q4_1;
2600
- var tmp_0;
2601
- switch (tmp0) {
2602
- case 0:
2603
- tmp_0 = 'String';
2604
- break;
2605
- case 1:
2606
- tmp_0 = 'Integer';
2607
- break;
2608
- case 2:
2609
- tmp_0 = 'Boolean';
2610
- break;
2611
- default:
2612
- noWhenBranchMatchedException();
2613
- break;
2614
- }
2615
- tmp = tmp_0;
2672
+ if (tmp0_subject instanceof Custom) {
2673
+ tmp = $this_emit.ij_1;
2616
2674
  } else {
2617
- noWhenBranchMatchedException();
2675
+ if (tmp0_subject instanceof Primitive) {
2676
+ var tmp1_subject = $this_emit.fj_1;
2677
+ var tmp0 = tmp1_subject.q4_1;
2678
+ var tmp_0;
2679
+ switch (tmp0) {
2680
+ case 0:
2681
+ tmp_0 = 'String';
2682
+ break;
2683
+ case 1:
2684
+ tmp_0 = 'Integer';
2685
+ break;
2686
+ case 2:
2687
+ tmp_0 = 'Boolean';
2688
+ break;
2689
+ default:
2690
+ noWhenBranchMatchedException();
2691
+ break;
2692
+ }
2693
+ tmp = tmp_0;
2694
+ } else {
2695
+ noWhenBranchMatchedException();
2696
+ }
2618
2697
  }
2619
2698
  }
2620
2699
  var tmp0_let = tmp;
2621
2700
  // Inline function 'kotlin.contracts.contract' call
2622
2701
  var tmp$ret$0;
2623
2702
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
2624
- tmp$ret$0 = $this_emit.qi() ? tmp0_let + '[]' : tmp0_let;
2703
+ tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2625
2704
  tmp$ret$1 = tmp$ret$0;
2626
2705
  return tmp$ret$1;
2627
2706
  };
@@ -2629,17 +2708,17 @@
2629
2708
  function WirespecEmitter$emit$lambda_4($this_emit) {
2630
2709
  return function () {
2631
2710
  Companion_getInstance_1();
2632
- return 'enum ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + '\n}\n';
2711
+ return 'enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, ', ') + '\n}\n';
2633
2712
  };
2634
2713
  }
2635
2714
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2636
2715
  return function () {
2637
- return 'refined ' + $this_emit.mj_1 + ' ' + this$0.oj($this_emit.nj_1) + '\n';
2716
+ return 'refined ' + $this_emit.nj_1 + ' ' + this$0.pj($this_emit.oj_1) + '\n';
2638
2717
  };
2639
2718
  }
2640
2719
  function WirespecEmitter$emit$lambda_6($this_emit) {
2641
2720
  return function () {
2642
- return '/' + dropLast(drop($this_emit.pj_1, 1), 1) + '/g';
2721
+ return '/' + dropLast(drop($this_emit.qj_1, 1), 1) + '/g';
2643
2722
  };
2644
2723
  }
2645
2724
  function WirespecEmitter$emit$lambda_7() {
@@ -2649,32 +2728,32 @@
2649
2728
  logger = logger === VOID ? get_noLogger() : logger;
2650
2729
  Emitter.call(this, logger);
2651
2730
  }
2652
- protoOf(WirespecEmitter).sj = function (_this__u8e3s4) {
2653
- return this.tj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2654
- };
2655
- protoOf(WirespecEmitter).wi = function (_this__u8e3s4) {
2656
- return this.uj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2731
+ protoOf(WirespecEmitter).tj = function (_this__u8e3s4) {
2732
+ return this.uj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2657
2733
  };
2658
2734
  protoOf(WirespecEmitter).xi = function (_this__u8e3s4) {
2659
- return this.vj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2735
+ return this.vj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2660
2736
  };
2661
- protoOf(WirespecEmitter).cj = function (_this__u8e3s4) {
2662
- return this.wj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2737
+ protoOf(WirespecEmitter).yi = function (_this__u8e3s4) {
2738
+ return this.wj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2663
2739
  };
2664
- protoOf(WirespecEmitter).di = function (_this__u8e3s4) {
2665
- return this.th(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2740
+ protoOf(WirespecEmitter).dj = function (_this__u8e3s4) {
2741
+ return this.xj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2666
2742
  };
2667
- protoOf(WirespecEmitter).xj = function (_this__u8e3s4) {
2668
- return this.yj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2743
+ protoOf(WirespecEmitter).ei = function (_this__u8e3s4) {
2744
+ return this.vh(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2669
2745
  };
2670
- protoOf(WirespecEmitter).zj = function (_this__u8e3s4) {
2671
- return this.ak(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2746
+ protoOf(WirespecEmitter).yj = function (_this__u8e3s4) {
2747
+ return this.zj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2672
2748
  };
2673
- protoOf(WirespecEmitter).oj = function (_this__u8e3s4) {
2674
- return this.bk(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2749
+ protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2750
+ return this.bk(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2675
2751
  };
2676
- protoOf(WirespecEmitter).ck = function (_this__u8e3s4) {
2677
- return this.dk(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_7);
2752
+ protoOf(WirespecEmitter).pj = function (_this__u8e3s4) {
2753
+ return this.ck(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2754
+ };
2755
+ protoOf(WirespecEmitter).dk = function (_this__u8e3s4) {
2756
+ return this.ek(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_7);
2678
2757
  };
2679
2758
  function get_DEFAULT_PACKAGE_NAME() {
2680
2759
  return DEFAULT_PACKAGE_NAME;
@@ -2682,9 +2761,9 @@
2682
2761
  var DEFAULT_PACKAGE_NAME;
2683
2762
  function Companion_0() {
2684
2763
  Companion_instance_0 = this;
2685
- this.oi_1 = ' ';
2764
+ this.pi_1 = ' ';
2686
2765
  }
2687
- protoOf(Companion_0).pi = function (_this__u8e3s4) {
2766
+ protoOf(Companion_0).qi = function (_this__u8e3s4) {
2688
2767
  var tmp$ret$6;
2689
2768
  // Inline function 'kotlin.text.replaceFirstChar' call
2690
2769
  var tmp;
@@ -2718,7 +2797,7 @@
2718
2797
  tmp$ret$6 = tmp;
2719
2798
  return tmp$ret$6;
2720
2799
  };
2721
- protoOf(Companion_0).qj = function (_this__u8e3s4) {
2800
+ protoOf(Companion_0).rj = function (_this__u8e3s4) {
2722
2801
  var tmp$ret$6;
2723
2802
  // Inline function 'kotlin.text.replaceFirstChar' call
2724
2803
  var tmp;
@@ -2752,7 +2831,7 @@
2752
2831
  tmp$ret$6 = tmp;
2753
2832
  return tmp$ret$6;
2754
2833
  };
2755
- protoOf(Companion_0).kk = function (_this__u8e3s4) {
2834
+ protoOf(Companion_0).lk = function (_this__u8e3s4) {
2756
2835
  var tmp$ret$0;
2757
2836
  $l$block_0: {
2758
2837
  // Inline function 'kotlin.collections.any' call
@@ -2781,12 +2860,12 @@
2781
2860
  }
2782
2861
  return tmp$ret$0;
2783
2862
  };
2784
- protoOf(Companion_0).sk = function (_this__u8e3s4, content) {
2863
+ protoOf(Companion_0).tk = function (_this__u8e3s4, content) {
2785
2864
  var tmp$ret$4;
2786
2865
  // Inline function 'kotlin.collections.map' call
2787
2866
  var tmp$ret$1;
2788
2867
  // Inline function 'kotlin.collections.filterIsInstance' call
2789
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
2868
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
2790
2869
  var tmp$ret$0;
2791
2870
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2792
2871
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2808,18 +2887,18 @@
2808
2887
  var item = tmp0_iterator_0.e();
2809
2888
  var tmp$ret$2;
2810
2889
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2811
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
2890
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
2812
2891
  tmp2_mapTo.a(tmp$ret$2);
2813
2892
  }
2814
2893
  tmp$ret$3 = tmp2_mapTo;
2815
2894
  tmp$ret$4 = tmp$ret$3;
2816
2895
  var pathField = tmp$ret$4;
2817
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
2896
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
2818
2897
  var tmp0_safe_receiver = content;
2819
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
2898
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
2820
2899
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2821
2900
  };
2822
- protoOf(Companion_0).ek = function (_this__u8e3s4) {
2901
+ protoOf(Companion_0).fk = function (_this__u8e3s4) {
2823
2902
  return !(toIntOrNull(_this__u8e3s4) == null);
2824
2903
  };
2825
2904
  var Companion_instance_0;
@@ -2834,10 +2913,10 @@
2834
2913
  function Emitter(logger, split) {
2835
2914
  Companion_getInstance_1();
2836
2915
  split = split === VOID ? false : split;
2837
- this.oh_1 = logger;
2838
- this.ph_1 = split;
2916
+ this.qh_1 = logger;
2917
+ this.rh_1 = split;
2839
2918
  }
2840
- protoOf(Emitter).qh = function (ast) {
2919
+ protoOf(Emitter).sh = function (ast) {
2841
2920
  var tmp$ret$4;
2842
2921
  // Inline function 'kotlin.run' call
2843
2922
  var tmp$ret$2;
@@ -2850,20 +2929,20 @@
2850
2929
  var item = tmp0_iterator.e();
2851
2930
  var tmp$ret$0;
2852
2931
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2853
- this.oh_1.ih('Emitting Node ' + this);
2932
+ this.qh_1.kh('Emitting Node ' + this);
2854
2933
  var tmp0_subject = item;
2855
2934
  var tmp;
2856
2935
  if (tmp0_subject instanceof Type_0) {
2857
- tmp = to(item.ui_1, this.sj(item));
2936
+ tmp = to(item.vi_1, this.tj(item));
2858
2937
  } else {
2859
2938
  if (tmp0_subject instanceof Endpoint) {
2860
- tmp = to(item.ei_1, this.ck(item));
2939
+ tmp = to(item.fi_1, this.dk(item));
2861
2940
  } else {
2862
2941
  if (tmp0_subject instanceof Enum_0) {
2863
- tmp = to(item.kj_1, this.xj(item));
2942
+ tmp = to(item.lj_1, this.yj(item));
2864
2943
  } else {
2865
2944
  if (tmp0_subject instanceof Refined) {
2866
- tmp = to(item.mj_1, this.zj(item));
2945
+ tmp = to(item.nj_1, this.ak(item));
2867
2946
  } else {
2868
2947
  noWhenBranchMatchedException();
2869
2948
  }
@@ -2880,7 +2959,7 @@
2880
2959
  var tmp$ret$3;
2881
2960
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2882
2961
  var tmp_0;
2883
- if (this.ph_1) {
2962
+ if (this.rh_1) {
2884
2963
  tmp_0 = tmp1_run;
2885
2964
  } else {
2886
2965
  tmp_0 = listOf_0(to('NoName', joinToString(tmp1_run, '\n', VOID, VOID, VOID, VOID, Emitter$emit$lambda)));
@@ -2906,7 +2985,7 @@
2906
2985
  captureStack(this, NextException);
2907
2986
  }
2908
2987
  function WrongTokenException(expected, actual) {
2909
- ParserException.call(this, actual.yk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.wk_1).fc() + ' at line ' + actual.yk_1.zk_1 + ' and position ' + (actual.yk_1.al_1 - actual.xk_1.length | 0));
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));
2910
2989
  captureStack(this, WrongTokenException);
2911
2990
  }
2912
2991
  function NullTokenException(message, coordinates) {
@@ -2924,7 +3003,7 @@
2924
3003
  function WirespecException(message, coordinates) {
2925
3004
  RuntimeException_init_$Init$(message, this);
2926
3005
  captureStack(this, WirespecException);
2927
- this.cl_1 = coordinates;
3006
+ this.dl_1 = coordinates;
2928
3007
  }
2929
3008
  function optimize(_this__u8e3s4) {
2930
3009
  var tmp$ret$2;
@@ -2937,10 +3016,10 @@
2937
3016
  var item = tmp0_iterator.e();
2938
3017
  var tmp$ret$0;
2939
3018
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2940
- var tmp0_subject = item.wk_1;
3019
+ var tmp0_subject = item.xk_1;
2941
3020
  var tmp;
2942
3021
  if (tmp0_subject instanceof CustomRegex) {
2943
- tmp = item.dl(VOID, '"' + dropLast(drop(item.xk_1, 1), 2) + '"');
3022
+ tmp = item.el(VOID, '"' + dropLast(drop(item.yk_1, 1), 2) + '"');
2944
3023
  } else {
2945
3024
  tmp = item;
2946
3025
  }
@@ -2978,34 +3057,73 @@
2978
3057
  Type_initEntries();
2979
3058
  return Type_Boolean_instance;
2980
3059
  }
2981
- function Custom(value, isIterable, isMap) {
3060
+ function Any(isIterable, isMap) {
2982
3061
  isMap = isMap === VOID ? false : isMap;
2983
- this.hj_1 = value;
2984
- this.ij_1 = isIterable;
2985
- this.jj_1 = isMap;
3062
+ this.fl_1 = isIterable;
3063
+ this.gl_1 = isMap;
2986
3064
  }
2987
- protoOf(Custom).qi = function () {
2988
- return this.ij_1;
3065
+ protoOf(Any).ri = function () {
3066
+ return this.fl_1;
3067
+ };
3068
+ protoOf(Any).kk = function () {
3069
+ return this.gl_1;
3070
+ };
3071
+ protoOf(Any).hl = function (isIterable, isMap) {
3072
+ return new Any(isIterable, isMap);
3073
+ };
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);
3078
+ };
3079
+ protoOf(Any).toString = function () {
3080
+ return 'Any(isIterable=' + this.fl_1 + ', isMap=' + this.gl_1 + ')';
3081
+ };
3082
+ protoOf(Any).hashCode = function () {
3083
+ var result = this.fl_1 | 0;
3084
+ result = imul(result, 31) + (this.gl_1 | 0) | 0;
3085
+ return result;
3086
+ };
3087
+ protoOf(Any).equals = function (other) {
3088
+ if (this === other)
3089
+ return true;
3090
+ if (!(other instanceof Any))
3091
+ return false;
3092
+ var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3093
+ if (!(this.fl_1 === tmp0_other_with_cast.fl_1))
3094
+ return false;
3095
+ if (!(this.gl_1 === tmp0_other_with_cast.gl_1))
3096
+ return false;
3097
+ return true;
2989
3098
  };
2990
- protoOf(Custom).jk = function () {
3099
+ function Custom(value, isIterable, isMap) {
3100
+ isMap = isMap === VOID ? false : isMap;
3101
+ this.ij_1 = value;
3102
+ this.jj_1 = isIterable;
3103
+ this.kj_1 = isMap;
3104
+ }
3105
+ protoOf(Custom).ri = function () {
2991
3106
  return this.jj_1;
2992
3107
  };
2993
- protoOf(Custom).el = function (value, isIterable, isMap) {
3108
+ protoOf(Custom).kk = function () {
3109
+ return this.kj_1;
3110
+ };
3111
+ protoOf(Custom).jl = function (value, isIterable, isMap) {
2994
3112
  return new Custom(value, isIterable, isMap);
2995
3113
  };
2996
- protoOf(Custom).fl = function (value, isIterable, isMap, $super) {
2997
- value = value === VOID ? this.hj_1 : value;
2998
- isIterable = isIterable === VOID ? this.ij_1 : isIterable;
2999
- isMap = isMap === VOID ? this.jj_1 : isMap;
3000
- return $super === VOID ? this.el(value, isIterable, isMap) : $super.el.call(this, value, isIterable, isMap);
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);
3001
3119
  };
3002
3120
  protoOf(Custom).toString = function () {
3003
- return 'Custom(value=' + this.hj_1 + ', isIterable=' + this.ij_1 + ', isMap=' + this.jj_1 + ')';
3121
+ return 'Custom(value=' + this.ij_1 + ', isIterable=' + this.jj_1 + ', isMap=' + this.kj_1 + ')';
3004
3122
  };
3005
3123
  protoOf(Custom).hashCode = function () {
3006
- var result = getStringHashCode(this.hj_1);
3007
- result = imul(result, 31) + (this.ij_1 | 0) | 0;
3124
+ var result = getStringHashCode(this.ij_1);
3008
3125
  result = imul(result, 31) + (this.jj_1 | 0) | 0;
3126
+ result = imul(result, 31) + (this.kj_1 | 0) | 0;
3009
3127
  return result;
3010
3128
  };
3011
3129
  protoOf(Custom).equals = function (other) {
@@ -3014,33 +3132,42 @@
3014
3132
  if (!(other instanceof Custom))
3015
3133
  return false;
3016
3134
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
3017
- if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3018
- return false;
3019
3135
  if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3020
3136
  return false;
3021
3137
  if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3022
3138
  return false;
3139
+ if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3140
+ return false;
3023
3141
  return true;
3024
3142
  };
3025
3143
  function Primitive(type, isIterable, isMap) {
3026
3144
  isMap = isMap === VOID ? false : isMap;
3027
- this.ej_1 = type;
3028
- this.fj_1 = isIterable;
3029
- this.gj_1 = isMap;
3145
+ this.fj_1 = type;
3146
+ this.gj_1 = isIterable;
3147
+ this.hj_1 = isMap;
3030
3148
  }
3031
- protoOf(Primitive).qi = function () {
3032
- return this.fj_1;
3033
- };
3034
- protoOf(Primitive).jk = function () {
3149
+ protoOf(Primitive).ri = function () {
3035
3150
  return this.gj_1;
3036
3151
  };
3152
+ protoOf(Primitive).kk = function () {
3153
+ return this.hj_1;
3154
+ };
3155
+ protoOf(Primitive).ll = function (type, isIterable, isMap) {
3156
+ return new Primitive(type, isIterable, isMap);
3157
+ };
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);
3163
+ };
3037
3164
  protoOf(Primitive).toString = function () {
3038
- return 'Primitive(type=' + this.ej_1 + ', isIterable=' + this.fj_1 + ', isMap=' + this.gj_1 + ')';
3165
+ return 'Primitive(type=' + this.fj_1 + ', isIterable=' + this.gj_1 + ', isMap=' + this.hj_1 + ')';
3039
3166
  };
3040
3167
  protoOf(Primitive).hashCode = function () {
3041
- var result = this.ej_1.hashCode();
3042
- result = imul(result, 31) + (this.fj_1 | 0) | 0;
3168
+ var result = this.fj_1.hashCode();
3043
3169
  result = imul(result, 31) + (this.gj_1 | 0) | 0;
3170
+ result = imul(result, 31) + (this.hj_1 | 0) | 0;
3044
3171
  return result;
3045
3172
  };
3046
3173
  protoOf(Primitive).equals = function (other) {
@@ -3049,22 +3176,22 @@
3049
3176
  if (!(other instanceof Primitive))
3050
3177
  return false;
3051
3178
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
3052
- if (!this.ej_1.equals(tmp0_other_with_cast.ej_1))
3053
- return false;
3054
- if (!(this.fj_1 === tmp0_other_with_cast.fj_1))
3179
+ if (!this.fj_1.equals(tmp0_other_with_cast.fj_1))
3055
3180
  return false;
3056
3181
  if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
3057
3182
  return false;
3183
+ if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3184
+ return false;
3058
3185
  return true;
3059
3186
  };
3060
3187
  function Identifier(value) {
3061
- this.dj_1 = value;
3188
+ this.ej_1 = value;
3062
3189
  }
3063
3190
  protoOf(Identifier).toString = function () {
3064
- return 'Identifier(value=' + this.dj_1 + ')';
3191
+ return 'Identifier(value=' + this.ej_1 + ')';
3065
3192
  };
3066
3193
  protoOf(Identifier).hashCode = function () {
3067
- return getStringHashCode(this.dj_1);
3194
+ return getStringHashCode(this.ej_1);
3068
3195
  };
3069
3196
  protoOf(Identifier).equals = function (other) {
3070
3197
  if (this === other)
@@ -3072,22 +3199,22 @@
3072
3199
  if (!(other instanceof Identifier))
3073
3200
  return false;
3074
3201
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
3075
- if (!(this.dj_1 === tmp0_other_with_cast.dj_1))
3202
+ if (!(this.ej_1 === tmp0_other_with_cast.ej_1))
3076
3203
  return false;
3077
3204
  return true;
3078
3205
  };
3079
3206
  function Field(identifier, reference, isNullable) {
3080
- this.zi_1 = identifier;
3081
- this.aj_1 = reference;
3082
- this.bj_1 = isNullable;
3207
+ this.aj_1 = identifier;
3208
+ this.bj_1 = reference;
3209
+ this.cj_1 = isNullable;
3083
3210
  }
3084
3211
  protoOf(Field).toString = function () {
3085
- return 'Field(identifier=' + this.zi_1 + ', reference=' + this.aj_1 + ', isNullable=' + this.bj_1 + ')';
3212
+ return 'Field(identifier=' + this.aj_1 + ', reference=' + this.bj_1 + ', isNullable=' + this.cj_1 + ')';
3086
3213
  };
3087
3214
  protoOf(Field).hashCode = function () {
3088
- var result = this.zi_1.hashCode();
3089
- result = imul(result, 31) + hashCode(this.aj_1) | 0;
3090
- result = imul(result, 31) + (this.bj_1 | 0) | 0;
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;
3091
3218
  return result;
3092
3219
  };
3093
3220
  protoOf(Field).equals = function (other) {
@@ -3096,22 +3223,22 @@
3096
3223
  if (!(other instanceof Field))
3097
3224
  return false;
3098
3225
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
3099
- if (!this.zi_1.equals(tmp0_other_with_cast.zi_1))
3226
+ if (!this.aj_1.equals(tmp0_other_with_cast.aj_1))
3100
3227
  return false;
3101
- if (!equals(this.aj_1, tmp0_other_with_cast.aj_1))
3228
+ if (!equals(this.bj_1, tmp0_other_with_cast.bj_1))
3102
3229
  return false;
3103
- if (!(this.bj_1 === tmp0_other_with_cast.bj_1))
3230
+ if (!(this.cj_1 === tmp0_other_with_cast.cj_1))
3104
3231
  return false;
3105
3232
  return true;
3106
3233
  };
3107
3234
  function Shape(value) {
3108
- this.yi_1 = value;
3235
+ this.zi_1 = value;
3109
3236
  }
3110
3237
  protoOf(Shape).toString = function () {
3111
- return 'Shape(value=' + this.yi_1 + ')';
3238
+ return 'Shape(value=' + this.zi_1 + ')';
3112
3239
  };
3113
3240
  protoOf(Shape).hashCode = function () {
3114
- return hashCode(this.yi_1);
3241
+ return hashCode(this.zi_1);
3115
3242
  };
3116
3243
  protoOf(Shape).equals = function (other) {
3117
3244
  if (this === other)
@@ -3119,20 +3246,20 @@
3119
3246
  if (!(other instanceof Shape))
3120
3247
  return false;
3121
3248
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
3122
- if (!equals(this.yi_1, tmp0_other_with_cast.yi_1))
3249
+ if (!equals(this.zi_1, tmp0_other_with_cast.zi_1))
3123
3250
  return false;
3124
3251
  return true;
3125
3252
  };
3126
3253
  function Type_0(name, shape) {
3127
- this.ui_1 = name;
3128
- this.vi_1 = shape;
3254
+ this.vi_1 = name;
3255
+ this.wi_1 = shape;
3129
3256
  }
3130
3257
  protoOf(Type_0).toString = function () {
3131
- return 'Type(name=' + this.ui_1 + ', shape=' + this.vi_1 + ')';
3258
+ return 'Type(name=' + this.vi_1 + ', shape=' + this.wi_1 + ')';
3132
3259
  };
3133
3260
  protoOf(Type_0).hashCode = function () {
3134
- var result = getStringHashCode(this.ui_1);
3135
- result = imul(result, 31) + this.vi_1.hashCode() | 0;
3261
+ var result = getStringHashCode(this.vi_1);
3262
+ result = imul(result, 31) + this.wi_1.hashCode() | 0;
3136
3263
  return result;
3137
3264
  };
3138
3265
  protoOf(Type_0).equals = function (other) {
@@ -3141,9 +3268,9 @@
3141
3268
  if (!(other instanceof Type_0))
3142
3269
  return false;
3143
3270
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
3144
- if (!(this.ui_1 === tmp0_other_with_cast.ui_1))
3271
+ if (!(this.vi_1 === tmp0_other_with_cast.vi_1))
3145
3272
  return false;
3146
- if (!this.vi_1.equals(tmp0_other_with_cast.vi_1))
3273
+ if (!this.wi_1.equals(tmp0_other_with_cast.wi_1))
3147
3274
  return false;
3148
3275
  return true;
3149
3276
  };
@@ -3173,13 +3300,13 @@
3173
3300
  Method_TRACE_instance = new Method('TRACE', 7);
3174
3301
  }
3175
3302
  function Literal(value) {
3176
- this.rj_1 = value;
3303
+ this.sj_1 = value;
3177
3304
  }
3178
3305
  protoOf(Literal).toString = function () {
3179
- return 'Literal(value=' + this.rj_1 + ')';
3306
+ return 'Literal(value=' + this.sj_1 + ')';
3180
3307
  };
3181
3308
  protoOf(Literal).hashCode = function () {
3182
- return getStringHashCode(this.rj_1);
3309
+ return getStringHashCode(this.sj_1);
3183
3310
  };
3184
3311
  protoOf(Literal).equals = function (other) {
3185
3312
  if (this === other)
@@ -3187,20 +3314,20 @@
3187
3314
  if (!(other instanceof Literal))
3188
3315
  return false;
3189
3316
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
3190
- if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
3317
+ if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
3191
3318
  return false;
3192
3319
  return true;
3193
3320
  };
3194
3321
  function Param(identifier, reference) {
3195
- this.si_1 = identifier;
3196
- this.ti_1 = reference;
3322
+ this.ti_1 = identifier;
3323
+ this.ui_1 = reference;
3197
3324
  }
3198
3325
  protoOf(Param).toString = function () {
3199
- return 'Param(identifier=' + this.si_1 + ', reference=' + this.ti_1 + ')';
3326
+ return 'Param(identifier=' + this.ti_1 + ', reference=' + this.ui_1 + ')';
3200
3327
  };
3201
3328
  protoOf(Param).hashCode = function () {
3202
- var result = this.si_1.hashCode();
3203
- result = imul(result, 31) + hashCode(this.ti_1) | 0;
3329
+ var result = this.ti_1.hashCode();
3330
+ result = imul(result, 31) + hashCode(this.ui_1) | 0;
3204
3331
  return result;
3205
3332
  };
3206
3333
  protoOf(Param).equals = function (other) {
@@ -3209,9 +3336,9 @@
3209
3336
  if (!(other instanceof Param))
3210
3337
  return false;
3211
3338
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
3212
- if (!this.si_1.equals(tmp0_other_with_cast.si_1))
3339
+ if (!this.ti_1.equals(tmp0_other_with_cast.ti_1))
3213
3340
  return false;
3214
- if (!equals(this.ti_1, tmp0_other_with_cast.ti_1))
3341
+ if (!equals(this.ui_1, tmp0_other_with_cast.ui_1))
3215
3342
  return false;
3216
3343
  return true;
3217
3344
  };
@@ -3219,13 +3346,13 @@
3219
3346
  Enum.call(this, name, ordinal);
3220
3347
  }
3221
3348
  function Request(content) {
3222
- this.uh_1 = content;
3349
+ this.wh_1 = content;
3223
3350
  }
3224
3351
  protoOf(Request).toString = function () {
3225
- return 'Request(content=' + this.uh_1 + ')';
3352
+ return 'Request(content=' + this.wh_1 + ')';
3226
3353
  };
3227
3354
  protoOf(Request).hashCode = function () {
3228
- return this.uh_1 == null ? 0 : this.uh_1.hashCode();
3355
+ return this.wh_1 == null ? 0 : this.wh_1.hashCode();
3229
3356
  };
3230
3357
  protoOf(Request).equals = function (other) {
3231
3358
  if (this === other)
@@ -3233,20 +3360,20 @@
3233
3360
  if (!(other instanceof Request))
3234
3361
  return false;
3235
3362
  var tmp0_other_with_cast = other instanceof Request ? other : THROW_CCE();
3236
- if (!equals(this.uh_1, tmp0_other_with_cast.uh_1))
3363
+ if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3237
3364
  return false;
3238
3365
  return true;
3239
3366
  };
3240
3367
  function Response(status, content) {
3241
- this.mi_1 = status;
3242
- this.ni_1 = content;
3368
+ this.ni_1 = status;
3369
+ this.oi_1 = content;
3243
3370
  }
3244
3371
  protoOf(Response).toString = function () {
3245
- return 'Response(status=' + this.mi_1 + ', content=' + this.ni_1 + ')';
3372
+ return 'Response(status=' + this.ni_1 + ', content=' + this.oi_1 + ')';
3246
3373
  };
3247
3374
  protoOf(Response).hashCode = function () {
3248
- var result = getStringHashCode(this.mi_1);
3249
- result = imul(result, 31) + (this.ni_1 == null ? 0 : this.ni_1.hashCode()) | 0;
3375
+ var result = getStringHashCode(this.ni_1);
3376
+ result = imul(result, 31) + (this.oi_1 == null ? 0 : this.oi_1.hashCode()) | 0;
3250
3377
  return result;
3251
3378
  };
3252
3379
  protoOf(Response).equals = function (other) {
@@ -3255,24 +3382,24 @@
3255
3382
  if (!(other instanceof Response))
3256
3383
  return false;
3257
3384
  var tmp0_other_with_cast = other instanceof Response ? other : THROW_CCE();
3258
- if (!(this.mi_1 === tmp0_other_with_cast.mi_1))
3385
+ if (!(this.ni_1 === tmp0_other_with_cast.ni_1))
3259
3386
  return false;
3260
- if (!equals(this.ni_1, tmp0_other_with_cast.ni_1))
3387
+ if (!equals(this.oi_1, tmp0_other_with_cast.oi_1))
3261
3388
  return false;
3262
3389
  return true;
3263
3390
  };
3264
3391
  function Content(type, reference, isNullable) {
3265
- this.vh_1 = type;
3266
- this.wh_1 = reference;
3267
- this.xh_1 = isNullable;
3392
+ this.xh_1 = type;
3393
+ this.yh_1 = reference;
3394
+ this.zh_1 = isNullable;
3268
3395
  }
3269
3396
  protoOf(Content).toString = function () {
3270
- return 'Content(type=' + this.vh_1 + ', reference=' + this.wh_1 + ', isNullable=' + this.xh_1 + ')';
3397
+ return 'Content(type=' + this.xh_1 + ', reference=' + this.yh_1 + ', isNullable=' + this.zh_1 + ')';
3271
3398
  };
3272
3399
  protoOf(Content).hashCode = function () {
3273
- var result = getStringHashCode(this.vh_1);
3274
- result = imul(result, 31) + hashCode(this.wh_1) | 0;
3275
- result = imul(result, 31) + (this.xh_1 | 0) | 0;
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;
3276
3403
  return result;
3277
3404
  };
3278
3405
  protoOf(Content).equals = function (other) {
@@ -3281,11 +3408,11 @@
3281
3408
  if (!(other instanceof Content))
3282
3409
  return false;
3283
3410
  var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
3284
- if (!(this.vh_1 === tmp0_other_with_cast.vh_1))
3411
+ if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3285
3412
  return false;
3286
- if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3413
+ if (!equals(this.yh_1, tmp0_other_with_cast.yh_1))
3287
3414
  return false;
3288
- if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3415
+ if (!(this.zh_1 === tmp0_other_with_cast.zh_1))
3289
3416
  return false;
3290
3417
  return true;
3291
3418
  };
@@ -3322,27 +3449,27 @@
3322
3449
  return Method_TRACE_instance;
3323
3450
  }
3324
3451
  function Endpoint(name, method, path, query, headers, cookies, requests, responses) {
3325
- this.ei_1 = name;
3326
- this.fi_1 = method;
3327
- this.gi_1 = path;
3328
- this.hi_1 = query;
3329
- this.ii_1 = headers;
3330
- this.ji_1 = cookies;
3331
- this.ki_1 = requests;
3332
- this.li_1 = 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;
3333
3460
  }
3334
3461
  protoOf(Endpoint).toString = function () {
3335
- return 'Endpoint(name=' + this.ei_1 + ', method=' + this.fi_1 + ', path=' + this.gi_1 + ', query=' + this.hi_1 + ', headers=' + this.ii_1 + ', cookies=' + this.ji_1 + ', requests=' + this.ki_1 + ', responses=' + this.li_1 + ')';
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 + ')';
3336
3463
  };
3337
3464
  protoOf(Endpoint).hashCode = function () {
3338
- var result = getStringHashCode(this.ei_1);
3339
- result = imul(result, 31) + this.fi_1.hashCode() | 0;
3340
- result = imul(result, 31) + hashCode(this.gi_1) | 0;
3465
+ var result = getStringHashCode(this.fi_1);
3466
+ result = imul(result, 31) + this.gi_1.hashCode() | 0;
3341
3467
  result = imul(result, 31) + hashCode(this.hi_1) | 0;
3342
3468
  result = imul(result, 31) + hashCode(this.ii_1) | 0;
3343
3469
  result = imul(result, 31) + hashCode(this.ji_1) | 0;
3344
3470
  result = imul(result, 31) + hashCode(this.ki_1) | 0;
3345
3471
  result = imul(result, 31) + hashCode(this.li_1) | 0;
3472
+ result = imul(result, 31) + hashCode(this.mi_1) | 0;
3346
3473
  return result;
3347
3474
  };
3348
3475
  protoOf(Endpoint).equals = function (other) {
@@ -3351,11 +3478,9 @@
3351
3478
  if (!(other instanceof Endpoint))
3352
3479
  return false;
3353
3480
  var tmp0_other_with_cast = other instanceof Endpoint ? other : THROW_CCE();
3354
- if (!(this.ei_1 === tmp0_other_with_cast.ei_1))
3355
- return false;
3356
- if (!this.fi_1.equals(tmp0_other_with_cast.fi_1))
3481
+ if (!(this.fi_1 === tmp0_other_with_cast.fi_1))
3357
3482
  return false;
3358
- if (!equals(this.gi_1, tmp0_other_with_cast.gi_1))
3483
+ if (!this.gi_1.equals(tmp0_other_with_cast.gi_1))
3359
3484
  return false;
3360
3485
  if (!equals(this.hi_1, tmp0_other_with_cast.hi_1))
3361
3486
  return false;
@@ -3367,18 +3492,20 @@
3367
3492
  return false;
3368
3493
  if (!equals(this.li_1, tmp0_other_with_cast.li_1))
3369
3494
  return false;
3495
+ if (!equals(this.mi_1, tmp0_other_with_cast.mi_1))
3496
+ return false;
3370
3497
  return true;
3371
3498
  };
3372
3499
  function Enum_0(name, entries) {
3373
- this.kj_1 = name;
3374
- this.lj_1 = entries;
3500
+ this.lj_1 = name;
3501
+ this.mj_1 = entries;
3375
3502
  }
3376
3503
  protoOf(Enum_0).toString = function () {
3377
- return 'Enum(name=' + this.kj_1 + ', entries=' + this.lj_1 + ')';
3504
+ return 'Enum(name=' + this.lj_1 + ', entries=' + this.mj_1 + ')';
3378
3505
  };
3379
3506
  protoOf(Enum_0).hashCode = function () {
3380
- var result = getStringHashCode(this.kj_1);
3381
- result = imul(result, 31) + hashCode(this.lj_1) | 0;
3507
+ var result = getStringHashCode(this.lj_1);
3508
+ result = imul(result, 31) + hashCode(this.mj_1) | 0;
3382
3509
  return result;
3383
3510
  };
3384
3511
  protoOf(Enum_0).equals = function (other) {
@@ -3387,20 +3514,20 @@
3387
3514
  if (!(other instanceof Enum_0))
3388
3515
  return false;
3389
3516
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
3390
- if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3517
+ if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3391
3518
  return false;
3392
- if (!equals(this.lj_1, tmp0_other_with_cast.lj_1))
3519
+ if (!equals(this.mj_1, tmp0_other_with_cast.mj_1))
3393
3520
  return false;
3394
3521
  return true;
3395
3522
  };
3396
3523
  function Validator(value) {
3397
- this.pj_1 = value;
3524
+ this.qj_1 = value;
3398
3525
  }
3399
3526
  protoOf(Validator).toString = function () {
3400
- return 'Validator(value=' + this.pj_1 + ')';
3527
+ return 'Validator(value=' + this.qj_1 + ')';
3401
3528
  };
3402
3529
  protoOf(Validator).hashCode = function () {
3403
- return getStringHashCode(this.pj_1);
3530
+ return getStringHashCode(this.qj_1);
3404
3531
  };
3405
3532
  protoOf(Validator).equals = function (other) {
3406
3533
  if (this === other)
@@ -3408,20 +3535,20 @@
3408
3535
  if (!(other instanceof Validator))
3409
3536
  return false;
3410
3537
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
3411
- if (!(this.pj_1 === tmp0_other_with_cast.pj_1))
3538
+ if (!(this.qj_1 === tmp0_other_with_cast.qj_1))
3412
3539
  return false;
3413
3540
  return true;
3414
3541
  };
3415
3542
  function Refined(name, validator) {
3416
- this.mj_1 = name;
3417
- this.nj_1 = validator;
3543
+ this.nj_1 = name;
3544
+ this.oj_1 = validator;
3418
3545
  }
3419
3546
  protoOf(Refined).toString = function () {
3420
- return 'Refined(name=' + this.mj_1 + ', validator=' + this.nj_1 + ')';
3547
+ return 'Refined(name=' + this.nj_1 + ', validator=' + this.oj_1 + ')';
3421
3548
  };
3422
3549
  protoOf(Refined).hashCode = function () {
3423
- var result = getStringHashCode(this.mj_1);
3424
- result = imul(result, 31) + this.nj_1.hashCode() | 0;
3550
+ var result = getStringHashCode(this.nj_1);
3551
+ result = imul(result, 31) + this.oj_1.hashCode() | 0;
3425
3552
  return result;
3426
3553
  };
3427
3554
  protoOf(Refined).equals = function (other) {
@@ -3430,9 +3557,9 @@
3430
3557
  if (!(other instanceof Refined))
3431
3558
  return false;
3432
3559
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
3433
- if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3560
+ if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
3434
3561
  return false;
3435
- if (!this.nj_1.equals(tmp0_other_with_cast.nj_1))
3562
+ if (!this.oj_1.equals(tmp0_other_with_cast.oj_1))
3436
3563
  return false;
3437
3564
  return true;
3438
3565
  };
@@ -3475,7 +3602,7 @@
3475
3602
  var item = tmp0_iterator.e();
3476
3603
  var tmp$ret$2;
3477
3604
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>.<anonymous>' call
3478
- tmp$ret$2 = raise.ch(item);
3605
+ tmp$ret$2 = raise.eh(item);
3479
3606
  tmp1_mapTo.a(tmp$ret$2);
3480
3607
  }
3481
3608
  tmp$ret$3 = tmp1_mapTo;
@@ -3483,7 +3610,7 @@
3483
3610
  tmp$ret$5 = tmp$ret$4;
3484
3611
  tmp$ret$6 = tmp$ret$5;
3485
3612
  var res = tmp$ret$6;
3486
- raise.zg();
3613
+ raise.bh();
3487
3614
  var tmp$ret$7;
3488
3615
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3489
3616
  tmp$ret$7 = new Right(res);
@@ -3492,7 +3619,7 @@
3492
3619
  var tmp_0;
3493
3620
  if ($p instanceof CancellationException) {
3494
3621
  var e = $p;
3495
- raise.zg();
3622
+ raise.bh();
3496
3623
  var tmp$ret$8;
3497
3624
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3498
3625
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3501,7 +3628,7 @@
3501
3628
  } else {
3502
3629
  if ($p instanceof Error) {
3503
3630
  var e_0 = $p;
3504
- raise.zg();
3631
+ raise.bh();
3505
3632
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3506
3633
  throw tmp0__anonymous__q1qw7t;
3507
3634
  } else {
@@ -3531,37 +3658,37 @@
3531
3658
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3532
3659
  var tmp$ret$2;
3533
3660
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3534
- log(_this__u8e3s4.il_1, $this);
3535
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3661
+ log(_this__u8e3s4.pl_1, $this);
3662
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3536
3663
  var tmp_0;
3537
3664
  if (tmp0_subject instanceof WsTypeDef) {
3538
- tmp_0 = raise.ch(parseTypeDeclaration(_this__u8e3s4, $this));
3665
+ tmp_0 = raise.eh(parseTypeDeclaration(_this__u8e3s4, $this));
3539
3666
  } else {
3540
3667
  if (tmp0_subject instanceof WsEnumTypeDef) {
3541
- tmp_0 = raise.ch(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3668
+ tmp_0 = raise.eh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3542
3669
  } else {
3543
3670
  if (tmp0_subject instanceof WsRefinedTypeDef) {
3544
- tmp_0 = raise.ch(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3671
+ tmp_0 = raise.eh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3545
3672
  } else {
3546
3673
  var tmp$ret$1;
3547
3674
  // Inline function 'arrow.core.nel' call
3548
3675
  var tmp$ret$0;
3549
3676
  // Inline function 'kotlin.also' call
3550
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.il_1);
3677
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.pl_1);
3551
3678
  // Inline function 'kotlin.contracts.contract' call
3552
3679
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3553
- raise.ch(_this__u8e3s4.kl());
3680
+ raise.eh(_this__u8e3s4.rl());
3554
3681
  tmp$ret$0 = tmp0_also;
3555
3682
  var tmp1_nel = tmp$ret$0;
3556
3683
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3557
- raise.bh(tmp$ret$1);
3684
+ raise.dh(tmp$ret$1);
3558
3685
  }
3559
3686
  }
3560
3687
  }
3561
3688
  tmp$ret$2 = tmp_0;
3562
3689
  tmp$ret$3 = tmp$ret$2;
3563
3690
  var res = tmp$ret$3;
3564
- raise.zg();
3691
+ raise.bh();
3565
3692
  var tmp$ret$4;
3566
3693
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3567
3694
  tmp$ret$4 = new Right(res);
@@ -3570,7 +3697,7 @@
3570
3697
  var tmp_1;
3571
3698
  if ($p instanceof CancellationException) {
3572
3699
  var e = $p;
3573
- raise.zg();
3700
+ raise.bh();
3574
3701
  var tmp$ret$5;
3575
3702
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3576
3703
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3579,7 +3706,7 @@
3579
3706
  } else {
3580
3707
  if ($p instanceof Error) {
3581
3708
  var e_0 = $p;
3582
- raise.zg();
3709
+ raise.bh();
3583
3710
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3584
3711
  throw tmp0__anonymous__q1qw7t;
3585
3712
  } else {
@@ -3609,30 +3736,30 @@
3609
3736
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3610
3737
  var tmp$ret$2;
3611
3738
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3612
- raise.ch(_this__u8e3s4.kl());
3613
- log(_this__u8e3s4.il_1, $this);
3614
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3739
+ raise.eh(_this__u8e3s4.rl());
3740
+ log(_this__u8e3s4.pl_1, $this);
3741
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3615
3742
  var tmp_0;
3616
3743
  if (tmp0_subject instanceof CustomType) {
3617
- tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
3744
+ tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
3618
3745
  } else {
3619
3746
  var tmp$ret$1;
3620
3747
  // Inline function 'arrow.core.nel' call
3621
3748
  var tmp$ret$0;
3622
3749
  // Inline function 'kotlin.also' call
3623
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
3750
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3624
3751
  // Inline function 'kotlin.contracts.contract' call
3625
3752
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3626
- raise.ch(_this__u8e3s4.kl());
3753
+ raise.eh(_this__u8e3s4.rl());
3627
3754
  tmp$ret$0 = tmp0_also;
3628
3755
  var tmp1_nel = tmp$ret$0;
3629
3756
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3630
- raise.bh(tmp$ret$1);
3757
+ raise.dh(tmp$ret$1);
3631
3758
  }
3632
3759
  tmp$ret$2 = tmp_0;
3633
3760
  tmp$ret$3 = tmp$ret$2;
3634
3761
  var res = tmp$ret$3;
3635
- raise.zg();
3762
+ raise.bh();
3636
3763
  var tmp$ret$4;
3637
3764
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3638
3765
  tmp$ret$4 = new Right(res);
@@ -3641,7 +3768,7 @@
3641
3768
  var tmp_1;
3642
3769
  if ($p instanceof CancellationException) {
3643
3770
  var e = $p;
3644
- raise.zg();
3771
+ raise.bh();
3645
3772
  var tmp$ret$5;
3646
3773
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3647
3774
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3650,7 +3777,7 @@
3650
3777
  } else {
3651
3778
  if ($p instanceof Error) {
3652
3779
  var e_0 = $p;
3653
- raise.zg();
3780
+ raise.bh();
3654
3781
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3655
3782
  throw tmp0__anonymous__q1qw7t;
3656
3783
  } else {
@@ -3680,53 +3807,53 @@
3680
3807
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3681
3808
  var tmp$ret$5;
3682
3809
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3683
- raise.ch(_this__u8e3s4.kl());
3684
- log(_this__u8e3s4.il_1, $this);
3810
+ raise.eh(_this__u8e3s4.rl());
3811
+ log(_this__u8e3s4.pl_1, $this);
3685
3812
  var tmp$ret$4;
3686
3813
  // Inline function 'kotlin.also' call
3687
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3814
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3688
3815
  var tmp_0;
3689
3816
  if (tmp0_subject instanceof LeftCurly) {
3690
- tmp_0 = new Type_0(typeName, raise.ch(parseTypeShape(_this__u8e3s4, $this)));
3817
+ tmp_0 = new Type_0(typeName, raise.eh(parseTypeShape(_this__u8e3s4, $this)));
3691
3818
  } else {
3692
3819
  var tmp$ret$1;
3693
3820
  // Inline function 'arrow.core.nel' call
3694
3821
  var tmp$ret$0;
3695
3822
  // Inline function 'kotlin.also' call
3696
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.il_1);
3823
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
3697
3824
  // Inline function 'kotlin.contracts.contract' call
3698
3825
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3699
- raise.ch(_this__u8e3s4.kl());
3826
+ raise.eh(_this__u8e3s4.rl());
3700
3827
  tmp$ret$0 = tmp0_also;
3701
3828
  var tmp1_nel = tmp$ret$0;
3702
3829
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3703
- raise.bh(tmp$ret$1);
3830
+ raise.dh(tmp$ret$1);
3704
3831
  }
3705
3832
  var tmp2_also = tmp_0;
3706
3833
  // Inline function 'kotlin.contracts.contract' call
3707
3834
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3708
- var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
3835
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3709
3836
  if (tmp0_subject_0 instanceof RightCurly)
3710
- raise.ch(_this__u8e3s4.kl());
3837
+ raise.eh(_this__u8e3s4.rl());
3711
3838
  else {
3712
3839
  var tmp$ret$3;
3713
3840
  // Inline function 'arrow.core.nel' call
3714
3841
  var tmp$ret$2;
3715
3842
  // Inline function 'kotlin.also' call
3716
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.il_1);
3843
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
3717
3844
  // Inline function 'kotlin.contracts.contract' call
3718
3845
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3719
- raise.ch(_this__u8e3s4.kl());
3846
+ raise.eh(_this__u8e3s4.rl());
3720
3847
  tmp$ret$2 = tmp0_also_0;
3721
3848
  var tmp1_nel_0 = tmp$ret$2;
3722
3849
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
3723
- raise.bh(tmp$ret$3);
3850
+ raise.dh(tmp$ret$3);
3724
3851
  }
3725
3852
  tmp$ret$4 = tmp2_also;
3726
3853
  tmp$ret$5 = tmp$ret$4;
3727
3854
  tmp$ret$6 = tmp$ret$5;
3728
3855
  var res = tmp$ret$6;
3729
- raise.zg();
3856
+ raise.bh();
3730
3857
  var tmp$ret$7;
3731
3858
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3732
3859
  tmp$ret$7 = new Right(res);
@@ -3735,7 +3862,7 @@
3735
3862
  var tmp_1;
3736
3863
  if ($p instanceof CancellationException) {
3737
3864
  var e = $p;
3738
- raise.zg();
3865
+ raise.bh();
3739
3866
  var tmp$ret$8;
3740
3867
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3741
3868
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3744,7 +3871,7 @@
3744
3871
  } else {
3745
3872
  if ($p instanceof Error) {
3746
3873
  var e_0 = $p;
3747
- raise.zg();
3874
+ raise.bh();
3748
3875
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3749
3876
  throw tmp0__anonymous__q1qw7t;
3750
3877
  } else {
@@ -3774,11 +3901,11 @@
3774
3901
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3775
3902
  var tmp$ret$7;
3776
3903
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3777
- raise.ch(_this__u8e3s4.kl());
3778
- log(_this__u8e3s4.il_1, $this);
3904
+ raise.eh(_this__u8e3s4.rl());
3905
+ log(_this__u8e3s4.pl_1, $this);
3779
3906
  var tmp$ret$6;
3780
3907
  // Inline function 'kotlin.let' call
3781
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
3908
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3782
3909
  var tmp_0;
3783
3910
  if (tmp0_subject instanceof CustomValue) {
3784
3911
  var tmp$ret$3;
@@ -3789,25 +3916,25 @@
3789
3916
  var tmp0_apply = tmp$ret$0;
3790
3917
  // Inline function 'kotlin.contracts.contract' call
3791
3918
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3792
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.il_1.xk_1))));
3793
- while (equals(_this__u8e3s4.il_1.wk_1, Comma_getInstance())) {
3794
- raise.ch(_this__u8e3s4.kl());
3795
- var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
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;
3796
3923
  if (tmp0_subject_0 instanceof CustomValue) {
3797
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.il_1.xk_1))));
3924
+ tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3798
3925
  } else {
3799
3926
  var tmp$ret$2;
3800
3927
  // Inline function 'arrow.core.nel' call
3801
3928
  var tmp$ret$1;
3802
3929
  // Inline function 'kotlin.also' call
3803
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.il_1);
3930
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3804
3931
  // Inline function 'kotlin.contracts.contract' call
3805
3932
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3806
- raise.ch(_this__u8e3s4.kl());
3933
+ raise.eh(_this__u8e3s4.rl());
3807
3934
  tmp$ret$1 = tmp0_also;
3808
3935
  var tmp1_nel = tmp$ret$1;
3809
3936
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
3810
- raise.bh(tmp$ret$2);
3937
+ raise.dh(tmp$ret$2);
3811
3938
  }
3812
3939
  }
3813
3940
  tmp$ret$3 = tmp0_apply;
@@ -3817,14 +3944,14 @@
3817
3944
  // Inline function 'arrow.core.nel' call
3818
3945
  var tmp$ret$4;
3819
3946
  // Inline function 'kotlin.also' call
3820
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.il_1);
3947
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3821
3948
  // Inline function 'kotlin.contracts.contract' call
3822
3949
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3823
- raise.ch(_this__u8e3s4.kl());
3950
+ raise.eh(_this__u8e3s4.rl());
3824
3951
  tmp$ret$4 = tmp1_also;
3825
3952
  var tmp2_nel = tmp$ret$4;
3826
3953
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
3827
- raise.bh(tmp$ret$5);
3954
+ raise.dh(tmp$ret$5);
3828
3955
  }
3829
3956
  var tmp3_let = tmp_0;
3830
3957
  // Inline function 'kotlin.contracts.contract' call
@@ -3832,7 +3959,7 @@
3832
3959
  tmp$ret$7 = tmp$ret$6;
3833
3960
  tmp$ret$8 = tmp$ret$7;
3834
3961
  var res = tmp$ret$8;
3835
- raise.zg();
3962
+ raise.bh();
3836
3963
  var tmp$ret$9;
3837
3964
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3838
3965
  tmp$ret$9 = new Right(res);
@@ -3841,7 +3968,7 @@
3841
3968
  var tmp_1;
3842
3969
  if ($p instanceof CancellationException) {
3843
3970
  var e = $p;
3844
- raise.zg();
3971
+ raise.bh();
3845
3972
  var tmp$ret$10;
3846
3973
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3847
3974
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3850,7 +3977,7 @@
3850
3977
  } else {
3851
3978
  if ($p instanceof Error) {
3852
3979
  var e_0 = $p;
3853
- raise.zg();
3980
+ raise.bh();
3854
3981
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3855
3982
  throw tmp0__anonymous__q1qw7t;
3856
3983
  } else {
@@ -3880,37 +4007,37 @@
3880
4007
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3881
4008
  var tmp$ret$5;
3882
4009
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
3883
- raise.ch(_this__u8e3s4.kl());
3884
- log(_this__u8e3s4.il_1, $this);
3885
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4010
+ raise.eh(_this__u8e3s4.rl());
4011
+ log(_this__u8e3s4.pl_1, $this);
4012
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3886
4013
  if (tmp0_subject instanceof Colon)
3887
- raise.ch(_this__u8e3s4.kl());
4014
+ raise.eh(_this__u8e3s4.rl());
3888
4015
  else {
3889
4016
  var tmp$ret$1;
3890
4017
  // Inline function 'arrow.core.nel' call
3891
4018
  var tmp$ret$0;
3892
4019
  // Inline function 'kotlin.also' call
3893
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.il_1);
4020
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.pl_1);
3894
4021
  // Inline function 'kotlin.contracts.contract' call
3895
4022
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3896
- raise.ch(_this__u8e3s4.kl());
4023
+ raise.eh(_this__u8e3s4.rl());
3897
4024
  tmp$ret$0 = tmp0_also;
3898
4025
  var tmp1_nel = tmp$ret$0;
3899
4026
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3900
- raise.bh(tmp$ret$1);
4027
+ raise.dh(tmp$ret$1);
3901
4028
  }
3902
- var type = _this__u8e3s4.il_1.wk_1;
4029
+ var type = _this__u8e3s4.pl_1.xk_1;
3903
4030
  var tmp_0;
3904
4031
  if (isInterface(type, WsType)) {
3905
- var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.il_1.xk_1));
4032
+ var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.pl_1.yk_1));
3906
4033
  var tmp$ret$2;
3907
4034
  // Inline function 'kotlin.also' call
3908
- var tmp_2 = _this__u8e3s4.il_1.wk_1;
4035
+ var tmp_2 = _this__u8e3s4.pl_1.xk_1;
3909
4036
  var tmp2_also = tmp_2 instanceof QuestionMark;
3910
4037
  // Inline function 'kotlin.contracts.contract' call
3911
4038
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3912
4039
  if (tmp2_also)
3913
- raise.ch(_this__u8e3s4.kl());
4040
+ raise.eh(_this__u8e3s4.rl());
3914
4041
  tmp$ret$2 = tmp2_also;
3915
4042
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
3916
4043
  } else {
@@ -3918,19 +4045,19 @@
3918
4045
  // Inline function 'arrow.core.nel' call
3919
4046
  var tmp$ret$3;
3920
4047
  // Inline function 'kotlin.also' call
3921
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4048
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3922
4049
  // Inline function 'kotlin.contracts.contract' call
3923
4050
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3924
- raise.ch(_this__u8e3s4.kl());
4051
+ raise.eh(_this__u8e3s4.rl());
3925
4052
  tmp$ret$3 = tmp3_also;
3926
4053
  var tmp4_nel = tmp$ret$3;
3927
4054
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
3928
- raise.bh(tmp$ret$4);
4055
+ raise.dh(tmp$ret$4);
3929
4056
  }
3930
4057
  tmp$ret$5 = tmp_0;
3931
4058
  tmp$ret$6 = tmp$ret$5;
3932
4059
  var res = tmp$ret$6;
3933
- raise.zg();
4060
+ raise.bh();
3934
4061
  var tmp$ret$7;
3935
4062
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3936
4063
  tmp$ret$7 = new Right(res);
@@ -3939,7 +4066,7 @@
3939
4066
  var tmp_3;
3940
4067
  if ($p instanceof CancellationException) {
3941
4068
  var e = $p;
3942
- raise.zg();
4069
+ raise.bh();
3943
4070
  var tmp$ret$8;
3944
4071
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3945
4072
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3948,7 +4075,7 @@
3948
4075
  } else {
3949
4076
  if ($p instanceof Error) {
3950
4077
  var e_0 = $p;
3951
- raise.zg();
4078
+ raise.bh();
3952
4079
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3953
4080
  throw tmp0__anonymous__q1qw7t;
3954
4081
  } else {
@@ -3978,16 +4105,16 @@
3978
4105
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3979
4106
  var tmp$ret$1;
3980
4107
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
3981
- raise.ch(_this__u8e3s4.kl());
3982
- log(_this__u8e3s4.il_1, $this);
4108
+ raise.eh(_this__u8e3s4.rl());
4109
+ log(_this__u8e3s4.pl_1, $this);
3983
4110
  var tmp$ret$0;
3984
4111
  // Inline function 'kotlin.also' call
3985
- var tmp_0 = _this__u8e3s4.il_1.wk_1;
4112
+ var tmp_0 = _this__u8e3s4.pl_1.xk_1;
3986
4113
  var tmp0_also = tmp_0 instanceof Brackets;
3987
4114
  // Inline function 'kotlin.contracts.contract' call
3988
4115
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
3989
4116
  if (tmp0_also)
3990
- raise.ch(_this__u8e3s4.kl());
4117
+ raise.eh(_this__u8e3s4.rl());
3991
4118
  tmp$ret$0 = tmp0_also;
3992
4119
  var isIterable = tmp$ret$0;
3993
4120
  var tmp0_subject = wsType;
@@ -4012,7 +4139,7 @@
4012
4139
  tmp$ret$1 = tmp_1;
4013
4140
  tmp$ret$2 = tmp$ret$1;
4014
4141
  var res = tmp$ret$2;
4015
- raise.zg();
4142
+ raise.bh();
4016
4143
  var tmp$ret$3;
4017
4144
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4018
4145
  tmp$ret$3 = new Right(res);
@@ -4021,7 +4148,7 @@
4021
4148
  var tmp_2;
4022
4149
  if ($p instanceof CancellationException) {
4023
4150
  var e = $p;
4024
- raise.zg();
4151
+ raise.bh();
4025
4152
  var tmp$ret$4;
4026
4153
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4027
4154
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4030,7 +4157,7 @@
4030
4157
  } else {
4031
4158
  if ($p instanceof Error) {
4032
4159
  var e_0 = $p;
4033
- raise.zg();
4160
+ raise.bh();
4034
4161
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4035
4162
  throw tmp0__anonymous__q1qw7t;
4036
4163
  } else {
@@ -4060,30 +4187,30 @@
4060
4187
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4061
4188
  var tmp$ret$2;
4062
4189
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4063
- raise.ch(_this__u8e3s4.kl());
4064
- log(_this__u8e3s4.il_1, $this);
4065
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4190
+ raise.eh(_this__u8e3s4.rl());
4191
+ log(_this__u8e3s4.pl_1, $this);
4192
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4066
4193
  var tmp_0;
4067
4194
  if (tmp0_subject instanceof CustomType) {
4068
- tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
4195
+ tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4069
4196
  } else {
4070
4197
  var tmp$ret$1;
4071
4198
  // Inline function 'arrow.core.nel' call
4072
4199
  var tmp$ret$0;
4073
4200
  // Inline function 'kotlin.also' call
4074
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4201
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4075
4202
  // Inline function 'kotlin.contracts.contract' call
4076
4203
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4077
- raise.ch(_this__u8e3s4.kl());
4204
+ raise.eh(_this__u8e3s4.rl());
4078
4205
  tmp$ret$0 = tmp0_also;
4079
4206
  var tmp1_nel = tmp$ret$0;
4080
4207
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4081
- raise.bh(tmp$ret$1);
4208
+ raise.dh(tmp$ret$1);
4082
4209
  }
4083
4210
  tmp$ret$2 = tmp_0;
4084
4211
  tmp$ret$3 = tmp$ret$2;
4085
4212
  var res = tmp$ret$3;
4086
- raise.zg();
4213
+ raise.bh();
4087
4214
  var tmp$ret$4;
4088
4215
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4089
4216
  tmp$ret$4 = new Right(res);
@@ -4092,7 +4219,7 @@
4092
4219
  var tmp_1;
4093
4220
  if ($p instanceof CancellationException) {
4094
4221
  var e = $p;
4095
- raise.zg();
4222
+ raise.bh();
4096
4223
  var tmp$ret$5;
4097
4224
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4098
4225
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4101,7 +4228,7 @@
4101
4228
  } else {
4102
4229
  if ($p instanceof Error) {
4103
4230
  var e_0 = $p;
4104
- raise.zg();
4231
+ raise.bh();
4105
4232
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4106
4233
  throw tmp0__anonymous__q1qw7t;
4107
4234
  } else {
@@ -4131,53 +4258,53 @@
4131
4258
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4132
4259
  var tmp$ret$5;
4133
4260
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4134
- raise.ch(_this__u8e3s4.kl());
4135
- log(_this__u8e3s4.il_1, $this);
4261
+ raise.eh(_this__u8e3s4.rl());
4262
+ log(_this__u8e3s4.pl_1, $this);
4136
4263
  var tmp$ret$4;
4137
4264
  // Inline function 'kotlin.also' call
4138
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4265
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4139
4266
  var tmp_0;
4140
4267
  if (tmp0_subject instanceof LeftCurly) {
4141
- tmp_0 = new Enum_0(typeName, raise.ch(parseEnumTypeEntries(_this__u8e3s4, $this)));
4268
+ tmp_0 = new Enum_0(typeName, raise.eh(parseEnumTypeEntries(_this__u8e3s4, $this)));
4142
4269
  } else {
4143
4270
  var tmp$ret$1;
4144
4271
  // Inline function 'arrow.core.nel' call
4145
4272
  var tmp$ret$0;
4146
4273
  // Inline function 'kotlin.also' call
4147
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.il_1);
4274
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
4148
4275
  // Inline function 'kotlin.contracts.contract' call
4149
4276
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4150
- raise.ch(_this__u8e3s4.kl());
4277
+ raise.eh(_this__u8e3s4.rl());
4151
4278
  tmp$ret$0 = tmp0_also;
4152
4279
  var tmp1_nel = tmp$ret$0;
4153
4280
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4154
- raise.bh(tmp$ret$1);
4281
+ raise.dh(tmp$ret$1);
4155
4282
  }
4156
4283
  var tmp2_also = tmp_0;
4157
4284
  // Inline function 'kotlin.contracts.contract' call
4158
4285
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4159
- var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
4286
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4160
4287
  if (tmp0_subject_0 instanceof RightCurly)
4161
- raise.ch(_this__u8e3s4.kl());
4288
+ raise.eh(_this__u8e3s4.rl());
4162
4289
  else {
4163
4290
  var tmp$ret$3;
4164
4291
  // Inline function 'arrow.core.nel' call
4165
4292
  var tmp$ret$2;
4166
4293
  // Inline function 'kotlin.also' call
4167
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.il_1);
4294
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
4168
4295
  // Inline function 'kotlin.contracts.contract' call
4169
4296
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4170
- raise.ch(_this__u8e3s4.kl());
4297
+ raise.eh(_this__u8e3s4.rl());
4171
4298
  tmp$ret$2 = tmp0_also_0;
4172
4299
  var tmp1_nel_0 = tmp$ret$2;
4173
4300
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
4174
- raise.bh(tmp$ret$3);
4301
+ raise.dh(tmp$ret$3);
4175
4302
  }
4176
4303
  tmp$ret$4 = tmp2_also;
4177
4304
  tmp$ret$5 = tmp$ret$4;
4178
4305
  tmp$ret$6 = tmp$ret$5;
4179
4306
  var res = tmp$ret$6;
4180
- raise.zg();
4307
+ raise.bh();
4181
4308
  var tmp$ret$7;
4182
4309
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4183
4310
  tmp$ret$7 = new Right(res);
@@ -4186,7 +4313,7 @@
4186
4313
  var tmp_1;
4187
4314
  if ($p instanceof CancellationException) {
4188
4315
  var e = $p;
4189
- raise.zg();
4316
+ raise.bh();
4190
4317
  var tmp$ret$8;
4191
4318
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4192
4319
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4195,7 +4322,7 @@
4195
4322
  } else {
4196
4323
  if ($p instanceof Error) {
4197
4324
  var e_0 = $p;
4198
- raise.zg();
4325
+ raise.bh();
4199
4326
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4200
4327
  throw tmp0__anonymous__q1qw7t;
4201
4328
  } else {
@@ -4225,9 +4352,9 @@
4225
4352
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4226
4353
  var tmp$ret$7;
4227
4354
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4228
- raise.ch(_this__u8e3s4.kl());
4229
- log(_this__u8e3s4.il_1, $this);
4230
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4355
+ raise.eh(_this__u8e3s4.rl());
4356
+ log(_this__u8e3s4.pl_1, $this);
4357
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4231
4358
  var tmp_0;
4232
4359
  if (tmp0_subject instanceof CustomType) {
4233
4360
  var tmp$ret$4;
@@ -4238,32 +4365,32 @@
4238
4365
  var tmp0_apply = tmp$ret$0;
4239
4366
  // Inline function 'kotlin.contracts.contract' call
4240
4367
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4241
- tmp0_apply.a(_this__u8e3s4.il_1.xk_1);
4242
- raise.ch(_this__u8e3s4.kl());
4243
- while (equals(_this__u8e3s4.il_1.wk_1, Comma_getInstance())) {
4244
- raise.ch(_this__u8e3s4.kl());
4245
- var tmp0_subject_0 = _this__u8e3s4.il_1.wk_1;
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;
4246
4373
  if (tmp0_subject_0 instanceof CustomType) {
4247
4374
  var tmp$ret$1;
4248
4375
  // Inline function 'kotlin.also' call
4249
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.il_1.xk_1);
4376
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4250
4377
  // Inline function 'kotlin.contracts.contract' call
4251
4378
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4252
- raise.ch(_this__u8e3s4.kl());
4379
+ raise.eh(_this__u8e3s4.rl());
4253
4380
  tmp$ret$1 = tmp0_also;
4254
4381
  } else {
4255
4382
  var tmp$ret$3;
4256
4383
  // Inline function 'arrow.core.nel' call
4257
4384
  var tmp$ret$2;
4258
4385
  // Inline function 'kotlin.also' call
4259
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4386
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4260
4387
  // Inline function 'kotlin.contracts.contract' call
4261
4388
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4262
- raise.ch(_this__u8e3s4.kl());
4389
+ raise.eh(_this__u8e3s4.rl());
4263
4390
  tmp$ret$2 = tmp1_also;
4264
4391
  var tmp2_nel = tmp$ret$2;
4265
4392
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
4266
- raise.bh(tmp$ret$3);
4393
+ raise.dh(tmp$ret$3);
4267
4394
  }
4268
4395
  }
4269
4396
  tmp$ret$4 = tmp0_apply;
@@ -4273,19 +4400,19 @@
4273
4400
  // Inline function 'arrow.core.nel' call
4274
4401
  var tmp$ret$5;
4275
4402
  // Inline function 'kotlin.also' call
4276
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4403
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4277
4404
  // Inline function 'kotlin.contracts.contract' call
4278
4405
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4279
- raise.ch(_this__u8e3s4.kl());
4406
+ raise.eh(_this__u8e3s4.rl());
4280
4407
  tmp$ret$5 = tmp1_also_0;
4281
4408
  var tmp2_nel_0 = tmp$ret$5;
4282
4409
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
4283
- raise.bh(tmp$ret$6);
4410
+ raise.dh(tmp$ret$6);
4284
4411
  }
4285
4412
  tmp$ret$7 = toSet(tmp_0);
4286
4413
  tmp$ret$8 = tmp$ret$7;
4287
4414
  var res = tmp$ret$8;
4288
- raise.zg();
4415
+ raise.bh();
4289
4416
  var tmp$ret$9;
4290
4417
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4291
4418
  tmp$ret$9 = new Right(res);
@@ -4294,7 +4421,7 @@
4294
4421
  var tmp_1;
4295
4422
  if ($p instanceof CancellationException) {
4296
4423
  var e = $p;
4297
- raise.zg();
4424
+ raise.bh();
4298
4425
  var tmp$ret$10;
4299
4426
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4300
4427
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4303,7 +4430,7 @@
4303
4430
  } else {
4304
4431
  if ($p instanceof Error) {
4305
4432
  var e_0 = $p;
4306
- raise.zg();
4433
+ raise.bh();
4307
4434
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4308
4435
  throw tmp0__anonymous__q1qw7t;
4309
4436
  } else {
@@ -4333,30 +4460,30 @@
4333
4460
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4334
4461
  var tmp$ret$2;
4335
4462
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4336
- raise.ch(_this__u8e3s4.kl());
4337
- log(_this__u8e3s4.il_1, $this);
4338
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4463
+ raise.eh(_this__u8e3s4.rl());
4464
+ log(_this__u8e3s4.pl_1, $this);
4465
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4339
4466
  var tmp_0;
4340
4467
  if (tmp0_subject instanceof CustomType) {
4341
- tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.il_1.xk_1));
4468
+ tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4342
4469
  } else {
4343
4470
  var tmp$ret$1;
4344
4471
  // Inline function 'arrow.core.nel' call
4345
4472
  var tmp$ret$0;
4346
4473
  // Inline function 'kotlin.also' call
4347
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.il_1);
4474
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4348
4475
  // Inline function 'kotlin.contracts.contract' call
4349
4476
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4350
- raise.ch(_this__u8e3s4.kl());
4477
+ raise.eh(_this__u8e3s4.rl());
4351
4478
  tmp$ret$0 = tmp0_also;
4352
4479
  var tmp1_nel = tmp$ret$0;
4353
4480
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4354
- raise.bh(tmp$ret$1);
4481
+ raise.dh(tmp$ret$1);
4355
4482
  }
4356
4483
  tmp$ret$2 = tmp_0;
4357
4484
  tmp$ret$3 = tmp$ret$2;
4358
4485
  var res = tmp$ret$3;
4359
- raise.zg();
4486
+ raise.bh();
4360
4487
  var tmp$ret$4;
4361
4488
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4362
4489
  tmp$ret$4 = new Right(res);
@@ -4365,7 +4492,7 @@
4365
4492
  var tmp_1;
4366
4493
  if ($p instanceof CancellationException) {
4367
4494
  var e = $p;
4368
- raise.zg();
4495
+ raise.bh();
4369
4496
  var tmp$ret$5;
4370
4497
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4371
4498
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4374,7 +4501,7 @@
4374
4501
  } else {
4375
4502
  if ($p instanceof Error) {
4376
4503
  var e_0 = $p;
4377
- raise.zg();
4504
+ raise.bh();
4378
4505
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4379
4506
  throw tmp0__anonymous__q1qw7t;
4380
4507
  } else {
@@ -4404,37 +4531,37 @@
4404
4531
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4405
4532
  var tmp$ret$3;
4406
4533
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4407
- raise.ch(_this__u8e3s4.kl());
4408
- log(_this__u8e3s4.il_1, $this);
4534
+ raise.eh(_this__u8e3s4.rl());
4535
+ log(_this__u8e3s4.pl_1, $this);
4409
4536
  var tmp$ret$2;
4410
4537
  // Inline function 'kotlin.also' call
4411
- var tmp0_subject = _this__u8e3s4.il_1.wk_1;
4538
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4412
4539
  var tmp_0;
4413
4540
  if (tmp0_subject instanceof CustomRegex) {
4414
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.il_1.xk_1));
4541
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.pl_1.yk_1));
4415
4542
  } else {
4416
4543
  var tmp$ret$1;
4417
4544
  // Inline function 'arrow.core.nel' call
4418
4545
  var tmp$ret$0;
4419
4546
  // Inline function 'kotlin.also' call
4420
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.il_1);
4547
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.pl_1);
4421
4548
  // Inline function 'kotlin.contracts.contract' call
4422
4549
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4423
- raise.ch(_this__u8e3s4.kl());
4550
+ raise.eh(_this__u8e3s4.rl());
4424
4551
  tmp$ret$0 = tmp0_also;
4425
4552
  var tmp1_nel = tmp$ret$0;
4426
4553
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4427
- raise.bh(tmp$ret$1);
4554
+ raise.dh(tmp$ret$1);
4428
4555
  }
4429
4556
  var tmp2_also = tmp_0;
4430
4557
  // Inline function 'kotlin.contracts.contract' call
4431
4558
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4432
- raise.ch(_this__u8e3s4.kl());
4559
+ raise.eh(_this__u8e3s4.rl());
4433
4560
  tmp$ret$2 = tmp2_also;
4434
4561
  tmp$ret$3 = tmp$ret$2;
4435
4562
  tmp$ret$4 = tmp$ret$3;
4436
4563
  var res = tmp$ret$4;
4437
- raise.zg();
4564
+ raise.bh();
4438
4565
  var tmp$ret$5;
4439
4566
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4440
4567
  tmp$ret$5 = new Right(res);
@@ -4443,7 +4570,7 @@
4443
4570
  var tmp_1;
4444
4571
  if ($p instanceof CancellationException) {
4445
4572
  var e = $p;
4446
- raise.zg();
4573
+ raise.bh();
4447
4574
  var tmp$ret$6;
4448
4575
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4449
4576
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4452,7 +4579,7 @@
4452
4579
  } else {
4453
4580
  if ($p instanceof Error) {
4454
4581
  var e_0 = $p;
4455
- raise.zg();
4582
+ raise.bh();
4456
4583
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4457
4584
  throw tmp0__anonymous__q1qw7t;
4458
4585
  } else {
@@ -4467,12 +4594,12 @@
4467
4594
  return tmp$ret$9;
4468
4595
  }
4469
4596
  function log(_this__u8e3s4, $this) {
4470
- return $this.mh_1.ih('Parsing ' + _this__u8e3s4.wk_1 + ' at line ' + _this__u8e3s4.yk_1.zk_1 + ' position ' + _this__u8e3s4.yk_1.al_1);
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);
4471
4598
  }
4472
4599
  function Parser(logger) {
4473
- this.mh_1 = logger;
4600
+ this.oh_1 = logger;
4474
4601
  }
4475
- protoOf(Parser).nh = function (tokens) {
4602
+ protoOf(Parser).ph = function (tokens) {
4476
4603
  var tmp$ret$2;
4477
4604
  // Inline function 'kotlin.collections.filterNot' call
4478
4605
  var tmp$ret$1;
@@ -4483,7 +4610,7 @@
4483
4610
  var element = tmp0_iterator.e();
4484
4611
  var tmp$ret$0;
4485
4612
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4486
- var tmp = element.wk_1;
4613
+ var tmp = element.xk_1;
4487
4614
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4488
4615
  if (!tmp$ret$0) {
4489
4616
  tmp0_filterNotTo.a(element);
@@ -4491,7 +4618,7 @@
4491
4618
  }
4492
4619
  tmp$ret$1 = tmp0_filterNotTo;
4493
4620
  tmp$ret$2 = tmp$ret$1;
4494
- return parse(toProvider(tmp$ret$2, this.mh_1), this);
4621
+ return parse(toProvider(tmp$ret$2, this.oh_1), this);
4495
4622
  };
4496
4623
  function printTokens($this, previousToken) {
4497
4624
  var tmp$ret$6;
@@ -4507,7 +4634,7 @@
4507
4634
  // Inline function 'kotlin.contracts.contract' call
4508
4635
  var tmp$ret$0;
4509
4636
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4510
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.xk_1 + "', ";
4637
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.yk_1 + "', ";
4511
4638
  tmp$ret$1 = tmp$ret$0;
4512
4639
  tmp = tmp$ret$1;
4513
4640
  }
@@ -4515,14 +4642,14 @@
4515
4642
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4516
4643
  var tmp$ret$3;
4517
4644
  // Inline function 'kotlin.run' call
4518
- var tmp0_run = $this.il_1;
4645
+ var tmp0_run = $this.pl_1;
4519
4646
  // Inline function 'kotlin.contracts.contract' call
4520
4647
  var tmp$ret$2;
4521
4648
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4522
- tmp$ret$2 = "Current: '" + tmp0_run.xk_1 + "'";
4649
+ tmp$ret$2 = "Current: '" + tmp0_run.yk_1 + "'";
4523
4650
  tmp$ret$3 = tmp$ret$2;
4524
4651
  var curr = tmp$ret$3;
4525
- var tmp2_safe_receiver = $this.jl_1;
4652
+ var tmp2_safe_receiver = $this.ql_1;
4526
4653
  var tmp_0;
4527
4654
  if (tmp2_safe_receiver == null) {
4528
4655
  tmp_0 = null;
@@ -4532,13 +4659,13 @@
4532
4659
  // Inline function 'kotlin.contracts.contract' call
4533
4660
  var tmp$ret$4;
4534
4661
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4535
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.xk_1 + "'";
4662
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.yk_1 + "'";
4536
4663
  tmp$ret$5 = tmp$ret$4;
4537
4664
  tmp_0 = tmp$ret$5;
4538
4665
  }
4539
4666
  var tmp3_elvis_lhs = tmp_0;
4540
4667
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4541
- $this.gl_1.ih(prev + curr + next);
4668
+ $this.nl_1.kh(prev + curr + next);
4542
4669
  tmp$ret$6 = Unit_getInstance();
4543
4670
  return tmp$ret$6;
4544
4671
  }
@@ -4558,7 +4685,7 @@
4558
4685
  var tmp0_success = Companion_getInstance();
4559
4686
  var tmp$ret$0;
4560
4687
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4561
- tmp$ret$0 = $this.hl_1.e();
4688
+ tmp$ret$0 = $this.ol_1.e();
4562
4689
  var tmp1_success = tmp$ret$0;
4563
4690
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4564
4691
  tmp = tmp$ret$1;
@@ -4589,8 +4716,8 @@
4589
4716
  return tmp$ret$4;
4590
4717
  }
4591
4718
  function TokenProvider(logger, tokenIterator) {
4592
- this.gl_1 = logger;
4593
- this.hl_1 = tokenIterator;
4719
+ this.nl_1 = logger;
4720
+ this.ol_1 = tokenIterator;
4594
4721
  var tmp = this;
4595
4722
  var tmp0_elvis_lhs = nextToken(this);
4596
4723
  var tmp_0;
@@ -4599,14 +4726,14 @@
4599
4726
  } else {
4600
4727
  tmp_0 = tmp0_elvis_lhs;
4601
4728
  }
4602
- tmp.il_1 = tmp_0;
4603
- this.jl_1 = nextToken(this);
4729
+ tmp.pl_1 = tmp_0;
4730
+ this.ql_1 = nextToken(this);
4604
4731
  printTokens$default(this);
4605
4732
  }
4606
4733
  protoOf(TokenProvider).d = function () {
4607
- return !(this.jl_1 == null);
4734
+ return !(this.ql_1 == null);
4608
4735
  };
4609
- protoOf(TokenProvider).kl = function () {
4736
+ protoOf(TokenProvider).rl = function () {
4610
4737
  var tmp$ret$6;
4611
4738
  // Inline function 'arrow.core.raise.either' call
4612
4739
  var tmp$ret$5;
@@ -4620,25 +4747,25 @@
4620
4747
  try {
4621
4748
  var tmp$ret$1;
4622
4749
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4623
- var previousToken = this.il_1;
4750
+ var previousToken = this.pl_1;
4624
4751
  var tmp_0 = this;
4625
- var tmp0_elvis_lhs = this.jl_1;
4752
+ var tmp0_elvis_lhs = this.ql_1;
4626
4753
  var tmp_1;
4627
4754
  if (tmp0_elvis_lhs == null) {
4628
4755
  var tmp$ret$0;
4629
4756
  // Inline function 'arrow.core.nel' call
4630
- var tmp0_nel = new NextException(previousToken.yk_1);
4757
+ var tmp0_nel = new NextException(previousToken.zk_1);
4631
4758
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4632
- raise.bh(tmp$ret$0);
4759
+ raise.dh(tmp$ret$0);
4633
4760
  } else {
4634
4761
  tmp_1 = tmp0_elvis_lhs;
4635
4762
  }
4636
- tmp_0.il_1 = tmp_1;
4637
- this.jl_1 = nextToken(this);
4763
+ tmp_0.pl_1 = tmp_1;
4764
+ this.ql_1 = nextToken(this);
4638
4765
  printTokens(this, previousToken);
4639
4766
  tmp$ret$1 = Unit_getInstance();
4640
4767
  var res = tmp$ret$1;
4641
- raise.zg();
4768
+ raise.bh();
4642
4769
  var tmp$ret$2;
4643
4770
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4644
4771
  tmp$ret$2 = new Right(Unit_getInstance());
@@ -4647,7 +4774,7 @@
4647
4774
  var tmp_2;
4648
4775
  if ($p instanceof CancellationException) {
4649
4776
  var e = $p;
4650
- raise.zg();
4777
+ raise.bh();
4651
4778
  var tmp$ret$3;
4652
4779
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4653
4780
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4656,7 +4783,7 @@
4656
4783
  } else {
4657
4784
  if ($p instanceof Error) {
4658
4785
  var e_0 = $p;
4659
- raise.zg();
4786
+ raise.bh();
4660
4787
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4661
4788
  throw tmp0__anonymous__q1qw7t;
4662
4789
  } else {
@@ -4676,15 +4803,15 @@
4676
4803
  function IdxAndLength(idx, length) {
4677
4804
  idx = idx === VOID ? 0 : idx;
4678
4805
  length = length === VOID ? 0 : length;
4679
- this.ll_1 = idx;
4680
- this.ml_1 = length;
4806
+ this.sl_1 = idx;
4807
+ this.tl_1 = length;
4681
4808
  }
4682
4809
  protoOf(IdxAndLength).toString = function () {
4683
- return 'IdxAndLength(idx=' + this.ll_1 + ', length=' + this.ml_1 + ')';
4810
+ return 'IdxAndLength(idx=' + this.sl_1 + ', length=' + this.tl_1 + ')';
4684
4811
  };
4685
4812
  protoOf(IdxAndLength).hashCode = function () {
4686
- var result = this.ll_1;
4687
- result = imul(result, 31) + this.ml_1 | 0;
4813
+ var result = this.sl_1;
4814
+ result = imul(result, 31) + this.tl_1 | 0;
4688
4815
  return result;
4689
4816
  };
4690
4817
  protoOf(IdxAndLength).equals = function (other) {
@@ -4693,9 +4820,9 @@
4693
4820
  if (!(other instanceof IdxAndLength))
4694
4821
  return false;
4695
4822
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4696
- if (!(this.ll_1 === tmp0_other_with_cast.ll_1))
4823
+ if (!(this.sl_1 === tmp0_other_with_cast.sl_1))
4697
4824
  return false;
4698
- if (!(this.ml_1 === tmp0_other_with_cast.ml_1))
4825
+ if (!(this.tl_1 === tmp0_other_with_cast.tl_1))
4699
4826
  return false;
4700
4827
  return true;
4701
4828
  };
@@ -4703,26 +4830,26 @@
4703
4830
  line = line === VOID ? 1 : line;
4704
4831
  position = position === VOID ? 1 : position;
4705
4832
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4706
- this.zk_1 = line;
4707
- this.al_1 = position;
4708
- this.bl_1 = idxAndLength;
4833
+ this.al_1 = line;
4834
+ this.bl_1 = position;
4835
+ this.cl_1 = idxAndLength;
4709
4836
  }
4710
- protoOf(Coordinates).nl = function (line, position, idxAndLength) {
4837
+ protoOf(Coordinates).ul = function (line, position, idxAndLength) {
4711
4838
  return new Coordinates(line, position, idxAndLength);
4712
4839
  };
4713
- protoOf(Coordinates).ol = function (line, position, idxAndLength, $super) {
4714
- line = line === VOID ? this.zk_1 : line;
4715
- position = position === VOID ? this.al_1 : position;
4716
- idxAndLength = idxAndLength === VOID ? this.bl_1 : idxAndLength;
4717
- return $super === VOID ? this.nl(line, position, idxAndLength) : $super.nl.call(this, line, position, idxAndLength);
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);
4718
4845
  };
4719
4846
  protoOf(Coordinates).toString = function () {
4720
- return 'Coordinates(line=' + this.zk_1 + ', position=' + this.al_1 + ', idxAndLength=' + this.bl_1 + ')';
4847
+ return 'Coordinates(line=' + this.al_1 + ', position=' + this.bl_1 + ', idxAndLength=' + this.cl_1 + ')';
4721
4848
  };
4722
4849
  protoOf(Coordinates).hashCode = function () {
4723
- var result = this.zk_1;
4724
- result = imul(result, 31) + this.al_1 | 0;
4725
- result = imul(result, 31) + this.bl_1.hashCode() | 0;
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;
4726
4853
  return result;
4727
4854
  };
4728
4855
  protoOf(Coordinates).equals = function (other) {
@@ -4731,35 +4858,35 @@
4731
4858
  if (!(other instanceof Coordinates))
4732
4859
  return false;
4733
4860
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4734
- if (!(this.zk_1 === tmp0_other_with_cast.zk_1))
4735
- return false;
4736
4861
  if (!(this.al_1 === tmp0_other_with_cast.al_1))
4737
4862
  return false;
4738
- if (!this.bl_1.equals(tmp0_other_with_cast.bl_1))
4863
+ if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4864
+ return false;
4865
+ if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4739
4866
  return false;
4740
4867
  return true;
4741
4868
  };
4742
4869
  function Token(type, value, coordinates) {
4743
- this.wk_1 = type;
4744
- this.xk_1 = value;
4745
- this.yk_1 = coordinates;
4870
+ this.xk_1 = type;
4871
+ this.yk_1 = value;
4872
+ this.zk_1 = coordinates;
4746
4873
  }
4747
- protoOf(Token).pl = function (type, value, coordinates) {
4874
+ protoOf(Token).wl = function (type, value, coordinates) {
4748
4875
  return new Token(type, value, coordinates);
4749
4876
  };
4750
- protoOf(Token).dl = function (type, value, coordinates, $super) {
4751
- type = type === VOID ? this.wk_1 : type;
4752
- value = value === VOID ? this.xk_1 : value;
4753
- coordinates = coordinates === VOID ? this.yk_1 : coordinates;
4754
- return $super === VOID ? this.pl(type, value, coordinates) : $super.pl.call(this, type, value, coordinates);
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);
4755
4882
  };
4756
4883
  protoOf(Token).toString = function () {
4757
- return 'Token(type=' + this.wk_1 + ', value=' + this.xk_1 + ', coordinates=' + this.yk_1 + ')';
4884
+ return 'Token(type=' + this.xk_1 + ', value=' + this.yk_1 + ', coordinates=' + this.zk_1 + ')';
4758
4885
  };
4759
4886
  protoOf(Token).hashCode = function () {
4760
- var result = hashCode(this.wk_1);
4761
- result = imul(result, 31) + getStringHashCode(this.xk_1) | 0;
4762
- result = imul(result, 31) + this.yk_1.hashCode() | 0;
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;
4763
4890
  return result;
4764
4891
  };
4765
4892
  protoOf(Token).equals = function (other) {
@@ -4768,19 +4895,19 @@
4768
4895
  if (!(other instanceof Token))
4769
4896
  return false;
4770
4897
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4771
- if (!equals(this.wk_1, tmp0_other_with_cast.wk_1))
4898
+ if (!equals(this.xk_1, tmp0_other_with_cast.xk_1))
4772
4899
  return false;
4773
- if (!(this.xk_1 === tmp0_other_with_cast.xk_1))
4900
+ if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4774
4901
  return false;
4775
- if (!this.yk_1.equals(tmp0_other_with_cast.yk_1))
4902
+ if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4776
4903
  return false;
4777
4904
  return true;
4778
4905
  };
4779
4906
  function plus_1(_this__u8e3s4, length) {
4780
- return new IdxAndLength(_this__u8e3s4.ll_1 + length | 0, length);
4907
+ return new IdxAndLength(_this__u8e3s4.sl_1 + length | 0, length);
4781
4908
  }
4782
4909
  function plus_2(_this__u8e3s4, length) {
4783
- return _this__u8e3s4.ol(VOID, _this__u8e3s4.al_1 + length | 0, plus_1(_this__u8e3s4.bl_1, length));
4910
+ return _this__u8e3s4.vl(VOID, _this__u8e3s4.bl_1 + length | 0, plus_1(_this__u8e3s4.cl_1, length));
4784
4911
  }
4785
4912
  function tokenize(_this__u8e3s4, source) {
4786
4913
  var tmp$ret$1;
@@ -4802,7 +4929,7 @@
4802
4929
  var tmp0_subject = type;
4803
4930
  var tmp;
4804
4931
  if (tmp0_subject instanceof NewLine) {
4805
- tmp = new Coordinates(_this__u8e3s4.zk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.bl_1, value.length));
4932
+ tmp = new Coordinates(_this__u8e3s4.al_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.cl_1, value.length));
4806
4933
  } else {
4807
4934
  tmp = plus_2(_this__u8e3s4, value.length);
4808
4935
  }
@@ -4810,7 +4937,7 @@
4810
4937
  }
4811
4938
  function lastCoordinates(_this__u8e3s4) {
4812
4939
  var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4813
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yk_1;
4940
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zk_1;
4814
4941
  return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4815
4942
  }
4816
4943
  function tokenize_0(_this__u8e3s4, source, tokens) {
@@ -4820,7 +4947,7 @@
4820
4947
  $l$1: do {
4821
4948
  $l$0: do {
4822
4949
  var token = findToken($this, lastCoordinates(tokens_0), source_0);
4823
- var newSource = removePrefix(source_0, token.xk_1);
4950
+ var newSource = removePrefix(source_0, token.yk_1);
4824
4951
  var newTokens = plus_0(tokens_0, token);
4825
4952
  var tmp;
4826
4953
  var tmp$ret$0;
@@ -4846,7 +4973,7 @@
4846
4973
  function findToken(_this__u8e3s4, previousTokenCoordinates, source) {
4847
4974
  var tmp$ret$2;
4848
4975
  // Inline function 'kotlin.collections.firstNotNullOf' call
4849
- var tmp0_firstNotNullOf = _this__u8e3s4.sh();
4976
+ var tmp0_firstNotNullOf = _this__u8e3s4.uh();
4850
4977
  var tmp$ret$1;
4851
4978
  $l$block: {
4852
4979
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
@@ -4857,7 +4984,7 @@
4857
4984
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.findToken.<anonymous>' call
4858
4985
  var regex = element.i3();
4859
4986
  var tokenType = element.j3();
4860
- var tmp0_safe_receiver = regex.ae(source);
4987
+ var tmp0_safe_receiver = regex.ce(source);
4861
4988
  tmp$ret$0 = tmp0_safe_receiver == null ? null : toToken(tmp0_safe_receiver, tokenType, previousTokenCoordinates);
4862
4989
  var result = tmp$ret$0;
4863
4990
  if (!(result == null)) {
@@ -5046,7 +5173,7 @@
5046
5173
  }
5047
5174
  function EndOfProgram() {
5048
5175
  EndOfProgram_instance = this;
5049
- this.rl_1 = 'EOP';
5176
+ this.yl_1 = 'EOP';
5050
5177
  }
5051
5178
  var EndOfProgram_instance;
5052
5179
  function EndOfProgram_getInstance() {
@@ -5067,11 +5194,11 @@
5067
5194
  }
5068
5195
  var noLogger;
5069
5196
  function Logger(enableLogging) {
5070
- this.hh_1 = enableLogging;
5197
+ this.jh_1 = enableLogging;
5071
5198
  }
5072
- protoOf(Logger).ih = function (s) {
5199
+ protoOf(Logger).kh = function (s) {
5073
5200
  var tmp;
5074
- if (this.hh_1) {
5201
+ if (this.jh_1) {
5075
5202
  println(s);
5076
5203
  tmp = Unit_getInstance();
5077
5204
  } else {
@@ -5079,13 +5206,13 @@
5079
5206
  }
5080
5207
  return tmp;
5081
5208
  };
5082
- protoOf(Logger).vk = function (s, block) {
5209
+ protoOf(Logger).wk = function (s, block) {
5083
5210
  var tmp$ret$1;
5084
5211
  // Inline function 'kotlin.run' call
5085
5212
  // Inline function 'kotlin.contracts.contract' call
5086
5213
  var tmp$ret$0;
5087
5214
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
5088
- this.ih(s);
5215
+ this.kh(s);
5089
5216
  tmp$ret$0 = block();
5090
5217
  tmp$ret$1 = tmp$ret$0;
5091
5218
  return tmp$ret$1;
@@ -5102,73 +5229,73 @@
5102
5229
  }
5103
5230
  }
5104
5231
  //region block: post-declaration
5105
- protoOf(JavaEmitter).tj = withLogging;
5106
- protoOf(JavaEmitter).uj = withLogging_0;
5107
- protoOf(JavaEmitter).vj = withLogging_1;
5108
- protoOf(JavaEmitter).wj = withLogging_2;
5109
- protoOf(JavaEmitter).th = withLogging_3;
5110
- protoOf(JavaEmitter).yj = withLogging_4;
5111
- protoOf(JavaEmitter).ak = withLogging_5;
5112
- protoOf(JavaEmitter).bk = withLogging_6;
5113
- protoOf(JavaEmitter).dk = withLogging_7;
5114
- protoOf(JavaEmitter).ri = withLogging_8;
5115
- protoOf(KotlinEmitter).tj = withLogging;
5116
- protoOf(KotlinEmitter).uj = withLogging_0;
5117
- protoOf(KotlinEmitter).vj = withLogging_1;
5118
- protoOf(KotlinEmitter).wj = withLogging_2;
5119
- protoOf(KotlinEmitter).th = withLogging_3;
5120
- protoOf(KotlinEmitter).yj = withLogging_4;
5121
- protoOf(KotlinEmitter).ak = withLogging_5;
5122
- protoOf(KotlinEmitter).bk = withLogging_6;
5123
- protoOf(KotlinEmitter).dk = withLogging_7;
5124
- protoOf(KotlinEmitter).ri = withLogging_8;
5125
- protoOf(ScalaEmitter).tj = withLogging;
5126
- protoOf(ScalaEmitter).uj = withLogging_0;
5127
- protoOf(ScalaEmitter).vj = withLogging_1;
5128
- protoOf(ScalaEmitter).wj = withLogging_2;
5129
- protoOf(ScalaEmitter).th = withLogging_3;
5130
- protoOf(ScalaEmitter).yj = withLogging_4;
5131
- protoOf(ScalaEmitter).ak = withLogging_5;
5132
- protoOf(ScalaEmitter).bk = withLogging_6;
5133
- protoOf(ScalaEmitter).dk = withLogging_7;
5134
- protoOf(TypeScriptEmitter).tj = withLogging;
5135
- protoOf(TypeScriptEmitter).uj = withLogging_0;
5136
- protoOf(TypeScriptEmitter).vj = withLogging_1;
5137
- protoOf(TypeScriptEmitter).wj = withLogging_2;
5138
- protoOf(TypeScriptEmitter).th = withLogging_3;
5139
- protoOf(TypeScriptEmitter).yj = withLogging_4;
5140
- protoOf(TypeScriptEmitter).ak = withLogging_5;
5141
- protoOf(TypeScriptEmitter).bk = withLogging_6;
5142
- protoOf(TypeScriptEmitter).dk = withLogging_7;
5143
- protoOf(TypeScriptEmitter).ri = withLogging_8;
5144
- protoOf(WirespecEmitter).tj = withLogging;
5145
- protoOf(WirespecEmitter).uj = withLogging_0;
5146
- protoOf(WirespecEmitter).vj = withLogging_1;
5147
- protoOf(WirespecEmitter).wj = withLogging_2;
5148
- protoOf(WirespecEmitter).th = withLogging_3;
5149
- protoOf(WirespecEmitter).yj = withLogging_4;
5150
- protoOf(WirespecEmitter).ak = withLogging_5;
5151
- protoOf(WirespecEmitter).bk = withLogging_6;
5152
- protoOf(WirespecEmitter).dk = withLogging_7;
5153
- protoOf(WsTypeDef).ql = name;
5154
- protoOf(WsEnumTypeDef).ql = name;
5155
- protoOf(WsRefinedTypeDef).ql = name;
5156
- protoOf(WhiteSpaceExceptNewLine).ql = name;
5157
- protoOf(NewLine).ql = name;
5158
- protoOf(LeftCurly).ql = name;
5159
- protoOf(Colon).ql = name;
5160
- protoOf(Comma).ql = name;
5161
- protoOf(QuestionMark).ql = name;
5162
- protoOf(Brackets).ql = name;
5163
- protoOf(WsString).ql = name;
5164
- protoOf(WsInteger).ql = name;
5165
- protoOf(WsBoolean).ql = name;
5166
- protoOf(RightCurly).ql = name;
5167
- protoOf(CustomValue).ql = name;
5168
- protoOf(CustomType).ql = name;
5169
- protoOf(CustomRegex).ql = name;
5170
- protoOf(Invalid).ql = name;
5171
- protoOf(EndOfProgram).ql = name;
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;
5172
5299
  //endregion
5173
5300
  //region block: init
5174
5301
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';
@@ -5188,21 +5315,23 @@
5188
5315
  _.$_$.k = Literal;
5189
5316
  _.$_$.l = Param;
5190
5317
  _.$_$.m = Endpoint;
5191
- _.$_$.n = Parser;
5192
- _.$_$.o = Identifier;
5193
- _.$_$.p = Custom;
5194
- _.$_$.q = Primitive;
5195
- _.$_$.r = Field;
5196
- _.$_$.s = Shape;
5197
- _.$_$.t = Type_0;
5198
- _.$_$.u = tokenize;
5199
- _.$_$.v = compile;
5200
- _.$_$.w = Logger;
5201
- _.$_$.x = Type_Boolean_getInstance;
5202
- _.$_$.y = Type_Integer_getInstance;
5203
- _.$_$.z = Type_String_getInstance;
5204
- _.$_$.a1 = Companion_getInstance_1;
5205
- _.$_$.b1 = Wirespec_getInstance;
5318
+ _.$_$.n = Enum_0;
5319
+ _.$_$.o = Parser;
5320
+ _.$_$.p = Identifier;
5321
+ _.$_$.q = Any;
5322
+ _.$_$.r = Custom;
5323
+ _.$_$.s = Primitive;
5324
+ _.$_$.t = Field;
5325
+ _.$_$.u = Shape;
5326
+ _.$_$.v = Type_0;
5327
+ _.$_$.w = tokenize;
5328
+ _.$_$.x = compile;
5329
+ _.$_$.y = Logger;
5330
+ _.$_$.z = Type_Boolean_getInstance;
5331
+ _.$_$.a1 = Type_Integer_getInstance;
5332
+ _.$_$.b1 = Type_String_getInstance;
5333
+ _.$_$.c1 = Companion_getInstance_1;
5334
+ _.$_$.d1 = Wirespec_getInstance;
5206
5335
  //endregion
5207
5336
  return _;
5208
5337
  }));