@flock/wirespec 0.9.19 → 0.9.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-core.js +17 -3
- package/arrow-arrow-core.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/markdown.js +60 -60
- package/mordant-mordant.js +17 -17
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +44 -27
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +239 -296
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +1006 -857
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +72 -72
- package/wirespec-src-plugin-cli.js +46 -46
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +0 -7
- package/wirespec-src-plugin-npm.js +62 -41
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +5 -5
- package/wirespec-src-tools-generator.js.map +1 -1
|
@@ -76,19 +76,19 @@
|
|
|
76
76
|
var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
|
|
77
77
|
var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
|
|
78
78
|
var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
|
|
79
|
-
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
|
|
80
|
-
var objectMeta = kotlin_kotlin.$_$.pa;
|
|
81
79
|
var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.y1;
|
|
82
80
|
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
81
|
+
var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
|
|
83
82
|
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
84
83
|
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.w;
|
|
85
84
|
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
|
|
85
|
+
var objectMeta = kotlin_kotlin.$_$.pa;
|
|
86
86
|
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
|
|
87
87
|
var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
|
|
88
88
|
var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
|
|
89
89
|
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
90
|
-
var
|
|
91
|
-
var
|
|
90
|
+
var OpenApiV2Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
91
|
+
var OpenApiV3Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
|
|
92
92
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
93
93
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
94
94
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
@@ -119,28 +119,22 @@
|
|
|
119
119
|
setMetadataFor(WsRequest, 'WsRequest', classMeta);
|
|
120
120
|
setMetadataFor(WsResponse, 'WsResponse', classMeta);
|
|
121
121
|
setMetadataFor(WsContent, 'WsContent', classMeta);
|
|
122
|
-
setMetadataFor(Compiler$Companion$logger$1, VOID, classMeta, Logger);
|
|
123
|
-
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
124
122
|
setMetadataFor(Compiler, 'Compiler', classMeta);
|
|
125
|
-
setMetadataFor(
|
|
123
|
+
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
126
124
|
setMetadataFor(WsToKotlin, 'WsToKotlin', classMeta, Compiler, VOID, WsToKotlin);
|
|
127
|
-
setMetadataFor(
|
|
125
|
+
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
128
126
|
setMetadataFor(WsToTypeScript, 'WsToTypeScript', classMeta, Compiler, VOID, WsToTypeScript);
|
|
129
|
-
setMetadataFor(
|
|
127
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
130
128
|
setMetadataFor(WsToScala, 'WsToScala', classMeta, Compiler, VOID, WsToScala);
|
|
131
|
-
setMetadataFor(
|
|
129
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
132
130
|
setMetadataFor(WsToJava, 'WsToJava', classMeta, Compiler, VOID, WsToJava);
|
|
133
|
-
setMetadataFor(
|
|
131
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
134
132
|
setMetadataFor(WsToWirespec, 'WsToWirespec', classMeta, Compiler, VOID, WsToWirespec);
|
|
135
133
|
setMetadataFor(OpenApiV2Parser, 'OpenApiV2Parser', objectMeta);
|
|
136
|
-
setMetadataFor(OpenApiV2ToTypescript$logger$1, VOID, classMeta, Logger);
|
|
137
134
|
setMetadataFor(OpenApiV2ToTypescript, 'OpenApiV2ToTypescript', objectMeta);
|
|
138
|
-
setMetadataFor(OpenApiV2ToWirespec$logger$1, VOID, classMeta, Logger);
|
|
139
135
|
setMetadataFor(OpenApiV2ToWirespec, 'OpenApiV2ToWirespec', objectMeta);
|
|
140
136
|
setMetadataFor(OpenApiV3Parser, 'OpenApiV3Parser', objectMeta);
|
|
141
|
-
setMetadataFor(OpenApiV3ToTypescript$logger$1, VOID, classMeta, Logger);
|
|
142
137
|
setMetadataFor(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript', objectMeta);
|
|
143
|
-
setMetadataFor(OpenApiV3ToWirespec$logger$1, VOID, classMeta, Logger);
|
|
144
138
|
setMetadataFor(OpenApiV3ToWirespec, 'OpenApiV3ToWirespec', objectMeta);
|
|
145
139
|
setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta, VOID, VOID, WsCompilationResult);
|
|
146
140
|
setMetadataFor(WsCompiled, 'WsCompiled', classMeta);
|
|
@@ -158,21 +152,21 @@
|
|
|
158
152
|
function WsNode() {
|
|
159
153
|
}
|
|
160
154
|
function WsType(identifier, comment, shape) {
|
|
161
|
-
this.
|
|
155
|
+
this.l2d_1 = identifier;
|
|
162
156
|
this.comment = comment;
|
|
163
157
|
this.shape = shape;
|
|
164
158
|
}
|
|
165
159
|
protoOf(WsType).a22 = function () {
|
|
166
|
-
return this.
|
|
160
|
+
return this.l2d_1;
|
|
167
161
|
};
|
|
168
|
-
protoOf(WsType).
|
|
162
|
+
protoOf(WsType).m2d = function () {
|
|
169
163
|
return this.comment;
|
|
170
164
|
};
|
|
171
|
-
protoOf(WsType).
|
|
165
|
+
protoOf(WsType).n2d = function () {
|
|
172
166
|
return this.shape;
|
|
173
167
|
};
|
|
174
168
|
protoOf(WsType).jd = function () {
|
|
175
|
-
return this.
|
|
169
|
+
return this.l2d_1;
|
|
176
170
|
};
|
|
177
171
|
protoOf(WsType).kd = function () {
|
|
178
172
|
return this.comment;
|
|
@@ -180,20 +174,20 @@
|
|
|
180
174
|
protoOf(WsType).dh = function () {
|
|
181
175
|
return this.shape;
|
|
182
176
|
};
|
|
183
|
-
protoOf(WsType).
|
|
177
|
+
protoOf(WsType).o2d = function (identifier, comment, shape) {
|
|
184
178
|
return new WsType(identifier, comment, shape);
|
|
185
179
|
};
|
|
186
180
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
187
|
-
identifier = identifier === VOID ? this.
|
|
181
|
+
identifier = identifier === VOID ? this.l2d_1 : identifier;
|
|
188
182
|
comment = comment === VOID ? this.comment : comment;
|
|
189
183
|
shape = shape === VOID ? this.shape : shape;
|
|
190
|
-
return this.
|
|
184
|
+
return this.o2d(identifier, comment, shape);
|
|
191
185
|
};
|
|
192
186
|
protoOf(WsType).toString = function () {
|
|
193
|
-
return 'WsType(identifier=' + this.
|
|
187
|
+
return 'WsType(identifier=' + this.l2d_1 + ', comment=' + this.comment + ', shape=' + this.shape + ')';
|
|
194
188
|
};
|
|
195
189
|
protoOf(WsType).hashCode = function () {
|
|
196
|
-
var result = getStringHashCode(this.
|
|
190
|
+
var result = getStringHashCode(this.l2d_1);
|
|
197
191
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
198
192
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
199
193
|
return result;
|
|
@@ -204,7 +198,7 @@
|
|
|
204
198
|
if (!(other instanceof WsType))
|
|
205
199
|
return false;
|
|
206
200
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
207
|
-
if (!(this.
|
|
201
|
+
if (!(this.l2d_1 === tmp0_other_with_cast.l2d_1))
|
|
208
202
|
return false;
|
|
209
203
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
210
204
|
return false;
|
|
@@ -221,12 +215,12 @@
|
|
|
221
215
|
protoOf(WsShape).jd = function () {
|
|
222
216
|
return this.value;
|
|
223
217
|
};
|
|
224
|
-
protoOf(WsShape).
|
|
218
|
+
protoOf(WsShape).p2d = function (value) {
|
|
225
219
|
return new WsShape(value);
|
|
226
220
|
};
|
|
227
221
|
protoOf(WsShape).copy = function (value, $super) {
|
|
228
222
|
value = value === VOID ? this.value : value;
|
|
229
|
-
return this.
|
|
223
|
+
return this.p2d(value);
|
|
230
224
|
};
|
|
231
225
|
protoOf(WsShape).toString = function () {
|
|
232
226
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -245,7 +239,7 @@
|
|
|
245
239
|
return true;
|
|
246
240
|
};
|
|
247
241
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
248
|
-
this.
|
|
242
|
+
this.q2d_1 = identifier;
|
|
249
243
|
this.comment = comment;
|
|
250
244
|
this.method = method;
|
|
251
245
|
this.path = path;
|
|
@@ -256,34 +250,34 @@
|
|
|
256
250
|
this.responses = responses;
|
|
257
251
|
}
|
|
258
252
|
protoOf(WsEndpoint).a22 = function () {
|
|
259
|
-
return this.
|
|
253
|
+
return this.q2d_1;
|
|
260
254
|
};
|
|
261
|
-
protoOf(WsEndpoint).
|
|
255
|
+
protoOf(WsEndpoint).m2d = function () {
|
|
262
256
|
return this.comment;
|
|
263
257
|
};
|
|
264
|
-
protoOf(WsEndpoint).
|
|
258
|
+
protoOf(WsEndpoint).r2d = function () {
|
|
265
259
|
return this.method;
|
|
266
260
|
};
|
|
267
|
-
protoOf(WsEndpoint).
|
|
261
|
+
protoOf(WsEndpoint).s2d = function () {
|
|
268
262
|
return this.path;
|
|
269
263
|
};
|
|
270
|
-
protoOf(WsEndpoint).
|
|
264
|
+
protoOf(WsEndpoint).t2d = function () {
|
|
271
265
|
return this.query;
|
|
272
266
|
};
|
|
273
|
-
protoOf(WsEndpoint).
|
|
267
|
+
protoOf(WsEndpoint).u2d = function () {
|
|
274
268
|
return this.headers;
|
|
275
269
|
};
|
|
276
|
-
protoOf(WsEndpoint).
|
|
270
|
+
protoOf(WsEndpoint).v2d = function () {
|
|
277
271
|
return this.cookies;
|
|
278
272
|
};
|
|
279
|
-
protoOf(WsEndpoint).
|
|
273
|
+
protoOf(WsEndpoint).w2d = function () {
|
|
280
274
|
return this.requests;
|
|
281
275
|
};
|
|
282
|
-
protoOf(WsEndpoint).
|
|
276
|
+
protoOf(WsEndpoint).x2d = function () {
|
|
283
277
|
return this.responses;
|
|
284
278
|
};
|
|
285
279
|
protoOf(WsEndpoint).jd = function () {
|
|
286
|
-
return this.
|
|
280
|
+
return this.q2d_1;
|
|
287
281
|
};
|
|
288
282
|
protoOf(WsEndpoint).kd = function () {
|
|
289
283
|
return this.comment;
|
|
@@ -291,29 +285,29 @@
|
|
|
291
285
|
protoOf(WsEndpoint).dh = function () {
|
|
292
286
|
return this.method;
|
|
293
287
|
};
|
|
294
|
-
protoOf(WsEndpoint).
|
|
288
|
+
protoOf(WsEndpoint).y2d = function () {
|
|
295
289
|
return this.path;
|
|
296
290
|
};
|
|
297
|
-
protoOf(WsEndpoint).
|
|
291
|
+
protoOf(WsEndpoint).z2d = function () {
|
|
298
292
|
return this.query;
|
|
299
293
|
};
|
|
300
|
-
protoOf(WsEndpoint).
|
|
294
|
+
protoOf(WsEndpoint).a2e = function () {
|
|
301
295
|
return this.headers;
|
|
302
296
|
};
|
|
303
|
-
protoOf(WsEndpoint).
|
|
297
|
+
protoOf(WsEndpoint).b2e = function () {
|
|
304
298
|
return this.cookies;
|
|
305
299
|
};
|
|
306
|
-
protoOf(WsEndpoint).
|
|
300
|
+
protoOf(WsEndpoint).c2e = function () {
|
|
307
301
|
return this.requests;
|
|
308
302
|
};
|
|
309
|
-
protoOf(WsEndpoint).
|
|
303
|
+
protoOf(WsEndpoint).d2e = function () {
|
|
310
304
|
return this.responses;
|
|
311
305
|
};
|
|
312
|
-
protoOf(WsEndpoint).
|
|
306
|
+
protoOf(WsEndpoint).e2e = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
313
307
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
314
308
|
};
|
|
315
309
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
316
|
-
identifier = identifier === VOID ? this.
|
|
310
|
+
identifier = identifier === VOID ? this.q2d_1 : identifier;
|
|
317
311
|
comment = comment === VOID ? this.comment : comment;
|
|
318
312
|
method = method === VOID ? this.method : method;
|
|
319
313
|
path = path === VOID ? this.path : path;
|
|
@@ -322,13 +316,13 @@
|
|
|
322
316
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
323
317
|
requests = requests === VOID ? this.requests : requests;
|
|
324
318
|
responses = responses === VOID ? this.responses : responses;
|
|
325
|
-
return this.
|
|
319
|
+
return this.e2e(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
326
320
|
};
|
|
327
321
|
protoOf(WsEndpoint).toString = function () {
|
|
328
|
-
return 'WsEndpoint(identifier=' + this.
|
|
322
|
+
return 'WsEndpoint(identifier=' + this.q2d_1 + ', comment=' + this.comment + ', 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) + ')';
|
|
329
323
|
};
|
|
330
324
|
protoOf(WsEndpoint).hashCode = function () {
|
|
331
|
-
var result = getStringHashCode(this.
|
|
325
|
+
var result = getStringHashCode(this.q2d_1);
|
|
332
326
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
333
327
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
334
328
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -345,7 +339,7 @@
|
|
|
345
339
|
if (!(other instanceof WsEndpoint))
|
|
346
340
|
return false;
|
|
347
341
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
348
|
-
if (!(this.
|
|
342
|
+
if (!(this.q2d_1 === tmp0_other_with_cast.q2d_1))
|
|
349
343
|
return false;
|
|
350
344
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
351
345
|
return false;
|
|
@@ -366,21 +360,21 @@
|
|
|
366
360
|
return true;
|
|
367
361
|
};
|
|
368
362
|
function WsEnum(identifier, comment, entries) {
|
|
369
|
-
this.
|
|
363
|
+
this.f2e_1 = identifier;
|
|
370
364
|
this.comment = comment;
|
|
371
365
|
this.entries = entries;
|
|
372
366
|
}
|
|
373
367
|
protoOf(WsEnum).a22 = function () {
|
|
374
|
-
return this.
|
|
368
|
+
return this.f2e_1;
|
|
375
369
|
};
|
|
376
|
-
protoOf(WsEnum).
|
|
370
|
+
protoOf(WsEnum).m2d = function () {
|
|
377
371
|
return this.comment;
|
|
378
372
|
};
|
|
379
373
|
protoOf(WsEnum).n2 = function () {
|
|
380
374
|
return this.entries;
|
|
381
375
|
};
|
|
382
376
|
protoOf(WsEnum).jd = function () {
|
|
383
|
-
return this.
|
|
377
|
+
return this.f2e_1;
|
|
384
378
|
};
|
|
385
379
|
protoOf(WsEnum).kd = function () {
|
|
386
380
|
return this.comment;
|
|
@@ -388,20 +382,20 @@
|
|
|
388
382
|
protoOf(WsEnum).dh = function () {
|
|
389
383
|
return this.entries;
|
|
390
384
|
};
|
|
391
|
-
protoOf(WsEnum).
|
|
385
|
+
protoOf(WsEnum).g2e = function (identifier, comment, entries) {
|
|
392
386
|
return new WsEnum(identifier, comment, entries);
|
|
393
387
|
};
|
|
394
388
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
395
|
-
identifier = identifier === VOID ? this.
|
|
389
|
+
identifier = identifier === VOID ? this.f2e_1 : identifier;
|
|
396
390
|
comment = comment === VOID ? this.comment : comment;
|
|
397
391
|
entries = entries === VOID ? this.entries : entries;
|
|
398
|
-
return this.
|
|
392
|
+
return this.g2e(identifier, comment, entries);
|
|
399
393
|
};
|
|
400
394
|
protoOf(WsEnum).toString = function () {
|
|
401
|
-
return 'WsEnum(identifier=' + this.
|
|
395
|
+
return 'WsEnum(identifier=' + this.f2e_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
402
396
|
};
|
|
403
397
|
protoOf(WsEnum).hashCode = function () {
|
|
404
|
-
var result = getStringHashCode(this.
|
|
398
|
+
var result = getStringHashCode(this.f2e_1);
|
|
405
399
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
406
400
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
407
401
|
return result;
|
|
@@ -412,7 +406,7 @@
|
|
|
412
406
|
if (!(other instanceof WsEnum))
|
|
413
407
|
return false;
|
|
414
408
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
415
|
-
if (!(this.
|
|
409
|
+
if (!(this.f2e_1 === tmp0_other_with_cast.f2e_1))
|
|
416
410
|
return false;
|
|
417
411
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
418
412
|
return false;
|
|
@@ -421,21 +415,21 @@
|
|
|
421
415
|
return true;
|
|
422
416
|
};
|
|
423
417
|
function WsUnion(identifier, comment, entries) {
|
|
424
|
-
this.
|
|
418
|
+
this.h2e_1 = identifier;
|
|
425
419
|
this.comment = comment;
|
|
426
420
|
this.entries = entries;
|
|
427
421
|
}
|
|
428
422
|
protoOf(WsUnion).a22 = function () {
|
|
429
|
-
return this.
|
|
423
|
+
return this.h2e_1;
|
|
430
424
|
};
|
|
431
|
-
protoOf(WsUnion).
|
|
425
|
+
protoOf(WsUnion).m2d = function () {
|
|
432
426
|
return this.comment;
|
|
433
427
|
};
|
|
434
428
|
protoOf(WsUnion).n2 = function () {
|
|
435
429
|
return this.entries;
|
|
436
430
|
};
|
|
437
431
|
protoOf(WsUnion).jd = function () {
|
|
438
|
-
return this.
|
|
432
|
+
return this.h2e_1;
|
|
439
433
|
};
|
|
440
434
|
protoOf(WsUnion).kd = function () {
|
|
441
435
|
return this.comment;
|
|
@@ -443,20 +437,20 @@
|
|
|
443
437
|
protoOf(WsUnion).dh = function () {
|
|
444
438
|
return this.entries;
|
|
445
439
|
};
|
|
446
|
-
protoOf(WsUnion).
|
|
440
|
+
protoOf(WsUnion).i2e = function (identifier, comment, entries) {
|
|
447
441
|
return new WsUnion(identifier, comment, entries);
|
|
448
442
|
};
|
|
449
443
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
450
|
-
identifier = identifier === VOID ? this.
|
|
444
|
+
identifier = identifier === VOID ? this.h2e_1 : identifier;
|
|
451
445
|
comment = comment === VOID ? this.comment : comment;
|
|
452
446
|
entries = entries === VOID ? this.entries : entries;
|
|
453
|
-
return this.
|
|
447
|
+
return this.i2e(identifier, comment, entries);
|
|
454
448
|
};
|
|
455
449
|
protoOf(WsUnion).toString = function () {
|
|
456
|
-
return 'WsUnion(identifier=' + this.
|
|
450
|
+
return 'WsUnion(identifier=' + this.h2e_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
457
451
|
};
|
|
458
452
|
protoOf(WsUnion).hashCode = function () {
|
|
459
|
-
var result = getStringHashCode(this.
|
|
453
|
+
var result = getStringHashCode(this.h2e_1);
|
|
460
454
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
461
455
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
462
456
|
return result;
|
|
@@ -467,7 +461,7 @@
|
|
|
467
461
|
if (!(other instanceof WsUnion))
|
|
468
462
|
return false;
|
|
469
463
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
470
|
-
if (!(this.
|
|
464
|
+
if (!(this.h2e_1 === tmp0_other_with_cast.h2e_1))
|
|
471
465
|
return false;
|
|
472
466
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
473
467
|
return false;
|
|
@@ -476,21 +470,21 @@
|
|
|
476
470
|
return true;
|
|
477
471
|
};
|
|
478
472
|
function WsRefined(identifier, comment, validator) {
|
|
479
|
-
this.
|
|
473
|
+
this.j2e_1 = identifier;
|
|
480
474
|
this.comment = comment;
|
|
481
475
|
this.validator = validator;
|
|
482
476
|
}
|
|
483
477
|
protoOf(WsRefined).a22 = function () {
|
|
484
|
-
return this.
|
|
478
|
+
return this.j2e_1;
|
|
485
479
|
};
|
|
486
|
-
protoOf(WsRefined).
|
|
480
|
+
protoOf(WsRefined).m2d = function () {
|
|
487
481
|
return this.comment;
|
|
488
482
|
};
|
|
489
|
-
protoOf(WsRefined).
|
|
483
|
+
protoOf(WsRefined).k2e = function () {
|
|
490
484
|
return this.validator;
|
|
491
485
|
};
|
|
492
486
|
protoOf(WsRefined).jd = function () {
|
|
493
|
-
return this.
|
|
487
|
+
return this.j2e_1;
|
|
494
488
|
};
|
|
495
489
|
protoOf(WsRefined).kd = function () {
|
|
496
490
|
return this.comment;
|
|
@@ -498,20 +492,20 @@
|
|
|
498
492
|
protoOf(WsRefined).dh = function () {
|
|
499
493
|
return this.validator;
|
|
500
494
|
};
|
|
501
|
-
protoOf(WsRefined).
|
|
495
|
+
protoOf(WsRefined).l2e = function (identifier, comment, validator) {
|
|
502
496
|
return new WsRefined(identifier, comment, validator);
|
|
503
497
|
};
|
|
504
498
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
505
|
-
identifier = identifier === VOID ? this.
|
|
499
|
+
identifier = identifier === VOID ? this.j2e_1 : identifier;
|
|
506
500
|
comment = comment === VOID ? this.comment : comment;
|
|
507
501
|
validator = validator === VOID ? this.validator : validator;
|
|
508
|
-
return this.
|
|
502
|
+
return this.l2e(identifier, comment, validator);
|
|
509
503
|
};
|
|
510
504
|
protoOf(WsRefined).toString = function () {
|
|
511
|
-
return 'WsRefined(identifier=' + this.
|
|
505
|
+
return 'WsRefined(identifier=' + this.j2e_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
512
506
|
};
|
|
513
507
|
protoOf(WsRefined).hashCode = function () {
|
|
514
|
-
var result = getStringHashCode(this.
|
|
508
|
+
var result = getStringHashCode(this.j2e_1);
|
|
515
509
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
516
510
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
517
511
|
return result;
|
|
@@ -522,7 +516,7 @@
|
|
|
522
516
|
if (!(other instanceof WsRefined))
|
|
523
517
|
return false;
|
|
524
518
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
525
|
-
if (!(this.
|
|
519
|
+
if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
|
|
526
520
|
return false;
|
|
527
521
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
528
522
|
return false;
|
|
@@ -593,12 +587,12 @@
|
|
|
593
587
|
protoOf(WsLiteral).jd = function () {
|
|
594
588
|
return this.value;
|
|
595
589
|
};
|
|
596
|
-
protoOf(WsLiteral).
|
|
590
|
+
protoOf(WsLiteral).o2e = function (value) {
|
|
597
591
|
return new WsLiteral(value);
|
|
598
592
|
};
|
|
599
593
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
600
594
|
value = value === VOID ? this.value : value;
|
|
601
|
-
return this.
|
|
595
|
+
return this.o2e(value);
|
|
602
596
|
};
|
|
603
597
|
protoOf(WsLiteral).toString = function () {
|
|
604
598
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -623,7 +617,7 @@
|
|
|
623
617
|
protoOf(WsParam).a22 = function () {
|
|
624
618
|
return this.identifier;
|
|
625
619
|
};
|
|
626
|
-
protoOf(WsParam).
|
|
620
|
+
protoOf(WsParam).p2e = function () {
|
|
627
621
|
return this.reference;
|
|
628
622
|
};
|
|
629
623
|
protoOf(WsParam).jd = function () {
|
|
@@ -632,13 +626,13 @@
|
|
|
632
626
|
protoOf(WsParam).kd = function () {
|
|
633
627
|
return this.reference;
|
|
634
628
|
};
|
|
635
|
-
protoOf(WsParam).
|
|
629
|
+
protoOf(WsParam).q2e = function (identifier, reference) {
|
|
636
630
|
return new WsParam(identifier, reference);
|
|
637
631
|
};
|
|
638
632
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
639
633
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
640
634
|
reference = reference === VOID ? this.reference : reference;
|
|
641
|
-
return this.
|
|
635
|
+
return this.q2e(identifier, reference);
|
|
642
636
|
};
|
|
643
637
|
protoOf(WsParam).toString = function () {
|
|
644
638
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -669,12 +663,12 @@
|
|
|
669
663
|
protoOf(Shape_0).jd = function () {
|
|
670
664
|
return this.value;
|
|
671
665
|
};
|
|
672
|
-
protoOf(Shape_0).
|
|
666
|
+
protoOf(Shape_0).p2d = function (value) {
|
|
673
667
|
return new Shape_0(value);
|
|
674
668
|
};
|
|
675
669
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
676
670
|
value = value === VOID ? this.value : value;
|
|
677
|
-
return this.
|
|
671
|
+
return this.p2d(value);
|
|
678
672
|
};
|
|
679
673
|
protoOf(Shape_0).toString = function () {
|
|
680
674
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -700,7 +694,7 @@
|
|
|
700
694
|
protoOf(WsField).a22 = function () {
|
|
701
695
|
return this.identifier;
|
|
702
696
|
};
|
|
703
|
-
protoOf(WsField).
|
|
697
|
+
protoOf(WsField).p2e = function () {
|
|
704
698
|
return this.reference;
|
|
705
699
|
};
|
|
706
700
|
protoOf(WsField).hl = function () {
|
|
@@ -715,14 +709,14 @@
|
|
|
715
709
|
protoOf(WsField).dh = function () {
|
|
716
710
|
return this.isNullable;
|
|
717
711
|
};
|
|
718
|
-
protoOf(WsField).
|
|
712
|
+
protoOf(WsField).r2e = function (identifier, reference, isNullable) {
|
|
719
713
|
return new WsField(identifier, reference, isNullable);
|
|
720
714
|
};
|
|
721
715
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
722
716
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
723
717
|
reference = reference === VOID ? this.reference : reference;
|
|
724
718
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
725
|
-
return this.
|
|
719
|
+
return this.r2e(identifier, reference, isNullable);
|
|
726
720
|
};
|
|
727
721
|
protoOf(WsField).toString = function () {
|
|
728
722
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -756,12 +750,12 @@
|
|
|
756
750
|
protoOf(WsIdentifier).jd = function () {
|
|
757
751
|
return this.value;
|
|
758
752
|
};
|
|
759
|
-
protoOf(WsIdentifier).
|
|
753
|
+
protoOf(WsIdentifier).o2e = function (value) {
|
|
760
754
|
return new WsIdentifier(value);
|
|
761
755
|
};
|
|
762
756
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
763
757
|
value = value === VOID ? this.value : value;
|
|
764
|
-
return this.
|
|
758
|
+
return this.o2e(value);
|
|
765
759
|
};
|
|
766
760
|
protoOf(WsIdentifier).toString = function () {
|
|
767
761
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -783,35 +777,35 @@
|
|
|
783
777
|
}
|
|
784
778
|
function WsAny(isIterable, isMap) {
|
|
785
779
|
isMap = isMap === VOID ? false : isMap;
|
|
786
|
-
this.
|
|
787
|
-
this.
|
|
780
|
+
this.t2e_1 = isIterable;
|
|
781
|
+
this.u2e_1 = isMap;
|
|
788
782
|
}
|
|
789
783
|
protoOf(WsAny).g21 = function () {
|
|
790
|
-
return this.s2e_1;
|
|
791
|
-
};
|
|
792
|
-
protoOf(WsAny).r2e = function () {
|
|
793
784
|
return this.t2e_1;
|
|
794
785
|
};
|
|
786
|
+
protoOf(WsAny).s2e = function () {
|
|
787
|
+
return this.u2e_1;
|
|
788
|
+
};
|
|
795
789
|
protoOf(WsAny).jd = function () {
|
|
796
|
-
return this.
|
|
790
|
+
return this.t2e_1;
|
|
797
791
|
};
|
|
798
792
|
protoOf(WsAny).kd = function () {
|
|
799
|
-
return this.
|
|
793
|
+
return this.u2e_1;
|
|
800
794
|
};
|
|
801
795
|
protoOf(WsAny).k2a = function (isIterable, isMap) {
|
|
802
796
|
return new WsAny(isIterable, isMap);
|
|
803
797
|
};
|
|
804
798
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
805
|
-
isIterable = isIterable === VOID ? this.
|
|
806
|
-
isMap = isMap === VOID ? this.
|
|
799
|
+
isIterable = isIterable === VOID ? this.t2e_1 : isIterable;
|
|
800
|
+
isMap = isMap === VOID ? this.u2e_1 : isMap;
|
|
807
801
|
return this.k2a(isIterable, isMap);
|
|
808
802
|
};
|
|
809
803
|
protoOf(WsAny).toString = function () {
|
|
810
|
-
return 'WsAny(isIterable=' + this.
|
|
804
|
+
return 'WsAny(isIterable=' + this.t2e_1 + ', isMap=' + this.u2e_1 + ')';
|
|
811
805
|
};
|
|
812
806
|
protoOf(WsAny).hashCode = function () {
|
|
813
|
-
var result = getBooleanHashCode(this.
|
|
814
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
807
|
+
var result = getBooleanHashCode(this.t2e_1);
|
|
808
|
+
result = imul(result, 31) + getBooleanHashCode(this.u2e_1) | 0;
|
|
815
809
|
return result;
|
|
816
810
|
};
|
|
817
811
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -820,43 +814,43 @@
|
|
|
820
814
|
if (!(other instanceof WsAny))
|
|
821
815
|
return false;
|
|
822
816
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
823
|
-
if (!(this.s2e_1 === tmp0_other_with_cast.s2e_1))
|
|
824
|
-
return false;
|
|
825
817
|
if (!(this.t2e_1 === tmp0_other_with_cast.t2e_1))
|
|
826
818
|
return false;
|
|
819
|
+
if (!(this.u2e_1 === tmp0_other_with_cast.u2e_1))
|
|
820
|
+
return false;
|
|
827
821
|
return true;
|
|
828
822
|
};
|
|
829
823
|
function WsUnit(isIterable, isMap) {
|
|
830
824
|
isMap = isMap === VOID ? false : isMap;
|
|
831
|
-
this.
|
|
832
|
-
this.
|
|
825
|
+
this.v2e_1 = isIterable;
|
|
826
|
+
this.w2e_1 = isMap;
|
|
833
827
|
}
|
|
834
828
|
protoOf(WsUnit).g21 = function () {
|
|
835
|
-
return this.u2e_1;
|
|
836
|
-
};
|
|
837
|
-
protoOf(WsUnit).r2e = function () {
|
|
838
829
|
return this.v2e_1;
|
|
839
830
|
};
|
|
831
|
+
protoOf(WsUnit).s2e = function () {
|
|
832
|
+
return this.w2e_1;
|
|
833
|
+
};
|
|
840
834
|
protoOf(WsUnit).jd = function () {
|
|
841
|
-
return this.
|
|
835
|
+
return this.v2e_1;
|
|
842
836
|
};
|
|
843
837
|
protoOf(WsUnit).kd = function () {
|
|
844
|
-
return this.
|
|
838
|
+
return this.w2e_1;
|
|
845
839
|
};
|
|
846
840
|
protoOf(WsUnit).k2a = function (isIterable, isMap) {
|
|
847
841
|
return new WsUnit(isIterable, isMap);
|
|
848
842
|
};
|
|
849
843
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
850
|
-
isIterable = isIterable === VOID ? this.
|
|
851
|
-
isMap = isMap === VOID ? this.
|
|
844
|
+
isIterable = isIterable === VOID ? this.v2e_1 : isIterable;
|
|
845
|
+
isMap = isMap === VOID ? this.w2e_1 : isMap;
|
|
852
846
|
return this.k2a(isIterable, isMap);
|
|
853
847
|
};
|
|
854
848
|
protoOf(WsUnit).toString = function () {
|
|
855
|
-
return 'WsUnit(isIterable=' + this.
|
|
849
|
+
return 'WsUnit(isIterable=' + this.v2e_1 + ', isMap=' + this.w2e_1 + ')';
|
|
856
850
|
};
|
|
857
851
|
protoOf(WsUnit).hashCode = function () {
|
|
858
|
-
var result = getBooleanHashCode(this.
|
|
859
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
852
|
+
var result = getBooleanHashCode(this.v2e_1);
|
|
853
|
+
result = imul(result, 31) + getBooleanHashCode(this.w2e_1) | 0;
|
|
860
854
|
return result;
|
|
861
855
|
};
|
|
862
856
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -865,52 +859,52 @@
|
|
|
865
859
|
if (!(other instanceof WsUnit))
|
|
866
860
|
return false;
|
|
867
861
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
868
|
-
if (!(this.u2e_1 === tmp0_other_with_cast.u2e_1))
|
|
869
|
-
return false;
|
|
870
862
|
if (!(this.v2e_1 === tmp0_other_with_cast.v2e_1))
|
|
871
863
|
return false;
|
|
864
|
+
if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
|
|
865
|
+
return false;
|
|
872
866
|
return true;
|
|
873
867
|
};
|
|
874
868
|
function WsCustom(value, isIterable, isMap) {
|
|
875
869
|
isMap = isMap === VOID ? false : isMap;
|
|
876
870
|
this.value = value;
|
|
877
|
-
this.
|
|
878
|
-
this.
|
|
871
|
+
this.x2e_1 = isIterable;
|
|
872
|
+
this.y2e_1 = isMap;
|
|
879
873
|
}
|
|
880
874
|
protoOf(WsCustom).p2 = function () {
|
|
881
875
|
return this.value;
|
|
882
876
|
};
|
|
883
877
|
protoOf(WsCustom).g21 = function () {
|
|
884
|
-
return this.w2e_1;
|
|
885
|
-
};
|
|
886
|
-
protoOf(WsCustom).r2e = function () {
|
|
887
878
|
return this.x2e_1;
|
|
888
879
|
};
|
|
880
|
+
protoOf(WsCustom).s2e = function () {
|
|
881
|
+
return this.y2e_1;
|
|
882
|
+
};
|
|
889
883
|
protoOf(WsCustom).jd = function () {
|
|
890
884
|
return this.value;
|
|
891
885
|
};
|
|
892
886
|
protoOf(WsCustom).kd = function () {
|
|
893
|
-
return this.
|
|
887
|
+
return this.x2e_1;
|
|
894
888
|
};
|
|
895
889
|
protoOf(WsCustom).dh = function () {
|
|
896
|
-
return this.
|
|
890
|
+
return this.y2e_1;
|
|
897
891
|
};
|
|
898
892
|
protoOf(WsCustom).t2a = function (value, isIterable, isMap) {
|
|
899
893
|
return new WsCustom(value, isIterable, isMap);
|
|
900
894
|
};
|
|
901
895
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
902
896
|
value = value === VOID ? this.value : value;
|
|
903
|
-
isIterable = isIterable === VOID ? this.
|
|
904
|
-
isMap = isMap === VOID ? this.
|
|
897
|
+
isIterable = isIterable === VOID ? this.x2e_1 : isIterable;
|
|
898
|
+
isMap = isMap === VOID ? this.y2e_1 : isMap;
|
|
905
899
|
return this.t2a(value, isIterable, isMap);
|
|
906
900
|
};
|
|
907
901
|
protoOf(WsCustom).toString = function () {
|
|
908
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
902
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.x2e_1 + ', isMap=' + this.y2e_1 + ')';
|
|
909
903
|
};
|
|
910
904
|
protoOf(WsCustom).hashCode = function () {
|
|
911
905
|
var result = getStringHashCode(this.value);
|
|
912
|
-
result = imul(result, 31) + getBooleanHashCode(this.w2e_1) | 0;
|
|
913
906
|
result = imul(result, 31) + getBooleanHashCode(this.x2e_1) | 0;
|
|
907
|
+
result = imul(result, 31) + getBooleanHashCode(this.y2e_1) | 0;
|
|
914
908
|
return result;
|
|
915
909
|
};
|
|
916
910
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -921,52 +915,52 @@
|
|
|
921
915
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
922
916
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
923
917
|
return false;
|
|
924
|
-
if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
|
|
925
|
-
return false;
|
|
926
918
|
if (!(this.x2e_1 === tmp0_other_with_cast.x2e_1))
|
|
927
919
|
return false;
|
|
920
|
+
if (!(this.y2e_1 === tmp0_other_with_cast.y2e_1))
|
|
921
|
+
return false;
|
|
928
922
|
return true;
|
|
929
923
|
};
|
|
930
924
|
function WsPrimitive(type, isIterable, isMap) {
|
|
931
925
|
isMap = isMap === VOID ? false : isMap;
|
|
932
926
|
this.type = type;
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
927
|
+
this.z2e_1 = isIterable;
|
|
928
|
+
this.a2f_1 = isMap;
|
|
935
929
|
}
|
|
936
|
-
protoOf(WsPrimitive).
|
|
930
|
+
protoOf(WsPrimitive).b2f = function () {
|
|
937
931
|
return this.type;
|
|
938
932
|
};
|
|
939
933
|
protoOf(WsPrimitive).g21 = function () {
|
|
940
|
-
return this.y2e_1;
|
|
941
|
-
};
|
|
942
|
-
protoOf(WsPrimitive).r2e = function () {
|
|
943
934
|
return this.z2e_1;
|
|
944
935
|
};
|
|
936
|
+
protoOf(WsPrimitive).s2e = function () {
|
|
937
|
+
return this.a2f_1;
|
|
938
|
+
};
|
|
945
939
|
protoOf(WsPrimitive).jd = function () {
|
|
946
940
|
return this.type;
|
|
947
941
|
};
|
|
948
942
|
protoOf(WsPrimitive).kd = function () {
|
|
949
|
-
return this.
|
|
943
|
+
return this.z2e_1;
|
|
950
944
|
};
|
|
951
945
|
protoOf(WsPrimitive).dh = function () {
|
|
952
|
-
return this.
|
|
946
|
+
return this.a2f_1;
|
|
953
947
|
};
|
|
954
|
-
protoOf(WsPrimitive).
|
|
948
|
+
protoOf(WsPrimitive).c2f = function (type, isIterable, isMap) {
|
|
955
949
|
return new WsPrimitive(type, isIterable, isMap);
|
|
956
950
|
};
|
|
957
951
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
958
952
|
type = type === VOID ? this.type : type;
|
|
959
|
-
isIterable = isIterable === VOID ? this.
|
|
960
|
-
isMap = isMap === VOID ? this.
|
|
961
|
-
return this.
|
|
953
|
+
isIterable = isIterable === VOID ? this.z2e_1 : isIterable;
|
|
954
|
+
isMap = isMap === VOID ? this.a2f_1 : isMap;
|
|
955
|
+
return this.c2f(type, isIterable, isMap);
|
|
962
956
|
};
|
|
963
957
|
protoOf(WsPrimitive).toString = function () {
|
|
964
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
958
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.z2e_1 + ', isMap=' + this.a2f_1 + ')';
|
|
965
959
|
};
|
|
966
960
|
protoOf(WsPrimitive).hashCode = function () {
|
|
967
961
|
var result = this.type.hashCode();
|
|
968
|
-
result = imul(result, 31) + getBooleanHashCode(this.y2e_1) | 0;
|
|
969
962
|
result = imul(result, 31) + getBooleanHashCode(this.z2e_1) | 0;
|
|
963
|
+
result = imul(result, 31) + getBooleanHashCode(this.a2f_1) | 0;
|
|
970
964
|
return result;
|
|
971
965
|
};
|
|
972
966
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -977,10 +971,10 @@
|
|
|
977
971
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
978
972
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
979
973
|
return false;
|
|
980
|
-
if (!(this.y2e_1 === tmp0_other_with_cast.y2e_1))
|
|
981
|
-
return false;
|
|
982
974
|
if (!(this.z2e_1 === tmp0_other_with_cast.z2e_1))
|
|
983
975
|
return false;
|
|
976
|
+
if (!(this.a2f_1 === tmp0_other_with_cast.a2f_1))
|
|
977
|
+
return false;
|
|
984
978
|
return true;
|
|
985
979
|
};
|
|
986
980
|
var WsPrimitiveType_String_instance;
|
|
@@ -1028,12 +1022,12 @@
|
|
|
1028
1022
|
protoOf(WsRequest).jd = function () {
|
|
1029
1023
|
return this.content;
|
|
1030
1024
|
};
|
|
1031
|
-
protoOf(WsRequest).
|
|
1025
|
+
protoOf(WsRequest).f2f = function (content) {
|
|
1032
1026
|
return new WsRequest(content);
|
|
1033
1027
|
};
|
|
1034
1028
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1035
1029
|
content = content === VOID ? this.content : content;
|
|
1036
|
-
return this.
|
|
1030
|
+
return this.f2f(content);
|
|
1037
1031
|
};
|
|
1038
1032
|
protoOf(WsRequest).toString = function () {
|
|
1039
1033
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -1056,10 +1050,10 @@
|
|
|
1056
1050
|
this.headers = headers;
|
|
1057
1051
|
this.content = content;
|
|
1058
1052
|
}
|
|
1059
|
-
protoOf(WsResponse).
|
|
1053
|
+
protoOf(WsResponse).g2f = function () {
|
|
1060
1054
|
return this.status;
|
|
1061
1055
|
};
|
|
1062
|
-
protoOf(WsResponse).
|
|
1056
|
+
protoOf(WsResponse).u2d = function () {
|
|
1063
1057
|
return this.headers;
|
|
1064
1058
|
};
|
|
1065
1059
|
protoOf(WsResponse).d16 = function () {
|
|
@@ -1074,14 +1068,14 @@
|
|
|
1074
1068
|
protoOf(WsResponse).dh = function () {
|
|
1075
1069
|
return this.content;
|
|
1076
1070
|
};
|
|
1077
|
-
protoOf(WsResponse).
|
|
1071
|
+
protoOf(WsResponse).h2f = function (status, headers, content) {
|
|
1078
1072
|
return new WsResponse(status, headers, content);
|
|
1079
1073
|
};
|
|
1080
1074
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1081
1075
|
status = status === VOID ? this.status : status;
|
|
1082
1076
|
headers = headers === VOID ? this.headers : headers;
|
|
1083
1077
|
content = content === VOID ? this.content : content;
|
|
1084
|
-
return this.
|
|
1078
|
+
return this.h2f(status, headers, content);
|
|
1085
1079
|
};
|
|
1086
1080
|
protoOf(WsResponse).toString = function () {
|
|
1087
1081
|
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + this.content + ')';
|
|
@@ -1112,10 +1106,10 @@
|
|
|
1112
1106
|
this.reference = reference;
|
|
1113
1107
|
this.isNullable = isNullable;
|
|
1114
1108
|
}
|
|
1115
|
-
protoOf(WsContent).
|
|
1109
|
+
protoOf(WsContent).b2f = function () {
|
|
1116
1110
|
return this.type;
|
|
1117
1111
|
};
|
|
1118
|
-
protoOf(WsContent).
|
|
1112
|
+
protoOf(WsContent).p2e = function () {
|
|
1119
1113
|
return this.reference;
|
|
1120
1114
|
};
|
|
1121
1115
|
protoOf(WsContent).hl = function () {
|
|
@@ -1130,14 +1124,14 @@
|
|
|
1130
1124
|
protoOf(WsContent).dh = function () {
|
|
1131
1125
|
return this.isNullable;
|
|
1132
1126
|
};
|
|
1133
|
-
protoOf(WsContent).
|
|
1127
|
+
protoOf(WsContent).i2f = function (type, reference, isNullable) {
|
|
1134
1128
|
return new WsContent(type, reference, isNullable);
|
|
1135
1129
|
};
|
|
1136
1130
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1137
1131
|
type = type === VOID ? this.type : type;
|
|
1138
1132
|
reference = reference === VOID ? this.reference : reference;
|
|
1139
1133
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1140
|
-
return this.
|
|
1134
|
+
return this.i2f(type, reference, isNullable);
|
|
1141
1135
|
};
|
|
1142
1136
|
protoOf(WsContent).toString = function () {
|
|
1143
1137
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1483,7 +1477,7 @@
|
|
|
1483
1477
|
tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
|
|
1484
1478
|
}
|
|
1485
1479
|
var tmp_0 = tmp;
|
|
1486
|
-
var tmp_1 = Companion_instance.w28(_this__u8e3s4.
|
|
1480
|
+
var tmp_1 = Companion_instance.w28(_this__u8e3s4.q2d_1);
|
|
1487
1481
|
var tmp_2 = consume_5(_this__u8e3s4.method);
|
|
1488
1482
|
// Inline function 'kotlin.collections.map' call
|
|
1489
1483
|
var this_0 = _this__u8e3s4.path;
|
|
@@ -1571,7 +1565,7 @@
|
|
|
1571
1565
|
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1572
1566
|
}
|
|
1573
1567
|
function consume_1(_this__u8e3s4) {
|
|
1574
|
-
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.
|
|
1568
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.f2e_1);
|
|
1575
1569
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1576
1570
|
var tmp;
|
|
1577
1571
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1587,7 +1581,7 @@
|
|
|
1587
1581
|
return new Enum_0(tmp2_comment, tmp1_identifier, tmp3_entries);
|
|
1588
1582
|
}
|
|
1589
1583
|
function consume_2(_this__u8e3s4) {
|
|
1590
|
-
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.
|
|
1584
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.j2e_1);
|
|
1591
1585
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1592
1586
|
var tmp;
|
|
1593
1587
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1603,7 +1597,7 @@
|
|
|
1603
1597
|
return new Refined(tmp2_comment, tmp1_identifier, tmp3_validator);
|
|
1604
1598
|
}
|
|
1605
1599
|
function consume_3(_this__u8e3s4) {
|
|
1606
|
-
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.
|
|
1600
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.l2d_1);
|
|
1607
1601
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1608
1602
|
var tmp;
|
|
1609
1603
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1632,7 +1626,7 @@
|
|
|
1632
1626
|
return new Type(tmp2_comment, tmp1_identifier, tmp3_shape);
|
|
1633
1627
|
}
|
|
1634
1628
|
function consume_4(_this__u8e3s4) {
|
|
1635
|
-
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.
|
|
1629
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.h2e_1);
|
|
1636
1630
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1637
1631
|
var tmp;
|
|
1638
1632
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1827,28 +1821,10 @@
|
|
|
1827
1821
|
WsPrimitiveType_initEntries();
|
|
1828
1822
|
return WsPrimitiveType_Boolean_instance;
|
|
1829
1823
|
}
|
|
1830
|
-
function Compiler$Companion$logger$1() {
|
|
1831
|
-
Logger.call(this);
|
|
1832
|
-
}
|
|
1833
|
-
function Companion() {
|
|
1834
|
-
Companion_instance_2 = this;
|
|
1835
|
-
var tmp = this;
|
|
1836
|
-
tmp.logger = new Compiler$Companion$logger$1();
|
|
1837
|
-
}
|
|
1838
|
-
protoOf(Companion).i2f = function () {
|
|
1839
|
-
return this.logger;
|
|
1840
|
-
};
|
|
1841
|
-
var Companion_instance_2;
|
|
1842
|
-
function Companion_getInstance() {
|
|
1843
|
-
if (Companion_instance_2 == null)
|
|
1844
|
-
new Companion();
|
|
1845
|
-
return Companion_instance_2;
|
|
1846
|
-
}
|
|
1847
1824
|
function Compiler() {
|
|
1848
|
-
Companion_getInstance();
|
|
1849
1825
|
}
|
|
1850
1826
|
protoOf(Compiler).preCompile = function (source) {
|
|
1851
|
-
return compile(WirespecSpec_getInstance(), source)(
|
|
1827
|
+
return compile(WirespecSpec_getInstance(), source)(get_noLogger());
|
|
1852
1828
|
};
|
|
1853
1829
|
protoOf(Compiler).tokenize = function (source) {
|
|
1854
1830
|
return produce_18(tokenize(WirespecSpec_getInstance(), source));
|
|
@@ -1858,116 +1834,108 @@
|
|
|
1858
1834
|
// Inline function 'kotlin.contracts.contract' call
|
|
1859
1835
|
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1860
1836
|
var it = tokenize(WirespecSpec_getInstance(), source);
|
|
1861
|
-
return produce_14((new Parser(
|
|
1837
|
+
return produce_14((new Parser(get_noLogger())).u20(it));
|
|
1838
|
+
};
|
|
1839
|
+
function Companion() {
|
|
1840
|
+
Companion_instance_0 = this;
|
|
1841
|
+
this.j2f_1 = new KotlinEmitter(VOID, get_noLogger());
|
|
1842
|
+
}
|
|
1843
|
+
var Companion_instance_0;
|
|
1844
|
+
function Companion_getInstance() {
|
|
1845
|
+
if (Companion_instance_0 == null)
|
|
1846
|
+
new Companion();
|
|
1847
|
+
return Companion_instance_0;
|
|
1848
|
+
}
|
|
1849
|
+
function WsToKotlin() {
|
|
1850
|
+
Companion_getInstance();
|
|
1851
|
+
Compiler.call(this);
|
|
1852
|
+
}
|
|
1853
|
+
protoOf(WsToKotlin).compile = function (source) {
|
|
1854
|
+
return produce_15(this.preCompile(source)(Companion_getInstance().j2f_1));
|
|
1862
1855
|
};
|
|
1863
1856
|
function Companion_0() {
|
|
1864
|
-
|
|
1865
|
-
this.
|
|
1857
|
+
Companion_instance_1 = this;
|
|
1858
|
+
this.k2f_1 = new TypeScriptEmitter(get_noLogger());
|
|
1866
1859
|
}
|
|
1867
|
-
var
|
|
1860
|
+
var Companion_instance_1;
|
|
1868
1861
|
function Companion_getInstance_0() {
|
|
1869
|
-
if (
|
|
1862
|
+
if (Companion_instance_1 == null)
|
|
1870
1863
|
new Companion_0();
|
|
1871
|
-
return
|
|
1864
|
+
return Companion_instance_1;
|
|
1872
1865
|
}
|
|
1873
|
-
function
|
|
1866
|
+
function WsToTypeScript() {
|
|
1874
1867
|
Companion_getInstance_0();
|
|
1875
1868
|
Compiler.call(this);
|
|
1876
1869
|
}
|
|
1877
|
-
protoOf(
|
|
1878
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_0().
|
|
1870
|
+
protoOf(WsToTypeScript).compile = function (source) {
|
|
1871
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_0().k2f_1));
|
|
1879
1872
|
};
|
|
1880
1873
|
function Companion_1() {
|
|
1881
|
-
|
|
1882
|
-
this.
|
|
1874
|
+
Companion_instance_2 = this;
|
|
1875
|
+
this.l2f_1 = new ScalaEmitter(VOID, get_noLogger());
|
|
1883
1876
|
}
|
|
1884
|
-
var
|
|
1877
|
+
var Companion_instance_2;
|
|
1885
1878
|
function Companion_getInstance_1() {
|
|
1886
|
-
if (
|
|
1879
|
+
if (Companion_instance_2 == null)
|
|
1887
1880
|
new Companion_1();
|
|
1888
|
-
return
|
|
1881
|
+
return Companion_instance_2;
|
|
1889
1882
|
}
|
|
1890
|
-
function
|
|
1883
|
+
function WsToScala() {
|
|
1891
1884
|
Companion_getInstance_1();
|
|
1892
1885
|
Compiler.call(this);
|
|
1893
1886
|
}
|
|
1894
|
-
protoOf(
|
|
1895
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_1().
|
|
1887
|
+
protoOf(WsToScala).compile = function (source) {
|
|
1888
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_1().l2f_1));
|
|
1896
1889
|
};
|
|
1897
1890
|
function Companion_2() {
|
|
1898
|
-
|
|
1899
|
-
this.
|
|
1891
|
+
Companion_instance_3 = this;
|
|
1892
|
+
this.m2f_1 = new JavaEmitter(VOID, get_noLogger());
|
|
1900
1893
|
}
|
|
1901
|
-
var
|
|
1894
|
+
var Companion_instance_3;
|
|
1902
1895
|
function Companion_getInstance_2() {
|
|
1903
|
-
if (
|
|
1896
|
+
if (Companion_instance_3 == null)
|
|
1904
1897
|
new Companion_2();
|
|
1905
|
-
return
|
|
1898
|
+
return Companion_instance_3;
|
|
1906
1899
|
}
|
|
1907
|
-
function
|
|
1900
|
+
function WsToJava() {
|
|
1908
1901
|
Companion_getInstance_2();
|
|
1909
1902
|
Compiler.call(this);
|
|
1910
1903
|
}
|
|
1911
|
-
protoOf(
|
|
1912
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_2().
|
|
1904
|
+
protoOf(WsToJava).compile = function (source) {
|
|
1905
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_2().m2f_1));
|
|
1913
1906
|
};
|
|
1914
1907
|
function Companion_3() {
|
|
1915
|
-
|
|
1916
|
-
this.
|
|
1908
|
+
Companion_instance_4 = this;
|
|
1909
|
+
this.n2f_1 = new WirespecEmitter(get_noLogger());
|
|
1917
1910
|
}
|
|
1918
|
-
var
|
|
1911
|
+
var Companion_instance_4;
|
|
1919
1912
|
function Companion_getInstance_3() {
|
|
1920
|
-
if (
|
|
1913
|
+
if (Companion_instance_4 == null)
|
|
1921
1914
|
new Companion_3();
|
|
1922
|
-
return
|
|
1923
|
-
}
|
|
1924
|
-
function WsToJava() {
|
|
1925
|
-
Companion_getInstance_3();
|
|
1926
|
-
Compiler.call(this);
|
|
1927
|
-
}
|
|
1928
|
-
protoOf(WsToJava).compile = function (source) {
|
|
1929
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_3().m2f_1));
|
|
1930
|
-
};
|
|
1931
|
-
function Companion_4() {
|
|
1932
|
-
Companion_instance_7 = this;
|
|
1933
|
-
this.n2f_1 = new WirespecEmitter(Companion_getInstance().logger);
|
|
1934
|
-
}
|
|
1935
|
-
var Companion_instance_7;
|
|
1936
|
-
function Companion_getInstance_4() {
|
|
1937
|
-
if (Companion_instance_7 == null)
|
|
1938
|
-
new Companion_4();
|
|
1939
|
-
return Companion_instance_7;
|
|
1915
|
+
return Companion_instance_4;
|
|
1940
1916
|
}
|
|
1941
1917
|
function WsToWirespec() {
|
|
1942
|
-
|
|
1918
|
+
Companion_getInstance_3();
|
|
1943
1919
|
Compiler.call(this);
|
|
1944
1920
|
}
|
|
1945
1921
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1946
|
-
return produce_15(this.preCompile(source)(
|
|
1922
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_3().n2f_1));
|
|
1947
1923
|
};
|
|
1948
1924
|
function OpenApiV2Parser() {
|
|
1949
1925
|
}
|
|
1950
1926
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1951
|
-
return produce(
|
|
1927
|
+
return produce(OpenApiV2Parser_instance.u2c(source));
|
|
1952
1928
|
};
|
|
1953
|
-
var
|
|
1929
|
+
var OpenApiV2Parser_instance_0;
|
|
1954
1930
|
function OpenApiV2Parser_getInstance() {
|
|
1955
|
-
return
|
|
1956
|
-
}
|
|
1957
|
-
function OpenApiV2ToTypescript$logger$1() {
|
|
1958
|
-
Logger.call(this);
|
|
1931
|
+
return OpenApiV2Parser_instance_0;
|
|
1959
1932
|
}
|
|
1960
1933
|
function OpenApiV2ToTypescript() {
|
|
1961
1934
|
OpenApiV2ToTypescript_instance = this;
|
|
1962
|
-
|
|
1963
|
-
tmp.logger = new OpenApiV2ToTypescript$logger$1();
|
|
1964
|
-
this.o2f_1 = new TypeScriptEmitter(this.logger);
|
|
1935
|
+
this.o2f_1 = new TypeScriptEmitter(get_noLogger());
|
|
1965
1936
|
}
|
|
1966
|
-
protoOf(OpenApiV2ToTypescript).i2f = function () {
|
|
1967
|
-
return this.logger;
|
|
1968
|
-
};
|
|
1969
1937
|
protoOf(OpenApiV2ToTypescript).compile = function (source) {
|
|
1970
|
-
var ast =
|
|
1938
|
+
var ast = OpenApiV2Parser_instance.u2c(source);
|
|
1971
1939
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1972
1940
|
// Inline function 'kotlin.collections.map' call
|
|
1973
1941
|
var this_0 = this.o2f_1.p20(ast);
|
|
@@ -1990,20 +1958,12 @@
|
|
|
1990
1958
|
new OpenApiV2ToTypescript();
|
|
1991
1959
|
return OpenApiV2ToTypescript_instance;
|
|
1992
1960
|
}
|
|
1993
|
-
function OpenApiV2ToWirespec$logger$1() {
|
|
1994
|
-
Logger.call(this);
|
|
1995
|
-
}
|
|
1996
1961
|
function OpenApiV2ToWirespec() {
|
|
1997
1962
|
OpenApiV2ToWirespec_instance = this;
|
|
1998
|
-
|
|
1999
|
-
tmp.logger = new OpenApiV2ToWirespec$logger$1();
|
|
2000
|
-
this.p2f_1 = new WirespecEmitter(this.logger);
|
|
1963
|
+
this.p2f_1 = new WirespecEmitter(get_noLogger());
|
|
2001
1964
|
}
|
|
2002
|
-
protoOf(OpenApiV2ToWirespec).i2f = function () {
|
|
2003
|
-
return this.logger;
|
|
2004
|
-
};
|
|
2005
1965
|
protoOf(OpenApiV2ToWirespec).compile = function (source) {
|
|
2006
|
-
var ast =
|
|
1966
|
+
var ast = OpenApiV2Parser_instance.u2c(source);
|
|
2007
1967
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2008
1968
|
// Inline function 'kotlin.collections.map' call
|
|
2009
1969
|
var this_0 = this.p2f_1.p20(ast);
|
|
@@ -2029,26 +1989,18 @@
|
|
|
2029
1989
|
function OpenApiV3Parser() {
|
|
2030
1990
|
}
|
|
2031
1991
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
2032
|
-
return produce(
|
|
1992
|
+
return produce(OpenApiV3Parser_instance.k2d(source));
|
|
2033
1993
|
};
|
|
2034
|
-
var
|
|
1994
|
+
var OpenApiV3Parser_instance_0;
|
|
2035
1995
|
function OpenApiV3Parser_getInstance() {
|
|
2036
|
-
return
|
|
2037
|
-
}
|
|
2038
|
-
function OpenApiV3ToTypescript$logger$1() {
|
|
2039
|
-
Logger.call(this);
|
|
1996
|
+
return OpenApiV3Parser_instance_0;
|
|
2040
1997
|
}
|
|
2041
1998
|
function OpenApiV3ToTypescript() {
|
|
2042
1999
|
OpenApiV3ToTypescript_instance = this;
|
|
2043
|
-
|
|
2044
|
-
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
2045
|
-
this.q2f_1 = new TypeScriptEmitter(this.logger);
|
|
2000
|
+
this.q2f_1 = new TypeScriptEmitter(get_noLogger());
|
|
2046
2001
|
}
|
|
2047
|
-
protoOf(OpenApiV3ToTypescript).i2f = function () {
|
|
2048
|
-
return this.logger;
|
|
2049
|
-
};
|
|
2050
2002
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
2051
|
-
var ast =
|
|
2003
|
+
var ast = OpenApiV3Parser_instance.k2d(source);
|
|
2052
2004
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2053
2005
|
// Inline function 'kotlin.collections.map' call
|
|
2054
2006
|
var this_0 = this.q2f_1.p20(ast);
|
|
@@ -2071,20 +2023,12 @@
|
|
|
2071
2023
|
new OpenApiV3ToTypescript();
|
|
2072
2024
|
return OpenApiV3ToTypescript_instance;
|
|
2073
2025
|
}
|
|
2074
|
-
function OpenApiV3ToWirespec$logger$1() {
|
|
2075
|
-
Logger.call(this);
|
|
2076
|
-
}
|
|
2077
2026
|
function OpenApiV3ToWirespec() {
|
|
2078
2027
|
OpenApiV3ToWirespec_instance = this;
|
|
2079
|
-
|
|
2080
|
-
tmp.logger = new OpenApiV3ToWirespec$logger$1();
|
|
2081
|
-
this.r2f_1 = new WirespecEmitter(this.logger);
|
|
2028
|
+
this.r2f_1 = new WirespecEmitter(get_noLogger());
|
|
2082
2029
|
}
|
|
2083
|
-
protoOf(OpenApiV3ToWirespec).i2f = function () {
|
|
2084
|
-
return this.logger;
|
|
2085
|
-
};
|
|
2086
2030
|
protoOf(OpenApiV3ToWirespec).compile = function (source) {
|
|
2087
|
-
var ast =
|
|
2031
|
+
var ast = OpenApiV3Parser_instance.k2d(source);
|
|
2088
2032
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2089
2033
|
// Inline function 'kotlin.collections.map' call
|
|
2090
2034
|
var this_0 = this.r2f_1.p20(ast);
|
|
@@ -2386,7 +2330,7 @@
|
|
|
2386
2330
|
this.value = value;
|
|
2387
2331
|
this.coordinates = coordinates;
|
|
2388
2332
|
}
|
|
2389
|
-
protoOf(WsToken).
|
|
2333
|
+
protoOf(WsToken).b2f = function () {
|
|
2390
2334
|
return this.type;
|
|
2391
2335
|
};
|
|
2392
2336
|
protoOf(WsToken).p2 = function () {
|
|
@@ -2562,7 +2506,7 @@
|
|
|
2562
2506
|
return new WsCoordinates(_this__u8e3s4.l29_1, _this__u8e3s4.m29_1, produce_21(_this__u8e3s4.n29_1));
|
|
2563
2507
|
}
|
|
2564
2508
|
function produce_21(_this__u8e3s4) {
|
|
2565
|
-
return new WsIndex(_this__u8e3s4.
|
|
2509
|
+
return new WsIndex(_this__u8e3s4.a2b_1, _this__u8e3s4.b2b_1);
|
|
2566
2510
|
}
|
|
2567
2511
|
function WsError(index, length, value) {
|
|
2568
2512
|
this.index = index;
|
|
@@ -2620,9 +2564,9 @@
|
|
|
2620
2564
|
return true;
|
|
2621
2565
|
};
|
|
2622
2566
|
function produce_22(_this__u8e3s4) {
|
|
2623
|
-
var tmp = _this__u8e3s4.o29_1.n29_1.
|
|
2567
|
+
var tmp = _this__u8e3s4.o29_1.n29_1.a2b_1 - _this__u8e3s4.o29_1.n29_1.b2b_1 | 0;
|
|
2624
2568
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2625
|
-
return new WsError(tmp, _this__u8e3s4.o29_1.n29_1.
|
|
2569
|
+
return new WsError(tmp, _this__u8e3s4.o29_1.n29_1.b2b_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2626
2570
|
}
|
|
2627
2571
|
//region block: post-declaration
|
|
2628
2572
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
@@ -2646,32 +2590,32 @@
|
|
|
2646
2590
|
return this.g21();
|
|
2647
2591
|
});
|
|
2648
2592
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2649
|
-
return this.
|
|
2593
|
+
return this.s2e();
|
|
2650
2594
|
});
|
|
2651
2595
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2652
2596
|
return this.g21();
|
|
2653
2597
|
});
|
|
2654
2598
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2655
|
-
return this.
|
|
2599
|
+
return this.s2e();
|
|
2656
2600
|
});
|
|
2657
2601
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2658
2602
|
return this.g21();
|
|
2659
2603
|
});
|
|
2660
2604
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2661
|
-
return this.
|
|
2605
|
+
return this.s2e();
|
|
2662
2606
|
});
|
|
2663
2607
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2664
2608
|
return this.g21();
|
|
2665
2609
|
});
|
|
2666
2610
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2667
|
-
return this.
|
|
2611
|
+
return this.s2e();
|
|
2668
2612
|
});
|
|
2669
2613
|
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).za);
|
|
2670
2614
|
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ab);
|
|
2671
2615
|
//endregion
|
|
2672
2616
|
//region block: init
|
|
2673
|
-
|
|
2674
|
-
|
|
2617
|
+
OpenApiV2Parser_instance_0 = new OpenApiV2Parser();
|
|
2618
|
+
OpenApiV3Parser_instance_0 = new OpenApiV3Parser();
|
|
2675
2619
|
//endregion
|
|
2676
2620
|
//region block: exports
|
|
2677
2621
|
function $jsExportAll$(_) {
|
|
@@ -2722,17 +2666,16 @@
|
|
|
2722
2666
|
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
2723
2667
|
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
2724
2668
|
$community$flock$wirespec$compiler$lib.Compiler = Compiler;
|
|
2725
|
-
defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance);
|
|
2726
2669
|
$community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
|
|
2727
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion',
|
|
2670
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance);
|
|
2728
2671
|
$community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
|
|
2729
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion',
|
|
2672
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_0);
|
|
2730
2673
|
$community$flock$wirespec$compiler$lib.WsToScala = WsToScala;
|
|
2731
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion',
|
|
2674
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_1);
|
|
2732
2675
|
$community$flock$wirespec$compiler$lib.WsToJava = WsToJava;
|
|
2733
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion',
|
|
2676
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_2);
|
|
2734
2677
|
$community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
|
|
2735
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion',
|
|
2678
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_3);
|
|
2736
2679
|
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance);
|
|
2737
2680
|
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance);
|
|
2738
2681
|
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance);
|