@flock/wirespec 0.18.5 → 0.19.0-RC.2

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 (77) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +4 -0
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
  3. package/arrow-arrow-atomic.mjs +12 -12
  4. package/arrow-arrow-core.mjs +163 -163
  5. package/clikt-clikt-mordant.mjs +80 -80
  6. package/clikt-clikt-mordant.mjs.map +1 -1
  7. package/clikt-clikt.mjs +1574 -1574
  8. package/clikt-clikt.mjs.map +1 -1
  9. package/colormath-root-colormath.mjs +444 -444
  10. package/kotest-kotest-assertions-kotest-assertions-core.mjs +4 -0
  11. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +1 -0
  12. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +4 -0
  13. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +1 -0
  14. package/kotest-kotest-common.mjs +56 -0
  15. package/kotest-kotest-common.mjs.map +1 -0
  16. package/kotest-kotest-framework-kotest-framework-engine.mjs +4 -0
  17. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +1 -0
  18. package/kotest-kotest-property-kotest-property-datetime.mjs +4 -0
  19. package/kotest-kotest-property-kotest-property-datetime.mjs.map +1 -0
  20. package/kotest-kotest-property.mjs +3230 -0
  21. package/kotest-kotest-property.mjs.map +1 -0
  22. package/kotest-property-arbs.mjs +482 -0
  23. package/kotest-property-arbs.mjs.map +1 -0
  24. package/kotlin-kotlin-stdlib.mjs +5618 -2436
  25. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  26. package/kotlin-openapi-bindings.mjs +4931 -4931
  27. package/kotlin-openapi-bindings.mjs.map +1 -1
  28. package/kotlin-rgxgen.mjs +1819 -1819
  29. package/kotlinx-coroutines-test.mjs +4 -0
  30. package/kotlinx-coroutines-test.mjs.map +1 -0
  31. package/kotlinx-io-kotlinx-io-core.mjs +453 -453
  32. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  33. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2017 -1983
  34. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  35. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
  36. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  37. package/mordant-mordant.mjs +1364 -1364
  38. package/package.json +9 -2
  39. package/wirespec-generator.d.ts +52 -0
  40. package/wirespec-generator.mjs +9 -0
  41. package/wirespec-src-compiler-core.mjs +1542 -1541
  42. package/wirespec-src-compiler-emitters-java.mjs +476 -413
  43. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  44. package/wirespec-src-compiler-emitters-kotlin.mjs +359 -296
  45. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  46. package/wirespec-src-compiler-emitters-python.mjs +560 -362
  47. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  48. package/wirespec-src-compiler-emitters-rust.mjs +754 -443
  49. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  50. package/wirespec-src-compiler-emitters-scala.mjs +243 -164
  51. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  52. package/wirespec-src-compiler-emitters-typescript.mjs +709 -420
  53. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  54. package/wirespec-src-compiler-emitters-wirespec.mjs +82 -82
  55. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  56. package/wirespec-src-compiler-ir.mjs +6676 -4858
  57. package/wirespec-src-compiler-ir.mjs.map +1 -1
  58. package/wirespec-src-compiler-lib.mjs +418 -418
  59. package/wirespec-src-compiler-lib.mjs.map +1 -1
  60. package/wirespec-src-converter-avro.mjs +512 -512
  61. package/wirespec-src-converter-avro.mjs.map +1 -1
  62. package/wirespec-src-converter-openapi.mjs +772 -772
  63. package/wirespec-src-converter-openapi.mjs.map +1 -1
  64. package/wirespec-src-integration-kotest.mjs +1537 -0
  65. package/wirespec-src-integration-kotest.mjs.map +1 -0
  66. package/wirespec-src-plugin-arguments.mjs +185 -185
  67. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  68. package/wirespec-src-plugin-cli.mjs +106 -106
  69. package/wirespec-src-plugin-npm.d.mts +11 -0
  70. package/wirespec-src-plugin-npm.mjs +41 -41
  71. package/wirespec-src-plugin-npm.mjs.map +1 -1
  72. package/wirespec-src-tools-generator.mjs +53 -53
  73. package/wirespec-src-tools-generator.mjs.map +1 -1
  74. package/xmlutil-core.mjs +4 -0
  75. package/xmlutil-core.mjs.map +1 -0
  76. package/xmlutil-serialization.mjs +4 -0
  77. package/xmlutil-serialization.mjs.map +1 -0
@@ -17,13 +17,14 @@ import {
17
17
  Char19o2r8palgjof as Char,
18
18
  VOID3gxj6tk5isa35 as VOID,
19
19
  plus310ted5e4i90h as plus,
20
+ Collection1k04j3hzsbod0 as Collection,
21
+ isInterface3d6p8outrmvmk as isInterface,
22
+ equals2au1ep9vhcato as equals,
20
23
  to2cs3ny02qtbcb as to,
21
24
  setOf45ia9pnfhe90 as setOf,
22
25
  protoOf180f3jzyo7rfj as protoOf,
23
26
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
24
- equals2au1ep9vhcato as equals,
25
27
  FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
26
- isInterface3d6p8outrmvmk as isInterface,
27
28
  Comparator2b3maoeh98xtg as Comparator,
28
29
  hashCodeq5arwsb9dgti as hashCode,
29
30
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
@@ -37,10 +38,12 @@ import {
37
38
  ensureNotNull1e947j3ixpazm as ensureNotNull,
38
39
  addAll1k27qatfgp3k5 as addAll,
39
40
  plus20p0vtfmu0596 as plus_0,
40
- Collection1k04j3hzsbod0 as Collection,
41
41
  charArrayOf27f4r3dozbrk1 as charArrayOf,
42
42
  trimEndvvzjdhan75g as trimEnd,
43
43
  compareValues1n2ayl87ihzfk as compareValues,
44
+ startsWith26w8qjqapeeq6 as startsWith,
45
+ substringBefore3n7kj60w69hju as substringBefore,
46
+ endsWith3cq61xxngobwh as endsWith,
44
47
  charCodeAt1yspne1d8erbm as charCodeAt,
45
48
  uppercaseChar6lahngw3wvwg as uppercaseChar,
46
49
  substring3saq8ornu0luv as substring,
@@ -48,17 +51,23 @@ import {
48
51
  lazy2hsh8ze7j6ikd as lazy,
49
52
  listOf1jh22dvmctj1r as listOf_0,
50
53
  mapOf1xd03cq9cnmy8 as mapOf,
54
+ emptyList1g2z5xcrvp2zy as emptyList,
51
55
  lastOrNull1aq5oz189qoe1 as lastOrNull,
52
56
  firstOrNull1982767dljvdy as firstOrNull_0,
53
57
  mutableListOf6oorvk2mtdmp as mutableListOf,
54
58
  last1vo29oleiqj36 as last,
55
59
  sortedWith2csnbbb21k0lg as sortedWith,
60
+ asSequence2phdjljfh9jhx as asSequence,
61
+ filterNot56uwv8hfomaa as filterNot,
62
+ mapsbvh18eqox7a as map,
63
+ distinct17vua5ffe1cfv as distinct,
64
+ toListx6x8nvfmvvht as toList,
65
+ LinkedHashSet_init_$Create$2lru2gvxodydo as LinkedHashSet_init_$Create$,
66
+ distinct10qe1scfdvu5k as distinct_0,
56
67
  toSet2orjxp16sotqu as toSet,
57
68
  HashSet_init_$Create$33p49hmosnvr4 as HashSet_init_$Create$,
58
69
  Regex_init_$Create$9xrx4twz2i6q as Regex_init_$Create$,
59
- emptyList1g2z5xcrvp2zy as emptyList,
60
70
  trimIndent1qytc1wvt8suh as trimIndent,
61
- startsWith26w8qjqapeeq6 as startsWith,
62
71
  contains3ue2qo8xhmpf1 as contains,
63
72
  removePrefix279df90bhrqqg as removePrefix,
64
73
  mapCapacity1h45rc3eh9p2l as mapCapacity,
@@ -79,34 +88,47 @@ import {
79
88
  Endpoint1jsq06yr3xdhp as Endpoint,
80
89
  Model1nx3had6rojzt as Model,
81
90
  plus3lrm73de10b42 as plus_1,
82
- importReferencesy4xv7r53sjjs as importReferences,
91
+ Unionccsavx6nrdr2 as Union,
92
+ Refined1lkzc0dg6wey7 as Refined,
93
+ Enum3l2iuc342kle6 as Enum,
94
+ Type12n1gx16iqtcu as Type,
83
95
  plus14o24vdaiongg as plus_2,
96
+ importReferencesy4xv7r53sjjs as importReferences,
84
97
  String1czvr8pxnm6on as String_0,
85
98
  Paramvfwnys2w6aj1 as Param,
86
99
  Literal331hu9r04vptz as Literal,
87
100
  } from './wirespec-src-compiler-core.mjs';
88
101
  import {
89
102
  Companion_getInstance3gvtuyxc9uhxj as Companion_getInstance,
103
+ Dict22iqrhoo0g8et as Dict,
104
+ Array2goj74t0aak7b as Array_0,
105
+ Nullable3wjn6l6q3h6o as Nullable,
106
+ Custom2si7lto3wompr as Custom,
107
+ Wildcard_instance2ga1ytfwj78ra as Wildcard_instance,
108
+ Function3skv20gkzqsy2 as Function,
109
+ Reflect_instance3i17lxiopj78t as Reflect_instance,
110
+ Any_instance2998xag3cdzh3 as Any_instance,
90
111
  requestParameters1z8fdizgtviyb as requestParameters,
91
112
  Nameoqr8dt2fim9d as Name,
92
113
  transformChildren2mszeagj5nq4c as transformChildren,
93
114
  sanitizeFieldName1ptgy1kxy8u2m as sanitizeFieldName,
94
115
  ConstructorStatement1x4n4sr59iy4n as ConstructorStatement,
95
116
  SanitizationConfig11mmn3p2c03c1 as SanitizationConfig,
96
- Custom2si7lto3wompr as Custom,
97
117
  Namespace345pal554qu3j as Namespace,
98
118
  File3dimy4iqmuock as File,
99
119
  transformChildrend9p91tpcqdkx as transformChildren_0,
100
120
  RawElement2yts1x2rbem1g as RawElement,
101
- Enumlszg09mwd24f as Enum,
121
+ Enumlszg09mwd24f as Enum_0,
102
122
  Interface3pn84xq686t2r as Interface,
103
123
  TransformScopeyrd3lf4zrk76 as TransformScope,
104
124
  TransformerBuildera6a1gvlhjj9b as TransformerBuilder,
105
125
  transform3eti8i2bqvifx as transform,
106
126
  Elementitq62jg6fid3 as Element,
107
- Function21cuq8qizkin7 as Function,
127
+ Function21cuq8qizkin7 as Function_0,
108
128
  RustGenerator_instance1aobjdt0upvy as RustGenerator_instance,
109
129
  sortKey2uc13shubz5xy as sortKey,
130
+ RawExpression2bo7ldfrptjia as RawExpression,
131
+ transformChildren3n5cjwmxlhwx9 as transformChildren_1,
110
132
  import5uhkz67bd8tt as import_0,
111
133
  interface24qlavvm81r6z as interface_0,
112
134
  convertnty9x0e63d0u as convert,
@@ -114,9 +136,14 @@ import {
114
136
  Importdjdfxu3pjkxa as Import,
115
137
  emit3bzdcd0f6nwtj as emit,
116
138
  emitn3eihixilqyh as emit_0,
139
+ convertToGenerator2wzjrmaavxhph as convertToGenerator,
140
+ convertToGeneratorkggw47cqose7 as convertToGenerator_0,
141
+ convertToGenerator3rjr3azp4vdsx as convertToGenerator_1,
142
+ convertToGenerator2msmr3acdd5nx as convertToGenerator_2,
143
+ sanitizeNames2wqmyf8vafp9x as sanitizeNames,
144
+ collectCustomTypeNames373f3lwl9sqd5 as collectCustomTypeNames,
117
145
  convertWithValidation3ar3nbcqsbkpn as convertWithValidation,
118
146
  injectSelfReceiverToValidate4xgr9r5gl5n3 as injectSelfReceiverToValidate,
119
- sanitizeNames2wqmyf8vafp9x as sanitizeNames,
120
147
  convert11ert2po54h1y as convert_0,
121
148
  sanitizeEnumEntries3pphrvzq8r9fn as sanitizeEnumEntries,
122
149
  convert37aabdzvtv9vg as convert_1,
@@ -124,22 +151,21 @@ import {
124
151
  convert32tuiui3czihh as convert_3,
125
152
  convert1cn4bolzoed8c as convert_4,
126
153
  emit1oxjujel6f3jb as emit_1,
154
+ beforeGenerate3o8idb3hey1b0 as beforeGenerate,
127
155
  IrEmitterh2m93ojzvkep as IrEmitter,
128
156
  flattenNestedStructs2956rxx8q2zxl as flattenNestedStructs,
129
- Union38f3pecvfcpxh as Union,
157
+ Union38f3pecvfcpxh as Union_0,
130
158
  VariableReference2vlynnhaw1i64 as VariableReference,
131
159
  FieldCall1iz7z2fx2xo4p as FieldCall,
132
160
  convertConstraintkgpvomct0x0s as convertConstraint,
133
161
  function12vu2kapzno4w as function_0,
134
162
  Switch3a1zi3na98deu as Switch,
135
163
  Case2i7oahw4alz6h as Case,
136
- RawExpression2bo7ldfrptjia as RawExpression,
137
- transformChildren2m3cpkz6zusq1 as transformChildren_1,
164
+ transformChildren2m3cpkz6zusq1 as transformChildren_2,
138
165
  FunctionCall30872kpnbr7op as FunctionCall,
139
166
  Boolean_instance27opaqtiiiysz as Boolean_instance,
140
167
  String_instance3uxvo48ki208u as String_instance,
141
168
  Parameteruqoxd4rzw7ga as Parameter,
142
- Nullable3wjn6l6q3h6o as Nullable,
143
169
  Number3azxs9q1cyulb as Number_0,
144
170
  Integer1uwg1wvo5lp6z as Integer,
145
171
  Boolean3l1woojgw3q17 as Boolean_0,
@@ -148,13 +174,8 @@ import {
148
174
  ArrayIndexCall31gemxjfuldqy as ArrayIndexCall,
149
175
  StringLiteral3ffeojfhsbsmg as StringLiteral,
150
176
  IntegerLiteral32u4pkji3telv as IntegerLiteral,
151
- Wildcard_instance2ga1ytfwj78ra as Wildcard_instance,
152
- Reflect_instance3i17lxiopj78t as Reflect_instance,
153
177
  Bytes_instance3edm2lhbrwd51 as Bytes_instance,
154
- Any_instance2998xag3cdzh3 as Any_instance,
155
178
  Unit_instanceyaei45a6t5rv as Unit_instance_0,
156
- Dict22iqrhoo0g8et as Dict,
157
- Array2goj74t0aak7b as Array_0,
158
179
  } from './wirespec-src-compiler-ir.mjs';
159
180
  import {
160
181
  NonEmptyList3ak25ihy2gcvs as NonEmptyList,
@@ -170,15 +191,15 @@ initMetadataForClass(RustIrEmitter, 'RustIrEmitter', RustIrEmitter, VOID, [IrEmi
170
191
  initMetadataForObject(RustTransform, 'RustTransform');
171
192
  //endregion
172
193
  function _get_sanitizationConfig__sns434($this) {
173
- var tmp0 = $this.y1x_1;
194
+ var tmp0 = $this.j23_1;
174
195
  var tmp = KProperty1;
175
196
  // Inline function 'kotlin.getValue' call
176
197
  getPropertyCallableRef('sanitizationConfig', 1, tmp, RustIrEmitter$_get_sanitizationConfig_$ref_17ypni(), null);
177
- return tmp0.l1();
198
+ return tmp0.n1();
178
199
  }
179
200
  function sanitize($this, _this__u8e3s4) {
180
201
  // Inline function 'kotlin.collections.mapIndexed' call
181
- var this_0 = split(_this__u8e3s4.l1(), ['.', ' ']);
202
+ var this_0 = split(_this__u8e3s4.n1(), ['.', ' ']);
182
203
  // Inline function 'kotlin.collections.mapIndexedTo' call
183
204
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
184
205
  var index = 0;
@@ -187,7 +208,7 @@ function sanitize($this, _this__u8e3s4) {
187
208
  var item = _iterator__ex2g4s.v();
188
209
  var _unary__edvuaz = index;
189
210
  index = _unary__edvuaz + 1 | 0;
190
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.oq(item) : item;
211
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.ev(item) : item;
191
212
  destination.x(tmp$ret$0);
192
213
  }
193
214
  // Inline function 'kotlin.text.filter' call
@@ -234,14 +255,14 @@ function sanitize($this, _this__u8e3s4) {
234
255
  return toSnakeCase($this, tmp$ret$9);
235
256
  }
236
257
  function toSnakeCase($this, _this__u8e3s4) {
237
- return Companion_getInstance().l1h(_this__u8e3s4).x1l();
258
+ return Companion_getInstance().m1l(_this__u8e3s4).u1q();
238
259
  }
239
260
  function toPascalCase($this, _this__u8e3s4) {
240
261
  var tmp = split(_this__u8e3s4, ['_']);
241
262
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, RustIrEmitter$toPascalCase$lambda);
242
263
  }
243
264
  function sanitizeKeywords($this, _this__u8e3s4) {
244
- return Companion_getInstance_0().b1y_1.u1(_this__u8e3s4) ? 'r#' + _this__u8e3s4 : _this__u8e3s4;
265
+ return Companion_getInstance_0().m23_1.a2(_this__u8e3s4) ? 'r#' + _this__u8e3s4 : _this__u8e3s4;
245
266
  }
246
267
  function sanitizeEnum($this, _this__u8e3s4) {
247
268
  // Inline function 'kotlin.let' call
@@ -266,12 +287,118 @@ function prependImports($this, _this__u8e3s4, imports) {
266
287
  var tmp;
267
288
  // Inline function 'kotlin.collections.isNotEmpty' call
268
289
  if (!imports.r()) {
269
- tmp = _this__u8e3s4.v1m(VOID, plus(imports, _this__u8e3s4.s1m_1));
290
+ tmp = _this__u8e3s4.w1r(VOID, plus(imports, _this__u8e3s4.t1r_1));
270
291
  } else {
271
292
  tmp = _this__u8e3s4;
272
293
  }
273
294
  return tmp;
274
295
  }
296
+ function containsWildcard($this, type) {
297
+ var tmp;
298
+ if (equals(type, Wildcard_instance)) {
299
+ tmp = true;
300
+ } else {
301
+ if (type instanceof Custom) {
302
+ var tmp0 = type.g1n_1;
303
+ var tmp$ret$0;
304
+ $l$block_0: {
305
+ // Inline function 'kotlin.collections.any' call
306
+ var tmp_0;
307
+ if (isInterface(tmp0, Collection)) {
308
+ tmp_0 = tmp0.r();
309
+ } else {
310
+ tmp_0 = false;
311
+ }
312
+ if (tmp_0) {
313
+ tmp$ret$0 = false;
314
+ break $l$block_0;
315
+ }
316
+ var _iterator__ex2g4s = tmp0.t();
317
+ while (_iterator__ex2g4s.u()) {
318
+ var element = _iterator__ex2g4s.v();
319
+ if (containsWildcard($this, element)) {
320
+ tmp$ret$0 = true;
321
+ break $l$block_0;
322
+ }
323
+ }
324
+ tmp$ret$0 = false;
325
+ }
326
+ tmp = tmp$ret$0;
327
+ } else {
328
+ if (type instanceof Nullable) {
329
+ tmp = containsWildcard($this, type.d1n_1);
330
+ } else {
331
+ if (type instanceof Array_0) {
332
+ tmp = containsWildcard($this, type.e1n_1);
333
+ } else {
334
+ if (type instanceof Dict) {
335
+ tmp = containsWildcard($this, type.f1r_1) || containsWildcard($this, type.g1r_1);
336
+ } else {
337
+ tmp = false;
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ return tmp;
344
+ }
345
+ function containsUnderiveable($this, type) {
346
+ var tmp;
347
+ if (equals(type, Any_instance)) {
348
+ tmp = true;
349
+ } else {
350
+ if (equals(type, Reflect_instance)) {
351
+ tmp = true;
352
+ } else {
353
+ if (type instanceof Function) {
354
+ tmp = true;
355
+ } else {
356
+ if (type instanceof Custom) {
357
+ var tmp0 = type.g1n_1;
358
+ var tmp$ret$0;
359
+ $l$block_0: {
360
+ // Inline function 'kotlin.collections.any' call
361
+ var tmp_0;
362
+ if (isInterface(tmp0, Collection)) {
363
+ tmp_0 = tmp0.r();
364
+ } else {
365
+ tmp_0 = false;
366
+ }
367
+ if (tmp_0) {
368
+ tmp$ret$0 = false;
369
+ break $l$block_0;
370
+ }
371
+ var _iterator__ex2g4s = tmp0.t();
372
+ while (_iterator__ex2g4s.u()) {
373
+ var element = _iterator__ex2g4s.v();
374
+ if (containsUnderiveable($this, element)) {
375
+ tmp$ret$0 = true;
376
+ break $l$block_0;
377
+ }
378
+ }
379
+ tmp$ret$0 = false;
380
+ }
381
+ tmp = tmp$ret$0;
382
+ } else {
383
+ if (type instanceof Nullable) {
384
+ tmp = containsUnderiveable($this, type.d1n_1);
385
+ } else {
386
+ if (type instanceof Array_0) {
387
+ tmp = containsUnderiveable($this, type.e1n_1);
388
+ } else {
389
+ if (type instanceof Dict) {
390
+ tmp = containsUnderiveable($this, type.f1r_1) || containsUnderiveable($this, type.g1r_1);
391
+ } else {
392
+ tmp = false;
393
+ }
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ return tmp;
401
+ }
275
402
  function buildClientParams($this, _this__u8e3s4) {
276
403
  var params = requestParameters(_this__u8e3s4);
277
404
  var argsStr = joinToString(params, ', ', VOID, VOID, VOID, VOID, RustIrEmitter$buildClientParams$lambda($this));
@@ -286,7 +413,7 @@ function buildClientParams($this, _this__u8e3s4) {
286
413
  }
287
414
  function Companion() {
288
415
  Companion_instance_2 = this;
289
- this.b1y_1 = setOf(['as', 'break', 'const', 'continue', 'crate', 'else', 'enum', 'extern', 'false', 'fn', 'for', 'if', 'impl', 'in', 'let', 'loop', 'match', 'mod', 'move', 'mut', 'pub', 'ref', 'return', 'self', 'Self', 'static', 'struct', 'super', 'trait', 'true', 'type', 'unsafe', 'use', 'where', 'while', 'async', 'await', 'dyn', 'abstract', 'become', 'box', 'do', 'final', 'macro', 'override', 'priv', 'typeof', 'unsized', 'virtual', 'yield', 'try']);
416
+ this.m23_1 = setOf(['as', 'break', 'const', 'continue', 'crate', 'else', 'enum', 'extern', 'false', 'fn', 'for', 'if', 'impl', 'in', 'let', 'loop', 'match', 'mod', 'move', 'mut', 'pub', 'ref', 'return', 'self', 'Self', 'static', 'struct', 'super', 'trait', 'true', 'type', 'unsafe', 'use', 'where', 'while', 'async', 'await', 'dyn', 'abstract', 'become', 'box', 'do', 'final', 'macro', 'override', 'priv', 'typeof', 'unsized', 'virtual', 'yield', 'try']);
290
417
  }
291
418
  var Companion_instance_2;
292
419
  function Companion_getInstance_0() {
@@ -295,23 +422,23 @@ function Companion_getInstance_0() {
295
422
  return Companion_instance_2;
296
423
  }
297
424
  function sam$kotlin_Comparator$0(function_0) {
298
- this.c1y_1 = function_0;
425
+ this.n23_1 = function_0;
299
426
  }
300
- protoOf(sam$kotlin_Comparator$0).qd = function (a, b) {
301
- return this.c1y_1(a, b);
427
+ protoOf(sam$kotlin_Comparator$0).xd = function (a, b) {
428
+ return this.n23_1(a, b);
302
429
  };
303
430
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
304
- return this.qd(a, b);
431
+ return this.xd(a, b);
305
432
  };
306
- protoOf(sam$kotlin_Comparator$0).l3 = function () {
307
- return this.c1y_1;
433
+ protoOf(sam$kotlin_Comparator$0).r3 = function () {
434
+ return this.n23_1;
308
435
  };
309
436
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
310
437
  var tmp;
311
438
  if (!(other == null) ? isInterface(other, Comparator) : false) {
312
439
  var tmp_0;
313
440
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
314
- tmp_0 = equals(this.l3(), other.l3());
441
+ tmp_0 = equals(this.r3(), other.r3());
315
442
  } else {
316
443
  tmp_0 = false;
317
444
  }
@@ -322,22 +449,22 @@ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
322
449
  return tmp;
323
450
  };
324
451
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
325
- return hashCode(this.l3());
452
+ return hashCode(this.r3());
326
453
  };
327
454
  function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
328
455
  return 'r#' + it;
329
456
  }
330
457
  function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(name) {
331
- return Companion_getInstance().l1h((new Name(name.m1h_1)).x1l());
458
+ return Companion_getInstance().m1l((new Name(name.k1l_1)).u1q());
332
459
  }
333
460
  function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(name) {
334
- var value = name.r1h();
461
+ var value = name.h1n();
335
462
  switch (value) {
336
463
  case 'self':
337
464
  case '&self':
338
465
  return name;
339
466
  default:
340
- return Companion_getInstance().l1h((new Name(name.m1h_1)).x1l());
467
+ return Companion_getInstance().m1l((new Name(name.k1l_1)).u1q());
341
468
  }
342
469
  }
343
470
  function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_2(it) {
@@ -347,20 +474,20 @@ function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
347
474
  return function (stmt, tr) {
348
475
  var tmp;
349
476
  if (stmt instanceof ConstructorStatement) {
350
- var tmp_0 = tr.o1t(stmt.o1m_1);
477
+ var tmp_0 = tr.v1y(stmt.p1r_1);
351
478
  // Inline function 'kotlin.collections.map' call
352
- var this_0 = stmt.p1m_1;
479
+ var this_0 = stmt.q1r_1;
353
480
  // Inline function 'kotlin.collections.mapTo' call
354
- var destination = ArrayList_init_$Create$(this_0.a1());
481
+ var destination = ArrayList_init_$Create$(this_0.b1());
355
482
  // Inline function 'kotlin.collections.iterator' call
356
- var _iterator__ex2g4s = this_0.j1().t();
483
+ var _iterator__ex2g4s = this_0.l1().t();
357
484
  while (_iterator__ex2g4s.u()) {
358
485
  var item = _iterator__ex2g4s.v();
359
486
  // Inline function 'kotlin.collections.component1' call
360
- var k = item.k1();
487
+ var k = item.m1();
361
488
  // Inline function 'kotlin.collections.component2' call
362
- var v = item.l1();
363
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.r1t(v));
489
+ var v = item.n1();
490
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.y1y(v));
364
491
  destination.x(tmp$ret$3);
365
492
  }
366
493
  tmp = new ConstructorStatement(tmp_0, toMap(destination));
@@ -372,7 +499,7 @@ function RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
372
499
  }
373
500
  function RustIrEmitter$sanitizationConfig$delegate$lambda(this$0) {
374
501
  return function () {
375
- var tmp0_reservedKeywords = minus(Companion_getInstance_0().b1y_1, setOf(['self', 'Self']));
502
+ var tmp0_reservedKeywords = minus(Companion_getInstance_0().m23_1, setOf(['self', 'Self']));
376
503
  var tmp = RustIrEmitter$sanitizationConfig$delegate$lambda$lambda;
377
504
  var tmp_0 = RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_0;
378
505
  var tmp_1 = RustIrEmitter$sanitizationConfig$delegate$lambda$lambda_1;
@@ -386,69 +513,69 @@ function RustIrEmitter$_get_sanitizationConfig_$ref_17ypni() {
386
513
  };
387
514
  }
388
515
  function RustIrEmitter$emitShared$lambda($this$interface) {
389
- $this$interface.d1j(new Custom('Headers'));
516
+ $this$interface.u1n(new Custom('Headers'));
390
517
  return Unit_instance;
391
518
  }
392
519
  function RustIrEmitter$emitShared$lambda_0($this$interface) {
393
- $this$interface.d1j(new Custom('Headers'));
520
+ $this$interface.u1n(new Custom('Headers'));
394
521
  return Unit_instance;
395
522
  }
396
523
  function RustIrEmitter$emitShared$lambda_1($this$interface) {
397
- $this$interface.d1j(new Custom('Sized'));
398
- $this$interface.a1i('label', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda);
399
- $this$interface.a1i('from_label', true, VOID, RustIrEmitter$emitShared$lambda$lambda_0);
524
+ $this$interface.u1n(new Custom('Sized'));
525
+ $this$interface.b1m('label', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda);
526
+ $this$interface.b1m('from_label', true, VOID, RustIrEmitter$emitShared$lambda$lambda_0);
400
527
  return Unit_instance;
401
528
  }
402
529
  function RustIrEmitter$emitShared$lambda$lambda($this$function) {
403
- $this$function.k1i('&self', new Custom(''));
404
- $this$function.j1i(new Custom('&str'));
530
+ $this$function.w1l('&self', new Custom(''));
531
+ $this$function.z1l(new Custom('&str'));
405
532
  return Unit_instance;
406
533
  }
407
534
  function RustIrEmitter$emitShared$lambda$lambda_0($this$function) {
408
- $this$function.k1i('s', new Custom('&str'));
409
- $this$function.j1i(new Custom('Option<Self>'));
535
+ $this$function.w1l('s', new Custom('&str'));
536
+ $this$function.z1l(new Custom('Option<Self>'));
410
537
  return Unit_instance;
411
538
  }
412
539
  function RustIrEmitter$emitShared$lambda_2($this$interface) {
413
- $this$interface.z1h($this$interface.s1h('T', []), []);
414
- $this$interface.a1i('value', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_1);
415
- $this$interface.a1i('validate', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_2);
540
+ $this$interface.o1n($this$interface.n1l('T', []), []);
541
+ $this$interface.b1m('value', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_1);
542
+ $this$interface.b1m('validate', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_2);
416
543
  return Unit_instance;
417
544
  }
418
545
  function RustIrEmitter$emitShared$lambda$lambda_1($this$function) {
419
- $this$function.k1i('&self', new Custom(''));
420
- $this$function.j1i(borrow($this$function.s1h('T', [])));
546
+ $this$function.w1l('&self', new Custom(''));
547
+ $this$function.z1l(borrow($this$function.n1l('T', [])));
421
548
  return Unit_instance;
422
549
  }
423
550
  function RustIrEmitter$emitShared$lambda$lambda_2($this$function) {
424
- $this$function.k1i('&self', new Custom(''));
425
- $this$function.j1i($this$function.r1i());
551
+ $this$function.w1l('&self', new Custom(''));
552
+ $this$function.z1l($this$function.v1n());
426
553
  return Unit_instance;
427
554
  }
428
555
  function RustIrEmitter$emitShared$lambda_3($this$interface) {
429
- $this$interface.z1h($this$interface.s1h('T', []), []);
430
- $this$interface.l1i('path', borrowDyn($this$interface.s1h('Path', [])));
431
- $this$interface.l1i('method', borrow($this$interface.s1h('Method', [])));
432
- $this$interface.l1i('queries', borrowDyn($this$interface.s1h('Queries', [])));
433
- $this$interface.l1i('headers', borrowDyn($this$interface.s1h('RequestHeaders', [])));
434
- $this$interface.l1i('body', borrow($this$interface.s1h('T', [])));
556
+ $this$interface.o1n($this$interface.n1l('T', []), []);
557
+ $this$interface.p1n('path', borrowDyn($this$interface.n1l('Path', [])));
558
+ $this$interface.p1n('method', borrow($this$interface.n1l('Method', [])));
559
+ $this$interface.p1n('queries', borrowDyn($this$interface.n1l('Queries', [])));
560
+ $this$interface.p1n('headers', borrowDyn($this$interface.n1l('RequestHeaders', [])));
561
+ $this$interface.p1n('body', borrow($this$interface.n1l('T', [])));
435
562
  return Unit_instance;
436
563
  }
437
564
  function RustIrEmitter$emitShared$lambda_4($this$interface) {
438
- $this$interface.z1h($this$interface.s1h('T', []), []);
439
- $this$interface.l1i('status', $this$interface.k1t());
440
- $this$interface.l1i('headers', borrowDyn($this$interface.s1h('ResponseHeaders', [])));
441
- $this$interface.l1i('body', borrow($this$interface.s1h('T', [])));
565
+ $this$interface.o1n($this$interface.n1l('T', []), []);
566
+ $this$interface.p1n('status', $this$interface.u1o());
567
+ $this$interface.p1n('headers', borrowDyn($this$interface.n1l('ResponseHeaders', [])));
568
+ $this$interface.p1n('body', borrow($this$interface.n1l('T', [])));
442
569
  return Unit_instance;
443
570
  }
444
571
  function RustIrEmitter$emitShared$lambda_5($this$interface) {
445
- $this$interface.n1j('transport', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_3);
572
+ $this$interface.r1o('transport', VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_3);
446
573
  return Unit_instance;
447
574
  }
448
575
  function RustIrEmitter$emitShared$lambda$lambda_3($this$asyncFunction) {
449
- $this$asyncFunction.k1i('&self', new Custom(''));
450
- $this$asyncFunction.k1i('request', borrow($this$asyncFunction.s1h('RawRequest', [])));
451
- $this$asyncFunction.j1i($this$asyncFunction.s1h('RawResponse', []));
576
+ $this$asyncFunction.w1l('&self', new Custom(''));
577
+ $this$asyncFunction.w1l('request', borrow($this$asyncFunction.n1l('RawRequest', [])));
578
+ $this$asyncFunction.z1l($this$asyncFunction.n1l('RawResponse', []));
452
579
  return Unit_instance;
453
580
  }
454
581
  function RustIrEmitter$emitShared$lambda_6($rustImports) {
@@ -456,7 +583,7 @@ function RustIrEmitter$emitShared$lambda_6($rustImports) {
456
583
  var tmp;
457
584
  if (element instanceof File) {
458
585
  // Inline function 'kotlin.collections.filterIsInstance' call
459
- var tmp0 = element.s1m_1;
586
+ var tmp0 = element.t1r_1;
460
587
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
461
588
  var destination = ArrayList_init_$Create$_0();
462
589
  var _iterator__ex2g4s = tmp0.t();
@@ -467,7 +594,7 @@ function RustIrEmitter$emitShared$lambda_6($rustImports) {
467
594
  }
468
595
  }
469
596
  var namespace = first(destination);
470
- tmp = element.v1m(VOID, plus($rustImports, namespace.y1m_1));
597
+ tmp = element.w1r(VOID, plus($rustImports, namespace.z1r_1));
471
598
  } else {
472
599
  tmp = element;
473
600
  }
@@ -477,9 +604,9 @@ function RustIrEmitter$emitShared$lambda_6($rustImports) {
477
604
  }
478
605
  function RustIrEmitter$emitShared$lambda_7(element, transformer) {
479
606
  var tmp;
480
- if (element instanceof Enum) {
607
+ if (element instanceof Enum_0) {
481
608
  var tmp_0;
482
- if (element.w1n_1.equals(Companion_getInstance().l1h('Method'))) {
609
+ if (element.y1s_1.equals(Companion_getInstance().m1l('Method'))) {
483
610
  tmp_0 = new RawElement('#[derive(Debug, Clone, Default, PartialEq)]\npub enum Method {\n #[default]\n GET,\n PUT,\n POST,\n DELETE,\n OPTIONS,\n HEAD,\n PATCH,\n TRACE,\n}');
484
611
  } else {
485
612
  tmp_0 = element;
@@ -496,7 +623,7 @@ function RustIrEmitter$emitShared$lambda_8($dslTraits, $requestHeaders, $respons
496
623
  var tmp;
497
624
  if (element instanceof File) {
498
625
  // Inline function 'kotlin.collections.flatMap' call
499
- var tmp0 = element.s1m_1;
626
+ var tmp0 = element.t1r_1;
500
627
  // Inline function 'kotlin.collections.flatMapTo' call
501
628
  var destination = ArrayList_init_$Create$_0();
502
629
  var _iterator__ex2g4s = tmp0.t();
@@ -508,30 +635,30 @@ function RustIrEmitter$emitShared$lambda_8($dslTraits, $requestHeaders, $respons
508
635
  tmp$ret$0 = listOf(element_0);
509
636
  break $l$block;
510
637
  }
511
- var name = element_0.j1n_1.w1l();
638
+ var name = element_0.l1s_1.t1q();
512
639
  var tmp_0;
513
640
  // Inline function 'kotlin.collections.contains' call
514
641
  // Inline function 'kotlin.collections.containsKey' call
515
642
  var this_0 = $dslTraits;
516
- if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).n2(name)) {
643
+ if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).t2(name)) {
517
644
  // Inline function 'kotlin.collections.buildList' call
518
645
  // Inline function 'kotlin.collections.buildListInternal' call
519
646
  // Inline function 'kotlin.apply' call
520
647
  var this_1 = ArrayList_init_$Create$_0();
521
- this_1.x(ensureNotNull($dslTraits.p2(name)));
648
+ this_1.x(ensureNotNull($dslTraits.v2(name)));
522
649
  if (name === 'Request') {
523
650
  this_1.x($requestHeaders);
524
651
  }
525
652
  if (name === 'Response') {
526
653
  this_1.x($responseHeaders);
527
654
  }
528
- tmp_0 = this_1.o5();
655
+ tmp_0 = this_1.u5();
529
656
  } else {
530
657
  // Inline function 'kotlin.collections.contains' call
531
658
  // Inline function 'kotlin.collections.containsKey' call
532
659
  var this_2 = $rawElementInterfaces;
533
- if ((isInterface(this_2, KtMap) ? this_2 : THROW_CCE()).n2(name)) {
534
- tmp_0 = listOf(ensureNotNull($rawElementInterfaces.p2(name)));
660
+ if ((isInterface(this_2, KtMap) ? this_2 : THROW_CCE()).t2(name)) {
661
+ tmp_0 = listOf(ensureNotNull($rawElementInterfaces.v2(name)));
535
662
  } else {
536
663
  tmp_0 = listOf(element_0);
537
664
  }
@@ -542,7 +669,7 @@ function RustIrEmitter$emitShared$lambda_8($dslTraits, $requestHeaders, $respons
542
669
  addAll(destination, list);
543
670
  }
544
671
  var newElements = plus_0(plus_0(destination, $client), $server);
545
- tmp = element.v1m(VOID, newElements);
672
+ tmp = element.w1r(VOID, newElements);
546
673
  } else {
547
674
  tmp = element;
548
675
  }
@@ -558,14 +685,14 @@ function RustIrEmitter$emitShared$lambda_9(element, transformer) {
558
685
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
559
686
  var tmp_0 = scope;
560
687
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
561
- var this_0 = scope.w1t_1;
688
+ var this_0 = scope.d1z_1;
562
689
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
563
690
  // Inline function 'kotlin.apply' call
564
691
  var this_1 = new TransformerBuilder();
565
- this_1.c1h(RustIrEmitter$emitShared$lambda$lambda_4);
566
- var tmp$ret$2 = this_1.d1h();
567
- tmp_0.w1t_1 = transform(this_0, tmp$ret$2);
568
- var tmp_1 = scope.w1t_1;
692
+ this_1.v1m(RustIrEmitter$emitShared$lambda$lambda_4);
693
+ var tmp$ret$2 = this_1.w1m();
694
+ tmp_0.d1z_1 = transform(this_0, tmp$ret$2);
695
+ var tmp_1 = scope.d1z_1;
569
696
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
570
697
  } else {
571
698
  tmp = element;
@@ -575,8 +702,8 @@ function RustIrEmitter$emitShared$lambda_9(element, transformer) {
575
702
  }
576
703
  function RustIrEmitter$emitShared$lambda$lambda_4(element, transformer) {
577
704
  var tmp;
578
- if (element instanceof Function) {
579
- var tmp0 = element.u1j_1;
705
+ if (element instanceof Function_0) {
706
+ var tmp0 = element.d1p_1;
580
707
  var tmp$ret$0;
581
708
  $l$block_0: {
582
709
  // Inline function 'kotlin.collections.any' call
@@ -593,7 +720,7 @@ function RustIrEmitter$emitShared$lambda$lambda_4(element, transformer) {
593
720
  var _iterator__ex2g4s = tmp0.t();
594
721
  while (_iterator__ex2g4s.u()) {
595
722
  var element_0 = _iterator__ex2g4s.v();
596
- if (element_0.t1o_1.r1h() === '&self' || element_0.t1o_1.r1h() === 'self') {
723
+ if (element_0.v1t_1.h1n() === '&self' || element_0.v1t_1.h1n() === 'self') {
597
724
  tmp$ret$0 = true;
598
725
  break $l$block_0;
599
726
  }
@@ -601,7 +728,7 @@ function RustIrEmitter$emitShared$lambda$lambda_4(element, transformer) {
601
728
  tmp$ret$0 = false;
602
729
  }
603
730
  var hasSelf = tmp$ret$0;
604
- tmp = hasSelf || element.y1j_1 ? element : element.a1k(VOID, VOID, plus(listOf(get_rustSelfParam()), element.u1j_1));
731
+ tmp = hasSelf || element.h1p_1 ? element : element.j1p(VOID, VOID, plus(listOf(get_rustSelfParam()), element.d1p_1));
605
732
  } else {
606
733
  tmp = element;
607
734
  }
@@ -612,7 +739,7 @@ function RustIrEmitter$emitShared$lambda_10(group) {
612
739
  return trimEnd(joinToString(group, '', VOID, VOID, VOID, VOID, RustIrEmitter$emitShared$lambda$lambda_5), charArrayOf([_Char___init__impl__6a9atx(10)]));
613
740
  }
614
741
  function RustIrEmitter$emitShared$lambda$lambda_5(it) {
615
- return RustGenerator_instance.k1u(it);
742
+ return RustGenerator_instance.r1z(it);
616
743
  }
617
744
  function RustIrEmitter$emit$lambda(a, b) {
618
745
  // Inline function 'kotlin.comparisons.compareValuesBy' call
@@ -621,7 +748,7 @@ function RustIrEmitter$emit$lambda(a, b) {
621
748
  return compareValues(tmp, tmp$ret$1);
622
749
  }
623
750
  function emit$emitMod(this$0, def) {
624
- return 'pub mod ' + sanitize(this$0, def.vq()) + ';';
751
+ return 'pub mod ' + sanitize(this$0, def.lv()) + ';';
625
752
  }
626
753
  function RustIrEmitter$emit$lambda_0(this$0) {
627
754
  return function (it) {
@@ -633,6 +760,39 @@ function RustIrEmitter$emit$lambda_1(this$0) {
633
760
  return emit$emitMod(this$0, it);
634
761
  };
635
762
  }
763
+ function RustIrEmitter$emitGenerator$lambda(it) {
764
+ return startsWith(it, 'Wirespec.') || it === 'Wirespec';
765
+ }
766
+ function RustIrEmitter$emitGenerator$lambda_0($generatorOwnName) {
767
+ return function (it) {
768
+ return it === $generatorOwnName;
769
+ };
770
+ }
771
+ function RustIrEmitter$emitGenerator$lambda_1(it) {
772
+ return substringBefore(it, _Char___init__impl__6a9atx(60));
773
+ }
774
+ function RustIrEmitter$emitGenerator$lambda_2($generatorOwnName, $generatorRefs) {
775
+ return function (expr, t) {
776
+ var tmp;
777
+ var tmp_0;
778
+ var tmp_1;
779
+ if (expr instanceof RawExpression) {
780
+ tmp_1 = endsWith(expr.j1t_1, 'Generator');
781
+ } else {
782
+ tmp_1 = false;
783
+ }
784
+ if (tmp_1) {
785
+ tmp_0 = !(expr.j1t_1 === $generatorOwnName);
786
+ } else {
787
+ tmp_0 = false;
788
+ }
789
+ if (tmp_0) {
790
+ $generatorRefs.x(expr.j1t_1);
791
+ tmp = Unit_instance;
792
+ }
793
+ return transformChildren_1(expr, t);
794
+ };
795
+ }
636
796
  function RustIrEmitter$emit$lambda_2(this$0) {
637
797
  return function (it) {
638
798
  return sanitizeKeywords(this$0, sanitizeEnum(this$0, it));
@@ -640,7 +800,7 @@ function RustIrEmitter$emit$lambda_2(this$0) {
640
800
  }
641
801
  function RustIrEmitter$emitClient$lambda(this$0) {
642
802
  return function (endpoint) {
643
- return 'pub mod ' + toSnakeCase(this$0, endpoint.ep_1.l1() + 'Client') + ';';
803
+ return 'pub mod ' + toSnakeCase(this$0, endpoint.ut_1.n1() + 'Client') + ';';
644
804
  };
645
805
  }
646
806
  function RustIrEmitter$toPascalCase$lambda(s) {
@@ -660,39 +820,39 @@ function RustIrEmitter$toPascalCase$lambda(s) {
660
820
  }
661
821
  function RustIrEmitter$buildClientParams$lambda(this$0) {
662
822
  return function (_destruct__k2r9zo) {
663
- var name = _destruct__k2r9zo.ne();
664
- return sanitizeKeywords(this$0, name.x1l());
823
+ var name = _destruct__k2r9zo.pf();
824
+ return sanitizeKeywords(this$0, name.u1q());
665
825
  };
666
826
  }
667
827
  function RustIrEmitter$buildClientParams$lambda_0(this$0) {
668
828
  return function (_destruct__k2r9zo) {
669
- var name = _destruct__k2r9zo.ne();
670
- var type = _destruct__k2r9zo.oe();
671
- var tmp = sanitizeKeywords(this$0, name.x1l());
829
+ var name = _destruct__k2r9zo.pf();
830
+ var type = _destruct__k2r9zo.qf();
831
+ var tmp = sanitizeKeywords(this$0, name.u1q());
672
832
  // Inline function 'kotlin.with' call
673
- return tmp + ': ' + RustTransform_getInstance().j1y(type);
833
+ return tmp + ': ' + RustTransform_getInstance().u23(type);
674
834
  };
675
835
  }
676
836
  function RustIrEmitter(packageName, emitShared) {
677
837
  Companion_getInstance_0();
678
- packageName = packageName === VOID ? Companion_instance_0.lr('community.flock.wirespec.generated') : packageName;
679
- emitShared = emitShared === VOID ? Companion_instance_1.go() : emitShared;
680
- this.u1x_1 = packageName;
681
- this.v1x_1 = emitShared;
682
- this.w1x_1 = RustGenerator_instance;
683
- this.x1x_1 = FileExtension_Rust_getInstance();
838
+ packageName = packageName === VOID ? Companion_instance_0.bw('community.flock.wirespec.generated') : packageName;
839
+ emitShared = emitShared === VOID ? Companion_instance_1.ws() : emitShared;
840
+ this.f23_1 = packageName;
841
+ this.g23_1 = emitShared;
842
+ this.h23_1 = RustGenerator_instance;
843
+ this.i23_1 = FileExtension_Rust_getInstance();
684
844
  var tmp = this;
685
- tmp.y1x_1 = lazy(RustIrEmitter$sanitizationConfig$delegate$lambda(this));
686
- this.z1x_1 = listOf_0([import_0('super::super::wirespec', '*'), import_0('', 'regex')]);
687
- this.a1y_1 = listOf_0([import_0('super::super::wirespec', '*'), import_0('', 'regex')]);
845
+ tmp.j23_1 = lazy(RustIrEmitter$sanitizationConfig$delegate$lambda(this));
846
+ this.k23_1 = listOf_0([import_0('super::super::wirespec', '*'), import_0('', 'regex')]);
847
+ this.l23_1 = listOf_0([import_0('super::super::wirespec', '*'), import_0('', 'regex')]);
688
848
  }
689
- protoOf(RustIrEmitter).j1u = function () {
690
- return this.w1x_1;
849
+ protoOf(RustIrEmitter).q1z = function () {
850
+ return this.h23_1;
691
851
  };
692
- protoOf(RustIrEmitter).eq = function () {
693
- return this.x1x_1;
852
+ protoOf(RustIrEmitter).uu = function () {
853
+ return this.i23_1;
694
854
  };
695
- protoOf(RustIrEmitter).m1u = function () {
855
+ protoOf(RustIrEmitter).t1z = function () {
696
856
  var rustImports = listOf_0([import_0('std::any', 'TypeId'), import_0('std::collections', 'HashMap')]);
697
857
  var requestHeaders = interface_0('RequestHeaders', VOID, RustIrEmitter$emitShared$lambda);
698
858
  var responseHeaders = interface_0('ResponseHeaders', VOID, RustIrEmitter$emitShared$lambda_0);
@@ -706,43 +866,43 @@ protoOf(RustIrEmitter).m1u = function () {
706
866
  var transportationTrait = interface_0('Transportation', VOID, RustIrEmitter$emitShared$lambda_5);
707
867
  var dslTraits = mapOf([to('Enum', enumTrait), to('Refined', refinedTrait), to('Request', requestTrait), to('Response', responseTrait), to('Transportation', transportationTrait)]);
708
868
  // Inline function 'community.flock.wirespec.ir.core.transform' call
709
- var this_0 = convert(Companion_instance_0.lr('shared'));
869
+ var this_0 = convert(Companion_instance_0.bw('shared'));
710
870
  var scope = new TransformScope(this_0);
711
871
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
712
872
  var tmp = scope;
713
873
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
714
- var this_1 = scope.w1t_1;
874
+ var this_1 = scope.d1z_1;
715
875
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
716
876
  // Inline function 'kotlin.apply' call
717
877
  var this_2 = new TransformerBuilder();
718
- this_2.c1h(RustIrEmitter$emitShared$lambda_6(rustImports));
719
- var tmp$ret$2 = this_2.d1h();
720
- tmp.w1t_1 = transform(this_1, tmp$ret$2);
878
+ this_2.v1m(RustIrEmitter$emitShared$lambda_6(rustImports));
879
+ var tmp$ret$2 = this_2.w1m();
880
+ tmp.d1z_1 = transform(this_1, tmp$ret$2);
721
881
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
722
882
  var tmp_0 = scope;
723
883
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
724
- var this_3 = scope.w1t_1;
884
+ var this_3 = scope.d1z_1;
725
885
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
726
886
  // Inline function 'kotlin.apply' call
727
887
  var this_4 = new TransformerBuilder();
728
- this_4.c1h(RustIrEmitter$emitShared$lambda_7);
729
- var tmp$ret$7 = this_4.d1h();
730
- tmp_0.w1t_1 = transform(this_3, tmp$ret$7);
888
+ this_4.v1m(RustIrEmitter$emitShared$lambda_7);
889
+ var tmp$ret$7 = this_4.w1m();
890
+ tmp_0.d1z_1 = transform(this_3, tmp$ret$7);
731
891
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
732
892
  var tmp_1 = scope;
733
893
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
734
- var this_5 = scope.w1t_1;
894
+ var this_5 = scope.d1z_1;
735
895
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
736
896
  // Inline function 'kotlin.apply' call
737
897
  var this_6 = new TransformerBuilder();
738
- this_6.c1h(RustIrEmitter$emitShared$lambda_8(dslTraits, requestHeaders, responseHeaders, rawElementInterfaces, client, server));
739
- var tmp$ret$12 = this_6.d1h();
740
- tmp_1.w1t_1 = transform(this_5, tmp$ret$12);
741
- var tmp_2 = scope.w1t_1;
898
+ this_6.v1m(RustIrEmitter$emitShared$lambda_8(dslTraits, requestHeaders, responseHeaders, rawElementInterfaces, client, server));
899
+ var tmp$ret$12 = this_6.w1m();
900
+ tmp_1.d1z_1 = transform(this_5, tmp$ret$12);
901
+ var tmp_2 = scope.d1z_1;
742
902
  // Inline function 'kotlin.let' call
743
903
  var file = isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
744
904
  // Inline function 'kotlin.collections.flatMap' call
745
- var tmp0 = file.s1m_1;
905
+ var tmp0 = file.t1r_1;
746
906
  // Inline function 'kotlin.collections.flatMapTo' call
747
907
  var destination = ArrayList_init_$Create$_0();
748
908
  var _iterator__ex2g4s = tmp0.t();
@@ -754,79 +914,140 @@ protoOf(RustIrEmitter).m1u = function () {
754
914
  tmp$ret$17 = listOf(element);
755
915
  break $l$block;
756
916
  }
757
- var derive;
758
- switch (element.c1n_1.w1l()) {
759
- case 'RawRequest':
760
- case 'RawResponse':
761
- derive = '#[derive(Debug, Clone, PartialEq)]';
762
- break;
763
- default:
764
- derive = '#[derive(Debug, Clone, Default, PartialEq)]';
765
- break;
917
+ var tmp_3;
918
+ var tmp0_0 = element.e1s_1;
919
+ var tmp$ret$18;
920
+ $l$block_1: {
921
+ // Inline function 'kotlin.collections.any' call
922
+ var tmp_4;
923
+ if (isInterface(tmp0_0, Collection)) {
924
+ tmp_4 = tmp0_0.r();
925
+ } else {
926
+ tmp_4 = false;
927
+ }
928
+ if (tmp_4) {
929
+ tmp$ret$18 = false;
930
+ break $l$block_1;
931
+ }
932
+ var _iterator__ex2g4s_0 = tmp0_0.t();
933
+ while (_iterator__ex2g4s_0.u()) {
934
+ var element_0 = _iterator__ex2g4s_0.v();
935
+ if (containsUnderiveable(this, element_0.a1u_1)) {
936
+ tmp$ret$18 = true;
937
+ break $l$block_1;
938
+ }
939
+ }
940
+ tmp$ret$18 = false;
766
941
  }
767
- tmp$ret$17 = listOf(new File(element.c1n_1, listOf_0([new RawElement(derive), element])));
942
+ if (tmp$ret$18) {
943
+ tmp_3 = '';
944
+ } else {
945
+ var tmp0_1 = element.e1s_1;
946
+ var tmp$ret$20;
947
+ $l$block_3: {
948
+ // Inline function 'kotlin.collections.any' call
949
+ var tmp_5;
950
+ if (isInterface(tmp0_1, Collection)) {
951
+ tmp_5 = tmp0_1.r();
952
+ } else {
953
+ tmp_5 = false;
954
+ }
955
+ if (tmp_5) {
956
+ tmp$ret$20 = false;
957
+ break $l$block_3;
958
+ }
959
+ var _iterator__ex2g4s_1 = tmp0_1.t();
960
+ while (_iterator__ex2g4s_1.u()) {
961
+ var element_1 = _iterator__ex2g4s_1.v();
962
+ if (containsWildcard(this, element_1.a1u_1)) {
963
+ tmp$ret$20 = true;
964
+ break $l$block_3;
965
+ }
966
+ }
967
+ tmp$ret$20 = false;
968
+ }
969
+ if (tmp$ret$20) {
970
+ tmp_3 = '#[derive(Debug, Default)]';
971
+ } else {
972
+ if (setOf(['RawRequest', 'RawResponse']).a2(element.d1s_1.t1q())) {
973
+ tmp_3 = '#[derive(Debug, Clone, PartialEq)]';
974
+ } else {
975
+ tmp_3 = '#[derive(Debug, Clone, Default, PartialEq)]';
976
+ }
977
+ }
978
+ }
979
+ var derive = tmp_3;
980
+ var tmp_6;
981
+ // Inline function 'kotlin.text.isEmpty' call
982
+ if (charSequenceLength(derive) === 0) {
983
+ tmp_6 = emptyList();
984
+ } else {
985
+ tmp_6 = listOf(new RawElement(derive));
986
+ }
987
+ var prefix = tmp_6;
988
+ tmp$ret$17 = listOf(new File(element.d1s_1, plus_0(prefix, element)));
768
989
  }
769
990
  var list = tmp$ret$17;
770
991
  addAll(destination, list);
771
992
  }
772
- var tmp0_0 = new File(file.r1m_1, destination);
993
+ var tmp0_2 = new File(file.s1r_1, destination);
773
994
  // Inline function 'kotlin.let' call
774
- var wirespecFile = RustTransform_getInstance().k1y(tmp0_0);
995
+ var wirespecFile = RustTransform_getInstance().v23(tmp0_2);
775
996
  // Inline function 'community.flock.wirespec.ir.core.transform' call
776
997
  var scope_0 = new TransformScope(wirespecFile);
777
998
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
778
- var tmp_3 = scope_0;
999
+ var tmp_7 = scope_0;
779
1000
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
780
- var this_7 = scope_0.w1t_1;
1001
+ var this_7 = scope_0.d1z_1;
781
1002
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
782
1003
  // Inline function 'kotlin.apply' call
783
1004
  var this_8 = new TransformerBuilder();
784
- this_8.c1h(RustIrEmitter$emitShared$lambda_9);
785
- var tmp$ret$26 = this_8.d1h();
786
- tmp_3.w1t_1 = transform(this_7, tmp$ret$26);
787
- var tmp_4 = scope_0.w1t_1;
1005
+ this_8.v1m(RustIrEmitter$emitShared$lambda_9);
1006
+ var tmp$ret$31 = this_8.w1m();
1007
+ tmp_7.d1z_1 = transform(this_7, tmp$ret$31);
1008
+ var tmp_8 = scope_0.d1z_1;
788
1009
  // Inline function 'kotlin.let' call
789
- var tmp0_1 = (isInterface(tmp_4, Element) ? tmp_4 : THROW_CCE()).s1m_1;
1010
+ var tmp0_3 = (isInterface(tmp_8, Element) ? tmp_8 : THROW_CCE()).t1r_1;
790
1011
  // Inline function 'kotlin.collections.mutableListOf' call
791
1012
  // Inline function 'kotlin.collections.fold' call
792
1013
  var accumulator = ArrayList_init_$Create$_0();
793
- var _iterator__ex2g4s_0 = tmp0_1.t();
794
- while (_iterator__ex2g4s_0.u()) {
795
- var element_0 = _iterator__ex2g4s_0.v();
1014
+ var _iterator__ex2g4s_2 = tmp0_3.t();
1015
+ while (_iterator__ex2g4s_2.u()) {
1016
+ var element_2 = _iterator__ex2g4s_2.v();
796
1017
  var acc = accumulator;
797
- var isImport = element_0 instanceof Import;
1018
+ var isImport = element_2 instanceof Import;
798
1019
  var tmp0_safe_receiver = lastOrNull(acc);
799
- var tmp_5 = tmp0_safe_receiver == null ? null : firstOrNull_0(tmp0_safe_receiver);
800
- var lastGroupIsImports = tmp_5 instanceof Import;
1020
+ var tmp_9 = tmp0_safe_receiver == null ? null : firstOrNull_0(tmp0_safe_receiver);
1021
+ var lastGroupIsImports = tmp_9 instanceof Import;
801
1022
  if (isImport && lastGroupIsImports)
802
- last(acc).x(element_0);
1023
+ last(acc).x(element_2);
803
1024
  else
804
- acc.x(mutableListOf([element_0]));
1025
+ acc.x(mutableListOf([element_2]));
805
1026
  accumulator = acc;
806
1027
  }
807
1028
  var groups = accumulator;
808
1029
  var source = joinToString(groups, '\n\n', VOID, VOID, VOID, VOID, RustIrEmitter$emitShared$lambda_10) + '\n';
809
- var tmp_6;
810
- if (this.v1x_1.ho_1) {
811
- tmp_6 = new File(Companion_getInstance().l1h(this.u1x_1.or() + 'wirespec'), listOf(new RawElement(source)));
1030
+ var tmp_10;
1031
+ if (this.g23_1.xs_1) {
1032
+ tmp_10 = new File(Companion_getInstance().m1l(this.f23_1.ew() + 'wirespec'), listOf(new RawElement(source)));
812
1033
  } else {
813
- tmp_6 = null;
1034
+ tmp_10 = null;
814
1035
  }
815
- return tmp_6;
1036
+ return tmp_10;
816
1037
  };
817
- protoOf(RustIrEmitter).l1u = function (module_0, logger) {
1038
+ protoOf(RustIrEmitter).s1z = function (module_0, logger) {
818
1039
  // Inline function 'kotlin.collections.sortedBy' call
819
- var this_0 = new NonEmptyList(module_0.dq_1);
1040
+ var this_0 = new NonEmptyList(module_0.tu_1);
820
1041
  // Inline function 'kotlin.comparisons.compareBy' call
821
1042
  var tmp = RustIrEmitter$emit$lambda;
822
1043
  var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
823
1044
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
824
1045
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
825
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).yl_1;
1046
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).oq_1;
826
1047
  // Inline function 'kotlin.let' call
827
- var files = emit.call(this, module_0.vu(VOID, statements), logger);
1048
+ var files = emit.call(this, module_0.lz(VOID, statements), logger);
828
1049
  // Inline function 'kotlin.collections.filterIsInstance' call
829
- var tmp0 = new NonEmptyList(module_0.dq_1);
1050
+ var tmp0 = new NonEmptyList(module_0.tu_1);
830
1051
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
831
1052
  var destination = ArrayList_init_$Create$_0();
832
1053
  var _iterator__ex2g4s = tmp0.t();
@@ -846,11 +1067,11 @@ protoOf(RustIrEmitter).l1u = function (module_0, logger) {
846
1067
  tmp_1 = '';
847
1068
  }
848
1069
  var clientMod = tmp_1;
849
- var modRs = new File(Companion_getInstance().l1h(this.u1x_1.or() + 'mod'), listOf(new RawElement('#![allow(warnings)]\npub mod model;\npub mod endpoint;' + clientMod + '\npub mod wirespec;')));
850
- var modEndpoint = new File(Companion_getInstance().l1h(this.u1x_1.or() + 'endpoint/' + 'mod'), listOf(new RawElement(endpointMods)));
851
- var tmp_2 = Companion_getInstance().l1h(this.u1x_1.or() + 'model/' + 'mod');
1070
+ var modRs = new File(Companion_getInstance().m1l(this.f23_1.ew() + 'mod'), listOf(new RawElement('#![allow(warnings)]\npub mod model;\npub mod endpoint;' + clientMod + '\npub mod wirespec;')));
1071
+ var modEndpoint = new File(Companion_getInstance().m1l(this.f23_1.ew() + 'endpoint/' + 'mod'), listOf(new RawElement(endpointMods)));
1072
+ var tmp_2 = Companion_getInstance().m1l(this.f23_1.ew() + 'model/' + 'mod');
852
1073
  // Inline function 'kotlin.collections.filterIsInstance' call
853
- var tmp0_0 = new NonEmptyList(module_0.dq_1);
1074
+ var tmp0_0 = new NonEmptyList(module_0.tu_1);
854
1075
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
855
1076
  var destination_0 = ArrayList_init_$Create$_0();
856
1077
  var _iterator__ex2g4s_0 = tmp0_0.t();
@@ -862,23 +1083,23 @@ protoOf(RustIrEmitter).l1u = function (module_0, logger) {
862
1083
  }
863
1084
  var tmp_3 = destination_0;
864
1085
  var modModel = new File(tmp_2, listOf(new RawElement(joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, RustIrEmitter$emit$lambda_1(this)))));
865
- return this.v1x_1.ho_1 ? NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(files, modRs), modEndpoint), modModel) : NonEmptyList__plus_impl_xqmb9(files, modRs);
1086
+ return this.g23_1.xs_1 ? NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(files, modRs), modEndpoint), modModel) : NonEmptyList__plus_impl_xqmb9(files, modRs);
866
1087
  };
867
- protoOf(RustIrEmitter).uq = function (definition, module_0, logger) {
868
- var subPackageName = plus_1(this.u1x_1, definition);
1088
+ protoOf(RustIrEmitter).kv = function (definition, module_0, logger) {
1089
+ var subPackageName = plus_1(this.f23_1, definition);
869
1090
  var tmp;
870
1091
  if (definition instanceof Endpoint) {
871
- tmp = this.a1y_1;
1092
+ tmp = this.l23_1;
872
1093
  } else {
873
- tmp = this.z1x_1;
1094
+ tmp = this.k23_1;
874
1095
  }
875
1096
  var importHeader = tmp;
876
1097
  var tmp0 = emit_0.call(this, definition, module_0, logger);
877
1098
  // Inline function 'kotlin.let' call
878
- var file = RustTransform_getInstance().k1y(tmp0);
879
- var tmp_0 = Companion_getInstance().l1h(subPackageName.or() + toSnakeCase(this, file.r1m_1.w1l()));
1099
+ var file = RustTransform_getInstance().v23(tmp0);
1100
+ var tmp_0 = Companion_getInstance().m1l(subPackageName.ew() + toSnakeCase(this, file.s1r_1.t1q()));
880
1101
  // Inline function 'kotlin.collections.flatMap' call
881
- var tmp0_0 = file.s1m_1;
1102
+ var tmp0_0 = file.t1r_1;
882
1103
  // Inline function 'kotlin.collections.flatMapTo' call
883
1104
  var destination = ArrayList_init_$Create$_0();
884
1105
  var _iterator__ex2g4s = tmp0_0.t();
@@ -895,55 +1116,131 @@ protoOf(RustIrEmitter).uq = function (definition, module_0, logger) {
895
1116
  }
896
1117
  return new File(tmp_0, plus(importHeader, destination));
897
1118
  };
898
- protoOf(RustIrEmitter).up = function (type, module_0) {
1119
+ protoOf(RustIrEmitter).x1z = function (definition, module_0) {
1120
+ var tmp;
1121
+ if (definition instanceof Type) {
1122
+ tmp = convertToGenerator_2(definition, module_0);
1123
+ } else {
1124
+ if (definition instanceof Enum) {
1125
+ tmp = convertToGenerator_1(definition);
1126
+ } else {
1127
+ if (definition instanceof Refined) {
1128
+ tmp = convertToGenerator_0(definition);
1129
+ } else {
1130
+ if (definition instanceof Union) {
1131
+ tmp = convertToGenerator(definition);
1132
+ } else {
1133
+ return null;
1134
+ }
1135
+ }
1136
+ }
1137
+ }
1138
+ var generatorFile = sanitizeNames(tmp, _get_sanitizationConfig__sns434(this));
1139
+ var generatorOwnName = definition.lv().n1() + 'Generator';
1140
+ var tmp_0 = asSequence(collectCustomTypeNames(generatorFile));
1141
+ var tmp_1 = filterNot(tmp_0, RustIrEmitter$emitGenerator$lambda);
1142
+ var tmp_2 = filterNot(tmp_1, RustIrEmitter$emitGenerator$lambda_0(generatorOwnName));
1143
+ var customNames = toList(distinct(map(tmp_2, RustIrEmitter$emitGenerator$lambda_1)));
1144
+ // Inline function 'kotlin.collections.mutableSetOf' call
1145
+ var generatorRefs = LinkedHashSet_init_$Create$();
1146
+ // Inline function 'community.flock.wirespec.ir.core.transform' call
1147
+ var scope = new TransformScope(generatorFile);
1148
+ scope.l1z(RustIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1149
+ var tmp_3 = scope.d1z_1;
1150
+ isInterface(tmp_3, Element) || THROW_CCE();
1151
+ // Inline function 'kotlin.collections.filter' call
1152
+ // Inline function 'kotlin.collections.filterTo' call
1153
+ var destination = ArrayList_init_$Create$_0();
1154
+ var _iterator__ex2g4s = customNames.t();
1155
+ while (_iterator__ex2g4s.u()) {
1156
+ var element = _iterator__ex2g4s.v();
1157
+ if (endsWith(element, 'Generator')) {
1158
+ destination.x(element);
1159
+ }
1160
+ }
1161
+ // Inline function 'kotlin.collections.map' call
1162
+ var this_0 = distinct_0(plus(destination, generatorRefs));
1163
+ // Inline function 'kotlin.collections.mapTo' call
1164
+ var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1165
+ var _iterator__ex2g4s_0 = this_0.t();
1166
+ while (_iterator__ex2g4s_0.u()) {
1167
+ var item = _iterator__ex2g4s_0.v();
1168
+ var tmp$ret$6 = import_0('super::' + toSnakeCase(this, item), item);
1169
+ destination_0.x(tmp$ret$6);
1170
+ }
1171
+ var generatorImports = destination_0;
1172
+ // Inline function 'kotlin.collections.filterNot' call
1173
+ // Inline function 'kotlin.collections.filterNotTo' call
1174
+ var destination_1 = ArrayList_init_$Create$_0();
1175
+ var _iterator__ex2g4s_1 = customNames.t();
1176
+ while (_iterator__ex2g4s_1.u()) {
1177
+ var element_0 = _iterator__ex2g4s_1.v();
1178
+ if (!endsWith(element_0, 'Generator')) {
1179
+ destination_1.x(element_0);
1180
+ }
1181
+ }
1182
+ // Inline function 'kotlin.collections.map' call
1183
+ // Inline function 'kotlin.collections.mapTo' call
1184
+ var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_1, 10));
1185
+ var _iterator__ex2g4s_2 = destination_1.t();
1186
+ while (_iterator__ex2g4s_2.u()) {
1187
+ var item_0 = _iterator__ex2g4s_2.v();
1188
+ var tmp$ret$12 = import_0('super::super::model::' + toSnakeCase(this, item_0), item_0);
1189
+ destination_2.x(tmp$ret$12);
1190
+ }
1191
+ var typeImports = destination_2;
1192
+ var subPackageName = plus_2(this.f23_1, 'generator');
1193
+ return new File(Companion_getInstance().m1l(subPackageName.ew() + toSnakeCase(this, generatorFile.s1r_1.t1q())), plus(plus(plus(this.k23_1, typeImports), generatorImports), generatorFile.t1r_1));
1194
+ };
1195
+ protoOf(RustIrEmitter).ku = function (type, module_0) {
899
1196
  var tmp = convertWithValidation(type, module_0);
900
1197
  // Inline function 'kotlin.collections.map' call
901
- var this_0 = type.wo_1.so_1;
1198
+ var this_0 = type.mt_1.it_1;
902
1199
  // Inline function 'kotlin.collections.mapTo' call
903
1200
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
904
1201
  var _iterator__ex2g4s = this_0.t();
905
1202
  while (_iterator__ex2g4s.u()) {
906
1203
  var item = _iterator__ex2g4s.v();
907
- var tmp$ret$0 = item.ap_1.l1();
1204
+ var tmp$ret$0 = item.qt_1.n1();
908
1205
  destination.x(tmp$ret$0);
909
1206
  }
910
1207
  return prependImports(this, sanitizeNames(injectSelfReceiverToValidate(tmp, toSet(destination), '&self'), _get_sanitizationConfig__sns434(this)), buildModelImports(type));
911
1208
  };
912
- protoOf(RustIrEmitter).ir = function (enum_0, module_0) {
1209
+ protoOf(RustIrEmitter).yv = function (enum_0, module_0) {
913
1210
  var tmp = convert_0(enum_0);
914
1211
  return sanitizeEnumEntries(tmp, RustIrEmitter$emit$lambda_2(this));
915
1212
  };
916
- protoOf(RustIrEmitter).yq = function (union) {
1213
+ protoOf(RustIrEmitter).ov = function (union) {
917
1214
  return convert_1(union);
918
1215
  };
919
- protoOf(RustIrEmitter).dr = function (refined) {
1216
+ protoOf(RustIrEmitter).tv = function (refined) {
920
1217
  return replaceStructWithRefinedFunctions(convert_2(refined), refined);
921
1218
  };
922
- protoOf(RustIrEmitter).jr = function (endpoint) {
1219
+ protoOf(RustIrEmitter).zv = function (endpoint) {
923
1220
  // Inline function 'community.flock.wirespec.ir.core.transform' call
924
1221
  var this_0 = stripResponseGenerics(stripHandlerExtends(convertSimpleRawExpressionsToVariableRefs(stripWirespecPrefix(flattenForRust(convert_3(endpoint))))));
925
1222
  var scope = new TransformScope(this_0);
926
- scope.b1u(fixResponseSwitchPatterns());
927
- var tmp = scope.w1t_1;
1223
+ scope.i1z(fixResponseSwitchPatterns());
1224
+ var tmp = scope.d1z_1;
928
1225
  // Inline function 'community.flock.wirespec.ir.core.transform' call
929
1226
  var this_1 = isInterface(tmp, Element) ? tmp : THROW_CCE();
930
1227
  var scope_0 = new TransformScope(this_1);
931
- scope_0.b1u(fixConstructorCalls());
932
- var tmp_0 = scope_0.w1t_1;
1228
+ scope_0.i1z(fixConstructorCalls());
1229
+ var tmp_0 = scope_0.d1z_1;
933
1230
  var tmp$ret$3 = isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
934
1231
  return prependImports(this, sanitizeNames(injectApiStruct(injectResponseFromImpls(injectHandlerImplForClient(injectSelfToHandlerMethods(tmp$ret$3), endpoint)), endpoint), _get_sanitizationConfig__sns434(this)), buildEndpointImports(endpoint));
935
1232
  };
936
- protoOf(RustIrEmitter).xq = function (channel) {
1233
+ protoOf(RustIrEmitter).nv = function (channel) {
937
1234
  return convert_4(channel);
938
1235
  };
939
- protoOf(RustIrEmitter).o1u = function (endpoint) {
940
- var endpointName = endpoint.ep_1.l1();
1236
+ protoOf(RustIrEmitter).w1z = function (endpoint) {
1237
+ var endpointName = endpoint.ut_1.n1();
941
1238
  var endpointModuleName = toSnakeCase(this, endpointName);
942
1239
  var clientName = endpointName + 'Client';
943
1240
  var methodName = toSnakeCase(this, endpointName);
944
1241
  var _destruct__k2r9zo = buildClientParams(this, endpoint);
945
- var paramsStr = _destruct__k2r9zo.ne();
946
- var requestArgs = _destruct__k2r9zo.oe();
1242
+ var paramsStr = _destruct__k2r9zo.pf();
1243
+ var requestArgs = _destruct__k2r9zo.qf();
947
1244
  var requestConstruction = endpointModuleName + '::Request::new(' + requestArgs + ')';
948
1245
  // Inline function 'kotlin.collections.distinctBy' call
949
1246
  var this_0 = importReferences(endpoint);
@@ -952,7 +1249,7 @@ protoOf(RustIrEmitter).o1u = function (endpoint) {
952
1249
  var _iterator__ex2g4s = this_0.t();
953
1250
  while (_iterator__ex2g4s.u()) {
954
1251
  var e = _iterator__ex2g4s.v();
955
- var key = e.ku_1;
1252
+ var key = e.az_1;
956
1253
  if (set.x(key)) {
957
1254
  list.x(e);
958
1255
  }
@@ -963,7 +1260,7 @@ protoOf(RustIrEmitter).o1u = function (endpoint) {
963
1260
  var _iterator__ex2g4s_0 = list.t();
964
1261
  while (_iterator__ex2g4s_0.u()) {
965
1262
  var item = _iterator__ex2g4s_0.v();
966
- var tmp$ret$2 = import_0('super::super::model::' + toSnakeCase(this, item.ku_1), item.ku_1);
1263
+ var tmp$ret$2 = import_0('super::super::model::' + toSnakeCase(this, item.az_1), item.az_1);
967
1264
  destination.x(tmp$ret$2);
968
1265
  }
969
1266
  var modelImports = destination;
@@ -984,23 +1281,23 @@ protoOf(RustIrEmitter).o1u = function (endpoint) {
984
1281
  this_1.x(' ' + namespacePath + '::from_raw_response(self.serialization, raw_response)');
985
1282
  this_1.x(' }');
986
1283
  this_1.x('}');
987
- var tmp$ret$8 = this_1.o5();
1284
+ var tmp$ret$8 = this_1.u5();
988
1285
  var code = joinToString(tmp$ret$8, '\n');
989
- var subPackageName = plus_2(this.u1x_1, 'client');
990
- var tmp = Companion_getInstance().l1h(subPackageName.or() + toSnakeCase(this, clientName));
1286
+ var subPackageName = plus_2(this.f23_1, 'client');
1287
+ var tmp = Companion_getInstance().m1l(subPackageName.ew() + toSnakeCase(this, clientName));
991
1288
  // Inline function 'kotlin.collections.buildList' call
992
1289
  // Inline function 'kotlin.collections.buildListInternal' call
993
1290
  // Inline function 'kotlin.apply' call
994
1291
  var this_2 = ArrayList_init_$Create$_0();
995
1292
  this_2.x(import_0('super::super::wirespec', '*'));
996
1293
  this_2.x(import_0('super::super::endpoint', endpointModuleName));
997
- this_2.e1(modelImports);
1294
+ this_2.f1(modelImports);
998
1295
  this_2.x(new RawElement(code));
999
- var tmp$ret$12 = this_2.o5();
1296
+ var tmp$ret$12 = this_2.u5();
1000
1297
  return new File(tmp, tmp$ret$12);
1001
1298
  };
1002
- protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1003
- logger.sq('Emitting main Client for ' + endpoints.a1() + ' endpoints');
1299
+ protoOf(RustIrEmitter).u1z = function (endpoints, logger) {
1300
+ logger.iv('Emitting main Client for ' + endpoints.b1() + ' endpoints');
1004
1301
  var modDeclarations = joinToString(endpoints, '\n', VOID, VOID, VOID, VOID, RustIrEmitter$emitClient$lambda(this));
1005
1302
  // Inline function 'kotlin.collections.flatMap' call
1006
1303
  // Inline function 'kotlin.collections.flatMapTo' call
@@ -1017,7 +1314,7 @@ protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1017
1314
  var _iterator__ex2g4s_0 = destination.t();
1018
1315
  while (_iterator__ex2g4s_0.u()) {
1019
1316
  var e = _iterator__ex2g4s_0.v();
1020
- var key = e.ku_1;
1317
+ var key = e.az_1;
1021
1318
  if (set.x(key)) {
1022
1319
  list_0.x(e);
1023
1320
  }
@@ -1044,7 +1341,7 @@ protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1044
1341
  var _iterator__ex2g4s_2 = endpoints.t();
1045
1342
  while (_iterator__ex2g4s_2.u()) {
1046
1343
  var element_1 = _iterator__ex2g4s_2.v();
1047
- if (element_1.ep_1.l1() === element_0.ku_1) {
1344
+ if (element_1.ut_1.n1() === element_0.az_1) {
1048
1345
  tmp$ret$5 = false;
1049
1346
  break $l$block_0;
1050
1347
  }
@@ -1061,7 +1358,7 @@ protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1061
1358
  var _iterator__ex2g4s_3 = destination_0.t();
1062
1359
  while (_iterator__ex2g4s_3.u()) {
1063
1360
  var item = _iterator__ex2g4s_3.v();
1064
- var tmp$ret$10 = import_0('super::model::' + toSnakeCase(this, item.ku_1), item.ku_1);
1361
+ var tmp$ret$10 = import_0('super::model::' + toSnakeCase(this, item.az_1), item.az_1);
1065
1362
  destination_1.x(tmp$ret$10);
1066
1363
  }
1067
1364
  var modelImports = destination_1;
@@ -1071,9 +1368,9 @@ protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1071
1368
  var _iterator__ex2g4s_4 = endpoints.t();
1072
1369
  while (_iterator__ex2g4s_4.u()) {
1073
1370
  var element_2 = _iterator__ex2g4s_4.v();
1074
- var endpointModuleName = toSnakeCase(this, element_2.ep_1.l1());
1075
- var clientModuleName = toSnakeCase(this, element_2.ep_1.l1() + 'Client');
1076
- var list_1 = listOf_0([import_0('super::endpoint', endpointModuleName), import_0(clientModuleName, element_2.ep_1.l1() + 'Client')]);
1371
+ var endpointModuleName = toSnakeCase(this, element_2.ut_1.n1());
1372
+ var clientModuleName = toSnakeCase(this, element_2.ut_1.n1() + 'Client');
1373
+ var list_1 = listOf_0([import_0('super::endpoint', endpointModuleName), import_0(clientModuleName, element_2.ut_1.n1() + 'Client')]);
1077
1374
  addAll(destination_2, list_1);
1078
1375
  }
1079
1376
  var endpointAndClientImports = destination_2;
@@ -1083,30 +1380,30 @@ protoOf(RustIrEmitter).n1u = function (endpoints, logger) {
1083
1380
  var _iterator__ex2g4s_5 = endpoints.t();
1084
1381
  while (_iterator__ex2g4s_5.u()) {
1085
1382
  var element_3 = _iterator__ex2g4s_5.v();
1086
- var endpointName = element_3.ep_1.l1();
1383
+ var endpointName = element_3.ut_1.n1();
1087
1384
  var endpointModuleName_0 = toSnakeCase(this, endpointName);
1088
1385
  var namespacePath = endpointModuleName_0 + '::' + endpointName;
1089
1386
  var methodName = toSnakeCase(this, endpointName);
1090
1387
  var _destruct__k2r9zo = buildClientParams(this, element_3);
1091
- var paramsStr = _destruct__k2r9zo.ne();
1092
- var callArgs = _destruct__k2r9zo.oe();
1388
+ var paramsStr = _destruct__k2r9zo.pf();
1389
+ var callArgs = _destruct__k2r9zo.qf();
1093
1390
  var delegateCall = endpointName + 'Client { serialization: &self.serialization, transportation: &self.transportation }\n' + (' .' + methodName + '(' + callArgs + ').await');
1094
1391
  var list_2 = listOf_0(['impl<S: Serialization, T: Transportation> ' + namespacePath + '::Call for Client<S, T> {', ' async fn ' + methodName + '(&self' + paramsStr + ') -> ' + endpointModuleName_0 + '::Response {', ' ' + delegateCall, ' }', '}']);
1095
1392
  addAll(destination_3, list_2);
1096
1393
  }
1097
1394
  var implBlocks = destination_3;
1098
1395
  var code = joinToString(plus(listOf_0(['pub struct Client<S: Serialization, T: Transportation> {', ' pub serialization: S,', ' pub transportation: T,', '}']), implBlocks), '\n');
1099
- var tmp_0 = Companion_getInstance().l1h(this.u1x_1.or() + 'client');
1396
+ var tmp_0 = Companion_getInstance().m1l(this.f23_1.ew() + 'client');
1100
1397
  // Inline function 'kotlin.collections.buildList' call
1101
1398
  // Inline function 'kotlin.collections.buildListInternal' call
1102
1399
  // Inline function 'kotlin.apply' call
1103
1400
  var this_0 = ArrayList_init_$Create$_0();
1104
1401
  this_0.x(new RawElement(modDeclarations));
1105
1402
  this_0.x(import_0('super::wirespec', '*'));
1106
- this_0.e1(modelImports);
1107
- this_0.e1(endpointAndClientImports);
1403
+ this_0.f1(modelImports);
1404
+ this_0.f1(endpointAndClientImports);
1108
1405
  this_0.x(new RawElement(code));
1109
- var tmp$ret$22 = this_0.o5();
1406
+ var tmp$ret$22 = this_0.u5();
1110
1407
  return new File(tmp_0, tmp$ret$22);
1111
1408
  };
1112
1409
  function get_rustSelfParam() {
@@ -1124,8 +1421,8 @@ function fixResponseSwitchPatterns() {
1124
1421
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1125
1422
  // Inline function 'kotlin.apply' call
1126
1423
  var this_0 = new TransformerBuilder();
1127
- this_0.d1u(fixResponseSwitchPatterns$lambda);
1128
- return this_0.d1h();
1424
+ this_0.k1z(fixResponseSwitchPatterns$lambda);
1425
+ return this_0.w1m();
1129
1426
  }
1130
1427
  function buildModelImports(_this__u8e3s4) {
1131
1428
  _init_properties_RustIrTransformer_kt__rrvmwq();
@@ -1136,7 +1433,7 @@ function buildModelImports(_this__u8e3s4) {
1136
1433
  var _iterator__ex2g4s = this_0.t();
1137
1434
  while (_iterator__ex2g4s.u()) {
1138
1435
  var e = _iterator__ex2g4s.v();
1139
- var key = e.ku_1;
1436
+ var key = e.az_1;
1140
1437
  if (set.x(key)) {
1141
1438
  list.x(e);
1142
1439
  }
@@ -1147,7 +1444,7 @@ function buildModelImports(_this__u8e3s4) {
1147
1444
  var _iterator__ex2g4s_0 = list.t();
1148
1445
  while (_iterator__ex2g4s_0.u()) {
1149
1446
  var item = _iterator__ex2g4s_0.v();
1150
- var tmp$ret$2 = import_0('super::' + toRustSnakeCase(item.ku_1), item.ku_1);
1447
+ var tmp$ret$2 = import_0('super::' + toRustSnakeCase(item.az_1), item.az_1);
1151
1448
  destination.x(tmp$ret$2);
1152
1449
  }
1153
1450
  return destination;
@@ -1159,14 +1456,14 @@ function replaceStructWithRefinedFunctions(_this__u8e3s4, refined) {
1159
1456
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1160
1457
  var tmp = scope;
1161
1458
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1162
- var this_0 = scope.w1t_1;
1459
+ var this_0 = scope.d1z_1;
1163
1460
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1164
1461
  // Inline function 'kotlin.apply' call
1165
1462
  var this_1 = new TransformerBuilder();
1166
- this_1.c1h(replaceStructWithRefinedFunctions$lambda(refined));
1167
- var tmp$ret$2 = this_1.d1h();
1168
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1169
- var tmp_0 = scope.w1t_1;
1463
+ this_1.v1m(replaceStructWithRefinedFunctions$lambda(refined));
1464
+ var tmp$ret$2 = this_1.w1m();
1465
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1466
+ var tmp_0 = scope.d1z_1;
1170
1467
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1171
1468
  }
1172
1469
  function injectApiStruct(_this__u8e3s4, endpoint) {
@@ -1176,14 +1473,14 @@ function injectApiStruct(_this__u8e3s4, endpoint) {
1176
1473
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1177
1474
  var tmp = scope;
1178
1475
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1179
- var this_0 = scope.w1t_1;
1476
+ var this_0 = scope.d1z_1;
1180
1477
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1181
1478
  // Inline function 'kotlin.apply' call
1182
1479
  var this_1 = new TransformerBuilder();
1183
- this_1.c1h(injectApiStruct$lambda(endpoint));
1184
- var tmp$ret$2 = this_1.d1h();
1185
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1186
- var tmp_0 = scope.w1t_1;
1480
+ this_1.v1m(injectApiStruct$lambda(endpoint));
1481
+ var tmp$ret$2 = this_1.w1m();
1482
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1483
+ var tmp_0 = scope.d1z_1;
1187
1484
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1188
1485
  }
1189
1486
  function injectResponseFromImpls(_this__u8e3s4) {
@@ -1193,14 +1490,14 @@ function injectResponseFromImpls(_this__u8e3s4) {
1193
1490
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1194
1491
  var tmp = scope;
1195
1492
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1196
- var this_0 = scope.w1t_1;
1493
+ var this_0 = scope.d1z_1;
1197
1494
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1198
1495
  // Inline function 'kotlin.apply' call
1199
1496
  var this_1 = new TransformerBuilder();
1200
- this_1.c1h(injectResponseFromImpls$lambda);
1201
- var tmp$ret$2 = this_1.d1h();
1202
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1203
- var tmp_0 = scope.w1t_1;
1497
+ this_1.v1m(injectResponseFromImpls$lambda);
1498
+ var tmp$ret$2 = this_1.w1m();
1499
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1500
+ var tmp_0 = scope.d1z_1;
1204
1501
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1205
1502
  }
1206
1503
  function injectHandlerImplForClient(_this__u8e3s4, endpoint) {
@@ -1210,14 +1507,14 @@ function injectHandlerImplForClient(_this__u8e3s4, endpoint) {
1210
1507
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1211
1508
  var tmp = scope;
1212
1509
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1213
- var this_0 = scope.w1t_1;
1510
+ var this_0 = scope.d1z_1;
1214
1511
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1215
1512
  // Inline function 'kotlin.apply' call
1216
1513
  var this_1 = new TransformerBuilder();
1217
- this_1.c1h(injectHandlerImplForClient$lambda);
1218
- var tmp$ret$2 = this_1.d1h();
1219
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1220
- var tmp_0 = scope.w1t_1;
1514
+ this_1.v1m(injectHandlerImplForClient$lambda);
1515
+ var tmp$ret$2 = this_1.w1m();
1516
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1517
+ var tmp_0 = scope.d1z_1;
1221
1518
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1222
1519
  }
1223
1520
  function injectSelfToHandlerMethods(_this__u8e3s4) {
@@ -1227,14 +1524,14 @@ function injectSelfToHandlerMethods(_this__u8e3s4) {
1227
1524
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1228
1525
  var tmp = scope;
1229
1526
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1230
- var this_0 = scope.w1t_1;
1527
+ var this_0 = scope.d1z_1;
1231
1528
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1232
1529
  // Inline function 'kotlin.apply' call
1233
1530
  var this_1 = new TransformerBuilder();
1234
- this_1.c1h(injectSelfToHandlerMethods$lambda);
1235
- var tmp$ret$2 = this_1.d1h();
1236
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1237
- var tmp_0 = scope.w1t_1;
1531
+ this_1.v1m(injectSelfToHandlerMethods$lambda);
1532
+ var tmp$ret$2 = this_1.w1m();
1533
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1534
+ var tmp_0 = scope.d1z_1;
1238
1535
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1239
1536
  }
1240
1537
  function stripResponseGenerics(_this__u8e3s4) {
@@ -1244,14 +1541,14 @@ function stripResponseGenerics(_this__u8e3s4) {
1244
1541
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matching' call
1245
1542
  var tmp = scope;
1246
1543
  // Inline function 'community.flock.wirespec.ir.core.transformMatching' call
1247
- var this_0 = scope.w1t_1;
1544
+ var this_0 = scope.d1z_1;
1248
1545
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1249
1546
  // Inline function 'kotlin.apply' call
1250
1547
  var this_1 = new TransformerBuilder();
1251
- this_1.c1u(stripResponseGenerics$lambda);
1252
- var tmp$ret$2 = this_1.d1h();
1253
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1254
- var tmp_0 = scope.w1t_1;
1548
+ this_1.j1z(stripResponseGenerics$lambda);
1549
+ var tmp$ret$2 = this_1.w1m();
1550
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1551
+ var tmp_0 = scope.d1z_1;
1255
1552
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1256
1553
  }
1257
1554
  function stripHandlerExtends(_this__u8e3s4) {
@@ -1261,14 +1558,14 @@ function stripHandlerExtends(_this__u8e3s4) {
1261
1558
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1262
1559
  var tmp = scope;
1263
1560
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1264
- var this_0 = scope.w1t_1;
1561
+ var this_0 = scope.d1z_1;
1265
1562
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1266
1563
  // Inline function 'kotlin.apply' call
1267
1564
  var this_1 = new TransformerBuilder();
1268
- this_1.c1h(stripHandlerExtends$lambda);
1269
- var tmp$ret$2 = this_1.d1h();
1270
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1271
- var tmp_0 = scope.w1t_1;
1565
+ this_1.v1m(stripHandlerExtends$lambda);
1566
+ var tmp$ret$2 = this_1.w1m();
1567
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1568
+ var tmp_0 = scope.d1z_1;
1272
1569
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1273
1570
  }
1274
1571
  function convertSimpleRawExpressionsToVariableRefs(_this__u8e3s4) {
@@ -1276,8 +1573,8 @@ function convertSimpleRawExpressionsToVariableRefs(_this__u8e3s4) {
1276
1573
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1277
1574
  var scope = new TransformScope(_this__u8e3s4);
1278
1575
  var identifierPattern = Regex_init_$Create$('[a-zA-Z_][a-zA-Z0-9_]*');
1279
- scope.f1u(convertSimpleRawExpressionsToVariableRefs$lambda(identifierPattern));
1280
- var tmp = scope.w1t_1;
1576
+ scope.m1z(convertSimpleRawExpressionsToVariableRefs$lambda(identifierPattern));
1577
+ var tmp = scope.d1z_1;
1281
1578
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1282
1579
  }
1283
1580
  function stripWirespecPrefix(_this__u8e3s4) {
@@ -1287,21 +1584,21 @@ function stripWirespecPrefix(_this__u8e3s4) {
1287
1584
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matching' call
1288
1585
  var tmp = scope;
1289
1586
  // Inline function 'community.flock.wirespec.ir.core.transformMatching' call
1290
- var this_0 = scope.w1t_1;
1587
+ var this_0 = scope.d1z_1;
1291
1588
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1292
1589
  // Inline function 'kotlin.apply' call
1293
1590
  var this_1 = new TransformerBuilder();
1294
- this_1.c1u(stripWirespecPrefix$lambda);
1295
- var tmp$ret$2 = this_1.d1h();
1296
- tmp.w1t_1 = transform(this_0, tmp$ret$2);
1297
- var tmp_0 = scope.w1t_1;
1591
+ this_1.j1z(stripWirespecPrefix$lambda);
1592
+ var tmp$ret$2 = this_1.w1m();
1593
+ tmp.d1z_1 = transform(this_0, tmp$ret$2);
1594
+ var tmp_0 = scope.d1z_1;
1298
1595
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1299
1596
  }
1300
1597
  function flattenForRust(_this__u8e3s4) {
1301
1598
  _init_properties_RustIrTransformer_kt__rrvmwq();
1302
1599
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1303
1600
  // Inline function 'kotlin.collections.filterIsInstance' call
1304
- var tmp0 = _this__u8e3s4.t1m();
1601
+ var tmp0 = _this__u8e3s4.u1r();
1305
1602
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1306
1603
  var destination = ArrayList_init_$Create$_0();
1307
1604
  var _iterator__ex2g4s = tmp0.t();
@@ -1315,7 +1612,7 @@ function flattenForRust(_this__u8e3s4) {
1315
1612
  var namespace = ensureNotNull(tmp$ret$2);
1316
1613
  var flattened = flattenNestedStructs(namespace);
1317
1614
  // Inline function 'kotlin.collections.filter' call
1318
- var tmp0_0 = flattened.y1m_1;
1615
+ var tmp0_0 = flattened.z1r_1;
1319
1616
  // Inline function 'kotlin.collections.filterTo' call
1320
1617
  var destination_0 = ArrayList_init_$Create$_0();
1321
1618
  var _iterator__ex2g4s_0 = tmp0_0.t();
@@ -1325,7 +1622,7 @@ function flattenForRust(_this__u8e3s4) {
1325
1622
  if (element_0 instanceof Struct) {
1326
1623
  tmp = true;
1327
1624
  } else {
1328
- tmp = element_0 instanceof Union;
1625
+ tmp = element_0 instanceof Union_0;
1329
1626
  }
1330
1627
  if (tmp) {
1331
1628
  destination_0.x(element_0);
@@ -1339,14 +1636,14 @@ function flattenForRust(_this__u8e3s4) {
1339
1636
  var item = _iterator__ex2g4s_1.v();
1340
1637
  var tmp_0;
1341
1638
  var tmp_1;
1342
- if (item instanceof Union) {
1343
- tmp_1 = item.s1p_1.w1l() === 'Response';
1639
+ if (item instanceof Union_0) {
1640
+ tmp_1 = item.b1v_1.t1q() === 'Response';
1344
1641
  } else {
1345
1642
  tmp_1 = false;
1346
1643
  }
1347
1644
  if (tmp_1) {
1348
1645
  // Inline function 'kotlin.collections.filterIsInstance' call
1349
- var tmp0_1 = flattened.y1m_1;
1646
+ var tmp0_1 = flattened.z1r_1;
1350
1647
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1351
1648
  var destination_2 = ArrayList_init_$Create$_0();
1352
1649
  var _iterator__ex2g4s_2 = tmp0_1.t();
@@ -1362,7 +1659,7 @@ function flattenForRust(_this__u8e3s4) {
1362
1659
  var _iterator__ex2g4s_3 = destination_2.t();
1363
1660
  while (_iterator__ex2g4s_3.u()) {
1364
1661
  var item_0 = _iterator__ex2g4s_3.v();
1365
- var tmp$ret$8 = item_0.c1n_1.w1l();
1662
+ var tmp$ret$8 = item_0.d1s_1.t1q();
1366
1663
  destination_3.x(tmp$ret$8);
1367
1664
  }
1368
1665
  // Inline function 'kotlin.collections.filter' call
@@ -1371,7 +1668,7 @@ function flattenForRust(_this__u8e3s4) {
1371
1668
  var _iterator__ex2g4s_4 = destination_3.t();
1372
1669
  while (_iterator__ex2g4s_4.u()) {
1373
1670
  var element_2 = _iterator__ex2g4s_4.v();
1374
- if (get_rustResponsePattern().nc(element_2)) {
1671
+ if (get_rustResponsePattern().tc(element_2)) {
1375
1672
  destination_4.x(element_2);
1376
1673
  }
1377
1674
  }
@@ -1385,10 +1682,10 @@ function flattenForRust(_this__u8e3s4) {
1385
1682
  destination_5.x(tmp$ret$14);
1386
1683
  }
1387
1684
  var members = destination_5;
1388
- tmp_0 = item.x1p(VOID, VOID, members, emptyList());
1685
+ tmp_0 = item.g1v(VOID, VOID, members, emptyList());
1389
1686
  } else {
1390
- if (item instanceof Union) {
1391
- tmp_0 = item.x1p(VOID, VOID, VOID, emptyList());
1687
+ if (item instanceof Union_0) {
1688
+ tmp_0 = item.g1v(VOID, VOID, VOID, emptyList());
1392
1689
  } else {
1393
1690
  tmp_0 = item;
1394
1691
  }
@@ -1398,7 +1695,7 @@ function flattenForRust(_this__u8e3s4) {
1398
1695
  }
1399
1696
  var moduleElements = destination_1;
1400
1697
  // Inline function 'kotlin.collections.filterNot' call
1401
- var tmp0_2 = flattened.y1m_1;
1698
+ var tmp0_2 = flattened.z1r_1;
1402
1699
  // Inline function 'kotlin.collections.filterNotTo' call
1403
1700
  var destination_6 = ArrayList_init_$Create$_0();
1404
1701
  var _iterator__ex2g4s_6 = tmp0_2.t();
@@ -1408,22 +1705,22 @@ function flattenForRust(_this__u8e3s4) {
1408
1705
  if (element_3 instanceof Struct) {
1409
1706
  tmp_2 = true;
1410
1707
  } else {
1411
- tmp_2 = element_3 instanceof Union;
1708
+ tmp_2 = element_3 instanceof Union_0;
1412
1709
  }
1413
1710
  if (!tmp_2) {
1414
1711
  destination_6.x(element_3);
1415
1712
  }
1416
1713
  }
1417
1714
  var classElements = destination_6;
1418
- return new File(namespace.x1m_1, plus_0(moduleElements, new Namespace(namespace.x1m_1, classElements, namespace.z1m_1)));
1715
+ return new File(namespace.y1r_1, plus_0(moduleElements, new Namespace(namespace.y1r_1, classElements, namespace.a1s_1)));
1419
1716
  }
1420
1717
  function fixConstructorCalls() {
1421
1718
  _init_properties_RustIrTransformer_kt__rrvmwq();
1422
1719
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1423
1720
  // Inline function 'kotlin.apply' call
1424
1721
  var this_0 = new TransformerBuilder();
1425
- this_0.f1u(fixConstructorCalls$lambda);
1426
- return this_0.d1h();
1722
+ this_0.m1z(fixConstructorCalls$lambda);
1723
+ return this_0.w1m();
1427
1724
  }
1428
1725
  function buildEndpointImports(_this__u8e3s4) {
1429
1726
  _init_properties_RustIrTransformer_kt__rrvmwq();
@@ -1434,7 +1731,7 @@ function buildEndpointImports(_this__u8e3s4) {
1434
1731
  var _iterator__ex2g4s = this_0.t();
1435
1732
  while (_iterator__ex2g4s.u()) {
1436
1733
  var e = _iterator__ex2g4s.v();
1437
- var key = e.ku_1;
1734
+ var key = e.az_1;
1438
1735
  if (set.x(key)) {
1439
1736
  list.x(e);
1440
1737
  }
@@ -1445,24 +1742,24 @@ function buildEndpointImports(_this__u8e3s4) {
1445
1742
  var _iterator__ex2g4s_0 = list.t();
1446
1743
  while (_iterator__ex2g4s_0.u()) {
1447
1744
  var item = _iterator__ex2g4s_0.v();
1448
- var tmp$ret$2 = import_0('super::super::model::' + toRustSnakeCase(item.ku_1), item.ku_1);
1745
+ var tmp$ret$2 = import_0('super::super::model::' + toRustSnakeCase(item.az_1), item.az_1);
1449
1746
  destination.x(tmp$ret$2);
1450
1747
  }
1451
1748
  return destination;
1452
1749
  }
1453
1750
  function toRustSnakeCase(_this__u8e3s4) {
1454
1751
  _init_properties_RustIrTransformer_kt__rrvmwq();
1455
- return Companion_getInstance().l1h(_this__u8e3s4).x1l();
1752
+ return Companion_getInstance().m1l(_this__u8e3s4).u1q();
1456
1753
  }
1457
1754
  function buildValidateFunction(refined) {
1458
1755
  _init_properties_RustIrTransformer_kt__rrvmwq();
1459
- var constraintExpr = convertConstraint(refined.cr_1, new FieldCall(new VariableReference(Companion_getInstance().l1h('self')), Companion_getInstance().l1h('value')));
1756
+ var constraintExpr = convertConstraint(refined.sv_1, new FieldCall(new VariableReference(Companion_getInstance().m1l('self')), Companion_getInstance().m1l('value')));
1460
1757
  return function_0('validate', VOID, VOID, buildValidateFunction$lambda(constraintExpr));
1461
1758
  }
1462
1759
  function buildToStringFunction(refined) {
1463
1760
  _init_properties_RustIrTransformer_kt__rrvmwq();
1464
1761
  var tmp;
1465
- if (refined.cr_1.ou_1 instanceof String_0) {
1762
+ if (refined.sv_1.ez_1 instanceof String_0) {
1466
1763
  tmp = 'self.value.clone()';
1467
1764
  } else {
1468
1765
  tmp = 'format!("{}", self.value)';
@@ -1477,8 +1774,8 @@ function buildApiStruct(endpoint) {
1477
1774
  function generateApiStructCode(_this__u8e3s4) {
1478
1775
  _init_properties_RustIrTransformer_kt__rrvmwq();
1479
1776
  // Inline function 'kotlin.let' call
1480
- var pathTemplate = '/' + joinToString(_this__u8e3s4.gp_1, '/', VOID, VOID, VOID, VOID, generateApiStructCode$lambda);
1481
- var methodName = _this__u8e3s4.fp_1.a3_1;
1777
+ var pathTemplate = '/' + joinToString(_this__u8e3s4.wt_1, '/', VOID, VOID, VOID, VOID, generateApiStructCode$lambda);
1778
+ var methodName = _this__u8e3s4.vt_1.g3_1;
1482
1779
  return trimIndent('\n pub struct Api;\n impl Server for Api {\n type Req = Request;\n type Res = Response;\n fn path_template(&self) -> &\'static str { "' + pathTemplate + '" }\n fn method(&self) -> Method { Method::' + methodName + ' }\n }\n ');
1483
1780
  }
1484
1781
  function fixResponseSwitchPatterns$lambda(s, t) {
@@ -1487,55 +1784,55 @@ function fixResponseSwitchPatterns$lambda(s, t) {
1487
1784
  if (!(s instanceof Switch)) {
1488
1785
  tmp = true;
1489
1786
  } else {
1490
- var tmp0_safe_receiver = s.a1p_1;
1491
- tmp = !((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1l()) === 'r');
1787
+ var tmp0_safe_receiver = s.h1u_1;
1788
+ tmp = !((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1q()) === 'r');
1492
1789
  }
1493
1790
  if (tmp)
1494
1791
  return transformChildren(s, t);
1495
1792
  // Inline function 'kotlin.collections.map' call
1496
- var this_0 = s.y1o_1;
1793
+ var this_0 = s.f1u_1;
1497
1794
  // Inline function 'kotlin.collections.mapTo' call
1498
1795
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1499
1796
  var _iterator__ex2g4s = this_0.t();
1500
1797
  while (_iterator__ex2g4s.u()) {
1501
1798
  var item = _iterator__ex2g4s.v();
1502
- var tmp_0 = item.f1p_1;
1799
+ var tmp_0 = item.m1u_1;
1503
1800
  var tmp0_safe_receiver_0 = tmp_0 instanceof Custom ? tmp_0 : null;
1504
- var typeName = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.p1h_1;
1801
+ var typeName = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f1n_1;
1505
1802
  var tmp_1;
1506
- if (!(typeName == null) && get_rustResponsePattern().nc(typeName)) {
1507
- var tmp_2 = new RawExpression('Response::' + typeName + '(' + ensureNotNull(s.a1p_1).x1l() + ')');
1803
+ if (!(typeName == null) && get_rustResponsePattern().tc(typeName)) {
1804
+ var tmp_2 = new RawExpression('Response::' + typeName + '(' + ensureNotNull(s.h1u_1).u1q() + ')');
1508
1805
  // Inline function 'kotlin.collections.map' call
1509
- var this_1 = item.e1p_1;
1806
+ var this_1 = item.l1u_1;
1510
1807
  // Inline function 'kotlin.collections.mapTo' call
1511
1808
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
1512
1809
  var _iterator__ex2g4s_0 = this_1.t();
1513
1810
  while (_iterator__ex2g4s_0.u()) {
1514
1811
  var item_0 = _iterator__ex2g4s_0.v();
1515
- var tmp$ret$0 = t.q1t(item_0);
1812
+ var tmp$ret$0 = t.x1y(item_0);
1516
1813
  destination_0.x(tmp$ret$0);
1517
1814
  }
1518
1815
  tmp_1 = new Case(tmp_2, destination_0, null);
1519
1816
  } else {
1520
- var tmp_3 = t.r1t(item.d1p_1);
1817
+ var tmp_3 = t.y1y(item.k1u_1);
1521
1818
  // Inline function 'kotlin.collections.map' call
1522
- var this_2 = item.e1p_1;
1819
+ var this_2 = item.l1u_1;
1523
1820
  // Inline function 'kotlin.collections.mapTo' call
1524
1821
  var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
1525
1822
  var _iterator__ex2g4s_1 = this_2.t();
1526
1823
  while (_iterator__ex2g4s_1.u()) {
1527
1824
  var item_1 = _iterator__ex2g4s_1.v();
1528
- var tmp$ret$3 = t.q1t(item_1);
1825
+ var tmp$ret$3 = t.x1y(item_1);
1529
1826
  destination_1.x(tmp$ret$3);
1530
1827
  }
1531
1828
  var tmp_4 = destination_1;
1532
- var tmp1_safe_receiver = item.f1p_1;
1829
+ var tmp1_safe_receiver = item.m1u_1;
1533
1830
  var tmp_5;
1534
1831
  if (tmp1_safe_receiver == null) {
1535
1832
  tmp_5 = null;
1536
1833
  } else {
1537
1834
  // Inline function 'kotlin.let' call
1538
- tmp_5 = t.o1t(tmp1_safe_receiver);
1835
+ tmp_5 = t.v1y(tmp1_safe_receiver);
1539
1836
  }
1540
1837
  tmp_1 = new Case(tmp_3, tmp_4, tmp_5);
1541
1838
  }
@@ -1543,13 +1840,13 @@ function fixResponseSwitchPatterns$lambda(s, t) {
1543
1840
  destination.x(tmp$ret$8);
1544
1841
  }
1545
1842
  var transformedCases = destination;
1546
- return s.c1p(t.r1t(s.x1o_1), transformedCases, null);
1843
+ return s.j1u(t.y1y(s.e1u_1), transformedCases, null);
1547
1844
  }
1548
1845
  function replaceStructWithRefinedFunctions$lambda($refined) {
1549
1846
  return function (element, transformer) {
1550
1847
  var tmp;
1551
1848
  if (element instanceof Struct) {
1552
- tmp = element.i1n(VOID, VOID, VOID, VOID, listOf_0([buildValidateFunction($refined), buildToStringFunction($refined)]));
1849
+ tmp = element.k1s(VOID, VOID, VOID, VOID, listOf_0([buildValidateFunction($refined), buildToStringFunction($refined)]));
1553
1850
  } else {
1554
1851
  tmp = element;
1555
1852
  }
@@ -1561,7 +1858,7 @@ function injectApiStruct$lambda($endpoint) {
1561
1858
  return function (element, transformer) {
1562
1859
  var tmp;
1563
1860
  if (element instanceof Namespace) {
1564
- tmp = element.b1n(VOID, plus(element.y1m_1, listOf(buildApiStruct($endpoint))));
1861
+ tmp = element.c1s(VOID, plus(element.z1r_1, listOf(buildApiStruct($endpoint))));
1565
1862
  } else {
1566
1863
  tmp = element;
1567
1864
  }
@@ -1574,7 +1871,7 @@ function injectResponseFromImpls$lambda(element, transformer) {
1574
1871
  var tmp;
1575
1872
  if (element instanceof File) {
1576
1873
  // Inline function 'kotlin.collections.flatMap' call
1577
- var tmp0 = element.s1m_1;
1874
+ var tmp0 = element.t1r_1;
1578
1875
  // Inline function 'kotlin.collections.flatMapTo' call
1579
1876
  var destination = ArrayList_init_$Create$_0();
1580
1877
  var _iterator__ex2g4s = tmp0.t();
@@ -1583,27 +1880,27 @@ function injectResponseFromImpls$lambda(element, transformer) {
1583
1880
  var tmp_0;
1584
1881
  var tmp_1;
1585
1882
  var tmp_2;
1586
- if (element_0 instanceof Union) {
1587
- tmp_2 = element_0.s1p_1.w1l() === 'Response';
1883
+ if (element_0 instanceof Union_0) {
1884
+ tmp_2 = element_0.b1v_1.t1q() === 'Response';
1588
1885
  } else {
1589
1886
  tmp_2 = false;
1590
1887
  }
1591
1888
  if (tmp_2) {
1592
1889
  // Inline function 'kotlin.collections.isNotEmpty' call
1593
- tmp_1 = !element_0.u1p_1.r();
1890
+ tmp_1 = !element_0.d1v_1.r();
1594
1891
  } else {
1595
1892
  tmp_1 = false;
1596
1893
  }
1597
1894
  if (tmp_1) {
1598
1895
  var tmp_3 = listOf(element_0);
1599
1896
  // Inline function 'kotlin.collections.map' call
1600
- var this_0 = element_0.u1p_1;
1897
+ var this_0 = element_0.d1v_1;
1601
1898
  // Inline function 'kotlin.collections.mapTo' call
1602
1899
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1603
1900
  var _iterator__ex2g4s_0 = this_0.t();
1604
1901
  while (_iterator__ex2g4s_0.u()) {
1605
1902
  var item = _iterator__ex2g4s_0.v();
1606
- var tmp$ret$1 = new RawElement('impl From<' + item.p1h_1 + '> for Response { fn from(value: ' + item.p1h_1 + ') -> Self { Response::' + item.p1h_1 + '(value) } }\n');
1903
+ var tmp$ret$1 = new RawElement('impl From<' + item.f1n_1 + '> for Response { fn from(value: ' + item.f1n_1 + ') -> Self { Response::' + item.f1n_1 + '(value) } }\n');
1607
1904
  destination_0.x(tmp$ret$1);
1608
1905
  }
1609
1906
  tmp_0 = plus(tmp_3, destination_0);
@@ -1613,7 +1910,7 @@ function injectResponseFromImpls$lambda(element, transformer) {
1613
1910
  var list = tmp_0;
1614
1911
  addAll(destination, list);
1615
1912
  }
1616
- tmp = element.v1m(VOID, destination);
1913
+ tmp = element.w1r(VOID, destination);
1617
1914
  } else {
1618
1915
  tmp = element;
1619
1916
  }
@@ -1627,7 +1924,7 @@ function injectHandlerImplForClient$lambda(element, transformer) {
1627
1924
  var tmp$ret$4;
1628
1925
  $l$block_1: {
1629
1926
  // Inline function 'kotlin.collections.filterIsInstance' call
1630
- var tmp0 = element.y1m_1;
1927
+ var tmp0 = element.z1r_1;
1631
1928
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1632
1929
  var destination = ArrayList_init_$Create$_0();
1633
1930
  var _iterator__ex2g4s = tmp0.t();
@@ -1643,7 +1940,7 @@ function injectHandlerImplForClient$lambda(element, transformer) {
1643
1940
  var _iterator__ex2g4s_0 = destination.t();
1644
1941
  while (_iterator__ex2g4s_0.u()) {
1645
1942
  var element_1 = _iterator__ex2g4s_0.v();
1646
- if (element_1.j1n_1.equals(Companion_getInstance().l1h('Handler'))) {
1943
+ if (element_1.l1s_1.equals(Companion_getInstance().m1l('Handler'))) {
1647
1944
  tmp$ret$3 = element_1;
1648
1945
  break $l$block;
1649
1946
  }
@@ -1660,13 +1957,13 @@ function injectHandlerImplForClient$lambda(element, transformer) {
1660
1957
  }
1661
1958
  var handler = tmp_0;
1662
1959
  // Inline function 'kotlin.collections.filterIsInstance' call
1663
- var tmp0_0 = handler.k1n_1;
1960
+ var tmp0_0 = handler.m1s_1;
1664
1961
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1665
1962
  var destination_0 = ArrayList_init_$Create$_0();
1666
1963
  var _iterator__ex2g4s_1 = tmp0_0.t();
1667
1964
  while (_iterator__ex2g4s_1.u()) {
1668
1965
  var element_2 = _iterator__ex2g4s_1.v();
1669
- if (element_2 instanceof Function) {
1966
+ if (element_2 instanceof Function_0) {
1670
1967
  destination_0.x(element_2);
1671
1968
  }
1672
1969
  }
@@ -1679,8 +1976,8 @@ function injectHandlerImplForClient$lambda(element, transformer) {
1679
1976
  tmp_1 = tmp1_elvis_lhs;
1680
1977
  }
1681
1978
  var method = tmp_1;
1682
- var methodName = method.s1j_1.x1l();
1683
- tmp$ret$4 = element.b1n(VOID, plus(element.y1m_1, listOf(new RawElement(trimIndent('\n impl<C: Client> Handler for C {\n async fn ' + methodName + '(&self, request: Request) -> Response {\n let raw = to_raw_request(self.serialization(), request);\n let resp = self.transport().transport(&raw).await;\n from_raw_response(self.serialization(), resp)\n }\n }\n ')))));
1979
+ var methodName = method.b1p_1.u1q();
1980
+ tmp$ret$4 = element.c1s(VOID, plus(element.z1r_1, listOf(new RawElement(trimIndent('\n impl<C: Client> Handler for C {\n async fn ' + methodName + '(&self, request: Request) -> Response {\n let raw = to_raw_request(self.serialization(), request);\n let resp = self.transport().transport(&raw).await;\n from_raw_response(self.serialization(), resp)\n }\n }\n ')))));
1684
1981
  }
1685
1982
  tmp = tmp$ret$4;
1686
1983
  } else {
@@ -1695,7 +1992,7 @@ function injectSelfToHandlerMethods$lambda(element, transformer) {
1695
1992
  if (element instanceof Interface) {
1696
1993
  var tmp$ret$0;
1697
1994
  $l$block: {
1698
- if (!element.j1n_1.equals(Companion_getInstance().l1h('Handler')) && !element.j1n_1.equals(Companion_getInstance().l1h('Call'))) {
1995
+ if (!element.l1s_1.equals(Companion_getInstance().m1l('Handler')) && !element.l1s_1.equals(Companion_getInstance().m1l('Call'))) {
1699
1996
  tmp$ret$0 = element;
1700
1997
  break $l$block;
1701
1998
  }
@@ -1704,14 +2001,14 @@ function injectSelfToHandlerMethods$lambda(element, transformer) {
1704
2001
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1705
2002
  var tmp_0 = scope;
1706
2003
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1707
- var this_0 = scope.w1t_1;
2004
+ var this_0 = scope.d1z_1;
1708
2005
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1709
2006
  // Inline function 'kotlin.apply' call
1710
2007
  var this_1 = new TransformerBuilder();
1711
- this_1.c1h(injectSelfToHandlerMethods$lambda$lambda);
1712
- var tmp$ret$3 = this_1.d1h();
1713
- tmp_0.w1t_1 = transform(this_0, tmp$ret$3);
1714
- var tmp_1 = scope.w1t_1;
2008
+ this_1.v1m(injectSelfToHandlerMethods$lambda$lambda);
2009
+ var tmp$ret$3 = this_1.w1m();
2010
+ tmp_0.d1z_1 = transform(this_0, tmp$ret$3);
2011
+ var tmp_1 = scope.d1z_1;
1715
2012
  tmp$ret$0 = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1716
2013
  }
1717
2014
  tmp = tmp$ret$0;
@@ -1724,8 +2021,8 @@ function injectSelfToHandlerMethods$lambda(element, transformer) {
1724
2021
  function injectSelfToHandlerMethods$lambda$lambda(element, transformer) {
1725
2022
  _init_properties_RustIrTransformer_kt__rrvmwq();
1726
2023
  var tmp;
1727
- if (element instanceof Function) {
1728
- tmp = element.a1k(Companion_getInstance().l1h(element.s1j_1.x1l()), VOID, plus(listOf(get_rustSelfParam()), element.u1j_1));
2024
+ if (element instanceof Function_0) {
2025
+ tmp = element.j1p(Companion_getInstance().m1l(element.b1p_1.u1q()), VOID, plus(listOf(get_rustSelfParam()), element.d1p_1));
1729
2026
  } else {
1730
2027
  tmp = element;
1731
2028
  }
@@ -1738,14 +2035,14 @@ function stripResponseGenerics$lambda(type, transformer) {
1738
2035
  if (type instanceof Custom) {
1739
2036
  var tmp_0;
1740
2037
  var tmp_1;
1741
- if (startsWith(type.p1h_1, 'Response')) {
2038
+ if (startsWith(type.f1n_1, 'Response')) {
1742
2039
  // Inline function 'kotlin.collections.isNotEmpty' call
1743
- tmp_1 = !type.q1h_1.r();
2040
+ tmp_1 = !type.g1n_1.r();
1744
2041
  } else {
1745
2042
  tmp_1 = false;
1746
2043
  }
1747
2044
  if (tmp_1) {
1748
- tmp_0 = type.m1m(VOID, emptyList());
2045
+ tmp_0 = type.j1r(VOID, emptyList());
1749
2046
  } else {
1750
2047
  tmp_0 = type;
1751
2048
  }
@@ -1754,13 +2051,13 @@ function stripResponseGenerics$lambda(type, transformer) {
1754
2051
  tmp = type;
1755
2052
  }
1756
2053
  var transformed = tmp;
1757
- return transformChildren_1(transformed, transformer);
2054
+ return transformChildren_2(transformed, transformer);
1758
2055
  }
1759
2056
  function stripHandlerExtends$lambda(element, transformer) {
1760
2057
  _init_properties_RustIrTransformer_kt__rrvmwq();
1761
2058
  var tmp;
1762
2059
  if (element instanceof Interface) {
1763
- tmp = element.j1n_1.equals(Companion_getInstance().l1h('Handler')) || element.j1n_1.equals(Companion_getInstance().l1h('Call')) ? element.q1n(VOID, VOID, emptyList()) : element;
2060
+ tmp = element.l1s_1.equals(Companion_getInstance().m1l('Handler')) || element.l1s_1.equals(Companion_getInstance().m1l('Call')) ? element.s1s(VOID, VOID, emptyList()) : element;
1764
2061
  } else {
1765
2062
  tmp = element;
1766
2063
  }
@@ -1773,17 +2070,17 @@ function convertSimpleRawExpressionsToVariableRefs$lambda($identifierPattern) {
1773
2070
  var tmp_0;
1774
2071
  var tmp_1;
1775
2072
  if (s instanceof RawExpression) {
1776
- tmp_1 = $identifierPattern.nc(s.h1o_1);
2073
+ tmp_1 = $identifierPattern.tc(s.j1t_1);
1777
2074
  } else {
1778
2075
  tmp_1 = false;
1779
2076
  }
1780
2077
  if (tmp_1) {
1781
- tmp_0 = !contains(s.h1o_1, '.');
2078
+ tmp_0 = !contains(s.j1t_1, '.');
1782
2079
  } else {
1783
2080
  tmp_0 = false;
1784
2081
  }
1785
2082
  if (tmp_0) {
1786
- tmp = new VariableReference(Companion_getInstance().l1h(s.h1o_1));
2083
+ tmp = new VariableReference(Companion_getInstance().m1l(s.j1t_1));
1787
2084
  } else {
1788
2085
  tmp = transformChildren(s, t);
1789
2086
  }
@@ -1795,8 +2092,8 @@ function stripWirespecPrefix$lambda(type, transformer) {
1795
2092
  var tmp;
1796
2093
  if (type instanceof Custom) {
1797
2094
  var tmp_0;
1798
- if (startsWith(type.p1h_1, 'Wirespec.')) {
1799
- tmp_0 = type.m1m(removePrefix(type.p1h_1, 'Wirespec.'));
2095
+ if (startsWith(type.f1n_1, 'Wirespec.')) {
2096
+ tmp_0 = type.j1r(removePrefix(type.f1n_1, 'Wirespec.'));
1800
2097
  } else {
1801
2098
  tmp_0 = type;
1802
2099
  }
@@ -1805,43 +2102,43 @@ function stripWirespecPrefix$lambda(type, transformer) {
1805
2102
  tmp = type;
1806
2103
  }
1807
2104
  var transformed = tmp;
1808
- return transformChildren_1(transformed, transformer);
2105
+ return transformChildren_2(transformed, transformer);
1809
2106
  }
1810
2107
  function fixConstructorCalls$lambda(s, t) {
1811
2108
  _init_properties_RustIrTransformer_kt__rrvmwq();
1812
2109
  if (!(s instanceof ConstructorStatement))
1813
2110
  return transformChildren(s, t);
1814
- var tmp = s.o1m_1;
2111
+ var tmp = s.p1r_1;
1815
2112
  var tmp0_safe_receiver = tmp instanceof Custom ? tmp : null;
1816
- var typeName = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1h_1;
2113
+ var typeName = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f1n_1;
1817
2114
  // Inline function 'kotlin.collections.mapValues' call
1818
- var this_0 = s.p1m_1;
2115
+ var this_0 = s.q1r_1;
1819
2116
  // Inline function 'kotlin.collections.mapValuesTo' call
1820
- var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.a1()));
2117
+ var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.b1()));
1821
2118
  // Inline function 'kotlin.collections.associateByTo' call
1822
- var _iterator__ex2g4s = this_0.j1().t();
2119
+ var _iterator__ex2g4s = this_0.l1().t();
1823
2120
  while (_iterator__ex2g4s.u()) {
1824
2121
  var element = _iterator__ex2g4s.v();
1825
- var tmp_0 = element.k1();
1826
- var tmp$ret$1 = t.r1t(element.l1());
1827
- destination.w2(tmp_0, tmp$ret$1);
2122
+ var tmp_0 = element.m1();
2123
+ var tmp$ret$1 = t.y1y(element.n1());
2124
+ destination.d3(tmp_0, tmp$ret$1);
1828
2125
  }
1829
2126
  var transformedArgs = destination;
1830
- return !(typeName == null) && get_rustResponsePattern().nc(typeName) ? new FunctionCall(VOID, VOID, new Name(listOf('Response::' + typeName)), mapOf_0(to(Companion_getInstance().l1h('inner'), new FunctionCall(VOID, VOID, new Name(listOf(typeName + '::new')), transformedArgs)))) : typeName === 'Request' ? new FunctionCall(VOID, VOID, new Name(listOf('Request::new')), transformedArgs) : transformChildren(s, t);
2127
+ return !(typeName == null) && get_rustResponsePattern().tc(typeName) ? new FunctionCall(VOID, VOID, new Name(listOf('Response::' + typeName)), mapOf_0(to(Companion_getInstance().m1l('inner'), new FunctionCall(VOID, VOID, new Name(listOf(typeName + '::new')), transformedArgs)))) : typeName === 'Request' ? new FunctionCall(VOID, VOID, new Name(listOf('Request::new')), transformedArgs) : transformChildren(s, t);
1831
2128
  }
1832
2129
  function buildValidateFunction$lambda($constraintExpr) {
1833
2130
  return function ($this$function) {
1834
- $this$function.k1i('&self', new Custom(''));
1835
- $this$function.j1i(Boolean_instance);
1836
- $this$function.i1k($constraintExpr);
2131
+ $this$function.w1l('&self', new Custom(''));
2132
+ $this$function.z1l(Boolean_instance);
2133
+ $this$function.a1m($constraintExpr);
1837
2134
  return Unit_instance;
1838
2135
  };
1839
2136
  }
1840
2137
  function buildToStringFunction$lambda($expr) {
1841
2138
  return function ($this$function) {
1842
- $this$function.k1i('&self', new Custom(''));
1843
- $this$function.j1i(String_instance);
1844
- $this$function.i1k(new RawExpression($expr));
2139
+ $this$function.w1l('&self', new Custom(''));
2140
+ $this$function.z1l(String_instance);
2141
+ $this$function.a1m(new RawExpression($expr));
1845
2142
  return Unit_instance;
1846
2143
  };
1847
2144
  }
@@ -1849,10 +2146,10 @@ function generateApiStructCode$lambda(segment) {
1849
2146
  _init_properties_RustIrTransformer_kt__rrvmwq();
1850
2147
  var tmp;
1851
2148
  if (segment instanceof Literal) {
1852
- tmp = segment.hq_1;
2149
+ tmp = segment.xu_1;
1853
2150
  } else {
1854
2151
  if (segment instanceof Param) {
1855
- tmp = '{' + segment.lp_1.l1() + '}';
2152
+ tmp = '{' + segment.bu_1.n1() + '}';
1856
2153
  } else {
1857
2154
  noWhenBranchMatchedException();
1858
2155
  }
@@ -1863,39 +2160,39 @@ var properties_initialized_RustIrTransformer_kt_hr6k9w;
1863
2160
  function _init_properties_RustIrTransformer_kt__rrvmwq() {
1864
2161
  if (!properties_initialized_RustIrTransformer_kt_hr6k9w) {
1865
2162
  properties_initialized_RustIrTransformer_kt_hr6k9w = true;
1866
- rustSelfParam = new Parameter(Companion_getInstance().l1h('&self'), new Custom(''));
2163
+ rustSelfParam = new Parameter(Companion_getInstance().m1l('&self'), new Custom(''));
1867
2164
  rustResponsePattern = Regex_init_$Create$('Response(\\d+|Default)');
1868
2165
  }
1869
2166
  }
1870
2167
  function borrowParamsOf($this, fn) {
1871
2168
  // Inline function 'kotlin.collections.map' call
1872
- var this_0 = fn.u1j_1;
2169
+ var this_0 = fn.d1p_1;
1873
2170
  // Inline function 'kotlin.collections.mapTo' call
1874
2171
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1875
2172
  var _iterator__ex2g4s = this_0.t();
1876
2173
  while (_iterator__ex2g4s.u()) {
1877
2174
  var item = _iterator__ex2g4s.v();
1878
2175
  var tmp;
1879
- if (RustTransform_getInstance().l1y(item.t1o_1)) {
2176
+ if (RustTransform_getInstance().w23(item.v1t_1)) {
1880
2177
  tmp = item;
1881
2178
  } else {
1882
- tmp = item.w1o(VOID, applyBorrowRule(RustTransform_getInstance(), item.u1o_1));
2179
+ tmp = item.y1t(VOID, applyBorrowRule(RustTransform_getInstance(), item.w1t_1));
1883
2180
  }
1884
2181
  var tmp$ret$0 = tmp;
1885
2182
  destination.x(tmp$ret$0);
1886
2183
  }
1887
- return fn.a1k(VOID, VOID, destination);
2184
+ return fn.j1p(VOID, VOID, destination);
1888
2185
  }
1889
2186
  function applyBorrowRule($this, type) {
1890
2187
  var tmp;
1891
2188
  if (type instanceof Nullable) {
1892
- tmp = new Nullable(applyBorrowRule($this, type.n1h_1));
2189
+ tmp = new Nullable(applyBorrowRule($this, type.d1n_1));
1893
2190
  } else {
1894
2191
  if (equals(type, String_instance)) {
1895
2192
  tmp = new Custom('&str');
1896
2193
  } else {
1897
2194
  if (type instanceof Custom) {
1898
- tmp = $this.n1y(type) ? type : $this.m1y(type) ? borrowImpl(type) : type;
2195
+ tmp = $this.z23(type) ? type : $this.y23(type) ? borrowImpl(type) : $this.x23(type) ? ownedImpl(type) : type;
1899
2196
  } else {
1900
2197
  tmp = type;
1901
2198
  }
@@ -1907,15 +2204,15 @@ function toBorrowedRaw($this, _this__u8e3s4) {
1907
2204
  return new RawExpression('&' + toRawCode($this, _this__u8e3s4));
1908
2205
  }
1909
2206
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1910
- return Companion_getInstance_0().b1y_1.u1(_this__u8e3s4) ? 'r#' + _this__u8e3s4 : _this__u8e3s4;
2207
+ return Companion_getInstance_0().m23_1.a2(_this__u8e3s4) ? 'r#' + _this__u8e3s4 : _this__u8e3s4;
1911
2208
  }
1912
2209
  function toRawCode($this, _this__u8e3s4) {
1913
2210
  var tmp;
1914
2211
  if (_this__u8e3s4 instanceof VariableReference) {
1915
- tmp = sanitizeKeywords_0($this, _this__u8e3s4.f1o_1.x1l());
2212
+ tmp = sanitizeKeywords_0($this, _this__u8e3s4.h1t_1.u1q());
1916
2213
  } else {
1917
2214
  if (_this__u8e3s4 instanceof FieldCall) {
1918
- var tmp1_safe_receiver = _this__u8e3s4.i1p_1;
2215
+ var tmp1_safe_receiver = _this__u8e3s4.p1u_1;
1919
2216
  var tmp_0;
1920
2217
  if (tmp1_safe_receiver == null) {
1921
2218
  tmp_0 = null;
@@ -1925,20 +2222,20 @@ function toRawCode($this, _this__u8e3s4) {
1925
2222
  }
1926
2223
  var tmp2_elvis_lhs = tmp_0;
1927
2224
  var recv = tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs;
1928
- tmp = recv + sanitizeKeywords_0($this, _this__u8e3s4.j1p_1.x1l());
2225
+ tmp = recv + sanitizeKeywords_0($this, _this__u8e3s4.q1u_1.u1q());
1929
2226
  } else {
1930
2227
  if (_this__u8e3s4 instanceof ArrayIndexCall) {
1931
- var tmp_1 = _this__u8e3s4.g1q_1;
2228
+ var tmp_1 = _this__u8e3s4.i1v_1;
1932
2229
  var lit = tmp_1 instanceof Literal_0 ? tmp_1 : null;
1933
2230
  var tmp_2;
1934
2231
  var tmp_3;
1935
2232
  if (!(lit == null)) {
1936
2233
  var tmp_4;
1937
- var tmp_5 = lit.q1o_1;
2234
+ var tmp_5 = lit.s1t_1;
1938
2235
  if (tmp_5 instanceof Integer) {
1939
2236
  tmp_4 = true;
1940
2237
  } else {
1941
- var tmp_6 = lit.q1o_1;
2238
+ var tmp_6 = lit.s1t_1;
1942
2239
  tmp_4 = tmp_6 instanceof Number_0;
1943
2240
  }
1944
2241
  tmp_3 = tmp_4;
@@ -1946,30 +2243,30 @@ function toRawCode($this, _this__u8e3s4) {
1946
2243
  tmp_3 = false;
1947
2244
  }
1948
2245
  if (tmp_3) {
1949
- tmp_2 = toString_0(lit.p1o_1);
2246
+ tmp_2 = toString_0(lit.r1t_1);
1950
2247
  } else {
1951
2248
  var tmp_7;
1952
2249
  if (!(lit == null)) {
1953
- var tmp_8 = lit.q1o_1;
2250
+ var tmp_8 = lit.s1t_1;
1954
2251
  tmp_7 = tmp_8 instanceof String_1;
1955
2252
  } else {
1956
2253
  tmp_7 = false;
1957
2254
  }
1958
2255
  if (tmp_7) {
1959
- tmp_2 = '"' + toString_0(lit.p1o_1) + '"';
2256
+ tmp_2 = '"' + toString_0(lit.r1t_1) + '"';
1960
2257
  } else {
1961
- tmp_2 = toRawCode($this, _this__u8e3s4.g1q_1);
2258
+ tmp_2 = toRawCode($this, _this__u8e3s4.i1v_1);
1962
2259
  }
1963
2260
  }
1964
2261
  var idx = tmp_2;
1965
- tmp = toRawCode($this, _this__u8e3s4.f1q_1) + '[' + idx + ']';
2262
+ tmp = toRawCode($this, _this__u8e3s4.h1v_1) + '[' + idx + ']';
1966
2263
  } else {
1967
2264
  if (_this__u8e3s4 instanceof ConstructorStatement) {
1968
- var tmp_9 = _this__u8e3s4.o1m_1;
2265
+ var tmp_9 = _this__u8e3s4.p1r_1;
1969
2266
  var tmp3_safe_receiver = tmp_9 instanceof Custom ? tmp_9 : null;
1970
- var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.p1h_1;
1971
- var typeName = tmp4_elvis_lhs == null ? toString_0(_this__u8e3s4.o1m_1) : tmp4_elvis_lhs;
1972
- var tmp_10 = _this__u8e3s4.p1m_1.j1();
2267
+ var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.f1n_1;
2268
+ var typeName = tmp4_elvis_lhs == null ? toString_0(_this__u8e3s4.p1r_1) : tmp4_elvis_lhs;
2269
+ var tmp_10 = _this__u8e3s4.q1r_1.l1();
1973
2270
  var args = joinToString(tmp_10, ', ', VOID, VOID, VOID, VOID, RustTransform$toRawCode$lambda);
1974
2271
  var tmp_11;
1975
2272
  // Inline function 'kotlin.text.isEmpty' call
@@ -1982,23 +2279,23 @@ function toRawCode($this, _this__u8e3s4) {
1982
2279
  } else {
1983
2280
  if (_this__u8e3s4 instanceof Literal_0) {
1984
2281
  var tmp_12;
1985
- var tmp_13 = _this__u8e3s4.q1o_1;
2282
+ var tmp_13 = _this__u8e3s4.s1t_1;
1986
2283
  if (tmp_13 instanceof String_1) {
1987
- tmp_12 = 'String::from("' + toString_0(_this__u8e3s4.p1o_1) + '")';
2284
+ tmp_12 = 'String::from("' + toString_0(_this__u8e3s4.r1t_1) + '")';
1988
2285
  } else {
1989
- var tmp_14 = _this__u8e3s4.q1o_1;
2286
+ var tmp_14 = _this__u8e3s4.s1t_1;
1990
2287
  if (tmp_14 instanceof Boolean_0) {
1991
- tmp_12 = toString_0(_this__u8e3s4.p1o_1);
2288
+ tmp_12 = toString_0(_this__u8e3s4.r1t_1);
1992
2289
  } else {
1993
- var tmp_15 = _this__u8e3s4.q1o_1;
2290
+ var tmp_15 = _this__u8e3s4.s1t_1;
1994
2291
  if (tmp_15 instanceof Integer) {
1995
- tmp_12 = toString_0(_this__u8e3s4.p1o_1);
2292
+ tmp_12 = toString_0(_this__u8e3s4.r1t_1);
1996
2293
  } else {
1997
- var tmp_16 = _this__u8e3s4.q1o_1;
2294
+ var tmp_16 = _this__u8e3s4.s1t_1;
1998
2295
  if (tmp_16 instanceof Number_0) {
1999
- tmp_12 = toString_0(_this__u8e3s4.p1o_1);
2296
+ tmp_12 = toString_0(_this__u8e3s4.r1t_1);
2000
2297
  } else {
2001
- tmp_12 = toString_0(_this__u8e3s4.p1o_1);
2298
+ tmp_12 = toString_0(_this__u8e3s4.r1t_1);
2002
2299
  }
2003
2300
  }
2004
2301
  }
@@ -2006,7 +2303,7 @@ function toRawCode($this, _this__u8e3s4) {
2006
2303
  tmp = tmp_12;
2007
2304
  } else {
2008
2305
  if (_this__u8e3s4 instanceof RawExpression) {
2009
- tmp = _this__u8e3s4.h1o_1;
2306
+ tmp = _this__u8e3s4.j1t_1;
2010
2307
  } else {
2011
2308
  var message = 'Unsupported expression type in toRawCode: ' + getKClassFromExpression(_this__u8e3s4).o();
2012
2309
  throw IllegalStateException_init_$Create$(toString_0(message));
@@ -2038,7 +2335,7 @@ function RustTransform$primitivesToCustom$lambda(t, tr) {
2038
2335
  if (t instanceof StringLiteral) {
2039
2336
  tmp = new Custom('String');
2040
2337
  } else {
2041
- tmp = transformChildren_1(t, tr);
2338
+ tmp = transformChildren_2(t, tr);
2042
2339
  }
2043
2340
  }
2044
2341
  }
@@ -2051,18 +2348,18 @@ function RustTransform$borrow$lambda(element, tr) {
2051
2348
  var tmp;
2052
2349
  if (element instanceof Interface) {
2053
2350
  var tmp_0;
2054
- if (element.j1n_1.equals(Companion_getInstance().l1h('Call'))) {
2351
+ if (element.l1s_1.equals(Companion_getInstance().m1l('Call'))) {
2055
2352
  tmp_0 = element;
2056
2353
  } else {
2057
2354
  // Inline function 'kotlin.collections.map' call
2058
- var this_0 = element.k1n_1;
2355
+ var this_0 = element.m1s_1;
2059
2356
  // Inline function 'kotlin.collections.mapTo' call
2060
2357
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
2061
2358
  var _iterator__ex2g4s = this_0.t();
2062
2359
  while (_iterator__ex2g4s.u()) {
2063
2360
  var item = _iterator__ex2g4s.v();
2064
2361
  var tmp_1;
2065
- if (item instanceof Function) {
2362
+ if (item instanceof Function_0) {
2066
2363
  tmp_1 = borrowParamsOf(RustTransform_getInstance(), item);
2067
2364
  } else {
2068
2365
  tmp_1 = item;
@@ -2071,11 +2368,11 @@ function RustTransform$borrow$lambda(element, tr) {
2071
2368
  destination.x(tmp$ret$0);
2072
2369
  }
2073
2370
  var borrowed = destination;
2074
- tmp_0 = transformChildren_0(element.q1n(VOID, borrowed), tr);
2371
+ tmp_0 = transformChildren_0(element.s1s(VOID, borrowed), tr);
2075
2372
  }
2076
2373
  tmp = tmp_0;
2077
2374
  } else {
2078
- if (element instanceof Function) {
2375
+ if (element instanceof Function_0) {
2079
2376
  tmp = transformChildren_0(borrowParamsOf(RustTransform_getInstance(), element), tr);
2080
2377
  } else {
2081
2378
  tmp = transformChildren_0(element, tr);
@@ -2087,13 +2384,13 @@ function RustTransform$serializationArgs$lambda(s, t) {
2087
2384
  var tmp;
2088
2385
  var tmp_0;
2089
2386
  if (s instanceof FunctionCall) {
2090
- tmp_0 = RustTransform_getInstance().g1y_1.u1(s.a1m_1.x1l());
2387
+ tmp_0 = RustTransform_getInstance().r23_1.a2(s.x1q_1.u1q());
2091
2388
  } else {
2092
2389
  tmp_0 = false;
2093
2390
  }
2094
2391
  if (tmp_0) {
2095
2392
  // Inline function 'kotlin.collections.mapIndexed' call
2096
- var this_0 = s.b1m_1.j1();
2393
+ var this_0 = s.y1q_1.l1();
2097
2394
  // Inline function 'kotlin.collections.mapIndexedTo' call
2098
2395
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
2099
2396
  var index = 0;
@@ -2104,16 +2401,16 @@ function RustTransform$serializationArgs$lambda(s, t) {
2104
2401
  index = _unary__edvuaz + 1 | 0;
2105
2402
  var idx = checkIndexOverflow(_unary__edvuaz);
2106
2403
  // Inline function 'kotlin.collections.component1' call
2107
- var key = item.k1();
2404
+ var key = item.m1();
2108
2405
  // Inline function 'kotlin.collections.component2' call
2109
- var value = item.l1();
2110
- var transformed = t.r1t(value);
2406
+ var value = item.n1();
2407
+ var transformed = t.y1y(value);
2111
2408
  var tmp_1;
2112
2409
  var tmp_2;
2113
2410
  if (idx === 0) {
2114
2411
  var tmp_3;
2115
2412
  if (transformed instanceof VariableReference) {
2116
- tmp_3 = transformed.f1o_1.r1h() === 'it';
2413
+ tmp_3 = transformed.h1t_1.h1n() === 'it';
2117
2414
  } else {
2118
2415
  tmp_3 = false;
2119
2416
  }
@@ -2130,17 +2427,20 @@ function RustTransform$serializationArgs$lambda(s, t) {
2130
2427
  destination.x(tmp$ret$2);
2131
2428
  }
2132
2429
  var newArgs = toMap(destination);
2133
- tmp = s.e1m(VOID, VOID, VOID, newArgs);
2430
+ tmp = s.b1r(VOID, VOID, VOID, newArgs);
2134
2431
  } else {
2135
2432
  tmp = transformChildren(s, t);
2136
2433
  }
2137
2434
  return tmp;
2138
2435
  }
2139
2436
  function RustTransform$rustName$lambda(it) {
2140
- return RustTransform_getInstance().j1y(it);
2437
+ return RustTransform_getInstance().u23(it);
2438
+ }
2439
+ function RustTransform$rustName$lambda_0(it) {
2440
+ return RustTransform_getInstance().u23(it);
2141
2441
  }
2142
2442
  function RustTransform$toRawCode$lambda(it) {
2143
- return it.k1().x1l() + ': ' + toRawCode(RustTransform_getInstance(), it.l1());
2443
+ return it.m1().u1q() + ': ' + toRawCode(RustTransform_getInstance(), it.n1());
2144
2444
  }
2145
2445
  function RustTransform() {
2146
2446
  RustTransform_instance = this;
@@ -2148,57 +2448,57 @@ function RustTransform() {
2148
2448
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
2149
2449
  // Inline function 'kotlin.apply' call
2150
2450
  var this_0 = new TransformerBuilder();
2151
- this_0.c1u(RustTransform$primitivesToCustom$lambda);
2152
- tmp.d1y_1 = this_0.d1h();
2451
+ this_0.j1z(RustTransform$primitivesToCustom$lambda);
2452
+ tmp.o23_1 = this_0.w1m();
2153
2453
  var tmp_0 = this;
2154
2454
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
2155
2455
  // Inline function 'kotlin.apply' call
2156
2456
  var this_1 = new TransformerBuilder();
2157
- this_1.c1h(RustTransform$borrow$lambda);
2158
- tmp_0.e1y_1 = this_1.d1h();
2457
+ this_1.v1m(RustTransform$borrow$lambda);
2458
+ tmp_0.p23_1 = this_1.w1m();
2159
2459
  var tmp_1 = this;
2160
2460
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
2161
2461
  // Inline function 'kotlin.apply' call
2162
- tmp_1.f1y_1 = (new TransformerBuilder()).d1h();
2163
- this.g1y_1 = setOf(['serialize_path', 'serialize_param', 'serialize_body', 'deserialize_path', 'deserialize_param', 'deserialize_body']);
2462
+ tmp_1.q23_1 = (new TransformerBuilder()).w1m();
2463
+ this.r23_1 = setOf(['serialize_path', 'serialize_param', 'serialize_body', 'deserialize_path', 'deserialize_param', 'deserialize_body']);
2164
2464
  var tmp_2 = this;
2165
2465
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
2166
2466
  // Inline function 'kotlin.apply' call
2167
2467
  var this_2 = new TransformerBuilder();
2168
- this_2.f1u(RustTransform$serializationArgs$lambda);
2169
- tmp_2.h1y_1 = this_2.d1h();
2170
- this.i1y_1 = setOf(['i32', 'i64', 'f32', 'f64', 'bool', 'u8', 'u16', 'u32', 'u64', 'usize', 'isize', '()']);
2468
+ this_2.m1z(RustTransform$serializationArgs$lambda);
2469
+ tmp_2.s23_1 = this_2.w1m();
2470
+ this.t23_1 = setOf(['i32', 'i64', 'f32', 'f64', 'bool', 'u8', 'u16', 'u32', 'u64', 'usize', 'isize', '()']);
2171
2471
  }
2172
- protoOf(RustTransform).k1y = function (element) {
2472
+ protoOf(RustTransform).v23 = function (element) {
2173
2473
  // Inline function 'community.flock.wirespec.ir.core.transform' call
2174
2474
  var scope = new TransformScope(element);
2175
- scope.b1u(RustTransform_getInstance().d1y_1);
2176
- var tmp = scope.w1t_1;
2475
+ scope.i1z(RustTransform_getInstance().o23_1);
2476
+ var tmp = scope.d1z_1;
2177
2477
  // Inline function 'community.flock.wirespec.ir.core.transform' call
2178
2478
  var this_0 = isInterface(tmp, Element) ? tmp : THROW_CCE();
2179
2479
  var scope_0 = new TransformScope(this_0);
2180
- scope_0.b1u(RustTransform_getInstance().e1y_1);
2181
- var tmp_0 = scope_0.w1t_1;
2480
+ scope_0.i1z(RustTransform_getInstance().p23_1);
2481
+ var tmp_0 = scope_0.d1z_1;
2182
2482
  // Inline function 'community.flock.wirespec.ir.core.transform' call
2183
2483
  var this_1 = isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
2184
2484
  var scope_1 = new TransformScope(this_1);
2185
- scope_1.b1u(RustTransform_getInstance().f1y_1);
2186
- var tmp_1 = scope_1.w1t_1;
2485
+ scope_1.i1z(RustTransform_getInstance().q23_1);
2486
+ var tmp_1 = scope_1.d1z_1;
2187
2487
  // Inline function 'community.flock.wirespec.ir.core.transform' call
2188
2488
  var this_2 = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
2189
2489
  var scope_2 = new TransformScope(this_2);
2190
- scope_2.b1u(RustTransform_getInstance().h1y_1);
2191
- var tmp_2 = scope_2.w1t_1;
2490
+ scope_2.i1z(RustTransform_getInstance().s23_1);
2491
+ var tmp_2 = scope_2.d1z_1;
2192
2492
  return isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
2193
2493
  };
2194
- protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2494
+ protoOf(RustTransform).u23 = function (_this__u8e3s4) {
2195
2495
  var tmp;
2196
2496
  if (_this__u8e3s4 instanceof Custom) {
2197
2497
  var tmp_0;
2198
- if (_this__u8e3s4.q1h_1.r()) {
2199
- tmp_0 = _this__u8e3s4.p1h_1;
2498
+ if (_this__u8e3s4.g1n_1.r()) {
2499
+ tmp_0 = _this__u8e3s4.f1n_1;
2200
2500
  } else {
2201
- tmp_0 = _this__u8e3s4.p1h_1 + '<' + joinToString(_this__u8e3s4.q1h_1, ', ', VOID, VOID, VOID, VOID, RustTransform$rustName$lambda) + '>';
2501
+ tmp_0 = _this__u8e3s4.f1n_1 + '<' + joinToString(_this__u8e3s4.g1n_1, ', ', VOID, VOID, VOID, VOID, RustTransform$rustName$lambda) + '>';
2202
2502
  }
2203
2503
  tmp = tmp_0;
2204
2504
  } else {
@@ -2206,13 +2506,13 @@ protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2206
2506
  tmp = 'String';
2207
2507
  } else {
2208
2508
  if (_this__u8e3s4 instanceof Nullable) {
2209
- tmp = 'Option<' + this.j1y(_this__u8e3s4.n1h_1) + '>';
2509
+ tmp = 'Option<' + this.u23(_this__u8e3s4.d1n_1) + '>';
2210
2510
  } else {
2211
2511
  if (_this__u8e3s4 instanceof Array_0) {
2212
- tmp = 'Vec<' + this.j1y(_this__u8e3s4.o1h_1) + '>';
2512
+ tmp = 'Vec<' + this.u23(_this__u8e3s4.e1n_1) + '>';
2213
2513
  } else {
2214
2514
  if (_this__u8e3s4 instanceof Dict) {
2215
- tmp = 'std::collections::HashMap<' + this.j1y(_this__u8e3s4.i1m_1) + ', ' + this.j1y(_this__u8e3s4.j1m_1) + '>';
2515
+ tmp = 'std::collections::HashMap<' + this.u23(_this__u8e3s4.f1r_1) + ', ' + this.u23(_this__u8e3s4.g1r_1) + '>';
2216
2516
  } else {
2217
2517
  if (equals(_this__u8e3s4, Any_instance)) {
2218
2518
  tmp = 'Box<dyn std::any::Any>';
@@ -2234,7 +2534,7 @@ protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2234
2534
  } else {
2235
2535
  if (_this__u8e3s4 instanceof Integer) {
2236
2536
  var tmp_1;
2237
- switch (_this__u8e3s4.f1m_1.b3_1) {
2537
+ switch (_this__u8e3s4.c1r_1.h3_1) {
2238
2538
  case 0:
2239
2539
  tmp_1 = 'i32';
2240
2540
  break;
@@ -2249,7 +2549,7 @@ protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2249
2549
  } else {
2250
2550
  if (_this__u8e3s4 instanceof Number_0) {
2251
2551
  var tmp_2;
2252
- switch (_this__u8e3s4.g1m_1.b3_1) {
2552
+ switch (_this__u8e3s4.d1r_1.h3_1) {
2253
2553
  case 0:
2254
2554
  tmp_2 = 'f32';
2255
2555
  break;
@@ -2268,7 +2568,11 @@ protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2268
2568
  if (_this__u8e3s4 instanceof StringLiteral) {
2269
2569
  tmp = 'String';
2270
2570
  } else {
2271
- noWhenBranchMatchedException();
2571
+ if (_this__u8e3s4 instanceof Function) {
2572
+ tmp = 'Box<dyn Fn(' + joinToString(_this__u8e3s4.m1r_1, ', ', VOID, VOID, VOID, VOID, RustTransform$rustName$lambda_0) + ') -> ' + this.u23(_this__u8e3s4.n1r_1) + '>';
2573
+ } else {
2574
+ noWhenBranchMatchedException();
2575
+ }
2272
2576
  }
2273
2577
  }
2274
2578
  }
@@ -2286,20 +2590,23 @@ protoOf(RustTransform).j1y = function (_this__u8e3s4) {
2286
2590
  }
2287
2591
  return tmp;
2288
2592
  };
2289
- protoOf(RustTransform).n1y = function (_this__u8e3s4) {
2593
+ protoOf(RustTransform).z23 = function (_this__u8e3s4) {
2290
2594
  var tmp;
2291
2595
  if (_this__u8e3s4 instanceof Custom) {
2292
- tmp = startsWith(_this__u8e3s4.p1h_1, '&') || startsWith(_this__u8e3s4.p1h_1, '&dyn ') || startsWith(_this__u8e3s4.p1h_1, '&impl ') || startsWith(_this__u8e3s4.p1h_1, '&mut ');
2596
+ tmp = startsWith(_this__u8e3s4.f1n_1, '&') || startsWith(_this__u8e3s4.f1n_1, '&dyn ') || startsWith(_this__u8e3s4.f1n_1, '&impl ') || startsWith(_this__u8e3s4.f1n_1, '&mut ');
2293
2597
  } else {
2294
2598
  tmp = false;
2295
2599
  }
2296
2600
  return tmp;
2297
2601
  };
2298
- protoOf(RustTransform).m1y = function (_this__u8e3s4) {
2299
- return _this__u8e3s4.p1h_1 === 'Serializer' || _this__u8e3s4.p1h_1 === 'Deserializer';
2602
+ protoOf(RustTransform).y23 = function (_this__u8e3s4) {
2603
+ return _this__u8e3s4.f1n_1 === 'Serializer' || _this__u8e3s4.f1n_1 === 'Deserializer';
2300
2604
  };
2301
- protoOf(RustTransform).l1y = function (_this__u8e3s4) {
2302
- var v = _this__u8e3s4.r1h();
2605
+ protoOf(RustTransform).x23 = function (_this__u8e3s4) {
2606
+ return _this__u8e3s4.f1n_1 === 'GeneratorField';
2607
+ };
2608
+ protoOf(RustTransform).w23 = function (_this__u8e3s4) {
2609
+ var v = _this__u8e3s4.h1n();
2303
2610
  switch (v) {
2304
2611
  case 'self':
2305
2612
  case '&self':
@@ -2315,16 +2622,20 @@ function RustTransform_getInstance() {
2315
2622
  return RustTransform_instance;
2316
2623
  }
2317
2624
  function borrow(_this__u8e3s4) {
2318
- return _this__u8e3s4.m1m('&' + _this__u8e3s4.p1h_1);
2625
+ return _this__u8e3s4.j1r('&' + _this__u8e3s4.f1n_1);
2319
2626
  }
2320
2627
  function borrowDyn(_this__u8e3s4) {
2321
- return _this__u8e3s4.m1m('&dyn ' + _this__u8e3s4.p1h_1);
2628
+ return _this__u8e3s4.j1r('&dyn ' + _this__u8e3s4.f1n_1);
2322
2629
  }
2323
2630
  function borrowImpl(_this__u8e3s4) {
2324
- return _this__u8e3s4.m1m('&impl ' + _this__u8e3s4.p1h_1);
2631
+ return _this__u8e3s4.j1r('&impl ' + _this__u8e3s4.f1n_1);
2632
+ }
2633
+ function ownedImpl(_this__u8e3s4) {
2634
+ return _this__u8e3s4.j1r('impl ' + _this__u8e3s4.f1n_1);
2325
2635
  }
2326
2636
  //region block: post-declaration
2327
- protoOf(RustIrEmitter).on = emit_1;
2637
+ protoOf(RustIrEmitter).es = emit_1;
2638
+ protoOf(RustIrEmitter).v1z = beforeGenerate;
2328
2639
  //endregion
2329
2640
  //region block: exports
2330
2641
  export {