@flock/wirespec 0.7.5 → 0.7.6

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.
@@ -89,37 +89,37 @@
89
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
90
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
91
91
  function withLogging(_this__u8e3s4, logger, block) {
92
- return logger.zk('Emitting Definition: Type', block);
92
+ return logger.dl('Emitting Definition: Type', block);
93
93
  }
94
94
  function withLogging_0(_this__u8e3s4, logger, block) {
95
- return logger.zk('Emitting Definition: Type Shape', block);
95
+ return logger.dl('Emitting Definition: Type Shape', block);
96
96
  }
97
97
  function withLogging_1(_this__u8e3s4, logger, block) {
98
- return logger.zk('Emitting Definition: Type Shape Field', block);
98
+ return logger.dl('Emitting Definition: Type Shape Field', block);
99
99
  }
100
100
  function withLogging_2(_this__u8e3s4, logger, block) {
101
- return logger.zk('Emitting Definition: Type Shape Field Key', block);
101
+ return logger.dl('Emitting Definition: Type Shape Field Key', block);
102
102
  }
103
103
  function withLogging_3(_this__u8e3s4, logger, block) {
104
- return logger.zk('Emitting Definition: Type Shape Field Value', block);
104
+ return logger.dl('Emitting Definition: Type Shape Field Value', block);
105
105
  }
106
106
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
107
107
  function withLogging_4(_this__u8e3s4, logger, block) {
108
- return logger.zk('Emitting Definition: Endpoint', block);
108
+ return logger.dl('Emitting Definition: Endpoint', block);
109
109
  }
110
110
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
111
111
  function withLogging_5(_this__u8e3s4, logger, block) {
112
- return logger.zk('Emitting Definition: Refined', block);
112
+ return logger.dl('Emitting Definition: Refined', block);
113
113
  }
114
114
  function withLogging_6(_this__u8e3s4, logger, block) {
115
- return logger.zk('Emitting Definition: Refined Validator', block);
115
+ return logger.dl('Emitting Definition: Refined Validator', block);
116
116
  }
117
117
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
118
118
  function withLogging_7(_this__u8e3s4, logger, block) {
119
- return logger.zk('Emitting Definition: Endpoint', block);
119
+ return logger.dl('Emitting Definition: Endpoint', block);
120
120
  }
121
121
  function withLogging_8(_this__u8e3s4, logger, block) {
122
- return logger.zk('Emitting Definition: Endpoint Segment', block);
122
+ return logger.dl('Emitting Definition: Endpoint Segment', block);
123
123
  }
124
124
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
125
125
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -388,15 +388,18 @@
388
388
  new Wirespec();
389
389
  return Wirespec_instance;
390
390
  }
391
+ function imprt($this, ast) {
392
+ return !Companion_getInstance_2().xh(ast) ? '' : 'import community.flock.wirespec.java.Wirespec;\n\n';
393
+ }
391
394
  function emitPrimaryType(_this__u8e3s4, $this) {
392
- return $this.wh(_this__u8e3s4, $this.rh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
395
+ return $this.yh(_this__u8e3s4, $this.rh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
393
396
  }
394
397
  function emit(_this__u8e3s4, $this, endpoint) {
395
398
  Companion_getInstance_2();
396
- var tmp = emitContentType(_this__u8e3s4.xh_1, $this);
397
- var tmp0_safe_receiver = _this__u8e3s4.xh_1;
398
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
399
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.fi(tmp1_safe_receiver);
399
+ var tmp = emitContentType(_this__u8e3s4.zh_1, $this);
400
+ var tmp0_safe_receiver = _this__u8e3s4.zh_1;
401
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bi_1;
402
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.hi(tmp1_safe_receiver);
400
403
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
401
404
  Companion_getInstance_2();
402
405
  Companion_getInstance_2();
@@ -408,33 +411,33 @@
408
411
  Companion_getInstance_2();
409
412
  Companion_getInstance_2();
410
413
  Companion_getInstance_2();
411
- var tmp3_safe_receiver = _this__u8e3s4.xh_1;
412
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.zh_1;
413
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.fi(tmp4_safe_receiver);
414
+ var tmp3_safe_receiver = _this__u8e3s4.zh_1;
415
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.bi_1;
416
+ var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.hi(tmp4_safe_receiver);
414
417
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
415
418
  Companion_getInstance_2();
416
419
  Companion_getInstance_2();
417
- var tmp_2 = emitContentType(_this__u8e3s4.xh_1, $this);
418
- var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.xh_1);
420
+ var tmp_2 = emitContentType(_this__u8e3s4.zh_1, $this);
421
+ var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.zh_1);
419
422
  Companion_getInstance_2();
420
423
  Companion_getInstance_2();
421
424
  Companion_getInstance_2();
422
- var tmp_4 = emitPath(endpoint.ii_1, $this);
425
+ var tmp_4 = emitPath(endpoint.ki_1, $this);
423
426
  Companion_getInstance_2();
424
427
  Companion_getInstance_2();
425
428
  Companion_getInstance_2();
426
429
  Companion_getInstance_2();
427
430
  Companion_getInstance_2();
428
431
  Companion_getInstance_2();
429
- var tmp_5 = emitMap(endpoint.ji_1, $this);
432
+ var tmp_5 = emitMap(endpoint.li_1, $this);
430
433
  Companion_getInstance_2();
431
434
  Companion_getInstance_2();
432
435
  Companion_getInstance_2();
433
- var tmp_6 = emitMap(endpoint.ki_1, $this);
436
+ var tmp_6 = emitMap(endpoint.mi_1, $this);
434
437
  Companion_getInstance_2();
435
438
  Companion_getInstance_2();
436
439
  Companion_getInstance_2();
437
- var tmp6_safe_receiver = _this__u8e3s4.xh_1;
440
+ var tmp6_safe_receiver = _this__u8e3s4.zh_1;
438
441
  var tmp_7;
439
442
  if (tmp6_safe_receiver == null) {
440
443
  tmp_7 = null;
@@ -444,7 +447,7 @@
444
447
  // Inline function 'kotlin.contracts.contract' call
445
448
  var tmp$ret$0;
446
449
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
447
- tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.yh_1 + '", body)';
450
+ tmp$ret$0 = 'new Wirespec.Content("' + tmp6_safe_receiver.ai_1 + '", body)';
448
451
  tmp$ret$1 = tmp$ret$0;
449
452
  tmp_7 = tmp$ret$1;
450
453
  }
@@ -462,20 +465,20 @@
462
465
  Companion_getInstance_2();
463
466
  Companion_getInstance_2();
464
467
  Companion_getInstance_2();
465
- var tmp8_safe_receiver = _this__u8e3s4.xh_1;
466
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.zh_1;
467
- var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.fi(tmp9_safe_receiver);
468
+ var tmp8_safe_receiver = _this__u8e3s4.zh_1;
469
+ var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.bi_1;
470
+ var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.hi(tmp9_safe_receiver);
468
471
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
469
472
  Companion_getInstance_2();
470
- return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.hi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
473
+ 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.ji_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public 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 ');
471
474
  }
472
475
  function emit_0(_this__u8e3s4, $this) {
473
476
  Companion_getInstance_2();
474
- var tmp = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
475
- var tmp_0 = emitContentType(_this__u8e3s4.pi_1, $this);
477
+ var tmp = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
478
+ var tmp_0 = emitContentType(_this__u8e3s4.ri_1, $this);
476
479
  var tmp$ret$1;
477
480
  // Inline function 'kotlin.takeIf' call
478
- var tmp0_takeIf = _this__u8e3s4.oi_1;
481
+ var tmp0_takeIf = _this__u8e3s4.qi_1;
479
482
  // Inline function 'kotlin.contracts.contract' call
480
483
  var tmp_1;
481
484
  var tmp$ret$0;
@@ -489,9 +492,9 @@
489
492
  tmp$ret$1 = tmp_1;
490
493
  var tmp0_safe_receiver = tmp$ret$1;
491
494
  var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
492
- var tmp1_safe_receiver = _this__u8e3s4.pi_1;
493
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.zh_1;
494
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.fi(tmp2_safe_receiver);
495
+ var tmp1_safe_receiver = _this__u8e3s4.ri_1;
496
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.bi_1;
497
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.hi(tmp2_safe_receiver);
495
498
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
496
499
  Companion_getInstance_2();
497
500
  Companion_getInstance_2();
@@ -499,17 +502,17 @@
499
502
  Companion_getInstance_2();
500
503
  Companion_getInstance_2();
501
504
  Companion_getInstance_2();
502
- var tmp4_safe_receiver = _this__u8e3s4.pi_1;
503
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
504
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.fi(tmp5_safe_receiver);
505
+ var tmp4_safe_receiver = _this__u8e3s4.ri_1;
506
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.bi_1;
507
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.hi(tmp5_safe_receiver);
505
508
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
506
509
  Companion_getInstance_2();
507
510
  Companion_getInstance_2();
508
- var tmp_5 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
509
- var tmp_6 = emitContentType(_this__u8e3s4.pi_1, $this);
511
+ var tmp_5 = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
512
+ var tmp_6 = emitContentType(_this__u8e3s4.ri_1, $this);
510
513
  var tmp$ret$3;
511
514
  // Inline function 'kotlin.takeIf' call
512
- var tmp1_takeIf = _this__u8e3s4.oi_1;
515
+ var tmp1_takeIf = _this__u8e3s4.qi_1;
513
516
  // Inline function 'kotlin.contracts.contract' call
514
517
  var tmp_7;
515
518
  var tmp$ret$2;
@@ -536,7 +539,7 @@
536
539
  tmp_8 = tmp$ret$5;
537
540
  }
538
541
  var tmp_9 = orEmptyString(tmp_8, $this);
539
- var tmp8_safe_receiver = _this__u8e3s4.pi_1;
542
+ var tmp8_safe_receiver = _this__u8e3s4.ri_1;
540
543
  var tmp_10;
541
544
  if (tmp8_safe_receiver == null) {
542
545
  tmp_10 = null;
@@ -546,7 +549,7 @@
546
549
  // Inline function 'kotlin.contracts.contract' call
547
550
  var tmp$ret$6;
548
551
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
549
- tmp$ret$6 = ', ' + $this.fi(tmp8_safe_receiver.zh_1) + ' body';
552
+ tmp$ret$6 = ', ' + $this.hi(tmp8_safe_receiver.bi_1) + ' body';
550
553
  tmp$ret$7 = tmp$ret$6;
551
554
  tmp_10 = tmp$ret$7;
552
555
  }
@@ -557,7 +560,7 @@
557
560
  Companion_getInstance_2();
558
561
  var tmp$ret$9;
559
562
  // Inline function 'kotlin.takeIf' call
560
- var tmp2_takeIf = _this__u8e3s4.oi_1;
563
+ var tmp2_takeIf = _this__u8e3s4.qi_1;
561
564
  // Inline function 'kotlin.contracts.contract' call
562
565
  var tmp_12;
563
566
  var tmp$ret$8;
@@ -577,7 +580,7 @@
577
580
  Companion_getInstance_2();
578
581
  Companion_getInstance_2();
579
582
  Companion_getInstance_2();
580
- var tmp11_safe_receiver = _this__u8e3s4.pi_1;
583
+ var tmp11_safe_receiver = _this__u8e3s4.ri_1;
581
584
  var tmp_14;
582
585
  if (tmp11_safe_receiver == null) {
583
586
  tmp_14 = null;
@@ -587,7 +590,7 @@
587
590
  // Inline function 'kotlin.contracts.contract' call
588
591
  var tmp$ret$10;
589
592
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
590
- tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.yh_1 + '", body)';
593
+ tmp$ret$10 = 'new Wirespec.Content("' + tmp11_safe_receiver.ai_1 + '", body)';
591
594
  tmp$ret$11 = tmp$ret$10;
592
595
  tmp_14 = tmp$ret$11;
593
596
  }
@@ -601,12 +604,12 @@
601
604
  Companion_getInstance_2();
602
605
  Companion_getInstance_2();
603
606
  Companion_getInstance_2();
604
- var tmp13_safe_receiver = _this__u8e3s4.pi_1;
605
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.zh_1;
606
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.fi(tmp14_safe_receiver);
607
+ var tmp13_safe_receiver = _this__u8e3s4.ri_1;
608
+ var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.bi_1;
609
+ var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.hi(tmp14_safe_receiver);
607
610
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
608
611
  Companion_getInstance_2();
609
- return trimMargin('\n |' + ' ' + 'class Response' + tmp + tmp_0 + ' implements Response' + tmp_2 + '<' + tmp_3 + '> {\n |' + ' ' + ' ' + 'private final int status;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_4 + '> content;\n |' + ' ' + ' ' + 'public Response' + tmp_5 + tmp_6 + '(' + tmp_9 + 'java.util.Map<String, java.util.List<Object>> headers' + tmp_11 + ') {\n |' + ' ' + ' ' + ' ' + 'this.status = ' + tmp_13 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = headers;\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_15 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public int getStatus() {return status;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_16 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
612
+ 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 ');
610
613
  }
611
614
  function emitResponseMapper(_this__u8e3s4, $this) {
612
615
  Companion_getInstance_2();
@@ -619,8 +622,8 @@
619
622
  var e = tmp0_iterator.e();
620
623
  var tmp$ret$0;
621
624
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
622
- var tmp0_safe_receiver = e.pi_1;
623
- tmp$ret$0 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
625
+ var tmp0_safe_receiver = e.ri_1;
626
+ tmp$ret$0 = to(e.qi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ai_1);
624
627
  var key = tmp$ret$0;
625
628
  if (set.a(key)) {
626
629
  list.a(e);
@@ -632,10 +635,10 @@
632
635
  Companion_getInstance_2();
633
636
  Companion_getInstance_2();
634
637
  Companion_getInstance_2();
635
- return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(WirespecShared.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, WirespecShared.Content<B> content) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
638
+ 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 ');
636
639
  }
637
640
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
638
- var tmp0_subject = _this__u8e3s4.pi_1;
641
+ var tmp0_subject = _this__u8e3s4.ri_1;
639
642
  var tmp;
640
643
  if (tmp0_subject == null) {
641
644
  Companion_getInstance_2();
@@ -643,7 +646,7 @@
643
646
  Companion_getInstance_2();
644
647
  var tmp$ret$1;
645
648
  // Inline function 'kotlin.takeIf' call
646
- var tmp0_takeIf = _this__u8e3s4.oi_1;
649
+ var tmp0_takeIf = _this__u8e3s4.qi_1;
647
650
  // Inline function 'kotlin.contracts.contract' call
648
651
  var tmp_0;
649
652
  var tmp$ret$0;
@@ -665,15 +668,15 @@
665
668
  // Inline function 'kotlin.contracts.contract' call
666
669
  var tmp$ret$2;
667
670
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
668
- tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
671
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.qi_1 + ' && ';
669
672
  tmp$ret$3 = tmp$ret$2;
670
673
  tmp_1 = tmp$ret$3;
671
674
  }
672
675
  var tmp_2 = orEmptyString(tmp_1, $this);
673
- var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
676
+ var tmp_3 = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
674
677
  var tmp$ret$5;
675
678
  // Inline function 'kotlin.takeIf' call
676
- var tmp1_takeIf = _this__u8e3s4.oi_1;
679
+ var tmp1_takeIf = _this__u8e3s4.qi_1;
677
680
  // Inline function 'kotlin.contracts.contract' call
678
681
  var tmp_4;
679
682
  var tmp$ret$4;
@@ -706,7 +709,7 @@
706
709
  Companion_getInstance_2();
707
710
  var tmp$ret$9;
708
711
  // Inline function 'kotlin.takeIf' call
709
- var tmp2_takeIf = _this__u8e3s4.oi_1;
712
+ var tmp2_takeIf = _this__u8e3s4.qi_1;
710
713
  // Inline function 'kotlin.contracts.contract' call
711
714
  var tmp_6;
712
715
  var tmp$ret$8;
@@ -728,7 +731,7 @@
728
731
  // Inline function 'kotlin.contracts.contract' call
729
732
  var tmp$ret$10;
730
733
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
731
- tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
734
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.qi_1 + ' && ';
732
735
  tmp$ret$11 = tmp$ret$10;
733
736
  tmp_7 = tmp$ret$11;
734
737
  }
@@ -737,18 +740,18 @@
737
740
  Companion_getInstance_2();
738
741
  Companion_getInstance_2();
739
742
  Companion_getInstance_2();
740
- var tmp_9 = $this.fi(_this__u8e3s4.pi_1.zh_1);
741
- var tmp_10 = emitPrimaryType(_this__u8e3s4.pi_1.zh_1, $this);
742
- var tmp_11 = _this__u8e3s4.pi_1.zh_1.si();
743
+ var tmp_9 = $this.hi(_this__u8e3s4.ri_1.bi_1);
744
+ var tmp_10 = emitPrimaryType(_this__u8e3s4.ri_1.bi_1, $this);
745
+ var tmp_11 = _this__u8e3s4.ri_1.bi_1.ti();
743
746
  Companion_getInstance_2();
744
747
  Companion_getInstance_2();
745
748
  Companion_getInstance_2();
746
749
  Companion_getInstance_2();
747
- var tmp_12 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
748
- var tmp_13 = emitContentType(_this__u8e3s4.pi_1, $this);
750
+ var tmp_12 = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
751
+ var tmp_13 = emitContentType(_this__u8e3s4.ri_1, $this);
749
752
  var tmp$ret$13;
750
753
  // Inline function 'kotlin.takeIf' call
751
- var tmp3_takeIf = _this__u8e3s4.oi_1;
754
+ var tmp3_takeIf = _this__u8e3s4.qi_1;
752
755
  // Inline function 'kotlin.contracts.contract' call
753
756
  var tmp_14;
754
757
  var tmp$ret$12;
@@ -778,13 +781,13 @@
778
781
  Companion_getInstance_2();
779
782
  Companion_getInstance_2();
780
783
  Companion_getInstance_2();
781
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.pi_1.yh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
784
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.ri_1.ai_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 ');
782
785
  }
783
786
  return tmp;
784
787
  }
785
788
  function emitContentType(_this__u8e3s4, $this) {
786
789
  var tmp0_safe_receiver = _this__u8e3s4;
787
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
790
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ai_1;
788
791
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/', '-']);
789
792
  var tmp;
790
793
  if (tmp2_safe_receiver == null) {
@@ -796,14 +799,14 @@
796
799
  return tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
797
800
  }
798
801
  function emit_1(_this__u8e3s4, $this) {
799
- return $this.ti(_this__u8e3s4, $this.rh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
802
+ return $this.ui(_this__u8e3s4, $this.rh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
800
803
  }
801
804
  function emitRequestSignature(_this__u8e3s4, $this, content) {
802
805
  var tmp$ret$4;
803
806
  // Inline function 'kotlin.collections.map' call
804
807
  var tmp$ret$1;
805
808
  // Inline function 'kotlin.collections.filterIsInstance' call
806
- var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
809
+ var tmp1_filterIsInstance = _this__u8e3s4.ki_1;
807
810
  var tmp$ret$0;
808
811
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
809
812
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -825,15 +828,15 @@
825
828
  var item = tmp0_iterator_0.e();
826
829
  var tmp$ret$2;
827
830
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
828
- tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
831
+ tmp$ret$2 = new Field(item.vi_1, item.wi_1, false);
829
832
  tmp2_mapTo.a(tmp$ret$2);
830
833
  }
831
834
  tmp$ret$3 = tmp2_mapTo;
832
835
  tmp$ret$4 = tmp$ret$3;
833
836
  var pathField = tmp$ret$4;
834
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
837
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.li_1), _this__u8e3s4.mi_1), _this__u8e3s4.ni_1);
835
838
  var tmp0_safe_receiver = content;
836
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
839
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bi_1;
837
840
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
838
841
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
839
842
  }
@@ -864,34 +867,34 @@
864
867
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
865
868
  tmp = tmp$ret$1 + 'XX';
866
869
  } else {
867
- tmp = Companion_getInstance_2().ri(_this__u8e3s4);
870
+ tmp = Companion_getInstance_2().si(_this__u8e3s4);
868
871
  }
869
872
  return tmp;
870
873
  }
871
874
  function JavaEmitter$emit$lambda($this_emit, this$0) {
872
875
  return function () {
873
- return trimMargin('public record ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |) {};\n |');
876
+ return trimMargin('public record ' + $this_emit.xi_1 + '(\n |' + this$0.zi($this_emit.yi_1) + '\n |) {};\n |');
874
877
  };
875
878
  }
876
879
  function JavaEmitter$emit$lambda$lambda(this$0) {
877
880
  return function (it) {
878
- return this$0.zi(it);
881
+ return this$0.aj(it);
879
882
  };
880
883
  }
881
884
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
882
885
  return function () {
883
- return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
886
+ return joinToString($this_emit.bj_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
884
887
  };
885
888
  }
886
889
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
887
890
  return function () {
888
891
  Companion_getInstance_2();
889
- return ' ' + ($this_emit.dj_1 ? 'java.util.Optional<' + this$0.fi($this_emit.cj_1) + '>' : this$0.fi($this_emit.cj_1)) + ' ' + this$0.ej($this_emit.bj_1);
892
+ return ' ' + ($this_emit.ej_1 ? 'java.util.Optional<' + this$0.hi($this_emit.dj_1) + '>' : this$0.hi($this_emit.dj_1)) + ' ' + this$0.fj($this_emit.cj_1);
890
893
  };
891
894
  }
892
895
  function JavaEmitter$emit$lambda_2($this_emit) {
893
896
  return function () {
894
- return $this_emit.fj_1;
897
+ return $this_emit.gj_1;
895
898
  };
896
899
  }
897
900
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -902,10 +905,10 @@
902
905
  tmp = 'Object';
903
906
  } else {
904
907
  if (tmp0_subject instanceof Custom) {
905
- tmp = $this_emitPrimaryType.jj_1;
908
+ tmp = $this_emitPrimaryType.kj_1;
906
909
  } else {
907
910
  if (tmp0_subject instanceof Primitive) {
908
- var tmp1_subject = $this_emitPrimaryType.gj_1;
911
+ var tmp1_subject = $this_emitPrimaryType.hj_1;
909
912
  var tmp0 = tmp1_subject.q4_1;
910
913
  var tmp_0;
911
914
  switch (tmp0) {
@@ -939,7 +942,7 @@
939
942
  // Inline function 'kotlin.contracts.contract' call
940
943
  var tmp$ret$0;
941
944
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
942
- tmp$ret$0 = $this_emit.si() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
945
+ tmp$ret$0 = $this_emit.ti() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
943
946
  tmp$ret$1 = tmp$ret$0;
944
947
  return tmp$ret$1;
945
948
  };
@@ -965,7 +968,7 @@
965
968
  Companion_getInstance_2();
966
969
  Companion_getInstance_2();
967
970
  Companion_getInstance_2();
968
- var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.mj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
971
+ var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.nj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
969
972
  Companion_getInstance_2();
970
973
  Companion_getInstance_2();
971
974
  Companion_getInstance_2();
@@ -975,22 +978,22 @@
975
978
  Companion_getInstance_2();
976
979
  Companion_getInstance_2();
977
980
  var tmp = ',\n' + ' ';
978
- return 'public enum ' + $this_emit.mj_1 + ' {\n' + ' ' + joinToString($this_emit.nj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
981
+ return 'public enum ' + $this_emit.nj_1 + ' {\n' + ' ' + joinToString($this_emit.oj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n' + toString + '\n}\n';
979
982
  };
980
983
  }
981
984
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
982
985
  return function () {
983
986
  Companion_getInstance_2();
984
987
  Companion_getInstance_2();
985
- var tmp = this$0.qj($this_emit.pj_1);
988
+ var tmp = this$0.rj($this_emit.qj_1);
986
989
  Companion_getInstance_2();
987
- return trimMargin('public record ' + $this_emit.oj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.oj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
990
+ return trimMargin('public record ' + $this_emit.pj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.pj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
988
991
  };
989
992
  }
990
993
  function JavaEmitter$emit$lambda_6($this_emit) {
991
994
  return function () {
992
995
  Companion_getInstance_2();
993
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.rj_1 + ').matcher(record.value).find();';
996
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.sj_1 + ').matcher(record.value).find();';
994
997
  };
995
998
  }
996
999
  function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
@@ -1016,14 +1019,14 @@
1016
1019
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
1017
1020
  return function () {
1018
1021
  Companion_getInstance_2();
1019
- var tmp = emitSegment($this_emit.ii_1, this$0);
1020
- var tmp_0 = emitResponseMapper($this_emit.ni_1, this$0);
1022
+ var tmp = emitSegment($this_emit.ki_1, this$0);
1023
+ var tmp_0 = emitResponseMapper($this_emit.pi_1, this$0);
1021
1024
  Companion_getInstance_2();
1022
- var tmp_1 = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1025
+ var tmp_1 = joinToString($this_emit.oi_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1023
1026
  Companion_getInstance_2();
1024
1027
  var tmp$ret$2;
1025
1028
  // Inline function 'kotlin.collections.map' call
1026
- var tmp1_map = $this_emit.ni_1;
1029
+ var tmp1_map = $this_emit.pi_1;
1027
1030
  var tmp$ret$1;
1028
1031
  // Inline function 'kotlin.collections.mapTo' call
1029
1032
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1032,7 +1035,7 @@
1032
1035
  var item = tmp0_iterator.e();
1033
1036
  var tmp$ret$0;
1034
1037
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1035
- tmp$ret$0 = groupStatus(item.oi_1, this$0);
1038
+ tmp$ret$0 = groupStatus(item.qi_1, this$0);
1036
1039
  tmp0_mapTo.a(tmp$ret$0);
1037
1040
  }
1038
1041
  tmp$ret$1 = tmp0_mapTo;
@@ -1043,7 +1046,7 @@
1043
1046
  // Inline function 'kotlin.collections.map' call
1044
1047
  var tmp$ret$5;
1045
1048
  // Inline function 'kotlin.collections.filter' call
1046
- var tmp3_filter = $this_emit.ni_1;
1049
+ var tmp3_filter = $this_emit.pi_1;
1047
1050
  var tmp$ret$4;
1048
1051
  // Inline function 'kotlin.collections.filterTo' call
1049
1052
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1052,7 +1055,7 @@
1052
1055
  var element = tmp0_iterator_0.e();
1053
1056
  var tmp$ret$3;
1054
1057
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1055
- tmp$ret$3 = isInt(element.oi_1, this$0);
1058
+ tmp$ret$3 = isInt(element.qi_1, this$0);
1056
1059
  if (tmp$ret$3) {
1057
1060
  tmp2_filterTo.a(element);
1058
1061
  }
@@ -1068,7 +1071,7 @@
1068
1071
  var item_0 = tmp0_iterator_1.e();
1069
1072
  var tmp$ret$6;
1070
1073
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1071
- tmp$ret$6 = item_0.oi_1;
1074
+ tmp$ret$6 = item_0.qi_1;
1072
1075
  tmp4_mapTo.a(tmp$ret$6);
1073
1076
  }
1074
1077
  tmp$ret$7 = tmp4_mapTo;
@@ -1077,7 +1080,7 @@
1077
1080
  var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1078
1081
  var tmp$ret$10;
1079
1082
  // Inline function 'kotlin.collections.distinctBy' call
1080
- var tmp6_distinctBy = $this_emit.ni_1;
1083
+ var tmp6_distinctBy = $this_emit.pi_1;
1081
1084
  var set = HashSet_init_$Create$();
1082
1085
  var list = ArrayList_init_$Create$();
1083
1086
  var tmp0_iterator_2 = tmp6_distinctBy.c();
@@ -1085,8 +1088,8 @@
1085
1088
  var e = tmp0_iterator_2.e();
1086
1089
  var tmp$ret$9;
1087
1090
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1088
- var tmp0_safe_receiver = e.pi_1;
1089
- tmp$ret$9 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1091
+ var tmp0_safe_receiver = e.ri_1;
1092
+ tmp$ret$9 = to(e.qi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ai_1);
1090
1093
  var key = tmp$ret$9;
1091
1094
  if (set.a(key)) {
1092
1095
  list.a(e);
@@ -1096,7 +1099,7 @@
1096
1099
  var tmp_6 = tmp$ret$10;
1097
1100
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1098
1101
  Companion_getInstance_2();
1099
- return trimMargin('public interface ' + $this_emit.gi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_2().sj($this_emit.gi_1) + '(Request request);\n |}\n |');
1102
+ return trimMargin('public interface ' + $this_emit.ii_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().tj($this_emit.ii_1) + '(Request request);\n |}\n |');
1100
1103
  };
1101
1104
  }
1102
1105
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1105,17 +1108,17 @@
1105
1108
  };
1106
1109
  }
1107
1110
  function JavaEmitter$emitContentType$lambda(it) {
1108
- return Companion_getInstance_2().ri(it);
1111
+ return Companion_getInstance_2().si(it);
1109
1112
  }
1110
1113
  function JavaEmitter$emit$lambda_8($this_emit) {
1111
1114
  return function () {
1112
1115
  var tmp0_subject = $this_emit;
1113
1116
  var tmp;
1114
1117
  if (tmp0_subject instanceof Literal) {
1115
- tmp = '"' + $this_emit.tj_1 + '"';
1118
+ tmp = '"' + $this_emit.uj_1 + '"';
1116
1119
  } else {
1117
1120
  if (tmp0_subject instanceof Param) {
1118
- tmp = $this_emit.ui_1.fj_1;
1121
+ tmp = $this_emit.vi_1.gj_1;
1119
1122
  } else {
1120
1123
  noWhenBranchMatchedException();
1121
1124
  }
@@ -1125,22 +1128,22 @@
1125
1128
  }
1126
1129
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1127
1130
  return function (it) {
1128
- return this$0.zi(it);
1131
+ return this$0.aj(it);
1129
1132
  };
1130
1133
  }
1131
1134
  function JavaEmitter$emitMap$lambda(this$0) {
1132
1135
  return function (it) {
1133
- return '"' + this$0.ej(it.bj_1) + '", java.util.List.of(' + this$0.ej(it.bj_1) + ')';
1136
+ return '"' + this$0.fj(it.cj_1) + '", java.util.List.of(' + this$0.fj(it.cj_1) + ')';
1134
1137
  };
1135
1138
  }
1136
1139
  function JavaEmitter$emitSegment$lambda(it) {
1137
1140
  var tmp0_subject = it;
1138
1141
  var tmp;
1139
1142
  if (tmp0_subject instanceof Param) {
1140
- tmp = '{' + it.ui_1.fj_1 + '}';
1143
+ tmp = '{' + it.vi_1.gj_1 + '}';
1141
1144
  } else {
1142
1145
  if (tmp0_subject instanceof Literal) {
1143
- tmp = it.tj_1;
1146
+ tmp = it.uj_1;
1144
1147
  } else {
1145
1148
  noWhenBranchMatchedException();
1146
1149
  }
@@ -1193,8 +1196,8 @@
1193
1196
  Companion_getInstance_2();
1194
1197
  Companion_getInstance_2();
1195
1198
  Companion_getInstance_2();
1196
- tmp.di_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1197
- this.ei_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1199
+ tmp.fi_1 = trimMargin('\n |package community.flock.wirespec.java;\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 ');
1200
+ this.gi_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1198
1201
  }
1199
1202
  protoOf(JavaEmitter).th = function (ast) {
1200
1203
  var tmp$ret$2;
@@ -1210,46 +1213,46 @@
1210
1213
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1211
1214
  var name = item.i3();
1212
1215
  var result = item.j3();
1213
- tmp$ret$0 = to(name, this.ei_1 + '\n\n' + result);
1216
+ tmp$ret$0 = to(name, this.gi_1 + '\n\n' + imprt(this, ast) + result);
1214
1217
  tmp0_mapTo.a(tmp$ret$0);
1215
1218
  }
1216
1219
  tmp$ret$1 = tmp0_mapTo;
1217
1220
  tmp$ret$2 = tmp$ret$1;
1218
- return plus_0(tmp$ret$2, to('WirespecShared', this.ei_1 + '\n\n' + this.di_1));
1219
- };
1220
- protoOf(JavaEmitter).uj = function (_this__u8e3s4) {
1221
- return this.vj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1221
+ return tmp$ret$2;
1222
1222
  };
1223
- protoOf(JavaEmitter).yi = function (_this__u8e3s4) {
1224
- return this.wj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1223
+ protoOf(JavaEmitter).vj = function (_this__u8e3s4) {
1224
+ return this.wj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1225
1225
  };
1226
1226
  protoOf(JavaEmitter).zi = function (_this__u8e3s4) {
1227
- return this.xj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1227
+ return this.xj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1228
1228
  };
1229
- protoOf(JavaEmitter).ej = function (_this__u8e3s4) {
1230
- return this.yj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1229
+ protoOf(JavaEmitter).aj = function (_this__u8e3s4) {
1230
+ return this.yj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1231
1231
  };
1232
- protoOf(JavaEmitter).fi = function (_this__u8e3s4) {
1233
- return this.wh(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1232
+ protoOf(JavaEmitter).fj = function (_this__u8e3s4) {
1233
+ return this.zj(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1234
1234
  };
1235
- protoOf(JavaEmitter).zj = function (_this__u8e3s4) {
1236
- return this.ak(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1235
+ protoOf(JavaEmitter).hi = function (_this__u8e3s4) {
1236
+ return this.yh(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1237
1237
  };
1238
- protoOf(JavaEmitter).bk = function (_this__u8e3s4) {
1239
- return this.ck(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1238
+ protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1239
+ return this.bk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1240
1240
  };
1241
- protoOf(JavaEmitter).qj = function (_this__u8e3s4) {
1242
- return this.dk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1241
+ protoOf(JavaEmitter).ck = function (_this__u8e3s4) {
1242
+ return this.dk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1243
1243
  };
1244
- protoOf(JavaEmitter).ek = function (_this__u8e3s4) {
1245
- return this.fk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1244
+ protoOf(JavaEmitter).rj = function (_this__u8e3s4) {
1245
+ return this.ek(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1246
+ };
1247
+ protoOf(JavaEmitter).fk = function (_this__u8e3s4) {
1248
+ return this.gk(_this__u8e3s4, this.rh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1246
1249
  };
1247
1250
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1248
1251
  var tmp$ret$4;
1249
1252
  // Inline function 'kotlin.collections.map' call
1250
1253
  var tmp$ret$1;
1251
1254
  // Inline function 'kotlin.collections.filterIsInstance' call
1252
- var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
1255
+ var tmp1_filterIsInstance = _this__u8e3s4.ki_1;
1253
1256
  var tmp$ret$0;
1254
1257
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1255
1258
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -1271,15 +1274,15 @@
1271
1274
  var item = tmp0_iterator_0.e();
1272
1275
  var tmp$ret$2;
1273
1276
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1274
- tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
1277
+ tmp$ret$2 = new Field(item.vi_1, item.wi_1, false);
1275
1278
  tmp2_mapTo.a(tmp$ret$2);
1276
1279
  }
1277
1280
  tmp$ret$3 = tmp2_mapTo;
1278
1281
  tmp$ret$4 = tmp$ret$3;
1279
1282
  var pathField = tmp$ret$4;
1280
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
1283
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.li_1), _this__u8e3s4.mi_1), _this__u8e3s4.ni_1);
1281
1284
  var tmp0_safe_receiver = content;
1282
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
1285
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bi_1;
1283
1286
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
1284
1287
  return trimMargin('\n |(' + joinToString(tmp, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestSignature$lambda($this)) + ')\n ');
1285
1288
  }
@@ -1290,11 +1293,49 @@
1290
1293
  return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitMap$lambda($this));
1291
1294
  }
1292
1295
  function emit_2(_this__u8e3s4, $this) {
1293
- return $this.ti(_this__u8e3s4, $this.rh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1296
+ return $this.ui(_this__u8e3s4, $this.rh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1294
1297
  }
1295
1298
  function emitPath_0(_this__u8e3s4, $this) {
1296
1299
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
1297
1300
  }
1301
+ function emitRequestMapper(_this__u8e3s4, $this) {
1302
+ Companion_getInstance_2();
1303
+ Companion_getInstance_2();
1304
+ Companion_getInstance_2();
1305
+ var tmp = joinToString(_this__u8e3s4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestMapper$lambda($this));
1306
+ Companion_getInstance_2();
1307
+ Companion_getInstance_2();
1308
+ Companion_getInstance_2();
1309
+ Companion_getInstance_2();
1310
+ Companion_getInstance_2();
1311
+ return trimMargin('\n |fun <B> REQUEST_MAPPER(contentMapper: Wirespec.ContentMapper<B>) =\n |' + ' ' + 'fun(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 ');
1312
+ }
1313
+ function emitRequestMapperCondition(_this__u8e3s4, $this) {
1314
+ var tmp0_subject = _this__u8e3s4.zh_1;
1315
+ var tmp;
1316
+ if (tmp0_subject == null) {
1317
+ Companion_getInstance_2();
1318
+ Companion_getInstance_2();
1319
+ Companion_getInstance_2();
1320
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'content == null -> RequestUnit(path, method, query, headers, null)\n ');
1321
+ } else {
1322
+ Companion_getInstance_2();
1323
+ Companion_getInstance_2();
1324
+ Companion_getInstance_2();
1325
+ Companion_getInstance_2();
1326
+ Companion_getInstance_2();
1327
+ Companion_getInstance_2();
1328
+ Companion_getInstance_2();
1329
+ var tmp_0 = $this.hi(_this__u8e3s4.zh_1.bi_1);
1330
+ var tmp_1 = $this.hi(_this__u8e3s4.zh_1.bi_1);
1331
+ Companion_getInstance_2();
1332
+ Companion_getInstance_2();
1333
+ Companion_getInstance_2();
1334
+ Companion_getInstance_2();
1335
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'content?.type == "' + _this__u8e3s4.zh_1.ai_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_0 + '>(content, typeOf<' + tmp_1 + '>().javaType)\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Request' + emitContentType_0(_this__u8e3s4.zh_1) + '(path, method, query, headers, it) }\n ');
1336
+ }
1337
+ return tmp;
1338
+ }
1298
1339
  function emitResponseMapper_0(_this__u8e3s4, $this) {
1299
1340
  Companion_getInstance_2();
1300
1341
  Companion_getInstance_2();
@@ -1311,7 +1352,7 @@
1311
1352
  var element = tmp0_iterator.e();
1312
1353
  var tmp$ret$0;
1313
1354
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1314
- tmp$ret$0 = Companion_getInstance_2().gk(element.oi_1);
1355
+ tmp$ret$0 = Companion_getInstance_2().mk(element.qi_1);
1315
1356
  if (tmp$ret$0) {
1316
1357
  tmp0_filterTo.a(element);
1317
1358
  }
@@ -1326,8 +1367,8 @@
1326
1367
  var e = tmp0_iterator_0.e();
1327
1368
  var tmp$ret$3;
1328
1369
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1329
- var tmp0_safe_receiver = e.pi_1;
1330
- tmp$ret$3 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1370
+ var tmp0_safe_receiver = e.ri_1;
1371
+ tmp$ret$3 = to(e.qi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ai_1);
1331
1372
  var key = tmp$ret$3;
1332
1373
  if (set.a(key)) {
1333
1374
  list.a(e);
@@ -1348,7 +1389,7 @@
1348
1389
  var element_0 = tmp0_iterator_1.e();
1349
1390
  var tmp$ret$5;
1350
1391
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1351
- tmp$ret$5 = !Companion_getInstance_2().gk(element_0.oi_1);
1392
+ tmp$ret$5 = !Companion_getInstance_2().mk(element_0.qi_1);
1352
1393
  if (tmp$ret$5) {
1353
1394
  tmp2_filterTo.a(element_0);
1354
1395
  }
@@ -1363,8 +1404,8 @@
1363
1404
  var e_0 = tmp0_iterator_2.e();
1364
1405
  var tmp$ret$8;
1365
1406
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1366
- var tmp0_safe_receiver_0 = e_0.pi_1;
1367
- tmp$ret$8 = to(e_0.oi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.yh_1);
1407
+ var tmp0_safe_receiver_0 = e_0.ri_1;
1408
+ tmp$ret$8 = to(e_0.qi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.ai_1);
1368
1409
  var key_0 = tmp$ret$8;
1369
1410
  if (set_0.a(key_0)) {
1370
1411
  list_0.a(e_0);
@@ -1376,10 +1417,12 @@
1376
1417
  Companion_getInstance_2();
1377
1418
  Companion_getInstance_2();
1378
1419
  Companion_getInstance_2();
1379
- return trimMargin('\n |fun <B> RESPONSE_MAPPER(contentMapper: WirespecShared.ContentMapper<B>) =\n |' + ' ' + 'fun(status: Int, headers:Map<String, List<Any?>>, content: WirespecShared.Content<B>?) =\n |' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $status")\n ');
1420
+ Companion_getInstance_2();
1421
+ Companion_getInstance_2();
1422
+ return trimMargin('\n |fun <B> RESPONSE_MAPPER(contentMapper: Wirespec.ContentMapper<B>) =\n |' + ' ' + 'fun(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 ');
1380
1423
  }
1381
1424
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1382
- var tmp0_subject = _this__u8e3s4.pi_1;
1425
+ var tmp0_subject = _this__u8e3s4.ri_1;
1383
1426
  var tmp;
1384
1427
  if (tmp0_subject == null) {
1385
1428
  Companion_getInstance_2();
@@ -1387,12 +1430,12 @@
1387
1430
  Companion_getInstance_2();
1388
1431
  var tmp$ret$1;
1389
1432
  // Inline function 'kotlin.takeIf' call
1390
- var tmp0_takeIf = _this__u8e3s4.oi_1;
1433
+ var tmp0_takeIf = _this__u8e3s4.qi_1;
1391
1434
  // Inline function 'kotlin.contracts.contract' call
1392
1435
  var tmp_0;
1393
1436
  var tmp$ret$0;
1394
1437
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1395
- tmp$ret$0 = Companion_getInstance_2().gk(tmp0_takeIf);
1438
+ tmp$ret$0 = Companion_getInstance_2().mk(tmp0_takeIf);
1396
1439
  if (tmp$ret$0) {
1397
1440
  tmp_0 = tmp0_takeIf;
1398
1441
  } else {
@@ -1409,20 +1452,20 @@
1409
1452
  // Inline function 'kotlin.contracts.contract' call
1410
1453
  var tmp$ret$2;
1411
1454
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1412
- tmp$ret$2 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1455
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.qi_1 + ' && ';
1413
1456
  tmp$ret$3 = tmp$ret$2;
1414
1457
  tmp_1 = tmp$ret$3;
1415
1458
  }
1416
1459
  var tmp_2 = orEmptyString_0(tmp_1);
1417
- var tmp_3 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1460
+ var tmp_3 = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
1418
1461
  var tmp$ret$5;
1419
1462
  // Inline function 'kotlin.takeIf' call
1420
- var tmp1_takeIf = _this__u8e3s4.oi_1;
1463
+ var tmp1_takeIf = _this__u8e3s4.qi_1;
1421
1464
  // Inline function 'kotlin.contracts.contract' call
1422
1465
  var tmp_4;
1423
1466
  var tmp$ret$4;
1424
1467
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1425
- tmp$ret$4 = !Companion_getInstance_2().gk(tmp1_takeIf);
1468
+ tmp$ret$4 = !Companion_getInstance_2().mk(tmp1_takeIf);
1426
1469
  if (tmp$ret$4) {
1427
1470
  tmp_4 = tmp1_takeIf;
1428
1471
  } else {
@@ -1450,12 +1493,12 @@
1450
1493
  Companion_getInstance_2();
1451
1494
  var tmp$ret$9;
1452
1495
  // Inline function 'kotlin.takeIf' call
1453
- var tmp2_takeIf = _this__u8e3s4.oi_1;
1496
+ var tmp2_takeIf = _this__u8e3s4.qi_1;
1454
1497
  // Inline function 'kotlin.contracts.contract' call
1455
1498
  var tmp_6;
1456
1499
  var tmp$ret$8;
1457
1500
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1458
- tmp$ret$8 = Companion_getInstance_2().gk(tmp2_takeIf);
1501
+ tmp$ret$8 = Companion_getInstance_2().mk(tmp2_takeIf);
1459
1502
  if (tmp$ret$8) {
1460
1503
  tmp_6 = tmp2_takeIf;
1461
1504
  } else {
@@ -1472,7 +1515,7 @@
1472
1515
  // Inline function 'kotlin.contracts.contract' call
1473
1516
  var tmp$ret$10;
1474
1517
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1475
- tmp$ret$10 = 'status == ' + _this__u8e3s4.oi_1 + ' && ';
1518
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.qi_1 + ' && ';
1476
1519
  tmp$ret$11 = tmp$ret$10;
1477
1520
  tmp_7 = tmp$ret$11;
1478
1521
  }
@@ -1481,22 +1524,22 @@
1481
1524
  Companion_getInstance_2();
1482
1525
  Companion_getInstance_2();
1483
1526
  Companion_getInstance_2();
1484
- var tmp_9 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1485
- var tmp_10 = $this.fi(_this__u8e3s4.pi_1.zh_1);
1527
+ var tmp_9 = $this.hi(_this__u8e3s4.ri_1.bi_1);
1528
+ var tmp_10 = $this.hi(_this__u8e3s4.ri_1.bi_1);
1486
1529
  Companion_getInstance_2();
1487
1530
  Companion_getInstance_2();
1488
1531
  Companion_getInstance_2();
1489
1532
  Companion_getInstance_2();
1490
- var tmp_11 = Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
1491
- var tmp_12 = emitContentType_0(_this__u8e3s4.pi_1);
1533
+ var tmp_11 = Companion_getInstance_2().si(_this__u8e3s4.qi_1);
1534
+ var tmp_12 = emitContentType_0(_this__u8e3s4.ri_1);
1492
1535
  var tmp$ret$13;
1493
1536
  // Inline function 'kotlin.takeIf' call
1494
- var tmp3_takeIf = _this__u8e3s4.oi_1;
1537
+ var tmp3_takeIf = _this__u8e3s4.qi_1;
1495
1538
  // Inline function 'kotlin.contracts.contract' call
1496
1539
  var tmp_13;
1497
1540
  var tmp$ret$12;
1498
1541
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1499
- tmp$ret$12 = !Companion_getInstance_2().gk(tmp3_takeIf);
1542
+ tmp$ret$12 = !Companion_getInstance_2().mk(tmp3_takeIf);
1500
1543
  if (tmp$ret$12) {
1501
1544
  tmp_13 = tmp3_takeIf;
1502
1545
  } else {
@@ -1517,13 +1560,13 @@
1517
1560
  tmp$ret$15 = tmp$ret$14;
1518
1561
  tmp_14 = tmp$ret$15;
1519
1562
  }
1520
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.pi_1.yh_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>())\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1563
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.ri_1.ai_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>().javaType)\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1521
1564
  }
1522
1565
  return tmp;
1523
1566
  }
1524
1567
  function Companion() {
1525
1568
  Companion_instance = this;
1526
- this.lk_1 = listOf(['as', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if', 'in', 'interface', 'is', 'null', 'object', 'package', 'return', 'super', 'this', 'throw', 'true', 'try', 'typealias', 'typeof', 'val', 'var', 'when', 'while']);
1569
+ this.nk_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']);
1527
1570
  }
1528
1571
  var Companion_instance;
1529
1572
  function Companion_getInstance_0() {
@@ -1533,30 +1576,30 @@
1533
1576
  }
1534
1577
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1535
1578
  return function () {
1536
- return trimMargin('|data class ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |)\n |');
1579
+ return trimMargin('|data class ' + $this_emit.xi_1 + '(\n |' + this$0.zi($this_emit.yi_1) + '\n |)\n |');
1537
1580
  };
1538
1581
  }
1539
1582
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1540
1583
  return function (it) {
1541
1584
  Companion_getInstance_2();
1542
- return ' ' + 'val ' + this$0.zi(it);
1585
+ return ' ' + 'val ' + this$0.aj(it);
1543
1586
  };
1544
1587
  }
1545
1588
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1546
1589
  return function () {
1547
- return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1590
+ return joinToString($this_emit.bj_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1548
1591
  };
1549
1592
  }
1550
1593
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1551
1594
  return function () {
1552
- return this$0.ej($this_emit.bj_1) + ': ' + this$0.fi($this_emit.cj_1) + ($this_emit.dj_1 ? '? = null' : '');
1595
+ return this$0.fj($this_emit.cj_1) + ': ' + this$0.hi($this_emit.dj_1) + ($this_emit.ej_1 ? '? = null' : '');
1553
1596
  };
1554
1597
  }
1555
1598
  function KotlinEmitter$emit$lambda_2(this$0, $this_emit) {
1556
1599
  return function () {
1557
1600
  var tmp$ret$2;
1558
1601
  // Inline function 'kotlin.collections.mapIndexed' call
1559
- var tmp1_mapIndexed = split($this_emit.fj_1, ['-']);
1602
+ var tmp1_mapIndexed = split($this_emit.gj_1, ['-']);
1560
1603
  var tmp$ret$1;
1561
1604
  // Inline function 'kotlin.collections.mapIndexedTo' call
1562
1605
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_mapIndexed, 10));
@@ -1569,12 +1612,12 @@
1569
1612
  var tmp1 = index;
1570
1613
  index = tmp1 + 1 | 0;
1571
1614
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1572
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().ri(item) : item;
1615
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_2().si(item) : item;
1573
1616
  tmp0_mapIndexedTo.a(tmp$ret$0);
1574
1617
  }
1575
1618
  tmp$ret$1 = tmp0_mapIndexedTo;
1576
1619
  tmp$ret$2 = tmp$ret$1;
1577
- return this$0.mk(joinToString(tmp$ret$2, ''));
1620
+ return this$0.ok(joinToString(tmp$ret$2, ''));
1578
1621
  };
1579
1622
  }
1580
1623
  function KotlinEmitter$emit$lambda_3($this_emit) {
@@ -1589,10 +1632,10 @@
1589
1632
  tmp = 'Any';
1590
1633
  } else {
1591
1634
  if (tmp0_subject instanceof Custom) {
1592
- tmp = $this_emit.jj_1;
1635
+ tmp = $this_emit.kj_1;
1593
1636
  } else {
1594
1637
  if (tmp0_subject instanceof Primitive) {
1595
- var tmp1_subject = $this_emit.gj_1;
1638
+ var tmp1_subject = $this_emit.hj_1;
1596
1639
  var tmp0 = tmp1_subject.q4_1;
1597
1640
  var tmp_0;
1598
1641
  switch (tmp0) {
@@ -1619,13 +1662,13 @@
1619
1662
  // Inline function 'kotlin.contracts.contract' call
1620
1663
  var tmp$ret$0;
1621
1664
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1622
- tmp$ret$0 = $this_emit.si() ? 'List<' + tmp0_let + '>' : tmp0_let;
1665
+ tmp$ret$0 = $this_emit.ti() ? 'List<' + tmp0_let + '>' : tmp0_let;
1623
1666
  tmp$ret$1 = tmp$ret$0;
1624
1667
  var tmp1_let = tmp$ret$1;
1625
1668
  // Inline function 'kotlin.contracts.contract' call
1626
1669
  var tmp$ret$2;
1627
1670
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1628
- tmp$ret$2 = $this_emit.nk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1671
+ tmp$ret$2 = $this_emit.pk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1629
1672
  tmp$ret$3 = tmp$ret$2;
1630
1673
  return tmp$ret$3;
1631
1674
  };
@@ -1643,7 +1686,7 @@
1643
1686
  }
1644
1687
  function KotlinEmitter$emit$lambda$lambda_0(this$0) {
1645
1688
  return function (it) {
1646
- return this$0.mk(invoke$sanitize_0(it)) + '("' + it + '")';
1689
+ return this$0.ok(invoke$sanitize_0(it)) + '("' + it + '")';
1647
1690
  };
1648
1691
  }
1649
1692
  function KotlinEmitter$emit$lambda_4($this_emit, this$0) {
@@ -1651,54 +1694,58 @@
1651
1694
  Companion_getInstance_2();
1652
1695
  Companion_getInstance_2();
1653
1696
  var tmp = ',\n' + ' ';
1654
- var tmp_0 = joinToString($this_emit.nj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1697
+ var tmp_0 = joinToString($this_emit.oj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0));
1655
1698
  Companion_getInstance_2();
1656
1699
  Companion_getInstance_2();
1657
1700
  Companion_getInstance_2();
1658
1701
  Companion_getInstance_2();
1659
- return 'enum class ' + $this_emit.mj_1 + ' (val label: String){\n' + ' ' + tmp_0 + ';\n\n' + ' ' + 'override fun toString(): String {\n' + ' ' + ' ' + 'return label\n' + ' ' + '}\n}\n';
1702
+ return 'enum class ' + $this_emit.nj_1 + ' (val label: String){\n' + ' ' + tmp_0 + ';\n\n' + ' ' + 'override fun toString(): String {\n' + ' ' + ' ' + 'return label\n' + ' ' + '}\n}\n';
1660
1703
  };
1661
1704
  }
1662
1705
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1663
1706
  return function () {
1664
- return trimMargin('data class ' + $this_emit.oj_1 + '(val value: String)\n |fun ' + $this_emit.oj_1 + '.validate() = ' + this$0.qj($this_emit.pj_1) + '\n |');
1707
+ return trimMargin('data class ' + $this_emit.pj_1 + '(val value: String)\n |fun ' + $this_emit.pj_1 + '.validate() = ' + this$0.rj($this_emit.qj_1) + '\n |');
1665
1708
  };
1666
1709
  }
1667
1710
  function KotlinEmitter$emit$lambda_6($this_emit) {
1668
1711
  return function () {
1669
- return 'Regex(' + $this_emit.rj_1 + ').find(value)';
1712
+ return 'Regex(' + $this_emit.sj_1 + ').find(value)';
1670
1713
  };
1671
1714
  }
1672
1715
  function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1673
1716
  return function (it) {
1674
1717
  Companion_getInstance_2();
1675
- var tmp0_safe_receiver = it.xh_1;
1718
+ var tmp0_safe_receiver = it.zh_1;
1676
1719
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1677
1720
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1678
- var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.xh_1);
1679
- var tmp2_safe_receiver = it.xh_1;
1680
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.zh_1;
1681
- var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.fi(tmp3_safe_receiver);
1682
- var tmp_1 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1683
- var tmp_2 = emitPath_0($this_emit.ii_1, this$0);
1684
- var tmp_3 = emitMap_0($this_emit.ji_1, this$0);
1685
- var tmp_4 = emitMap_0($this_emit.ki_1, this$0);
1686
- var tmp5_safe_receiver = it.xh_1;
1687
- var tmp_5;
1688
- if (tmp5_safe_receiver == null) {
1689
- tmp_5 = null;
1721
+ var tmp2_safe_receiver = it.zh_1;
1722
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.bi_1;
1723
+ var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.hi(tmp3_safe_receiver);
1724
+ var tmp_0 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1725
+ var tmp5_safe_receiver = it.zh_1;
1726
+ var tmp6_safe_receiver = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.bi_1;
1727
+ var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : this$0.hi(tmp6_safe_receiver);
1728
+ var tmp_1 = tmp7_elvis_lhs == null ? 'Unit' : tmp7_elvis_lhs;
1729
+ var tmp_2 = emitRequestSignature_0($this_emit, this$0, it.zh_1);
1730
+ var tmp_3 = emitPath_0($this_emit.ki_1, this$0);
1731
+ var tmp_4 = emitMap_0($this_emit.li_1, this$0);
1732
+ var tmp_5 = emitMap_0($this_emit.mi_1, this$0);
1733
+ var tmp8_safe_receiver = it.zh_1;
1734
+ var tmp_6;
1735
+ if (tmp8_safe_receiver == null) {
1736
+ tmp_6 = null;
1690
1737
  } else {
1691
1738
  var tmp$ret$1;
1692
1739
  // Inline function 'kotlin.let' call
1693
1740
  // Inline function 'kotlin.contracts.contract' call
1694
1741
  var tmp$ret$0;
1695
1742
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1696
- tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.yh_1 + '", body)';
1743
+ tmp$ret$0 = 'Wirespec.Content("' + tmp8_safe_receiver.ai_1 + '", body)';
1697
1744
  tmp$ret$1 = tmp$ret$0;
1698
- tmp_5 = tmp$ret$1;
1745
+ tmp_6 = tmp$ret$1;
1699
1746
  }
1700
- var tmp6_elvis_lhs = tmp_5;
1701
- return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.hi_1.p4_1 + '; override val query = mapOf<String, List<Any?>>(' + tmp_3 + '); override val headers = mapOf<String, List<Any?>>(' + tmp_4 + '); override val content = ' + (tmp6_elvis_lhs == null ? 'null' : tmp6_elvis_lhs) + '}';
1747
+ var tmp9_elvis_lhs = tmp_6;
1748
+ return ' ' + 'class Request' + tmp + '(override val path:String, override val method: Wirespec.Method, override val query: Map<String, List<Any?>>, override val headers: Map<String, List<Any?>>, override val content:Wirespec.Content<' + tmp_0 + '>?) : Request<' + tmp_1 + '> { constructor' + tmp_2 + ': this(path = "' + tmp_3 + '", method = Wirespec.Method.' + $this_emit.ji_1.p4_1 + ', query = mapOf<String, List<Any?>>(' + tmp_4 + '), headers = mapOf<String, List<Any?>>(' + tmp_5 + '), content = ' + (tmp9_elvis_lhs == null ? 'null' : tmp9_elvis_lhs) + ')}';
1702
1749
  };
1703
1750
  }
1704
1751
  function KotlinEmitter$emit$lambda$lambda_2(it) {
@@ -1712,10 +1759,10 @@
1712
1759
  function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1713
1760
  return function (it) {
1714
1761
  Companion_getInstance_2();
1715
- var tmp0_safe_receiver = it.pi_1;
1762
+ var tmp0_safe_receiver = it.ri_1;
1716
1763
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1717
1764
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1718
- var tmp2_safe_receiver = it.pi_1;
1765
+ var tmp2_safe_receiver = it.ri_1;
1719
1766
  var tmp_0;
1720
1767
  if (tmp2_safe_receiver == null) {
1721
1768
  tmp_0 = null;
@@ -1725,17 +1772,17 @@
1725
1772
  // Inline function 'kotlin.contracts.contract' call
1726
1773
  var tmp$ret$0;
1727
1774
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1728
- tmp$ret$0 = ', body: ' + this$0.fi(tmp2_safe_receiver.zh_1);
1775
+ tmp$ret$0 = ', body: ' + this$0.hi(tmp2_safe_receiver.bi_1);
1729
1776
  tmp$ret$1 = tmp$ret$0;
1730
1777
  tmp_0 = tmp$ret$1;
1731
1778
  }
1732
1779
  var tmp3_elvis_lhs = tmp_0;
1733
1780
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1734
- var tmp4_safe_receiver = it.pi_1;
1735
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
1736
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.fi(tmp5_safe_receiver);
1781
+ var tmp4_safe_receiver = it.ri_1;
1782
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.bi_1;
1783
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.hi(tmp5_safe_receiver);
1737
1784
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1738
- var tmp7_safe_receiver = it.pi_1;
1785
+ var tmp7_safe_receiver = it.ri_1;
1739
1786
  var tmp_3;
1740
1787
  if (tmp7_safe_receiver == null) {
1741
1788
  tmp_3 = null;
@@ -1745,22 +1792,22 @@
1745
1792
  // Inline function 'kotlin.contracts.contract' call
1746
1793
  var tmp$ret$2;
1747
1794
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1748
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1795
+ tmp$ret$2 = 'Wirespec.Content("' + tmp7_safe_receiver.ai_1 + '", body)';
1749
1796
  tmp$ret$3 = tmp$ret$2;
1750
1797
  tmp_3 = tmp$ret$3;
1751
1798
  }
1752
1799
  var tmp8_elvis_lhs = tmp_3;
1753
- return ' ' + 'class Response' + it.oi_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.oi_1 + '<' + tmp_2 + '> { override val status = ' + it.oi_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1800
+ return ' ' + 'class Response' + it.qi_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.qi_1 + '<' + tmp_2 + '> { override val status = ' + it.qi_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1754
1801
  };
1755
1802
  }
1756
1803
  function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1757
1804
  return function (it) {
1758
1805
  Companion_getInstance_2();
1759
- var tmp = Companion_getInstance_2().ri(it.oi_1);
1760
- var tmp0_safe_receiver = it.pi_1;
1806
+ var tmp = Companion_getInstance_2().si(it.qi_1);
1807
+ var tmp0_safe_receiver = it.ri_1;
1761
1808
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1762
1809
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1763
- var tmp2_safe_receiver = it.pi_1;
1810
+ var tmp2_safe_receiver = it.ri_1;
1764
1811
  var tmp_1;
1765
1812
  if (tmp2_safe_receiver == null) {
1766
1813
  tmp_1 = null;
@@ -1770,18 +1817,18 @@
1770
1817
  // Inline function 'kotlin.contracts.contract' call
1771
1818
  var tmp$ret$0;
1772
1819
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1773
- tmp$ret$0 = ', body: ' + this$0.fi(tmp2_safe_receiver.zh_1);
1820
+ tmp$ret$0 = ', body: ' + this$0.hi(tmp2_safe_receiver.bi_1);
1774
1821
  tmp$ret$1 = tmp$ret$0;
1775
1822
  tmp_1 = tmp$ret$1;
1776
1823
  }
1777
1824
  var tmp3_elvis_lhs = tmp_1;
1778
1825
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1779
- var tmp_3 = Companion_getInstance_2().ri(it.oi_1);
1780
- var tmp4_safe_receiver = it.pi_1;
1781
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.zh_1;
1782
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.fi(tmp5_safe_receiver);
1826
+ var tmp_3 = Companion_getInstance_2().si(it.qi_1);
1827
+ var tmp4_safe_receiver = it.ri_1;
1828
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.bi_1;
1829
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.hi(tmp5_safe_receiver);
1783
1830
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1784
- var tmp7_safe_receiver = it.pi_1;
1831
+ var tmp7_safe_receiver = it.ri_1;
1785
1832
  var tmp_5;
1786
1833
  if (tmp7_safe_receiver == null) {
1787
1834
  tmp_5 = null;
@@ -1791,7 +1838,7 @@
1791
1838
  // Inline function 'kotlin.contracts.contract' call
1792
1839
  var tmp$ret$2;
1793
1840
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1794
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.yh_1 + '", body)';
1841
+ tmp$ret$2 = 'Wirespec.Content("' + tmp7_safe_receiver.ai_1 + '", body)';
1795
1842
  tmp$ret$3 = tmp$ret$2;
1796
1843
  tmp_5 = tmp$ret$3;
1797
1844
  }
@@ -1802,11 +1849,11 @@
1802
1849
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1803
1850
  return function () {
1804
1851
  Companion_getInstance_2();
1805
- var tmp = joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1852
+ var tmp = joinToString($this_emit.oi_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1806
1853
  Companion_getInstance_2();
1807
1854
  var tmp$ret$2;
1808
1855
  // Inline function 'kotlin.collections.map' call
1809
- var tmp1_map = $this_emit.ni_1;
1856
+ var tmp1_map = $this_emit.pi_1;
1810
1857
  var tmp$ret$1;
1811
1858
  // Inline function 'kotlin.collections.mapTo' call
1812
1859
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1815,7 +1862,7 @@
1815
1862
  var item = tmp0_iterator.e();
1816
1863
  var tmp$ret$0;
1817
1864
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1818
- tmp$ret$0 = groupStatus_0(item.oi_1);
1865
+ tmp$ret$0 = groupStatus_0(item.qi_1);
1819
1866
  tmp0_mapTo.a(tmp$ret$0);
1820
1867
  }
1821
1868
  tmp$ret$1 = tmp0_mapTo;
@@ -1826,7 +1873,7 @@
1826
1873
  // Inline function 'kotlin.collections.map' call
1827
1874
  var tmp$ret$5;
1828
1875
  // Inline function 'kotlin.collections.filter' call
1829
- var tmp3_filter = $this_emit.ni_1;
1876
+ var tmp3_filter = $this_emit.pi_1;
1830
1877
  var tmp$ret$4;
1831
1878
  // Inline function 'kotlin.collections.filterTo' call
1832
1879
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1835,7 +1882,7 @@
1835
1882
  var element = tmp0_iterator_0.e();
1836
1883
  var tmp$ret$3;
1837
1884
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1838
- tmp$ret$3 = Companion_getInstance_2().gk(element.oi_1);
1885
+ tmp$ret$3 = Companion_getInstance_2().mk(element.qi_1);
1839
1886
  if (tmp$ret$3) {
1840
1887
  tmp2_filterTo.a(element);
1841
1888
  }
@@ -1851,7 +1898,7 @@
1851
1898
  var item_0 = tmp0_iterator_1.e();
1852
1899
  var tmp$ret$6;
1853
1900
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1854
- tmp$ret$6 = item_0.oi_1;
1901
+ tmp$ret$6 = item_0.qi_1;
1855
1902
  tmp4_mapTo.a(tmp$ret$6);
1856
1903
  }
1857
1904
  tmp$ret$7 = tmp4_mapTo;
@@ -1862,7 +1909,7 @@
1862
1909
  // Inline function 'kotlin.collections.distinctBy' call
1863
1910
  var tmp$ret$11;
1864
1911
  // Inline function 'kotlin.collections.filter' call
1865
- var tmp7_filter = $this_emit.ni_1;
1912
+ var tmp7_filter = $this_emit.pi_1;
1866
1913
  var tmp$ret$10;
1867
1914
  // Inline function 'kotlin.collections.filterTo' call
1868
1915
  var tmp6_filterTo = ArrayList_init_$Create$();
@@ -1871,7 +1918,7 @@
1871
1918
  var element_0 = tmp0_iterator_2.e();
1872
1919
  var tmp$ret$9;
1873
1920
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1874
- tmp$ret$9 = Companion_getInstance_2().gk(element_0.oi_1);
1921
+ tmp$ret$9 = Companion_getInstance_2().mk(element_0.qi_1);
1875
1922
  if (tmp$ret$9) {
1876
1923
  tmp6_filterTo.a(element_0);
1877
1924
  }
@@ -1886,8 +1933,8 @@
1886
1933
  var e = tmp0_iterator_3.e();
1887
1934
  var tmp$ret$12;
1888
1935
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1889
- var tmp0_safe_receiver = e.pi_1;
1890
- tmp$ret$12 = to(e.oi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1);
1936
+ var tmp0_safe_receiver = e.ri_1;
1937
+ tmp$ret$12 = to(e.qi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ai_1);
1891
1938
  var key = tmp$ret$12;
1892
1939
  if (set.a(key)) {
1893
1940
  list.a(e);
@@ -1900,7 +1947,7 @@
1900
1947
  // Inline function 'kotlin.collections.distinctBy' call
1901
1948
  var tmp$ret$16;
1902
1949
  // Inline function 'kotlin.collections.filter' call
1903
- var tmp10_filter = $this_emit.ni_1;
1950
+ var tmp10_filter = $this_emit.pi_1;
1904
1951
  var tmp$ret$15;
1905
1952
  // Inline function 'kotlin.collections.filterTo' call
1906
1953
  var tmp9_filterTo = ArrayList_init_$Create$();
@@ -1909,7 +1956,7 @@
1909
1956
  var element_1 = tmp0_iterator_4.e();
1910
1957
  var tmp$ret$14;
1911
1958
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1912
- tmp$ret$14 = !Companion_getInstance_2().gk(element_1.oi_1);
1959
+ tmp$ret$14 = !Companion_getInstance_2().mk(element_1.qi_1);
1913
1960
  if (tmp$ret$14) {
1914
1961
  tmp9_filterTo.a(element_1);
1915
1962
  }
@@ -1924,8 +1971,8 @@
1924
1971
  var e_0 = tmp0_iterator_5.e();
1925
1972
  var tmp$ret$17;
1926
1973
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1927
- var tmp0_safe_receiver_0 = e_0.pi_1;
1928
- tmp$ret$17 = to(e_0.oi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.yh_1);
1974
+ var tmp0_safe_receiver_0 = e_0.ri_1;
1975
+ tmp$ret$17 = to(e_0.qi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.ai_1);
1929
1976
  var key_0 = tmp$ret$17;
1930
1977
  if (set_0.a(key_0)) {
1931
1978
  list_0.a(e_0);
@@ -1934,33 +1981,34 @@
1934
1981
  tmp$ret$18 = list_0;
1935
1982
  var tmp_6 = tmp$ret$18;
1936
1983
  var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1937
- var tmp_8 = Companion_getInstance_2().sj($this_emit.gi_1);
1984
+ var tmp_8 = Companion_getInstance_2().tj($this_emit.ii_1);
1938
1985
  Companion_getInstance_2();
1939
1986
  Companion_getInstance_2();
1940
1987
  Companion_getInstance_2();
1941
- var tmp_9 = emitSegment_0($this_emit.ii_1, this$0);
1988
+ var tmp_9 = emitSegment_0($this_emit.ki_1, this$0);
1942
1989
  Companion_getInstance_2();
1943
1990
  Companion_getInstance_2();
1944
- var tmp_10 = emitResponseMapper_0($this_emit.ni_1, this$0);
1991
+ var tmp_10 = emitRequestMapper($this_emit.oi_1, this$0);
1945
1992
  Companion_getInstance_2();
1946
1993
  Companion_getInstance_2();
1994
+ var tmp_11 = emitResponseMapper_0($this_emit.pi_1, this$0);
1947
1995
  Companion_getInstance_2();
1948
- return trimMargin('interface ' + $this_emit.gi_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1996
+ return trimMargin('interface ' + $this_emit.ii_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 |');
1949
1997
  };
1950
1998
  }
1951
1999
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1952
2000
  return function (it) {
1953
- return this$0.zi(it);
2001
+ return this$0.aj(it);
1954
2002
  };
1955
2003
  }
1956
2004
  function KotlinEmitter$emitSegment$lambda(it) {
1957
2005
  var tmp0_subject = it;
1958
2006
  var tmp;
1959
2007
  if (tmp0_subject instanceof Param) {
1960
- tmp = '{' + it.ui_1.fj_1 + '}';
2008
+ tmp = '{' + it.vi_1.gj_1 + '}';
1961
2009
  } else {
1962
2010
  if (tmp0_subject instanceof Literal) {
1963
- tmp = it.tj_1;
2011
+ tmp = it.uj_1;
1964
2012
  } else {
1965
2013
  noWhenBranchMatchedException();
1966
2014
  }
@@ -1969,7 +2017,7 @@
1969
2017
  }
1970
2018
  function KotlinEmitter$emitMap$lambda(this$0) {
1971
2019
  return function (it) {
1972
- return '"' + this$0.ej(it.bj_1) + '" to listOf(' + this$0.ej(it.bj_1) + ')';
2020
+ return '"' + this$0.fj(it.cj_1) + '" to listOf(' + this$0.fj(it.cj_1) + ')';
1973
2021
  };
1974
2022
  }
1975
2023
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1977,10 +2025,10 @@
1977
2025
  var tmp0_subject = $this_emit;
1978
2026
  var tmp;
1979
2027
  if (tmp0_subject instanceof Literal) {
1980
- tmp = $this_emit.tj_1;
2028
+ tmp = $this_emit.uj_1;
1981
2029
  } else {
1982
2030
  if (tmp0_subject instanceof Param) {
1983
- tmp = '${' + $this_emit.ui_1.fj_1 + '}';
2031
+ tmp = '${' + $this_emit.vi_1.gj_1 + '}';
1984
2032
  } else {
1985
2033
  noWhenBranchMatchedException();
1986
2034
  }
@@ -1993,6 +2041,11 @@
1993
2041
  return emit_2(it, this$0);
1994
2042
  };
1995
2043
  }
2044
+ function KotlinEmitter$emitRequestMapper$lambda(this$0) {
2045
+ return function (it) {
2046
+ return emitRequestMapperCondition(it, this$0);
2047
+ };
2048
+ }
1996
2049
  function KotlinEmitter$emitResponseMapper$lambda(this$0) {
1997
2050
  return function (it) {
1998
2051
  return emitResponseMapperCondition_0(it, this$0);
@@ -2015,7 +2068,8 @@
2015
2068
  Companion_getInstance_2();
2016
2069
  Companion_getInstance_2();
2017
2070
  Companion_getInstance_2();
2018
- tmp.kk_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
2071
+ tmp.kk_1 = trimMargin('\n |package community.flock.wirespec.kotlin\n |\n |import java.lang.reflect.Type\n |\n |interface Wirespec {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: Type): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
2072
+ this.lk_1 = 'import kotlin.reflect.typeOf\nimport kotlin.reflect.jvm.javaType\nimport community.flock.wirespec.kotlin.Wirespec\n';
2019
2073
  }
2020
2074
  protoOf(KotlinEmitter).th = function (ast) {
2021
2075
  var tmp$ret$3;
@@ -2033,7 +2087,7 @@
2033
2087
  var result = item.j3();
2034
2088
  var tmp$ret$0;
2035
2089
  // Inline function 'kotlin.text.trimStart' call
2036
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.jk_1) ? '' : 'package ' + this.jk_1) + '\n |' + (Companion_getInstance_2().ok(ast) ? this.kk_1 : '') + '\n |' + result + '\n ');
2090
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.jk_1) ? '' : 'package ' + this.jk_1) + '\n |' + (Companion_getInstance_2().xh(ast) ? this.lk_1 : '') + '\n |' + result + '\n ');
2037
2091
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2038
2092
  tmp$ret$1 = to(name, tmp$ret$0);
2039
2093
  tmp0_mapTo.a(tmp$ret$1);
@@ -2042,46 +2096,46 @@
2042
2096
  tmp$ret$3 = tmp$ret$2;
2043
2097
  return tmp$ret$3;
2044
2098
  };
2045
- protoOf(KotlinEmitter).uj = function (_this__u8e3s4) {
2046
- return this.vj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2047
- };
2048
- protoOf(KotlinEmitter).yi = function (_this__u8e3s4) {
2049
- return this.wj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2099
+ protoOf(KotlinEmitter).vj = function (_this__u8e3s4) {
2100
+ return this.wj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
2050
2101
  };
2051
2102
  protoOf(KotlinEmitter).zi = function (_this__u8e3s4) {
2052
- return this.xj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2103
+ return this.xj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2053
2104
  };
2054
- protoOf(KotlinEmitter).ej = function (_this__u8e3s4) {
2055
- return this.yj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2105
+ protoOf(KotlinEmitter).aj = function (_this__u8e3s4) {
2106
+ return this.yj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2056
2107
  };
2057
- protoOf(KotlinEmitter).fi = function (_this__u8e3s4) {
2058
- return this.wh(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2108
+ protoOf(KotlinEmitter).fj = function (_this__u8e3s4) {
2109
+ return this.zj(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_2(this, _this__u8e3s4));
2059
2110
  };
2060
- protoOf(KotlinEmitter).zj = function (_this__u8e3s4) {
2061
- return this.ak(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2111
+ protoOf(KotlinEmitter).hi = function (_this__u8e3s4) {
2112
+ return this.yh(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2062
2113
  };
2063
- protoOf(KotlinEmitter).bk = function (_this__u8e3s4) {
2064
- return this.ck(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2114
+ protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2115
+ return this.bk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4, this));
2065
2116
  };
2066
- protoOf(KotlinEmitter).qj = function (_this__u8e3s4) {
2067
- return this.dk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2117
+ protoOf(KotlinEmitter).ck = function (_this__u8e3s4) {
2118
+ return this.dk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2068
2119
  };
2069
- protoOf(KotlinEmitter).ek = function (_this__u8e3s4) {
2070
- return this.fk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2120
+ protoOf(KotlinEmitter).rj = function (_this__u8e3s4) {
2121
+ return this.ek(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2071
2122
  };
2072
- protoOf(KotlinEmitter).mk = function (_this__u8e3s4) {
2073
- return Companion_getInstance_0().lk_1.i1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2123
+ protoOf(KotlinEmitter).fk = function (_this__u8e3s4) {
2124
+ return this.gk(_this__u8e3s4, this.rh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2125
+ };
2126
+ protoOf(KotlinEmitter).ok = function (_this__u8e3s4) {
2127
+ return Companion_getInstance_0().nk_1.i1(_this__u8e3s4) ? '`' + _this__u8e3s4 + '`' : _this__u8e3s4;
2074
2128
  };
2075
2129
  function toField(_this__u8e3s4, identifier, isNullable) {
2076
2130
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2077
2131
  }
2078
2132
  function emitContentType_0(_this__u8e3s4) {
2079
- var tmp = split(_this__u8e3s4.yh_1, ['/', '-']);
2133
+ var tmp = split(_this__u8e3s4.ai_1, ['/', '-']);
2080
2134
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2081
2135
  }
2082
2136
  function groupStatus_0(_this__u8e3s4) {
2083
2137
  var tmp;
2084
- if (Companion_getInstance_2().gk(_this__u8e3s4)) {
2138
+ if (Companion_getInstance_2().mk(_this__u8e3s4)) {
2085
2139
  var tmp$ret$1;
2086
2140
  // Inline function 'kotlin.text.substring' call
2087
2141
  var tmp$ret$0;
@@ -2090,7 +2144,7 @@
2090
2144
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2091
2145
  tmp = tmp$ret$1 + 'XX';
2092
2146
  } else {
2093
- tmp = Companion_getInstance_2().ri(_this__u8e3s4);
2147
+ tmp = Companion_getInstance_2().si(_this__u8e3s4);
2094
2148
  }
2095
2149
  return tmp;
2096
2150
  }
@@ -2099,11 +2153,11 @@
2099
2153
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2100
2154
  }
2101
2155
  function emitContentType$lambda(it) {
2102
- return Companion_getInstance_2().ri(it);
2156
+ return Companion_getInstance_2().si(it);
2103
2157
  }
2104
2158
  function Companion_0() {
2105
2159
  Companion_instance_0 = this;
2106
- this.pk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2160
+ this.qk_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']);
2107
2161
  }
2108
2162
  var Companion_instance_0;
2109
2163
  function Companion_getInstance_1() {
@@ -2113,28 +2167,28 @@
2113
2167
  }
2114
2168
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2115
2169
  return function () {
2116
- return trimMargin('case class ' + $this_emit.wi_1 + '(\n |' + this$0.yi($this_emit.xi_1) + '\n |)\n |\n |');
2170
+ return trimMargin('case class ' + $this_emit.xi_1 + '(\n |' + this$0.zi($this_emit.yi_1) + '\n |)\n |\n |');
2117
2171
  };
2118
2172
  }
2119
2173
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2120
2174
  return function (it) {
2121
- return this$0.zi(it);
2175
+ return this$0.aj(it);
2122
2176
  };
2123
2177
  }
2124
2178
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2125
2179
  return function () {
2126
- return dropLast(joinToString($this_emit.aj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2180
+ return dropLast(joinToString($this_emit.bj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2127
2181
  };
2128
2182
  }
2129
2183
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2130
2184
  return function () {
2131
2185
  Companion_getInstance_2();
2132
- return ' ' + 'val ' + this$0.ej($this_emit.bj_1) + ': ' + ($this_emit.dj_1 ? 'Option[' + this$0.fi($this_emit.cj_1) + ']' : this$0.fi($this_emit.cj_1)) + ',';
2186
+ return ' ' + 'val ' + this$0.fj($this_emit.cj_1) + ': ' + ($this_emit.ej_1 ? 'Option[' + this$0.hi($this_emit.dj_1) + ']' : this$0.hi($this_emit.dj_1)) + ',';
2133
2187
  };
2134
2188
  }
2135
2189
  function ScalaEmitter$emit$lambda_2($this_emit) {
2136
2190
  return function () {
2137
- return Companion_getInstance_1().pk_1.i1($this_emit.fj_1) ? '`' + $this_emit.fj_1 + '`' : $this_emit.fj_1;
2191
+ return Companion_getInstance_1().qk_1.i1($this_emit.gj_1) ? '`' + $this_emit.gj_1 + '`' : $this_emit.gj_1;
2138
2192
  };
2139
2193
  }
2140
2194
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2147,10 +2201,10 @@
2147
2201
  tmp = 'Any';
2148
2202
  } else {
2149
2203
  if (tmp0_subject instanceof Custom) {
2150
- tmp = $this_emit.jj_1;
2204
+ tmp = $this_emit.kj_1;
2151
2205
  } else {
2152
2206
  if (tmp0_subject instanceof Primitive) {
2153
- var tmp1_subject = $this_emit.gj_1;
2207
+ var tmp1_subject = $this_emit.hj_1;
2154
2208
  var tmp0 = tmp1_subject.q4_1;
2155
2209
  var tmp_0;
2156
2210
  switch (tmp0) {
@@ -2177,7 +2231,7 @@
2177
2231
  // Inline function 'kotlin.contracts.contract' call
2178
2232
  var tmp$ret$0;
2179
2233
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2180
- tmp$ret$0 = $this_emit.si() ? 'List[' + tmp0_let + ']' : tmp0_let;
2234
+ tmp$ret$0 = $this_emit.ti() ? 'List[' + tmp0_let + ']' : tmp0_let;
2181
2235
  tmp$ret$1 = tmp$ret$0;
2182
2236
  return tmp$ret$1;
2183
2237
  };
@@ -2203,20 +2257,20 @@
2203
2257
  // Inline function 'kotlin.js.asDynamic' call
2204
2258
  tmp$ret$0 = tmp0_uppercase;
2205
2259
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2206
- return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.mj_1 + '(label = "' + it + '")';
2260
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.nj_1 + '(label = "' + it + '")';
2207
2261
  };
2208
2262
  }
2209
2263
  function ScalaEmitter$emit$lambda_4($this_emit) {
2210
2264
  return function () {
2211
- return trimMargin('\n |sealed abstract class ' + $this_emit.mj_1 + '(val label: String)\n |object ' + $this_emit.mj_1 + ' {\n |' + joinToString($this_emit.nj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2265
+ return trimMargin('\n |sealed abstract class ' + $this_emit.nj_1 + '(val label: String)\n |object ' + $this_emit.nj_1 + ' {\n |' + joinToString($this_emit.oj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2212
2266
  };
2213
2267
  }
2214
2268
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2215
2269
  return function () {
2216
2270
  Companion_getInstance_2();
2217
- var tmp = this$0.qj($this_emit.pj_1);
2271
+ var tmp = this$0.rj($this_emit.qj_1);
2218
2272
  Companion_getInstance_2();
2219
- return trimMargin('case class ' + $this_emit.oj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.oj_1 + 'Ops(val that: ' + $this_emit.oj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2273
+ return trimMargin('case class ' + $this_emit.pj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.pj_1 + 'Ops(val that: ' + $this_emit.pj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2220
2274
  };
2221
2275
  }
2222
2276
  function ScalaEmitter$emit$lambda_6($this_emit) {
@@ -2225,7 +2279,7 @@
2225
2279
  Companion_getInstance_2();
2226
2280
  Companion_getInstance_2();
2227
2281
  Companion_getInstance_2();
2228
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.rj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2282
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.sj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2229
2283
  };
2230
2284
  }
2231
2285
  function ScalaEmitter$emit$lambda_7() {
@@ -2236,7 +2290,8 @@
2236
2290
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2237
2291
  logger = logger === VOID ? get_noLogger() : logger;
2238
2292
  Emitter.call(this, logger);
2239
- this.sk_1 = packageName;
2293
+ this.tk_1 = packageName;
2294
+ this.uk_1 = '';
2240
2295
  }
2241
2296
  protoOf(ScalaEmitter).th = function (ast) {
2242
2297
  var tmp$ret$2;
@@ -2252,54 +2307,54 @@
2252
2307
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2253
2308
  var name = item.i3();
2254
2309
  var result = item.j3();
2255
- tmp$ret$0 = to(name, isBlank(this.sk_1) ? '' : 'package ' + this.sk_1 + '\n\n' + result);
2310
+ tmp$ret$0 = to(name, isBlank(this.tk_1) ? '' : 'package ' + this.tk_1 + '\n\n' + result);
2256
2311
  tmp0_mapTo.a(tmp$ret$0);
2257
2312
  }
2258
2313
  tmp$ret$1 = tmp0_mapTo;
2259
2314
  tmp$ret$2 = tmp$ret$1;
2260
2315
  return tmp$ret$2;
2261
2316
  };
2262
- protoOf(ScalaEmitter).uj = function (_this__u8e3s4) {
2263
- return this.vj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2264
- };
2265
- protoOf(ScalaEmitter).yi = function (_this__u8e3s4) {
2266
- return this.wj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2317
+ protoOf(ScalaEmitter).vj = function (_this__u8e3s4) {
2318
+ return this.wj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2267
2319
  };
2268
2320
  protoOf(ScalaEmitter).zi = function (_this__u8e3s4) {
2269
- return this.xj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2321
+ return this.xj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2322
+ };
2323
+ protoOf(ScalaEmitter).aj = function (_this__u8e3s4) {
2324
+ return this.yj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2270
2325
  };
2271
- protoOf(ScalaEmitter).ej = function (_this__u8e3s4) {
2272
- return this.yj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2326
+ protoOf(ScalaEmitter).fj = function (_this__u8e3s4) {
2327
+ return this.zj(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2273
2328
  };
2274
- protoOf(ScalaEmitter).fi = function (_this__u8e3s4) {
2275
- return this.wh(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2329
+ protoOf(ScalaEmitter).hi = function (_this__u8e3s4) {
2330
+ return this.yh(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2276
2331
  };
2277
- protoOf(ScalaEmitter).zj = function (_this__u8e3s4) {
2278
- return this.ak(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2332
+ protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2333
+ return this.bk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2279
2334
  };
2280
- protoOf(ScalaEmitter).bk = function (_this__u8e3s4) {
2281
- return this.ck(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2335
+ protoOf(ScalaEmitter).ck = function (_this__u8e3s4) {
2336
+ return this.dk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2282
2337
  };
2283
- protoOf(ScalaEmitter).qj = function (_this__u8e3s4) {
2284
- return this.dk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2338
+ protoOf(ScalaEmitter).rj = function (_this__u8e3s4) {
2339
+ return this.ek(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2285
2340
  };
2286
- protoOf(ScalaEmitter).ek = function (_this__u8e3s4) {
2287
- return this.fk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_7);
2341
+ protoOf(ScalaEmitter).fk = function (_this__u8e3s4) {
2342
+ return this.gk(_this__u8e3s4, this.rh_1, ScalaEmitter$emit$lambda_7);
2288
2343
  };
2289
2344
  function emitType(_this__u8e3s4, $this) {
2290
2345
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2291
2346
  }
2292
2347
  function emitType_0(_this__u8e3s4, $this) {
2293
- return $this.ti(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2348
+ return $this.ui(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2294
2349
  }
2295
2350
  function emitName(_this__u8e3s4, $this) {
2296
- var tmp0_safe_receiver = _this__u8e3s4.xh_1;
2351
+ var tmp0_safe_receiver = _this__u8e3s4.zh_1;
2297
2352
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2298
2353
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2299
2354
  }
2300
2355
  function emitName_0(_this__u8e3s4, $this) {
2301
- var tmp = 'Response' + Companion_getInstance_2().ri(_this__u8e3s4.oi_1);
2302
- var tmp0_safe_receiver = _this__u8e3s4.pi_1;
2356
+ var tmp = 'Response' + Companion_getInstance_2().si(_this__u8e3s4.qi_1);
2357
+ var tmp0_safe_receiver = _this__u8e3s4.ri_1;
2303
2358
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2304
2359
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2305
2360
  }
@@ -2310,32 +2365,32 @@
2310
2365
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2311
2366
  }
2312
2367
  function emit_3(_this__u8e3s4, $this) {
2313
- return $this.ti(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2368
+ return $this.ui(_this__u8e3s4, $this.rh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2314
2369
  }
2315
2370
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2316
2371
  return function () {
2317
- return trimMargin('export type ' + $this_emit.wi_1 + ' = {\n |' + this$0.yi($this_emit.xi_1) + '\n |}\n |\n |');
2372
+ return trimMargin('export type ' + $this_emit.xi_1 + ' = {\n |' + this$0.zi($this_emit.yi_1) + '\n |}\n |\n |');
2318
2373
  };
2319
2374
  }
2320
2375
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2321
2376
  return function (it) {
2322
- return this$0.zi(it);
2377
+ return this$0.aj(it);
2323
2378
  };
2324
2379
  }
2325
2380
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2326
2381
  return function () {
2327
- return joinToString($this_emit.aj_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2382
+ return joinToString($this_emit.bj_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2328
2383
  };
2329
2384
  }
2330
2385
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2331
2386
  return function () {
2332
2387
  Companion_getInstance_2();
2333
- return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1);
2388
+ return ' ' + this$0.fj($this_emit.cj_1) + ($this_emit.ej_1 ? '?' : '') + ': ' + this$0.hi($this_emit.dj_1);
2334
2389
  };
2335
2390
  }
2336
2391
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2337
2392
  return function () {
2338
- return $this_emit.fj_1;
2393
+ return $this_emit.gj_1;
2339
2394
  };
2340
2395
  }
2341
2396
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2350,10 +2405,10 @@
2350
2405
  tmp = 'any';
2351
2406
  } else {
2352
2407
  if (tmp0_subject instanceof Custom) {
2353
- tmp = $this_emit.jj_1;
2408
+ tmp = $this_emit.kj_1;
2354
2409
  } else {
2355
2410
  if (tmp0_subject instanceof Primitive) {
2356
- var tmp1_subject = $this_emit.gj_1;
2411
+ var tmp1_subject = $this_emit.hj_1;
2357
2412
  var tmp0 = tmp1_subject.q4_1;
2358
2413
  var tmp_0;
2359
2414
  switch (tmp0) {
@@ -2380,13 +2435,13 @@
2380
2435
  // Inline function 'kotlin.contracts.contract' call
2381
2436
  var tmp$ret$0;
2382
2437
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2383
- tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2438
+ tmp$ret$0 = $this_emit.ti() ? tmp0_let + '[]' : tmp0_let;
2384
2439
  tmp$ret$1 = tmp$ret$0;
2385
2440
  var tmp1_let = tmp$ret$1;
2386
2441
  // Inline function 'kotlin.contracts.contract' call
2387
2442
  var tmp$ret$2;
2388
2443
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2389
- tmp$ret$2 = $this_emit.nk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2444
+ tmp$ret$2 = $this_emit.pk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2390
2445
  tmp$ret$3 = tmp$ret$2;
2391
2446
  return tmp$ret$3;
2392
2447
  };
@@ -2396,28 +2451,28 @@
2396
2451
  }
2397
2452
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2398
2453
  return function () {
2399
- return 'type ' + $this_emit.mj_1 + ' = ' + joinToString($this_emit.nj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2454
+ return 'type ' + $this_emit.nj_1 + ' = ' + joinToString($this_emit.oj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2400
2455
  };
2401
2456
  }
2402
2457
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2403
2458
  return function () {
2404
2459
  Companion_getInstance_2();
2405
- return trimMargin('type ' + $this_emit.oj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.oj_1 + ' = (type: ' + $this_emit.oj_1 + ') => (' + this$0.qj($this_emit.pj_1) + ').test(type.value);\n |\n |');
2460
+ return trimMargin('type ' + $this_emit.pj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.pj_1 + ' = (type: ' + $this_emit.pj_1 + ') => (' + this$0.rj($this_emit.qj_1) + ').test(type.value);\n |\n |');
2406
2461
  };
2407
2462
  }
2408
2463
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2409
2464
  return function () {
2410
- return "new RegExp('" + dropLast(drop($this_emit.rj_1, 1), 1) + "')";
2465
+ return "new RegExp('" + dropLast(drop($this_emit.sj_1, 1), 1) + "')";
2411
2466
  };
2412
2467
  }
2413
2468
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2414
2469
  return function (it) {
2415
2470
  Companion_getInstance_2();
2416
2471
  var tmp = emitName(it, this$0);
2417
- var tmp_0 = emitType($this_emit.ii_1, this$0);
2472
+ var tmp_0 = emitType($this_emit.ki_1, this$0);
2418
2473
  var tmp$ret$2;
2419
2474
  // Inline function 'kotlin.collections.map' call
2420
- var tmp1_map = $this_emit.ki_1;
2475
+ var tmp1_map = $this_emit.mi_1;
2421
2476
  var tmp$ret$1;
2422
2477
  // Inline function 'kotlin.collections.mapTo' call
2423
2478
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2426,7 +2481,7 @@
2426
2481
  var item = tmp0_iterator.e();
2427
2482
  var tmp$ret$0;
2428
2483
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2429
- tmp$ret$0 = this$0.zi(item);
2484
+ tmp$ret$0 = this$0.aj(item);
2430
2485
  tmp0_mapTo.a(tmp$ret$0);
2431
2486
  }
2432
2487
  tmp$ret$1 = tmp0_mapTo;
@@ -2434,7 +2489,7 @@
2434
2489
  var tmp_1 = joinToString(tmp$ret$2, ',');
2435
2490
  var tmp$ret$5;
2436
2491
  // Inline function 'kotlin.collections.map' call
2437
- var tmp3_map = $this_emit.ji_1;
2492
+ var tmp3_map = $this_emit.li_1;
2438
2493
  var tmp$ret$4;
2439
2494
  // Inline function 'kotlin.collections.mapTo' call
2440
2495
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2443,13 +2498,13 @@
2443
2498
  var item_0 = tmp0_iterator_0.e();
2444
2499
  var tmp$ret$3;
2445
2500
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2446
- tmp$ret$3 = this$0.zi(item_0);
2501
+ tmp$ret$3 = this$0.aj(item_0);
2447
2502
  tmp2_mapTo.a(tmp$ret$3);
2448
2503
  }
2449
2504
  tmp$ret$4 = tmp2_mapTo;
2450
2505
  tmp$ret$5 = tmp$ret$4;
2451
2506
  var tmp_2 = joinToString(tmp$ret$5, ',');
2452
- var tmp0_safe_receiver = it.xh_1;
2507
+ var tmp0_safe_receiver = it.zh_1;
2453
2508
  var tmp_3;
2454
2509
  if (tmp0_safe_receiver == null) {
2455
2510
  tmp_3 = null;
@@ -2459,12 +2514,12 @@
2459
2514
  // Inline function 'kotlin.contracts.contract' call
2460
2515
  var tmp$ret$6;
2461
2516
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2462
- tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.yh_1 + '", body: ' + this$0.fi(tmp0_safe_receiver.zh_1) + ' }';
2517
+ tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.ai_1 + '", body: ' + this$0.hi(tmp0_safe_receiver.bi_1) + ' }';
2463
2518
  tmp$ret$7 = tmp$ret$6;
2464
2519
  tmp_3 = tmp$ret$7;
2465
2520
  }
2466
2521
  var tmp1_elvis_lhs = tmp_3;
2467
- return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.hi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2522
+ return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.ji_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2468
2523
  };
2469
2524
  }
2470
2525
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2476,8 +2531,8 @@
2476
2531
  return function (it) {
2477
2532
  Companion_getInstance_2();
2478
2533
  var tmp = emitName_0(it, this$0);
2479
- var tmp_0 = Companion_getInstance_2().gk(it.oi_1) ? it.oi_1 : 'number';
2480
- var tmp0_safe_receiver = it.pi_1;
2534
+ var tmp_0 = Companion_getInstance_2().mk(it.qi_1) ? it.qi_1 : 'number';
2535
+ var tmp0_safe_receiver = it.ri_1;
2481
2536
  var tmp_1;
2482
2537
  if (tmp0_safe_receiver == null) {
2483
2538
  tmp_1 = null;
@@ -2487,7 +2542,7 @@
2487
2542
  // Inline function 'kotlin.contracts.contract' call
2488
2543
  var tmp$ret$0;
2489
2544
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2490
- tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.yh_1 + '", body: ' + this$0.fi(tmp0_safe_receiver.zh_1) + ' }';
2545
+ tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.ai_1 + '", body: ' + this$0.hi(tmp0_safe_receiver.bi_1) + ' }';
2491
2546
  tmp$ret$1 = tmp$ret$0;
2492
2547
  tmp_1 = tmp$ret$1;
2493
2548
  }
@@ -2502,18 +2557,18 @@
2502
2557
  }
2503
2558
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2504
2559
  return function (it) {
2505
- return this$0.zi(it);
2560
+ return this$0.aj(it);
2506
2561
  };
2507
2562
  }
2508
2563
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2509
2564
  return function (it) {
2510
- var tmp = Companion_getInstance_2().sj(emitName(it, this$0));
2511
- var tmp_0 = Companion_getInstance_2().wk($this_emit, it.xh_1);
2565
+ var tmp = Companion_getInstance_2().tj(emitName(it, this$0));
2566
+ var tmp_0 = Companion_getInstance_2().zk($this_emit, it.zh_1);
2512
2567
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2513
- var tmp_2 = emitPath_1($this_emit.ii_1, this$0);
2514
- var tmp_3 = emitMap_1($this_emit.ji_1, this$0);
2515
- var tmp_4 = emitMap_1($this_emit.ki_1, this$0);
2516
- var tmp0_safe_receiver = it.xh_1;
2568
+ var tmp_2 = emitPath_1($this_emit.ki_1, this$0);
2569
+ var tmp_3 = emitMap_1($this_emit.li_1, this$0);
2570
+ var tmp_4 = emitMap_1($this_emit.mi_1, this$0);
2571
+ var tmp0_safe_receiver = it.zh_1;
2517
2572
  var tmp_5;
2518
2573
  if (tmp0_safe_receiver == null) {
2519
2574
  tmp_5 = null;
@@ -2523,33 +2578,33 @@
2523
2578
  // Inline function 'kotlin.contracts.contract' call
2524
2579
  var tmp$ret$0;
2525
2580
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2526
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.yh_1 + '", body}';
2581
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.ai_1 + '", body}';
2527
2582
  tmp$ret$1 = tmp$ret$0;
2528
2583
  tmp_5 = tmp$ret$1;
2529
2584
  }
2530
2585
  var tmp1_elvis_lhs = tmp_5;
2531
- return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.hi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2586
+ return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.ji_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2532
2587
  };
2533
2588
  }
2534
2589
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2535
2590
  return function () {
2536
- var tmp = toSet($this_emit.mi_1);
2591
+ var tmp = toSet($this_emit.oi_1);
2537
2592
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2538
2593
  Companion_getInstance_2();
2539
- var tmp_1 = toSet($this_emit.mi_1);
2594
+ var tmp_1 = toSet($this_emit.oi_1);
2540
2595
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2541
- var tmp_3 = toSet($this_emit.ni_1);
2596
+ var tmp_3 = toSet($this_emit.pi_1);
2542
2597
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2543
2598
  Companion_getInstance_2();
2544
- var tmp_5 = toSet($this_emit.ni_1);
2599
+ var tmp_5 = toSet($this_emit.pi_1);
2545
2600
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2546
2601
  Companion_getInstance_2();
2547
2602
  Companion_getInstance_2();
2548
2603
  Companion_getInstance_2();
2549
- var tmp_7 = Companion_getInstance_2().sj($this_emit.gi_1);
2604
+ var tmp_7 = Companion_getInstance_2().tj($this_emit.ii_1);
2550
2605
  Companion_getInstance_2();
2551
2606
  Companion_getInstance_2();
2552
- return trimMargin('\n |export namespace ' + $this_emit.gi_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.mi_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2607
+ return trimMargin('\n |export namespace ' + $this_emit.ii_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.oi_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2553
2608
  };
2554
2609
  }
2555
2610
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -2562,10 +2617,10 @@
2562
2617
  var tmp0_subject = $this_emitType;
2563
2618
  var tmp;
2564
2619
  if (tmp0_subject instanceof Literal) {
2565
- tmp = $this_emitType.tj_1;
2620
+ tmp = $this_emitType.uj_1;
2566
2621
  } else {
2567
2622
  if (tmp0_subject instanceof Param) {
2568
- tmp = '${' + this$0.fi($this_emitType.vi_1) + '}';
2623
+ tmp = '${' + this$0.hi($this_emitType.wi_1) + '}';
2569
2624
  } else {
2570
2625
  noWhenBranchMatchedException();
2571
2626
  }
@@ -2575,7 +2630,7 @@
2575
2630
  }
2576
2631
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2577
2632
  return function (it) {
2578
- return '"' + this$0.ej(it.bj_1) + '": ' + this$0.ej(it.bj_1);
2633
+ return '"' + this$0.fj(it.cj_1) + '": ' + this$0.fj(it.cj_1);
2579
2634
  };
2580
2635
  }
2581
2636
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2588,10 +2643,10 @@
2588
2643
  var tmp0_subject = $this_emit;
2589
2644
  var tmp;
2590
2645
  if (tmp0_subject instanceof Literal) {
2591
- tmp = $this_emit.tj_1;
2646
+ tmp = $this_emit.uj_1;
2592
2647
  } else {
2593
2648
  if (tmp0_subject instanceof Param) {
2594
- tmp = '${' + $this_emit.ui_1.fj_1 + '}';
2649
+ tmp = '${' + $this_emit.vi_1.gj_1 + '}';
2595
2650
  } else {
2596
2651
  noWhenBranchMatchedException();
2597
2652
  }
@@ -2602,12 +2657,13 @@
2602
2657
  function TypeScriptEmitter(logger) {
2603
2658
  logger = logger === VOID ? get_noLogger() : logger;
2604
2659
  Emitter.call(this, logger);
2660
+ this.xk_1 = '';
2605
2661
  var tmp = this;
2606
2662
  Companion_getInstance_2();
2607
2663
  Companion_getInstance_2();
2608
2664
  Companion_getInstance_2();
2609
2665
  Companion_getInstance_2();
2610
- tmp.vk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2666
+ tmp.yk_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 ');
2611
2667
  }
2612
2668
  protoOf(TypeScriptEmitter).th = function (ast) {
2613
2669
  var tmp$ret$3;
@@ -2625,7 +2681,7 @@
2625
2681
  var result = item.j3();
2626
2682
  var tmp$ret$0;
2627
2683
  // Inline function 'kotlin.text.trimStart' call
2628
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().ok(ast) ? this.vk_1 : '') + '\n |' + result + '\n ');
2684
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_2().xh(ast) ? this.yk_1 : '') + '\n |' + result + '\n ');
2629
2685
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2630
2686
  tmp$ret$1 = to(name, tmp$ret$0);
2631
2687
  tmp0_mapTo.a(tmp$ret$1);
@@ -2634,57 +2690,57 @@
2634
2690
  tmp$ret$3 = tmp$ret$2;
2635
2691
  return tmp$ret$3;
2636
2692
  };
2637
- protoOf(TypeScriptEmitter).uj = function (_this__u8e3s4) {
2638
- return this.vj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2639
- };
2640
- protoOf(TypeScriptEmitter).yi = function (_this__u8e3s4) {
2641
- return this.wj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2693
+ protoOf(TypeScriptEmitter).vj = function (_this__u8e3s4) {
2694
+ return this.wj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2642
2695
  };
2643
2696
  protoOf(TypeScriptEmitter).zi = function (_this__u8e3s4) {
2644
- return this.xj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2697
+ return this.xj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2698
+ };
2699
+ protoOf(TypeScriptEmitter).aj = function (_this__u8e3s4) {
2700
+ return this.yj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2645
2701
  };
2646
- protoOf(TypeScriptEmitter).ej = function (_this__u8e3s4) {
2647
- return this.yj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2702
+ protoOf(TypeScriptEmitter).fj = function (_this__u8e3s4) {
2703
+ return this.zj(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2648
2704
  };
2649
- protoOf(TypeScriptEmitter).fi = function (_this__u8e3s4) {
2650
- return this.wh(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2705
+ protoOf(TypeScriptEmitter).hi = function (_this__u8e3s4) {
2706
+ return this.yh(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2651
2707
  };
2652
- protoOf(TypeScriptEmitter).zj = function (_this__u8e3s4) {
2653
- return this.ak(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2708
+ protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2709
+ return this.bk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2654
2710
  };
2655
- protoOf(TypeScriptEmitter).bk = function (_this__u8e3s4) {
2656
- return this.ck(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2711
+ protoOf(TypeScriptEmitter).ck = function (_this__u8e3s4) {
2712
+ return this.dk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2657
2713
  };
2658
- protoOf(TypeScriptEmitter).qj = function (_this__u8e3s4) {
2659
- return this.dk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2714
+ protoOf(TypeScriptEmitter).rj = function (_this__u8e3s4) {
2715
+ return this.ek(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2660
2716
  };
2661
- protoOf(TypeScriptEmitter).ek = function (_this__u8e3s4) {
2662
- return this.fk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2717
+ protoOf(TypeScriptEmitter).fk = function (_this__u8e3s4) {
2718
+ return this.gk(_this__u8e3s4, this.rh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2663
2719
  };
2664
2720
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2665
2721
  return function () {
2666
- return trimMargin('type ' + $this_emit.wi_1 + ' {\n |' + this$0.yi($this_emit.xi_1) + '\n |}\n |');
2722
+ return trimMargin('type ' + $this_emit.xi_1 + ' {\n |' + this$0.zi($this_emit.yi_1) + '\n |}\n |');
2667
2723
  };
2668
2724
  }
2669
2725
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2670
2726
  return function (it) {
2671
- return this$0.zi(it);
2727
+ return this$0.aj(it);
2672
2728
  };
2673
2729
  }
2674
2730
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2675
2731
  return function () {
2676
- return dropLast(joinToString($this_emit.aj_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2732
+ return dropLast(joinToString($this_emit.bj_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2677
2733
  };
2678
2734
  }
2679
2735
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2680
2736
  return function () {
2681
2737
  Companion_getInstance_2();
2682
- return ' ' + this$0.ej($this_emit.bj_1) + ($this_emit.dj_1 ? '?' : '') + ': ' + this$0.fi($this_emit.cj_1) + ',';
2738
+ return ' ' + this$0.fj($this_emit.cj_1) + ($this_emit.ej_1 ? '?' : '') + ': ' + this$0.hi($this_emit.dj_1) + ',';
2683
2739
  };
2684
2740
  }
2685
2741
  function WirespecEmitter$emit$lambda_2($this_emit) {
2686
2742
  return function () {
2687
- return $this_emit.fj_1;
2743
+ return $this_emit.gj_1;
2688
2744
  };
2689
2745
  }
2690
2746
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2697,10 +2753,10 @@
2697
2753
  tmp = 'Any';
2698
2754
  } else {
2699
2755
  if (tmp0_subject instanceof Custom) {
2700
- tmp = $this_emit.jj_1;
2756
+ tmp = $this_emit.kj_1;
2701
2757
  } else {
2702
2758
  if (tmp0_subject instanceof Primitive) {
2703
- var tmp1_subject = $this_emit.gj_1;
2759
+ var tmp1_subject = $this_emit.hj_1;
2704
2760
  var tmp0 = tmp1_subject.q4_1;
2705
2761
  var tmp_0;
2706
2762
  switch (tmp0) {
@@ -2727,7 +2783,7 @@
2727
2783
  // Inline function 'kotlin.contracts.contract' call
2728
2784
  var tmp$ret$0;
2729
2785
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
2730
- tmp$ret$0 = $this_emit.si() ? tmp0_let + '[]' : tmp0_let;
2786
+ tmp$ret$0 = $this_emit.ti() ? tmp0_let + '[]' : tmp0_let;
2731
2787
  tmp$ret$1 = tmp$ret$0;
2732
2788
  return tmp$ret$1;
2733
2789
  };
@@ -2735,17 +2791,17 @@
2735
2791
  function WirespecEmitter$emit$lambda_4($this_emit) {
2736
2792
  return function () {
2737
2793
  Companion_getInstance_2();
2738
- return 'enum ' + $this_emit.mj_1 + ' {\n' + ' ' + joinToString($this_emit.nj_1, ', ') + '\n}\n';
2794
+ return 'enum ' + $this_emit.nj_1 + ' {\n' + ' ' + joinToString($this_emit.oj_1, ', ') + '\n}\n';
2739
2795
  };
2740
2796
  }
2741
2797
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2742
2798
  return function () {
2743
- return 'refined ' + $this_emit.oj_1 + ' ' + this$0.qj($this_emit.pj_1) + '\n';
2799
+ return 'refined ' + $this_emit.pj_1 + ' ' + this$0.rj($this_emit.qj_1) + '\n';
2744
2800
  };
2745
2801
  }
2746
2802
  function WirespecEmitter$emit$lambda_6($this_emit) {
2747
2803
  return function () {
2748
- return '/' + dropLast(drop($this_emit.rj_1, 1), 1) + '/g';
2804
+ return '/' + dropLast(drop($this_emit.sj_1, 1), 1) + '/g';
2749
2805
  };
2750
2806
  }
2751
2807
  function WirespecEmitter$emit$lambda_7() {
@@ -2754,33 +2810,34 @@
2754
2810
  function WirespecEmitter(logger) {
2755
2811
  logger = logger === VOID ? get_noLogger() : logger;
2756
2812
  Emitter.call(this, logger);
2813
+ this.cl_1 = '';
2757
2814
  }
2758
- protoOf(WirespecEmitter).uj = function (_this__u8e3s4) {
2759
- return this.vj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2760
- };
2761
- protoOf(WirespecEmitter).yi = function (_this__u8e3s4) {
2762
- return this.wj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2815
+ protoOf(WirespecEmitter).vj = function (_this__u8e3s4) {
2816
+ return this.wj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2763
2817
  };
2764
2818
  protoOf(WirespecEmitter).zi = function (_this__u8e3s4) {
2765
- return this.xj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2819
+ return this.xj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2820
+ };
2821
+ protoOf(WirespecEmitter).aj = function (_this__u8e3s4) {
2822
+ return this.yj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2766
2823
  };
2767
- protoOf(WirespecEmitter).ej = function (_this__u8e3s4) {
2768
- return this.yj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2824
+ protoOf(WirespecEmitter).fj = function (_this__u8e3s4) {
2825
+ return this.zj(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2769
2826
  };
2770
- protoOf(WirespecEmitter).fi = function (_this__u8e3s4) {
2771
- return this.wh(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2827
+ protoOf(WirespecEmitter).hi = function (_this__u8e3s4) {
2828
+ return this.yh(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2772
2829
  };
2773
- protoOf(WirespecEmitter).zj = function (_this__u8e3s4) {
2774
- return this.ak(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2830
+ protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2831
+ return this.bk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2775
2832
  };
2776
- protoOf(WirespecEmitter).bk = function (_this__u8e3s4) {
2777
- return this.ck(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2833
+ protoOf(WirespecEmitter).ck = function (_this__u8e3s4) {
2834
+ return this.dk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2778
2835
  };
2779
- protoOf(WirespecEmitter).qj = function (_this__u8e3s4) {
2780
- return this.dk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2836
+ protoOf(WirespecEmitter).rj = function (_this__u8e3s4) {
2837
+ return this.ek(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2781
2838
  };
2782
- protoOf(WirespecEmitter).ek = function (_this__u8e3s4) {
2783
- return this.fk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_7);
2839
+ protoOf(WirespecEmitter).fk = function (_this__u8e3s4) {
2840
+ return this.gk(_this__u8e3s4, this.rh_1, WirespecEmitter$emit$lambda_7);
2784
2841
  };
2785
2842
  function get_DEFAULT_PACKAGE_NAME() {
2786
2843
  return DEFAULT_PACKAGE_NAME;
@@ -2788,9 +2845,9 @@
2788
2845
  var DEFAULT_PACKAGE_NAME;
2789
2846
  function Companion_1() {
2790
2847
  Companion_instance_1 = this;
2791
- this.qi_1 = ' ';
2848
+ this.wh_1 = ' ';
2792
2849
  }
2793
- protoOf(Companion_1).ri = function (_this__u8e3s4) {
2850
+ protoOf(Companion_1).si = function (_this__u8e3s4) {
2794
2851
  var tmp$ret$6;
2795
2852
  // Inline function 'kotlin.text.replaceFirstChar' call
2796
2853
  var tmp;
@@ -2824,7 +2881,7 @@
2824
2881
  tmp$ret$6 = tmp;
2825
2882
  return tmp$ret$6;
2826
2883
  };
2827
- protoOf(Companion_1).sj = function (_this__u8e3s4) {
2884
+ protoOf(Companion_1).tj = function (_this__u8e3s4) {
2828
2885
  var tmp$ret$6;
2829
2886
  // Inline function 'kotlin.text.replaceFirstChar' call
2830
2887
  var tmp;
@@ -2858,7 +2915,7 @@
2858
2915
  tmp$ret$6 = tmp;
2859
2916
  return tmp$ret$6;
2860
2917
  };
2861
- protoOf(Companion_1).ok = function (_this__u8e3s4) {
2918
+ protoOf(Companion_1).xh = function (_this__u8e3s4) {
2862
2919
  var tmp$ret$0;
2863
2920
  $l$block_0: {
2864
2921
  // Inline function 'kotlin.collections.any' call
@@ -2887,12 +2944,12 @@
2887
2944
  }
2888
2945
  return tmp$ret$0;
2889
2946
  };
2890
- protoOf(Companion_1).wk = function (_this__u8e3s4, content) {
2947
+ protoOf(Companion_1).zk = function (_this__u8e3s4, content) {
2891
2948
  var tmp$ret$4;
2892
2949
  // Inline function 'kotlin.collections.map' call
2893
2950
  var tmp$ret$1;
2894
2951
  // Inline function 'kotlin.collections.filterIsInstance' call
2895
- var tmp1_filterIsInstance = _this__u8e3s4.ii_1;
2952
+ var tmp1_filterIsInstance = _this__u8e3s4.ki_1;
2896
2953
  var tmp$ret$0;
2897
2954
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2898
2955
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2914,18 +2971,18 @@
2914
2971
  var item = tmp0_iterator_0.e();
2915
2972
  var tmp$ret$2;
2916
2973
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2917
- tmp$ret$2 = new Field(item.ui_1, item.vi_1, false);
2974
+ tmp$ret$2 = new Field(item.vi_1, item.wi_1, false);
2918
2975
  tmp2_mapTo.a(tmp$ret$2);
2919
2976
  }
2920
2977
  tmp$ret$3 = tmp2_mapTo;
2921
2978
  tmp$ret$4 = tmp$ret$3;
2922
2979
  var pathField = tmp$ret$4;
2923
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.ji_1), _this__u8e3s4.ki_1), _this__u8e3s4.li_1);
2980
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.li_1), _this__u8e3s4.mi_1), _this__u8e3s4.ni_1);
2924
2981
  var tmp0_safe_receiver = content;
2925
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zh_1;
2982
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bi_1;
2926
2983
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2927
2984
  };
2928
- protoOf(Companion_1).gk = function (_this__u8e3s4) {
2985
+ protoOf(Companion_1).mk = function (_this__u8e3s4) {
2929
2986
  return !(toIntOrNull(_this__u8e3s4) == null);
2930
2987
  };
2931
2988
  var Companion_instance_1;
@@ -2960,16 +3017,16 @@
2960
3017
  var tmp0_subject = item;
2961
3018
  var tmp;
2962
3019
  if (tmp0_subject instanceof Type_0) {
2963
- tmp = to(item.wi_1, this.uj(item));
3020
+ tmp = to(item.xi_1, this.vj(item));
2964
3021
  } else {
2965
3022
  if (tmp0_subject instanceof Endpoint) {
2966
- tmp = to(item.gi_1, this.ek(item));
3023
+ tmp = to(item.ii_1, this.fk(item));
2967
3024
  } else {
2968
3025
  if (tmp0_subject instanceof Enum_0) {
2969
- tmp = to(item.mj_1, this.zj(item));
3026
+ tmp = to(item.nj_1, this.ak(item));
2970
3027
  } else {
2971
3028
  if (tmp0_subject instanceof Refined) {
2972
- tmp = to(item.oj_1, this.bk(item));
3029
+ tmp = to(item.pj_1, this.ck(item));
2973
3030
  } else {
2974
3031
  noWhenBranchMatchedException();
2975
3032
  }
@@ -3008,7 +3065,7 @@
3008
3065
  captureStack(this, NextException);
3009
3066
  }
3010
3067
  function WrongTokenException(expected, actual) {
3011
- ParserException.call(this, actual.cl_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.al_1).fc() + ' at line ' + actual.cl_1.dl_1 + ' and position ' + (actual.cl_1.el_1 - actual.bl_1.length | 0));
3068
+ ParserException.call(this, actual.gl_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.el_1).fc() + ' at line ' + actual.gl_1.hl_1 + ' and position ' + (actual.gl_1.il_1 - actual.fl_1.length | 0));
3012
3069
  captureStack(this, WrongTokenException);
3013
3070
  }
3014
3071
  function NullTokenException(message, coordinates) {
@@ -3026,7 +3083,7 @@
3026
3083
  function WirespecException(message, coordinates) {
3027
3084
  RuntimeException_init_$Init$(message, this);
3028
3085
  captureStack(this, WirespecException);
3029
- this.gl_1 = coordinates;
3086
+ this.kl_1 = coordinates;
3030
3087
  }
3031
3088
  function optimize(_this__u8e3s4) {
3032
3089
  var tmp$ret$4;
@@ -3034,10 +3091,10 @@
3034
3091
  var tmp$ret$0;
3035
3092
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3036
3093
  var tmp2__anonymous__z9zvc9 = _this__u8e3s4.ug_1;
3037
- var tmp0_subject = tmp2__anonymous__z9zvc9.al_1;
3094
+ var tmp0_subject = tmp2__anonymous__z9zvc9.el_1;
3038
3095
  var tmp;
3039
3096
  if (tmp0_subject instanceof CustomRegex) {
3040
- tmp = tmp2__anonymous__z9zvc9.hl(VOID, '"' + dropLast(drop(tmp2__anonymous__z9zvc9.bl_1, 1), 2) + '"');
3097
+ tmp = tmp2__anonymous__z9zvc9.ll(VOID, '"' + dropLast(drop(tmp2__anonymous__z9zvc9.fl_1, 1), 2) + '"');
3041
3098
  } else {
3042
3099
  tmp = tmp2__anonymous__z9zvc9;
3043
3100
  }
@@ -3054,10 +3111,10 @@
3054
3111
  var item = tmp0_iterator.e();
3055
3112
  var tmp$ret$1;
3056
3113
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
3057
- var tmp0_subject_0 = item.al_1;
3114
+ var tmp0_subject_0 = item.el_1;
3058
3115
  var tmp_1;
3059
3116
  if (tmp0_subject_0 instanceof CustomRegex) {
3060
- tmp_1 = item.hl(VOID, '"' + dropLast(drop(item.bl_1, 1), 2) + '"');
3117
+ tmp_1 = item.ll(VOID, '"' + dropLast(drop(item.fl_1, 1), 2) + '"');
3061
3118
  } else {
3062
3119
  tmp_1 = item;
3063
3120
  }
@@ -3098,29 +3155,29 @@
3098
3155
  }
3099
3156
  function Any(isIterable, isMap) {
3100
3157
  isMap = isMap === VOID ? false : isMap;
3101
- this.il_1 = isIterable;
3102
- this.jl_1 = isMap;
3158
+ this.ml_1 = isIterable;
3159
+ this.nl_1 = isMap;
3103
3160
  }
3104
- protoOf(Any).si = function () {
3105
- return this.il_1;
3161
+ protoOf(Any).ti = function () {
3162
+ return this.ml_1;
3106
3163
  };
3107
- protoOf(Any).nk = function () {
3108
- return this.jl_1;
3164
+ protoOf(Any).pk = function () {
3165
+ return this.nl_1;
3109
3166
  };
3110
- protoOf(Any).kl = function (isIterable, isMap) {
3167
+ protoOf(Any).ol = function (isIterable, isMap) {
3111
3168
  return new Any(isIterable, isMap);
3112
3169
  };
3113
- protoOf(Any).ll = function (isIterable, isMap, $super) {
3114
- isIterable = isIterable === VOID ? this.il_1 : isIterable;
3115
- isMap = isMap === VOID ? this.jl_1 : isMap;
3116
- return $super === VOID ? this.kl(isIterable, isMap) : $super.kl.call(this, isIterable, isMap);
3170
+ protoOf(Any).pl = function (isIterable, isMap, $super) {
3171
+ isIterable = isIterable === VOID ? this.ml_1 : isIterable;
3172
+ isMap = isMap === VOID ? this.nl_1 : isMap;
3173
+ return $super === VOID ? this.ol(isIterable, isMap) : $super.ol.call(this, isIterable, isMap);
3117
3174
  };
3118
3175
  protoOf(Any).toString = function () {
3119
- return 'Any(isIterable=' + this.il_1 + ', isMap=' + this.jl_1 + ')';
3176
+ return 'Any(isIterable=' + this.ml_1 + ', isMap=' + this.nl_1 + ')';
3120
3177
  };
3121
3178
  protoOf(Any).hashCode = function () {
3122
- var result = this.il_1 | 0;
3123
- result = imul(result, 31) + (this.jl_1 | 0) | 0;
3179
+ var result = this.ml_1 | 0;
3180
+ result = imul(result, 31) + (this.nl_1 | 0) | 0;
3124
3181
  return result;
3125
3182
  };
3126
3183
  protoOf(Any).equals = function (other) {
@@ -3129,40 +3186,40 @@
3129
3186
  if (!(other instanceof Any))
3130
3187
  return false;
3131
3188
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3132
- if (!(this.il_1 === tmp0_other_with_cast.il_1))
3189
+ if (!(this.ml_1 === tmp0_other_with_cast.ml_1))
3133
3190
  return false;
3134
- if (!(this.jl_1 === tmp0_other_with_cast.jl_1))
3191
+ if (!(this.nl_1 === tmp0_other_with_cast.nl_1))
3135
3192
  return false;
3136
3193
  return true;
3137
3194
  };
3138
3195
  function Custom(value, isIterable, isMap) {
3139
3196
  isMap = isMap === VOID ? false : isMap;
3140
- this.jj_1 = value;
3141
- this.kj_1 = isIterable;
3142
- this.lj_1 = isMap;
3197
+ this.kj_1 = value;
3198
+ this.lj_1 = isIterable;
3199
+ this.mj_1 = isMap;
3143
3200
  }
3144
- protoOf(Custom).si = function () {
3145
- return this.kj_1;
3146
- };
3147
- protoOf(Custom).nk = function () {
3201
+ protoOf(Custom).ti = function () {
3148
3202
  return this.lj_1;
3149
3203
  };
3150
- protoOf(Custom).ml = function (value, isIterable, isMap) {
3204
+ protoOf(Custom).pk = function () {
3205
+ return this.mj_1;
3206
+ };
3207
+ protoOf(Custom).ql = function (value, isIterable, isMap) {
3151
3208
  return new Custom(value, isIterable, isMap);
3152
3209
  };
3153
- protoOf(Custom).nl = function (value, isIterable, isMap, $super) {
3154
- value = value === VOID ? this.jj_1 : value;
3155
- isIterable = isIterable === VOID ? this.kj_1 : isIterable;
3156
- isMap = isMap === VOID ? this.lj_1 : isMap;
3157
- return $super === VOID ? this.ml(value, isIterable, isMap) : $super.ml.call(this, value, isIterable, isMap);
3210
+ protoOf(Custom).rl = function (value, isIterable, isMap, $super) {
3211
+ value = value === VOID ? this.kj_1 : value;
3212
+ isIterable = isIterable === VOID ? this.lj_1 : isIterable;
3213
+ isMap = isMap === VOID ? this.mj_1 : isMap;
3214
+ return $super === VOID ? this.ql(value, isIterable, isMap) : $super.ql.call(this, value, isIterable, isMap);
3158
3215
  };
3159
3216
  protoOf(Custom).toString = function () {
3160
- return 'Custom(value=' + this.jj_1 + ', isIterable=' + this.kj_1 + ', isMap=' + this.lj_1 + ')';
3217
+ return 'Custom(value=' + this.kj_1 + ', isIterable=' + this.lj_1 + ', isMap=' + this.mj_1 + ')';
3161
3218
  };
3162
3219
  protoOf(Custom).hashCode = function () {
3163
- var result = getStringHashCode(this.jj_1);
3164
- result = imul(result, 31) + (this.kj_1 | 0) | 0;
3220
+ var result = getStringHashCode(this.kj_1);
3165
3221
  result = imul(result, 31) + (this.lj_1 | 0) | 0;
3222
+ result = imul(result, 31) + (this.mj_1 | 0) | 0;
3166
3223
  return result;
3167
3224
  };
3168
3225
  protoOf(Custom).equals = function (other) {
@@ -3171,42 +3228,42 @@
3171
3228
  if (!(other instanceof Custom))
3172
3229
  return false;
3173
3230
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
3174
- if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3175
- return false;
3176
3231
  if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3177
3232
  return false;
3178
3233
  if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3179
3234
  return false;
3235
+ if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3236
+ return false;
3180
3237
  return true;
3181
3238
  };
3182
3239
  function Primitive(type, isIterable, isMap) {
3183
3240
  isMap = isMap === VOID ? false : isMap;
3184
- this.gj_1 = type;
3185
- this.hj_1 = isIterable;
3186
- this.ij_1 = isMap;
3241
+ this.hj_1 = type;
3242
+ this.ij_1 = isIterable;
3243
+ this.jj_1 = isMap;
3187
3244
  }
3188
- protoOf(Primitive).si = function () {
3189
- return this.hj_1;
3190
- };
3191
- protoOf(Primitive).nk = function () {
3245
+ protoOf(Primitive).ti = function () {
3192
3246
  return this.ij_1;
3193
3247
  };
3194
- protoOf(Primitive).ol = function (type, isIterable, isMap) {
3248
+ protoOf(Primitive).pk = function () {
3249
+ return this.jj_1;
3250
+ };
3251
+ protoOf(Primitive).sl = function (type, isIterable, isMap) {
3195
3252
  return new Primitive(type, isIterable, isMap);
3196
3253
  };
3197
- protoOf(Primitive).pl = function (type, isIterable, isMap, $super) {
3198
- type = type === VOID ? this.gj_1 : type;
3199
- isIterable = isIterable === VOID ? this.hj_1 : isIterable;
3200
- isMap = isMap === VOID ? this.ij_1 : isMap;
3201
- return $super === VOID ? this.ol(type, isIterable, isMap) : $super.ol.call(this, type, isIterable, isMap);
3254
+ protoOf(Primitive).tl = function (type, isIterable, isMap, $super) {
3255
+ type = type === VOID ? this.hj_1 : type;
3256
+ isIterable = isIterable === VOID ? this.ij_1 : isIterable;
3257
+ isMap = isMap === VOID ? this.jj_1 : isMap;
3258
+ return $super === VOID ? this.sl(type, isIterable, isMap) : $super.sl.call(this, type, isIterable, isMap);
3202
3259
  };
3203
3260
  protoOf(Primitive).toString = function () {
3204
- return 'Primitive(type=' + this.gj_1 + ', isIterable=' + this.hj_1 + ', isMap=' + this.ij_1 + ')';
3261
+ return 'Primitive(type=' + this.hj_1 + ', isIterable=' + this.ij_1 + ', isMap=' + this.jj_1 + ')';
3205
3262
  };
3206
3263
  protoOf(Primitive).hashCode = function () {
3207
- var result = this.gj_1.hashCode();
3208
- result = imul(result, 31) + (this.hj_1 | 0) | 0;
3264
+ var result = this.hj_1.hashCode();
3209
3265
  result = imul(result, 31) + (this.ij_1 | 0) | 0;
3266
+ result = imul(result, 31) + (this.jj_1 | 0) | 0;
3210
3267
  return result;
3211
3268
  };
3212
3269
  protoOf(Primitive).equals = function (other) {
@@ -3215,22 +3272,22 @@
3215
3272
  if (!(other instanceof Primitive))
3216
3273
  return false;
3217
3274
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
3218
- if (!this.gj_1.equals(tmp0_other_with_cast.gj_1))
3219
- return false;
3220
- if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3275
+ if (!this.hj_1.equals(tmp0_other_with_cast.hj_1))
3221
3276
  return false;
3222
3277
  if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3223
3278
  return false;
3279
+ if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3280
+ return false;
3224
3281
  return true;
3225
3282
  };
3226
3283
  function Identifier(value) {
3227
- this.fj_1 = value;
3284
+ this.gj_1 = value;
3228
3285
  }
3229
3286
  protoOf(Identifier).toString = function () {
3230
- return 'Identifier(value=' + this.fj_1 + ')';
3287
+ return 'Identifier(value=' + this.gj_1 + ')';
3231
3288
  };
3232
3289
  protoOf(Identifier).hashCode = function () {
3233
- return getStringHashCode(this.fj_1);
3290
+ return getStringHashCode(this.gj_1);
3234
3291
  };
3235
3292
  protoOf(Identifier).equals = function (other) {
3236
3293
  if (this === other)
@@ -3238,22 +3295,22 @@
3238
3295
  if (!(other instanceof Identifier))
3239
3296
  return false;
3240
3297
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
3241
- if (!(this.fj_1 === tmp0_other_with_cast.fj_1))
3298
+ if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
3242
3299
  return false;
3243
3300
  return true;
3244
3301
  };
3245
3302
  function Field(identifier, reference, isNullable) {
3246
- this.bj_1 = identifier;
3247
- this.cj_1 = reference;
3248
- this.dj_1 = isNullable;
3303
+ this.cj_1 = identifier;
3304
+ this.dj_1 = reference;
3305
+ this.ej_1 = isNullable;
3249
3306
  }
3250
3307
  protoOf(Field).toString = function () {
3251
- return 'Field(identifier=' + this.bj_1 + ', reference=' + this.cj_1 + ', isNullable=' + this.dj_1 + ')';
3308
+ return 'Field(identifier=' + this.cj_1 + ', reference=' + this.dj_1 + ', isNullable=' + this.ej_1 + ')';
3252
3309
  };
3253
3310
  protoOf(Field).hashCode = function () {
3254
- var result = this.bj_1.hashCode();
3255
- result = imul(result, 31) + hashCode(this.cj_1) | 0;
3256
- result = imul(result, 31) + (this.dj_1 | 0) | 0;
3311
+ var result = this.cj_1.hashCode();
3312
+ result = imul(result, 31) + hashCode(this.dj_1) | 0;
3313
+ result = imul(result, 31) + (this.ej_1 | 0) | 0;
3257
3314
  return result;
3258
3315
  };
3259
3316
  protoOf(Field).equals = function (other) {
@@ -3262,22 +3319,22 @@
3262
3319
  if (!(other instanceof Field))
3263
3320
  return false;
3264
3321
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
3265
- if (!this.bj_1.equals(tmp0_other_with_cast.bj_1))
3322
+ if (!this.cj_1.equals(tmp0_other_with_cast.cj_1))
3266
3323
  return false;
3267
- if (!equals(this.cj_1, tmp0_other_with_cast.cj_1))
3324
+ if (!equals(this.dj_1, tmp0_other_with_cast.dj_1))
3268
3325
  return false;
3269
- if (!(this.dj_1 === tmp0_other_with_cast.dj_1))
3326
+ if (!(this.ej_1 === tmp0_other_with_cast.ej_1))
3270
3327
  return false;
3271
3328
  return true;
3272
3329
  };
3273
3330
  function Shape(value) {
3274
- this.aj_1 = value;
3331
+ this.bj_1 = value;
3275
3332
  }
3276
3333
  protoOf(Shape).toString = function () {
3277
- return 'Shape(value=' + this.aj_1 + ')';
3334
+ return 'Shape(value=' + this.bj_1 + ')';
3278
3335
  };
3279
3336
  protoOf(Shape).hashCode = function () {
3280
- return hashCode(this.aj_1);
3337
+ return hashCode(this.bj_1);
3281
3338
  };
3282
3339
  protoOf(Shape).equals = function (other) {
3283
3340
  if (this === other)
@@ -3285,20 +3342,20 @@
3285
3342
  if (!(other instanceof Shape))
3286
3343
  return false;
3287
3344
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
3288
- if (!equals(this.aj_1, tmp0_other_with_cast.aj_1))
3345
+ if (!equals(this.bj_1, tmp0_other_with_cast.bj_1))
3289
3346
  return false;
3290
3347
  return true;
3291
3348
  };
3292
3349
  function Type_0(name, shape) {
3293
- this.wi_1 = name;
3294
- this.xi_1 = shape;
3350
+ this.xi_1 = name;
3351
+ this.yi_1 = shape;
3295
3352
  }
3296
3353
  protoOf(Type_0).toString = function () {
3297
- return 'Type(name=' + this.wi_1 + ', shape=' + this.xi_1 + ')';
3354
+ return 'Type(name=' + this.xi_1 + ', shape=' + this.yi_1 + ')';
3298
3355
  };
3299
3356
  protoOf(Type_0).hashCode = function () {
3300
- var result = getStringHashCode(this.wi_1);
3301
- result = imul(result, 31) + this.xi_1.hashCode() | 0;
3357
+ var result = getStringHashCode(this.xi_1);
3358
+ result = imul(result, 31) + this.yi_1.hashCode() | 0;
3302
3359
  return result;
3303
3360
  };
3304
3361
  protoOf(Type_0).equals = function (other) {
@@ -3307,9 +3364,9 @@
3307
3364
  if (!(other instanceof Type_0))
3308
3365
  return false;
3309
3366
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
3310
- if (!(this.wi_1 === tmp0_other_with_cast.wi_1))
3367
+ if (!(this.xi_1 === tmp0_other_with_cast.xi_1))
3311
3368
  return false;
3312
- if (!this.xi_1.equals(tmp0_other_with_cast.xi_1))
3369
+ if (!this.yi_1.equals(tmp0_other_with_cast.yi_1))
3313
3370
  return false;
3314
3371
  return true;
3315
3372
  };
@@ -3339,13 +3396,13 @@
3339
3396
  Method_TRACE_instance = new Method('TRACE', 7);
3340
3397
  }
3341
3398
  function Literal(value) {
3342
- this.tj_1 = value;
3399
+ this.uj_1 = value;
3343
3400
  }
3344
3401
  protoOf(Literal).toString = function () {
3345
- return 'Literal(value=' + this.tj_1 + ')';
3402
+ return 'Literal(value=' + this.uj_1 + ')';
3346
3403
  };
3347
3404
  protoOf(Literal).hashCode = function () {
3348
- return getStringHashCode(this.tj_1);
3405
+ return getStringHashCode(this.uj_1);
3349
3406
  };
3350
3407
  protoOf(Literal).equals = function (other) {
3351
3408
  if (this === other)
@@ -3353,20 +3410,20 @@
3353
3410
  if (!(other instanceof Literal))
3354
3411
  return false;
3355
3412
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
3356
- if (!(this.tj_1 === tmp0_other_with_cast.tj_1))
3413
+ if (!(this.uj_1 === tmp0_other_with_cast.uj_1))
3357
3414
  return false;
3358
3415
  return true;
3359
3416
  };
3360
3417
  function Param(identifier, reference) {
3361
- this.ui_1 = identifier;
3362
- this.vi_1 = reference;
3418
+ this.vi_1 = identifier;
3419
+ this.wi_1 = reference;
3363
3420
  }
3364
3421
  protoOf(Param).toString = function () {
3365
- return 'Param(identifier=' + this.ui_1 + ', reference=' + this.vi_1 + ')';
3422
+ return 'Param(identifier=' + this.vi_1 + ', reference=' + this.wi_1 + ')';
3366
3423
  };
3367
3424
  protoOf(Param).hashCode = function () {
3368
- var result = this.ui_1.hashCode();
3369
- result = imul(result, 31) + hashCode(this.vi_1) | 0;
3425
+ var result = this.vi_1.hashCode();
3426
+ result = imul(result, 31) + hashCode(this.wi_1) | 0;
3370
3427
  return result;
3371
3428
  };
3372
3429
  protoOf(Param).equals = function (other) {
@@ -3375,9 +3432,9 @@
3375
3432
  if (!(other instanceof Param))
3376
3433
  return false;
3377
3434
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
3378
- if (!this.ui_1.equals(tmp0_other_with_cast.ui_1))
3435
+ if (!this.vi_1.equals(tmp0_other_with_cast.vi_1))
3379
3436
  return false;
3380
- if (!equals(this.vi_1, tmp0_other_with_cast.vi_1))
3437
+ if (!equals(this.wi_1, tmp0_other_with_cast.wi_1))
3381
3438
  return false;
3382
3439
  return true;
3383
3440
  };
@@ -3385,13 +3442,13 @@
3385
3442
  Enum.call(this, name, ordinal);
3386
3443
  }
3387
3444
  function Request(content) {
3388
- this.xh_1 = content;
3445
+ this.zh_1 = content;
3389
3446
  }
3390
3447
  protoOf(Request).toString = function () {
3391
- return 'Request(content=' + this.xh_1 + ')';
3448
+ return 'Request(content=' + this.zh_1 + ')';
3392
3449
  };
3393
3450
  protoOf(Request).hashCode = function () {
3394
- return this.xh_1 == null ? 0 : this.xh_1.hashCode();
3451
+ return this.zh_1 == null ? 0 : this.zh_1.hashCode();
3395
3452
  };
3396
3453
  protoOf(Request).equals = function (other) {
3397
3454
  if (this === other)
@@ -3399,20 +3456,20 @@
3399
3456
  if (!(other instanceof Request))
3400
3457
  return false;
3401
3458
  var tmp0_other_with_cast = other instanceof Request ? other : THROW_CCE();
3402
- if (!equals(this.xh_1, tmp0_other_with_cast.xh_1))
3459
+ if (!equals(this.zh_1, tmp0_other_with_cast.zh_1))
3403
3460
  return false;
3404
3461
  return true;
3405
3462
  };
3406
3463
  function Response(status, content) {
3407
- this.oi_1 = status;
3408
- this.pi_1 = content;
3464
+ this.qi_1 = status;
3465
+ this.ri_1 = content;
3409
3466
  }
3410
3467
  protoOf(Response).toString = function () {
3411
- return 'Response(status=' + this.oi_1 + ', content=' + this.pi_1 + ')';
3468
+ return 'Response(status=' + this.qi_1 + ', content=' + this.ri_1 + ')';
3412
3469
  };
3413
3470
  protoOf(Response).hashCode = function () {
3414
- var result = getStringHashCode(this.oi_1);
3415
- result = imul(result, 31) + (this.pi_1 == null ? 0 : this.pi_1.hashCode()) | 0;
3471
+ var result = getStringHashCode(this.qi_1);
3472
+ result = imul(result, 31) + (this.ri_1 == null ? 0 : this.ri_1.hashCode()) | 0;
3416
3473
  return result;
3417
3474
  };
3418
3475
  protoOf(Response).equals = function (other) {
@@ -3421,24 +3478,24 @@
3421
3478
  if (!(other instanceof Response))
3422
3479
  return false;
3423
3480
  var tmp0_other_with_cast = other instanceof Response ? other : THROW_CCE();
3424
- if (!(this.oi_1 === tmp0_other_with_cast.oi_1))
3481
+ if (!(this.qi_1 === tmp0_other_with_cast.qi_1))
3425
3482
  return false;
3426
- if (!equals(this.pi_1, tmp0_other_with_cast.pi_1))
3483
+ if (!equals(this.ri_1, tmp0_other_with_cast.ri_1))
3427
3484
  return false;
3428
3485
  return true;
3429
3486
  };
3430
3487
  function Content(type, reference, isNullable) {
3431
- this.yh_1 = type;
3432
- this.zh_1 = reference;
3433
- this.ai_1 = isNullable;
3488
+ this.ai_1 = type;
3489
+ this.bi_1 = reference;
3490
+ this.ci_1 = isNullable;
3434
3491
  }
3435
3492
  protoOf(Content).toString = function () {
3436
- return 'Content(type=' + this.yh_1 + ', reference=' + this.zh_1 + ', isNullable=' + this.ai_1 + ')';
3493
+ return 'Content(type=' + this.ai_1 + ', reference=' + this.bi_1 + ', isNullable=' + this.ci_1 + ')';
3437
3494
  };
3438
3495
  protoOf(Content).hashCode = function () {
3439
- var result = getStringHashCode(this.yh_1);
3440
- result = imul(result, 31) + hashCode(this.zh_1) | 0;
3441
- result = imul(result, 31) + (this.ai_1 | 0) | 0;
3496
+ var result = getStringHashCode(this.ai_1);
3497
+ result = imul(result, 31) + hashCode(this.bi_1) | 0;
3498
+ result = imul(result, 31) + (this.ci_1 | 0) | 0;
3442
3499
  return result;
3443
3500
  };
3444
3501
  protoOf(Content).equals = function (other) {
@@ -3447,11 +3504,11 @@
3447
3504
  if (!(other instanceof Content))
3448
3505
  return false;
3449
3506
  var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
3450
- if (!(this.yh_1 === tmp0_other_with_cast.yh_1))
3507
+ if (!(this.ai_1 === tmp0_other_with_cast.ai_1))
3451
3508
  return false;
3452
- if (!equals(this.zh_1, tmp0_other_with_cast.zh_1))
3509
+ if (!equals(this.bi_1, tmp0_other_with_cast.bi_1))
3453
3510
  return false;
3454
- if (!(this.ai_1 === tmp0_other_with_cast.ai_1))
3511
+ if (!(this.ci_1 === tmp0_other_with_cast.ci_1))
3455
3512
  return false;
3456
3513
  return true;
3457
3514
  };
@@ -3488,27 +3545,27 @@
3488
3545
  return Method_TRACE_instance;
3489
3546
  }
3490
3547
  function Endpoint(name, method, path, query, headers, cookies, requests, responses) {
3491
- this.gi_1 = name;
3492
- this.hi_1 = method;
3493
- this.ii_1 = path;
3494
- this.ji_1 = query;
3495
- this.ki_1 = headers;
3496
- this.li_1 = cookies;
3497
- this.mi_1 = requests;
3498
- this.ni_1 = responses;
3548
+ this.ii_1 = name;
3549
+ this.ji_1 = method;
3550
+ this.ki_1 = path;
3551
+ this.li_1 = query;
3552
+ this.mi_1 = headers;
3553
+ this.ni_1 = cookies;
3554
+ this.oi_1 = requests;
3555
+ this.pi_1 = responses;
3499
3556
  }
3500
3557
  protoOf(Endpoint).toString = function () {
3501
- return 'Endpoint(name=' + this.gi_1 + ', method=' + this.hi_1 + ', path=' + this.ii_1 + ', query=' + this.ji_1 + ', headers=' + this.ki_1 + ', cookies=' + this.li_1 + ', requests=' + this.mi_1 + ', responses=' + this.ni_1 + ')';
3558
+ return 'Endpoint(name=' + this.ii_1 + ', method=' + this.ji_1 + ', path=' + this.ki_1 + ', query=' + this.li_1 + ', headers=' + this.mi_1 + ', cookies=' + this.ni_1 + ', requests=' + this.oi_1 + ', responses=' + this.pi_1 + ')';
3502
3559
  };
3503
3560
  protoOf(Endpoint).hashCode = function () {
3504
- var result = getStringHashCode(this.gi_1);
3505
- result = imul(result, 31) + this.hi_1.hashCode() | 0;
3506
- result = imul(result, 31) + hashCode(this.ii_1) | 0;
3507
- result = imul(result, 31) + hashCode(this.ji_1) | 0;
3561
+ var result = getStringHashCode(this.ii_1);
3562
+ result = imul(result, 31) + this.ji_1.hashCode() | 0;
3508
3563
  result = imul(result, 31) + hashCode(this.ki_1) | 0;
3509
3564
  result = imul(result, 31) + hashCode(this.li_1) | 0;
3510
3565
  result = imul(result, 31) + hashCode(this.mi_1) | 0;
3511
3566
  result = imul(result, 31) + hashCode(this.ni_1) | 0;
3567
+ result = imul(result, 31) + hashCode(this.oi_1) | 0;
3568
+ result = imul(result, 31) + hashCode(this.pi_1) | 0;
3512
3569
  return result;
3513
3570
  };
3514
3571
  protoOf(Endpoint).equals = function (other) {
@@ -3517,13 +3574,9 @@
3517
3574
  if (!(other instanceof Endpoint))
3518
3575
  return false;
3519
3576
  var tmp0_other_with_cast = other instanceof Endpoint ? other : THROW_CCE();
3520
- if (!(this.gi_1 === tmp0_other_with_cast.gi_1))
3521
- return false;
3522
- if (!this.hi_1.equals(tmp0_other_with_cast.hi_1))
3523
- return false;
3524
- if (!equals(this.ii_1, tmp0_other_with_cast.ii_1))
3577
+ if (!(this.ii_1 === tmp0_other_with_cast.ii_1))
3525
3578
  return false;
3526
- if (!equals(this.ji_1, tmp0_other_with_cast.ji_1))
3579
+ if (!this.ji_1.equals(tmp0_other_with_cast.ji_1))
3527
3580
  return false;
3528
3581
  if (!equals(this.ki_1, tmp0_other_with_cast.ki_1))
3529
3582
  return false;
@@ -3533,18 +3586,22 @@
3533
3586
  return false;
3534
3587
  if (!equals(this.ni_1, tmp0_other_with_cast.ni_1))
3535
3588
  return false;
3589
+ if (!equals(this.oi_1, tmp0_other_with_cast.oi_1))
3590
+ return false;
3591
+ if (!equals(this.pi_1, tmp0_other_with_cast.pi_1))
3592
+ return false;
3536
3593
  return true;
3537
3594
  };
3538
3595
  function Enum_0(name, entries) {
3539
- this.mj_1 = name;
3540
- this.nj_1 = entries;
3596
+ this.nj_1 = name;
3597
+ this.oj_1 = entries;
3541
3598
  }
3542
3599
  protoOf(Enum_0).toString = function () {
3543
- return 'Enum(name=' + this.mj_1 + ', entries=' + this.nj_1 + ')';
3600
+ return 'Enum(name=' + this.nj_1 + ', entries=' + this.oj_1 + ')';
3544
3601
  };
3545
3602
  protoOf(Enum_0).hashCode = function () {
3546
- var result = getStringHashCode(this.mj_1);
3547
- result = imul(result, 31) + hashCode(this.nj_1) | 0;
3603
+ var result = getStringHashCode(this.nj_1);
3604
+ result = imul(result, 31) + hashCode(this.oj_1) | 0;
3548
3605
  return result;
3549
3606
  };
3550
3607
  protoOf(Enum_0).equals = function (other) {
@@ -3553,20 +3610,20 @@
3553
3610
  if (!(other instanceof Enum_0))
3554
3611
  return false;
3555
3612
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
3556
- if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3613
+ if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
3557
3614
  return false;
3558
- if (!equals(this.nj_1, tmp0_other_with_cast.nj_1))
3615
+ if (!equals(this.oj_1, tmp0_other_with_cast.oj_1))
3559
3616
  return false;
3560
3617
  return true;
3561
3618
  };
3562
3619
  function Validator(value) {
3563
- this.rj_1 = value;
3620
+ this.sj_1 = value;
3564
3621
  }
3565
3622
  protoOf(Validator).toString = function () {
3566
- return 'Validator(value=' + this.rj_1 + ')';
3623
+ return 'Validator(value=' + this.sj_1 + ')';
3567
3624
  };
3568
3625
  protoOf(Validator).hashCode = function () {
3569
- return getStringHashCode(this.rj_1);
3626
+ return getStringHashCode(this.sj_1);
3570
3627
  };
3571
3628
  protoOf(Validator).equals = function (other) {
3572
3629
  if (this === other)
@@ -3574,20 +3631,20 @@
3574
3631
  if (!(other instanceof Validator))
3575
3632
  return false;
3576
3633
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
3577
- if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
3634
+ if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
3578
3635
  return false;
3579
3636
  return true;
3580
3637
  };
3581
3638
  function Refined(name, validator) {
3582
- this.oj_1 = name;
3583
- this.pj_1 = validator;
3639
+ this.pj_1 = name;
3640
+ this.qj_1 = validator;
3584
3641
  }
3585
3642
  protoOf(Refined).toString = function () {
3586
- return 'Refined(name=' + this.oj_1 + ', validator=' + this.pj_1 + ')';
3643
+ return 'Refined(name=' + this.pj_1 + ', validator=' + this.qj_1 + ')';
3587
3644
  };
3588
3645
  protoOf(Refined).hashCode = function () {
3589
- var result = getStringHashCode(this.oj_1);
3590
- result = imul(result, 31) + this.pj_1.hashCode() | 0;
3646
+ var result = getStringHashCode(this.pj_1);
3647
+ result = imul(result, 31) + this.qj_1.hashCode() | 0;
3591
3648
  return result;
3592
3649
  };
3593
3650
  protoOf(Refined).equals = function (other) {
@@ -3596,9 +3653,9 @@
3596
3653
  if (!(other instanceof Refined))
3597
3654
  return false;
3598
3655
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
3599
- if (!(this.oj_1 === tmp0_other_with_cast.oj_1))
3656
+ if (!(this.pj_1 === tmp0_other_with_cast.pj_1))
3600
3657
  return false;
3601
- if (!this.pj_1.equals(tmp0_other_with_cast.pj_1))
3658
+ if (!this.qj_1.equals(tmp0_other_with_cast.qj_1))
3602
3659
  return false;
3603
3660
  return true;
3604
3661
  };
@@ -3697,8 +3754,8 @@
3697
3754
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3698
3755
  var tmp$ret$2;
3699
3756
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3700
- log(_this__u8e3s4.sl_1, $this);
3701
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3757
+ log(_this__u8e3s4.wl_1, $this);
3758
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
3702
3759
  var tmp_0;
3703
3760
  if (tmp0_subject instanceof WsTypeDef) {
3704
3761
  tmp_0 = raise.fh(parseTypeDeclaration(_this__u8e3s4, $this));
@@ -3713,10 +3770,10 @@
3713
3770
  // Inline function 'arrow.core.nel' call
3714
3771
  var tmp$ret$0;
3715
3772
  // Inline function 'kotlin.also' call
3716
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.sl_1);
3773
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.wl_1);
3717
3774
  // Inline function 'kotlin.contracts.contract' call
3718
3775
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3719
- raise.fh(_this__u8e3s4.ul());
3776
+ raise.fh(_this__u8e3s4.yl());
3720
3777
  tmp$ret$0 = tmp0_also;
3721
3778
  var tmp1_nel = tmp$ret$0;
3722
3779
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3775,21 +3832,21 @@
3775
3832
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3776
3833
  var tmp$ret$2;
3777
3834
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3778
- raise.fh(_this__u8e3s4.ul());
3779
- log(_this__u8e3s4.sl_1, $this);
3780
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3835
+ raise.fh(_this__u8e3s4.yl());
3836
+ log(_this__u8e3s4.wl_1, $this);
3837
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
3781
3838
  var tmp_0;
3782
3839
  if (tmp0_subject instanceof CustomType) {
3783
- tmp_0 = raise.fh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
3840
+ tmp_0 = raise.fh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.wl_1.fl_1));
3784
3841
  } else {
3785
3842
  var tmp$ret$1;
3786
3843
  // Inline function 'arrow.core.nel' call
3787
3844
  var tmp$ret$0;
3788
3845
  // Inline function 'kotlin.also' call
3789
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
3846
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
3790
3847
  // Inline function 'kotlin.contracts.contract' call
3791
3848
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3792
- raise.fh(_this__u8e3s4.ul());
3849
+ raise.fh(_this__u8e3s4.yl());
3793
3850
  tmp$ret$0 = tmp0_also;
3794
3851
  var tmp1_nel = tmp$ret$0;
3795
3852
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3846,11 +3903,11 @@
3846
3903
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3847
3904
  var tmp$ret$5;
3848
3905
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3849
- raise.fh(_this__u8e3s4.ul());
3850
- log(_this__u8e3s4.sl_1, $this);
3906
+ raise.fh(_this__u8e3s4.yl());
3907
+ log(_this__u8e3s4.wl_1, $this);
3851
3908
  var tmp$ret$4;
3852
3909
  // Inline function 'kotlin.also' call
3853
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
3910
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
3854
3911
  var tmp_0;
3855
3912
  if (tmp0_subject instanceof LeftCurly) {
3856
3913
  tmp_0 = new Type_0(typeName, raise.fh(parseTypeShape(_this__u8e3s4, $this)));
@@ -3859,10 +3916,10 @@
3859
3916
  // Inline function 'arrow.core.nel' call
3860
3917
  var tmp$ret$0;
3861
3918
  // Inline function 'kotlin.also' call
3862
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
3919
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.wl_1);
3863
3920
  // Inline function 'kotlin.contracts.contract' call
3864
3921
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3865
- raise.fh(_this__u8e3s4.ul());
3922
+ raise.fh(_this__u8e3s4.yl());
3866
3923
  tmp$ret$0 = tmp0_also;
3867
3924
  var tmp1_nel = tmp$ret$0;
3868
3925
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -3871,18 +3928,18 @@
3871
3928
  var tmp2_also = tmp_0;
3872
3929
  // Inline function 'kotlin.contracts.contract' call
3873
3930
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3874
- var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
3931
+ var tmp0_subject_0 = _this__u8e3s4.wl_1.el_1;
3875
3932
  if (tmp0_subject_0 instanceof RightCurly)
3876
- raise.fh(_this__u8e3s4.ul());
3933
+ raise.fh(_this__u8e3s4.yl());
3877
3934
  else {
3878
3935
  var tmp$ret$3;
3879
3936
  // Inline function 'arrow.core.nel' call
3880
3937
  var tmp$ret$2;
3881
3938
  // Inline function 'kotlin.also' call
3882
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
3939
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.wl_1);
3883
3940
  // Inline function 'kotlin.contracts.contract' call
3884
3941
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3885
- raise.fh(_this__u8e3s4.ul());
3942
+ raise.fh(_this__u8e3s4.yl());
3886
3943
  tmp$ret$2 = tmp0_also_0;
3887
3944
  var tmp1_nel_0 = tmp$ret$2;
3888
3945
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -3940,11 +3997,11 @@
3940
3997
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3941
3998
  var tmp$ret$7;
3942
3999
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3943
- raise.fh(_this__u8e3s4.ul());
3944
- log(_this__u8e3s4.sl_1, $this);
4000
+ raise.fh(_this__u8e3s4.yl());
4001
+ log(_this__u8e3s4.wl_1, $this);
3945
4002
  var tmp$ret$6;
3946
4003
  // Inline function 'kotlin.let' call
3947
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4004
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
3948
4005
  var tmp_0;
3949
4006
  if (tmp0_subject instanceof CustomValue) {
3950
4007
  var tmp$ret$3;
@@ -3955,21 +4012,21 @@
3955
4012
  var tmp0_apply = tmp$ret$0;
3956
4013
  // Inline function 'kotlin.contracts.contract' call
3957
4014
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3958
- tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.sl_1.bl_1))));
3959
- while (equals(_this__u8e3s4.sl_1.al_1, Comma_getInstance())) {
3960
- raise.fh(_this__u8e3s4.ul());
3961
- var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4015
+ tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.wl_1.fl_1))));
4016
+ while (equals(_this__u8e3s4.wl_1.el_1, Comma_getInstance())) {
4017
+ raise.fh(_this__u8e3s4.yl());
4018
+ var tmp0_subject_0 = _this__u8e3s4.wl_1.el_1;
3962
4019
  if (tmp0_subject_0 instanceof CustomValue) {
3963
- tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.sl_1.bl_1))));
4020
+ tmp0_apply.a(raise.fh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.wl_1.fl_1))));
3964
4021
  } else {
3965
4022
  var tmp$ret$2;
3966
4023
  // Inline function 'arrow.core.nel' call
3967
4024
  var tmp$ret$1;
3968
4025
  // Inline function 'kotlin.also' call
3969
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
4026
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.wl_1);
3970
4027
  // Inline function 'kotlin.contracts.contract' call
3971
4028
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3972
- raise.fh(_this__u8e3s4.ul());
4029
+ raise.fh(_this__u8e3s4.yl());
3973
4030
  tmp$ret$1 = tmp0_also;
3974
4031
  var tmp1_nel = tmp$ret$1;
3975
4032
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
@@ -3983,10 +4040,10 @@
3983
4040
  // Inline function 'arrow.core.nel' call
3984
4041
  var tmp$ret$4;
3985
4042
  // Inline function 'kotlin.also' call
3986
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.sl_1);
4043
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.wl_1);
3987
4044
  // Inline function 'kotlin.contracts.contract' call
3988
4045
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3989
- raise.fh(_this__u8e3s4.ul());
4046
+ raise.fh(_this__u8e3s4.yl());
3990
4047
  tmp$ret$4 = tmp1_also;
3991
4048
  var tmp2_nel = tmp$ret$4;
3992
4049
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
@@ -4046,37 +4103,37 @@
4046
4103
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4047
4104
  var tmp$ret$5;
4048
4105
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
4049
- raise.fh(_this__u8e3s4.ul());
4050
- log(_this__u8e3s4.sl_1, $this);
4051
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4106
+ raise.fh(_this__u8e3s4.yl());
4107
+ log(_this__u8e3s4.wl_1, $this);
4108
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4052
4109
  if (tmp0_subject instanceof Colon)
4053
- raise.fh(_this__u8e3s4.ul());
4110
+ raise.fh(_this__u8e3s4.yl());
4054
4111
  else {
4055
4112
  var tmp$ret$1;
4056
4113
  // Inline function 'arrow.core.nel' call
4057
4114
  var tmp$ret$0;
4058
4115
  // Inline function 'kotlin.also' call
4059
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.sl_1);
4116
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.wl_1);
4060
4117
  // Inline function 'kotlin.contracts.contract' call
4061
4118
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4062
- raise.fh(_this__u8e3s4.ul());
4119
+ raise.fh(_this__u8e3s4.yl());
4063
4120
  tmp$ret$0 = tmp0_also;
4064
4121
  var tmp1_nel = tmp$ret$0;
4065
4122
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4066
4123
  raise.eh(tmp$ret$1);
4067
4124
  }
4068
- var type = _this__u8e3s4.sl_1.al_1;
4125
+ var type = _this__u8e3s4.wl_1.el_1;
4069
4126
  var tmp_0;
4070
4127
  if (isInterface(type, WsType)) {
4071
- var tmp_1 = raise.fh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.sl_1.bl_1));
4128
+ var tmp_1 = raise.fh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.wl_1.fl_1));
4072
4129
  var tmp$ret$2;
4073
4130
  // Inline function 'kotlin.also' call
4074
- var tmp_2 = _this__u8e3s4.sl_1.al_1;
4131
+ var tmp_2 = _this__u8e3s4.wl_1.el_1;
4075
4132
  var tmp2_also = tmp_2 instanceof QuestionMark;
4076
4133
  // Inline function 'kotlin.contracts.contract' call
4077
4134
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4078
4135
  if (tmp2_also)
4079
- raise.fh(_this__u8e3s4.ul());
4136
+ raise.fh(_this__u8e3s4.yl());
4080
4137
  tmp$ret$2 = tmp2_also;
4081
4138
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
4082
4139
  } else {
@@ -4084,10 +4141,10 @@
4084
4141
  // Inline function 'arrow.core.nel' call
4085
4142
  var tmp$ret$3;
4086
4143
  // Inline function 'kotlin.also' call
4087
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4144
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
4088
4145
  // Inline function 'kotlin.contracts.contract' call
4089
4146
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
4090
- raise.fh(_this__u8e3s4.ul());
4147
+ raise.fh(_this__u8e3s4.yl());
4091
4148
  tmp$ret$3 = tmp3_also;
4092
4149
  var tmp4_nel = tmp$ret$3;
4093
4150
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
@@ -4144,16 +4201,16 @@
4144
4201
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4145
4202
  var tmp$ret$1;
4146
4203
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
4147
- raise.fh(_this__u8e3s4.ul());
4148
- log(_this__u8e3s4.sl_1, $this);
4204
+ raise.fh(_this__u8e3s4.yl());
4205
+ log(_this__u8e3s4.wl_1, $this);
4149
4206
  var tmp$ret$0;
4150
4207
  // Inline function 'kotlin.also' call
4151
- var tmp_0 = _this__u8e3s4.sl_1.al_1;
4208
+ var tmp_0 = _this__u8e3s4.wl_1.el_1;
4152
4209
  var tmp0_also = tmp_0 instanceof Brackets;
4153
4210
  // Inline function 'kotlin.contracts.contract' call
4154
4211
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
4155
4212
  if (tmp0_also)
4156
- raise.fh(_this__u8e3s4.ul());
4213
+ raise.fh(_this__u8e3s4.yl());
4157
4214
  tmp$ret$0 = tmp0_also;
4158
4215
  var isIterable = tmp$ret$0;
4159
4216
  var tmp0_subject = wsType;
@@ -4226,21 +4283,21 @@
4226
4283
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4227
4284
  var tmp$ret$2;
4228
4285
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4229
- raise.fh(_this__u8e3s4.ul());
4230
- log(_this__u8e3s4.sl_1, $this);
4231
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4286
+ raise.fh(_this__u8e3s4.yl());
4287
+ log(_this__u8e3s4.wl_1, $this);
4288
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4232
4289
  var tmp_0;
4233
4290
  if (tmp0_subject instanceof CustomType) {
4234
- tmp_0 = raise.fh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4291
+ tmp_0 = raise.fh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.wl_1.fl_1));
4235
4292
  } else {
4236
4293
  var tmp$ret$1;
4237
4294
  // Inline function 'arrow.core.nel' call
4238
4295
  var tmp$ret$0;
4239
4296
  // Inline function 'kotlin.also' call
4240
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4297
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
4241
4298
  // Inline function 'kotlin.contracts.contract' call
4242
4299
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4243
- raise.fh(_this__u8e3s4.ul());
4300
+ raise.fh(_this__u8e3s4.yl());
4244
4301
  tmp$ret$0 = tmp0_also;
4245
4302
  var tmp1_nel = tmp$ret$0;
4246
4303
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4297,11 +4354,11 @@
4297
4354
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4298
4355
  var tmp$ret$5;
4299
4356
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4300
- raise.fh(_this__u8e3s4.ul());
4301
- log(_this__u8e3s4.sl_1, $this);
4357
+ raise.fh(_this__u8e3s4.yl());
4358
+ log(_this__u8e3s4.wl_1, $this);
4302
4359
  var tmp$ret$4;
4303
4360
  // Inline function 'kotlin.also' call
4304
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4361
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4305
4362
  var tmp_0;
4306
4363
  if (tmp0_subject instanceof LeftCurly) {
4307
4364
  tmp_0 = new Enum_0(typeName, raise.fh(parseEnumTypeEntries(_this__u8e3s4, $this)));
@@ -4310,10 +4367,10 @@
4310
4367
  // Inline function 'arrow.core.nel' call
4311
4368
  var tmp$ret$0;
4312
4369
  // Inline function 'kotlin.also' call
4313
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.sl_1);
4370
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.wl_1);
4314
4371
  // Inline function 'kotlin.contracts.contract' call
4315
4372
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4316
- raise.fh(_this__u8e3s4.ul());
4373
+ raise.fh(_this__u8e3s4.yl());
4317
4374
  tmp$ret$0 = tmp0_also;
4318
4375
  var tmp1_nel = tmp$ret$0;
4319
4376
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4322,18 +4379,18 @@
4322
4379
  var tmp2_also = tmp_0;
4323
4380
  // Inline function 'kotlin.contracts.contract' call
4324
4381
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4325
- var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4382
+ var tmp0_subject_0 = _this__u8e3s4.wl_1.el_1;
4326
4383
  if (tmp0_subject_0 instanceof RightCurly)
4327
- raise.fh(_this__u8e3s4.ul());
4384
+ raise.fh(_this__u8e3s4.yl());
4328
4385
  else {
4329
4386
  var tmp$ret$3;
4330
4387
  // Inline function 'arrow.core.nel' call
4331
4388
  var tmp$ret$2;
4332
4389
  // Inline function 'kotlin.also' call
4333
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.sl_1);
4390
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.wl_1);
4334
4391
  // Inline function 'kotlin.contracts.contract' call
4335
4392
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4336
- raise.fh(_this__u8e3s4.ul());
4393
+ raise.fh(_this__u8e3s4.yl());
4337
4394
  tmp$ret$2 = tmp0_also_0;
4338
4395
  var tmp1_nel_0 = tmp$ret$2;
4339
4396
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
@@ -4391,9 +4448,9 @@
4391
4448
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4392
4449
  var tmp$ret$7;
4393
4450
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4394
- raise.fh(_this__u8e3s4.ul());
4395
- log(_this__u8e3s4.sl_1, $this);
4396
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4451
+ raise.fh(_this__u8e3s4.yl());
4452
+ log(_this__u8e3s4.wl_1, $this);
4453
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4397
4454
  var tmp_0;
4398
4455
  if (tmp0_subject instanceof CustomType) {
4399
4456
  var tmp$ret$4;
@@ -4404,28 +4461,28 @@
4404
4461
  var tmp0_apply = tmp$ret$0;
4405
4462
  // Inline function 'kotlin.contracts.contract' call
4406
4463
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4407
- tmp0_apply.a(_this__u8e3s4.sl_1.bl_1);
4408
- raise.fh(_this__u8e3s4.ul());
4409
- while (equals(_this__u8e3s4.sl_1.al_1, Comma_getInstance())) {
4410
- raise.fh(_this__u8e3s4.ul());
4411
- var tmp0_subject_0 = _this__u8e3s4.sl_1.al_1;
4464
+ tmp0_apply.a(_this__u8e3s4.wl_1.fl_1);
4465
+ raise.fh(_this__u8e3s4.yl());
4466
+ while (equals(_this__u8e3s4.wl_1.el_1, Comma_getInstance())) {
4467
+ raise.fh(_this__u8e3s4.yl());
4468
+ var tmp0_subject_0 = _this__u8e3s4.wl_1.el_1;
4412
4469
  if (tmp0_subject_0 instanceof CustomType) {
4413
4470
  var tmp$ret$1;
4414
4471
  // Inline function 'kotlin.also' call
4415
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.sl_1.bl_1);
4472
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.wl_1.fl_1);
4416
4473
  // Inline function 'kotlin.contracts.contract' call
4417
4474
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4418
- raise.fh(_this__u8e3s4.ul());
4475
+ raise.fh(_this__u8e3s4.yl());
4419
4476
  tmp$ret$1 = tmp0_also;
4420
4477
  } else {
4421
4478
  var tmp$ret$3;
4422
4479
  // Inline function 'arrow.core.nel' call
4423
4480
  var tmp$ret$2;
4424
4481
  // Inline function 'kotlin.also' call
4425
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4482
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
4426
4483
  // Inline function 'kotlin.contracts.contract' call
4427
4484
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4428
- raise.fh(_this__u8e3s4.ul());
4485
+ raise.fh(_this__u8e3s4.yl());
4429
4486
  tmp$ret$2 = tmp1_also;
4430
4487
  var tmp2_nel = tmp$ret$2;
4431
4488
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
@@ -4439,10 +4496,10 @@
4439
4496
  // Inline function 'arrow.core.nel' call
4440
4497
  var tmp$ret$5;
4441
4498
  // Inline function 'kotlin.also' call
4442
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4499
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
4443
4500
  // Inline function 'kotlin.contracts.contract' call
4444
4501
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4445
- raise.fh(_this__u8e3s4.ul());
4502
+ raise.fh(_this__u8e3s4.yl());
4446
4503
  tmp$ret$5 = tmp1_also_0;
4447
4504
  var tmp2_nel_0 = tmp$ret$5;
4448
4505
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
@@ -4499,21 +4556,21 @@
4499
4556
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4500
4557
  var tmp$ret$2;
4501
4558
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4502
- raise.fh(_this__u8e3s4.ul());
4503
- log(_this__u8e3s4.sl_1, $this);
4504
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4559
+ raise.fh(_this__u8e3s4.yl());
4560
+ log(_this__u8e3s4.wl_1, $this);
4561
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4505
4562
  var tmp_0;
4506
4563
  if (tmp0_subject instanceof CustomType) {
4507
- tmp_0 = raise.fh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.sl_1.bl_1));
4564
+ tmp_0 = raise.fh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.wl_1.fl_1));
4508
4565
  } else {
4509
4566
  var tmp$ret$1;
4510
4567
  // Inline function 'arrow.core.nel' call
4511
4568
  var tmp$ret$0;
4512
4569
  // Inline function 'kotlin.also' call
4513
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.sl_1);
4570
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.wl_1);
4514
4571
  // Inline function 'kotlin.contracts.contract' call
4515
4572
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4516
- raise.fh(_this__u8e3s4.ul());
4573
+ raise.fh(_this__u8e3s4.yl());
4517
4574
  tmp$ret$0 = tmp0_also;
4518
4575
  var tmp1_nel = tmp$ret$0;
4519
4576
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4570,23 +4627,23 @@
4570
4627
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4571
4628
  var tmp$ret$3;
4572
4629
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4573
- raise.fh(_this__u8e3s4.ul());
4574
- log(_this__u8e3s4.sl_1, $this);
4630
+ raise.fh(_this__u8e3s4.yl());
4631
+ log(_this__u8e3s4.wl_1, $this);
4575
4632
  var tmp$ret$2;
4576
4633
  // Inline function 'kotlin.also' call
4577
- var tmp0_subject = _this__u8e3s4.sl_1.al_1;
4634
+ var tmp0_subject = _this__u8e3s4.wl_1.el_1;
4578
4635
  var tmp_0;
4579
4636
  if (tmp0_subject instanceof CustomRegex) {
4580
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.sl_1.bl_1));
4637
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.wl_1.fl_1));
4581
4638
  } else {
4582
4639
  var tmp$ret$1;
4583
4640
  // Inline function 'arrow.core.nel' call
4584
4641
  var tmp$ret$0;
4585
4642
  // Inline function 'kotlin.also' call
4586
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.sl_1);
4643
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.wl_1);
4587
4644
  // Inline function 'kotlin.contracts.contract' call
4588
4645
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4589
- raise.fh(_this__u8e3s4.ul());
4646
+ raise.fh(_this__u8e3s4.yl());
4590
4647
  tmp$ret$0 = tmp0_also;
4591
4648
  var tmp1_nel = tmp$ret$0;
4592
4649
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
@@ -4595,7 +4652,7 @@
4595
4652
  var tmp2_also = tmp_0;
4596
4653
  // Inline function 'kotlin.contracts.contract' call
4597
4654
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4598
- raise.fh(_this__u8e3s4.ul());
4655
+ raise.fh(_this__u8e3s4.yl());
4599
4656
  tmp$ret$2 = tmp2_also;
4600
4657
  tmp$ret$3 = tmp$ret$2;
4601
4658
  tmp$ret$4 = tmp$ret$3;
@@ -4633,7 +4690,7 @@
4633
4690
  return tmp$ret$9;
4634
4691
  }
4635
4692
  function log(_this__u8e3s4, $this) {
4636
- return $this.ph_1.lh('Parsing ' + _this__u8e3s4.al_1 + ' at line ' + _this__u8e3s4.cl_1.dl_1 + ' position ' + _this__u8e3s4.cl_1.el_1);
4693
+ return $this.ph_1.lh('Parsing ' + _this__u8e3s4.el_1 + ' at line ' + _this__u8e3s4.gl_1.hl_1 + ' position ' + _this__u8e3s4.gl_1.il_1);
4637
4694
  }
4638
4695
  function Parser(logger) {
4639
4696
  this.ph_1 = logger;
@@ -4649,7 +4706,7 @@
4649
4706
  var element = tmp0_iterator.e();
4650
4707
  var tmp$ret$0;
4651
4708
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4652
- var tmp = element.al_1;
4709
+ var tmp = element.el_1;
4653
4710
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4654
4711
  if (!tmp$ret$0) {
4655
4712
  tmp0_filterNotTo.a(element);
@@ -4670,7 +4727,7 @@
4670
4727
  // Inline function 'kotlin.contracts.contract' call
4671
4728
  var tmp$ret$0;
4672
4729
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4673
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.bl_1 + "', ";
4730
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.fl_1 + "', ";
4674
4731
  tmp$ret$1 = tmp$ret$0;
4675
4732
  tmp = tmp$ret$1;
4676
4733
  }
@@ -4678,14 +4735,14 @@
4678
4735
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4679
4736
  var tmp$ret$3;
4680
4737
  // Inline function 'kotlin.run' call
4681
- var tmp0_run = $this.sl_1;
4738
+ var tmp0_run = $this.wl_1;
4682
4739
  // Inline function 'kotlin.contracts.contract' call
4683
4740
  var tmp$ret$2;
4684
4741
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4685
- tmp$ret$2 = "Current: '" + tmp0_run.bl_1 + "'";
4742
+ tmp$ret$2 = "Current: '" + tmp0_run.fl_1 + "'";
4686
4743
  tmp$ret$3 = tmp$ret$2;
4687
4744
  var curr = tmp$ret$3;
4688
- var tmp2_safe_receiver = $this.tl_1;
4745
+ var tmp2_safe_receiver = $this.xl_1;
4689
4746
  var tmp_0;
4690
4747
  if (tmp2_safe_receiver == null) {
4691
4748
  tmp_0 = null;
@@ -4695,13 +4752,13 @@
4695
4752
  // Inline function 'kotlin.contracts.contract' call
4696
4753
  var tmp$ret$4;
4697
4754
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>' call
4698
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.bl_1 + "'";
4755
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.fl_1 + "'";
4699
4756
  tmp$ret$5 = tmp$ret$4;
4700
4757
  tmp_0 = tmp$ret$5;
4701
4758
  }
4702
4759
  var tmp3_elvis_lhs = tmp_0;
4703
4760
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4704
- $this.ql_1.lh(prev + curr + next);
4761
+ $this.ul_1.lh(prev + curr + next);
4705
4762
  }
4706
4763
  function printTokens$default($this, previousToken, $super) {
4707
4764
  previousToken = previousToken === VOID ? null : previousToken;
@@ -4719,7 +4776,7 @@
4719
4776
  var tmp0_success = Companion_getInstance();
4720
4777
  var tmp$ret$0;
4721
4778
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4722
- tmp$ret$0 = $this.rl_1.e();
4779
+ tmp$ret$0 = $this.vl_1.e();
4723
4780
  var tmp1_success = tmp$ret$0;
4724
4781
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4725
4782
  tmp = tmp$ret$1;
@@ -4750,8 +4807,8 @@
4750
4807
  return tmp$ret$4;
4751
4808
  }
4752
4809
  function TokenProvider(logger, tokenIterator) {
4753
- this.ql_1 = logger;
4754
- this.rl_1 = tokenIterator;
4810
+ this.ul_1 = logger;
4811
+ this.vl_1 = tokenIterator;
4755
4812
  var tmp = this;
4756
4813
  var tmp0_elvis_lhs = nextToken(this);
4757
4814
  var tmp_0;
@@ -4764,14 +4821,14 @@
4764
4821
  } else {
4765
4822
  tmp_0 = tmp0_elvis_lhs;
4766
4823
  }
4767
- tmp.sl_1 = tmp_0;
4768
- this.tl_1 = nextToken(this);
4824
+ tmp.wl_1 = tmp_0;
4825
+ this.xl_1 = nextToken(this);
4769
4826
  printTokens$default(this);
4770
4827
  }
4771
4828
  protoOf(TokenProvider).d = function () {
4772
- return !(this.tl_1 == null);
4829
+ return !(this.xl_1 == null);
4773
4830
  };
4774
- protoOf(TokenProvider).ul = function () {
4831
+ protoOf(TokenProvider).yl = function () {
4775
4832
  var tmp$ret$6;
4776
4833
  // Inline function 'arrow.core.raise.either' call
4777
4834
  var tmp$ret$5;
@@ -4785,21 +4842,21 @@
4785
4842
  try {
4786
4843
  var tmp$ret$1;
4787
4844
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4788
- var previousToken = this.sl_1;
4845
+ var previousToken = this.wl_1;
4789
4846
  var tmp_0 = this;
4790
- var tmp0_elvis_lhs = this.tl_1;
4847
+ var tmp0_elvis_lhs = this.xl_1;
4791
4848
  var tmp_1;
4792
4849
  if (tmp0_elvis_lhs == null) {
4793
4850
  var tmp$ret$0;
4794
4851
  // Inline function 'arrow.core.nel' call
4795
- var tmp0_nel = new NextException(previousToken.cl_1);
4852
+ var tmp0_nel = new NextException(previousToken.gl_1);
4796
4853
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4797
4854
  raise.eh(tmp$ret$0);
4798
4855
  } else {
4799
4856
  tmp_1 = tmp0_elvis_lhs;
4800
4857
  }
4801
- tmp_0.sl_1 = tmp_1;
4802
- this.tl_1 = nextToken(this);
4858
+ tmp_0.wl_1 = tmp_1;
4859
+ this.xl_1 = nextToken(this);
4803
4860
  printTokens(this, previousToken);
4804
4861
  tmp$ret$1 = Unit_getInstance();
4805
4862
  var res = tmp$ret$1;
@@ -4841,15 +4898,15 @@
4841
4898
  function IdxAndLength(idx, length) {
4842
4899
  idx = idx === VOID ? 0 : idx;
4843
4900
  length = length === VOID ? 0 : length;
4844
- this.vl_1 = idx;
4845
- this.wl_1 = length;
4901
+ this.zl_1 = idx;
4902
+ this.am_1 = length;
4846
4903
  }
4847
4904
  protoOf(IdxAndLength).toString = function () {
4848
- return 'IdxAndLength(idx=' + this.vl_1 + ', length=' + this.wl_1 + ')';
4905
+ return 'IdxAndLength(idx=' + this.zl_1 + ', length=' + this.am_1 + ')';
4849
4906
  };
4850
4907
  protoOf(IdxAndLength).hashCode = function () {
4851
- var result = this.vl_1;
4852
- result = imul(result, 31) + this.wl_1 | 0;
4908
+ var result = this.zl_1;
4909
+ result = imul(result, 31) + this.am_1 | 0;
4853
4910
  return result;
4854
4911
  };
4855
4912
  protoOf(IdxAndLength).equals = function (other) {
@@ -4858,9 +4915,9 @@
4858
4915
  if (!(other instanceof IdxAndLength))
4859
4916
  return false;
4860
4917
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4861
- if (!(this.vl_1 === tmp0_other_with_cast.vl_1))
4918
+ if (!(this.zl_1 === tmp0_other_with_cast.zl_1))
4862
4919
  return false;
4863
- if (!(this.wl_1 === tmp0_other_with_cast.wl_1))
4920
+ if (!(this.am_1 === tmp0_other_with_cast.am_1))
4864
4921
  return false;
4865
4922
  return true;
4866
4923
  };
@@ -4868,26 +4925,26 @@
4868
4925
  line = line === VOID ? 1 : line;
4869
4926
  position = position === VOID ? 1 : position;
4870
4927
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4871
- this.dl_1 = line;
4872
- this.el_1 = position;
4873
- this.fl_1 = idxAndLength;
4928
+ this.hl_1 = line;
4929
+ this.il_1 = position;
4930
+ this.jl_1 = idxAndLength;
4874
4931
  }
4875
- protoOf(Coordinates).xl = function (line, position, idxAndLength) {
4932
+ protoOf(Coordinates).bm = function (line, position, idxAndLength) {
4876
4933
  return new Coordinates(line, position, idxAndLength);
4877
4934
  };
4878
- protoOf(Coordinates).yl = function (line, position, idxAndLength, $super) {
4879
- line = line === VOID ? this.dl_1 : line;
4880
- position = position === VOID ? this.el_1 : position;
4881
- idxAndLength = idxAndLength === VOID ? this.fl_1 : idxAndLength;
4882
- return $super === VOID ? this.xl(line, position, idxAndLength) : $super.xl.call(this, line, position, idxAndLength);
4935
+ protoOf(Coordinates).cm = function (line, position, idxAndLength, $super) {
4936
+ line = line === VOID ? this.hl_1 : line;
4937
+ position = position === VOID ? this.il_1 : position;
4938
+ idxAndLength = idxAndLength === VOID ? this.jl_1 : idxAndLength;
4939
+ return $super === VOID ? this.bm(line, position, idxAndLength) : $super.bm.call(this, line, position, idxAndLength);
4883
4940
  };
4884
4941
  protoOf(Coordinates).toString = function () {
4885
- return 'Coordinates(line=' + this.dl_1 + ', position=' + this.el_1 + ', idxAndLength=' + this.fl_1 + ')';
4942
+ return 'Coordinates(line=' + this.hl_1 + ', position=' + this.il_1 + ', idxAndLength=' + this.jl_1 + ')';
4886
4943
  };
4887
4944
  protoOf(Coordinates).hashCode = function () {
4888
- var result = this.dl_1;
4889
- result = imul(result, 31) + this.el_1 | 0;
4890
- result = imul(result, 31) + this.fl_1.hashCode() | 0;
4945
+ var result = this.hl_1;
4946
+ result = imul(result, 31) + this.il_1 | 0;
4947
+ result = imul(result, 31) + this.jl_1.hashCode() | 0;
4891
4948
  return result;
4892
4949
  };
4893
4950
  protoOf(Coordinates).equals = function (other) {
@@ -4896,35 +4953,35 @@
4896
4953
  if (!(other instanceof Coordinates))
4897
4954
  return false;
4898
4955
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4899
- if (!(this.dl_1 === tmp0_other_with_cast.dl_1))
4956
+ if (!(this.hl_1 === tmp0_other_with_cast.hl_1))
4900
4957
  return false;
4901
- if (!(this.el_1 === tmp0_other_with_cast.el_1))
4958
+ if (!(this.il_1 === tmp0_other_with_cast.il_1))
4902
4959
  return false;
4903
- if (!this.fl_1.equals(tmp0_other_with_cast.fl_1))
4960
+ if (!this.jl_1.equals(tmp0_other_with_cast.jl_1))
4904
4961
  return false;
4905
4962
  return true;
4906
4963
  };
4907
4964
  function Token(type, value, coordinates) {
4908
- this.al_1 = type;
4909
- this.bl_1 = value;
4910
- this.cl_1 = coordinates;
4965
+ this.el_1 = type;
4966
+ this.fl_1 = value;
4967
+ this.gl_1 = coordinates;
4911
4968
  }
4912
- protoOf(Token).zl = function (type, value, coordinates) {
4969
+ protoOf(Token).dm = function (type, value, coordinates) {
4913
4970
  return new Token(type, value, coordinates);
4914
4971
  };
4915
- protoOf(Token).hl = function (type, value, coordinates, $super) {
4916
- type = type === VOID ? this.al_1 : type;
4917
- value = value === VOID ? this.bl_1 : value;
4918
- coordinates = coordinates === VOID ? this.cl_1 : coordinates;
4919
- return $super === VOID ? this.zl(type, value, coordinates) : $super.zl.call(this, type, value, coordinates);
4972
+ protoOf(Token).ll = function (type, value, coordinates, $super) {
4973
+ type = type === VOID ? this.el_1 : type;
4974
+ value = value === VOID ? this.fl_1 : value;
4975
+ coordinates = coordinates === VOID ? this.gl_1 : coordinates;
4976
+ return $super === VOID ? this.dm(type, value, coordinates) : $super.dm.call(this, type, value, coordinates);
4920
4977
  };
4921
4978
  protoOf(Token).toString = function () {
4922
- return 'Token(type=' + this.al_1 + ', value=' + this.bl_1 + ', coordinates=' + this.cl_1 + ')';
4979
+ return 'Token(type=' + this.el_1 + ', value=' + this.fl_1 + ', coordinates=' + this.gl_1 + ')';
4923
4980
  };
4924
4981
  protoOf(Token).hashCode = function () {
4925
- var result = hashCode(this.al_1);
4926
- result = imul(result, 31) + getStringHashCode(this.bl_1) | 0;
4927
- result = imul(result, 31) + this.cl_1.hashCode() | 0;
4982
+ var result = hashCode(this.el_1);
4983
+ result = imul(result, 31) + getStringHashCode(this.fl_1) | 0;
4984
+ result = imul(result, 31) + this.gl_1.hashCode() | 0;
4928
4985
  return result;
4929
4986
  };
4930
4987
  protoOf(Token).equals = function (other) {
@@ -4933,19 +4990,19 @@
4933
4990
  if (!(other instanceof Token))
4934
4991
  return false;
4935
4992
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4936
- if (!equals(this.al_1, tmp0_other_with_cast.al_1))
4993
+ if (!equals(this.el_1, tmp0_other_with_cast.el_1))
4937
4994
  return false;
4938
- if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4995
+ if (!(this.fl_1 === tmp0_other_with_cast.fl_1))
4939
4996
  return false;
4940
- if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4997
+ if (!this.gl_1.equals(tmp0_other_with_cast.gl_1))
4941
4998
  return false;
4942
4999
  return true;
4943
5000
  };
4944
5001
  function plus_1(_this__u8e3s4, length) {
4945
- return new IdxAndLength(_this__u8e3s4.vl_1 + length | 0, length);
5002
+ return new IdxAndLength(_this__u8e3s4.zl_1 + length | 0, length);
4946
5003
  }
4947
5004
  function plus_2(_this__u8e3s4, length) {
4948
- return _this__u8e3s4.yl(VOID, _this__u8e3s4.el_1 + length | 0, plus_1(_this__u8e3s4.fl_1, length));
5005
+ return _this__u8e3s4.cm(VOID, _this__u8e3s4.il_1 + length | 0, plus_1(_this__u8e3s4.jl_1, length));
4949
5006
  }
4950
5007
  function tokenize(_this__u8e3s4, source) {
4951
5008
  var tmp$ret$3;
@@ -4966,7 +5023,7 @@
4966
5023
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.tokenize.<anonymous>' call
4967
5024
  var tmp = EndOfProgram_getInstance();
4968
5025
  EndOfProgram_getInstance();
4969
- var tmp_0 = last(tmp1_let).cl_1;
5026
+ var tmp_0 = last(tmp1_let).gl_1;
4970
5027
  var tmp_1 = EndOfProgram_getInstance();
4971
5028
  EndOfProgram_getInstance();
4972
5029
  tmp$ret$2 = tmp1_let.zg(new Token(tmp, 'EOP', nextCoordinates(tmp_0, tmp_1, 'EOP')));
@@ -4977,7 +5034,7 @@
4977
5034
  var tmp0_subject = type;
4978
5035
  var tmp;
4979
5036
  if (tmp0_subject instanceof NewLine) {
4980
- tmp = new Coordinates(_this__u8e3s4.dl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.fl_1, value.length));
5037
+ tmp = new Coordinates(_this__u8e3s4.hl_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.jl_1, value.length));
4981
5038
  } else {
4982
5039
  tmp = plus_2(_this__u8e3s4, value.length);
4983
5040
  }
@@ -4989,7 +5046,7 @@
4989
5046
  var incompleteTokens_0 = incompleteTokens;
4990
5047
  $l$1: do {
4991
5048
  $l$0: do {
4992
- var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).cl_1);
5049
+ var tmp0_container = extractToken($this, source_0, last(incompleteTokens_0).gl_1);
4993
5050
  var token = tmp0_container.i3();
4994
5051
  var remaining = tmp0_container.j3();
4995
5052
  var tokens = incompleteTokens_0.zg(token);
@@ -5052,7 +5109,7 @@
5052
5109
  // Inline function 'kotlin.contracts.contract' call
5053
5110
  var tmp$ret$3;
5054
5111
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.extractToken.<anonymous>' call
5055
- tmp$ret$3 = to(tmp1_let, removePrefix(source, tmp1_let.bl_1));
5112
+ tmp$ret$3 = to(tmp1_let, removePrefix(source, tmp1_let.fl_1));
5056
5113
  tmp$ret$4 = tmp$ret$3;
5057
5114
  return tmp$ret$4;
5058
5115
  }
@@ -5225,7 +5282,7 @@
5225
5282
  }
5226
5283
  function EndOfProgram() {
5227
5284
  EndOfProgram_instance = this;
5228
- this.bm_1 = 'EOP';
5285
+ this.fm_1 = 'EOP';
5229
5286
  }
5230
5287
  var EndOfProgram_instance;
5231
5288
  function EndOfProgram_getInstance() {
@@ -5258,7 +5315,7 @@
5258
5315
  }
5259
5316
  return tmp;
5260
5317
  };
5261
- protoOf(Logger).zk = function (s, block) {
5318
+ protoOf(Logger).dl = function (s, block) {
5262
5319
  var tmp$ret$1;
5263
5320
  // Inline function 'kotlin.run' call
5264
5321
  // Inline function 'kotlin.contracts.contract' call
@@ -5281,73 +5338,73 @@
5281
5338
  }
5282
5339
  }
5283
5340
  //region block: post-declaration
5284
- protoOf(JavaEmitter).vj = withLogging;
5285
- protoOf(JavaEmitter).wj = withLogging_0;
5286
- protoOf(JavaEmitter).xj = withLogging_1;
5287
- protoOf(JavaEmitter).yj = withLogging_2;
5288
- protoOf(JavaEmitter).wh = withLogging_3;
5289
- protoOf(JavaEmitter).ak = withLogging_4;
5290
- protoOf(JavaEmitter).ck = withLogging_5;
5291
- protoOf(JavaEmitter).dk = withLogging_6;
5292
- protoOf(JavaEmitter).fk = withLogging_7;
5293
- protoOf(JavaEmitter).ti = withLogging_8;
5294
- protoOf(KotlinEmitter).vj = withLogging;
5295
- protoOf(KotlinEmitter).wj = withLogging_0;
5296
- protoOf(KotlinEmitter).xj = withLogging_1;
5297
- protoOf(KotlinEmitter).yj = withLogging_2;
5298
- protoOf(KotlinEmitter).wh = withLogging_3;
5299
- protoOf(KotlinEmitter).ak = withLogging_4;
5300
- protoOf(KotlinEmitter).ck = withLogging_5;
5301
- protoOf(KotlinEmitter).dk = withLogging_6;
5302
- protoOf(KotlinEmitter).fk = withLogging_7;
5303
- protoOf(KotlinEmitter).ti = withLogging_8;
5304
- protoOf(ScalaEmitter).vj = withLogging;
5305
- protoOf(ScalaEmitter).wj = withLogging_0;
5306
- protoOf(ScalaEmitter).xj = withLogging_1;
5307
- protoOf(ScalaEmitter).yj = withLogging_2;
5308
- protoOf(ScalaEmitter).wh = withLogging_3;
5309
- protoOf(ScalaEmitter).ak = withLogging_4;
5310
- protoOf(ScalaEmitter).ck = withLogging_5;
5311
- protoOf(ScalaEmitter).dk = withLogging_6;
5312
- protoOf(ScalaEmitter).fk = withLogging_7;
5313
- protoOf(TypeScriptEmitter).vj = withLogging;
5314
- protoOf(TypeScriptEmitter).wj = withLogging_0;
5315
- protoOf(TypeScriptEmitter).xj = withLogging_1;
5316
- protoOf(TypeScriptEmitter).yj = withLogging_2;
5317
- protoOf(TypeScriptEmitter).wh = withLogging_3;
5318
- protoOf(TypeScriptEmitter).ak = withLogging_4;
5319
- protoOf(TypeScriptEmitter).ck = withLogging_5;
5320
- protoOf(TypeScriptEmitter).dk = withLogging_6;
5321
- protoOf(TypeScriptEmitter).fk = withLogging_7;
5322
- protoOf(TypeScriptEmitter).ti = withLogging_8;
5323
- protoOf(WirespecEmitter).vj = withLogging;
5324
- protoOf(WirespecEmitter).wj = withLogging_0;
5325
- protoOf(WirespecEmitter).xj = withLogging_1;
5326
- protoOf(WirespecEmitter).yj = withLogging_2;
5327
- protoOf(WirespecEmitter).wh = withLogging_3;
5328
- protoOf(WirespecEmitter).ak = withLogging_4;
5329
- protoOf(WirespecEmitter).ck = withLogging_5;
5330
- protoOf(WirespecEmitter).dk = withLogging_6;
5331
- protoOf(WirespecEmitter).fk = withLogging_7;
5332
- protoOf(WsTypeDef).am = name;
5333
- protoOf(WsEnumTypeDef).am = name;
5334
- protoOf(WsRefinedTypeDef).am = name;
5335
- protoOf(WhiteSpaceExceptNewLine).am = name;
5336
- protoOf(NewLine).am = name;
5337
- protoOf(LeftCurly).am = name;
5338
- protoOf(Colon).am = name;
5339
- protoOf(Comma).am = name;
5340
- protoOf(QuestionMark).am = name;
5341
- protoOf(Brackets).am = name;
5342
- protoOf(WsString).am = name;
5343
- protoOf(WsInteger).am = name;
5344
- protoOf(WsBoolean).am = name;
5345
- protoOf(RightCurly).am = name;
5346
- protoOf(CustomValue).am = name;
5347
- protoOf(CustomType).am = name;
5348
- protoOf(CustomRegex).am = name;
5349
- protoOf(Invalid).am = name;
5350
- protoOf(EndOfProgram).am = name;
5341
+ protoOf(JavaEmitter).wj = withLogging;
5342
+ protoOf(JavaEmitter).xj = withLogging_0;
5343
+ protoOf(JavaEmitter).yj = withLogging_1;
5344
+ protoOf(JavaEmitter).zj = withLogging_2;
5345
+ protoOf(JavaEmitter).yh = withLogging_3;
5346
+ protoOf(JavaEmitter).bk = withLogging_4;
5347
+ protoOf(JavaEmitter).dk = withLogging_5;
5348
+ protoOf(JavaEmitter).ek = withLogging_6;
5349
+ protoOf(JavaEmitter).gk = withLogging_7;
5350
+ protoOf(JavaEmitter).ui = withLogging_8;
5351
+ protoOf(KotlinEmitter).wj = withLogging;
5352
+ protoOf(KotlinEmitter).xj = withLogging_0;
5353
+ protoOf(KotlinEmitter).yj = withLogging_1;
5354
+ protoOf(KotlinEmitter).zj = withLogging_2;
5355
+ protoOf(KotlinEmitter).yh = withLogging_3;
5356
+ protoOf(KotlinEmitter).bk = withLogging_4;
5357
+ protoOf(KotlinEmitter).dk = withLogging_5;
5358
+ protoOf(KotlinEmitter).ek = withLogging_6;
5359
+ protoOf(KotlinEmitter).gk = withLogging_7;
5360
+ protoOf(KotlinEmitter).ui = withLogging_8;
5361
+ protoOf(ScalaEmitter).wj = withLogging;
5362
+ protoOf(ScalaEmitter).xj = withLogging_0;
5363
+ protoOf(ScalaEmitter).yj = withLogging_1;
5364
+ protoOf(ScalaEmitter).zj = withLogging_2;
5365
+ protoOf(ScalaEmitter).yh = withLogging_3;
5366
+ protoOf(ScalaEmitter).bk = withLogging_4;
5367
+ protoOf(ScalaEmitter).dk = withLogging_5;
5368
+ protoOf(ScalaEmitter).ek = withLogging_6;
5369
+ protoOf(ScalaEmitter).gk = withLogging_7;
5370
+ protoOf(TypeScriptEmitter).wj = withLogging;
5371
+ protoOf(TypeScriptEmitter).xj = withLogging_0;
5372
+ protoOf(TypeScriptEmitter).yj = withLogging_1;
5373
+ protoOf(TypeScriptEmitter).zj = withLogging_2;
5374
+ protoOf(TypeScriptEmitter).yh = withLogging_3;
5375
+ protoOf(TypeScriptEmitter).bk = withLogging_4;
5376
+ protoOf(TypeScriptEmitter).dk = withLogging_5;
5377
+ protoOf(TypeScriptEmitter).ek = withLogging_6;
5378
+ protoOf(TypeScriptEmitter).gk = withLogging_7;
5379
+ protoOf(TypeScriptEmitter).ui = withLogging_8;
5380
+ protoOf(WirespecEmitter).wj = withLogging;
5381
+ protoOf(WirespecEmitter).xj = withLogging_0;
5382
+ protoOf(WirespecEmitter).yj = withLogging_1;
5383
+ protoOf(WirespecEmitter).zj = withLogging_2;
5384
+ protoOf(WirespecEmitter).yh = withLogging_3;
5385
+ protoOf(WirespecEmitter).bk = withLogging_4;
5386
+ protoOf(WirespecEmitter).dk = withLogging_5;
5387
+ protoOf(WirespecEmitter).ek = withLogging_6;
5388
+ protoOf(WirespecEmitter).gk = withLogging_7;
5389
+ protoOf(WsTypeDef).em = name;
5390
+ protoOf(WsEnumTypeDef).em = name;
5391
+ protoOf(WsRefinedTypeDef).em = name;
5392
+ protoOf(WhiteSpaceExceptNewLine).em = name;
5393
+ protoOf(NewLine).em = name;
5394
+ protoOf(LeftCurly).em = name;
5395
+ protoOf(Colon).em = name;
5396
+ protoOf(Comma).em = name;
5397
+ protoOf(QuestionMark).em = name;
5398
+ protoOf(Brackets).em = name;
5399
+ protoOf(WsString).em = name;
5400
+ protoOf(WsInteger).em = name;
5401
+ protoOf(WsBoolean).em = name;
5402
+ protoOf(RightCurly).em = name;
5403
+ protoOf(CustomValue).em = name;
5404
+ protoOf(CustomType).em = name;
5405
+ protoOf(CustomRegex).em = name;
5406
+ protoOf(Invalid).em = name;
5407
+ protoOf(EndOfProgram).em = name;
5351
5408
  //endregion
5352
5409
  //region block: init
5353
5410
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';