@flock/wirespec 0.8.49 → 0.8.50
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/clikt-clikt.js +1150 -1150
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +362 -362
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +10 -10
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +1838 -1838
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +1586 -1586
- package/mordant-mordant.js.map +1 -1
- package/package.json +3 -3
- package/wirespec-src-compiler-core.js +31 -31
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +336 -260
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +20 -20
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +284 -283
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +380 -0
- package/wirespec-src-plugin-npm.js +57 -0
- package/wirespec-src-plugin-npm.js.map +1 -0
|
@@ -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', './wirespec-src-converter-openapi.js', './arrow-arrow-core.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('./wirespec-src-converter-openapi.js'), require('./arrow-arrow-core.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,15 +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['arrow-arrow-core'] === 'undefined') {
|
|
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'.");
|
|
15
|
-
}
|
|
16
13
|
if (typeof this['wirespec-src-converter-openapi'] === 'undefined') {
|
|
17
14
|
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'.");
|
|
18
15
|
}
|
|
19
|
-
|
|
16
|
+
if (typeof this['arrow-arrow-core'] === 'undefined') {
|
|
17
|
+
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
|
+
}
|
|
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['wirespec-src-converter-openapi'], this['arrow-arrow-core']);
|
|
20
20
|
}
|
|
21
|
-
}(this, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core,
|
|
21
|
+
}(this, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core, kotlin_community_flock_wirespec_converter_openapi, kotlin_io_arrow_kt_arrow_core) {
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
var setMetadataFor = kotlin_kotlin.$_$.r9;
|
|
29
29
|
var getStringHashCode = kotlin_kotlin.$_$.s8;
|
|
30
30
|
var THROW_CCE = kotlin_kotlin.$_$.ld;
|
|
31
|
+
var defineProp = kotlin_kotlin.$_$.n8;
|
|
31
32
|
var classMeta = kotlin_kotlin.$_$.l8;
|
|
32
33
|
var toString = kotlin_kotlin.$_$.v9;
|
|
33
34
|
var hashCode = kotlin_kotlin.$_$.t8;
|
|
@@ -35,7 +36,6 @@
|
|
|
35
36
|
var THROW_ISE = kotlin_kotlin.$_$.md;
|
|
36
37
|
var Unit_getInstance = kotlin_kotlin.$_$.t3;
|
|
37
38
|
var Enum = kotlin_kotlin.$_$.cd;
|
|
38
|
-
var defineProp = kotlin_kotlin.$_$.n8;
|
|
39
39
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.q4;
|
|
40
40
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
41
41
|
var copyToArray = kotlin_kotlin.$_$.d5;
|
|
@@ -50,10 +50,6 @@
|
|
|
50
50
|
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.t;
|
|
51
51
|
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
52
52
|
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.s;
|
|
53
|
-
var first = kotlin_kotlin.$_$.n5;
|
|
54
|
-
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
55
|
-
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
56
|
-
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
57
53
|
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
58
54
|
var objectMeta = kotlin_kotlin.$_$.p9;
|
|
59
55
|
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
@@ -65,6 +61,10 @@
|
|
|
65
61
|
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
66
62
|
var Companion_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.a;
|
|
67
63
|
var Companion_getInstance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
64
|
+
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
65
|
+
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
66
|
+
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
67
|
+
var first = kotlin_kotlin.$_$.n5;
|
|
68
68
|
var contentEquals = kotlin_kotlin.$_$.s4;
|
|
69
69
|
var contentHashCode = kotlin_kotlin.$_$.t4;
|
|
70
70
|
//endregion
|
|
@@ -91,9 +91,6 @@
|
|
|
91
91
|
setMetadataFor(WsRequest, 'WsRequest', classMeta);
|
|
92
92
|
setMetadataFor(WsResponse, 'WsResponse', classMeta);
|
|
93
93
|
setMetadataFor(WsContent, 'WsContent', classMeta);
|
|
94
|
-
setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta);
|
|
95
|
-
setMetadataFor(WsCompiled, 'WsCompiled', classMeta);
|
|
96
|
-
setMetadataFor(WsCompiledFile, 'WsCompiledFile', classMeta);
|
|
97
94
|
setMetadataFor(Compiler$Companion$logger$1, VOID, classMeta, Logger);
|
|
98
95
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
99
96
|
setMetadataFor(Compiler, 'Compiler', classMeta);
|
|
@@ -107,6 +104,10 @@
|
|
|
107
104
|
setMetadataFor(OpenApiV3Parser, 'OpenApiV3Parser', objectMeta);
|
|
108
105
|
setMetadataFor(OpenApiV3ToTypescript$logger$1, VOID, classMeta, Logger);
|
|
109
106
|
setMetadataFor(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript', objectMeta);
|
|
107
|
+
setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta);
|
|
108
|
+
setMetadataFor(WsCompiled, 'WsCompiled', classMeta);
|
|
109
|
+
setMetadataFor(WsCompiledFile, 'WsCompiledFile', classMeta);
|
|
110
|
+
setMetadataFor(WsParseResult, 'WsParseResult', classMeta);
|
|
110
111
|
setMetadataFor(WsTokenResult, 'WsTokenResult', classMeta);
|
|
111
112
|
setMetadataFor(WsTokens, 'WsTokens', classMeta);
|
|
112
113
|
setMetadataFor(WsToken, 'WsToken', classMeta);
|
|
@@ -117,34 +118,34 @@
|
|
|
117
118
|
function WsNode() {
|
|
118
119
|
}
|
|
119
120
|
function WsType(name, shape) {
|
|
120
|
-
this.
|
|
121
|
+
this.o23_1 = name;
|
|
121
122
|
this.shape = shape;
|
|
122
123
|
}
|
|
123
124
|
protoOf(WsType).bh = function () {
|
|
124
|
-
return this.
|
|
125
|
+
return this.o23_1;
|
|
125
126
|
};
|
|
126
|
-
protoOf(WsType).
|
|
127
|
+
protoOf(WsType).p23 = function () {
|
|
127
128
|
return this.shape;
|
|
128
129
|
};
|
|
129
130
|
protoOf(WsType).e3 = function () {
|
|
130
|
-
return this.
|
|
131
|
+
return this.o23_1;
|
|
131
132
|
};
|
|
132
133
|
protoOf(WsType).f3 = function () {
|
|
133
134
|
return this.shape;
|
|
134
135
|
};
|
|
135
|
-
protoOf(WsType).
|
|
136
|
+
protoOf(WsType).q23 = function (name, shape) {
|
|
136
137
|
return new WsType(name, shape);
|
|
137
138
|
};
|
|
138
139
|
protoOf(WsType).copy = function (name, shape, $super) {
|
|
139
|
-
name = name === VOID ? this.
|
|
140
|
+
name = name === VOID ? this.o23_1 : name;
|
|
140
141
|
shape = shape === VOID ? this.shape : shape;
|
|
141
|
-
return this.
|
|
142
|
+
return this.q23(name, shape);
|
|
142
143
|
};
|
|
143
144
|
protoOf(WsType).toString = function () {
|
|
144
|
-
return 'WsType(name=' + this.
|
|
145
|
+
return 'WsType(name=' + this.o23_1 + ', shape=' + this.shape + ')';
|
|
145
146
|
};
|
|
146
147
|
protoOf(WsType).hashCode = function () {
|
|
147
|
-
var result = getStringHashCode(this.
|
|
148
|
+
var result = getStringHashCode(this.o23_1);
|
|
148
149
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
149
150
|
return result;
|
|
150
151
|
};
|
|
@@ -154,7 +155,7 @@
|
|
|
154
155
|
if (!(other instanceof WsType))
|
|
155
156
|
return false;
|
|
156
157
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
157
|
-
if (!(this.
|
|
158
|
+
if (!(this.o23_1 === tmp0_other_with_cast.o23_1))
|
|
158
159
|
return false;
|
|
159
160
|
if (!this.shape.equals(tmp0_other_with_cast.shape))
|
|
160
161
|
return false;
|
|
@@ -169,12 +170,12 @@
|
|
|
169
170
|
protoOf(WsShape).e3 = function () {
|
|
170
171
|
return this.value;
|
|
171
172
|
};
|
|
172
|
-
protoOf(WsShape).
|
|
173
|
+
protoOf(WsShape).r23 = function (value) {
|
|
173
174
|
return new WsShape(value);
|
|
174
175
|
};
|
|
175
176
|
protoOf(WsShape).copy = function (value, $super) {
|
|
176
177
|
value = value === VOID ? this.value : value;
|
|
177
|
-
return this.
|
|
178
|
+
return this.r23(value);
|
|
178
179
|
};
|
|
179
180
|
protoOf(WsShape).toString = function () {
|
|
180
181
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
return true;
|
|
194
195
|
};
|
|
195
196
|
function WsEndpoint(name, method, path, query, headers, cookies, requests, responses) {
|
|
196
|
-
this.
|
|
197
|
+
this.s23_1 = name;
|
|
197
198
|
this.method = method;
|
|
198
199
|
this.path = path;
|
|
199
200
|
this.query = query;
|
|
@@ -203,31 +204,31 @@
|
|
|
203
204
|
this.responses = responses;
|
|
204
205
|
}
|
|
205
206
|
protoOf(WsEndpoint).bh = function () {
|
|
206
|
-
return this.
|
|
207
|
+
return this.s23_1;
|
|
207
208
|
};
|
|
208
|
-
protoOf(WsEndpoint).
|
|
209
|
+
protoOf(WsEndpoint).t23 = function () {
|
|
209
210
|
return this.method;
|
|
210
211
|
};
|
|
211
|
-
protoOf(WsEndpoint).
|
|
212
|
+
protoOf(WsEndpoint).u23 = function () {
|
|
212
213
|
return this.path;
|
|
213
214
|
};
|
|
214
|
-
protoOf(WsEndpoint).
|
|
215
|
+
protoOf(WsEndpoint).v23 = function () {
|
|
215
216
|
return this.query;
|
|
216
217
|
};
|
|
217
|
-
protoOf(WsEndpoint).
|
|
218
|
+
protoOf(WsEndpoint).w23 = function () {
|
|
218
219
|
return this.headers;
|
|
219
220
|
};
|
|
220
|
-
protoOf(WsEndpoint).
|
|
221
|
+
protoOf(WsEndpoint).x23 = function () {
|
|
221
222
|
return this.cookies;
|
|
222
223
|
};
|
|
223
|
-
protoOf(WsEndpoint).
|
|
224
|
+
protoOf(WsEndpoint).y23 = function () {
|
|
224
225
|
return this.requests;
|
|
225
226
|
};
|
|
226
|
-
protoOf(WsEndpoint).
|
|
227
|
+
protoOf(WsEndpoint).z23 = function () {
|
|
227
228
|
return this.responses;
|
|
228
229
|
};
|
|
229
230
|
protoOf(WsEndpoint).e3 = function () {
|
|
230
|
-
return this.
|
|
231
|
+
return this.s23_1;
|
|
231
232
|
};
|
|
232
233
|
protoOf(WsEndpoint).f3 = function () {
|
|
233
234
|
return this.method;
|
|
@@ -235,26 +236,26 @@
|
|
|
235
236
|
protoOf(WsEndpoint).c8 = function () {
|
|
236
237
|
return this.path;
|
|
237
238
|
};
|
|
238
|
-
protoOf(WsEndpoint).
|
|
239
|
+
protoOf(WsEndpoint).a24 = function () {
|
|
239
240
|
return this.query;
|
|
240
241
|
};
|
|
241
|
-
protoOf(WsEndpoint).
|
|
242
|
+
protoOf(WsEndpoint).b24 = function () {
|
|
242
243
|
return this.headers;
|
|
243
244
|
};
|
|
244
|
-
protoOf(WsEndpoint).
|
|
245
|
+
protoOf(WsEndpoint).c24 = function () {
|
|
245
246
|
return this.cookies;
|
|
246
247
|
};
|
|
247
|
-
protoOf(WsEndpoint).
|
|
248
|
+
protoOf(WsEndpoint).d24 = function () {
|
|
248
249
|
return this.requests;
|
|
249
250
|
};
|
|
250
|
-
protoOf(WsEndpoint).
|
|
251
|
+
protoOf(WsEndpoint).e24 = function () {
|
|
251
252
|
return this.responses;
|
|
252
253
|
};
|
|
253
|
-
protoOf(WsEndpoint).
|
|
254
|
+
protoOf(WsEndpoint).f24 = function (name, method, path, query, headers, cookies, requests, responses) {
|
|
254
255
|
return new WsEndpoint(name, method, path, query, headers, cookies, requests, responses);
|
|
255
256
|
};
|
|
256
257
|
protoOf(WsEndpoint).copy = function (name, method, path, query, headers, cookies, requests, responses, $super) {
|
|
257
|
-
name = name === VOID ? this.
|
|
258
|
+
name = name === VOID ? this.s23_1 : name;
|
|
258
259
|
method = method === VOID ? this.method : method;
|
|
259
260
|
path = path === VOID ? this.path : path;
|
|
260
261
|
query = query === VOID ? this.query : query;
|
|
@@ -262,13 +263,13 @@
|
|
|
262
263
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
263
264
|
requests = requests === VOID ? this.requests : requests;
|
|
264
265
|
responses = responses === VOID ? this.responses : responses;
|
|
265
|
-
return this.
|
|
266
|
+
return this.f24(name, method, path, query, headers, cookies, requests, responses);
|
|
266
267
|
};
|
|
267
268
|
protoOf(WsEndpoint).toString = function () {
|
|
268
|
-
return 'WsEndpoint(name=' + this.
|
|
269
|
+
return 'WsEndpoint(name=' + this.s23_1 + ', method=' + this.method + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
|
|
269
270
|
};
|
|
270
271
|
protoOf(WsEndpoint).hashCode = function () {
|
|
271
|
-
var result = getStringHashCode(this.
|
|
272
|
+
var result = getStringHashCode(this.s23_1);
|
|
272
273
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
273
274
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
274
275
|
result = imul(result, 31) + hashCode(this.query) | 0;
|
|
@@ -284,7 +285,7 @@
|
|
|
284
285
|
if (!(other instanceof WsEndpoint))
|
|
285
286
|
return false;
|
|
286
287
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
287
|
-
if (!(this.
|
|
288
|
+
if (!(this.s23_1 === tmp0_other_with_cast.s23_1))
|
|
288
289
|
return false;
|
|
289
290
|
if (!this.method.equals(tmp0_other_with_cast.method))
|
|
290
291
|
return false;
|
|
@@ -303,34 +304,34 @@
|
|
|
303
304
|
return true;
|
|
304
305
|
};
|
|
305
306
|
function WsEnum(name, entries) {
|
|
306
|
-
this.
|
|
307
|
+
this.g24_1 = name;
|
|
307
308
|
this.entries = entries;
|
|
308
309
|
}
|
|
309
310
|
protoOf(WsEnum).bh = function () {
|
|
310
|
-
return this.
|
|
311
|
+
return this.g24_1;
|
|
311
312
|
};
|
|
312
313
|
protoOf(WsEnum).w = function () {
|
|
313
314
|
return this.entries;
|
|
314
315
|
};
|
|
315
316
|
protoOf(WsEnum).e3 = function () {
|
|
316
|
-
return this.
|
|
317
|
+
return this.g24_1;
|
|
317
318
|
};
|
|
318
319
|
protoOf(WsEnum).f3 = function () {
|
|
319
320
|
return this.entries;
|
|
320
321
|
};
|
|
321
|
-
protoOf(WsEnum).
|
|
322
|
+
protoOf(WsEnum).h24 = function (name, entries) {
|
|
322
323
|
return new WsEnum(name, entries);
|
|
323
324
|
};
|
|
324
325
|
protoOf(WsEnum).copy = function (name, entries, $super) {
|
|
325
|
-
name = name === VOID ? this.
|
|
326
|
+
name = name === VOID ? this.g24_1 : name;
|
|
326
327
|
entries = entries === VOID ? this.entries : entries;
|
|
327
|
-
return this.
|
|
328
|
+
return this.h24(name, entries);
|
|
328
329
|
};
|
|
329
330
|
protoOf(WsEnum).toString = function () {
|
|
330
|
-
return 'WsEnum(name=' + this.
|
|
331
|
+
return 'WsEnum(name=' + this.g24_1 + ', entries=' + toString(this.entries) + ')';
|
|
331
332
|
};
|
|
332
333
|
protoOf(WsEnum).hashCode = function () {
|
|
333
|
-
var result = getStringHashCode(this.
|
|
334
|
+
var result = getStringHashCode(this.g24_1);
|
|
334
335
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
335
336
|
return result;
|
|
336
337
|
};
|
|
@@ -340,41 +341,41 @@
|
|
|
340
341
|
if (!(other instanceof WsEnum))
|
|
341
342
|
return false;
|
|
342
343
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
343
|
-
if (!(this.
|
|
344
|
+
if (!(this.g24_1 === tmp0_other_with_cast.g24_1))
|
|
344
345
|
return false;
|
|
345
346
|
if (!equals(this.entries, tmp0_other_with_cast.entries))
|
|
346
347
|
return false;
|
|
347
348
|
return true;
|
|
348
349
|
};
|
|
349
350
|
function WsRefined(name, validator) {
|
|
350
|
-
this.
|
|
351
|
+
this.i24_1 = name;
|
|
351
352
|
this.validator = validator;
|
|
352
353
|
}
|
|
353
354
|
protoOf(WsRefined).bh = function () {
|
|
354
|
-
return this.
|
|
355
|
+
return this.i24_1;
|
|
355
356
|
};
|
|
356
|
-
protoOf(WsRefined).
|
|
357
|
+
protoOf(WsRefined).j24 = function () {
|
|
357
358
|
return this.validator;
|
|
358
359
|
};
|
|
359
360
|
protoOf(WsRefined).e3 = function () {
|
|
360
|
-
return this.
|
|
361
|
+
return this.i24_1;
|
|
361
362
|
};
|
|
362
363
|
protoOf(WsRefined).f3 = function () {
|
|
363
364
|
return this.validator;
|
|
364
365
|
};
|
|
365
|
-
protoOf(WsRefined).
|
|
366
|
+
protoOf(WsRefined).k24 = function (name, validator) {
|
|
366
367
|
return new WsRefined(name, validator);
|
|
367
368
|
};
|
|
368
369
|
protoOf(WsRefined).copy = function (name, validator, $super) {
|
|
369
|
-
name = name === VOID ? this.
|
|
370
|
+
name = name === VOID ? this.i24_1 : name;
|
|
370
371
|
validator = validator === VOID ? this.validator : validator;
|
|
371
|
-
return this.
|
|
372
|
+
return this.k24(name, validator);
|
|
372
373
|
};
|
|
373
374
|
protoOf(WsRefined).toString = function () {
|
|
374
|
-
return 'WsRefined(name=' + this.
|
|
375
|
+
return 'WsRefined(name=' + this.i24_1 + ', validator=' + this.validator + ')';
|
|
375
376
|
};
|
|
376
377
|
protoOf(WsRefined).hashCode = function () {
|
|
377
|
-
var result = getStringHashCode(this.
|
|
378
|
+
var result = getStringHashCode(this.i24_1);
|
|
378
379
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
379
380
|
return result;
|
|
380
381
|
};
|
|
@@ -384,7 +385,7 @@
|
|
|
384
385
|
if (!(other instanceof WsRefined))
|
|
385
386
|
return false;
|
|
386
387
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
387
|
-
if (!(this.
|
|
388
|
+
if (!(this.i24_1 === tmp0_other_with_cast.i24_1))
|
|
388
389
|
return false;
|
|
389
390
|
if (!(this.validator === tmp0_other_with_cast.validator))
|
|
390
391
|
return false;
|
|
@@ -453,12 +454,12 @@
|
|
|
453
454
|
protoOf(WsLiteral).e3 = function () {
|
|
454
455
|
return this.value;
|
|
455
456
|
};
|
|
456
|
-
protoOf(WsLiteral).
|
|
457
|
+
protoOf(WsLiteral).n24 = function (value) {
|
|
457
458
|
return new WsLiteral(value);
|
|
458
459
|
};
|
|
459
460
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
460
461
|
value = value === VOID ? this.value : value;
|
|
461
|
-
return this.
|
|
462
|
+
return this.n24(value);
|
|
462
463
|
};
|
|
463
464
|
protoOf(WsLiteral).toString = function () {
|
|
464
465
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -480,10 +481,10 @@
|
|
|
480
481
|
this.identifier = identifier;
|
|
481
482
|
this.reference = reference;
|
|
482
483
|
}
|
|
483
|
-
protoOf(WsParam).
|
|
484
|
+
protoOf(WsParam).o24 = function () {
|
|
484
485
|
return this.identifier;
|
|
485
486
|
};
|
|
486
|
-
protoOf(WsParam).
|
|
487
|
+
protoOf(WsParam).p24 = function () {
|
|
487
488
|
return this.reference;
|
|
488
489
|
};
|
|
489
490
|
protoOf(WsParam).e3 = function () {
|
|
@@ -492,13 +493,13 @@
|
|
|
492
493
|
protoOf(WsParam).f3 = function () {
|
|
493
494
|
return this.reference;
|
|
494
495
|
};
|
|
495
|
-
protoOf(WsParam).
|
|
496
|
+
protoOf(WsParam).q24 = function (identifier, reference) {
|
|
496
497
|
return new WsParam(identifier, reference);
|
|
497
498
|
};
|
|
498
499
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
499
500
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
500
501
|
reference = reference === VOID ? this.reference : reference;
|
|
501
|
-
return this.
|
|
502
|
+
return this.q24(identifier, reference);
|
|
502
503
|
};
|
|
503
504
|
protoOf(WsParam).toString = function () {
|
|
504
505
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -529,12 +530,12 @@
|
|
|
529
530
|
protoOf(Shape).e3 = function () {
|
|
530
531
|
return this.value;
|
|
531
532
|
};
|
|
532
|
-
protoOf(Shape).
|
|
533
|
+
protoOf(Shape).r23 = function (value) {
|
|
533
534
|
return new Shape(value);
|
|
534
535
|
};
|
|
535
536
|
protoOf(Shape).copy = function (value, $super) {
|
|
536
537
|
value = value === VOID ? this.value : value;
|
|
537
|
-
return this.
|
|
538
|
+
return this.r23(value);
|
|
538
539
|
};
|
|
539
540
|
protoOf(Shape).toString = function () {
|
|
540
541
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -557,10 +558,10 @@
|
|
|
557
558
|
this.reference = reference;
|
|
558
559
|
this.isNullable = isNullable;
|
|
559
560
|
}
|
|
560
|
-
protoOf(WsField).
|
|
561
|
+
protoOf(WsField).o24 = function () {
|
|
561
562
|
return this.identifier;
|
|
562
563
|
};
|
|
563
|
-
protoOf(WsField).
|
|
564
|
+
protoOf(WsField).p24 = function () {
|
|
564
565
|
return this.reference;
|
|
565
566
|
};
|
|
566
567
|
protoOf(WsField).aj = function () {
|
|
@@ -575,14 +576,14 @@
|
|
|
575
576
|
protoOf(WsField).c8 = function () {
|
|
576
577
|
return this.isNullable;
|
|
577
578
|
};
|
|
578
|
-
protoOf(WsField).
|
|
579
|
+
protoOf(WsField).r24 = function (identifier, reference, isNullable) {
|
|
579
580
|
return new WsField(identifier, reference, isNullable);
|
|
580
581
|
};
|
|
581
582
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
582
583
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
583
584
|
reference = reference === VOID ? this.reference : reference;
|
|
584
585
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
585
|
-
return this.
|
|
586
|
+
return this.r24(identifier, reference, isNullable);
|
|
586
587
|
};
|
|
587
588
|
protoOf(WsField).toString = function () {
|
|
588
589
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -616,12 +617,12 @@
|
|
|
616
617
|
protoOf(WsIdentifier).e3 = function () {
|
|
617
618
|
return this.value;
|
|
618
619
|
};
|
|
619
|
-
protoOf(WsIdentifier).
|
|
620
|
+
protoOf(WsIdentifier).n24 = function (value) {
|
|
620
621
|
return new WsIdentifier(value);
|
|
621
622
|
};
|
|
622
623
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
623
624
|
value = value === VOID ? this.value : value;
|
|
624
|
-
return this.
|
|
625
|
+
return this.n24(value);
|
|
625
626
|
};
|
|
626
627
|
protoOf(WsIdentifier).toString = function () {
|
|
627
628
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -643,35 +644,35 @@
|
|
|
643
644
|
}
|
|
644
645
|
function WsAny(isIterable, isMap) {
|
|
645
646
|
isMap = isMap === VOID ? false : isMap;
|
|
646
|
-
this.
|
|
647
|
-
this.
|
|
647
|
+
this.s24_1 = isIterable;
|
|
648
|
+
this.t24_1 = isMap;
|
|
648
649
|
}
|
|
649
650
|
protoOf(WsAny).s1r = function () {
|
|
650
|
-
return this.
|
|
651
|
+
return this.s24_1;
|
|
651
652
|
};
|
|
652
653
|
protoOf(WsAny).n1z = function () {
|
|
653
|
-
return this.
|
|
654
|
+
return this.t24_1;
|
|
654
655
|
};
|
|
655
656
|
protoOf(WsAny).e3 = function () {
|
|
656
|
-
return this.
|
|
657
|
+
return this.s24_1;
|
|
657
658
|
};
|
|
658
659
|
protoOf(WsAny).f3 = function () {
|
|
659
|
-
return this.
|
|
660
|
+
return this.t24_1;
|
|
660
661
|
};
|
|
661
662
|
protoOf(WsAny).b21 = function (isIterable, isMap) {
|
|
662
663
|
return new WsAny(isIterable, isMap);
|
|
663
664
|
};
|
|
664
665
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
665
|
-
isIterable = isIterable === VOID ? this.
|
|
666
|
-
isMap = isMap === VOID ? this.
|
|
666
|
+
isIterable = isIterable === VOID ? this.s24_1 : isIterable;
|
|
667
|
+
isMap = isMap === VOID ? this.t24_1 : isMap;
|
|
667
668
|
return this.b21(isIterable, isMap);
|
|
668
669
|
};
|
|
669
670
|
protoOf(WsAny).toString = function () {
|
|
670
|
-
return 'WsAny(isIterable=' + this.
|
|
671
|
+
return 'WsAny(isIterable=' + this.s24_1 + ', isMap=' + this.t24_1 + ')';
|
|
671
672
|
};
|
|
672
673
|
protoOf(WsAny).hashCode = function () {
|
|
673
|
-
var result = this.
|
|
674
|
-
result = imul(result, 31) + (this.
|
|
674
|
+
var result = this.s24_1 | 0;
|
|
675
|
+
result = imul(result, 31) + (this.t24_1 | 0) | 0;
|
|
675
676
|
return result;
|
|
676
677
|
};
|
|
677
678
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -680,43 +681,43 @@
|
|
|
680
681
|
if (!(other instanceof WsAny))
|
|
681
682
|
return false;
|
|
682
683
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
683
|
-
if (!(this.
|
|
684
|
+
if (!(this.s24_1 === tmp0_other_with_cast.s24_1))
|
|
684
685
|
return false;
|
|
685
|
-
if (!(this.
|
|
686
|
+
if (!(this.t24_1 === tmp0_other_with_cast.t24_1))
|
|
686
687
|
return false;
|
|
687
688
|
return true;
|
|
688
689
|
};
|
|
689
690
|
function WsUnit(isIterable, isMap) {
|
|
690
691
|
isMap = isMap === VOID ? false : isMap;
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
692
|
+
this.u24_1 = isIterable;
|
|
693
|
+
this.v24_1 = isMap;
|
|
693
694
|
}
|
|
694
695
|
protoOf(WsUnit).s1r = function () {
|
|
695
|
-
return this.
|
|
696
|
+
return this.u24_1;
|
|
696
697
|
};
|
|
697
698
|
protoOf(WsUnit).n1z = function () {
|
|
698
|
-
return this.
|
|
699
|
+
return this.v24_1;
|
|
699
700
|
};
|
|
700
701
|
protoOf(WsUnit).e3 = function () {
|
|
701
|
-
return this.
|
|
702
|
+
return this.u24_1;
|
|
702
703
|
};
|
|
703
704
|
protoOf(WsUnit).f3 = function () {
|
|
704
|
-
return this.
|
|
705
|
+
return this.v24_1;
|
|
705
706
|
};
|
|
706
707
|
protoOf(WsUnit).b21 = function (isIterable, isMap) {
|
|
707
708
|
return new WsUnit(isIterable, isMap);
|
|
708
709
|
};
|
|
709
710
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
710
|
-
isIterable = isIterable === VOID ? this.
|
|
711
|
-
isMap = isMap === VOID ? this.
|
|
711
|
+
isIterable = isIterable === VOID ? this.u24_1 : isIterable;
|
|
712
|
+
isMap = isMap === VOID ? this.v24_1 : isMap;
|
|
712
713
|
return this.b21(isIterable, isMap);
|
|
713
714
|
};
|
|
714
715
|
protoOf(WsUnit).toString = function () {
|
|
715
|
-
return 'WsUnit(isIterable=' + this.
|
|
716
|
+
return 'WsUnit(isIterable=' + this.u24_1 + ', isMap=' + this.v24_1 + ')';
|
|
716
717
|
};
|
|
717
718
|
protoOf(WsUnit).hashCode = function () {
|
|
718
|
-
var result = this.
|
|
719
|
-
result = imul(result, 31) + (this.
|
|
719
|
+
var result = this.u24_1 | 0;
|
|
720
|
+
result = imul(result, 31) + (this.v24_1 | 0) | 0;
|
|
720
721
|
return result;
|
|
721
722
|
};
|
|
722
723
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -725,52 +726,52 @@
|
|
|
725
726
|
if (!(other instanceof WsUnit))
|
|
726
727
|
return false;
|
|
727
728
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
728
|
-
if (!(this.
|
|
729
|
+
if (!(this.u24_1 === tmp0_other_with_cast.u24_1))
|
|
729
730
|
return false;
|
|
730
|
-
if (!(this.
|
|
731
|
+
if (!(this.v24_1 === tmp0_other_with_cast.v24_1))
|
|
731
732
|
return false;
|
|
732
733
|
return true;
|
|
733
734
|
};
|
|
734
735
|
function WsCustom(value, isIterable, isMap) {
|
|
735
736
|
isMap = isMap === VOID ? false : isMap;
|
|
736
737
|
this.value = value;
|
|
737
|
-
this.
|
|
738
|
-
this.
|
|
738
|
+
this.w24_1 = isIterable;
|
|
739
|
+
this.x24_1 = isMap;
|
|
739
740
|
}
|
|
740
741
|
protoOf(WsCustom).y = function () {
|
|
741
742
|
return this.value;
|
|
742
743
|
};
|
|
743
744
|
protoOf(WsCustom).s1r = function () {
|
|
744
|
-
return this.
|
|
745
|
+
return this.w24_1;
|
|
745
746
|
};
|
|
746
747
|
protoOf(WsCustom).n1z = function () {
|
|
747
|
-
return this.
|
|
748
|
+
return this.x24_1;
|
|
748
749
|
};
|
|
749
750
|
protoOf(WsCustom).e3 = function () {
|
|
750
751
|
return this.value;
|
|
751
752
|
};
|
|
752
753
|
protoOf(WsCustom).f3 = function () {
|
|
753
|
-
return this.
|
|
754
|
+
return this.w24_1;
|
|
754
755
|
};
|
|
755
756
|
protoOf(WsCustom).c8 = function () {
|
|
756
|
-
return this.
|
|
757
|
+
return this.x24_1;
|
|
757
758
|
};
|
|
758
759
|
protoOf(WsCustom).g21 = function (value, isIterable, isMap) {
|
|
759
760
|
return new WsCustom(value, isIterable, isMap);
|
|
760
761
|
};
|
|
761
762
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
762
763
|
value = value === VOID ? this.value : value;
|
|
763
|
-
isIterable = isIterable === VOID ? this.
|
|
764
|
-
isMap = isMap === VOID ? this.
|
|
764
|
+
isIterable = isIterable === VOID ? this.w24_1 : isIterable;
|
|
765
|
+
isMap = isMap === VOID ? this.x24_1 : isMap;
|
|
765
766
|
return this.g21(value, isIterable, isMap);
|
|
766
767
|
};
|
|
767
768
|
protoOf(WsCustom).toString = function () {
|
|
768
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
769
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.w24_1 + ', isMap=' + this.x24_1 + ')';
|
|
769
770
|
};
|
|
770
771
|
protoOf(WsCustom).hashCode = function () {
|
|
771
772
|
var result = getStringHashCode(this.value);
|
|
772
|
-
result = imul(result, 31) + (this.
|
|
773
|
-
result = imul(result, 31) + (this.
|
|
773
|
+
result = imul(result, 31) + (this.w24_1 | 0) | 0;
|
|
774
|
+
result = imul(result, 31) + (this.x24_1 | 0) | 0;
|
|
774
775
|
return result;
|
|
775
776
|
};
|
|
776
777
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -781,52 +782,52 @@
|
|
|
781
782
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
782
783
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
783
784
|
return false;
|
|
784
|
-
if (!(this.
|
|
785
|
+
if (!(this.w24_1 === tmp0_other_with_cast.w24_1))
|
|
785
786
|
return false;
|
|
786
|
-
if (!(this.
|
|
787
|
+
if (!(this.x24_1 === tmp0_other_with_cast.x24_1))
|
|
787
788
|
return false;
|
|
788
789
|
return true;
|
|
789
790
|
};
|
|
790
791
|
function WsPrimitive(type, isIterable, isMap) {
|
|
791
792
|
isMap = isMap === VOID ? false : isMap;
|
|
792
793
|
this.type = type;
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
794
|
+
this.y24_1 = isIterable;
|
|
795
|
+
this.z24_1 = isMap;
|
|
795
796
|
}
|
|
796
|
-
protoOf(WsPrimitive).
|
|
797
|
+
protoOf(WsPrimitive).a25 = function () {
|
|
797
798
|
return this.type;
|
|
798
799
|
};
|
|
799
800
|
protoOf(WsPrimitive).s1r = function () {
|
|
800
|
-
return this.
|
|
801
|
+
return this.y24_1;
|
|
801
802
|
};
|
|
802
803
|
protoOf(WsPrimitive).n1z = function () {
|
|
803
|
-
return this.
|
|
804
|
+
return this.z24_1;
|
|
804
805
|
};
|
|
805
806
|
protoOf(WsPrimitive).e3 = function () {
|
|
806
807
|
return this.type;
|
|
807
808
|
};
|
|
808
809
|
protoOf(WsPrimitive).f3 = function () {
|
|
809
|
-
return this.
|
|
810
|
+
return this.y24_1;
|
|
810
811
|
};
|
|
811
812
|
protoOf(WsPrimitive).c8 = function () {
|
|
812
|
-
return this.
|
|
813
|
+
return this.z24_1;
|
|
813
814
|
};
|
|
814
|
-
protoOf(WsPrimitive).
|
|
815
|
+
protoOf(WsPrimitive).b25 = function (type, isIterable, isMap) {
|
|
815
816
|
return new WsPrimitive(type, isIterable, isMap);
|
|
816
817
|
};
|
|
817
818
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
818
819
|
type = type === VOID ? this.type : type;
|
|
819
|
-
isIterable = isIterable === VOID ? this.
|
|
820
|
-
isMap = isMap === VOID ? this.
|
|
821
|
-
return this.
|
|
820
|
+
isIterable = isIterable === VOID ? this.y24_1 : isIterable;
|
|
821
|
+
isMap = isMap === VOID ? this.z24_1 : isMap;
|
|
822
|
+
return this.b25(type, isIterable, isMap);
|
|
822
823
|
};
|
|
823
824
|
protoOf(WsPrimitive).toString = function () {
|
|
824
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
825
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.y24_1 + ', isMap=' + this.z24_1 + ')';
|
|
825
826
|
};
|
|
826
827
|
protoOf(WsPrimitive).hashCode = function () {
|
|
827
828
|
var result = this.type.hashCode();
|
|
828
|
-
result = imul(result, 31) + (this.
|
|
829
|
-
result = imul(result, 31) + (this.
|
|
829
|
+
result = imul(result, 31) + (this.y24_1 | 0) | 0;
|
|
830
|
+
result = imul(result, 31) + (this.z24_1 | 0) | 0;
|
|
830
831
|
return result;
|
|
831
832
|
};
|
|
832
833
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -837,9 +838,9 @@
|
|
|
837
838
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
838
839
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
839
840
|
return false;
|
|
840
|
-
if (!(this.
|
|
841
|
+
if (!(this.y24_1 === tmp0_other_with_cast.y24_1))
|
|
841
842
|
return false;
|
|
842
|
-
if (!(this.
|
|
843
|
+
if (!(this.z24_1 === tmp0_other_with_cast.z24_1))
|
|
843
844
|
return false;
|
|
844
845
|
return true;
|
|
845
846
|
};
|
|
@@ -888,12 +889,12 @@
|
|
|
888
889
|
protoOf(WsRequest).e3 = function () {
|
|
889
890
|
return this.content;
|
|
890
891
|
};
|
|
891
|
-
protoOf(WsRequest).
|
|
892
|
+
protoOf(WsRequest).e25 = function (content) {
|
|
892
893
|
return new WsRequest(content);
|
|
893
894
|
};
|
|
894
895
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
895
896
|
content = content === VOID ? this.content : content;
|
|
896
|
-
return this.
|
|
897
|
+
return this.e25(content);
|
|
897
898
|
};
|
|
898
899
|
protoOf(WsRequest).toString = function () {
|
|
899
900
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -915,7 +916,7 @@
|
|
|
915
916
|
this.status = status;
|
|
916
917
|
this.content = content;
|
|
917
918
|
}
|
|
918
|
-
protoOf(WsResponse).
|
|
919
|
+
protoOf(WsResponse).f25 = function () {
|
|
919
920
|
return this.status;
|
|
920
921
|
};
|
|
921
922
|
protoOf(WsResponse).uz = function () {
|
|
@@ -927,13 +928,13 @@
|
|
|
927
928
|
protoOf(WsResponse).f3 = function () {
|
|
928
929
|
return this.content;
|
|
929
930
|
};
|
|
930
|
-
protoOf(WsResponse).
|
|
931
|
+
protoOf(WsResponse).g25 = function (status, content) {
|
|
931
932
|
return new WsResponse(status, content);
|
|
932
933
|
};
|
|
933
934
|
protoOf(WsResponse).copy = function (status, content, $super) {
|
|
934
935
|
status = status === VOID ? this.status : status;
|
|
935
936
|
content = content === VOID ? this.content : content;
|
|
936
|
-
return this.
|
|
937
|
+
return this.g25(status, content);
|
|
937
938
|
};
|
|
938
939
|
protoOf(WsResponse).toString = function () {
|
|
939
940
|
return 'WsResponse(status=' + this.status + ', content=' + this.content + ')';
|
|
@@ -961,10 +962,10 @@
|
|
|
961
962
|
this.reference = reference;
|
|
962
963
|
this.isNullable = isNullable;
|
|
963
964
|
}
|
|
964
|
-
protoOf(WsContent).
|
|
965
|
+
protoOf(WsContent).a25 = function () {
|
|
965
966
|
return this.type;
|
|
966
967
|
};
|
|
967
|
-
protoOf(WsContent).
|
|
968
|
+
protoOf(WsContent).p24 = function () {
|
|
968
969
|
return this.reference;
|
|
969
970
|
};
|
|
970
971
|
protoOf(WsContent).aj = function () {
|
|
@@ -979,14 +980,14 @@
|
|
|
979
980
|
protoOf(WsContent).c8 = function () {
|
|
980
981
|
return this.isNullable;
|
|
981
982
|
};
|
|
982
|
-
protoOf(WsContent).
|
|
983
|
+
protoOf(WsContent).h25 = function (type, reference, isNullable) {
|
|
983
984
|
return new WsContent(type, reference, isNullable);
|
|
984
985
|
};
|
|
985
986
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
986
987
|
type = type === VOID ? this.type : type;
|
|
987
988
|
reference = reference === VOID ? this.reference : reference;
|
|
988
989
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
989
|
-
return this.
|
|
990
|
+
return this.h25(type, reference, isNullable);
|
|
990
991
|
};
|
|
991
992
|
protoOf(WsContent).toString = function () {
|
|
992
993
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1279,75 +1280,6 @@
|
|
|
1279
1280
|
WsPrimitiveType_initEntries();
|
|
1280
1281
|
return WsPrimitiveType_Boolean_instance;
|
|
1281
1282
|
}
|
|
1282
|
-
function WsCompilationResult(compiled, errors) {
|
|
1283
|
-
compiled = compiled === VOID ? null : compiled;
|
|
1284
|
-
var tmp;
|
|
1285
|
-
if (errors === VOID) {
|
|
1286
|
-
// Inline function 'kotlin.emptyArray' call
|
|
1287
|
-
tmp = [];
|
|
1288
|
-
} else {
|
|
1289
|
-
tmp = errors;
|
|
1290
|
-
}
|
|
1291
|
-
errors = tmp;
|
|
1292
|
-
this.compiled = compiled;
|
|
1293
|
-
this.errors = errors;
|
|
1294
|
-
}
|
|
1295
|
-
protoOf(WsCompilationResult).e25 = function () {
|
|
1296
|
-
return this.compiled;
|
|
1297
|
-
};
|
|
1298
|
-
protoOf(WsCompilationResult).f25 = function () {
|
|
1299
|
-
return this.errors;
|
|
1300
|
-
};
|
|
1301
|
-
function WsCompiled(value) {
|
|
1302
|
-
this.value = value;
|
|
1303
|
-
}
|
|
1304
|
-
protoOf(WsCompiled).y = function () {
|
|
1305
|
-
return this.value;
|
|
1306
|
-
};
|
|
1307
|
-
function WsCompiledFile(name, value) {
|
|
1308
|
-
this.name = name;
|
|
1309
|
-
this.value = value;
|
|
1310
|
-
}
|
|
1311
|
-
protoOf(WsCompiledFile).bh = function () {
|
|
1312
|
-
return this.name;
|
|
1313
|
-
};
|
|
1314
|
-
protoOf(WsCompiledFile).y = function () {
|
|
1315
|
-
return this.value;
|
|
1316
|
-
};
|
|
1317
|
-
function produce_14(_this__u8e3s4) {
|
|
1318
|
-
var tmp;
|
|
1319
|
-
if (_this__u8e3s4 instanceof Left) {
|
|
1320
|
-
var tmp$ret$5;
|
|
1321
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1322
|
-
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1323
|
-
var tmp0_map = _this__u8e3s4.r1p_1;
|
|
1324
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1325
|
-
var tmp1_anonymous = tmp0_map.b1q_1;
|
|
1326
|
-
var tmp_0 = produce_19(tmp1_anonymous);
|
|
1327
|
-
// Inline function 'kotlin.collections.map' call
|
|
1328
|
-
var tmp0_map_0 = tmp0_map.c1q_1;
|
|
1329
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1330
|
-
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1331
|
-
var tmp0_iterator = tmp0_map_0.c();
|
|
1332
|
-
while (tmp0_iterator.d()) {
|
|
1333
|
-
var item = tmp0_iterator.e();
|
|
1334
|
-
var tmp$ret$1;
|
|
1335
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1336
|
-
tmp$ret$1 = produce_19(item);
|
|
1337
|
-
tmp0_mapTo.a(tmp$ret$1);
|
|
1338
|
-
}
|
|
1339
|
-
var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
|
|
1340
|
-
tmp$ret$5 = copyToArray(tmp2_toTypedArray);
|
|
1341
|
-
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
1342
|
-
} else {
|
|
1343
|
-
if (_this__u8e3s4 instanceof Right) {
|
|
1344
|
-
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.x1p_1).p1s_1));
|
|
1345
|
-
} else {
|
|
1346
|
-
noWhenBranchMatchedException();
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
return tmp;
|
|
1350
|
-
}
|
|
1351
1283
|
function Compiler$Companion$logger$1() {
|
|
1352
1284
|
Logger.call(this);
|
|
1353
1285
|
}
|
|
@@ -1372,18 +1304,18 @@
|
|
|
1372
1304
|
return compile(Wirespec_getInstance(), source)(Companion_getInstance_1().logger);
|
|
1373
1305
|
};
|
|
1374
1306
|
protoOf(Compiler).tokenize = function (source) {
|
|
1375
|
-
return
|
|
1307
|
+
return produce_16(tokenize(Wirespec_getInstance(), source));
|
|
1376
1308
|
};
|
|
1377
1309
|
protoOf(Compiler).parse = function (source) {
|
|
1378
1310
|
// Inline function 'kotlin.let' call
|
|
1379
1311
|
var tmp0_let = tokenize(Wirespec_getInstance(), source);
|
|
1380
1312
|
// Inline function 'kotlin.contracts.contract' call
|
|
1381
1313
|
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1382
|
-
return (new Parser(Companion_getInstance_1().logger)).e1r(tmp0_let);
|
|
1314
|
+
return produce_14((new Parser(Companion_getInstance_1().logger)).e1r(tmp0_let));
|
|
1383
1315
|
};
|
|
1384
1316
|
function Companion_0() {
|
|
1385
1317
|
Companion_instance_0 = this;
|
|
1386
|
-
this.
|
|
1318
|
+
this.i25_1 = new KotlinEmitter(VOID, Companion_getInstance_1().logger);
|
|
1387
1319
|
}
|
|
1388
1320
|
var Companion_instance_0;
|
|
1389
1321
|
function Companion_getInstance_2() {
|
|
@@ -1396,11 +1328,11 @@
|
|
|
1396
1328
|
Compiler.call(this);
|
|
1397
1329
|
}
|
|
1398
1330
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1399
|
-
return
|
|
1331
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_2().i25_1));
|
|
1400
1332
|
};
|
|
1401
1333
|
function Companion_1() {
|
|
1402
1334
|
Companion_instance_1 = this;
|
|
1403
|
-
this.
|
|
1335
|
+
this.j25_1 = new TypeScriptEmitter(Companion_getInstance_1().logger);
|
|
1404
1336
|
}
|
|
1405
1337
|
var Companion_instance_1;
|
|
1406
1338
|
function Companion_getInstance_3() {
|
|
@@ -1413,11 +1345,11 @@
|
|
|
1413
1345
|
Compiler.call(this);
|
|
1414
1346
|
}
|
|
1415
1347
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1416
|
-
return
|
|
1348
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_3().j25_1));
|
|
1417
1349
|
};
|
|
1418
1350
|
function Companion_2() {
|
|
1419
1351
|
Companion_instance_2 = this;
|
|
1420
|
-
this.
|
|
1352
|
+
this.k25_1 = new WirespecEmitter(Companion_getInstance_1().logger);
|
|
1421
1353
|
}
|
|
1422
1354
|
var Companion_instance_2;
|
|
1423
1355
|
function Companion_getInstance_4() {
|
|
@@ -1430,7 +1362,7 @@
|
|
|
1430
1362
|
Compiler.call(this);
|
|
1431
1363
|
}
|
|
1432
1364
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1433
|
-
return
|
|
1365
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_4().k25_1));
|
|
1434
1366
|
};
|
|
1435
1367
|
function OpenApiV2Parser() {
|
|
1436
1368
|
OpenApiV2Parser_instance = this;
|
|
@@ -1463,7 +1395,7 @@
|
|
|
1463
1395
|
OpenApiV3ToTypescript_instance = this;
|
|
1464
1396
|
var tmp = this;
|
|
1465
1397
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
1466
|
-
this.
|
|
1398
|
+
this.l25_1 = new TypeScriptEmitter(this.logger);
|
|
1467
1399
|
}
|
|
1468
1400
|
protoOf(OpenApiV3ToTypescript).z1x = function () {
|
|
1469
1401
|
return this.logger;
|
|
@@ -1472,7 +1404,7 @@
|
|
|
1472
1404
|
var ast = Companion_getInstance_0().c23(source);
|
|
1473
1405
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1474
1406
|
// Inline function 'kotlin.collections.map' call
|
|
1475
|
-
var tmp0_map = this.
|
|
1407
|
+
var tmp0_map = this.l25_1.y1q(ast);
|
|
1476
1408
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1477
1409
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
|
|
1478
1410
|
var tmp0_iterator = tmp0_map.c();
|
|
@@ -1493,16 +1425,146 @@
|
|
|
1493
1425
|
new OpenApiV3ToTypescript();
|
|
1494
1426
|
return OpenApiV3ToTypescript_instance;
|
|
1495
1427
|
}
|
|
1428
|
+
function WsCompilationResult(result, errors) {
|
|
1429
|
+
result = result === VOID ? null : result;
|
|
1430
|
+
var tmp;
|
|
1431
|
+
if (errors === VOID) {
|
|
1432
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1433
|
+
tmp = [];
|
|
1434
|
+
} else {
|
|
1435
|
+
tmp = errors;
|
|
1436
|
+
}
|
|
1437
|
+
errors = tmp;
|
|
1438
|
+
this.result = result;
|
|
1439
|
+
this.errors = errors;
|
|
1440
|
+
}
|
|
1441
|
+
protoOf(WsCompilationResult).m25 = function () {
|
|
1442
|
+
return this.result;
|
|
1443
|
+
};
|
|
1444
|
+
protoOf(WsCompilationResult).n25 = function () {
|
|
1445
|
+
return this.errors;
|
|
1446
|
+
};
|
|
1447
|
+
function WsCompiled(value) {
|
|
1448
|
+
this.value = value;
|
|
1449
|
+
}
|
|
1450
|
+
protoOf(WsCompiled).y = function () {
|
|
1451
|
+
return this.value;
|
|
1452
|
+
};
|
|
1453
|
+
function WsCompiledFile(name, value) {
|
|
1454
|
+
this.name = name;
|
|
1455
|
+
this.value = value;
|
|
1456
|
+
}
|
|
1457
|
+
protoOf(WsCompiledFile).bh = function () {
|
|
1458
|
+
return this.name;
|
|
1459
|
+
};
|
|
1460
|
+
protoOf(WsCompiledFile).y = function () {
|
|
1461
|
+
return this.value;
|
|
1462
|
+
};
|
|
1463
|
+
function WsParseResult(result, errors) {
|
|
1464
|
+
result = result === VOID ? null : result;
|
|
1465
|
+
errors = errors === VOID ? null : errors;
|
|
1466
|
+
this.result = result;
|
|
1467
|
+
this.errors = errors;
|
|
1468
|
+
}
|
|
1469
|
+
protoOf(WsParseResult).m25 = function () {
|
|
1470
|
+
return this.result;
|
|
1471
|
+
};
|
|
1472
|
+
protoOf(WsParseResult).n25 = function () {
|
|
1473
|
+
return this.errors;
|
|
1474
|
+
};
|
|
1475
|
+
function produce_14(_this__u8e3s4) {
|
|
1476
|
+
var tmp;
|
|
1477
|
+
if (_this__u8e3s4 instanceof Left) {
|
|
1478
|
+
var tmp$ret$5;
|
|
1479
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1480
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1481
|
+
var tmp0_map = _this__u8e3s4.r1p_1;
|
|
1482
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1483
|
+
var tmp1_anonymous = tmp0_map.b1q_1;
|
|
1484
|
+
var tmp_0 = produce_20(tmp1_anonymous);
|
|
1485
|
+
// Inline function 'kotlin.collections.map' call
|
|
1486
|
+
var tmp0_map_0 = tmp0_map.c1q_1;
|
|
1487
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1488
|
+
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1489
|
+
var tmp0_iterator = tmp0_map_0.c();
|
|
1490
|
+
while (tmp0_iterator.d()) {
|
|
1491
|
+
var item = tmp0_iterator.e();
|
|
1492
|
+
var tmp$ret$1;
|
|
1493
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1494
|
+
tmp$ret$1 = produce_20(item);
|
|
1495
|
+
tmp0_mapTo.a(tmp$ret$1);
|
|
1496
|
+
}
|
|
1497
|
+
var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
|
|
1498
|
+
tmp$ret$5 = copyToArray(tmp2_toTypedArray);
|
|
1499
|
+
tmp = new WsParseResult(VOID, tmp$ret$5);
|
|
1500
|
+
} else {
|
|
1501
|
+
if (_this__u8e3s4 instanceof Right) {
|
|
1502
|
+
var tmp$ret$9;
|
|
1503
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1504
|
+
// Inline function 'kotlin.collections.map' call
|
|
1505
|
+
var tmp3_map = _this__u8e3s4.x1p_1;
|
|
1506
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1507
|
+
var tmp0_mapTo_0 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp3_map, 10));
|
|
1508
|
+
var tmp0_iterator_0 = tmp3_map.c();
|
|
1509
|
+
while (tmp0_iterator_0.d()) {
|
|
1510
|
+
var item_0 = tmp0_iterator_0.e();
|
|
1511
|
+
var tmp$ret$6;
|
|
1512
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1513
|
+
tmp$ret$6 = produce_0(item_0);
|
|
1514
|
+
tmp0_mapTo_0.a(tmp$ret$6);
|
|
1515
|
+
}
|
|
1516
|
+
tmp$ret$9 = copyToArray(tmp0_mapTo_0);
|
|
1517
|
+
tmp = new WsParseResult(tmp$ret$9);
|
|
1518
|
+
} else {
|
|
1519
|
+
noWhenBranchMatchedException();
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
return tmp;
|
|
1523
|
+
}
|
|
1524
|
+
function produce_15(_this__u8e3s4) {
|
|
1525
|
+
var tmp;
|
|
1526
|
+
if (_this__u8e3s4 instanceof Left) {
|
|
1527
|
+
var tmp$ret$5;
|
|
1528
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1529
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1530
|
+
var tmp0_map = _this__u8e3s4.r1p_1;
|
|
1531
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1532
|
+
var tmp1_anonymous = tmp0_map.b1q_1;
|
|
1533
|
+
var tmp_0 = produce_20(tmp1_anonymous);
|
|
1534
|
+
// Inline function 'kotlin.collections.map' call
|
|
1535
|
+
var tmp0_map_0 = tmp0_map.c1q_1;
|
|
1536
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1537
|
+
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
1538
|
+
var tmp0_iterator = tmp0_map_0.c();
|
|
1539
|
+
while (tmp0_iterator.d()) {
|
|
1540
|
+
var item = tmp0_iterator.e();
|
|
1541
|
+
var tmp$ret$1;
|
|
1542
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1543
|
+
tmp$ret$1 = produce_20(item);
|
|
1544
|
+
tmp0_mapTo.a(tmp$ret$1);
|
|
1545
|
+
}
|
|
1546
|
+
var tmp2_toTypedArray = new NonEmptyList(tmp_0, tmp0_mapTo);
|
|
1547
|
+
tmp$ret$5 = copyToArray(tmp2_toTypedArray);
|
|
1548
|
+
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
1549
|
+
} else {
|
|
1550
|
+
if (_this__u8e3s4 instanceof Right) {
|
|
1551
|
+
tmp = new WsCompilationResult(new WsCompiled(first(_this__u8e3s4.x1p_1).p1s_1));
|
|
1552
|
+
} else {
|
|
1553
|
+
noWhenBranchMatchedException();
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
return tmp;
|
|
1557
|
+
}
|
|
1496
1558
|
function WsTokenResult(tokens, error) {
|
|
1497
1559
|
tokens = tokens === VOID ? null : tokens;
|
|
1498
1560
|
error = error === VOID ? null : error;
|
|
1499
1561
|
this.tokens = tokens;
|
|
1500
1562
|
this.error = error;
|
|
1501
1563
|
}
|
|
1502
|
-
protoOf(WsTokenResult).
|
|
1564
|
+
protoOf(WsTokenResult).o25 = function () {
|
|
1503
1565
|
return this.tokens;
|
|
1504
1566
|
};
|
|
1505
|
-
protoOf(WsTokenResult).
|
|
1567
|
+
protoOf(WsTokenResult).p25 = function () {
|
|
1506
1568
|
return this.error;
|
|
1507
1569
|
};
|
|
1508
1570
|
protoOf(WsTokenResult).e3 = function () {
|
|
@@ -1511,13 +1573,13 @@
|
|
|
1511
1573
|
protoOf(WsTokenResult).f3 = function () {
|
|
1512
1574
|
return this.error;
|
|
1513
1575
|
};
|
|
1514
|
-
protoOf(WsTokenResult).
|
|
1576
|
+
protoOf(WsTokenResult).q25 = function (tokens, error) {
|
|
1515
1577
|
return new WsTokenResult(tokens, error);
|
|
1516
1578
|
};
|
|
1517
1579
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
1518
1580
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
1519
1581
|
error = error === VOID ? this.error : error;
|
|
1520
|
-
return this.
|
|
1582
|
+
return this.q25(tokens, error);
|
|
1521
1583
|
};
|
|
1522
1584
|
protoOf(WsTokenResult).toString = function () {
|
|
1523
1585
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -1562,12 +1624,12 @@
|
|
|
1562
1624
|
protoOf(WsTokens).e3 = function () {
|
|
1563
1625
|
return this.value;
|
|
1564
1626
|
};
|
|
1565
|
-
protoOf(WsTokens).
|
|
1627
|
+
protoOf(WsTokens).r25 = function (value) {
|
|
1566
1628
|
return new WsTokens(value);
|
|
1567
1629
|
};
|
|
1568
1630
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
1569
1631
|
value = value === VOID ? this.value : value;
|
|
1570
|
-
return this.
|
|
1632
|
+
return this.r25(value);
|
|
1571
1633
|
};
|
|
1572
1634
|
protoOf(WsTokens).toString = function () {
|
|
1573
1635
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -1578,13 +1640,13 @@
|
|
|
1578
1640
|
this.value = value;
|
|
1579
1641
|
this.coordinates = coordinates;
|
|
1580
1642
|
}
|
|
1581
|
-
protoOf(WsToken).
|
|
1643
|
+
protoOf(WsToken).a25 = function () {
|
|
1582
1644
|
return this.type;
|
|
1583
1645
|
};
|
|
1584
1646
|
protoOf(WsToken).y = function () {
|
|
1585
1647
|
return this.value;
|
|
1586
1648
|
};
|
|
1587
|
-
protoOf(WsToken).
|
|
1649
|
+
protoOf(WsToken).s25 = function () {
|
|
1588
1650
|
return this.coordinates;
|
|
1589
1651
|
};
|
|
1590
1652
|
protoOf(WsToken).e3 = function () {
|
|
@@ -1596,14 +1658,14 @@
|
|
|
1596
1658
|
protoOf(WsToken).c8 = function () {
|
|
1597
1659
|
return this.coordinates;
|
|
1598
1660
|
};
|
|
1599
|
-
protoOf(WsToken).
|
|
1661
|
+
protoOf(WsToken).t25 = function (type, value, coordinates) {
|
|
1600
1662
|
return new WsToken(type, value, coordinates);
|
|
1601
1663
|
};
|
|
1602
1664
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
1603
1665
|
type = type === VOID ? this.type : type;
|
|
1604
1666
|
value = value === VOID ? this.value : value;
|
|
1605
1667
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
1606
|
-
return this.
|
|
1668
|
+
return this.t25(type, value, coordinates);
|
|
1607
1669
|
};
|
|
1608
1670
|
protoOf(WsToken).toString = function () {
|
|
1609
1671
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -1636,13 +1698,13 @@
|
|
|
1636
1698
|
this.position = position;
|
|
1637
1699
|
this.idxAndLength = idxAndLength;
|
|
1638
1700
|
}
|
|
1639
|
-
protoOf(WsCoordinates).
|
|
1701
|
+
protoOf(WsCoordinates).u25 = function () {
|
|
1640
1702
|
return this.line;
|
|
1641
1703
|
};
|
|
1642
1704
|
protoOf(WsCoordinates).vo = function () {
|
|
1643
1705
|
return this.position;
|
|
1644
1706
|
};
|
|
1645
|
-
protoOf(WsCoordinates).
|
|
1707
|
+
protoOf(WsCoordinates).v25 = function () {
|
|
1646
1708
|
return this.idxAndLength;
|
|
1647
1709
|
};
|
|
1648
1710
|
protoOf(WsCoordinates).e3 = function () {
|
|
@@ -1654,14 +1716,14 @@
|
|
|
1654
1716
|
protoOf(WsCoordinates).c8 = function () {
|
|
1655
1717
|
return this.idxAndLength;
|
|
1656
1718
|
};
|
|
1657
|
-
protoOf(WsCoordinates).
|
|
1719
|
+
protoOf(WsCoordinates).w25 = function (line, position, idxAndLength) {
|
|
1658
1720
|
return new WsCoordinates(line, position, idxAndLength);
|
|
1659
1721
|
};
|
|
1660
1722
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
1661
1723
|
line = line === VOID ? this.line : line;
|
|
1662
1724
|
position = position === VOID ? this.position : position;
|
|
1663
1725
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
1664
|
-
return this.
|
|
1726
|
+
return this.w25(line, position, idxAndLength);
|
|
1665
1727
|
};
|
|
1666
1728
|
protoOf(WsCoordinates).toString = function () {
|
|
1667
1729
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -1692,7 +1754,7 @@
|
|
|
1692
1754
|
this.idx = idx;
|
|
1693
1755
|
this.length = length;
|
|
1694
1756
|
}
|
|
1695
|
-
protoOf(WsIndex).
|
|
1757
|
+
protoOf(WsIndex).x25 = function () {
|
|
1696
1758
|
return this.idx;
|
|
1697
1759
|
};
|
|
1698
1760
|
protoOf(WsIndex).ba = function () {
|
|
@@ -1704,13 +1766,13 @@
|
|
|
1704
1766
|
protoOf(WsIndex).f3 = function () {
|
|
1705
1767
|
return this.length;
|
|
1706
1768
|
};
|
|
1707
|
-
protoOf(WsIndex).
|
|
1769
|
+
protoOf(WsIndex).y25 = function (idx, length) {
|
|
1708
1770
|
return new WsIndex(idx, length);
|
|
1709
1771
|
};
|
|
1710
1772
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
1711
1773
|
idx = idx === VOID ? this.idx : idx;
|
|
1712
1774
|
length = length === VOID ? this.length : length;
|
|
1713
|
-
return this.
|
|
1775
|
+
return this.y25(idx, length);
|
|
1714
1776
|
};
|
|
1715
1777
|
protoOf(WsIndex).toString = function () {
|
|
1716
1778
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -1732,7 +1794,7 @@
|
|
|
1732
1794
|
return false;
|
|
1733
1795
|
return true;
|
|
1734
1796
|
};
|
|
1735
|
-
function
|
|
1797
|
+
function produce_16(_this__u8e3s4) {
|
|
1736
1798
|
var tmp$ret$3;
|
|
1737
1799
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1738
1800
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1743,19 +1805,19 @@
|
|
|
1743
1805
|
var item = tmp0_iterator.e();
|
|
1744
1806
|
var tmp$ret$0;
|
|
1745
1807
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1746
|
-
tmp$ret$0 =
|
|
1808
|
+
tmp$ret$0 = produce_17(item);
|
|
1747
1809
|
tmp0_mapTo.a(tmp$ret$0);
|
|
1748
1810
|
}
|
|
1749
1811
|
tmp$ret$3 = copyToArray(tmp0_mapTo);
|
|
1750
1812
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
1751
1813
|
}
|
|
1752
|
-
function produce_16(_this__u8e3s4) {
|
|
1753
|
-
return new WsToken(_this__u8e3s4.z1z_1.c20(), _this__u8e3s4.a20_1, produce_17(_this__u8e3s4.b20_1));
|
|
1754
|
-
}
|
|
1755
1814
|
function produce_17(_this__u8e3s4) {
|
|
1756
|
-
return new
|
|
1815
|
+
return new WsToken(_this__u8e3s4.z1z_1.c20(), _this__u8e3s4.a20_1, produce_18(_this__u8e3s4.b20_1));
|
|
1757
1816
|
}
|
|
1758
1817
|
function produce_18(_this__u8e3s4) {
|
|
1818
|
+
return new WsCoordinates(_this__u8e3s4.d20_1, _this__u8e3s4.e20_1, produce_19(_this__u8e3s4.f20_1));
|
|
1819
|
+
}
|
|
1820
|
+
function produce_19(_this__u8e3s4) {
|
|
1759
1821
|
return new WsIndex(_this__u8e3s4.m21_1, _this__u8e3s4.n21_1);
|
|
1760
1822
|
}
|
|
1761
1823
|
function WsError(index, length, value) {
|
|
@@ -1763,7 +1825,7 @@
|
|
|
1763
1825
|
this.length = length;
|
|
1764
1826
|
this.value = value;
|
|
1765
1827
|
}
|
|
1766
|
-
protoOf(WsError).
|
|
1828
|
+
protoOf(WsError).z25 = function () {
|
|
1767
1829
|
return this.index;
|
|
1768
1830
|
};
|
|
1769
1831
|
protoOf(WsError).ba = function () {
|
|
@@ -1781,14 +1843,14 @@
|
|
|
1781
1843
|
protoOf(WsError).c8 = function () {
|
|
1782
1844
|
return this.value;
|
|
1783
1845
|
};
|
|
1784
|
-
protoOf(WsError).
|
|
1846
|
+
protoOf(WsError).a26 = function (index, length, value) {
|
|
1785
1847
|
return new WsError(index, length, value);
|
|
1786
1848
|
};
|
|
1787
1849
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
1788
1850
|
index = index === VOID ? this.index : index;
|
|
1789
1851
|
length = length === VOID ? this.length : length;
|
|
1790
1852
|
value = value === VOID ? this.value : value;
|
|
1791
|
-
return this.
|
|
1853
|
+
return this.a26(index, length, value);
|
|
1792
1854
|
};
|
|
1793
1855
|
protoOf(WsError).toString = function () {
|
|
1794
1856
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -1813,12 +1875,24 @@
|
|
|
1813
1875
|
return false;
|
|
1814
1876
|
return true;
|
|
1815
1877
|
};
|
|
1816
|
-
function
|
|
1878
|
+
function produce_20(_this__u8e3s4) {
|
|
1817
1879
|
var tmp = _this__u8e3s4.g20_1.f20_1.m21_1 - _this__u8e3s4.g20_1.f20_1.n21_1 | 0;
|
|
1818
1880
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
1819
1881
|
return new WsError(tmp, _this__u8e3s4.g20_1.f20_1.n21_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
1820
1882
|
}
|
|
1821
1883
|
//region block: post-declaration
|
|
1884
|
+
defineProp(protoOf(WsType), 'name', function () {
|
|
1885
|
+
return this.bh();
|
|
1886
|
+
}, VOID);
|
|
1887
|
+
defineProp(protoOf(WsEndpoint), 'name', function () {
|
|
1888
|
+
return this.bh();
|
|
1889
|
+
}, VOID);
|
|
1890
|
+
defineProp(protoOf(WsEnum), 'name', function () {
|
|
1891
|
+
return this.bh();
|
|
1892
|
+
}, VOID);
|
|
1893
|
+
defineProp(protoOf(WsRefined), 'name', function () {
|
|
1894
|
+
return this.bh();
|
|
1895
|
+
}, VOID);
|
|
1822
1896
|
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).bh, VOID);
|
|
1823
1897
|
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).ch, VOID);
|
|
1824
1898
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
@@ -1895,14 +1969,6 @@
|
|
|
1895
1969
|
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1896
1970
|
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1897
1971
|
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
1972
|
$community$flock$wirespec$compiler$lib.Compiler = Compiler;
|
|
1907
1973
|
defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance_1, VOID);
|
|
1908
1974
|
$community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
|
|
@@ -1919,6 +1985,15 @@
|
|
|
1919
1985
|
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1920
1986
|
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1921
1987
|
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1988
|
+
$community$flock$wirespec$compiler$lib.WsCompilationResult = WsCompilationResult;
|
|
1989
|
+
$community$flock$wirespec$compiler$lib.WsCompiled = WsCompiled;
|
|
1990
|
+
$community$flock$wirespec$compiler$lib.WsCompiledFile = WsCompiledFile;
|
|
1991
|
+
$community$flock$wirespec$compiler$lib.WsParseResult = WsParseResult;
|
|
1992
|
+
var $community = _.community || (_.community = {});
|
|
1993
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
1994
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
1995
|
+
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
1996
|
+
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
1922
1997
|
$community$flock$wirespec$compiler$lib.WsTokenResult = WsTokenResult;
|
|
1923
1998
|
$community$flock$wirespec$compiler$lib.WsTokens = WsTokens;
|
|
1924
1999
|
$community$flock$wirespec$compiler$lib.WsToken = WsToken;
|
|
@@ -1934,7 +2009,8 @@
|
|
|
1934
2009
|
$jsExportAll$(_);
|
|
1935
2010
|
_.$jsExportAll$ = $jsExportAll$;
|
|
1936
2011
|
_.$_$ = _.$_$ || {};
|
|
1937
|
-
_.$_$.a =
|
|
2012
|
+
_.$_$.a = produce_14;
|
|
2013
|
+
_.$_$.b = produce_0;
|
|
1938
2014
|
//endregion
|
|
1939
2015
|
return _;
|
|
1940
2016
|
}));
|