@flock/wirespec 0.9.6 → 0.9.8

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.
@@ -40,40 +40,47 @@
40
40
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
41
41
  var copyToArray = kotlin_kotlin.$_$.t5;
42
42
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.rf;
43
- var Union = kotlin_community_flock_wirespec_compiler_core.$_$.z;
44
- var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.w;
45
- var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.p;
46
- var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.o;
47
- var Type = kotlin_community_flock_wirespec_compiler_core.$_$.y;
48
- var Param = kotlin_community_flock_wirespec_compiler_core.$_$.n;
49
- var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.m;
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;
71
- var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.e1;
43
+ var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.v1;
44
+ var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.h;
45
+ var Union = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
46
+ var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.y;
47
+ var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.q;
48
+ var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.p;
49
+ var Type = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
50
+ var Param = kotlin_community_flock_wirespec_compiler_core.$_$.o;
51
+ var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.n;
52
+ var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.t;
53
+ var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.s;
54
+ var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.u;
55
+ var Any = kotlin_community_flock_wirespec_compiler_core.$_$.r;
56
+ var _Comment___init__impl__cg8s2u = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
57
+ var Companion_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.x1;
58
+ var toSet = kotlin_kotlin.$_$.m8;
59
+ var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.x;
60
+ var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.z;
61
+ var toSet_0 = kotlin_kotlin.$_$.l8;
62
+ var Method_GET_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
63
+ var Method_POST_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.n1;
64
+ var Method_PUT_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
65
+ var Method_DELETE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.i1;
66
+ var Method_OPTIONS_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.l1;
67
+ var Method_HEAD_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
68
+ var Method_PATCH_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
69
+ var Method_TRACE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.p1;
70
+ var Field = kotlin_community_flock_wirespec_compiler_core.$_$.v;
71
+ var Request = kotlin_community_flock_wirespec_compiler_core.$_$.l;
72
+ var Response = kotlin_community_flock_wirespec_compiler_core.$_$.m;
73
+ var Content = kotlin_community_flock_wirespec_compiler_core.$_$.j;
74
+ var Type_String_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.t1;
75
+ var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
76
+ var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
77
+ var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
78
+ var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
72
79
  var objectMeta = kotlin_kotlin.$_$.na;
73
- var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
74
- var compile = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
75
- var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
76
- var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.v;
80
+ var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.y1;
81
+ var compile = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
82
+ var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
83
+ var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.w;
77
84
  var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
78
85
  var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
79
86
  var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
@@ -99,7 +106,7 @@
99
106
  setMetadataFor(WsSegment, 'WsSegment', interfaceMeta);
100
107
  setMetadataFor(WsLiteral, 'WsLiteral', classMeta, VOID, [WsSegment]);
101
108
  setMetadataFor(WsParam, 'WsParam', classMeta, VOID, [WsSegment]);
102
- setMetadataFor(Shape, 'Shape', classMeta);
109
+ setMetadataFor(Shape_0, 'Shape', classMeta);
103
110
  setMetadataFor(WsField, 'WsField', classMeta);
104
111
  setMetadataFor(WsIdentifier, 'WsIdentifier', classMeta);
105
112
  setMetadataFor(WsReference, 'WsReference', interfaceMeta);
@@ -149,35 +156,44 @@
149
156
  //endregion
150
157
  function WsNode() {
151
158
  }
152
- function WsType(name, shape) {
153
- this.x2c_1 = name;
159
+ function WsType(identifier, comment, shape) {
160
+ this.x2c_1 = identifier;
161
+ this.comment = comment;
154
162
  this.shape = shape;
155
163
  }
156
- protoOf(WsType).wa = function () {
164
+ protoOf(WsType).n21 = function () {
157
165
  return this.x2c_1;
158
166
  };
159
167
  protoOf(WsType).y2c = function () {
168
+ return this.comment;
169
+ };
170
+ protoOf(WsType).z2c = function () {
160
171
  return this.shape;
161
172
  };
162
173
  protoOf(WsType).gd = function () {
163
174
  return this.x2c_1;
164
175
  };
165
176
  protoOf(WsType).hd = function () {
177
+ return this.comment;
178
+ };
179
+ protoOf(WsType).ah = function () {
166
180
  return this.shape;
167
181
  };
168
- protoOf(WsType).z2c = function (name, shape) {
169
- return new WsType(name, shape);
182
+ protoOf(WsType).a2d = function (identifier, comment, shape) {
183
+ return new WsType(identifier, comment, shape);
170
184
  };
171
- protoOf(WsType).copy = function (name, shape, $super) {
172
- name = name === VOID ? this.x2c_1 : name;
185
+ protoOf(WsType).copy = function (identifier, comment, shape, $super) {
186
+ identifier = identifier === VOID ? this.x2c_1 : identifier;
187
+ comment = comment === VOID ? this.comment : comment;
173
188
  shape = shape === VOID ? this.shape : shape;
174
- return this.z2c(name, shape);
189
+ return this.a2d(identifier, comment, shape);
175
190
  };
176
191
  protoOf(WsType).toString = function () {
177
- return 'WsType(name=' + this.x2c_1 + ', shape=' + this.shape + ')';
192
+ return 'WsType(identifier=' + this.x2c_1 + ', comment=' + this.comment + ', shape=' + this.shape + ')';
178
193
  };
179
194
  protoOf(WsType).hashCode = function () {
180
195
  var result = getStringHashCode(this.x2c_1);
196
+ result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
181
197
  result = imul(result, 31) + this.shape.hashCode() | 0;
182
198
  return result;
183
199
  };
@@ -189,6 +205,8 @@
189
205
  var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
190
206
  if (!(this.x2c_1 === tmp0_other_with_cast.x2c_1))
191
207
  return false;
208
+ if (!(this.comment == tmp0_other_with_cast.comment))
209
+ return false;
192
210
  if (!this.shape.equals(tmp0_other_with_cast.shape))
193
211
  return false;
194
212
  return true;
@@ -202,12 +220,12 @@
202
220
  protoOf(WsShape).gd = function () {
203
221
  return this.value;
204
222
  };
205
- protoOf(WsShape).a2d = function (value) {
223
+ protoOf(WsShape).b2d = function (value) {
206
224
  return new WsShape(value);
207
225
  };
208
226
  protoOf(WsShape).copy = function (value, $super) {
209
227
  value = value === VOID ? this.value : value;
210
- return this.a2d(value);
228
+ return this.b2d(value);
211
229
  };
212
230
  protoOf(WsShape).toString = function () {
213
231
  return 'WsShape(value=' + toString(this.value) + ')';
@@ -225,8 +243,9 @@
225
243
  return false;
226
244
  return true;
227
245
  };
228
- function WsEndpoint(name, method, path, query, headers, cookies, requests, responses) {
229
- this.b2d_1 = name;
246
+ function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
247
+ this.c2d_1 = identifier;
248
+ this.comment = comment;
230
249
  this.method = method;
231
250
  this.path = path;
232
251
  this.query = query;
@@ -235,59 +254,66 @@
235
254
  this.requests = requests;
236
255
  this.responses = responses;
237
256
  }
238
- protoOf(WsEndpoint).wa = function () {
239
- return this.b2d_1;
257
+ protoOf(WsEndpoint).n21 = function () {
258
+ return this.c2d_1;
240
259
  };
241
- protoOf(WsEndpoint).c2d = function () {
242
- return this.method;
260
+ protoOf(WsEndpoint).y2c = function () {
261
+ return this.comment;
243
262
  };
244
263
  protoOf(WsEndpoint).d2d = function () {
245
- return this.path;
264
+ return this.method;
246
265
  };
247
266
  protoOf(WsEndpoint).e2d = function () {
248
- return this.query;
267
+ return this.path;
249
268
  };
250
269
  protoOf(WsEndpoint).f2d = function () {
251
- return this.headers;
270
+ return this.query;
252
271
  };
253
272
  protoOf(WsEndpoint).g2d = function () {
254
- return this.cookies;
273
+ return this.headers;
255
274
  };
256
275
  protoOf(WsEndpoint).h2d = function () {
257
- return this.requests;
276
+ return this.cookies;
258
277
  };
259
278
  protoOf(WsEndpoint).i2d = function () {
279
+ return this.requests;
280
+ };
281
+ protoOf(WsEndpoint).j2d = function () {
260
282
  return this.responses;
261
283
  };
262
284
  protoOf(WsEndpoint).gd = function () {
263
- return this.b2d_1;
285
+ return this.c2d_1;
264
286
  };
265
287
  protoOf(WsEndpoint).hd = function () {
266
- return this.method;
288
+ return this.comment;
267
289
  };
268
290
  protoOf(WsEndpoint).ah = function () {
291
+ return this.method;
292
+ };
293
+ protoOf(WsEndpoint).k2d = function () {
269
294
  return this.path;
270
295
  };
271
- protoOf(WsEndpoint).j2d = function () {
296
+ protoOf(WsEndpoint).l2d = function () {
272
297
  return this.query;
273
298
  };
274
- protoOf(WsEndpoint).k2d = function () {
299
+ protoOf(WsEndpoint).m2d = function () {
275
300
  return this.headers;
276
301
  };
277
- protoOf(WsEndpoint).l2d = function () {
302
+ protoOf(WsEndpoint).n2d = function () {
278
303
  return this.cookies;
279
304
  };
280
- protoOf(WsEndpoint).m2d = function () {
305
+ protoOf(WsEndpoint).o2d = function () {
281
306
  return this.requests;
282
307
  };
283
- protoOf(WsEndpoint).n2d = function () {
308
+ protoOf(WsEndpoint).p2d = function () {
284
309
  return this.responses;
285
310
  };
286
- protoOf(WsEndpoint).o2d = function (name, method, path, query, headers, cookies, requests, responses) {
287
- return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
311
+ protoOf(WsEndpoint).q2d = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
312
+ return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
288
313
  };
289
- protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
290
- name = name === VOID ? this.b2d_1 : name;
314
+ protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
315
+ identifier = identifier === VOID ? this.c2d_1 : identifier;
316
+ comment = comment === VOID ? this.comment : comment;
291
317
  method = method === VOID ? this.method : method;
292
318
  path = path === VOID ? this.path : path;
293
319
  query = query === VOID ? this.query : query;
@@ -295,13 +321,14 @@
295
321
  cookies = cookies === VOID ? this.cookies : cookies;
296
322
  requests = requests === VOID ? this.requests : requests;
297
323
  responses = responses === VOID ? this.responses : responses;
298
- return this.o2d(name, method, path, query, headers, cookies, requests, responses);
324
+ return this.q2d(identifier, comment, method, path, query, headers, cookies, requests, responses);
299
325
  };
300
326
  protoOf(WsEndpoint).toString = function () {
301
- return 'WsEndpoint(name=' + this.b2d_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) + ')';
327
+ return 'WsEndpoint(identifier=' + this.c2d_1 + ', comment=' + this.comment + ', 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) + ')';
302
328
  };
303
329
  protoOf(WsEndpoint).hashCode = function () {
304
- var result = getStringHashCode(this.b2d_1);
330
+ var result = getStringHashCode(this.c2d_1);
331
+ result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
305
332
  result = imul(result, 31) + this.method.hashCode() | 0;
306
333
  result = imul(result, 31) + hashCode(this.path) | 0;
307
334
  result = imul(result, 31) + hashCode(this.query) | 0;
@@ -317,7 +344,9 @@
317
344
  if (!(other instanceof WsEndpoint))
318
345
  return false;
319
346
  var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
320
- if (!(this.b2d_1 === tmp0_other_with_cast.b2d_1))
347
+ if (!(this.c2d_1 === tmp0_other_with_cast.c2d_1))
348
+ return false;
349
+ if (!(this.comment == tmp0_other_with_cast.comment))
321
350
  return false;
322
351
  if (!this.method.equals(tmp0_other_with_cast.method))
323
352
  return false;
@@ -335,35 +364,44 @@
335
364
  return false;
336
365
  return true;
337
366
  };
338
- function WsEnum(name, entries) {
339
- this.p2d_1 = name;
367
+ function WsEnum(identifier, comment, entries) {
368
+ this.r2d_1 = identifier;
369
+ this.comment = comment;
340
370
  this.entries = entries;
341
371
  }
342
- protoOf(WsEnum).wa = function () {
343
- return this.p2d_1;
372
+ protoOf(WsEnum).n21 = function () {
373
+ return this.r2d_1;
374
+ };
375
+ protoOf(WsEnum).y2c = function () {
376
+ return this.comment;
344
377
  };
345
378
  protoOf(WsEnum).n2 = function () {
346
379
  return this.entries;
347
380
  };
348
381
  protoOf(WsEnum).gd = function () {
349
- return this.p2d_1;
382
+ return this.r2d_1;
350
383
  };
351
384
  protoOf(WsEnum).hd = function () {
385
+ return this.comment;
386
+ };
387
+ protoOf(WsEnum).ah = function () {
352
388
  return this.entries;
353
389
  };
354
- protoOf(WsEnum).q2d = function (name, entries) {
355
- return new WsEnum(name, entries);
390
+ protoOf(WsEnum).s2d = function (identifier, comment, entries) {
391
+ return new WsEnum(identifier, comment, entries);
356
392
  };
357
- protoOf(WsEnum).copy = function (name, entries, $super) {
358
- name = name === VOID ? this.p2d_1 : name;
393
+ protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
394
+ identifier = identifier === VOID ? this.r2d_1 : identifier;
395
+ comment = comment === VOID ? this.comment : comment;
359
396
  entries = entries === VOID ? this.entries : entries;
360
- return this.q2d(name, entries);
397
+ return this.s2d(identifier, comment, entries);
361
398
  };
362
399
  protoOf(WsEnum).toString = function () {
363
- return 'WsEnum(name=' + this.p2d_1 + ', entries=' + toString(this.entries) + ')';
400
+ return 'WsEnum(identifier=' + this.r2d_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
364
401
  };
365
402
  protoOf(WsEnum).hashCode = function () {
366
- var result = getStringHashCode(this.p2d_1);
403
+ var result = getStringHashCode(this.r2d_1);
404
+ result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
367
405
  result = imul(result, 31) + hashCode(this.entries) | 0;
368
406
  return result;
369
407
  };
@@ -373,41 +411,52 @@
373
411
  if (!(other instanceof WsEnum))
374
412
  return false;
375
413
  var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
376
- if (!(this.p2d_1 === tmp0_other_with_cast.p2d_1))
414
+ if (!(this.r2d_1 === tmp0_other_with_cast.r2d_1))
415
+ return false;
416
+ if (!(this.comment == tmp0_other_with_cast.comment))
377
417
  return false;
378
418
  if (!equals(this.entries, tmp0_other_with_cast.entries))
379
419
  return false;
380
420
  return true;
381
421
  };
382
- function WsUnion(name, entries) {
383
- this.r2d_1 = name;
422
+ function WsUnion(identifier, comment, entries) {
423
+ this.t2d_1 = identifier;
424
+ this.comment = comment;
384
425
  this.entries = entries;
385
426
  }
386
- protoOf(WsUnion).wa = function () {
387
- return this.r2d_1;
427
+ protoOf(WsUnion).n21 = function () {
428
+ return this.t2d_1;
429
+ };
430
+ protoOf(WsUnion).y2c = function () {
431
+ return this.comment;
388
432
  };
389
433
  protoOf(WsUnion).n2 = function () {
390
434
  return this.entries;
391
435
  };
392
436
  protoOf(WsUnion).gd = function () {
393
- return this.r2d_1;
437
+ return this.t2d_1;
394
438
  };
395
439
  protoOf(WsUnion).hd = function () {
440
+ return this.comment;
441
+ };
442
+ protoOf(WsUnion).ah = function () {
396
443
  return this.entries;
397
444
  };
398
- protoOf(WsUnion).s2d = function (name, entries) {
399
- return new WsUnion(name, entries);
445
+ protoOf(WsUnion).u2d = function (identifier, comment, entries) {
446
+ return new WsUnion(identifier, comment, entries);
400
447
  };
401
- protoOf(WsUnion).copy = function (name, entries, $super) {
402
- name = name === VOID ? this.r2d_1 : name;
448
+ protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
449
+ identifier = identifier === VOID ? this.t2d_1 : identifier;
450
+ comment = comment === VOID ? this.comment : comment;
403
451
  entries = entries === VOID ? this.entries : entries;
404
- return this.s2d(name, entries);
452
+ return this.u2d(identifier, comment, entries);
405
453
  };
406
454
  protoOf(WsUnion).toString = function () {
407
- return 'WsUnion(name=' + this.r2d_1 + ', entries=' + toString(this.entries) + ')';
455
+ return 'WsUnion(identifier=' + this.t2d_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
408
456
  };
409
457
  protoOf(WsUnion).hashCode = function () {
410
- var result = getStringHashCode(this.r2d_1);
458
+ var result = getStringHashCode(this.t2d_1);
459
+ result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
411
460
  result = imul(result, 31) + hashCode(this.entries) | 0;
412
461
  return result;
413
462
  };
@@ -417,41 +466,52 @@
417
466
  if (!(other instanceof WsUnion))
418
467
  return false;
419
468
  var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
420
- if (!(this.r2d_1 === tmp0_other_with_cast.r2d_1))
469
+ if (!(this.t2d_1 === tmp0_other_with_cast.t2d_1))
470
+ return false;
471
+ if (!(this.comment == tmp0_other_with_cast.comment))
421
472
  return false;
422
473
  if (!equals(this.entries, tmp0_other_with_cast.entries))
423
474
  return false;
424
475
  return true;
425
476
  };
426
- function WsRefined(name, validator) {
427
- this.t2d_1 = name;
477
+ function WsRefined(identifier, comment, validator) {
478
+ this.v2d_1 = identifier;
479
+ this.comment = comment;
428
480
  this.validator = validator;
429
481
  }
430
- protoOf(WsRefined).wa = function () {
431
- return this.t2d_1;
482
+ protoOf(WsRefined).n21 = function () {
483
+ return this.v2d_1;
484
+ };
485
+ protoOf(WsRefined).y2c = function () {
486
+ return this.comment;
432
487
  };
433
- protoOf(WsRefined).u2d = function () {
488
+ protoOf(WsRefined).w2d = function () {
434
489
  return this.validator;
435
490
  };
436
491
  protoOf(WsRefined).gd = function () {
437
- return this.t2d_1;
492
+ return this.v2d_1;
438
493
  };
439
494
  protoOf(WsRefined).hd = function () {
495
+ return this.comment;
496
+ };
497
+ protoOf(WsRefined).ah = function () {
440
498
  return this.validator;
441
499
  };
442
- protoOf(WsRefined).v2d = function (name, validator) {
443
- return new WsRefined(name, validator);
500
+ protoOf(WsRefined).x2d = function (identifier, comment, validator) {
501
+ return new WsRefined(identifier, comment, validator);
444
502
  };
445
- protoOf(WsRefined).copy = function (name, validator, $super) {
446
- name = name === VOID ? this.t2d_1 : name;
503
+ protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
504
+ identifier = identifier === VOID ? this.v2d_1 : identifier;
505
+ comment = comment === VOID ? this.comment : comment;
447
506
  validator = validator === VOID ? this.validator : validator;
448
- return this.v2d(name, validator);
507
+ return this.x2d(identifier, comment, validator);
449
508
  };
450
509
  protoOf(WsRefined).toString = function () {
451
- return 'WsRefined(name=' + this.t2d_1 + ', validator=' + this.validator + ')';
510
+ return 'WsRefined(identifier=' + this.v2d_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
452
511
  };
453
512
  protoOf(WsRefined).hashCode = function () {
454
- var result = getStringHashCode(this.t2d_1);
513
+ var result = getStringHashCode(this.v2d_1);
514
+ result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
455
515
  result = imul(result, 31) + getStringHashCode(this.validator) | 0;
456
516
  return result;
457
517
  };
@@ -461,7 +521,9 @@
461
521
  if (!(other instanceof WsRefined))
462
522
  return false;
463
523
  var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
464
- if (!(this.t2d_1 === tmp0_other_with_cast.t2d_1))
524
+ if (!(this.v2d_1 === tmp0_other_with_cast.v2d_1))
525
+ return false;
526
+ if (!(this.comment == tmp0_other_with_cast.comment))
465
527
  return false;
466
528
  if (!(this.validator === tmp0_other_with_cast.validator))
467
529
  return false;
@@ -530,12 +592,12 @@
530
592
  protoOf(WsLiteral).gd = function () {
531
593
  return this.value;
532
594
  };
533
- protoOf(WsLiteral).y2d = function (value) {
595
+ protoOf(WsLiteral).a2e = function (value) {
534
596
  return new WsLiteral(value);
535
597
  };
536
598
  protoOf(WsLiteral).copy = function (value, $super) {
537
599
  value = value === VOID ? this.value : value;
538
- return this.y2d(value);
600
+ return this.a2e(value);
539
601
  };
540
602
  protoOf(WsLiteral).toString = function () {
541
603
  return 'WsLiteral(value=' + this.value + ')';
@@ -560,7 +622,7 @@
560
622
  protoOf(WsParam).n21 = function () {
561
623
  return this.identifier;
562
624
  };
563
- protoOf(WsParam).z2d = function () {
625
+ protoOf(WsParam).b2e = function () {
564
626
  return this.reference;
565
627
  };
566
628
  protoOf(WsParam).gd = function () {
@@ -569,13 +631,13 @@
569
631
  protoOf(WsParam).hd = function () {
570
632
  return this.reference;
571
633
  };
572
- protoOf(WsParam).a2e = function (identifier, reference) {
634
+ protoOf(WsParam).c2e = function (identifier, reference) {
573
635
  return new WsParam(identifier, reference);
574
636
  };
575
637
  protoOf(WsParam).copy = function (identifier, reference, $super) {
576
638
  identifier = identifier === VOID ? this.identifier : identifier;
577
639
  reference = reference === VOID ? this.reference : reference;
578
- return this.a2e(identifier, reference);
640
+ return this.c2e(identifier, reference);
579
641
  };
580
642
  protoOf(WsParam).toString = function () {
581
643
  return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
@@ -597,34 +659,34 @@
597
659
  return false;
598
660
  return true;
599
661
  };
600
- function Shape(value) {
662
+ function Shape_0(value) {
601
663
  this.value = value;
602
664
  }
603
- protoOf(Shape).p2 = function () {
665
+ protoOf(Shape_0).p2 = function () {
604
666
  return this.value;
605
667
  };
606
- protoOf(Shape).gd = function () {
668
+ protoOf(Shape_0).gd = function () {
607
669
  return this.value;
608
670
  };
609
- protoOf(Shape).a2d = function (value) {
610
- return new Shape(value);
671
+ protoOf(Shape_0).b2d = function (value) {
672
+ return new Shape_0(value);
611
673
  };
612
- protoOf(Shape).copy = function (value, $super) {
674
+ protoOf(Shape_0).copy = function (value, $super) {
613
675
  value = value === VOID ? this.value : value;
614
- return this.a2d(value);
676
+ return this.b2d(value);
615
677
  };
616
- protoOf(Shape).toString = function () {
678
+ protoOf(Shape_0).toString = function () {
617
679
  return 'Shape(value=' + toString(this.value) + ')';
618
680
  };
619
- protoOf(Shape).hashCode = function () {
681
+ protoOf(Shape_0).hashCode = function () {
620
682
  return hashCode(this.value);
621
683
  };
622
- protoOf(Shape).equals = function (other) {
684
+ protoOf(Shape_0).equals = function (other) {
623
685
  if (this === other)
624
686
  return true;
625
- if (!(other instanceof Shape))
687
+ if (!(other instanceof Shape_0))
626
688
  return false;
627
- var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
689
+ var tmp0_other_with_cast = other instanceof Shape_0 ? other : THROW_CCE();
628
690
  if (!equals(this.value, tmp0_other_with_cast.value))
629
691
  return false;
630
692
  return true;
@@ -637,7 +699,7 @@
637
699
  protoOf(WsField).n21 = function () {
638
700
  return this.identifier;
639
701
  };
640
- protoOf(WsField).z2d = function () {
702
+ protoOf(WsField).b2e = function () {
641
703
  return this.reference;
642
704
  };
643
705
  protoOf(WsField).wj = function () {
@@ -652,14 +714,14 @@
652
714
  protoOf(WsField).ah = function () {
653
715
  return this.isNullable;
654
716
  };
655
- protoOf(WsField).b2e = function (identifier, reference, isNullable) {
717
+ protoOf(WsField).d2e = function (identifier, reference, isNullable) {
656
718
  return new WsField(identifier, reference, isNullable);
657
719
  };
658
720
  protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
659
721
  identifier = identifier === VOID ? this.identifier : identifier;
660
722
  reference = reference === VOID ? this.reference : reference;
661
723
  isNullable = isNullable === VOID ? this.isNullable : isNullable;
662
- return this.b2e(identifier, reference, isNullable);
724
+ return this.d2e(identifier, reference, isNullable);
663
725
  };
664
726
  protoOf(WsField).toString = function () {
665
727
  return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
@@ -693,12 +755,12 @@
693
755
  protoOf(WsIdentifier).gd = function () {
694
756
  return this.value;
695
757
  };
696
- protoOf(WsIdentifier).y2d = function (value) {
758
+ protoOf(WsIdentifier).a2e = function (value) {
697
759
  return new WsIdentifier(value);
698
760
  };
699
761
  protoOf(WsIdentifier).copy = function (value, $super) {
700
762
  value = value === VOID ? this.value : value;
701
- return this.y2d(value);
763
+ return this.a2e(value);
702
764
  };
703
765
  protoOf(WsIdentifier).toString = function () {
704
766
  return 'WsIdentifier(value=' + this.value + ')';
@@ -720,35 +782,35 @@
720
782
  }
721
783
  function WsAny(isIterable, isMap) {
722
784
  isMap = isMap === VOID ? false : isMap;
723
- this.c2e_1 = isIterable;
724
- this.d2e_1 = isMap;
785
+ this.e2e_1 = isIterable;
786
+ this.f2e_1 = isMap;
725
787
  }
726
788
  protoOf(WsAny).t20 = function () {
727
- return this.c2e_1;
789
+ return this.e2e_1;
728
790
  };
729
791
  protoOf(WsAny).l28 = function () {
730
- return this.d2e_1;
792
+ return this.f2e_1;
731
793
  };
732
794
  protoOf(WsAny).gd = function () {
733
- return this.c2e_1;
795
+ return this.e2e_1;
734
796
  };
735
797
  protoOf(WsAny).hd = function () {
736
- return this.d2e_1;
798
+ return this.f2e_1;
737
799
  };
738
- protoOf(WsAny).w29 = function (isIterable, isMap) {
800
+ protoOf(WsAny).x29 = function (isIterable, isMap) {
739
801
  return new WsAny(isIterable, isMap);
740
802
  };
741
803
  protoOf(WsAny).copy = function (isIterable, isMap, $super) {
742
- isIterable = isIterable === VOID ? this.c2e_1 : isIterable;
743
- isMap = isMap === VOID ? this.d2e_1 : isMap;
744
- return this.w29(isIterable, isMap);
804
+ isIterable = isIterable === VOID ? this.e2e_1 : isIterable;
805
+ isMap = isMap === VOID ? this.f2e_1 : isMap;
806
+ return this.x29(isIterable, isMap);
745
807
  };
746
808
  protoOf(WsAny).toString = function () {
747
- return 'WsAny(isIterable=' + this.c2e_1 + ', isMap=' + this.d2e_1 + ')';
809
+ return 'WsAny(isIterable=' + this.e2e_1 + ', isMap=' + this.f2e_1 + ')';
748
810
  };
749
811
  protoOf(WsAny).hashCode = function () {
750
- var result = this.c2e_1 | 0;
751
- result = imul(result, 31) + (this.d2e_1 | 0) | 0;
812
+ var result = this.e2e_1 | 0;
813
+ result = imul(result, 31) + (this.f2e_1 | 0) | 0;
752
814
  return result;
753
815
  };
754
816
  protoOf(WsAny).equals = function (other) {
@@ -757,43 +819,43 @@
757
819
  if (!(other instanceof WsAny))
758
820
  return false;
759
821
  var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
760
- if (!(this.c2e_1 === tmp0_other_with_cast.c2e_1))
822
+ if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
761
823
  return false;
762
- if (!(this.d2e_1 === tmp0_other_with_cast.d2e_1))
824
+ if (!(this.f2e_1 === tmp0_other_with_cast.f2e_1))
763
825
  return false;
764
826
  return true;
765
827
  };
766
828
  function WsUnit(isIterable, isMap) {
767
829
  isMap = isMap === VOID ? false : isMap;
768
- this.e2e_1 = isIterable;
769
- this.f2e_1 = isMap;
830
+ this.g2e_1 = isIterable;
831
+ this.h2e_1 = isMap;
770
832
  }
771
833
  protoOf(WsUnit).t20 = function () {
772
- return this.e2e_1;
834
+ return this.g2e_1;
773
835
  };
774
836
  protoOf(WsUnit).l28 = function () {
775
- return this.f2e_1;
837
+ return this.h2e_1;
776
838
  };
777
839
  protoOf(WsUnit).gd = function () {
778
- return this.e2e_1;
840
+ return this.g2e_1;
779
841
  };
780
842
  protoOf(WsUnit).hd = function () {
781
- return this.f2e_1;
843
+ return this.h2e_1;
782
844
  };
783
- protoOf(WsUnit).w29 = function (isIterable, isMap) {
845
+ protoOf(WsUnit).x29 = function (isIterable, isMap) {
784
846
  return new WsUnit(isIterable, isMap);
785
847
  };
786
848
  protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
787
- isIterable = isIterable === VOID ? this.e2e_1 : isIterable;
788
- isMap = isMap === VOID ? this.f2e_1 : isMap;
789
- return this.w29(isIterable, isMap);
849
+ isIterable = isIterable === VOID ? this.g2e_1 : isIterable;
850
+ isMap = isMap === VOID ? this.h2e_1 : isMap;
851
+ return this.x29(isIterable, isMap);
790
852
  };
791
853
  protoOf(WsUnit).toString = function () {
792
- return 'WsUnit(isIterable=' + this.e2e_1 + ', isMap=' + this.f2e_1 + ')';
854
+ return 'WsUnit(isIterable=' + this.g2e_1 + ', isMap=' + this.h2e_1 + ')';
793
855
  };
794
856
  protoOf(WsUnit).hashCode = function () {
795
- var result = this.e2e_1 | 0;
796
- result = imul(result, 31) + (this.f2e_1 | 0) | 0;
857
+ var result = this.g2e_1 | 0;
858
+ result = imul(result, 31) + (this.h2e_1 | 0) | 0;
797
859
  return result;
798
860
  };
799
861
  protoOf(WsUnit).equals = function (other) {
@@ -802,52 +864,52 @@
802
864
  if (!(other instanceof WsUnit))
803
865
  return false;
804
866
  var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
805
- if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
867
+ if (!(this.g2e_1 === tmp0_other_with_cast.g2e_1))
806
868
  return false;
807
- if (!(this.f2e_1 === tmp0_other_with_cast.f2e_1))
869
+ if (!(this.h2e_1 === tmp0_other_with_cast.h2e_1))
808
870
  return false;
809
871
  return true;
810
872
  };
811
873
  function WsCustom(value, isIterable, isMap) {
812
874
  isMap = isMap === VOID ? false : isMap;
813
875
  this.value = value;
814
- this.g2e_1 = isIterable;
815
- this.h2e_1 = isMap;
876
+ this.i2e_1 = isIterable;
877
+ this.j2e_1 = isMap;
816
878
  }
817
879
  protoOf(WsCustom).p2 = function () {
818
880
  return this.value;
819
881
  };
820
882
  protoOf(WsCustom).t20 = function () {
821
- return this.g2e_1;
883
+ return this.i2e_1;
822
884
  };
823
885
  protoOf(WsCustom).l28 = function () {
824
- return this.h2e_1;
886
+ return this.j2e_1;
825
887
  };
826
888
  protoOf(WsCustom).gd = function () {
827
889
  return this.value;
828
890
  };
829
891
  protoOf(WsCustom).hd = function () {
830
- return this.g2e_1;
892
+ return this.i2e_1;
831
893
  };
832
894
  protoOf(WsCustom).ah = function () {
833
- return this.h2e_1;
895
+ return this.j2e_1;
834
896
  };
835
- protoOf(WsCustom).f2a = function (value, isIterable, isMap) {
897
+ protoOf(WsCustom).g2a = function (value, isIterable, isMap) {
836
898
  return new WsCustom(value, isIterable, isMap);
837
899
  };
838
900
  protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
839
901
  value = value === VOID ? this.value : value;
840
- isIterable = isIterable === VOID ? this.g2e_1 : isIterable;
841
- isMap = isMap === VOID ? this.h2e_1 : isMap;
842
- return this.f2a(value, isIterable, isMap);
902
+ isIterable = isIterable === VOID ? this.i2e_1 : isIterable;
903
+ isMap = isMap === VOID ? this.j2e_1 : isMap;
904
+ return this.g2a(value, isIterable, isMap);
843
905
  };
844
906
  protoOf(WsCustom).toString = function () {
845
- return 'WsCustom(value=' + this.value + ', isIterable=' + this.g2e_1 + ', isMap=' + this.h2e_1 + ')';
907
+ return 'WsCustom(value=' + this.value + ', isIterable=' + this.i2e_1 + ', isMap=' + this.j2e_1 + ')';
846
908
  };
847
909
  protoOf(WsCustom).hashCode = function () {
848
910
  var result = getStringHashCode(this.value);
849
- result = imul(result, 31) + (this.g2e_1 | 0) | 0;
850
- result = imul(result, 31) + (this.h2e_1 | 0) | 0;
911
+ result = imul(result, 31) + (this.i2e_1 | 0) | 0;
912
+ result = imul(result, 31) + (this.j2e_1 | 0) | 0;
851
913
  return result;
852
914
  };
853
915
  protoOf(WsCustom).equals = function (other) {
@@ -858,52 +920,52 @@
858
920
  var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
859
921
  if (!(this.value === tmp0_other_with_cast.value))
860
922
  return false;
861
- if (!(this.g2e_1 === tmp0_other_with_cast.g2e_1))
923
+ if (!(this.i2e_1 === tmp0_other_with_cast.i2e_1))
862
924
  return false;
863
- if (!(this.h2e_1 === tmp0_other_with_cast.h2e_1))
925
+ if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
864
926
  return false;
865
927
  return true;
866
928
  };
867
929
  function WsPrimitive(type, isIterable, isMap) {
868
930
  isMap = isMap === VOID ? false : isMap;
869
931
  this.type = type;
870
- this.i2e_1 = isIterable;
871
- this.j2e_1 = isMap;
932
+ this.k2e_1 = isIterable;
933
+ this.l2e_1 = isMap;
872
934
  }
873
- protoOf(WsPrimitive).k2e = function () {
935
+ protoOf(WsPrimitive).m2e = function () {
874
936
  return this.type;
875
937
  };
876
938
  protoOf(WsPrimitive).t20 = function () {
877
- return this.i2e_1;
939
+ return this.k2e_1;
878
940
  };
879
941
  protoOf(WsPrimitive).l28 = function () {
880
- return this.j2e_1;
942
+ return this.l2e_1;
881
943
  };
882
944
  protoOf(WsPrimitive).gd = function () {
883
945
  return this.type;
884
946
  };
885
947
  protoOf(WsPrimitive).hd = function () {
886
- return this.i2e_1;
948
+ return this.k2e_1;
887
949
  };
888
950
  protoOf(WsPrimitive).ah = function () {
889
- return this.j2e_1;
951
+ return this.l2e_1;
890
952
  };
891
- protoOf(WsPrimitive).l2e = function (type, isIterable, isMap) {
953
+ protoOf(WsPrimitive).n2e = function (type, isIterable, isMap) {
892
954
  return new WsPrimitive(type, isIterable, isMap);
893
955
  };
894
956
  protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
895
957
  type = type === VOID ? this.type : type;
896
- isIterable = isIterable === VOID ? this.i2e_1 : isIterable;
897
- isMap = isMap === VOID ? this.j2e_1 : isMap;
898
- return this.l2e(type, isIterable, isMap);
958
+ isIterable = isIterable === VOID ? this.k2e_1 : isIterable;
959
+ isMap = isMap === VOID ? this.l2e_1 : isMap;
960
+ return this.n2e(type, isIterable, isMap);
899
961
  };
900
962
  protoOf(WsPrimitive).toString = function () {
901
- return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.i2e_1 + ', isMap=' + this.j2e_1 + ')';
963
+ return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.k2e_1 + ', isMap=' + this.l2e_1 + ')';
902
964
  };
903
965
  protoOf(WsPrimitive).hashCode = function () {
904
966
  var result = this.type.hashCode();
905
- result = imul(result, 31) + (this.i2e_1 | 0) | 0;
906
- result = imul(result, 31) + (this.j2e_1 | 0) | 0;
967
+ result = imul(result, 31) + (this.k2e_1 | 0) | 0;
968
+ result = imul(result, 31) + (this.l2e_1 | 0) | 0;
907
969
  return result;
908
970
  };
909
971
  protoOf(WsPrimitive).equals = function (other) {
@@ -914,9 +976,9 @@
914
976
  var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
915
977
  if (!this.type.equals(tmp0_other_with_cast.type))
916
978
  return false;
917
- if (!(this.i2e_1 === tmp0_other_with_cast.i2e_1))
979
+ if (!(this.k2e_1 === tmp0_other_with_cast.k2e_1))
918
980
  return false;
919
- if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
981
+ if (!(this.l2e_1 === tmp0_other_with_cast.l2e_1))
920
982
  return false;
921
983
  return true;
922
984
  };
@@ -965,12 +1027,12 @@
965
1027
  protoOf(WsRequest).gd = function () {
966
1028
  return this.content;
967
1029
  };
968
- protoOf(WsRequest).o2e = function (content) {
1030
+ protoOf(WsRequest).q2e = function (content) {
969
1031
  return new WsRequest(content);
970
1032
  };
971
1033
  protoOf(WsRequest).copy = function (content, $super) {
972
1034
  content = content === VOID ? this.content : content;
973
- return this.o2e(content);
1035
+ return this.q2e(content);
974
1036
  };
975
1037
  protoOf(WsRequest).toString = function () {
976
1038
  return 'WsRequest(content=' + this.content + ')';
@@ -993,10 +1055,10 @@
993
1055
  this.headers = headers;
994
1056
  this.content = content;
995
1057
  }
996
- protoOf(WsResponse).p2e = function () {
1058
+ protoOf(WsResponse).r2e = function () {
997
1059
  return this.status;
998
1060
  };
999
- protoOf(WsResponse).f2d = function () {
1061
+ protoOf(WsResponse).g2d = function () {
1000
1062
  return this.headers;
1001
1063
  };
1002
1064
  protoOf(WsResponse).k14 = function () {
@@ -1011,14 +1073,14 @@
1011
1073
  protoOf(WsResponse).ah = function () {
1012
1074
  return this.content;
1013
1075
  };
1014
- protoOf(WsResponse).q2e = function (status, headers, content) {
1076
+ protoOf(WsResponse).s2e = function (status, headers, content) {
1015
1077
  return new WsResponse(status, headers, content);
1016
1078
  };
1017
1079
  protoOf(WsResponse).copy = function (status, headers, content, $super) {
1018
1080
  status = status === VOID ? this.status : status;
1019
1081
  headers = headers === VOID ? this.headers : headers;
1020
1082
  content = content === VOID ? this.content : content;
1021
- return this.q2e(status, headers, content);
1083
+ return this.s2e(status, headers, content);
1022
1084
  };
1023
1085
  protoOf(WsResponse).toString = function () {
1024
1086
  return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + this.content + ')';
@@ -1049,10 +1111,10 @@
1049
1111
  this.reference = reference;
1050
1112
  this.isNullable = isNullable;
1051
1113
  }
1052
- protoOf(WsContent).k2e = function () {
1114
+ protoOf(WsContent).m2e = function () {
1053
1115
  return this.type;
1054
1116
  };
1055
- protoOf(WsContent).z2d = function () {
1117
+ protoOf(WsContent).b2e = function () {
1056
1118
  return this.reference;
1057
1119
  };
1058
1120
  protoOf(WsContent).wj = function () {
@@ -1067,14 +1129,14 @@
1067
1129
  protoOf(WsContent).ah = function () {
1068
1130
  return this.isNullable;
1069
1131
  };
1070
- protoOf(WsContent).r2e = function (type, reference, isNullable) {
1132
+ protoOf(WsContent).t2e = function (type, reference, isNullable) {
1071
1133
  return new WsContent(type, reference, isNullable);
1072
1134
  };
1073
1135
  protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
1074
1136
  type = type === VOID ? this.type : type;
1075
1137
  reference = reference === VOID ? this.reference : reference;
1076
1138
  isNullable = isNullable === VOID ? this.isNullable : isNullable;
1077
- return this.r2e(type, reference, isNullable);
1139
+ return this.t2e(type, reference, isNullable);
1078
1140
  };
1079
1141
  protoOf(WsContent).toString = function () {
1080
1142
  return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
@@ -1117,22 +1179,64 @@
1117
1179
  function produce_0(_this__u8e3s4) {
1118
1180
  var tmp;
1119
1181
  if (_this__u8e3s4 instanceof Type) {
1120
- tmp = new WsType(_this__u8e3s4.v26_1.d27_1, produce_1(_this__u8e3s4.w26_1));
1182
+ var tmp1_safe_receiver = _this__u8e3s4.u26_1;
1183
+ var tmp_0;
1184
+ var tmp_1 = tmp1_safe_receiver;
1185
+ if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
1186
+ tmp_0 = null;
1187
+ } else {
1188
+ tmp_0 = _Comment___get_value__impl__8r3pla(tmp1_safe_receiver);
1189
+ }
1190
+ tmp = new WsType(_this__u8e3s4.v26_1.d27_1, tmp_0, produce_1(_this__u8e3s4.w26_1));
1121
1191
  } else {
1122
1192
  if (_this__u8e3s4 instanceof Endpoint) {
1123
- tmp = new WsEndpoint(_this__u8e3s4.b28_1.d27_1, produce_2(_this__u8e3s4.c28_1), produce_3(_this__u8e3s4.d28_1), produce_4(_this__u8e3s4.e28_1), produce_4(_this__u8e3s4.f28_1), produce_4(_this__u8e3s4.g28_1), produce_5(_this__u8e3s4.h28_1), produce_6(_this__u8e3s4.i28_1));
1193
+ var tmp2_safe_receiver = _this__u8e3s4.a28_1;
1194
+ var tmp_2;
1195
+ var tmp_3 = tmp2_safe_receiver;
1196
+ if ((tmp_3 == null ? null : new Comment(tmp_3)) == null) {
1197
+ tmp_2 = null;
1198
+ } else {
1199
+ tmp_2 = _Comment___get_value__impl__8r3pla(tmp2_safe_receiver);
1200
+ }
1201
+ tmp = new WsEndpoint(_this__u8e3s4.b28_1.d27_1, tmp_2, produce_2(_this__u8e3s4.c28_1), produce_3(_this__u8e3s4.d28_1), produce_4(_this__u8e3s4.e28_1), produce_4(_this__u8e3s4.f28_1), produce_4(_this__u8e3s4.g28_1), produce_5(_this__u8e3s4.h28_1), produce_6(_this__u8e3s4.i28_1));
1124
1202
  } else {
1125
1203
  if (_this__u8e3s4 instanceof Enum_0) {
1204
+ var tmp3_safe_receiver = _this__u8e3s4.r26_1;
1205
+ var tmp_4;
1206
+ var tmp_5 = tmp3_safe_receiver;
1207
+ if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
1208
+ tmp_4 = null;
1209
+ } else {
1210
+ tmp_4 = _Comment___get_value__impl__8r3pla(tmp3_safe_receiver);
1211
+ }
1212
+ var tmp_6 = tmp_4;
1126
1213
  var tmp$ret$0;
1127
1214
  // Inline function 'kotlin.collections.toTypedArray' call
1128
1215
  var tmp0_toTypedArray = _this__u8e3s4.t26_1;
1129
1216
  tmp$ret$0 = copyToArray(tmp0_toTypedArray);
1130
- tmp = new WsEnum(_this__u8e3s4.s26_1.d27_1, tmp$ret$0);
1217
+ tmp = new WsEnum(_this__u8e3s4.s26_1.d27_1, tmp_6, tmp$ret$0);
1131
1218
  } else {
1132
1219
  if (_this__u8e3s4 instanceof Refined) {
1133
- tmp = new WsRefined(_this__u8e3s4.j27_1.d27_1, _this__u8e3s4.k27_1.m27_1);
1220
+ var tmp4_safe_receiver = _this__u8e3s4.i27_1;
1221
+ var tmp_7;
1222
+ var tmp_8 = tmp4_safe_receiver;
1223
+ if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
1224
+ tmp_7 = null;
1225
+ } else {
1226
+ tmp_7 = _Comment___get_value__impl__8r3pla(tmp4_safe_receiver);
1227
+ }
1228
+ tmp = new WsRefined(_this__u8e3s4.j27_1.d27_1, tmp_7, _this__u8e3s4.k27_1.m27_1);
1134
1229
  } else {
1135
1230
  if (_this__u8e3s4 instanceof Union) {
1231
+ var tmp5_safe_receiver = _this__u8e3s4.m28_1;
1232
+ var tmp_9;
1233
+ var tmp_10 = tmp5_safe_receiver;
1234
+ if ((tmp_10 == null ? null : new Comment(tmp_10)) == null) {
1235
+ tmp_9 = null;
1236
+ } else {
1237
+ tmp_9 = _Comment___get_value__impl__8r3pla(tmp5_safe_receiver);
1238
+ }
1239
+ var tmp_11 = tmp_9;
1136
1240
  var tmp$ret$4;
1137
1241
  // Inline function 'kotlin.collections.toTypedArray' call
1138
1242
  // Inline function 'kotlin.collections.map' call
@@ -1148,7 +1252,7 @@
1148
1252
  tmp0_mapTo.s(tmp$ret$1);
1149
1253
  }
1150
1254
  tmp$ret$4 = copyToArray(tmp0_mapTo);
1151
- tmp = new WsUnion(_this__u8e3s4.n28_1.d27_1, tmp$ret$4);
1255
+ tmp = new WsUnion(_this__u8e3s4.n28_1.d27_1, tmp_11, tmp$ret$4);
1152
1256
  } else {
1153
1257
  noWhenBranchMatchedException();
1154
1258
  }
@@ -1358,16 +1462,16 @@
1358
1462
  tmp = consume_0(_this__u8e3s4);
1359
1463
  } else {
1360
1464
  if (_this__u8e3s4 instanceof WsEnum) {
1361
- tmp = consume(_this__u8e3s4);
1465
+ tmp = consume_1(_this__u8e3s4);
1362
1466
  } else {
1363
1467
  if (_this__u8e3s4 instanceof WsRefined) {
1364
- tmp = consume(_this__u8e3s4);
1468
+ tmp = consume_2(_this__u8e3s4);
1365
1469
  } else {
1366
1470
  if (_this__u8e3s4 instanceof WsType) {
1367
- tmp = consume(_this__u8e3s4);
1471
+ tmp = consume_3(_this__u8e3s4);
1368
1472
  } else {
1369
1473
  if (_this__u8e3s4 instanceof WsUnion) {
1370
- tmp = consume(_this__u8e3s4);
1474
+ tmp = consume_4(_this__u8e3s4);
1371
1475
  } else {
1372
1476
  noWhenBranchMatchedException();
1373
1477
  }
@@ -1378,8 +1482,19 @@
1378
1482
  return tmp;
1379
1483
  }
1380
1484
  function consume_0(_this__u8e3s4) {
1381
- var tmp = Companion_getInstance().j28(_this__u8e3s4.b2d_1);
1382
- var tmp_0 = consume_1(_this__u8e3s4.method);
1485
+ var tmp0_safe_receiver = _this__u8e3s4.comment;
1486
+ var tmp;
1487
+ if (tmp0_safe_receiver == null) {
1488
+ tmp = null;
1489
+ } else {
1490
+ // Inline function 'kotlin.let' call
1491
+ // Inline function 'kotlin.contracts.contract' call
1492
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1493
+ tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
1494
+ }
1495
+ var tmp_0 = tmp;
1496
+ var tmp_1 = Companion_getInstance().j28(_this__u8e3s4.c2d_1);
1497
+ var tmp_2 = consume_5(_this__u8e3s4.method);
1383
1498
  // Inline function 'kotlin.collections.map' call
1384
1499
  var tmp0_map = _this__u8e3s4.path;
1385
1500
  // Inline function 'kotlin.collections.mapTo' call
@@ -1389,12 +1504,12 @@
1389
1504
  while (inductionVariable < last) {
1390
1505
  var item = tmp0_map[inductionVariable];
1391
1506
  inductionVariable = inductionVariable + 1 | 0;
1392
- var tmp$ret$0;
1507
+ var tmp$ret$2;
1393
1508
  // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1394
- tmp$ret$0 = consume_2(item);
1395
- tmp0_mapTo.s(tmp$ret$0);
1509
+ tmp$ret$2 = consume_6(item);
1510
+ tmp0_mapTo.s(tmp$ret$2);
1396
1511
  }
1397
- var tmp_1 = tmp0_mapTo;
1512
+ var tmp_3 = tmp0_mapTo;
1398
1513
  // Inline function 'kotlin.collections.map' call
1399
1514
  var tmp1_map = _this__u8e3s4.query;
1400
1515
  // Inline function 'kotlin.collections.mapTo' call
@@ -1404,12 +1519,12 @@
1404
1519
  while (inductionVariable_0 < last_0) {
1405
1520
  var item_0 = tmp1_map[inductionVariable_0];
1406
1521
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1407
- var tmp$ret$3;
1522
+ var tmp$ret$5;
1408
1523
  // 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);
1524
+ tmp$ret$5 = consume_7(item_0);
1525
+ tmp0_mapTo_0.s(tmp$ret$5);
1411
1526
  }
1412
- var tmp_2 = tmp0_mapTo_0;
1527
+ var tmp_4 = tmp0_mapTo_0;
1413
1528
  // Inline function 'kotlin.collections.map' call
1414
1529
  var tmp2_map = _this__u8e3s4.query;
1415
1530
  // Inline function 'kotlin.collections.mapTo' call
@@ -1419,12 +1534,12 @@
1419
1534
  while (inductionVariable_1 < last_1) {
1420
1535
  var item_1 = tmp2_map[inductionVariable_1];
1421
1536
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
1422
- var tmp$ret$6;
1537
+ var tmp$ret$8;
1423
1538
  // 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);
1539
+ tmp$ret$8 = consume_7(item_1);
1540
+ tmp0_mapTo_1.s(tmp$ret$8);
1426
1541
  }
1427
- var tmp_3 = tmp0_mapTo_1;
1542
+ var tmp_5 = tmp0_mapTo_1;
1428
1543
  // Inline function 'kotlin.collections.map' call
1429
1544
  var tmp3_map = _this__u8e3s4.query;
1430
1545
  // Inline function 'kotlin.collections.mapTo' call
@@ -1434,12 +1549,12 @@
1434
1549
  while (inductionVariable_2 < last_2) {
1435
1550
  var item_2 = tmp3_map[inductionVariable_2];
1436
1551
  inductionVariable_2 = inductionVariable_2 + 1 | 0;
1437
- var tmp$ret$9;
1552
+ var tmp$ret$11;
1438
1553
  // 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);
1554
+ tmp$ret$11 = consume_7(item_2);
1555
+ tmp0_mapTo_2.s(tmp$ret$11);
1441
1556
  }
1442
- var tmp_4 = tmp0_mapTo_2;
1557
+ var tmp_6 = tmp0_mapTo_2;
1443
1558
  // Inline function 'kotlin.collections.map' call
1444
1559
  var tmp4_map = _this__u8e3s4.requests;
1445
1560
  // Inline function 'kotlin.collections.mapTo' call
@@ -1449,12 +1564,12 @@
1449
1564
  while (inductionVariable_3 < last_3) {
1450
1565
  var item_3 = tmp4_map[inductionVariable_3];
1451
1566
  inductionVariable_3 = inductionVariable_3 + 1 | 0;
1452
- var tmp$ret$12;
1567
+ var tmp$ret$14;
1453
1568
  // 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);
1569
+ tmp$ret$14 = consume_8(item_3);
1570
+ tmp0_mapTo_3.s(tmp$ret$14);
1456
1571
  }
1457
- var tmp_5 = tmp0_mapTo_3;
1572
+ var tmp_7 = tmp0_mapTo_3;
1458
1573
  // Inline function 'kotlin.collections.map' call
1459
1574
  var tmp5_map = _this__u8e3s4.responses;
1460
1575
  // Inline function 'kotlin.collections.mapTo' call
@@ -1464,14 +1579,106 @@
1464
1579
  while (inductionVariable_4 < last_4) {
1465
1580
  var item_4 = tmp5_map[inductionVariable_4];
1466
1581
  inductionVariable_4 = inductionVariable_4 + 1 | 0;
1467
- var tmp$ret$15;
1582
+ var tmp$ret$17;
1468
1583
  // 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);
1584
+ tmp$ret$17 = consume_9(item_4);
1585
+ tmp0_mapTo_4.s(tmp$ret$17);
1471
1586
  }
1472
- return new Endpoint(null, tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp0_mapTo_4);
1587
+ return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp0_mapTo_4);
1473
1588
  }
1474
1589
  function consume_1(_this__u8e3s4) {
1590
+ var tmp1_identifier = Companion_getInstance().j28(_this__u8e3s4.r2d_1);
1591
+ var tmp0_safe_receiver = _this__u8e3s4.comment;
1592
+ var tmp;
1593
+ if (tmp0_safe_receiver == null) {
1594
+ tmp = null;
1595
+ } else {
1596
+ // Inline function 'kotlin.let' call
1597
+ // Inline function 'kotlin.contracts.contract' call
1598
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1599
+ tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
1600
+ }
1601
+ var tmp2_comment = tmp;
1602
+ var tmp3_entries = toSet(_this__u8e3s4.entries);
1603
+ return new Enum_0(tmp2_comment, tmp1_identifier, tmp3_entries);
1604
+ }
1605
+ function consume_2(_this__u8e3s4) {
1606
+ var tmp1_identifier = Companion_getInstance().j28(_this__u8e3s4.v2d_1);
1607
+ var tmp0_safe_receiver = _this__u8e3s4.comment;
1608
+ var tmp;
1609
+ if (tmp0_safe_receiver == null) {
1610
+ tmp = null;
1611
+ } else {
1612
+ // Inline function 'kotlin.let' call
1613
+ // Inline function 'kotlin.contracts.contract' call
1614
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1615
+ tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
1616
+ }
1617
+ var tmp2_comment = tmp;
1618
+ var tmp3_validator = new Validator(_this__u8e3s4.validator);
1619
+ return new Refined(tmp2_comment, tmp1_identifier, tmp3_validator);
1620
+ }
1621
+ function consume_3(_this__u8e3s4) {
1622
+ var tmp1_identifier = Companion_getInstance().j28(_this__u8e3s4.x2c_1);
1623
+ var tmp0_safe_receiver = _this__u8e3s4.comment;
1624
+ var tmp;
1625
+ if (tmp0_safe_receiver == null) {
1626
+ tmp = null;
1627
+ } else {
1628
+ // Inline function 'kotlin.let' call
1629
+ // Inline function 'kotlin.contracts.contract' call
1630
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1631
+ tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
1632
+ }
1633
+ var tmp2_comment = tmp;
1634
+ // Inline function 'kotlin.collections.map' call
1635
+ var tmp0_map = _this__u8e3s4.shape.value;
1636
+ // Inline function 'kotlin.collections.mapTo' call
1637
+ var tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.length);
1638
+ var inductionVariable = 0;
1639
+ var last = tmp0_map.length;
1640
+ while (inductionVariable < last) {
1641
+ var item = tmp0_map[inductionVariable];
1642
+ inductionVariable = inductionVariable + 1 | 0;
1643
+ var tmp$ret$2;
1644
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1645
+ tmp$ret$2 = consume_7(item);
1646
+ tmp0_mapTo.s(tmp$ret$2);
1647
+ }
1648
+ var tmp3_shape = new Shape(tmp0_mapTo);
1649
+ return new Type(tmp2_comment, tmp1_identifier, tmp3_shape);
1650
+ }
1651
+ function consume_4(_this__u8e3s4) {
1652
+ var tmp1_identifier = Companion_getInstance().j28(_this__u8e3s4.t2d_1);
1653
+ var tmp0_safe_receiver = _this__u8e3s4.comment;
1654
+ var tmp;
1655
+ if (tmp0_safe_receiver == null) {
1656
+ tmp = null;
1657
+ } else {
1658
+ // Inline function 'kotlin.let' call
1659
+ // Inline function 'kotlin.contracts.contract' call
1660
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1661
+ tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
1662
+ }
1663
+ var tmp2_comment = tmp;
1664
+ // Inline function 'kotlin.collections.map' call
1665
+ var tmp0_map = _this__u8e3s4.entries;
1666
+ // Inline function 'kotlin.collections.mapTo' call
1667
+ var tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.length);
1668
+ var inductionVariable = 0;
1669
+ var last = tmp0_map.length;
1670
+ while (inductionVariable < last) {
1671
+ var item = tmp0_map[inductionVariable];
1672
+ inductionVariable = inductionVariable + 1 | 0;
1673
+ var tmp$ret$2;
1674
+ // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1675
+ tmp$ret$2 = consume_10(item);
1676
+ tmp0_mapTo.s(tmp$ret$2);
1677
+ }
1678
+ var tmp3_entries = toSet_0(tmp0_mapTo);
1679
+ return new Union(tmp2_comment, tmp1_identifier, tmp3_entries);
1680
+ }
1681
+ function consume_5(_this__u8e3s4) {
1475
1682
  var tmp;
1476
1683
  switch (_this__u8e3s4.d9_1) {
1477
1684
  case 0:
@@ -1504,27 +1711,27 @@
1504
1711
  }
1505
1712
  return tmp;
1506
1713
  }
1507
- function consume_2(_this__u8e3s4) {
1714
+ function consume_6(_this__u8e3s4) {
1508
1715
  var tmp;
1509
1716
  if (_this__u8e3s4 instanceof WsLiteral) {
1510
1717
  tmp = new Literal(_this__u8e3s4.value);
1511
1718
  } else {
1512
1719
  if (_this__u8e3s4 instanceof WsParam) {
1513
- tmp = new Param(consume_6(_this__u8e3s4.identifier), consume_7(_this__u8e3s4.reference));
1720
+ tmp = new Param(consume_11(_this__u8e3s4.identifier), consume_10(_this__u8e3s4.reference));
1514
1721
  } else {
1515
1722
  noWhenBranchMatchedException();
1516
1723
  }
1517
1724
  }
1518
1725
  return tmp;
1519
1726
  }
1520
- function consume_3(_this__u8e3s4) {
1521
- return new Field(consume_6(_this__u8e3s4.identifier), consume_7(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1727
+ function consume_7(_this__u8e3s4) {
1728
+ return new Field(consume_11(_this__u8e3s4.identifier), consume_10(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1522
1729
  }
1523
- function consume_4(_this__u8e3s4) {
1730
+ function consume_8(_this__u8e3s4) {
1524
1731
  var tmp0_safe_receiver = _this__u8e3s4.content;
1525
- return new Request(tmp0_safe_receiver == null ? null : consume_8(tmp0_safe_receiver));
1732
+ return new Request(tmp0_safe_receiver == null ? null : consume_12(tmp0_safe_receiver));
1526
1733
  }
1527
- function consume_5(_this__u8e3s4) {
1734
+ function consume_9(_this__u8e3s4) {
1528
1735
  // Inline function 'kotlin.collections.map' call
1529
1736
  var tmp0_map = _this__u8e3s4.headers;
1530
1737
  // Inline function 'kotlin.collections.mapTo' call
@@ -1536,17 +1743,14 @@
1536
1743
  inductionVariable = inductionVariable + 1 | 0;
1537
1744
  var tmp$ret$0;
1538
1745
  // Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
1539
- tmp$ret$0 = consume_3(item);
1746
+ tmp$ret$0 = consume_7(item);
1540
1747
  tmp0_mapTo.s(tmp$ret$0);
1541
1748
  }
1542
1749
  var tmp = tmp0_mapTo;
1543
1750
  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().j28(_this__u8e3s4.value);
1751
+ return new Response(_this__u8e3s4.status, tmp, tmp0_safe_receiver == null ? null : consume_12(tmp0_safe_receiver));
1548
1752
  }
1549
- function consume_7(_this__u8e3s4) {
1753
+ function consume_10(_this__u8e3s4) {
1550
1754
  var tmp;
1551
1755
  if (_this__u8e3s4 instanceof WsAny) {
1552
1756
  tmp = new Any(_this__u8e3s4.isIterable, _this__u8e3s4.isMap);
@@ -1558,7 +1762,7 @@
1558
1762
  tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1559
1763
  } else {
1560
1764
  if (_this__u8e3s4 instanceof WsPrimitive) {
1561
- tmp = new Primitive(consume_9(_this__u8e3s4.type), _this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1765
+ tmp = new Primitive(consume_13(_this__u8e3s4.type), _this__u8e3s4.isIterable, _this__u8e3s4.isMap);
1562
1766
  } else {
1563
1767
  noWhenBranchMatchedException();
1564
1768
  }
@@ -1567,10 +1771,13 @@
1567
1771
  }
1568
1772
  return tmp;
1569
1773
  }
1570
- function consume_8(_this__u8e3s4) {
1571
- return new Content(_this__u8e3s4.type, consume_7(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1774
+ function consume_11(_this__u8e3s4) {
1775
+ return Companion_getInstance().j28(_this__u8e3s4.value);
1572
1776
  }
1573
- function consume_9(_this__u8e3s4) {
1777
+ function consume_12(_this__u8e3s4) {
1778
+ return new Content(_this__u8e3s4.type, consume_10(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
1779
+ }
1780
+ function consume_13(_this__u8e3s4) {
1574
1781
  var tmp;
1575
1782
  switch (_this__u8e3s4.d9_1) {
1576
1783
  case 0:
@@ -1647,7 +1854,7 @@
1647
1854
  var tmp = this;
1648
1855
  tmp.logger = new Compiler$Companion$logger$1();
1649
1856
  }
1650
- protoOf(Companion).s2e = function () {
1857
+ protoOf(Companion).u2e = function () {
1651
1858
  return this.logger;
1652
1859
  };
1653
1860
  var Companion_instance;
@@ -1674,7 +1881,7 @@
1674
1881
  };
1675
1882
  function Companion_0() {
1676
1883
  Companion_instance_0 = this;
1677
- this.t2e_1 = new KotlinEmitter(VOID, Companion_getInstance_2().logger);
1884
+ this.v2e_1 = new KotlinEmitter(VOID, Companion_getInstance_2().logger);
1678
1885
  }
1679
1886
  var Companion_instance_0;
1680
1887
  function Companion_getInstance_3() {
@@ -1687,11 +1894,11 @@
1687
1894
  Compiler.call(this);
1688
1895
  }
1689
1896
  protoOf(WsToKotlin).compile = function (source) {
1690
- return produce_15(this.preCompile(source)(Companion_getInstance_3().t2e_1));
1897
+ return produce_15(this.preCompile(source)(Companion_getInstance_3().v2e_1));
1691
1898
  };
1692
1899
  function Companion_1() {
1693
1900
  Companion_instance_1 = this;
1694
- this.u2e_1 = new TypeScriptEmitter(Companion_getInstance_2().logger);
1901
+ this.w2e_1 = new TypeScriptEmitter(Companion_getInstance_2().logger);
1695
1902
  }
1696
1903
  var Companion_instance_1;
1697
1904
  function Companion_getInstance_4() {
@@ -1704,11 +1911,11 @@
1704
1911
  Compiler.call(this);
1705
1912
  }
1706
1913
  protoOf(WsToTypeScript).compile = function (source) {
1707
- return produce_15(this.preCompile(source)(Companion_getInstance_4().u2e_1));
1914
+ return produce_15(this.preCompile(source)(Companion_getInstance_4().w2e_1));
1708
1915
  };
1709
1916
  function Companion_2() {
1710
1917
  Companion_instance_2 = this;
1711
- this.v2e_1 = new ScalaEmitter(VOID, Companion_getInstance_2().logger);
1918
+ this.x2e_1 = new ScalaEmitter(VOID, Companion_getInstance_2().logger);
1712
1919
  }
1713
1920
  var Companion_instance_2;
1714
1921
  function Companion_getInstance_5() {
@@ -1721,11 +1928,11 @@
1721
1928
  Compiler.call(this);
1722
1929
  }
1723
1930
  protoOf(WsToScala).compile = function (source) {
1724
- return produce_15(this.preCompile(source)(Companion_getInstance_5().v2e_1));
1931
+ return produce_15(this.preCompile(source)(Companion_getInstance_5().x2e_1));
1725
1932
  };
1726
1933
  function Companion_3() {
1727
1934
  Companion_instance_3 = this;
1728
- this.w2e_1 = new JavaEmitter(VOID, Companion_getInstance_2().logger);
1935
+ this.y2e_1 = new JavaEmitter(VOID, Companion_getInstance_2().logger);
1729
1936
  }
1730
1937
  var Companion_instance_3;
1731
1938
  function Companion_getInstance_6() {
@@ -1738,11 +1945,11 @@
1738
1945
  Compiler.call(this);
1739
1946
  }
1740
1947
  protoOf(WsToJava).compile = function (source) {
1741
- return produce_15(this.preCompile(source)(Companion_getInstance_6().w2e_1));
1948
+ return produce_15(this.preCompile(source)(Companion_getInstance_6().y2e_1));
1742
1949
  };
1743
1950
  function Companion_4() {
1744
1951
  Companion_instance_4 = this;
1745
- this.x2e_1 = new WirespecEmitter(Companion_getInstance_2().logger);
1952
+ this.z2e_1 = new WirespecEmitter(Companion_getInstance_2().logger);
1746
1953
  }
1747
1954
  var Companion_instance_4;
1748
1955
  function Companion_getInstance_7() {
@@ -1755,7 +1962,7 @@
1755
1962
  Compiler.call(this);
1756
1963
  }
1757
1964
  protoOf(WsToWirespec).compile = function (source) {
1758
- return produce_15(this.preCompile(source)(Companion_getInstance_7().x2e_1));
1965
+ return produce_15(this.preCompile(source)(Companion_getInstance_7().z2e_1));
1759
1966
  };
1760
1967
  function OpenApiV2Parser() {
1761
1968
  OpenApiV2Parser_instance = this;
@@ -1776,16 +1983,16 @@
1776
1983
  OpenApiV2ToTypescript_instance = this;
1777
1984
  var tmp = this;
1778
1985
  tmp.logger = new OpenApiV2ToTypescript$logger$1();
1779
- this.y2e_1 = new TypeScriptEmitter(this.logger);
1986
+ this.a2f_1 = new TypeScriptEmitter(this.logger);
1780
1987
  }
1781
- protoOf(OpenApiV2ToTypescript).s2e = function () {
1988
+ protoOf(OpenApiV2ToTypescript).u2e = function () {
1782
1989
  return this.logger;
1783
1990
  };
1784
1991
  protoOf(OpenApiV2ToTypescript).compile = function (source) {
1785
1992
  var ast = Companion_getInstance_0().u2b(source);
1786
1993
  // Inline function 'kotlin.collections.toTypedArray' call
1787
1994
  // Inline function 'kotlin.collections.map' call
1788
- var tmp0_map = this.y2e_1.c20(ast);
1995
+ var tmp0_map = this.a2f_1.c20(ast);
1789
1996
  // Inline function 'kotlin.collections.mapTo' call
1790
1997
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1791
1998
  var tmp0_iterator = tmp0_map.v();
@@ -1813,16 +2020,16 @@
1813
2020
  OpenApiV2ToWirespec_instance = this;
1814
2021
  var tmp = this;
1815
2022
  tmp.logger = new OpenApiV2ToWirespec$logger$1();
1816
- this.z2e_1 = new WirespecEmitter(this.logger);
2023
+ this.b2f_1 = new WirespecEmitter(this.logger);
1817
2024
  }
1818
- protoOf(OpenApiV2ToWirespec).s2e = function () {
2025
+ protoOf(OpenApiV2ToWirespec).u2e = function () {
1819
2026
  return this.logger;
1820
2027
  };
1821
2028
  protoOf(OpenApiV2ToWirespec).compile = function (source) {
1822
2029
  var ast = Companion_getInstance_0().u2b(source);
1823
2030
  // Inline function 'kotlin.collections.toTypedArray' call
1824
2031
  // Inline function 'kotlin.collections.map' call
1825
- var tmp0_map = this.z2e_1.c20(ast);
2032
+ var tmp0_map = this.b2f_1.c20(ast);
1826
2033
  // Inline function 'kotlin.collections.mapTo' call
1827
2034
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1828
2035
  var tmp0_iterator = tmp0_map.v();
@@ -1862,16 +2069,16 @@
1862
2069
  OpenApiV3ToTypescript_instance = this;
1863
2070
  var tmp = this;
1864
2071
  tmp.logger = new OpenApiV3ToTypescript$logger$1();
1865
- this.a2f_1 = new TypeScriptEmitter(this.logger);
2072
+ this.c2f_1 = new TypeScriptEmitter(this.logger);
1866
2073
  }
1867
- protoOf(OpenApiV3ToTypescript).s2e = function () {
2074
+ protoOf(OpenApiV3ToTypescript).u2e = function () {
1868
2075
  return this.logger;
1869
2076
  };
1870
2077
  protoOf(OpenApiV3ToTypescript).compile = function (source) {
1871
2078
  var ast = Companion_getInstance_1().l2c(source);
1872
2079
  // Inline function 'kotlin.collections.toTypedArray' call
1873
2080
  // Inline function 'kotlin.collections.map' call
1874
- var tmp0_map = this.a2f_1.c20(ast);
2081
+ var tmp0_map = this.c2f_1.c20(ast);
1875
2082
  // Inline function 'kotlin.collections.mapTo' call
1876
2083
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1877
2084
  var tmp0_iterator = tmp0_map.v();
@@ -1899,16 +2106,16 @@
1899
2106
  OpenApiV3ToWirespec_instance = this;
1900
2107
  var tmp = this;
1901
2108
  tmp.logger = new OpenApiV3ToWirespec$logger$1();
1902
- this.b2f_1 = new WirespecEmitter(this.logger);
2109
+ this.d2f_1 = new WirespecEmitter(this.logger);
1903
2110
  }
1904
- protoOf(OpenApiV3ToWirespec).s2e = function () {
2111
+ protoOf(OpenApiV3ToWirespec).u2e = function () {
1905
2112
  return this.logger;
1906
2113
  };
1907
2114
  protoOf(OpenApiV3ToWirespec).compile = function (source) {
1908
2115
  var ast = Companion_getInstance_1().l2c(source);
1909
2116
  // Inline function 'kotlin.collections.toTypedArray' call
1910
2117
  // Inline function 'kotlin.collections.map' call
1911
- var tmp0_map = this.b2f_1.c20(ast);
2118
+ var tmp0_map = this.d2f_1.c20(ast);
1912
2119
  // Inline function 'kotlin.collections.mapTo' call
1913
2120
  var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1914
2121
  var tmp0_iterator = tmp0_map.v();
@@ -1942,10 +2149,10 @@
1942
2149
  this.result = result;
1943
2150
  this.errors = errors;
1944
2151
  }
1945
- protoOf(WsCompilationResult).c2f = function () {
2152
+ protoOf(WsCompilationResult).e2f = function () {
1946
2153
  return this.result;
1947
2154
  };
1948
- protoOf(WsCompilationResult).d2f = function () {
2155
+ protoOf(WsCompilationResult).f2f = function () {
1949
2156
  return this.errors;
1950
2157
  };
1951
2158
  function WsCompiled(value) {
@@ -1970,10 +2177,10 @@
1970
2177
  this.result = result;
1971
2178
  this.errors = errors;
1972
2179
  }
1973
- protoOf(WsParseResult).c2f = function () {
2180
+ protoOf(WsParseResult).e2f = function () {
1974
2181
  return this.result;
1975
2182
  };
1976
- protoOf(WsParseResult).d2f = function () {
2183
+ protoOf(WsParseResult).f2f = function () {
1977
2184
  return this.errors;
1978
2185
  };
1979
2186
  function WsStringResult(result, errors) {
@@ -1982,20 +2189,20 @@
1982
2189
  this.result = result;
1983
2190
  this.errors = errors;
1984
2191
  }
1985
- protoOf(WsStringResult).c2f = function () {
2192
+ protoOf(WsStringResult).e2f = function () {
1986
2193
  return this.result;
1987
2194
  };
1988
- protoOf(WsStringResult).d2f = function () {
2195
+ protoOf(WsStringResult).f2f = function () {
1989
2196
  return this.errors;
1990
2197
  };
1991
2198
  function WsEmitted(typeName, result) {
1992
2199
  this.typeName = typeName;
1993
2200
  this.result = result;
1994
2201
  }
1995
- protoOf(WsEmitted).e2f = function () {
2202
+ protoOf(WsEmitted).g2f = function () {
1996
2203
  return this.typeName;
1997
2204
  };
1998
- protoOf(WsEmitted).c2f = function () {
2205
+ protoOf(WsEmitted).e2f = function () {
1999
2206
  return this.result;
2000
2207
  };
2001
2208
  function produce_14(_this__u8e3s4) {
@@ -2139,10 +2346,10 @@
2139
2346
  this.tokens = tokens;
2140
2347
  this.error = error;
2141
2348
  }
2142
- protoOf(WsTokenResult).f2f = function () {
2349
+ protoOf(WsTokenResult).h2f = function () {
2143
2350
  return this.tokens;
2144
2351
  };
2145
- protoOf(WsTokenResult).g2f = function () {
2352
+ protoOf(WsTokenResult).i2f = function () {
2146
2353
  return this.error;
2147
2354
  };
2148
2355
  protoOf(WsTokenResult).gd = function () {
@@ -2151,13 +2358,13 @@
2151
2358
  protoOf(WsTokenResult).hd = function () {
2152
2359
  return this.error;
2153
2360
  };
2154
- protoOf(WsTokenResult).h2f = function (tokens, error) {
2361
+ protoOf(WsTokenResult).j2f = function (tokens, error) {
2155
2362
  return new WsTokenResult(tokens, error);
2156
2363
  };
2157
2364
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
2158
2365
  tokens = tokens === VOID ? this.tokens : tokens;
2159
2366
  error = error === VOID ? this.error : error;
2160
- return this.h2f(tokens, error);
2367
+ return this.j2f(tokens, error);
2161
2368
  };
2162
2369
  protoOf(WsTokenResult).toString = function () {
2163
2370
  return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
@@ -2202,12 +2409,12 @@
2202
2409
  protoOf(WsTokens).gd = function () {
2203
2410
  return this.value;
2204
2411
  };
2205
- protoOf(WsTokens).i2f = function (value) {
2412
+ protoOf(WsTokens).k2f = function (value) {
2206
2413
  return new WsTokens(value);
2207
2414
  };
2208
2415
  protoOf(WsTokens).copy = function (value, $super) {
2209
2416
  value = value === VOID ? this.value : value;
2210
- return this.i2f(value);
2417
+ return this.k2f(value);
2211
2418
  };
2212
2419
  protoOf(WsTokens).toString = function () {
2213
2420
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -2218,13 +2425,13 @@
2218
2425
  this.value = value;
2219
2426
  this.coordinates = coordinates;
2220
2427
  }
2221
- protoOf(WsToken).k2e = function () {
2428
+ protoOf(WsToken).m2e = function () {
2222
2429
  return this.type;
2223
2430
  };
2224
2431
  protoOf(WsToken).p2 = function () {
2225
2432
  return this.value;
2226
2433
  };
2227
- protoOf(WsToken).j2f = function () {
2434
+ protoOf(WsToken).l2f = function () {
2228
2435
  return this.coordinates;
2229
2436
  };
2230
2437
  protoOf(WsToken).gd = function () {
@@ -2236,14 +2443,14 @@
2236
2443
  protoOf(WsToken).ah = function () {
2237
2444
  return this.coordinates;
2238
2445
  };
2239
- protoOf(WsToken).k2f = function (type, value, coordinates) {
2446
+ protoOf(WsToken).m2f = function (type, value, coordinates) {
2240
2447
  return new WsToken(type, value, coordinates);
2241
2448
  };
2242
2449
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
2243
2450
  type = type === VOID ? this.type : type;
2244
2451
  value = value === VOID ? this.value : value;
2245
2452
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
2246
- return this.k2f(type, value, coordinates);
2453
+ return this.m2f(type, value, coordinates);
2247
2454
  };
2248
2455
  protoOf(WsToken).toString = function () {
2249
2456
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
@@ -2276,13 +2483,13 @@
2276
2483
  this.position = position;
2277
2484
  this.idxAndLength = idxAndLength;
2278
2485
  }
2279
- protoOf(WsCoordinates).l2f = function () {
2486
+ protoOf(WsCoordinates).n2f = function () {
2280
2487
  return this.line;
2281
2488
  };
2282
2489
  protoOf(WsCoordinates).jr = function () {
2283
2490
  return this.position;
2284
2491
  };
2285
- protoOf(WsCoordinates).m2f = function () {
2492
+ protoOf(WsCoordinates).o2f = function () {
2286
2493
  return this.idxAndLength;
2287
2494
  };
2288
2495
  protoOf(WsCoordinates).gd = function () {
@@ -2294,14 +2501,14 @@
2294
2501
  protoOf(WsCoordinates).ah = function () {
2295
2502
  return this.idxAndLength;
2296
2503
  };
2297
- protoOf(WsCoordinates).n2f = function (line, position, idxAndLength) {
2504
+ protoOf(WsCoordinates).p2f = function (line, position, idxAndLength) {
2298
2505
  return new WsCoordinates(line, position, idxAndLength);
2299
2506
  };
2300
2507
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
2301
2508
  line = line === VOID ? this.line : line;
2302
2509
  position = position === VOID ? this.position : position;
2303
2510
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
2304
- return this.n2f(line, position, idxAndLength);
2511
+ return this.p2f(line, position, idxAndLength);
2305
2512
  };
2306
2513
  protoOf(WsCoordinates).toString = function () {
2307
2514
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
@@ -2332,7 +2539,7 @@
2332
2539
  this.idx = idx;
2333
2540
  this.length = length;
2334
2541
  }
2335
- protoOf(WsIndex).o2f = function () {
2542
+ protoOf(WsIndex).q2f = function () {
2336
2543
  return this.idx;
2337
2544
  };
2338
2545
  protoOf(WsIndex).a = function () {
@@ -2344,13 +2551,13 @@
2344
2551
  protoOf(WsIndex).hd = function () {
2345
2552
  return this.length;
2346
2553
  };
2347
- protoOf(WsIndex).p2f = function (idx, length) {
2554
+ protoOf(WsIndex).r2f = function (idx, length) {
2348
2555
  return new WsIndex(idx, length);
2349
2556
  };
2350
2557
  protoOf(WsIndex).copy = function (idx, length, $super) {
2351
2558
  idx = idx === VOID ? this.idx : idx;
2352
2559
  length = length === VOID ? this.length : length;
2353
- return this.p2f(idx, length);
2560
+ return this.r2f(idx, length);
2354
2561
  };
2355
2562
  protoOf(WsIndex).toString = function () {
2356
2563
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -2403,7 +2610,7 @@
2403
2610
  this.length = length;
2404
2611
  this.value = value;
2405
2612
  }
2406
- protoOf(WsError).q2f = function () {
2613
+ protoOf(WsError).s2f = function () {
2407
2614
  return this.index;
2408
2615
  };
2409
2616
  protoOf(WsError).a = function () {
@@ -2421,14 +2628,14 @@
2421
2628
  protoOf(WsError).ah = function () {
2422
2629
  return this.value;
2423
2630
  };
2424
- protoOf(WsError).r2f = function (index, length, value) {
2631
+ protoOf(WsError).t2f = function (index, length, value) {
2425
2632
  return new WsError(index, length, value);
2426
2633
  };
2427
2634
  protoOf(WsError).copy = function (index, length, value, $super) {
2428
2635
  index = index === VOID ? this.index : index;
2429
2636
  length = length === VOID ? this.length : length;
2430
2637
  value = value === VOID ? this.value : value;
2431
- return this.r2f(index, length, value);
2638
+ return this.t2f(index, length, value);
2432
2639
  };
2433
2640
  protoOf(WsError).toString = function () {
2434
2641
  return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -2459,20 +2666,20 @@
2459
2666
  return new WsError(tmp, _this__u8e3s4.b29_1.a29_1.n2a_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
2460
2667
  }
2461
2668
  //region block: post-declaration
2462
- defineProp(protoOf(WsType), 'name', function () {
2463
- return this.wa();
2669
+ defineProp(protoOf(WsType), 'identifier', function () {
2670
+ return this.n21();
2464
2671
  }, VOID);
2465
- defineProp(protoOf(WsEndpoint), 'name', function () {
2466
- return this.wa();
2672
+ defineProp(protoOf(WsEndpoint), 'identifier', function () {
2673
+ return this.n21();
2467
2674
  }, VOID);
2468
- defineProp(protoOf(WsEnum), 'name', function () {
2469
- return this.wa();
2675
+ defineProp(protoOf(WsEnum), 'identifier', function () {
2676
+ return this.n21();
2470
2677
  }, VOID);
2471
- defineProp(protoOf(WsUnion), 'name', function () {
2472
- return this.wa();
2678
+ defineProp(protoOf(WsUnion), 'identifier', function () {
2679
+ return this.n21();
2473
2680
  }, VOID);
2474
- defineProp(protoOf(WsRefined), 'name', function () {
2475
- return this.wa();
2681
+ defineProp(protoOf(WsRefined), 'identifier', function () {
2682
+ return this.n21();
2476
2683
  }, VOID);
2477
2684
  defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).wa, VOID);
2478
2685
  defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).xa, VOID);
@@ -2529,7 +2736,7 @@
2529
2736
  defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'TRACE', WsMethod_TRACE_getInstance, VOID);
2530
2737
  $community$flock$wirespec$compiler$lib.WsLiteral = WsLiteral;
2531
2738
  $community$flock$wirespec$compiler$lib.WsParam = WsParam;
2532
- $community$flock$wirespec$compiler$lib.Shape = Shape;
2739
+ $community$flock$wirespec$compiler$lib.Shape = Shape_0;
2533
2740
  $community$flock$wirespec$compiler$lib.WsField = WsField;
2534
2741
  $community$flock$wirespec$compiler$lib.WsIdentifier = WsIdentifier;
2535
2742
  $community$flock$wirespec$compiler$lib.WsAny = WsAny;