@flock/wirespec 0.10.21 → 0.10.23
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 +11 -3
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1168 -1167
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +425 -425
- package/kotlin-kotlin-stdlib.js +13 -13
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-rgxgen.js +1767 -1767
- package/markdown.js +1871 -1871
- package/mordant-mordant.js +1642 -1642
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +1635 -1340
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +348 -328
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +528 -405
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +78 -78
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +265 -184
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +6 -2
- package/wirespec-src-plugin-npm.js +8 -8
- package/wirespec-src-tools-generator.js +47 -55
- package/wirespec-src-tools-generator.js.map +1 -1
|
@@ -35,53 +35,57 @@
|
|
|
35
35
|
var Enum = kotlin_kotlin.$_$.ye;
|
|
36
36
|
var toString_0 = kotlin_kotlin.$_$.gg;
|
|
37
37
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.eg;
|
|
38
|
-
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
39
|
-
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
40
|
-
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
38
|
+
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.g2;
|
|
39
|
+
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.j;
|
|
40
|
+
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.i;
|
|
41
41
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i5;
|
|
42
42
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
43
43
|
var copyToArray = kotlin_kotlin.$_$.x5;
|
|
44
|
-
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
45
|
-
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
46
|
-
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
47
|
-
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
48
|
-
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
49
|
-
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
50
|
-
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
51
|
-
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
52
|
-
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
53
|
-
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
54
|
-
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
55
|
-
var Companion_instance = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
56
|
-
var DefinitionIdentifier = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
44
|
+
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
45
|
+
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
|
|
46
|
+
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.t;
|
|
47
|
+
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.s;
|
|
48
|
+
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
|
|
49
|
+
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.r;
|
|
50
|
+
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
51
|
+
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.e1;
|
|
52
|
+
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.y;
|
|
53
|
+
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.f1;
|
|
54
|
+
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.x;
|
|
55
|
+
var Companion_instance = kotlin_community_flock_wirespec_compiler_core.$_$.i2;
|
|
56
|
+
var DefinitionIdentifier = kotlin_community_flock_wirespec_compiler_core.$_$.k;
|
|
57
57
|
var toSet = kotlin_kotlin.$_$.q8;
|
|
58
|
-
var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
59
|
-
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
58
|
+
var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
|
|
59
|
+
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.i1;
|
|
60
60
|
var emptyList = kotlin_kotlin.$_$.b6;
|
|
61
61
|
var toSet_0 = kotlin_kotlin.$_$.p8;
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
62
|
+
var Bytes = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
|
|
63
|
+
var Boolean_0 = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
64
|
+
var Number_0 = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
65
|
+
var Integer = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
66
|
+
var String_0 = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
67
|
+
var Method_GET_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.t1;
|
|
68
|
+
var Method_POST_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.x1;
|
|
69
|
+
var Method_PUT_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.y1;
|
|
70
|
+
var Method_DELETE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
|
|
71
|
+
var Method_OPTIONS_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.v1;
|
|
72
|
+
var Method_HEAD_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
|
|
73
|
+
var Method_PATCH_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.w1;
|
|
74
|
+
var Method_TRACE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.z1;
|
|
75
|
+
var Field = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
76
|
+
var Request = kotlin_community_flock_wirespec_compiler_core.$_$.o;
|
|
77
|
+
var Response = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
78
|
+
var FieldIdentifier = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
79
|
+
var Content = kotlin_community_flock_wirespec_compiler_core.$_$.m;
|
|
80
|
+
var String_instance = kotlin_community_flock_wirespec_compiler_core.$_$.l2;
|
|
81
|
+
var Boolean_instance = kotlin_community_flock_wirespec_compiler_core.$_$.j2;
|
|
82
|
+
var Bytes_instance = kotlin_community_flock_wirespec_compiler_core.$_$.k2;
|
|
79
83
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
80
84
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.f;
|
|
81
85
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
82
86
|
var contentEquals = kotlin_kotlin.$_$.k5;
|
|
83
87
|
var contentHashCode = kotlin_kotlin.$_$.m5;
|
|
84
|
-
var name = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
88
|
+
var name = kotlin_community_flock_wirespec_compiler_core.$_$.l1;
|
|
85
89
|
//endregion
|
|
86
90
|
//region block: pre-declaration
|
|
87
91
|
initMetadataForInterface(WsNode, 'WsNode');
|
|
@@ -126,21 +130,21 @@
|
|
|
126
130
|
function WsNode() {
|
|
127
131
|
}
|
|
128
132
|
function WsType(identifier, comment, shape) {
|
|
129
|
-
this.
|
|
133
|
+
this.g2c_1 = identifier;
|
|
130
134
|
this.comment = comment;
|
|
131
135
|
this.shape = shape;
|
|
132
136
|
}
|
|
133
|
-
protoOf(WsType).
|
|
134
|
-
return this.
|
|
137
|
+
protoOf(WsType).m28 = function () {
|
|
138
|
+
return this.g2c_1;
|
|
135
139
|
};
|
|
136
|
-
protoOf(WsType).
|
|
140
|
+
protoOf(WsType).h2c = function () {
|
|
137
141
|
return this.comment;
|
|
138
142
|
};
|
|
139
|
-
protoOf(WsType).
|
|
143
|
+
protoOf(WsType).i2c = function () {
|
|
140
144
|
return this.shape;
|
|
141
145
|
};
|
|
142
146
|
protoOf(WsType).qd = function () {
|
|
143
|
-
return this.
|
|
147
|
+
return this.g2c_1;
|
|
144
148
|
};
|
|
145
149
|
protoOf(WsType).rd = function () {
|
|
146
150
|
return this.comment;
|
|
@@ -148,20 +152,20 @@
|
|
|
148
152
|
protoOf(WsType).qh = function () {
|
|
149
153
|
return this.shape;
|
|
150
154
|
};
|
|
151
|
-
protoOf(WsType).
|
|
155
|
+
protoOf(WsType).j2c = function (identifier, comment, shape) {
|
|
152
156
|
return new WsType(identifier, comment, shape);
|
|
153
157
|
};
|
|
154
158
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
155
|
-
identifier = identifier === VOID ? this.
|
|
159
|
+
identifier = identifier === VOID ? this.g2c_1 : identifier;
|
|
156
160
|
comment = comment === VOID ? this.comment : comment;
|
|
157
161
|
shape = shape === VOID ? this.shape : shape;
|
|
158
|
-
return this.
|
|
162
|
+
return this.j2c(identifier, comment, shape);
|
|
159
163
|
};
|
|
160
164
|
protoOf(WsType).toString = function () {
|
|
161
|
-
return 'WsType(identifier=' + this.
|
|
165
|
+
return 'WsType(identifier=' + this.g2c_1 + ', comment=' + this.comment + ', shape=' + this.shape.toString() + ')';
|
|
162
166
|
};
|
|
163
167
|
protoOf(WsType).hashCode = function () {
|
|
164
|
-
var result = getStringHashCode(this.
|
|
168
|
+
var result = getStringHashCode(this.g2c_1);
|
|
165
169
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
166
170
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
167
171
|
return result;
|
|
@@ -172,7 +176,7 @@
|
|
|
172
176
|
if (!(other instanceof WsType))
|
|
173
177
|
return false;
|
|
174
178
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
175
|
-
if (!(this.
|
|
179
|
+
if (!(this.g2c_1 === tmp0_other_with_cast.g2c_1))
|
|
176
180
|
return false;
|
|
177
181
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
178
182
|
return false;
|
|
@@ -189,12 +193,12 @@
|
|
|
189
193
|
protoOf(WsShape).qd = function () {
|
|
190
194
|
return this.value;
|
|
191
195
|
};
|
|
192
|
-
protoOf(WsShape).
|
|
196
|
+
protoOf(WsShape).k2c = function (value) {
|
|
193
197
|
return new WsShape(value);
|
|
194
198
|
};
|
|
195
199
|
protoOf(WsShape).copy = function (value, $super) {
|
|
196
200
|
value = value === VOID ? this.value : value;
|
|
197
|
-
return this.
|
|
201
|
+
return this.k2c(value);
|
|
198
202
|
};
|
|
199
203
|
protoOf(WsShape).toString = function () {
|
|
200
204
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -213,7 +217,7 @@
|
|
|
213
217
|
return true;
|
|
214
218
|
};
|
|
215
219
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
216
|
-
this.
|
|
220
|
+
this.l2c_1 = identifier;
|
|
217
221
|
this.comment = comment;
|
|
218
222
|
this.method = method;
|
|
219
223
|
this.path = path;
|
|
@@ -223,35 +227,35 @@
|
|
|
223
227
|
this.requests = requests;
|
|
224
228
|
this.responses = responses;
|
|
225
229
|
}
|
|
226
|
-
protoOf(WsEndpoint).
|
|
227
|
-
return this.
|
|
230
|
+
protoOf(WsEndpoint).m28 = function () {
|
|
231
|
+
return this.l2c_1;
|
|
228
232
|
};
|
|
229
|
-
protoOf(WsEndpoint).
|
|
233
|
+
protoOf(WsEndpoint).h2c = function () {
|
|
230
234
|
return this.comment;
|
|
231
235
|
};
|
|
232
|
-
protoOf(WsEndpoint).
|
|
236
|
+
protoOf(WsEndpoint).m2c = function () {
|
|
233
237
|
return this.method;
|
|
234
238
|
};
|
|
235
|
-
protoOf(WsEndpoint).
|
|
239
|
+
protoOf(WsEndpoint).n2c = function () {
|
|
236
240
|
return this.path;
|
|
237
241
|
};
|
|
238
|
-
protoOf(WsEndpoint).
|
|
242
|
+
protoOf(WsEndpoint).o2c = function () {
|
|
239
243
|
return this.query;
|
|
240
244
|
};
|
|
241
|
-
protoOf(WsEndpoint).
|
|
245
|
+
protoOf(WsEndpoint).p2c = function () {
|
|
242
246
|
return this.headers;
|
|
243
247
|
};
|
|
244
|
-
protoOf(WsEndpoint).
|
|
248
|
+
protoOf(WsEndpoint).q2c = function () {
|
|
245
249
|
return this.cookies;
|
|
246
250
|
};
|
|
247
|
-
protoOf(WsEndpoint).
|
|
251
|
+
protoOf(WsEndpoint).r2c = function () {
|
|
248
252
|
return this.requests;
|
|
249
253
|
};
|
|
250
|
-
protoOf(WsEndpoint).
|
|
254
|
+
protoOf(WsEndpoint).s2c = function () {
|
|
251
255
|
return this.responses;
|
|
252
256
|
};
|
|
253
257
|
protoOf(WsEndpoint).qd = function () {
|
|
254
|
-
return this.
|
|
258
|
+
return this.l2c_1;
|
|
255
259
|
};
|
|
256
260
|
protoOf(WsEndpoint).rd = function () {
|
|
257
261
|
return this.comment;
|
|
@@ -259,29 +263,29 @@
|
|
|
259
263
|
protoOf(WsEndpoint).qh = function () {
|
|
260
264
|
return this.method;
|
|
261
265
|
};
|
|
262
|
-
protoOf(WsEndpoint).
|
|
266
|
+
protoOf(WsEndpoint).t2c = function () {
|
|
263
267
|
return this.path;
|
|
264
268
|
};
|
|
265
|
-
protoOf(WsEndpoint).
|
|
269
|
+
protoOf(WsEndpoint).u2c = function () {
|
|
266
270
|
return this.query;
|
|
267
271
|
};
|
|
268
|
-
protoOf(WsEndpoint).
|
|
272
|
+
protoOf(WsEndpoint).v2c = function () {
|
|
269
273
|
return this.headers;
|
|
270
274
|
};
|
|
271
|
-
protoOf(WsEndpoint).
|
|
275
|
+
protoOf(WsEndpoint).w2c = function () {
|
|
272
276
|
return this.cookies;
|
|
273
277
|
};
|
|
274
|
-
protoOf(WsEndpoint).
|
|
278
|
+
protoOf(WsEndpoint).x2c = function () {
|
|
275
279
|
return this.requests;
|
|
276
280
|
};
|
|
277
|
-
protoOf(WsEndpoint).
|
|
281
|
+
protoOf(WsEndpoint).y2c = function () {
|
|
278
282
|
return this.responses;
|
|
279
283
|
};
|
|
280
|
-
protoOf(WsEndpoint).
|
|
284
|
+
protoOf(WsEndpoint).z2c = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
281
285
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
282
286
|
};
|
|
283
287
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
284
|
-
identifier = identifier === VOID ? this.
|
|
288
|
+
identifier = identifier === VOID ? this.l2c_1 : identifier;
|
|
285
289
|
comment = comment === VOID ? this.comment : comment;
|
|
286
290
|
method = method === VOID ? this.method : method;
|
|
287
291
|
path = path === VOID ? this.path : path;
|
|
@@ -290,13 +294,13 @@
|
|
|
290
294
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
291
295
|
requests = requests === VOID ? this.requests : requests;
|
|
292
296
|
responses = responses === VOID ? this.responses : responses;
|
|
293
|
-
return this.
|
|
297
|
+
return this.z2c(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
294
298
|
};
|
|
295
299
|
protoOf(WsEndpoint).toString = function () {
|
|
296
|
-
return 'WsEndpoint(identifier=' + this.
|
|
300
|
+
return 'WsEndpoint(identifier=' + this.l2c_1 + ', comment=' + this.comment + ', method=' + this.method.toString() + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
|
|
297
301
|
};
|
|
298
302
|
protoOf(WsEndpoint).hashCode = function () {
|
|
299
|
-
var result = getStringHashCode(this.
|
|
303
|
+
var result = getStringHashCode(this.l2c_1);
|
|
300
304
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
301
305
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
302
306
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -313,7 +317,7 @@
|
|
|
313
317
|
if (!(other instanceof WsEndpoint))
|
|
314
318
|
return false;
|
|
315
319
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
316
|
-
if (!(this.
|
|
320
|
+
if (!(this.l2c_1 === tmp0_other_with_cast.l2c_1))
|
|
317
321
|
return false;
|
|
318
322
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
319
323
|
return false;
|
|
@@ -334,21 +338,21 @@
|
|
|
334
338
|
return true;
|
|
335
339
|
};
|
|
336
340
|
function WsEnum(identifier, comment, entries) {
|
|
337
|
-
this.
|
|
341
|
+
this.a2d_1 = identifier;
|
|
338
342
|
this.comment = comment;
|
|
339
343
|
this.entries = entries;
|
|
340
344
|
}
|
|
341
|
-
protoOf(WsEnum).
|
|
342
|
-
return this.
|
|
345
|
+
protoOf(WsEnum).m28 = function () {
|
|
346
|
+
return this.a2d_1;
|
|
343
347
|
};
|
|
344
|
-
protoOf(WsEnum).
|
|
348
|
+
protoOf(WsEnum).h2c = function () {
|
|
345
349
|
return this.comment;
|
|
346
350
|
};
|
|
347
351
|
protoOf(WsEnum).z = function () {
|
|
348
352
|
return this.entries;
|
|
349
353
|
};
|
|
350
354
|
protoOf(WsEnum).qd = function () {
|
|
351
|
-
return this.
|
|
355
|
+
return this.a2d_1;
|
|
352
356
|
};
|
|
353
357
|
protoOf(WsEnum).rd = function () {
|
|
354
358
|
return this.comment;
|
|
@@ -356,20 +360,20 @@
|
|
|
356
360
|
protoOf(WsEnum).qh = function () {
|
|
357
361
|
return this.entries;
|
|
358
362
|
};
|
|
359
|
-
protoOf(WsEnum).
|
|
363
|
+
protoOf(WsEnum).b2d = function (identifier, comment, entries) {
|
|
360
364
|
return new WsEnum(identifier, comment, entries);
|
|
361
365
|
};
|
|
362
366
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
363
|
-
identifier = identifier === VOID ? this.
|
|
367
|
+
identifier = identifier === VOID ? this.a2d_1 : identifier;
|
|
364
368
|
comment = comment === VOID ? this.comment : comment;
|
|
365
369
|
entries = entries === VOID ? this.entries : entries;
|
|
366
|
-
return this.
|
|
370
|
+
return this.b2d(identifier, comment, entries);
|
|
367
371
|
};
|
|
368
372
|
protoOf(WsEnum).toString = function () {
|
|
369
|
-
return 'WsEnum(identifier=' + this.
|
|
373
|
+
return 'WsEnum(identifier=' + this.a2d_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
370
374
|
};
|
|
371
375
|
protoOf(WsEnum).hashCode = function () {
|
|
372
|
-
var result = getStringHashCode(this.
|
|
376
|
+
var result = getStringHashCode(this.a2d_1);
|
|
373
377
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
374
378
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
375
379
|
return result;
|
|
@@ -380,7 +384,7 @@
|
|
|
380
384
|
if (!(other instanceof WsEnum))
|
|
381
385
|
return false;
|
|
382
386
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
383
|
-
if (!(this.
|
|
387
|
+
if (!(this.a2d_1 === tmp0_other_with_cast.a2d_1))
|
|
384
388
|
return false;
|
|
385
389
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
386
390
|
return false;
|
|
@@ -389,21 +393,21 @@
|
|
|
389
393
|
return true;
|
|
390
394
|
};
|
|
391
395
|
function WsUnion(identifier, comment, entries) {
|
|
392
|
-
this.
|
|
396
|
+
this.c2d_1 = identifier;
|
|
393
397
|
this.comment = comment;
|
|
394
398
|
this.entries = entries;
|
|
395
399
|
}
|
|
396
|
-
protoOf(WsUnion).
|
|
397
|
-
return this.
|
|
400
|
+
protoOf(WsUnion).m28 = function () {
|
|
401
|
+
return this.c2d_1;
|
|
398
402
|
};
|
|
399
|
-
protoOf(WsUnion).
|
|
403
|
+
protoOf(WsUnion).h2c = function () {
|
|
400
404
|
return this.comment;
|
|
401
405
|
};
|
|
402
406
|
protoOf(WsUnion).z = function () {
|
|
403
407
|
return this.entries;
|
|
404
408
|
};
|
|
405
409
|
protoOf(WsUnion).qd = function () {
|
|
406
|
-
return this.
|
|
410
|
+
return this.c2d_1;
|
|
407
411
|
};
|
|
408
412
|
protoOf(WsUnion).rd = function () {
|
|
409
413
|
return this.comment;
|
|
@@ -411,20 +415,20 @@
|
|
|
411
415
|
protoOf(WsUnion).qh = function () {
|
|
412
416
|
return this.entries;
|
|
413
417
|
};
|
|
414
|
-
protoOf(WsUnion).
|
|
418
|
+
protoOf(WsUnion).d2d = function (identifier, comment, entries) {
|
|
415
419
|
return new WsUnion(identifier, comment, entries);
|
|
416
420
|
};
|
|
417
421
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
418
|
-
identifier = identifier === VOID ? this.
|
|
422
|
+
identifier = identifier === VOID ? this.c2d_1 : identifier;
|
|
419
423
|
comment = comment === VOID ? this.comment : comment;
|
|
420
424
|
entries = entries === VOID ? this.entries : entries;
|
|
421
|
-
return this.
|
|
425
|
+
return this.d2d(identifier, comment, entries);
|
|
422
426
|
};
|
|
423
427
|
protoOf(WsUnion).toString = function () {
|
|
424
|
-
return 'WsUnion(identifier=' + this.
|
|
428
|
+
return 'WsUnion(identifier=' + this.c2d_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
425
429
|
};
|
|
426
430
|
protoOf(WsUnion).hashCode = function () {
|
|
427
|
-
var result = getStringHashCode(this.
|
|
431
|
+
var result = getStringHashCode(this.c2d_1);
|
|
428
432
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
429
433
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
430
434
|
return result;
|
|
@@ -435,7 +439,7 @@
|
|
|
435
439
|
if (!(other instanceof WsUnion))
|
|
436
440
|
return false;
|
|
437
441
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
438
|
-
if (!(this.
|
|
442
|
+
if (!(this.c2d_1 === tmp0_other_with_cast.c2d_1))
|
|
439
443
|
return false;
|
|
440
444
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
441
445
|
return false;
|
|
@@ -444,25 +448,25 @@
|
|
|
444
448
|
return true;
|
|
445
449
|
};
|
|
446
450
|
function WsChannel(identifier, comment, reference, isNullable) {
|
|
447
|
-
this.
|
|
451
|
+
this.e2d_1 = identifier;
|
|
448
452
|
this.comment = comment;
|
|
449
453
|
this.reference = reference;
|
|
450
454
|
this.isNullable = isNullable;
|
|
451
455
|
}
|
|
452
|
-
protoOf(WsChannel).
|
|
453
|
-
return this.
|
|
456
|
+
protoOf(WsChannel).m28 = function () {
|
|
457
|
+
return this.e2d_1;
|
|
454
458
|
};
|
|
455
|
-
protoOf(WsChannel).
|
|
459
|
+
protoOf(WsChannel).h2c = function () {
|
|
456
460
|
return this.comment;
|
|
457
461
|
};
|
|
458
|
-
protoOf(WsChannel).
|
|
462
|
+
protoOf(WsChannel).f2d = function () {
|
|
459
463
|
return this.reference;
|
|
460
464
|
};
|
|
461
465
|
protoOf(WsChannel).wl = function () {
|
|
462
466
|
return this.isNullable;
|
|
463
467
|
};
|
|
464
468
|
protoOf(WsChannel).qd = function () {
|
|
465
|
-
return this.
|
|
469
|
+
return this.e2d_1;
|
|
466
470
|
};
|
|
467
471
|
protoOf(WsChannel).rd = function () {
|
|
468
472
|
return this.comment;
|
|
@@ -470,24 +474,24 @@
|
|
|
470
474
|
protoOf(WsChannel).qh = function () {
|
|
471
475
|
return this.reference;
|
|
472
476
|
};
|
|
473
|
-
protoOf(WsChannel).
|
|
477
|
+
protoOf(WsChannel).t2c = function () {
|
|
474
478
|
return this.isNullable;
|
|
475
479
|
};
|
|
476
|
-
protoOf(WsChannel).
|
|
480
|
+
protoOf(WsChannel).g2d = function (identifier, comment, reference, isNullable) {
|
|
477
481
|
return new WsChannel(identifier, comment, reference, isNullable);
|
|
478
482
|
};
|
|
479
483
|
protoOf(WsChannel).copy = function (identifier, comment, reference, isNullable, $super) {
|
|
480
|
-
identifier = identifier === VOID ? this.
|
|
484
|
+
identifier = identifier === VOID ? this.e2d_1 : identifier;
|
|
481
485
|
comment = comment === VOID ? this.comment : comment;
|
|
482
486
|
reference = reference === VOID ? this.reference : reference;
|
|
483
487
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
484
|
-
return this.
|
|
488
|
+
return this.g2d(identifier, comment, reference, isNullable);
|
|
485
489
|
};
|
|
486
490
|
protoOf(WsChannel).toString = function () {
|
|
487
|
-
return 'WsChannel(identifier=' + this.
|
|
491
|
+
return 'WsChannel(identifier=' + this.e2d_1 + ', comment=' + this.comment + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
488
492
|
};
|
|
489
493
|
protoOf(WsChannel).hashCode = function () {
|
|
490
|
-
var result = getStringHashCode(this.
|
|
494
|
+
var result = getStringHashCode(this.e2d_1);
|
|
491
495
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
492
496
|
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
493
497
|
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
@@ -499,7 +503,7 @@
|
|
|
499
503
|
if (!(other instanceof WsChannel))
|
|
500
504
|
return false;
|
|
501
505
|
var tmp0_other_with_cast = other instanceof WsChannel ? other : THROW_CCE();
|
|
502
|
-
if (!(this.
|
|
506
|
+
if (!(this.e2d_1 === tmp0_other_with_cast.e2d_1))
|
|
503
507
|
return false;
|
|
504
508
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
505
509
|
return false;
|
|
@@ -510,21 +514,21 @@
|
|
|
510
514
|
return true;
|
|
511
515
|
};
|
|
512
516
|
function WsRefined(identifier, comment, validator) {
|
|
513
|
-
this.
|
|
517
|
+
this.h2d_1 = identifier;
|
|
514
518
|
this.comment = comment;
|
|
515
519
|
this.validator = validator;
|
|
516
520
|
}
|
|
517
|
-
protoOf(WsRefined).
|
|
518
|
-
return this.
|
|
521
|
+
protoOf(WsRefined).m28 = function () {
|
|
522
|
+
return this.h2d_1;
|
|
519
523
|
};
|
|
520
|
-
protoOf(WsRefined).
|
|
524
|
+
protoOf(WsRefined).h2c = function () {
|
|
521
525
|
return this.comment;
|
|
522
526
|
};
|
|
523
|
-
protoOf(WsRefined).
|
|
527
|
+
protoOf(WsRefined).i2d = function () {
|
|
524
528
|
return this.validator;
|
|
525
529
|
};
|
|
526
530
|
protoOf(WsRefined).qd = function () {
|
|
527
|
-
return this.
|
|
531
|
+
return this.h2d_1;
|
|
528
532
|
};
|
|
529
533
|
protoOf(WsRefined).rd = function () {
|
|
530
534
|
return this.comment;
|
|
@@ -532,20 +536,20 @@
|
|
|
532
536
|
protoOf(WsRefined).qh = function () {
|
|
533
537
|
return this.validator;
|
|
534
538
|
};
|
|
535
|
-
protoOf(WsRefined).
|
|
539
|
+
protoOf(WsRefined).j2d = function (identifier, comment, validator) {
|
|
536
540
|
return new WsRefined(identifier, comment, validator);
|
|
537
541
|
};
|
|
538
542
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
539
|
-
identifier = identifier === VOID ? this.
|
|
543
|
+
identifier = identifier === VOID ? this.h2d_1 : identifier;
|
|
540
544
|
comment = comment === VOID ? this.comment : comment;
|
|
541
545
|
validator = validator === VOID ? this.validator : validator;
|
|
542
|
-
return this.
|
|
546
|
+
return this.j2d(identifier, comment, validator);
|
|
543
547
|
};
|
|
544
548
|
protoOf(WsRefined).toString = function () {
|
|
545
|
-
return 'WsRefined(identifier=' + this.
|
|
549
|
+
return 'WsRefined(identifier=' + this.h2d_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
546
550
|
};
|
|
547
551
|
protoOf(WsRefined).hashCode = function () {
|
|
548
|
-
var result = getStringHashCode(this.
|
|
552
|
+
var result = getStringHashCode(this.h2d_1);
|
|
549
553
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
550
554
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
551
555
|
return result;
|
|
@@ -556,7 +560,7 @@
|
|
|
556
560
|
if (!(other instanceof WsRefined))
|
|
557
561
|
return false;
|
|
558
562
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
559
|
-
if (!(this.
|
|
563
|
+
if (!(this.h2d_1 === tmp0_other_with_cast.h2d_1))
|
|
560
564
|
return false;
|
|
561
565
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
562
566
|
return false;
|
|
@@ -627,12 +631,12 @@
|
|
|
627
631
|
protoOf(WsLiteral).qd = function () {
|
|
628
632
|
return this.value;
|
|
629
633
|
};
|
|
630
|
-
protoOf(WsLiteral).
|
|
634
|
+
protoOf(WsLiteral).m2d = function (value) {
|
|
631
635
|
return new WsLiteral(value);
|
|
632
636
|
};
|
|
633
637
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
634
638
|
value = value === VOID ? this.value : value;
|
|
635
|
-
return this.
|
|
639
|
+
return this.m2d(value);
|
|
636
640
|
};
|
|
637
641
|
protoOf(WsLiteral).toString = function () {
|
|
638
642
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -654,10 +658,10 @@
|
|
|
654
658
|
this.identifier = identifier;
|
|
655
659
|
this.reference = reference;
|
|
656
660
|
}
|
|
657
|
-
protoOf(WsParam).
|
|
661
|
+
protoOf(WsParam).m28 = function () {
|
|
658
662
|
return this.identifier;
|
|
659
663
|
};
|
|
660
|
-
protoOf(WsParam).
|
|
664
|
+
protoOf(WsParam).f2d = function () {
|
|
661
665
|
return this.reference;
|
|
662
666
|
};
|
|
663
667
|
protoOf(WsParam).qd = function () {
|
|
@@ -666,13 +670,13 @@
|
|
|
666
670
|
protoOf(WsParam).rd = function () {
|
|
667
671
|
return this.reference;
|
|
668
672
|
};
|
|
669
|
-
protoOf(WsParam).
|
|
673
|
+
protoOf(WsParam).n2d = function (identifier, reference) {
|
|
670
674
|
return new WsParam(identifier, reference);
|
|
671
675
|
};
|
|
672
676
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
673
677
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
674
678
|
reference = reference === VOID ? this.reference : reference;
|
|
675
|
-
return this.
|
|
679
|
+
return this.n2d(identifier, reference);
|
|
676
680
|
};
|
|
677
681
|
protoOf(WsParam).toString = function () {
|
|
678
682
|
return 'WsParam(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ')';
|
|
@@ -703,12 +707,12 @@
|
|
|
703
707
|
protoOf(Shape_0).qd = function () {
|
|
704
708
|
return this.value;
|
|
705
709
|
};
|
|
706
|
-
protoOf(Shape_0).
|
|
710
|
+
protoOf(Shape_0).k2c = function (value) {
|
|
707
711
|
return new Shape_0(value);
|
|
708
712
|
};
|
|
709
713
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
710
714
|
value = value === VOID ? this.value : value;
|
|
711
|
-
return this.
|
|
715
|
+
return this.k2c(value);
|
|
712
716
|
};
|
|
713
717
|
protoOf(Shape_0).toString = function () {
|
|
714
718
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -731,10 +735,10 @@
|
|
|
731
735
|
this.reference = reference;
|
|
732
736
|
this.isNullable = isNullable;
|
|
733
737
|
}
|
|
734
|
-
protoOf(WsField).
|
|
738
|
+
protoOf(WsField).m28 = function () {
|
|
735
739
|
return this.identifier;
|
|
736
740
|
};
|
|
737
|
-
protoOf(WsField).
|
|
741
|
+
protoOf(WsField).f2d = function () {
|
|
738
742
|
return this.reference;
|
|
739
743
|
};
|
|
740
744
|
protoOf(WsField).wl = function () {
|
|
@@ -749,14 +753,14 @@
|
|
|
749
753
|
protoOf(WsField).qh = function () {
|
|
750
754
|
return this.isNullable;
|
|
751
755
|
};
|
|
752
|
-
protoOf(WsField).
|
|
756
|
+
protoOf(WsField).o2d = function (identifier, reference, isNullable) {
|
|
753
757
|
return new WsField(identifier, reference, isNullable);
|
|
754
758
|
};
|
|
755
759
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
756
760
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
757
761
|
reference = reference === VOID ? this.reference : reference;
|
|
758
762
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
759
|
-
return this.
|
|
763
|
+
return this.o2d(identifier, reference, isNullable);
|
|
760
764
|
};
|
|
761
765
|
protoOf(WsField).toString = function () {
|
|
762
766
|
return 'WsField(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -792,12 +796,12 @@
|
|
|
792
796
|
protoOf(WsClassIdentifier).qd = function () {
|
|
793
797
|
return this.value;
|
|
794
798
|
};
|
|
795
|
-
protoOf(WsClassIdentifier).
|
|
799
|
+
protoOf(WsClassIdentifier).m2d = function (value) {
|
|
796
800
|
return new WsClassIdentifier(value);
|
|
797
801
|
};
|
|
798
802
|
protoOf(WsClassIdentifier).copy = function (value, $super) {
|
|
799
803
|
value = value === VOID ? this.value : value;
|
|
800
|
-
return this.
|
|
804
|
+
return this.m2d(value);
|
|
801
805
|
};
|
|
802
806
|
protoOf(WsClassIdentifier).toString = function () {
|
|
803
807
|
return 'WsClassIdentifier(value=' + this.value + ')';
|
|
@@ -824,12 +828,12 @@
|
|
|
824
828
|
protoOf(WsFieldIdentifier).qd = function () {
|
|
825
829
|
return this.value;
|
|
826
830
|
};
|
|
827
|
-
protoOf(WsFieldIdentifier).
|
|
831
|
+
protoOf(WsFieldIdentifier).m2d = function (value) {
|
|
828
832
|
return new WsFieldIdentifier(value);
|
|
829
833
|
};
|
|
830
834
|
protoOf(WsFieldIdentifier).copy = function (value, $super) {
|
|
831
835
|
value = value === VOID ? this.value : value;
|
|
832
|
-
return this.
|
|
836
|
+
return this.m2d(value);
|
|
833
837
|
};
|
|
834
838
|
protoOf(WsFieldIdentifier).toString = function () {
|
|
835
839
|
return 'WsFieldIdentifier(value=' + this.value + ')';
|
|
@@ -851,35 +855,35 @@
|
|
|
851
855
|
}
|
|
852
856
|
function WsAny(isIterable, isMap) {
|
|
853
857
|
isMap = isMap === VOID ? false : isMap;
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
858
|
+
this.q2d_1 = isIterable;
|
|
859
|
+
this.r2d_1 = isMap;
|
|
856
860
|
}
|
|
857
|
-
protoOf(WsAny).
|
|
858
|
-
return this.
|
|
861
|
+
protoOf(WsAny).j24 = function () {
|
|
862
|
+
return this.q2d_1;
|
|
859
863
|
};
|
|
860
|
-
protoOf(WsAny).
|
|
861
|
-
return this.
|
|
864
|
+
protoOf(WsAny).p2d = function () {
|
|
865
|
+
return this.r2d_1;
|
|
862
866
|
};
|
|
863
867
|
protoOf(WsAny).qd = function () {
|
|
864
|
-
return this.
|
|
868
|
+
return this.q2d_1;
|
|
865
869
|
};
|
|
866
870
|
protoOf(WsAny).rd = function () {
|
|
867
|
-
return this.
|
|
871
|
+
return this.r2d_1;
|
|
868
872
|
};
|
|
869
|
-
protoOf(WsAny).
|
|
873
|
+
protoOf(WsAny).v28 = function (isIterable, isMap) {
|
|
870
874
|
return new WsAny(isIterable, isMap);
|
|
871
875
|
};
|
|
872
876
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
873
|
-
isIterable = isIterable === VOID ? this.
|
|
874
|
-
isMap = isMap === VOID ? this.
|
|
875
|
-
return this.
|
|
877
|
+
isIterable = isIterable === VOID ? this.q2d_1 : isIterable;
|
|
878
|
+
isMap = isMap === VOID ? this.r2d_1 : isMap;
|
|
879
|
+
return this.v28(isIterable, isMap);
|
|
876
880
|
};
|
|
877
881
|
protoOf(WsAny).toString = function () {
|
|
878
|
-
return 'WsAny(isIterable=' + this.
|
|
882
|
+
return 'WsAny(isIterable=' + this.q2d_1 + ', isMap=' + this.r2d_1 + ')';
|
|
879
883
|
};
|
|
880
884
|
protoOf(WsAny).hashCode = function () {
|
|
881
|
-
var result = getBooleanHashCode(this.
|
|
882
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
885
|
+
var result = getBooleanHashCode(this.q2d_1);
|
|
886
|
+
result = imul(result, 31) + getBooleanHashCode(this.r2d_1) | 0;
|
|
883
887
|
return result;
|
|
884
888
|
};
|
|
885
889
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -888,43 +892,43 @@
|
|
|
888
892
|
if (!(other instanceof WsAny))
|
|
889
893
|
return false;
|
|
890
894
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
891
|
-
if (!(this.
|
|
895
|
+
if (!(this.q2d_1 === tmp0_other_with_cast.q2d_1))
|
|
892
896
|
return false;
|
|
893
|
-
if (!(this.
|
|
897
|
+
if (!(this.r2d_1 === tmp0_other_with_cast.r2d_1))
|
|
894
898
|
return false;
|
|
895
899
|
return true;
|
|
896
900
|
};
|
|
897
901
|
function WsUnit(isIterable, isMap) {
|
|
898
902
|
isMap = isMap === VOID ? false : isMap;
|
|
899
|
-
this.
|
|
900
|
-
this.
|
|
903
|
+
this.s2d_1 = isIterable;
|
|
904
|
+
this.t2d_1 = isMap;
|
|
901
905
|
}
|
|
902
|
-
protoOf(WsUnit).
|
|
903
|
-
return this.
|
|
906
|
+
protoOf(WsUnit).j24 = function () {
|
|
907
|
+
return this.s2d_1;
|
|
904
908
|
};
|
|
905
|
-
protoOf(WsUnit).
|
|
906
|
-
return this.
|
|
909
|
+
protoOf(WsUnit).p2d = function () {
|
|
910
|
+
return this.t2d_1;
|
|
907
911
|
};
|
|
908
912
|
protoOf(WsUnit).qd = function () {
|
|
909
|
-
return this.
|
|
913
|
+
return this.s2d_1;
|
|
910
914
|
};
|
|
911
915
|
protoOf(WsUnit).rd = function () {
|
|
912
|
-
return this.
|
|
916
|
+
return this.t2d_1;
|
|
913
917
|
};
|
|
914
|
-
protoOf(WsUnit).
|
|
918
|
+
protoOf(WsUnit).v28 = function (isIterable, isMap) {
|
|
915
919
|
return new WsUnit(isIterable, isMap);
|
|
916
920
|
};
|
|
917
921
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
918
|
-
isIterable = isIterable === VOID ? this.
|
|
919
|
-
isMap = isMap === VOID ? this.
|
|
920
|
-
return this.
|
|
922
|
+
isIterable = isIterable === VOID ? this.s2d_1 : isIterable;
|
|
923
|
+
isMap = isMap === VOID ? this.t2d_1 : isMap;
|
|
924
|
+
return this.v28(isIterable, isMap);
|
|
921
925
|
};
|
|
922
926
|
protoOf(WsUnit).toString = function () {
|
|
923
|
-
return 'WsUnit(isIterable=' + this.
|
|
927
|
+
return 'WsUnit(isIterable=' + this.s2d_1 + ', isMap=' + this.t2d_1 + ')';
|
|
924
928
|
};
|
|
925
929
|
protoOf(WsUnit).hashCode = function () {
|
|
926
|
-
var result = getBooleanHashCode(this.
|
|
927
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
930
|
+
var result = getBooleanHashCode(this.s2d_1);
|
|
931
|
+
result = imul(result, 31) + getBooleanHashCode(this.t2d_1) | 0;
|
|
928
932
|
return result;
|
|
929
933
|
};
|
|
930
934
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -933,52 +937,52 @@
|
|
|
933
937
|
if (!(other instanceof WsUnit))
|
|
934
938
|
return false;
|
|
935
939
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
936
|
-
if (!(this.
|
|
940
|
+
if (!(this.s2d_1 === tmp0_other_with_cast.s2d_1))
|
|
937
941
|
return false;
|
|
938
|
-
if (!(this.
|
|
942
|
+
if (!(this.t2d_1 === tmp0_other_with_cast.t2d_1))
|
|
939
943
|
return false;
|
|
940
944
|
return true;
|
|
941
945
|
};
|
|
942
946
|
function WsCustom(value, isIterable, isMap) {
|
|
943
947
|
isMap = isMap === VOID ? false : isMap;
|
|
944
948
|
this.value = value;
|
|
945
|
-
this.
|
|
946
|
-
this.
|
|
949
|
+
this.u2d_1 = isIterable;
|
|
950
|
+
this.v2d_1 = isMap;
|
|
947
951
|
}
|
|
948
952
|
protoOf(WsCustom).b1 = function () {
|
|
949
953
|
return this.value;
|
|
950
954
|
};
|
|
951
|
-
protoOf(WsCustom).
|
|
952
|
-
return this.
|
|
955
|
+
protoOf(WsCustom).j24 = function () {
|
|
956
|
+
return this.u2d_1;
|
|
953
957
|
};
|
|
954
|
-
protoOf(WsCustom).
|
|
955
|
-
return this.
|
|
958
|
+
protoOf(WsCustom).p2d = function () {
|
|
959
|
+
return this.v2d_1;
|
|
956
960
|
};
|
|
957
961
|
protoOf(WsCustom).qd = function () {
|
|
958
962
|
return this.value;
|
|
959
963
|
};
|
|
960
964
|
protoOf(WsCustom).rd = function () {
|
|
961
|
-
return this.
|
|
965
|
+
return this.u2d_1;
|
|
962
966
|
};
|
|
963
967
|
protoOf(WsCustom).qh = function () {
|
|
964
|
-
return this.
|
|
968
|
+
return this.v2d_1;
|
|
965
969
|
};
|
|
966
|
-
protoOf(WsCustom).
|
|
970
|
+
protoOf(WsCustom).b29 = function (value, isIterable, isMap) {
|
|
967
971
|
return new WsCustom(value, isIterable, isMap);
|
|
968
972
|
};
|
|
969
973
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
970
974
|
value = value === VOID ? this.value : value;
|
|
971
|
-
isIterable = isIterable === VOID ? this.
|
|
972
|
-
isMap = isMap === VOID ? this.
|
|
973
|
-
return this.
|
|
975
|
+
isIterable = isIterable === VOID ? this.u2d_1 : isIterable;
|
|
976
|
+
isMap = isMap === VOID ? this.v2d_1 : isMap;
|
|
977
|
+
return this.b29(value, isIterable, isMap);
|
|
974
978
|
};
|
|
975
979
|
protoOf(WsCustom).toString = function () {
|
|
976
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
980
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.u2d_1 + ', isMap=' + this.v2d_1 + ')';
|
|
977
981
|
};
|
|
978
982
|
protoOf(WsCustom).hashCode = function () {
|
|
979
983
|
var result = getStringHashCode(this.value);
|
|
980
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
981
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
984
|
+
result = imul(result, 31) + getBooleanHashCode(this.u2d_1) | 0;
|
|
985
|
+
result = imul(result, 31) + getBooleanHashCode(this.v2d_1) | 0;
|
|
982
986
|
return result;
|
|
983
987
|
};
|
|
984
988
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -989,52 +993,52 @@
|
|
|
989
993
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
990
994
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
991
995
|
return false;
|
|
992
|
-
if (!(this.
|
|
996
|
+
if (!(this.u2d_1 === tmp0_other_with_cast.u2d_1))
|
|
993
997
|
return false;
|
|
994
|
-
if (!(this.
|
|
998
|
+
if (!(this.v2d_1 === tmp0_other_with_cast.v2d_1))
|
|
995
999
|
return false;
|
|
996
1000
|
return true;
|
|
997
1001
|
};
|
|
998
1002
|
function WsPrimitive(type, isIterable, isMap) {
|
|
999
1003
|
isMap = isMap === VOID ? false : isMap;
|
|
1000
1004
|
this.type = type;
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1005
|
+
this.w2d_1 = isIterable;
|
|
1006
|
+
this.x2d_1 = isMap;
|
|
1003
1007
|
}
|
|
1004
|
-
protoOf(WsPrimitive).
|
|
1008
|
+
protoOf(WsPrimitive).y2d = function () {
|
|
1005
1009
|
return this.type;
|
|
1006
1010
|
};
|
|
1007
|
-
protoOf(WsPrimitive).
|
|
1008
|
-
return this.
|
|
1011
|
+
protoOf(WsPrimitive).j24 = function () {
|
|
1012
|
+
return this.w2d_1;
|
|
1009
1013
|
};
|
|
1010
|
-
protoOf(WsPrimitive).
|
|
1011
|
-
return this.
|
|
1014
|
+
protoOf(WsPrimitive).p2d = function () {
|
|
1015
|
+
return this.x2d_1;
|
|
1012
1016
|
};
|
|
1013
1017
|
protoOf(WsPrimitive).qd = function () {
|
|
1014
1018
|
return this.type;
|
|
1015
1019
|
};
|
|
1016
1020
|
protoOf(WsPrimitive).rd = function () {
|
|
1017
|
-
return this.
|
|
1021
|
+
return this.w2d_1;
|
|
1018
1022
|
};
|
|
1019
1023
|
protoOf(WsPrimitive).qh = function () {
|
|
1020
|
-
return this.
|
|
1024
|
+
return this.x2d_1;
|
|
1021
1025
|
};
|
|
1022
|
-
protoOf(WsPrimitive).
|
|
1026
|
+
protoOf(WsPrimitive).z2d = function (type, isIterable, isMap) {
|
|
1023
1027
|
return new WsPrimitive(type, isIterable, isMap);
|
|
1024
1028
|
};
|
|
1025
1029
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
1026
1030
|
type = type === VOID ? this.type : type;
|
|
1027
|
-
isIterable = isIterable === VOID ? this.
|
|
1028
|
-
isMap = isMap === VOID ? this.
|
|
1029
|
-
return this.
|
|
1031
|
+
isIterable = isIterable === VOID ? this.w2d_1 : isIterable;
|
|
1032
|
+
isMap = isMap === VOID ? this.x2d_1 : isMap;
|
|
1033
|
+
return this.z2d(type, isIterable, isMap);
|
|
1030
1034
|
};
|
|
1031
1035
|
protoOf(WsPrimitive).toString = function () {
|
|
1032
|
-
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.
|
|
1036
|
+
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.w2d_1 + ', isMap=' + this.x2d_1 + ')';
|
|
1033
1037
|
};
|
|
1034
1038
|
protoOf(WsPrimitive).hashCode = function () {
|
|
1035
1039
|
var result = this.type.hashCode();
|
|
1036
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1037
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1040
|
+
result = imul(result, 31) + getBooleanHashCode(this.w2d_1) | 0;
|
|
1041
|
+
result = imul(result, 31) + getBooleanHashCode(this.x2d_1) | 0;
|
|
1038
1042
|
return result;
|
|
1039
1043
|
};
|
|
1040
1044
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -1045,9 +1049,9 @@
|
|
|
1045
1049
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
1046
1050
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
1047
1051
|
return false;
|
|
1048
|
-
if (!(this.
|
|
1052
|
+
if (!(this.w2d_1 === tmp0_other_with_cast.w2d_1))
|
|
1049
1053
|
return false;
|
|
1050
|
-
if (!(this.
|
|
1054
|
+
if (!(this.x2d_1 === tmp0_other_with_cast.x2d_1))
|
|
1051
1055
|
return false;
|
|
1052
1056
|
return true;
|
|
1053
1057
|
};
|
|
@@ -1055,8 +1059,9 @@
|
|
|
1055
1059
|
var WsPrimitiveType_Integer_instance;
|
|
1056
1060
|
var WsPrimitiveType_Number_instance;
|
|
1057
1061
|
var WsPrimitiveType_Boolean_instance;
|
|
1062
|
+
var WsPrimitiveType_Bytes_instance;
|
|
1058
1063
|
function values_0() {
|
|
1059
|
-
return [WsPrimitiveType_String_getInstance(), WsPrimitiveType_Integer_getInstance(), WsPrimitiveType_Number_getInstance(), WsPrimitiveType_Boolean_getInstance()];
|
|
1064
|
+
return [WsPrimitiveType_String_getInstance(), WsPrimitiveType_Integer_getInstance(), WsPrimitiveType_Number_getInstance(), WsPrimitiveType_Boolean_getInstance(), WsPrimitiveType_Bytes_getInstance()];
|
|
1060
1065
|
}
|
|
1061
1066
|
function valueOf_0(value) {
|
|
1062
1067
|
switch (value) {
|
|
@@ -1068,6 +1073,8 @@
|
|
|
1068
1073
|
return WsPrimitiveType_Number_getInstance();
|
|
1069
1074
|
case 'Boolean':
|
|
1070
1075
|
return WsPrimitiveType_Boolean_getInstance();
|
|
1076
|
+
case 'Bytes':
|
|
1077
|
+
return WsPrimitiveType_Bytes_getInstance();
|
|
1071
1078
|
default:
|
|
1072
1079
|
WsPrimitiveType_initEntries();
|
|
1073
1080
|
THROW_IAE('No enum constant value.');
|
|
@@ -1083,6 +1090,7 @@
|
|
|
1083
1090
|
WsPrimitiveType_Integer_instance = new WsPrimitiveType('Integer', 1);
|
|
1084
1091
|
WsPrimitiveType_Number_instance = new WsPrimitiveType('Number', 2);
|
|
1085
1092
|
WsPrimitiveType_Boolean_instance = new WsPrimitiveType('Boolean', 3);
|
|
1093
|
+
WsPrimitiveType_Bytes_instance = new WsPrimitiveType('Bytes', 4);
|
|
1086
1094
|
}
|
|
1087
1095
|
function WsPrimitiveType(name, ordinal) {
|
|
1088
1096
|
Enum.call(this, name, ordinal);
|
|
@@ -1096,12 +1104,12 @@
|
|
|
1096
1104
|
protoOf(WsRequest).qd = function () {
|
|
1097
1105
|
return this.content;
|
|
1098
1106
|
};
|
|
1099
|
-
protoOf(WsRequest).
|
|
1107
|
+
protoOf(WsRequest).c2e = function (content) {
|
|
1100
1108
|
return new WsRequest(content);
|
|
1101
1109
|
};
|
|
1102
1110
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1103
1111
|
content = content === VOID ? this.content : content;
|
|
1104
|
-
return this.
|
|
1112
|
+
return this.c2e(content);
|
|
1105
1113
|
};
|
|
1106
1114
|
protoOf(WsRequest).toString = function () {
|
|
1107
1115
|
return 'WsRequest(content=' + toString_0(this.content) + ')';
|
|
@@ -1124,10 +1132,10 @@
|
|
|
1124
1132
|
this.headers = headers;
|
|
1125
1133
|
this.content = content;
|
|
1126
1134
|
}
|
|
1127
|
-
protoOf(WsResponse).
|
|
1135
|
+
protoOf(WsResponse).d2e = function () {
|
|
1128
1136
|
return this.status;
|
|
1129
1137
|
};
|
|
1130
|
-
protoOf(WsResponse).
|
|
1138
|
+
protoOf(WsResponse).p2c = function () {
|
|
1131
1139
|
return this.headers;
|
|
1132
1140
|
};
|
|
1133
1141
|
protoOf(WsResponse).f17 = function () {
|
|
@@ -1142,14 +1150,14 @@
|
|
|
1142
1150
|
protoOf(WsResponse).qh = function () {
|
|
1143
1151
|
return this.content;
|
|
1144
1152
|
};
|
|
1145
|
-
protoOf(WsResponse).
|
|
1153
|
+
protoOf(WsResponse).e2e = function (status, headers, content) {
|
|
1146
1154
|
return new WsResponse(status, headers, content);
|
|
1147
1155
|
};
|
|
1148
1156
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1149
1157
|
status = status === VOID ? this.status : status;
|
|
1150
1158
|
headers = headers === VOID ? this.headers : headers;
|
|
1151
1159
|
content = content === VOID ? this.content : content;
|
|
1152
|
-
return this.
|
|
1160
|
+
return this.e2e(status, headers, content);
|
|
1153
1161
|
};
|
|
1154
1162
|
protoOf(WsResponse).toString = function () {
|
|
1155
1163
|
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + toString_0(this.content) + ')';
|
|
@@ -1180,10 +1188,10 @@
|
|
|
1180
1188
|
this.reference = reference;
|
|
1181
1189
|
this.isNullable = isNullable;
|
|
1182
1190
|
}
|
|
1183
|
-
protoOf(WsContent).
|
|
1191
|
+
protoOf(WsContent).y2d = function () {
|
|
1184
1192
|
return this.type;
|
|
1185
1193
|
};
|
|
1186
|
-
protoOf(WsContent).
|
|
1194
|
+
protoOf(WsContent).f2d = function () {
|
|
1187
1195
|
return this.reference;
|
|
1188
1196
|
};
|
|
1189
1197
|
protoOf(WsContent).wl = function () {
|
|
@@ -1198,14 +1206,14 @@
|
|
|
1198
1206
|
protoOf(WsContent).qh = function () {
|
|
1199
1207
|
return this.isNullable;
|
|
1200
1208
|
};
|
|
1201
|
-
protoOf(WsContent).
|
|
1209
|
+
protoOf(WsContent).f2e = function (type, reference, isNullable) {
|
|
1202
1210
|
return new WsContent(type, reference, isNullable);
|
|
1203
1211
|
};
|
|
1204
1212
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1205
1213
|
type = type === VOID ? this.type : type;
|
|
1206
1214
|
reference = reference === VOID ? this.reference : reference;
|
|
1207
1215
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1208
|
-
return this.
|
|
1216
|
+
return this.f2e(type, reference, isNullable);
|
|
1209
1217
|
};
|
|
1210
1218
|
protoOf(WsContent).toString = function () {
|
|
1211
1219
|
return 'WsContent(type=' + this.type + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1245,8 +1253,8 @@
|
|
|
1245
1253
|
tmp = new WsType(tmp_0, tmp_1, produce_1(_this__u8e3s4.a23_1));
|
|
1246
1254
|
} else {
|
|
1247
1255
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1248
|
-
var tmp_3 = _this__u8e3s4.
|
|
1249
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
1256
|
+
var tmp_3 = _this__u8e3s4.s23_1.b1();
|
|
1257
|
+
var tmp2_safe_receiver = _this__u8e3s4.r23_1;
|
|
1250
1258
|
var tmp_4;
|
|
1251
1259
|
var tmp_5 = tmp2_safe_receiver;
|
|
1252
1260
|
if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
|
|
@@ -1254,11 +1262,11 @@
|
|
|
1254
1262
|
} else {
|
|
1255
1263
|
tmp_4 = _Comment___get_value__impl__8r3pla(tmp2_safe_receiver);
|
|
1256
1264
|
}
|
|
1257
|
-
tmp = new WsEndpoint(tmp_3, tmp_4, produce_2(_this__u8e3s4.
|
|
1265
|
+
tmp = new WsEndpoint(tmp_3, tmp_4, produce_2(_this__u8e3s4.t23_1), produce_3(_this__u8e3s4.u23_1), produce_4(_this__u8e3s4.v23_1), produce_4(_this__u8e3s4.w23_1), produce_4(_this__u8e3s4.x23_1), produce_5(_this__u8e3s4.y23_1), produce_6(_this__u8e3s4.z23_1));
|
|
1258
1266
|
} else {
|
|
1259
1267
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1260
|
-
var tmp_6 = _this__u8e3s4.
|
|
1261
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
1268
|
+
var tmp_6 = _this__u8e3s4.h25_1.b1();
|
|
1269
|
+
var tmp3_safe_receiver = _this__u8e3s4.g25_1;
|
|
1262
1270
|
var tmp_7;
|
|
1263
1271
|
var tmp_8 = tmp3_safe_receiver;
|
|
1264
1272
|
if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
|
|
@@ -1268,13 +1276,13 @@
|
|
|
1268
1276
|
}
|
|
1269
1277
|
var tmp_9 = tmp_7;
|
|
1270
1278
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1271
|
-
var this_0 = _this__u8e3s4.
|
|
1279
|
+
var this_0 = _this__u8e3s4.i25_1;
|
|
1272
1280
|
var tmp$ret$0 = copyToArray(this_0);
|
|
1273
1281
|
tmp = new WsEnum(tmp_6, tmp_9, tmp$ret$0);
|
|
1274
1282
|
} else {
|
|
1275
1283
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1276
|
-
var tmp_10 = _this__u8e3s4.
|
|
1277
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
1284
|
+
var tmp_10 = _this__u8e3s4.e25_1.b1();
|
|
1285
|
+
var tmp4_safe_receiver = _this__u8e3s4.d25_1;
|
|
1278
1286
|
var tmp_11;
|
|
1279
1287
|
var tmp_12 = tmp4_safe_receiver;
|
|
1280
1288
|
if ((tmp_12 == null ? null : new Comment(tmp_12)) == null) {
|
|
@@ -1282,7 +1290,7 @@
|
|
|
1282
1290
|
} else {
|
|
1283
1291
|
tmp_11 = _Comment___get_value__impl__8r3pla(tmp4_safe_receiver);
|
|
1284
1292
|
}
|
|
1285
|
-
tmp = new WsRefined(tmp_10, tmp_11, _this__u8e3s4.
|
|
1293
|
+
tmp = new WsRefined(tmp_10, tmp_11, _this__u8e3s4.f25_1.w25_1);
|
|
1286
1294
|
} else {
|
|
1287
1295
|
if (_this__u8e3s4 instanceof Union) {
|
|
1288
1296
|
var tmp_13 = _this__u8e3s4.t22_1.b1();
|
|
@@ -1311,8 +1319,8 @@
|
|
|
1311
1319
|
tmp = new WsUnion(tmp_13, tmp_16, tmp$ret$4);
|
|
1312
1320
|
} else {
|
|
1313
1321
|
if (_this__u8e3s4 instanceof Channel) {
|
|
1314
|
-
var tmp_17 = _this__u8e3s4.
|
|
1315
|
-
var tmp6_safe_receiver = _this__u8e3s4.
|
|
1322
|
+
var tmp_17 = _this__u8e3s4.k25_1.b1();
|
|
1323
|
+
var tmp6_safe_receiver = _this__u8e3s4.j25_1;
|
|
1316
1324
|
var tmp_18;
|
|
1317
1325
|
var tmp_19 = tmp6_safe_receiver;
|
|
1318
1326
|
if ((tmp_19 == null ? null : new Comment(tmp_19)) == null) {
|
|
@@ -1320,7 +1328,7 @@
|
|
|
1320
1328
|
} else {
|
|
1321
1329
|
tmp_18 = _Comment___get_value__impl__8r3pla(tmp6_safe_receiver);
|
|
1322
1330
|
}
|
|
1323
|
-
tmp = new WsChannel(tmp_17, tmp_18, produce_7(_this__u8e3s4.
|
|
1331
|
+
tmp = new WsChannel(tmp_17, tmp_18, produce_7(_this__u8e3s4.m25_1), _this__u8e3s4.l25_1);
|
|
1324
1332
|
} else {
|
|
1325
1333
|
noWhenBranchMatchedException();
|
|
1326
1334
|
}
|
|
@@ -1377,7 +1385,7 @@
|
|
|
1377
1385
|
function produce_1(_this__u8e3s4) {
|
|
1378
1386
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1379
1387
|
// Inline function 'kotlin.collections.map' call
|
|
1380
|
-
var this_0 = _this__u8e3s4.
|
|
1388
|
+
var this_0 = _this__u8e3s4.t25_1;
|
|
1381
1389
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1382
1390
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1383
1391
|
var tmp0_iterator = this_0.g();
|
|
@@ -1434,10 +1442,10 @@
|
|
|
1434
1442
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1435
1443
|
var tmp;
|
|
1436
1444
|
if (item instanceof Literal) {
|
|
1437
|
-
tmp = new WsLiteral(item.
|
|
1445
|
+
tmp = new WsLiteral(item.a25_1);
|
|
1438
1446
|
} else {
|
|
1439
1447
|
if (item instanceof Param) {
|
|
1440
|
-
tmp = new WsParam(produce_9(item.
|
|
1448
|
+
tmp = new WsParam(produce_9(item.r24_1), produce_7(item.s24_1));
|
|
1441
1449
|
} else {
|
|
1442
1450
|
noWhenBranchMatchedException();
|
|
1443
1451
|
}
|
|
@@ -1492,10 +1500,10 @@
|
|
|
1492
1500
|
function produce_7(_this__u8e3s4) {
|
|
1493
1501
|
var tmp;
|
|
1494
1502
|
if (_this__u8e3s4 instanceof Any) {
|
|
1495
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1503
|
+
tmp = new WsAny(_this__u8e3s4.s28_1, _this__u8e3s4.t28_1);
|
|
1496
1504
|
} else {
|
|
1497
1505
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1498
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1506
|
+
tmp = new WsUnit(_this__u8e3s4.x28_1, _this__u8e3s4.y28_1);
|
|
1499
1507
|
} else {
|
|
1500
1508
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1501
1509
|
tmp = new WsCustom(_this__u8e3s4.v22_1, _this__u8e3s4.w22_1, _this__u8e3s4.x22_1);
|
|
@@ -1519,10 +1527,10 @@
|
|
|
1519
1527
|
// Inline function 'kotlin.let' call
|
|
1520
1528
|
// Inline function 'kotlin.contracts.contract' call
|
|
1521
1529
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1522
|
-
tmp = Companion_instance.
|
|
1530
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1523
1531
|
}
|
|
1524
1532
|
var tmp_0 = tmp;
|
|
1525
|
-
var tmp_1 = new DefinitionIdentifier(_this__u8e3s4.
|
|
1533
|
+
var tmp_1 = new DefinitionIdentifier(_this__u8e3s4.l2c_1);
|
|
1526
1534
|
var tmp_2 = consume_6(_this__u8e3s4.method);
|
|
1527
1535
|
// Inline function 'kotlin.collections.map' call
|
|
1528
1536
|
var this_0 = _this__u8e3s4.path;
|
|
@@ -1610,7 +1618,7 @@
|
|
|
1610
1618
|
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1611
1619
|
}
|
|
1612
1620
|
function consume_1(_this__u8e3s4) {
|
|
1613
|
-
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
1621
|
+
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.a2d_1);
|
|
1614
1622
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1615
1623
|
var tmp;
|
|
1616
1624
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1619,14 +1627,14 @@
|
|
|
1619
1627
|
// Inline function 'kotlin.let' call
|
|
1620
1628
|
// Inline function 'kotlin.contracts.contract' call
|
|
1621
1629
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1622
|
-
tmp = Companion_instance.
|
|
1630
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1623
1631
|
}
|
|
1624
1632
|
var tmp2_comment = tmp;
|
|
1625
1633
|
var tmp3_entries = toSet(_this__u8e3s4.entries);
|
|
1626
1634
|
return new Enum_0(tmp2_comment, tmp1_identifier, tmp3_entries);
|
|
1627
1635
|
}
|
|
1628
1636
|
function consume_2(_this__u8e3s4) {
|
|
1629
|
-
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
1637
|
+
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.h2d_1);
|
|
1630
1638
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1631
1639
|
var tmp;
|
|
1632
1640
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1635,14 +1643,14 @@
|
|
|
1635
1643
|
// Inline function 'kotlin.let' call
|
|
1636
1644
|
// Inline function 'kotlin.contracts.contract' call
|
|
1637
1645
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1638
|
-
tmp = Companion_instance.
|
|
1646
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1639
1647
|
}
|
|
1640
1648
|
var tmp2_comment = tmp;
|
|
1641
1649
|
var tmp3_validator = new Validator(_this__u8e3s4.validator);
|
|
1642
1650
|
return new Refined(tmp2_comment, tmp1_identifier, tmp3_validator);
|
|
1643
1651
|
}
|
|
1644
1652
|
function consume_3(_this__u8e3s4) {
|
|
1645
|
-
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
1653
|
+
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.g2c_1);
|
|
1646
1654
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1647
1655
|
var tmp;
|
|
1648
1656
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1651,7 +1659,7 @@
|
|
|
1651
1659
|
// Inline function 'kotlin.let' call
|
|
1652
1660
|
// Inline function 'kotlin.contracts.contract' call
|
|
1653
1661
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1654
|
-
tmp = Companion_instance.
|
|
1662
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1655
1663
|
}
|
|
1656
1664
|
var tmp2_comment = tmp;
|
|
1657
1665
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1672,7 +1680,7 @@
|
|
|
1672
1680
|
return new Type(tmp2_comment, tmp1_identifier, tmp3_shape, tmp4_extends);
|
|
1673
1681
|
}
|
|
1674
1682
|
function consume_4(_this__u8e3s4) {
|
|
1675
|
-
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
1683
|
+
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.c2d_1);
|
|
1676
1684
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1677
1685
|
var tmp;
|
|
1678
1686
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1681,7 +1689,7 @@
|
|
|
1681
1689
|
// Inline function 'kotlin.let' call
|
|
1682
1690
|
// Inline function 'kotlin.contracts.contract' call
|
|
1683
1691
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1684
|
-
tmp = Companion_instance.
|
|
1692
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1685
1693
|
}
|
|
1686
1694
|
var tmp2_comment = tmp;
|
|
1687
1695
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1701,7 +1709,7 @@
|
|
|
1701
1709
|
return new Union(tmp2_comment, tmp1_identifier, tmp3_entries);
|
|
1702
1710
|
}
|
|
1703
1711
|
function consume_5(_this__u8e3s4) {
|
|
1704
|
-
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.
|
|
1712
|
+
var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.e2d_1);
|
|
1705
1713
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1706
1714
|
var tmp;
|
|
1707
1715
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1710,7 +1718,7 @@
|
|
|
1710
1718
|
// Inline function 'kotlin.let' call
|
|
1711
1719
|
// Inline function 'kotlin.contracts.contract' call
|
|
1712
1720
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1713
|
-
tmp = Companion_instance.
|
|
1721
|
+
tmp = Companion_instance.n28(tmp0_safe_receiver);
|
|
1714
1722
|
}
|
|
1715
1723
|
var tmp2_comment = tmp;
|
|
1716
1724
|
var tmp3_reference = consume_11(_this__u8e3s4.reference);
|
|
@@ -1718,19 +1726,19 @@
|
|
|
1718
1726
|
return new Channel(tmp2_comment, tmp1_identifier, tmp4_isNullable, tmp3_reference);
|
|
1719
1727
|
}
|
|
1720
1728
|
function produce_8(_this__u8e3s4) {
|
|
1721
|
-
return new WsField(produce_9(_this__u8e3s4.
|
|
1729
|
+
return new WsField(produce_9(_this__u8e3s4.n24_1), produce_7(_this__u8e3s4.o24_1), _this__u8e3s4.p24_1);
|
|
1722
1730
|
}
|
|
1723
1731
|
function produce_9(_this__u8e3s4) {
|
|
1724
1732
|
return new WsFieldIdentifier(_this__u8e3s4.b1());
|
|
1725
1733
|
}
|
|
1726
1734
|
function produce_10(_this__u8e3s4) {
|
|
1727
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1735
|
+
var tmp0_safe_receiver = _this__u8e3s4.f24_1;
|
|
1728
1736
|
return new WsRequest(tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1729
1737
|
}
|
|
1730
1738
|
function produce_11(_this__u8e3s4) {
|
|
1731
1739
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1732
1740
|
// Inline function 'kotlin.collections.map' call
|
|
1733
|
-
var this_0 = _this__u8e3s4.
|
|
1741
|
+
var this_0 = _this__u8e3s4.b24_1;
|
|
1734
1742
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1735
1743
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1736
1744
|
var tmp0_iterator = this_0.g();
|
|
@@ -1741,27 +1749,31 @@
|
|
|
1741
1749
|
destination.e(tmp$ret$0);
|
|
1742
1750
|
}
|
|
1743
1751
|
var tmp = copyToArray(destination);
|
|
1744
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1745
|
-
return new WsResponse(_this__u8e3s4.
|
|
1752
|
+
var tmp0_safe_receiver = _this__u8e3s4.c24_1;
|
|
1753
|
+
return new WsResponse(_this__u8e3s4.a24_1, tmp, tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1746
1754
|
}
|
|
1747
1755
|
function produce_12(_this__u8e3s4) {
|
|
1748
1756
|
var tmp;
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
case 1:
|
|
1757
|
+
if (_this__u8e3s4 instanceof String_0) {
|
|
1758
|
+
tmp = WsPrimitiveType_String_getInstance();
|
|
1759
|
+
} else {
|
|
1760
|
+
if (_this__u8e3s4 instanceof Integer) {
|
|
1754
1761
|
tmp = WsPrimitiveType_Integer_getInstance();
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1762
|
+
} else {
|
|
1763
|
+
if (_this__u8e3s4 instanceof Number_0) {
|
|
1764
|
+
tmp = WsPrimitiveType_Number_getInstance();
|
|
1765
|
+
} else {
|
|
1766
|
+
if (_this__u8e3s4 instanceof Boolean_0) {
|
|
1767
|
+
tmp = WsPrimitiveType_Boolean_getInstance();
|
|
1768
|
+
} else {
|
|
1769
|
+
if (_this__u8e3s4 instanceof Bytes) {
|
|
1770
|
+
tmp = WsPrimitiveType_Bytes_getInstance();
|
|
1771
|
+
} else {
|
|
1772
|
+
noWhenBranchMatchedException();
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1765
1777
|
}
|
|
1766
1778
|
return tmp;
|
|
1767
1779
|
}
|
|
@@ -1839,16 +1851,16 @@
|
|
|
1839
1851
|
function consume_11(_this__u8e3s4) {
|
|
1840
1852
|
var tmp;
|
|
1841
1853
|
if (_this__u8e3s4 instanceof WsAny) {
|
|
1842
|
-
tmp = new Any(_this__u8e3s4.
|
|
1854
|
+
tmp = new Any(_this__u8e3s4.q2d_1, _this__u8e3s4.r2d_1);
|
|
1843
1855
|
} else {
|
|
1844
1856
|
if (_this__u8e3s4 instanceof WsUnit) {
|
|
1845
|
-
tmp = new Unit(_this__u8e3s4.
|
|
1857
|
+
tmp = new Unit(_this__u8e3s4.s2d_1, _this__u8e3s4.t2d_1);
|
|
1846
1858
|
} else {
|
|
1847
1859
|
if (_this__u8e3s4 instanceof WsCustom) {
|
|
1848
|
-
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.
|
|
1860
|
+
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.u2d_1, _this__u8e3s4.v2d_1);
|
|
1849
1861
|
} else {
|
|
1850
1862
|
if (_this__u8e3s4 instanceof WsPrimitive) {
|
|
1851
|
-
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.
|
|
1863
|
+
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.w2d_1, _this__u8e3s4.x2d_1);
|
|
1852
1864
|
} else {
|
|
1853
1865
|
noWhenBranchMatchedException();
|
|
1854
1866
|
}
|
|
@@ -1858,7 +1870,7 @@
|
|
|
1858
1870
|
return tmp;
|
|
1859
1871
|
}
|
|
1860
1872
|
function produce_13(_this__u8e3s4) {
|
|
1861
|
-
return new WsContent(_this__u8e3s4.
|
|
1873
|
+
return new WsContent(_this__u8e3s4.g24_1, produce_7(_this__u8e3s4.h24_1), _this__u8e3s4.i24_1);
|
|
1862
1874
|
}
|
|
1863
1875
|
function consume_12(_this__u8e3s4) {
|
|
1864
1876
|
return new FieldIdentifier(_this__u8e3s4.value);
|
|
@@ -1870,16 +1882,19 @@
|
|
|
1870
1882
|
var tmp;
|
|
1871
1883
|
switch (_this__u8e3s4.q2_1) {
|
|
1872
1884
|
case 0:
|
|
1873
|
-
tmp =
|
|
1885
|
+
tmp = String_instance;
|
|
1874
1886
|
break;
|
|
1875
1887
|
case 1:
|
|
1876
|
-
tmp =
|
|
1888
|
+
tmp = new Integer();
|
|
1877
1889
|
break;
|
|
1878
1890
|
case 2:
|
|
1879
|
-
tmp =
|
|
1891
|
+
tmp = new Number_0();
|
|
1880
1892
|
break;
|
|
1881
1893
|
case 3:
|
|
1882
|
-
tmp =
|
|
1894
|
+
tmp = Boolean_instance;
|
|
1895
|
+
break;
|
|
1896
|
+
case 4:
|
|
1897
|
+
tmp = Bytes_instance;
|
|
1883
1898
|
break;
|
|
1884
1899
|
default:
|
|
1885
1900
|
noWhenBranchMatchedException();
|
|
@@ -1935,6 +1950,10 @@
|
|
|
1935
1950
|
WsPrimitiveType_initEntries();
|
|
1936
1951
|
return WsPrimitiveType_Boolean_instance;
|
|
1937
1952
|
}
|
|
1953
|
+
function WsPrimitiveType_Bytes_getInstance() {
|
|
1954
|
+
WsPrimitiveType_initEntries();
|
|
1955
|
+
return WsPrimitiveType_Bytes_instance;
|
|
1956
|
+
}
|
|
1938
1957
|
function WsCompilationResult(result, errors) {
|
|
1939
1958
|
result = result === VOID ? null : result;
|
|
1940
1959
|
var tmp;
|
|
@@ -1948,10 +1967,10 @@
|
|
|
1948
1967
|
this.result = result;
|
|
1949
1968
|
this.errors = errors;
|
|
1950
1969
|
}
|
|
1951
|
-
protoOf(WsCompilationResult).
|
|
1970
|
+
protoOf(WsCompilationResult).g2e = function () {
|
|
1952
1971
|
return this.result;
|
|
1953
1972
|
};
|
|
1954
|
-
protoOf(WsCompilationResult).
|
|
1973
|
+
protoOf(WsCompilationResult).h2e = function () {
|
|
1955
1974
|
return this.errors;
|
|
1956
1975
|
};
|
|
1957
1976
|
function WsCompiled(value) {
|
|
@@ -1976,10 +1995,10 @@
|
|
|
1976
1995
|
this.result = result;
|
|
1977
1996
|
this.errors = errors;
|
|
1978
1997
|
}
|
|
1979
|
-
protoOf(WsParseResult).
|
|
1998
|
+
protoOf(WsParseResult).g2e = function () {
|
|
1980
1999
|
return this.result;
|
|
1981
2000
|
};
|
|
1982
|
-
protoOf(WsParseResult).
|
|
2001
|
+
protoOf(WsParseResult).h2e = function () {
|
|
1983
2002
|
return this.errors;
|
|
1984
2003
|
};
|
|
1985
2004
|
function WsStringResult(result, errors) {
|
|
@@ -1988,20 +2007,20 @@
|
|
|
1988
2007
|
this.result = result;
|
|
1989
2008
|
this.errors = errors;
|
|
1990
2009
|
}
|
|
1991
|
-
protoOf(WsStringResult).
|
|
2010
|
+
protoOf(WsStringResult).g2e = function () {
|
|
1992
2011
|
return this.result;
|
|
1993
2012
|
};
|
|
1994
|
-
protoOf(WsStringResult).
|
|
2013
|
+
protoOf(WsStringResult).h2e = function () {
|
|
1995
2014
|
return this.errors;
|
|
1996
2015
|
};
|
|
1997
2016
|
function WsEmitted(typeName, result) {
|
|
1998
2017
|
this.typeName = typeName;
|
|
1999
2018
|
this.result = result;
|
|
2000
2019
|
}
|
|
2001
|
-
protoOf(WsEmitted).
|
|
2020
|
+
protoOf(WsEmitted).i2e = function () {
|
|
2002
2021
|
return this.typeName;
|
|
2003
2022
|
};
|
|
2004
|
-
protoOf(WsEmitted).
|
|
2023
|
+
protoOf(WsEmitted).g2e = function () {
|
|
2005
2024
|
return this.result;
|
|
2006
2025
|
};
|
|
2007
2026
|
function produce_14(_this__u8e3s4) {
|
|
@@ -2082,7 +2101,7 @@
|
|
|
2082
2101
|
return tmp;
|
|
2083
2102
|
}
|
|
2084
2103
|
function produce_16(_this__u8e3s4) {
|
|
2085
|
-
return new WsEmitted(_this__u8e3s4.
|
|
2104
|
+
return new WsEmitted(_this__u8e3s4.o25_1, _this__u8e3s4.p25_1);
|
|
2086
2105
|
}
|
|
2087
2106
|
function WsTokenResult(tokens, error) {
|
|
2088
2107
|
tokens = tokens === VOID ? null : tokens;
|
|
@@ -2090,10 +2109,10 @@
|
|
|
2090
2109
|
this.tokens = tokens;
|
|
2091
2110
|
this.error = error;
|
|
2092
2111
|
}
|
|
2093
|
-
protoOf(WsTokenResult).
|
|
2112
|
+
protoOf(WsTokenResult).j2e = function () {
|
|
2094
2113
|
return this.tokens;
|
|
2095
2114
|
};
|
|
2096
|
-
protoOf(WsTokenResult).
|
|
2115
|
+
protoOf(WsTokenResult).k2e = function () {
|
|
2097
2116
|
return this.error;
|
|
2098
2117
|
};
|
|
2099
2118
|
protoOf(WsTokenResult).qd = function () {
|
|
@@ -2102,13 +2121,13 @@
|
|
|
2102
2121
|
protoOf(WsTokenResult).rd = function () {
|
|
2103
2122
|
return this.error;
|
|
2104
2123
|
};
|
|
2105
|
-
protoOf(WsTokenResult).
|
|
2124
|
+
protoOf(WsTokenResult).l2e = function (tokens, error) {
|
|
2106
2125
|
return new WsTokenResult(tokens, error);
|
|
2107
2126
|
};
|
|
2108
2127
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
2109
2128
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
2110
2129
|
error = error === VOID ? this.error : error;
|
|
2111
|
-
return this.
|
|
2130
|
+
return this.l2e(tokens, error);
|
|
2112
2131
|
};
|
|
2113
2132
|
protoOf(WsTokenResult).toString = function () {
|
|
2114
2133
|
return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
|
|
@@ -2153,12 +2172,12 @@
|
|
|
2153
2172
|
protoOf(WsTokens).qd = function () {
|
|
2154
2173
|
return this.value;
|
|
2155
2174
|
};
|
|
2156
|
-
protoOf(WsTokens).
|
|
2175
|
+
protoOf(WsTokens).m2e = function (value) {
|
|
2157
2176
|
return new WsTokens(value);
|
|
2158
2177
|
};
|
|
2159
2178
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
2160
2179
|
value = value === VOID ? this.value : value;
|
|
2161
|
-
return this.
|
|
2180
|
+
return this.m2e(value);
|
|
2162
2181
|
};
|
|
2163
2182
|
protoOf(WsTokens).toString = function () {
|
|
2164
2183
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -2169,13 +2188,13 @@
|
|
|
2169
2188
|
this.value = value;
|
|
2170
2189
|
this.coordinates = coordinates;
|
|
2171
2190
|
}
|
|
2172
|
-
protoOf(WsToken).
|
|
2191
|
+
protoOf(WsToken).y2d = function () {
|
|
2173
2192
|
return this.type;
|
|
2174
2193
|
};
|
|
2175
2194
|
protoOf(WsToken).b1 = function () {
|
|
2176
2195
|
return this.value;
|
|
2177
2196
|
};
|
|
2178
|
-
protoOf(WsToken).
|
|
2197
|
+
protoOf(WsToken).n2e = function () {
|
|
2179
2198
|
return this.coordinates;
|
|
2180
2199
|
};
|
|
2181
2200
|
protoOf(WsToken).qd = function () {
|
|
@@ -2187,14 +2206,14 @@
|
|
|
2187
2206
|
protoOf(WsToken).qh = function () {
|
|
2188
2207
|
return this.coordinates;
|
|
2189
2208
|
};
|
|
2190
|
-
protoOf(WsToken).
|
|
2209
|
+
protoOf(WsToken).o2e = function (type, value, coordinates) {
|
|
2191
2210
|
return new WsToken(type, value, coordinates);
|
|
2192
2211
|
};
|
|
2193
2212
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
2194
2213
|
type = type === VOID ? this.type : type;
|
|
2195
2214
|
value = value === VOID ? this.value : value;
|
|
2196
2215
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
2197
|
-
return this.
|
|
2216
|
+
return this.o2e(type, value, coordinates);
|
|
2198
2217
|
};
|
|
2199
2218
|
protoOf(WsToken).toString = function () {
|
|
2200
2219
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
|
|
@@ -2227,13 +2246,13 @@
|
|
|
2227
2246
|
this.position = position;
|
|
2228
2247
|
this.idxAndLength = idxAndLength;
|
|
2229
2248
|
}
|
|
2230
|
-
protoOf(WsCoordinates).
|
|
2249
|
+
protoOf(WsCoordinates).p2e = function () {
|
|
2231
2250
|
return this.line;
|
|
2232
2251
|
};
|
|
2233
|
-
protoOf(WsCoordinates).
|
|
2252
|
+
protoOf(WsCoordinates).q2e = function () {
|
|
2234
2253
|
return this.position;
|
|
2235
2254
|
};
|
|
2236
|
-
protoOf(WsCoordinates).
|
|
2255
|
+
protoOf(WsCoordinates).r2e = function () {
|
|
2237
2256
|
return this.idxAndLength;
|
|
2238
2257
|
};
|
|
2239
2258
|
protoOf(WsCoordinates).qd = function () {
|
|
@@ -2245,14 +2264,14 @@
|
|
|
2245
2264
|
protoOf(WsCoordinates).qh = function () {
|
|
2246
2265
|
return this.idxAndLength;
|
|
2247
2266
|
};
|
|
2248
|
-
protoOf(WsCoordinates).
|
|
2267
|
+
protoOf(WsCoordinates).s2e = function (line, position, idxAndLength) {
|
|
2249
2268
|
return new WsCoordinates(line, position, idxAndLength);
|
|
2250
2269
|
};
|
|
2251
2270
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
2252
2271
|
line = line === VOID ? this.line : line;
|
|
2253
2272
|
position = position === VOID ? this.position : position;
|
|
2254
2273
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
2255
|
-
return this.
|
|
2274
|
+
return this.s2e(line, position, idxAndLength);
|
|
2256
2275
|
};
|
|
2257
2276
|
protoOf(WsCoordinates).toString = function () {
|
|
2258
2277
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
|
|
@@ -2283,7 +2302,7 @@
|
|
|
2283
2302
|
this.idx = idx;
|
|
2284
2303
|
this.length = length;
|
|
2285
2304
|
}
|
|
2286
|
-
protoOf(WsIndex).
|
|
2305
|
+
protoOf(WsIndex).t2e = function () {
|
|
2287
2306
|
return this.idx;
|
|
2288
2307
|
};
|
|
2289
2308
|
protoOf(WsIndex).a = function () {
|
|
@@ -2295,13 +2314,13 @@
|
|
|
2295
2314
|
protoOf(WsIndex).rd = function () {
|
|
2296
2315
|
return this.length;
|
|
2297
2316
|
};
|
|
2298
|
-
protoOf(WsIndex).
|
|
2317
|
+
protoOf(WsIndex).u2e = function (idx, length) {
|
|
2299
2318
|
return new WsIndex(idx, length);
|
|
2300
2319
|
};
|
|
2301
2320
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
2302
2321
|
idx = idx === VOID ? this.idx : idx;
|
|
2303
2322
|
length = length === VOID ? this.length : length;
|
|
2304
|
-
return this.
|
|
2323
|
+
return this.u2e(idx, length);
|
|
2305
2324
|
};
|
|
2306
2325
|
protoOf(WsIndex).toString = function () {
|
|
2307
2326
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2324,13 +2343,13 @@
|
|
|
2324
2343
|
return true;
|
|
2325
2344
|
};
|
|
2326
2345
|
function produce_17(_this__u8e3s4) {
|
|
2327
|
-
return new WsToken(name(_this__u8e3s4.
|
|
2346
|
+
return new WsToken(name(_this__u8e3s4.m27_1), _this__u8e3s4.l27_1, produce_18(_this__u8e3s4.n27_1));
|
|
2328
2347
|
}
|
|
2329
2348
|
function produce_18(_this__u8e3s4) {
|
|
2330
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
2349
|
+
return new WsCoordinates(_this__u8e3s4.o27_1, _this__u8e3s4.p27_1, produce_19(_this__u8e3s4.q27_1));
|
|
2331
2350
|
}
|
|
2332
2351
|
function produce_19(_this__u8e3s4) {
|
|
2333
|
-
return new WsIndex(_this__u8e3s4.
|
|
2352
|
+
return new WsIndex(_this__u8e3s4.n29_1, _this__u8e3s4.o29_1);
|
|
2334
2353
|
}
|
|
2335
2354
|
function WsError(line, position, index, length, value) {
|
|
2336
2355
|
this.line = line;
|
|
@@ -2339,13 +2358,13 @@
|
|
|
2339
2358
|
this.length = length;
|
|
2340
2359
|
this.value = value;
|
|
2341
2360
|
}
|
|
2342
|
-
protoOf(WsError).
|
|
2361
|
+
protoOf(WsError).p2e = function () {
|
|
2343
2362
|
return this.line;
|
|
2344
2363
|
};
|
|
2345
|
-
protoOf(WsError).
|
|
2364
|
+
protoOf(WsError).q2e = function () {
|
|
2346
2365
|
return this.position;
|
|
2347
2366
|
};
|
|
2348
|
-
protoOf(WsError).
|
|
2367
|
+
protoOf(WsError).v2e = function () {
|
|
2349
2368
|
return this.index;
|
|
2350
2369
|
};
|
|
2351
2370
|
protoOf(WsError).a = function () {
|
|
@@ -2363,13 +2382,13 @@
|
|
|
2363
2382
|
protoOf(WsError).qh = function () {
|
|
2364
2383
|
return this.index;
|
|
2365
2384
|
};
|
|
2366
|
-
protoOf(WsError).
|
|
2385
|
+
protoOf(WsError).t2c = function () {
|
|
2367
2386
|
return this.length;
|
|
2368
2387
|
};
|
|
2369
|
-
protoOf(WsError).
|
|
2388
|
+
protoOf(WsError).u2c = function () {
|
|
2370
2389
|
return this.value;
|
|
2371
2390
|
};
|
|
2372
|
-
protoOf(WsError).
|
|
2391
|
+
protoOf(WsError).w2e = function (line, position, index, length, value) {
|
|
2373
2392
|
return new WsError(line, position, index, length, value);
|
|
2374
2393
|
};
|
|
2375
2394
|
protoOf(WsError).copy = function (line, position, index, length, value, $super) {
|
|
@@ -2378,7 +2397,7 @@
|
|
|
2378
2397
|
index = index === VOID ? this.index : index;
|
|
2379
2398
|
length = length === VOID ? this.length : length;
|
|
2380
2399
|
value = value === VOID ? this.value : value;
|
|
2381
|
-
return this.
|
|
2400
|
+
return this.w2e(line, position, index, length, value);
|
|
2382
2401
|
};
|
|
2383
2402
|
protoOf(WsError).toString = function () {
|
|
2384
2403
|
return 'WsError(line=' + this.line + ', position=' + this.position + ', index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2410,54 +2429,54 @@
|
|
|
2410
2429
|
return true;
|
|
2411
2430
|
};
|
|
2412
2431
|
function produce_20(_this__u8e3s4) {
|
|
2413
|
-
var tmp = _this__u8e3s4.
|
|
2432
|
+
var tmp = _this__u8e3s4.r27_1.q27_1.n29_1 - _this__u8e3s4.r27_1.q27_1.o29_1 | 0;
|
|
2414
2433
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2415
|
-
return new WsError(_this__u8e3s4.
|
|
2434
|
+
return new WsError(_this__u8e3s4.r27_1.o27_1, _this__u8e3s4.r27_1.p27_1, tmp, _this__u8e3s4.r27_1.q27_1.o29_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2416
2435
|
}
|
|
2417
2436
|
//region block: post-declaration
|
|
2418
2437
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
2419
|
-
return this.
|
|
2438
|
+
return this.m28();
|
|
2420
2439
|
});
|
|
2421
2440
|
defineProp(protoOf(WsEndpoint), 'identifier', function () {
|
|
2422
|
-
return this.
|
|
2441
|
+
return this.m28();
|
|
2423
2442
|
});
|
|
2424
2443
|
defineProp(protoOf(WsEnum), 'identifier', function () {
|
|
2425
|
-
return this.
|
|
2444
|
+
return this.m28();
|
|
2426
2445
|
});
|
|
2427
2446
|
defineProp(protoOf(WsUnion), 'identifier', function () {
|
|
2428
|
-
return this.
|
|
2447
|
+
return this.m28();
|
|
2429
2448
|
});
|
|
2430
2449
|
defineProp(protoOf(WsChannel), 'identifier', function () {
|
|
2431
|
-
return this.
|
|
2450
|
+
return this.m28();
|
|
2432
2451
|
});
|
|
2433
2452
|
defineProp(protoOf(WsRefined), 'identifier', function () {
|
|
2434
|
-
return this.
|
|
2453
|
+
return this.m28();
|
|
2435
2454
|
});
|
|
2436
2455
|
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).r2);
|
|
2437
2456
|
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).s2);
|
|
2438
2457
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
2439
|
-
return this.
|
|
2458
|
+
return this.j24();
|
|
2440
2459
|
});
|
|
2441
2460
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2442
|
-
return this.
|
|
2461
|
+
return this.p2d();
|
|
2443
2462
|
});
|
|
2444
2463
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2445
|
-
return this.
|
|
2464
|
+
return this.j24();
|
|
2446
2465
|
});
|
|
2447
2466
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2448
|
-
return this.
|
|
2467
|
+
return this.p2d();
|
|
2449
2468
|
});
|
|
2450
2469
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2451
|
-
return this.
|
|
2470
|
+
return this.j24();
|
|
2452
2471
|
});
|
|
2453
2472
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2454
|
-
return this.
|
|
2473
|
+
return this.p2d();
|
|
2455
2474
|
});
|
|
2456
2475
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2457
|
-
return this.
|
|
2476
|
+
return this.j24();
|
|
2458
2477
|
});
|
|
2459
2478
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2460
|
-
return this.
|
|
2479
|
+
return this.p2d();
|
|
2461
2480
|
});
|
|
2462
2481
|
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).r2);
|
|
2463
2482
|
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).s2);
|
|
@@ -2504,6 +2523,7 @@
|
|
|
2504
2523
|
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Integer', WsPrimitiveType_Integer_getInstance);
|
|
2505
2524
|
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Number', WsPrimitiveType_Number_getInstance);
|
|
2506
2525
|
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Boolean', WsPrimitiveType_Boolean_getInstance);
|
|
2526
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Bytes', WsPrimitiveType_Bytes_getInstance);
|
|
2507
2527
|
$community$flock$wirespec$compiler$lib.WsRequest = WsRequest;
|
|
2508
2528
|
$community$flock$wirespec$compiler$lib.WsResponse = WsResponse;
|
|
2509
2529
|
$community$flock$wirespec$compiler$lib.WsContent = WsContent;
|