@flock/wirespec 0.20.2 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/clikt-clikt-mordant.mjs +79 -79
  2. package/clikt-clikt.mjs +1329 -1329
  3. package/clikt-clikt.mjs.map +1 -1
  4. package/colormath-root-colormath.mjs +433 -433
  5. package/kotlin-kotlin-stdlib.mjs +6 -6
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin-openapi-bindings.mjs +10144 -10144
  8. package/kotlin-rgxgen.mjs +1760 -1760
  9. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  10. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1810 -1810
  11. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1488 -1488
  12. package/mordant-mordant.mjs +1198 -1198
  13. package/package.json +1 -1
  14. package/wirespec-src-compiler-core.mjs +1652 -1139
  15. package/wirespec-src-compiler-core.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-java.mjs +206 -191
  17. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-kotlin.mjs +153 -138
  19. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-python.mjs +182 -153
  21. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-rust.mjs +439 -379
  23. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-scala.mjs +175 -160
  25. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-typescript.mjs +268 -224
  27. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-wirespec.mjs +98 -77
  29. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  30. package/wirespec-src-compiler-ir.mjs +3704 -3619
  31. package/wirespec-src-compiler-ir.mjs.map +1 -1
  32. package/wirespec-src-compiler-lib.mjs +308 -227
  33. package/wirespec-src-compiler-lib.mjs.map +1 -1
  34. package/wirespec-src-converter-avro.mjs +503 -503
  35. package/wirespec-src-converter-openapi.mjs +581 -569
  36. package/wirespec-src-converter-openapi.mjs.map +1 -1
  37. package/wirespec-src-ide-lsp.mjs +1352 -1352
  38. package/wirespec-src-plugin-arguments.mjs +136 -136
  39. package/wirespec-src-plugin-cli.mjs +85 -85
  40. package/wirespec-src-plugin-npm.d.mts +15 -0
  41. package/wirespec-src-plugin-npm.mjs +26 -26
  42. package/wirespec-src-tools-generator.mjs +29 -24
  43. package/wirespec-src-tools-generator.mjs.map +1 -1
@@ -27,6 +27,7 @@ import {
27
27
  import {
28
28
  _Comment___get_value__impl__8r3pla91n06q5nihqb as _Comment___get_value__impl__8r3pla,
29
29
  Comment3jy4x02mtqi9b as Comment,
30
+ Rpc1w89psy5tk702 as Rpc,
30
31
  Channel2fhxi4a4pwb64 as Channel,
31
32
  Unionccsavx6nrdr2 as Union,
32
33
  Refined1lkzc0dg6wey7 as Refined,
@@ -97,6 +98,7 @@ initMetadataForClass(WsEndpoint, 'WsEndpoint', VOID, VOID, [WsDefinition]);
97
98
  initMetadataForClass(WsEnum, 'WsEnum', VOID, VOID, [WsDefinition]);
98
99
  initMetadataForClass(WsUnion, 'WsUnion', VOID, VOID, [WsDefinition]);
99
100
  initMetadataForClass(WsChannel, 'WsChannel', VOID, VOID, [WsDefinition]);
101
+ initMetadataForClass(WsRpc, 'WsRpc', VOID, VOID, [WsDefinition]);
100
102
  initMetadataForClass(WsRefined, 'WsRefined', VOID, VOID, [WsDefinition]);
101
103
  initMetadataForClass(WsMethod, 'WsMethod', VOID, Enum);
102
104
  initMetadataForInterface(WsSegment, 'WsSegment');
@@ -139,29 +141,29 @@ function WsNode() {
139
141
  function WsAST(modules) {
140
142
  this.modules = modules;
141
143
  }
142
- protoOf(WsAST).yv = function () {
144
+ protoOf(WsAST).gw = function () {
143
145
  return this.modules;
144
146
  };
145
147
  function WsModule(statements) {
146
148
  this.statements = statements;
147
149
  }
148
- protoOf(WsModule).zv = function () {
150
+ protoOf(WsModule).hw = function () {
149
151
  return this.statements;
150
152
  };
151
153
  function WsDefinition() {
152
154
  }
153
155
  function WsType(identifier, comment, shape) {
154
- this.bw_1 = identifier;
155
- this.cw_1 = comment;
156
+ this.jw_1 = identifier;
157
+ this.kw_1 = comment;
156
158
  this.shape = shape;
157
159
  }
158
- protoOf(WsType).gr = function () {
159
- return this.bw_1;
160
+ protoOf(WsType).mr = function () {
161
+ return this.jw_1;
160
162
  };
161
- protoOf(WsType).aw = function () {
162
- return this.cw_1;
163
+ protoOf(WsType).iw = function () {
164
+ return this.kw_1;
163
165
  };
164
- protoOf(WsType).dw = function () {
166
+ protoOf(WsType).lw = function () {
165
167
  return this.shape;
166
168
  };
167
169
  function WsShape(value) {
@@ -171,8 +173,8 @@ protoOf(WsShape).m1 = function () {
171
173
  return this.value;
172
174
  };
173
175
  function WsEndpoint(identifier, comment, method, path, queries, headers, requests, responses) {
174
- this.ew_1 = identifier;
175
- this.fw_1 = comment;
176
+ this.mw_1 = identifier;
177
+ this.nw_1 = comment;
176
178
  this.method = method;
177
179
  this.path = path;
178
180
  this.queries = queries;
@@ -180,84 +182,106 @@ function WsEndpoint(identifier, comment, method, path, queries, headers, request
180
182
  this.requests = requests;
181
183
  this.responses = responses;
182
184
  }
183
- protoOf(WsEndpoint).gr = function () {
184
- return this.ew_1;
185
+ protoOf(WsEndpoint).mr = function () {
186
+ return this.mw_1;
185
187
  };
186
- protoOf(WsEndpoint).aw = function () {
187
- return this.fw_1;
188
+ protoOf(WsEndpoint).iw = function () {
189
+ return this.nw_1;
188
190
  };
189
- protoOf(WsEndpoint).gw = function () {
191
+ protoOf(WsEndpoint).ow = function () {
190
192
  return this.method;
191
193
  };
192
- protoOf(WsEndpoint).hw = function () {
194
+ protoOf(WsEndpoint).pw = function () {
193
195
  return this.path;
194
196
  };
195
- protoOf(WsEndpoint).iw = function () {
197
+ protoOf(WsEndpoint).qw = function () {
196
198
  return this.queries;
197
199
  };
198
- protoOf(WsEndpoint).jw = function () {
200
+ protoOf(WsEndpoint).rw = function () {
199
201
  return this.headers;
200
202
  };
201
- protoOf(WsEndpoint).kw = function () {
203
+ protoOf(WsEndpoint).sw = function () {
202
204
  return this.requests;
203
205
  };
204
- protoOf(WsEndpoint).lw = function () {
206
+ protoOf(WsEndpoint).tw = function () {
205
207
  return this.responses;
206
208
  };
207
209
  function WsEnum(identifier, comment, entries) {
208
- this.mw_1 = identifier;
209
- this.nw_1 = comment;
210
+ this.uw_1 = identifier;
211
+ this.vw_1 = comment;
210
212
  this.entries = entries;
211
213
  }
212
- protoOf(WsEnum).gr = function () {
213
- return this.mw_1;
214
+ protoOf(WsEnum).mr = function () {
215
+ return this.uw_1;
214
216
  };
215
- protoOf(WsEnum).aw = function () {
216
- return this.nw_1;
217
+ protoOf(WsEnum).iw = function () {
218
+ return this.vw_1;
217
219
  };
218
220
  protoOf(WsEnum).k1 = function () {
219
221
  return this.entries;
220
222
  };
221
223
  function WsUnion(identifier, comment, entries) {
222
- this.ow_1 = identifier;
223
- this.pw_1 = comment;
224
+ this.ww_1 = identifier;
225
+ this.xw_1 = comment;
224
226
  this.entries = entries;
225
227
  }
226
- protoOf(WsUnion).gr = function () {
227
- return this.ow_1;
228
+ protoOf(WsUnion).mr = function () {
229
+ return this.ww_1;
228
230
  };
229
- protoOf(WsUnion).aw = function () {
230
- return this.pw_1;
231
+ protoOf(WsUnion).iw = function () {
232
+ return this.xw_1;
231
233
  };
232
234
  protoOf(WsUnion).k1 = function () {
233
235
  return this.entries;
234
236
  };
235
237
  function WsChannel(identifier, comment, reference) {
236
- this.qw_1 = identifier;
237
- this.rw_1 = comment;
238
+ this.yw_1 = identifier;
239
+ this.zw_1 = comment;
238
240
  this.reference = reference;
239
241
  }
240
- protoOf(WsChannel).gr = function () {
241
- return this.qw_1;
242
+ protoOf(WsChannel).mr = function () {
243
+ return this.yw_1;
242
244
  };
243
- protoOf(WsChannel).aw = function () {
244
- return this.rw_1;
245
+ protoOf(WsChannel).iw = function () {
246
+ return this.zw_1;
245
247
  };
246
- protoOf(WsChannel).sw = function () {
248
+ protoOf(WsChannel).ax = function () {
247
249
  return this.reference;
248
250
  };
251
+ function WsRpc(identifier, comment, shape, result, error) {
252
+ this.bx_1 = identifier;
253
+ this.cx_1 = comment;
254
+ this.shape = shape;
255
+ this.result = result;
256
+ this.error = error;
257
+ }
258
+ protoOf(WsRpc).mr = function () {
259
+ return this.bx_1;
260
+ };
261
+ protoOf(WsRpc).iw = function () {
262
+ return this.cx_1;
263
+ };
264
+ protoOf(WsRpc).lw = function () {
265
+ return this.shape;
266
+ };
267
+ protoOf(WsRpc).dx = function () {
268
+ return this.result;
269
+ };
270
+ protoOf(WsRpc).ex = function () {
271
+ return this.error;
272
+ };
249
273
  function WsRefined(identifier, comment, reference) {
250
- this.tw_1 = identifier;
251
- this.uw_1 = comment;
274
+ this.fx_1 = identifier;
275
+ this.gx_1 = comment;
252
276
  this.reference = reference;
253
277
  }
254
- protoOf(WsRefined).gr = function () {
255
- return this.tw_1;
278
+ protoOf(WsRefined).mr = function () {
279
+ return this.fx_1;
256
280
  };
257
- protoOf(WsRefined).aw = function () {
258
- return this.uw_1;
281
+ protoOf(WsRefined).iw = function () {
282
+ return this.gx_1;
259
283
  };
260
- protoOf(WsRefined).sw = function () {
284
+ protoOf(WsRefined).ax = function () {
261
285
  return this.reference;
262
286
  };
263
287
  var WsMethod_GET_instance;
@@ -324,10 +348,10 @@ function WsParam(identifier, reference) {
324
348
  this.identifier = identifier;
325
349
  this.reference = reference;
326
350
  }
327
- protoOf(WsParam).gr = function () {
351
+ protoOf(WsParam).mr = function () {
328
352
  return this.identifier;
329
353
  };
330
- protoOf(WsParam).sw = function () {
354
+ protoOf(WsParam).ax = function () {
331
355
  return this.reference;
332
356
  };
333
357
  function Shape_0(value) {
@@ -340,10 +364,10 @@ function WsField(identifier, reference) {
340
364
  this.identifier = identifier;
341
365
  this.reference = reference;
342
366
  }
343
- protoOf(WsField).gr = function () {
367
+ protoOf(WsField).mr = function () {
344
368
  return this.identifier;
345
369
  };
346
- protoOf(WsField).sw = function () {
370
+ protoOf(WsField).ax = function () {
347
371
  return this.reference;
348
372
  };
349
373
  function WsIdentifier() {
@@ -363,60 +387,60 @@ protoOf(WsFieldIdentifier).m1 = function () {
363
387
  function WsReference() {
364
388
  }
365
389
  function WsAny(isNullable) {
366
- this.xw_1 = isNullable;
390
+ this.jx_1 = isNullable;
367
391
  }
368
- protoOf(WsAny).vu = function () {
369
- return this.xw_1;
392
+ protoOf(WsAny).dv = function () {
393
+ return this.jx_1;
370
394
  };
371
395
  function WsUnit(isNullable) {
372
- this.yw_1 = isNullable;
396
+ this.kx_1 = isNullable;
373
397
  }
374
- protoOf(WsUnit).vu = function () {
375
- return this.yw_1;
398
+ protoOf(WsUnit).dv = function () {
399
+ return this.kx_1;
376
400
  };
377
401
  function WsIterable(reference, isNullable) {
378
402
  this.reference = reference;
379
- this.zw_1 = isNullable;
403
+ this.lx_1 = isNullable;
380
404
  }
381
- protoOf(WsIterable).sw = function () {
405
+ protoOf(WsIterable).ax = function () {
382
406
  return this.reference;
383
407
  };
384
- protoOf(WsIterable).vu = function () {
385
- return this.zw_1;
408
+ protoOf(WsIterable).dv = function () {
409
+ return this.lx_1;
386
410
  };
387
411
  function WsDict(reference, isNullable) {
388
412
  this.reference = reference;
389
- this.ax_1 = isNullable;
413
+ this.mx_1 = isNullable;
390
414
  }
391
- protoOf(WsDict).sw = function () {
415
+ protoOf(WsDict).ax = function () {
392
416
  return this.reference;
393
417
  };
394
- protoOf(WsDict).vu = function () {
395
- return this.ax_1;
418
+ protoOf(WsDict).dv = function () {
419
+ return this.mx_1;
396
420
  };
397
421
  function WsCustom(value, isNullable) {
398
422
  this.value = value;
399
- this.bx_1 = isNullable;
423
+ this.nx_1 = isNullable;
400
424
  }
401
425
  protoOf(WsCustom).m1 = function () {
402
426
  return this.value;
403
427
  };
404
- protoOf(WsCustom).vu = function () {
405
- return this.bx_1;
428
+ protoOf(WsCustom).dv = function () {
429
+ return this.nx_1;
406
430
  };
407
431
  function WsPrimitive(type, isNullable, constraint) {
408
432
  constraint = constraint === VOID ? null : constraint;
409
433
  this.type = type;
410
- this.cx_1 = isNullable;
434
+ this.ox_1 = isNullable;
411
435
  this.constraint = constraint;
412
436
  }
413
- protoOf(WsPrimitive).dx = function () {
437
+ protoOf(WsPrimitive).px = function () {
414
438
  return this.type;
415
439
  };
416
- protoOf(WsPrimitive).vu = function () {
417
- return this.cx_1;
440
+ protoOf(WsPrimitive).dv = function () {
441
+ return this.ox_1;
418
442
  };
419
- protoOf(WsPrimitive).ex = function () {
443
+ protoOf(WsPrimitive).qx = function () {
420
444
  return this.constraint;
421
445
  };
422
446
  var WsPrimitiveType_String_instance;
@@ -479,16 +503,16 @@ function WsBoundConstraint(min, max) {
479
503
  this.min = min;
480
504
  this.max = max;
481
505
  }
482
- protoOf(WsBoundConstraint).hx = function () {
506
+ protoOf(WsBoundConstraint).tx = function () {
483
507
  return this.min;
484
508
  };
485
- protoOf(WsBoundConstraint).ix = function () {
509
+ protoOf(WsBoundConstraint).ux = function () {
486
510
  return this.max;
487
511
  };
488
512
  function WsRequest(content) {
489
513
  this.content = content;
490
514
  }
491
- protoOf(WsRequest).jx = function () {
515
+ protoOf(WsRequest).vx = function () {
492
516
  return this.content;
493
517
  };
494
518
  function WsResponse(status, headers, content) {
@@ -496,13 +520,13 @@ function WsResponse(status, headers, content) {
496
520
  this.headers = headers;
497
521
  this.content = content;
498
522
  }
499
- protoOf(WsResponse).kx = function () {
523
+ protoOf(WsResponse).wx = function () {
500
524
  return this.status;
501
525
  };
502
- protoOf(WsResponse).jw = function () {
526
+ protoOf(WsResponse).rw = function () {
503
527
  return this.headers;
504
528
  };
505
- protoOf(WsResponse).jx = function () {
529
+ protoOf(WsResponse).vx = function () {
506
530
  return this.content;
507
531
  };
508
532
  function WsContent(type, reference, isNullable) {
@@ -511,20 +535,20 @@ function WsContent(type, reference, isNullable) {
511
535
  this.reference = reference;
512
536
  this.isNullable = isNullable;
513
537
  }
514
- protoOf(WsContent).dx = function () {
538
+ protoOf(WsContent).px = function () {
515
539
  return this.type;
516
540
  };
517
- protoOf(WsContent).sw = function () {
541
+ protoOf(WsContent).ax = function () {
518
542
  return this.reference;
519
543
  };
520
- protoOf(WsContent).vu = function () {
544
+ protoOf(WsContent).dv = function () {
521
545
  return this.isNullable;
522
546
  };
523
547
  function produce(_this__u8e3s4) {
524
548
  var tmp;
525
549
  if (_this__u8e3s4 instanceof Type) {
526
- var tmp_0 = _this__u8e3s4.vp_1.m1();
527
- var tmp1_safe_receiver = _this__u8e3s4.tp_1;
550
+ var tmp_0 = _this__u8e3s4.eq_1.m1();
551
+ var tmp1_safe_receiver = _this__u8e3s4.cq_1;
528
552
  var tmp_1;
529
553
  var tmp_2 = tmp1_safe_receiver;
530
554
  if ((tmp_2 == null ? null : new Comment(tmp_2)) == null) {
@@ -532,11 +556,11 @@ function produce(_this__u8e3s4) {
532
556
  } else {
533
557
  tmp_1 = _Comment___get_value__impl__8r3pla(tmp1_safe_receiver);
534
558
  }
535
- tmp = new WsType(tmp_0, tmp_1, produce_0(_this__u8e3s4.wp_1));
559
+ tmp = new WsType(tmp_0, tmp_1, produce_0(_this__u8e3s4.fq_1));
536
560
  } else {
537
561
  if (_this__u8e3s4 instanceof Endpoint) {
538
- var tmp_3 = _this__u8e3s4.eq_1.m1();
539
- var tmp2_safe_receiver = _this__u8e3s4.cq_1;
562
+ var tmp_3 = _this__u8e3s4.kq_1.m1();
563
+ var tmp2_safe_receiver = _this__u8e3s4.iq_1;
540
564
  var tmp_4;
541
565
  var tmp_5 = tmp2_safe_receiver;
542
566
  if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
@@ -544,11 +568,11 @@ function produce(_this__u8e3s4) {
544
568
  } else {
545
569
  tmp_4 = _Comment___get_value__impl__8r3pla(tmp2_safe_receiver);
546
570
  }
547
- tmp = new WsEndpoint(tmp_3, tmp_4, produce_1(_this__u8e3s4.fq_1), produce_2(_this__u8e3s4.gq_1), produce_3(_this__u8e3s4.hq_1), produce_3(_this__u8e3s4.iq_1), produce_4(_this__u8e3s4.jq_1), produce_5(_this__u8e3s4.kq_1));
571
+ tmp = new WsEndpoint(tmp_3, tmp_4, produce_1(_this__u8e3s4.lq_1), produce_2(_this__u8e3s4.mq_1), produce_3(_this__u8e3s4.nq_1), produce_3(_this__u8e3s4.oq_1), produce_4(_this__u8e3s4.pq_1), produce_5(_this__u8e3s4.qq_1));
548
572
  } else {
549
573
  if (_this__u8e3s4 instanceof Enum_0) {
550
- var tmp_6 = _this__u8e3s4.rr_1.m1();
551
- var tmp3_safe_receiver = _this__u8e3s4.pr_1;
574
+ var tmp_6 = _this__u8e3s4.yr_1.m1();
575
+ var tmp3_safe_receiver = _this__u8e3s4.wr_1;
552
576
  var tmp_7;
553
577
  var tmp_8 = tmp3_safe_receiver;
554
578
  if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
@@ -558,13 +582,13 @@ function produce(_this__u8e3s4) {
558
582
  }
559
583
  var tmp_9 = tmp_7;
560
584
  // Inline function 'kotlin.collections.toTypedArray' call
561
- var this_0 = _this__u8e3s4.sr_1;
585
+ var this_0 = _this__u8e3s4.zr_1;
562
586
  var tmp$ret$0 = copyToArray(this_0);
563
587
  tmp = new WsEnum(tmp_6, tmp_9, tmp$ret$0);
564
588
  } else {
565
589
  if (_this__u8e3s4 instanceof Refined) {
566
- var tmp_10 = _this__u8e3s4.mr_1.m1();
567
- var tmp4_safe_receiver = _this__u8e3s4.kr_1;
590
+ var tmp_10 = _this__u8e3s4.tr_1.m1();
591
+ var tmp4_safe_receiver = _this__u8e3s4.rr_1;
568
592
  var tmp_11;
569
593
  var tmp_12 = tmp4_safe_receiver;
570
594
  if ((tmp_12 == null ? null : new Comment(tmp_12)) == null) {
@@ -572,11 +596,11 @@ function produce(_this__u8e3s4) {
572
596
  } else {
573
597
  tmp_11 = _Comment___get_value__impl__8r3pla(tmp4_safe_receiver);
574
598
  }
575
- tmp = new WsRefined(tmp_10, tmp_11, produce_6(_this__u8e3s4.nr_1));
599
+ tmp = new WsRefined(tmp_10, tmp_11, produce_6(_this__u8e3s4.ur_1));
576
600
  } else {
577
601
  if (_this__u8e3s4 instanceof Union) {
578
- var tmp_13 = _this__u8e3s4.qp_1.m1();
579
- var tmp5_safe_receiver = _this__u8e3s4.op_1;
602
+ var tmp_13 = _this__u8e3s4.aq_1.m1();
603
+ var tmp5_safe_receiver = _this__u8e3s4.yp_1;
580
604
  var tmp_14;
581
605
  var tmp_15 = tmp5_safe_receiver;
582
606
  if ((tmp_15 == null ? null : new Comment(tmp_15)) == null) {
@@ -586,7 +610,7 @@ function produce(_this__u8e3s4) {
586
610
  }
587
611
  var tmp_16 = tmp_14;
588
612
  // Inline function 'kotlin.collections.map' call
589
- var this_1 = _this__u8e3s4.rp_1;
613
+ var this_1 = _this__u8e3s4.bq_1;
590
614
  // Inline function 'kotlin.collections.mapTo' call
591
615
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
592
616
  var _iterator__ex2g4s = this_1.t();
@@ -600,8 +624,8 @@ function produce(_this__u8e3s4) {
600
624
  tmp = new WsUnion(tmp_13, tmp_16, tmp$ret$4);
601
625
  } else {
602
626
  if (_this__u8e3s4 instanceof Channel) {
603
- var tmp_17 = _this__u8e3s4.mp_1.m1();
604
- var tmp6_safe_receiver = _this__u8e3s4.kp_1;
627
+ var tmp_17 = _this__u8e3s4.wp_1.m1();
628
+ var tmp6_safe_receiver = _this__u8e3s4.up_1;
605
629
  var tmp_18;
606
630
  var tmp_19 = tmp6_safe_receiver;
607
631
  if ((tmp_19 == null ? null : new Comment(tmp_19)) == null) {
@@ -609,9 +633,26 @@ function produce(_this__u8e3s4) {
609
633
  } else {
610
634
  tmp_18 = _Comment___get_value__impl__8r3pla(tmp6_safe_receiver);
611
635
  }
612
- tmp = new WsChannel(tmp_17, tmp_18, produce_6(_this__u8e3s4.np_1));
636
+ tmp = new WsChannel(tmp_17, tmp_18, produce_6(_this__u8e3s4.xp_1));
613
637
  } else {
614
- noWhenBranchMatchedException();
638
+ if (_this__u8e3s4 instanceof Rpc) {
639
+ var tmp_20 = _this__u8e3s4.np_1.m1();
640
+ var tmp7_safe_receiver = _this__u8e3s4.lp_1;
641
+ var tmp_21;
642
+ var tmp_22 = tmp7_safe_receiver;
643
+ if ((tmp_22 == null ? null : new Comment(tmp_22)) == null) {
644
+ tmp_21 = null;
645
+ } else {
646
+ tmp_21 = _Comment___get_value__impl__8r3pla(tmp7_safe_receiver);
647
+ }
648
+ var tmp_23 = tmp_21;
649
+ var tmp_24 = produce_0(_this__u8e3s4.op_1);
650
+ var tmp_25 = produce_6(_this__u8e3s4.pp_1);
651
+ var tmp8_safe_receiver = _this__u8e3s4.qp_1;
652
+ tmp = new WsRpc(tmp_20, tmp_23, tmp_24, tmp_25, tmp8_safe_receiver == null ? null : produce_6(tmp8_safe_receiver));
653
+ } else {
654
+ noWhenBranchMatchedException();
655
+ }
615
656
  }
616
657
  }
617
658
  }
@@ -622,7 +663,7 @@ function produce(_this__u8e3s4) {
622
663
  }
623
664
  function produce_0(_this__u8e3s4) {
624
665
  // Inline function 'kotlin.collections.map' call
625
- var this_0 = _this__u8e3s4.sp_1;
666
+ var this_0 = _this__u8e3s4.kp_1;
626
667
  // Inline function 'kotlin.collections.mapTo' call
627
668
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
628
669
  var _iterator__ex2g4s = this_0.t();
@@ -677,10 +718,10 @@ function produce_2(_this__u8e3s4) {
677
718
  var item = _iterator__ex2g4s.v();
678
719
  var tmp;
679
720
  if (item instanceof Literal) {
680
- tmp = new WsLiteral(item.tt_1);
721
+ tmp = new WsLiteral(item.bu_1);
681
722
  } else {
682
723
  if (item instanceof Param) {
683
- tmp = new WsParam(produce_8(item.lq_1), produce_6(item.mq_1));
724
+ tmp = new WsParam(produce_8(item.rq_1), produce_6(item.sq_1));
684
725
  } else {
685
726
  noWhenBranchMatchedException();
686
727
  }
@@ -733,16 +774,16 @@ function produce_5(_this__u8e3s4) {
733
774
  function produce_6(_this__u8e3s4) {
734
775
  var tmp;
735
776
  if (_this__u8e3s4 instanceof Any) {
736
- tmp = new WsAny(_this__u8e3s4.tu_1);
777
+ tmp = new WsAny(_this__u8e3s4.bv_1);
737
778
  } else {
738
779
  if (_this__u8e3s4 instanceof Unit) {
739
- tmp = new WsUnit(_this__u8e3s4.yu_1);
780
+ tmp = new WsUnit(_this__u8e3s4.gv_1);
740
781
  } else {
741
782
  if (_this__u8e3s4 instanceof Custom) {
742
- tmp = new WsCustom(_this__u8e3s4.dv_1, _this__u8e3s4.ev_1);
783
+ tmp = new WsCustom(_this__u8e3s4.lv_1, _this__u8e3s4.mv_1);
743
784
  } else {
744
785
  if (_this__u8e3s4 instanceof Primitive) {
745
- tmp = new WsPrimitive(produce_11(_this__u8e3s4.ot_1), _this__u8e3s4.pt_1, produceConstraint(_this__u8e3s4.ot_1));
786
+ tmp = new WsPrimitive(produce_11(_this__u8e3s4.wt_1), _this__u8e3s4.xt_1, produceConstraint(_this__u8e3s4.wt_1));
746
787
  } else {
747
788
  if (_this__u8e3s4 instanceof Dict) {
748
789
  tmp = new WsDict(produce_6(_this__u8e3s4.bp_1), _this__u8e3s4.cp_1);
@@ -760,18 +801,18 @@ function produce_6(_this__u8e3s4) {
760
801
  return tmp;
761
802
  }
762
803
  function produce_7(_this__u8e3s4) {
763
- return new WsField(produce_8(_this__u8e3s4.aq_1), produce_6(_this__u8e3s4.bq_1));
804
+ return new WsField(produce_8(_this__u8e3s4.sp_1), produce_6(_this__u8e3s4.tp_1));
764
805
  }
765
806
  function produce_8(_this__u8e3s4) {
766
807
  return new WsFieldIdentifier(_this__u8e3s4.m1());
767
808
  }
768
809
  function produce_9(_this__u8e3s4) {
769
- var tmp0_safe_receiver = _this__u8e3s4.nq_1;
810
+ var tmp0_safe_receiver = _this__u8e3s4.tq_1;
770
811
  return new WsRequest(tmp0_safe_receiver == null ? null : produce_12(tmp0_safe_receiver));
771
812
  }
772
813
  function produce_10(_this__u8e3s4) {
773
814
  // Inline function 'kotlin.collections.map' call
774
- var this_0 = _this__u8e3s4.rq_1;
815
+ var this_0 = _this__u8e3s4.xq_1;
775
816
  // Inline function 'kotlin.collections.mapTo' call
776
817
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
777
818
  var _iterator__ex2g4s = this_0.t();
@@ -782,8 +823,8 @@ function produce_10(_this__u8e3s4) {
782
823
  }
783
824
  // Inline function 'kotlin.collections.toTypedArray' call
784
825
  var tmp = copyToArray(destination);
785
- var tmp0_safe_receiver = _this__u8e3s4.sq_1;
786
- return new WsResponse(_this__u8e3s4.qq_1, tmp, tmp0_safe_receiver == null ? null : produce_12(tmp0_safe_receiver));
826
+ var tmp0_safe_receiver = _this__u8e3s4.yq_1;
827
+ return new WsResponse(_this__u8e3s4.wq_1, tmp, tmp0_safe_receiver == null ? null : produce_12(tmp0_safe_receiver));
787
828
  }
788
829
  function produce_11(_this__u8e3s4) {
789
830
  var tmp;
@@ -792,7 +833,7 @@ function produce_11(_this__u8e3s4) {
792
833
  } else {
793
834
  if (_this__u8e3s4 instanceof Integer) {
794
835
  var tmp_0;
795
- switch (_this__u8e3s4.lu_1.c3_1) {
836
+ switch (_this__u8e3s4.tu_1.c3_1) {
796
837
  case 0:
797
838
  tmp_0 = WsPrimitiveType_Integer32_getInstance();
798
839
  break;
@@ -807,7 +848,7 @@ function produce_11(_this__u8e3s4) {
807
848
  } else {
808
849
  if (_this__u8e3s4 instanceof Number_0) {
809
850
  var tmp_1;
810
- switch (_this__u8e3s4.ou_1.c3_1) {
851
+ switch (_this__u8e3s4.wu_1.c3_1) {
811
852
  case 0:
812
853
  tmp_1 = WsPrimitiveType_Number32_getInstance();
813
854
  break;
@@ -837,7 +878,7 @@ function produce_11(_this__u8e3s4) {
837
878
  function produceConstraint(_this__u8e3s4) {
838
879
  var tmp;
839
880
  if (_this__u8e3s4 instanceof String_0) {
840
- var tmp1_safe_receiver = _this__u8e3s4.ju_1;
881
+ var tmp1_safe_receiver = _this__u8e3s4.ru_1;
841
882
  var tmp_0;
842
883
  var tmp_1 = tmp1_safe_receiver;
843
884
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
@@ -845,30 +886,30 @@ function produceConstraint(_this__u8e3s4) {
845
886
  } else {
846
887
  var tmp_2 = tmp1_safe_receiver;
847
888
  // Inline function 'kotlin.let' call
848
- var it = (tmp_2 == null ? null : new RegExp_0(tmp_2)).nt_1;
889
+ var it = (tmp_2 == null ? null : new RegExp_0(tmp_2)).vt_1;
849
890
  tmp_0 = new WsRegExpConstraint(_RegExp___get_value__impl__7o7618(it));
850
891
  }
851
892
  tmp = tmp_0;
852
893
  } else {
853
894
  if (_this__u8e3s4 instanceof Integer) {
854
- var tmp2_safe_receiver = _this__u8e3s4.mu_1;
895
+ var tmp2_safe_receiver = _this__u8e3s4.uu_1;
855
896
  var tmp_3;
856
897
  if (tmp2_safe_receiver == null) {
857
898
  tmp_3 = null;
858
899
  } else {
859
900
  // Inline function 'kotlin.let' call
860
- tmp_3 = new WsBoundConstraint(tmp2_safe_receiver.hu_1, tmp2_safe_receiver.iu_1);
901
+ tmp_3 = new WsBoundConstraint(tmp2_safe_receiver.pu_1, tmp2_safe_receiver.qu_1);
861
902
  }
862
903
  tmp = tmp_3;
863
904
  } else {
864
905
  if (_this__u8e3s4 instanceof Number_0) {
865
- var tmp3_safe_receiver = _this__u8e3s4.pu_1;
906
+ var tmp3_safe_receiver = _this__u8e3s4.xu_1;
866
907
  var tmp_4;
867
908
  if (tmp3_safe_receiver == null) {
868
909
  tmp_4 = null;
869
910
  } else {
870
911
  // Inline function 'kotlin.let' call
871
- tmp_4 = new WsBoundConstraint(tmp3_safe_receiver.hu_1, tmp3_safe_receiver.iu_1);
912
+ tmp_4 = new WsBoundConstraint(tmp3_safe_receiver.pu_1, tmp3_safe_receiver.qu_1);
872
913
  }
873
914
  tmp = tmp_4;
874
915
  } else {
@@ -887,11 +928,11 @@ function produceConstraint(_this__u8e3s4) {
887
928
  return tmp;
888
929
  }
889
930
  function produce_12(_this__u8e3s4) {
890
- return new WsContent(_this__u8e3s4.oq_1, produce_6(_this__u8e3s4.pq_1));
931
+ return new WsContent(_this__u8e3s4.uq_1, produce_6(_this__u8e3s4.vq_1));
891
932
  }
892
933
  function produce_13(_this__u8e3s4) {
893
934
  // Inline function 'arrow.core.NonEmptyList.map' call
894
- var this_0 = _this__u8e3s4.br_1;
935
+ var this_0 = _this__u8e3s4.hr_1;
895
936
  // Inline function 'kotlin.collections.map' call
896
937
  var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
897
938
  // Inline function 'kotlin.collections.mapTo' call
@@ -926,7 +967,7 @@ function consume(_this__u8e3s4) {
926
967
  }
927
968
  function produce_14(_this__u8e3s4) {
928
969
  // Inline function 'arrow.core.NonEmptyList.map' call
929
- var this_0 = _this__u8e3s4.ar_1;
970
+ var this_0 = _this__u8e3s4.gr_1;
930
971
  // Inline function 'kotlin.collections.map' call
931
972
  var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
932
973
  // Inline function 'kotlin.collections.mapTo' call
@@ -980,7 +1021,11 @@ function consume_1(_this__u8e3s4) {
980
1021
  if (_this__u8e3s4 instanceof WsChannel) {
981
1022
  tmp = consume_7(_this__u8e3s4);
982
1023
  } else {
983
- noWhenBranchMatchedException();
1024
+ if (_this__u8e3s4 instanceof WsRpc) {
1025
+ tmp = consume_8(_this__u8e3s4);
1026
+ } else {
1027
+ noWhenBranchMatchedException();
1028
+ }
984
1029
  }
985
1030
  }
986
1031
  }
@@ -990,18 +1035,18 @@ function consume_1(_this__u8e3s4) {
990
1035
  return tmp;
991
1036
  }
992
1037
  function consume_2(_this__u8e3s4) {
993
- var tmp0_safe_receiver = _this__u8e3s4.fw_1;
1038
+ var tmp0_safe_receiver = _this__u8e3s4.nw_1;
994
1039
  var tmp;
995
1040
  if (tmp0_safe_receiver == null) {
996
1041
  tmp = null;
997
1042
  } else {
998
1043
  // Inline function 'kotlin.let' call
999
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1044
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1000
1045
  }
1001
1046
  var tmp_0 = tmp;
1002
1047
  var tmp_1 = emptyList();
1003
- var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.ew_1);
1004
- var tmp_3 = consume_8(_this__u8e3s4.method);
1048
+ var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.mw_1);
1049
+ var tmp_3 = consume_9(_this__u8e3s4.method);
1005
1050
  // Inline function 'kotlin.collections.map' call
1006
1051
  var this_0 = _this__u8e3s4.path;
1007
1052
  // Inline function 'kotlin.collections.mapTo' call
@@ -1011,7 +1056,7 @@ function consume_2(_this__u8e3s4) {
1011
1056
  while (inductionVariable < last) {
1012
1057
  var item = this_0[inductionVariable];
1013
1058
  inductionVariable = inductionVariable + 1 | 0;
1014
- var tmp$ret$2 = consume_9(item);
1059
+ var tmp$ret$2 = consume_10(item);
1015
1060
  destination.x(tmp$ret$2);
1016
1061
  }
1017
1062
  var tmp_4 = destination;
@@ -1024,7 +1069,7 @@ function consume_2(_this__u8e3s4) {
1024
1069
  while (inductionVariable_0 < last_0) {
1025
1070
  var item_0 = this_1[inductionVariable_0];
1026
1071
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1027
- var tmp$ret$5 = consume_10(item_0);
1072
+ var tmp$ret$5 = consume_11(item_0);
1028
1073
  destination_0.x(tmp$ret$5);
1029
1074
  }
1030
1075
  var tmp_5 = destination_0;
@@ -1037,7 +1082,7 @@ function consume_2(_this__u8e3s4) {
1037
1082
  while (inductionVariable_1 < last_1) {
1038
1083
  var item_1 = this_2[inductionVariable_1];
1039
1084
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
1040
- var tmp$ret$8 = consume_10(item_1);
1085
+ var tmp$ret$8 = consume_11(item_1);
1041
1086
  destination_1.x(tmp$ret$8);
1042
1087
  }
1043
1088
  var tmp_6 = destination_1;
@@ -1050,7 +1095,7 @@ function consume_2(_this__u8e3s4) {
1050
1095
  while (inductionVariable_2 < last_2) {
1051
1096
  var item_2 = this_3[inductionVariable_2];
1052
1097
  inductionVariable_2 = inductionVariable_2 + 1 | 0;
1053
- var tmp$ret$11 = consume_11(item_2);
1098
+ var tmp$ret$11 = consume_12(item_2);
1054
1099
  destination_2.x(tmp$ret$11);
1055
1100
  }
1056
1101
  var tmp_7 = destination_2;
@@ -1063,35 +1108,35 @@ function consume_2(_this__u8e3s4) {
1063
1108
  while (inductionVariable_3 < last_3) {
1064
1109
  var item_3 = this_4[inductionVariable_3];
1065
1110
  inductionVariable_3 = inductionVariable_3 + 1 | 0;
1066
- var tmp$ret$14 = consume_12(item_3);
1111
+ var tmp$ret$14 = consume_13(item_3);
1067
1112
  destination_3.x(tmp$ret$14);
1068
1113
  }
1069
1114
  return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_3);
1070
1115
  }
1071
1116
  function consume_3(_this__u8e3s4) {
1072
- var tmp0_safe_receiver = _this__u8e3s4.nw_1;
1117
+ var tmp0_safe_receiver = _this__u8e3s4.vw_1;
1073
1118
  var tmp;
1074
1119
  if (tmp0_safe_receiver == null) {
1075
1120
  tmp = null;
1076
1121
  } else {
1077
1122
  // Inline function 'kotlin.let' call
1078
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1123
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1079
1124
  }
1080
- return new Enum_0(tmp, emptyList(), new DefinitionIdentifier(_this__u8e3s4.mw_1), toSet(_this__u8e3s4.entries));
1125
+ return new Enum_0(tmp, emptyList(), new DefinitionIdentifier(_this__u8e3s4.uw_1), toSet(_this__u8e3s4.entries));
1081
1126
  }
1082
1127
  function consume_4(_this__u8e3s4) {
1083
- var tmp0_safe_receiver = _this__u8e3s4.uw_1;
1128
+ var tmp0_safe_receiver = _this__u8e3s4.gx_1;
1084
1129
  var tmp;
1085
1130
  if (tmp0_safe_receiver == null) {
1086
1131
  tmp = null;
1087
1132
  } else {
1088
1133
  // Inline function 'kotlin.let' call
1089
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1134
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1090
1135
  }
1091
1136
  var tmp_0 = tmp;
1092
1137
  var tmp_1 = emptyList();
1093
- var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.tw_1);
1094
- var tmp_3 = consume_13(_this__u8e3s4.reference);
1138
+ var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.fx_1);
1139
+ var tmp_3 = consume_14(_this__u8e3s4.reference);
1095
1140
  var tmp1_elvis_lhs = tmp_3 instanceof Primitive ? tmp_3 : null;
1096
1141
  var tmp_4;
1097
1142
  if (tmp1_elvis_lhs == null) {
@@ -1103,17 +1148,17 @@ function consume_4(_this__u8e3s4) {
1103
1148
  return new Refined(tmp_0, tmp_1, tmp_2, tmp_4);
1104
1149
  }
1105
1150
  function consume_5(_this__u8e3s4) {
1106
- var tmp0_safe_receiver = _this__u8e3s4.cw_1;
1151
+ var tmp0_safe_receiver = _this__u8e3s4.kw_1;
1107
1152
  var tmp;
1108
1153
  if (tmp0_safe_receiver == null) {
1109
1154
  tmp = null;
1110
1155
  } else {
1111
1156
  // Inline function 'kotlin.let' call
1112
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1157
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1113
1158
  }
1114
1159
  var tmp_0 = tmp;
1115
1160
  var tmp_1 = emptyList();
1116
- var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.bw_1);
1161
+ var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.jw_1);
1117
1162
  // Inline function 'kotlin.collections.map' call
1118
1163
  var this_0 = _this__u8e3s4.shape.value;
1119
1164
  // Inline function 'kotlin.collections.mapTo' call
@@ -1123,23 +1168,23 @@ function consume_5(_this__u8e3s4) {
1123
1168
  while (inductionVariable < last) {
1124
1169
  var item = this_0[inductionVariable];
1125
1170
  inductionVariable = inductionVariable + 1 | 0;
1126
- var tmp$ret$2 = consume_10(item);
1171
+ var tmp$ret$2 = consume_11(item);
1127
1172
  destination.x(tmp$ret$2);
1128
1173
  }
1129
1174
  return new Type(tmp_0, tmp_1, tmp_2, new Shape(destination), emptyList());
1130
1175
  }
1131
1176
  function consume_6(_this__u8e3s4) {
1132
- var tmp0_safe_receiver = _this__u8e3s4.pw_1;
1177
+ var tmp0_safe_receiver = _this__u8e3s4.xw_1;
1133
1178
  var tmp;
1134
1179
  if (tmp0_safe_receiver == null) {
1135
1180
  tmp = null;
1136
1181
  } else {
1137
1182
  // Inline function 'kotlin.let' call
1138
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1183
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1139
1184
  }
1140
1185
  var tmp_0 = tmp;
1141
1186
  var tmp_1 = emptyList();
1142
- var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.ow_1);
1187
+ var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.ww_1);
1143
1188
  // Inline function 'kotlin.collections.map' call
1144
1189
  var this_0 = _this__u8e3s4.entries;
1145
1190
  // Inline function 'kotlin.collections.mapTo' call
@@ -1149,23 +1194,52 @@ function consume_6(_this__u8e3s4) {
1149
1194
  while (inductionVariable < last) {
1150
1195
  var item = this_0[inductionVariable];
1151
1196
  inductionVariable = inductionVariable + 1 | 0;
1152
- var tmp$ret$2 = consume_13(item);
1197
+ var tmp$ret$2 = consume_14(item);
1153
1198
  destination.x(tmp$ret$2);
1154
1199
  }
1155
1200
  return new Union(tmp_0, tmp_1, tmp_2, toSet_0(destination));
1156
1201
  }
1157
1202
  function consume_7(_this__u8e3s4) {
1158
- var tmp0_safe_receiver = _this__u8e3s4.rw_1;
1203
+ var tmp0_safe_receiver = _this__u8e3s4.zw_1;
1159
1204
  var tmp;
1160
1205
  if (tmp0_safe_receiver == null) {
1161
1206
  tmp = null;
1162
1207
  } else {
1163
1208
  // Inline function 'kotlin.let' call
1164
- tmp = Companion_instance.ht(tmp0_safe_receiver);
1209
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1165
1210
  }
1166
- return new Channel(tmp, emptyList(), new DefinitionIdentifier(_this__u8e3s4.qw_1), consume_13(_this__u8e3s4.reference));
1211
+ return new Channel(tmp, emptyList(), new DefinitionIdentifier(_this__u8e3s4.yw_1), consume_14(_this__u8e3s4.reference));
1167
1212
  }
1168
1213
  function consume_8(_this__u8e3s4) {
1214
+ var tmp0_safe_receiver = _this__u8e3s4.cx_1;
1215
+ var tmp;
1216
+ if (tmp0_safe_receiver == null) {
1217
+ tmp = null;
1218
+ } else {
1219
+ // Inline function 'kotlin.let' call
1220
+ tmp = Companion_instance.ot(tmp0_safe_receiver);
1221
+ }
1222
+ var tmp_0 = tmp;
1223
+ var tmp_1 = emptyList();
1224
+ var tmp_2 = new DefinitionIdentifier(_this__u8e3s4.bx_1);
1225
+ // Inline function 'kotlin.collections.map' call
1226
+ var this_0 = _this__u8e3s4.shape.value;
1227
+ // Inline function 'kotlin.collections.mapTo' call
1228
+ var destination = ArrayList_init_$Create$(this_0.length);
1229
+ var inductionVariable = 0;
1230
+ var last = this_0.length;
1231
+ while (inductionVariable < last) {
1232
+ var item = this_0[inductionVariable];
1233
+ inductionVariable = inductionVariable + 1 | 0;
1234
+ var tmp$ret$2 = consume_11(item);
1235
+ destination.x(tmp$ret$2);
1236
+ }
1237
+ var tmp_3 = new Shape(destination);
1238
+ var tmp_4 = consume_14(_this__u8e3s4.result);
1239
+ var tmp1_safe_receiver = _this__u8e3s4.error;
1240
+ return new Rpc(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp1_safe_receiver == null ? null : consume_14(tmp1_safe_receiver));
1241
+ }
1242
+ function consume_9(_this__u8e3s4) {
1169
1243
  var tmp;
1170
1244
  switch (_this__u8e3s4.c3_1) {
1171
1245
  case 0:
@@ -1198,30 +1272,30 @@ function consume_8(_this__u8e3s4) {
1198
1272
  }
1199
1273
  return tmp;
1200
1274
  }
1201
- function consume_9(_this__u8e3s4) {
1275
+ function consume_10(_this__u8e3s4) {
1202
1276
  var tmp;
1203
1277
  if (_this__u8e3s4 instanceof WsLiteral) {
1204
1278
  tmp = new Literal(_this__u8e3s4.value);
1205
1279
  } else {
1206
1280
  if (_this__u8e3s4 instanceof WsParam) {
1207
- tmp = new Param(consume_14(_this__u8e3s4.identifier), consume_13(_this__u8e3s4.reference));
1281
+ tmp = new Param(consume_15(_this__u8e3s4.identifier), consume_14(_this__u8e3s4.reference));
1208
1282
  } else {
1209
1283
  noWhenBranchMatchedException();
1210
1284
  }
1211
1285
  }
1212
1286
  return tmp;
1213
1287
  }
1214
- function consume_10(_this__u8e3s4) {
1215
- var tmp0_identifier = consume_14(_this__u8e3s4.identifier);
1288
+ function consume_11(_this__u8e3s4) {
1289
+ var tmp0_identifier = consume_15(_this__u8e3s4.identifier);
1216
1290
  var tmp1_annotations = emptyList();
1217
- var tmp2_reference = consume_13(_this__u8e3s4.reference);
1291
+ var tmp2_reference = consume_14(_this__u8e3s4.reference);
1218
1292
  return new Field(tmp1_annotations, tmp0_identifier, tmp2_reference);
1219
1293
  }
1220
- function consume_11(_this__u8e3s4) {
1294
+ function consume_12(_this__u8e3s4) {
1221
1295
  var tmp0_safe_receiver = _this__u8e3s4.content;
1222
- return new Request(tmp0_safe_receiver == null ? null : consume_15(tmp0_safe_receiver));
1296
+ return new Request(tmp0_safe_receiver == null ? null : consume_16(tmp0_safe_receiver));
1223
1297
  }
1224
- function consume_12(_this__u8e3s4) {
1298
+ function consume_13(_this__u8e3s4) {
1225
1299
  // Inline function 'kotlin.collections.map' call
1226
1300
  var this_0 = _this__u8e3s4.headers;
1227
1301
  // Inline function 'kotlin.collections.mapTo' call
@@ -1231,32 +1305,32 @@ function consume_12(_this__u8e3s4) {
1231
1305
  while (inductionVariable < last) {
1232
1306
  var item = this_0[inductionVariable];
1233
1307
  inductionVariable = inductionVariable + 1 | 0;
1234
- var tmp$ret$0 = consume_10(item);
1308
+ var tmp$ret$0 = consume_11(item);
1235
1309
  destination.x(tmp$ret$0);
1236
1310
  }
1237
1311
  var tmp = destination;
1238
1312
  var tmp0_safe_receiver = _this__u8e3s4.content;
1239
- return new Response(_this__u8e3s4.status, tmp, tmp0_safe_receiver == null ? null : consume_15(tmp0_safe_receiver), emptyList());
1313
+ return new Response(_this__u8e3s4.status, tmp, tmp0_safe_receiver == null ? null : consume_16(tmp0_safe_receiver), emptyList());
1240
1314
  }
1241
- function consume_13(_this__u8e3s4) {
1315
+ function consume_14(_this__u8e3s4) {
1242
1316
  var tmp;
1243
1317
  if (_this__u8e3s4 instanceof WsAny) {
1244
- tmp = new Any(_this__u8e3s4.xw_1);
1318
+ tmp = new Any(_this__u8e3s4.jx_1);
1245
1319
  } else {
1246
1320
  if (_this__u8e3s4 instanceof WsUnit) {
1247
- tmp = new Unit(_this__u8e3s4.yw_1);
1321
+ tmp = new Unit(_this__u8e3s4.kx_1);
1248
1322
  } else {
1249
1323
  if (_this__u8e3s4 instanceof WsCustom) {
1250
- tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.bx_1);
1324
+ tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.nx_1);
1251
1325
  } else {
1252
1326
  if (_this__u8e3s4 instanceof WsPrimitive) {
1253
- tmp = new Primitive(consumeType(_this__u8e3s4), _this__u8e3s4.cx_1);
1327
+ tmp = new Primitive(consumeType(_this__u8e3s4), _this__u8e3s4.ox_1);
1254
1328
  } else {
1255
1329
  if (_this__u8e3s4 instanceof WsDict) {
1256
- tmp = new Dict(consume_13(_this__u8e3s4.reference), _this__u8e3s4.ax_1);
1330
+ tmp = new Dict(consume_14(_this__u8e3s4.reference), _this__u8e3s4.mx_1);
1257
1331
  } else {
1258
1332
  if (_this__u8e3s4 instanceof WsIterable) {
1259
- tmp = new Iterable(consume_13(_this__u8e3s4.reference), _this__u8e3s4.zw_1);
1333
+ tmp = new Iterable(consume_14(_this__u8e3s4.reference), _this__u8e3s4.lx_1);
1260
1334
  } else {
1261
1335
  noWhenBranchMatchedException();
1262
1336
  }
@@ -1267,11 +1341,11 @@ function consume_13(_this__u8e3s4) {
1267
1341
  }
1268
1342
  return tmp;
1269
1343
  }
1270
- function consume_14(_this__u8e3s4) {
1344
+ function consume_15(_this__u8e3s4) {
1271
1345
  return new FieldIdentifier(_this__u8e3s4.value);
1272
1346
  }
1273
- function consume_15(_this__u8e3s4) {
1274
- return new Content(_this__u8e3s4.type, consume_13(_this__u8e3s4.reference));
1347
+ function consume_16(_this__u8e3s4) {
1348
+ return new Content(_this__u8e3s4.type, consume_14(_this__u8e3s4.reference));
1275
1349
  }
1276
1350
  function consumeType(_this__u8e3s4) {
1277
1351
  var tmp = _this__u8e3s4.constraint;
@@ -1396,10 +1470,10 @@ function WsCompilationResult(result, errors) {
1396
1470
  this.result = result;
1397
1471
  this.errors = errors;
1398
1472
  }
1399
- protoOf(WsCompilationResult).lx = function () {
1473
+ protoOf(WsCompilationResult).dx = function () {
1400
1474
  return this.result;
1401
1475
  };
1402
- protoOf(WsCompilationResult).mx = function () {
1476
+ protoOf(WsCompilationResult).xx = function () {
1403
1477
  return this.errors;
1404
1478
  };
1405
1479
  function WsCompiled(value) {
@@ -1424,10 +1498,10 @@ function WsParseResult(result, errors) {
1424
1498
  this.result = result;
1425
1499
  this.errors = errors;
1426
1500
  }
1427
- protoOf(WsParseResult).lx = function () {
1501
+ protoOf(WsParseResult).dx = function () {
1428
1502
  return this.result;
1429
1503
  };
1430
- protoOf(WsParseResult).mx = function () {
1504
+ protoOf(WsParseResult).xx = function () {
1431
1505
  return this.errors;
1432
1506
  };
1433
1507
  function WsStringResult(result, errors) {
@@ -1436,20 +1510,20 @@ function WsStringResult(result, errors) {
1436
1510
  this.result = result;
1437
1511
  this.errors = errors;
1438
1512
  }
1439
- protoOf(WsStringResult).lx = function () {
1513
+ protoOf(WsStringResult).dx = function () {
1440
1514
  return this.result;
1441
1515
  };
1442
- protoOf(WsStringResult).mx = function () {
1516
+ protoOf(WsStringResult).xx = function () {
1443
1517
  return this.errors;
1444
1518
  };
1445
1519
  function WsEmitted(file, result) {
1446
1520
  this.file = file;
1447
1521
  this.result = result;
1448
1522
  }
1449
- protoOf(WsEmitted).nx = function () {
1523
+ protoOf(WsEmitted).yx = function () {
1450
1524
  return this.file;
1451
1525
  };
1452
- protoOf(WsEmitted).lx = function () {
1526
+ protoOf(WsEmitted).dx = function () {
1453
1527
  return this.result;
1454
1528
  };
1455
1529
  function produce_15(_this__u8e3s4) {
@@ -1519,10 +1593,10 @@ function WsTokenResult(tokens, error) {
1519
1593
  this.tokens = tokens;
1520
1594
  this.error = error;
1521
1595
  }
1522
- protoOf(WsTokenResult).ox = function () {
1596
+ protoOf(WsTokenResult).zx = function () {
1523
1597
  return this.tokens;
1524
1598
  };
1525
- protoOf(WsTokenResult).px = function () {
1599
+ protoOf(WsTokenResult).ex = function () {
1526
1600
  return this.error;
1527
1601
  };
1528
1602
  protoOf(WsTokenResult).we = function () {
@@ -1531,13 +1605,13 @@ protoOf(WsTokenResult).we = function () {
1531
1605
  protoOf(WsTokenResult).xe = function () {
1532
1606
  return this.error;
1533
1607
  };
1534
- protoOf(WsTokenResult).qx = function (tokens, error) {
1608
+ protoOf(WsTokenResult).ay = function (tokens, error) {
1535
1609
  return new WsTokenResult(tokens, error);
1536
1610
  };
1537
1611
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
1538
1612
  tokens = tokens === VOID ? this.tokens : tokens;
1539
1613
  error = error === VOID ? this.error : error;
1540
- return $super === VOID ? this.qx(tokens, error) : $super.qx.call(this, tokens, error);
1614
+ return $super === VOID ? this.ay(tokens, error) : $super.ay.call(this, tokens, error);
1541
1615
  };
1542
1616
  protoOf(WsTokenResult).toString = function () {
1543
1617
  return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
@@ -1581,12 +1655,12 @@ protoOf(WsTokens).hashCode = function () {
1581
1655
  protoOf(WsTokens).we = function () {
1582
1656
  return this.value;
1583
1657
  };
1584
- protoOf(WsTokens).rx = function (value) {
1658
+ protoOf(WsTokens).by = function (value) {
1585
1659
  return new WsTokens(value);
1586
1660
  };
1587
1661
  protoOf(WsTokens).copy = function (value, $super) {
1588
1662
  value = value === VOID ? this.value : value;
1589
- return $super === VOID ? this.rx(value) : $super.rx.call(this, value);
1663
+ return $super === VOID ? this.by(value) : $super.by.call(this, value);
1590
1664
  };
1591
1665
  protoOf(WsTokens).toString = function () {
1592
1666
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -1597,13 +1671,13 @@ function WsToken(type, value, coordinates) {
1597
1671
  this.value = value;
1598
1672
  this.coordinates = coordinates;
1599
1673
  }
1600
- protoOf(WsToken).dx = function () {
1674
+ protoOf(WsToken).px = function () {
1601
1675
  return this.type;
1602
1676
  };
1603
1677
  protoOf(WsToken).m1 = function () {
1604
1678
  return this.value;
1605
1679
  };
1606
- protoOf(WsToken).sx = function () {
1680
+ protoOf(WsToken).cy = function () {
1607
1681
  return this.coordinates;
1608
1682
  };
1609
1683
  protoOf(WsToken).we = function () {
@@ -1615,14 +1689,14 @@ protoOf(WsToken).xe = function () {
1615
1689
  protoOf(WsToken).nk = function () {
1616
1690
  return this.coordinates;
1617
1691
  };
1618
- protoOf(WsToken).tx = function (type, value, coordinates) {
1692
+ protoOf(WsToken).dy = function (type, value, coordinates) {
1619
1693
  return new WsToken(type, value, coordinates);
1620
1694
  };
1621
1695
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
1622
1696
  type = type === VOID ? this.type : type;
1623
1697
  value = value === VOID ? this.value : value;
1624
1698
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
1625
- return $super === VOID ? this.tx(type, value, coordinates) : $super.tx.call(this, type, value, coordinates);
1699
+ return $super === VOID ? this.dy(type, value, coordinates) : $super.dy.call(this, type, value, coordinates);
1626
1700
  };
1627
1701
  protoOf(WsToken).toString = function () {
1628
1702
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
@@ -1654,13 +1728,13 @@ function WsCoordinates(line, position, idxAndLength) {
1654
1728
  this.position = position;
1655
1729
  this.idxAndLength = idxAndLength;
1656
1730
  }
1657
- protoOf(WsCoordinates).ux = function () {
1731
+ protoOf(WsCoordinates).ey = function () {
1658
1732
  return this.line;
1659
1733
  };
1660
- protoOf(WsCoordinates).vx = function () {
1734
+ protoOf(WsCoordinates).fy = function () {
1661
1735
  return this.position;
1662
1736
  };
1663
- protoOf(WsCoordinates).wx = function () {
1737
+ protoOf(WsCoordinates).gy = function () {
1664
1738
  return this.idxAndLength;
1665
1739
  };
1666
1740
  protoOf(WsCoordinates).we = function () {
@@ -1672,14 +1746,14 @@ protoOf(WsCoordinates).xe = function () {
1672
1746
  protoOf(WsCoordinates).nk = function () {
1673
1747
  return this.idxAndLength;
1674
1748
  };
1675
- protoOf(WsCoordinates).xx = function (line, position, idxAndLength) {
1749
+ protoOf(WsCoordinates).hy = function (line, position, idxAndLength) {
1676
1750
  return new WsCoordinates(line, position, idxAndLength);
1677
1751
  };
1678
1752
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
1679
1753
  line = line === VOID ? this.line : line;
1680
1754
  position = position === VOID ? this.position : position;
1681
1755
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
1682
- return $super === VOID ? this.xx(line, position, idxAndLength) : $super.xx.call(this, line, position, idxAndLength);
1756
+ return $super === VOID ? this.hy(line, position, idxAndLength) : $super.hy.call(this, line, position, idxAndLength);
1683
1757
  };
1684
1758
  protoOf(WsCoordinates).toString = function () {
1685
1759
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
@@ -1709,7 +1783,7 @@ function WsIndex(idx, length) {
1709
1783
  this.idx = idx;
1710
1784
  this.length = length;
1711
1785
  }
1712
- protoOf(WsIndex).yx = function () {
1786
+ protoOf(WsIndex).iy = function () {
1713
1787
  return this.idx;
1714
1788
  };
1715
1789
  protoOf(WsIndex).a = function () {
@@ -1721,13 +1795,13 @@ protoOf(WsIndex).we = function () {
1721
1795
  protoOf(WsIndex).xe = function () {
1722
1796
  return this.length;
1723
1797
  };
1724
- protoOf(WsIndex).zx = function (idx, length) {
1798
+ protoOf(WsIndex).jy = function (idx, length) {
1725
1799
  return new WsIndex(idx, length);
1726
1800
  };
1727
1801
  protoOf(WsIndex).copy = function (idx, length, $super) {
1728
1802
  idx = idx === VOID ? this.idx : idx;
1729
1803
  length = length === VOID ? this.length : length;
1730
- return $super === VOID ? this.zx(idx, length) : $super.zx.call(this, idx, length);
1804
+ return $super === VOID ? this.jy(idx, length) : $super.jy.call(this, idx, length);
1731
1805
  };
1732
1806
  protoOf(WsIndex).toString = function () {
1733
1807
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -1749,13 +1823,13 @@ protoOf(WsIndex).equals = function (other) {
1749
1823
  return true;
1750
1824
  };
1751
1825
  function produce_18(_this__u8e3s4) {
1752
- return new WsToken(name(_this__u8e3s4.hs_1), _this__u8e3s4.gs_1, produce_19(_this__u8e3s4.is_1));
1826
+ return new WsToken(name(_this__u8e3s4.os_1), _this__u8e3s4.ns_1, produce_19(_this__u8e3s4.ps_1));
1753
1827
  }
1754
1828
  function produce_19(_this__u8e3s4) {
1755
- return new WsCoordinates(_this__u8e3s4.js_1, _this__u8e3s4.ks_1, produce_20(_this__u8e3s4.ls_1));
1829
+ return new WsCoordinates(_this__u8e3s4.qs_1, _this__u8e3s4.rs_1, produce_20(_this__u8e3s4.ss_1));
1756
1830
  }
1757
1831
  function produce_20(_this__u8e3s4) {
1758
- return new WsIndex(_this__u8e3s4.mv_1, _this__u8e3s4.nv_1);
1832
+ return new WsIndex(_this__u8e3s4.uv_1, _this__u8e3s4.vv_1);
1759
1833
  }
1760
1834
  function WsError(line, position, index, length, value) {
1761
1835
  this.line = line;
@@ -1764,13 +1838,13 @@ function WsError(line, position, index, length, value) {
1764
1838
  this.length = length;
1765
1839
  this.value = value;
1766
1840
  }
1767
- protoOf(WsError).ux = function () {
1841
+ protoOf(WsError).ey = function () {
1768
1842
  return this.line;
1769
1843
  };
1770
- protoOf(WsError).vx = function () {
1844
+ protoOf(WsError).fy = function () {
1771
1845
  return this.position;
1772
1846
  };
1773
- protoOf(WsError).ay = function () {
1847
+ protoOf(WsError).ky = function () {
1774
1848
  return this.index;
1775
1849
  };
1776
1850
  protoOf(WsError).a = function () {
@@ -1788,13 +1862,13 @@ protoOf(WsError).xe = function () {
1788
1862
  protoOf(WsError).nk = function () {
1789
1863
  return this.index;
1790
1864
  };
1791
- protoOf(WsError).by = function () {
1865
+ protoOf(WsError).ly = function () {
1792
1866
  return this.length;
1793
1867
  };
1794
- protoOf(WsError).cy = function () {
1868
+ protoOf(WsError).my = function () {
1795
1869
  return this.value;
1796
1870
  };
1797
- protoOf(WsError).dy = function (line, position, index, length, value) {
1871
+ protoOf(WsError).ny = function (line, position, index, length, value) {
1798
1872
  return new WsError(line, position, index, length, value);
1799
1873
  };
1800
1874
  protoOf(WsError).copy = function (line, position, index, length, value, $super) {
@@ -1803,7 +1877,7 @@ protoOf(WsError).copy = function (line, position, index, length, value, $super)
1803
1877
  index = index === VOID ? this.index : index;
1804
1878
  length = length === VOID ? this.length : length;
1805
1879
  value = value === VOID ? this.value : value;
1806
- return $super === VOID ? this.dy(line, position, index, length, value) : $super.dy.call(this, line, position, index, length, value);
1880
+ return $super === VOID ? this.ny(line, position, index, length, value) : $super.ny.call(this, line, position, index, length, value);
1807
1881
  };
1808
1882
  protoOf(WsError).toString = function () {
1809
1883
  return 'WsError(line=' + this.line + ', position=' + this.position + ', index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -1834,64 +1908,70 @@ protoOf(WsError).equals = function (other) {
1834
1908
  return true;
1835
1909
  };
1836
1910
  function produce_21(_this__u8e3s4) {
1837
- return new WsError(_this__u8e3s4.os_1.js_1, _this__u8e3s4.os_1.ks_1, _this__u8e3s4.os_1.ls_1.mv_1 - _this__u8e3s4.os_1.ls_1.nv_1 | 0, _this__u8e3s4.os_1.ls_1.nv_1, _this__u8e3s4.e());
1911
+ return new WsError(_this__u8e3s4.vs_1.qs_1, _this__u8e3s4.vs_1.rs_1, _this__u8e3s4.vs_1.ss_1.uv_1 - _this__u8e3s4.vs_1.ss_1.vv_1 | 0, _this__u8e3s4.vs_1.ss_1.vv_1, _this__u8e3s4.e());
1838
1912
  }
1839
1913
  //region block: post-declaration
1840
1914
  defineProp(protoOf(WsType), 'identifier', function () {
1841
- return this.gr();
1915
+ return this.mr();
1842
1916
  });
1843
1917
  defineProp(protoOf(WsType), 'comment', function () {
1844
- return this.aw();
1918
+ return this.iw();
1845
1919
  });
1846
1920
  defineProp(protoOf(WsEndpoint), 'identifier', function () {
1847
- return this.gr();
1921
+ return this.mr();
1848
1922
  });
1849
1923
  defineProp(protoOf(WsEndpoint), 'comment', function () {
1850
- return this.aw();
1924
+ return this.iw();
1851
1925
  });
1852
1926
  defineProp(protoOf(WsEnum), 'identifier', function () {
1853
- return this.gr();
1927
+ return this.mr();
1854
1928
  });
1855
1929
  defineProp(protoOf(WsEnum), 'comment', function () {
1856
- return this.aw();
1930
+ return this.iw();
1857
1931
  });
1858
1932
  defineProp(protoOf(WsUnion), 'identifier', function () {
1859
- return this.gr();
1933
+ return this.mr();
1860
1934
  });
1861
1935
  defineProp(protoOf(WsUnion), 'comment', function () {
1862
- return this.aw();
1936
+ return this.iw();
1863
1937
  });
1864
1938
  defineProp(protoOf(WsChannel), 'identifier', function () {
1865
- return this.gr();
1939
+ return this.mr();
1866
1940
  });
1867
1941
  defineProp(protoOf(WsChannel), 'comment', function () {
1868
- return this.aw();
1942
+ return this.iw();
1943
+ });
1944
+ defineProp(protoOf(WsRpc), 'identifier', function () {
1945
+ return this.mr();
1946
+ });
1947
+ defineProp(protoOf(WsRpc), 'comment', function () {
1948
+ return this.iw();
1869
1949
  });
1870
1950
  defineProp(protoOf(WsRefined), 'identifier', function () {
1871
- return this.gr();
1951
+ return this.mr();
1872
1952
  });
1873
1953
  defineProp(protoOf(WsRefined), 'comment', function () {
1874
- return this.aw();
1954
+ return this.iw();
1875
1955
  });
1876
1956
  defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).m);
1877
1957
  defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).d3);
1878
1958
  defineProp(protoOf(WsAny), 'isNullable', function () {
1879
- return this.vu();
1959
+ return this.dv();
1880
1960
  });
1881
1961
  defineProp(protoOf(WsUnit), 'isNullable', function () {
1882
- return this.vu();
1962
+ return this.dv();
1883
1963
  });
1884
1964
  defineProp(protoOf(WsIterable), 'isNullable', function () {
1885
- return this.vu();
1965
+ return this.dv();
1886
1966
  });
1887
1967
  defineProp(protoOf(WsDict), 'isNullable', function () {
1888
- return this.vu();
1968
+ return this.dv();
1889
1969
  });
1890
1970
  defineProp(protoOf(WsCustom), 'isNullable', function () {
1891
- return this.vu();
1971
+ return this.dv();
1892
1972
  });
1893
1973
  defineProp(protoOf(WsPrimitive), 'isNullable', function () {
1894
- return this.vu();
1974
+ return this.dv();
1895
1975
  });
1896
1976
  defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).m);
1897
1977
  defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).d3);
@@ -1925,6 +2005,7 @@ export {
1925
2005
  WsEnum as WsEnum,
1926
2006
  WsUnion as WsUnion,
1927
2007
  WsChannel as WsChannel,
2008
+ WsRpc as WsRpc,
1928
2009
  WsRefined as WsRefined,
1929
2010
  WsMethod as WsMethod,
1930
2011
  WsLiteral as WsLiteral,