@flock/wirespec 0.8.13 → 0.8.14

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.
@@ -41,12 +41,12 @@
41
41
  var plus_0 = kotlin_kotlin.$_$.p5;
42
42
  var filterNotNull = kotlin_kotlin.$_$.s4;
43
43
  var toIntOrNull = kotlin_kotlin.$_$.f9;
44
+ var checkIndexOverflow = kotlin_kotlin.$_$.a4;
44
45
  var replace = kotlin_kotlin.$_$.x8;
45
46
  var first = kotlin_kotlin.$_$.q8;
46
47
  var isDigit = kotlin_kotlin.$_$.t8;
47
48
  var toSet = kotlin_kotlin.$_$.a6;
48
49
  var isBlank = kotlin_kotlin.$_$.s8;
49
- var checkIndexOverflow = kotlin_kotlin.$_$.a4;
50
50
  var THROW_CCE = kotlin_kotlin.$_$.ca;
51
51
  var isCharSequence = kotlin_kotlin.$_$.e7;
52
52
  var trimStart = kotlin_kotlin.$_$.o9;
@@ -92,50 +92,51 @@
92
92
  //region block: pre-declaration
93
93
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
94
94
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
95
+ setMetadataFor(Companion, 'Companion', objectMeta);
95
96
  function withLogging(_this__u8e3s4, logger, block) {
96
- return logger.nl('Emitting Definition: Refined', block);
97
+ return logger.ol('Emitting Definition: Type', block);
97
98
  }
98
99
  function withLogging_0(_this__u8e3s4, logger, block) {
99
- return logger.nl('Emitting Definition: Refined Validator', block);
100
+ return logger.ol('Emitting Definition: Type Shape', block);
100
101
  }
101
- setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
102
102
  function withLogging_1(_this__u8e3s4, logger, block) {
103
- return logger.nl('Emitting Definition: Endpoint', block);
103
+ return logger.ol('Emitting Definition: Type Shape Field', block);
104
104
  }
105
- setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
106
105
  function withLogging_2(_this__u8e3s4, logger, block) {
107
- return logger.nl('Emitting Definition: Endpoint', block);
106
+ return logger.ol('Emitting Definition: Type Shape Field Key', block);
108
107
  }
109
108
  function withLogging_3(_this__u8e3s4, logger, block) {
110
- return logger.nl('Emitting Definition: Endpoint Segment', block);
109
+ return logger.ol('Emitting Definition: Type Shape Field Value', block);
111
110
  }
112
- setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
111
+ setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
113
112
  function withLogging_4(_this__u8e3s4, logger, block) {
114
- return logger.nl('Emitting Definition: Type', block);
113
+ return logger.ol('Emitting Definition: Endpoint', block);
115
114
  }
116
115
  function withLogging_5(_this__u8e3s4, logger, block) {
117
- return logger.nl('Emitting Definition: Type Shape', block);
116
+ return logger.ol('Emitting Definition: Endpoint Segment', block);
118
117
  }
118
+ setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
119
119
  function withLogging_6(_this__u8e3s4, logger, block) {
120
- return logger.nl('Emitting Definition: Type Shape Field', block);
120
+ return logger.ol('Emitting Definition: Endpoint', block);
121
121
  }
122
+ setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
122
123
  function withLogging_7(_this__u8e3s4, logger, block) {
123
- return logger.nl('Emitting Definition: Type Shape Field Key', block);
124
+ return logger.ol('Emitting Definition: Refined', block);
124
125
  }
125
126
  function withLogging_8(_this__u8e3s4, logger, block) {
126
- return logger.nl('Emitting Definition: Type Shape Field Value', block);
127
+ return logger.ol('Emitting Definition: Refined Validator', block);
127
128
  }
128
- setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
129
- setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [RefinedTypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, EndpointDefinitionEmitterLogger, TypeDefinitionEmitterLogger]);
129
+ setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
130
+ setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger]);
130
131
  setMetadataFor(JavaEmitter, 'JavaEmitter', classMeta, Emitter);
131
- setMetadataFor(Companion, 'Companion', objectMeta);
132
- setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
133
132
  setMetadataFor(Companion_0, 'Companion', objectMeta);
133
+ setMetadataFor(KotlinEmitter, 'KotlinEmitter', classMeta, Emitter);
134
+ setMetadataFor(Companion_1, 'Companion', objectMeta);
134
135
  setMetadataFor(ScalaEmitter, 'ScalaEmitter', classMeta, Emitter);
135
136
  setMetadataFor(TypeScriptEmitter, 'TypeScriptEmitter', classMeta, Emitter);
136
137
  setMetadataFor(WirespecEmitter, 'WirespecEmitter', classMeta, Emitter);
137
- setMetadataFor(Companion_1, 'Companion', objectMeta);
138
138
  setMetadataFor(Companion_2, 'Companion', objectMeta);
139
+ setMetadataFor(Companion_3, 'Companion', objectMeta);
139
140
  setMetadataFor(WirespecException, 'WirespecException', classMeta, RuntimeException);
140
141
  setMetadataFor(CompilerException, 'CompilerException', classMeta, WirespecException);
141
142
  setMetadataFor(ParserException, 'ParserException', classMeta, CompilerException);
@@ -414,54 +415,54 @@
414
415
  return Wirespec_instance;
415
416
  }
416
417
  function import_0($this, ast) {
417
- return !Companion_getInstance_2().gi(ast) ? '' : 'import community.flock.wirespec.Wirespec;\n\n';
418
+ return !Companion_getInstance_3().gi(ast) ? '' : 'import community.flock.wirespec.Wirespec;\nimport java.util.concurrent.CompletableFuture;\n\n';
418
419
  }
419
420
  function emitPrimaryType(_this__u8e3s4, $this) {
420
421
  return $this.hi(_this__u8e3s4, $this.ai_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
421
422
  }
422
423
  function emit(_this__u8e3s4, $this, endpoint) {
423
- Companion_getInstance_2();
424
+ Companion_getInstance_3();
424
425
  var tmp = emitContentType(_this__u8e3s4.ii_1, $this);
425
426
  var tmp0_safe_receiver = _this__u8e3s4.ii_1;
426
427
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ki_1;
427
428
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.qi(tmp1_safe_receiver);
428
429
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
429
- Companion_getInstance_2();
430
- Companion_getInstance_2();
431
- Companion_getInstance_2();
432
- Companion_getInstance_2();
433
- Companion_getInstance_2();
434
- Companion_getInstance_2();
435
- Companion_getInstance_2();
436
- Companion_getInstance_2();
437
- Companion_getInstance_2();
438
- Companion_getInstance_2();
430
+ Companion_getInstance_3();
431
+ Companion_getInstance_3();
432
+ Companion_getInstance_3();
433
+ Companion_getInstance_3();
434
+ Companion_getInstance_3();
435
+ Companion_getInstance_3();
436
+ Companion_getInstance_3();
437
+ Companion_getInstance_3();
438
+ Companion_getInstance_3();
439
+ Companion_getInstance_3();
439
440
  var tmp3_safe_receiver = _this__u8e3s4.ii_1;
440
441
  var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.ki_1;
441
442
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.qi(tmp4_safe_receiver);
442
443
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
443
- Companion_getInstance_2();
444
- Companion_getInstance_2();
444
+ Companion_getInstance_3();
445
+ Companion_getInstance_3();
445
446
  var tmp_2 = emitContentType(_this__u8e3s4.ii_1, $this);
446
447
  var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.ii_1);
447
- Companion_getInstance_2();
448
- Companion_getInstance_2();
449
- Companion_getInstance_2();
448
+ Companion_getInstance_3();
449
+ Companion_getInstance_3();
450
+ Companion_getInstance_3();
450
451
  var tmp_4 = emitPath(endpoint.ti_1, $this);
451
- Companion_getInstance_2();
452
- Companion_getInstance_2();
453
- Companion_getInstance_2();
454
- Companion_getInstance_2();
455
- Companion_getInstance_2();
456
- Companion_getInstance_2();
452
+ Companion_getInstance_3();
453
+ Companion_getInstance_3();
454
+ Companion_getInstance_3();
455
+ Companion_getInstance_3();
456
+ Companion_getInstance_3();
457
+ Companion_getInstance_3();
457
458
  var tmp_5 = emitMap(endpoint.ui_1, $this);
458
- Companion_getInstance_2();
459
- Companion_getInstance_2();
460
- Companion_getInstance_2();
459
+ Companion_getInstance_3();
460
+ Companion_getInstance_3();
461
+ Companion_getInstance_3();
461
462
  var tmp_6 = emitMap(endpoint.vi_1, $this);
462
- Companion_getInstance_2();
463
- Companion_getInstance_2();
464
- Companion_getInstance_2();
463
+ Companion_getInstance_3();
464
+ Companion_getInstance_3();
465
+ Companion_getInstance_3();
465
466
  var tmp6_safe_receiver = _this__u8e3s4.ii_1;
466
467
  var tmp_7;
467
468
  if (tmp6_safe_receiver == null) {
@@ -474,141 +475,130 @@
474
475
  }
475
476
  var tmp7_elvis_lhs = tmp_7;
476
477
  var tmp_8 = tmp7_elvis_lhs == null ? 'null' : tmp7_elvis_lhs;
477
- Companion_getInstance_2();
478
- Companion_getInstance_2();
479
- Companion_getInstance_2();
480
- Companion_getInstance_2();
481
- Companion_getInstance_2();
482
- Companion_getInstance_2();
483
- Companion_getInstance_2();
484
- Companion_getInstance_2();
485
- Companion_getInstance_2();
486
- Companion_getInstance_2();
487
- Companion_getInstance_2();
488
- Companion_getInstance_2();
478
+ Companion_getInstance_3();
479
+ Companion_getInstance_3();
480
+ Companion_getInstance_3();
481
+ Companion_getInstance_3();
482
+ Companion_getInstance_3();
483
+ Companion_getInstance_3();
484
+ Companion_getInstance_3();
485
+ Companion_getInstance_3();
486
+ Companion_getInstance_3();
487
+ Companion_getInstance_3();
488
+ Companion_getInstance_3();
489
+ Companion_getInstance_3();
489
490
  var tmp8_safe_receiver = _this__u8e3s4.ii_1;
490
491
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.ki_1;
491
492
  var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.qi(tmp9_safe_receiver);
492
493
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
493
- Companion_getInstance_2();
494
- return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final Wirespec.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 Wirespec.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = Wirespec.Method.' + endpoint.si_1.q4_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 Wirespec.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 Wirespec.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
494
+ Companion_getInstance_3();
495
+ return trimMargin('\n |' + ' ' + 'final class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final Wirespec.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 Wirespec.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = Wirespec.Method.' + endpoint.si_1.q4_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 Wirespec.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 Wirespec.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
495
496
  }
496
497
  function emit_0(_this__u8e3s4, $this) {
497
- Companion_getInstance_2();
498
- var tmp = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
498
+ Companion_getInstance_3();
499
+ var tmp = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
499
500
  var tmp_0 = emitContentType(_this__u8e3s4.aj_1, $this);
501
+ var tmp_1 = orEmptyString(Companion_getInstance_3().bj(_this__u8e3s4.zi_1), $this);
502
+ var tmp0_safe_receiver = _this__u8e3s4.aj_1;
503
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ki_1;
504
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.qi(tmp1_safe_receiver);
505
+ var tmp_2 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
506
+ Companion_getInstance_3();
507
+ Companion_getInstance_3();
508
+ Companion_getInstance_3();
509
+ Companion_getInstance_3();
510
+ Companion_getInstance_3();
511
+ Companion_getInstance_3();
512
+ var tmp3_safe_receiver = _this__u8e3s4.aj_1;
513
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.ki_1;
514
+ var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.qi(tmp4_safe_receiver);
515
+ var tmp_3 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
516
+ Companion_getInstance_3();
517
+ Companion_getInstance_3();
518
+ var tmp_4 = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
519
+ var tmp_5 = emitContentType(_this__u8e3s4.aj_1, $this);
500
520
  // Inline function 'kotlin.takeIf' call
501
521
  var tmp0_takeIf = _this__u8e3s4.zi_1;
502
522
  // Inline function 'kotlin.contracts.contract' call
503
- var tmp_1;
523
+ var tmp_6;
504
524
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
505
- if (isInt(tmp0_takeIf, $this)) {
506
- tmp_1 = tmp0_takeIf;
525
+ if (!isInt(tmp0_takeIf, $this)) {
526
+ tmp_6 = tmp0_takeIf;
507
527
  } else {
508
- tmp_1 = null;
528
+ tmp_6 = null;
509
529
  }
510
- var tmp0_safe_receiver = tmp_1;
511
- var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
512
- var tmp1_safe_receiver = _this__u8e3s4.aj_1;
513
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.ki_1;
514
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.qi(tmp2_safe_receiver);
515
- var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
516
- Companion_getInstance_2();
517
- Companion_getInstance_2();
518
- Companion_getInstance_2();
519
- Companion_getInstance_2();
520
- Companion_getInstance_2();
521
- Companion_getInstance_2();
522
- var tmp4_safe_receiver = _this__u8e3s4.aj_1;
523
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.ki_1;
524
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.qi(tmp5_safe_receiver);
525
- var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
526
- Companion_getInstance_2();
527
- Companion_getInstance_2();
528
- var tmp_5 = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
529
- var tmp_6 = emitContentType(_this__u8e3s4.aj_1, $this);
530
- // Inline function 'kotlin.takeIf' call
531
- var tmp1_takeIf = _this__u8e3s4.zi_1;
532
- // Inline function 'kotlin.contracts.contract' call
533
530
  var tmp_7;
534
- // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
535
- if (!isInt(tmp1_takeIf, $this)) {
536
- tmp_7 = tmp1_takeIf;
537
- } else {
531
+ if (tmp_6 == null) {
538
532
  tmp_7 = null;
539
- }
540
- var tmp_8;
541
- if (tmp_7 == null) {
542
- tmp_8 = null;
543
533
  } else {
544
534
  // Inline function 'kotlin.let' call
545
535
  // Inline function 'kotlin.contracts.contract' call
546
536
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
547
- tmp_8 = 'int status, ';
537
+ tmp_7 = 'int status, ';
548
538
  }
549
- var tmp_9 = orEmptyString(tmp_8, $this);
550
- var tmp8_safe_receiver = _this__u8e3s4.aj_1;
551
- var tmp_10;
552
- if (tmp8_safe_receiver == null) {
553
- tmp_10 = null;
539
+ var tmp_8 = orEmptyString(tmp_7, $this);
540
+ var tmp7_safe_receiver = _this__u8e3s4.aj_1;
541
+ var tmp_9;
542
+ if (tmp7_safe_receiver == null) {
543
+ tmp_9 = null;
554
544
  } else {
555
545
  // Inline function 'kotlin.let' call
556
546
  // Inline function 'kotlin.contracts.contract' call
557
547
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
558
- tmp_10 = ', ' + $this.qi(tmp8_safe_receiver.ki_1) + ' body';
548
+ tmp_9 = ', ' + $this.qi(tmp7_safe_receiver.ki_1) + ' body';
559
549
  }
560
- var tmp9_elvis_lhs = tmp_10;
561
- var tmp_11 = tmp9_elvis_lhs == null ? '' : tmp9_elvis_lhs;
562
- Companion_getInstance_2();
563
- Companion_getInstance_2();
564
- Companion_getInstance_2();
550
+ var tmp8_elvis_lhs = tmp_9;
551
+ var tmp_10 = tmp8_elvis_lhs == null ? '' : tmp8_elvis_lhs;
552
+ Companion_getInstance_3();
553
+ Companion_getInstance_3();
554
+ Companion_getInstance_3();
565
555
  // Inline function 'kotlin.takeIf' call
566
- var tmp2_takeIf = _this__u8e3s4.zi_1;
556
+ var tmp1_takeIf = _this__u8e3s4.zi_1;
567
557
  // Inline function 'kotlin.contracts.contract' call
568
- var tmp_12;
558
+ var tmp_11;
569
559
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
570
- if (isInt(tmp2_takeIf, $this)) {
571
- tmp_12 = tmp2_takeIf;
560
+ if (isInt(tmp1_takeIf, $this)) {
561
+ tmp_11 = tmp1_takeIf;
572
562
  } else {
573
- tmp_12 = null;
563
+ tmp_11 = null;
574
564
  }
575
- var tmp10_elvis_lhs = tmp_12;
576
- var tmp_13 = tmp10_elvis_lhs == null ? 'status' : tmp10_elvis_lhs;
577
- Companion_getInstance_2();
578
- Companion_getInstance_2();
579
- Companion_getInstance_2();
580
- Companion_getInstance_2();
581
- Companion_getInstance_2();
582
- Companion_getInstance_2();
583
- var tmp11_safe_receiver = _this__u8e3s4.aj_1;
584
- var tmp_14;
585
- if (tmp11_safe_receiver == null) {
586
- tmp_14 = null;
565
+ var tmp9_elvis_lhs = tmp_11;
566
+ var tmp_12 = tmp9_elvis_lhs == null ? 'status' : tmp9_elvis_lhs;
567
+ Companion_getInstance_3();
568
+ Companion_getInstance_3();
569
+ Companion_getInstance_3();
570
+ Companion_getInstance_3();
571
+ Companion_getInstance_3();
572
+ Companion_getInstance_3();
573
+ var tmp10_safe_receiver = _this__u8e3s4.aj_1;
574
+ var tmp_13;
575
+ if (tmp10_safe_receiver == null) {
576
+ tmp_13 = null;
587
577
  } else {
588
578
  // Inline function 'kotlin.let' call
589
579
  // Inline function 'kotlin.contracts.contract' call
590
580
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
591
- tmp_14 = 'new Wirespec.Content("' + tmp11_safe_receiver.ji_1 + '", body)';
581
+ tmp_13 = 'new Wirespec.Content("' + tmp10_safe_receiver.ji_1 + '", body)';
592
582
  }
593
- var tmp12_elvis_lhs = tmp_14;
594
- var tmp_15 = tmp12_elvis_lhs == null ? 'null' : tmp12_elvis_lhs;
595
- Companion_getInstance_2();
596
- Companion_getInstance_2();
597
- Companion_getInstance_2();
598
- Companion_getInstance_2();
599
- Companion_getInstance_2();
600
- Companion_getInstance_2();
601
- Companion_getInstance_2();
602
- Companion_getInstance_2();
603
- var tmp13_safe_receiver = _this__u8e3s4.aj_1;
604
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.ki_1;
605
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.qi(tmp14_safe_receiver);
606
- var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
607
- Companion_getInstance_2();
608
- 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 Wirespec.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 Wirespec.Content<' + tmp_16 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
583
+ var tmp11_elvis_lhs = tmp_13;
584
+ var tmp_14 = tmp11_elvis_lhs == null ? 'null' : tmp11_elvis_lhs;
585
+ Companion_getInstance_3();
586
+ Companion_getInstance_3();
587
+ Companion_getInstance_3();
588
+ Companion_getInstance_3();
589
+ Companion_getInstance_3();
590
+ Companion_getInstance_3();
591
+ Companion_getInstance_3();
592
+ Companion_getInstance_3();
593
+ var tmp12_safe_receiver = _this__u8e3s4.aj_1;
594
+ var tmp13_safe_receiver = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.ki_1;
595
+ var tmp14_elvis_lhs = tmp13_safe_receiver == null ? null : $this.qi(tmp13_safe_receiver);
596
+ var tmp_15 = tmp14_elvis_lhs == null ? 'Void' : tmp14_elvis_lhs;
597
+ Companion_getInstance_3();
598
+ return trimMargin('\n |' + ' ' + 'final class Response' + tmp + tmp_0 + ' implements Response' + tmp_1 + '<' + tmp_2 + '> {\n |' + ' ' + ' ' + 'private final int status;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final Wirespec.Content<' + tmp_3 + '> content;\n |' + ' ' + ' ' + 'public Response' + tmp_4 + tmp_5 + '(' + tmp_8 + 'java.util.Map<String, java.util.List<Object>> headers' + tmp_10 + ') {\n |' + ' ' + ' ' + ' ' + 'this.status = ' + tmp_12 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = headers;\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_14 + ';\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 Wirespec.Content<' + tmp_15 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
609
599
  }
610
600
  function emitResponseMapper(_this__u8e3s4, $this) {
611
- Companion_getInstance_2();
601
+ Companion_getInstance_3();
612
602
  // Inline function 'kotlin.collections.distinctBy' call
613
603
  var set = HashSet_init_$Create$();
614
604
  var list = ArrayList_init_$Create$();
@@ -624,17 +614,17 @@
624
614
  }
625
615
  var tmp = list;
626
616
  var tmp_0 = joinToString(tmp, '', VOID, VOID, VOID, VOID, JavaEmitter$emitResponseMapper$lambda($this));
627
- Companion_getInstance_2();
628
- Companion_getInstance_2();
629
- Companion_getInstance_2();
630
- return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(Wirespec.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, Wirespec.Content<B> content) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
617
+ Companion_getInstance_3();
618
+ Companion_getInstance_3();
619
+ Companion_getInstance_3();
620
+ return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(Wirespec.ContentMapper<B> contentMapper, Wirespec.Response<B> response) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
631
621
  }
632
622
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
633
623
  var tmp;
634
624
  if (_this__u8e3s4.aj_1 == null) {
635
- Companion_getInstance_2();
636
- Companion_getInstance_2();
637
- Companion_getInstance_2();
625
+ Companion_getInstance_3();
626
+ Companion_getInstance_3();
627
+ Companion_getInstance_3();
638
628
  // Inline function 'kotlin.takeIf' call
639
629
  var tmp0_takeIf = _this__u8e3s4.zi_1;
640
630
  // Inline function 'kotlin.contracts.contract' call
@@ -652,10 +642,10 @@
652
642
  // Inline function 'kotlin.let' call
653
643
  // Inline function 'kotlin.contracts.contract' call
654
644
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
655
- tmp_1 = 'status == ' + _this__u8e3s4.zi_1 + ' && ';
645
+ tmp_1 = 'response.getStatus() == ' + _this__u8e3s4.zi_1 + ' && ';
656
646
  }
657
647
  var tmp_2 = orEmptyString(tmp_1, $this);
658
- var tmp_3 = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
648
+ var tmp_3 = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
659
649
  // Inline function 'kotlin.takeIf' call
660
650
  var tmp1_takeIf = _this__u8e3s4.zi_1;
661
651
  // Inline function 'kotlin.contracts.contract' call
@@ -673,13 +663,13 @@
673
663
  // Inline function 'kotlin.let' call
674
664
  // Inline function 'kotlin.contracts.contract' call
675
665
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
676
- tmp_5 = 'status, ';
666
+ tmp_5 = 'response.getStatus(), ';
677
667
  }
678
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_2 + 'content == null) { return new Response' + tmp_3 + 'Void(' + orEmptyString(tmp_5, $this) + 'headers); }\n |\n ');
668
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_2 + 'response.getContent() == null) { return new Response' + tmp_3 + 'Void(' + orEmptyString(tmp_5, $this) + 'response.getHeaders()); }\n |\n ');
679
669
  } else {
680
- Companion_getInstance_2();
681
- Companion_getInstance_2();
682
- Companion_getInstance_2();
670
+ Companion_getInstance_3();
671
+ Companion_getInstance_3();
672
+ Companion_getInstance_3();
683
673
  // Inline function 'kotlin.takeIf' call
684
674
  var tmp2_takeIf = _this__u8e3s4.zi_1;
685
675
  // Inline function 'kotlin.contracts.contract' call
@@ -697,21 +687,21 @@
697
687
  // Inline function 'kotlin.let' call
698
688
  // Inline function 'kotlin.contracts.contract' call
699
689
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
700
- tmp_7 = 'status == ' + _this__u8e3s4.zi_1 + ' && ';
690
+ tmp_7 = 'response.getStatus() == ' + _this__u8e3s4.zi_1 + ' && ';
701
691
  }
702
692
  var tmp_8 = orEmptyString(tmp_7, $this);
703
- Companion_getInstance_2();
704
- Companion_getInstance_2();
705
- Companion_getInstance_2();
706
- Companion_getInstance_2();
693
+ Companion_getInstance_3();
694
+ Companion_getInstance_3();
695
+ Companion_getInstance_3();
696
+ Companion_getInstance_3();
707
697
  var tmp_9 = $this.qi(_this__u8e3s4.aj_1.ki_1);
708
698
  var tmp_10 = emitPrimaryType(_this__u8e3s4.aj_1.ki_1, $this);
709
699
  var tmp_11 = _this__u8e3s4.aj_1.ki_1.cj();
710
- Companion_getInstance_2();
711
- Companion_getInstance_2();
712
- Companion_getInstance_2();
713
- Companion_getInstance_2();
714
- var tmp_12 = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
700
+ Companion_getInstance_3();
701
+ Companion_getInstance_3();
702
+ Companion_getInstance_3();
703
+ Companion_getInstance_3();
704
+ var tmp_12 = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
715
705
  var tmp_13 = emitContentType(_this__u8e3s4.aj_1, $this);
716
706
  // Inline function 'kotlin.takeIf' call
717
707
  var tmp3_takeIf = _this__u8e3s4.zi_1;
@@ -730,13 +720,13 @@
730
720
  // Inline function 'kotlin.let' call
731
721
  // Inline function 'kotlin.contracts.contract' call
732
722
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
733
- tmp_15 = 'status, ';
723
+ tmp_15 = 'response.getStatus(), ';
734
724
  }
735
725
  var tmp_16 = orEmptyString(tmp_15, $this);
736
- Companion_getInstance_2();
737
- Companion_getInstance_2();
738
- Companion_getInstance_2();
739
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.aj_1.ji_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'Wirespec.Content<' + tmp_9 + '> c = contentMapper.read(content, Wirespec.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
726
+ Companion_getInstance_3();
727
+ Companion_getInstance_3();
728
+ Companion_getInstance_3();
729
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'response.getContent().type().equals("' + _this__u8e3s4.aj_1.ji_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'Wirespec.Content<' + tmp_9 + '> content = contentMapper.read(response.getContent(), Wirespec.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'response.getHeaders(), content.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
740
730
  }
741
731
  return tmp;
742
732
  }
@@ -785,7 +775,7 @@
785
775
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
786
776
  }
787
777
  function emitMap(_this__u8e3s4, $this) {
788
- return joinToString(_this__u8e3s4, ', ', 'java.util.Map.of(', ')', VOID, VOID, JavaEmitter$emitMap$lambda($this));
778
+ return joinToString(_this__u8e3s4, ', ', 'java.util.Map.ofEntries(', ')', VOID, VOID, JavaEmitter$emitMap$lambda($this));
789
779
  }
790
780
  function emitSegment(_this__u8e3s4, $this) {
791
781
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, JavaEmitter$emitSegment$lambda);
@@ -806,34 +796,64 @@
806
796
  // Inline function 'kotlin.js.asDynamic' call
807
797
  tmp = _this__u8e3s4.substring(0, 1) + 'XX';
808
798
  } else {
809
- tmp = Companion_getInstance_2().bj(_this__u8e3s4);
799
+ tmp = Companion_getInstance_3().bj(_this__u8e3s4);
810
800
  }
811
801
  return tmp;
812
802
  }
803
+ function Companion() {
804
+ Companion_instance = this;
805
+ this.gj_1 = listOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while']);
806
+ }
807
+ var Companion_instance;
808
+ function Companion_getInstance_0() {
809
+ if (Companion_instance == null)
810
+ new Companion();
811
+ return Companion_instance;
812
+ }
813
813
  function JavaEmitter$emit$lambda($this_emit, this$0) {
814
814
  return function () {
815
- return trimMargin('public record ' + $this_emit.gj_1 + '(\n |' + this$0.ij($this_emit.hj_1) + '\n |) {};\n |');
815
+ return trimMargin('public record ' + $this_emit.hj_1 + '(\n |' + this$0.jj($this_emit.ij_1) + '\n |) {};\n |');
816
816
  };
817
817
  }
818
818
  function JavaEmitter$emit$lambda$lambda(this$0) {
819
819
  return function (it) {
820
- return this$0.jj(it);
820
+ return this$0.kj(it);
821
821
  };
822
822
  }
823
823
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
824
824
  return function () {
825
- return joinToString($this_emit.kj_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
825
+ return joinToString($this_emit.lj_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
826
826
  };
827
827
  }
828
828
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
829
829
  return function () {
830
- Companion_getInstance_2();
831
- return ' ' + ($this_emit.nj_1 ? 'java.util.Optional<' + this$0.qi($this_emit.mj_1) + '>' : this$0.qi($this_emit.mj_1)) + ' ' + this$0.oj($this_emit.lj_1);
830
+ Companion_getInstance_3();
831
+ return ' ' + ($this_emit.oj_1 ? 'java.util.Optional<' + this$0.qi($this_emit.nj_1) + '>' : this$0.qi($this_emit.nj_1)) + ' ' + this$0.pj($this_emit.mj_1);
832
832
  };
833
833
  }
834
- function JavaEmitter$emit$lambda_2($this_emit) {
834
+ function JavaEmitter$emit$lambda_2(this$0, $this_emit) {
835
835
  return function () {
836
- return $this_emit.pj_1;
836
+ var tmp$ret$2;
837
+ // Inline function 'kotlin.collections.mapIndexed' call
838
+ var tmp0_mapIndexed = split($this_emit.qj_1, ['-']);
839
+ var tmp$ret$1;
840
+ // Inline function 'kotlin.collections.mapIndexedTo' call
841
+ var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_mapIndexed, 10));
842
+ var index = 0;
843
+ var tmp0_iterator = tmp0_mapIndexed.c();
844
+ while (tmp0_iterator.d()) {
845
+ var item = tmp0_iterator.e();
846
+ var tmp$ret$0;
847
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
848
+ var tmp1 = index;
849
+ index = tmp1 + 1 | 0;
850
+ var tmp1_anonymous = checkIndexOverflow(tmp1);
851
+ tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_3().bj(item) : item;
852
+ tmp0_mapIndexedTo.a(tmp$ret$0);
853
+ }
854
+ tmp$ret$1 = tmp0_mapIndexedTo;
855
+ tmp$ret$2 = tmp$ret$1;
856
+ return this$0.sj(this$0.rj(joinToString(tmp$ret$2, '')));
837
857
  };
838
858
  }
839
859
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -844,10 +864,10 @@
844
864
  tmp = 'Object';
845
865
  } else {
846
866
  if (tmp0_subject instanceof Custom) {
847
- tmp = $this_emitPrimaryType.tj_1;
867
+ tmp = $this_emitPrimaryType.wj_1;
848
868
  } else {
849
869
  if (tmp0_subject instanceof Primitive) {
850
- var tmp1_subject = $this_emitPrimaryType.qj_1;
870
+ var tmp1_subject = $this_emitPrimaryType.tj_1;
851
871
  var tmp0 = tmp1_subject.r4_1;
852
872
  var tmp_0;
853
873
  switch (tmp0) {
@@ -898,37 +918,37 @@
898
918
  }
899
919
  function JavaEmitter$emit$lambda_4($this_emit) {
900
920
  return function () {
901
- Companion_getInstance_2();
902
- Companion_getInstance_2();
903
- Companion_getInstance_2();
904
- Companion_getInstance_2();
905
- Companion_getInstance_2();
906
- var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.wj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
907
- Companion_getInstance_2();
908
- Companion_getInstance_2();
909
- Companion_getInstance_2();
910
- Companion_getInstance_2();
911
- Companion_getInstance_2();
921
+ Companion_getInstance_3();
922
+ Companion_getInstance_3();
923
+ Companion_getInstance_3();
924
+ Companion_getInstance_3();
925
+ Companion_getInstance_3();
926
+ var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.zj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
927
+ Companion_getInstance_3();
928
+ Companion_getInstance_3();
929
+ Companion_getInstance_3();
930
+ Companion_getInstance_3();
931
+ Companion_getInstance_3();
912
932
  var toString = trimMargin('\n |' + ' ' + '@Override\n |' + ' ' + 'public String toString() {\n |' + ' ' + ' ' + 'return label;\n |' + ' ' + '}\n ');
913
- Companion_getInstance_2();
914
- Companion_getInstance_2();
933
+ Companion_getInstance_3();
934
+ Companion_getInstance_3();
915
935
  var tmp = ',\n' + ' ';
916
- return 'public enum ' + $this_emit.wj_1 + ' {\n' + ' ' + joinToString($this_emit.xj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
936
+ return 'public enum ' + $this_emit.zj_1 + ' {\n' + ' ' + joinToString($this_emit.ak_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
917
937
  };
918
938
  }
919
939
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
920
940
  return function () {
921
- Companion_getInstance_2();
922
- Companion_getInstance_2();
923
- var tmp = this$0.ak($this_emit.zj_1);
924
- Companion_getInstance_2();
925
- return trimMargin('public record ' + $this_emit.yj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.yj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
941
+ Companion_getInstance_3();
942
+ Companion_getInstance_3();
943
+ var tmp = this$0.dk($this_emit.ck_1);
944
+ Companion_getInstance_3();
945
+ return trimMargin('public record ' + $this_emit.bk_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.bk_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
926
946
  };
927
947
  }
928
948
  function JavaEmitter$emit$lambda_6($this_emit) {
929
949
  return function () {
930
- Companion_getInstance_2();
931
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.bk_1 + ').matcher(record.value).find();';
950
+ Companion_getInstance_3();
951
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.ek_1 + ').matcher(record.value).find();';
932
952
  };
933
953
  }
934
954
  function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -937,13 +957,13 @@
937
957
  };
938
958
  }
939
959
  function JavaEmitter$emit$lambda$lambda_2(it) {
940
- Companion_getInstance_2();
941
- return ' ' + 'interface Response' + it + '<T> extends Response<T>{};';
960
+ Companion_getInstance_3();
961
+ return ' ' + 'sealed interface Response' + it + '<T> extends Response<T>{};';
942
962
  }
943
963
  function JavaEmitter$emit$lambda$lambda_3(this$0) {
944
964
  return function (it) {
945
- Companion_getInstance_2();
946
- return ' ' + 'interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
965
+ Companion_getInstance_3();
966
+ return ' ' + 'sealed interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
947
967
  };
948
968
  }
949
969
  function JavaEmitter$emit$lambda$lambda_4(this$0) {
@@ -953,12 +973,12 @@
953
973
  }
954
974
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
955
975
  return function () {
956
- Companion_getInstance_2();
976
+ Companion_getInstance_3();
957
977
  var tmp = emitSegment($this_emit.ti_1, this$0);
958
978
  var tmp_0 = emitResponseMapper($this_emit.yi_1, this$0);
959
- Companion_getInstance_2();
979
+ Companion_getInstance_3();
960
980
  var tmp_1 = joinToString($this_emit.xi_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
961
- Companion_getInstance_2();
981
+ Companion_getInstance_3();
962
982
  var tmp$ret$2;
963
983
  // Inline function 'kotlin.collections.map' call
964
984
  var tmp0_map = $this_emit.yi_1;
@@ -1033,8 +1053,8 @@
1033
1053
  tmp$ret$10 = list;
1034
1054
  var tmp_6 = tmp$ret$10;
1035
1055
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1036
- Companion_getInstance_2();
1037
- return trimMargin('public interface ' + $this_emit.ri_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends Wirespec.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_2().ck($this_emit.ri_1) + '(Request request);\n |}\n |');
1056
+ Companion_getInstance_3();
1057
+ return trimMargin('public interface ' + $this_emit.ri_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'sealed interface Request<T> extends Wirespec.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public CompletableFuture<Response> ' + Companion_getInstance_3().fk($this_emit.ri_1) + '(Request request);\n |}\n |');
1038
1058
  };
1039
1059
  }
1040
1060
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1043,17 +1063,17 @@
1043
1063
  };
1044
1064
  }
1045
1065
  function JavaEmitter$emitContentType$lambda(it) {
1046
- return Companion_getInstance_2().bj(it);
1066
+ return Companion_getInstance_3().bj(it);
1047
1067
  }
1048
1068
  function JavaEmitter$emit$lambda_8($this_emit) {
1049
1069
  return function () {
1050
1070
  var tmp0_subject = $this_emit;
1051
1071
  var tmp;
1052
1072
  if (tmp0_subject instanceof Literal) {
1053
- tmp = '"' + $this_emit.dk_1 + '"';
1073
+ tmp = '"' + $this_emit.gk_1 + '"';
1054
1074
  } else {
1055
1075
  if (tmp0_subject instanceof Param) {
1056
- tmp = $this_emit.ej_1.pj_1;
1076
+ tmp = $this_emit.ej_1.qj_1;
1057
1077
  } else {
1058
1078
  noWhenBranchMatchedException();
1059
1079
  }
@@ -1063,21 +1083,21 @@
1063
1083
  }
1064
1084
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1065
1085
  return function (it) {
1066
- return this$0.jj(it);
1086
+ return this$0.kj(it);
1067
1087
  };
1068
1088
  }
1069
1089
  function JavaEmitter$emitMap$lambda(this$0) {
1070
1090
  return function (it) {
1071
- return '"' + this$0.oj(it.lj_1) + '", java.util.List.of(' + this$0.oj(it.lj_1) + ')';
1091
+ return 'java.util.Map.entry("' + it.mj_1.qj_1 + '", java.util.List.of(' + this$0.pj(it.mj_1) + '))';
1072
1092
  };
1073
1093
  }
1074
1094
  function JavaEmitter$emitSegment$lambda(it) {
1075
1095
  var tmp;
1076
1096
  if (it instanceof Param) {
1077
- tmp = '{' + it.ej_1.pj_1 + '}';
1097
+ tmp = '{' + it.ej_1.qj_1 + '}';
1078
1098
  } else {
1079
1099
  if (it instanceof Literal) {
1080
- tmp = it.dk_1;
1100
+ tmp = it.gk_1;
1081
1101
  } else {
1082
1102
  noWhenBranchMatchedException();
1083
1103
  }
@@ -1090,46 +1110,47 @@
1090
1110
  };
1091
1111
  }
1092
1112
  function JavaEmitter(packageName, logger) {
1113
+ Companion_getInstance_0();
1093
1114
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1094
1115
  logger = logger === VOID ? get_noLogger() : logger;
1095
1116
  Emitter.call(this, logger, true);
1096
1117
  var tmp = this;
1097
- Companion_getInstance_2();
1098
- Companion_getInstance_2();
1099
- Companion_getInstance_2();
1100
- Companion_getInstance_2();
1101
- Companion_getInstance_2();
1102
- Companion_getInstance_2();
1103
- Companion_getInstance_2();
1104
- Companion_getInstance_2();
1105
- Companion_getInstance_2();
1106
- Companion_getInstance_2();
1107
- Companion_getInstance_2();
1108
- Companion_getInstance_2();
1109
- Companion_getInstance_2();
1110
- Companion_getInstance_2();
1111
- Companion_getInstance_2();
1112
- Companion_getInstance_2();
1113
- Companion_getInstance_2();
1114
- Companion_getInstance_2();
1115
- Companion_getInstance_2();
1116
- Companion_getInstance_2();
1117
- Companion_getInstance_2();
1118
- Companion_getInstance_2();
1119
- Companion_getInstance_2();
1120
- Companion_getInstance_2();
1121
- Companion_getInstance_2();
1122
- Companion_getInstance_2();
1123
- Companion_getInstance_2();
1124
- Companion_getInstance_2();
1125
- Companion_getInstance_2();
1126
- Companion_getInstance_2();
1127
- Companion_getInstance_2();
1128
- Companion_getInstance_2();
1129
- Companion_getInstance_2();
1130
- Companion_getInstance_2();
1131
- Companion_getInstance_2();
1132
- Companion_getInstance_2();
1118
+ Companion_getInstance_3();
1119
+ Companion_getInstance_3();
1120
+ Companion_getInstance_3();
1121
+ Companion_getInstance_3();
1122
+ Companion_getInstance_3();
1123
+ Companion_getInstance_3();
1124
+ Companion_getInstance_3();
1125
+ Companion_getInstance_3();
1126
+ Companion_getInstance_3();
1127
+ Companion_getInstance_3();
1128
+ Companion_getInstance_3();
1129
+ Companion_getInstance_3();
1130
+ Companion_getInstance_3();
1131
+ Companion_getInstance_3();
1132
+ Companion_getInstance_3();
1133
+ Companion_getInstance_3();
1134
+ Companion_getInstance_3();
1135
+ Companion_getInstance_3();
1136
+ Companion_getInstance_3();
1137
+ Companion_getInstance_3();
1138
+ Companion_getInstance_3();
1139
+ Companion_getInstance_3();
1140
+ Companion_getInstance_3();
1141
+ Companion_getInstance_3();
1142
+ Companion_getInstance_3();
1143
+ Companion_getInstance_3();
1144
+ Companion_getInstance_3();
1145
+ Companion_getInstance_3();
1146
+ Companion_getInstance_3();
1147
+ Companion_getInstance_3();
1148
+ Companion_getInstance_3();
1149
+ Companion_getInstance_3();
1150
+ Companion_getInstance_3();
1151
+ Companion_getInstance_3();
1152
+ Companion_getInstance_3();
1153
+ Companion_getInstance_3();
1133
1154
  tmp.oi_1 = trimMargin('\n |package community.flock.wirespec;\n |\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface Wirespec {\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 ');
1134
1155
  this.pi_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1135
1156
  }
@@ -1150,32 +1171,38 @@
1150
1171
  }
1151
1172
  return tmp0_mapTo;
1152
1173
  };
1153
- protoOf(JavaEmitter).ek = function (_this__u8e3s4) {
1154
- return this.fk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1155
- };
1156
- protoOf(JavaEmitter).ij = function (_this__u8e3s4) {
1157
- return this.gk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1174
+ protoOf(JavaEmitter).hk = function (_this__u8e3s4) {
1175
+ return this.ik(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1158
1176
  };
1159
1177
  protoOf(JavaEmitter).jj = function (_this__u8e3s4) {
1160
- return this.hk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1178
+ return this.jk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1179
+ };
1180
+ protoOf(JavaEmitter).kj = function (_this__u8e3s4) {
1181
+ return this.kk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1161
1182
  };
1162
- protoOf(JavaEmitter).oj = function (_this__u8e3s4) {
1163
- return this.ik(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1183
+ protoOf(JavaEmitter).pj = function (_this__u8e3s4) {
1184
+ return this.lk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_2(this, _this__u8e3s4));
1164
1185
  };
1165
1186
  protoOf(JavaEmitter).qi = function (_this__u8e3s4) {
1166
1187
  return this.hi(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1167
1188
  };
1168
- protoOf(JavaEmitter).jk = function (_this__u8e3s4) {
1169
- return this.kk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1189
+ protoOf(JavaEmitter).mk = function (_this__u8e3s4) {
1190
+ return this.nk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1170
1191
  };
1171
- protoOf(JavaEmitter).lk = function (_this__u8e3s4) {
1172
- return this.mk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1192
+ protoOf(JavaEmitter).ok = function (_this__u8e3s4) {
1193
+ return this.pk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1173
1194
  };
1174
- protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1175
- return this.nk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1195
+ protoOf(JavaEmitter).dk = function (_this__u8e3s4) {
1196
+ return this.qk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1176
1197
  };
1177
- protoOf(JavaEmitter).ok = function (_this__u8e3s4) {
1178
- return this.pk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1198
+ protoOf(JavaEmitter).rk = function (_this__u8e3s4) {
1199
+ return this.sk(_this__u8e3s4, this.ai_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1200
+ };
1201
+ protoOf(JavaEmitter).rj = function (_this__u8e3s4) {
1202
+ return Companion_getInstance_0().gj_1.j1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1203
+ };
1204
+ protoOf(JavaEmitter).sj = function (_this__u8e3s4) {
1205
+ return replace(_this__u8e3s4, '.', '');
1179
1206
  };
1180
1207
  function emitPrimaryType_0(_this__u8e3s4, $this) {
1181
1208
  return $this.hi(_this__u8e3s4, $this.ai_1, KotlinEmitter$emitPrimaryType$lambda(_this__u8e3s4));
@@ -1222,57 +1249,57 @@
1222
1249
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
1223
1250
  }
1224
1251
  function emitRequestMapper(_this__u8e3s4, $this) {
1225
- Companion_getInstance_2();
1226
- Companion_getInstance_2();
1227
- Companion_getInstance_2();
1228
- Companion_getInstance_2();
1229
- Companion_getInstance_2();
1252
+ Companion_getInstance_3();
1253
+ Companion_getInstance_3();
1254
+ Companion_getInstance_3();
1255
+ Companion_getInstance_3();
1256
+ Companion_getInstance_3();
1230
1257
  var tmp = joinToString(_this__u8e3s4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestMapper$lambda($this));
1231
- Companion_getInstance_2();
1232
- Companion_getInstance_2();
1233
- Companion_getInstance_2();
1234
- Companion_getInstance_2();
1235
- Companion_getInstance_2();
1236
- Companion_getInstance_2();
1237
- Companion_getInstance_2();
1238
- return trimMargin('\n |' + ' ' + ' ' + 'fun <B> REQUEST_MAPPER(contentMapper: Wirespec.ContentMapper<B>, path:String, method: Wirespec.Method, query: Map<String, List<Any?>>, headers:Map<String, List<Any?>>, content: Wirespec.Content<B>?) =\n |' + ' ' + ' ' + ' ' + 'when {\n |' + tmp + '\n |' + ' ' + ' ' + ' ' + ' ' + 'else -> error("Cannot map request")\n |' + ' ' + ' ' + ' ' + '}\n ');
1258
+ Companion_getInstance_3();
1259
+ Companion_getInstance_3();
1260
+ Companion_getInstance_3();
1261
+ Companion_getInstance_3();
1262
+ Companion_getInstance_3();
1263
+ Companion_getInstance_3();
1264
+ Companion_getInstance_3();
1265
+ return trimMargin('\n |' + ' ' + ' ' + 'fun <B> REQUEST_MAPPER(contentMapper: Wirespec.ContentMapper<B>, request: Wirespec.Request<B>) =\n |' + ' ' + ' ' + ' ' + 'when {\n |' + tmp + '\n |' + ' ' + ' ' + ' ' + ' ' + 'else -> error("Cannot map request")\n |' + ' ' + ' ' + ' ' + '}\n ');
1239
1266
  }
1240
1267
  function emitRequestMapperCondition(_this__u8e3s4, $this) {
1241
1268
  var tmp;
1242
1269
  if (_this__u8e3s4.ii_1 == null) {
1243
- Companion_getInstance_2();
1244
- Companion_getInstance_2();
1245
- Companion_getInstance_2();
1246
- Companion_getInstance_2();
1247
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + 'content == null -> RequestUnit(path, method, query, headers, null)\n ');
1270
+ Companion_getInstance_3();
1271
+ Companion_getInstance_3();
1272
+ Companion_getInstance_3();
1273
+ Companion_getInstance_3();
1274
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + 'request.content == null -> RequestUnit(request.path, request.method, request.query, request.headers, null)\n ');
1248
1275
  } else {
1249
- Companion_getInstance_2();
1250
- Companion_getInstance_2();
1251
- Companion_getInstance_2();
1252
- Companion_getInstance_2();
1253
- Companion_getInstance_2();
1254
- Companion_getInstance_2();
1255
- Companion_getInstance_2();
1256
- Companion_getInstance_2();
1257
- Companion_getInstance_2();
1276
+ Companion_getInstance_3();
1277
+ Companion_getInstance_3();
1278
+ Companion_getInstance_3();
1279
+ Companion_getInstance_3();
1280
+ Companion_getInstance_3();
1281
+ Companion_getInstance_3();
1282
+ Companion_getInstance_3();
1283
+ Companion_getInstance_3();
1284
+ Companion_getInstance_3();
1258
1285
  var tmp_0 = $this.qi(_this__u8e3s4.ii_1.ki_1);
1259
1286
  var tmp_1 = emitPrimaryType_0(_this__u8e3s4.ii_1.ki_1, $this);
1260
1287
  var tmp_2 = _this__u8e3s4.ii_1.ki_1.cj();
1261
- Companion_getInstance_2();
1262
- Companion_getInstance_2();
1263
- Companion_getInstance_2();
1264
- Companion_getInstance_2();
1265
- Companion_getInstance_2();
1266
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + 'content?.type == "' + _this__u8e3s4.ii_1.ji_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_0 + '>(content, Wirespec.getType(' + tmp_1 + '::class.java, ' + tmp_2 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Request' + emitContentType_0(_this__u8e3s4.ii_1) + '(path, method, query, headers, it) }\n ');
1288
+ Companion_getInstance_3();
1289
+ Companion_getInstance_3();
1290
+ Companion_getInstance_3();
1291
+ Companion_getInstance_3();
1292
+ Companion_getInstance_3();
1293
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + 'request.content?.type == "' + _this__u8e3s4.ii_1.ji_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_0 + '>(request.content!!, Wirespec.getType(' + tmp_1 + '::class.java, ' + tmp_2 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Request' + emitContentType_0(_this__u8e3s4.ii_1) + '(request.path, request.method, request.query, request.headers, it) }\n ');
1267
1294
  }
1268
1295
  return tmp;
1269
1296
  }
1270
1297
  function emitResponseMapper_0(_this__u8e3s4, $this) {
1271
- Companion_getInstance_2();
1272
- Companion_getInstance_2();
1273
- Companion_getInstance_2();
1274
- Companion_getInstance_2();
1275
- Companion_getInstance_2();
1298
+ Companion_getInstance_3();
1299
+ Companion_getInstance_3();
1300
+ Companion_getInstance_3();
1301
+ Companion_getInstance_3();
1302
+ Companion_getInstance_3();
1276
1303
  // Inline function 'kotlin.collections.distinctBy' call
1277
1304
  // Inline function 'kotlin.collections.filter' call
1278
1305
  // Inline function 'kotlin.collections.filterTo' call
@@ -1281,7 +1308,7 @@
1281
1308
  while (tmp0_iterator.d()) {
1282
1309
  var element = tmp0_iterator.e();
1283
1310
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1284
- if (Companion_getInstance_2().vk(element.zi_1)) {
1311
+ if (Companion_getInstance_3().yk(element.zi_1)) {
1285
1312
  tmp0_filterTo.a(element);
1286
1313
  }
1287
1314
  }
@@ -1307,7 +1334,7 @@
1307
1334
  while (tmp0_iterator_1.d()) {
1308
1335
  var element_0 = tmp0_iterator_1.e();
1309
1336
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1310
- if (!Companion_getInstance_2().vk(element_0.zi_1)) {
1337
+ if (!Companion_getInstance_3().yk(element_0.zi_1)) {
1311
1338
  tmp0_filterTo_0.a(element_0);
1312
1339
  }
1313
1340
  }
@@ -1325,28 +1352,28 @@
1325
1352
  }
1326
1353
  var tmp_1 = list_0;
1327
1354
  var tmp_2 = joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitResponseMapper$lambda_0($this));
1328
- Companion_getInstance_2();
1329
- Companion_getInstance_2();
1330
- Companion_getInstance_2();
1331
- Companion_getInstance_2();
1332
- Companion_getInstance_2();
1333
- Companion_getInstance_2();
1334
- Companion_getInstance_2();
1335
- return trimMargin('\n |' + ' ' + ' ' + 'fun <B> RESPONSE_MAPPER(contentMapper: Wirespec.ContentMapper<B>, status: Int, headers:Map<String, List<Any?>>, content: Wirespec.Content<B>?) =\n |' + ' ' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $status")\n |' + ' ' + ' ' + ' ' + '}\n ');
1355
+ Companion_getInstance_3();
1356
+ Companion_getInstance_3();
1357
+ Companion_getInstance_3();
1358
+ Companion_getInstance_3();
1359
+ Companion_getInstance_3();
1360
+ Companion_getInstance_3();
1361
+ Companion_getInstance_3();
1362
+ return trimMargin('\n |' + ' ' + ' ' + 'fun <B> RESPONSE_MAPPER(contentMapper: Wirespec.ContentMapper<B>, response: Wirespec.Response<B>) =\n |' + ' ' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $response.status")\n |' + ' ' + ' ' + ' ' + '}\n ');
1336
1363
  }
1337
1364
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1338
1365
  var tmp;
1339
1366
  if (_this__u8e3s4.aj_1 == null) {
1340
- Companion_getInstance_2();
1341
- Companion_getInstance_2();
1342
- Companion_getInstance_2();
1343
- Companion_getInstance_2();
1367
+ Companion_getInstance_3();
1368
+ Companion_getInstance_3();
1369
+ Companion_getInstance_3();
1370
+ Companion_getInstance_3();
1344
1371
  // Inline function 'kotlin.takeIf' call
1345
1372
  var tmp0_takeIf = _this__u8e3s4.zi_1;
1346
1373
  // Inline function 'kotlin.contracts.contract' call
1347
1374
  var tmp_0;
1348
1375
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1349
- if (Companion_getInstance_2().vk(tmp0_takeIf)) {
1376
+ if (Companion_getInstance_3().yk(tmp0_takeIf)) {
1350
1377
  tmp_0 = tmp0_takeIf;
1351
1378
  } else {
1352
1379
  tmp_0 = null;
@@ -1358,16 +1385,16 @@
1358
1385
  // Inline function 'kotlin.let' call
1359
1386
  // Inline function 'kotlin.contracts.contract' call
1360
1387
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1361
- tmp_1 = 'status == ' + _this__u8e3s4.zi_1 + ' && ';
1388
+ tmp_1 = 'response.status == ' + _this__u8e3s4.zi_1 + ' && ';
1362
1389
  }
1363
1390
  var tmp_2 = orEmptyString_0(tmp_1);
1364
- var tmp_3 = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
1391
+ var tmp_3 = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
1365
1392
  // Inline function 'kotlin.takeIf' call
1366
1393
  var tmp1_takeIf = _this__u8e3s4.zi_1;
1367
1394
  // Inline function 'kotlin.contracts.contract' call
1368
1395
  var tmp_4;
1369
1396
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1370
- if (!Companion_getInstance_2().vk(tmp1_takeIf)) {
1397
+ if (!Companion_getInstance_3().yk(tmp1_takeIf)) {
1371
1398
  tmp_4 = tmp1_takeIf;
1372
1399
  } else {
1373
1400
  tmp_4 = null;
@@ -1379,20 +1406,20 @@
1379
1406
  // Inline function 'kotlin.let' call
1380
1407
  // Inline function 'kotlin.contracts.contract' call
1381
1408
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1382
- tmp_5 = 'status, ';
1409
+ tmp_5 = 'response.status, ';
1383
1410
  }
1384
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_2 + 'content == null -> Response' + tmp_3 + 'Unit(' + orEmptyString_0(tmp_5) + 'headers)\n ');
1411
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_2 + 'response.content == null -> Response' + tmp_3 + 'Unit(' + orEmptyString_0(tmp_5) + 'response.headers)\n ');
1385
1412
  } else {
1386
- Companion_getInstance_2();
1387
- Companion_getInstance_2();
1388
- Companion_getInstance_2();
1389
- Companion_getInstance_2();
1413
+ Companion_getInstance_3();
1414
+ Companion_getInstance_3();
1415
+ Companion_getInstance_3();
1416
+ Companion_getInstance_3();
1390
1417
  // Inline function 'kotlin.takeIf' call
1391
1418
  var tmp2_takeIf = _this__u8e3s4.zi_1;
1392
1419
  // Inline function 'kotlin.contracts.contract' call
1393
1420
  var tmp_6;
1394
1421
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1395
- if (Companion_getInstance_2().vk(tmp2_takeIf)) {
1422
+ if (Companion_getInstance_3().yk(tmp2_takeIf)) {
1396
1423
  tmp_6 = tmp2_takeIf;
1397
1424
  } else {
1398
1425
  tmp_6 = null;
@@ -1404,30 +1431,30 @@
1404
1431
  // Inline function 'kotlin.let' call
1405
1432
  // Inline function 'kotlin.contracts.contract' call
1406
1433
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1407
- tmp_7 = 'status == ' + _this__u8e3s4.zi_1 + ' && ';
1434
+ tmp_7 = 'response.status == ' + _this__u8e3s4.zi_1 + ' && ';
1408
1435
  }
1409
1436
  var tmp_8 = orEmptyString_0(tmp_7);
1410
- Companion_getInstance_2();
1411
- Companion_getInstance_2();
1412
- Companion_getInstance_2();
1413
- Companion_getInstance_2();
1414
- Companion_getInstance_2();
1437
+ Companion_getInstance_3();
1438
+ Companion_getInstance_3();
1439
+ Companion_getInstance_3();
1440
+ Companion_getInstance_3();
1441
+ Companion_getInstance_3();
1415
1442
  var tmp_9 = $this.qi(_this__u8e3s4.aj_1.ki_1);
1416
1443
  var tmp_10 = emitPrimaryType_0(_this__u8e3s4.aj_1.ki_1, $this);
1417
1444
  var tmp_11 = _this__u8e3s4.aj_1.ki_1.cj();
1418
- Companion_getInstance_2();
1419
- Companion_getInstance_2();
1420
- Companion_getInstance_2();
1421
- Companion_getInstance_2();
1422
- Companion_getInstance_2();
1423
- var tmp_12 = Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
1445
+ Companion_getInstance_3();
1446
+ Companion_getInstance_3();
1447
+ Companion_getInstance_3();
1448
+ Companion_getInstance_3();
1449
+ Companion_getInstance_3();
1450
+ var tmp_12 = Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
1424
1451
  var tmp_13 = emitContentType_0(_this__u8e3s4.aj_1);
1425
1452
  // Inline function 'kotlin.takeIf' call
1426
1453
  var tmp3_takeIf = _this__u8e3s4.zi_1;
1427
1454
  // Inline function 'kotlin.contracts.contract' call
1428
1455
  var tmp_14;
1429
1456
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1430
- if (!Companion_getInstance_2().vk(tmp3_takeIf)) {
1457
+ if (!Companion_getInstance_3().yk(tmp3_takeIf)) {
1431
1458
  tmp_14 = tmp3_takeIf;
1432
1459
  } else {
1433
1460
  tmp_14 = null;
@@ -1439,48 +1466,48 @@
1439
1466
  // Inline function 'kotlin.let' call
1440
1467
  // Inline function 'kotlin.contracts.contract' call
1441
1468
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1442
- tmp_15 = 'status, ';
1469
+ tmp_15 = 'response.status, ';
1443
1470
  }
1444
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.aj_1.ji_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, Wirespec.getType(' + tmp_10 + '::class.java, ' + tmp_11 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_12 + tmp_13 + '(' + orEmptyString_0(tmp_15) + 'headers, it.body) }\n ');
1471
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + ' ' + tmp_8 + 'response.content?.type == "' + _this__u8e3s4.aj_1.ji_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(response.content!!, Wirespec.getType(' + tmp_10 + '::class.java, ' + tmp_11 + '))\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_12 + tmp_13 + '(' + orEmptyString_0(tmp_15) + 'response.headers, it.body) }\n ');
1445
1472
  }
1446
1473
  return tmp;
1447
1474
  }
1448
- function Companion() {
1449
- Companion_instance = this;
1450
- this.wk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1475
+ function Companion_0() {
1476
+ Companion_instance_0 = this;
1477
+ this.zk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1451
1478
  }
1452
- var Companion_instance;
1453
- function Companion_getInstance_0() {
1454
- if (Companion_instance == null)
1455
- new Companion();
1456
- return Companion_instance;
1479
+ var Companion_instance_0;
1480
+ function Companion_getInstance_1() {
1481
+ if (Companion_instance_0 == null)
1482
+ new Companion_0();
1483
+ return Companion_instance_0;
1457
1484
  }
1458
1485
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1459
1486
  return function () {
1460
- return trimMargin('|data class ' + $this_emit.gj_1 + '(\n |' + this$0.ij($this_emit.hj_1) + '\n |)\n |');
1487
+ return trimMargin('|data class ' + $this_emit.hj_1 + '(\n |' + this$0.jj($this_emit.ij_1) + '\n |)\n |');
1461
1488
  };
1462
1489
  }
1463
1490
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1464
1491
  return function (it) {
1465
- Companion_getInstance_2();
1466
- return ' ' + 'val ' + this$0.jj(it);
1492
+ Companion_getInstance_3();
1493
+ return ' ' + 'val ' + this$0.kj(it);
1467
1494
  };
1468
1495
  }
1469
1496
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1470
1497
  return function () {
1471
- return joinToString($this_emit.kj_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1498
+ return joinToString($this_emit.lj_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1472
1499
  };
1473
1500
  }
1474
1501
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1475
1502
  return function () {
1476
- return this$0.oj($this_emit.lj_1) + ': ' + this$0.qi($this_emit.mj_1) + ($this_emit.nj_1 ? '? = null' : '');
1503
+ return this$0.pj($this_emit.mj_1) + ': ' + this$0.qi($this_emit.nj_1) + ($this_emit.oj_1 ? '? = null' : '');
1477
1504
  };
1478
1505
  }
1479
1506
  function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1480
1507
  return function () {
1481
1508
  var tmp$ret$2;
1482
1509
  // Inline function 'kotlin.collections.mapIndexed' call
1483
- var tmp0_mapIndexed = split($this_emit.pj_1, ['-']);
1510
+ var tmp0_mapIndexed = split($this_emit.qj_1, ['-']);
1484
1511
  var tmp$ret$1;
1485
1512
  // Inline function 'kotlin.collections.mapIndexedTo' call
1486
1513
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_mapIndexed, 10));
@@ -1493,12 +1520,12 @@
1493
1520
  var tmp1 = index;
1494
1521
  index = tmp1 + 1 | 0;
1495
1522
  var tmp1_anonymous = checkIndexOverflow(tmp1);
1496
- tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_2().bj(item) : item;
1523
+ tmp$ret$0 = tmp1_anonymous > 0 ? Companion_getInstance_3().bj(item) : item;
1497
1524
  tmp0_mapIndexedTo.a(tmp$ret$0);
1498
1525
  }
1499
1526
  tmp$ret$1 = tmp0_mapIndexedTo;
1500
1527
  tmp$ret$2 = tmp$ret$1;
1501
- return this$0.yk(this$0.xk(joinToString(tmp$ret$2, '')));
1528
+ return this$0.sj(this$0.rj(joinToString(tmp$ret$2, '')));
1502
1529
  };
1503
1530
  }
1504
1531
  function KotlinEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -1509,10 +1536,10 @@
1509
1536
  tmp = 'Any';
1510
1537
  } else {
1511
1538
  if (tmp0_subject instanceof Custom) {
1512
- tmp = $this_emitPrimaryType.tj_1;
1539
+ tmp = $this_emitPrimaryType.wj_1;
1513
1540
  } else {
1514
1541
  if (tmp0_subject instanceof Primitive) {
1515
- var tmp1_subject = $this_emitPrimaryType.qj_1;
1542
+ var tmp1_subject = $this_emitPrimaryType.tj_1;
1516
1543
  var tmp0 = tmp1_subject.r4_1;
1517
1544
  var tmp_0;
1518
1545
  switch (tmp0) {
@@ -1554,7 +1581,7 @@
1554
1581
  // Inline function 'kotlin.contracts.contract' call
1555
1582
  var tmp$ret$2;
1556
1583
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1557
- tmp$ret$2 = $this_emit.zk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1584
+ tmp$ret$2 = $this_emit.al() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1558
1585
  tmp$ret$3 = tmp$ret$2;
1559
1586
  return tmp$ret$3;
1560
1587
  };
@@ -1568,35 +1595,35 @@
1568
1595
  }
1569
1596
  function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1570
1597
  return function (it) {
1571
- return this$0.xk(invoke$sanitize_0(it)) + '("' + it + '")';
1598
+ return this$0.rj(invoke$sanitize_0(it)) + '("' + it + '")';
1572
1599
  };
1573
1600
  }
1574
1601
  function KotlinEmitter$emit$lambda_4($this_emit, this$0) {
1575
1602
  return function () {
1576
- Companion_getInstance_2();
1577
- Companion_getInstance_2();
1603
+ Companion_getInstance_3();
1604
+ Companion_getInstance_3();
1578
1605
  var tmp = ',\n' + ' ';
1579
- var tmp_0 = joinToString($this_emit.xj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1580
- Companion_getInstance_2();
1581
- Companion_getInstance_2();
1582
- Companion_getInstance_2();
1583
- Companion_getInstance_2();
1584
- return 'enum class ' + $this_emit.wj_1 + ' (val label: String){\n' + ' ' + tmp_0 + ';\n\n' + ' ' + 'override fun toString(): String {\n' + ' ' + ' ' + 'return label\n' + ' ' + '}\n}\n';
1606
+ var tmp_0 = joinToString($this_emit.ak_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1607
+ Companion_getInstance_3();
1608
+ Companion_getInstance_3();
1609
+ Companion_getInstance_3();
1610
+ Companion_getInstance_3();
1611
+ return 'enum class ' + $this_emit.zj_1 + ' (val label: String){\n' + ' ' + tmp_0 + ';\n\n' + ' ' + 'override fun toString(): String {\n' + ' ' + ' ' + 'return label\n' + ' ' + '}\n}\n';
1585
1612
  };
1586
1613
  }
1587
1614
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1588
1615
  return function () {
1589
- return trimMargin('data class ' + $this_emit.yj_1 + '(val value: String)\n |fun ' + $this_emit.yj_1 + '.validate() = ' + this$0.ak($this_emit.zj_1) + '\n |');
1616
+ return trimMargin('data class ' + $this_emit.bk_1 + '(val value: String)\n |fun ' + $this_emit.bk_1 + '.validate() = ' + this$0.dk($this_emit.ck_1) + '\n |');
1590
1617
  };
1591
1618
  }
1592
1619
  function KotlinEmitter$emit$lambda_6($this_emit) {
1593
1620
  return function () {
1594
- return 'Regex(' + $this_emit.bk_1 + ').find(value)';
1621
+ return 'Regex(' + $this_emit.ek_1 + ').find(value)';
1595
1622
  };
1596
1623
  }
1597
1624
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1598
1625
  return function (it) {
1599
- Companion_getInstance_2();
1626
+ Companion_getInstance_3();
1600
1627
  var tmp0_safe_receiver = it.ii_1;
1601
1628
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1602
1629
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1631,16 +1658,16 @@
1631
1658
  };
1632
1659
  }
1633
1660
  function KotlinEmitter$emit$lambda$lambda_2(it) {
1634
- Companion_getInstance_2();
1661
+ Companion_getInstance_3();
1635
1662
  return ' ' + 'sealed interface Response' + it + '<T>: Response<T>';
1636
1663
  }
1637
1664
  function KotlinEmitter$emit$lambda$lambda_3(it) {
1638
- Companion_getInstance_2();
1665
+ Companion_getInstance_3();
1639
1666
  return ' ' + 'sealed interface Response' + it + '<T>: Response' + groupStatus_0(it) + '<T>';
1640
1667
  }
1641
1668
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1642
1669
  return function (it) {
1643
- Companion_getInstance_2();
1670
+ Companion_getInstance_3();
1644
1671
  var tmp0_safe_receiver = it.aj_1;
1645
1672
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1646
1673
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1684,8 +1711,8 @@
1684
1711
  }
1685
1712
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1686
1713
  return function (it) {
1687
- Companion_getInstance_2();
1688
- var tmp = Companion_getInstance_2().bj(it.zi_1);
1714
+ Companion_getInstance_3();
1715
+ var tmp = Companion_getInstance_3().bj(it.zi_1);
1689
1716
  var tmp0_safe_receiver = it.aj_1;
1690
1717
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1691
1718
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
@@ -1705,7 +1732,7 @@
1705
1732
  }
1706
1733
  var tmp3_elvis_lhs = tmp_1;
1707
1734
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1708
- var tmp_3 = Companion_getInstance_2().bj(it.zi_1);
1735
+ var tmp_3 = Companion_getInstance_3().bj(it.zi_1);
1709
1736
  var tmp4_safe_receiver = it.aj_1;
1710
1737
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.ki_1;
1711
1738
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.qi(tmp5_safe_receiver);
@@ -1730,9 +1757,9 @@
1730
1757
  }
1731
1758
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1732
1759
  return function () {
1733
- Companion_getInstance_2();
1760
+ Companion_getInstance_3();
1734
1761
  var tmp = joinToString($this_emit.xi_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1735
- Companion_getInstance_2();
1762
+ Companion_getInstance_3();
1736
1763
  var tmp$ret$2;
1737
1764
  // Inline function 'kotlin.collections.map' call
1738
1765
  var tmp0_map = $this_emit.yi_1;
@@ -1764,7 +1791,7 @@
1764
1791
  var element = tmp0_iterator_0.e();
1765
1792
  var tmp$ret$3;
1766
1793
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1767
- tmp$ret$3 = Companion_getInstance_2().vk(element.zi_1);
1794
+ tmp$ret$3 = Companion_getInstance_3().yk(element.zi_1);
1768
1795
  if (tmp$ret$3) {
1769
1796
  tmp0_filterTo.a(element);
1770
1797
  }
@@ -1800,7 +1827,7 @@
1800
1827
  var element_0 = tmp0_iterator_2.e();
1801
1828
  var tmp$ret$9;
1802
1829
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1803
- tmp$ret$9 = Companion_getInstance_2().vk(element_0.zi_1);
1830
+ tmp$ret$9 = Companion_getInstance_3().yk(element_0.zi_1);
1804
1831
  if (tmp$ret$9) {
1805
1832
  tmp0_filterTo_0.a(element_0);
1806
1833
  }
@@ -1838,7 +1865,7 @@
1838
1865
  var element_1 = tmp0_iterator_4.e();
1839
1866
  var tmp$ret$14;
1840
1867
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1841
- tmp$ret$14 = !Companion_getInstance_2().vk(element_1.zi_1);
1868
+ tmp$ret$14 = !Companion_getInstance_3().yk(element_1.zi_1);
1842
1869
  if (tmp$ret$14) {
1843
1870
  tmp0_filterTo_1.a(element_1);
1844
1871
  }
@@ -1863,30 +1890,30 @@
1863
1890
  tmp$ret$18 = list_0;
1864
1891
  var tmp_6 = tmp$ret$18;
1865
1892
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1866
- Companion_getInstance_2();
1867
- var tmp_8 = Companion_getInstance_2().ck($this_emit.ri_1);
1868
- Companion_getInstance_2();
1869
- Companion_getInstance_2();
1870
- Companion_getInstance_2();
1893
+ Companion_getInstance_3();
1894
+ var tmp_8 = Companion_getInstance_3().fk($this_emit.ri_1);
1895
+ Companion_getInstance_3();
1896
+ Companion_getInstance_3();
1897
+ Companion_getInstance_3();
1871
1898
  var tmp_9 = emitSegment_0($this_emit.ti_1, this$0);
1872
1899
  var tmp_10 = emitRequestMapper($this_emit.xi_1, this$0);
1873
1900
  var tmp_11 = emitResponseMapper_0($this_emit.yi_1, this$0);
1874
- Companion_getInstance_2();
1901
+ Companion_getInstance_3();
1875
1902
  return trimMargin('interface ' + $this_emit.ri_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: Wirespec.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: Wirespec.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 |' + tmp_11 + '\n |' + ' ' + '}\n |}\n |');
1876
1903
  };
1877
1904
  }
1878
1905
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1879
1906
  return function (it) {
1880
- return this$0.jj(it);
1907
+ return this$0.kj(it);
1881
1908
  };
1882
1909
  }
1883
1910
  function KotlinEmitter$emitSegment$lambda(it) {
1884
1911
  var tmp;
1885
1912
  if (it instanceof Param) {
1886
- tmp = '{' + it.ej_1.pj_1 + '}';
1913
+ tmp = '{' + it.ej_1.qj_1 + '}';
1887
1914
  } else {
1888
1915
  if (it instanceof Literal) {
1889
- tmp = it.dk_1;
1916
+ tmp = it.gk_1;
1890
1917
  } else {
1891
1918
  noWhenBranchMatchedException();
1892
1919
  }
@@ -1895,7 +1922,7 @@
1895
1922
  }
1896
1923
  function KotlinEmitter$emitMap$lambda(this$0) {
1897
1924
  return function (it) {
1898
- return '"' + it.lj_1.pj_1 + '" to listOf(' + this$0.oj(it.lj_1) + ')';
1925
+ return '"' + it.mj_1.qj_1 + '" to listOf(' + this$0.pj(it.mj_1) + ')';
1899
1926
  };
1900
1927
  }
1901
1928
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1903,10 +1930,10 @@
1903
1930
  var tmp0_subject = $this_emit;
1904
1931
  var tmp;
1905
1932
  if (tmp0_subject instanceof Literal) {
1906
- tmp = $this_emit.dk_1;
1933
+ tmp = $this_emit.gk_1;
1907
1934
  } else {
1908
1935
  if (tmp0_subject instanceof Param) {
1909
- tmp = '${' + $this_emit.ej_1.pj_1 + '}';
1936
+ tmp = '${' + $this_emit.ej_1.qj_1 + '}';
1910
1937
  } else {
1911
1938
  noWhenBranchMatchedException();
1912
1939
  }
@@ -1935,61 +1962,61 @@
1935
1962
  };
1936
1963
  }
1937
1964
  function KotlinEmitter(packageName, logger) {
1938
- Companion_getInstance_0();
1965
+ Companion_getInstance_1();
1939
1966
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1940
1967
  logger = logger === VOID ? get_noLogger() : logger;
1941
1968
  Emitter.call(this, logger);
1942
- this.sk_1 = packageName;
1969
+ this.vk_1 = packageName;
1943
1970
  var tmp = this;
1944
- Companion_getInstance_2();
1945
- Companion_getInstance_2();
1946
- Companion_getInstance_2();
1947
- Companion_getInstance_2();
1948
- Companion_getInstance_2();
1949
- Companion_getInstance_2();
1950
- Companion_getInstance_2();
1951
- Companion_getInstance_2();
1952
- Companion_getInstance_2();
1953
- Companion_getInstance_2();
1954
- Companion_getInstance_2();
1955
- Companion_getInstance_2();
1956
- Companion_getInstance_2();
1957
- Companion_getInstance_2();
1958
- Companion_getInstance_2();
1959
- Companion_getInstance_2();
1960
- Companion_getInstance_2();
1961
- Companion_getInstance_2();
1962
- Companion_getInstance_2();
1963
- Companion_getInstance_2();
1964
- Companion_getInstance_2();
1965
- Companion_getInstance_2();
1966
- Companion_getInstance_2();
1967
- Companion_getInstance_2();
1968
- Companion_getInstance_2();
1969
- Companion_getInstance_2();
1970
- Companion_getInstance_2();
1971
- Companion_getInstance_2();
1972
- Companion_getInstance_2();
1973
- Companion_getInstance_2();
1974
- Companion_getInstance_2();
1975
- Companion_getInstance_2();
1976
- Companion_getInstance_2();
1977
- Companion_getInstance_2();
1978
- Companion_getInstance_2();
1979
- Companion_getInstance_2();
1980
- Companion_getInstance_2();
1981
- Companion_getInstance_2();
1982
- Companion_getInstance_2();
1983
- Companion_getInstance_2();
1984
- Companion_getInstance_2();
1985
- Companion_getInstance_2();
1986
- Companion_getInstance_2();
1987
- Companion_getInstance_2();
1988
- Companion_getInstance_2();
1989
- Companion_getInstance_2();
1990
- Companion_getInstance_2();
1991
- tmp.tk_1 = trimMargin('\n |package community.flock.wirespec\n |\n |import java.lang.reflect.Type\n |import java.lang.reflect.ParameterizedType\n |\n |interface Wirespec {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + '@JvmRecord 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: Type): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |' + ' ' + 'companion object {\n |' + ' ' + ' ' + '@JvmStatic fun getType(type: Class<*>, isIterable: Boolean): Type {\n |' + ' ' + ' ' + ' ' + 'return if (isIterable) {\n |' + ' ' + ' ' + ' ' + ' ' + 'object : ParameterizedType {\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getRawType() = MutableList::class.java\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getActualTypeArguments() = arrayOf(type)\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getOwnerType() = null\n |' + ' ' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + ' ' + '} else {\n |' + ' ' + ' ' + ' ' + ' ' + 'type\n |' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1992
- this.uk_1 = '\nimport community.flock.wirespec.Wirespec\n';
1971
+ Companion_getInstance_3();
1972
+ Companion_getInstance_3();
1973
+ Companion_getInstance_3();
1974
+ Companion_getInstance_3();
1975
+ Companion_getInstance_3();
1976
+ Companion_getInstance_3();
1977
+ Companion_getInstance_3();
1978
+ Companion_getInstance_3();
1979
+ Companion_getInstance_3();
1980
+ Companion_getInstance_3();
1981
+ Companion_getInstance_3();
1982
+ Companion_getInstance_3();
1983
+ Companion_getInstance_3();
1984
+ Companion_getInstance_3();
1985
+ Companion_getInstance_3();
1986
+ Companion_getInstance_3();
1987
+ Companion_getInstance_3();
1988
+ Companion_getInstance_3();
1989
+ Companion_getInstance_3();
1990
+ Companion_getInstance_3();
1991
+ Companion_getInstance_3();
1992
+ Companion_getInstance_3();
1993
+ Companion_getInstance_3();
1994
+ Companion_getInstance_3();
1995
+ Companion_getInstance_3();
1996
+ Companion_getInstance_3();
1997
+ Companion_getInstance_3();
1998
+ Companion_getInstance_3();
1999
+ Companion_getInstance_3();
2000
+ Companion_getInstance_3();
2001
+ Companion_getInstance_3();
2002
+ Companion_getInstance_3();
2003
+ Companion_getInstance_3();
2004
+ Companion_getInstance_3();
2005
+ Companion_getInstance_3();
2006
+ Companion_getInstance_3();
2007
+ Companion_getInstance_3();
2008
+ Companion_getInstance_3();
2009
+ Companion_getInstance_3();
2010
+ Companion_getInstance_3();
2011
+ Companion_getInstance_3();
2012
+ Companion_getInstance_3();
2013
+ Companion_getInstance_3();
2014
+ Companion_getInstance_3();
2015
+ Companion_getInstance_3();
2016
+ Companion_getInstance_3();
2017
+ Companion_getInstance_3();
2018
+ tmp.wk_1 = trimMargin('\n |package community.flock.wirespec\n |\n |import java.lang.reflect.Type\n |import java.lang.reflect.ParameterizedType\n |\n |interface Wirespec {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + '@JvmRecord 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: Type): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |' + ' ' + 'companion object {\n |' + ' ' + ' ' + '@JvmStatic fun getType(type: Class<*>, isIterable: Boolean): Type {\n |' + ' ' + ' ' + ' ' + 'return if (isIterable) {\n |' + ' ' + ' ' + ' ' + ' ' + 'object : ParameterizedType {\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getRawType() = MutableList::class.java\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getActualTypeArguments() = arrayOf(type)\n |' + ' ' + ' ' + ' ' + ' ' + ' ' + 'override fun getOwnerType() = null\n |' + ' ' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + ' ' + '} else {\n |' + ' ' + ' ' + ' ' + ' ' + 'type\n |' + ' ' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
2019
+ this.xk_1 = '\nimport community.flock.wirespec.Wirespec\n';
1993
2020
  }
1994
2021
  protoOf(KotlinEmitter).ci = function (ast) {
1995
2022
  // Inline function 'kotlin.collections.map' call
@@ -2005,44 +2032,44 @@
2005
2032
  var result = item.k3();
2006
2033
  var tmp$ret$0;
2007
2034
  // Inline function 'kotlin.text.trimStart' call
2008
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.sk_1) ? '' : 'package ' + this.sk_1) + '\n |' + (Companion_getInstance_2().gi(ast) ? this.uk_1 : '') + '\n |' + result + '\n ');
2035
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.vk_1) ? '' : 'package ' + this.vk_1) + '\n |' + (Companion_getInstance_3().gi(ast) ? this.xk_1 : '') + '\n |' + result + '\n ');
2009
2036
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2010
2037
  tmp$ret$1 = to(name, tmp$ret$0);
2011
2038
  tmp0_mapTo.a(tmp$ret$1);
2012
2039
  }
2013
2040
  return tmp0_mapTo;
2014
2041
  };
2015
- protoOf(KotlinEmitter).ek = function (_this__u8e3s4) {
2016
- return this.fk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2017
- };
2018
- protoOf(KotlinEmitter).ij = function (_this__u8e3s4) {
2019
- return this.gk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2042
+ protoOf(KotlinEmitter).hk = function (_this__u8e3s4) {
2043
+ return this.ik(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2020
2044
  };
2021
2045
  protoOf(KotlinEmitter).jj = function (_this__u8e3s4) {
2022
- return this.hk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2046
+ return this.jk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2047
+ };
2048
+ protoOf(KotlinEmitter).kj = function (_this__u8e3s4) {
2049
+ return this.kk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2023
2050
  };
2024
- protoOf(KotlinEmitter).oj = function (_this__u8e3s4) {
2025
- return this.ik(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2051
+ protoOf(KotlinEmitter).pj = function (_this__u8e3s4) {
2052
+ return this.lk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2026
2053
  };
2027
2054
  protoOf(KotlinEmitter).qi = function (_this__u8e3s4) {
2028
2055
  return this.hi(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_3(this, _this__u8e3s4));
2029
2056
  };
2030
- protoOf(KotlinEmitter).jk = function (_this__u8e3s4) {
2031
- return this.kk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2057
+ protoOf(KotlinEmitter).mk = function (_this__u8e3s4) {
2058
+ return this.nk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2032
2059
  };
2033
- protoOf(KotlinEmitter).lk = function (_this__u8e3s4) {
2034
- return this.mk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2060
+ protoOf(KotlinEmitter).ok = function (_this__u8e3s4) {
2061
+ return this.pk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2035
2062
  };
2036
- protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2037
- return this.nk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2063
+ protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2064
+ return this.qk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2038
2065
  };
2039
- protoOf(KotlinEmitter).ok = function (_this__u8e3s4) {
2040
- return this.pk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2066
+ protoOf(KotlinEmitter).rk = function (_this__u8e3s4) {
2067
+ return this.sk(_this__u8e3s4, this.ai_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2041
2068
  };
2042
- protoOf(KotlinEmitter).xk = function (_this__u8e3s4) {
2043
- return Companion_getInstance_0().wk_1.j1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2069
+ protoOf(KotlinEmitter).rj = function (_this__u8e3s4) {
2070
+ return Companion_getInstance_1().zk_1.j1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2044
2071
  };
2045
- protoOf(KotlinEmitter).yk = function (_this__u8e3s4) {
2072
+ protoOf(KotlinEmitter).sj = function (_this__u8e3s4) {
2046
2073
  return replace(_this__u8e3s4, '.', '');
2047
2074
  };
2048
2075
  function toField(_this__u8e3s4, identifier, isNullable) {
@@ -2054,12 +2081,12 @@
2054
2081
  }
2055
2082
  function groupStatus_0(_this__u8e3s4) {
2056
2083
  var tmp;
2057
- if (Companion_getInstance_2().vk(_this__u8e3s4)) {
2084
+ if (Companion_getInstance_3().yk(_this__u8e3s4)) {
2058
2085
  // Inline function 'kotlin.text.substring' call
2059
2086
  // Inline function 'kotlin.js.asDynamic' call
2060
2087
  tmp = _this__u8e3s4.substring(0, 1) + 'XX';
2061
2088
  } else {
2062
- tmp = Companion_getInstance_2().bj(_this__u8e3s4);
2089
+ tmp = Companion_getInstance_3().bj(_this__u8e3s4);
2063
2090
  }
2064
2091
  return tmp;
2065
2092
  }
@@ -2067,42 +2094,42 @@
2067
2094
  return _this__u8e3s4 == null ? '' : _this__u8e3s4;
2068
2095
  }
2069
2096
  function emitContentType$lambda(it) {
2070
- return Companion_getInstance_2().bj(it);
2097
+ return Companion_getInstance_3().bj(it);
2071
2098
  }
2072
- function Companion_0() {
2073
- Companion_instance_0 = this;
2074
- this.al_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']);
2099
+ function Companion_1() {
2100
+ Companion_instance_1 = this;
2101
+ this.bl_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']);
2075
2102
  }
2076
- var Companion_instance_0;
2077
- function Companion_getInstance_1() {
2078
- if (Companion_instance_0 == null)
2079
- new Companion_0();
2080
- return Companion_instance_0;
2103
+ var Companion_instance_1;
2104
+ function Companion_getInstance_2() {
2105
+ if (Companion_instance_1 == null)
2106
+ new Companion_1();
2107
+ return Companion_instance_1;
2081
2108
  }
2082
2109
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2083
2110
  return function () {
2084
- return trimMargin('case class ' + $this_emit.gj_1 + '(\n |' + this$0.ij($this_emit.hj_1) + '\n |)\n |\n |');
2111
+ return trimMargin('case class ' + $this_emit.hj_1 + '(\n |' + this$0.jj($this_emit.ij_1) + '\n |)\n |\n |');
2085
2112
  };
2086
2113
  }
2087
2114
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2088
2115
  return function (it) {
2089
- return this$0.jj(it);
2116
+ return this$0.kj(it);
2090
2117
  };
2091
2118
  }
2092
2119
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2093
2120
  return function () {
2094
- return dropLast(joinToString($this_emit.kj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2121
+ return dropLast(joinToString($this_emit.lj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2095
2122
  };
2096
2123
  }
2097
2124
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2098
2125
  return function () {
2099
- Companion_getInstance_2();
2100
- return ' ' + 'val ' + this$0.oj($this_emit.lj_1) + ': ' + ($this_emit.nj_1 ? 'Option[' + this$0.qi($this_emit.mj_1) + ']' : this$0.qi($this_emit.mj_1)) + ',';
2126
+ Companion_getInstance_3();
2127
+ return ' ' + 'val ' + this$0.pj($this_emit.mj_1) + ': ' + ($this_emit.oj_1 ? 'Option[' + this$0.qi($this_emit.nj_1) + ']' : this$0.qi($this_emit.nj_1)) + ',';
2101
2128
  };
2102
2129
  }
2103
2130
  function ScalaEmitter$emit$lambda_2($this_emit) {
2104
2131
  return function () {
2105
- return Companion_getInstance_1().al_1.j1($this_emit.pj_1) ? '`' + $this_emit.pj_1 + '`' : $this_emit.pj_1;
2132
+ return Companion_getInstance_2().bl_1.j1($this_emit.qj_1) ? '`' + $this_emit.qj_1 + '`' : $this_emit.qj_1;
2106
2133
  };
2107
2134
  }
2108
2135
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2115,10 +2142,10 @@
2115
2142
  tmp = 'Any';
2116
2143
  } else {
2117
2144
  if (tmp0_subject instanceof Custom) {
2118
- tmp = $this_emit.tj_1;
2145
+ tmp = $this_emit.wj_1;
2119
2146
  } else {
2120
2147
  if (tmp0_subject instanceof Primitive) {
2121
- var tmp1_subject = $this_emit.qj_1;
2148
+ var tmp1_subject = $this_emit.tj_1;
2122
2149
  var tmp0 = tmp1_subject.r4_1;
2123
2150
  var tmp_0;
2124
2151
  switch (tmp0) {
@@ -2159,7 +2186,7 @@
2159
2186
  }
2160
2187
  function ScalaEmitter$emit$lambda$lambda_0($this_emit) {
2161
2188
  return function (it) {
2162
- Companion_getInstance_2();
2189
+ Companion_getInstance_3();
2163
2190
  var tmp$ret$1;
2164
2191
  // Inline function 'kotlin.text.uppercase' call
2165
2192
  var tmp0_uppercase = invoke$sanitize_1(it);
@@ -2167,41 +2194,41 @@
2167
2194
  // Inline function 'kotlin.js.asDynamic' call
2168
2195
  tmp$ret$0 = tmp0_uppercase;
2169
2196
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2170
- return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.wj_1 + '(label = "' + it + '")';
2197
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.zj_1 + '(label = "' + it + '")';
2171
2198
  };
2172
2199
  }
2173
2200
  function ScalaEmitter$emit$lambda_4($this_emit) {
2174
2201
  return function () {
2175
- return trimMargin('\n |sealed abstract class ' + $this_emit.wj_1 + '(val label: String)\n |object ' + $this_emit.wj_1 + ' {\n |' + joinToString($this_emit.xj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2202
+ return trimMargin('\n |sealed abstract class ' + $this_emit.zj_1 + '(val label: String)\n |object ' + $this_emit.zj_1 + ' {\n |' + joinToString($this_emit.ak_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2176
2203
  };
2177
2204
  }
2178
2205
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2179
2206
  return function () {
2180
- Companion_getInstance_2();
2181
- var tmp = this$0.ak($this_emit.zj_1);
2182
- Companion_getInstance_2();
2183
- return trimMargin('case class ' + $this_emit.yj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.yj_1 + 'Ops(val that: ' + $this_emit.yj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2207
+ Companion_getInstance_3();
2208
+ var tmp = this$0.dk($this_emit.ck_1);
2209
+ Companion_getInstance_3();
2210
+ return trimMargin('case class ' + $this_emit.bk_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.bk_1 + 'Ops(val that: ' + $this_emit.bk_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2184
2211
  };
2185
2212
  }
2186
2213
  function ScalaEmitter$emit$lambda_6($this_emit) {
2187
2214
  return function () {
2188
- Companion_getInstance_2();
2189
- Companion_getInstance_2();
2190
- Companion_getInstance_2();
2191
- Companion_getInstance_2();
2192
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.bk_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2215
+ Companion_getInstance_3();
2216
+ Companion_getInstance_3();
2217
+ Companion_getInstance_3();
2218
+ Companion_getInstance_3();
2219
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.ek_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2193
2220
  };
2194
2221
  }
2195
2222
  function ScalaEmitter$emit$lambda_7() {
2196
2223
  return '// TODO("Not yet implemented")\n';
2197
2224
  }
2198
2225
  function ScalaEmitter(packageName, logger) {
2199
- Companion_getInstance_1();
2226
+ Companion_getInstance_2();
2200
2227
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2201
2228
  logger = logger === VOID ? get_noLogger() : logger;
2202
2229
  Emitter.call(this, logger);
2203
- this.dl_1 = packageName;
2204
- this.el_1 = '';
2230
+ this.el_1 = packageName;
2231
+ this.fl_1 = '';
2205
2232
  }
2206
2233
  protoOf(ScalaEmitter).ci = function (ast) {
2207
2234
  // Inline function 'kotlin.collections.map' call
@@ -2215,37 +2242,37 @@
2215
2242
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2216
2243
  var name = item.j3();
2217
2244
  var result = item.k3();
2218
- tmp$ret$0 = to(name, isBlank(this.dl_1) ? '' : 'package ' + this.dl_1 + '\n\n' + result);
2245
+ tmp$ret$0 = to(name, isBlank(this.el_1) ? '' : 'package ' + this.el_1 + '\n\n' + result);
2219
2246
  tmp0_mapTo.a(tmp$ret$0);
2220
2247
  }
2221
2248
  return tmp0_mapTo;
2222
2249
  };
2223
- protoOf(ScalaEmitter).ek = function (_this__u8e3s4) {
2224
- return this.fk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2225
- };
2226
- protoOf(ScalaEmitter).ij = function (_this__u8e3s4) {
2227
- return this.gk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2250
+ protoOf(ScalaEmitter).hk = function (_this__u8e3s4) {
2251
+ return this.ik(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2228
2252
  };
2229
2253
  protoOf(ScalaEmitter).jj = function (_this__u8e3s4) {
2230
- return this.hk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2254
+ return this.jk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2255
+ };
2256
+ protoOf(ScalaEmitter).kj = function (_this__u8e3s4) {
2257
+ return this.kk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2231
2258
  };
2232
- protoOf(ScalaEmitter).oj = function (_this__u8e3s4) {
2233
- return this.ik(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2259
+ protoOf(ScalaEmitter).pj = function (_this__u8e3s4) {
2260
+ return this.lk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2234
2261
  };
2235
2262
  protoOf(ScalaEmitter).qi = function (_this__u8e3s4) {
2236
2263
  return this.hi(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2237
2264
  };
2238
- protoOf(ScalaEmitter).jk = function (_this__u8e3s4) {
2239
- return this.kk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2265
+ protoOf(ScalaEmitter).mk = function (_this__u8e3s4) {
2266
+ return this.nk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2240
2267
  };
2241
- protoOf(ScalaEmitter).lk = function (_this__u8e3s4) {
2242
- return this.mk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2268
+ protoOf(ScalaEmitter).ok = function (_this__u8e3s4) {
2269
+ return this.pk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2243
2270
  };
2244
- protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2245
- return this.nk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2271
+ protoOf(ScalaEmitter).dk = function (_this__u8e3s4) {
2272
+ return this.qk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2246
2273
  };
2247
- protoOf(ScalaEmitter).ok = function (_this__u8e3s4) {
2248
- return this.pk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_7);
2274
+ protoOf(ScalaEmitter).rk = function (_this__u8e3s4) {
2275
+ return this.sk(_this__u8e3s4, this.ai_1, ScalaEmitter$emit$lambda_7);
2249
2276
  };
2250
2277
  function emitType(_this__u8e3s4, $this) {
2251
2278
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
@@ -2259,7 +2286,7 @@
2259
2286
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2260
2287
  }
2261
2288
  function emitName_0(_this__u8e3s4, $this) {
2262
- var tmp = 'Response' + Companion_getInstance_2().bj(_this__u8e3s4.zi_1);
2289
+ var tmp = 'Response' + Companion_getInstance_3().bj(_this__u8e3s4.zi_1);
2263
2290
  var tmp0_safe_receiver = _this__u8e3s4.aj_1;
2264
2291
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2265
2292
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
@@ -2275,28 +2302,28 @@
2275
2302
  }
2276
2303
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2277
2304
  return function () {
2278
- return trimMargin('export type ' + $this_emit.gj_1 + ' = {\n |' + this$0.ij($this_emit.hj_1) + '\n |}\n |\n |');
2305
+ return trimMargin('export type ' + $this_emit.hj_1 + ' = {\n |' + this$0.jj($this_emit.ij_1) + '\n |}\n |\n |');
2279
2306
  };
2280
2307
  }
2281
2308
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2282
2309
  return function (it) {
2283
- return this$0.jj(it);
2310
+ return this$0.kj(it);
2284
2311
  };
2285
2312
  }
2286
2313
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2287
2314
  return function () {
2288
- return joinToString($this_emit.kj_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2315
+ return joinToString($this_emit.lj_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2289
2316
  };
2290
2317
  }
2291
2318
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2292
2319
  return function () {
2293
- Companion_getInstance_2();
2294
- return ' ' + this$0.oj($this_emit.lj_1) + ($this_emit.nj_1 ? '?' : '') + ': ' + this$0.qi($this_emit.mj_1);
2320
+ Companion_getInstance_3();
2321
+ return ' ' + this$0.pj($this_emit.mj_1) + ($this_emit.oj_1 ? '?' : '') + ': ' + this$0.qi($this_emit.nj_1);
2295
2322
  };
2296
2323
  }
2297
2324
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2298
2325
  return function () {
2299
- return $this_emit.pj_1;
2326
+ return $this_emit.qj_1;
2300
2327
  };
2301
2328
  }
2302
2329
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2311,10 +2338,10 @@
2311
2338
  tmp = 'any';
2312
2339
  } else {
2313
2340
  if (tmp0_subject instanceof Custom) {
2314
- tmp = $this_emit.tj_1;
2341
+ tmp = $this_emit.wj_1;
2315
2342
  } else {
2316
2343
  if (tmp0_subject instanceof Primitive) {
2317
- var tmp1_subject = $this_emit.qj_1;
2344
+ var tmp1_subject = $this_emit.tj_1;
2318
2345
  var tmp0 = tmp1_subject.r4_1;
2319
2346
  var tmp_0;
2320
2347
  switch (tmp0) {
@@ -2347,7 +2374,7 @@
2347
2374
  // Inline function 'kotlin.contracts.contract' call
2348
2375
  var tmp$ret$2;
2349
2376
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2350
- tmp$ret$2 = $this_emit.zk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2377
+ tmp$ret$2 = $this_emit.al() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2351
2378
  tmp$ret$3 = tmp$ret$2;
2352
2379
  return tmp$ret$3;
2353
2380
  };
@@ -2357,23 +2384,23 @@
2357
2384
  }
2358
2385
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2359
2386
  return function () {
2360
- return 'type ' + $this_emit.wj_1 + ' = ' + joinToString($this_emit.xj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2387
+ return 'type ' + $this_emit.zj_1 + ' = ' + joinToString($this_emit.ak_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2361
2388
  };
2362
2389
  }
2363
2390
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2364
2391
  return function () {
2365
- Companion_getInstance_2();
2366
- return trimMargin('type ' + $this_emit.yj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.yj_1 + ' = (type: ' + $this_emit.yj_1 + ') => (' + this$0.ak($this_emit.zj_1) + ').test(type.value);\n |\n |');
2392
+ Companion_getInstance_3();
2393
+ return trimMargin('type ' + $this_emit.bk_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.bk_1 + ' = (type: ' + $this_emit.bk_1 + ') => (' + this$0.dk($this_emit.ck_1) + ').test(type.value);\n |\n |');
2367
2394
  };
2368
2395
  }
2369
2396
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2370
2397
  return function () {
2371
- return "new RegExp('" + dropLast(drop($this_emit.bk_1, 1), 1) + "')";
2398
+ return "new RegExp('" + dropLast(drop($this_emit.ek_1, 1), 1) + "')";
2372
2399
  };
2373
2400
  }
2374
2401
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2375
2402
  return function (it) {
2376
- Companion_getInstance_2();
2403
+ Companion_getInstance_3();
2377
2404
  var tmp = emitName(it, this$0);
2378
2405
  var tmp_0 = emitType($this_emit.ti_1, this$0);
2379
2406
  var tmp$ret$2;
@@ -2387,7 +2414,7 @@
2387
2414
  var item = tmp0_iterator.e();
2388
2415
  var tmp$ret$0;
2389
2416
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2390
- tmp$ret$0 = this$0.jj(item);
2417
+ tmp$ret$0 = this$0.kj(item);
2391
2418
  tmp0_mapTo.a(tmp$ret$0);
2392
2419
  }
2393
2420
  tmp$ret$1 = tmp0_mapTo;
@@ -2404,7 +2431,7 @@
2404
2431
  var item_0 = tmp0_iterator_0.e();
2405
2432
  var tmp$ret$3;
2406
2433
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2407
- tmp$ret$3 = this$0.jj(item_0);
2434
+ tmp$ret$3 = this$0.kj(item_0);
2408
2435
  tmp0_mapTo_0.a(tmp$ret$3);
2409
2436
  }
2410
2437
  tmp$ret$4 = tmp0_mapTo_0;
@@ -2435,9 +2462,9 @@
2435
2462
  }
2436
2463
  function TypeScriptEmitter$emit$lambda$lambda_3(this$0) {
2437
2464
  return function (it) {
2438
- Companion_getInstance_2();
2465
+ Companion_getInstance_3();
2439
2466
  var tmp = emitName_0(it, this$0);
2440
- var tmp_0 = Companion_getInstance_2().vk(it.zi_1) ? it.zi_1 : 'number';
2467
+ var tmp_0 = Companion_getInstance_3().yk(it.zi_1) ? it.zi_1 : 'number';
2441
2468
  var tmp0_safe_receiver = it.aj_1;
2442
2469
  var tmp_1;
2443
2470
  if (tmp0_safe_receiver == null) {
@@ -2463,13 +2490,13 @@
2463
2490
  }
2464
2491
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2465
2492
  return function (it) {
2466
- return this$0.jj(it);
2493
+ return this$0.kj(it);
2467
2494
  };
2468
2495
  }
2469
2496
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2470
2497
  return function (it) {
2471
- var tmp = Companion_getInstance_2().ck(emitName(it, this$0));
2472
- var tmp_0 = Companion_getInstance_2().jl($this_emit, it.ii_1);
2498
+ var tmp = Companion_getInstance_3().fk(emitName(it, this$0));
2499
+ var tmp_0 = Companion_getInstance_3().kl($this_emit, it.ii_1);
2473
2500
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2474
2501
  var tmp_2 = emitPath_1($this_emit.ti_1, this$0);
2475
2502
  var tmp_3 = emitMap_1($this_emit.ui_1, this$0);
@@ -2496,20 +2523,20 @@
2496
2523
  return function () {
2497
2524
  var tmp = toSet($this_emit.xi_1);
2498
2525
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2499
- Companion_getInstance_2();
2526
+ Companion_getInstance_3();
2500
2527
  var tmp_1 = toSet($this_emit.xi_1);
2501
2528
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2502
2529
  var tmp_3 = toSet($this_emit.yi_1);
2503
2530
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2504
- Companion_getInstance_2();
2531
+ Companion_getInstance_3();
2505
2532
  var tmp_5 = toSet($this_emit.yi_1);
2506
2533
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2507
- Companion_getInstance_2();
2508
- Companion_getInstance_2();
2509
- Companion_getInstance_2();
2510
- var tmp_7 = Companion_getInstance_2().ck($this_emit.ri_1);
2511
- Companion_getInstance_2();
2512
- Companion_getInstance_2();
2534
+ Companion_getInstance_3();
2535
+ Companion_getInstance_3();
2536
+ Companion_getInstance_3();
2537
+ var tmp_7 = Companion_getInstance_3().fk($this_emit.ri_1);
2538
+ Companion_getInstance_3();
2539
+ Companion_getInstance_3();
2513
2540
  return trimMargin('\n |export namespace ' + $this_emit.ri_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.xi_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2514
2541
  };
2515
2542
  }
@@ -2523,7 +2550,7 @@
2523
2550
  var tmp0_subject = $this_emitType;
2524
2551
  var tmp;
2525
2552
  if (tmp0_subject instanceof Literal) {
2526
- tmp = $this_emitType.dk_1;
2553
+ tmp = $this_emitType.gk_1;
2527
2554
  } else {
2528
2555
  if (tmp0_subject instanceof Param) {
2529
2556
  tmp = '${' + this$0.qi($this_emitType.fj_1) + '}';
@@ -2536,7 +2563,7 @@
2536
2563
  }
2537
2564
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2538
2565
  return function (it) {
2539
- return '"' + this$0.oj(it.lj_1) + '": ' + this$0.oj(it.lj_1);
2566
+ return '"' + this$0.pj(it.mj_1) + '": ' + this$0.pj(it.mj_1);
2540
2567
  };
2541
2568
  }
2542
2569
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2549,10 +2576,10 @@
2549
2576
  var tmp0_subject = $this_emit;
2550
2577
  var tmp;
2551
2578
  if (tmp0_subject instanceof Literal) {
2552
- tmp = $this_emit.dk_1;
2579
+ tmp = $this_emit.gk_1;
2553
2580
  } else {
2554
2581
  if (tmp0_subject instanceof Param) {
2555
- tmp = '${' + $this_emit.ej_1.pj_1 + '}';
2582
+ tmp = '${' + $this_emit.ej_1.qj_1 + '}';
2556
2583
  } else {
2557
2584
  noWhenBranchMatchedException();
2558
2585
  }
@@ -2563,13 +2590,13 @@
2563
2590
  function TypeScriptEmitter(logger) {
2564
2591
  logger = logger === VOID ? get_noLogger() : logger;
2565
2592
  Emitter.call(this, logger);
2566
- this.hl_1 = '';
2593
+ this.il_1 = '';
2567
2594
  var tmp = this;
2568
- Companion_getInstance_2();
2569
- Companion_getInstance_2();
2570
- Companion_getInstance_2();
2571
- Companion_getInstance_2();
2572
- tmp.il_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2595
+ Companion_getInstance_3();
2596
+ Companion_getInstance_3();
2597
+ Companion_getInstance_3();
2598
+ Companion_getInstance_3();
2599
+ tmp.jl_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 ');
2573
2600
  }
2574
2601
  protoOf(TypeScriptEmitter).ci = function (ast) {
2575
2602
  // Inline function 'kotlin.collections.map' call
@@ -2585,64 +2612,64 @@
2585
2612
  var result = item.k3();
2586
2613
  var tmp$ret$0;
2587
2614
  // Inline function 'kotlin.text.trimStart' call
2588
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().gi(ast) ? this.il_1 : '') + '\n |' + result + '\n ');
2615
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_3().gi(ast) ? this.jl_1 : '') + '\n |' + result + '\n ');
2589
2616
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2590
2617
  tmp$ret$1 = to(name, tmp$ret$0);
2591
2618
  tmp0_mapTo.a(tmp$ret$1);
2592
2619
  }
2593
2620
  return tmp0_mapTo;
2594
2621
  };
2595
- protoOf(TypeScriptEmitter).ek = function (_this__u8e3s4) {
2596
- return this.fk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2597
- };
2598
- protoOf(TypeScriptEmitter).ij = function (_this__u8e3s4) {
2599
- return this.gk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2622
+ protoOf(TypeScriptEmitter).hk = function (_this__u8e3s4) {
2623
+ return this.ik(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2600
2624
  };
2601
2625
  protoOf(TypeScriptEmitter).jj = function (_this__u8e3s4) {
2602
- return this.hk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2626
+ return this.jk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2627
+ };
2628
+ protoOf(TypeScriptEmitter).kj = function (_this__u8e3s4) {
2629
+ return this.kk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2603
2630
  };
2604
- protoOf(TypeScriptEmitter).oj = function (_this__u8e3s4) {
2605
- return this.ik(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2631
+ protoOf(TypeScriptEmitter).pj = function (_this__u8e3s4) {
2632
+ return this.lk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2606
2633
  };
2607
2634
  protoOf(TypeScriptEmitter).qi = function (_this__u8e3s4) {
2608
2635
  return this.hi(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2609
2636
  };
2610
- protoOf(TypeScriptEmitter).jk = function (_this__u8e3s4) {
2611
- return this.kk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2637
+ protoOf(TypeScriptEmitter).mk = function (_this__u8e3s4) {
2638
+ return this.nk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2612
2639
  };
2613
- protoOf(TypeScriptEmitter).lk = function (_this__u8e3s4) {
2614
- return this.mk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2640
+ protoOf(TypeScriptEmitter).ok = function (_this__u8e3s4) {
2641
+ return this.pk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2615
2642
  };
2616
- protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2617
- return this.nk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2643
+ protoOf(TypeScriptEmitter).dk = function (_this__u8e3s4) {
2644
+ return this.qk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2618
2645
  };
2619
- protoOf(TypeScriptEmitter).ok = function (_this__u8e3s4) {
2620
- return this.pk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2646
+ protoOf(TypeScriptEmitter).rk = function (_this__u8e3s4) {
2647
+ return this.sk(_this__u8e3s4, this.ai_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2621
2648
  };
2622
2649
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2623
2650
  return function () {
2624
- return trimMargin('type ' + $this_emit.gj_1 + ' {\n |' + this$0.ij($this_emit.hj_1) + '\n |}\n |');
2651
+ return trimMargin('type ' + $this_emit.hj_1 + ' {\n |' + this$0.jj($this_emit.ij_1) + '\n |}\n |');
2625
2652
  };
2626
2653
  }
2627
2654
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2628
2655
  return function (it) {
2629
- return this$0.jj(it);
2656
+ return this$0.kj(it);
2630
2657
  };
2631
2658
  }
2632
2659
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2633
2660
  return function () {
2634
- return dropLast(joinToString($this_emit.kj_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2661
+ return dropLast(joinToString($this_emit.lj_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2635
2662
  };
2636
2663
  }
2637
2664
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2638
2665
  return function () {
2639
- Companion_getInstance_2();
2640
- return ' ' + this$0.oj($this_emit.lj_1) + ($this_emit.nj_1 ? '?' : '') + ': ' + this$0.qi($this_emit.mj_1) + ',';
2666
+ Companion_getInstance_3();
2667
+ return ' ' + this$0.pj($this_emit.mj_1) + ($this_emit.oj_1 ? '?' : '') + ': ' + this$0.qi($this_emit.nj_1) + ',';
2641
2668
  };
2642
2669
  }
2643
2670
  function WirespecEmitter$emit$lambda_2($this_emit) {
2644
2671
  return function () {
2645
- return $this_emit.pj_1;
2672
+ return $this_emit.qj_1;
2646
2673
  };
2647
2674
  }
2648
2675
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2655,10 +2682,10 @@
2655
2682
  tmp = 'Any';
2656
2683
  } else {
2657
2684
  if (tmp0_subject instanceof Custom) {
2658
- tmp = $this_emit.tj_1;
2685
+ tmp = $this_emit.wj_1;
2659
2686
  } else {
2660
2687
  if (tmp0_subject instanceof Primitive) {
2661
- var tmp1_subject = $this_emit.qj_1;
2688
+ var tmp1_subject = $this_emit.tj_1;
2662
2689
  var tmp0 = tmp1_subject.r4_1;
2663
2690
  var tmp_0;
2664
2691
  switch (tmp0) {
@@ -2692,18 +2719,18 @@
2692
2719
  }
2693
2720
  function WirespecEmitter$emit$lambda_4($this_emit) {
2694
2721
  return function () {
2695
- Companion_getInstance_2();
2696
- return 'enum ' + $this_emit.wj_1 + ' {\n' + ' ' + joinToString($this_emit.xj_1, ', ') + '\n}\n';
2722
+ Companion_getInstance_3();
2723
+ return 'enum ' + $this_emit.zj_1 + ' {\n' + ' ' + joinToString($this_emit.ak_1, ', ') + '\n}\n';
2697
2724
  };
2698
2725
  }
2699
2726
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2700
2727
  return function () {
2701
- return 'refined ' + $this_emit.yj_1 + ' ' + this$0.ak($this_emit.zj_1) + '\n';
2728
+ return 'refined ' + $this_emit.bk_1 + ' ' + this$0.dk($this_emit.ck_1) + '\n';
2702
2729
  };
2703
2730
  }
2704
2731
  function WirespecEmitter$emit$lambda_6($this_emit) {
2705
2732
  return function () {
2706
- return '/' + dropLast(drop($this_emit.bk_1, 1), 1) + '/g';
2733
+ return '/' + dropLast(drop($this_emit.ek_1, 1), 1) + '/g';
2707
2734
  };
2708
2735
  }
2709
2736
  function WirespecEmitter$emit$lambda_7() {
@@ -2712,44 +2739,44 @@
2712
2739
  function WirespecEmitter(logger) {
2713
2740
  logger = logger === VOID ? get_noLogger() : logger;
2714
2741
  Emitter.call(this, logger);
2715
- this.ml_1 = '';
2742
+ this.nl_1 = '';
2716
2743
  }
2717
- protoOf(WirespecEmitter).ek = function (_this__u8e3s4) {
2718
- return this.fk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2719
- };
2720
- protoOf(WirespecEmitter).ij = function (_this__u8e3s4) {
2721
- return this.gk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2744
+ protoOf(WirespecEmitter).hk = function (_this__u8e3s4) {
2745
+ return this.ik(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2722
2746
  };
2723
2747
  protoOf(WirespecEmitter).jj = function (_this__u8e3s4) {
2724
- return this.hk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2748
+ return this.jk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2749
+ };
2750
+ protoOf(WirespecEmitter).kj = function (_this__u8e3s4) {
2751
+ return this.kk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2725
2752
  };
2726
- protoOf(WirespecEmitter).oj = function (_this__u8e3s4) {
2727
- return this.ik(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2753
+ protoOf(WirespecEmitter).pj = function (_this__u8e3s4) {
2754
+ return this.lk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2728
2755
  };
2729
2756
  protoOf(WirespecEmitter).qi = function (_this__u8e3s4) {
2730
2757
  return this.hi(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2731
2758
  };
2732
- protoOf(WirespecEmitter).jk = function (_this__u8e3s4) {
2733
- return this.kk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2759
+ protoOf(WirespecEmitter).mk = function (_this__u8e3s4) {
2760
+ return this.nk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2734
2761
  };
2735
- protoOf(WirespecEmitter).lk = function (_this__u8e3s4) {
2736
- return this.mk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2762
+ protoOf(WirespecEmitter).ok = function (_this__u8e3s4) {
2763
+ return this.pk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2737
2764
  };
2738
- protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2739
- return this.nk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2765
+ protoOf(WirespecEmitter).dk = function (_this__u8e3s4) {
2766
+ return this.qk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2740
2767
  };
2741
- protoOf(WirespecEmitter).ok = function (_this__u8e3s4) {
2742
- return this.pk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_7);
2768
+ protoOf(WirespecEmitter).rk = function (_this__u8e3s4) {
2769
+ return this.sk(_this__u8e3s4, this.ai_1, WirespecEmitter$emit$lambda_7);
2743
2770
  };
2744
2771
  function get_DEFAULT_PACKAGE_NAME() {
2745
2772
  return DEFAULT_PACKAGE_NAME;
2746
2773
  }
2747
2774
  var DEFAULT_PACKAGE_NAME;
2748
- function Companion_1() {
2749
- Companion_instance_1 = this;
2775
+ function Companion_2() {
2776
+ Companion_instance_2 = this;
2750
2777
  this.fi_1 = ' ';
2751
2778
  }
2752
- protoOf(Companion_1).bj = function (_this__u8e3s4) {
2779
+ protoOf(Companion_2).bj = function (_this__u8e3s4) {
2753
2780
  // Inline function 'kotlin.text.replaceFirstChar' call
2754
2781
  var tmp;
2755
2782
  // Inline function 'kotlin.text.isNotEmpty' call
@@ -2769,7 +2796,7 @@
2769
2796
  }
2770
2797
  return tmp;
2771
2798
  };
2772
- protoOf(Companion_1).ck = function (_this__u8e3s4) {
2799
+ protoOf(Companion_2).fk = function (_this__u8e3s4) {
2773
2800
  // Inline function 'kotlin.text.replaceFirstChar' call
2774
2801
  var tmp;
2775
2802
  // Inline function 'kotlin.text.isNotEmpty' call
@@ -2789,7 +2816,7 @@
2789
2816
  }
2790
2817
  return tmp;
2791
2818
  };
2792
- protoOf(Companion_1).gi = function (_this__u8e3s4) {
2819
+ protoOf(Companion_2).gi = function (_this__u8e3s4) {
2793
2820
  var tmp$ret$0;
2794
2821
  $l$block_0: {
2795
2822
  // Inline function 'kotlin.collections.any' call
@@ -2816,7 +2843,7 @@
2816
2843
  }
2817
2844
  return tmp$ret$0;
2818
2845
  };
2819
- protoOf(Companion_1).jl = function (_this__u8e3s4, content) {
2846
+ protoOf(Companion_2).kl = function (_this__u8e3s4, content) {
2820
2847
  // Inline function 'kotlin.collections.map' call
2821
2848
  // Inline function 'kotlin.collections.filterIsInstance' call
2822
2849
  var tmp0_filterIsInstance = _this__u8e3s4.ti_1;
@@ -2844,20 +2871,20 @@
2844
2871
  var tmp1_safe_receiver = content == null ? null : content.ki_1;
2845
2872
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2846
2873
  };
2847
- protoOf(Companion_1).vk = function (_this__u8e3s4) {
2874
+ protoOf(Companion_2).yk = function (_this__u8e3s4) {
2848
2875
  return !(toIntOrNull(_this__u8e3s4) == null);
2849
2876
  };
2850
- var Companion_instance_1;
2851
- function Companion_getInstance_2() {
2852
- if (Companion_instance_1 == null)
2853
- new Companion_1();
2854
- return Companion_instance_1;
2877
+ var Companion_instance_2;
2878
+ function Companion_getInstance_3() {
2879
+ if (Companion_instance_2 == null)
2880
+ new Companion_2();
2881
+ return Companion_instance_2;
2855
2882
  }
2856
2883
  function Emitter$emit$lambda(it) {
2857
2884
  return it.i3_1;
2858
2885
  }
2859
2886
  function Emitter(logger, split) {
2860
- Companion_getInstance_2();
2887
+ Companion_getInstance_3();
2861
2888
  split = split === VOID ? false : split;
2862
2889
  this.ai_1 = logger;
2863
2890
  this.bi_1 = split;
@@ -2875,16 +2902,16 @@
2875
2902
  this.ai_1.qh('Emitting Node ' + this);
2876
2903
  var tmp;
2877
2904
  if (item instanceof Type_0) {
2878
- tmp = to(item.gj_1, this.ek(item));
2905
+ tmp = to(item.hj_1, this.hk(item));
2879
2906
  } else {
2880
2907
  if (item instanceof Endpoint) {
2881
- tmp = to(item.ri_1, this.ok(item));
2908
+ tmp = to(item.ri_1, this.rk(item));
2882
2909
  } else {
2883
2910
  if (item instanceof Enum_0) {
2884
- tmp = to(item.wj_1, this.jk(item));
2911
+ tmp = to(item.zj_1, this.mk(item));
2885
2912
  } else {
2886
2913
  if (item instanceof Refined) {
2887
- tmp = to(item.yj_1, this.lk(item));
2914
+ tmp = to(item.bk_1, this.ok(item));
2888
2915
  } else {
2889
2916
  noWhenBranchMatchedException();
2890
2917
  }
@@ -2912,22 +2939,22 @@
2912
2939
  }
2913
2940
  function TypeDefinitionEmitterLogger() {
2914
2941
  }
2915
- function Companion_2() {
2916
- Companion_instance_2 = this;
2942
+ function Companion_3() {
2943
+ Companion_instance_3 = this;
2917
2944
  }
2918
- var Companion_instance_2;
2919
- function Companion_getInstance_3() {
2920
- if (Companion_instance_2 == null)
2921
- new Companion_2();
2922
- return Companion_instance_2;
2945
+ var Companion_instance_3;
2946
+ function Companion_getInstance_4() {
2947
+ if (Companion_instance_3 == null)
2948
+ new Companion_3();
2949
+ return Companion_instance_3;
2923
2950
  }
2924
2951
  function NextException(coordinates) {
2925
2952
  NullTokenException.call(this, 'Next Token', coordinates);
2926
2953
  captureStack(this, NextException);
2927
2954
  }
2928
2955
  function WrongTokenException(expected, actual) {
2929
- Companion_getInstance_3();
2930
- ParserException.call(this, actual.ql_1, '' + expected.kc() + ' expected, not: ' + actual.ol_1.rl() + ' at line ' + actual.ql_1.sl_1 + ' and position ' + (actual.ql_1.tl_1 - actual.pl_1.length | 0));
2956
+ Companion_getInstance_4();
2957
+ ParserException.call(this, actual.rl_1, '' + expected.kc() + ' expected, not: ' + actual.pl_1.sl() + ' at line ' + actual.rl_1.tl_1 + ' and position ' + (actual.rl_1.ul_1 - actual.ql_1.length | 0));
2931
2958
  captureStack(this, WrongTokenException);
2932
2959
  }
2933
2960
  function NullTokenException(message, coordinates) {
@@ -2945,15 +2972,15 @@
2945
2972
  function WirespecException(message, coordinates) {
2946
2973
  RuntimeException_init_$Init$(message, this);
2947
2974
  captureStack(this, WirespecException);
2948
- this.vl_1 = coordinates;
2975
+ this.wl_1 = coordinates;
2949
2976
  }
2950
2977
  function optimize(_this__u8e3s4) {
2951
2978
  // Inline function 'arrow.core.NonEmptyList.map' call
2952
2979
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2953
2980
  var tmp0_anonymous = _this__u8e3s4.zg_1;
2954
2981
  var tmp;
2955
- if (tmp0_anonymous.ol_1 instanceof CustomRegex) {
2956
- tmp = tmp0_anonymous.wl(VOID, '"' + dropLast(drop(tmp0_anonymous.pl_1, 1), 2) + '"');
2982
+ if (tmp0_anonymous.pl_1 instanceof CustomRegex) {
2983
+ tmp = tmp0_anonymous.xl(VOID, '"' + dropLast(drop(tmp0_anonymous.ql_1, 1), 2) + '"');
2957
2984
  } else {
2958
2985
  tmp = tmp0_anonymous;
2959
2986
  }
@@ -2968,8 +2995,8 @@
2968
2995
  var tmp$ret$1;
2969
2996
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2970
2997
  var tmp_1;
2971
- if (item.ol_1 instanceof CustomRegex) {
2972
- tmp_1 = item.wl(VOID, '"' + dropLast(drop(item.pl_1, 1), 2) + '"');
2998
+ if (item.pl_1 instanceof CustomRegex) {
2999
+ tmp_1 = item.xl(VOID, '"' + dropLast(drop(item.ql_1, 1), 2) + '"');
2973
3000
  } else {
2974
3001
  tmp_1 = item;
2975
3002
  }
@@ -2989,25 +3016,25 @@
2989
3016
  try {
2990
3017
  // Inline function 'arrow.core.raise.either.<anonymous>' call
2991
3018
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>' call
2992
- raise.kh(_this__u8e3s4.bm());
2993
- $this.dm(_this__u8e3s4.zl_1);
3019
+ raise.kh(_this__u8e3s4.cm());
3020
+ $this.em(_this__u8e3s4.am_1);
2994
3021
  var method = raise.kh(parseEndpointMethod(_this__u8e3s4, $this));
2995
3022
  var path = raise.kh(parseEndpointPath(_this__u8e3s4, $this));
2996
3023
  // Inline function 'kotlin.also' call
2997
3024
  var tmp_0;
2998
- if (_this__u8e3s4.zl_1.ol_1 instanceof LeftCurly) {
3025
+ if (_this__u8e3s4.am_1.pl_1 instanceof LeftCurly) {
2999
3026
  tmp_0 = Unit_getInstance();
3000
3027
  } else {
3001
3028
  var tmp$ret$0;
3002
3029
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3003
- Companion_getInstance_3();
3004
- var tmp1_invoke = _this__u8e3s4.zl_1;
3030
+ Companion_getInstance_4();
3031
+ var tmp1_invoke = _this__u8e3s4.am_1;
3005
3032
  tmp$ret$0 = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
3006
3033
  raise.jh(tmp$ret$0);
3007
3034
  }
3008
3035
  // Inline function 'kotlin.contracts.contract' call
3009
3036
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointDefinition.<anonymous>.<anonymous>' call
3010
- raise.kh(_this__u8e3s4.bm());
3037
+ raise.kh(_this__u8e3s4.cm());
3011
3038
  var responses = raise.kh(parseEndpointResponses(_this__u8e3s4, $this));
3012
3039
  var res = new Endpoint(name, method, path, emptyList(), emptyList(), emptyList(), emptyList(), responses);
3013
3040
  raise.hh();
@@ -3045,12 +3072,12 @@
3045
3072
  try {
3046
3073
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3047
3074
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointMethod.<anonymous>' call
3048
- $this.dm(_this__u8e3s4.zl_1);
3075
+ $this.em(_this__u8e3s4.am_1);
3049
3076
  // Inline function 'kotlin.also' call
3050
- var tmp0_subject = _this__u8e3s4.zl_1.ol_1;
3077
+ var tmp0_subject = _this__u8e3s4.am_1.pl_1;
3051
3078
  var tmp_0;
3052
3079
  if (isInterface(tmp0_subject, Method_0)) {
3053
- var tmp_1 = _this__u8e3s4.zl_1.ol_1;
3080
+ var tmp_1 = _this__u8e3s4.am_1.pl_1;
3054
3081
  var tmp1_subject = isInterface(tmp_1, Method_0) ? tmp_1 : THROW_CCE();
3055
3082
  var tmp_2;
3056
3083
  if (equals(tmp1_subject, DELETE_getInstance())) {
@@ -3076,15 +3103,15 @@
3076
3103
  } else {
3077
3104
  var tmp$ret$0;
3078
3105
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3079
- Companion_getInstance_3();
3080
- var tmp1_invoke = _this__u8e3s4.zl_1;
3106
+ Companion_getInstance_4();
3107
+ var tmp1_invoke = _this__u8e3s4.am_1;
3081
3108
  tmp$ret$0 = new WrongTokenException(getKClass(Method_0), tmp1_invoke);
3082
3109
  raise.jh(tmp$ret$0);
3083
3110
  }
3084
3111
  var tmp2_also = tmp_0;
3085
3112
  // Inline function 'kotlin.contracts.contract' call
3086
3113
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointMethod.<anonymous>.<anonymous>' call
3087
- raise.kh(_this__u8e3s4.bm());
3114
+ raise.kh(_this__u8e3s4.cm());
3088
3115
  var res = tmp2_also;
3089
3116
  raise.hh();
3090
3117
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -3121,25 +3148,25 @@
3121
3148
  try {
3122
3149
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3123
3150
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointPath.<anonymous>' call
3124
- $this.dm(_this__u8e3s4.zl_1);
3151
+ $this.em(_this__u8e3s4.am_1);
3125
3152
  // Inline function 'kotlin.also' call
3126
3153
  var tmp_0;
3127
- if (_this__u8e3s4.zl_1.ol_1 instanceof Path) {
3154
+ if (_this__u8e3s4.am_1.pl_1 instanceof Path) {
3128
3155
  // Inline function 'arrow.core.nel' call
3129
- var tmp0_nel = new Literal(drop(_this__u8e3s4.zl_1.pl_1, 1));
3156
+ var tmp0_nel = new Literal(drop(_this__u8e3s4.am_1.ql_1, 1));
3130
3157
  tmp_0 = nonEmptyListOf(tmp0_nel, []);
3131
3158
  } else {
3132
3159
  var tmp$ret$1;
3133
3160
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3134
- Companion_getInstance_3();
3135
- var tmp2_invoke = _this__u8e3s4.zl_1;
3161
+ Companion_getInstance_4();
3162
+ var tmp2_invoke = _this__u8e3s4.am_1;
3136
3163
  tmp$ret$1 = new WrongTokenException(getKClass(Path), tmp2_invoke);
3137
3164
  raise.jh(tmp$ret$1);
3138
3165
  }
3139
3166
  var tmp3_also = tmp_0;
3140
3167
  // Inline function 'kotlin.contracts.contract' call
3141
3168
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointPath.<anonymous>.<anonymous>' call
3142
- raise.kh(_this__u8e3s4.bm());
3169
+ raise.kh(_this__u8e3s4.cm());
3143
3170
  var res = tmp3_also;
3144
3171
  raise.hh();
3145
3172
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -3176,40 +3203,40 @@
3176
3203
  try {
3177
3204
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3178
3205
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>' call
3179
- $this.dm(_this__u8e3s4.zl_1);
3206
+ $this.em(_this__u8e3s4.am_1);
3180
3207
  // Inline function 'kotlin.collections.mutableListOf' call
3181
3208
  var responses = ArrayList_init_$Create$();
3182
3209
  $l$loop: while (true) {
3183
- var tmp_0 = _this__u8e3s4.zl_1.ol_1;
3210
+ var tmp_0 = _this__u8e3s4.am_1.pl_1;
3184
3211
  if (!!(tmp_0 instanceof RightCurly)) {
3185
3212
  break $l$loop;
3186
3213
  }
3187
- if (_this__u8e3s4.zl_1.ol_1 instanceof StatusCode) {
3188
- responses.a(raise.kh(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.zl_1.pl_1)));
3214
+ if (_this__u8e3s4.am_1.pl_1 instanceof StatusCode) {
3215
+ responses.a(raise.kh(parseEndpointResponse(_this__u8e3s4, $this, _this__u8e3s4.am_1.ql_1)));
3189
3216
  } else {
3190
3217
  var tmp$ret$1;
3191
3218
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3192
- Companion_getInstance_3();
3193
- var tmp1_invoke = _this__u8e3s4.zl_1;
3219
+ Companion_getInstance_4();
3220
+ var tmp1_invoke = _this__u8e3s4.am_1;
3194
3221
  tmp$ret$1 = new WrongTokenException(getKClass(StatusCode), tmp1_invoke);
3195
3222
  raise.jh(tmp$ret$1);
3196
3223
  }
3197
3224
  }
3198
3225
  // Inline function 'kotlin.also' call
3199
3226
  var tmp_1;
3200
- if (_this__u8e3s4.zl_1.ol_1 instanceof RightCurly) {
3227
+ if (_this__u8e3s4.am_1.pl_1 instanceof RightCurly) {
3201
3228
  tmp_1 = Unit_getInstance();
3202
3229
  } else {
3203
3230
  var tmp$ret$2;
3204
3231
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3205
- Companion_getInstance_3();
3206
- var tmp3_invoke = _this__u8e3s4.zl_1;
3232
+ Companion_getInstance_4();
3233
+ var tmp3_invoke = _this__u8e3s4.am_1;
3207
3234
  tmp$ret$2 = new WrongTokenException(getKClass(RightCurly), tmp3_invoke);
3208
3235
  raise.jh(tmp$ret$2);
3209
3236
  }
3210
3237
  // Inline function 'kotlin.contracts.contract' call
3211
3238
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponses.<anonymous>.<anonymous>' call
3212
- raise.kh(_this__u8e3s4.bm());
3239
+ raise.kh(_this__u8e3s4.cm());
3213
3240
  var res = toList(responses);
3214
3241
  raise.hh();
3215
3242
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -3246,28 +3273,28 @@
3246
3273
  try {
3247
3274
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3248
3275
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpointResponse.<anonymous>' call
3249
- raise.kh(_this__u8e3s4.bm());
3250
- $this.dm(_this__u8e3s4.zl_1);
3251
- if (!(_this__u8e3s4.zl_1.ol_1 instanceof Arrow)) {
3276
+ raise.kh(_this__u8e3s4.cm());
3277
+ $this.em(_this__u8e3s4.am_1);
3278
+ if (!(_this__u8e3s4.am_1.pl_1 instanceof Arrow)) {
3252
3279
  var tmp$ret$0;
3253
3280
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3254
- Companion_getInstance_3();
3255
- var tmp1_invoke = _this__u8e3s4.zl_1;
3281
+ Companion_getInstance_4();
3282
+ var tmp1_invoke = _this__u8e3s4.am_1;
3256
3283
  tmp$ret$0 = new WrongTokenException(getKClass(Arrow), tmp1_invoke);
3257
3284
  raise.jh(tmp$ret$0);
3258
3285
  }
3259
- raise.kh(_this__u8e3s4.bm());
3260
- $this.dm(_this__u8e3s4.zl_1);
3261
- var tmp1_subject = _this__u8e3s4.zl_1.ol_1;
3286
+ raise.kh(_this__u8e3s4.cm());
3287
+ $this.em(_this__u8e3s4.am_1);
3288
+ var tmp1_subject = _this__u8e3s4.am_1.pl_1;
3262
3289
  var tmp_0;
3263
3290
  if (isInterface(tmp1_subject, WirespecType)) {
3264
- var tmp_1 = _this__u8e3s4.zl_1.ol_1;
3265
- tmp_0 = raise.kh(parseContent(_this__u8e3s4, $this, isInterface(tmp_1, WirespecType) ? tmp_1 : THROW_CCE(), _this__u8e3s4.zl_1.pl_1));
3291
+ var tmp_1 = _this__u8e3s4.am_1.pl_1;
3292
+ tmp_0 = raise.kh(parseContent(_this__u8e3s4, $this, isInterface(tmp_1, WirespecType) ? tmp_1 : THROW_CCE(), _this__u8e3s4.am_1.ql_1));
3266
3293
  } else {
3267
3294
  var tmp$ret$1;
3268
3295
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3269
- Companion_getInstance_3();
3270
- var tmp3_invoke = _this__u8e3s4.zl_1;
3296
+ Companion_getInstance_4();
3297
+ var tmp3_invoke = _this__u8e3s4.am_1;
3271
3298
  tmp$ret$1 = new WrongTokenException(getKClass(WirespecType), tmp3_invoke);
3272
3299
  raise.jh(tmp$ret$1);
3273
3300
  }
@@ -3308,15 +3335,15 @@
3308
3335
  try {
3309
3336
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3310
3337
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseContent.<anonymous>' call
3311
- raise.kh(_this__u8e3s4.bm());
3312
- $this.dm(_this__u8e3s4.zl_1);
3338
+ raise.kh(_this__u8e3s4.cm());
3339
+ $this.em(_this__u8e3s4.am_1);
3313
3340
  // Inline function 'kotlin.also' call
3314
- var tmp_0 = _this__u8e3s4.zl_1.ol_1;
3341
+ var tmp_0 = _this__u8e3s4.am_1.pl_1;
3315
3342
  var tmp0_also = tmp_0 instanceof Brackets;
3316
3343
  // Inline function 'kotlin.contracts.contract' call
3317
3344
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseContent.<anonymous>.<anonymous>' call
3318
3345
  if (tmp0_also)
3319
- raise.kh(_this__u8e3s4.bm());
3346
+ raise.kh(_this__u8e3s4.cm());
3320
3347
  var isIterable = tmp0_also;
3321
3348
  var tmp_1;
3322
3349
  if (wsType instanceof WsString) {
@@ -3365,7 +3392,7 @@
3365
3392
  function EndpointParser(logger) {
3366
3393
  AbstractParser.call(this, logger);
3367
3394
  }
3368
- protoOf(EndpointParser).fm = function (_this__u8e3s4) {
3395
+ protoOf(EndpointParser).gm = function (_this__u8e3s4) {
3369
3396
  // Inline function 'arrow.core.raise.either' call
3370
3397
  // Inline function 'arrow.core.raise.fold' call
3371
3398
  // Inline function 'kotlin.contracts.contract' call
@@ -3376,20 +3403,20 @@
3376
3403
  try {
3377
3404
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3378
3405
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>' call
3379
- raise.kh(_this__u8e3s4.bm());
3380
- this.dm(_this__u8e3s4.zl_1);
3406
+ raise.kh(_this__u8e3s4.cm());
3407
+ this.em(_this__u8e3s4.am_1);
3381
3408
  var tmp_0;
3382
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
3383
- tmp_0 = raise.kh(parseEndpointDefinition(_this__u8e3s4, this, _this__u8e3s4.zl_1.pl_1));
3409
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
3410
+ tmp_0 = raise.kh(parseEndpointDefinition(_this__u8e3s4, this, _this__u8e3s4.am_1.ql_1));
3384
3411
  } else {
3385
3412
  // Inline function 'kotlin.also' call
3386
3413
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3387
- Companion_getInstance_3();
3388
- var tmp1_invoke = _this__u8e3s4.zl_1;
3414
+ Companion_getInstance_4();
3415
+ var tmp1_invoke = _this__u8e3s4.am_1;
3389
3416
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
3390
3417
  // Inline function 'kotlin.contracts.contract' call
3391
3418
  // Inline function 'community.flock.wirespec.compiler.core.parse.EndpointParser.parseEndpoint.<anonymous>.<anonymous>' call
3392
- raise.kh(_this__u8e3s4.bm());
3419
+ raise.kh(_this__u8e3s4.cm());
3393
3420
  raise.jh(tmp2_also);
3394
3421
  }
3395
3422
  var res = tmp_0;
@@ -3428,37 +3455,37 @@
3428
3455
  try {
3429
3456
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3430
3457
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>' call
3431
- raise.kh(_this__u8e3s4.bm());
3432
- $this.dm(_this__u8e3s4.zl_1);
3458
+ raise.kh(_this__u8e3s4.cm());
3459
+ $this.em(_this__u8e3s4.am_1);
3433
3460
  // Inline function 'kotlin.also' call
3434
3461
  var tmp_0;
3435
- if (_this__u8e3s4.zl_1.ol_1 instanceof LeftCurly) {
3462
+ if (_this__u8e3s4.am_1.pl_1 instanceof LeftCurly) {
3436
3463
  tmp_0 = new Enum_0(typeName, raise.kh(parseEnumTypeEntries(_this__u8e3s4, $this)));
3437
3464
  } else {
3438
3465
  // Inline function 'kotlin.also' call
3439
3466
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3440
- Companion_getInstance_3();
3441
- var tmp1_invoke = _this__u8e3s4.zl_1;
3467
+ Companion_getInstance_4();
3468
+ var tmp1_invoke = _this__u8e3s4.am_1;
3442
3469
  var tmp2_also = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
3443
3470
  // Inline function 'kotlin.contracts.contract' call
3444
3471
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
3445
- raise.kh(_this__u8e3s4.bm());
3472
+ raise.kh(_this__u8e3s4.cm());
3446
3473
  raise.jh(tmp2_also);
3447
3474
  }
3448
3475
  var tmp3_also = tmp_0;
3449
3476
  // Inline function 'kotlin.contracts.contract' call
3450
3477
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
3451
- if (_this__u8e3s4.zl_1.ol_1 instanceof RightCurly)
3452
- raise.kh(_this__u8e3s4.bm());
3478
+ if (_this__u8e3s4.am_1.pl_1 instanceof RightCurly)
3479
+ raise.kh(_this__u8e3s4.cm());
3453
3480
  else {
3454
3481
  // Inline function 'kotlin.also' call
3455
3482
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3456
- Companion_getInstance_3();
3457
- var tmp1_invoke_0 = _this__u8e3s4.zl_1;
3483
+ Companion_getInstance_4();
3484
+ var tmp1_invoke_0 = _this__u8e3s4.am_1;
3458
3485
  var tmp2_also_0 = new WrongTokenException(getKClass(RightCurly), tmp1_invoke_0);
3459
3486
  // Inline function 'kotlin.contracts.contract' call
3460
3487
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3461
- raise.kh(_this__u8e3s4.bm());
3488
+ raise.kh(_this__u8e3s4.cm());
3462
3489
  raise.jh(tmp2_also_0);
3463
3490
  }
3464
3491
  var res = tmp3_also;
@@ -3497,34 +3524,34 @@
3497
3524
  try {
3498
3525
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3499
3526
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>' call
3500
- raise.kh(_this__u8e3s4.bm());
3501
- $this.dm(_this__u8e3s4.zl_1);
3527
+ raise.kh(_this__u8e3s4.cm());
3528
+ $this.em(_this__u8e3s4.am_1);
3502
3529
  var tmp_0;
3503
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
3530
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
3504
3531
  // Inline function 'kotlin.apply' call
3505
3532
  // Inline function 'kotlin.collections.mutableListOf' call
3506
3533
  var tmp0_apply = ArrayList_init_$Create$();
3507
3534
  // Inline function 'kotlin.contracts.contract' call
3508
3535
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
3509
- tmp0_apply.a(_this__u8e3s4.zl_1.pl_1);
3510
- raise.kh(_this__u8e3s4.bm());
3511
- while (equals(_this__u8e3s4.zl_1.ol_1, Comma_getInstance())) {
3512
- raise.kh(_this__u8e3s4.bm());
3513
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
3536
+ tmp0_apply.a(_this__u8e3s4.am_1.ql_1);
3537
+ raise.kh(_this__u8e3s4.cm());
3538
+ while (equals(_this__u8e3s4.am_1.pl_1, Comma_getInstance())) {
3539
+ raise.kh(_this__u8e3s4.cm());
3540
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
3514
3541
  // Inline function 'kotlin.also' call
3515
- tmp0_apply.a(_this__u8e3s4.zl_1.pl_1);
3542
+ tmp0_apply.a(_this__u8e3s4.am_1.ql_1);
3516
3543
  // Inline function 'kotlin.contracts.contract' call
3517
3544
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
3518
- raise.kh(_this__u8e3s4.bm());
3545
+ raise.kh(_this__u8e3s4.cm());
3519
3546
  } else {
3520
3547
  // Inline function 'kotlin.also' call
3521
3548
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3522
- Companion_getInstance_3();
3523
- var tmp2_invoke = _this__u8e3s4.zl_1;
3549
+ Companion_getInstance_4();
3550
+ var tmp2_invoke = _this__u8e3s4.am_1;
3524
3551
  var tmp3_also = new WrongTokenException(getKClass(CustomType), tmp2_invoke);
3525
3552
  // Inline function 'kotlin.contracts.contract' call
3526
3553
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
3527
- raise.kh(_this__u8e3s4.bm());
3554
+ raise.kh(_this__u8e3s4.cm());
3528
3555
  raise.jh(tmp3_also);
3529
3556
  }
3530
3557
  }
@@ -3532,12 +3559,12 @@
3532
3559
  } else {
3533
3560
  // Inline function 'kotlin.also' call
3534
3561
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3535
- Companion_getInstance_3();
3536
- var tmp2_invoke_0 = _this__u8e3s4.zl_1;
3562
+ Companion_getInstance_4();
3563
+ var tmp2_invoke_0 = _this__u8e3s4.am_1;
3537
3564
  var tmp3_also_0 = new WrongTokenException(getKClass(CustomType), tmp2_invoke_0);
3538
3565
  // Inline function 'kotlin.contracts.contract' call
3539
3566
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
3540
- raise.kh(_this__u8e3s4.bm());
3567
+ raise.kh(_this__u8e3s4.cm());
3541
3568
  raise.jh(tmp3_also_0);
3542
3569
  }
3543
3570
  var res = toSet(tmp_0);
@@ -3568,7 +3595,7 @@
3568
3595
  function EnumParser(logger) {
3569
3596
  AbstractParser.call(this, logger);
3570
3597
  }
3571
- protoOf(EnumParser).hm = function (_this__u8e3s4) {
3598
+ protoOf(EnumParser).im = function (_this__u8e3s4) {
3572
3599
  // Inline function 'arrow.core.raise.either' call
3573
3600
  // Inline function 'arrow.core.raise.fold' call
3574
3601
  // Inline function 'kotlin.contracts.contract' call
@@ -3579,20 +3606,20 @@
3579
3606
  try {
3580
3607
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3581
3608
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>' call
3582
- raise.kh(_this__u8e3s4.bm());
3583
- this.dm(_this__u8e3s4.zl_1);
3609
+ raise.kh(_this__u8e3s4.cm());
3610
+ this.em(_this__u8e3s4.am_1);
3584
3611
  var tmp_0;
3585
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
3586
- tmp_0 = raise.kh(parseEnumTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.zl_1.pl_1));
3612
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
3613
+ tmp_0 = raise.kh(parseEnumTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.am_1.ql_1));
3587
3614
  } else {
3588
3615
  // Inline function 'kotlin.also' call
3589
3616
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3590
- Companion_getInstance_3();
3591
- var tmp1_invoke = _this__u8e3s4.zl_1;
3617
+ Companion_getInstance_4();
3618
+ var tmp1_invoke = _this__u8e3s4.am_1;
3592
3619
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
3593
3620
  // Inline function 'kotlin.contracts.contract' call
3594
3621
  // Inline function 'community.flock.wirespec.compiler.core.parse.EnumParser.parseEnum.<anonymous>.<anonymous>' call
3595
- raise.kh(_this__u8e3s4.bm());
3622
+ raise.kh(_this__u8e3s4.cm());
3596
3623
  raise.jh(tmp2_also);
3597
3624
  }
3598
3625
  var res = tmp_0;
@@ -3711,11 +3738,11 @@
3711
3738
  try {
3712
3739
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3713
3740
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3714
- $this.dm(_this__u8e3s4.zl_1);
3715
- var tmp0_subject = _this__u8e3s4.zl_1.ol_1;
3741
+ $this.em(_this__u8e3s4.am_1);
3742
+ var tmp0_subject = _this__u8e3s4.am_1.pl_1;
3716
3743
  var tmp_0;
3717
3744
  if (isInterface(tmp0_subject, WirespecDefinition)) {
3718
- var tmp_1 = _this__u8e3s4.zl_1.ol_1;
3745
+ var tmp_1 = _this__u8e3s4.am_1.pl_1;
3719
3746
  var tmp1_subject = isInterface(tmp_1, WirespecDefinition) ? tmp_1 : THROW_CCE();
3720
3747
  var tmp_2;
3721
3748
  if (tmp1_subject instanceof WsTypeDef) {
@@ -3723,7 +3750,7 @@
3723
3750
  // Inline function 'kotlin.with' call
3724
3751
  // Inline function 'kotlin.contracts.contract' call
3725
3752
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3726
- tmp$ret$1 = $this.vh_1.lm(_this__u8e3s4);
3753
+ tmp$ret$1 = $this.vh_1.mm(_this__u8e3s4);
3727
3754
  tmp_2 = raise.kh(tmp$ret$1);
3728
3755
  } else {
3729
3756
  if (tmp1_subject instanceof WsEnumTypeDef) {
@@ -3731,7 +3758,7 @@
3731
3758
  // Inline function 'kotlin.with' call
3732
3759
  // Inline function 'kotlin.contracts.contract' call
3733
3760
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3734
- tmp$ret$3 = $this.wh_1.hm(_this__u8e3s4);
3761
+ tmp$ret$3 = $this.wh_1.im(_this__u8e3s4);
3735
3762
  tmp_2 = raise.kh(tmp$ret$3);
3736
3763
  } else {
3737
3764
  if (tmp1_subject instanceof WsRefinedTypeDef) {
@@ -3739,7 +3766,7 @@
3739
3766
  // Inline function 'kotlin.with' call
3740
3767
  // Inline function 'kotlin.contracts.contract' call
3741
3768
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3742
- tmp$ret$5 = $this.xh_1.jm(_this__u8e3s4);
3769
+ tmp$ret$5 = $this.xh_1.km(_this__u8e3s4);
3743
3770
  tmp_2 = raise.kh(tmp$ret$5);
3744
3771
  } else {
3745
3772
  if (tmp1_subject instanceof WsEndpointDef) {
@@ -3747,7 +3774,7 @@
3747
3774
  // Inline function 'kotlin.with' call
3748
3775
  // Inline function 'kotlin.contracts.contract' call
3749
3776
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3750
- tmp$ret$7 = $this.yh_1.fm(_this__u8e3s4);
3777
+ tmp$ret$7 = $this.yh_1.gm(_this__u8e3s4);
3751
3778
  tmp_2 = raise.kh(tmp$ret$7);
3752
3779
  } else {
3753
3780
  noWhenBranchMatchedException();
@@ -3759,12 +3786,12 @@
3759
3786
  } else {
3760
3787
  // Inline function 'kotlin.also' call
3761
3788
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3762
- Companion_getInstance_3();
3763
- var tmp5_invoke = _this__u8e3s4.zl_1;
3789
+ Companion_getInstance_4();
3790
+ var tmp5_invoke = _this__u8e3s4.am_1;
3764
3791
  var tmp6_also = new WrongTokenException(getKClass(WirespecDefinition), tmp5_invoke);
3765
3792
  // Inline function 'kotlin.contracts.contract' call
3766
3793
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3767
- raise.kh(_this__u8e3s4.bm());
3794
+ raise.kh(_this__u8e3s4.cm());
3768
3795
  raise.jh(tmp6_also);
3769
3796
  }
3770
3797
  var res = tmp_0;
@@ -3800,13 +3827,13 @@
3800
3827
  this.yh_1 = new EndpointParser(logger);
3801
3828
  }
3802
3829
  protoOf(Parser).zh = function (tokens) {
3803
- return parse(toProvider(removeWhiteSpace(tokens), this.cm_1), this);
3830
+ return parse(toProvider(removeWhiteSpace(tokens), this.dm_1), this);
3804
3831
  };
3805
3832
  function AbstractParser(logger) {
3806
- this.cm_1 = logger;
3833
+ this.dm_1 = logger;
3807
3834
  }
3808
- protoOf(AbstractParser).dm = function (_this__u8e3s4) {
3809
- return this.cm_1.qh('Parsing ' + _this__u8e3s4.ol_1 + ' at line ' + _this__u8e3s4.ql_1.sl_1 + ' position ' + _this__u8e3s4.ql_1.tl_1);
3835
+ protoOf(AbstractParser).em = function (_this__u8e3s4) {
3836
+ return this.dm_1.qh('Parsing ' + _this__u8e3s4.pl_1 + ' at line ' + _this__u8e3s4.rl_1.tl_1 + ' position ' + _this__u8e3s4.rl_1.ul_1);
3810
3837
  };
3811
3838
  function parseCustomRegex(_this__u8e3s4, $this, typeName) {
3812
3839
  // Inline function 'arrow.core.raise.either' call
@@ -3819,27 +3846,27 @@
3819
3846
  try {
3820
3847
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3821
3848
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>' call
3822
- raise.kh(_this__u8e3s4.bm());
3823
- $this.dm(_this__u8e3s4.zl_1);
3849
+ raise.kh(_this__u8e3s4.cm());
3850
+ $this.em(_this__u8e3s4.am_1);
3824
3851
  // Inline function 'kotlin.also' call
3825
3852
  var tmp_0;
3826
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomRegex) {
3827
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.zl_1.pl_1));
3853
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomRegex) {
3854
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.am_1.ql_1));
3828
3855
  } else {
3829
3856
  // Inline function 'kotlin.also' call
3830
3857
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3831
- Companion_getInstance_3();
3832
- var tmp1_invoke = _this__u8e3s4.zl_1;
3858
+ Companion_getInstance_4();
3859
+ var tmp1_invoke = _this__u8e3s4.am_1;
3833
3860
  var tmp2_also = new WrongTokenException(getKClass(CustomRegex), tmp1_invoke);
3834
3861
  // Inline function 'kotlin.contracts.contract' call
3835
3862
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>.<anonymous>' call
3836
- raise.kh(_this__u8e3s4.bm());
3863
+ raise.kh(_this__u8e3s4.cm());
3837
3864
  raise.jh(tmp2_also);
3838
3865
  }
3839
3866
  var tmp3_also = tmp_0;
3840
3867
  // Inline function 'kotlin.contracts.contract' call
3841
3868
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseCustomRegex.<anonymous>.<anonymous>' call
3842
- raise.kh(_this__u8e3s4.bm());
3869
+ raise.kh(_this__u8e3s4.cm());
3843
3870
  var res = tmp3_also;
3844
3871
  raise.hh();
3845
3872
  // Inline function 'arrow.core.raise.either.<anonymous>' call
@@ -3868,7 +3895,7 @@
3868
3895
  function RefinedTypeParser(logger) {
3869
3896
  AbstractParser.call(this, logger);
3870
3897
  }
3871
- protoOf(RefinedTypeParser).jm = function (_this__u8e3s4) {
3898
+ protoOf(RefinedTypeParser).km = function (_this__u8e3s4) {
3872
3899
  // Inline function 'arrow.core.raise.either' call
3873
3900
  // Inline function 'arrow.core.raise.fold' call
3874
3901
  // Inline function 'kotlin.contracts.contract' call
@@ -3879,20 +3906,20 @@
3879
3906
  try {
3880
3907
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3881
3908
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseRefinedType.<anonymous>' call
3882
- raise.kh(_this__u8e3s4.bm());
3883
- this.dm(_this__u8e3s4.zl_1);
3909
+ raise.kh(_this__u8e3s4.cm());
3910
+ this.em(_this__u8e3s4.am_1);
3884
3911
  var tmp_0;
3885
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
3886
- tmp_0 = raise.kh(parseCustomRegex(_this__u8e3s4, this, _this__u8e3s4.zl_1.pl_1));
3912
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
3913
+ tmp_0 = raise.kh(parseCustomRegex(_this__u8e3s4, this, _this__u8e3s4.am_1.ql_1));
3887
3914
  } else {
3888
3915
  // Inline function 'kotlin.also' call
3889
3916
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
3890
- Companion_getInstance_3();
3891
- var tmp1_invoke = _this__u8e3s4.zl_1;
3917
+ Companion_getInstance_4();
3918
+ var tmp1_invoke = _this__u8e3s4.am_1;
3892
3919
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
3893
3920
  // Inline function 'kotlin.contracts.contract' call
3894
3921
  // Inline function 'community.flock.wirespec.compiler.core.parse.RefinedTypeParser.parseRefinedType.<anonymous>.<anonymous>' call
3895
- raise.kh(_this__u8e3s4.bm());
3922
+ raise.kh(_this__u8e3s4.cm());
3896
3923
  raise.jh(tmp2_also);
3897
3924
  }
3898
3925
  var res = tmp_0;
@@ -3928,15 +3955,15 @@
3928
3955
  // Inline function 'kotlin.run' call
3929
3956
  // Inline function 'kotlin.contracts.contract' call
3930
3957
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
3931
- tmp = "Eating: '" + previousToken.pl_1 + "', ";
3958
+ tmp = "Eating: '" + previousToken.ql_1 + "', ";
3932
3959
  }
3933
3960
  var tmp1_elvis_lhs = tmp;
3934
3961
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
3935
3962
  // Inline function 'kotlin.run' call
3936
3963
  // Inline function 'kotlin.contracts.contract' call
3937
3964
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
3938
- var curr = "Current: '" + $this.zl_1.pl_1 + "'";
3939
- var tmp2_safe_receiver = $this.am_1;
3965
+ var curr = "Current: '" + $this.am_1.ql_1 + "'";
3966
+ var tmp2_safe_receiver = $this.bm_1;
3940
3967
  var tmp_0;
3941
3968
  if (tmp2_safe_receiver == null) {
3942
3969
  tmp_0 = null;
@@ -3944,11 +3971,11 @@
3944
3971
  // Inline function 'kotlin.run' call
3945
3972
  // Inline function 'kotlin.contracts.contract' call
3946
3973
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
3947
- tmp_0 = ", Next: '" + tmp2_safe_receiver.pl_1 + "'";
3974
+ tmp_0 = ", Next: '" + tmp2_safe_receiver.ql_1 + "'";
3948
3975
  }
3949
3976
  var tmp3_elvis_lhs = tmp_0;
3950
3977
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
3951
- $this.xl_1.qh(prev + curr + next);
3978
+ $this.yl_1.qh(prev + curr + next);
3952
3979
  }
3953
3980
  function printTokens$default($this, previousToken, $super) {
3954
3981
  previousToken = previousToken === VOID ? null : previousToken;
@@ -3962,7 +3989,7 @@
3962
3989
  // Inline function 'kotlin.Companion.success' call
3963
3990
  Companion_getInstance();
3964
3991
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
3965
- var tmp1_success = $this.yl_1.e();
3992
+ var tmp1_success = $this.zl_1.e();
3966
3993
  tmp = _Result___init__impl__xyqfz8(tmp1_success);
3967
3994
  } catch ($p) {
3968
3995
  var tmp_0;
@@ -3987,16 +4014,16 @@
3987
4014
  return tmp_1;
3988
4015
  }
3989
4016
  function TokenProvider(logger, tokenIterator) {
3990
- this.xl_1 = logger;
3991
- this.yl_1 = tokenIterator;
3992
- this.zl_1 = ensureNotNull(nextToken(this));
3993
- this.am_1 = nextToken(this);
4017
+ this.yl_1 = logger;
4018
+ this.zl_1 = tokenIterator;
4019
+ this.am_1 = ensureNotNull(nextToken(this));
4020
+ this.bm_1 = nextToken(this);
3994
4021
  printTokens$default(this);
3995
4022
  }
3996
4023
  protoOf(TokenProvider).d = function () {
3997
- return !(this.am_1 == null);
4024
+ return !(this.bm_1 == null);
3998
4025
  };
3999
- protoOf(TokenProvider).bm = function () {
4026
+ protoOf(TokenProvider).cm = function () {
4000
4027
  // Inline function 'arrow.core.raise.either' call
4001
4028
  // Inline function 'arrow.core.raise.fold' call
4002
4029
  // Inline function 'kotlin.contracts.contract' call
@@ -4006,17 +4033,17 @@
4006
4033
  var tmp;
4007
4034
  try {
4008
4035
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4009
- var previousToken = this.zl_1;
4036
+ var previousToken = this.am_1;
4010
4037
  var tmp_0 = this;
4011
- var tmp0_elvis_lhs = this.am_1;
4038
+ var tmp0_elvis_lhs = this.bm_1;
4012
4039
  var tmp_1;
4013
4040
  if (tmp0_elvis_lhs == null) {
4014
- raise.jh(new NextException(previousToken.ql_1));
4041
+ raise.jh(new NextException(previousToken.rl_1));
4015
4042
  } else {
4016
4043
  tmp_1 = tmp0_elvis_lhs;
4017
4044
  }
4018
- tmp_0.zl_1 = tmp_1;
4019
- this.am_1 = nextToken(this);
4045
+ tmp_0.am_1 = tmp_1;
4046
+ this.bm_1 = nextToken(this);
4020
4047
  printTokens(this, previousToken);
4021
4048
  var res = Unit_getInstance();
4022
4049
  raise.hh();
@@ -4057,37 +4084,37 @@
4057
4084
  try {
4058
4085
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4059
4086
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>' call
4060
- raise.kh(_this__u8e3s4.bm());
4061
- $this.dm(_this__u8e3s4.zl_1);
4087
+ raise.kh(_this__u8e3s4.cm());
4088
+ $this.em(_this__u8e3s4.am_1);
4062
4089
  // Inline function 'kotlin.also' call
4063
4090
  var tmp_0;
4064
- if (_this__u8e3s4.zl_1.ol_1 instanceof LeftCurly) {
4091
+ if (_this__u8e3s4.am_1.pl_1 instanceof LeftCurly) {
4065
4092
  tmp_0 = new Type_0(typeName, raise.kh(parseTypeShape(_this__u8e3s4, $this)));
4066
4093
  } else {
4067
4094
  // Inline function 'kotlin.also' call
4068
4095
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4069
- Companion_getInstance_3();
4070
- var tmp1_invoke = _this__u8e3s4.zl_1;
4096
+ Companion_getInstance_4();
4097
+ var tmp1_invoke = _this__u8e3s4.am_1;
4071
4098
  var tmp2_also = new WrongTokenException(getKClass(LeftCurly), tmp1_invoke);
4072
4099
  // Inline function 'kotlin.contracts.contract' call
4073
4100
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>.<anonymous>' call
4074
- raise.kh(_this__u8e3s4.bm());
4101
+ raise.kh(_this__u8e3s4.cm());
4075
4102
  raise.jh(tmp2_also);
4076
4103
  }
4077
4104
  var tmp3_also = tmp_0;
4078
4105
  // Inline function 'kotlin.contracts.contract' call
4079
4106
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>.<anonymous>' call
4080
- if (_this__u8e3s4.zl_1.ol_1 instanceof RightCurly)
4081
- raise.kh(_this__u8e3s4.bm());
4107
+ if (_this__u8e3s4.am_1.pl_1 instanceof RightCurly)
4108
+ raise.kh(_this__u8e3s4.cm());
4082
4109
  else {
4083
4110
  // Inline function 'kotlin.also' call
4084
4111
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4085
- Companion_getInstance_3();
4086
- var tmp1_invoke_0 = _this__u8e3s4.zl_1;
4112
+ Companion_getInstance_4();
4113
+ var tmp1_invoke_0 = _this__u8e3s4.am_1;
4087
4114
  var tmp2_also_0 = new WrongTokenException(getKClass(RightCurly), tmp1_invoke_0);
4088
4115
  // Inline function 'kotlin.contracts.contract' call
4089
4116
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4090
- raise.kh(_this__u8e3s4.bm());
4117
+ raise.kh(_this__u8e3s4.cm());
4091
4118
  raise.jh(tmp2_also_0);
4092
4119
  }
4093
4120
  var res = tmp3_also;
@@ -4126,30 +4153,30 @@
4126
4153
  try {
4127
4154
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4128
4155
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>' call
4129
- raise.kh(_this__u8e3s4.bm());
4130
- $this.dm(_this__u8e3s4.zl_1);
4156
+ raise.kh(_this__u8e3s4.cm());
4157
+ $this.em(_this__u8e3s4.am_1);
4131
4158
  // Inline function 'kotlin.let' call
4132
4159
  var tmp_0;
4133
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomValue) {
4160
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomValue) {
4134
4161
  // Inline function 'kotlin.apply' call
4135
4162
  // Inline function 'kotlin.collections.mutableListOf' call
4136
4163
  var tmp0_apply = ArrayList_init_$Create$();
4137
4164
  // Inline function 'kotlin.contracts.contract' call
4138
4165
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
4139
- tmp0_apply.a(raise.kh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.zl_1.pl_1))));
4140
- while (equals(_this__u8e3s4.zl_1.ol_1, Comma_getInstance())) {
4141
- raise.kh(_this__u8e3s4.bm());
4142
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomValue) {
4143
- tmp0_apply.a(raise.kh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.zl_1.pl_1))));
4166
+ tmp0_apply.a(raise.kh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.am_1.ql_1))));
4167
+ while (equals(_this__u8e3s4.am_1.pl_1, Comma_getInstance())) {
4168
+ raise.kh(_this__u8e3s4.cm());
4169
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomValue) {
4170
+ tmp0_apply.a(raise.kh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.am_1.ql_1))));
4144
4171
  } else {
4145
4172
  // Inline function 'kotlin.also' call
4146
4173
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4147
- Companion_getInstance_3();
4148
- var tmp1_invoke = _this__u8e3s4.zl_1;
4174
+ Companion_getInstance_4();
4175
+ var tmp1_invoke = _this__u8e3s4.am_1;
4149
4176
  var tmp2_also = new WrongTokenException(getKClass(CustomValue), tmp1_invoke);
4150
4177
  // Inline function 'kotlin.contracts.contract' call
4151
4178
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
4152
- raise.kh(_this__u8e3s4.bm());
4179
+ raise.kh(_this__u8e3s4.cm());
4153
4180
  raise.jh(tmp2_also);
4154
4181
  }
4155
4182
  }
@@ -4157,12 +4184,12 @@
4157
4184
  } else {
4158
4185
  // Inline function 'kotlin.also' call
4159
4186
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4160
- Companion_getInstance_3();
4161
- var tmp2_invoke = _this__u8e3s4.zl_1;
4187
+ Companion_getInstance_4();
4188
+ var tmp2_invoke = _this__u8e3s4.am_1;
4162
4189
  var tmp3_also = new WrongTokenException(getKClass(CustomValue), tmp2_invoke);
4163
4190
  // Inline function 'kotlin.contracts.contract' call
4164
4191
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseTypeShape.<anonymous>.<anonymous>' call
4165
- raise.kh(_this__u8e3s4.bm());
4192
+ raise.kh(_this__u8e3s4.cm());
4166
4193
  raise.jh(tmp3_also);
4167
4194
  }
4168
4195
  var tmp4_let = tmp_0;
@@ -4203,42 +4230,42 @@
4203
4230
  try {
4204
4231
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4205
4232
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>' call
4206
- raise.kh(_this__u8e3s4.bm());
4207
- $this.dm(_this__u8e3s4.zl_1);
4208
- if (_this__u8e3s4.zl_1.ol_1 instanceof Colon)
4209
- raise.kh(_this__u8e3s4.bm());
4233
+ raise.kh(_this__u8e3s4.cm());
4234
+ $this.em(_this__u8e3s4.am_1);
4235
+ if (_this__u8e3s4.am_1.pl_1 instanceof Colon)
4236
+ raise.kh(_this__u8e3s4.cm());
4210
4237
  else {
4211
4238
  // Inline function 'kotlin.also' call
4212
4239
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4213
- Companion_getInstance_3();
4214
- var tmp1_invoke = _this__u8e3s4.zl_1;
4240
+ Companion_getInstance_4();
4241
+ var tmp1_invoke = _this__u8e3s4.am_1;
4215
4242
  var tmp2_also = new WrongTokenException(getKClass(Colon), tmp1_invoke);
4216
4243
  // Inline function 'kotlin.contracts.contract' call
4217
4244
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4218
- raise.kh(_this__u8e3s4.bm());
4245
+ raise.kh(_this__u8e3s4.cm());
4219
4246
  raise.jh(tmp2_also);
4220
4247
  }
4221
- var type = _this__u8e3s4.zl_1.ol_1;
4248
+ var type = _this__u8e3s4.am_1.pl_1;
4222
4249
  var tmp_0;
4223
4250
  if (isInterface(type, WirespecType)) {
4224
- var tmp_1 = raise.kh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.zl_1.pl_1));
4251
+ var tmp_1 = raise.kh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.am_1.ql_1));
4225
4252
  // Inline function 'kotlin.also' call
4226
- var tmp_2 = _this__u8e3s4.zl_1.ol_1;
4253
+ var tmp_2 = _this__u8e3s4.am_1.pl_1;
4227
4254
  var tmp3_also = tmp_2 instanceof QuestionMark;
4228
4255
  // Inline function 'kotlin.contracts.contract' call
4229
4256
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4230
4257
  if (tmp3_also)
4231
- raise.kh(_this__u8e3s4.bm());
4258
+ raise.kh(_this__u8e3s4.cm());
4232
4259
  tmp_0 = new Field(identifier, tmp_1, tmp3_also);
4233
4260
  } else {
4234
4261
  // Inline function 'kotlin.also' call
4235
4262
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4236
- Companion_getInstance_3();
4237
- var tmp5_invoke = _this__u8e3s4.zl_1;
4263
+ Companion_getInstance_4();
4264
+ var tmp5_invoke = _this__u8e3s4.am_1;
4238
4265
  var tmp6_also = new WrongTokenException(getKClass(CustomType), tmp5_invoke);
4239
4266
  // Inline function 'kotlin.contracts.contract' call
4240
4267
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseField.<anonymous>.<anonymous>' call
4241
- raise.kh(_this__u8e3s4.bm());
4268
+ raise.kh(_this__u8e3s4.cm());
4242
4269
  raise.jh(tmp6_also);
4243
4270
  }
4244
4271
  var res = tmp_0;
@@ -4277,15 +4304,15 @@
4277
4304
  try {
4278
4305
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4279
4306
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>' call
4280
- raise.kh(_this__u8e3s4.bm());
4281
- $this.dm(_this__u8e3s4.zl_1);
4307
+ raise.kh(_this__u8e3s4.cm());
4308
+ $this.em(_this__u8e3s4.am_1);
4282
4309
  // Inline function 'kotlin.also' call
4283
- var tmp_0 = _this__u8e3s4.zl_1.ol_1;
4310
+ var tmp_0 = _this__u8e3s4.am_1.pl_1;
4284
4311
  var tmp0_also = tmp_0 instanceof Brackets;
4285
4312
  // Inline function 'kotlin.contracts.contract' call
4286
4313
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseFieldValue.<anonymous>.<anonymous>' call
4287
4314
  if (tmp0_also)
4288
- raise.kh(_this__u8e3s4.bm());
4315
+ raise.kh(_this__u8e3s4.cm());
4289
4316
  var isIterable = tmp0_also;
4290
4317
  var tmp_1;
4291
4318
  if (wsType instanceof WsString) {
@@ -4333,7 +4360,7 @@
4333
4360
  function TypeParser(logger) {
4334
4361
  AbstractParser.call(this, logger);
4335
4362
  }
4336
- protoOf(TypeParser).lm = function (_this__u8e3s4) {
4363
+ protoOf(TypeParser).mm = function (_this__u8e3s4) {
4337
4364
  // Inline function 'arrow.core.raise.either' call
4338
4365
  // Inline function 'arrow.core.raise.fold' call
4339
4366
  // Inline function 'kotlin.contracts.contract' call
@@ -4344,20 +4371,20 @@
4344
4371
  try {
4345
4372
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4346
4373
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>' call
4347
- raise.kh(_this__u8e3s4.bm());
4348
- this.dm(_this__u8e3s4.zl_1);
4374
+ raise.kh(_this__u8e3s4.cm());
4375
+ this.em(_this__u8e3s4.am_1);
4349
4376
  var tmp_0;
4350
- if (_this__u8e3s4.zl_1.ol_1 instanceof CustomType) {
4351
- tmp_0 = raise.kh(parseTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.zl_1.pl_1));
4377
+ if (_this__u8e3s4.am_1.pl_1 instanceof CustomType) {
4378
+ tmp_0 = raise.kh(parseTypeDefinition(_this__u8e3s4, this, _this__u8e3s4.am_1.ql_1));
4352
4379
  } else {
4353
4380
  // Inline function 'kotlin.also' call
4354
4381
  // Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
4355
- Companion_getInstance_3();
4356
- var tmp1_invoke = _this__u8e3s4.zl_1;
4382
+ Companion_getInstance_4();
4383
+ var tmp1_invoke = _this__u8e3s4.am_1;
4357
4384
  var tmp2_also = new WrongTokenException(getKClass(CustomType), tmp1_invoke);
4358
4385
  // Inline function 'kotlin.contracts.contract' call
4359
4386
  // Inline function 'community.flock.wirespec.compiler.core.parse.TypeParser.parseType.<anonymous>.<anonymous>' call
4360
- raise.kh(_this__u8e3s4.bm());
4387
+ raise.kh(_this__u8e3s4.cm());
4361
4388
  raise.jh(tmp2_also);
4362
4389
  }
4363
4390
  var res = tmp_0;
@@ -4417,13 +4444,13 @@
4417
4444
  }
4418
4445
  var $ENTRIES;
4419
4446
  function Literal(value) {
4420
- this.dk_1 = value;
4447
+ this.gk_1 = value;
4421
4448
  }
4422
4449
  protoOf(Literal).toString = function () {
4423
- return 'Literal(value=' + this.dk_1 + ')';
4450
+ return 'Literal(value=' + this.gk_1 + ')';
4424
4451
  };
4425
4452
  protoOf(Literal).hashCode = function () {
4426
- return getStringHashCode(this.dk_1);
4453
+ return getStringHashCode(this.gk_1);
4427
4454
  };
4428
4455
  protoOf(Literal).equals = function (other) {
4429
4456
  if (this === other)
@@ -4431,7 +4458,7 @@
4431
4458
  if (!(other instanceof Literal))
4432
4459
  return false;
4433
4460
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
4434
- if (!(this.dk_1 === tmp0_other_with_cast.dk_1))
4461
+ if (!(this.gk_1 === tmp0_other_with_cast.gk_1))
4435
4462
  return false;
4436
4463
  return true;
4437
4464
  };
@@ -4615,15 +4642,15 @@
4615
4642
  return true;
4616
4643
  };
4617
4644
  function Enum_0(name, entries) {
4618
- this.wj_1 = name;
4619
- this.xj_1 = entries;
4645
+ this.zj_1 = name;
4646
+ this.ak_1 = entries;
4620
4647
  }
4621
4648
  protoOf(Enum_0).toString = function () {
4622
- return 'Enum(name=' + this.wj_1 + ', entries=' + this.xj_1 + ')';
4649
+ return 'Enum(name=' + this.zj_1 + ', entries=' + this.ak_1 + ')';
4623
4650
  };
4624
4651
  protoOf(Enum_0).hashCode = function () {
4625
- var result = getStringHashCode(this.wj_1);
4626
- result = imul(result, 31) + hashCode(this.xj_1) | 0;
4652
+ var result = getStringHashCode(this.zj_1);
4653
+ result = imul(result, 31) + hashCode(this.ak_1) | 0;
4627
4654
  return result;
4628
4655
  };
4629
4656
  protoOf(Enum_0).equals = function (other) {
@@ -4632,20 +4659,20 @@
4632
4659
  if (!(other instanceof Enum_0))
4633
4660
  return false;
4634
4661
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
4635
- if (!(this.wj_1 === tmp0_other_with_cast.wj_1))
4662
+ if (!(this.zj_1 === tmp0_other_with_cast.zj_1))
4636
4663
  return false;
4637
- if (!equals(this.xj_1, tmp0_other_with_cast.xj_1))
4664
+ if (!equals(this.ak_1, tmp0_other_with_cast.ak_1))
4638
4665
  return false;
4639
4666
  return true;
4640
4667
  };
4641
4668
  function Validator(value) {
4642
- this.bk_1 = value;
4669
+ this.ek_1 = value;
4643
4670
  }
4644
4671
  protoOf(Validator).toString = function () {
4645
- return 'Validator(value=' + this.bk_1 + ')';
4672
+ return 'Validator(value=' + this.ek_1 + ')';
4646
4673
  };
4647
4674
  protoOf(Validator).hashCode = function () {
4648
- return getStringHashCode(this.bk_1);
4675
+ return getStringHashCode(this.ek_1);
4649
4676
  };
4650
4677
  protoOf(Validator).equals = function (other) {
4651
4678
  if (this === other)
@@ -4653,20 +4680,20 @@
4653
4680
  if (!(other instanceof Validator))
4654
4681
  return false;
4655
4682
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
4656
- if (!(this.bk_1 === tmp0_other_with_cast.bk_1))
4683
+ if (!(this.ek_1 === tmp0_other_with_cast.ek_1))
4657
4684
  return false;
4658
4685
  return true;
4659
4686
  };
4660
4687
  function Refined(name, validator) {
4661
- this.yj_1 = name;
4662
- this.zj_1 = validator;
4688
+ this.bk_1 = name;
4689
+ this.ck_1 = validator;
4663
4690
  }
4664
4691
  protoOf(Refined).toString = function () {
4665
- return 'Refined(name=' + this.yj_1 + ', validator=' + this.zj_1 + ')';
4692
+ return 'Refined(name=' + this.bk_1 + ', validator=' + this.ck_1 + ')';
4666
4693
  };
4667
4694
  protoOf(Refined).hashCode = function () {
4668
- var result = getStringHashCode(this.yj_1);
4669
- result = imul(result, 31) + this.zj_1.hashCode() | 0;
4695
+ var result = getStringHashCode(this.bk_1);
4696
+ result = imul(result, 31) + this.ck_1.hashCode() | 0;
4670
4697
  return result;
4671
4698
  };
4672
4699
  protoOf(Refined).equals = function (other) {
@@ -4675,9 +4702,9 @@
4675
4702
  if (!(other instanceof Refined))
4676
4703
  return false;
4677
4704
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
4678
- if (!(this.yj_1 === tmp0_other_with_cast.yj_1))
4705
+ if (!(this.bk_1 === tmp0_other_with_cast.bk_1))
4679
4706
  return false;
4680
- if (!this.zj_1.equals(tmp0_other_with_cast.zj_1))
4707
+ if (!this.ck_1.equals(tmp0_other_with_cast.ck_1))
4681
4708
  return false;
4682
4709
  return true;
4683
4710
  };
@@ -4710,29 +4737,29 @@
4710
4737
  }
4711
4738
  function Any(isIterable, isMap) {
4712
4739
  isMap = isMap === VOID ? false : isMap;
4713
- this.mm_1 = isIterable;
4714
- this.nm_1 = isMap;
4740
+ this.nm_1 = isIterable;
4741
+ this.om_1 = isMap;
4715
4742
  }
4716
4743
  protoOf(Any).cj = function () {
4717
- return this.mm_1;
4718
- };
4719
- protoOf(Any).zk = function () {
4720
4744
  return this.nm_1;
4721
4745
  };
4722
- protoOf(Any).om = function (isIterable, isMap) {
4746
+ protoOf(Any).al = function () {
4747
+ return this.om_1;
4748
+ };
4749
+ protoOf(Any).pm = function (isIterable, isMap) {
4723
4750
  return new Any(isIterable, isMap);
4724
4751
  };
4725
- protoOf(Any).pm = function (isIterable, isMap, $super) {
4726
- isIterable = isIterable === VOID ? this.mm_1 : isIterable;
4727
- isMap = isMap === VOID ? this.nm_1 : isMap;
4728
- return $super === VOID ? this.om(isIterable, isMap) : $super.om.call(this, isIterable, isMap);
4752
+ protoOf(Any).qm = function (isIterable, isMap, $super) {
4753
+ isIterable = isIterable === VOID ? this.nm_1 : isIterable;
4754
+ isMap = isMap === VOID ? this.om_1 : isMap;
4755
+ return $super === VOID ? this.pm(isIterable, isMap) : $super.pm.call(this, isIterable, isMap);
4729
4756
  };
4730
4757
  protoOf(Any).toString = function () {
4731
- return 'Any(isIterable=' + this.mm_1 + ', isMap=' + this.nm_1 + ')';
4758
+ return 'Any(isIterable=' + this.nm_1 + ', isMap=' + this.om_1 + ')';
4732
4759
  };
4733
4760
  protoOf(Any).hashCode = function () {
4734
- var result = this.mm_1 | 0;
4735
- result = imul(result, 31) + (this.nm_1 | 0) | 0;
4761
+ var result = this.nm_1 | 0;
4762
+ result = imul(result, 31) + (this.om_1 | 0) | 0;
4736
4763
  return result;
4737
4764
  };
4738
4765
  protoOf(Any).equals = function (other) {
@@ -4741,40 +4768,40 @@
4741
4768
  if (!(other instanceof Any))
4742
4769
  return false;
4743
4770
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
4744
- if (!(this.mm_1 === tmp0_other_with_cast.mm_1))
4745
- return false;
4746
4771
  if (!(this.nm_1 === tmp0_other_with_cast.nm_1))
4747
4772
  return false;
4773
+ if (!(this.om_1 === tmp0_other_with_cast.om_1))
4774
+ return false;
4748
4775
  return true;
4749
4776
  };
4750
4777
  function Custom(value, isIterable, isMap) {
4751
4778
  isMap = isMap === VOID ? false : isMap;
4752
- this.tj_1 = value;
4753
- this.uj_1 = isIterable;
4754
- this.vj_1 = isMap;
4779
+ this.wj_1 = value;
4780
+ this.xj_1 = isIterable;
4781
+ this.yj_1 = isMap;
4755
4782
  }
4756
4783
  protoOf(Custom).cj = function () {
4757
- return this.uj_1;
4784
+ return this.xj_1;
4758
4785
  };
4759
- protoOf(Custom).zk = function () {
4760
- return this.vj_1;
4786
+ protoOf(Custom).al = function () {
4787
+ return this.yj_1;
4761
4788
  };
4762
- protoOf(Custom).qm = function (value, isIterable, isMap) {
4789
+ protoOf(Custom).rm = function (value, isIterable, isMap) {
4763
4790
  return new Custom(value, isIterable, isMap);
4764
4791
  };
4765
- protoOf(Custom).rm = function (value, isIterable, isMap, $super) {
4766
- value = value === VOID ? this.tj_1 : value;
4767
- isIterable = isIterable === VOID ? this.uj_1 : isIterable;
4768
- isMap = isMap === VOID ? this.vj_1 : isMap;
4769
- return $super === VOID ? this.qm(value, isIterable, isMap) : $super.qm.call(this, value, isIterable, isMap);
4792
+ protoOf(Custom).sm = function (value, isIterable, isMap, $super) {
4793
+ value = value === VOID ? this.wj_1 : value;
4794
+ isIterable = isIterable === VOID ? this.xj_1 : isIterable;
4795
+ isMap = isMap === VOID ? this.yj_1 : isMap;
4796
+ return $super === VOID ? this.rm(value, isIterable, isMap) : $super.rm.call(this, value, isIterable, isMap);
4770
4797
  };
4771
4798
  protoOf(Custom).toString = function () {
4772
- return 'Custom(value=' + this.tj_1 + ', isIterable=' + this.uj_1 + ', isMap=' + this.vj_1 + ')';
4799
+ return 'Custom(value=' + this.wj_1 + ', isIterable=' + this.xj_1 + ', isMap=' + this.yj_1 + ')';
4773
4800
  };
4774
4801
  protoOf(Custom).hashCode = function () {
4775
- var result = getStringHashCode(this.tj_1);
4776
- result = imul(result, 31) + (this.uj_1 | 0) | 0;
4777
- result = imul(result, 31) + (this.vj_1 | 0) | 0;
4802
+ var result = getStringHashCode(this.wj_1);
4803
+ result = imul(result, 31) + (this.xj_1 | 0) | 0;
4804
+ result = imul(result, 31) + (this.yj_1 | 0) | 0;
4778
4805
  return result;
4779
4806
  };
4780
4807
  protoOf(Custom).equals = function (other) {
@@ -4783,42 +4810,42 @@
4783
4810
  if (!(other instanceof Custom))
4784
4811
  return false;
4785
4812
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
4786
- if (!(this.tj_1 === tmp0_other_with_cast.tj_1))
4813
+ if (!(this.wj_1 === tmp0_other_with_cast.wj_1))
4787
4814
  return false;
4788
- if (!(this.uj_1 === tmp0_other_with_cast.uj_1))
4815
+ if (!(this.xj_1 === tmp0_other_with_cast.xj_1))
4789
4816
  return false;
4790
- if (!(this.vj_1 === tmp0_other_with_cast.vj_1))
4817
+ if (!(this.yj_1 === tmp0_other_with_cast.yj_1))
4791
4818
  return false;
4792
4819
  return true;
4793
4820
  };
4794
4821
  function Primitive(type, isIterable, isMap) {
4795
4822
  isMap = isMap === VOID ? false : isMap;
4796
- this.qj_1 = type;
4797
- this.rj_1 = isIterable;
4798
- this.sj_1 = isMap;
4823
+ this.tj_1 = type;
4824
+ this.uj_1 = isIterable;
4825
+ this.vj_1 = isMap;
4799
4826
  }
4800
4827
  protoOf(Primitive).cj = function () {
4801
- return this.rj_1;
4828
+ return this.uj_1;
4802
4829
  };
4803
- protoOf(Primitive).zk = function () {
4804
- return this.sj_1;
4830
+ protoOf(Primitive).al = function () {
4831
+ return this.vj_1;
4805
4832
  };
4806
- protoOf(Primitive).sm = function (type, isIterable, isMap) {
4833
+ protoOf(Primitive).tm = function (type, isIterable, isMap) {
4807
4834
  return new Primitive(type, isIterable, isMap);
4808
4835
  };
4809
- protoOf(Primitive).tm = function (type, isIterable, isMap, $super) {
4810
- type = type === VOID ? this.qj_1 : type;
4811
- isIterable = isIterable === VOID ? this.rj_1 : isIterable;
4812
- isMap = isMap === VOID ? this.sj_1 : isMap;
4813
- return $super === VOID ? this.sm(type, isIterable, isMap) : $super.sm.call(this, type, isIterable, isMap);
4836
+ protoOf(Primitive).um = function (type, isIterable, isMap, $super) {
4837
+ type = type === VOID ? this.tj_1 : type;
4838
+ isIterable = isIterable === VOID ? this.uj_1 : isIterable;
4839
+ isMap = isMap === VOID ? this.vj_1 : isMap;
4840
+ return $super === VOID ? this.tm(type, isIterable, isMap) : $super.tm.call(this, type, isIterable, isMap);
4814
4841
  };
4815
4842
  protoOf(Primitive).toString = function () {
4816
- return 'Primitive(type=' + this.qj_1 + ', isIterable=' + this.rj_1 + ', isMap=' + this.sj_1 + ')';
4843
+ return 'Primitive(type=' + this.tj_1 + ', isIterable=' + this.uj_1 + ', isMap=' + this.vj_1 + ')';
4817
4844
  };
4818
4845
  protoOf(Primitive).hashCode = function () {
4819
- var result = this.qj_1.hashCode();
4820
- result = imul(result, 31) + (this.rj_1 | 0) | 0;
4821
- result = imul(result, 31) + (this.sj_1 | 0) | 0;
4846
+ var result = this.tj_1.hashCode();
4847
+ result = imul(result, 31) + (this.uj_1 | 0) | 0;
4848
+ result = imul(result, 31) + (this.vj_1 | 0) | 0;
4822
4849
  return result;
4823
4850
  };
4824
4851
  protoOf(Primitive).equals = function (other) {
@@ -4827,22 +4854,22 @@
4827
4854
  if (!(other instanceof Primitive))
4828
4855
  return false;
4829
4856
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
4830
- if (!this.qj_1.equals(tmp0_other_with_cast.qj_1))
4857
+ if (!this.tj_1.equals(tmp0_other_with_cast.tj_1))
4831
4858
  return false;
4832
- if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
4859
+ if (!(this.uj_1 === tmp0_other_with_cast.uj_1))
4833
4860
  return false;
4834
- if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
4861
+ if (!(this.vj_1 === tmp0_other_with_cast.vj_1))
4835
4862
  return false;
4836
4863
  return true;
4837
4864
  };
4838
4865
  function Identifier(value) {
4839
- this.pj_1 = value;
4866
+ this.qj_1 = value;
4840
4867
  }
4841
4868
  protoOf(Identifier).toString = function () {
4842
- return 'Identifier(value=' + this.pj_1 + ')';
4869
+ return 'Identifier(value=' + this.qj_1 + ')';
4843
4870
  };
4844
4871
  protoOf(Identifier).hashCode = function () {
4845
- return getStringHashCode(this.pj_1);
4872
+ return getStringHashCode(this.qj_1);
4846
4873
  };
4847
4874
  protoOf(Identifier).equals = function (other) {
4848
4875
  if (this === other)
@@ -4850,22 +4877,22 @@
4850
4877
  if (!(other instanceof Identifier))
4851
4878
  return false;
4852
4879
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
4853
- if (!(this.pj_1 === tmp0_other_with_cast.pj_1))
4880
+ if (!(this.qj_1 === tmp0_other_with_cast.qj_1))
4854
4881
  return false;
4855
4882
  return true;
4856
4883
  };
4857
4884
  function Field(identifier, reference, isNullable) {
4858
- this.lj_1 = identifier;
4859
- this.mj_1 = reference;
4860
- this.nj_1 = isNullable;
4885
+ this.mj_1 = identifier;
4886
+ this.nj_1 = reference;
4887
+ this.oj_1 = isNullable;
4861
4888
  }
4862
4889
  protoOf(Field).toString = function () {
4863
- return 'Field(identifier=' + this.lj_1 + ', reference=' + this.mj_1 + ', isNullable=' + this.nj_1 + ')';
4890
+ return 'Field(identifier=' + this.mj_1 + ', reference=' + this.nj_1 + ', isNullable=' + this.oj_1 + ')';
4864
4891
  };
4865
4892
  protoOf(Field).hashCode = function () {
4866
- var result = this.lj_1.hashCode();
4867
- result = imul(result, 31) + hashCode(this.mj_1) | 0;
4868
- result = imul(result, 31) + (this.nj_1 | 0) | 0;
4893
+ var result = this.mj_1.hashCode();
4894
+ result = imul(result, 31) + hashCode(this.nj_1) | 0;
4895
+ result = imul(result, 31) + (this.oj_1 | 0) | 0;
4869
4896
  return result;
4870
4897
  };
4871
4898
  protoOf(Field).equals = function (other) {
@@ -4874,22 +4901,22 @@
4874
4901
  if (!(other instanceof Field))
4875
4902
  return false;
4876
4903
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
4877
- if (!this.lj_1.equals(tmp0_other_with_cast.lj_1))
4904
+ if (!this.mj_1.equals(tmp0_other_with_cast.mj_1))
4878
4905
  return false;
4879
- if (!equals(this.mj_1, tmp0_other_with_cast.mj_1))
4906
+ if (!equals(this.nj_1, tmp0_other_with_cast.nj_1))
4880
4907
  return false;
4881
- if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
4908
+ if (!(this.oj_1 === tmp0_other_with_cast.oj_1))
4882
4909
  return false;
4883
4910
  return true;
4884
4911
  };
4885
4912
  function Shape(value) {
4886
- this.kj_1 = value;
4913
+ this.lj_1 = value;
4887
4914
  }
4888
4915
  protoOf(Shape).toString = function () {
4889
- return 'Shape(value=' + this.kj_1 + ')';
4916
+ return 'Shape(value=' + this.lj_1 + ')';
4890
4917
  };
4891
4918
  protoOf(Shape).hashCode = function () {
4892
- return hashCode(this.kj_1);
4919
+ return hashCode(this.lj_1);
4893
4920
  };
4894
4921
  protoOf(Shape).equals = function (other) {
4895
4922
  if (this === other)
@@ -4897,20 +4924,20 @@
4897
4924
  if (!(other instanceof Shape))
4898
4925
  return false;
4899
4926
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
4900
- if (!equals(this.kj_1, tmp0_other_with_cast.kj_1))
4927
+ if (!equals(this.lj_1, tmp0_other_with_cast.lj_1))
4901
4928
  return false;
4902
4929
  return true;
4903
4930
  };
4904
4931
  function Type_0(name, shape) {
4905
- this.gj_1 = name;
4906
- this.hj_1 = shape;
4932
+ this.hj_1 = name;
4933
+ this.ij_1 = shape;
4907
4934
  }
4908
4935
  protoOf(Type_0).toString = function () {
4909
- return 'Type(name=' + this.gj_1 + ', shape=' + this.hj_1 + ')';
4936
+ return 'Type(name=' + this.hj_1 + ', shape=' + this.ij_1 + ')';
4910
4937
  };
4911
4938
  protoOf(Type_0).hashCode = function () {
4912
- var result = getStringHashCode(this.gj_1);
4913
- result = imul(result, 31) + this.hj_1.hashCode() | 0;
4939
+ var result = getStringHashCode(this.hj_1);
4940
+ result = imul(result, 31) + this.ij_1.hashCode() | 0;
4914
4941
  return result;
4915
4942
  };
4916
4943
  protoOf(Type_0).equals = function (other) {
@@ -4919,24 +4946,24 @@
4919
4946
  if (!(other instanceof Type_0))
4920
4947
  return false;
4921
4948
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
4922
- if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
4949
+ if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
4923
4950
  return false;
4924
- if (!this.hj_1.equals(tmp0_other_with_cast.hj_1))
4951
+ if (!this.ij_1.equals(tmp0_other_with_cast.ij_1))
4925
4952
  return false;
4926
4953
  return true;
4927
4954
  };
4928
4955
  function IdxAndLength(idx, length) {
4929
4956
  idx = idx === VOID ? 0 : idx;
4930
4957
  length = length === VOID ? 0 : length;
4931
- this.um_1 = idx;
4932
- this.vm_1 = length;
4958
+ this.vm_1 = idx;
4959
+ this.wm_1 = length;
4933
4960
  }
4934
4961
  protoOf(IdxAndLength).toString = function () {
4935
- return 'IdxAndLength(idx=' + this.um_1 + ', length=' + this.vm_1 + ')';
4962
+ return 'IdxAndLength(idx=' + this.vm_1 + ', length=' + this.wm_1 + ')';
4936
4963
  };
4937
4964
  protoOf(IdxAndLength).hashCode = function () {
4938
- var result = this.um_1;
4939
- result = imul(result, 31) + this.vm_1 | 0;
4965
+ var result = this.vm_1;
4966
+ result = imul(result, 31) + this.wm_1 | 0;
4940
4967
  return result;
4941
4968
  };
4942
4969
  protoOf(IdxAndLength).equals = function (other) {
@@ -4945,36 +4972,36 @@
4945
4972
  if (!(other instanceof IdxAndLength))
4946
4973
  return false;
4947
4974
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4948
- if (!(this.um_1 === tmp0_other_with_cast.um_1))
4949
- return false;
4950
4975
  if (!(this.vm_1 === tmp0_other_with_cast.vm_1))
4951
4976
  return false;
4977
+ if (!(this.wm_1 === tmp0_other_with_cast.wm_1))
4978
+ return false;
4952
4979
  return true;
4953
4980
  };
4954
4981
  function Coordinates(line, position, idxAndLength) {
4955
4982
  line = line === VOID ? 1 : line;
4956
4983
  position = position === VOID ? 1 : position;
4957
4984
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4958
- this.sl_1 = line;
4959
- this.tl_1 = position;
4960
- this.ul_1 = idxAndLength;
4985
+ this.tl_1 = line;
4986
+ this.ul_1 = position;
4987
+ this.vl_1 = idxAndLength;
4961
4988
  }
4962
- protoOf(Coordinates).wm = function (line, position, idxAndLength) {
4989
+ protoOf(Coordinates).xm = function (line, position, idxAndLength) {
4963
4990
  return new Coordinates(line, position, idxAndLength);
4964
4991
  };
4965
- protoOf(Coordinates).xm = function (line, position, idxAndLength, $super) {
4966
- line = line === VOID ? this.sl_1 : line;
4967
- position = position === VOID ? this.tl_1 : position;
4968
- idxAndLength = idxAndLength === VOID ? this.ul_1 : idxAndLength;
4969
- return $super === VOID ? this.wm(line, position, idxAndLength) : $super.wm.call(this, line, position, idxAndLength);
4992
+ protoOf(Coordinates).ym = function (line, position, idxAndLength, $super) {
4993
+ line = line === VOID ? this.tl_1 : line;
4994
+ position = position === VOID ? this.ul_1 : position;
4995
+ idxAndLength = idxAndLength === VOID ? this.vl_1 : idxAndLength;
4996
+ return $super === VOID ? this.xm(line, position, idxAndLength) : $super.xm.call(this, line, position, idxAndLength);
4970
4997
  };
4971
4998
  protoOf(Coordinates).toString = function () {
4972
- return 'Coordinates(line=' + this.sl_1 + ', position=' + this.tl_1 + ', idxAndLength=' + this.ul_1 + ')';
4999
+ return 'Coordinates(line=' + this.tl_1 + ', position=' + this.ul_1 + ', idxAndLength=' + this.vl_1 + ')';
4973
5000
  };
4974
5001
  protoOf(Coordinates).hashCode = function () {
4975
- var result = this.sl_1;
4976
- result = imul(result, 31) + this.tl_1 | 0;
4977
- result = imul(result, 31) + this.ul_1.hashCode() | 0;
5002
+ var result = this.tl_1;
5003
+ result = imul(result, 31) + this.ul_1 | 0;
5004
+ result = imul(result, 31) + this.vl_1.hashCode() | 0;
4978
5005
  return result;
4979
5006
  };
4980
5007
  protoOf(Coordinates).equals = function (other) {
@@ -4983,35 +5010,35 @@
4983
5010
  if (!(other instanceof Coordinates))
4984
5011
  return false;
4985
5012
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4986
- if (!(this.sl_1 === tmp0_other_with_cast.sl_1))
4987
- return false;
4988
5013
  if (!(this.tl_1 === tmp0_other_with_cast.tl_1))
4989
5014
  return false;
4990
- if (!this.ul_1.equals(tmp0_other_with_cast.ul_1))
5015
+ if (!(this.ul_1 === tmp0_other_with_cast.ul_1))
5016
+ return false;
5017
+ if (!this.vl_1.equals(tmp0_other_with_cast.vl_1))
4991
5018
  return false;
4992
5019
  return true;
4993
5020
  };
4994
5021
  function Token(type, value, coordinates) {
4995
- this.ol_1 = type;
4996
- this.pl_1 = value;
4997
- this.ql_1 = coordinates;
5022
+ this.pl_1 = type;
5023
+ this.ql_1 = value;
5024
+ this.rl_1 = coordinates;
4998
5025
  }
4999
- protoOf(Token).ym = function (type, value, coordinates) {
5026
+ protoOf(Token).zm = function (type, value, coordinates) {
5000
5027
  return new Token(type, value, coordinates);
5001
5028
  };
5002
- protoOf(Token).wl = function (type, value, coordinates, $super) {
5003
- type = type === VOID ? this.ol_1 : type;
5004
- value = value === VOID ? this.pl_1 : value;
5005
- coordinates = coordinates === VOID ? this.ql_1 : coordinates;
5006
- return $super === VOID ? this.ym(type, value, coordinates) : $super.ym.call(this, type, value, coordinates);
5029
+ protoOf(Token).xl = function (type, value, coordinates, $super) {
5030
+ type = type === VOID ? this.pl_1 : type;
5031
+ value = value === VOID ? this.ql_1 : value;
5032
+ coordinates = coordinates === VOID ? this.rl_1 : coordinates;
5033
+ return $super === VOID ? this.zm(type, value, coordinates) : $super.zm.call(this, type, value, coordinates);
5007
5034
  };
5008
5035
  protoOf(Token).toString = function () {
5009
- return 'Token(type=' + this.ol_1 + ', value=' + this.pl_1 + ', coordinates=' + this.ql_1 + ')';
5036
+ return 'Token(type=' + this.pl_1 + ', value=' + this.ql_1 + ', coordinates=' + this.rl_1 + ')';
5010
5037
  };
5011
5038
  protoOf(Token).hashCode = function () {
5012
- var result = hashCode(this.ol_1);
5013
- result = imul(result, 31) + getStringHashCode(this.pl_1) | 0;
5014
- result = imul(result, 31) + this.ql_1.hashCode() | 0;
5039
+ var result = hashCode(this.pl_1);
5040
+ result = imul(result, 31) + getStringHashCode(this.ql_1) | 0;
5041
+ result = imul(result, 31) + this.rl_1.hashCode() | 0;
5015
5042
  return result;
5016
5043
  };
5017
5044
  protoOf(Token).equals = function (other) {
@@ -5020,19 +5047,19 @@
5020
5047
  if (!(other instanceof Token))
5021
5048
  return false;
5022
5049
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
5023
- if (!equals(this.ol_1, tmp0_other_with_cast.ol_1))
5050
+ if (!equals(this.pl_1, tmp0_other_with_cast.pl_1))
5024
5051
  return false;
5025
- if (!(this.pl_1 === tmp0_other_with_cast.pl_1))
5052
+ if (!(this.ql_1 === tmp0_other_with_cast.ql_1))
5026
5053
  return false;
5027
- if (!this.ql_1.equals(tmp0_other_with_cast.ql_1))
5054
+ if (!this.rl_1.equals(tmp0_other_with_cast.rl_1))
5028
5055
  return false;
5029
5056
  return true;
5030
5057
  };
5031
5058
  function plus_1(_this__u8e3s4, length) {
5032
- return new IdxAndLength(_this__u8e3s4.um_1 + length | 0, length);
5059
+ return new IdxAndLength(_this__u8e3s4.vm_1 + length | 0, length);
5033
5060
  }
5034
5061
  function plus_2(_this__u8e3s4, length) {
5035
- return _this__u8e3s4.xm(VOID, _this__u8e3s4.tl_1 + length | 0, plus_1(_this__u8e3s4.ul_1, length));
5062
+ return _this__u8e3s4.ym(VOID, _this__u8e3s4.ul_1 + length | 0, plus_1(_this__u8e3s4.vl_1, length));
5036
5063
  }
5037
5064
  function tokenize(_this__u8e3s4, source) {
5038
5065
  return tokenize_0(_this__u8e3s4, source, nonEmptyListOf(new Token(StartOfProgram_getInstance(), '', new Coordinates()), []));
@@ -5043,12 +5070,12 @@
5043
5070
  var incompleteTokens_0 = incompleteTokens;
5044
5071
  $l$1: do {
5045
5072
  $l$0: do {
5046
- var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).ql_1);
5073
+ var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).rl_1);
5047
5074
  var token = tmp0_container.j3();
5048
5075
  var remaining = tmp0_container.k3();
5049
5076
  var tokens = incompleteTokens_0.eh(token);
5050
5077
  var tmp;
5051
- var tmp_0 = token.ol_1;
5078
+ var tmp_0 = token.pl_1;
5052
5079
  if (tmp_0 instanceof EndOfProgram) {
5053
5080
  tmp = tokens;
5054
5081
  } else {
@@ -5090,7 +5117,7 @@
5090
5117
  // Inline function 'kotlin.let' call
5091
5118
  // Inline function 'kotlin.contracts.contract' call
5092
5119
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
5093
- tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.pl_1));
5120
+ tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.ql_1));
5094
5121
  }
5095
5122
  var tmp1_elvis_lhs = tmp;
5096
5123
  return tmp1_elvis_lhs == null ? new Pair(endToken(previousTokenCoordinates), '') : tmp1_elvis_lhs;
@@ -5109,7 +5136,7 @@
5109
5136
  function nextCoordinates(_this__u8e3s4, type, value) {
5110
5137
  var tmp;
5111
5138
  if (type instanceof NewLine) {
5112
- tmp = new Coordinates(_this__u8e3s4.sl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.ul_1, value.length));
5139
+ tmp = new Coordinates(_this__u8e3s4.tl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.vl_1, value.length));
5113
5140
  } else {
5114
5141
  tmp = plus_2(_this__u8e3s4, value.length);
5115
5142
  }
@@ -5123,7 +5150,7 @@
5123
5150
  while (tmp0_iterator.d()) {
5124
5151
  var element = tmp0_iterator.e();
5125
5152
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.removeWhiteSpace.<anonymous>' call
5126
- var tmp = element.ol_1;
5153
+ var tmp = element.pl_1;
5127
5154
  if (!isInterface(tmp, WhiteSpace)) {
5128
5155
  tmp0_filterNotTo.a(element);
5129
5156
  }
@@ -5856,7 +5883,7 @@
5856
5883
  }
5857
5884
  function EndOfProgram() {
5858
5885
  EndOfProgram_instance = this;
5859
- this.zm_1 = 'EOP';
5886
+ this.an_1 = 'EOP';
5860
5887
  }
5861
5888
  protoOf(EndOfProgram).toString = function () {
5862
5889
  return 'EndOfProgram';
@@ -5907,7 +5934,7 @@
5907
5934
  }
5908
5935
  return tmp;
5909
5936
  };
5910
- protoOf(Logger).nl = function (s, block) {
5937
+ protoOf(Logger).ol = function (s, block) {
5911
5938
  // Inline function 'kotlin.run' call
5912
5939
  // Inline function 'kotlin.contracts.contract' call
5913
5940
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
@@ -5925,86 +5952,86 @@
5925
5952
  }
5926
5953
  }
5927
5954
  //region block: post-declaration
5928
- protoOf(JavaEmitter).fk = withLogging_4;
5929
- protoOf(JavaEmitter).gk = withLogging_5;
5930
- protoOf(JavaEmitter).hk = withLogging_6;
5931
- protoOf(JavaEmitter).ik = withLogging_7;
5932
- protoOf(JavaEmitter).hi = withLogging_8;
5955
+ protoOf(JavaEmitter).ik = withLogging;
5956
+ protoOf(JavaEmitter).jk = withLogging_0;
5933
5957
  protoOf(JavaEmitter).kk = withLogging_1;
5934
- protoOf(JavaEmitter).mk = withLogging;
5935
- protoOf(JavaEmitter).nk = withLogging_0;
5936
- protoOf(JavaEmitter).pk = withLogging_2;
5937
- protoOf(JavaEmitter).dj = withLogging_3;
5938
- protoOf(KotlinEmitter).fk = withLogging_4;
5939
- protoOf(KotlinEmitter).gk = withLogging_5;
5940
- protoOf(KotlinEmitter).hk = withLogging_6;
5941
- protoOf(KotlinEmitter).ik = withLogging_7;
5942
- protoOf(KotlinEmitter).hi = withLogging_8;
5958
+ protoOf(JavaEmitter).lk = withLogging_2;
5959
+ protoOf(JavaEmitter).hi = withLogging_3;
5960
+ protoOf(JavaEmitter).nk = withLogging_6;
5961
+ protoOf(JavaEmitter).pk = withLogging_7;
5962
+ protoOf(JavaEmitter).qk = withLogging_8;
5963
+ protoOf(JavaEmitter).sk = withLogging_4;
5964
+ protoOf(JavaEmitter).dj = withLogging_5;
5965
+ protoOf(KotlinEmitter).ik = withLogging;
5966
+ protoOf(KotlinEmitter).jk = withLogging_0;
5943
5967
  protoOf(KotlinEmitter).kk = withLogging_1;
5944
- protoOf(KotlinEmitter).mk = withLogging;
5945
- protoOf(KotlinEmitter).nk = withLogging_0;
5946
- protoOf(KotlinEmitter).pk = withLogging_2;
5947
- protoOf(KotlinEmitter).dj = withLogging_3;
5948
- protoOf(ScalaEmitter).fk = withLogging_4;
5949
- protoOf(ScalaEmitter).gk = withLogging_5;
5950
- protoOf(ScalaEmitter).hk = withLogging_6;
5951
- protoOf(ScalaEmitter).ik = withLogging_7;
5952
- protoOf(ScalaEmitter).hi = withLogging_8;
5968
+ protoOf(KotlinEmitter).lk = withLogging_2;
5969
+ protoOf(KotlinEmitter).hi = withLogging_3;
5970
+ protoOf(KotlinEmitter).nk = withLogging_6;
5971
+ protoOf(KotlinEmitter).pk = withLogging_7;
5972
+ protoOf(KotlinEmitter).qk = withLogging_8;
5973
+ protoOf(KotlinEmitter).sk = withLogging_4;
5974
+ protoOf(KotlinEmitter).dj = withLogging_5;
5975
+ protoOf(ScalaEmitter).ik = withLogging;
5976
+ protoOf(ScalaEmitter).jk = withLogging_0;
5953
5977
  protoOf(ScalaEmitter).kk = withLogging_1;
5954
- protoOf(ScalaEmitter).mk = withLogging;
5955
- protoOf(ScalaEmitter).nk = withLogging_0;
5956
- protoOf(ScalaEmitter).pk = withLogging_2;
5957
- protoOf(TypeScriptEmitter).fk = withLogging_4;
5958
- protoOf(TypeScriptEmitter).gk = withLogging_5;
5959
- protoOf(TypeScriptEmitter).hk = withLogging_6;
5960
- protoOf(TypeScriptEmitter).ik = withLogging_7;
5961
- protoOf(TypeScriptEmitter).hi = withLogging_8;
5978
+ protoOf(ScalaEmitter).lk = withLogging_2;
5979
+ protoOf(ScalaEmitter).hi = withLogging_3;
5980
+ protoOf(ScalaEmitter).nk = withLogging_6;
5981
+ protoOf(ScalaEmitter).pk = withLogging_7;
5982
+ protoOf(ScalaEmitter).qk = withLogging_8;
5983
+ protoOf(ScalaEmitter).sk = withLogging_4;
5984
+ protoOf(TypeScriptEmitter).ik = withLogging;
5985
+ protoOf(TypeScriptEmitter).jk = withLogging_0;
5962
5986
  protoOf(TypeScriptEmitter).kk = withLogging_1;
5963
- protoOf(TypeScriptEmitter).mk = withLogging;
5964
- protoOf(TypeScriptEmitter).nk = withLogging_0;
5965
- protoOf(TypeScriptEmitter).pk = withLogging_2;
5966
- protoOf(TypeScriptEmitter).dj = withLogging_3;
5967
- protoOf(WirespecEmitter).fk = withLogging_4;
5968
- protoOf(WirespecEmitter).gk = withLogging_5;
5969
- protoOf(WirespecEmitter).hk = withLogging_6;
5970
- protoOf(WirespecEmitter).ik = withLogging_7;
5971
- protoOf(WirespecEmitter).hi = withLogging_8;
5987
+ protoOf(TypeScriptEmitter).lk = withLogging_2;
5988
+ protoOf(TypeScriptEmitter).hi = withLogging_3;
5989
+ protoOf(TypeScriptEmitter).nk = withLogging_6;
5990
+ protoOf(TypeScriptEmitter).pk = withLogging_7;
5991
+ protoOf(TypeScriptEmitter).qk = withLogging_8;
5992
+ protoOf(TypeScriptEmitter).sk = withLogging_4;
5993
+ protoOf(TypeScriptEmitter).dj = withLogging_5;
5994
+ protoOf(WirespecEmitter).ik = withLogging;
5995
+ protoOf(WirespecEmitter).jk = withLogging_0;
5972
5996
  protoOf(WirespecEmitter).kk = withLogging_1;
5973
- protoOf(WirespecEmitter).mk = withLogging;
5974
- protoOf(WirespecEmitter).nk = withLogging_0;
5975
- protoOf(WirespecEmitter).pk = withLogging_2;
5976
- protoOf(WsTypeDef).rl = name;
5977
- protoOf(WsEnumTypeDef).rl = name;
5978
- protoOf(WsRefinedTypeDef).rl = name;
5979
- protoOf(WsEndpointDef).rl = name;
5980
- protoOf(WhiteSpaceExceptNewLine).rl = name;
5981
- protoOf(NewLine).rl = name;
5982
- protoOf(LeftCurly).rl = name;
5983
- protoOf(RightCurly).rl = name;
5984
- protoOf(Colon).rl = name;
5985
- protoOf(Comma).rl = name;
5986
- protoOf(QuestionMark).rl = name;
5987
- protoOf(Brackets).rl = name;
5988
- protoOf(WsString).rl = name;
5989
- protoOf(WsInteger).rl = name;
5990
- protoOf(WsBoolean).rl = name;
5991
- protoOf(Arrow).rl = name;
5992
- protoOf(GET).rl = name;
5993
- protoOf(POST).rl = name;
5994
- protoOf(PUT).rl = name;
5995
- protoOf(DELETE).rl = name;
5996
- protoOf(OPTIONS).rl = name;
5997
- protoOf(HEAD).rl = name;
5998
- protoOf(PATCH).rl = name;
5999
- protoOf(TRACE).rl = name;
6000
- protoOf(CustomRegex).rl = name;
6001
- protoOf(StatusCode).rl = name;
6002
- protoOf(CustomValue).rl = name;
6003
- protoOf(CustomType).rl = name;
6004
- protoOf(Path).rl = name;
6005
- protoOf(Invalid).rl = name;
6006
- protoOf(StartOfProgram).rl = name;
6007
- protoOf(EndOfProgram).rl = name;
5997
+ protoOf(WirespecEmitter).lk = withLogging_2;
5998
+ protoOf(WirespecEmitter).hi = withLogging_3;
5999
+ protoOf(WirespecEmitter).nk = withLogging_6;
6000
+ protoOf(WirespecEmitter).pk = withLogging_7;
6001
+ protoOf(WirespecEmitter).qk = withLogging_8;
6002
+ protoOf(WirespecEmitter).sk = withLogging_4;
6003
+ protoOf(WsTypeDef).sl = name;
6004
+ protoOf(WsEnumTypeDef).sl = name;
6005
+ protoOf(WsRefinedTypeDef).sl = name;
6006
+ protoOf(WsEndpointDef).sl = name;
6007
+ protoOf(WhiteSpaceExceptNewLine).sl = name;
6008
+ protoOf(NewLine).sl = name;
6009
+ protoOf(LeftCurly).sl = name;
6010
+ protoOf(RightCurly).sl = name;
6011
+ protoOf(Colon).sl = name;
6012
+ protoOf(Comma).sl = name;
6013
+ protoOf(QuestionMark).sl = name;
6014
+ protoOf(Brackets).sl = name;
6015
+ protoOf(WsString).sl = name;
6016
+ protoOf(WsInteger).sl = name;
6017
+ protoOf(WsBoolean).sl = name;
6018
+ protoOf(Arrow).sl = name;
6019
+ protoOf(GET).sl = name;
6020
+ protoOf(POST).sl = name;
6021
+ protoOf(PUT).sl = name;
6022
+ protoOf(DELETE).sl = name;
6023
+ protoOf(OPTIONS).sl = name;
6024
+ protoOf(HEAD).sl = name;
6025
+ protoOf(PATCH).sl = name;
6026
+ protoOf(TRACE).sl = name;
6027
+ protoOf(CustomRegex).sl = name;
6028
+ protoOf(StatusCode).sl = name;
6029
+ protoOf(CustomValue).sl = name;
6030
+ protoOf(CustomType).sl = name;
6031
+ protoOf(Path).sl = name;
6032
+ protoOf(Invalid).sl = name;
6033
+ protoOf(StartOfProgram).sl = name;
6034
+ protoOf(EndOfProgram).sl = name;
6008
6035
  //endregion
6009
6036
  //region block: init
6010
6037
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';
@@ -6039,7 +6066,7 @@
6039
6066
  _.$_$.z = Type_Boolean_getInstance;
6040
6067
  _.$_$.a1 = Type_Integer_getInstance;
6041
6068
  _.$_$.b1 = Type_String_getInstance;
6042
- _.$_$.c1 = Companion_getInstance_2;
6069
+ _.$_$.c1 = Companion_getInstance_3;
6043
6070
  _.$_$.d1 = Wirespec_getInstance;
6044
6071
  //endregion
6045
6072
  return _;