@flock/wirespec 0.8.47 → 0.8.49
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 +16 -16
- package/arrow-arrow-continuations.js +3 -3
- package/arrow-arrow-core.js +109 -88
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +6790 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1403 -0
- package/colormath-root-colormath.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +4150 -2107
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +3574 -3574
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1551 -1550
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1183 -1172
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +6858 -0
- package/markdown.js.map +1 -0
- package/mordant-mordant.js +11604 -0
- package/mordant-mordant.js.map +1 -0
- package/package.json +3 -3
- package/wirespec-bin.js +3 -0
- package/wirespec-src-compiler-core.js +2436 -1676
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +502 -471
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +571 -571
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +543 -0
- package/wirespec-src-plugin-arguments.js.map +1 -0
- package/wirespec-src-plugin-cli.js +1027 -0
- package/wirespec-src-plugin-cli.js.map +1 -0
- package/wirespec-src-compiler-lib.d.ts +0 -356
|
@@ -22,51 +22,51 @@
|
|
|
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 classMeta = kotlin_kotlin.$_$.
|
|
32
|
-
var toString = kotlin_kotlin.$_$.
|
|
33
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
36
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
37
|
-
var Enum = kotlin_kotlin.$_$.
|
|
38
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
39
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
40
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
45
|
-
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
46
|
-
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
47
|
-
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
48
|
-
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
49
|
-
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
50
|
-
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
51
|
-
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
52
|
-
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
53
|
-
var first = kotlin_kotlin.$_$.
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.q9;
|
|
26
|
+
var interfaceMeta = kotlin_kotlin.$_$.u8;
|
|
27
|
+
var VOID = kotlin_kotlin.$_$.ke;
|
|
28
|
+
var setMetadataFor = kotlin_kotlin.$_$.r9;
|
|
29
|
+
var getStringHashCode = kotlin_kotlin.$_$.s8;
|
|
30
|
+
var THROW_CCE = kotlin_kotlin.$_$.ld;
|
|
31
|
+
var classMeta = kotlin_kotlin.$_$.l8;
|
|
32
|
+
var toString = kotlin_kotlin.$_$.v9;
|
|
33
|
+
var hashCode = kotlin_kotlin.$_$.t8;
|
|
34
|
+
var equals = kotlin_kotlin.$_$.o8;
|
|
35
|
+
var THROW_ISE = kotlin_kotlin.$_$.md;
|
|
36
|
+
var Unit_getInstance = kotlin_kotlin.$_$.t3;
|
|
37
|
+
var Enum = kotlin_kotlin.$_$.cd;
|
|
38
|
+
var defineProp = kotlin_kotlin.$_$.n8;
|
|
39
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.q4;
|
|
40
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
41
|
+
var copyToArray = kotlin_kotlin.$_$.d5;
|
|
42
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ge;
|
|
43
|
+
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
44
|
+
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
45
|
+
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.o;
|
|
46
|
+
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.y;
|
|
47
|
+
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.n;
|
|
48
|
+
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.m;
|
|
49
|
+
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
50
|
+
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.t;
|
|
51
|
+
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
52
|
+
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.s;
|
|
53
|
+
var first = kotlin_kotlin.$_$.n5;
|
|
54
54
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
55
55
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
56
56
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
57
|
-
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
58
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
59
|
-
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
60
|
-
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
61
|
-
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
62
|
-
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
63
|
-
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
64
|
-
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
65
|
-
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
57
|
+
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
58
|
+
var objectMeta = kotlin_kotlin.$_$.p9;
|
|
59
|
+
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
60
|
+
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
61
|
+
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
|
|
62
|
+
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
63
|
+
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
|
|
64
|
+
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
|
|
65
|
+
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
66
66
|
var Companion_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.a;
|
|
67
67
|
var Companion_getInstance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
68
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
69
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
68
|
+
var contentEquals = kotlin_kotlin.$_$.s4;
|
|
69
|
+
var contentHashCode = kotlin_kotlin.$_$.t4;
|
|
70
70
|
//endregion
|
|
71
71
|
//region block: pre-declaration
|
|
72
72
|
setMetadataFor(WsNode, 'WsNode', interfaceMeta);
|
|
@@ -120,25 +120,25 @@
|
|
|
120
120
|
this.name = name;
|
|
121
121
|
this.shape = shape;
|
|
122
122
|
}
|
|
123
|
-
protoOf(WsType).
|
|
123
|
+
protoOf(WsType).bh = function () {
|
|
124
124
|
return this.name;
|
|
125
125
|
};
|
|
126
|
-
protoOf(WsType).
|
|
126
|
+
protoOf(WsType).o23 = function () {
|
|
127
127
|
return this.shape;
|
|
128
128
|
};
|
|
129
|
-
protoOf(WsType).
|
|
129
|
+
protoOf(WsType).e3 = function () {
|
|
130
130
|
return this.name;
|
|
131
131
|
};
|
|
132
|
-
protoOf(WsType).
|
|
132
|
+
protoOf(WsType).f3 = function () {
|
|
133
133
|
return this.shape;
|
|
134
134
|
};
|
|
135
|
-
protoOf(WsType).
|
|
135
|
+
protoOf(WsType).p23 = function (name, shape) {
|
|
136
136
|
return new WsType(name, shape);
|
|
137
137
|
};
|
|
138
138
|
protoOf(WsType).copy = function (name, shape, $super) {
|
|
139
139
|
name = name === VOID ? this.name : name;
|
|
140
140
|
shape = shape === VOID ? this.shape : shape;
|
|
141
|
-
return this.
|
|
141
|
+
return this.p23(name, shape);
|
|
142
142
|
};
|
|
143
143
|
protoOf(WsType).toString = function () {
|
|
144
144
|
return 'WsType(name=' + this.name + ', shape=' + this.shape + ')';
|
|
@@ -163,18 +163,18 @@
|
|
|
163
163
|
function WsShape(value) {
|
|
164
164
|
this.value = value;
|
|
165
165
|
}
|
|
166
|
-
protoOf(WsShape).
|
|
166
|
+
protoOf(WsShape).y = function () {
|
|
167
167
|
return this.value;
|
|
168
168
|
};
|
|
169
|
-
protoOf(WsShape).
|
|
169
|
+
protoOf(WsShape).e3 = function () {
|
|
170
170
|
return this.value;
|
|
171
171
|
};
|
|
172
|
-
protoOf(WsShape).
|
|
172
|
+
protoOf(WsShape).q23 = function (value) {
|
|
173
173
|
return new WsShape(value);
|
|
174
174
|
};
|
|
175
175
|
protoOf(WsShape).copy = function (value, $super) {
|
|
176
176
|
value = value === VOID ? this.value : value;
|
|
177
|
-
return this.
|
|
177
|
+
return this.q23(value);
|
|
178
178
|
};
|
|
179
179
|
protoOf(WsShape).toString = function () {
|
|
180
180
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -202,55 +202,55 @@
|
|
|
202
202
|
this.requests = requests;
|
|
203
203
|
this.responses = responses;
|
|
204
204
|
}
|
|
205
|
-
protoOf(WsEndpoint).
|
|
205
|
+
protoOf(WsEndpoint).bh = function () {
|
|
206
206
|
return this.name;
|
|
207
207
|
};
|
|
208
|
-
protoOf(WsEndpoint).
|
|
208
|
+
protoOf(WsEndpoint).r23 = function () {
|
|
209
209
|
return this.method;
|
|
210
210
|
};
|
|
211
|
-
protoOf(WsEndpoint).
|
|
211
|
+
protoOf(WsEndpoint).s23 = function () {
|
|
212
212
|
return this.path;
|
|
213
213
|
};
|
|
214
|
-
protoOf(WsEndpoint).
|
|
214
|
+
protoOf(WsEndpoint).t23 = function () {
|
|
215
215
|
return this.query;
|
|
216
216
|
};
|
|
217
|
-
protoOf(WsEndpoint).
|
|
217
|
+
protoOf(WsEndpoint).u23 = function () {
|
|
218
218
|
return this.headers;
|
|
219
219
|
};
|
|
220
|
-
protoOf(WsEndpoint).
|
|
220
|
+
protoOf(WsEndpoint).v23 = function () {
|
|
221
221
|
return this.cookies;
|
|
222
222
|
};
|
|
223
|
-
protoOf(WsEndpoint).
|
|
223
|
+
protoOf(WsEndpoint).w23 = function () {
|
|
224
224
|
return this.requests;
|
|
225
225
|
};
|
|
226
|
-
protoOf(WsEndpoint).
|
|
226
|
+
protoOf(WsEndpoint).x23 = function () {
|
|
227
227
|
return this.responses;
|
|
228
228
|
};
|
|
229
|
-
protoOf(WsEndpoint).
|
|
229
|
+
protoOf(WsEndpoint).e3 = function () {
|
|
230
230
|
return this.name;
|
|
231
231
|
};
|
|
232
|
-
protoOf(WsEndpoint).
|
|
232
|
+
protoOf(WsEndpoint).f3 = function () {
|
|
233
233
|
return this.method;
|
|
234
234
|
};
|
|
235
|
-
protoOf(WsEndpoint).
|
|
235
|
+
protoOf(WsEndpoint).c8 = function () {
|
|
236
236
|
return this.path;
|
|
237
237
|
};
|
|
238
|
-
protoOf(WsEndpoint).
|
|
238
|
+
protoOf(WsEndpoint).y23 = function () {
|
|
239
239
|
return this.query;
|
|
240
240
|
};
|
|
241
|
-
protoOf(WsEndpoint).
|
|
241
|
+
protoOf(WsEndpoint).z23 = function () {
|
|
242
242
|
return this.headers;
|
|
243
243
|
};
|
|
244
|
-
protoOf(WsEndpoint).
|
|
244
|
+
protoOf(WsEndpoint).a24 = function () {
|
|
245
245
|
return this.cookies;
|
|
246
246
|
};
|
|
247
|
-
protoOf(WsEndpoint).
|
|
247
|
+
protoOf(WsEndpoint).b24 = function () {
|
|
248
248
|
return this.requests;
|
|
249
249
|
};
|
|
250
|
-
protoOf(WsEndpoint).
|
|
250
|
+
protoOf(WsEndpoint).c24 = function () {
|
|
251
251
|
return this.responses;
|
|
252
252
|
};
|
|
253
|
-
protoOf(WsEndpoint).
|
|
253
|
+
protoOf(WsEndpoint).d24 = function (name, method, path, query, headers, cookies, requests, responses) {
|
|
254
254
|
return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
|
|
255
255
|
};
|
|
256
256
|
protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
263
263
|
requests = requests === VOID ? this.requests : requests;
|
|
264
264
|
responses = responses === VOID ? this.responses : responses;
|
|
265
|
-
return this.
|
|
265
|
+
return this.d24(name, method, path, query, headers, cookies, requests, responses);
|
|
266
266
|
};
|
|
267
267
|
protoOf(WsEndpoint).toString = function () {
|
|
268
268
|
return 'WsEndpoint(name=' + this.name + ', 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) + ')';
|
|
@@ -306,25 +306,25 @@
|
|
|
306
306
|
this.name = name;
|
|
307
307
|
this.entries = entries;
|
|
308
308
|
}
|
|
309
|
-
protoOf(WsEnum).
|
|
309
|
+
protoOf(WsEnum).bh = function () {
|
|
310
310
|
return this.name;
|
|
311
311
|
};
|
|
312
|
-
protoOf(WsEnum).
|
|
312
|
+
protoOf(WsEnum).w = function () {
|
|
313
313
|
return this.entries;
|
|
314
314
|
};
|
|
315
|
-
protoOf(WsEnum).
|
|
315
|
+
protoOf(WsEnum).e3 = function () {
|
|
316
316
|
return this.name;
|
|
317
317
|
};
|
|
318
|
-
protoOf(WsEnum).
|
|
318
|
+
protoOf(WsEnum).f3 = function () {
|
|
319
319
|
return this.entries;
|
|
320
320
|
};
|
|
321
|
-
protoOf(WsEnum).
|
|
321
|
+
protoOf(WsEnum).e24 = function (name, entries) {
|
|
322
322
|
return new WsEnum(name, entries);
|
|
323
323
|
};
|
|
324
324
|
protoOf(WsEnum).copy = function (name, entries, $super) {
|
|
325
325
|
name = name === VOID ? this.name : name;
|
|
326
326
|
entries = entries === VOID ? this.entries : entries;
|
|
327
|
-
return this.
|
|
327
|
+
return this.e24(name, entries);
|
|
328
328
|
};
|
|
329
329
|
protoOf(WsEnum).toString = function () {
|
|
330
330
|
return 'WsEnum(name=' + this.name + ', entries=' + toString(this.entries) + ')';
|
|
@@ -350,25 +350,25 @@
|
|
|
350
350
|
this.name = name;
|
|
351
351
|
this.validator = validator;
|
|
352
352
|
}
|
|
353
|
-
protoOf(WsRefined).
|
|
353
|
+
protoOf(WsRefined).bh = function () {
|
|
354
354
|
return this.name;
|
|
355
355
|
};
|
|
356
|
-
protoOf(WsRefined).
|
|
356
|
+
protoOf(WsRefined).f24 = function () {
|
|
357
357
|
return this.validator;
|
|
358
358
|
};
|
|
359
|
-
protoOf(WsRefined).
|
|
359
|
+
protoOf(WsRefined).e3 = function () {
|
|
360
360
|
return this.name;
|
|
361
361
|
};
|
|
362
|
-
protoOf(WsRefined).
|
|
362
|
+
protoOf(WsRefined).f3 = function () {
|
|
363
363
|
return this.validator;
|
|
364
364
|
};
|
|
365
|
-
protoOf(WsRefined).
|
|
365
|
+
protoOf(WsRefined).g24 = function (name, validator) {
|
|
366
366
|
return new WsRefined(name, validator);
|
|
367
367
|
};
|
|
368
368
|
protoOf(WsRefined).copy = function (name, validator, $super) {
|
|
369
369
|
name = name === VOID ? this.name : name;
|
|
370
370
|
validator = validator === VOID ? this.validator : validator;
|
|
371
|
-
return this.
|
|
371
|
+
return this.g24(name, validator);
|
|
372
372
|
};
|
|
373
373
|
protoOf(WsRefined).toString = function () {
|
|
374
374
|
return 'WsRefined(name=' + this.name + ', validator=' + this.validator + ')';
|
|
@@ -447,18 +447,18 @@
|
|
|
447
447
|
function WsLiteral(value) {
|
|
448
448
|
this.value = value;
|
|
449
449
|
}
|
|
450
|
-
protoOf(WsLiteral).
|
|
450
|
+
protoOf(WsLiteral).y = function () {
|
|
451
451
|
return this.value;
|
|
452
452
|
};
|
|
453
|
-
protoOf(WsLiteral).
|
|
453
|
+
protoOf(WsLiteral).e3 = function () {
|
|
454
454
|
return this.value;
|
|
455
455
|
};
|
|
456
|
-
protoOf(WsLiteral).
|
|
456
|
+
protoOf(WsLiteral).j24 = function (value) {
|
|
457
457
|
return new WsLiteral(value);
|
|
458
458
|
};
|
|
459
459
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
460
460
|
value = value === VOID ? this.value : value;
|
|
461
|
-
return this.
|
|
461
|
+
return this.j24(value);
|
|
462
462
|
};
|
|
463
463
|
protoOf(WsLiteral).toString = function () {
|
|
464
464
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -480,25 +480,25 @@
|
|
|
480
480
|
this.identifier = identifier;
|
|
481
481
|
this.reference = reference;
|
|
482
482
|
}
|
|
483
|
-
protoOf(WsParam).
|
|
483
|
+
protoOf(WsParam).k24 = function () {
|
|
484
484
|
return this.identifier;
|
|
485
485
|
};
|
|
486
|
-
protoOf(WsParam).
|
|
486
|
+
protoOf(WsParam).l24 = function () {
|
|
487
487
|
return this.reference;
|
|
488
488
|
};
|
|
489
|
-
protoOf(WsParam).
|
|
489
|
+
protoOf(WsParam).e3 = function () {
|
|
490
490
|
return this.identifier;
|
|
491
491
|
};
|
|
492
|
-
protoOf(WsParam).
|
|
492
|
+
protoOf(WsParam).f3 = function () {
|
|
493
493
|
return this.reference;
|
|
494
494
|
};
|
|
495
|
-
protoOf(WsParam).
|
|
495
|
+
protoOf(WsParam).m24 = function (identifier, reference) {
|
|
496
496
|
return new WsParam(identifier, reference);
|
|
497
497
|
};
|
|
498
498
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
499
499
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
500
500
|
reference = reference === VOID ? this.reference : reference;
|
|
501
|
-
return this.
|
|
501
|
+
return this.m24(identifier, reference);
|
|
502
502
|
};
|
|
503
503
|
protoOf(WsParam).toString = function () {
|
|
504
504
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -523,18 +523,18 @@
|
|
|
523
523
|
function Shape(value) {
|
|
524
524
|
this.value = value;
|
|
525
525
|
}
|
|
526
|
-
protoOf(Shape).
|
|
526
|
+
protoOf(Shape).y = function () {
|
|
527
527
|
return this.value;
|
|
528
528
|
};
|
|
529
|
-
protoOf(Shape).
|
|
529
|
+
protoOf(Shape).e3 = function () {
|
|
530
530
|
return this.value;
|
|
531
531
|
};
|
|
532
|
-
protoOf(Shape).
|
|
532
|
+
protoOf(Shape).q23 = function (value) {
|
|
533
533
|
return new Shape(value);
|
|
534
534
|
};
|
|
535
535
|
protoOf(Shape).copy = function (value, $super) {
|
|
536
536
|
value = value === VOID ? this.value : value;
|
|
537
|
-
return this.
|
|
537
|
+
return this.q23(value);
|
|
538
538
|
};
|
|
539
539
|
protoOf(Shape).toString = function () {
|
|
540
540
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -557,32 +557,32 @@
|
|
|
557
557
|
this.reference = reference;
|
|
558
558
|
this.isNullable = isNullable;
|
|
559
559
|
}
|
|
560
|
-
protoOf(WsField).
|
|
560
|
+
protoOf(WsField).k24 = function () {
|
|
561
561
|
return this.identifier;
|
|
562
562
|
};
|
|
563
|
-
protoOf(WsField).
|
|
563
|
+
protoOf(WsField).l24 = function () {
|
|
564
564
|
return this.reference;
|
|
565
565
|
};
|
|
566
|
-
protoOf(WsField).
|
|
566
|
+
protoOf(WsField).aj = function () {
|
|
567
567
|
return this.isNullable;
|
|
568
568
|
};
|
|
569
|
-
protoOf(WsField).
|
|
569
|
+
protoOf(WsField).e3 = function () {
|
|
570
570
|
return this.identifier;
|
|
571
571
|
};
|
|
572
|
-
protoOf(WsField).
|
|
572
|
+
protoOf(WsField).f3 = function () {
|
|
573
573
|
return this.reference;
|
|
574
574
|
};
|
|
575
|
-
protoOf(WsField).
|
|
575
|
+
protoOf(WsField).c8 = function () {
|
|
576
576
|
return this.isNullable;
|
|
577
577
|
};
|
|
578
|
-
protoOf(WsField).
|
|
578
|
+
protoOf(WsField).n24 = function (identifier, reference, isNullable) {
|
|
579
579
|
return new WsField(identifier, reference, isNullable);
|
|
580
580
|
};
|
|
581
581
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
582
582
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
583
583
|
reference = reference === VOID ? this.reference : reference;
|
|
584
584
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
585
|
-
return this.
|
|
585
|
+
return this.n24(identifier, reference, isNullable);
|
|
586
586
|
};
|
|
587
587
|
protoOf(WsField).toString = function () {
|
|
588
588
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -610,18 +610,18 @@
|
|
|
610
610
|
function WsIdentifier(value) {
|
|
611
611
|
this.value = value;
|
|
612
612
|
}
|
|
613
|
-
protoOf(WsIdentifier).
|
|
613
|
+
protoOf(WsIdentifier).y = function () {
|
|
614
614
|
return this.value;
|
|
615
615
|
};
|
|
616
|
-
protoOf(WsIdentifier).
|
|
616
|
+
protoOf(WsIdentifier).e3 = function () {
|
|
617
617
|
return this.value;
|
|
618
618
|
};
|
|
619
|
-
protoOf(WsIdentifier).
|
|
619
|
+
protoOf(WsIdentifier).j24 = function (value) {
|
|
620
620
|
return new WsIdentifier(value);
|
|
621
621
|
};
|
|
622
622
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
623
623
|
value = value === VOID ? this.value : value;
|
|
624
|
-
return this.
|
|
624
|
+
return this.j24(value);
|
|
625
625
|
};
|
|
626
626
|
protoOf(WsIdentifier).toString = function () {
|
|
627
627
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -643,35 +643,35 @@
|
|
|
643
643
|
}
|
|
644
644
|
function WsAny(isIterable, isMap) {
|
|
645
645
|
isMap = isMap === VOID ? false : isMap;
|
|
646
|
-
this.
|
|
647
|
-
this.
|
|
646
|
+
this.o24_1 = isIterable;
|
|
647
|
+
this.p24_1 = isMap;
|
|
648
648
|
}
|
|
649
|
-
protoOf(WsAny).
|
|
650
|
-
return this.
|
|
649
|
+
protoOf(WsAny).s1r = function () {
|
|
650
|
+
return this.o24_1;
|
|
651
651
|
};
|
|
652
|
-
protoOf(WsAny).
|
|
653
|
-
return this.
|
|
652
|
+
protoOf(WsAny).n1z = function () {
|
|
653
|
+
return this.p24_1;
|
|
654
654
|
};
|
|
655
|
-
protoOf(WsAny).
|
|
656
|
-
return this.
|
|
655
|
+
protoOf(WsAny).e3 = function () {
|
|
656
|
+
return this.o24_1;
|
|
657
657
|
};
|
|
658
|
-
protoOf(WsAny).
|
|
659
|
-
return this.
|
|
658
|
+
protoOf(WsAny).f3 = function () {
|
|
659
|
+
return this.p24_1;
|
|
660
660
|
};
|
|
661
|
-
protoOf(WsAny).
|
|
661
|
+
protoOf(WsAny).b21 = function (isIterable, isMap) {
|
|
662
662
|
return new WsAny(isIterable, isMap);
|
|
663
663
|
};
|
|
664
664
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
665
|
-
isIterable = isIterable === VOID ? this.
|
|
666
|
-
isMap = isMap === VOID ? this.
|
|
667
|
-
return this.
|
|
665
|
+
isIterable = isIterable === VOID ? this.o24_1 : isIterable;
|
|
666
|
+
isMap = isMap === VOID ? this.p24_1 : isMap;
|
|
667
|
+
return this.b21(isIterable, isMap);
|
|
668
668
|
};
|
|
669
669
|
protoOf(WsAny).toString = function () {
|
|
670
|
-
return 'WsAny(isIterable=' + this.
|
|
670
|
+
return 'WsAny(isIterable=' + this.o24_1 + ', isMap=' + this.p24_1 + ')';
|
|
671
671
|
};
|
|
672
672
|
protoOf(WsAny).hashCode = function () {
|
|
673
|
-
var result = this.
|
|
674
|
-
result = imul(result, 31) + (this.
|
|
673
|
+
var result = this.o24_1 | 0;
|
|
674
|
+
result = imul(result, 31) + (this.p24_1 | 0) | 0;
|
|
675
675
|
return result;
|
|
676
676
|
};
|
|
677
677
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -680,43 +680,43 @@
|
|
|
680
680
|
if (!(other instanceof WsAny))
|
|
681
681
|
return false;
|
|
682
682
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
683
|
-
if (!(this.
|
|
683
|
+
if (!(this.o24_1 === tmp0_other_with_cast.o24_1))
|
|
684
684
|
return false;
|
|
685
|
-
if (!(this.
|
|
685
|
+
if (!(this.p24_1 === tmp0_other_with_cast.p24_1))
|
|
686
686
|
return false;
|
|
687
687
|
return true;
|
|
688
688
|
};
|
|
689
689
|
function WsUnit(isIterable, isMap) {
|
|
690
690
|
isMap = isMap === VOID ? false : isMap;
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
691
|
+
this.q24_1 = isIterable;
|
|
692
|
+
this.r24_1 = isMap;
|
|
693
693
|
}
|
|
694
|
-
protoOf(WsUnit).
|
|
695
|
-
return this.
|
|
694
|
+
protoOf(WsUnit).s1r = function () {
|
|
695
|
+
return this.q24_1;
|
|
696
696
|
};
|
|
697
|
-
protoOf(WsUnit).
|
|
698
|
-
return this.
|
|
697
|
+
protoOf(WsUnit).n1z = function () {
|
|
698
|
+
return this.r24_1;
|
|
699
699
|
};
|
|
700
|
-
protoOf(WsUnit).
|
|
701
|
-
return this.
|
|
700
|
+
protoOf(WsUnit).e3 = function () {
|
|
701
|
+
return this.q24_1;
|
|
702
702
|
};
|
|
703
|
-
protoOf(WsUnit).
|
|
704
|
-
return this.
|
|
703
|
+
protoOf(WsUnit).f3 = function () {
|
|
704
|
+
return this.r24_1;
|
|
705
705
|
};
|
|
706
|
-
protoOf(WsUnit).
|
|
706
|
+
protoOf(WsUnit).b21 = function (isIterable, isMap) {
|
|
707
707
|
return new WsUnit(isIterable, isMap);
|
|
708
708
|
};
|
|
709
709
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
710
|
-
isIterable = isIterable === VOID ? this.
|
|
711
|
-
isMap = isMap === VOID ? this.
|
|
712
|
-
return this.
|
|
710
|
+
isIterable = isIterable === VOID ? this.q24_1 : isIterable;
|
|
711
|
+
isMap = isMap === VOID ? this.r24_1 : isMap;
|
|
712
|
+
return this.b21(isIterable, isMap);
|
|
713
713
|
};
|
|
714
714
|
protoOf(WsUnit).toString = function () {
|
|
715
|
-
return 'WsUnit(isIterable=' + this.
|
|
715
|
+
return 'WsUnit(isIterable=' + this.q24_1 + ', isMap=' + this.r24_1 + ')';
|
|
716
716
|
};
|
|
717
717
|
protoOf(WsUnit).hashCode = function () {
|
|
718
|
-
var result = this.
|
|
719
|
-
result = imul(result, 31) + (this.
|
|
718
|
+
var result = this.q24_1 | 0;
|
|
719
|
+
result = imul(result, 31) + (this.r24_1 | 0) | 0;
|
|
720
720
|
return result;
|
|
721
721
|
};
|
|
722
722
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -725,52 +725,52 @@
|
|
|
725
725
|
if (!(other instanceof WsUnit))
|
|
726
726
|
return false;
|
|
727
727
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
728
|
-
if (!(this.
|
|
728
|
+
if (!(this.q24_1 === tmp0_other_with_cast.q24_1))
|
|
729
729
|
return false;
|
|
730
|
-
if (!(this.
|
|
730
|
+
if (!(this.r24_1 === tmp0_other_with_cast.r24_1))
|
|
731
731
|
return false;
|
|
732
732
|
return true;
|
|
733
733
|
};
|
|
734
734
|
function WsCustom(value, isIterable, isMap) {
|
|
735
735
|
isMap = isMap === VOID ? false : isMap;
|
|
736
736
|
this.value = value;
|
|
737
|
-
this.
|
|
738
|
-
this.
|
|
737
|
+
this.s24_1 = isIterable;
|
|
738
|
+
this.t24_1 = isMap;
|
|
739
739
|
}
|
|
740
|
-
protoOf(WsCustom).
|
|
740
|
+
protoOf(WsCustom).y = function () {
|
|
741
741
|
return this.value;
|
|
742
742
|
};
|
|
743
|
-
protoOf(WsCustom).
|
|
744
|
-
return this.
|
|
743
|
+
protoOf(WsCustom).s1r = function () {
|
|
744
|
+
return this.s24_1;
|
|
745
745
|
};
|
|
746
|
-
protoOf(WsCustom).
|
|
747
|
-
return this.
|
|
746
|
+
protoOf(WsCustom).n1z = function () {
|
|
747
|
+
return this.t24_1;
|
|
748
748
|
};
|
|
749
|
-
protoOf(WsCustom).
|
|
749
|
+
protoOf(WsCustom).e3 = function () {
|
|
750
750
|
return this.value;
|
|
751
751
|
};
|
|
752
|
-
protoOf(WsCustom).
|
|
753
|
-
return this.
|
|
752
|
+
protoOf(WsCustom).f3 = function () {
|
|
753
|
+
return this.s24_1;
|
|
754
754
|
};
|
|
755
|
-
protoOf(WsCustom).
|
|
756
|
-
return this.
|
|
755
|
+
protoOf(WsCustom).c8 = function () {
|
|
756
|
+
return this.t24_1;
|
|
757
757
|
};
|
|
758
|
-
protoOf(WsCustom).
|
|
758
|
+
protoOf(WsCustom).g21 = function (value, isIterable, isMap) {
|
|
759
759
|
return new WsCustom(value, isIterable, isMap);
|
|
760
760
|
};
|
|
761
761
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
762
762
|
value = value === VOID ? this.value : value;
|
|
763
|
-
isIterable = isIterable === VOID ? this.
|
|
764
|
-
isMap = isMap === VOID ? this.
|
|
765
|
-
return this.
|
|
763
|
+
isIterable = isIterable === VOID ? this.s24_1 : isIterable;
|
|
764
|
+
isMap = isMap === VOID ? this.t24_1 : isMap;
|
|
765
|
+
return this.g21(value, isIterable, isMap);
|
|
766
766
|
};
|
|
767
767
|
protoOf(WsCustom).toString = function () {
|
|
768
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
768
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.s24_1 + ', isMap=' + this.t24_1 + ')';
|
|
769
769
|
};
|
|
770
770
|
protoOf(WsCustom).hashCode = function () {
|
|
771
771
|
var result = getStringHashCode(this.value);
|
|
772
|
-
result = imul(result, 31) + (this.
|
|
773
|
-
result = imul(result, 31) + (this.
|
|
772
|
+
result = imul(result, 31) + (this.s24_1 | 0) | 0;
|
|
773
|
+
result = imul(result, 31) + (this.t24_1 | 0) | 0;
|
|
774
774
|
return result;
|
|
775
775
|
};
|
|
776
776
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -781,52 +781,52 @@
|
|
|
781
781
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
782
782
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
783
783
|
return false;
|
|
784
|
-
if (!(this.
|
|
784
|
+
if (!(this.s24_1 === tmp0_other_with_cast.s24_1))
|
|
785
785
|
return false;
|
|
786
|
-
if (!(this.
|
|
786
|
+
if (!(this.t24_1 === tmp0_other_with_cast.t24_1))
|
|
787
787
|
return false;
|
|
788
788
|
return true;
|
|
789
789
|
};
|
|
790
790
|
function WsPrimitive(type, isIterable, isMap) {
|
|
791
791
|
isMap = isMap === VOID ? false : isMap;
|
|
792
792
|
this.type = type;
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
793
|
+
this.u24_1 = isIterable;
|
|
794
|
+
this.v24_1 = isMap;
|
|
795
795
|
}
|
|
796
|
-
protoOf(WsPrimitive).
|
|
796
|
+
protoOf(WsPrimitive).w24 = function () {
|
|
797
797
|
return this.type;
|
|
798
798
|
};
|
|
799
|
-
protoOf(WsPrimitive).
|
|
800
|
-
return this.
|
|
799
|
+
protoOf(WsPrimitive).s1r = function () {
|
|
800
|
+
return this.u24_1;
|
|
801
801
|
};
|
|
802
|
-
protoOf(WsPrimitive).
|
|
803
|
-
return this.
|
|
802
|
+
protoOf(WsPrimitive).n1z = function () {
|
|
803
|
+
return this.v24_1;
|
|
804
804
|
};
|
|
805
|
-
protoOf(WsPrimitive).
|
|
805
|
+
protoOf(WsPrimitive).e3 = function () {
|
|
806
806
|
return this.type;
|
|
807
807
|
};
|
|
808
|
-
protoOf(WsPrimitive).
|
|
809
|
-
return this.
|
|
808
|
+
protoOf(WsPrimitive).f3 = function () {
|
|
809
|
+
return this.u24_1;
|
|
810
810
|
};
|
|
811
|
-
protoOf(WsPrimitive).
|
|
812
|
-
return this.
|
|
811
|
+
protoOf(WsPrimitive).c8 = function () {
|
|
812
|
+
return this.v24_1;
|
|
813
813
|
};
|
|
814
|
-
protoOf(WsPrimitive).
|
|
814
|
+
protoOf(WsPrimitive).x24 = function (type, isIterable, isMap) {
|
|
815
815
|
return new WsPrimitive(type, isIterable, isMap);
|
|
816
816
|
};
|
|
817
817
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
818
818
|
type = type === VOID ? this.type : type;
|
|
819
|
-
isIterable = isIterable === VOID ? this.
|
|
820
|
-
isMap = isMap === VOID ? this.
|
|
821
|
-
return this.
|
|
819
|
+
isIterable = isIterable === VOID ? this.u24_1 : isIterable;
|
|
820
|
+
isMap = isMap === VOID ? this.v24_1 : isMap;
|
|
821
|
+
return this.x24(type, isIterable, isMap);
|
|
822
822
|
};
|
|
823
823
|
protoOf(WsPrimitive).toString = function () {
|
|
824
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
824
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.u24_1 + ', isMap=' + this.v24_1 + ')';
|
|
825
825
|
};
|
|
826
826
|
protoOf(WsPrimitive).hashCode = function () {
|
|
827
827
|
var result = this.type.hashCode();
|
|
828
|
-
result = imul(result, 31) + (this.
|
|
829
|
-
result = imul(result, 31) + (this.
|
|
828
|
+
result = imul(result, 31) + (this.u24_1 | 0) | 0;
|
|
829
|
+
result = imul(result, 31) + (this.v24_1 | 0) | 0;
|
|
830
830
|
return result;
|
|
831
831
|
};
|
|
832
832
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -837,9 +837,9 @@
|
|
|
837
837
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
838
838
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
839
839
|
return false;
|
|
840
|
-
if (!(this.
|
|
840
|
+
if (!(this.u24_1 === tmp0_other_with_cast.u24_1))
|
|
841
841
|
return false;
|
|
842
|
-
if (!(this.
|
|
842
|
+
if (!(this.v24_1 === tmp0_other_with_cast.v24_1))
|
|
843
843
|
return false;
|
|
844
844
|
return true;
|
|
845
845
|
};
|
|
@@ -882,18 +882,18 @@
|
|
|
882
882
|
function WsRequest(content) {
|
|
883
883
|
this.content = content;
|
|
884
884
|
}
|
|
885
|
-
protoOf(WsRequest).
|
|
885
|
+
protoOf(WsRequest).uz = function () {
|
|
886
886
|
return this.content;
|
|
887
887
|
};
|
|
888
|
-
protoOf(WsRequest).
|
|
888
|
+
protoOf(WsRequest).e3 = function () {
|
|
889
889
|
return this.content;
|
|
890
890
|
};
|
|
891
|
-
protoOf(WsRequest).
|
|
891
|
+
protoOf(WsRequest).a25 = function (content) {
|
|
892
892
|
return new WsRequest(content);
|
|
893
893
|
};
|
|
894
894
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
895
895
|
content = content === VOID ? this.content : content;
|
|
896
|
-
return this.
|
|
896
|
+
return this.a25(content);
|
|
897
897
|
};
|
|
898
898
|
protoOf(WsRequest).toString = function () {
|
|
899
899
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -915,25 +915,25 @@
|
|
|
915
915
|
this.status = status;
|
|
916
916
|
this.content = content;
|
|
917
917
|
}
|
|
918
|
-
protoOf(WsResponse).
|
|
918
|
+
protoOf(WsResponse).b25 = function () {
|
|
919
919
|
return this.status;
|
|
920
920
|
};
|
|
921
|
-
protoOf(WsResponse).
|
|
921
|
+
protoOf(WsResponse).uz = function () {
|
|
922
922
|
return this.content;
|
|
923
923
|
};
|
|
924
|
-
protoOf(WsResponse).
|
|
924
|
+
protoOf(WsResponse).e3 = function () {
|
|
925
925
|
return this.status;
|
|
926
926
|
};
|
|
927
|
-
protoOf(WsResponse).
|
|
927
|
+
protoOf(WsResponse).f3 = function () {
|
|
928
928
|
return this.content;
|
|
929
929
|
};
|
|
930
|
-
protoOf(WsResponse).
|
|
930
|
+
protoOf(WsResponse).c25 = function (status, content) {
|
|
931
931
|
return new WsResponse(status, content);
|
|
932
932
|
};
|
|
933
933
|
protoOf(WsResponse).copy = function (status, content, $super) {
|
|
934
934
|
status = status === VOID ? this.status : status;
|
|
935
935
|
content = content === VOID ? this.content : content;
|
|
936
|
-
return this.
|
|
936
|
+
return this.c25(status, content);
|
|
937
937
|
};
|
|
938
938
|
protoOf(WsResponse).toString = function () {
|
|
939
939
|
return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
|
|
@@ -961,32 +961,32 @@
|
|
|
961
961
|
this.reference = reference;
|
|
962
962
|
this.isNullable = isNullable;
|
|
963
963
|
}
|
|
964
|
-
protoOf(WsContent).
|
|
964
|
+
protoOf(WsContent).w24 = function () {
|
|
965
965
|
return this.type;
|
|
966
966
|
};
|
|
967
|
-
protoOf(WsContent).
|
|
967
|
+
protoOf(WsContent).l24 = function () {
|
|
968
968
|
return this.reference;
|
|
969
969
|
};
|
|
970
|
-
protoOf(WsContent).
|
|
970
|
+
protoOf(WsContent).aj = function () {
|
|
971
971
|
return this.isNullable;
|
|
972
972
|
};
|
|
973
|
-
protoOf(WsContent).
|
|
973
|
+
protoOf(WsContent).e3 = function () {
|
|
974
974
|
return this.type;
|
|
975
975
|
};
|
|
976
|
-
protoOf(WsContent).
|
|
976
|
+
protoOf(WsContent).f3 = function () {
|
|
977
977
|
return this.reference;
|
|
978
978
|
};
|
|
979
|
-
protoOf(WsContent).
|
|
979
|
+
protoOf(WsContent).c8 = function () {
|
|
980
980
|
return this.isNullable;
|
|
981
981
|
};
|
|
982
|
-
protoOf(WsContent).
|
|
982
|
+
protoOf(WsContent).d25 = function (type, reference, isNullable) {
|
|
983
983
|
return new WsContent(type, reference, isNullable);
|
|
984
984
|
};
|
|
985
985
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
986
986
|
type = type === VOID ? this.type : type;
|
|
987
987
|
reference = reference === VOID ? this.reference : reference;
|
|
988
988
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
989
|
-
return this.
|
|
989
|
+
return this.d25(type, reference, isNullable);
|
|
990
990
|
};
|
|
991
991
|
protoOf(WsContent).toString = function () {
|
|
992
992
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1019,54 +1019,90 @@
|
|
|
1019
1019
|
var tmp0_iterator = _this__u8e3s4.c();
|
|
1020
1020
|
while (tmp0_iterator.d()) {
|
|
1021
1021
|
var item = tmp0_iterator.e();
|
|
1022
|
-
var tmp$ret$
|
|
1023
|
-
// Inline function 'produce.<anonymous>' call
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1022
|
+
var tmp$ret$0;
|
|
1023
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1024
|
+
tmp$ret$0 = produce_0(item);
|
|
1025
|
+
tmp0_mapTo.a(tmp$ret$0);
|
|
1026
|
+
}
|
|
1027
|
+
return copyToArray(tmp0_mapTo);
|
|
1028
|
+
}
|
|
1029
|
+
function produce_0(_this__u8e3s4) {
|
|
1030
|
+
var tmp;
|
|
1031
|
+
if (_this__u8e3s4 instanceof Type) {
|
|
1032
|
+
tmp = new WsType(_this__u8e3s4.a1x_1, produce_1(_this__u8e3s4.b1x_1));
|
|
1033
|
+
} else {
|
|
1034
|
+
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1035
|
+
tmp = new WsEndpoint(_this__u8e3s4.m1y_1, produce_2(_this__u8e3s4.n1y_1), produce_3(_this__u8e3s4.o1y_1), produce_4(_this__u8e3s4.p1y_1), produce_4(_this__u8e3s4.q1y_1), produce_4(_this__u8e3s4.r1y_1), produce_5(_this__u8e3s4.s1y_1), produce_6(_this__u8e3s4.t1y_1));
|
|
1027
1036
|
} else {
|
|
1028
|
-
if (
|
|
1029
|
-
tmp
|
|
1037
|
+
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1038
|
+
var tmp$ret$0;
|
|
1039
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1040
|
+
var tmp0_toTypedArray = _this__u8e3s4.q1x_1;
|
|
1041
|
+
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
1042
|
+
tmp = new WsEnum(_this__u8e3s4.p1x_1, tmp$ret$0);
|
|
1030
1043
|
} else {
|
|
1031
|
-
if (
|
|
1032
|
-
|
|
1033
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1034
|
-
var tmp0_toTypedArray = item.g1v_1;
|
|
1035
|
-
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
1036
|
-
tmp = new WsEnum(item.f1v_1, tmp$ret$0);
|
|
1044
|
+
if (_this__u8e3s4 instanceof Refined) {
|
|
1045
|
+
tmp = new WsRefined(_this__u8e3s4.r1x_1, _this__u8e3s4.s1x_1.t1x_1);
|
|
1037
1046
|
} else {
|
|
1038
|
-
|
|
1039
|
-
tmp = new WsRefined(item.q1v_1, item.r1v_1.s1v_1);
|
|
1040
|
-
} else {
|
|
1041
|
-
noWhenBranchMatchedException();
|
|
1042
|
-
}
|
|
1047
|
+
noWhenBranchMatchedException();
|
|
1043
1048
|
}
|
|
1044
1049
|
}
|
|
1045
1050
|
}
|
|
1046
|
-
tmp$ret$1 = tmp;
|
|
1047
|
-
tmp0_mapTo.a(tmp$ret$1);
|
|
1048
1051
|
}
|
|
1049
|
-
return
|
|
1052
|
+
return tmp;
|
|
1050
1053
|
}
|
|
1051
|
-
function
|
|
1054
|
+
function produce_1(_this__u8e3s4) {
|
|
1052
1055
|
var tmp$ret$3;
|
|
1053
1056
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1054
1057
|
// Inline function 'kotlin.collections.map' call
|
|
1055
|
-
var tmp0_map = _this__u8e3s4.
|
|
1058
|
+
var tmp0_map = _this__u8e3s4.d1x_1;
|
|
1056
1059
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1057
1060
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1058
1061
|
var tmp0_iterator = tmp0_map.c();
|
|
1059
1062
|
while (tmp0_iterator.d()) {
|
|
1060
1063
|
var item = tmp0_iterator.e();
|
|
1061
1064
|
var tmp$ret$0;
|
|
1062
|
-
// Inline function 'produce.<anonymous>' call
|
|
1063
|
-
tmp$ret$0 =
|
|
1065
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1066
|
+
tmp$ret$0 = produce_7(item);
|
|
1064
1067
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1065
1068
|
}
|
|
1066
1069
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
1067
1070
|
return new WsShape(tmp$ret$3);
|
|
1068
1071
|
}
|
|
1069
|
-
function
|
|
1072
|
+
function produce_2(_this__u8e3s4) {
|
|
1073
|
+
var tmp;
|
|
1074
|
+
switch (_this__u8e3s4.p5_1) {
|
|
1075
|
+
case 0:
|
|
1076
|
+
tmp = WsMethod_GET_getInstance();
|
|
1077
|
+
break;
|
|
1078
|
+
case 1:
|
|
1079
|
+
tmp = WsMethod_POST_getInstance();
|
|
1080
|
+
break;
|
|
1081
|
+
case 2:
|
|
1082
|
+
tmp = WsMethod_PUT_getInstance();
|
|
1083
|
+
break;
|
|
1084
|
+
case 3:
|
|
1085
|
+
tmp = WsMethod_DELETE_getInstance();
|
|
1086
|
+
break;
|
|
1087
|
+
case 4:
|
|
1088
|
+
tmp = WsMethod_OPTIONS_getInstance();
|
|
1089
|
+
break;
|
|
1090
|
+
case 5:
|
|
1091
|
+
tmp = WsMethod_HEAD_getInstance();
|
|
1092
|
+
break;
|
|
1093
|
+
case 6:
|
|
1094
|
+
tmp = WsMethod_PATCH_getInstance();
|
|
1095
|
+
break;
|
|
1096
|
+
case 7:
|
|
1097
|
+
tmp = WsMethod_TRACE_getInstance();
|
|
1098
|
+
break;
|
|
1099
|
+
default:
|
|
1100
|
+
noWhenBranchMatchedException();
|
|
1101
|
+
break;
|
|
1102
|
+
}
|
|
1103
|
+
return tmp;
|
|
1104
|
+
}
|
|
1105
|
+
function produce_3(_this__u8e3s4) {
|
|
1070
1106
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1071
1107
|
// Inline function 'kotlin.collections.map' call
|
|
1072
1108
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1075,13 +1111,13 @@
|
|
|
1075
1111
|
while (tmp0_iterator.d()) {
|
|
1076
1112
|
var item = tmp0_iterator.e();
|
|
1077
1113
|
var tmp$ret$0;
|
|
1078
|
-
// Inline function 'produce.<anonymous>' call
|
|
1114
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1079
1115
|
var tmp;
|
|
1080
1116
|
if (item instanceof Literal) {
|
|
1081
|
-
tmp = new WsLiteral(item.
|
|
1117
|
+
tmp = new WsLiteral(item.o1z_1);
|
|
1082
1118
|
} else {
|
|
1083
1119
|
if (item instanceof Param) {
|
|
1084
|
-
tmp = new WsParam(
|
|
1120
|
+
tmp = new WsParam(produce_8(item.a1z_1), produce_9(item.b1z_1));
|
|
1085
1121
|
} else {
|
|
1086
1122
|
noWhenBranchMatchedException();
|
|
1087
1123
|
}
|
|
@@ -1091,10 +1127,22 @@
|
|
|
1091
1127
|
}
|
|
1092
1128
|
return copyToArray(tmp0_mapTo);
|
|
1093
1129
|
}
|
|
1094
|
-
function
|
|
1095
|
-
|
|
1130
|
+
function produce_4(_this__u8e3s4) {
|
|
1131
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1132
|
+
// Inline function 'kotlin.collections.map' call
|
|
1133
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1134
|
+
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1135
|
+
var tmp0_iterator = _this__u8e3s4.c();
|
|
1136
|
+
while (tmp0_iterator.d()) {
|
|
1137
|
+
var item = tmp0_iterator.e();
|
|
1138
|
+
var tmp$ret$0;
|
|
1139
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1140
|
+
tmp$ret$0 = produce_7(item);
|
|
1141
|
+
tmp0_mapTo.a(tmp$ret$0);
|
|
1142
|
+
}
|
|
1143
|
+
return copyToArray(tmp0_mapTo);
|
|
1096
1144
|
}
|
|
1097
|
-
function
|
|
1145
|
+
function produce_5(_this__u8e3s4) {
|
|
1098
1146
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1099
1147
|
// Inline function 'kotlin.collections.map' call
|
|
1100
1148
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1103,28 +1151,46 @@
|
|
|
1103
1151
|
while (tmp0_iterator.d()) {
|
|
1104
1152
|
var item = tmp0_iterator.e();
|
|
1105
1153
|
var tmp$ret$0;
|
|
1106
|
-
// Inline function 'produce.<anonymous>' call
|
|
1107
|
-
tmp$ret$0 =
|
|
1154
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1155
|
+
tmp$ret$0 = produce_10(item);
|
|
1108
1156
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1109
1157
|
}
|
|
1110
1158
|
return copyToArray(tmp0_mapTo);
|
|
1111
1159
|
}
|
|
1112
|
-
function
|
|
1113
|
-
|
|
1160
|
+
function produce_6(_this__u8e3s4) {
|
|
1161
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1162
|
+
// Inline function 'kotlin.collections.map' call
|
|
1163
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1164
|
+
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1165
|
+
var tmp0_iterator = _this__u8e3s4.c();
|
|
1166
|
+
while (tmp0_iterator.d()) {
|
|
1167
|
+
var item = tmp0_iterator.e();
|
|
1168
|
+
var tmp$ret$0;
|
|
1169
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1170
|
+
tmp$ret$0 = produce_11(item);
|
|
1171
|
+
tmp0_mapTo.a(tmp$ret$0);
|
|
1172
|
+
}
|
|
1173
|
+
return copyToArray(tmp0_mapTo);
|
|
1114
1174
|
}
|
|
1115
|
-
function
|
|
1175
|
+
function produce_7(_this__u8e3s4) {
|
|
1176
|
+
return new WsField(produce_8(_this__u8e3s4.e1x_1), produce_9(_this__u8e3s4.f1x_1), _this__u8e3s4.g1x_1);
|
|
1177
|
+
}
|
|
1178
|
+
function produce_8(_this__u8e3s4) {
|
|
1179
|
+
return new WsIdentifier(_this__u8e3s4.i1x_1);
|
|
1180
|
+
}
|
|
1181
|
+
function produce_9(_this__u8e3s4) {
|
|
1116
1182
|
var tmp;
|
|
1117
1183
|
if (_this__u8e3s4 instanceof Any) {
|
|
1118
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1184
|
+
tmp = new WsAny(_this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1119
1185
|
} else {
|
|
1120
1186
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1121
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1187
|
+
tmp = new WsUnit(_this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1122
1188
|
} else {
|
|
1123
1189
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1124
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1190
|
+
tmp = new WsCustom(_this__u8e3s4.m1x_1, _this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1125
1191
|
} else {
|
|
1126
1192
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1127
|
-
tmp = new WsPrimitive(
|
|
1193
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.j1x_1), _this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1128
1194
|
} else {
|
|
1129
1195
|
noWhenBranchMatchedException();
|
|
1130
1196
|
}
|
|
@@ -1133,9 +1199,17 @@
|
|
|
1133
1199
|
}
|
|
1134
1200
|
return tmp;
|
|
1135
1201
|
}
|
|
1136
|
-
function
|
|
1202
|
+
function produce_10(_this__u8e3s4) {
|
|
1203
|
+
var tmp0_safe_receiver = _this__u8e3s4.v1y_1;
|
|
1204
|
+
return new WsRequest(tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1205
|
+
}
|
|
1206
|
+
function produce_11(_this__u8e3s4) {
|
|
1207
|
+
var tmp0_safe_receiver = _this__u8e3s4.z1y_1;
|
|
1208
|
+
return new WsResponse(_this__u8e3s4.x1y_1, tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1209
|
+
}
|
|
1210
|
+
function produce_12(_this__u8e3s4) {
|
|
1137
1211
|
var tmp;
|
|
1138
|
-
switch (_this__u8e3s4.
|
|
1212
|
+
switch (_this__u8e3s4.p5_1) {
|
|
1139
1213
|
case 0:
|
|
1140
1214
|
tmp = WsPrimitiveType_String_getInstance();
|
|
1141
1215
|
break;
|
|
@@ -1154,79 +1228,8 @@
|
|
|
1154
1228
|
}
|
|
1155
1229
|
return tmp;
|
|
1156
1230
|
}
|
|
1157
|
-
function
|
|
1158
|
-
|
|
1159
|
-
switch (_this__u8e3s4.d4_1) {
|
|
1160
|
-
case 0:
|
|
1161
|
-
tmp = WsMethod_GET_getInstance();
|
|
1162
|
-
break;
|
|
1163
|
-
case 1:
|
|
1164
|
-
tmp = WsMethod_POST_getInstance();
|
|
1165
|
-
break;
|
|
1166
|
-
case 2:
|
|
1167
|
-
tmp = WsMethod_PUT_getInstance();
|
|
1168
|
-
break;
|
|
1169
|
-
case 3:
|
|
1170
|
-
tmp = WsMethod_DELETE_getInstance();
|
|
1171
|
-
break;
|
|
1172
|
-
case 4:
|
|
1173
|
-
tmp = WsMethod_OPTIONS_getInstance();
|
|
1174
|
-
break;
|
|
1175
|
-
case 5:
|
|
1176
|
-
tmp = WsMethod_HEAD_getInstance();
|
|
1177
|
-
break;
|
|
1178
|
-
case 6:
|
|
1179
|
-
tmp = WsMethod_PATCH_getInstance();
|
|
1180
|
-
break;
|
|
1181
|
-
case 7:
|
|
1182
|
-
tmp = WsMethod_TRACE_getInstance();
|
|
1183
|
-
break;
|
|
1184
|
-
default:
|
|
1185
|
-
noWhenBranchMatchedException();
|
|
1186
|
-
break;
|
|
1187
|
-
}
|
|
1188
|
-
return tmp;
|
|
1189
|
-
}
|
|
1190
|
-
function produce_8(_this__u8e3s4) {
|
|
1191
|
-
return new WsContent(_this__u8e3s4.n1u_1, produce_5(_this__u8e3s4.o1u_1), _this__u8e3s4.p1u_1);
|
|
1192
|
-
}
|
|
1193
|
-
function produce_9(_this__u8e3s4) {
|
|
1194
|
-
var tmp0_safe_receiver = _this__u8e3s4.y1t_1;
|
|
1195
|
-
return new WsRequest(tmp0_safe_receiver == null ? null : produce_8(tmp0_safe_receiver));
|
|
1196
|
-
}
|
|
1197
|
-
function produce_10(_this__u8e3s4) {
|
|
1198
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1199
|
-
// Inline function 'kotlin.collections.map' call
|
|
1200
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1201
|
-
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1202
|
-
var tmp0_iterator = _this__u8e3s4.c();
|
|
1203
|
-
while (tmp0_iterator.d()) {
|
|
1204
|
-
var item = tmp0_iterator.e();
|
|
1205
|
-
var tmp$ret$0;
|
|
1206
|
-
// Inline function 'produce.<anonymous>' call
|
|
1207
|
-
tmp$ret$0 = produce_9(item);
|
|
1208
|
-
tmp0_mapTo.a(tmp$ret$0);
|
|
1209
|
-
}
|
|
1210
|
-
return copyToArray(tmp0_mapTo);
|
|
1211
|
-
}
|
|
1212
|
-
function produce_11(_this__u8e3s4) {
|
|
1213
|
-
var tmp0_safe_receiver = _this__u8e3s4.c1u_1;
|
|
1214
|
-
return new WsResponse(_this__u8e3s4.a1u_1, tmp0_safe_receiver == null ? null : produce_8(tmp0_safe_receiver));
|
|
1215
|
-
}
|
|
1216
|
-
function produce_12(_this__u8e3s4) {
|
|
1217
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1218
|
-
// Inline function 'kotlin.collections.map' call
|
|
1219
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1220
|
-
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1221
|
-
var tmp0_iterator = _this__u8e3s4.c();
|
|
1222
|
-
while (tmp0_iterator.d()) {
|
|
1223
|
-
var item = tmp0_iterator.e();
|
|
1224
|
-
var tmp$ret$0;
|
|
1225
|
-
// Inline function 'produce.<anonymous>' call
|
|
1226
|
-
tmp$ret$0 = produce_11(item);
|
|
1227
|
-
tmp0_mapTo.a(tmp$ret$0);
|
|
1228
|
-
}
|
|
1229
|
-
return copyToArray(tmp0_mapTo);
|
|
1231
|
+
function produce_13(_this__u8e3s4) {
|
|
1232
|
+
return new WsContent(_this__u8e3s4.c1z_1, produce_9(_this__u8e3s4.d1z_1), _this__u8e3s4.e1z_1);
|
|
1230
1233
|
}
|
|
1231
1234
|
function WsMethod_GET_getInstance() {
|
|
1232
1235
|
WsMethod_initEntries();
|
|
@@ -1289,48 +1292,48 @@
|
|
|
1289
1292
|
this.compiled = compiled;
|
|
1290
1293
|
this.errors = errors;
|
|
1291
1294
|
}
|
|
1292
|
-
protoOf(WsCompilationResult).
|
|
1295
|
+
protoOf(WsCompilationResult).e25 = function () {
|
|
1293
1296
|
return this.compiled;
|
|
1294
1297
|
};
|
|
1295
|
-
protoOf(WsCompilationResult).
|
|
1298
|
+
protoOf(WsCompilationResult).f25 = function () {
|
|
1296
1299
|
return this.errors;
|
|
1297
1300
|
};
|
|
1298
1301
|
function WsCompiled(value) {
|
|
1299
1302
|
this.value = value;
|
|
1300
1303
|
}
|
|
1301
|
-
protoOf(WsCompiled).
|
|
1304
|
+
protoOf(WsCompiled).y = function () {
|
|
1302
1305
|
return this.value;
|
|
1303
1306
|
};
|
|
1304
1307
|
function WsCompiledFile(name, value) {
|
|
1305
1308
|
this.name = name;
|
|
1306
1309
|
this.value = value;
|
|
1307
1310
|
}
|
|
1308
|
-
protoOf(WsCompiledFile).
|
|
1311
|
+
protoOf(WsCompiledFile).bh = function () {
|
|
1309
1312
|
return this.name;
|
|
1310
1313
|
};
|
|
1311
|
-
protoOf(WsCompiledFile).
|
|
1314
|
+
protoOf(WsCompiledFile).y = function () {
|
|
1312
1315
|
return this.value;
|
|
1313
1316
|
};
|
|
1314
|
-
function
|
|
1317
|
+
function produce_14(_this__u8e3s4) {
|
|
1315
1318
|
var tmp;
|
|
1316
1319
|
if (_this__u8e3s4 instanceof Left) {
|
|
1317
1320
|
var tmp$ret$5;
|
|
1318
1321
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1319
1322
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1320
|
-
var tmp0_map = _this__u8e3s4.
|
|
1321
|
-
// Inline function 'produce.<anonymous>' call
|
|
1322
|
-
var tmp1_anonymous = tmp0_map.
|
|
1323
|
-
var tmp_0 =
|
|
1323
|
+
var tmp0_map = _this__u8e3s4.r1p_1;
|
|
1324
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1325
|
+
var tmp1_anonymous = tmp0_map.b1q_1;
|
|
1326
|
+
var tmp_0 = produce_19(tmp1_anonymous);
|
|
1324
1327
|
// Inline function 'kotlin.collections.map' call
|
|
1325
|
-
var tmp0_map_0 = tmp0_map.
|
|
1328
|
+
var tmp0_map_0 = tmp0_map.c1q_1;
|
|
1326
1329
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1327
1330
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1328
1331
|
var tmp0_iterator = tmp0_map_0.c();
|
|
1329
1332
|
while (tmp0_iterator.d()) {
|
|
1330
1333
|
var item = tmp0_iterator.e();
|
|
1331
1334
|
var tmp$ret$1;
|
|
1332
|
-
// Inline function 'produce.<anonymous>' call
|
|
1333
|
-
tmp$ret$1 =
|
|
1335
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1336
|
+
tmp$ret$1 = produce_19(item);
|
|
1334
1337
|
tmp0_mapTo.a(tmp$ret$1);
|
|
1335
1338
|
}
|
|
1336
1339
|
var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
|
|
@@ -1338,7 +1341,7 @@
|
|
|
1338
1341
|
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
1339
1342
|
} else {
|
|
1340
1343
|
if (_this__u8e3s4 instanceof Right) {
|
|
1341
|
-
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.
|
|
1344
|
+
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.x1p_1).p1s_1));
|
|
1342
1345
|
} else {
|
|
1343
1346
|
noWhenBranchMatchedException();
|
|
1344
1347
|
}
|
|
@@ -1353,7 +1356,7 @@
|
|
|
1353
1356
|
var tmp = this;
|
|
1354
1357
|
tmp.logger = new Compiler$Companion$logger$1();
|
|
1355
1358
|
}
|
|
1356
|
-
protoOf(Companion).
|
|
1359
|
+
protoOf(Companion).z1x = function () {
|
|
1357
1360
|
return this.logger;
|
|
1358
1361
|
};
|
|
1359
1362
|
var Companion_instance;
|
|
@@ -1369,18 +1372,18 @@
|
|
|
1369
1372
|
return compile(Wirespec_getInstance(), source)(Companion_getInstance_1().logger);
|
|
1370
1373
|
};
|
|
1371
1374
|
protoOf(Compiler).tokenize = function (source) {
|
|
1372
|
-
return
|
|
1375
|
+
return produce_15(tokenize(Wirespec_getInstance(), source));
|
|
1373
1376
|
};
|
|
1374
1377
|
protoOf(Compiler).parse = function (source) {
|
|
1375
1378
|
// Inline function 'kotlin.let' call
|
|
1376
1379
|
var tmp0_let = tokenize(Wirespec_getInstance(), source);
|
|
1377
1380
|
// Inline function 'kotlin.contracts.contract' call
|
|
1378
|
-
// Inline function 'Compiler.parse.<anonymous>' call
|
|
1379
|
-
return (new Parser(Companion_getInstance_1().logger)).
|
|
1381
|
+
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1382
|
+
return (new Parser(Companion_getInstance_1().logger)).e1r(tmp0_let);
|
|
1380
1383
|
};
|
|
1381
1384
|
function Companion_0() {
|
|
1382
1385
|
Companion_instance_0 = this;
|
|
1383
|
-
this.
|
|
1386
|
+
this.g25_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
|
|
1384
1387
|
}
|
|
1385
1388
|
var Companion_instance_0;
|
|
1386
1389
|
function Companion_getInstance_2() {
|
|
@@ -1393,11 +1396,11 @@
|
|
|
1393
1396
|
Compiler.call(this);
|
|
1394
1397
|
}
|
|
1395
1398
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1396
|
-
return
|
|
1399
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_2().g25_1));
|
|
1397
1400
|
};
|
|
1398
1401
|
function Companion_1() {
|
|
1399
1402
|
Companion_instance_1 = this;
|
|
1400
|
-
this.
|
|
1403
|
+
this.h25_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
|
|
1401
1404
|
}
|
|
1402
1405
|
var Companion_instance_1;
|
|
1403
1406
|
function Companion_getInstance_3() {
|
|
@@ -1410,11 +1413,11 @@
|
|
|
1410
1413
|
Compiler.call(this);
|
|
1411
1414
|
}
|
|
1412
1415
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1413
|
-
return
|
|
1416
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_3().h25_1));
|
|
1414
1417
|
};
|
|
1415
1418
|
function Companion_2() {
|
|
1416
1419
|
Companion_instance_2 = this;
|
|
1417
|
-
this.
|
|
1420
|
+
this.i25_1 = new WirespecEmitter(Companion_getInstance_1().logger);
|
|
1418
1421
|
}
|
|
1419
1422
|
var Companion_instance_2;
|
|
1420
1423
|
function Companion_getInstance_4() {
|
|
@@ -1427,13 +1430,13 @@
|
|
|
1427
1430
|
Compiler.call(this);
|
|
1428
1431
|
}
|
|
1429
1432
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1430
|
-
return
|
|
1433
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_4().i25_1));
|
|
1431
1434
|
};
|
|
1432
1435
|
function OpenApiV2Parser() {
|
|
1433
1436
|
OpenApiV2Parser_instance = this;
|
|
1434
1437
|
}
|
|
1435
1438
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1436
|
-
return produce(Companion_getInstance().
|
|
1439
|
+
return produce(Companion_getInstance().p22(source));
|
|
1437
1440
|
};
|
|
1438
1441
|
var OpenApiV2Parser_instance;
|
|
1439
1442
|
function OpenApiV2Parser_getInstance() {
|
|
@@ -1445,7 +1448,7 @@
|
|
|
1445
1448
|
OpenApiV3Parser_instance = this;
|
|
1446
1449
|
}
|
|
1447
1450
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
1448
|
-
return produce(Companion_getInstance_0().
|
|
1451
|
+
return produce(Companion_getInstance_0().c23(source));
|
|
1449
1452
|
};
|
|
1450
1453
|
var OpenApiV3Parser_instance;
|
|
1451
1454
|
function OpenApiV3Parser_getInstance() {
|
|
@@ -1460,25 +1463,25 @@
|
|
|
1460
1463
|
OpenApiV3ToTypescript_instance = this;
|
|
1461
1464
|
var tmp = this;
|
|
1462
1465
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
1463
|
-
this.
|
|
1466
|
+
this.j25_1 = new TypeScriptEmitter(this.logger);
|
|
1464
1467
|
}
|
|
1465
|
-
protoOf(OpenApiV3ToTypescript).
|
|
1468
|
+
protoOf(OpenApiV3ToTypescript).z1x = function () {
|
|
1466
1469
|
return this.logger;
|
|
1467
1470
|
};
|
|
1468
1471
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
1469
|
-
var ast = Companion_getInstance_0().
|
|
1472
|
+
var ast = Companion_getInstance_0().c23(source);
|
|
1470
1473
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1471
1474
|
// Inline function 'kotlin.collections.map' call
|
|
1472
|
-
var tmp0_map = this.
|
|
1475
|
+
var tmp0_map = this.j25_1.y1q(ast);
|
|
1473
1476
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1474
1477
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1475
1478
|
var tmp0_iterator = tmp0_map.c();
|
|
1476
1479
|
while (tmp0_iterator.d()) {
|
|
1477
1480
|
var item = tmp0_iterator.e();
|
|
1478
1481
|
var tmp$ret$0;
|
|
1479
|
-
// Inline function 'OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
1480
|
-
var file = item.
|
|
1481
|
-
var value = item.
|
|
1482
|
+
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
1483
|
+
var file = item.e3();
|
|
1484
|
+
var value = item.f3();
|
|
1482
1485
|
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
1483
1486
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1484
1487
|
}
|
|
@@ -1496,25 +1499,25 @@
|
|
|
1496
1499
|
this.tokens = tokens;
|
|
1497
1500
|
this.error = error;
|
|
1498
1501
|
}
|
|
1499
|
-
protoOf(WsTokenResult).
|
|
1502
|
+
protoOf(WsTokenResult).k25 = function () {
|
|
1500
1503
|
return this.tokens;
|
|
1501
1504
|
};
|
|
1502
|
-
protoOf(WsTokenResult).
|
|
1505
|
+
protoOf(WsTokenResult).l25 = function () {
|
|
1503
1506
|
return this.error;
|
|
1504
1507
|
};
|
|
1505
|
-
protoOf(WsTokenResult).
|
|
1508
|
+
protoOf(WsTokenResult).e3 = function () {
|
|
1506
1509
|
return this.tokens;
|
|
1507
1510
|
};
|
|
1508
|
-
protoOf(WsTokenResult).
|
|
1511
|
+
protoOf(WsTokenResult).f3 = function () {
|
|
1509
1512
|
return this.error;
|
|
1510
1513
|
};
|
|
1511
|
-
protoOf(WsTokenResult).
|
|
1514
|
+
protoOf(WsTokenResult).m25 = function (tokens, error) {
|
|
1512
1515
|
return new WsTokenResult(tokens, error);
|
|
1513
1516
|
};
|
|
1514
1517
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
1515
1518
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
1516
1519
|
error = error === VOID ? this.error : error;
|
|
1517
|
-
return this.
|
|
1520
|
+
return this.m25(tokens, error);
|
|
1518
1521
|
};
|
|
1519
1522
|
protoOf(WsTokenResult).toString = function () {
|
|
1520
1523
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -1539,7 +1542,7 @@
|
|
|
1539
1542
|
function WsTokens(value) {
|
|
1540
1543
|
this.value = value;
|
|
1541
1544
|
}
|
|
1542
|
-
protoOf(WsTokens).
|
|
1545
|
+
protoOf(WsTokens).y = function () {
|
|
1543
1546
|
return this.value;
|
|
1544
1547
|
};
|
|
1545
1548
|
protoOf(WsTokens).equals = function (other) {
|
|
@@ -1556,15 +1559,15 @@
|
|
|
1556
1559
|
protoOf(WsTokens).hashCode = function () {
|
|
1557
1560
|
return contentHashCode(this.value);
|
|
1558
1561
|
};
|
|
1559
|
-
protoOf(WsTokens).
|
|
1562
|
+
protoOf(WsTokens).e3 = function () {
|
|
1560
1563
|
return this.value;
|
|
1561
1564
|
};
|
|
1562
|
-
protoOf(WsTokens).
|
|
1565
|
+
protoOf(WsTokens).n25 = function (value) {
|
|
1563
1566
|
return new WsTokens(value);
|
|
1564
1567
|
};
|
|
1565
1568
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
1566
1569
|
value = value === VOID ? this.value : value;
|
|
1567
|
-
return this.
|
|
1570
|
+
return this.n25(value);
|
|
1568
1571
|
};
|
|
1569
1572
|
protoOf(WsTokens).toString = function () {
|
|
1570
1573
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -1575,32 +1578,32 @@
|
|
|
1575
1578
|
this.value = value;
|
|
1576
1579
|
this.coordinates = coordinates;
|
|
1577
1580
|
}
|
|
1578
|
-
protoOf(WsToken).
|
|
1581
|
+
protoOf(WsToken).w24 = function () {
|
|
1579
1582
|
return this.type;
|
|
1580
1583
|
};
|
|
1581
|
-
protoOf(WsToken).
|
|
1584
|
+
protoOf(WsToken).y = function () {
|
|
1582
1585
|
return this.value;
|
|
1583
1586
|
};
|
|
1584
|
-
protoOf(WsToken).
|
|
1587
|
+
protoOf(WsToken).o25 = function () {
|
|
1585
1588
|
return this.coordinates;
|
|
1586
1589
|
};
|
|
1587
|
-
protoOf(WsToken).
|
|
1590
|
+
protoOf(WsToken).e3 = function () {
|
|
1588
1591
|
return this.type;
|
|
1589
1592
|
};
|
|
1590
|
-
protoOf(WsToken).
|
|
1593
|
+
protoOf(WsToken).f3 = function () {
|
|
1591
1594
|
return this.value;
|
|
1592
1595
|
};
|
|
1593
|
-
protoOf(WsToken).
|
|
1596
|
+
protoOf(WsToken).c8 = function () {
|
|
1594
1597
|
return this.coordinates;
|
|
1595
1598
|
};
|
|
1596
|
-
protoOf(WsToken).
|
|
1599
|
+
protoOf(WsToken).p25 = function (type, value, coordinates) {
|
|
1597
1600
|
return new WsToken(type, value, coordinates);
|
|
1598
1601
|
};
|
|
1599
1602
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
1600
1603
|
type = type === VOID ? this.type : type;
|
|
1601
1604
|
value = value === VOID ? this.value : value;
|
|
1602
1605
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
1603
|
-
return this.
|
|
1606
|
+
return this.p25(type, value, coordinates);
|
|
1604
1607
|
};
|
|
1605
1608
|
protoOf(WsToken).toString = function () {
|
|
1606
1609
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -1633,32 +1636,32 @@
|
|
|
1633
1636
|
this.position = position;
|
|
1634
1637
|
this.idxAndLength = idxAndLength;
|
|
1635
1638
|
}
|
|
1636
|
-
protoOf(WsCoordinates).
|
|
1639
|
+
protoOf(WsCoordinates).q25 = function () {
|
|
1637
1640
|
return this.line;
|
|
1638
1641
|
};
|
|
1639
|
-
protoOf(WsCoordinates).
|
|
1642
|
+
protoOf(WsCoordinates).vo = function () {
|
|
1640
1643
|
return this.position;
|
|
1641
1644
|
};
|
|
1642
|
-
protoOf(WsCoordinates).
|
|
1645
|
+
protoOf(WsCoordinates).r25 = function () {
|
|
1643
1646
|
return this.idxAndLength;
|
|
1644
1647
|
};
|
|
1645
|
-
protoOf(WsCoordinates).
|
|
1648
|
+
protoOf(WsCoordinates).e3 = function () {
|
|
1646
1649
|
return this.line;
|
|
1647
1650
|
};
|
|
1648
|
-
protoOf(WsCoordinates).
|
|
1651
|
+
protoOf(WsCoordinates).f3 = function () {
|
|
1649
1652
|
return this.position;
|
|
1650
1653
|
};
|
|
1651
|
-
protoOf(WsCoordinates).
|
|
1654
|
+
protoOf(WsCoordinates).c8 = function () {
|
|
1652
1655
|
return this.idxAndLength;
|
|
1653
1656
|
};
|
|
1654
|
-
protoOf(WsCoordinates).
|
|
1657
|
+
protoOf(WsCoordinates).s25 = function (line, position, idxAndLength) {
|
|
1655
1658
|
return new WsCoordinates(line, position, idxAndLength);
|
|
1656
1659
|
};
|
|
1657
1660
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
1658
1661
|
line = line === VOID ? this.line : line;
|
|
1659
1662
|
position = position === VOID ? this.position : position;
|
|
1660
1663
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
1661
|
-
return this.
|
|
1664
|
+
return this.s25(line, position, idxAndLength);
|
|
1662
1665
|
};
|
|
1663
1666
|
protoOf(WsCoordinates).toString = function () {
|
|
1664
1667
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -1689,25 +1692,25 @@
|
|
|
1689
1692
|
this.idx = idx;
|
|
1690
1693
|
this.length = length;
|
|
1691
1694
|
}
|
|
1692
|
-
protoOf(WsIndex).
|
|
1695
|
+
protoOf(WsIndex).t25 = function () {
|
|
1693
1696
|
return this.idx;
|
|
1694
1697
|
};
|
|
1695
|
-
protoOf(WsIndex).
|
|
1698
|
+
protoOf(WsIndex).ba = function () {
|
|
1696
1699
|
return this.length;
|
|
1697
1700
|
};
|
|
1698
|
-
protoOf(WsIndex).
|
|
1701
|
+
protoOf(WsIndex).e3 = function () {
|
|
1699
1702
|
return this.idx;
|
|
1700
1703
|
};
|
|
1701
|
-
protoOf(WsIndex).
|
|
1704
|
+
protoOf(WsIndex).f3 = function () {
|
|
1702
1705
|
return this.length;
|
|
1703
1706
|
};
|
|
1704
|
-
protoOf(WsIndex).
|
|
1707
|
+
protoOf(WsIndex).u25 = function (idx, length) {
|
|
1705
1708
|
return new WsIndex(idx, length);
|
|
1706
1709
|
};
|
|
1707
1710
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
1708
1711
|
idx = idx === VOID ? this.idx : idx;
|
|
1709
1712
|
length = length === VOID ? this.length : length;
|
|
1710
|
-
return this.
|
|
1713
|
+
return this.u25(idx, length);
|
|
1711
1714
|
};
|
|
1712
1715
|
protoOf(WsIndex).toString = function () {
|
|
1713
1716
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -1729,7 +1732,7 @@
|
|
|
1729
1732
|
return false;
|
|
1730
1733
|
return true;
|
|
1731
1734
|
};
|
|
1732
|
-
function
|
|
1735
|
+
function produce_15(_this__u8e3s4) {
|
|
1733
1736
|
var tmp$ret$3;
|
|
1734
1737
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1735
1738
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1739,53 +1742,53 @@
|
|
|
1739
1742
|
while (tmp0_iterator.d()) {
|
|
1740
1743
|
var item = tmp0_iterator.e();
|
|
1741
1744
|
var tmp$ret$0;
|
|
1742
|
-
// Inline function 'produce.<anonymous>' call
|
|
1743
|
-
tmp$ret$0 =
|
|
1745
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1746
|
+
tmp$ret$0 = produce_16(item);
|
|
1744
1747
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1745
1748
|
}
|
|
1746
1749
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
1747
1750
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
1748
1751
|
}
|
|
1749
|
-
function produce_15(_this__u8e3s4) {
|
|
1750
|
-
return new WsToken(_this__u8e3s4.s1w_1.v1w(), _this__u8e3s4.t1w_1, produce_16(_this__u8e3s4.u1w_1));
|
|
1751
|
-
}
|
|
1752
1752
|
function produce_16(_this__u8e3s4) {
|
|
1753
|
-
return new
|
|
1753
|
+
return new WsToken(_this__u8e3s4.z1z_1.c20(), _this__u8e3s4.a20_1, produce_17(_this__u8e3s4.b20_1));
|
|
1754
1754
|
}
|
|
1755
1755
|
function produce_17(_this__u8e3s4) {
|
|
1756
|
-
return new
|
|
1756
|
+
return new WsCoordinates(_this__u8e3s4.d20_1, _this__u8e3s4.e20_1, produce_18(_this__u8e3s4.f20_1));
|
|
1757
|
+
}
|
|
1758
|
+
function produce_18(_this__u8e3s4) {
|
|
1759
|
+
return new WsIndex(_this__u8e3s4.m21_1, _this__u8e3s4.n21_1);
|
|
1757
1760
|
}
|
|
1758
1761
|
function WsError(index, length, value) {
|
|
1759
1762
|
this.index = index;
|
|
1760
1763
|
this.length = length;
|
|
1761
1764
|
this.value = value;
|
|
1762
1765
|
}
|
|
1763
|
-
protoOf(WsError).
|
|
1766
|
+
protoOf(WsError).v25 = function () {
|
|
1764
1767
|
return this.index;
|
|
1765
1768
|
};
|
|
1766
|
-
protoOf(WsError).
|
|
1769
|
+
protoOf(WsError).ba = function () {
|
|
1767
1770
|
return this.length;
|
|
1768
1771
|
};
|
|
1769
|
-
protoOf(WsError).
|
|
1772
|
+
protoOf(WsError).y = function () {
|
|
1770
1773
|
return this.value;
|
|
1771
1774
|
};
|
|
1772
|
-
protoOf(WsError).
|
|
1775
|
+
protoOf(WsError).e3 = function () {
|
|
1773
1776
|
return this.index;
|
|
1774
1777
|
};
|
|
1775
|
-
protoOf(WsError).
|
|
1778
|
+
protoOf(WsError).f3 = function () {
|
|
1776
1779
|
return this.length;
|
|
1777
1780
|
};
|
|
1778
|
-
protoOf(WsError).
|
|
1781
|
+
protoOf(WsError).c8 = function () {
|
|
1779
1782
|
return this.value;
|
|
1780
1783
|
};
|
|
1781
|
-
protoOf(WsError).
|
|
1784
|
+
protoOf(WsError).w25 = function (index, length, value) {
|
|
1782
1785
|
return new WsError(index, length, value);
|
|
1783
1786
|
};
|
|
1784
1787
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
1785
1788
|
index = index === VOID ? this.index : index;
|
|
1786
1789
|
length = length === VOID ? this.length : length;
|
|
1787
1790
|
value = value === VOID ? this.value : value;
|
|
1788
|
-
return this.
|
|
1791
|
+
return this.w25(index, length, value);
|
|
1789
1792
|
};
|
|
1790
1793
|
protoOf(WsError).toString = function () {
|
|
1791
1794
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -1810,100 +1813,128 @@
|
|
|
1810
1813
|
return false;
|
|
1811
1814
|
return true;
|
|
1812
1815
|
};
|
|
1813
|
-
function
|
|
1814
|
-
var tmp = _this__u8e3s4.
|
|
1816
|
+
function produce_19(_this__u8e3s4) {
|
|
1817
|
+
var tmp = _this__u8e3s4.g20_1.f20_1.m21_1 - _this__u8e3s4.g20_1.f20_1.n21_1 | 0;
|
|
1815
1818
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
1816
|
-
return new WsError(tmp, _this__u8e3s4.
|
|
1819
|
+
return new WsError(tmp, _this__u8e3s4.g20_1.f20_1.n21_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
1817
1820
|
}
|
|
1818
1821
|
//region block: post-declaration
|
|
1819
|
-
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).
|
|
1820
|
-
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).
|
|
1822
|
+
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).bh, VOID);
|
|
1823
|
+
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).ch, VOID);
|
|
1821
1824
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
1822
|
-
return this.
|
|
1825
|
+
return this.s1r();
|
|
1823
1826
|
}, VOID);
|
|
1824
1827
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
1825
|
-
return this.
|
|
1828
|
+
return this.n1z();
|
|
1826
1829
|
}, VOID);
|
|
1827
1830
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
1828
|
-
return this.
|
|
1831
|
+
return this.s1r();
|
|
1829
1832
|
}, VOID);
|
|
1830
1833
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
1831
|
-
return this.
|
|
1834
|
+
return this.n1z();
|
|
1832
1835
|
}, VOID);
|
|
1833
1836
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
1834
|
-
return this.
|
|
1837
|
+
return this.s1r();
|
|
1835
1838
|
}, VOID);
|
|
1836
1839
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
1837
|
-
return this.
|
|
1840
|
+
return this.n1z();
|
|
1838
1841
|
}, VOID);
|
|
1839
1842
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
1840
|
-
return this.
|
|
1843
|
+
return this.s1r();
|
|
1841
1844
|
}, VOID);
|
|
1842
1845
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
1843
|
-
return this.
|
|
1846
|
+
return this.n1z();
|
|
1844
1847
|
}, VOID);
|
|
1845
|
-
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).
|
|
1846
|
-
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).
|
|
1848
|
+
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).bh, VOID);
|
|
1849
|
+
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ch, VOID);
|
|
1847
1850
|
//endregion
|
|
1848
1851
|
//region block: exports
|
|
1849
1852
|
function $jsExportAll$(_) {
|
|
1850
|
-
_.
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
defineProp(
|
|
1864
|
-
defineProp(
|
|
1865
|
-
defineProp(
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
_.
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1853
|
+
var $community = _.community || (_.community = {});
|
|
1854
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1855
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1856
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1857
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1858
|
+
$community$flock$wirespec$compiler$lib.WsType = WsType;
|
|
1859
|
+
$community$flock$wirespec$compiler$lib.WsShape = WsShape;
|
|
1860
|
+
$community$flock$wirespec$compiler$lib.WsEndpoint = WsEndpoint;
|
|
1861
|
+
$community$flock$wirespec$compiler$lib.WsEnum = WsEnum;
|
|
1862
|
+
$community$flock$wirespec$compiler$lib.WsRefined = WsRefined;
|
|
1863
|
+
$community$flock$wirespec$compiler$lib.WsMethod = WsMethod;
|
|
1864
|
+
$community$flock$wirespec$compiler$lib.WsMethod.values = values;
|
|
1865
|
+
$community$flock$wirespec$compiler$lib.WsMethod.valueOf = valueOf;
|
|
1866
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'GET', WsMethod_GET_getInstance, VOID);
|
|
1867
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'POST', WsMethod_POST_getInstance, VOID);
|
|
1868
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PUT', WsMethod_PUT_getInstance, VOID);
|
|
1869
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'DELETE', WsMethod_DELETE_getInstance, VOID);
|
|
1870
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'OPTIONS', WsMethod_OPTIONS_getInstance, VOID);
|
|
1871
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'HEAD', WsMethod_HEAD_getInstance, VOID);
|
|
1872
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PATCH', WsMethod_PATCH_getInstance, VOID);
|
|
1873
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'TRACE', WsMethod_TRACE_getInstance, VOID);
|
|
1874
|
+
$community$flock$wirespec$compiler$lib.WsLiteral = WsLiteral;
|
|
1875
|
+
$community$flock$wirespec$compiler$lib.WsParam = WsParam;
|
|
1876
|
+
$community$flock$wirespec$compiler$lib.Shape = Shape;
|
|
1877
|
+
$community$flock$wirespec$compiler$lib.WsField = WsField;
|
|
1878
|
+
$community$flock$wirespec$compiler$lib.WsIdentifier = WsIdentifier;
|
|
1879
|
+
$community$flock$wirespec$compiler$lib.WsAny = WsAny;
|
|
1880
|
+
$community$flock$wirespec$compiler$lib.WsUnit = WsUnit;
|
|
1881
|
+
$community$flock$wirespec$compiler$lib.WsCustom = WsCustom;
|
|
1882
|
+
$community$flock$wirespec$compiler$lib.WsPrimitive = WsPrimitive;
|
|
1883
|
+
$community$flock$wirespec$compiler$lib.WsPrimitiveType = WsPrimitiveType;
|
|
1884
|
+
$community$flock$wirespec$compiler$lib.WsPrimitiveType.values = values_0;
|
|
1885
|
+
$community$flock$wirespec$compiler$lib.WsPrimitiveType.valueOf = valueOf_0;
|
|
1886
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'String', WsPrimitiveType_String_getInstance, VOID);
|
|
1887
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Integer', WsPrimitiveType_Integer_getInstance, VOID);
|
|
1888
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Number', WsPrimitiveType_Number_getInstance, VOID);
|
|
1889
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Boolean', WsPrimitiveType_Boolean_getInstance, VOID);
|
|
1890
|
+
$community$flock$wirespec$compiler$lib.WsRequest = WsRequest;
|
|
1891
|
+
$community$flock$wirespec$compiler$lib.WsResponse = WsResponse;
|
|
1892
|
+
$community$flock$wirespec$compiler$lib.WsContent = WsContent;
|
|
1893
|
+
var $community = _.community || (_.community = {});
|
|
1894
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1895
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1896
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1897
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1898
|
+
$community$flock$wirespec$compiler$lib.WsCompilationResult = WsCompilationResult;
|
|
1899
|
+
$community$flock$wirespec$compiler$lib.WsCompiled = WsCompiled;
|
|
1900
|
+
$community$flock$wirespec$compiler$lib.WsCompiledFile = WsCompiledFile;
|
|
1901
|
+
var $community = _.community || (_.community = {});
|
|
1902
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1903
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1904
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1905
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1906
|
+
$community$flock$wirespec$compiler$lib.Compiler = Compiler;
|
|
1907
|
+
defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance_1, VOID);
|
|
1908
|
+
$community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
|
|
1909
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance_2, VOID);
|
|
1910
|
+
$community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
|
|
1911
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_3, VOID);
|
|
1912
|
+
$community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
|
|
1913
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_4, VOID);
|
|
1914
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance, VOID);
|
|
1915
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3Parser', OpenApiV3Parser_getInstance, VOID);
|
|
1916
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToTypescript', OpenApiV3ToTypescript_getInstance, VOID);
|
|
1917
|
+
var $community = _.community || (_.community = {});
|
|
1918
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1919
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1920
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1921
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1922
|
+
$community$flock$wirespec$compiler$lib.WsTokenResult = WsTokenResult;
|
|
1923
|
+
$community$flock$wirespec$compiler$lib.WsTokens = WsTokens;
|
|
1924
|
+
$community$flock$wirespec$compiler$lib.WsToken = WsToken;
|
|
1925
|
+
$community$flock$wirespec$compiler$lib.WsCoordinates = WsCoordinates;
|
|
1926
|
+
$community$flock$wirespec$compiler$lib.WsIndex = WsIndex;
|
|
1927
|
+
var $community = _.community || (_.community = {});
|
|
1928
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1929
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1930
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1931
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1932
|
+
$community$flock$wirespec$compiler$lib.WsError = WsError;
|
|
1905
1933
|
}
|
|
1906
1934
|
$jsExportAll$(_);
|
|
1935
|
+
_.$jsExportAll$ = $jsExportAll$;
|
|
1936
|
+
_.$_$ = _.$_$ || {};
|
|
1937
|
+
_.$_$.a = produce_0;
|
|
1907
1938
|
//endregion
|
|
1908
1939
|
return _;
|
|
1909
1940
|
}));
|