@flock/wirespec 0.8.46 → 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-core.js +68 -47
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1207 -1207
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +363 -363
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +223 -223
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +2 -2
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +1896 -1896
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +1650 -1650
- package/mordant-mordant.js.map +1 -1
- package/package.json +3 -3
- package/wirespec-bin.js +2 -2
- package/wirespec-src-compiler-core.js +1525 -1520
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +403 -380
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +211 -211
- 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-compiler-cli.js → wirespec-src-plugin-cli.js} +431 -812
- package/wirespec-src-plugin-cli.js.map +1 -0
- package/wirespec-src-compiler-cli.js.map +0 -1
- package/wirespec-src-compiler-lib.d.ts +0 -357
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './wirespec-src-compiler-core.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './wirespec-src-compiler-core.js', './arrow-arrow-core.js', './wirespec-src-converter-openapi.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./wirespec-src-compiler-core.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./wirespec-src-compiler-core.js'), require('./arrow-arrow-core.js'), require('./wirespec-src-converter-openapi.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
@@ -10,18 +10,15 @@
|
|
|
10
10
|
if (typeof this['wirespec-src-compiler-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'wirespec-src-compiler-core' was not found. Please, check whether 'wirespec-src-compiler-core' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof this['wirespec-src-compiler-cli'] === 'undefined') {
|
|
14
|
-
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'wirespec-src-compiler-cli' was not found. Please, check whether 'wirespec-src-compiler-cli' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
15
|
-
}
|
|
16
13
|
if (typeof this['arrow-arrow-core'] === 'undefined') {
|
|
17
14
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'arrow-arrow-core' was not found. Please, check whether 'arrow-arrow-core' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
18
15
|
}
|
|
19
16
|
if (typeof this['wirespec-src-converter-openapi'] === 'undefined') {
|
|
20
17
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'wirespec-src-converter-openapi' was not found. Please, check whether 'wirespec-src-converter-openapi' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
21
18
|
}
|
|
22
|
-
root['wirespec-src-compiler-lib'] = factory(typeof this['wirespec-src-compiler-lib'] === 'undefined' ? {} : this['wirespec-src-compiler-lib'], this['kotlin-kotlin-stdlib-js-ir'], this['wirespec-src-compiler-core'], this['
|
|
19
|
+
root['wirespec-src-compiler-lib'] = factory(typeof this['wirespec-src-compiler-lib'] === 'undefined' ? {} : this['wirespec-src-compiler-lib'], this['kotlin-kotlin-stdlib-js-ir'], this['wirespec-src-compiler-core'], this['arrow-arrow-core'], this['wirespec-src-converter-openapi']);
|
|
23
20
|
}
|
|
24
|
-
}(this, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core,
|
|
21
|
+
}(this, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core, kotlin_io_arrow_kt_arrow_core, kotlin_community_flock_wirespec_converter_openapi) {
|
|
25
22
|
'use strict';
|
|
26
23
|
//region block: imports
|
|
27
24
|
var imul = Math.imul;
|
|
@@ -41,29 +38,28 @@
|
|
|
41
38
|
var defineProp = kotlin_kotlin.$_$.n8;
|
|
42
39
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.q4;
|
|
43
40
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
44
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ge;
|
|
45
|
-
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
46
41
|
var copyToArray = kotlin_kotlin.$_$.d5;
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
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;
|
|
57
53
|
var first = kotlin_kotlin.$_$.n5;
|
|
58
54
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
59
55
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
60
56
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
61
|
-
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
57
|
+
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
62
58
|
var objectMeta = kotlin_kotlin.$_$.p9;
|
|
63
|
-
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
64
|
-
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
65
|
-
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
66
|
-
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
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;
|
|
67
63
|
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
|
|
68
64
|
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
|
|
69
65
|
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
@@ -127,7 +123,7 @@
|
|
|
127
123
|
protoOf(WsType).bh = function () {
|
|
128
124
|
return this.name;
|
|
129
125
|
};
|
|
130
|
-
protoOf(WsType).
|
|
126
|
+
protoOf(WsType).o23 = function () {
|
|
131
127
|
return this.shape;
|
|
132
128
|
};
|
|
133
129
|
protoOf(WsType).e3 = function () {
|
|
@@ -136,13 +132,13 @@
|
|
|
136
132
|
protoOf(WsType).f3 = function () {
|
|
137
133
|
return this.shape;
|
|
138
134
|
};
|
|
139
|
-
protoOf(WsType).
|
|
135
|
+
protoOf(WsType).p23 = function (name, shape) {
|
|
140
136
|
return new WsType(name, shape);
|
|
141
137
|
};
|
|
142
138
|
protoOf(WsType).copy = function (name, shape, $super) {
|
|
143
139
|
name = name === VOID ? this.name : name;
|
|
144
140
|
shape = shape === VOID ? this.shape : shape;
|
|
145
|
-
return this.
|
|
141
|
+
return this.p23(name, shape);
|
|
146
142
|
};
|
|
147
143
|
protoOf(WsType).toString = function () {
|
|
148
144
|
return 'WsType(name=' + this.name + ', shape=' + this.shape + ')';
|
|
@@ -173,12 +169,12 @@
|
|
|
173
169
|
protoOf(WsShape).e3 = function () {
|
|
174
170
|
return this.value;
|
|
175
171
|
};
|
|
176
|
-
protoOf(WsShape).
|
|
172
|
+
protoOf(WsShape).q23 = function (value) {
|
|
177
173
|
return new WsShape(value);
|
|
178
174
|
};
|
|
179
175
|
protoOf(WsShape).copy = function (value, $super) {
|
|
180
176
|
value = value === VOID ? this.value : value;
|
|
181
|
-
return this.
|
|
177
|
+
return this.q23(value);
|
|
182
178
|
};
|
|
183
179
|
protoOf(WsShape).toString = function () {
|
|
184
180
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -209,25 +205,25 @@
|
|
|
209
205
|
protoOf(WsEndpoint).bh = function () {
|
|
210
206
|
return this.name;
|
|
211
207
|
};
|
|
212
|
-
protoOf(WsEndpoint).
|
|
208
|
+
protoOf(WsEndpoint).r23 = function () {
|
|
213
209
|
return this.method;
|
|
214
210
|
};
|
|
215
|
-
protoOf(WsEndpoint).
|
|
211
|
+
protoOf(WsEndpoint).s23 = function () {
|
|
216
212
|
return this.path;
|
|
217
213
|
};
|
|
218
|
-
protoOf(WsEndpoint).
|
|
214
|
+
protoOf(WsEndpoint).t23 = function () {
|
|
219
215
|
return this.query;
|
|
220
216
|
};
|
|
221
|
-
protoOf(WsEndpoint).
|
|
217
|
+
protoOf(WsEndpoint).u23 = function () {
|
|
222
218
|
return this.headers;
|
|
223
219
|
};
|
|
224
|
-
protoOf(WsEndpoint).
|
|
220
|
+
protoOf(WsEndpoint).v23 = function () {
|
|
225
221
|
return this.cookies;
|
|
226
222
|
};
|
|
227
|
-
protoOf(WsEndpoint).
|
|
223
|
+
protoOf(WsEndpoint).w23 = function () {
|
|
228
224
|
return this.requests;
|
|
229
225
|
};
|
|
230
|
-
protoOf(WsEndpoint).
|
|
226
|
+
protoOf(WsEndpoint).x23 = function () {
|
|
231
227
|
return this.responses;
|
|
232
228
|
};
|
|
233
229
|
protoOf(WsEndpoint).e3 = function () {
|
|
@@ -239,22 +235,22 @@
|
|
|
239
235
|
protoOf(WsEndpoint).c8 = function () {
|
|
240
236
|
return this.path;
|
|
241
237
|
};
|
|
242
|
-
protoOf(WsEndpoint).
|
|
238
|
+
protoOf(WsEndpoint).y23 = function () {
|
|
243
239
|
return this.query;
|
|
244
240
|
};
|
|
245
|
-
protoOf(WsEndpoint).
|
|
241
|
+
protoOf(WsEndpoint).z23 = function () {
|
|
246
242
|
return this.headers;
|
|
247
243
|
};
|
|
248
|
-
protoOf(WsEndpoint).
|
|
244
|
+
protoOf(WsEndpoint).a24 = function () {
|
|
249
245
|
return this.cookies;
|
|
250
246
|
};
|
|
251
|
-
protoOf(WsEndpoint).
|
|
247
|
+
protoOf(WsEndpoint).b24 = function () {
|
|
252
248
|
return this.requests;
|
|
253
249
|
};
|
|
254
|
-
protoOf(WsEndpoint).
|
|
250
|
+
protoOf(WsEndpoint).c24 = function () {
|
|
255
251
|
return this.responses;
|
|
256
252
|
};
|
|
257
|
-
protoOf(WsEndpoint).
|
|
253
|
+
protoOf(WsEndpoint).d24 = function (name, method, path, query, headers, cookies, requests, responses) {
|
|
258
254
|
return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
|
|
259
255
|
};
|
|
260
256
|
protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
|
|
@@ -266,7 +262,7 @@
|
|
|
266
262
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
267
263
|
requests = requests === VOID ? this.requests : requests;
|
|
268
264
|
responses = responses === VOID ? this.responses : responses;
|
|
269
|
-
return this.
|
|
265
|
+
return this.d24(name, method, path, query, headers, cookies, requests, responses);
|
|
270
266
|
};
|
|
271
267
|
protoOf(WsEndpoint).toString = function () {
|
|
272
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) + ')';
|
|
@@ -322,13 +318,13 @@
|
|
|
322
318
|
protoOf(WsEnum).f3 = function () {
|
|
323
319
|
return this.entries;
|
|
324
320
|
};
|
|
325
|
-
protoOf(WsEnum).
|
|
321
|
+
protoOf(WsEnum).e24 = function (name, entries) {
|
|
326
322
|
return new WsEnum(name, entries);
|
|
327
323
|
};
|
|
328
324
|
protoOf(WsEnum).copy = function (name, entries, $super) {
|
|
329
325
|
name = name === VOID ? this.name : name;
|
|
330
326
|
entries = entries === VOID ? this.entries : entries;
|
|
331
|
-
return this.
|
|
327
|
+
return this.e24(name, entries);
|
|
332
328
|
};
|
|
333
329
|
protoOf(WsEnum).toString = function () {
|
|
334
330
|
return 'WsEnum(name=' + this.name + ', entries=' + toString(this.entries) + ')';
|
|
@@ -357,7 +353,7 @@
|
|
|
357
353
|
protoOf(WsRefined).bh = function () {
|
|
358
354
|
return this.name;
|
|
359
355
|
};
|
|
360
|
-
protoOf(WsRefined).
|
|
356
|
+
protoOf(WsRefined).f24 = function () {
|
|
361
357
|
return this.validator;
|
|
362
358
|
};
|
|
363
359
|
protoOf(WsRefined).e3 = function () {
|
|
@@ -366,13 +362,13 @@
|
|
|
366
362
|
protoOf(WsRefined).f3 = function () {
|
|
367
363
|
return this.validator;
|
|
368
364
|
};
|
|
369
|
-
protoOf(WsRefined).
|
|
365
|
+
protoOf(WsRefined).g24 = function (name, validator) {
|
|
370
366
|
return new WsRefined(name, validator);
|
|
371
367
|
};
|
|
372
368
|
protoOf(WsRefined).copy = function (name, validator, $super) {
|
|
373
369
|
name = name === VOID ? this.name : name;
|
|
374
370
|
validator = validator === VOID ? this.validator : validator;
|
|
375
|
-
return this.
|
|
371
|
+
return this.g24(name, validator);
|
|
376
372
|
};
|
|
377
373
|
protoOf(WsRefined).toString = function () {
|
|
378
374
|
return 'WsRefined(name=' + this.name + ', validator=' + this.validator + ')';
|
|
@@ -457,12 +453,12 @@
|
|
|
457
453
|
protoOf(WsLiteral).e3 = function () {
|
|
458
454
|
return this.value;
|
|
459
455
|
};
|
|
460
|
-
protoOf(WsLiteral).
|
|
456
|
+
protoOf(WsLiteral).j24 = function (value) {
|
|
461
457
|
return new WsLiteral(value);
|
|
462
458
|
};
|
|
463
459
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
464
460
|
value = value === VOID ? this.value : value;
|
|
465
|
-
return this.
|
|
461
|
+
return this.j24(value);
|
|
466
462
|
};
|
|
467
463
|
protoOf(WsLiteral).toString = function () {
|
|
468
464
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -484,10 +480,10 @@
|
|
|
484
480
|
this.identifier = identifier;
|
|
485
481
|
this.reference = reference;
|
|
486
482
|
}
|
|
487
|
-
protoOf(WsParam).
|
|
483
|
+
protoOf(WsParam).k24 = function () {
|
|
488
484
|
return this.identifier;
|
|
489
485
|
};
|
|
490
|
-
protoOf(WsParam).
|
|
486
|
+
protoOf(WsParam).l24 = function () {
|
|
491
487
|
return this.reference;
|
|
492
488
|
};
|
|
493
489
|
protoOf(WsParam).e3 = function () {
|
|
@@ -496,13 +492,13 @@
|
|
|
496
492
|
protoOf(WsParam).f3 = function () {
|
|
497
493
|
return this.reference;
|
|
498
494
|
};
|
|
499
|
-
protoOf(WsParam).
|
|
495
|
+
protoOf(WsParam).m24 = function (identifier, reference) {
|
|
500
496
|
return new WsParam(identifier, reference);
|
|
501
497
|
};
|
|
502
498
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
503
499
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
504
500
|
reference = reference === VOID ? this.reference : reference;
|
|
505
|
-
return this.
|
|
501
|
+
return this.m24(identifier, reference);
|
|
506
502
|
};
|
|
507
503
|
protoOf(WsParam).toString = function () {
|
|
508
504
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -533,12 +529,12 @@
|
|
|
533
529
|
protoOf(Shape).e3 = function () {
|
|
534
530
|
return this.value;
|
|
535
531
|
};
|
|
536
|
-
protoOf(Shape).
|
|
532
|
+
protoOf(Shape).q23 = function (value) {
|
|
537
533
|
return new Shape(value);
|
|
538
534
|
};
|
|
539
535
|
protoOf(Shape).copy = function (value, $super) {
|
|
540
536
|
value = value === VOID ? this.value : value;
|
|
541
|
-
return this.
|
|
537
|
+
return this.q23(value);
|
|
542
538
|
};
|
|
543
539
|
protoOf(Shape).toString = function () {
|
|
544
540
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -561,10 +557,10 @@
|
|
|
561
557
|
this.reference = reference;
|
|
562
558
|
this.isNullable = isNullable;
|
|
563
559
|
}
|
|
564
|
-
protoOf(WsField).
|
|
560
|
+
protoOf(WsField).k24 = function () {
|
|
565
561
|
return this.identifier;
|
|
566
562
|
};
|
|
567
|
-
protoOf(WsField).
|
|
563
|
+
protoOf(WsField).l24 = function () {
|
|
568
564
|
return this.reference;
|
|
569
565
|
};
|
|
570
566
|
protoOf(WsField).aj = function () {
|
|
@@ -579,14 +575,14 @@
|
|
|
579
575
|
protoOf(WsField).c8 = function () {
|
|
580
576
|
return this.isNullable;
|
|
581
577
|
};
|
|
582
|
-
protoOf(WsField).
|
|
578
|
+
protoOf(WsField).n24 = function (identifier, reference, isNullable) {
|
|
583
579
|
return new WsField(identifier, reference, isNullable);
|
|
584
580
|
};
|
|
585
581
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
586
582
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
587
583
|
reference = reference === VOID ? this.reference : reference;
|
|
588
584
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
589
|
-
return this.
|
|
585
|
+
return this.n24(identifier, reference, isNullable);
|
|
590
586
|
};
|
|
591
587
|
protoOf(WsField).toString = function () {
|
|
592
588
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -620,12 +616,12 @@
|
|
|
620
616
|
protoOf(WsIdentifier).e3 = function () {
|
|
621
617
|
return this.value;
|
|
622
618
|
};
|
|
623
|
-
protoOf(WsIdentifier).
|
|
619
|
+
protoOf(WsIdentifier).j24 = function (value) {
|
|
624
620
|
return new WsIdentifier(value);
|
|
625
621
|
};
|
|
626
622
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
627
623
|
value = value === VOID ? this.value : value;
|
|
628
|
-
return this.
|
|
624
|
+
return this.j24(value);
|
|
629
625
|
};
|
|
630
626
|
protoOf(WsIdentifier).toString = function () {
|
|
631
627
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -647,35 +643,35 @@
|
|
|
647
643
|
}
|
|
648
644
|
function WsAny(isIterable, isMap) {
|
|
649
645
|
isMap = isMap === VOID ? false : isMap;
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
646
|
+
this.o24_1 = isIterable;
|
|
647
|
+
this.p24_1 = isMap;
|
|
652
648
|
}
|
|
653
|
-
protoOf(WsAny).
|
|
654
|
-
return this.
|
|
649
|
+
protoOf(WsAny).s1r = function () {
|
|
650
|
+
return this.o24_1;
|
|
655
651
|
};
|
|
656
|
-
protoOf(WsAny).
|
|
657
|
-
return this.
|
|
652
|
+
protoOf(WsAny).n1z = function () {
|
|
653
|
+
return this.p24_1;
|
|
658
654
|
};
|
|
659
655
|
protoOf(WsAny).e3 = function () {
|
|
660
|
-
return this.
|
|
656
|
+
return this.o24_1;
|
|
661
657
|
};
|
|
662
658
|
protoOf(WsAny).f3 = function () {
|
|
663
|
-
return this.
|
|
659
|
+
return this.p24_1;
|
|
664
660
|
};
|
|
665
|
-
protoOf(WsAny).
|
|
661
|
+
protoOf(WsAny).b21 = function (isIterable, isMap) {
|
|
666
662
|
return new WsAny(isIterable, isMap);
|
|
667
663
|
};
|
|
668
664
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
669
|
-
isIterable = isIterable === VOID ? this.
|
|
670
|
-
isMap = isMap === VOID ? this.
|
|
671
|
-
return this.
|
|
665
|
+
isIterable = isIterable === VOID ? this.o24_1 : isIterable;
|
|
666
|
+
isMap = isMap === VOID ? this.p24_1 : isMap;
|
|
667
|
+
return this.b21(isIterable, isMap);
|
|
672
668
|
};
|
|
673
669
|
protoOf(WsAny).toString = function () {
|
|
674
|
-
return 'WsAny(isIterable=' + this.
|
|
670
|
+
return 'WsAny(isIterable=' + this.o24_1 + ', isMap=' + this.p24_1 + ')';
|
|
675
671
|
};
|
|
676
672
|
protoOf(WsAny).hashCode = function () {
|
|
677
|
-
var result = this.
|
|
678
|
-
result = imul(result, 31) + (this.
|
|
673
|
+
var result = this.o24_1 | 0;
|
|
674
|
+
result = imul(result, 31) + (this.p24_1 | 0) | 0;
|
|
679
675
|
return result;
|
|
680
676
|
};
|
|
681
677
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -684,43 +680,43 @@
|
|
|
684
680
|
if (!(other instanceof WsAny))
|
|
685
681
|
return false;
|
|
686
682
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
687
|
-
if (!(this.
|
|
683
|
+
if (!(this.o24_1 === tmp0_other_with_cast.o24_1))
|
|
688
684
|
return false;
|
|
689
|
-
if (!(this.
|
|
685
|
+
if (!(this.p24_1 === tmp0_other_with_cast.p24_1))
|
|
690
686
|
return false;
|
|
691
687
|
return true;
|
|
692
688
|
};
|
|
693
689
|
function WsUnit(isIterable, isMap) {
|
|
694
690
|
isMap = isMap === VOID ? false : isMap;
|
|
695
|
-
this.
|
|
696
|
-
this.
|
|
691
|
+
this.q24_1 = isIterable;
|
|
692
|
+
this.r24_1 = isMap;
|
|
697
693
|
}
|
|
698
|
-
protoOf(WsUnit).
|
|
699
|
-
return this.
|
|
694
|
+
protoOf(WsUnit).s1r = function () {
|
|
695
|
+
return this.q24_1;
|
|
700
696
|
};
|
|
701
|
-
protoOf(WsUnit).
|
|
702
|
-
return this.
|
|
697
|
+
protoOf(WsUnit).n1z = function () {
|
|
698
|
+
return this.r24_1;
|
|
703
699
|
};
|
|
704
700
|
protoOf(WsUnit).e3 = function () {
|
|
705
|
-
return this.
|
|
701
|
+
return this.q24_1;
|
|
706
702
|
};
|
|
707
703
|
protoOf(WsUnit).f3 = function () {
|
|
708
|
-
return this.
|
|
704
|
+
return this.r24_1;
|
|
709
705
|
};
|
|
710
|
-
protoOf(WsUnit).
|
|
706
|
+
protoOf(WsUnit).b21 = function (isIterable, isMap) {
|
|
711
707
|
return new WsUnit(isIterable, isMap);
|
|
712
708
|
};
|
|
713
709
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
714
|
-
isIterable = isIterable === VOID ? this.
|
|
715
|
-
isMap = isMap === VOID ? this.
|
|
716
|
-
return this.
|
|
710
|
+
isIterable = isIterable === VOID ? this.q24_1 : isIterable;
|
|
711
|
+
isMap = isMap === VOID ? this.r24_1 : isMap;
|
|
712
|
+
return this.b21(isIterable, isMap);
|
|
717
713
|
};
|
|
718
714
|
protoOf(WsUnit).toString = function () {
|
|
719
|
-
return 'WsUnit(isIterable=' + this.
|
|
715
|
+
return 'WsUnit(isIterable=' + this.q24_1 + ', isMap=' + this.r24_1 + ')';
|
|
720
716
|
};
|
|
721
717
|
protoOf(WsUnit).hashCode = function () {
|
|
722
|
-
var result = this.
|
|
723
|
-
result = imul(result, 31) + (this.
|
|
718
|
+
var result = this.q24_1 | 0;
|
|
719
|
+
result = imul(result, 31) + (this.r24_1 | 0) | 0;
|
|
724
720
|
return result;
|
|
725
721
|
};
|
|
726
722
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -729,52 +725,52 @@
|
|
|
729
725
|
if (!(other instanceof WsUnit))
|
|
730
726
|
return false;
|
|
731
727
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
732
|
-
if (!(this.
|
|
728
|
+
if (!(this.q24_1 === tmp0_other_with_cast.q24_1))
|
|
733
729
|
return false;
|
|
734
|
-
if (!(this.
|
|
730
|
+
if (!(this.r24_1 === tmp0_other_with_cast.r24_1))
|
|
735
731
|
return false;
|
|
736
732
|
return true;
|
|
737
733
|
};
|
|
738
734
|
function WsCustom(value, isIterable, isMap) {
|
|
739
735
|
isMap = isMap === VOID ? false : isMap;
|
|
740
736
|
this.value = value;
|
|
741
|
-
this.
|
|
742
|
-
this.
|
|
737
|
+
this.s24_1 = isIterable;
|
|
738
|
+
this.t24_1 = isMap;
|
|
743
739
|
}
|
|
744
740
|
protoOf(WsCustom).y = function () {
|
|
745
741
|
return this.value;
|
|
746
742
|
};
|
|
747
|
-
protoOf(WsCustom).
|
|
748
|
-
return this.
|
|
743
|
+
protoOf(WsCustom).s1r = function () {
|
|
744
|
+
return this.s24_1;
|
|
749
745
|
};
|
|
750
|
-
protoOf(WsCustom).
|
|
751
|
-
return this.
|
|
746
|
+
protoOf(WsCustom).n1z = function () {
|
|
747
|
+
return this.t24_1;
|
|
752
748
|
};
|
|
753
749
|
protoOf(WsCustom).e3 = function () {
|
|
754
750
|
return this.value;
|
|
755
751
|
};
|
|
756
752
|
protoOf(WsCustom).f3 = function () {
|
|
757
|
-
return this.
|
|
753
|
+
return this.s24_1;
|
|
758
754
|
};
|
|
759
755
|
protoOf(WsCustom).c8 = function () {
|
|
760
|
-
return this.
|
|
756
|
+
return this.t24_1;
|
|
761
757
|
};
|
|
762
|
-
protoOf(WsCustom).
|
|
758
|
+
protoOf(WsCustom).g21 = function (value, isIterable, isMap) {
|
|
763
759
|
return new WsCustom(value, isIterable, isMap);
|
|
764
760
|
};
|
|
765
761
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
766
762
|
value = value === VOID ? this.value : value;
|
|
767
|
-
isIterable = isIterable === VOID ? this.
|
|
768
|
-
isMap = isMap === VOID ? this.
|
|
769
|
-
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);
|
|
770
766
|
};
|
|
771
767
|
protoOf(WsCustom).toString = function () {
|
|
772
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
768
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.s24_1 + ', isMap=' + this.t24_1 + ')';
|
|
773
769
|
};
|
|
774
770
|
protoOf(WsCustom).hashCode = function () {
|
|
775
771
|
var result = getStringHashCode(this.value);
|
|
776
|
-
result = imul(result, 31) + (this.
|
|
777
|
-
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;
|
|
778
774
|
return result;
|
|
779
775
|
};
|
|
780
776
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -785,52 +781,52 @@
|
|
|
785
781
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
786
782
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
787
783
|
return false;
|
|
788
|
-
if (!(this.
|
|
784
|
+
if (!(this.s24_1 === tmp0_other_with_cast.s24_1))
|
|
789
785
|
return false;
|
|
790
|
-
if (!(this.
|
|
786
|
+
if (!(this.t24_1 === tmp0_other_with_cast.t24_1))
|
|
791
787
|
return false;
|
|
792
788
|
return true;
|
|
793
789
|
};
|
|
794
790
|
function WsPrimitive(type, isIterable, isMap) {
|
|
795
791
|
isMap = isMap === VOID ? false : isMap;
|
|
796
792
|
this.type = type;
|
|
797
|
-
this.
|
|
798
|
-
this.
|
|
793
|
+
this.u24_1 = isIterable;
|
|
794
|
+
this.v24_1 = isMap;
|
|
799
795
|
}
|
|
800
|
-
protoOf(WsPrimitive).
|
|
796
|
+
protoOf(WsPrimitive).w24 = function () {
|
|
801
797
|
return this.type;
|
|
802
798
|
};
|
|
803
|
-
protoOf(WsPrimitive).
|
|
804
|
-
return this.
|
|
799
|
+
protoOf(WsPrimitive).s1r = function () {
|
|
800
|
+
return this.u24_1;
|
|
805
801
|
};
|
|
806
|
-
protoOf(WsPrimitive).
|
|
807
|
-
return this.
|
|
802
|
+
protoOf(WsPrimitive).n1z = function () {
|
|
803
|
+
return this.v24_1;
|
|
808
804
|
};
|
|
809
805
|
protoOf(WsPrimitive).e3 = function () {
|
|
810
806
|
return this.type;
|
|
811
807
|
};
|
|
812
808
|
protoOf(WsPrimitive).f3 = function () {
|
|
813
|
-
return this.
|
|
809
|
+
return this.u24_1;
|
|
814
810
|
};
|
|
815
811
|
protoOf(WsPrimitive).c8 = function () {
|
|
816
|
-
return this.
|
|
812
|
+
return this.v24_1;
|
|
817
813
|
};
|
|
818
|
-
protoOf(WsPrimitive).
|
|
814
|
+
protoOf(WsPrimitive).x24 = function (type, isIterable, isMap) {
|
|
819
815
|
return new WsPrimitive(type, isIterable, isMap);
|
|
820
816
|
};
|
|
821
817
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
822
818
|
type = type === VOID ? this.type : type;
|
|
823
|
-
isIterable = isIterable === VOID ? this.
|
|
824
|
-
isMap = isMap === VOID ? this.
|
|
825
|
-
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);
|
|
826
822
|
};
|
|
827
823
|
protoOf(WsPrimitive).toString = function () {
|
|
828
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
824
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.u24_1 + ', isMap=' + this.v24_1 + ')';
|
|
829
825
|
};
|
|
830
826
|
protoOf(WsPrimitive).hashCode = function () {
|
|
831
827
|
var result = this.type.hashCode();
|
|
832
|
-
result = imul(result, 31) + (this.
|
|
833
|
-
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;
|
|
834
830
|
return result;
|
|
835
831
|
};
|
|
836
832
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -841,9 +837,9 @@
|
|
|
841
837
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
842
838
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
843
839
|
return false;
|
|
844
|
-
if (!(this.
|
|
840
|
+
if (!(this.u24_1 === tmp0_other_with_cast.u24_1))
|
|
845
841
|
return false;
|
|
846
|
-
if (!(this.
|
|
842
|
+
if (!(this.v24_1 === tmp0_other_with_cast.v24_1))
|
|
847
843
|
return false;
|
|
848
844
|
return true;
|
|
849
845
|
};
|
|
@@ -892,12 +888,12 @@
|
|
|
892
888
|
protoOf(WsRequest).e3 = function () {
|
|
893
889
|
return this.content;
|
|
894
890
|
};
|
|
895
|
-
protoOf(WsRequest).
|
|
891
|
+
protoOf(WsRequest).a25 = function (content) {
|
|
896
892
|
return new WsRequest(content);
|
|
897
893
|
};
|
|
898
894
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
899
895
|
content = content === VOID ? this.content : content;
|
|
900
|
-
return this.
|
|
896
|
+
return this.a25(content);
|
|
901
897
|
};
|
|
902
898
|
protoOf(WsRequest).toString = function () {
|
|
903
899
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -919,7 +915,7 @@
|
|
|
919
915
|
this.status = status;
|
|
920
916
|
this.content = content;
|
|
921
917
|
}
|
|
922
|
-
protoOf(WsResponse).
|
|
918
|
+
protoOf(WsResponse).b25 = function () {
|
|
923
919
|
return this.status;
|
|
924
920
|
};
|
|
925
921
|
protoOf(WsResponse).uz = function () {
|
|
@@ -931,13 +927,13 @@
|
|
|
931
927
|
protoOf(WsResponse).f3 = function () {
|
|
932
928
|
return this.content;
|
|
933
929
|
};
|
|
934
|
-
protoOf(WsResponse).
|
|
930
|
+
protoOf(WsResponse).c25 = function (status, content) {
|
|
935
931
|
return new WsResponse(status, content);
|
|
936
932
|
};
|
|
937
933
|
protoOf(WsResponse).copy = function (status, content, $super) {
|
|
938
934
|
status = status === VOID ? this.status : status;
|
|
939
935
|
content = content === VOID ? this.content : content;
|
|
940
|
-
return this.
|
|
936
|
+
return this.c25(status, content);
|
|
941
937
|
};
|
|
942
938
|
protoOf(WsResponse).toString = function () {
|
|
943
939
|
return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
|
|
@@ -965,10 +961,10 @@
|
|
|
965
961
|
this.reference = reference;
|
|
966
962
|
this.isNullable = isNullable;
|
|
967
963
|
}
|
|
968
|
-
protoOf(WsContent).
|
|
964
|
+
protoOf(WsContent).w24 = function () {
|
|
969
965
|
return this.type;
|
|
970
966
|
};
|
|
971
|
-
protoOf(WsContent).
|
|
967
|
+
protoOf(WsContent).l24 = function () {
|
|
972
968
|
return this.reference;
|
|
973
969
|
};
|
|
974
970
|
protoOf(WsContent).aj = function () {
|
|
@@ -983,14 +979,14 @@
|
|
|
983
979
|
protoOf(WsContent).c8 = function () {
|
|
984
980
|
return this.isNullable;
|
|
985
981
|
};
|
|
986
|
-
protoOf(WsContent).
|
|
982
|
+
protoOf(WsContent).d25 = function (type, reference, isNullable) {
|
|
987
983
|
return new WsContent(type, reference, isNullable);
|
|
988
984
|
};
|
|
989
985
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
990
986
|
type = type === VOID ? this.type : type;
|
|
991
987
|
reference = reference === VOID ? this.reference : reference;
|
|
992
988
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
993
|
-
return this.
|
|
989
|
+
return this.d25(type, reference, isNullable);
|
|
994
990
|
};
|
|
995
991
|
protoOf(WsContent).toString = function () {
|
|
996
992
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1023,54 +1019,90 @@
|
|
|
1023
1019
|
var tmp0_iterator = _this__u8e3s4.c();
|
|
1024
1020
|
while (tmp0_iterator.d()) {
|
|
1025
1021
|
var item = tmp0_iterator.e();
|
|
1026
|
-
var tmp$ret$
|
|
1027
|
-
// Inline function 'produce.<anonymous>' call
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
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));
|
|
1031
1036
|
} else {
|
|
1032
|
-
if (
|
|
1033
|
-
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);
|
|
1034
1043
|
} else {
|
|
1035
|
-
if (
|
|
1036
|
-
|
|
1037
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1038
|
-
var tmp0_toTypedArray = item.p1x_1;
|
|
1039
|
-
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
1040
|
-
tmp = new WsEnum(item.o1x_1, tmp$ret$0);
|
|
1044
|
+
if (_this__u8e3s4 instanceof Refined) {
|
|
1045
|
+
tmp = new WsRefined(_this__u8e3s4.r1x_1, _this__u8e3s4.s1x_1.t1x_1);
|
|
1041
1046
|
} else {
|
|
1042
|
-
|
|
1043
|
-
tmp = new WsRefined(item.q1x_1, item.r1x_1.s1x_1);
|
|
1044
|
-
} else {
|
|
1045
|
-
noWhenBranchMatchedException();
|
|
1046
|
-
}
|
|
1047
|
+
noWhenBranchMatchedException();
|
|
1047
1048
|
}
|
|
1048
1049
|
}
|
|
1049
1050
|
}
|
|
1050
|
-
tmp$ret$1 = tmp;
|
|
1051
|
-
tmp0_mapTo.a(tmp$ret$1);
|
|
1052
1051
|
}
|
|
1053
|
-
return
|
|
1052
|
+
return tmp;
|
|
1054
1053
|
}
|
|
1055
|
-
function
|
|
1054
|
+
function produce_1(_this__u8e3s4) {
|
|
1056
1055
|
var tmp$ret$3;
|
|
1057
1056
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1058
1057
|
// Inline function 'kotlin.collections.map' call
|
|
1059
|
-
var tmp0_map = _this__u8e3s4.
|
|
1058
|
+
var tmp0_map = _this__u8e3s4.d1x_1;
|
|
1060
1059
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1061
1060
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1062
1061
|
var tmp0_iterator = tmp0_map.c();
|
|
1063
1062
|
while (tmp0_iterator.d()) {
|
|
1064
1063
|
var item = tmp0_iterator.e();
|
|
1065
1064
|
var tmp$ret$0;
|
|
1066
|
-
// Inline function 'produce.<anonymous>' call
|
|
1067
|
-
tmp$ret$0 =
|
|
1065
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1066
|
+
tmp$ret$0 = produce_7(item);
|
|
1068
1067
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1069
1068
|
}
|
|
1070
1069
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
1071
1070
|
return new WsShape(tmp$ret$3);
|
|
1072
1071
|
}
|
|
1073
|
-
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) {
|
|
1074
1106
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1075
1107
|
// Inline function 'kotlin.collections.map' call
|
|
1076
1108
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1079,13 +1111,13 @@
|
|
|
1079
1111
|
while (tmp0_iterator.d()) {
|
|
1080
1112
|
var item = tmp0_iterator.e();
|
|
1081
1113
|
var tmp$ret$0;
|
|
1082
|
-
// Inline function 'produce.<anonymous>' call
|
|
1114
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1083
1115
|
var tmp;
|
|
1084
1116
|
if (item instanceof Literal) {
|
|
1085
|
-
tmp = new WsLiteral(item.
|
|
1117
|
+
tmp = new WsLiteral(item.o1z_1);
|
|
1086
1118
|
} else {
|
|
1087
1119
|
if (item instanceof Param) {
|
|
1088
|
-
tmp = new WsParam(
|
|
1120
|
+
tmp = new WsParam(produce_8(item.a1z_1), produce_9(item.b1z_1));
|
|
1089
1121
|
} else {
|
|
1090
1122
|
noWhenBranchMatchedException();
|
|
1091
1123
|
}
|
|
@@ -1095,10 +1127,22 @@
|
|
|
1095
1127
|
}
|
|
1096
1128
|
return copyToArray(tmp0_mapTo);
|
|
1097
1129
|
}
|
|
1098
|
-
function
|
|
1099
|
-
|
|
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);
|
|
1100
1144
|
}
|
|
1101
|
-
function
|
|
1145
|
+
function produce_5(_this__u8e3s4) {
|
|
1102
1146
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1103
1147
|
// Inline function 'kotlin.collections.map' call
|
|
1104
1148
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1107,28 +1151,46 @@
|
|
|
1107
1151
|
while (tmp0_iterator.d()) {
|
|
1108
1152
|
var item = tmp0_iterator.e();
|
|
1109
1153
|
var tmp$ret$0;
|
|
1110
|
-
// Inline function 'produce.<anonymous>' call
|
|
1111
|
-
tmp$ret$0 =
|
|
1154
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1155
|
+
tmp$ret$0 = produce_10(item);
|
|
1112
1156
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1113
1157
|
}
|
|
1114
1158
|
return copyToArray(tmp0_mapTo);
|
|
1115
1159
|
}
|
|
1116
|
-
function
|
|
1117
|
-
|
|
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);
|
|
1118
1174
|
}
|
|
1119
|
-
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) {
|
|
1120
1182
|
var tmp;
|
|
1121
1183
|
if (_this__u8e3s4 instanceof Any) {
|
|
1122
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1184
|
+
tmp = new WsAny(_this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1123
1185
|
} else {
|
|
1124
1186
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1125
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1187
|
+
tmp = new WsUnit(_this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1126
1188
|
} else {
|
|
1127
1189
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1128
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1190
|
+
tmp = new WsCustom(_this__u8e3s4.m1x_1, _this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1129
1191
|
} else {
|
|
1130
1192
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1131
|
-
tmp = new WsPrimitive(
|
|
1193
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.j1x_1), _this__u8e3s4.s1r(), _this__u8e3s4.n1z());
|
|
1132
1194
|
} else {
|
|
1133
1195
|
noWhenBranchMatchedException();
|
|
1134
1196
|
}
|
|
@@ -1137,7 +1199,15 @@
|
|
|
1137
1199
|
}
|
|
1138
1200
|
return tmp;
|
|
1139
1201
|
}
|
|
1140
|
-
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) {
|
|
1141
1211
|
var tmp;
|
|
1142
1212
|
switch (_this__u8e3s4.p5_1) {
|
|
1143
1213
|
case 0:
|
|
@@ -1158,79 +1228,8 @@
|
|
|
1158
1228
|
}
|
|
1159
1229
|
return tmp;
|
|
1160
1230
|
}
|
|
1161
|
-
function
|
|
1162
|
-
|
|
1163
|
-
switch (_this__u8e3s4.p5_1) {
|
|
1164
|
-
case 0:
|
|
1165
|
-
tmp = WsMethod_GET_getInstance();
|
|
1166
|
-
break;
|
|
1167
|
-
case 1:
|
|
1168
|
-
tmp = WsMethod_POST_getInstance();
|
|
1169
|
-
break;
|
|
1170
|
-
case 2:
|
|
1171
|
-
tmp = WsMethod_PUT_getInstance();
|
|
1172
|
-
break;
|
|
1173
|
-
case 3:
|
|
1174
|
-
tmp = WsMethod_DELETE_getInstance();
|
|
1175
|
-
break;
|
|
1176
|
-
case 4:
|
|
1177
|
-
tmp = WsMethod_OPTIONS_getInstance();
|
|
1178
|
-
break;
|
|
1179
|
-
case 5:
|
|
1180
|
-
tmp = WsMethod_HEAD_getInstance();
|
|
1181
|
-
break;
|
|
1182
|
-
case 6:
|
|
1183
|
-
tmp = WsMethod_PATCH_getInstance();
|
|
1184
|
-
break;
|
|
1185
|
-
case 7:
|
|
1186
|
-
tmp = WsMethod_TRACE_getInstance();
|
|
1187
|
-
break;
|
|
1188
|
-
default:
|
|
1189
|
-
noWhenBranchMatchedException();
|
|
1190
|
-
break;
|
|
1191
|
-
}
|
|
1192
|
-
return tmp;
|
|
1193
|
-
}
|
|
1194
|
-
function produce_8(_this__u8e3s4) {
|
|
1195
|
-
return new WsContent(_this__u8e3s4.b1z_1, produce_5(_this__u8e3s4.c1z_1), _this__u8e3s4.d1z_1);
|
|
1196
|
-
}
|
|
1197
|
-
function produce_9(_this__u8e3s4) {
|
|
1198
|
-
var tmp0_safe_receiver = _this__u8e3s4.u1y_1;
|
|
1199
|
-
return new WsRequest(tmp0_safe_receiver == null ? null : produce_8(tmp0_safe_receiver));
|
|
1200
|
-
}
|
|
1201
|
-
function produce_10(_this__u8e3s4) {
|
|
1202
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1203
|
-
// Inline function 'kotlin.collections.map' call
|
|
1204
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1205
|
-
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1206
|
-
var tmp0_iterator = _this__u8e3s4.c();
|
|
1207
|
-
while (tmp0_iterator.d()) {
|
|
1208
|
-
var item = tmp0_iterator.e();
|
|
1209
|
-
var tmp$ret$0;
|
|
1210
|
-
// Inline function 'produce.<anonymous>' call
|
|
1211
|
-
tmp$ret$0 = produce_9(item);
|
|
1212
|
-
tmp0_mapTo.a(tmp$ret$0);
|
|
1213
|
-
}
|
|
1214
|
-
return copyToArray(tmp0_mapTo);
|
|
1215
|
-
}
|
|
1216
|
-
function produce_11(_this__u8e3s4) {
|
|
1217
|
-
var tmp0_safe_receiver = _this__u8e3s4.y1y_1;
|
|
1218
|
-
return new WsResponse(_this__u8e3s4.w1y_1, tmp0_safe_receiver == null ? null : produce_8(tmp0_safe_receiver));
|
|
1219
|
-
}
|
|
1220
|
-
function produce_12(_this__u8e3s4) {
|
|
1221
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1222
|
-
// Inline function 'kotlin.collections.map' call
|
|
1223
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1224
|
-
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1225
|
-
var tmp0_iterator = _this__u8e3s4.c();
|
|
1226
|
-
while (tmp0_iterator.d()) {
|
|
1227
|
-
var item = tmp0_iterator.e();
|
|
1228
|
-
var tmp$ret$0;
|
|
1229
|
-
// Inline function 'produce.<anonymous>' call
|
|
1230
|
-
tmp$ret$0 = produce_11(item);
|
|
1231
|
-
tmp0_mapTo.a(tmp$ret$0);
|
|
1232
|
-
}
|
|
1233
|
-
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);
|
|
1234
1233
|
}
|
|
1235
1234
|
function WsMethod_GET_getInstance() {
|
|
1236
1235
|
WsMethod_initEntries();
|
|
@@ -1280,9 +1279,6 @@
|
|
|
1280
1279
|
WsPrimitiveType_initEntries();
|
|
1281
1280
|
return WsPrimitiveType_Boolean_instance;
|
|
1282
1281
|
}
|
|
1283
|
-
function cli(args) {
|
|
1284
|
-
main(args);
|
|
1285
|
-
}
|
|
1286
1282
|
function WsCompilationResult(compiled, errors) {
|
|
1287
1283
|
compiled = compiled === VOID ? null : compiled;
|
|
1288
1284
|
var tmp;
|
|
@@ -1296,10 +1292,10 @@
|
|
|
1296
1292
|
this.compiled = compiled;
|
|
1297
1293
|
this.errors = errors;
|
|
1298
1294
|
}
|
|
1299
|
-
protoOf(WsCompilationResult).
|
|
1295
|
+
protoOf(WsCompilationResult).e25 = function () {
|
|
1300
1296
|
return this.compiled;
|
|
1301
1297
|
};
|
|
1302
|
-
protoOf(WsCompilationResult).
|
|
1298
|
+
protoOf(WsCompilationResult).f25 = function () {
|
|
1303
1299
|
return this.errors;
|
|
1304
1300
|
};
|
|
1305
1301
|
function WsCompiled(value) {
|
|
@@ -1318,26 +1314,26 @@
|
|
|
1318
1314
|
protoOf(WsCompiledFile).y = function () {
|
|
1319
1315
|
return this.value;
|
|
1320
1316
|
};
|
|
1321
|
-
function
|
|
1317
|
+
function produce_14(_this__u8e3s4) {
|
|
1322
1318
|
var tmp;
|
|
1323
1319
|
if (_this__u8e3s4 instanceof Left) {
|
|
1324
1320
|
var tmp$ret$5;
|
|
1325
1321
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1326
1322
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1327
1323
|
var tmp0_map = _this__u8e3s4.r1p_1;
|
|
1328
|
-
// Inline function 'produce.<anonymous>' call
|
|
1329
|
-
var tmp1_anonymous = tmp0_map.
|
|
1330
|
-
var tmp_0 =
|
|
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);
|
|
1331
1327
|
// Inline function 'kotlin.collections.map' call
|
|
1332
|
-
var tmp0_map_0 = tmp0_map.
|
|
1328
|
+
var tmp0_map_0 = tmp0_map.c1q_1;
|
|
1333
1329
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1334
1330
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1335
1331
|
var tmp0_iterator = tmp0_map_0.c();
|
|
1336
1332
|
while (tmp0_iterator.d()) {
|
|
1337
1333
|
var item = tmp0_iterator.e();
|
|
1338
1334
|
var tmp$ret$1;
|
|
1339
|
-
// Inline function 'produce.<anonymous>' call
|
|
1340
|
-
tmp$ret$1 =
|
|
1335
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1336
|
+
tmp$ret$1 = produce_19(item);
|
|
1341
1337
|
tmp0_mapTo.a(tmp$ret$1);
|
|
1342
1338
|
}
|
|
1343
1339
|
var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
|
|
@@ -1345,7 +1341,7 @@
|
|
|
1345
1341
|
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
1346
1342
|
} else {
|
|
1347
1343
|
if (_this__u8e3s4 instanceof Right) {
|
|
1348
|
-
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.
|
|
1344
|
+
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.x1p_1).p1s_1));
|
|
1349
1345
|
} else {
|
|
1350
1346
|
noWhenBranchMatchedException();
|
|
1351
1347
|
}
|
|
@@ -1360,7 +1356,7 @@
|
|
|
1360
1356
|
var tmp = this;
|
|
1361
1357
|
tmp.logger = new Compiler$Companion$logger$1();
|
|
1362
1358
|
}
|
|
1363
|
-
protoOf(Companion).
|
|
1359
|
+
protoOf(Companion).z1x = function () {
|
|
1364
1360
|
return this.logger;
|
|
1365
1361
|
};
|
|
1366
1362
|
var Companion_instance;
|
|
@@ -1376,18 +1372,18 @@
|
|
|
1376
1372
|
return compile(Wirespec_getInstance(), source)(Companion_getInstance_1().logger);
|
|
1377
1373
|
};
|
|
1378
1374
|
protoOf(Compiler).tokenize = function (source) {
|
|
1379
|
-
return
|
|
1375
|
+
return produce_15(tokenize(Wirespec_getInstance(), source));
|
|
1380
1376
|
};
|
|
1381
1377
|
protoOf(Compiler).parse = function (source) {
|
|
1382
1378
|
// Inline function 'kotlin.let' call
|
|
1383
1379
|
var tmp0_let = tokenize(Wirespec_getInstance(), source);
|
|
1384
1380
|
// Inline function 'kotlin.contracts.contract' call
|
|
1385
|
-
// Inline function 'Compiler.parse.<anonymous>' call
|
|
1386
|
-
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);
|
|
1387
1383
|
};
|
|
1388
1384
|
function Companion_0() {
|
|
1389
1385
|
Companion_instance_0 = this;
|
|
1390
|
-
this.
|
|
1386
|
+
this.g25_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
|
|
1391
1387
|
}
|
|
1392
1388
|
var Companion_instance_0;
|
|
1393
1389
|
function Companion_getInstance_2() {
|
|
@@ -1400,11 +1396,11 @@
|
|
|
1400
1396
|
Compiler.call(this);
|
|
1401
1397
|
}
|
|
1402
1398
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1403
|
-
return
|
|
1399
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_2().g25_1));
|
|
1404
1400
|
};
|
|
1405
1401
|
function Companion_1() {
|
|
1406
1402
|
Companion_instance_1 = this;
|
|
1407
|
-
this.
|
|
1403
|
+
this.h25_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
|
|
1408
1404
|
}
|
|
1409
1405
|
var Companion_instance_1;
|
|
1410
1406
|
function Companion_getInstance_3() {
|
|
@@ -1417,11 +1413,11 @@
|
|
|
1417
1413
|
Compiler.call(this);
|
|
1418
1414
|
}
|
|
1419
1415
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1420
|
-
return
|
|
1416
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_3().h25_1));
|
|
1421
1417
|
};
|
|
1422
1418
|
function Companion_2() {
|
|
1423
1419
|
Companion_instance_2 = this;
|
|
1424
|
-
this.
|
|
1420
|
+
this.i25_1 = new WirespecEmitter(Companion_getInstance_1().logger);
|
|
1425
1421
|
}
|
|
1426
1422
|
var Companion_instance_2;
|
|
1427
1423
|
function Companion_getInstance_4() {
|
|
@@ -1434,13 +1430,13 @@
|
|
|
1434
1430
|
Compiler.call(this);
|
|
1435
1431
|
}
|
|
1436
1432
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1437
|
-
return
|
|
1433
|
+
return produce_14(this.preCompile(source)(Companion_getInstance_4().i25_1));
|
|
1438
1434
|
};
|
|
1439
1435
|
function OpenApiV2Parser() {
|
|
1440
1436
|
OpenApiV2Parser_instance = this;
|
|
1441
1437
|
}
|
|
1442
1438
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1443
|
-
return produce(Companion_getInstance().
|
|
1439
|
+
return produce(Companion_getInstance().p22(source));
|
|
1444
1440
|
};
|
|
1445
1441
|
var OpenApiV2Parser_instance;
|
|
1446
1442
|
function OpenApiV2Parser_getInstance() {
|
|
@@ -1452,7 +1448,7 @@
|
|
|
1452
1448
|
OpenApiV3Parser_instance = this;
|
|
1453
1449
|
}
|
|
1454
1450
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
1455
|
-
return produce(Companion_getInstance_0().
|
|
1451
|
+
return produce(Companion_getInstance_0().c23(source));
|
|
1456
1452
|
};
|
|
1457
1453
|
var OpenApiV3Parser_instance;
|
|
1458
1454
|
function OpenApiV3Parser_getInstance() {
|
|
@@ -1467,23 +1463,23 @@
|
|
|
1467
1463
|
OpenApiV3ToTypescript_instance = this;
|
|
1468
1464
|
var tmp = this;
|
|
1469
1465
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
1470
|
-
this.
|
|
1466
|
+
this.j25_1 = new TypeScriptEmitter(this.logger);
|
|
1471
1467
|
}
|
|
1472
|
-
protoOf(OpenApiV3ToTypescript).
|
|
1468
|
+
protoOf(OpenApiV3ToTypescript).z1x = function () {
|
|
1473
1469
|
return this.logger;
|
|
1474
1470
|
};
|
|
1475
1471
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
1476
|
-
var ast = Companion_getInstance_0().
|
|
1472
|
+
var ast = Companion_getInstance_0().c23(source);
|
|
1477
1473
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1478
1474
|
// Inline function 'kotlin.collections.map' call
|
|
1479
|
-
var tmp0_map = this.
|
|
1475
|
+
var tmp0_map = this.j25_1.y1q(ast);
|
|
1480
1476
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1481
1477
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1482
1478
|
var tmp0_iterator = tmp0_map.c();
|
|
1483
1479
|
while (tmp0_iterator.d()) {
|
|
1484
1480
|
var item = tmp0_iterator.e();
|
|
1485
1481
|
var tmp$ret$0;
|
|
1486
|
-
// Inline function 'OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
1482
|
+
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
1487
1483
|
var file = item.e3();
|
|
1488
1484
|
var value = item.f3();
|
|
1489
1485
|
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
@@ -1503,10 +1499,10 @@
|
|
|
1503
1499
|
this.tokens = tokens;
|
|
1504
1500
|
this.error = error;
|
|
1505
1501
|
}
|
|
1506
|
-
protoOf(WsTokenResult).
|
|
1502
|
+
protoOf(WsTokenResult).k25 = function () {
|
|
1507
1503
|
return this.tokens;
|
|
1508
1504
|
};
|
|
1509
|
-
protoOf(WsTokenResult).
|
|
1505
|
+
protoOf(WsTokenResult).l25 = function () {
|
|
1510
1506
|
return this.error;
|
|
1511
1507
|
};
|
|
1512
1508
|
protoOf(WsTokenResult).e3 = function () {
|
|
@@ -1515,13 +1511,13 @@
|
|
|
1515
1511
|
protoOf(WsTokenResult).f3 = function () {
|
|
1516
1512
|
return this.error;
|
|
1517
1513
|
};
|
|
1518
|
-
protoOf(WsTokenResult).
|
|
1514
|
+
protoOf(WsTokenResult).m25 = function (tokens, error) {
|
|
1519
1515
|
return new WsTokenResult(tokens, error);
|
|
1520
1516
|
};
|
|
1521
1517
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
1522
1518
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
1523
1519
|
error = error === VOID ? this.error : error;
|
|
1524
|
-
return this.
|
|
1520
|
+
return this.m25(tokens, error);
|
|
1525
1521
|
};
|
|
1526
1522
|
protoOf(WsTokenResult).toString = function () {
|
|
1527
1523
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -1566,12 +1562,12 @@
|
|
|
1566
1562
|
protoOf(WsTokens).e3 = function () {
|
|
1567
1563
|
return this.value;
|
|
1568
1564
|
};
|
|
1569
|
-
protoOf(WsTokens).
|
|
1565
|
+
protoOf(WsTokens).n25 = function (value) {
|
|
1570
1566
|
return new WsTokens(value);
|
|
1571
1567
|
};
|
|
1572
1568
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
1573
1569
|
value = value === VOID ? this.value : value;
|
|
1574
|
-
return this.
|
|
1570
|
+
return this.n25(value);
|
|
1575
1571
|
};
|
|
1576
1572
|
protoOf(WsTokens).toString = function () {
|
|
1577
1573
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -1582,13 +1578,13 @@
|
|
|
1582
1578
|
this.value = value;
|
|
1583
1579
|
this.coordinates = coordinates;
|
|
1584
1580
|
}
|
|
1585
|
-
protoOf(WsToken).
|
|
1581
|
+
protoOf(WsToken).w24 = function () {
|
|
1586
1582
|
return this.type;
|
|
1587
1583
|
};
|
|
1588
1584
|
protoOf(WsToken).y = function () {
|
|
1589
1585
|
return this.value;
|
|
1590
1586
|
};
|
|
1591
|
-
protoOf(WsToken).
|
|
1587
|
+
protoOf(WsToken).o25 = function () {
|
|
1592
1588
|
return this.coordinates;
|
|
1593
1589
|
};
|
|
1594
1590
|
protoOf(WsToken).e3 = function () {
|
|
@@ -1600,14 +1596,14 @@
|
|
|
1600
1596
|
protoOf(WsToken).c8 = function () {
|
|
1601
1597
|
return this.coordinates;
|
|
1602
1598
|
};
|
|
1603
|
-
protoOf(WsToken).
|
|
1599
|
+
protoOf(WsToken).p25 = function (type, value, coordinates) {
|
|
1604
1600
|
return new WsToken(type, value, coordinates);
|
|
1605
1601
|
};
|
|
1606
1602
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
1607
1603
|
type = type === VOID ? this.type : type;
|
|
1608
1604
|
value = value === VOID ? this.value : value;
|
|
1609
1605
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
1610
|
-
return this.
|
|
1606
|
+
return this.p25(type, value, coordinates);
|
|
1611
1607
|
};
|
|
1612
1608
|
protoOf(WsToken).toString = function () {
|
|
1613
1609
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -1640,13 +1636,13 @@
|
|
|
1640
1636
|
this.position = position;
|
|
1641
1637
|
this.idxAndLength = idxAndLength;
|
|
1642
1638
|
}
|
|
1643
|
-
protoOf(WsCoordinates).
|
|
1639
|
+
protoOf(WsCoordinates).q25 = function () {
|
|
1644
1640
|
return this.line;
|
|
1645
1641
|
};
|
|
1646
1642
|
protoOf(WsCoordinates).vo = function () {
|
|
1647
1643
|
return this.position;
|
|
1648
1644
|
};
|
|
1649
|
-
protoOf(WsCoordinates).
|
|
1645
|
+
protoOf(WsCoordinates).r25 = function () {
|
|
1650
1646
|
return this.idxAndLength;
|
|
1651
1647
|
};
|
|
1652
1648
|
protoOf(WsCoordinates).e3 = function () {
|
|
@@ -1658,14 +1654,14 @@
|
|
|
1658
1654
|
protoOf(WsCoordinates).c8 = function () {
|
|
1659
1655
|
return this.idxAndLength;
|
|
1660
1656
|
};
|
|
1661
|
-
protoOf(WsCoordinates).
|
|
1657
|
+
protoOf(WsCoordinates).s25 = function (line, position, idxAndLength) {
|
|
1662
1658
|
return new WsCoordinates(line, position, idxAndLength);
|
|
1663
1659
|
};
|
|
1664
1660
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
1665
1661
|
line = line === VOID ? this.line : line;
|
|
1666
1662
|
position = position === VOID ? this.position : position;
|
|
1667
1663
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
1668
|
-
return this.
|
|
1664
|
+
return this.s25(line, position, idxAndLength);
|
|
1669
1665
|
};
|
|
1670
1666
|
protoOf(WsCoordinates).toString = function () {
|
|
1671
1667
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -1696,7 +1692,7 @@
|
|
|
1696
1692
|
this.idx = idx;
|
|
1697
1693
|
this.length = length;
|
|
1698
1694
|
}
|
|
1699
|
-
protoOf(WsIndex).
|
|
1695
|
+
protoOf(WsIndex).t25 = function () {
|
|
1700
1696
|
return this.idx;
|
|
1701
1697
|
};
|
|
1702
1698
|
protoOf(WsIndex).ba = function () {
|
|
@@ -1708,13 +1704,13 @@
|
|
|
1708
1704
|
protoOf(WsIndex).f3 = function () {
|
|
1709
1705
|
return this.length;
|
|
1710
1706
|
};
|
|
1711
|
-
protoOf(WsIndex).
|
|
1707
|
+
protoOf(WsIndex).u25 = function (idx, length) {
|
|
1712
1708
|
return new WsIndex(idx, length);
|
|
1713
1709
|
};
|
|
1714
1710
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
1715
1711
|
idx = idx === VOID ? this.idx : idx;
|
|
1716
1712
|
length = length === VOID ? this.length : length;
|
|
1717
|
-
return this.
|
|
1713
|
+
return this.u25(idx, length);
|
|
1718
1714
|
};
|
|
1719
1715
|
protoOf(WsIndex).toString = function () {
|
|
1720
1716
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -1736,7 +1732,7 @@
|
|
|
1736
1732
|
return false;
|
|
1737
1733
|
return true;
|
|
1738
1734
|
};
|
|
1739
|
-
function
|
|
1735
|
+
function produce_15(_this__u8e3s4) {
|
|
1740
1736
|
var tmp$ret$3;
|
|
1741
1737
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1742
1738
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1746,28 +1742,28 @@
|
|
|
1746
1742
|
while (tmp0_iterator.d()) {
|
|
1747
1743
|
var item = tmp0_iterator.e();
|
|
1748
1744
|
var tmp$ret$0;
|
|
1749
|
-
// Inline function 'produce.<anonymous>' call
|
|
1750
|
-
tmp$ret$0 =
|
|
1745
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1746
|
+
tmp$ret$0 = produce_16(item);
|
|
1751
1747
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1752
1748
|
}
|
|
1753
1749
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
1754
1750
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
1755
1751
|
}
|
|
1756
|
-
function produce_15(_this__u8e3s4) {
|
|
1757
|
-
return new WsToken(_this__u8e3s4.y1z_1.b20(), _this__u8e3s4.z1z_1, produce_16(_this__u8e3s4.a20_1));
|
|
1758
|
-
}
|
|
1759
1752
|
function produce_16(_this__u8e3s4) {
|
|
1760
|
-
return new
|
|
1753
|
+
return new WsToken(_this__u8e3s4.z1z_1.c20(), _this__u8e3s4.a20_1, produce_17(_this__u8e3s4.b20_1));
|
|
1761
1754
|
}
|
|
1762
1755
|
function produce_17(_this__u8e3s4) {
|
|
1763
|
-
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);
|
|
1764
1760
|
}
|
|
1765
1761
|
function WsError(index, length, value) {
|
|
1766
1762
|
this.index = index;
|
|
1767
1763
|
this.length = length;
|
|
1768
1764
|
this.value = value;
|
|
1769
1765
|
}
|
|
1770
|
-
protoOf(WsError).
|
|
1766
|
+
protoOf(WsError).v25 = function () {
|
|
1771
1767
|
return this.index;
|
|
1772
1768
|
};
|
|
1773
1769
|
protoOf(WsError).ba = function () {
|
|
@@ -1785,14 +1781,14 @@
|
|
|
1785
1781
|
protoOf(WsError).c8 = function () {
|
|
1786
1782
|
return this.value;
|
|
1787
1783
|
};
|
|
1788
|
-
protoOf(WsError).
|
|
1784
|
+
protoOf(WsError).w25 = function (index, length, value) {
|
|
1789
1785
|
return new WsError(index, length, value);
|
|
1790
1786
|
};
|
|
1791
1787
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
1792
1788
|
index = index === VOID ? this.index : index;
|
|
1793
1789
|
length = length === VOID ? this.length : length;
|
|
1794
1790
|
value = value === VOID ? this.value : value;
|
|
1795
|
-
return this.
|
|
1791
|
+
return this.w25(index, length, value);
|
|
1796
1792
|
};
|
|
1797
1793
|
protoOf(WsError).toString = function () {
|
|
1798
1794
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -1817,101 +1813,128 @@
|
|
|
1817
1813
|
return false;
|
|
1818
1814
|
return true;
|
|
1819
1815
|
};
|
|
1820
|
-
function
|
|
1821
|
-
var tmp = _this__u8e3s4.f20_1.
|
|
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;
|
|
1822
1818
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
1823
|
-
return new WsError(tmp, _this__u8e3s4.f20_1.
|
|
1819
|
+
return new WsError(tmp, _this__u8e3s4.g20_1.f20_1.n21_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
1824
1820
|
}
|
|
1825
1821
|
//region block: post-declaration
|
|
1826
1822
|
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).bh, VOID);
|
|
1827
1823
|
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).ch, VOID);
|
|
1828
1824
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
1829
|
-
return this.
|
|
1825
|
+
return this.s1r();
|
|
1830
1826
|
}, VOID);
|
|
1831
1827
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
1832
|
-
return this.
|
|
1828
|
+
return this.n1z();
|
|
1833
1829
|
}, VOID);
|
|
1834
1830
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
1835
|
-
return this.
|
|
1831
|
+
return this.s1r();
|
|
1836
1832
|
}, VOID);
|
|
1837
1833
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
1838
|
-
return this.
|
|
1834
|
+
return this.n1z();
|
|
1839
1835
|
}, VOID);
|
|
1840
1836
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
1841
|
-
return this.
|
|
1837
|
+
return this.s1r();
|
|
1842
1838
|
}, VOID);
|
|
1843
1839
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
1844
|
-
return this.
|
|
1840
|
+
return this.n1z();
|
|
1845
1841
|
}, VOID);
|
|
1846
1842
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
1847
|
-
return this.
|
|
1843
|
+
return this.s1r();
|
|
1848
1844
|
}, VOID);
|
|
1849
1845
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
1850
|
-
return this.
|
|
1846
|
+
return this.n1z();
|
|
1851
1847
|
}, VOID);
|
|
1852
1848
|
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).bh, VOID);
|
|
1853
1849
|
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ch, VOID);
|
|
1854
1850
|
//endregion
|
|
1855
1851
|
//region block: exports
|
|
1856
1852
|
function $jsExportAll$(_) {
|
|
1857
|
-
_.
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
defineProp(
|
|
1871
|
-
defineProp(
|
|
1872
|
-
defineProp(
|
|
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
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
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;
|
|
1913
1933
|
}
|
|
1914
1934
|
$jsExportAll$(_);
|
|
1935
|
+
_.$jsExportAll$ = $jsExportAll$;
|
|
1936
|
+
_.$_$ = _.$_$ || {};
|
|
1937
|
+
_.$_$.a = produce_0;
|
|
1915
1938
|
//endregion
|
|
1916
1939
|
return _;
|
|
1917
1940
|
}));
|