@flock/wirespec 0.8.45 → 0.8.47
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 +91 -91
- package/kotlin-kotlin-stdlib-js-ir.js +2172 -4215
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +3577 -3577
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1560 -1561
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1176 -1187
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +4370 -4549
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.d.ts +0 -1
- package/wirespec-src-compiler-lib.js +310 -318
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +588 -576
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/clikt-clikt.js +0 -6790
- package/clikt-clikt.js.map +0 -1
- package/colormath-root-colormath.js +0 -1403
- package/colormath-root-colormath.js.map +0 -1
- package/markdown.js +0 -6858
- package/markdown.js.map +0 -1
- package/mordant-mordant.js +0 -11604
- package/mordant-mordant.js.map +0 -1
- package/wirespec-bin.js +0 -3
- package/wirespec-src-compiler-cli.js +0 -1408
- package/wirespec-src-compiler-cli.js.map +0 -1
|
@@ -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,67 +10,63 @@
|
|
|
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;
|
|
28
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
29
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
30
|
-
var VOID = kotlin_kotlin.$_$.
|
|
31
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
32
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
33
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
34
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
35
|
-
var toString = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var equals = kotlin_kotlin.$_$.
|
|
38
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
39
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
40
|
-
var Enum = kotlin_kotlin.$_$.
|
|
41
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
42
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
43
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
44
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
45
|
-
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
46
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
47
|
-
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
48
|
-
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
49
|
-
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
50
|
-
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
51
|
-
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
52
|
-
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
53
|
-
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
54
|
-
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
55
|
-
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
56
|
-
var
|
|
57
|
-
var first = kotlin_kotlin.$_$.n5;
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.n7;
|
|
26
|
+
var interfaceMeta = kotlin_kotlin.$_$.u6;
|
|
27
|
+
var VOID = kotlin_kotlin.$_$.pa;
|
|
28
|
+
var setMetadataFor = kotlin_kotlin.$_$.o7;
|
|
29
|
+
var getStringHashCode = kotlin_kotlin.$_$.s6;
|
|
30
|
+
var THROW_CCE = kotlin_kotlin.$_$.r9;
|
|
31
|
+
var classMeta = kotlin_kotlin.$_$.m6;
|
|
32
|
+
var toString = kotlin_kotlin.$_$.s7;
|
|
33
|
+
var hashCode = kotlin_kotlin.$_$.t6;
|
|
34
|
+
var equals = kotlin_kotlin.$_$.o6;
|
|
35
|
+
var THROW_ISE = kotlin_kotlin.$_$.s9;
|
|
36
|
+
var Unit_getInstance = kotlin_kotlin.$_$.f3;
|
|
37
|
+
var Enum = kotlin_kotlin.$_$.j9;
|
|
38
|
+
var defineProp = kotlin_kotlin.$_$.n6;
|
|
39
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.y3;
|
|
40
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
41
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ma;
|
|
42
|
+
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.l;
|
|
43
|
+
var copyToArray = kotlin_kotlin.$_$.k4;
|
|
44
|
+
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.k;
|
|
45
|
+
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.j;
|
|
46
|
+
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.t;
|
|
47
|
+
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.i;
|
|
48
|
+
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.h;
|
|
49
|
+
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
50
|
+
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.o;
|
|
51
|
+
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
52
|
+
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.n;
|
|
53
|
+
var first = kotlin_kotlin.$_$.t4;
|
|
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.$_$.
|
|
62
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
67
|
-
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
68
|
-
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
69
|
-
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
57
|
+
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.x;
|
|
58
|
+
var objectMeta = kotlin_kotlin.$_$.m7;
|
|
59
|
+
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
60
|
+
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.w;
|
|
61
|
+
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
62
|
+
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
63
|
+
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.a;
|
|
64
|
+
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.b;
|
|
65
|
+
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
|
|
70
66
|
var Companion_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.a;
|
|
71
67
|
var Companion_getInstance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
72
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
73
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
68
|
+
var contentEquals = kotlin_kotlin.$_$.z3;
|
|
69
|
+
var contentHashCode = kotlin_kotlin.$_$.a4;
|
|
74
70
|
//endregion
|
|
75
71
|
//region block: pre-declaration
|
|
76
72
|
setMetadataFor(WsNode, 'WsNode', interfaceMeta);
|
|
@@ -124,25 +120,25 @@
|
|
|
124
120
|
this.name = name;
|
|
125
121
|
this.shape = shape;
|
|
126
122
|
}
|
|
127
|
-
protoOf(WsType).
|
|
123
|
+
protoOf(WsType).te = function () {
|
|
128
124
|
return this.name;
|
|
129
125
|
};
|
|
130
|
-
protoOf(WsType).
|
|
126
|
+
protoOf(WsType).w1z = function () {
|
|
131
127
|
return this.shape;
|
|
132
128
|
};
|
|
133
|
-
protoOf(WsType).
|
|
129
|
+
protoOf(WsType).u2 = function () {
|
|
134
130
|
return this.name;
|
|
135
131
|
};
|
|
136
|
-
protoOf(WsType).
|
|
132
|
+
protoOf(WsType).v2 = function () {
|
|
137
133
|
return this.shape;
|
|
138
134
|
};
|
|
139
|
-
protoOf(WsType).
|
|
135
|
+
protoOf(WsType).x1z = 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.x1z(name, shape);
|
|
146
142
|
};
|
|
147
143
|
protoOf(WsType).toString = function () {
|
|
148
144
|
return 'WsType(name=' + this.name + ', shape=' + this.shape + ')';
|
|
@@ -167,18 +163,18 @@
|
|
|
167
163
|
function WsShape(value) {
|
|
168
164
|
this.value = value;
|
|
169
165
|
}
|
|
170
|
-
protoOf(WsShape).
|
|
166
|
+
protoOf(WsShape).q = function () {
|
|
171
167
|
return this.value;
|
|
172
168
|
};
|
|
173
|
-
protoOf(WsShape).
|
|
169
|
+
protoOf(WsShape).u2 = function () {
|
|
174
170
|
return this.value;
|
|
175
171
|
};
|
|
176
|
-
protoOf(WsShape).
|
|
172
|
+
protoOf(WsShape).y1z = 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.y1z(value);
|
|
182
178
|
};
|
|
183
179
|
protoOf(WsShape).toString = function () {
|
|
184
180
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -206,55 +202,55 @@
|
|
|
206
202
|
this.requests = requests;
|
|
207
203
|
this.responses = responses;
|
|
208
204
|
}
|
|
209
|
-
protoOf(WsEndpoint).
|
|
205
|
+
protoOf(WsEndpoint).te = function () {
|
|
210
206
|
return this.name;
|
|
211
207
|
};
|
|
212
|
-
protoOf(WsEndpoint).
|
|
208
|
+
protoOf(WsEndpoint).z1z = function () {
|
|
213
209
|
return this.method;
|
|
214
210
|
};
|
|
215
|
-
protoOf(WsEndpoint).
|
|
211
|
+
protoOf(WsEndpoint).a20 = function () {
|
|
216
212
|
return this.path;
|
|
217
213
|
};
|
|
218
|
-
protoOf(WsEndpoint).
|
|
214
|
+
protoOf(WsEndpoint).b20 = function () {
|
|
219
215
|
return this.query;
|
|
220
216
|
};
|
|
221
|
-
protoOf(WsEndpoint).
|
|
217
|
+
protoOf(WsEndpoint).c20 = function () {
|
|
222
218
|
return this.headers;
|
|
223
219
|
};
|
|
224
|
-
protoOf(WsEndpoint).
|
|
220
|
+
protoOf(WsEndpoint).d20 = function () {
|
|
225
221
|
return this.cookies;
|
|
226
222
|
};
|
|
227
|
-
protoOf(WsEndpoint).
|
|
223
|
+
protoOf(WsEndpoint).e20 = function () {
|
|
228
224
|
return this.requests;
|
|
229
225
|
};
|
|
230
|
-
protoOf(WsEndpoint).
|
|
226
|
+
protoOf(WsEndpoint).f20 = function () {
|
|
231
227
|
return this.responses;
|
|
232
228
|
};
|
|
233
|
-
protoOf(WsEndpoint).
|
|
229
|
+
protoOf(WsEndpoint).u2 = function () {
|
|
234
230
|
return this.name;
|
|
235
231
|
};
|
|
236
|
-
protoOf(WsEndpoint).
|
|
232
|
+
protoOf(WsEndpoint).v2 = function () {
|
|
237
233
|
return this.method;
|
|
238
234
|
};
|
|
239
|
-
protoOf(WsEndpoint).
|
|
235
|
+
protoOf(WsEndpoint).g20 = function () {
|
|
240
236
|
return this.path;
|
|
241
237
|
};
|
|
242
|
-
protoOf(WsEndpoint).
|
|
238
|
+
protoOf(WsEndpoint).h20 = function () {
|
|
243
239
|
return this.query;
|
|
244
240
|
};
|
|
245
|
-
protoOf(WsEndpoint).
|
|
241
|
+
protoOf(WsEndpoint).i20 = function () {
|
|
246
242
|
return this.headers;
|
|
247
243
|
};
|
|
248
|
-
protoOf(WsEndpoint).
|
|
244
|
+
protoOf(WsEndpoint).j20 = function () {
|
|
249
245
|
return this.cookies;
|
|
250
246
|
};
|
|
251
|
-
protoOf(WsEndpoint).
|
|
247
|
+
protoOf(WsEndpoint).k20 = function () {
|
|
252
248
|
return this.requests;
|
|
253
249
|
};
|
|
254
|
-
protoOf(WsEndpoint).
|
|
250
|
+
protoOf(WsEndpoint).l20 = function () {
|
|
255
251
|
return this.responses;
|
|
256
252
|
};
|
|
257
|
-
protoOf(WsEndpoint).
|
|
253
|
+
protoOf(WsEndpoint).m20 = 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.m20(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) + ')';
|
|
@@ -310,25 +306,25 @@
|
|
|
310
306
|
this.name = name;
|
|
311
307
|
this.entries = entries;
|
|
312
308
|
}
|
|
313
|
-
protoOf(WsEnum).
|
|
309
|
+
protoOf(WsEnum).te = function () {
|
|
314
310
|
return this.name;
|
|
315
311
|
};
|
|
316
|
-
protoOf(WsEnum).
|
|
312
|
+
protoOf(WsEnum).o = function () {
|
|
317
313
|
return this.entries;
|
|
318
314
|
};
|
|
319
|
-
protoOf(WsEnum).
|
|
315
|
+
protoOf(WsEnum).u2 = function () {
|
|
320
316
|
return this.name;
|
|
321
317
|
};
|
|
322
|
-
protoOf(WsEnum).
|
|
318
|
+
protoOf(WsEnum).v2 = function () {
|
|
323
319
|
return this.entries;
|
|
324
320
|
};
|
|
325
|
-
protoOf(WsEnum).
|
|
321
|
+
protoOf(WsEnum).n20 = 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.n20(name, entries);
|
|
332
328
|
};
|
|
333
329
|
protoOf(WsEnum).toString = function () {
|
|
334
330
|
return 'WsEnum(name=' + this.name + ', entries=' + toString(this.entries) + ')';
|
|
@@ -354,25 +350,25 @@
|
|
|
354
350
|
this.name = name;
|
|
355
351
|
this.validator = validator;
|
|
356
352
|
}
|
|
357
|
-
protoOf(WsRefined).
|
|
353
|
+
protoOf(WsRefined).te = function () {
|
|
358
354
|
return this.name;
|
|
359
355
|
};
|
|
360
|
-
protoOf(WsRefined).
|
|
356
|
+
protoOf(WsRefined).o20 = function () {
|
|
361
357
|
return this.validator;
|
|
362
358
|
};
|
|
363
|
-
protoOf(WsRefined).
|
|
359
|
+
protoOf(WsRefined).u2 = function () {
|
|
364
360
|
return this.name;
|
|
365
361
|
};
|
|
366
|
-
protoOf(WsRefined).
|
|
362
|
+
protoOf(WsRefined).v2 = function () {
|
|
367
363
|
return this.validator;
|
|
368
364
|
};
|
|
369
|
-
protoOf(WsRefined).
|
|
365
|
+
protoOf(WsRefined).p20 = 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.p20(name, validator);
|
|
376
372
|
};
|
|
377
373
|
protoOf(WsRefined).toString = function () {
|
|
378
374
|
return 'WsRefined(name=' + this.name + ', validator=' + this.validator + ')';
|
|
@@ -451,18 +447,18 @@
|
|
|
451
447
|
function WsLiteral(value) {
|
|
452
448
|
this.value = value;
|
|
453
449
|
}
|
|
454
|
-
protoOf(WsLiteral).
|
|
450
|
+
protoOf(WsLiteral).q = function () {
|
|
455
451
|
return this.value;
|
|
456
452
|
};
|
|
457
|
-
protoOf(WsLiteral).
|
|
453
|
+
protoOf(WsLiteral).u2 = function () {
|
|
458
454
|
return this.value;
|
|
459
455
|
};
|
|
460
|
-
protoOf(WsLiteral).
|
|
456
|
+
protoOf(WsLiteral).s20 = 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.s20(value);
|
|
466
462
|
};
|
|
467
463
|
protoOf(WsLiteral).toString = function () {
|
|
468
464
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -484,25 +480,25 @@
|
|
|
484
480
|
this.identifier = identifier;
|
|
485
481
|
this.reference = reference;
|
|
486
482
|
}
|
|
487
|
-
protoOf(WsParam).
|
|
483
|
+
protoOf(WsParam).t20 = function () {
|
|
488
484
|
return this.identifier;
|
|
489
485
|
};
|
|
490
|
-
protoOf(WsParam).
|
|
486
|
+
protoOf(WsParam).u20 = function () {
|
|
491
487
|
return this.reference;
|
|
492
488
|
};
|
|
493
|
-
protoOf(WsParam).
|
|
489
|
+
protoOf(WsParam).u2 = function () {
|
|
494
490
|
return this.identifier;
|
|
495
491
|
};
|
|
496
|
-
protoOf(WsParam).
|
|
492
|
+
protoOf(WsParam).v2 = function () {
|
|
497
493
|
return this.reference;
|
|
498
494
|
};
|
|
499
|
-
protoOf(WsParam).
|
|
495
|
+
protoOf(WsParam).v20 = 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.v20(identifier, reference);
|
|
506
502
|
};
|
|
507
503
|
protoOf(WsParam).toString = function () {
|
|
508
504
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -527,18 +523,18 @@
|
|
|
527
523
|
function Shape(value) {
|
|
528
524
|
this.value = value;
|
|
529
525
|
}
|
|
530
|
-
protoOf(Shape).
|
|
526
|
+
protoOf(Shape).q = function () {
|
|
531
527
|
return this.value;
|
|
532
528
|
};
|
|
533
|
-
protoOf(Shape).
|
|
529
|
+
protoOf(Shape).u2 = function () {
|
|
534
530
|
return this.value;
|
|
535
531
|
};
|
|
536
|
-
protoOf(Shape).
|
|
532
|
+
protoOf(Shape).y1z = 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.y1z(value);
|
|
542
538
|
};
|
|
543
539
|
protoOf(Shape).toString = function () {
|
|
544
540
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -561,32 +557,32 @@
|
|
|
561
557
|
this.reference = reference;
|
|
562
558
|
this.isNullable = isNullable;
|
|
563
559
|
}
|
|
564
|
-
protoOf(WsField).
|
|
560
|
+
protoOf(WsField).t20 = function () {
|
|
565
561
|
return this.identifier;
|
|
566
562
|
};
|
|
567
|
-
protoOf(WsField).
|
|
563
|
+
protoOf(WsField).u20 = function () {
|
|
568
564
|
return this.reference;
|
|
569
565
|
};
|
|
570
|
-
protoOf(WsField).
|
|
566
|
+
protoOf(WsField).sg = function () {
|
|
571
567
|
return this.isNullable;
|
|
572
568
|
};
|
|
573
|
-
protoOf(WsField).
|
|
569
|
+
protoOf(WsField).u2 = function () {
|
|
574
570
|
return this.identifier;
|
|
575
571
|
};
|
|
576
|
-
protoOf(WsField).
|
|
572
|
+
protoOf(WsField).v2 = function () {
|
|
577
573
|
return this.reference;
|
|
578
574
|
};
|
|
579
|
-
protoOf(WsField).
|
|
575
|
+
protoOf(WsField).g20 = function () {
|
|
580
576
|
return this.isNullable;
|
|
581
577
|
};
|
|
582
|
-
protoOf(WsField).
|
|
578
|
+
protoOf(WsField).w20 = 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.w20(identifier, reference, isNullable);
|
|
590
586
|
};
|
|
591
587
|
protoOf(WsField).toString = function () {
|
|
592
588
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -614,18 +610,18 @@
|
|
|
614
610
|
function WsIdentifier(value) {
|
|
615
611
|
this.value = value;
|
|
616
612
|
}
|
|
617
|
-
protoOf(WsIdentifier).
|
|
613
|
+
protoOf(WsIdentifier).q = function () {
|
|
618
614
|
return this.value;
|
|
619
615
|
};
|
|
620
|
-
protoOf(WsIdentifier).
|
|
616
|
+
protoOf(WsIdentifier).u2 = function () {
|
|
621
617
|
return this.value;
|
|
622
618
|
};
|
|
623
|
-
protoOf(WsIdentifier).
|
|
619
|
+
protoOf(WsIdentifier).s20 = 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.s20(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.x20_1 = isIterable;
|
|
647
|
+
this.y20_1 = isMap;
|
|
652
648
|
}
|
|
653
|
-
protoOf(WsAny).
|
|
654
|
-
return this.
|
|
649
|
+
protoOf(WsAny).g1p = function () {
|
|
650
|
+
return this.x20_1;
|
|
655
651
|
};
|
|
656
|
-
protoOf(WsAny).
|
|
657
|
-
return this.
|
|
652
|
+
protoOf(WsAny).p1v = function () {
|
|
653
|
+
return this.y20_1;
|
|
658
654
|
};
|
|
659
|
-
protoOf(WsAny).
|
|
660
|
-
return this.
|
|
655
|
+
protoOf(WsAny).u2 = function () {
|
|
656
|
+
return this.x20_1;
|
|
661
657
|
};
|
|
662
|
-
protoOf(WsAny).
|
|
663
|
-
return this.
|
|
658
|
+
protoOf(WsAny).v2 = function () {
|
|
659
|
+
return this.y20_1;
|
|
664
660
|
};
|
|
665
|
-
protoOf(WsAny).
|
|
661
|
+
protoOf(WsAny).b1y = 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.x20_1 : isIterable;
|
|
666
|
+
isMap = isMap === VOID ? this.y20_1 : isMap;
|
|
667
|
+
return this.b1y(isIterable, isMap);
|
|
672
668
|
};
|
|
673
669
|
protoOf(WsAny).toString = function () {
|
|
674
|
-
return 'WsAny(isIterable=' + this.
|
|
670
|
+
return 'WsAny(isIterable=' + this.x20_1 + ', isMap=' + this.y20_1 + ')';
|
|
675
671
|
};
|
|
676
672
|
protoOf(WsAny).hashCode = function () {
|
|
677
|
-
var result = this.
|
|
678
|
-
result = imul(result, 31) + (this.
|
|
673
|
+
var result = this.x20_1 | 0;
|
|
674
|
+
result = imul(result, 31) + (this.y20_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.x20_1 === tmp0_other_with_cast.x20_1))
|
|
688
684
|
return false;
|
|
689
|
-
if (!(this.
|
|
685
|
+
if (!(this.y20_1 === tmp0_other_with_cast.y20_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.z20_1 = isIterable;
|
|
692
|
+
this.a21_1 = isMap;
|
|
697
693
|
}
|
|
698
|
-
protoOf(WsUnit).
|
|
699
|
-
return this.
|
|
694
|
+
protoOf(WsUnit).g1p = function () {
|
|
695
|
+
return this.z20_1;
|
|
700
696
|
};
|
|
701
|
-
protoOf(WsUnit).
|
|
702
|
-
return this.
|
|
697
|
+
protoOf(WsUnit).p1v = function () {
|
|
698
|
+
return this.a21_1;
|
|
703
699
|
};
|
|
704
|
-
protoOf(WsUnit).
|
|
705
|
-
return this.
|
|
700
|
+
protoOf(WsUnit).u2 = function () {
|
|
701
|
+
return this.z20_1;
|
|
706
702
|
};
|
|
707
|
-
protoOf(WsUnit).
|
|
708
|
-
return this.
|
|
703
|
+
protoOf(WsUnit).v2 = function () {
|
|
704
|
+
return this.a21_1;
|
|
709
705
|
};
|
|
710
|
-
protoOf(WsUnit).
|
|
706
|
+
protoOf(WsUnit).b1y = 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.z20_1 : isIterable;
|
|
711
|
+
isMap = isMap === VOID ? this.a21_1 : isMap;
|
|
712
|
+
return this.b1y(isIterable, isMap);
|
|
717
713
|
};
|
|
718
714
|
protoOf(WsUnit).toString = function () {
|
|
719
|
-
return 'WsUnit(isIterable=' + this.
|
|
715
|
+
return 'WsUnit(isIterable=' + this.z20_1 + ', isMap=' + this.a21_1 + ')';
|
|
720
716
|
};
|
|
721
717
|
protoOf(WsUnit).hashCode = function () {
|
|
722
|
-
var result = this.
|
|
723
|
-
result = imul(result, 31) + (this.
|
|
718
|
+
var result = this.z20_1 | 0;
|
|
719
|
+
result = imul(result, 31) + (this.a21_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.z20_1 === tmp0_other_with_cast.z20_1))
|
|
733
729
|
return false;
|
|
734
|
-
if (!(this.
|
|
730
|
+
if (!(this.a21_1 === tmp0_other_with_cast.a21_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.b21_1 = isIterable;
|
|
738
|
+
this.c21_1 = isMap;
|
|
743
739
|
}
|
|
744
|
-
protoOf(WsCustom).
|
|
740
|
+
protoOf(WsCustom).q = function () {
|
|
745
741
|
return this.value;
|
|
746
742
|
};
|
|
747
|
-
protoOf(WsCustom).
|
|
748
|
-
return this.
|
|
743
|
+
protoOf(WsCustom).g1p = function () {
|
|
744
|
+
return this.b21_1;
|
|
749
745
|
};
|
|
750
|
-
protoOf(WsCustom).
|
|
751
|
-
return this.
|
|
746
|
+
protoOf(WsCustom).p1v = function () {
|
|
747
|
+
return this.c21_1;
|
|
752
748
|
};
|
|
753
|
-
protoOf(WsCustom).
|
|
749
|
+
protoOf(WsCustom).u2 = function () {
|
|
754
750
|
return this.value;
|
|
755
751
|
};
|
|
756
|
-
protoOf(WsCustom).
|
|
757
|
-
return this.
|
|
752
|
+
protoOf(WsCustom).v2 = function () {
|
|
753
|
+
return this.b21_1;
|
|
758
754
|
};
|
|
759
|
-
protoOf(WsCustom).
|
|
760
|
-
return this.
|
|
755
|
+
protoOf(WsCustom).g20 = function () {
|
|
756
|
+
return this.c21_1;
|
|
761
757
|
};
|
|
762
|
-
protoOf(WsCustom).
|
|
758
|
+
protoOf(WsCustom).g1y = 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.b21_1 : isIterable;
|
|
764
|
+
isMap = isMap === VOID ? this.c21_1 : isMap;
|
|
765
|
+
return this.g1y(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.b21_1 + ', isMap=' + this.c21_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.b21_1 | 0) | 0;
|
|
773
|
+
result = imul(result, 31) + (this.c21_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.b21_1 === tmp0_other_with_cast.b21_1))
|
|
789
785
|
return false;
|
|
790
|
-
if (!(this.
|
|
786
|
+
if (!(this.c21_1 === tmp0_other_with_cast.c21_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.d21_1 = isIterable;
|
|
794
|
+
this.e21_1 = isMap;
|
|
799
795
|
}
|
|
800
|
-
protoOf(WsPrimitive).
|
|
796
|
+
protoOf(WsPrimitive).f21 = function () {
|
|
801
797
|
return this.type;
|
|
802
798
|
};
|
|
803
|
-
protoOf(WsPrimitive).
|
|
804
|
-
return this.
|
|
799
|
+
protoOf(WsPrimitive).g1p = function () {
|
|
800
|
+
return this.d21_1;
|
|
805
801
|
};
|
|
806
|
-
protoOf(WsPrimitive).
|
|
807
|
-
return this.
|
|
802
|
+
protoOf(WsPrimitive).p1v = function () {
|
|
803
|
+
return this.e21_1;
|
|
808
804
|
};
|
|
809
|
-
protoOf(WsPrimitive).
|
|
805
|
+
protoOf(WsPrimitive).u2 = function () {
|
|
810
806
|
return this.type;
|
|
811
807
|
};
|
|
812
|
-
protoOf(WsPrimitive).
|
|
813
|
-
return this.
|
|
808
|
+
protoOf(WsPrimitive).v2 = function () {
|
|
809
|
+
return this.d21_1;
|
|
814
810
|
};
|
|
815
|
-
protoOf(WsPrimitive).
|
|
816
|
-
return this.
|
|
811
|
+
protoOf(WsPrimitive).g20 = function () {
|
|
812
|
+
return this.e21_1;
|
|
817
813
|
};
|
|
818
|
-
protoOf(WsPrimitive).
|
|
814
|
+
protoOf(WsPrimitive).g21 = 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.d21_1 : isIterable;
|
|
820
|
+
isMap = isMap === VOID ? this.e21_1 : isMap;
|
|
821
|
+
return this.g21(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.d21_1 + ', isMap=' + this.e21_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.d21_1 | 0) | 0;
|
|
829
|
+
result = imul(result, 31) + (this.e21_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.d21_1 === tmp0_other_with_cast.d21_1))
|
|
845
841
|
return false;
|
|
846
|
-
if (!(this.
|
|
842
|
+
if (!(this.e21_1 === tmp0_other_with_cast.e21_1))
|
|
847
843
|
return false;
|
|
848
844
|
return true;
|
|
849
845
|
};
|
|
@@ -886,18 +882,18 @@
|
|
|
886
882
|
function WsRequest(content) {
|
|
887
883
|
this.content = content;
|
|
888
884
|
}
|
|
889
|
-
protoOf(WsRequest).
|
|
885
|
+
protoOf(WsRequest).mx = function () {
|
|
890
886
|
return this.content;
|
|
891
887
|
};
|
|
892
|
-
protoOf(WsRequest).
|
|
888
|
+
protoOf(WsRequest).u2 = function () {
|
|
893
889
|
return this.content;
|
|
894
890
|
};
|
|
895
|
-
protoOf(WsRequest).
|
|
891
|
+
protoOf(WsRequest).j21 = 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.j21(content);
|
|
901
897
|
};
|
|
902
898
|
protoOf(WsRequest).toString = function () {
|
|
903
899
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -919,25 +915,25 @@
|
|
|
919
915
|
this.status = status;
|
|
920
916
|
this.content = content;
|
|
921
917
|
}
|
|
922
|
-
protoOf(WsResponse).
|
|
918
|
+
protoOf(WsResponse).k21 = function () {
|
|
923
919
|
return this.status;
|
|
924
920
|
};
|
|
925
|
-
protoOf(WsResponse).
|
|
921
|
+
protoOf(WsResponse).mx = function () {
|
|
926
922
|
return this.content;
|
|
927
923
|
};
|
|
928
|
-
protoOf(WsResponse).
|
|
924
|
+
protoOf(WsResponse).u2 = function () {
|
|
929
925
|
return this.status;
|
|
930
926
|
};
|
|
931
|
-
protoOf(WsResponse).
|
|
927
|
+
protoOf(WsResponse).v2 = function () {
|
|
932
928
|
return this.content;
|
|
933
929
|
};
|
|
934
|
-
protoOf(WsResponse).
|
|
930
|
+
protoOf(WsResponse).l21 = 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.l21(status, content);
|
|
941
937
|
};
|
|
942
938
|
protoOf(WsResponse).toString = function () {
|
|
943
939
|
return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
|
|
@@ -965,32 +961,32 @@
|
|
|
965
961
|
this.reference = reference;
|
|
966
962
|
this.isNullable = isNullable;
|
|
967
963
|
}
|
|
968
|
-
protoOf(WsContent).
|
|
964
|
+
protoOf(WsContent).f21 = function () {
|
|
969
965
|
return this.type;
|
|
970
966
|
};
|
|
971
|
-
protoOf(WsContent).
|
|
967
|
+
protoOf(WsContent).u20 = function () {
|
|
972
968
|
return this.reference;
|
|
973
969
|
};
|
|
974
|
-
protoOf(WsContent).
|
|
970
|
+
protoOf(WsContent).sg = function () {
|
|
975
971
|
return this.isNullable;
|
|
976
972
|
};
|
|
977
|
-
protoOf(WsContent).
|
|
973
|
+
protoOf(WsContent).u2 = function () {
|
|
978
974
|
return this.type;
|
|
979
975
|
};
|
|
980
|
-
protoOf(WsContent).
|
|
976
|
+
protoOf(WsContent).v2 = function () {
|
|
981
977
|
return this.reference;
|
|
982
978
|
};
|
|
983
|
-
protoOf(WsContent).
|
|
979
|
+
protoOf(WsContent).g20 = function () {
|
|
984
980
|
return this.isNullable;
|
|
985
981
|
};
|
|
986
|
-
protoOf(WsContent).
|
|
982
|
+
protoOf(WsContent).m21 = 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.m21(type, reference, isNullable);
|
|
994
990
|
};
|
|
995
991
|
protoOf(WsContent).toString = function () {
|
|
996
992
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1027,20 +1023,20 @@
|
|
|
1027
1023
|
// Inline function 'produce.<anonymous>' call
|
|
1028
1024
|
var tmp;
|
|
1029
1025
|
if (item instanceof Type) {
|
|
1030
|
-
tmp = new WsType(item.
|
|
1026
|
+
tmp = new WsType(item.w1u_1, produce_0(item.x1u_1));
|
|
1031
1027
|
} else {
|
|
1032
1028
|
if (item instanceof Endpoint) {
|
|
1033
|
-
tmp = new WsEndpoint(item.
|
|
1029
|
+
tmp = new WsEndpoint(item.d1u_1, produce_7(item.e1u_1), produce_1(item.f1u_1), produce_3(item.g1u_1), produce_3(item.h1u_1), produce_3(item.i1u_1), produce_10(item.j1u_1), produce_12(item.k1u_1));
|
|
1034
1030
|
} else {
|
|
1035
1031
|
if (item instanceof Enum_0) {
|
|
1036
1032
|
var tmp$ret$0;
|
|
1037
1033
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1038
|
-
var tmp0_toTypedArray = item.
|
|
1034
|
+
var tmp0_toTypedArray = item.g1v_1;
|
|
1039
1035
|
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
1040
|
-
tmp = new WsEnum(item.
|
|
1036
|
+
tmp = new WsEnum(item.f1v_1, tmp$ret$0);
|
|
1041
1037
|
} else {
|
|
1042
1038
|
if (item instanceof Refined) {
|
|
1043
|
-
tmp = new WsRefined(item.
|
|
1039
|
+
tmp = new WsRefined(item.q1v_1, item.r1v_1.s1v_1);
|
|
1044
1040
|
} else {
|
|
1045
1041
|
noWhenBranchMatchedException();
|
|
1046
1042
|
}
|
|
@@ -1056,7 +1052,7 @@
|
|
|
1056
1052
|
var tmp$ret$3;
|
|
1057
1053
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1058
1054
|
// Inline function 'kotlin.collections.map' call
|
|
1059
|
-
var tmp0_map = _this__u8e3s4.
|
|
1055
|
+
var tmp0_map = _this__u8e3s4.h1v_1;
|
|
1060
1056
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1061
1057
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1062
1058
|
var tmp0_iterator = tmp0_map.c();
|
|
@@ -1082,10 +1078,10 @@
|
|
|
1082
1078
|
// Inline function 'produce.<anonymous>' call
|
|
1083
1079
|
var tmp;
|
|
1084
1080
|
if (item instanceof Literal) {
|
|
1085
|
-
tmp = new WsLiteral(item.
|
|
1081
|
+
tmp = new WsLiteral(item.t1v_1);
|
|
1086
1082
|
} else {
|
|
1087
1083
|
if (item instanceof Param) {
|
|
1088
|
-
tmp = new WsParam(produce_4(item.
|
|
1084
|
+
tmp = new WsParam(produce_4(item.l1u_1), produce_5(item.m1u_1));
|
|
1089
1085
|
} else {
|
|
1090
1086
|
noWhenBranchMatchedException();
|
|
1091
1087
|
}
|
|
@@ -1096,7 +1092,7 @@
|
|
|
1096
1092
|
return copyToArray(tmp0_mapTo);
|
|
1097
1093
|
}
|
|
1098
1094
|
function produce_2(_this__u8e3s4) {
|
|
1099
|
-
return new WsField(produce_4(_this__u8e3s4.
|
|
1095
|
+
return new WsField(produce_4(_this__u8e3s4.r1u_1), produce_5(_this__u8e3s4.s1u_1), _this__u8e3s4.t1u_1);
|
|
1100
1096
|
}
|
|
1101
1097
|
function produce_3(_this__u8e3s4) {
|
|
1102
1098
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -1114,21 +1110,21 @@
|
|
|
1114
1110
|
return copyToArray(tmp0_mapTo);
|
|
1115
1111
|
}
|
|
1116
1112
|
function produce_4(_this__u8e3s4) {
|
|
1117
|
-
return new WsIdentifier(_this__u8e3s4.
|
|
1113
|
+
return new WsIdentifier(_this__u8e3s4.q1u_1);
|
|
1118
1114
|
}
|
|
1119
1115
|
function produce_5(_this__u8e3s4) {
|
|
1120
1116
|
var tmp;
|
|
1121
1117
|
if (_this__u8e3s4 instanceof Any) {
|
|
1122
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1118
|
+
tmp = new WsAny(_this__u8e3s4.g1p(), _this__u8e3s4.p1v());
|
|
1123
1119
|
} else {
|
|
1124
1120
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1125
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1121
|
+
tmp = new WsUnit(_this__u8e3s4.g1p(), _this__u8e3s4.p1v());
|
|
1126
1122
|
} else {
|
|
1127
1123
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1128
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1124
|
+
tmp = new WsCustom(_this__u8e3s4.m1v_1, _this__u8e3s4.g1p(), _this__u8e3s4.p1v());
|
|
1129
1125
|
} else {
|
|
1130
1126
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1131
|
-
tmp = new WsPrimitive(produce_6(_this__u8e3s4.
|
|
1127
|
+
tmp = new WsPrimitive(produce_6(_this__u8e3s4.j1v_1), _this__u8e3s4.g1p(), _this__u8e3s4.p1v());
|
|
1132
1128
|
} else {
|
|
1133
1129
|
noWhenBranchMatchedException();
|
|
1134
1130
|
}
|
|
@@ -1139,7 +1135,7 @@
|
|
|
1139
1135
|
}
|
|
1140
1136
|
function produce_6(_this__u8e3s4) {
|
|
1141
1137
|
var tmp;
|
|
1142
|
-
switch (_this__u8e3s4.
|
|
1138
|
+
switch (_this__u8e3s4.d4_1) {
|
|
1143
1139
|
case 0:
|
|
1144
1140
|
tmp = WsPrimitiveType_String_getInstance();
|
|
1145
1141
|
break;
|
|
@@ -1160,7 +1156,7 @@
|
|
|
1160
1156
|
}
|
|
1161
1157
|
function produce_7(_this__u8e3s4) {
|
|
1162
1158
|
var tmp;
|
|
1163
|
-
switch (_this__u8e3s4.
|
|
1159
|
+
switch (_this__u8e3s4.d4_1) {
|
|
1164
1160
|
case 0:
|
|
1165
1161
|
tmp = WsMethod_GET_getInstance();
|
|
1166
1162
|
break;
|
|
@@ -1192,10 +1188,10 @@
|
|
|
1192
1188
|
return tmp;
|
|
1193
1189
|
}
|
|
1194
1190
|
function produce_8(_this__u8e3s4) {
|
|
1195
|
-
return new WsContent(_this__u8e3s4.
|
|
1191
|
+
return new WsContent(_this__u8e3s4.n1u_1, produce_5(_this__u8e3s4.o1u_1), _this__u8e3s4.p1u_1);
|
|
1196
1192
|
}
|
|
1197
1193
|
function produce_9(_this__u8e3s4) {
|
|
1198
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1194
|
+
var tmp0_safe_receiver = _this__u8e3s4.y1t_1;
|
|
1199
1195
|
return new WsRequest(tmp0_safe_receiver == null ? null : produce_8(tmp0_safe_receiver));
|
|
1200
1196
|
}
|
|
1201
1197
|
function produce_10(_this__u8e3s4) {
|
|
@@ -1214,8 +1210,8 @@
|
|
|
1214
1210
|
return copyToArray(tmp0_mapTo);
|
|
1215
1211
|
}
|
|
1216
1212
|
function produce_11(_this__u8e3s4) {
|
|
1217
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1218
|
-
return new WsResponse(_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));
|
|
1219
1215
|
}
|
|
1220
1216
|
function produce_12(_this__u8e3s4) {
|
|
1221
1217
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -1280,9 +1276,6 @@
|
|
|
1280
1276
|
WsPrimitiveType_initEntries();
|
|
1281
1277
|
return WsPrimitiveType_Boolean_instance;
|
|
1282
1278
|
}
|
|
1283
|
-
function cli(args) {
|
|
1284
|
-
main(args);
|
|
1285
|
-
}
|
|
1286
1279
|
function WsCompilationResult(compiled, errors) {
|
|
1287
1280
|
compiled = compiled === VOID ? null : compiled;
|
|
1288
1281
|
var tmp;
|
|
@@ -1296,26 +1289,26 @@
|
|
|
1296
1289
|
this.compiled = compiled;
|
|
1297
1290
|
this.errors = errors;
|
|
1298
1291
|
}
|
|
1299
|
-
protoOf(WsCompilationResult).
|
|
1292
|
+
protoOf(WsCompilationResult).n21 = function () {
|
|
1300
1293
|
return this.compiled;
|
|
1301
1294
|
};
|
|
1302
|
-
protoOf(WsCompilationResult).
|
|
1295
|
+
protoOf(WsCompilationResult).o21 = function () {
|
|
1303
1296
|
return this.errors;
|
|
1304
1297
|
};
|
|
1305
1298
|
function WsCompiled(value) {
|
|
1306
1299
|
this.value = value;
|
|
1307
1300
|
}
|
|
1308
|
-
protoOf(WsCompiled).
|
|
1301
|
+
protoOf(WsCompiled).q = function () {
|
|
1309
1302
|
return this.value;
|
|
1310
1303
|
};
|
|
1311
1304
|
function WsCompiledFile(name, value) {
|
|
1312
1305
|
this.name = name;
|
|
1313
1306
|
this.value = value;
|
|
1314
1307
|
}
|
|
1315
|
-
protoOf(WsCompiledFile).
|
|
1308
|
+
protoOf(WsCompiledFile).te = function () {
|
|
1316
1309
|
return this.name;
|
|
1317
1310
|
};
|
|
1318
|
-
protoOf(WsCompiledFile).
|
|
1311
|
+
protoOf(WsCompiledFile).q = function () {
|
|
1319
1312
|
return this.value;
|
|
1320
1313
|
};
|
|
1321
1314
|
function produce_13(_this__u8e3s4) {
|
|
@@ -1324,12 +1317,12 @@
|
|
|
1324
1317
|
var tmp$ret$5;
|
|
1325
1318
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1326
1319
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1327
|
-
var tmp0_map = _this__u8e3s4.
|
|
1320
|
+
var tmp0_map = _this__u8e3s4.j1n_1;
|
|
1328
1321
|
// Inline function 'produce.<anonymous>' call
|
|
1329
|
-
var tmp1_anonymous = tmp0_map.
|
|
1322
|
+
var tmp1_anonymous = tmp0_map.s1n_1;
|
|
1330
1323
|
var tmp_0 = produce_18(tmp1_anonymous);
|
|
1331
1324
|
// Inline function 'kotlin.collections.map' call
|
|
1332
|
-
var tmp0_map_0 = tmp0_map.
|
|
1325
|
+
var tmp0_map_0 = tmp0_map.t1n_1;
|
|
1333
1326
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1334
1327
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1335
1328
|
var tmp0_iterator = tmp0_map_0.c();
|
|
@@ -1345,7 +1338,7 @@
|
|
|
1345
1338
|
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
1346
1339
|
} else {
|
|
1347
1340
|
if (_this__u8e3s4 instanceof Right) {
|
|
1348
|
-
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.
|
|
1341
|
+
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.o1n_1).z1p_1));
|
|
1349
1342
|
} else {
|
|
1350
1343
|
noWhenBranchMatchedException();
|
|
1351
1344
|
}
|
|
@@ -1360,7 +1353,7 @@
|
|
|
1360
1353
|
var tmp = this;
|
|
1361
1354
|
tmp.logger = new Compiler$Companion$logger$1();
|
|
1362
1355
|
}
|
|
1363
|
-
protoOf(Companion).
|
|
1356
|
+
protoOf(Companion).v1t = function () {
|
|
1364
1357
|
return this.logger;
|
|
1365
1358
|
};
|
|
1366
1359
|
var Companion_instance;
|
|
@@ -1383,11 +1376,11 @@
|
|
|
1383
1376
|
var tmp0_let = tokenize(Wirespec_getInstance(), source);
|
|
1384
1377
|
// Inline function 'kotlin.contracts.contract' call
|
|
1385
1378
|
// Inline function 'Compiler.parse.<anonymous>' call
|
|
1386
|
-
return (new Parser(Companion_getInstance_1().logger)).
|
|
1379
|
+
return (new Parser(Companion_getInstance_1().logger)).v1o(tmp0_let);
|
|
1387
1380
|
};
|
|
1388
1381
|
function Companion_0() {
|
|
1389
1382
|
Companion_instance_0 = this;
|
|
1390
|
-
this.
|
|
1383
|
+
this.p21_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
|
|
1391
1384
|
}
|
|
1392
1385
|
var Companion_instance_0;
|
|
1393
1386
|
function Companion_getInstance_2() {
|
|
@@ -1400,11 +1393,11 @@
|
|
|
1400
1393
|
Compiler.call(this);
|
|
1401
1394
|
}
|
|
1402
1395
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1403
|
-
return produce_13(this.preCompile(source)(Companion_getInstance_2().
|
|
1396
|
+
return produce_13(this.preCompile(source)(Companion_getInstance_2().p21_1));
|
|
1404
1397
|
};
|
|
1405
1398
|
function Companion_1() {
|
|
1406
1399
|
Companion_instance_1 = this;
|
|
1407
|
-
this.
|
|
1400
|
+
this.q21_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
|
|
1408
1401
|
}
|
|
1409
1402
|
var Companion_instance_1;
|
|
1410
1403
|
function Companion_getInstance_3() {
|
|
@@ -1417,11 +1410,11 @@
|
|
|
1417
1410
|
Compiler.call(this);
|
|
1418
1411
|
}
|
|
1419
1412
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1420
|
-
return produce_13(this.preCompile(source)(Companion_getInstance_3().
|
|
1413
|
+
return produce_13(this.preCompile(source)(Companion_getInstance_3().q21_1));
|
|
1421
1414
|
};
|
|
1422
1415
|
function Companion_2() {
|
|
1423
1416
|
Companion_instance_2 = this;
|
|
1424
|
-
this.
|
|
1417
|
+
this.r21_1 = new WirespecEmitter(Companion_getInstance_1().logger);
|
|
1425
1418
|
}
|
|
1426
1419
|
var Companion_instance_2;
|
|
1427
1420
|
function Companion_getInstance_4() {
|
|
@@ -1434,13 +1427,13 @@
|
|
|
1434
1427
|
Compiler.call(this);
|
|
1435
1428
|
}
|
|
1436
1429
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1437
|
-
return produce_13(this.preCompile(source)(Companion_getInstance_4().
|
|
1430
|
+
return produce_13(this.preCompile(source)(Companion_getInstance_4().r21_1));
|
|
1438
1431
|
};
|
|
1439
1432
|
function OpenApiV2Parser() {
|
|
1440
1433
|
OpenApiV2Parser_instance = this;
|
|
1441
1434
|
}
|
|
1442
1435
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1443
|
-
return produce(Companion_getInstance().
|
|
1436
|
+
return produce(Companion_getInstance().x1y(source));
|
|
1444
1437
|
};
|
|
1445
1438
|
var OpenApiV2Parser_instance;
|
|
1446
1439
|
function OpenApiV2Parser_getInstance() {
|
|
@@ -1452,7 +1445,7 @@
|
|
|
1452
1445
|
OpenApiV3Parser_instance = this;
|
|
1453
1446
|
}
|
|
1454
1447
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
1455
|
-
return produce(Companion_getInstance_0().
|
|
1448
|
+
return produce(Companion_getInstance_0().k1z(source));
|
|
1456
1449
|
};
|
|
1457
1450
|
var OpenApiV3Parser_instance;
|
|
1458
1451
|
function OpenApiV3Parser_getInstance() {
|
|
@@ -1467,16 +1460,16 @@
|
|
|
1467
1460
|
OpenApiV3ToTypescript_instance = this;
|
|
1468
1461
|
var tmp = this;
|
|
1469
1462
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
1470
|
-
this.
|
|
1463
|
+
this.s21_1 = new TypeScriptEmitter(this.logger);
|
|
1471
1464
|
}
|
|
1472
|
-
protoOf(OpenApiV3ToTypescript).
|
|
1465
|
+
protoOf(OpenApiV3ToTypescript).v1t = function () {
|
|
1473
1466
|
return this.logger;
|
|
1474
1467
|
};
|
|
1475
1468
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
1476
|
-
var ast = Companion_getInstance_0().
|
|
1469
|
+
var ast = Companion_getInstance_0().k1z(source);
|
|
1477
1470
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1478
1471
|
// Inline function 'kotlin.collections.map' call
|
|
1479
|
-
var tmp0_map = this.
|
|
1472
|
+
var tmp0_map = this.s21_1.p1o(ast);
|
|
1480
1473
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1481
1474
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1482
1475
|
var tmp0_iterator = tmp0_map.c();
|
|
@@ -1484,8 +1477,8 @@
|
|
|
1484
1477
|
var item = tmp0_iterator.e();
|
|
1485
1478
|
var tmp$ret$0;
|
|
1486
1479
|
// Inline function 'OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
1487
|
-
var file = item.
|
|
1488
|
-
var value = item.
|
|
1480
|
+
var file = item.u2();
|
|
1481
|
+
var value = item.v2();
|
|
1489
1482
|
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
1490
1483
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1491
1484
|
}
|
|
@@ -1503,25 +1496,25 @@
|
|
|
1503
1496
|
this.tokens = tokens;
|
|
1504
1497
|
this.error = error;
|
|
1505
1498
|
}
|
|
1506
|
-
protoOf(WsTokenResult).
|
|
1499
|
+
protoOf(WsTokenResult).t21 = function () {
|
|
1507
1500
|
return this.tokens;
|
|
1508
1501
|
};
|
|
1509
|
-
protoOf(WsTokenResult).
|
|
1502
|
+
protoOf(WsTokenResult).u21 = function () {
|
|
1510
1503
|
return this.error;
|
|
1511
1504
|
};
|
|
1512
|
-
protoOf(WsTokenResult).
|
|
1505
|
+
protoOf(WsTokenResult).u2 = function () {
|
|
1513
1506
|
return this.tokens;
|
|
1514
1507
|
};
|
|
1515
|
-
protoOf(WsTokenResult).
|
|
1508
|
+
protoOf(WsTokenResult).v2 = function () {
|
|
1516
1509
|
return this.error;
|
|
1517
1510
|
};
|
|
1518
|
-
protoOf(WsTokenResult).
|
|
1511
|
+
protoOf(WsTokenResult).v21 = function (tokens, error) {
|
|
1519
1512
|
return new WsTokenResult(tokens, error);
|
|
1520
1513
|
};
|
|
1521
1514
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
1522
1515
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
1523
1516
|
error = error === VOID ? this.error : error;
|
|
1524
|
-
return this.
|
|
1517
|
+
return this.v21(tokens, error);
|
|
1525
1518
|
};
|
|
1526
1519
|
protoOf(WsTokenResult).toString = function () {
|
|
1527
1520
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -1546,7 +1539,7 @@
|
|
|
1546
1539
|
function WsTokens(value) {
|
|
1547
1540
|
this.value = value;
|
|
1548
1541
|
}
|
|
1549
|
-
protoOf(WsTokens).
|
|
1542
|
+
protoOf(WsTokens).q = function () {
|
|
1550
1543
|
return this.value;
|
|
1551
1544
|
};
|
|
1552
1545
|
protoOf(WsTokens).equals = function (other) {
|
|
@@ -1563,15 +1556,15 @@
|
|
|
1563
1556
|
protoOf(WsTokens).hashCode = function () {
|
|
1564
1557
|
return contentHashCode(this.value);
|
|
1565
1558
|
};
|
|
1566
|
-
protoOf(WsTokens).
|
|
1559
|
+
protoOf(WsTokens).u2 = function () {
|
|
1567
1560
|
return this.value;
|
|
1568
1561
|
};
|
|
1569
|
-
protoOf(WsTokens).
|
|
1562
|
+
protoOf(WsTokens).w21 = function (value) {
|
|
1570
1563
|
return new WsTokens(value);
|
|
1571
1564
|
};
|
|
1572
1565
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
1573
1566
|
value = value === VOID ? this.value : value;
|
|
1574
|
-
return this.
|
|
1567
|
+
return this.w21(value);
|
|
1575
1568
|
};
|
|
1576
1569
|
protoOf(WsTokens).toString = function () {
|
|
1577
1570
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -1582,32 +1575,32 @@
|
|
|
1582
1575
|
this.value = value;
|
|
1583
1576
|
this.coordinates = coordinates;
|
|
1584
1577
|
}
|
|
1585
|
-
protoOf(WsToken).
|
|
1578
|
+
protoOf(WsToken).f21 = function () {
|
|
1586
1579
|
return this.type;
|
|
1587
1580
|
};
|
|
1588
|
-
protoOf(WsToken).
|
|
1581
|
+
protoOf(WsToken).q = function () {
|
|
1589
1582
|
return this.value;
|
|
1590
1583
|
};
|
|
1591
|
-
protoOf(WsToken).
|
|
1584
|
+
protoOf(WsToken).x21 = function () {
|
|
1592
1585
|
return this.coordinates;
|
|
1593
1586
|
};
|
|
1594
|
-
protoOf(WsToken).
|
|
1587
|
+
protoOf(WsToken).u2 = function () {
|
|
1595
1588
|
return this.type;
|
|
1596
1589
|
};
|
|
1597
|
-
protoOf(WsToken).
|
|
1590
|
+
protoOf(WsToken).v2 = function () {
|
|
1598
1591
|
return this.value;
|
|
1599
1592
|
};
|
|
1600
|
-
protoOf(WsToken).
|
|
1593
|
+
protoOf(WsToken).g20 = function () {
|
|
1601
1594
|
return this.coordinates;
|
|
1602
1595
|
};
|
|
1603
|
-
protoOf(WsToken).
|
|
1596
|
+
protoOf(WsToken).y21 = function (type, value, coordinates) {
|
|
1604
1597
|
return new WsToken(type, value, coordinates);
|
|
1605
1598
|
};
|
|
1606
1599
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
1607
1600
|
type = type === VOID ? this.type : type;
|
|
1608
1601
|
value = value === VOID ? this.value : value;
|
|
1609
1602
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
1610
|
-
return this.
|
|
1603
|
+
return this.y21(type, value, coordinates);
|
|
1611
1604
|
};
|
|
1612
1605
|
protoOf(WsToken).toString = function () {
|
|
1613
1606
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -1640,32 +1633,32 @@
|
|
|
1640
1633
|
this.position = position;
|
|
1641
1634
|
this.idxAndLength = idxAndLength;
|
|
1642
1635
|
}
|
|
1643
|
-
protoOf(WsCoordinates).
|
|
1636
|
+
protoOf(WsCoordinates).z21 = function () {
|
|
1644
1637
|
return this.line;
|
|
1645
1638
|
};
|
|
1646
|
-
protoOf(WsCoordinates).
|
|
1639
|
+
protoOf(WsCoordinates).nm = function () {
|
|
1647
1640
|
return this.position;
|
|
1648
1641
|
};
|
|
1649
|
-
protoOf(WsCoordinates).
|
|
1642
|
+
protoOf(WsCoordinates).a22 = function () {
|
|
1650
1643
|
return this.idxAndLength;
|
|
1651
1644
|
};
|
|
1652
|
-
protoOf(WsCoordinates).
|
|
1645
|
+
protoOf(WsCoordinates).u2 = function () {
|
|
1653
1646
|
return this.line;
|
|
1654
1647
|
};
|
|
1655
|
-
protoOf(WsCoordinates).
|
|
1648
|
+
protoOf(WsCoordinates).v2 = function () {
|
|
1656
1649
|
return this.position;
|
|
1657
1650
|
};
|
|
1658
|
-
protoOf(WsCoordinates).
|
|
1651
|
+
protoOf(WsCoordinates).g20 = function () {
|
|
1659
1652
|
return this.idxAndLength;
|
|
1660
1653
|
};
|
|
1661
|
-
protoOf(WsCoordinates).
|
|
1654
|
+
protoOf(WsCoordinates).b22 = function (line, position, idxAndLength) {
|
|
1662
1655
|
return new WsCoordinates(line, position, idxAndLength);
|
|
1663
1656
|
};
|
|
1664
1657
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
1665
1658
|
line = line === VOID ? this.line : line;
|
|
1666
1659
|
position = position === VOID ? this.position : position;
|
|
1667
1660
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
1668
|
-
return this.
|
|
1661
|
+
return this.b22(line, position, idxAndLength);
|
|
1669
1662
|
};
|
|
1670
1663
|
protoOf(WsCoordinates).toString = function () {
|
|
1671
1664
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -1696,25 +1689,25 @@
|
|
|
1696
1689
|
this.idx = idx;
|
|
1697
1690
|
this.length = length;
|
|
1698
1691
|
}
|
|
1699
|
-
protoOf(WsIndex).
|
|
1692
|
+
protoOf(WsIndex).c22 = function () {
|
|
1700
1693
|
return this.idx;
|
|
1701
1694
|
};
|
|
1702
|
-
protoOf(WsIndex).
|
|
1695
|
+
protoOf(WsIndex).n8 = function () {
|
|
1703
1696
|
return this.length;
|
|
1704
1697
|
};
|
|
1705
|
-
protoOf(WsIndex).
|
|
1698
|
+
protoOf(WsIndex).u2 = function () {
|
|
1706
1699
|
return this.idx;
|
|
1707
1700
|
};
|
|
1708
|
-
protoOf(WsIndex).
|
|
1701
|
+
protoOf(WsIndex).v2 = function () {
|
|
1709
1702
|
return this.length;
|
|
1710
1703
|
};
|
|
1711
|
-
protoOf(WsIndex).
|
|
1704
|
+
protoOf(WsIndex).d22 = function (idx, length) {
|
|
1712
1705
|
return new WsIndex(idx, length);
|
|
1713
1706
|
};
|
|
1714
1707
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
1715
1708
|
idx = idx === VOID ? this.idx : idx;
|
|
1716
1709
|
length = length === VOID ? this.length : length;
|
|
1717
|
-
return this.
|
|
1710
|
+
return this.d22(idx, length);
|
|
1718
1711
|
};
|
|
1719
1712
|
protoOf(WsIndex).toString = function () {
|
|
1720
1713
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -1754,45 +1747,45 @@
|
|
|
1754
1747
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
1755
1748
|
}
|
|
1756
1749
|
function produce_15(_this__u8e3s4) {
|
|
1757
|
-
return new WsToken(_this__u8e3s4.
|
|
1750
|
+
return new WsToken(_this__u8e3s4.s1w_1.v1w(), _this__u8e3s4.t1w_1, produce_16(_this__u8e3s4.u1w_1));
|
|
1758
1751
|
}
|
|
1759
1752
|
function produce_16(_this__u8e3s4) {
|
|
1760
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
1753
|
+
return new WsCoordinates(_this__u8e3s4.w1w_1, _this__u8e3s4.x1w_1, produce_17(_this__u8e3s4.y1w_1));
|
|
1761
1754
|
}
|
|
1762
1755
|
function produce_17(_this__u8e3s4) {
|
|
1763
|
-
return new WsIndex(_this__u8e3s4.
|
|
1756
|
+
return new WsIndex(_this__u8e3s4.n1y_1, _this__u8e3s4.o1y_1);
|
|
1764
1757
|
}
|
|
1765
1758
|
function WsError(index, length, value) {
|
|
1766
1759
|
this.index = index;
|
|
1767
1760
|
this.length = length;
|
|
1768
1761
|
this.value = value;
|
|
1769
1762
|
}
|
|
1770
|
-
protoOf(WsError).
|
|
1763
|
+
protoOf(WsError).e22 = function () {
|
|
1771
1764
|
return this.index;
|
|
1772
1765
|
};
|
|
1773
|
-
protoOf(WsError).
|
|
1766
|
+
protoOf(WsError).n8 = function () {
|
|
1774
1767
|
return this.length;
|
|
1775
1768
|
};
|
|
1776
|
-
protoOf(WsError).
|
|
1769
|
+
protoOf(WsError).q = function () {
|
|
1777
1770
|
return this.value;
|
|
1778
1771
|
};
|
|
1779
|
-
protoOf(WsError).
|
|
1772
|
+
protoOf(WsError).u2 = function () {
|
|
1780
1773
|
return this.index;
|
|
1781
1774
|
};
|
|
1782
|
-
protoOf(WsError).
|
|
1775
|
+
protoOf(WsError).v2 = function () {
|
|
1783
1776
|
return this.length;
|
|
1784
1777
|
};
|
|
1785
|
-
protoOf(WsError).
|
|
1778
|
+
protoOf(WsError).g20 = function () {
|
|
1786
1779
|
return this.value;
|
|
1787
1780
|
};
|
|
1788
|
-
protoOf(WsError).
|
|
1781
|
+
protoOf(WsError).f22 = function (index, length, value) {
|
|
1789
1782
|
return new WsError(index, length, value);
|
|
1790
1783
|
};
|
|
1791
1784
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
1792
1785
|
index = index === VOID ? this.index : index;
|
|
1793
1786
|
length = length === VOID ? this.length : length;
|
|
1794
1787
|
value = value === VOID ? this.value : value;
|
|
1795
|
-
return this.
|
|
1788
|
+
return this.f22(index, length, value);
|
|
1796
1789
|
};
|
|
1797
1790
|
protoOf(WsError).toString = function () {
|
|
1798
1791
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -1818,39 +1811,39 @@
|
|
|
1818
1811
|
return true;
|
|
1819
1812
|
};
|
|
1820
1813
|
function produce_18(_this__u8e3s4) {
|
|
1821
|
-
var tmp = _this__u8e3s4.
|
|
1814
|
+
var tmp = _this__u8e3s4.z1w_1.y1w_1.n1y_1 - _this__u8e3s4.z1w_1.y1w_1.o1y_1 | 0;
|
|
1822
1815
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
1823
|
-
return new WsError(tmp, _this__u8e3s4.
|
|
1816
|
+
return new WsError(tmp, _this__u8e3s4.z1w_1.y1w_1.o1y_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
1824
1817
|
}
|
|
1825
1818
|
//region block: post-declaration
|
|
1826
|
-
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).
|
|
1827
|
-
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).
|
|
1819
|
+
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).te, VOID);
|
|
1820
|
+
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).ue, VOID);
|
|
1828
1821
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
1829
|
-
return this.
|
|
1822
|
+
return this.g1p();
|
|
1830
1823
|
}, VOID);
|
|
1831
1824
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
1832
|
-
return this.
|
|
1825
|
+
return this.p1v();
|
|
1833
1826
|
}, VOID);
|
|
1834
1827
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
1835
|
-
return this.
|
|
1828
|
+
return this.g1p();
|
|
1836
1829
|
}, VOID);
|
|
1837
1830
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
1838
|
-
return this.
|
|
1831
|
+
return this.p1v();
|
|
1839
1832
|
}, VOID);
|
|
1840
1833
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
1841
|
-
return this.
|
|
1834
|
+
return this.g1p();
|
|
1842
1835
|
}, VOID);
|
|
1843
1836
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
1844
|
-
return this.
|
|
1837
|
+
return this.p1v();
|
|
1845
1838
|
}, VOID);
|
|
1846
1839
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
1847
|
-
return this.
|
|
1840
|
+
return this.g1p();
|
|
1848
1841
|
}, VOID);
|
|
1849
1842
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
1850
|
-
return this.
|
|
1843
|
+
return this.p1v();
|
|
1851
1844
|
}, VOID);
|
|
1852
|
-
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).
|
|
1853
|
-
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).
|
|
1845
|
+
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).te, VOID);
|
|
1846
|
+
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ue, VOID);
|
|
1854
1847
|
//endregion
|
|
1855
1848
|
//region block: exports
|
|
1856
1849
|
function $jsExportAll$(_) {
|
|
@@ -1889,7 +1882,6 @@
|
|
|
1889
1882
|
_.WsRequest = WsRequest;
|
|
1890
1883
|
_.WsResponse = WsResponse;
|
|
1891
1884
|
_.WsContent = WsContent;
|
|
1892
|
-
_.cli = cli;
|
|
1893
1885
|
_.WsCompilationResult = WsCompilationResult;
|
|
1894
1886
|
_.WsCompiled = WsCompiled;
|
|
1895
1887
|
_.WsCompiledFile = WsCompiledFile;
|