@flock/wirespec 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.js +4 -4
- package/arrow-arrow-continuations.js +3 -3
- package/arrow-arrow-core.js +15 -15
- package/clikt-clikt.js +1218 -1218
- package/colormath-root-colormath.js +388 -388
- package/kotlin-kotlin-stdlib.js +216 -190
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +19 -19
- package/kotlin-rgxgen.js +1810 -1810
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +57 -57
- package/markdown.js +1884 -1884
- package/mordant-mordant.js +1643 -1643
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +782 -666
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +303 -243
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +329 -277
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-generator.js +37 -34
- package/wirespec-src-generator.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +91 -91
- package/wirespec-src-plugin-cli.js +141 -141
- package/wirespec-src-plugin-npm.d.ts +10 -0
- package/wirespec-src-plugin-npm.js +3 -3
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
27
|
-
var VOID = kotlin_kotlin.$_$.
|
|
28
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
29
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
30
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
31
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
32
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
33
|
-
var toString = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
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
37
|
var Unit_getInstance = kotlin_kotlin.$_$.x3;
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.yd;
|
|
39
39
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
|
|
40
40
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
41
41
|
var copyToArray = kotlin_kotlin.$_$.k5;
|
|
42
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
42
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.df;
|
|
43
43
|
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
44
44
|
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.r;
|
|
45
45
|
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
53
53
|
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.s;
|
|
54
54
|
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.e1;
|
|
55
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
55
|
+
var objectMeta = kotlin_kotlin.$_$.ca;
|
|
56
56
|
var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
|
|
57
57
|
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
58
58
|
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
setMetadataFor(WsShape, 'WsShape', classMeta);
|
|
78
78
|
setMetadataFor(WsEndpoint, 'WsEndpoint', classMeta, VOID, [WsNode]);
|
|
79
79
|
setMetadataFor(WsEnum, 'WsEnum', classMeta, VOID, [WsNode]);
|
|
80
|
+
setMetadataFor(WsUnion, 'WsUnion', classMeta, VOID, [WsNode]);
|
|
80
81
|
setMetadataFor(WsRefined, 'WsRefined', classMeta, VOID, [WsNode]);
|
|
81
82
|
setMetadataFor(WsMethod, 'WsMethod', classMeta, Enum);
|
|
82
83
|
setMetadataFor(WsSegment, 'WsSegment', interfaceMeta);
|
|
@@ -132,34 +133,34 @@
|
|
|
132
133
|
function WsNode() {
|
|
133
134
|
}
|
|
134
135
|
function WsType(name, shape) {
|
|
135
|
-
this.
|
|
136
|
+
this.t23_1 = name;
|
|
136
137
|
this.shape = shape;
|
|
137
138
|
}
|
|
138
139
|
protoOf(WsType).va = function () {
|
|
139
|
-
return this.
|
|
140
|
+
return this.t23_1;
|
|
140
141
|
};
|
|
141
|
-
protoOf(WsType).
|
|
142
|
+
protoOf(WsType).u23 = function () {
|
|
142
143
|
return this.shape;
|
|
143
144
|
};
|
|
144
145
|
protoOf(WsType).fd = function () {
|
|
145
|
-
return this.
|
|
146
|
+
return this.t23_1;
|
|
146
147
|
};
|
|
147
148
|
protoOf(WsType).gd = function () {
|
|
148
149
|
return this.shape;
|
|
149
150
|
};
|
|
150
|
-
protoOf(WsType).
|
|
151
|
+
protoOf(WsType).v23 = function (name, shape) {
|
|
151
152
|
return new WsType(name, shape);
|
|
152
153
|
};
|
|
153
154
|
protoOf(WsType).copy = function (name, shape, $super) {
|
|
154
|
-
name = name === VOID ? this.
|
|
155
|
+
name = name === VOID ? this.t23_1 : name;
|
|
155
156
|
shape = shape === VOID ? this.shape : shape;
|
|
156
|
-
return this.
|
|
157
|
+
return this.v23(name, shape);
|
|
157
158
|
};
|
|
158
159
|
protoOf(WsType).toString = function () {
|
|
159
|
-
return 'WsType(name=' + this.
|
|
160
|
+
return 'WsType(name=' + this.t23_1 + ', shape=' + this.shape + ')';
|
|
160
161
|
};
|
|
161
162
|
protoOf(WsType).hashCode = function () {
|
|
162
|
-
var result = getStringHashCode(this.
|
|
163
|
+
var result = getStringHashCode(this.t23_1);
|
|
163
164
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
164
165
|
return result;
|
|
165
166
|
};
|
|
@@ -169,7 +170,7 @@
|
|
|
169
170
|
if (!(other instanceof WsType))
|
|
170
171
|
return false;
|
|
171
172
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
172
|
-
if (!(this.
|
|
173
|
+
if (!(this.t23_1 === tmp0_other_with_cast.t23_1))
|
|
173
174
|
return false;
|
|
174
175
|
if (!this.shape.equals(tmp0_other_with_cast.shape))
|
|
175
176
|
return false;
|
|
@@ -184,12 +185,12 @@
|
|
|
184
185
|
protoOf(WsShape).fd = function () {
|
|
185
186
|
return this.value;
|
|
186
187
|
};
|
|
187
|
-
protoOf(WsShape).
|
|
188
|
+
protoOf(WsShape).w23 = function (value) {
|
|
188
189
|
return new WsShape(value);
|
|
189
190
|
};
|
|
190
191
|
protoOf(WsShape).copy = function (value, $super) {
|
|
191
192
|
value = value === VOID ? this.value : value;
|
|
192
|
-
return this.
|
|
193
|
+
return this.w23(value);
|
|
193
194
|
};
|
|
194
195
|
protoOf(WsShape).toString = function () {
|
|
195
196
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
return true;
|
|
209
210
|
};
|
|
210
211
|
function WsEndpoint(name, method, path, query, headers, cookies, requests, responses) {
|
|
211
|
-
this.
|
|
212
|
+
this.x23_1 = name;
|
|
212
213
|
this.method = method;
|
|
213
214
|
this.path = path;
|
|
214
215
|
this.query = query;
|
|
@@ -218,31 +219,31 @@
|
|
|
218
219
|
this.responses = responses;
|
|
219
220
|
}
|
|
220
221
|
protoOf(WsEndpoint).va = function () {
|
|
221
|
-
return this.
|
|
222
|
+
return this.x23_1;
|
|
222
223
|
};
|
|
223
|
-
protoOf(WsEndpoint).
|
|
224
|
+
protoOf(WsEndpoint).y23 = function () {
|
|
224
225
|
return this.method;
|
|
225
226
|
};
|
|
226
|
-
protoOf(WsEndpoint).
|
|
227
|
+
protoOf(WsEndpoint).z23 = function () {
|
|
227
228
|
return this.path;
|
|
228
229
|
};
|
|
229
|
-
protoOf(WsEndpoint).
|
|
230
|
+
protoOf(WsEndpoint).a24 = function () {
|
|
230
231
|
return this.query;
|
|
231
232
|
};
|
|
232
|
-
protoOf(WsEndpoint).
|
|
233
|
+
protoOf(WsEndpoint).b24 = function () {
|
|
233
234
|
return this.headers;
|
|
234
235
|
};
|
|
235
|
-
protoOf(WsEndpoint).
|
|
236
|
+
protoOf(WsEndpoint).c24 = function () {
|
|
236
237
|
return this.cookies;
|
|
237
238
|
};
|
|
238
|
-
protoOf(WsEndpoint).
|
|
239
|
+
protoOf(WsEndpoint).d24 = function () {
|
|
239
240
|
return this.requests;
|
|
240
241
|
};
|
|
241
|
-
protoOf(WsEndpoint).
|
|
242
|
+
protoOf(WsEndpoint).e24 = function () {
|
|
242
243
|
return this.responses;
|
|
243
244
|
};
|
|
244
245
|
protoOf(WsEndpoint).fd = function () {
|
|
245
|
-
return this.
|
|
246
|
+
return this.x23_1;
|
|
246
247
|
};
|
|
247
248
|
protoOf(WsEndpoint).gd = function () {
|
|
248
249
|
return this.method;
|
|
@@ -250,26 +251,26 @@
|
|
|
250
251
|
protoOf(WsEndpoint).zg = function () {
|
|
251
252
|
return this.path;
|
|
252
253
|
};
|
|
253
|
-
protoOf(WsEndpoint).
|
|
254
|
+
protoOf(WsEndpoint).f24 = function () {
|
|
254
255
|
return this.query;
|
|
255
256
|
};
|
|
256
|
-
protoOf(WsEndpoint).
|
|
257
|
+
protoOf(WsEndpoint).g24 = function () {
|
|
257
258
|
return this.headers;
|
|
258
259
|
};
|
|
259
|
-
protoOf(WsEndpoint).
|
|
260
|
+
protoOf(WsEndpoint).h24 = function () {
|
|
260
261
|
return this.cookies;
|
|
261
262
|
};
|
|
262
|
-
protoOf(WsEndpoint).
|
|
263
|
+
protoOf(WsEndpoint).i24 = function () {
|
|
263
264
|
return this.requests;
|
|
264
265
|
};
|
|
265
|
-
protoOf(WsEndpoint).
|
|
266
|
+
protoOf(WsEndpoint).j24 = function () {
|
|
266
267
|
return this.responses;
|
|
267
268
|
};
|
|
268
|
-
protoOf(WsEndpoint).
|
|
269
|
+
protoOf(WsEndpoint).k24 = function (name, method, path, query, headers, cookies, requests, responses) {
|
|
269
270
|
return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
|
|
270
271
|
};
|
|
271
272
|
protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
|
|
272
|
-
name = name === VOID ? this.
|
|
273
|
+
name = name === VOID ? this.x23_1 : name;
|
|
273
274
|
method = method === VOID ? this.method : method;
|
|
274
275
|
path = path === VOID ? this.path : path;
|
|
275
276
|
query = query === VOID ? this.query : query;
|
|
@@ -277,13 +278,13 @@
|
|
|
277
278
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
278
279
|
requests = requests === VOID ? this.requests : requests;
|
|
279
280
|
responses = responses === VOID ? this.responses : responses;
|
|
280
|
-
return this.
|
|
281
|
+
return this.k24(name, method, path, query, headers, cookies, requests, responses);
|
|
281
282
|
};
|
|
282
283
|
protoOf(WsEndpoint).toString = function () {
|
|
283
|
-
return 'WsEndpoint(name=' + this.
|
|
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) + ')';
|
|
284
285
|
};
|
|
285
286
|
protoOf(WsEndpoint).hashCode = function () {
|
|
286
|
-
var result = getStringHashCode(this.
|
|
287
|
+
var result = getStringHashCode(this.x23_1);
|
|
287
288
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
288
289
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
289
290
|
result = imul(result, 31) + hashCode(this.query) | 0;
|
|
@@ -299,7 +300,7 @@
|
|
|
299
300
|
if (!(other instanceof WsEndpoint))
|
|
300
301
|
return false;
|
|
301
302
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
302
|
-
if (!(this.
|
|
303
|
+
if (!(this.x23_1 === tmp0_other_with_cast.x23_1))
|
|
303
304
|
return false;
|
|
304
305
|
if (!this.method.equals(tmp0_other_with_cast.method))
|
|
305
306
|
return false;
|
|
@@ -318,34 +319,34 @@
|
|
|
318
319
|
return true;
|
|
319
320
|
};
|
|
320
321
|
function WsEnum(name, entries) {
|
|
321
|
-
this.
|
|
322
|
+
this.l24_1 = name;
|
|
322
323
|
this.entries = entries;
|
|
323
324
|
}
|
|
324
325
|
protoOf(WsEnum).va = function () {
|
|
325
|
-
return this.
|
|
326
|
+
return this.l24_1;
|
|
326
327
|
};
|
|
327
328
|
protoOf(WsEnum).n2 = function () {
|
|
328
329
|
return this.entries;
|
|
329
330
|
};
|
|
330
331
|
protoOf(WsEnum).fd = function () {
|
|
331
|
-
return this.
|
|
332
|
+
return this.l24_1;
|
|
332
333
|
};
|
|
333
334
|
protoOf(WsEnum).gd = function () {
|
|
334
335
|
return this.entries;
|
|
335
336
|
};
|
|
336
|
-
protoOf(WsEnum).
|
|
337
|
+
protoOf(WsEnum).m24 = function (name, entries) {
|
|
337
338
|
return new WsEnum(name, entries);
|
|
338
339
|
};
|
|
339
340
|
protoOf(WsEnum).copy = function (name, entries, $super) {
|
|
340
|
-
name = name === VOID ? this.
|
|
341
|
+
name = name === VOID ? this.l24_1 : name;
|
|
341
342
|
entries = entries === VOID ? this.entries : entries;
|
|
342
|
-
return this.
|
|
343
|
+
return this.m24(name, entries);
|
|
343
344
|
};
|
|
344
345
|
protoOf(WsEnum).toString = function () {
|
|
345
|
-
return 'WsEnum(name=' + this.
|
|
346
|
+
return 'WsEnum(name=' + this.l24_1 + ', entries=' + toString(this.entries) + ')';
|
|
346
347
|
};
|
|
347
348
|
protoOf(WsEnum).hashCode = function () {
|
|
348
|
-
var result = getStringHashCode(this.
|
|
349
|
+
var result = getStringHashCode(this.l24_1);
|
|
349
350
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
350
351
|
return result;
|
|
351
352
|
};
|
|
@@ -355,41 +356,85 @@
|
|
|
355
356
|
if (!(other instanceof WsEnum))
|
|
356
357
|
return false;
|
|
357
358
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
358
|
-
if (!(this.
|
|
359
|
+
if (!(this.l24_1 === tmp0_other_with_cast.l24_1))
|
|
360
|
+
return false;
|
|
361
|
+
if (!equals(this.entries, tmp0_other_with_cast.entries))
|
|
362
|
+
return false;
|
|
363
|
+
return true;
|
|
364
|
+
};
|
|
365
|
+
function WsUnion(name, entries) {
|
|
366
|
+
this.n24_1 = name;
|
|
367
|
+
this.entries = entries;
|
|
368
|
+
}
|
|
369
|
+
protoOf(WsUnion).va = function () {
|
|
370
|
+
return this.n24_1;
|
|
371
|
+
};
|
|
372
|
+
protoOf(WsUnion).n2 = function () {
|
|
373
|
+
return this.entries;
|
|
374
|
+
};
|
|
375
|
+
protoOf(WsUnion).fd = function () {
|
|
376
|
+
return this.n24_1;
|
|
377
|
+
};
|
|
378
|
+
protoOf(WsUnion).gd = function () {
|
|
379
|
+
return this.entries;
|
|
380
|
+
};
|
|
381
|
+
protoOf(WsUnion).o24 = function (name, entries) {
|
|
382
|
+
return new WsUnion(name, entries);
|
|
383
|
+
};
|
|
384
|
+
protoOf(WsUnion).copy = function (name, entries, $super) {
|
|
385
|
+
name = name === VOID ? this.n24_1 : name;
|
|
386
|
+
entries = entries === VOID ? this.entries : entries;
|
|
387
|
+
return this.o24(name, entries);
|
|
388
|
+
};
|
|
389
|
+
protoOf(WsUnion).toString = function () {
|
|
390
|
+
return 'WsUnion(name=' + this.n24_1 + ', entries=' + toString(this.entries) + ')';
|
|
391
|
+
};
|
|
392
|
+
protoOf(WsUnion).hashCode = function () {
|
|
393
|
+
var result = getStringHashCode(this.n24_1);
|
|
394
|
+
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
395
|
+
return result;
|
|
396
|
+
};
|
|
397
|
+
protoOf(WsUnion).equals = function (other) {
|
|
398
|
+
if (this === other)
|
|
399
|
+
return true;
|
|
400
|
+
if (!(other instanceof WsUnion))
|
|
401
|
+
return false;
|
|
402
|
+
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
403
|
+
if (!(this.n24_1 === tmp0_other_with_cast.n24_1))
|
|
359
404
|
return false;
|
|
360
405
|
if (!equals(this.entries, tmp0_other_with_cast.entries))
|
|
361
406
|
return false;
|
|
362
407
|
return true;
|
|
363
408
|
};
|
|
364
409
|
function WsRefined(name, validator) {
|
|
365
|
-
this.
|
|
410
|
+
this.p24_1 = name;
|
|
366
411
|
this.validator = validator;
|
|
367
412
|
}
|
|
368
413
|
protoOf(WsRefined).va = function () {
|
|
369
|
-
return this.
|
|
414
|
+
return this.p24_1;
|
|
370
415
|
};
|
|
371
|
-
protoOf(WsRefined).
|
|
416
|
+
protoOf(WsRefined).q24 = function () {
|
|
372
417
|
return this.validator;
|
|
373
418
|
};
|
|
374
419
|
protoOf(WsRefined).fd = function () {
|
|
375
|
-
return this.
|
|
420
|
+
return this.p24_1;
|
|
376
421
|
};
|
|
377
422
|
protoOf(WsRefined).gd = function () {
|
|
378
423
|
return this.validator;
|
|
379
424
|
};
|
|
380
|
-
protoOf(WsRefined).
|
|
425
|
+
protoOf(WsRefined).r24 = function (name, validator) {
|
|
381
426
|
return new WsRefined(name, validator);
|
|
382
427
|
};
|
|
383
428
|
protoOf(WsRefined).copy = function (name, validator, $super) {
|
|
384
|
-
name = name === VOID ? this.
|
|
429
|
+
name = name === VOID ? this.p24_1 : name;
|
|
385
430
|
validator = validator === VOID ? this.validator : validator;
|
|
386
|
-
return this.
|
|
431
|
+
return this.r24(name, validator);
|
|
387
432
|
};
|
|
388
433
|
protoOf(WsRefined).toString = function () {
|
|
389
|
-
return 'WsRefined(name=' + this.
|
|
434
|
+
return 'WsRefined(name=' + this.p24_1 + ', validator=' + this.validator + ')';
|
|
390
435
|
};
|
|
391
436
|
protoOf(WsRefined).hashCode = function () {
|
|
392
|
-
var result = getStringHashCode(this.
|
|
437
|
+
var result = getStringHashCode(this.p24_1);
|
|
393
438
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
394
439
|
return result;
|
|
395
440
|
};
|
|
@@ -399,7 +444,7 @@
|
|
|
399
444
|
if (!(other instanceof WsRefined))
|
|
400
445
|
return false;
|
|
401
446
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
402
|
-
if (!(this.
|
|
447
|
+
if (!(this.p24_1 === tmp0_other_with_cast.p24_1))
|
|
403
448
|
return false;
|
|
404
449
|
if (!(this.validator === tmp0_other_with_cast.validator))
|
|
405
450
|
return false;
|
|
@@ -468,12 +513,12 @@
|
|
|
468
513
|
protoOf(WsLiteral).fd = function () {
|
|
469
514
|
return this.value;
|
|
470
515
|
};
|
|
471
|
-
protoOf(WsLiteral).
|
|
516
|
+
protoOf(WsLiteral).u24 = function (value) {
|
|
472
517
|
return new WsLiteral(value);
|
|
473
518
|
};
|
|
474
519
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
475
520
|
value = value === VOID ? this.value : value;
|
|
476
|
-
return this.
|
|
521
|
+
return this.u24(value);
|
|
477
522
|
};
|
|
478
523
|
protoOf(WsLiteral).toString = function () {
|
|
479
524
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -495,10 +540,10 @@
|
|
|
495
540
|
this.identifier = identifier;
|
|
496
541
|
this.reference = reference;
|
|
497
542
|
}
|
|
498
|
-
protoOf(WsParam).
|
|
543
|
+
protoOf(WsParam).v24 = function () {
|
|
499
544
|
return this.identifier;
|
|
500
545
|
};
|
|
501
|
-
protoOf(WsParam).
|
|
546
|
+
protoOf(WsParam).w24 = function () {
|
|
502
547
|
return this.reference;
|
|
503
548
|
};
|
|
504
549
|
protoOf(WsParam).fd = function () {
|
|
@@ -507,13 +552,13 @@
|
|
|
507
552
|
protoOf(WsParam).gd = function () {
|
|
508
553
|
return this.reference;
|
|
509
554
|
};
|
|
510
|
-
protoOf(WsParam).
|
|
555
|
+
protoOf(WsParam).x24 = function (identifier, reference) {
|
|
511
556
|
return new WsParam(identifier, reference);
|
|
512
557
|
};
|
|
513
558
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
514
559
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
515
560
|
reference = reference === VOID ? this.reference : reference;
|
|
516
|
-
return this.
|
|
561
|
+
return this.x24(identifier, reference);
|
|
517
562
|
};
|
|
518
563
|
protoOf(WsParam).toString = function () {
|
|
519
564
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -544,12 +589,12 @@
|
|
|
544
589
|
protoOf(Shape).fd = function () {
|
|
545
590
|
return this.value;
|
|
546
591
|
};
|
|
547
|
-
protoOf(Shape).
|
|
592
|
+
protoOf(Shape).w23 = function (value) {
|
|
548
593
|
return new Shape(value);
|
|
549
594
|
};
|
|
550
595
|
protoOf(Shape).copy = function (value, $super) {
|
|
551
596
|
value = value === VOID ? this.value : value;
|
|
552
|
-
return this.
|
|
597
|
+
return this.w23(value);
|
|
553
598
|
};
|
|
554
599
|
protoOf(Shape).toString = function () {
|
|
555
600
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -572,10 +617,10 @@
|
|
|
572
617
|
this.reference = reference;
|
|
573
618
|
this.isNullable = isNullable;
|
|
574
619
|
}
|
|
575
|
-
protoOf(WsField).
|
|
620
|
+
protoOf(WsField).v24 = function () {
|
|
576
621
|
return this.identifier;
|
|
577
622
|
};
|
|
578
|
-
protoOf(WsField).
|
|
623
|
+
protoOf(WsField).w24 = function () {
|
|
579
624
|
return this.reference;
|
|
580
625
|
};
|
|
581
626
|
protoOf(WsField).tj = function () {
|
|
@@ -590,14 +635,14 @@
|
|
|
590
635
|
protoOf(WsField).zg = function () {
|
|
591
636
|
return this.isNullable;
|
|
592
637
|
};
|
|
593
|
-
protoOf(WsField).
|
|
638
|
+
protoOf(WsField).y24 = function (identifier, reference, isNullable) {
|
|
594
639
|
return new WsField(identifier, reference, isNullable);
|
|
595
640
|
};
|
|
596
641
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
597
642
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
598
643
|
reference = reference === VOID ? this.reference : reference;
|
|
599
644
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
600
|
-
return this.
|
|
645
|
+
return this.y24(identifier, reference, isNullable);
|
|
601
646
|
};
|
|
602
647
|
protoOf(WsField).toString = function () {
|
|
603
648
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -631,12 +676,12 @@
|
|
|
631
676
|
protoOf(WsIdentifier).fd = function () {
|
|
632
677
|
return this.value;
|
|
633
678
|
};
|
|
634
|
-
protoOf(WsIdentifier).
|
|
679
|
+
protoOf(WsIdentifier).u24 = function (value) {
|
|
635
680
|
return new WsIdentifier(value);
|
|
636
681
|
};
|
|
637
682
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
638
683
|
value = value === VOID ? this.value : value;
|
|
639
|
-
return this.
|
|
684
|
+
return this.u24(value);
|
|
640
685
|
};
|
|
641
686
|
protoOf(WsIdentifier).toString = function () {
|
|
642
687
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -658,35 +703,35 @@
|
|
|
658
703
|
}
|
|
659
704
|
function WsAny(isIterable, isMap) {
|
|
660
705
|
isMap = isMap === VOID ? false : isMap;
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
706
|
+
this.z24_1 = isIterable;
|
|
707
|
+
this.a25_1 = isMap;
|
|
663
708
|
}
|
|
664
709
|
protoOf(WsAny).g1s = function () {
|
|
665
|
-
return this.
|
|
710
|
+
return this.z24_1;
|
|
666
711
|
};
|
|
667
|
-
protoOf(WsAny).
|
|
668
|
-
return this.
|
|
712
|
+
protoOf(WsAny).p1z = function () {
|
|
713
|
+
return this.a25_1;
|
|
669
714
|
};
|
|
670
715
|
protoOf(WsAny).fd = function () {
|
|
671
|
-
return this.
|
|
716
|
+
return this.z24_1;
|
|
672
717
|
};
|
|
673
718
|
protoOf(WsAny).gd = function () {
|
|
674
|
-
return this.
|
|
719
|
+
return this.a25_1;
|
|
675
720
|
};
|
|
676
|
-
protoOf(WsAny).
|
|
721
|
+
protoOf(WsAny).y20 = function (isIterable, isMap) {
|
|
677
722
|
return new WsAny(isIterable, isMap);
|
|
678
723
|
};
|
|
679
724
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
680
|
-
isIterable = isIterable === VOID ? this.
|
|
681
|
-
isMap = isMap === VOID ? this.
|
|
682
|
-
return this.
|
|
725
|
+
isIterable = isIterable === VOID ? this.z24_1 : isIterable;
|
|
726
|
+
isMap = isMap === VOID ? this.a25_1 : isMap;
|
|
727
|
+
return this.y20(isIterable, isMap);
|
|
683
728
|
};
|
|
684
729
|
protoOf(WsAny).toString = function () {
|
|
685
|
-
return 'WsAny(isIterable=' + this.
|
|
730
|
+
return 'WsAny(isIterable=' + this.z24_1 + ', isMap=' + this.a25_1 + ')';
|
|
686
731
|
};
|
|
687
732
|
protoOf(WsAny).hashCode = function () {
|
|
688
|
-
var result = this.
|
|
689
|
-
result = imul(result, 31) + (this.
|
|
733
|
+
var result = this.z24_1 | 0;
|
|
734
|
+
result = imul(result, 31) + (this.a25_1 | 0) | 0;
|
|
690
735
|
return result;
|
|
691
736
|
};
|
|
692
737
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -695,43 +740,43 @@
|
|
|
695
740
|
if (!(other instanceof WsAny))
|
|
696
741
|
return false;
|
|
697
742
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
698
|
-
if (!(this.
|
|
743
|
+
if (!(this.z24_1 === tmp0_other_with_cast.z24_1))
|
|
699
744
|
return false;
|
|
700
|
-
if (!(this.
|
|
745
|
+
if (!(this.a25_1 === tmp0_other_with_cast.a25_1))
|
|
701
746
|
return false;
|
|
702
747
|
return true;
|
|
703
748
|
};
|
|
704
749
|
function WsUnit(isIterable, isMap) {
|
|
705
750
|
isMap = isMap === VOID ? false : isMap;
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
751
|
+
this.b25_1 = isIterable;
|
|
752
|
+
this.c25_1 = isMap;
|
|
708
753
|
}
|
|
709
754
|
protoOf(WsUnit).g1s = function () {
|
|
710
|
-
return this.
|
|
755
|
+
return this.b25_1;
|
|
711
756
|
};
|
|
712
|
-
protoOf(WsUnit).
|
|
713
|
-
return this.
|
|
757
|
+
protoOf(WsUnit).p1z = function () {
|
|
758
|
+
return this.c25_1;
|
|
714
759
|
};
|
|
715
760
|
protoOf(WsUnit).fd = function () {
|
|
716
|
-
return this.
|
|
761
|
+
return this.b25_1;
|
|
717
762
|
};
|
|
718
763
|
protoOf(WsUnit).gd = function () {
|
|
719
|
-
return this.
|
|
764
|
+
return this.c25_1;
|
|
720
765
|
};
|
|
721
|
-
protoOf(WsUnit).
|
|
766
|
+
protoOf(WsUnit).y20 = function (isIterable, isMap) {
|
|
722
767
|
return new WsUnit(isIterable, isMap);
|
|
723
768
|
};
|
|
724
769
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
725
|
-
isIterable = isIterable === VOID ? this.
|
|
726
|
-
isMap = isMap === VOID ? this.
|
|
727
|
-
return this.
|
|
770
|
+
isIterable = isIterable === VOID ? this.b25_1 : isIterable;
|
|
771
|
+
isMap = isMap === VOID ? this.c25_1 : isMap;
|
|
772
|
+
return this.y20(isIterable, isMap);
|
|
728
773
|
};
|
|
729
774
|
protoOf(WsUnit).toString = function () {
|
|
730
|
-
return 'WsUnit(isIterable=' + this.
|
|
775
|
+
return 'WsUnit(isIterable=' + this.b25_1 + ', isMap=' + this.c25_1 + ')';
|
|
731
776
|
};
|
|
732
777
|
protoOf(WsUnit).hashCode = function () {
|
|
733
|
-
var result = this.
|
|
734
|
-
result = imul(result, 31) + (this.
|
|
778
|
+
var result = this.b25_1 | 0;
|
|
779
|
+
result = imul(result, 31) + (this.c25_1 | 0) | 0;
|
|
735
780
|
return result;
|
|
736
781
|
};
|
|
737
782
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -740,52 +785,52 @@
|
|
|
740
785
|
if (!(other instanceof WsUnit))
|
|
741
786
|
return false;
|
|
742
787
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
743
|
-
if (!(this.
|
|
788
|
+
if (!(this.b25_1 === tmp0_other_with_cast.b25_1))
|
|
744
789
|
return false;
|
|
745
|
-
if (!(this.
|
|
790
|
+
if (!(this.c25_1 === tmp0_other_with_cast.c25_1))
|
|
746
791
|
return false;
|
|
747
792
|
return true;
|
|
748
793
|
};
|
|
749
794
|
function WsCustom(value, isIterable, isMap) {
|
|
750
795
|
isMap = isMap === VOID ? false : isMap;
|
|
751
796
|
this.value = value;
|
|
752
|
-
this.
|
|
753
|
-
this.
|
|
797
|
+
this.d25_1 = isIterable;
|
|
798
|
+
this.e25_1 = isMap;
|
|
754
799
|
}
|
|
755
800
|
protoOf(WsCustom).p2 = function () {
|
|
756
801
|
return this.value;
|
|
757
802
|
};
|
|
758
803
|
protoOf(WsCustom).g1s = function () {
|
|
759
|
-
return this.
|
|
804
|
+
return this.d25_1;
|
|
760
805
|
};
|
|
761
|
-
protoOf(WsCustom).
|
|
762
|
-
return this.
|
|
806
|
+
protoOf(WsCustom).p1z = function () {
|
|
807
|
+
return this.e25_1;
|
|
763
808
|
};
|
|
764
809
|
protoOf(WsCustom).fd = function () {
|
|
765
810
|
return this.value;
|
|
766
811
|
};
|
|
767
812
|
protoOf(WsCustom).gd = function () {
|
|
768
|
-
return this.
|
|
813
|
+
return this.d25_1;
|
|
769
814
|
};
|
|
770
815
|
protoOf(WsCustom).zg = function () {
|
|
771
|
-
return this.
|
|
816
|
+
return this.e25_1;
|
|
772
817
|
};
|
|
773
|
-
protoOf(WsCustom).
|
|
818
|
+
protoOf(WsCustom).g21 = function (value, isIterable, isMap) {
|
|
774
819
|
return new WsCustom(value, isIterable, isMap);
|
|
775
820
|
};
|
|
776
821
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
777
822
|
value = value === VOID ? this.value : value;
|
|
778
|
-
isIterable = isIterable === VOID ? this.
|
|
779
|
-
isMap = isMap === VOID ? this.
|
|
780
|
-
return this.
|
|
823
|
+
isIterable = isIterable === VOID ? this.d25_1 : isIterable;
|
|
824
|
+
isMap = isMap === VOID ? this.e25_1 : isMap;
|
|
825
|
+
return this.g21(value, isIterable, isMap);
|
|
781
826
|
};
|
|
782
827
|
protoOf(WsCustom).toString = function () {
|
|
783
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
828
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.d25_1 + ', isMap=' + this.e25_1 + ')';
|
|
784
829
|
};
|
|
785
830
|
protoOf(WsCustom).hashCode = function () {
|
|
786
831
|
var result = getStringHashCode(this.value);
|
|
787
|
-
result = imul(result, 31) + (this.
|
|
788
|
-
result = imul(result, 31) + (this.
|
|
832
|
+
result = imul(result, 31) + (this.d25_1 | 0) | 0;
|
|
833
|
+
result = imul(result, 31) + (this.e25_1 | 0) | 0;
|
|
789
834
|
return result;
|
|
790
835
|
};
|
|
791
836
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -796,52 +841,52 @@
|
|
|
796
841
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
797
842
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
798
843
|
return false;
|
|
799
|
-
if (!(this.
|
|
844
|
+
if (!(this.d25_1 === tmp0_other_with_cast.d25_1))
|
|
800
845
|
return false;
|
|
801
|
-
if (!(this.
|
|
846
|
+
if (!(this.e25_1 === tmp0_other_with_cast.e25_1))
|
|
802
847
|
return false;
|
|
803
848
|
return true;
|
|
804
849
|
};
|
|
805
850
|
function WsPrimitive(type, isIterable, isMap) {
|
|
806
851
|
isMap = isMap === VOID ? false : isMap;
|
|
807
852
|
this.type = type;
|
|
808
|
-
this.
|
|
809
|
-
this.
|
|
853
|
+
this.f25_1 = isIterable;
|
|
854
|
+
this.g25_1 = isMap;
|
|
810
855
|
}
|
|
811
|
-
protoOf(WsPrimitive).
|
|
856
|
+
protoOf(WsPrimitive).h25 = function () {
|
|
812
857
|
return this.type;
|
|
813
858
|
};
|
|
814
859
|
protoOf(WsPrimitive).g1s = function () {
|
|
815
|
-
return this.
|
|
860
|
+
return this.f25_1;
|
|
816
861
|
};
|
|
817
|
-
protoOf(WsPrimitive).
|
|
818
|
-
return this.
|
|
862
|
+
protoOf(WsPrimitive).p1z = function () {
|
|
863
|
+
return this.g25_1;
|
|
819
864
|
};
|
|
820
865
|
protoOf(WsPrimitive).fd = function () {
|
|
821
866
|
return this.type;
|
|
822
867
|
};
|
|
823
868
|
protoOf(WsPrimitive).gd = function () {
|
|
824
|
-
return this.
|
|
869
|
+
return this.f25_1;
|
|
825
870
|
};
|
|
826
871
|
protoOf(WsPrimitive).zg = function () {
|
|
827
|
-
return this.
|
|
872
|
+
return this.g25_1;
|
|
828
873
|
};
|
|
829
|
-
protoOf(WsPrimitive).
|
|
874
|
+
protoOf(WsPrimitive).i25 = function (type, isIterable, isMap) {
|
|
830
875
|
return new WsPrimitive(type, isIterable, isMap);
|
|
831
876
|
};
|
|
832
877
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
833
878
|
type = type === VOID ? this.type : type;
|
|
834
|
-
isIterable = isIterable === VOID ? this.
|
|
835
|
-
isMap = isMap === VOID ? this.
|
|
836
|
-
return this.
|
|
879
|
+
isIterable = isIterable === VOID ? this.f25_1 : isIterable;
|
|
880
|
+
isMap = isMap === VOID ? this.g25_1 : isMap;
|
|
881
|
+
return this.i25(type, isIterable, isMap);
|
|
837
882
|
};
|
|
838
883
|
protoOf(WsPrimitive).toString = function () {
|
|
839
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
884
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.f25_1 + ', isMap=' + this.g25_1 + ')';
|
|
840
885
|
};
|
|
841
886
|
protoOf(WsPrimitive).hashCode = function () {
|
|
842
887
|
var result = this.type.hashCode();
|
|
843
|
-
result = imul(result, 31) + (this.
|
|
844
|
-
result = imul(result, 31) + (this.
|
|
888
|
+
result = imul(result, 31) + (this.f25_1 | 0) | 0;
|
|
889
|
+
result = imul(result, 31) + (this.g25_1 | 0) | 0;
|
|
845
890
|
return result;
|
|
846
891
|
};
|
|
847
892
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -852,9 +897,9 @@
|
|
|
852
897
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
853
898
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
854
899
|
return false;
|
|
855
|
-
if (!(this.
|
|
900
|
+
if (!(this.f25_1 === tmp0_other_with_cast.f25_1))
|
|
856
901
|
return false;
|
|
857
|
-
if (!(this.
|
|
902
|
+
if (!(this.g25_1 === tmp0_other_with_cast.g25_1))
|
|
858
903
|
return false;
|
|
859
904
|
return true;
|
|
860
905
|
};
|
|
@@ -903,12 +948,12 @@
|
|
|
903
948
|
protoOf(WsRequest).fd = function () {
|
|
904
949
|
return this.content;
|
|
905
950
|
};
|
|
906
|
-
protoOf(WsRequest).
|
|
951
|
+
protoOf(WsRequest).l25 = function (content) {
|
|
907
952
|
return new WsRequest(content);
|
|
908
953
|
};
|
|
909
954
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
910
955
|
content = content === VOID ? this.content : content;
|
|
911
|
-
return this.
|
|
956
|
+
return this.l25(content);
|
|
912
957
|
};
|
|
913
958
|
protoOf(WsRequest).toString = function () {
|
|
914
959
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -930,7 +975,7 @@
|
|
|
930
975
|
this.status = status;
|
|
931
976
|
this.content = content;
|
|
932
977
|
}
|
|
933
|
-
protoOf(WsResponse).
|
|
978
|
+
protoOf(WsResponse).m25 = function () {
|
|
934
979
|
return this.status;
|
|
935
980
|
};
|
|
936
981
|
protoOf(WsResponse).n10 = function () {
|
|
@@ -942,13 +987,13 @@
|
|
|
942
987
|
protoOf(WsResponse).gd = function () {
|
|
943
988
|
return this.content;
|
|
944
989
|
};
|
|
945
|
-
protoOf(WsResponse).
|
|
990
|
+
protoOf(WsResponse).n25 = function (status, content) {
|
|
946
991
|
return new WsResponse(status, content);
|
|
947
992
|
};
|
|
948
993
|
protoOf(WsResponse).copy = function (status, content, $super) {
|
|
949
994
|
status = status === VOID ? this.status : status;
|
|
950
995
|
content = content === VOID ? this.content : content;
|
|
951
|
-
return this.
|
|
996
|
+
return this.n25(status, content);
|
|
952
997
|
};
|
|
953
998
|
protoOf(WsResponse).toString = function () {
|
|
954
999
|
return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
|
|
@@ -976,10 +1021,10 @@
|
|
|
976
1021
|
this.reference = reference;
|
|
977
1022
|
this.isNullable = isNullable;
|
|
978
1023
|
}
|
|
979
|
-
protoOf(WsContent).
|
|
1024
|
+
protoOf(WsContent).h25 = function () {
|
|
980
1025
|
return this.type;
|
|
981
1026
|
};
|
|
982
|
-
protoOf(WsContent).
|
|
1027
|
+
protoOf(WsContent).w24 = function () {
|
|
983
1028
|
return this.reference;
|
|
984
1029
|
};
|
|
985
1030
|
protoOf(WsContent).tj = function () {
|
|
@@ -994,14 +1039,14 @@
|
|
|
994
1039
|
protoOf(WsContent).zg = function () {
|
|
995
1040
|
return this.isNullable;
|
|
996
1041
|
};
|
|
997
|
-
protoOf(WsContent).
|
|
1042
|
+
protoOf(WsContent).o25 = function (type, reference, isNullable) {
|
|
998
1043
|
return new WsContent(type, reference, isNullable);
|
|
999
1044
|
};
|
|
1000
1045
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1001
1046
|
type = type === VOID ? this.type : type;
|
|
1002
1047
|
reference = reference === VOID ? this.reference : reference;
|
|
1003
1048
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1004
|
-
return this.
|
|
1049
|
+
return this.o25(type, reference, isNullable);
|
|
1005
1050
|
};
|
|
1006
1051
|
protoOf(WsContent).toString = function () {
|
|
1007
1052
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1047,7 +1092,7 @@
|
|
|
1047
1092
|
tmp = new WsType(_this__u8e3s4.a1y_1, produce_1(_this__u8e3s4.b1y_1));
|
|
1048
1093
|
} else {
|
|
1049
1094
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1050
|
-
tmp = new WsEndpoint(_this__u8e3s4.
|
|
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));
|
|
1051
1096
|
} else {
|
|
1052
1097
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1053
1098
|
var tmp$ret$0;
|
|
@@ -1057,14 +1102,25 @@
|
|
|
1057
1102
|
tmp = new WsEnum(_this__u8e3s4.y1x_1, tmp$ret$0);
|
|
1058
1103
|
} else {
|
|
1059
1104
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1060
|
-
tmp = new WsRefined(_this__u8e3s4.
|
|
1105
|
+
tmp = new WsRefined(_this__u8e3s4.n1y_1, _this__u8e3s4.o1y_1.q1y_1);
|
|
1061
1106
|
} else {
|
|
1062
1107
|
if (_this__u8e3s4 instanceof Union) {
|
|
1063
|
-
var tmp$ret$
|
|
1108
|
+
var tmp$ret$4;
|
|
1064
1109
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1110
|
+
// Inline function 'kotlin.collections.map' call
|
|
1111
|
+
var tmp1_map = _this__u8e3s4.r1z_1;
|
|
1112
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1113
|
+
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
|
|
1114
|
+
var tmp0_iterator = tmp1_map.v();
|
|
1115
|
+
while (tmp0_iterator.w()) {
|
|
1116
|
+
var item = tmp0_iterator.y();
|
|
1117
|
+
var tmp$ret$1;
|
|
1118
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1119
|
+
tmp$ret$1 = produce_7(item);
|
|
1120
|
+
tmp0_mapTo.s(tmp$ret$1);
|
|
1121
|
+
}
|
|
1122
|
+
tmp$ret$4 = copyToArray(tmp0_mapTo);
|
|
1123
|
+
tmp = new WsUnion(_this__u8e3s4.q1z_1, tmp$ret$4);
|
|
1068
1124
|
} else {
|
|
1069
1125
|
noWhenBranchMatchedException();
|
|
1070
1126
|
}
|
|
@@ -1086,7 +1142,7 @@
|
|
|
1086
1142
|
var item = tmp0_iterator.y();
|
|
1087
1143
|
var tmp$ret$0;
|
|
1088
1144
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1089
|
-
tmp$ret$0 =
|
|
1145
|
+
tmp$ret$0 = produce_8(item);
|
|
1090
1146
|
tmp0_mapTo.s(tmp$ret$0);
|
|
1091
1147
|
}
|
|
1092
1148
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
@@ -1137,10 +1193,10 @@
|
|
|
1137
1193
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1138
1194
|
var tmp;
|
|
1139
1195
|
if (item instanceof Literal) {
|
|
1140
|
-
tmp = new WsLiteral(item.
|
|
1196
|
+
tmp = new WsLiteral(item.w1y_1);
|
|
1141
1197
|
} else {
|
|
1142
1198
|
if (item instanceof Param) {
|
|
1143
|
-
tmp = new WsParam(
|
|
1199
|
+
tmp = new WsParam(produce_9(item.r1y_1), produce_7(item.s1y_1));
|
|
1144
1200
|
} else {
|
|
1145
1201
|
noWhenBranchMatchedException();
|
|
1146
1202
|
}
|
|
@@ -1160,7 +1216,7 @@
|
|
|
1160
1216
|
var item = tmp0_iterator.y();
|
|
1161
1217
|
var tmp$ret$0;
|
|
1162
1218
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1163
|
-
tmp$ret$0 =
|
|
1219
|
+
tmp$ret$0 = produce_8(item);
|
|
1164
1220
|
tmp0_mapTo.s(tmp$ret$0);
|
|
1165
1221
|
}
|
|
1166
1222
|
return copyToArray(tmp0_mapTo);
|
|
@@ -1196,24 +1252,18 @@
|
|
|
1196
1252
|
return copyToArray(tmp0_mapTo);
|
|
1197
1253
|
}
|
|
1198
1254
|
function produce_7(_this__u8e3s4) {
|
|
1199
|
-
return new WsField(produce_8(_this__u8e3s4.e1y_1), produce_9(_this__u8e3s4.f1y_1), _this__u8e3s4.g1y_1);
|
|
1200
|
-
}
|
|
1201
|
-
function produce_8(_this__u8e3s4) {
|
|
1202
|
-
return new WsIdentifier(_this__u8e3s4.j1y_1);
|
|
1203
|
-
}
|
|
1204
|
-
function produce_9(_this__u8e3s4) {
|
|
1205
1255
|
var tmp;
|
|
1206
1256
|
if (_this__u8e3s4 instanceof Any) {
|
|
1207
|
-
tmp = new WsAny(_this__u8e3s4.g1s(), _this__u8e3s4.
|
|
1257
|
+
tmp = new WsAny(_this__u8e3s4.g1s(), _this__u8e3s4.p1z());
|
|
1208
1258
|
} else {
|
|
1209
1259
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1210
|
-
tmp = new WsUnit(_this__u8e3s4.g1s(), _this__u8e3s4.
|
|
1260
|
+
tmp = new WsUnit(_this__u8e3s4.g1s(), _this__u8e3s4.p1z());
|
|
1211
1261
|
} else {
|
|
1212
1262
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1213
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1263
|
+
tmp = new WsCustom(_this__u8e3s4.p2(), _this__u8e3s4.g1s(), _this__u8e3s4.p1z());
|
|
1214
1264
|
} else {
|
|
1215
1265
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1216
|
-
tmp = new WsPrimitive(produce_12(_this__u8e3s4.k1y_1), _this__u8e3s4.g1s(), _this__u8e3s4.
|
|
1266
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.k1y_1), _this__u8e3s4.g1s(), _this__u8e3s4.p1z());
|
|
1217
1267
|
} else {
|
|
1218
1268
|
noWhenBranchMatchedException();
|
|
1219
1269
|
}
|
|
@@ -1222,13 +1272,19 @@
|
|
|
1222
1272
|
}
|
|
1223
1273
|
return tmp;
|
|
1224
1274
|
}
|
|
1275
|
+
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);
|
|
1277
|
+
}
|
|
1278
|
+
function produce_9(_this__u8e3s4) {
|
|
1279
|
+
return new WsIdentifier(_this__u8e3s4.j1y_1);
|
|
1280
|
+
}
|
|
1225
1281
|
function produce_10(_this__u8e3s4) {
|
|
1226
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1282
|
+
var tmp0_safe_receiver = _this__u8e3s4.x1y_1;
|
|
1227
1283
|
return new WsRequest(tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1228
1284
|
}
|
|
1229
1285
|
function produce_11(_this__u8e3s4) {
|
|
1230
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1231
|
-
return new WsResponse(_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));
|
|
1232
1288
|
}
|
|
1233
1289
|
function produce_12(_this__u8e3s4) {
|
|
1234
1290
|
var tmp;
|
|
@@ -1252,7 +1308,7 @@
|
|
|
1252
1308
|
return tmp;
|
|
1253
1309
|
}
|
|
1254
1310
|
function produce_13(_this__u8e3s4) {
|
|
1255
|
-
return new WsContent(_this__u8e3s4.
|
|
1311
|
+
return new WsContent(_this__u8e3s4.k1z_1, produce_7(_this__u8e3s4.l1z_1), _this__u8e3s4.m1z_1);
|
|
1256
1312
|
}
|
|
1257
1313
|
function WsMethod_GET_getInstance() {
|
|
1258
1314
|
WsMethod_initEntries();
|
|
@@ -1310,7 +1366,7 @@
|
|
|
1310
1366
|
var tmp = this;
|
|
1311
1367
|
tmp.logger = new Compiler$Companion$logger$1();
|
|
1312
1368
|
}
|
|
1313
|
-
protoOf(Companion).
|
|
1369
|
+
protoOf(Companion).p25 = function () {
|
|
1314
1370
|
return this.logger;
|
|
1315
1371
|
};
|
|
1316
1372
|
var Companion_instance;
|
|
@@ -1337,7 +1393,7 @@
|
|
|
1337
1393
|
};
|
|
1338
1394
|
function Companion_0() {
|
|
1339
1395
|
Companion_instance_0 = this;
|
|
1340
|
-
this.
|
|
1396
|
+
this.q25_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
|
|
1341
1397
|
}
|
|
1342
1398
|
var Companion_instance_0;
|
|
1343
1399
|
function Companion_getInstance_2() {
|
|
@@ -1350,11 +1406,11 @@
|
|
|
1350
1406
|
Compiler.call(this);
|
|
1351
1407
|
}
|
|
1352
1408
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1353
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_2().
|
|
1409
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_2().q25_1));
|
|
1354
1410
|
};
|
|
1355
1411
|
function Companion_1() {
|
|
1356
1412
|
Companion_instance_1 = this;
|
|
1357
|
-
this.
|
|
1413
|
+
this.r25_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
|
|
1358
1414
|
}
|
|
1359
1415
|
var Companion_instance_1;
|
|
1360
1416
|
function Companion_getInstance_3() {
|
|
@@ -1367,11 +1423,11 @@
|
|
|
1367
1423
|
Compiler.call(this);
|
|
1368
1424
|
}
|
|
1369
1425
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1370
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_3().
|
|
1426
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_3().r25_1));
|
|
1371
1427
|
};
|
|
1372
1428
|
function Companion_2() {
|
|
1373
1429
|
Companion_instance_2 = this;
|
|
1374
|
-
this.
|
|
1430
|
+
this.s25_1 = new ScalaEmitter(VOID, Companion_getInstance_1().logger);
|
|
1375
1431
|
}
|
|
1376
1432
|
var Companion_instance_2;
|
|
1377
1433
|
function Companion_getInstance_4() {
|
|
@@ -1384,11 +1440,11 @@
|
|
|
1384
1440
|
Compiler.call(this);
|
|
1385
1441
|
}
|
|
1386
1442
|
protoOf(WsToScala).compile = function (source) {
|
|
1387
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_4().
|
|
1443
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_4().s25_1));
|
|
1388
1444
|
};
|
|
1389
1445
|
function Companion_3() {
|
|
1390
1446
|
Companion_instance_3 = this;
|
|
1391
|
-
this.
|
|
1447
|
+
this.t25_1 = new JavaEmitter(VOID, Companion_getInstance_1().logger);
|
|
1392
1448
|
}
|
|
1393
1449
|
var Companion_instance_3;
|
|
1394
1450
|
function Companion_getInstance_5() {
|
|
@@ -1401,11 +1457,11 @@
|
|
|
1401
1457
|
Compiler.call(this);
|
|
1402
1458
|
}
|
|
1403
1459
|
protoOf(WsToJava).compile = function (source) {
|
|
1404
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_5().
|
|
1460
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_5().t25_1));
|
|
1405
1461
|
};
|
|
1406
1462
|
function Companion_4() {
|
|
1407
1463
|
Companion_instance_4 = this;
|
|
1408
|
-
this.
|
|
1464
|
+
this.u25_1 = new WirespecEmitter(Companion_getInstance_1().logger);
|
|
1409
1465
|
}
|
|
1410
1466
|
var Companion_instance_4;
|
|
1411
1467
|
function Companion_getInstance_6() {
|
|
@@ -1418,13 +1474,13 @@
|
|
|
1418
1474
|
Compiler.call(this);
|
|
1419
1475
|
}
|
|
1420
1476
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1421
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_6().
|
|
1477
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_6().u25_1));
|
|
1422
1478
|
};
|
|
1423
1479
|
function OpenApiV2Parser() {
|
|
1424
1480
|
OpenApiV2Parser_instance = this;
|
|
1425
1481
|
}
|
|
1426
1482
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1427
|
-
return produce(Companion_getInstance().
|
|
1483
|
+
return produce(Companion_getInstance().u22(source));
|
|
1428
1484
|
};
|
|
1429
1485
|
var OpenApiV2Parser_instance;
|
|
1430
1486
|
function OpenApiV2Parser_getInstance() {
|
|
@@ -1439,16 +1495,16 @@
|
|
|
1439
1495
|
OpenApiV2ToTypescript_instance = this;
|
|
1440
1496
|
var tmp = this;
|
|
1441
1497
|
tmp.logger = new OpenApiV2ToTypescript$logger$1();
|
|
1442
|
-
this.
|
|
1498
|
+
this.v25_1 = new TypeScriptEmitter(this.logger);
|
|
1443
1499
|
}
|
|
1444
|
-
protoOf(OpenApiV2ToTypescript).
|
|
1500
|
+
protoOf(OpenApiV2ToTypescript).p25 = function () {
|
|
1445
1501
|
return this.logger;
|
|
1446
1502
|
};
|
|
1447
1503
|
protoOf(OpenApiV2ToTypescript).compile = function (source) {
|
|
1448
|
-
var ast = Companion_getInstance().
|
|
1504
|
+
var ast = Companion_getInstance().u22(source);
|
|
1449
1505
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1450
1506
|
// Inline function 'kotlin.collections.map' call
|
|
1451
|
-
var tmp0_map = this.
|
|
1507
|
+
var tmp0_map = this.v25_1.q1r(ast);
|
|
1452
1508
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1453
1509
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1454
1510
|
var tmp0_iterator = tmp0_map.v();
|
|
@@ -1476,16 +1532,16 @@
|
|
|
1476
1532
|
OpenApiV2ToWirespec_instance = this;
|
|
1477
1533
|
var tmp = this;
|
|
1478
1534
|
tmp.logger = new OpenApiV2ToWirespec$logger$1();
|
|
1479
|
-
this.
|
|
1535
|
+
this.w25_1 = new WirespecEmitter(this.logger);
|
|
1480
1536
|
}
|
|
1481
|
-
protoOf(OpenApiV2ToWirespec).
|
|
1537
|
+
protoOf(OpenApiV2ToWirespec).p25 = function () {
|
|
1482
1538
|
return this.logger;
|
|
1483
1539
|
};
|
|
1484
1540
|
protoOf(OpenApiV2ToWirespec).compile = function (source) {
|
|
1485
|
-
var ast = Companion_getInstance().
|
|
1541
|
+
var ast = Companion_getInstance().u22(source);
|
|
1486
1542
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1487
1543
|
// Inline function 'kotlin.collections.map' call
|
|
1488
|
-
var tmp0_map = this.
|
|
1544
|
+
var tmp0_map = this.w25_1.q1r(ast);
|
|
1489
1545
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1490
1546
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1491
1547
|
var tmp0_iterator = tmp0_map.v();
|
|
@@ -1510,7 +1566,7 @@
|
|
|
1510
1566
|
OpenApiV3Parser_instance = this;
|
|
1511
1567
|
}
|
|
1512
1568
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
1513
|
-
return produce(Companion_getInstance_0().
|
|
1569
|
+
return produce(Companion_getInstance_0().h23(source));
|
|
1514
1570
|
};
|
|
1515
1571
|
var OpenApiV3Parser_instance;
|
|
1516
1572
|
function OpenApiV3Parser_getInstance() {
|
|
@@ -1525,16 +1581,16 @@
|
|
|
1525
1581
|
OpenApiV3ToTypescript_instance = this;
|
|
1526
1582
|
var tmp = this;
|
|
1527
1583
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
1528
|
-
this.
|
|
1584
|
+
this.x25_1 = new TypeScriptEmitter(this.logger);
|
|
1529
1585
|
}
|
|
1530
|
-
protoOf(OpenApiV3ToTypescript).
|
|
1586
|
+
protoOf(OpenApiV3ToTypescript).p25 = function () {
|
|
1531
1587
|
return this.logger;
|
|
1532
1588
|
};
|
|
1533
1589
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
1534
|
-
var ast = Companion_getInstance_0().
|
|
1590
|
+
var ast = Companion_getInstance_0().h23(source);
|
|
1535
1591
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1536
1592
|
// Inline function 'kotlin.collections.map' call
|
|
1537
|
-
var tmp0_map = this.
|
|
1593
|
+
var tmp0_map = this.x25_1.q1r(ast);
|
|
1538
1594
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1539
1595
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1540
1596
|
var tmp0_iterator = tmp0_map.v();
|
|
@@ -1562,16 +1618,16 @@
|
|
|
1562
1618
|
OpenApiV3ToWirespec_instance = this;
|
|
1563
1619
|
var tmp = this;
|
|
1564
1620
|
tmp.logger = new OpenApiV3ToWirespec$logger$1();
|
|
1565
|
-
this.
|
|
1621
|
+
this.y25_1 = new WirespecEmitter(this.logger);
|
|
1566
1622
|
}
|
|
1567
|
-
protoOf(OpenApiV3ToWirespec).
|
|
1623
|
+
protoOf(OpenApiV3ToWirespec).p25 = function () {
|
|
1568
1624
|
return this.logger;
|
|
1569
1625
|
};
|
|
1570
1626
|
protoOf(OpenApiV3ToWirespec).compile = function (source) {
|
|
1571
|
-
var ast = Companion_getInstance_0().
|
|
1627
|
+
var ast = Companion_getInstance_0().h23(source);
|
|
1572
1628
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1573
1629
|
// Inline function 'kotlin.collections.map' call
|
|
1574
|
-
var tmp0_map = this.
|
|
1630
|
+
var tmp0_map = this.y25_1.q1r(ast);
|
|
1575
1631
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1576
1632
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1577
1633
|
var tmp0_iterator = tmp0_map.v();
|
|
@@ -1605,10 +1661,10 @@
|
|
|
1605
1661
|
this.result = result;
|
|
1606
1662
|
this.errors = errors;
|
|
1607
1663
|
}
|
|
1608
|
-
protoOf(WsCompilationResult).
|
|
1664
|
+
protoOf(WsCompilationResult).z25 = function () {
|
|
1609
1665
|
return this.result;
|
|
1610
1666
|
};
|
|
1611
|
-
protoOf(WsCompilationResult).
|
|
1667
|
+
protoOf(WsCompilationResult).a26 = function () {
|
|
1612
1668
|
return this.errors;
|
|
1613
1669
|
};
|
|
1614
1670
|
function WsCompiled(value) {
|
|
@@ -1633,10 +1689,10 @@
|
|
|
1633
1689
|
this.result = result;
|
|
1634
1690
|
this.errors = errors;
|
|
1635
1691
|
}
|
|
1636
|
-
protoOf(WsParseResult).
|
|
1692
|
+
protoOf(WsParseResult).z25 = function () {
|
|
1637
1693
|
return this.result;
|
|
1638
1694
|
};
|
|
1639
|
-
protoOf(WsParseResult).
|
|
1695
|
+
protoOf(WsParseResult).a26 = function () {
|
|
1640
1696
|
return this.errors;
|
|
1641
1697
|
};
|
|
1642
1698
|
function WsStringResult(result, errors) {
|
|
@@ -1645,10 +1701,10 @@
|
|
|
1645
1701
|
this.result = result;
|
|
1646
1702
|
this.errors = errors;
|
|
1647
1703
|
}
|
|
1648
|
-
protoOf(WsStringResult).
|
|
1704
|
+
protoOf(WsStringResult).z25 = function () {
|
|
1649
1705
|
return this.result;
|
|
1650
1706
|
};
|
|
1651
|
-
protoOf(WsStringResult).
|
|
1707
|
+
protoOf(WsStringResult).a26 = function () {
|
|
1652
1708
|
return this.errors;
|
|
1653
1709
|
};
|
|
1654
1710
|
function produce_14(_this__u8e3s4) {
|
|
@@ -1774,10 +1830,10 @@
|
|
|
1774
1830
|
this.tokens = tokens;
|
|
1775
1831
|
this.error = error;
|
|
1776
1832
|
}
|
|
1777
|
-
protoOf(WsTokenResult).
|
|
1833
|
+
protoOf(WsTokenResult).b26 = function () {
|
|
1778
1834
|
return this.tokens;
|
|
1779
1835
|
};
|
|
1780
|
-
protoOf(WsTokenResult).
|
|
1836
|
+
protoOf(WsTokenResult).c26 = function () {
|
|
1781
1837
|
return this.error;
|
|
1782
1838
|
};
|
|
1783
1839
|
protoOf(WsTokenResult).fd = function () {
|
|
@@ -1786,13 +1842,13 @@
|
|
|
1786
1842
|
protoOf(WsTokenResult).gd = function () {
|
|
1787
1843
|
return this.error;
|
|
1788
1844
|
};
|
|
1789
|
-
protoOf(WsTokenResult).
|
|
1845
|
+
protoOf(WsTokenResult).d26 = function (tokens, error) {
|
|
1790
1846
|
return new WsTokenResult(tokens, error);
|
|
1791
1847
|
};
|
|
1792
1848
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
1793
1849
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
1794
1850
|
error = error === VOID ? this.error : error;
|
|
1795
|
-
return this.
|
|
1851
|
+
return this.d26(tokens, error);
|
|
1796
1852
|
};
|
|
1797
1853
|
protoOf(WsTokenResult).toString = function () {
|
|
1798
1854
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -1837,12 +1893,12 @@
|
|
|
1837
1893
|
protoOf(WsTokens).fd = function () {
|
|
1838
1894
|
return this.value;
|
|
1839
1895
|
};
|
|
1840
|
-
protoOf(WsTokens).
|
|
1896
|
+
protoOf(WsTokens).e26 = function (value) {
|
|
1841
1897
|
return new WsTokens(value);
|
|
1842
1898
|
};
|
|
1843
1899
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
1844
1900
|
value = value === VOID ? this.value : value;
|
|
1845
|
-
return this.
|
|
1901
|
+
return this.e26(value);
|
|
1846
1902
|
};
|
|
1847
1903
|
protoOf(WsTokens).toString = function () {
|
|
1848
1904
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -1853,13 +1909,13 @@
|
|
|
1853
1909
|
this.value = value;
|
|
1854
1910
|
this.coordinates = coordinates;
|
|
1855
1911
|
}
|
|
1856
|
-
protoOf(WsToken).
|
|
1912
|
+
protoOf(WsToken).h25 = function () {
|
|
1857
1913
|
return this.type;
|
|
1858
1914
|
};
|
|
1859
1915
|
protoOf(WsToken).p2 = function () {
|
|
1860
1916
|
return this.value;
|
|
1861
1917
|
};
|
|
1862
|
-
protoOf(WsToken).
|
|
1918
|
+
protoOf(WsToken).f26 = function () {
|
|
1863
1919
|
return this.coordinates;
|
|
1864
1920
|
};
|
|
1865
1921
|
protoOf(WsToken).fd = function () {
|
|
@@ -1871,14 +1927,14 @@
|
|
|
1871
1927
|
protoOf(WsToken).zg = function () {
|
|
1872
1928
|
return this.coordinates;
|
|
1873
1929
|
};
|
|
1874
|
-
protoOf(WsToken).
|
|
1930
|
+
protoOf(WsToken).g26 = function (type, value, coordinates) {
|
|
1875
1931
|
return new WsToken(type, value, coordinates);
|
|
1876
1932
|
};
|
|
1877
1933
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
1878
1934
|
type = type === VOID ? this.type : type;
|
|
1879
1935
|
value = value === VOID ? this.value : value;
|
|
1880
1936
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
1881
|
-
return this.
|
|
1937
|
+
return this.g26(type, value, coordinates);
|
|
1882
1938
|
};
|
|
1883
1939
|
protoOf(WsToken).toString = function () {
|
|
1884
1940
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -1911,13 +1967,13 @@
|
|
|
1911
1967
|
this.position = position;
|
|
1912
1968
|
this.idxAndLength = idxAndLength;
|
|
1913
1969
|
}
|
|
1914
|
-
protoOf(WsCoordinates).
|
|
1970
|
+
protoOf(WsCoordinates).h26 = function () {
|
|
1915
1971
|
return this.line;
|
|
1916
1972
|
};
|
|
1917
1973
|
protoOf(WsCoordinates).op = function () {
|
|
1918
1974
|
return this.position;
|
|
1919
1975
|
};
|
|
1920
|
-
protoOf(WsCoordinates).
|
|
1976
|
+
protoOf(WsCoordinates).i26 = function () {
|
|
1921
1977
|
return this.idxAndLength;
|
|
1922
1978
|
};
|
|
1923
1979
|
protoOf(WsCoordinates).fd = function () {
|
|
@@ -1929,14 +1985,14 @@
|
|
|
1929
1985
|
protoOf(WsCoordinates).zg = function () {
|
|
1930
1986
|
return this.idxAndLength;
|
|
1931
1987
|
};
|
|
1932
|
-
protoOf(WsCoordinates).
|
|
1988
|
+
protoOf(WsCoordinates).j26 = function (line, position, idxAndLength) {
|
|
1933
1989
|
return new WsCoordinates(line, position, idxAndLength);
|
|
1934
1990
|
};
|
|
1935
1991
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
1936
1992
|
line = line === VOID ? this.line : line;
|
|
1937
1993
|
position = position === VOID ? this.position : position;
|
|
1938
1994
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
1939
|
-
return this.
|
|
1995
|
+
return this.j26(line, position, idxAndLength);
|
|
1940
1996
|
};
|
|
1941
1997
|
protoOf(WsCoordinates).toString = function () {
|
|
1942
1998
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -1967,7 +2023,7 @@
|
|
|
1967
2023
|
this.idx = idx;
|
|
1968
2024
|
this.length = length;
|
|
1969
2025
|
}
|
|
1970
|
-
protoOf(WsIndex).
|
|
2026
|
+
protoOf(WsIndex).k26 = function () {
|
|
1971
2027
|
return this.idx;
|
|
1972
2028
|
};
|
|
1973
2029
|
protoOf(WsIndex).a = function () {
|
|
@@ -1979,13 +2035,13 @@
|
|
|
1979
2035
|
protoOf(WsIndex).gd = function () {
|
|
1980
2036
|
return this.length;
|
|
1981
2037
|
};
|
|
1982
|
-
protoOf(WsIndex).
|
|
2038
|
+
protoOf(WsIndex).l26 = function (idx, length) {
|
|
1983
2039
|
return new WsIndex(idx, length);
|
|
1984
2040
|
};
|
|
1985
2041
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
1986
2042
|
idx = idx === VOID ? this.idx : idx;
|
|
1987
2043
|
length = length === VOID ? this.length : length;
|
|
1988
|
-
return this.
|
|
2044
|
+
return this.l26(idx, length);
|
|
1989
2045
|
};
|
|
1990
2046
|
protoOf(WsIndex).toString = function () {
|
|
1991
2047
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2025,20 +2081,20 @@
|
|
|
2025
2081
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
2026
2082
|
}
|
|
2027
2083
|
function produce_18(_this__u8e3s4) {
|
|
2028
|
-
return new WsToken(_this__u8e3s4.
|
|
2084
|
+
return new WsToken(_this__u8e3s4.y1z_1.a20(), _this__u8e3s4.x1z_1, produce_19(_this__u8e3s4.z1z_1));
|
|
2029
2085
|
}
|
|
2030
2086
|
function produce_19(_this__u8e3s4) {
|
|
2031
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
2087
|
+
return new WsCoordinates(_this__u8e3s4.b20_1, _this__u8e3s4.c20_1, produce_20(_this__u8e3s4.d20_1));
|
|
2032
2088
|
}
|
|
2033
2089
|
function produce_20(_this__u8e3s4) {
|
|
2034
|
-
return new WsIndex(_this__u8e3s4.
|
|
2090
|
+
return new WsIndex(_this__u8e3s4.m21_1, _this__u8e3s4.n21_1);
|
|
2035
2091
|
}
|
|
2036
2092
|
function WsError(index, length, value) {
|
|
2037
2093
|
this.index = index;
|
|
2038
2094
|
this.length = length;
|
|
2039
2095
|
this.value = value;
|
|
2040
2096
|
}
|
|
2041
|
-
protoOf(WsError).
|
|
2097
|
+
protoOf(WsError).m26 = function () {
|
|
2042
2098
|
return this.index;
|
|
2043
2099
|
};
|
|
2044
2100
|
protoOf(WsError).a = function () {
|
|
@@ -2056,14 +2112,14 @@
|
|
|
2056
2112
|
protoOf(WsError).zg = function () {
|
|
2057
2113
|
return this.value;
|
|
2058
2114
|
};
|
|
2059
|
-
protoOf(WsError).
|
|
2115
|
+
protoOf(WsError).n26 = function (index, length, value) {
|
|
2060
2116
|
return new WsError(index, length, value);
|
|
2061
2117
|
};
|
|
2062
2118
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
2063
2119
|
index = index === VOID ? this.index : index;
|
|
2064
2120
|
length = length === VOID ? this.length : length;
|
|
2065
2121
|
value = value === VOID ? this.value : value;
|
|
2066
|
-
return this.
|
|
2122
|
+
return this.n26(index, length, value);
|
|
2067
2123
|
};
|
|
2068
2124
|
protoOf(WsError).toString = function () {
|
|
2069
2125
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2089,9 +2145,9 @@
|
|
|
2089
2145
|
return true;
|
|
2090
2146
|
};
|
|
2091
2147
|
function produce_21(_this__u8e3s4) {
|
|
2092
|
-
var tmp = _this__u8e3s4.
|
|
2148
|
+
var tmp = _this__u8e3s4.e20_1.d20_1.m21_1 - _this__u8e3s4.e20_1.d20_1.n21_1 | 0;
|
|
2093
2149
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2094
|
-
return new WsError(tmp, _this__u8e3s4.
|
|
2150
|
+
return new WsError(tmp, _this__u8e3s4.e20_1.d20_1.n21_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2095
2151
|
}
|
|
2096
2152
|
//region block: post-declaration
|
|
2097
2153
|
defineProp(protoOf(WsType), 'name', function () {
|
|
@@ -2103,6 +2159,9 @@
|
|
|
2103
2159
|
defineProp(protoOf(WsEnum), 'name', function () {
|
|
2104
2160
|
return this.va();
|
|
2105
2161
|
}, VOID);
|
|
2162
|
+
defineProp(protoOf(WsUnion), 'name', function () {
|
|
2163
|
+
return this.va();
|
|
2164
|
+
}, VOID);
|
|
2106
2165
|
defineProp(protoOf(WsRefined), 'name', function () {
|
|
2107
2166
|
return this.va();
|
|
2108
2167
|
}, VOID);
|
|
@@ -2112,25 +2171,25 @@
|
|
|
2112
2171
|
return this.g1s();
|
|
2113
2172
|
}, VOID);
|
|
2114
2173
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2115
|
-
return this.
|
|
2174
|
+
return this.p1z();
|
|
2116
2175
|
}, VOID);
|
|
2117
2176
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2118
2177
|
return this.g1s();
|
|
2119
2178
|
}, VOID);
|
|
2120
2179
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2121
|
-
return this.
|
|
2180
|
+
return this.p1z();
|
|
2122
2181
|
}, VOID);
|
|
2123
2182
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2124
2183
|
return this.g1s();
|
|
2125
2184
|
}, VOID);
|
|
2126
2185
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2127
|
-
return this.
|
|
2186
|
+
return this.p1z();
|
|
2128
2187
|
}, VOID);
|
|
2129
2188
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2130
2189
|
return this.g1s();
|
|
2131
2190
|
}, VOID);
|
|
2132
2191
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2133
|
-
return this.
|
|
2192
|
+
return this.p1z();
|
|
2134
2193
|
}, VOID);
|
|
2135
2194
|
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).va, VOID);
|
|
2136
2195
|
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).wa, VOID);
|
|
@@ -2146,6 +2205,7 @@
|
|
|
2146
2205
|
$community$flock$wirespec$compiler$lib.WsShape = WsShape;
|
|
2147
2206
|
$community$flock$wirespec$compiler$lib.WsEndpoint = WsEndpoint;
|
|
2148
2207
|
$community$flock$wirespec$compiler$lib.WsEnum = WsEnum;
|
|
2208
|
+
$community$flock$wirespec$compiler$lib.WsUnion = WsUnion;
|
|
2149
2209
|
$community$flock$wirespec$compiler$lib.WsRefined = WsRefined;
|
|
2150
2210
|
$community$flock$wirespec$compiler$lib.WsMethod = WsMethod;
|
|
2151
2211
|
$community$flock$wirespec$compiler$lib.WsMethod.values = values;
|