@flock/wirespec 0.9.2 → 0.9.4

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 (31) hide show
  1. package/arrow-arrow-atomic.js +15 -15
  2. package/arrow-arrow-continuations.js +3 -3
  3. package/arrow-arrow-core.js +87 -87
  4. package/clikt-clikt.js +1360 -1360
  5. package/colormath-root-colormath.js +403 -403
  6. package/kotlin-kotlin-stdlib.js +1616 -1477
  7. package/kotlin-kotlin-stdlib.js.map +1 -1
  8. package/kotlin-openapi-bindings.js +9251 -6889
  9. package/kotlin-openapi-bindings.js.map +1 -1
  10. package/kotlin-rgxgen.js +1867 -1867
  11. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2293 -1468
  12. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  13. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1882 -1207
  14. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  15. package/markdown.js +1982 -1982
  16. package/mordant-mordant.js +1771 -1771
  17. package/package.json +1 -1
  18. package/wirespec-src-compiler-core.js +2125 -1935
  19. package/wirespec-src-compiler-core.js.map +1 -1
  20. package/wirespec-src-compiler-lib.js +714 -402
  21. package/wirespec-src-compiler-lib.js.map +1 -1
  22. package/wirespec-src-converter-openapi.js +1994 -777
  23. package/wirespec-src-converter-openapi.js.map +1 -1
  24. package/wirespec-src-generator.js +59 -59
  25. package/wirespec-src-generator.js.map +1 -1
  26. package/wirespec-src-plugin-arguments.js +101 -101
  27. package/wirespec-src-plugin-cli.js +187 -187
  28. package/wirespec-src-plugin-cli.js.map +1 -1
  29. package/wirespec-src-plugin-npm.d.ts +42 -4
  30. package/wirespec-src-plugin-npm.js +227 -17
  31. package/wirespec-src-plugin-npm.js.map +1 -1
@@ -22,54 +22,70 @@
22
22
  'use strict';
23
23
  //region block: imports
24
24
  var imul = Math.imul;
25
- var protoOf = kotlin_kotlin.$_$.da;
26
- var interfaceMeta = kotlin_kotlin.$_$.h9;
27
- var VOID = kotlin_kotlin.$_$.hf;
28
- var setMetadataFor = kotlin_kotlin.$_$.ea;
29
- var getStringHashCode = kotlin_kotlin.$_$.f9;
30
- var THROW_CCE = kotlin_kotlin.$_$.ie;
31
- var defineProp = kotlin_kotlin.$_$.a9;
32
- var classMeta = kotlin_kotlin.$_$.y8;
33
- var toString = kotlin_kotlin.$_$.ia;
34
- var hashCode = kotlin_kotlin.$_$.g9;
35
- var equals = kotlin_kotlin.$_$.b9;
36
- var THROW_ISE = kotlin_kotlin.$_$.je;
37
- var Unit_getInstance = kotlin_kotlin.$_$.x3;
38
- var Enum = kotlin_kotlin.$_$.yd;
39
- var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
25
+ var protoOf = kotlin_kotlin.$_$.oa;
26
+ var interfaceMeta = kotlin_kotlin.$_$.s9;
27
+ var VOID = kotlin_kotlin.$_$.vf;
28
+ var setMetadataFor = kotlin_kotlin.$_$.pa;
29
+ var getStringHashCode = kotlin_kotlin.$_$.q9;
30
+ var THROW_CCE = kotlin_kotlin.$_$.we;
31
+ var defineProp = kotlin_kotlin.$_$.l9;
32
+ var classMeta = kotlin_kotlin.$_$.j9;
33
+ var toString = kotlin_kotlin.$_$.ta;
34
+ var hashCode = kotlin_kotlin.$_$.r9;
35
+ var equals = kotlin_kotlin.$_$.m9;
36
+ var THROW_ISE = kotlin_kotlin.$_$.xe;
37
+ var Unit_getInstance = kotlin_kotlin.$_$.g4;
38
+ var Enum = kotlin_kotlin.$_$.me;
39
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f5;
40
40
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
41
- var copyToArray = kotlin_kotlin.$_$.k5;
42
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.df;
41
+ var copyToArray = kotlin_kotlin.$_$.t5;
42
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.rf;
43
43
  var Union = kotlin_community_flock_wirespec_compiler_core.$_$.z;
44
- var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.r;
44
+ var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.w;
45
45
  var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.p;
46
46
  var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.o;
47
47
  var Type = kotlin_community_flock_wirespec_compiler_core.$_$.y;
48
48
  var Param = kotlin_community_flock_wirespec_compiler_core.$_$.n;
49
49
  var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.m;
50
- var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.u;
51
- var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.t;
52
- var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.v;
53
- var Any = kotlin_community_flock_wirespec_compiler_core.$_$.s;
50
+ var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.s;
51
+ var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.r;
52
+ var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.t;
53
+ var Any = kotlin_community_flock_wirespec_compiler_core.$_$.q;
54
+ var Companion_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.t1;
55
+ var Method_GET_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
56
+ var Method_POST_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.l1;
57
+ var Method_PUT_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
58
+ var Method_DELETE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
59
+ var Method_OPTIONS_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
60
+ var Method_HEAD_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.i1;
61
+ var Method_PATCH_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
62
+ var Method_TRACE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.n1;
63
+ var Field = kotlin_community_flock_wirespec_compiler_core.$_$.u;
64
+ var Request = kotlin_community_flock_wirespec_compiler_core.$_$.k;
65
+ var Response = kotlin_community_flock_wirespec_compiler_core.$_$.l;
66
+ var Content = kotlin_community_flock_wirespec_compiler_core.$_$.i;
67
+ var Type_String_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
68
+ var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.p1;
69
+ var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
70
+ var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
54
71
  var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.e1;
55
- var objectMeta = kotlin_kotlin.$_$.ca;
56
- var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
72
+ var objectMeta = kotlin_kotlin.$_$.na;
73
+ var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
57
74
  var compile = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
58
75
  var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
59
- var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.q;
76
+ var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.v;
60
77
  var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
61
78
  var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
62
79
  var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
63
80
  var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
64
81
  var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
65
- var Companion_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.a;
66
- var Companion_getInstance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
82
+ var Companion_getInstance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.c;
83
+ var Companion_getInstance_1 = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
67
84
  var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
68
85
  var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
69
86
  var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
70
- var first = kotlin_kotlin.$_$.v5;
71
- var contentEquals = kotlin_kotlin.$_$.y4;
72
- var contentHashCode = kotlin_kotlin.$_$.z4;
87
+ var contentEquals = kotlin_kotlin.$_$.h5;
88
+ var contentHashCode = kotlin_kotlin.$_$.i5;
73
89
  //endregion
74
90
  //region block: pre-declaration
75
91
  setMetadataFor(WsNode, 'WsNode', interfaceMeta);
@@ -123,6 +139,7 @@
123
139
  setMetadataFor(WsCompiledFile, 'WsCompiledFile', classMeta);
124
140
  setMetadataFor(WsParseResult, 'WsParseResult', classMeta);
125
141
  setMetadataFor(WsStringResult, 'WsStringResult', classMeta);
142
+ setMetadataFor(WsEmitted, 'WsEmitted', classMeta);
126
143
  setMetadataFor(WsTokenResult, 'WsTokenResult', classMeta);
127
144
  setMetadataFor(WsTokens, 'WsTokens', classMeta);
128
145
  setMetadataFor(WsToken, 'WsToken', classMeta);
@@ -133,34 +150,34 @@
133
150
  function WsNode() {
134
151
  }
135
152
  function WsType(name, shape) {
136
- this.t23_1 = name;
153
+ this.t2c_1 = name;
137
154
  this.shape = shape;
138
155
  }
139
- protoOf(WsType).va = function () {
140
- return this.t23_1;
156
+ protoOf(WsType).wa = function () {
157
+ return this.t2c_1;
141
158
  };
142
- protoOf(WsType).u23 = function () {
159
+ protoOf(WsType).u2c = function () {
143
160
  return this.shape;
144
161
  };
145
- protoOf(WsType).fd = function () {
146
- return this.t23_1;
147
- };
148
162
  protoOf(WsType).gd = function () {
163
+ return this.t2c_1;
164
+ };
165
+ protoOf(WsType).hd = function () {
149
166
  return this.shape;
150
167
  };
151
- protoOf(WsType).v23 = function (name, shape) {
168
+ protoOf(WsType).v2c = function (name, shape) {
152
169
  return new WsType(name, shape);
153
170
  };
154
171
  protoOf(WsType).copy = function (name, shape, $super) {
155
- name = name === VOID ? this.t23_1 : name;
172
+ name = name === VOID ? this.t2c_1 : name;
156
173
  shape = shape === VOID ? this.shape : shape;
157
- return this.v23(name, shape);
174
+ return this.v2c(name, shape);
158
175
  };
159
176
  protoOf(WsType).toString = function () {
160
- return 'WsType(name=' + this.t23_1 + ', shape=' + this.shape + ')';
177
+ return 'WsType(name=' + this.t2c_1 + ', shape=' + this.shape + ')';
161
178
  };
162
179
  protoOf(WsType).hashCode = function () {
163
- var result = getStringHashCode(this.t23_1);
180
+ var result = getStringHashCode(this.t2c_1);
164
181
  result = imul(result, 31) + this.shape.hashCode() | 0;
165
182
  return result;
166
183
  };
@@ -170,7 +187,7 @@
170
187
  if (!(other instanceof WsType))
171
188
  return false;
172
189
  var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
173
- if (!(this.t23_1 === tmp0_other_with_cast.t23_1))
190
+ if (!(this.t2c_1 === tmp0_other_with_cast.t2c_1))
174
191
  return false;
175
192
  if (!this.shape.equals(tmp0_other_with_cast.shape))
176
193
  return false;
@@ -182,15 +199,15 @@
182
199
  protoOf(WsShape).p2 = function () {
183
200
  return this.value;
184
201
  };
185
- protoOf(WsShape).fd = function () {
202
+ protoOf(WsShape).gd = function () {
186
203
  return this.value;
187
204
  };
188
- protoOf(WsShape).w23 = function (value) {
205
+ protoOf(WsShape).w2c = function (value) {
189
206
  return new WsShape(value);
190
207
  };
191
208
  protoOf(WsShape).copy = function (value, $super) {
192
209
  value = value === VOID ? this.value : value;
193
- return this.w23(value);
210
+ return this.w2c(value);
194
211
  };
195
212
  protoOf(WsShape).toString = function () {
196
213
  return 'WsShape(value=' + toString(this.value) + ')';
@@ -209,7 +226,7 @@
209
226
  return true;
210
227
  };
211
228
  function WsEndpoint(name, method, path, query, headers, cookies, requests, responses) {
212
- this.x23_1 = name;
229
+ this.x2c_1 = name;
213
230
  this.method = method;
214
231
  this.path = path;
215
232
  this.query = query;
@@ -218,59 +235,59 @@
218
235
  this.requests = requests;
219
236
  this.responses = responses;
220
237
  }
221
- protoOf(WsEndpoint).va = function () {
222
- return this.x23_1;
238
+ protoOf(WsEndpoint).wa = function () {
239
+ return this.x2c_1;
223
240
  };
224
- protoOf(WsEndpoint).y23 = function () {
241
+ protoOf(WsEndpoint).y2c = function () {
225
242
  return this.method;
226
243
  };
227
- protoOf(WsEndpoint).z23 = function () {
244
+ protoOf(WsEndpoint).z2c = function () {
228
245
  return this.path;
229
246
  };
230
- protoOf(WsEndpoint).a24 = function () {
247
+ protoOf(WsEndpoint).a2d = function () {
231
248
  return this.query;
232
249
  };
233
- protoOf(WsEndpoint).b24 = function () {
250
+ protoOf(WsEndpoint).b2d = function () {
234
251
  return this.headers;
235
252
  };
236
- protoOf(WsEndpoint).c24 = function () {
253
+ protoOf(WsEndpoint).c2d = function () {
237
254
  return this.cookies;
238
255
  };
239
- protoOf(WsEndpoint).d24 = function () {
256
+ protoOf(WsEndpoint).d2d = function () {
240
257
  return this.requests;
241
258
  };
242
- protoOf(WsEndpoint).e24 = function () {
259
+ protoOf(WsEndpoint).e2d = function () {
243
260
  return this.responses;
244
261
  };
245
- protoOf(WsEndpoint).fd = function () {
246
- return this.x23_1;
247
- };
248
262
  protoOf(WsEndpoint).gd = function () {
263
+ return this.x2c_1;
264
+ };
265
+ protoOf(WsEndpoint).hd = function () {
249
266
  return this.method;
250
267
  };
251
- protoOf(WsEndpoint).zg = function () {
268
+ protoOf(WsEndpoint).ah = function () {
252
269
  return this.path;
253
270
  };
254
- protoOf(WsEndpoint).f24 = function () {
271
+ protoOf(WsEndpoint).f2d = function () {
255
272
  return this.query;
256
273
  };
257
- protoOf(WsEndpoint).g24 = function () {
274
+ protoOf(WsEndpoint).g2d = function () {
258
275
  return this.headers;
259
276
  };
260
- protoOf(WsEndpoint).h24 = function () {
277
+ protoOf(WsEndpoint).h2d = function () {
261
278
  return this.cookies;
262
279
  };
263
- protoOf(WsEndpoint).i24 = function () {
280
+ protoOf(WsEndpoint).i2d = function () {
264
281
  return this.requests;
265
282
  };
266
- protoOf(WsEndpoint).j24 = function () {
283
+ protoOf(WsEndpoint).j2d = function () {
267
284
  return this.responses;
268
285
  };
269
- protoOf(WsEndpoint).k24 = function (name, method, path, query, headers, cookies, requests, responses) {
286
+ protoOf(WsEndpoint).k2d = function (name, method, path, query, headers, cookies, requests, responses) {
270
287
  return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
271
288
  };
272
289
  protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
273
- name = name === VOID ? this.x23_1 : name;
290
+ name = name === VOID ? this.x2c_1 : name;
274
291
  method = method === VOID ? this.method : method;
275
292
  path = path === VOID ? this.path : path;
276
293
  query = query === VOID ? this.query : query;
@@ -278,13 +295,13 @@
278
295
  cookies = cookies === VOID ? this.cookies : cookies;
279
296
  requests = requests === VOID ? this.requests : requests;
280
297
  responses = responses === VOID ? this.responses : responses;
281
- return this.k24(name, method, path, query, headers, cookies, requests, responses);
298
+ return this.k2d(name, method, path, query, headers, cookies, requests, responses);
282
299
  };
283
300
  protoOf(WsEndpoint).toString = function () {
284
- return 'WsEndpoint(name=' + this.x23_1 + ', method=' + this.method + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
301
+ return 'WsEndpoint(name=' + this.x2c_1 + ', method=' + this.method + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
285
302
  };
286
303
  protoOf(WsEndpoint).hashCode = function () {
287
- var result = getStringHashCode(this.x23_1);
304
+ var result = getStringHashCode(this.x2c_1);
288
305
  result = imul(result, 31) + this.method.hashCode() | 0;
289
306
  result = imul(result, 31) + hashCode(this.path) | 0;
290
307
  result = imul(result, 31) + hashCode(this.query) | 0;
@@ -300,7 +317,7 @@
300
317
  if (!(other instanceof WsEndpoint))
301
318
  return false;
302
319
  var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
303
- if (!(this.x23_1 === tmp0_other_with_cast.x23_1))
320
+ if (!(this.x2c_1 === tmp0_other_with_cast.x2c_1))
304
321
  return false;
305
322
  if (!this.method.equals(tmp0_other_with_cast.method))
306
323
  return false;
@@ -319,34 +336,34 @@
319
336
  return true;
320
337
  };
321
338
  function WsEnum(name, entries) {
322
- this.l24_1 = name;
339
+ this.l2d_1 = name;
323
340
  this.entries = entries;
324
341
  }
325
- protoOf(WsEnum).va = function () {
326
- return this.l24_1;
342
+ protoOf(WsEnum).wa = function () {
343
+ return this.l2d_1;
327
344
  };
328
345
  protoOf(WsEnum).n2 = function () {
329
346
  return this.entries;
330
347
  };
331
- protoOf(WsEnum).fd = function () {
332
- return this.l24_1;
333
- };
334
348
  protoOf(WsEnum).gd = function () {
349
+ return this.l2d_1;
350
+ };
351
+ protoOf(WsEnum).hd = function () {
335
352
  return this.entries;
336
353
  };
337
- protoOf(WsEnum).m24 = function (name, entries) {
354
+ protoOf(WsEnum).m2d = function (name, entries) {
338
355
  return new WsEnum(name, entries);
339
356
  };
340
357
  protoOf(WsEnum).copy = function (name, entries, $super) {
341
- name = name === VOID ? this.l24_1 : name;
358
+ name = name === VOID ? this.l2d_1 : name;
342
359
  entries = entries === VOID ? this.entries : entries;
343
- return this.m24(name, entries);
360
+ return this.m2d(name, entries);
344
361
  };
345
362
  protoOf(WsEnum).toString = function () {
346
- return 'WsEnum(name=' + this.l24_1 + ', entries=' + toString(this.entries) + ')';
363
+ return 'WsEnum(name=' + this.l2d_1 + ', entries=' + toString(this.entries) + ')';
347
364
  };
348
365
  protoOf(WsEnum).hashCode = function () {
349
- var result = getStringHashCode(this.l24_1);
366
+ var result = getStringHashCode(this.l2d_1);
350
367
  result = imul(result, 31) + hashCode(this.entries) | 0;
351
368
  return result;
352
369
  };
@@ -356,41 +373,41 @@
356
373
  if (!(other instanceof WsEnum))
357
374
  return false;
358
375
  var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
359
- if (!(this.l24_1 === tmp0_other_with_cast.l24_1))
376
+ if (!(this.l2d_1 === tmp0_other_with_cast.l2d_1))
360
377
  return false;
361
378
  if (!equals(this.entries, tmp0_other_with_cast.entries))
362
379
  return false;
363
380
  return true;
364
381
  };
365
382
  function WsUnion(name, entries) {
366
- this.n24_1 = name;
383
+ this.n2d_1 = name;
367
384
  this.entries = entries;
368
385
  }
369
- protoOf(WsUnion).va = function () {
370
- return this.n24_1;
386
+ protoOf(WsUnion).wa = function () {
387
+ return this.n2d_1;
371
388
  };
372
389
  protoOf(WsUnion).n2 = function () {
373
390
  return this.entries;
374
391
  };
375
- protoOf(WsUnion).fd = function () {
376
- return this.n24_1;
377
- };
378
392
  protoOf(WsUnion).gd = function () {
393
+ return this.n2d_1;
394
+ };
395
+ protoOf(WsUnion).hd = function () {
379
396
  return this.entries;
380
397
  };
381
- protoOf(WsUnion).o24 = function (name, entries) {
398
+ protoOf(WsUnion).o2d = function (name, entries) {
382
399
  return new WsUnion(name, entries);
383
400
  };
384
401
  protoOf(WsUnion).copy = function (name, entries, $super) {
385
- name = name === VOID ? this.n24_1 : name;
402
+ name = name === VOID ? this.n2d_1 : name;
386
403
  entries = entries === VOID ? this.entries : entries;
387
- return this.o24(name, entries);
404
+ return this.o2d(name, entries);
388
405
  };
389
406
  protoOf(WsUnion).toString = function () {
390
- return 'WsUnion(name=' + this.n24_1 + ', entries=' + toString(this.entries) + ')';
407
+ return 'WsUnion(name=' + this.n2d_1 + ', entries=' + toString(this.entries) + ')';
391
408
  };
392
409
  protoOf(WsUnion).hashCode = function () {
393
- var result = getStringHashCode(this.n24_1);
410
+ var result = getStringHashCode(this.n2d_1);
394
411
  result = imul(result, 31) + hashCode(this.entries) | 0;
395
412
  return result;
396
413
  };
@@ -400,41 +417,41 @@
400
417
  if (!(other instanceof WsUnion))
401
418
  return false;
402
419
  var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
403
- if (!(this.n24_1 === tmp0_other_with_cast.n24_1))
420
+ if (!(this.n2d_1 === tmp0_other_with_cast.n2d_1))
404
421
  return false;
405
422
  if (!equals(this.entries, tmp0_other_with_cast.entries))
406
423
  return false;
407
424
  return true;
408
425
  };
409
426
  function WsRefined(name, validator) {
410
- this.p24_1 = name;
427
+ this.p2d_1 = name;
411
428
  this.validator = validator;
412
429
  }
413
- protoOf(WsRefined).va = function () {
414
- return this.p24_1;
430
+ protoOf(WsRefined).wa = function () {
431
+ return this.p2d_1;
415
432
  };
416
- protoOf(WsRefined).q24 = function () {
433
+ protoOf(WsRefined).q2d = function () {
417
434
  return this.validator;
418
435
  };
419
- protoOf(WsRefined).fd = function () {
420
- return this.p24_1;
421
- };
422
436
  protoOf(WsRefined).gd = function () {
437
+ return this.p2d_1;
438
+ };
439
+ protoOf(WsRefined).hd = function () {
423
440
  return this.validator;
424
441
  };
425
- protoOf(WsRefined).r24 = function (name, validator) {
442
+ protoOf(WsRefined).r2d = function (name, validator) {
426
443
  return new WsRefined(name, validator);
427
444
  };
428
445
  protoOf(WsRefined).copy = function (name, validator, $super) {
429
- name = name === VOID ? this.p24_1 : name;
446
+ name = name === VOID ? this.p2d_1 : name;
430
447
  validator = validator === VOID ? this.validator : validator;
431
- return this.r24(name, validator);
448
+ return this.r2d(name, validator);
432
449
  };
433
450
  protoOf(WsRefined).toString = function () {
434
- return 'WsRefined(name=' + this.p24_1 + ', validator=' + this.validator + ')';
451
+ return 'WsRefined(name=' + this.p2d_1 + ', validator=' + this.validator + ')';
435
452
  };
436
453
  protoOf(WsRefined).hashCode = function () {
437
- var result = getStringHashCode(this.p24_1);
454
+ var result = getStringHashCode(this.p2d_1);
438
455
  result = imul(result, 31) + getStringHashCode(this.validator) | 0;
439
456
  return result;
440
457
  };
@@ -444,7 +461,7 @@
444
461
  if (!(other instanceof WsRefined))
445
462
  return false;
446
463
  var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
447
- if (!(this.p24_1 === tmp0_other_with_cast.p24_1))
464
+ if (!(this.p2d_1 === tmp0_other_with_cast.p2d_1))
448
465
  return false;
449
466
  if (!(this.validator === tmp0_other_with_cast.validator))
450
467
  return false;
@@ -510,15 +527,15 @@
510
527
  protoOf(WsLiteral).p2 = function () {
511
528
  return this.value;
512
529
  };
513
- protoOf(WsLiteral).fd = function () {
530
+ protoOf(WsLiteral).gd = function () {
514
531
  return this.value;
515
532
  };
516
- protoOf(WsLiteral).u24 = function (value) {
533
+ protoOf(WsLiteral).u2d = function (value) {
517
534
  return new WsLiteral(value);
518
535
  };
519
536
  protoOf(WsLiteral).copy = function (value, $super) {
520
537
  value = value === VOID ? this.value : value;
521
- return this.u24(value);
538
+ return this.u2d(value);
522
539
  };
523
540
  protoOf(WsLiteral).toString = function () {
524
541
  return 'WsLiteral(value=' + this.value + ')';
@@ -540,25 +557,25 @@
540
557
  this.identifier = identifier;
541
558
  this.reference = reference;
542
559
  }
543
- protoOf(WsParam).v24 = function () {
560
+ protoOf(WsParam).m21 = function () {
544
561
  return this.identifier;
545
562
  };
546
- protoOf(WsParam).w24 = function () {
563
+ protoOf(WsParam).v2d = function () {
547
564
  return this.reference;
548
565
  };
549
- protoOf(WsParam).fd = function () {
566
+ protoOf(WsParam).gd = function () {
550
567
  return this.identifier;
551
568
  };
552
- protoOf(WsParam).gd = function () {
569
+ protoOf(WsParam).hd = function () {
553
570
  return this.reference;
554
571
  };
555
- protoOf(WsParam).x24 = function (identifier, reference) {
572
+ protoOf(WsParam).w2d = function (identifier, reference) {
556
573
  return new WsParam(identifier, reference);
557
574
  };
558
575
  protoOf(WsParam).copy = function (identifier, reference, $super) {
559
576
  identifier = identifier === VOID ? this.identifier : identifier;
560
577
  reference = reference === VOID ? this.reference : reference;
561
- return this.x24(identifier, reference);
578
+ return this.w2d(identifier, reference);
562
579
  };
563
580
  protoOf(WsParam).toString = function () {
564
581
  return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
@@ -586,15 +603,15 @@
586
603
  protoOf(Shape).p2 = function () {
587
604
  return this.value;
588
605
  };
589
- protoOf(Shape).fd = function () {
606
+ protoOf(Shape).gd = function () {
590
607
  return this.value;
591
608
  };
592
- protoOf(Shape).w23 = function (value) {
609
+ protoOf(Shape).w2c = function (value) {
593
610
  return new Shape(value);
594
611
  };
595
612
  protoOf(Shape).copy = function (value, $super) {
596
613
  value = value === VOID ? this.value : value;
597
- return this.w23(value);
614
+ return this.w2c(value);
598
615
  };
599
616
  protoOf(Shape).toString = function () {
600
617
  return 'Shape(value=' + toString(this.value) + ')';
@@ -617,32 +634,32 @@
617
634
  this.reference = reference;
618
635
  this.isNullable = isNullable;
619
636
  }
620
- protoOf(WsField).v24 = function () {
637
+ protoOf(WsField).m21 = function () {
621
638
  return this.identifier;
622
639
  };
623
- protoOf(WsField).w24 = function () {
640
+ protoOf(WsField).v2d = function () {
624
641
  return this.reference;
625
642
  };
626
- protoOf(WsField).tj = function () {
643
+ protoOf(WsField).wj = function () {
627
644
  return this.isNullable;
628
645
  };
629
- protoOf(WsField).fd = function () {
646
+ protoOf(WsField).gd = function () {
630
647
  return this.identifier;
631
648
  };
632
- protoOf(WsField).gd = function () {
649
+ protoOf(WsField).hd = function () {
633
650
  return this.reference;
634
651
  };
635
- protoOf(WsField).zg = function () {
652
+ protoOf(WsField).ah = function () {
636
653
  return this.isNullable;
637
654
  };
638
- protoOf(WsField).y24 = function (identifier, reference, isNullable) {
655
+ protoOf(WsField).x2d = function (identifier, reference, isNullable) {
639
656
  return new WsField(identifier, reference, isNullable);
640
657
  };
641
658
  protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
642
659
  identifier = identifier === VOID ? this.identifier : identifier;
643
660
  reference = reference === VOID ? this.reference : reference;
644
661
  isNullable = isNullable === VOID ? this.isNullable : isNullable;
645
- return this.y24(identifier, reference, isNullable);
662
+ return this.x2d(identifier, reference, isNullable);
646
663
  };
647
664
  protoOf(WsField).toString = function () {
648
665
  return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
@@ -673,15 +690,15 @@
673
690
  protoOf(WsIdentifier).p2 = function () {
674
691
  return this.value;
675
692
  };
676
- protoOf(WsIdentifier).fd = function () {
693
+ protoOf(WsIdentifier).gd = function () {
677
694
  return this.value;
678
695
  };
679
- protoOf(WsIdentifier).u24 = function (value) {
696
+ protoOf(WsIdentifier).u2d = function (value) {
680
697
  return new WsIdentifier(value);
681
698
  };
682
699
  protoOf(WsIdentifier).copy = function (value, $super) {
683
700
  value = value === VOID ? this.value : value;
684
- return this.u24(value);
701
+ return this.u2d(value);
685
702
  };
686
703
  protoOf(WsIdentifier).toString = function () {
687
704
  return 'WsIdentifier(value=' + this.value + ')';
@@ -703,35 +720,35 @@
703
720
  }
704
721
  function WsAny(isIterable, isMap) {
705
722
  isMap = isMap === VOID ? false : isMap;
706
- this.z24_1 = isIterable;
707
- this.a25_1 = isMap;
723
+ this.y2d_1 = isIterable;
724
+ this.z2d_1 = isMap;
708
725
  }
709
- protoOf(WsAny).g1s = function () {
710
- return this.z24_1;
711
- };
712
- protoOf(WsAny).p1z = function () {
713
- return this.a25_1;
726
+ protoOf(WsAny).s20 = function () {
727
+ return this.y2d_1;
714
728
  };
715
- protoOf(WsAny).fd = function () {
716
- return this.z24_1;
729
+ protoOf(WsAny).h28 = function () {
730
+ return this.z2d_1;
717
731
  };
718
732
  protoOf(WsAny).gd = function () {
719
- return this.a25_1;
733
+ return this.y2d_1;
720
734
  };
721
- protoOf(WsAny).y20 = function (isIterable, isMap) {
735
+ protoOf(WsAny).hd = function () {
736
+ return this.z2d_1;
737
+ };
738
+ protoOf(WsAny).s29 = function (isIterable, isMap) {
722
739
  return new WsAny(isIterable, isMap);
723
740
  };
724
741
  protoOf(WsAny).copy = function (isIterable, isMap, $super) {
725
- isIterable = isIterable === VOID ? this.z24_1 : isIterable;
726
- isMap = isMap === VOID ? this.a25_1 : isMap;
727
- return this.y20(isIterable, isMap);
742
+ isIterable = isIterable === VOID ? this.y2d_1 : isIterable;
743
+ isMap = isMap === VOID ? this.z2d_1 : isMap;
744
+ return this.s29(isIterable, isMap);
728
745
  };
729
746
  protoOf(WsAny).toString = function () {
730
- return 'WsAny(isIterable=' + this.z24_1 + ', isMap=' + this.a25_1 + ')';
747
+ return 'WsAny(isIterable=' + this.y2d_1 + ', isMap=' + this.z2d_1 + ')';
731
748
  };
732
749
  protoOf(WsAny).hashCode = function () {
733
- var result = this.z24_1 | 0;
734
- result = imul(result, 31) + (this.a25_1 | 0) | 0;
750
+ var result = this.y2d_1 | 0;
751
+ result = imul(result, 31) + (this.z2d_1 | 0) | 0;
735
752
  return result;
736
753
  };
737
754
  protoOf(WsAny).equals = function (other) {
@@ -740,43 +757,43 @@
740
757
  if (!(other instanceof WsAny))
741
758
  return false;
742
759
  var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
743
- if (!(this.z24_1 === tmp0_other_with_cast.z24_1))
760
+ if (!(this.y2d_1 === tmp0_other_with_cast.y2d_1))
744
761
  return false;
745
- if (!(this.a25_1 === tmp0_other_with_cast.a25_1))
762
+ if (!(this.z2d_1 === tmp0_other_with_cast.z2d_1))
746
763
  return false;
747
764
  return true;
748
765
  };
749
766
  function WsUnit(isIterable, isMap) {
750
767
  isMap = isMap === VOID ? false : isMap;
751
- this.b25_1 = isIterable;
752
- this.c25_1 = isMap;
768
+ this.a2e_1 = isIterable;
769
+ this.b2e_1 = isMap;
753
770
  }
754
- protoOf(WsUnit).g1s = function () {
755
- return this.b25_1;
756
- };
757
- protoOf(WsUnit).p1z = function () {
758
- return this.c25_1;
771
+ protoOf(WsUnit).s20 = function () {
772
+ return this.a2e_1;
759
773
  };
760
- protoOf(WsUnit).fd = function () {
761
- return this.b25_1;
774
+ protoOf(WsUnit).h28 = function () {
775
+ return this.b2e_1;
762
776
  };
763
777
  protoOf(WsUnit).gd = function () {
764
- return this.c25_1;
778
+ return this.a2e_1;
765
779
  };
766
- protoOf(WsUnit).y20 = function (isIterable, isMap) {
780
+ protoOf(WsUnit).hd = function () {
781
+ return this.b2e_1;
782
+ };
783
+ protoOf(WsUnit).s29 = function (isIterable, isMap) {
767
784
  return new WsUnit(isIterable, isMap);
768
785
  };
769
786
  protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
770
- isIterable = isIterable === VOID ? this.b25_1 : isIterable;
771
- isMap = isMap === VOID ? this.c25_1 : isMap;
772
- return this.y20(isIterable, isMap);
787
+ isIterable = isIterable === VOID ? this.a2e_1 : isIterable;
788
+ isMap = isMap === VOID ? this.b2e_1 : isMap;
789
+ return this.s29(isIterable, isMap);
773
790
  };
774
791
  protoOf(WsUnit).toString = function () {
775
- return 'WsUnit(isIterable=' + this.b25_1 + ', isMap=' + this.c25_1 + ')';
792
+ return 'WsUnit(isIterable=' + this.a2e_1 + ', isMap=' + this.b2e_1 + ')';
776
793
  };
777
794
  protoOf(WsUnit).hashCode = function () {
778
- var result = this.b25_1 | 0;
779
- result = imul(result, 31) + (this.c25_1 | 0) | 0;
795
+ var result = this.a2e_1 | 0;
796
+ result = imul(result, 31) + (this.b2e_1 | 0) | 0;
780
797
  return result;
781
798
  };
782
799
  protoOf(WsUnit).equals = function (other) {
@@ -785,52 +802,52 @@
785
802
  if (!(other instanceof WsUnit))
786
803
  return false;
787
804
  var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
788
- if (!(this.b25_1 === tmp0_other_with_cast.b25_1))
805
+ if (!(this.a2e_1 === tmp0_other_with_cast.a2e_1))
789
806
  return false;
790
- if (!(this.c25_1 === tmp0_other_with_cast.c25_1))
807
+ if (!(this.b2e_1 === tmp0_other_with_cast.b2e_1))
791
808
  return false;
792
809
  return true;
793
810
  };
794
811
  function WsCustom(value, isIterable, isMap) {
795
812
  isMap = isMap === VOID ? false : isMap;
796
813
  this.value = value;
797
- this.d25_1 = isIterable;
798
- this.e25_1 = isMap;
814
+ this.c2e_1 = isIterable;
815
+ this.d2e_1 = isMap;
799
816
  }
800
817
  protoOf(WsCustom).p2 = function () {
801
818
  return this.value;
802
819
  };
803
- protoOf(WsCustom).g1s = function () {
804
- return this.d25_1;
820
+ protoOf(WsCustom).s20 = function () {
821
+ return this.c2e_1;
805
822
  };
806
- protoOf(WsCustom).p1z = function () {
807
- return this.e25_1;
823
+ protoOf(WsCustom).h28 = function () {
824
+ return this.d2e_1;
808
825
  };
809
- protoOf(WsCustom).fd = function () {
826
+ protoOf(WsCustom).gd = function () {
810
827
  return this.value;
811
828
  };
812
- protoOf(WsCustom).gd = function () {
813
- return this.d25_1;
829
+ protoOf(WsCustom).hd = function () {
830
+ return this.c2e_1;
814
831
  };
815
- protoOf(WsCustom).zg = function () {
816
- return this.e25_1;
832
+ protoOf(WsCustom).ah = function () {
833
+ return this.d2e_1;
817
834
  };
818
- protoOf(WsCustom).g21 = function (value, isIterable, isMap) {
835
+ protoOf(WsCustom).b2a = function (value, isIterable, isMap) {
819
836
  return new WsCustom(value, isIterable, isMap);
820
837
  };
821
838
  protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
822
839
  value = value === VOID ? this.value : value;
823
- isIterable = isIterable === VOID ? this.d25_1 : isIterable;
824
- isMap = isMap === VOID ? this.e25_1 : isMap;
825
- return this.g21(value, isIterable, isMap);
840
+ isIterable = isIterable === VOID ? this.c2e_1 : isIterable;
841
+ isMap = isMap === VOID ? this.d2e_1 : isMap;
842
+ return this.b2a(value, isIterable, isMap);
826
843
  };
827
844
  protoOf(WsCustom).toString = function () {
828
- return 'WsCustom(value=' + this.value + ', isIterable=' + this.d25_1 + ', isMap=' + this.e25_1 + ')';
845
+ return 'WsCustom(value=' + this.value + ', isIterable=' + this.c2e_1 + ', isMap=' + this.d2e_1 + ')';
829
846
  };
830
847
  protoOf(WsCustom).hashCode = function () {
831
848
  var result = getStringHashCode(this.value);
832
- result = imul(result, 31) + (this.d25_1 | 0) | 0;
833
- result = imul(result, 31) + (this.e25_1 | 0) | 0;
849
+ result = imul(result, 31) + (this.c2e_1 | 0) | 0;
850
+ result = imul(result, 31) + (this.d2e_1 | 0) | 0;
834
851
  return result;
835
852
  };
836
853
  protoOf(WsCustom).equals = function (other) {
@@ -841,52 +858,52 @@
841
858
  var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
842
859
  if (!(this.value === tmp0_other_with_cast.value))
843
860
  return false;
844
- if (!(this.d25_1 === tmp0_other_with_cast.d25_1))
861
+ if (!(this.c2e_1 === tmp0_other_with_cast.c2e_1))
845
862
  return false;
846
- if (!(this.e25_1 === tmp0_other_with_cast.e25_1))
863
+ if (!(this.d2e_1 === tmp0_other_with_cast.d2e_1))
847
864
  return false;
848
865
  return true;
849
866
  };
850
867
  function WsPrimitive(type, isIterable, isMap) {
851
868
  isMap = isMap === VOID ? false : isMap;
852
869
  this.type = type;
853
- this.f25_1 = isIterable;
854
- this.g25_1 = isMap;
870
+ this.e2e_1 = isIterable;
871
+ this.f2e_1 = isMap;
855
872
  }
856
- protoOf(WsPrimitive).h25 = function () {
873
+ protoOf(WsPrimitive).g2e = function () {
857
874
  return this.type;
858
875
  };
859
- protoOf(WsPrimitive).g1s = function () {
860
- return this.f25_1;
876
+ protoOf(WsPrimitive).s20 = function () {
877
+ return this.e2e_1;
861
878
  };
862
- protoOf(WsPrimitive).p1z = function () {
863
- return this.g25_1;
879
+ protoOf(WsPrimitive).h28 = function () {
880
+ return this.f2e_1;
864
881
  };
865
- protoOf(WsPrimitive).fd = function () {
882
+ protoOf(WsPrimitive).gd = function () {
866
883
  return this.type;
867
884
  };
868
- protoOf(WsPrimitive).gd = function () {
869
- return this.f25_1;
885
+ protoOf(WsPrimitive).hd = function () {
886
+ return this.e2e_1;
870
887
  };
871
- protoOf(WsPrimitive).zg = function () {
872
- return this.g25_1;
888
+ protoOf(WsPrimitive).ah = function () {
889
+ return this.f2e_1;
873
890
  };
874
- protoOf(WsPrimitive).i25 = function (type, isIterable, isMap) {
891
+ protoOf(WsPrimitive).h2e = function (type, isIterable, isMap) {
875
892
  return new WsPrimitive(type, isIterable, isMap);
876
893
  };
877
894
  protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
878
895
  type = type === VOID ? this.type : type;
879
- isIterable = isIterable === VOID ? this.f25_1 : isIterable;
880
- isMap = isMap === VOID ? this.g25_1 : isMap;
881
- return this.i25(type, isIterable, isMap);
896
+ isIterable = isIterable === VOID ? this.e2e_1 : isIterable;
897
+ isMap = isMap === VOID ? this.f2e_1 : isMap;
898
+ return this.h2e(type, isIterable, isMap);
882
899
  };
883
900
  protoOf(WsPrimitive).toString = function () {
884
- return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.f25_1 + ', isMap=' + this.g25_1 + ')';
901
+ return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.e2e_1 + ', isMap=' + this.f2e_1 + ')';
885
902
  };
886
903
  protoOf(WsPrimitive).hashCode = function () {
887
904
  var result = this.type.hashCode();
888
- result = imul(result, 31) + (this.f25_1 | 0) | 0;
889
- result = imul(result, 31) + (this.g25_1 | 0) | 0;
905
+ result = imul(result, 31) + (this.e2e_1 | 0) | 0;
906
+ result = imul(result, 31) + (this.f2e_1 | 0) | 0;
890
907
  return result;
891
908
  };
892
909
  protoOf(WsPrimitive).equals = function (other) {
@@ -897,9 +914,9 @@
897
914
  var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
898
915
  if (!this.type.equals(tmp0_other_with_cast.type))
899
916
  return false;
900
- if (!(this.f25_1 === tmp0_other_with_cast.f25_1))
917
+ if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
901
918
  return false;
902
- if (!(this.g25_1 === tmp0_other_with_cast.g25_1))
919
+ if (!(this.f2e_1 === tmp0_other_with_cast.f2e_1))
903
920
  return false;
904
921
  return true;
905
922
  };
@@ -942,18 +959,18 @@
942
959
  function WsRequest(content) {
943
960
  this.content = content;
944
961
  }
945
- protoOf(WsRequest).n10 = function () {
962
+ protoOf(WsRequest).k14 = function () {
946
963
  return this.content;
947
964
  };
948
- protoOf(WsRequest).fd = function () {
965
+ protoOf(WsRequest).gd = function () {
949
966
  return this.content;
950
967
  };
951
- protoOf(WsRequest).l25 = function (content) {
968
+ protoOf(WsRequest).k2e = function (content) {
952
969
  return new WsRequest(content);
953
970
  };
954
971
  protoOf(WsRequest).copy = function (content, $super) {
955
972
  content = content === VOID ? this.content : content;
956
- return this.l25(content);
973
+ return this.k2e(content);
957
974
  };
958
975
  protoOf(WsRequest).toString = function () {
959
976
  return 'WsRequest(content=' + this.content + ')';
@@ -971,35 +988,44 @@
971
988
  return false;
972
989
  return true;
973
990
  };
974
- function WsResponse(status, content) {
991
+ function WsResponse(status, headers, content) {
975
992
  this.status = status;
993
+ this.headers = headers;
976
994
  this.content = content;
977
995
  }
978
- protoOf(WsResponse).m25 = function () {
996
+ protoOf(WsResponse).l2e = function () {
979
997
  return this.status;
980
998
  };
981
- protoOf(WsResponse).n10 = function () {
999
+ protoOf(WsResponse).b2d = function () {
1000
+ return this.headers;
1001
+ };
1002
+ protoOf(WsResponse).k14 = function () {
982
1003
  return this.content;
983
1004
  };
984
- protoOf(WsResponse).fd = function () {
1005
+ protoOf(WsResponse).gd = function () {
985
1006
  return this.status;
986
1007
  };
987
- protoOf(WsResponse).gd = function () {
1008
+ protoOf(WsResponse).hd = function () {
1009
+ return this.headers;
1010
+ };
1011
+ protoOf(WsResponse).ah = function () {
988
1012
  return this.content;
989
1013
  };
990
- protoOf(WsResponse).n25 = function (status, content) {
991
- return new WsResponse(status, content);
1014
+ protoOf(WsResponse).m2e = function (status, headers, content) {
1015
+ return new WsResponse(status, headers, content);
992
1016
  };
993
- protoOf(WsResponse).copy = function (status, content, $super) {
1017
+ protoOf(WsResponse).copy = function (status, headers, content, $super) {
994
1018
  status = status === VOID ? this.status : status;
1019
+ headers = headers === VOID ? this.headers : headers;
995
1020
  content = content === VOID ? this.content : content;
996
- return this.n25(status, content);
1021
+ return this.m2e(status, headers, content);
997
1022
  };
998
1023
  protoOf(WsResponse).toString = function () {
999
- return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
1024
+ return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + this.content + ')';
1000
1025
  };
1001
1026
  protoOf(WsResponse).hashCode = function () {
1002
1027
  var result = getStringHashCode(this.status);
1028
+ result = imul(result, 31) + hashCode(this.headers) | 0;
1003
1029
  result = imul(result, 31) + (this.content == null ? 0 : this.content.hashCode()) | 0;
1004
1030
  return result;
1005
1031
  };
@@ -1011,6 +1037,8 @@
1011
1037
  var tmp0_other_with_cast = other instanceof WsResponse ? other : THROW_CCE();
1012
1038
  if (!(this.status === tmp0_other_with_cast.status))
1013
1039
  return false;
1040
+ if (!equals(this.headers, tmp0_other_with_cast.headers))
1041
+ return false;
1014
1042
  if (!equals(this.content, tmp0_other_with_cast.content))
1015
1043
  return false;
1016
1044
  return true;
@@ -1021,32 +1049,32 @@
1021
1049
  this.reference = reference;
1022
1050
  this.isNullable = isNullable;
1023
1051
  }
1024
- protoOf(WsContent).h25 = function () {
1052
+ protoOf(WsContent).g2e = function () {
1025
1053
  return this.type;
1026
1054
  };
1027
- protoOf(WsContent).w24 = function () {
1055
+ protoOf(WsContent).v2d = function () {
1028
1056
  return this.reference;
1029
1057
  };
1030
- protoOf(WsContent).tj = function () {
1058
+ protoOf(WsContent).wj = function () {
1031
1059
  return this.isNullable;
1032
1060
  };
1033
- protoOf(WsContent).fd = function () {
1061
+ protoOf(WsContent).gd = function () {
1034
1062
  return this.type;
1035
1063
  };
1036
- protoOf(WsContent).gd = function () {
1064
+ protoOf(WsContent).hd = function () {
1037
1065
  return this.reference;
1038
1066
  };
1039
- protoOf(WsContent).zg = function () {
1067
+ protoOf(WsContent).ah = function () {
1040
1068
  return this.isNullable;
1041
1069
  };
1042
- protoOf(WsContent).o25 = function (type, reference, isNullable) {
1070
+ protoOf(WsContent).n2e = function (type, reference, isNullable) {
1043
1071
  return new WsContent(type, reference, isNullable);
1044
1072
  };
1045
1073
  protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
1046
1074
  type = type === VOID ? this.type : type;
1047
1075
  reference = reference === VOID ? this.reference : reference;
1048
1076
  isNullable = isNullable === VOID ? this.isNullable : isNullable;
1049
- return this.o25(type, reference, isNullable);
1077
+ return this.n2e(type, reference, isNullable);
1050
1078
  };
1051
1079
  protoOf(WsContent).toString = function () {
1052
1080
  return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
@@ -1089,26 +1117,26 @@
1089
1117
  function produce_0(_this__u8e3s4) {
1090
1118
  var tmp;
1091
1119
  if (_this__u8e3s4 instanceof Type) {
1092
- tmp = new WsType(_this__u8e3s4.a1y_1, produce_1(_this__u8e3s4.b1y_1));
1120
+ tmp = new WsType(_this__u8e3s4.r26_1.z26_1, produce_1(_this__u8e3s4.s26_1));
1093
1121
  } else {
1094
1122
  if (_this__u8e3s4 instanceof Endpoint) {
1095
- tmp = new WsEndpoint(_this__u8e3s4.c1z_1, produce_2(_this__u8e3s4.d1z_1), produce_3(_this__u8e3s4.e1z_1), produce_4(_this__u8e3s4.f1z_1), produce_4(_this__u8e3s4.g1z_1), produce_4(_this__u8e3s4.h1z_1), produce_5(_this__u8e3s4.i1z_1), produce_6(_this__u8e3s4.j1z_1));
1123
+ tmp = new WsEndpoint(_this__u8e3s4.x27_1.z26_1, produce_2(_this__u8e3s4.y27_1), produce_3(_this__u8e3s4.z27_1), produce_4(_this__u8e3s4.a28_1), produce_4(_this__u8e3s4.b28_1), produce_4(_this__u8e3s4.c28_1), produce_5(_this__u8e3s4.d28_1), produce_6(_this__u8e3s4.e28_1));
1096
1124
  } else {
1097
1125
  if (_this__u8e3s4 instanceof Enum_0) {
1098
1126
  var tmp$ret$0;
1099
1127
  // Inline function 'kotlin.collections.toTypedArray' call
1100
- var tmp0_toTypedArray = _this__u8e3s4.z1x_1;
1128
+ var tmp0_toTypedArray = _this__u8e3s4.p26_1;
1101
1129
  tmp$ret$0 = copyToArray(tmp0_toTypedArray);
1102
- tmp = new WsEnum(_this__u8e3s4.y1x_1, tmp$ret$0);
1130
+ tmp = new WsEnum(_this__u8e3s4.o26_1.z26_1, tmp$ret$0);
1103
1131
  } else {
1104
1132
  if (_this__u8e3s4 instanceof Refined) {
1105
- tmp = new WsRefined(_this__u8e3s4.n1y_1, _this__u8e3s4.o1y_1.q1y_1);
1133
+ tmp = new WsRefined(_this__u8e3s4.f27_1.z26_1, _this__u8e3s4.g27_1.i27_1);
1106
1134
  } else {
1107
1135
  if (_this__u8e3s4 instanceof Union) {
1108
1136
  var tmp$ret$4;
1109
1137
  // Inline function 'kotlin.collections.toTypedArray' call
1110
1138
  // Inline function 'kotlin.collections.map' call
1111
- var tmp1_map = _this__u8e3s4.r1z_1;
1139
+ var tmp1_map = _this__u8e3s4.k28_1;
1112
1140
  // Inline function 'kotlin.collections.mapTo' call
1113
1141
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
1114
1142
  var tmp0_iterator = tmp1_map.v();
@@ -1120,7 +1148,7 @@
1120
1148
  tmp0_mapTo.s(tmp$ret$1);
1121
1149
  }
1122
1150
  tmp$ret$4 = copyToArray(tmp0_mapTo);
1123
- tmp = new WsUnion(_this__u8e3s4.q1z_1, tmp$ret$4);
1151
+ tmp = new WsUnion(_this__u8e3s4.j28_1.z26_1, tmp$ret$4);
1124
1152
  } else {
1125
1153
  noWhenBranchMatchedException();
1126
1154
  }
@@ -1134,7 +1162,7 @@
1134
1162
  var tmp$ret$3;
1135
1163
  // Inline function 'kotlin.collections.toTypedArray' call
1136
1164
  // Inline function 'kotlin.collections.map' call
1137
- var tmp0_map = _this__u8e3s4.d1y_1;
1165
+ var tmp0_map = _this__u8e3s4.u26_1;
1138
1166
  // Inline function 'kotlin.collections.mapTo' call
1139
1167
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1140
1168
  var tmp0_iterator = tmp0_map.v();
@@ -1150,7 +1178,7 @@
1150
1178
  }
1151
1179
  function produce_2(_this__u8e3s4) {
1152
1180
  var tmp;
1153
- switch (_this__u8e3s4.c9_1) {
1181
+ switch (_this__u8e3s4.d9_1) {
1154
1182
  case 0:
1155
1183
  tmp = WsMethod_GET_getInstance();
1156
1184
  break;
@@ -1193,10 +1221,10 @@
1193
1221
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1194
1222
  var tmp;
1195
1223
  if (item instanceof Literal) {
1196
- tmp = new WsLiteral(item.w1y_1);
1224
+ tmp = new WsLiteral(item.o27_1);
1197
1225
  } else {
1198
1226
  if (item instanceof Param) {
1199
- tmp = new WsParam(produce_9(item.r1y_1), produce_7(item.s1y_1));
1227
+ tmp = new WsParam(produce_9(item.j27_1), produce_7(item.k27_1));
1200
1228
  } else {
1201
1229
  noWhenBranchMatchedException();
1202
1230
  }
@@ -1254,16 +1282,16 @@
1254
1282
  function produce_7(_this__u8e3s4) {
1255
1283
  var tmp;
1256
1284
  if (_this__u8e3s4 instanceof Any) {
1257
- tmp = new WsAny(_this__u8e3s4.g1s(), _this__u8e3s4.p1z());
1285
+ tmp = new WsAny(_this__u8e3s4.s20(), _this__u8e3s4.h28());
1258
1286
  } else {
1259
1287
  if (_this__u8e3s4 instanceof Unit) {
1260
- tmp = new WsUnit(_this__u8e3s4.g1s(), _this__u8e3s4.p1z());
1288
+ tmp = new WsUnit(_this__u8e3s4.s20(), _this__u8e3s4.h28());
1261
1289
  } else {
1262
1290
  if (_this__u8e3s4 instanceof Custom) {
1263
- tmp = new WsCustom(_this__u8e3s4.p2(), _this__u8e3s4.g1s(), _this__u8e3s4.p1z());
1291
+ tmp = new WsCustom(_this__u8e3s4.p2(), _this__u8e3s4.s20(), _this__u8e3s4.h28());
1264
1292
  } else {
1265
1293
  if (_this__u8e3s4 instanceof Primitive) {
1266
- tmp = new WsPrimitive(produce_12(_this__u8e3s4.k1y_1), _this__u8e3s4.g1s(), _this__u8e3s4.p1z());
1294
+ tmp = new WsPrimitive(produce_12(_this__u8e3s4.a27_1), _this__u8e3s4.s20(), _this__u8e3s4.h28());
1267
1295
  } else {
1268
1296
  noWhenBranchMatchedException();
1269
1297
  }
@@ -1273,22 +1301,36 @@
1273
1301
  return tmp;
1274
1302
  }
1275
1303
  function produce_8(_this__u8e3s4) {
1276
- return new WsField(produce_9(_this__u8e3s4.e1y_1), produce_7(_this__u8e3s4.f1y_1), _this__u8e3s4.g1y_1);
1304
+ return new WsField(produce_9(_this__u8e3s4.v26_1), produce_7(_this__u8e3s4.w26_1), _this__u8e3s4.x26_1);
1277
1305
  }
1278
1306
  function produce_9(_this__u8e3s4) {
1279
- return new WsIdentifier(_this__u8e3s4.j1y_1);
1307
+ return new WsIdentifier(_this__u8e3s4.z26_1);
1280
1308
  }
1281
1309
  function produce_10(_this__u8e3s4) {
1282
- var tmp0_safe_receiver = _this__u8e3s4.x1y_1;
1310
+ var tmp0_safe_receiver = _this__u8e3s4.p27_1;
1283
1311
  return new WsRequest(tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
1284
1312
  }
1285
1313
  function produce_11(_this__u8e3s4) {
1286
- var tmp0_safe_receiver = _this__u8e3s4.b1z_1;
1287
- return new WsResponse(_this__u8e3s4.z1y_1, tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
1314
+ // Inline function 'kotlin.collections.toTypedArray' call
1315
+ // Inline function 'kotlin.collections.map' call
1316
+ var tmp0_map = _this__u8e3s4.r27_1;
1317
+ // Inline function 'kotlin.collections.mapTo' call
1318
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1319
+ var tmp0_iterator = tmp0_map.v();
1320
+ while (tmp0_iterator.w()) {
1321
+ var item = tmp0_iterator.y();
1322
+ var tmp$ret$0;
1323
+ // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1324
+ tmp$ret$0 = produce_8(item);
1325
+ tmp0_mapTo.s(tmp$ret$0);
1326
+ }
1327
+ var tmp = copyToArray(tmp0_mapTo);
1328
+ var tmp0_safe_receiver = _this__u8e3s4.s27_1;
1329
+ return new WsResponse(_this__u8e3s4.q27_1, tmp, tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
1288
1330
  }
1289
1331
  function produce_12(_this__u8e3s4) {
1290
1332
  var tmp;
1291
- switch (_this__u8e3s4.c9_1) {
1333
+ switch (_this__u8e3s4.d9_1) {
1292
1334
  case 0:
1293
1335
  tmp = WsPrimitiveType_String_getInstance();
1294
1336
  break;
@@ -1308,7 +1350,246 @@
1308
1350
  return tmp;
1309
1351
  }
1310
1352
  function produce_13(_this__u8e3s4) {
1311
- return new WsContent(_this__u8e3s4.k1z_1, produce_7(_this__u8e3s4.l1z_1), _this__u8e3s4.m1z_1);
1353
+ return new WsContent(_this__u8e3s4.t27_1, produce_7(_this__u8e3s4.u27_1), _this__u8e3s4.v27_1);
1354
+ }
1355
+ function consume(_this__u8e3s4) {
1356
+ var tmp;
1357
+ if (_this__u8e3s4 instanceof WsEndpoint) {
1358
+ tmp = consume_0(_this__u8e3s4);
1359
+ } else {
1360
+ if (_this__u8e3s4 instanceof WsEnum) {
1361
+ tmp = consume(_this__u8e3s4);
1362
+ } else {
1363
+ if (_this__u8e3s4 instanceof WsRefined) {
1364
+ tmp = consume(_this__u8e3s4);
1365
+ } else {
1366
+ if (_this__u8e3s4 instanceof WsType) {
1367
+ tmp = consume(_this__u8e3s4);
1368
+ } else {
1369
+ if (_this__u8e3s4 instanceof WsUnion) {
1370
+ tmp = consume(_this__u8e3s4);
1371
+ } else {
1372
+ noWhenBranchMatchedException();
1373
+ }
1374
+ }
1375
+ }
1376
+ }
1377
+ }
1378
+ return tmp;
1379
+ }
1380
+ function consume_0(_this__u8e3s4) {
1381
+ var tmp = Companion_getInstance().f28(_this__u8e3s4.x2c_1);
1382
+ var tmp_0 = consume_1(_this__u8e3s4.method);
1383
+ // Inline function 'kotlin.collections.map' call
1384
+ var tmp0_map = _this__u8e3s4.path;
1385
+ // Inline function 'kotlin.collections.mapTo' call
1386
+ var tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.length);
1387
+ var inductionVariable = 0;
1388
+ var last = tmp0_map.length;
1389
+ while (inductionVariable < last) {
1390
+ var item = tmp0_map[inductionVariable];
1391
+ inductionVariable = inductionVariable + 1 | 0;
1392
+ var tmp$ret$0;
1393
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1394
+ tmp$ret$0 = consume_2(item);
1395
+ tmp0_mapTo.s(tmp$ret$0);
1396
+ }
1397
+ var tmp_1 = tmp0_mapTo;
1398
+ // Inline function 'kotlin.collections.map' call
1399
+ var tmp1_map = _this__u8e3s4.query;
1400
+ // Inline function 'kotlin.collections.mapTo' call
1401
+ var tmp0_mapTo_0 = ArrayList_init_$Create$(tmp1_map.length);
1402
+ var inductionVariable_0 = 0;
1403
+ var last_0 = tmp1_map.length;
1404
+ while (inductionVariable_0 < last_0) {
1405
+ var item_0 = tmp1_map[inductionVariable_0];
1406
+ inductionVariable_0 = inductionVariable_0 + 1 | 0;
1407
+ var tmp$ret$3;
1408
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1409
+ tmp$ret$3 = consume_3(item_0);
1410
+ tmp0_mapTo_0.s(tmp$ret$3);
1411
+ }
1412
+ var tmp_2 = tmp0_mapTo_0;
1413
+ // Inline function 'kotlin.collections.map' call
1414
+ var tmp2_map = _this__u8e3s4.query;
1415
+ // Inline function 'kotlin.collections.mapTo' call
1416
+ var tmp0_mapTo_1 = ArrayList_init_$Create$(tmp2_map.length);
1417
+ var inductionVariable_1 = 0;
1418
+ var last_1 = tmp2_map.length;
1419
+ while (inductionVariable_1 < last_1) {
1420
+ var item_1 = tmp2_map[inductionVariable_1];
1421
+ inductionVariable_1 = inductionVariable_1 + 1 | 0;
1422
+ var tmp$ret$6;
1423
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1424
+ tmp$ret$6 = consume_3(item_1);
1425
+ tmp0_mapTo_1.s(tmp$ret$6);
1426
+ }
1427
+ var tmp_3 = tmp0_mapTo_1;
1428
+ // Inline function 'kotlin.collections.map' call
1429
+ var tmp3_map = _this__u8e3s4.query;
1430
+ // Inline function 'kotlin.collections.mapTo' call
1431
+ var tmp0_mapTo_2 = ArrayList_init_$Create$(tmp3_map.length);
1432
+ var inductionVariable_2 = 0;
1433
+ var last_2 = tmp3_map.length;
1434
+ while (inductionVariable_2 < last_2) {
1435
+ var item_2 = tmp3_map[inductionVariable_2];
1436
+ inductionVariable_2 = inductionVariable_2 + 1 | 0;
1437
+ var tmp$ret$9;
1438
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1439
+ tmp$ret$9 = consume_3(item_2);
1440
+ tmp0_mapTo_2.s(tmp$ret$9);
1441
+ }
1442
+ var tmp_4 = tmp0_mapTo_2;
1443
+ // Inline function 'kotlin.collections.map' call
1444
+ var tmp4_map = _this__u8e3s4.requests;
1445
+ // Inline function 'kotlin.collections.mapTo' call
1446
+ var tmp0_mapTo_3 = ArrayList_init_$Create$(tmp4_map.length);
1447
+ var inductionVariable_3 = 0;
1448
+ var last_3 = tmp4_map.length;
1449
+ while (inductionVariable_3 < last_3) {
1450
+ var item_3 = tmp4_map[inductionVariable_3];
1451
+ inductionVariable_3 = inductionVariable_3 + 1 | 0;
1452
+ var tmp$ret$12;
1453
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1454
+ tmp$ret$12 = consume_4(item_3);
1455
+ tmp0_mapTo_3.s(tmp$ret$12);
1456
+ }
1457
+ var tmp_5 = tmp0_mapTo_3;
1458
+ // Inline function 'kotlin.collections.map' call
1459
+ var tmp5_map = _this__u8e3s4.responses;
1460
+ // Inline function 'kotlin.collections.mapTo' call
1461
+ var tmp0_mapTo_4 = ArrayList_init_$Create$(tmp5_map.length);
1462
+ var inductionVariable_4 = 0;
1463
+ var last_4 = tmp5_map.length;
1464
+ while (inductionVariable_4 < last_4) {
1465
+ var item_4 = tmp5_map[inductionVariable_4];
1466
+ inductionVariable_4 = inductionVariable_4 + 1 | 0;
1467
+ var tmp$ret$15;
1468
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1469
+ tmp$ret$15 = consume_5(item_4);
1470
+ tmp0_mapTo_4.s(tmp$ret$15);
1471
+ }
1472
+ return new Endpoint(null, tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp0_mapTo_4);
1473
+ }
1474
+ function consume_1(_this__u8e3s4) {
1475
+ var tmp;
1476
+ switch (_this__u8e3s4.d9_1) {
1477
+ case 0:
1478
+ tmp = Method_GET_getInstance();
1479
+ break;
1480
+ case 1:
1481
+ tmp = Method_POST_getInstance();
1482
+ break;
1483
+ case 2:
1484
+ tmp = Method_PUT_getInstance();
1485
+ break;
1486
+ case 3:
1487
+ tmp = Method_DELETE_getInstance();
1488
+ break;
1489
+ case 4:
1490
+ tmp = Method_OPTIONS_getInstance();
1491
+ break;
1492
+ case 5:
1493
+ tmp = Method_HEAD_getInstance();
1494
+ break;
1495
+ case 6:
1496
+ tmp = Method_PATCH_getInstance();
1497
+ break;
1498
+ case 7:
1499
+ tmp = Method_TRACE_getInstance();
1500
+ break;
1501
+ default:
1502
+ noWhenBranchMatchedException();
1503
+ break;
1504
+ }
1505
+ return tmp;
1506
+ }
1507
+ function consume_2(_this__u8e3s4) {
1508
+ var tmp;
1509
+ if (_this__u8e3s4 instanceof WsLiteral) {
1510
+ tmp = new Literal(_this__u8e3s4.value);
1511
+ } else {
1512
+ if (_this__u8e3s4 instanceof WsParam) {
1513
+ tmp = new Param(consume_6(_this__u8e3s4.identifier), consume_7(_this__u8e3s4.reference));
1514
+ } else {
1515
+ noWhenBranchMatchedException();
1516
+ }
1517
+ }
1518
+ return tmp;
1519
+ }
1520
+ function consume_3(_this__u8e3s4) {
1521
+ return new Field(consume_6(_this__u8e3s4.identifier), consume_7(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1522
+ }
1523
+ function consume_4(_this__u8e3s4) {
1524
+ var tmp0_safe_receiver = _this__u8e3s4.content;
1525
+ return new Request(tmp0_safe_receiver == null ? null : consume_8(tmp0_safe_receiver));
1526
+ }
1527
+ function consume_5(_this__u8e3s4) {
1528
+ // Inline function 'kotlin.collections.map' call
1529
+ var tmp0_map = _this__u8e3s4.headers;
1530
+ // Inline function 'kotlin.collections.mapTo' call
1531
+ var tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.length);
1532
+ var inductionVariable = 0;
1533
+ var last = tmp0_map.length;
1534
+ while (inductionVariable < last) {
1535
+ var item = tmp0_map[inductionVariable];
1536
+ inductionVariable = inductionVariable + 1 | 0;
1537
+ var tmp$ret$0;
1538
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1539
+ tmp$ret$0 = consume_3(item);
1540
+ tmp0_mapTo.s(tmp$ret$0);
1541
+ }
1542
+ var tmp = tmp0_mapTo;
1543
+ var tmp0_safe_receiver = _this__u8e3s4.content;
1544
+ return new Response(_this__u8e3s4.status, tmp, tmp0_safe_receiver == null ? null : consume_8(tmp0_safe_receiver));
1545
+ }
1546
+ function consume_6(_this__u8e3s4) {
1547
+ return Companion_getInstance().f28(_this__u8e3s4.value);
1548
+ }
1549
+ function consume_7(_this__u8e3s4) {
1550
+ var tmp;
1551
+ if (_this__u8e3s4 instanceof WsAny) {
1552
+ tmp = new Any(_this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1553
+ } else {
1554
+ if (_this__u8e3s4 instanceof WsUnit) {
1555
+ tmp = new Unit(_this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1556
+ } else {
1557
+ if (_this__u8e3s4 instanceof WsCustom) {
1558
+ tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1559
+ } else {
1560
+ if (_this__u8e3s4 instanceof WsPrimitive) {
1561
+ tmp = new Primitive(consume_9(_this__u8e3s4.type), _this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1562
+ } else {
1563
+ noWhenBranchMatchedException();
1564
+ }
1565
+ }
1566
+ }
1567
+ }
1568
+ return tmp;
1569
+ }
1570
+ function consume_8(_this__u8e3s4) {
1571
+ return new Content(_this__u8e3s4.type, consume_7(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1572
+ }
1573
+ function consume_9(_this__u8e3s4) {
1574
+ var tmp;
1575
+ switch (_this__u8e3s4.d9_1) {
1576
+ case 0:
1577
+ tmp = Type_String_getInstance();
1578
+ break;
1579
+ case 1:
1580
+ tmp = Type_Integer_getInstance();
1581
+ break;
1582
+ case 2:
1583
+ tmp = Type_Number_getInstance();
1584
+ break;
1585
+ case 3:
1586
+ tmp = Type_Boolean_getInstance();
1587
+ break;
1588
+ default:
1589
+ noWhenBranchMatchedException();
1590
+ break;
1591
+ }
1592
+ return tmp;
1312
1593
  }
1313
1594
  function WsMethod_GET_getInstance() {
1314
1595
  WsMethod_initEntries();
@@ -1366,121 +1647,121 @@
1366
1647
  var tmp = this;
1367
1648
  tmp.logger = new Compiler$Companion$logger$1();
1368
1649
  }
1369
- protoOf(Companion).p25 = function () {
1650
+ protoOf(Companion).o2e = function () {
1370
1651
  return this.logger;
1371
1652
  };
1372
1653
  var Companion_instance;
1373
- function Companion_getInstance_1() {
1654
+ function Companion_getInstance_2() {
1374
1655
  if (Companion_instance == null)
1375
1656
  new Companion();
1376
1657
  return Companion_instance;
1377
1658
  }
1378
1659
  function Compiler() {
1379
- Companion_getInstance_1();
1660
+ Companion_getInstance_2();
1380
1661
  }
1381
1662
  protoOf(Compiler).preCompile = function (source) {
1382
- return compile(WirespecSpec_getInstance(), source)(Companion_getInstance_1().logger);
1663
+ return compile(WirespecSpec_getInstance(), source)(Companion_getInstance_2().logger);
1383
1664
  };
1384
1665
  protoOf(Compiler).tokenize = function (source) {
1385
- return produce_17(tokenize(WirespecSpec_getInstance(), source));
1666
+ return produce_18(tokenize(WirespecSpec_getInstance(), source));
1386
1667
  };
1387
1668
  protoOf(Compiler).parse = function (source) {
1388
1669
  // Inline function 'kotlin.let' call
1389
1670
  var tmp0_let = tokenize(WirespecSpec_getInstance(), source);
1390
1671
  // Inline function 'kotlin.contracts.contract' call
1391
1672
  // Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
1392
- return produce_14((new Parser(Companion_getInstance_1().logger)).v1r(tmp0_let));
1673
+ return produce_14((new Parser(Companion_getInstance_2().logger)).h20(tmp0_let));
1393
1674
  };
1394
1675
  function Companion_0() {
1395
1676
  Companion_instance_0 = this;
1396
- this.q25_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
1677
+ this.p2e_1 = new KotlinEmitter(VOID, Companion_getInstance_2().logger);
1397
1678
  }
1398
1679
  var Companion_instance_0;
1399
- function Companion_getInstance_2() {
1680
+ function Companion_getInstance_3() {
1400
1681
  if (Companion_instance_0 == null)
1401
1682
  new Companion_0();
1402
1683
  return Companion_instance_0;
1403
1684
  }
1404
1685
  function WsToKotlin() {
1405
- Companion_getInstance_2();
1686
+ Companion_getInstance_3();
1406
1687
  Compiler.call(this);
1407
1688
  }
1408
1689
  protoOf(WsToKotlin).compile = function (source) {
1409
- return produce_15(this.preCompile(source)(Companion_getInstance_2().q25_1));
1690
+ return produce_15(this.preCompile(source)(Companion_getInstance_3().p2e_1));
1410
1691
  };
1411
1692
  function Companion_1() {
1412
1693
  Companion_instance_1 = this;
1413
- this.r25_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
1694
+ this.q2e_1 = new TypeScriptEmitter(Companion_getInstance_2().logger);
1414
1695
  }
1415
1696
  var Companion_instance_1;
1416
- function Companion_getInstance_3() {
1697
+ function Companion_getInstance_4() {
1417
1698
  if (Companion_instance_1 == null)
1418
1699
  new Companion_1();
1419
1700
  return Companion_instance_1;
1420
1701
  }
1421
1702
  function WsToTypeScript() {
1422
- Companion_getInstance_3();
1703
+ Companion_getInstance_4();
1423
1704
  Compiler.call(this);
1424
1705
  }
1425
1706
  protoOf(WsToTypeScript).compile = function (source) {
1426
- return produce_15(this.preCompile(source)(Companion_getInstance_3().r25_1));
1707
+ return produce_15(this.preCompile(source)(Companion_getInstance_4().q2e_1));
1427
1708
  };
1428
1709
  function Companion_2() {
1429
1710
  Companion_instance_2 = this;
1430
- this.s25_1 = new ScalaEmitter(VOID, Companion_getInstance_1().logger);
1711
+ this.r2e_1 = new ScalaEmitter(VOID, Companion_getInstance_2().logger);
1431
1712
  }
1432
1713
  var Companion_instance_2;
1433
- function Companion_getInstance_4() {
1714
+ function Companion_getInstance_5() {
1434
1715
  if (Companion_instance_2 == null)
1435
1716
  new Companion_2();
1436
1717
  return Companion_instance_2;
1437
1718
  }
1438
1719
  function WsToScala() {
1439
- Companion_getInstance_4();
1720
+ Companion_getInstance_5();
1440
1721
  Compiler.call(this);
1441
1722
  }
1442
1723
  protoOf(WsToScala).compile = function (source) {
1443
- return produce_15(this.preCompile(source)(Companion_getInstance_4().s25_1));
1724
+ return produce_15(this.preCompile(source)(Companion_getInstance_5().r2e_1));
1444
1725
  };
1445
1726
  function Companion_3() {
1446
1727
  Companion_instance_3 = this;
1447
- this.t25_1 = new JavaEmitter(VOID, Companion_getInstance_1().logger);
1728
+ this.s2e_1 = new JavaEmitter(VOID, Companion_getInstance_2().logger);
1448
1729
  }
1449
1730
  var Companion_instance_3;
1450
- function Companion_getInstance_5() {
1731
+ function Companion_getInstance_6() {
1451
1732
  if (Companion_instance_3 == null)
1452
1733
  new Companion_3();
1453
1734
  return Companion_instance_3;
1454
1735
  }
1455
1736
  function WsToJava() {
1456
- Companion_getInstance_5();
1737
+ Companion_getInstance_6();
1457
1738
  Compiler.call(this);
1458
1739
  }
1459
1740
  protoOf(WsToJava).compile = function (source) {
1460
- return produce_15(this.preCompile(source)(Companion_getInstance_5().t25_1));
1741
+ return produce_15(this.preCompile(source)(Companion_getInstance_6().s2e_1));
1461
1742
  };
1462
1743
  function Companion_4() {
1463
1744
  Companion_instance_4 = this;
1464
- this.u25_1 = new WirespecEmitter(Companion_getInstance_1().logger);
1745
+ this.t2e_1 = new WirespecEmitter(Companion_getInstance_2().logger);
1465
1746
  }
1466
1747
  var Companion_instance_4;
1467
- function Companion_getInstance_6() {
1748
+ function Companion_getInstance_7() {
1468
1749
  if (Companion_instance_4 == null)
1469
1750
  new Companion_4();
1470
1751
  return Companion_instance_4;
1471
1752
  }
1472
1753
  function WsToWirespec() {
1473
- Companion_getInstance_6();
1754
+ Companion_getInstance_7();
1474
1755
  Compiler.call(this);
1475
1756
  }
1476
1757
  protoOf(WsToWirespec).compile = function (source) {
1477
- return produce_15(this.preCompile(source)(Companion_getInstance_6().u25_1));
1758
+ return produce_15(this.preCompile(source)(Companion_getInstance_7().t2e_1));
1478
1759
  };
1479
1760
  function OpenApiV2Parser() {
1480
1761
  OpenApiV2Parser_instance = this;
1481
1762
  }
1482
1763
  protoOf(OpenApiV2Parser).parse = function (source) {
1483
- return produce(Companion_getInstance().u22(source));
1764
+ return produce(Companion_getInstance_0().q2b(source));
1484
1765
  };
1485
1766
  var OpenApiV2Parser_instance;
1486
1767
  function OpenApiV2Parser_getInstance() {
@@ -1495,16 +1776,16 @@
1495
1776
  OpenApiV2ToTypescript_instance = this;
1496
1777
  var tmp = this;
1497
1778
  tmp.logger = new OpenApiV2ToTypescript$logger$1();
1498
- this.v25_1 = new TypeScriptEmitter(this.logger);
1779
+ this.u2e_1 = new TypeScriptEmitter(this.logger);
1499
1780
  }
1500
- protoOf(OpenApiV2ToTypescript).p25 = function () {
1781
+ protoOf(OpenApiV2ToTypescript).o2e = function () {
1501
1782
  return this.logger;
1502
1783
  };
1503
1784
  protoOf(OpenApiV2ToTypescript).compile = function (source) {
1504
- var ast = Companion_getInstance().u22(source);
1785
+ var ast = Companion_getInstance_0().q2b(source);
1505
1786
  // Inline function 'kotlin.collections.toTypedArray' call
1506
1787
  // Inline function 'kotlin.collections.map' call
1507
- var tmp0_map = this.v25_1.q1r(ast);
1788
+ var tmp0_map = this.u2e_1.c20(ast);
1508
1789
  // Inline function 'kotlin.collections.mapTo' call
1509
1790
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1510
1791
  var tmp0_iterator = tmp0_map.v();
@@ -1512,8 +1793,8 @@
1512
1793
  var item = tmp0_iterator.y();
1513
1794
  var tmp$ret$0;
1514
1795
  // Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToTypescript.compile.<anonymous>' call
1515
- var file = item.fd();
1516
- var value = item.gd();
1796
+ var file = item.gd();
1797
+ var value = item.hd();
1517
1798
  tmp$ret$0 = new WsCompiledFile(file, value);
1518
1799
  tmp0_mapTo.s(tmp$ret$0);
1519
1800
  }
@@ -1532,16 +1813,16 @@
1532
1813
  OpenApiV2ToWirespec_instance = this;
1533
1814
  var tmp = this;
1534
1815
  tmp.logger = new OpenApiV2ToWirespec$logger$1();
1535
- this.w25_1 = new WirespecEmitter(this.logger);
1816
+ this.v2e_1 = new WirespecEmitter(this.logger);
1536
1817
  }
1537
- protoOf(OpenApiV2ToWirespec).p25 = function () {
1818
+ protoOf(OpenApiV2ToWirespec).o2e = function () {
1538
1819
  return this.logger;
1539
1820
  };
1540
1821
  protoOf(OpenApiV2ToWirespec).compile = function (source) {
1541
- var ast = Companion_getInstance().u22(source);
1822
+ var ast = Companion_getInstance_0().q2b(source);
1542
1823
  // Inline function 'kotlin.collections.toTypedArray' call
1543
1824
  // Inline function 'kotlin.collections.map' call
1544
- var tmp0_map = this.w25_1.q1r(ast);
1825
+ var tmp0_map = this.v2e_1.c20(ast);
1545
1826
  // Inline function 'kotlin.collections.mapTo' call
1546
1827
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1547
1828
  var tmp0_iterator = tmp0_map.v();
@@ -1549,8 +1830,8 @@
1549
1830
  var item = tmp0_iterator.y();
1550
1831
  var tmp$ret$0;
1551
1832
  // Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToWirespec.compile.<anonymous>' call
1552
- var file = item.fd();
1553
- var value = item.gd();
1833
+ var file = item.gd();
1834
+ var value = item.hd();
1554
1835
  tmp$ret$0 = new WsCompiledFile(file, value);
1555
1836
  tmp0_mapTo.s(tmp$ret$0);
1556
1837
  }
@@ -1566,7 +1847,7 @@
1566
1847
  OpenApiV3Parser_instance = this;
1567
1848
  }
1568
1849
  protoOf(OpenApiV3Parser).parse = function (source) {
1569
- return produce(Companion_getInstance_0().h23(source));
1850
+ return produce(Companion_getInstance_1().h2c(source));
1570
1851
  };
1571
1852
  var OpenApiV3Parser_instance;
1572
1853
  function OpenApiV3Parser_getInstance() {
@@ -1581,16 +1862,16 @@
1581
1862
  OpenApiV3ToTypescript_instance = this;
1582
1863
  var tmp = this;
1583
1864
  tmp.logger = new OpenApiV3ToTypescript$logger$1();
1584
- this.x25_1 = new TypeScriptEmitter(this.logger);
1865
+ this.w2e_1 = new TypeScriptEmitter(this.logger);
1585
1866
  }
1586
- protoOf(OpenApiV3ToTypescript).p25 = function () {
1867
+ protoOf(OpenApiV3ToTypescript).o2e = function () {
1587
1868
  return this.logger;
1588
1869
  };
1589
1870
  protoOf(OpenApiV3ToTypescript).compile = function (source) {
1590
- var ast = Companion_getInstance_0().h23(source);
1871
+ var ast = Companion_getInstance_1().h2c(source);
1591
1872
  // Inline function 'kotlin.collections.toTypedArray' call
1592
1873
  // Inline function 'kotlin.collections.map' call
1593
- var tmp0_map = this.x25_1.q1r(ast);
1874
+ var tmp0_map = this.w2e_1.c20(ast);
1594
1875
  // Inline function 'kotlin.collections.mapTo' call
1595
1876
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1596
1877
  var tmp0_iterator = tmp0_map.v();
@@ -1598,8 +1879,8 @@
1598
1879
  var item = tmp0_iterator.y();
1599
1880
  var tmp$ret$0;
1600
1881
  // Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
1601
- var file = item.fd();
1602
- var value = item.gd();
1882
+ var file = item.gd();
1883
+ var value = item.hd();
1603
1884
  tmp$ret$0 = new WsCompiledFile(file, value);
1604
1885
  tmp0_mapTo.s(tmp$ret$0);
1605
1886
  }
@@ -1618,16 +1899,16 @@
1618
1899
  OpenApiV3ToWirespec_instance = this;
1619
1900
  var tmp = this;
1620
1901
  tmp.logger = new OpenApiV3ToWirespec$logger$1();
1621
- this.y25_1 = new WirespecEmitter(this.logger);
1902
+ this.x2e_1 = new WirespecEmitter(this.logger);
1622
1903
  }
1623
- protoOf(OpenApiV3ToWirespec).p25 = function () {
1904
+ protoOf(OpenApiV3ToWirespec).o2e = function () {
1624
1905
  return this.logger;
1625
1906
  };
1626
1907
  protoOf(OpenApiV3ToWirespec).compile = function (source) {
1627
- var ast = Companion_getInstance_0().h23(source);
1908
+ var ast = Companion_getInstance_1().h2c(source);
1628
1909
  // Inline function 'kotlin.collections.toTypedArray' call
1629
1910
  // Inline function 'kotlin.collections.map' call
1630
- var tmp0_map = this.y25_1.q1r(ast);
1911
+ var tmp0_map = this.x2e_1.c20(ast);
1631
1912
  // Inline function 'kotlin.collections.mapTo' call
1632
1913
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1633
1914
  var tmp0_iterator = tmp0_map.v();
@@ -1635,8 +1916,8 @@
1635
1916
  var item = tmp0_iterator.y();
1636
1917
  var tmp$ret$0;
1637
1918
  // Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToWirespec.compile.<anonymous>' call
1638
- var file = item.fd();
1639
- var value = item.gd();
1919
+ var file = item.gd();
1920
+ var value = item.hd();
1640
1921
  tmp$ret$0 = new WsCompiledFile(file, value);
1641
1922
  tmp0_mapTo.s(tmp$ret$0);
1642
1923
  }
@@ -1661,10 +1942,10 @@
1661
1942
  this.result = result;
1662
1943
  this.errors = errors;
1663
1944
  }
1664
- protoOf(WsCompilationResult).z25 = function () {
1945
+ protoOf(WsCompilationResult).y2e = function () {
1665
1946
  return this.result;
1666
1947
  };
1667
- protoOf(WsCompilationResult).a26 = function () {
1948
+ protoOf(WsCompilationResult).z2e = function () {
1668
1949
  return this.errors;
1669
1950
  };
1670
1951
  function WsCompiled(value) {
@@ -1677,7 +1958,7 @@
1677
1958
  this.name = name;
1678
1959
  this.value = value;
1679
1960
  }
1680
- protoOf(WsCompiledFile).va = function () {
1961
+ protoOf(WsCompiledFile).wa = function () {
1681
1962
  return this.name;
1682
1963
  };
1683
1964
  protoOf(WsCompiledFile).p2 = function () {
@@ -1689,10 +1970,10 @@
1689
1970
  this.result = result;
1690
1971
  this.errors = errors;
1691
1972
  }
1692
- protoOf(WsParseResult).z25 = function () {
1973
+ protoOf(WsParseResult).y2e = function () {
1693
1974
  return this.result;
1694
1975
  };
1695
- protoOf(WsParseResult).a26 = function () {
1976
+ protoOf(WsParseResult).z2e = function () {
1696
1977
  return this.errors;
1697
1978
  };
1698
1979
  function WsStringResult(result, errors) {
@@ -1701,24 +1982,34 @@
1701
1982
  this.result = result;
1702
1983
  this.errors = errors;
1703
1984
  }
1704
- protoOf(WsStringResult).z25 = function () {
1985
+ protoOf(WsStringResult).y2e = function () {
1705
1986
  return this.result;
1706
1987
  };
1707
- protoOf(WsStringResult).a26 = function () {
1988
+ protoOf(WsStringResult).z2e = function () {
1708
1989
  return this.errors;
1709
1990
  };
1991
+ function WsEmitted(typeName, result) {
1992
+ this.typeName = typeName;
1993
+ this.result = result;
1994
+ }
1995
+ protoOf(WsEmitted).a2f = function () {
1996
+ return this.typeName;
1997
+ };
1998
+ protoOf(WsEmitted).y2e = function () {
1999
+ return this.result;
2000
+ };
1710
2001
  function produce_14(_this__u8e3s4) {
1711
2002
  var tmp;
1712
2003
  if (_this__u8e3s4 instanceof Left) {
1713
2004
  var tmp$ret$5;
1714
2005
  // Inline function 'kotlin.collections.toTypedArray' call
1715
2006
  // Inline function 'arrow.core.NonEmptyList.map' call
1716
- var tmp0_map = _this__u8e3s4.j1q_1;
2007
+ var tmp0_map = _this__u8e3s4.v1y_1;
1717
2008
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1718
- var tmp1_anonymous = tmp0_map.t1q_1;
1719
- var tmp_0 = produce_21(tmp1_anonymous);
2009
+ var tmp1_anonymous = tmp0_map.f1z_1;
2010
+ var tmp_0 = produce_22(tmp1_anonymous);
1720
2011
  // Inline function 'kotlin.collections.map' call
1721
- var tmp0_map_0 = tmp0_map.u1q_1;
2012
+ var tmp0_map_0 = tmp0_map.g1z_1;
1722
2013
  // Inline function 'kotlin.collections.mapTo' call
1723
2014
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
1724
2015
  var tmp0_iterator = tmp0_map_0.v();
@@ -1726,7 +2017,7 @@
1726
2017
  var item = tmp0_iterator.y();
1727
2018
  var tmp$ret$1;
1728
2019
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1729
- tmp$ret$1 = produce_21(item);
2020
+ tmp$ret$1 = produce_22(item);
1730
2021
  tmp0_mapTo.s(tmp$ret$1);
1731
2022
  }
1732
2023
  var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
@@ -1737,7 +2028,7 @@
1737
2028
  var tmp$ret$9;
1738
2029
  // Inline function 'kotlin.collections.toTypedArray' call
1739
2030
  // Inline function 'kotlin.collections.map' call
1740
- var tmp3_map = _this__u8e3s4.p1q_1;
2031
+ var tmp3_map = _this__u8e3s4.b1z_1;
1741
2032
  // Inline function 'kotlin.collections.mapTo' call
1742
2033
  var tmp0_mapTo_0 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp3_map, 10));
1743
2034
  var tmp0_iterator_0 = tmp3_map.v();
@@ -1762,12 +2053,12 @@
1762
2053
  var tmp$ret$5;
1763
2054
  // Inline function 'kotlin.collections.toTypedArray' call
1764
2055
  // Inline function 'arrow.core.NonEmptyList.map' call
1765
- var tmp0_map = _this__u8e3s4.j1q_1;
2056
+ var tmp0_map = _this__u8e3s4.v1y_1;
1766
2057
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1767
- var tmp1_anonymous = tmp0_map.t1q_1;
1768
- var tmp_0 = produce_21(tmp1_anonymous);
2058
+ var tmp1_anonymous = tmp0_map.f1z_1;
2059
+ var tmp_0 = produce_22(tmp1_anonymous);
1769
2060
  // Inline function 'kotlin.collections.map' call
1770
- var tmp0_map_0 = tmp0_map.u1q_1;
2061
+ var tmp0_map_0 = tmp0_map.g1z_1;
1771
2062
  // Inline function 'kotlin.collections.mapTo' call
1772
2063
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
1773
2064
  var tmp0_iterator = tmp0_map_0.v();
@@ -1775,7 +2066,7 @@
1775
2066
  var item = tmp0_iterator.y();
1776
2067
  var tmp$ret$1;
1777
2068
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1778
- tmp$ret$1 = produce_21(item);
2069
+ tmp$ret$1 = produce_22(item);
1779
2070
  tmp0_mapTo.s(tmp$ret$1);
1780
2071
  }
1781
2072
  var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
@@ -1783,7 +2074,22 @@
1783
2074
  tmp = new WsCompilationResult(VOID, tmp$ret$5);
1784
2075
  } else {
1785
2076
  if (_this__u8e3s4 instanceof Right) {
1786
- tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.p1q_1).b1t_1));
2077
+ var tmp$ret$9;
2078
+ // Inline function 'kotlin.collections.toTypedArray' call
2079
+ // Inline function 'kotlin.collections.map' call
2080
+ var tmp3_map = _this__u8e3s4.b1z_1;
2081
+ // Inline function 'kotlin.collections.mapTo' call
2082
+ var tmp0_mapTo_0 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp3_map, 10));
2083
+ var tmp0_iterator_0 = tmp3_map.v();
2084
+ while (tmp0_iterator_0.w()) {
2085
+ var item_0 = tmp0_iterator_0.y();
2086
+ var tmp$ret$6;
2087
+ // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
2088
+ tmp$ret$6 = produce_16(item_0);
2089
+ tmp0_mapTo_0.s(tmp$ret$6);
2090
+ }
2091
+ tmp$ret$9 = copyToArray(tmp0_mapTo_0);
2092
+ tmp = new WsCompilationResult(new WsCompiled(tmp$ret$9));
1787
2093
  } else {
1788
2094
  noWhenBranchMatchedException();
1789
2095
  }
@@ -1791,17 +2097,20 @@
1791
2097
  return tmp;
1792
2098
  }
1793
2099
  function produce_16(_this__u8e3s4) {
2100
+ return new WsEmitted(_this__u8e3s4.o21_1, _this__u8e3s4.p21_1);
2101
+ }
2102
+ function produce_17(_this__u8e3s4) {
1794
2103
  var tmp;
1795
2104
  if (_this__u8e3s4 instanceof Left) {
1796
2105
  var tmp$ret$5;
1797
2106
  // Inline function 'kotlin.collections.toTypedArray' call
1798
2107
  // Inline function 'arrow.core.NonEmptyList.map' call
1799
- var tmp0_map = _this__u8e3s4.j1q_1;
2108
+ var tmp0_map = _this__u8e3s4.v1y_1;
1800
2109
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1801
- var tmp1_anonymous = tmp0_map.t1q_1;
1802
- var tmp_0 = produce_21(tmp1_anonymous);
2110
+ var tmp1_anonymous = tmp0_map.f1z_1;
2111
+ var tmp_0 = produce_22(tmp1_anonymous);
1803
2112
  // Inline function 'kotlin.collections.map' call
1804
- var tmp0_map_0 = tmp0_map.u1q_1;
2113
+ var tmp0_map_0 = tmp0_map.g1z_1;
1805
2114
  // Inline function 'kotlin.collections.mapTo' call
1806
2115
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
1807
2116
  var tmp0_iterator = tmp0_map_0.v();
@@ -1809,7 +2118,7 @@
1809
2118
  var item = tmp0_iterator.y();
1810
2119
  var tmp$ret$1;
1811
2120
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
1812
- tmp$ret$1 = produce_21(item);
2121
+ tmp$ret$1 = produce_22(item);
1813
2122
  tmp0_mapTo.s(tmp$ret$1);
1814
2123
  }
1815
2124
  var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
@@ -1817,7 +2126,7 @@
1817
2126
  tmp = new WsStringResult(VOID, tmp$ret$5);
1818
2127
  } else {
1819
2128
  if (_this__u8e3s4 instanceof Right) {
1820
- tmp = new WsStringResult(_this__u8e3s4.p1q_1);
2129
+ tmp = new WsStringResult(_this__u8e3s4.b1z_1);
1821
2130
  } else {
1822
2131
  noWhenBranchMatchedException();
1823
2132
  }
@@ -1830,25 +2139,25 @@
1830
2139
  this.tokens = tokens;
1831
2140
  this.error = error;
1832
2141
  }
1833
- protoOf(WsTokenResult).b26 = function () {
2142
+ protoOf(WsTokenResult).b2f = function () {
1834
2143
  return this.tokens;
1835
2144
  };
1836
- protoOf(WsTokenResult).c26 = function () {
2145
+ protoOf(WsTokenResult).c2f = function () {
1837
2146
  return this.error;
1838
2147
  };
1839
- protoOf(WsTokenResult).fd = function () {
2148
+ protoOf(WsTokenResult).gd = function () {
1840
2149
  return this.tokens;
1841
2150
  };
1842
- protoOf(WsTokenResult).gd = function () {
2151
+ protoOf(WsTokenResult).hd = function () {
1843
2152
  return this.error;
1844
2153
  };
1845
- protoOf(WsTokenResult).d26 = function (tokens, error) {
2154
+ protoOf(WsTokenResult).d2f = function (tokens, error) {
1846
2155
  return new WsTokenResult(tokens, error);
1847
2156
  };
1848
2157
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
1849
2158
  tokens = tokens === VOID ? this.tokens : tokens;
1850
2159
  error = error === VOID ? this.error : error;
1851
- return this.d26(tokens, error);
2160
+ return this.d2f(tokens, error);
1852
2161
  };
1853
2162
  protoOf(WsTokenResult).toString = function () {
1854
2163
  return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
@@ -1890,15 +2199,15 @@
1890
2199
  protoOf(WsTokens).hashCode = function () {
1891
2200
  return contentHashCode(this.value);
1892
2201
  };
1893
- protoOf(WsTokens).fd = function () {
2202
+ protoOf(WsTokens).gd = function () {
1894
2203
  return this.value;
1895
2204
  };
1896
- protoOf(WsTokens).e26 = function (value) {
2205
+ protoOf(WsTokens).e2f = function (value) {
1897
2206
  return new WsTokens(value);
1898
2207
  };
1899
2208
  protoOf(WsTokens).copy = function (value, $super) {
1900
2209
  value = value === VOID ? this.value : value;
1901
- return this.e26(value);
2210
+ return this.e2f(value);
1902
2211
  };
1903
2212
  protoOf(WsTokens).toString = function () {
1904
2213
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -1909,32 +2218,32 @@
1909
2218
  this.value = value;
1910
2219
  this.coordinates = coordinates;
1911
2220
  }
1912
- protoOf(WsToken).h25 = function () {
2221
+ protoOf(WsToken).g2e = function () {
1913
2222
  return this.type;
1914
2223
  };
1915
2224
  protoOf(WsToken).p2 = function () {
1916
2225
  return this.value;
1917
2226
  };
1918
- protoOf(WsToken).f26 = function () {
2227
+ protoOf(WsToken).f2f = function () {
1919
2228
  return this.coordinates;
1920
2229
  };
1921
- protoOf(WsToken).fd = function () {
2230
+ protoOf(WsToken).gd = function () {
1922
2231
  return this.type;
1923
2232
  };
1924
- protoOf(WsToken).gd = function () {
2233
+ protoOf(WsToken).hd = function () {
1925
2234
  return this.value;
1926
2235
  };
1927
- protoOf(WsToken).zg = function () {
2236
+ protoOf(WsToken).ah = function () {
1928
2237
  return this.coordinates;
1929
2238
  };
1930
- protoOf(WsToken).g26 = function (type, value, coordinates) {
2239
+ protoOf(WsToken).g2f = function (type, value, coordinates) {
1931
2240
  return new WsToken(type, value, coordinates);
1932
2241
  };
1933
2242
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
1934
2243
  type = type === VOID ? this.type : type;
1935
2244
  value = value === VOID ? this.value : value;
1936
2245
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
1937
- return this.g26(type, value, coordinates);
2246
+ return this.g2f(type, value, coordinates);
1938
2247
  };
1939
2248
  protoOf(WsToken).toString = function () {
1940
2249
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
@@ -1967,32 +2276,32 @@
1967
2276
  this.position = position;
1968
2277
  this.idxAndLength = idxAndLength;
1969
2278
  }
1970
- protoOf(WsCoordinates).h26 = function () {
2279
+ protoOf(WsCoordinates).h2f = function () {
1971
2280
  return this.line;
1972
2281
  };
1973
- protoOf(WsCoordinates).op = function () {
2282
+ protoOf(WsCoordinates).jr = function () {
1974
2283
  return this.position;
1975
2284
  };
1976
- protoOf(WsCoordinates).i26 = function () {
2285
+ protoOf(WsCoordinates).i2f = function () {
1977
2286
  return this.idxAndLength;
1978
2287
  };
1979
- protoOf(WsCoordinates).fd = function () {
2288
+ protoOf(WsCoordinates).gd = function () {
1980
2289
  return this.line;
1981
2290
  };
1982
- protoOf(WsCoordinates).gd = function () {
2291
+ protoOf(WsCoordinates).hd = function () {
1983
2292
  return this.position;
1984
2293
  };
1985
- protoOf(WsCoordinates).zg = function () {
2294
+ protoOf(WsCoordinates).ah = function () {
1986
2295
  return this.idxAndLength;
1987
2296
  };
1988
- protoOf(WsCoordinates).j26 = function (line, position, idxAndLength) {
2297
+ protoOf(WsCoordinates).j2f = function (line, position, idxAndLength) {
1989
2298
  return new WsCoordinates(line, position, idxAndLength);
1990
2299
  };
1991
2300
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
1992
2301
  line = line === VOID ? this.line : line;
1993
2302
  position = position === VOID ? this.position : position;
1994
2303
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
1995
- return this.j26(line, position, idxAndLength);
2304
+ return this.j2f(line, position, idxAndLength);
1996
2305
  };
1997
2306
  protoOf(WsCoordinates).toString = function () {
1998
2307
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
@@ -2023,25 +2332,25 @@
2023
2332
  this.idx = idx;
2024
2333
  this.length = length;
2025
2334
  }
2026
- protoOf(WsIndex).k26 = function () {
2335
+ protoOf(WsIndex).k2f = function () {
2027
2336
  return this.idx;
2028
2337
  };
2029
2338
  protoOf(WsIndex).a = function () {
2030
2339
  return this.length;
2031
2340
  };
2032
- protoOf(WsIndex).fd = function () {
2341
+ protoOf(WsIndex).gd = function () {
2033
2342
  return this.idx;
2034
2343
  };
2035
- protoOf(WsIndex).gd = function () {
2344
+ protoOf(WsIndex).hd = function () {
2036
2345
  return this.length;
2037
2346
  };
2038
- protoOf(WsIndex).l26 = function (idx, length) {
2347
+ protoOf(WsIndex).l2f = function (idx, length) {
2039
2348
  return new WsIndex(idx, length);
2040
2349
  };
2041
2350
  protoOf(WsIndex).copy = function (idx, length, $super) {
2042
2351
  idx = idx === VOID ? this.idx : idx;
2043
2352
  length = length === VOID ? this.length : length;
2044
- return this.l26(idx, length);
2353
+ return this.l2f(idx, length);
2045
2354
  };
2046
2355
  protoOf(WsIndex).toString = function () {
2047
2356
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -2063,7 +2372,7 @@
2063
2372
  return false;
2064
2373
  return true;
2065
2374
  };
2066
- function produce_17(_this__u8e3s4) {
2375
+ function produce_18(_this__u8e3s4) {
2067
2376
  var tmp$ret$3;
2068
2377
  // Inline function 'kotlin.collections.toTypedArray' call
2069
2378
  // Inline function 'kotlin.collections.map' call
@@ -2074,27 +2383,27 @@
2074
2383
  var item = tmp0_iterator.y();
2075
2384
  var tmp$ret$0;
2076
2385
  // Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
2077
- tmp$ret$0 = produce_18(item);
2386
+ tmp$ret$0 = produce_19(item);
2078
2387
  tmp0_mapTo.s(tmp$ret$0);
2079
2388
  }
2080
2389
  tmp$ret$3 = copyToArray(tmp0_mapTo);
2081
2390
  return new WsTokenResult(new WsTokens(tmp$ret$3));
2082
2391
  }
2083
- function produce_18(_this__u8e3s4) {
2084
- return new WsToken(_this__u8e3s4.y1z_1.a20(), _this__u8e3s4.x1z_1, produce_19(_this__u8e3s4.z1z_1));
2085
- }
2086
2392
  function produce_19(_this__u8e3s4) {
2087
- return new WsCoordinates(_this__u8e3s4.b20_1, _this__u8e3s4.c20_1, produce_20(_this__u8e3s4.d20_1));
2393
+ return new WsToken(_this__u8e3s4.r28_1.t28(), _this__u8e3s4.q28_1, produce_20(_this__u8e3s4.s28_1));
2088
2394
  }
2089
2395
  function produce_20(_this__u8e3s4) {
2090
- return new WsIndex(_this__u8e3s4.m21_1, _this__u8e3s4.n21_1);
2396
+ return new WsCoordinates(_this__u8e3s4.u28_1, _this__u8e3s4.v28_1, produce_21(_this__u8e3s4.w28_1));
2397
+ }
2398
+ function produce_21(_this__u8e3s4) {
2399
+ return new WsIndex(_this__u8e3s4.i2a_1, _this__u8e3s4.j2a_1);
2091
2400
  }
2092
2401
  function WsError(index, length, value) {
2093
2402
  this.index = index;
2094
2403
  this.length = length;
2095
2404
  this.value = value;
2096
2405
  }
2097
- protoOf(WsError).m26 = function () {
2406
+ protoOf(WsError).m2f = function () {
2098
2407
  return this.index;
2099
2408
  };
2100
2409
  protoOf(WsError).a = function () {
@@ -2103,23 +2412,23 @@
2103
2412
  protoOf(WsError).p2 = function () {
2104
2413
  return this.value;
2105
2414
  };
2106
- protoOf(WsError).fd = function () {
2415
+ protoOf(WsError).gd = function () {
2107
2416
  return this.index;
2108
2417
  };
2109
- protoOf(WsError).gd = function () {
2418
+ protoOf(WsError).hd = function () {
2110
2419
  return this.length;
2111
2420
  };
2112
- protoOf(WsError).zg = function () {
2421
+ protoOf(WsError).ah = function () {
2113
2422
  return this.value;
2114
2423
  };
2115
- protoOf(WsError).n26 = function (index, length, value) {
2424
+ protoOf(WsError).n2f = function (index, length, value) {
2116
2425
  return new WsError(index, length, value);
2117
2426
  };
2118
2427
  protoOf(WsError).copy = function (index, length, value, $super) {
2119
2428
  index = index === VOID ? this.index : index;
2120
2429
  length = length === VOID ? this.length : length;
2121
2430
  value = value === VOID ? this.value : value;
2122
- return this.n26(index, length, value);
2431
+ return this.n2f(index, length, value);
2123
2432
  };
2124
2433
  protoOf(WsError).toString = function () {
2125
2434
  return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -2144,55 +2453,55 @@
2144
2453
  return false;
2145
2454
  return true;
2146
2455
  };
2147
- function produce_21(_this__u8e3s4) {
2148
- var tmp = _this__u8e3s4.e20_1.d20_1.m21_1 - _this__u8e3s4.e20_1.d20_1.n21_1 | 0;
2456
+ function produce_22(_this__u8e3s4) {
2457
+ var tmp = _this__u8e3s4.x28_1.w28_1.i2a_1 - _this__u8e3s4.x28_1.w28_1.j2a_1 | 0;
2149
2458
  var tmp0_elvis_lhs = _this__u8e3s4.message;
2150
- return new WsError(tmp, _this__u8e3s4.e20_1.d20_1.n21_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
2459
+ return new WsError(tmp, _this__u8e3s4.x28_1.w28_1.j2a_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
2151
2460
  }
2152
2461
  //region block: post-declaration
2153
2462
  defineProp(protoOf(WsType), 'name', function () {
2154
- return this.va();
2463
+ return this.wa();
2155
2464
  }, VOID);
2156
2465
  defineProp(protoOf(WsEndpoint), 'name', function () {
2157
- return this.va();
2466
+ return this.wa();
2158
2467
  }, VOID);
2159
2468
  defineProp(protoOf(WsEnum), 'name', function () {
2160
- return this.va();
2469
+ return this.wa();
2161
2470
  }, VOID);
2162
2471
  defineProp(protoOf(WsUnion), 'name', function () {
2163
- return this.va();
2472
+ return this.wa();
2164
2473
  }, VOID);
2165
2474
  defineProp(protoOf(WsRefined), 'name', function () {
2166
- return this.va();
2475
+ return this.wa();
2167
2476
  }, VOID);
2168
- defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).va, VOID);
2169
- defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).wa, VOID);
2477
+ defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).wa, VOID);
2478
+ defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).xa, VOID);
2170
2479
  defineProp(protoOf(WsAny), 'isIterable', function () {
2171
- return this.g1s();
2480
+ return this.s20();
2172
2481
  }, VOID);
2173
2482
  defineProp(protoOf(WsAny), 'isMap', function () {
2174
- return this.p1z();
2483
+ return this.h28();
2175
2484
  }, VOID);
2176
2485
  defineProp(protoOf(WsUnit), 'isIterable', function () {
2177
- return this.g1s();
2486
+ return this.s20();
2178
2487
  }, VOID);
2179
2488
  defineProp(protoOf(WsUnit), 'isMap', function () {
2180
- return this.p1z();
2489
+ return this.h28();
2181
2490
  }, VOID);
2182
2491
  defineProp(protoOf(WsCustom), 'isIterable', function () {
2183
- return this.g1s();
2492
+ return this.s20();
2184
2493
  }, VOID);
2185
2494
  defineProp(protoOf(WsCustom), 'isMap', function () {
2186
- return this.p1z();
2495
+ return this.h28();
2187
2496
  }, VOID);
2188
2497
  defineProp(protoOf(WsPrimitive), 'isIterable', function () {
2189
- return this.g1s();
2498
+ return this.s20();
2190
2499
  }, VOID);
2191
2500
  defineProp(protoOf(WsPrimitive), 'isMap', function () {
2192
- return this.p1z();
2501
+ return this.h28();
2193
2502
  }, VOID);
2194
- defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).va, VOID);
2195
- defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).wa, VOID);
2503
+ defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).wa, VOID);
2504
+ defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).xa, VOID);
2196
2505
  //endregion
2197
2506
  //region block: exports
2198
2507
  function $jsExportAll$(_) {
@@ -2243,17 +2552,17 @@
2243
2552
  var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
2244
2553
  var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
2245
2554
  $community$flock$wirespec$compiler$lib.Compiler = Compiler;
2246
- defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance_1, VOID);
2555
+ defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance_2, VOID);
2247
2556
  $community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
2248
- defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance_2, VOID);
2557
+ defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance_3, VOID);
2249
2558
  $community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
2250
- defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_3, VOID);
2559
+ defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_4, VOID);
2251
2560
  $community$flock$wirespec$compiler$lib.WsToScala = WsToScala;
2252
- defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_4, VOID);
2561
+ defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_5, VOID);
2253
2562
  $community$flock$wirespec$compiler$lib.WsToJava = WsToJava;
2254
- defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_5, VOID);
2563
+ defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_6, VOID);
2255
2564
  $community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
2256
- defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_6, VOID);
2565
+ defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_7, VOID);
2257
2566
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance, VOID);
2258
2567
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance, VOID);
2259
2568
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance, VOID);
@@ -2270,6 +2579,7 @@
2270
2579
  $community$flock$wirespec$compiler$lib.WsCompiledFile = WsCompiledFile;
2271
2580
  $community$flock$wirespec$compiler$lib.WsParseResult = WsParseResult;
2272
2581
  $community$flock$wirespec$compiler$lib.WsStringResult = WsStringResult;
2582
+ $community$flock$wirespec$compiler$lib.WsEmitted = WsEmitted;
2273
2583
  var $community = _.community || (_.community = {});
2274
2584
  var $community$flock = $community.flock || ($community.flock = {});
2275
2585
  var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
@@ -2290,9 +2600,11 @@
2290
2600
  $jsExportAll$(_);
2291
2601
  _.$jsExportAll$ = $jsExportAll$;
2292
2602
  _.$_$ = _.$_$ || {};
2293
- _.$_$.a = produce_14;
2294
- _.$_$.b = produce_16;
2295
- _.$_$.c = produce_0;
2603
+ _.$_$.a = consume;
2604
+ _.$_$.b = produce_14;
2605
+ _.$_$.c = produce_17;
2606
+ _.$_$.d = produce_0;
2607
+ _.$_$.e = produce_16;
2296
2608
  //endregion
2297
2609
  return _;
2298
2610
  }));