@flock/wirespec 0.9.28 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.js +2 -2
- package/arrow-arrow-continuations.js +1 -1
- package/arrow-arrow-core.js +18 -18
- package/clikt-clikt.js +1253 -1253
- package/colormath-root-colormath.js +458 -458
- package/kotlin-kotlin-stdlib.js +269 -250
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +26 -26
- package/kotlin-rgxgen.js +1818 -1818
- package/kotlinx-serialization-kotlinx-serialization-core.js +74 -74
- package/kotlinx-serialization-kotlinx-serialization-json.js +78 -78
- package/markdown.js +1941 -1941
- package/mordant-mordant.js +1712 -1712
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2893 -1996
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +352 -350
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +340 -340
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +109 -103
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +233 -187
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +26 -26
- package/wirespec-src-tools-generator.js +36 -36
- package/wirespec-src-tools-generator.js.map +1 -1
|
@@ -19,61 +19,62 @@
|
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
21
|
var imul = Math.imul;
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.va;
|
|
23
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.y9;
|
|
24
24
|
var VOID = kotlin_kotlin.$_$.g;
|
|
25
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
27
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
28
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
29
|
-
var toString = kotlin_kotlin.$_$.
|
|
30
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
33
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
25
|
+
var getStringHashCode = kotlin_kotlin.$_$.t9;
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.gf;
|
|
27
|
+
var defineProp = kotlin_kotlin.$_$.n9;
|
|
28
|
+
var initMetadataForClass = kotlin_kotlin.$_$.v9;
|
|
29
|
+
var toString = kotlin_kotlin.$_$.za;
|
|
30
|
+
var hashCode = kotlin_kotlin.$_$.u9;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.o9;
|
|
32
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.q9;
|
|
33
|
+
var THROW_IAE = kotlin_kotlin.$_$.hf;
|
|
34
34
|
var Unit_instance = kotlin_kotlin.$_$.g4;
|
|
35
|
-
var Enum = kotlin_kotlin.$_$.
|
|
36
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
37
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
35
|
+
var Enum = kotlin_kotlin.$_$.we;
|
|
36
|
+
var toString_0 = kotlin_kotlin.$_$.eg;
|
|
37
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.cg;
|
|
38
|
+
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.a2;
|
|
39
|
+
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.i;
|
|
40
|
+
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.h;
|
|
41
41
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
42
42
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
43
43
|
var copyToArray = kotlin_kotlin.$_$.w5;
|
|
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 _Comment___init__impl__cg8s2u = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
56
|
-
var Companion_instance = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
57
|
-
var toSet = kotlin_kotlin.$_$.
|
|
58
|
-
var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
59
|
-
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
60
|
-
var
|
|
61
|
-
var
|
|
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
|
|
44
|
+
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
45
|
+
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
46
|
+
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.r;
|
|
47
|
+
var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
48
|
+
var Type = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
49
|
+
var Param = kotlin_community_flock_wirespec_compiler_core.$_$.p;
|
|
50
|
+
var Literal = kotlin_community_flock_wirespec_compiler_core.$_$.o;
|
|
51
|
+
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.w;
|
|
52
|
+
var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.v;
|
|
53
|
+
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.x;
|
|
54
|
+
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
55
|
+
var _Comment___init__impl__cg8s2u = kotlin_community_flock_wirespec_compiler_core.$_$.z1;
|
|
56
|
+
var Companion_instance = kotlin_community_flock_wirespec_compiler_core.$_$.c2;
|
|
57
|
+
var toSet = kotlin_kotlin.$_$.p8;
|
|
58
|
+
var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.y;
|
|
59
|
+
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
|
|
60
|
+
var emptyList = kotlin_kotlin.$_$.a6;
|
|
61
|
+
var toSet_0 = kotlin_kotlin.$_$.o8;
|
|
62
|
+
var Method_GET_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
63
|
+
var Method_POST_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
|
|
64
|
+
var Method_PUT_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.p1;
|
|
65
|
+
var Method_DELETE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
|
|
66
|
+
var Method_OPTIONS_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
|
|
67
|
+
var Method_HEAD_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.l1;
|
|
68
|
+
var Method_PATCH_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.n1;
|
|
69
|
+
var Method_TRACE_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
|
|
70
|
+
var Field = kotlin_community_flock_wirespec_compiler_core.$_$.s;
|
|
71
|
+
var Request = kotlin_community_flock_wirespec_compiler_core.$_$.m;
|
|
72
|
+
var Response = kotlin_community_flock_wirespec_compiler_core.$_$.n;
|
|
73
|
+
var Content = kotlin_community_flock_wirespec_compiler_core.$_$.k;
|
|
74
|
+
var Type_String_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
|
|
75
|
+
var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
|
|
76
|
+
var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.t1;
|
|
77
|
+
var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
|
|
77
78
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
78
79
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.f;
|
|
79
80
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
@@ -121,21 +122,21 @@
|
|
|
121
122
|
function WsNode() {
|
|
122
123
|
}
|
|
123
124
|
function WsType(identifier, comment, shape) {
|
|
124
|
-
this.
|
|
125
|
+
this.h2g_1 = identifier;
|
|
125
126
|
this.comment = comment;
|
|
126
127
|
this.shape = shape;
|
|
127
128
|
}
|
|
128
|
-
protoOf(WsType).
|
|
129
|
-
return this.
|
|
129
|
+
protoOf(WsType).g2d = function () {
|
|
130
|
+
return this.h2g_1;
|
|
130
131
|
};
|
|
131
|
-
protoOf(WsType).
|
|
132
|
+
protoOf(WsType).i2g = function () {
|
|
132
133
|
return this.comment;
|
|
133
134
|
};
|
|
134
|
-
protoOf(WsType).
|
|
135
|
+
protoOf(WsType).j2g = function () {
|
|
135
136
|
return this.shape;
|
|
136
137
|
};
|
|
137
138
|
protoOf(WsType).od = function () {
|
|
138
|
-
return this.
|
|
139
|
+
return this.h2g_1;
|
|
139
140
|
};
|
|
140
141
|
protoOf(WsType).pd = function () {
|
|
141
142
|
return this.comment;
|
|
@@ -143,20 +144,20 @@
|
|
|
143
144
|
protoOf(WsType).ph = function () {
|
|
144
145
|
return this.shape;
|
|
145
146
|
};
|
|
146
|
-
protoOf(WsType).
|
|
147
|
+
protoOf(WsType).k2g = function (identifier, comment, shape) {
|
|
147
148
|
return new WsType(identifier, comment, shape);
|
|
148
149
|
};
|
|
149
150
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
150
|
-
identifier = identifier === VOID ? this.
|
|
151
|
+
identifier = identifier === VOID ? this.h2g_1 : identifier;
|
|
151
152
|
comment = comment === VOID ? this.comment : comment;
|
|
152
153
|
shape = shape === VOID ? this.shape : shape;
|
|
153
|
-
return this.
|
|
154
|
+
return this.k2g(identifier, comment, shape);
|
|
154
155
|
};
|
|
155
156
|
protoOf(WsType).toString = function () {
|
|
156
|
-
return 'WsType(identifier=' + this.
|
|
157
|
+
return 'WsType(identifier=' + this.h2g_1 + ', comment=' + this.comment + ', shape=' + this.shape.toString() + ')';
|
|
157
158
|
};
|
|
158
159
|
protoOf(WsType).hashCode = function () {
|
|
159
|
-
var result = getStringHashCode(this.
|
|
160
|
+
var result = getStringHashCode(this.h2g_1);
|
|
160
161
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
161
162
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
162
163
|
return result;
|
|
@@ -167,7 +168,7 @@
|
|
|
167
168
|
if (!(other instanceof WsType))
|
|
168
169
|
return false;
|
|
169
170
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
170
|
-
if (!(this.
|
|
171
|
+
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
171
172
|
return false;
|
|
172
173
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
173
174
|
return false;
|
|
@@ -184,12 +185,12 @@
|
|
|
184
185
|
protoOf(WsShape).od = function () {
|
|
185
186
|
return this.value;
|
|
186
187
|
};
|
|
187
|
-
protoOf(WsShape).
|
|
188
|
+
protoOf(WsShape).l2g = function (value) {
|
|
188
189
|
return new WsShape(value);
|
|
189
190
|
};
|
|
190
191
|
protoOf(WsShape).copy = function (value, $super) {
|
|
191
192
|
value = value === VOID ? this.value : value;
|
|
192
|
-
return this.
|
|
193
|
+
return this.l2g(value);
|
|
193
194
|
};
|
|
194
195
|
protoOf(WsShape).toString = function () {
|
|
195
196
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
return true;
|
|
209
210
|
};
|
|
210
211
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
211
|
-
this.
|
|
212
|
+
this.m2g_1 = identifier;
|
|
212
213
|
this.comment = comment;
|
|
213
214
|
this.method = method;
|
|
214
215
|
this.path = path;
|
|
@@ -218,35 +219,35 @@
|
|
|
218
219
|
this.requests = requests;
|
|
219
220
|
this.responses = responses;
|
|
220
221
|
}
|
|
221
|
-
protoOf(WsEndpoint).
|
|
222
|
-
return this.
|
|
222
|
+
protoOf(WsEndpoint).g2d = function () {
|
|
223
|
+
return this.m2g_1;
|
|
223
224
|
};
|
|
224
|
-
protoOf(WsEndpoint).
|
|
225
|
+
protoOf(WsEndpoint).i2g = function () {
|
|
225
226
|
return this.comment;
|
|
226
227
|
};
|
|
227
|
-
protoOf(WsEndpoint).
|
|
228
|
+
protoOf(WsEndpoint).n2g = function () {
|
|
228
229
|
return this.method;
|
|
229
230
|
};
|
|
230
|
-
protoOf(WsEndpoint).
|
|
231
|
+
protoOf(WsEndpoint).o2g = function () {
|
|
231
232
|
return this.path;
|
|
232
233
|
};
|
|
233
|
-
protoOf(WsEndpoint).
|
|
234
|
+
protoOf(WsEndpoint).p2g = function () {
|
|
234
235
|
return this.query;
|
|
235
236
|
};
|
|
236
|
-
protoOf(WsEndpoint).
|
|
237
|
+
protoOf(WsEndpoint).q2g = function () {
|
|
237
238
|
return this.headers;
|
|
238
239
|
};
|
|
239
|
-
protoOf(WsEndpoint).
|
|
240
|
+
protoOf(WsEndpoint).r2g = function () {
|
|
240
241
|
return this.cookies;
|
|
241
242
|
};
|
|
242
|
-
protoOf(WsEndpoint).
|
|
243
|
+
protoOf(WsEndpoint).s2g = function () {
|
|
243
244
|
return this.requests;
|
|
244
245
|
};
|
|
245
|
-
protoOf(WsEndpoint).
|
|
246
|
+
protoOf(WsEndpoint).t2g = function () {
|
|
246
247
|
return this.responses;
|
|
247
248
|
};
|
|
248
249
|
protoOf(WsEndpoint).od = function () {
|
|
249
|
-
return this.
|
|
250
|
+
return this.m2g_1;
|
|
250
251
|
};
|
|
251
252
|
protoOf(WsEndpoint).pd = function () {
|
|
252
253
|
return this.comment;
|
|
@@ -254,29 +255,29 @@
|
|
|
254
255
|
protoOf(WsEndpoint).ph = function () {
|
|
255
256
|
return this.method;
|
|
256
257
|
};
|
|
257
|
-
protoOf(WsEndpoint).
|
|
258
|
+
protoOf(WsEndpoint).u2g = function () {
|
|
258
259
|
return this.path;
|
|
259
260
|
};
|
|
260
|
-
protoOf(WsEndpoint).
|
|
261
|
+
protoOf(WsEndpoint).v2g = function () {
|
|
261
262
|
return this.query;
|
|
262
263
|
};
|
|
263
|
-
protoOf(WsEndpoint).
|
|
264
|
+
protoOf(WsEndpoint).w2g = function () {
|
|
264
265
|
return this.headers;
|
|
265
266
|
};
|
|
266
|
-
protoOf(WsEndpoint).
|
|
267
|
+
protoOf(WsEndpoint).x2g = function () {
|
|
267
268
|
return this.cookies;
|
|
268
269
|
};
|
|
269
|
-
protoOf(WsEndpoint).
|
|
270
|
+
protoOf(WsEndpoint).y2g = function () {
|
|
270
271
|
return this.requests;
|
|
271
272
|
};
|
|
272
|
-
protoOf(WsEndpoint).
|
|
273
|
+
protoOf(WsEndpoint).z2g = function () {
|
|
273
274
|
return this.responses;
|
|
274
275
|
};
|
|
275
|
-
protoOf(WsEndpoint).
|
|
276
|
+
protoOf(WsEndpoint).a2h = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
276
277
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
277
278
|
};
|
|
278
279
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
279
|
-
identifier = identifier === VOID ? this.
|
|
280
|
+
identifier = identifier === VOID ? this.m2g_1 : identifier;
|
|
280
281
|
comment = comment === VOID ? this.comment : comment;
|
|
281
282
|
method = method === VOID ? this.method : method;
|
|
282
283
|
path = path === VOID ? this.path : path;
|
|
@@ -285,13 +286,13 @@
|
|
|
285
286
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
286
287
|
requests = requests === VOID ? this.requests : requests;
|
|
287
288
|
responses = responses === VOID ? this.responses : responses;
|
|
288
|
-
return this.
|
|
289
|
+
return this.a2h(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
289
290
|
};
|
|
290
291
|
protoOf(WsEndpoint).toString = function () {
|
|
291
|
-
return 'WsEndpoint(identifier=' + this.
|
|
292
|
+
return 'WsEndpoint(identifier=' + this.m2g_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) + ')';
|
|
292
293
|
};
|
|
293
294
|
protoOf(WsEndpoint).hashCode = function () {
|
|
294
|
-
var result = getStringHashCode(this.
|
|
295
|
+
var result = getStringHashCode(this.m2g_1);
|
|
295
296
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
296
297
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
297
298
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -308,7 +309,7 @@
|
|
|
308
309
|
if (!(other instanceof WsEndpoint))
|
|
309
310
|
return false;
|
|
310
311
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
311
|
-
if (!(this.
|
|
312
|
+
if (!(this.m2g_1 === tmp0_other_with_cast.m2g_1))
|
|
312
313
|
return false;
|
|
313
314
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
314
315
|
return false;
|
|
@@ -329,21 +330,21 @@
|
|
|
329
330
|
return true;
|
|
330
331
|
};
|
|
331
332
|
function WsEnum(identifier, comment, entries) {
|
|
332
|
-
this.
|
|
333
|
+
this.b2h_1 = identifier;
|
|
333
334
|
this.comment = comment;
|
|
334
335
|
this.entries = entries;
|
|
335
336
|
}
|
|
336
|
-
protoOf(WsEnum).
|
|
337
|
-
return this.
|
|
337
|
+
protoOf(WsEnum).g2d = function () {
|
|
338
|
+
return this.b2h_1;
|
|
338
339
|
};
|
|
339
|
-
protoOf(WsEnum).
|
|
340
|
+
protoOf(WsEnum).i2g = function () {
|
|
340
341
|
return this.comment;
|
|
341
342
|
};
|
|
342
343
|
protoOf(WsEnum).z = function () {
|
|
343
344
|
return this.entries;
|
|
344
345
|
};
|
|
345
346
|
protoOf(WsEnum).od = function () {
|
|
346
|
-
return this.
|
|
347
|
+
return this.b2h_1;
|
|
347
348
|
};
|
|
348
349
|
protoOf(WsEnum).pd = function () {
|
|
349
350
|
return this.comment;
|
|
@@ -351,20 +352,20 @@
|
|
|
351
352
|
protoOf(WsEnum).ph = function () {
|
|
352
353
|
return this.entries;
|
|
353
354
|
};
|
|
354
|
-
protoOf(WsEnum).
|
|
355
|
+
protoOf(WsEnum).c2h = function (identifier, comment, entries) {
|
|
355
356
|
return new WsEnum(identifier, comment, entries);
|
|
356
357
|
};
|
|
357
358
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
358
|
-
identifier = identifier === VOID ? this.
|
|
359
|
+
identifier = identifier === VOID ? this.b2h_1 : identifier;
|
|
359
360
|
comment = comment === VOID ? this.comment : comment;
|
|
360
361
|
entries = entries === VOID ? this.entries : entries;
|
|
361
|
-
return this.
|
|
362
|
+
return this.c2h(identifier, comment, entries);
|
|
362
363
|
};
|
|
363
364
|
protoOf(WsEnum).toString = function () {
|
|
364
|
-
return 'WsEnum(identifier=' + this.
|
|
365
|
+
return 'WsEnum(identifier=' + this.b2h_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
365
366
|
};
|
|
366
367
|
protoOf(WsEnum).hashCode = function () {
|
|
367
|
-
var result = getStringHashCode(this.
|
|
368
|
+
var result = getStringHashCode(this.b2h_1);
|
|
368
369
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
369
370
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
370
371
|
return result;
|
|
@@ -375,7 +376,7 @@
|
|
|
375
376
|
if (!(other instanceof WsEnum))
|
|
376
377
|
return false;
|
|
377
378
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
378
|
-
if (!(this.
|
|
379
|
+
if (!(this.b2h_1 === tmp0_other_with_cast.b2h_1))
|
|
379
380
|
return false;
|
|
380
381
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
381
382
|
return false;
|
|
@@ -384,21 +385,21 @@
|
|
|
384
385
|
return true;
|
|
385
386
|
};
|
|
386
387
|
function WsUnion(identifier, comment, entries) {
|
|
387
|
-
this.
|
|
388
|
+
this.d2h_1 = identifier;
|
|
388
389
|
this.comment = comment;
|
|
389
390
|
this.entries = entries;
|
|
390
391
|
}
|
|
391
|
-
protoOf(WsUnion).
|
|
392
|
-
return this.
|
|
392
|
+
protoOf(WsUnion).g2d = function () {
|
|
393
|
+
return this.d2h_1;
|
|
393
394
|
};
|
|
394
|
-
protoOf(WsUnion).
|
|
395
|
+
protoOf(WsUnion).i2g = function () {
|
|
395
396
|
return this.comment;
|
|
396
397
|
};
|
|
397
398
|
protoOf(WsUnion).z = function () {
|
|
398
399
|
return this.entries;
|
|
399
400
|
};
|
|
400
401
|
protoOf(WsUnion).od = function () {
|
|
401
|
-
return this.
|
|
402
|
+
return this.d2h_1;
|
|
402
403
|
};
|
|
403
404
|
protoOf(WsUnion).pd = function () {
|
|
404
405
|
return this.comment;
|
|
@@ -406,20 +407,20 @@
|
|
|
406
407
|
protoOf(WsUnion).ph = function () {
|
|
407
408
|
return this.entries;
|
|
408
409
|
};
|
|
409
|
-
protoOf(WsUnion).
|
|
410
|
+
protoOf(WsUnion).e2h = function (identifier, comment, entries) {
|
|
410
411
|
return new WsUnion(identifier, comment, entries);
|
|
411
412
|
};
|
|
412
413
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
413
|
-
identifier = identifier === VOID ? this.
|
|
414
|
+
identifier = identifier === VOID ? this.d2h_1 : identifier;
|
|
414
415
|
comment = comment === VOID ? this.comment : comment;
|
|
415
416
|
entries = entries === VOID ? this.entries : entries;
|
|
416
|
-
return this.
|
|
417
|
+
return this.e2h(identifier, comment, entries);
|
|
417
418
|
};
|
|
418
419
|
protoOf(WsUnion).toString = function () {
|
|
419
|
-
return 'WsUnion(identifier=' + this.
|
|
420
|
+
return 'WsUnion(identifier=' + this.d2h_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
420
421
|
};
|
|
421
422
|
protoOf(WsUnion).hashCode = function () {
|
|
422
|
-
var result = getStringHashCode(this.
|
|
423
|
+
var result = getStringHashCode(this.d2h_1);
|
|
423
424
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
424
425
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
425
426
|
return result;
|
|
@@ -430,7 +431,7 @@
|
|
|
430
431
|
if (!(other instanceof WsUnion))
|
|
431
432
|
return false;
|
|
432
433
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
433
|
-
if (!(this.
|
|
434
|
+
if (!(this.d2h_1 === tmp0_other_with_cast.d2h_1))
|
|
434
435
|
return false;
|
|
435
436
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
436
437
|
return false;
|
|
@@ -439,25 +440,25 @@
|
|
|
439
440
|
return true;
|
|
440
441
|
};
|
|
441
442
|
function WsChannel(identifier, comment, reference, isNullable) {
|
|
442
|
-
this.
|
|
443
|
+
this.f2h_1 = identifier;
|
|
443
444
|
this.comment = comment;
|
|
444
445
|
this.reference = reference;
|
|
445
446
|
this.isNullable = isNullable;
|
|
446
447
|
}
|
|
447
|
-
protoOf(WsChannel).
|
|
448
|
-
return this.
|
|
448
|
+
protoOf(WsChannel).g2d = function () {
|
|
449
|
+
return this.f2h_1;
|
|
449
450
|
};
|
|
450
|
-
protoOf(WsChannel).
|
|
451
|
+
protoOf(WsChannel).i2g = function () {
|
|
451
452
|
return this.comment;
|
|
452
453
|
};
|
|
453
|
-
protoOf(WsChannel).
|
|
454
|
+
protoOf(WsChannel).g2h = function () {
|
|
454
455
|
return this.reference;
|
|
455
456
|
};
|
|
456
457
|
protoOf(WsChannel).vl = function () {
|
|
457
458
|
return this.isNullable;
|
|
458
459
|
};
|
|
459
460
|
protoOf(WsChannel).od = function () {
|
|
460
|
-
return this.
|
|
461
|
+
return this.f2h_1;
|
|
461
462
|
};
|
|
462
463
|
protoOf(WsChannel).pd = function () {
|
|
463
464
|
return this.comment;
|
|
@@ -465,24 +466,24 @@
|
|
|
465
466
|
protoOf(WsChannel).ph = function () {
|
|
466
467
|
return this.reference;
|
|
467
468
|
};
|
|
468
|
-
protoOf(WsChannel).
|
|
469
|
+
protoOf(WsChannel).u2g = function () {
|
|
469
470
|
return this.isNullable;
|
|
470
471
|
};
|
|
471
|
-
protoOf(WsChannel).
|
|
472
|
+
protoOf(WsChannel).h2h = function (identifier, comment, reference, isNullable) {
|
|
472
473
|
return new WsChannel(identifier, comment, reference, isNullable);
|
|
473
474
|
};
|
|
474
475
|
protoOf(WsChannel).copy = function (identifier, comment, reference, isNullable, $super) {
|
|
475
|
-
identifier = identifier === VOID ? this.
|
|
476
|
+
identifier = identifier === VOID ? this.f2h_1 : identifier;
|
|
476
477
|
comment = comment === VOID ? this.comment : comment;
|
|
477
478
|
reference = reference === VOID ? this.reference : reference;
|
|
478
479
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
479
|
-
return this.
|
|
480
|
+
return this.h2h(identifier, comment, reference, isNullable);
|
|
480
481
|
};
|
|
481
482
|
protoOf(WsChannel).toString = function () {
|
|
482
|
-
return 'WsChannel(identifier=' + this.
|
|
483
|
+
return 'WsChannel(identifier=' + this.f2h_1 + ', comment=' + this.comment + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
483
484
|
};
|
|
484
485
|
protoOf(WsChannel).hashCode = function () {
|
|
485
|
-
var result = getStringHashCode(this.
|
|
486
|
+
var result = getStringHashCode(this.f2h_1);
|
|
486
487
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
487
488
|
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
488
489
|
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
@@ -494,7 +495,7 @@
|
|
|
494
495
|
if (!(other instanceof WsChannel))
|
|
495
496
|
return false;
|
|
496
497
|
var tmp0_other_with_cast = other instanceof WsChannel ? other : THROW_CCE();
|
|
497
|
-
if (!(this.
|
|
498
|
+
if (!(this.f2h_1 === tmp0_other_with_cast.f2h_1))
|
|
498
499
|
return false;
|
|
499
500
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
500
501
|
return false;
|
|
@@ -505,21 +506,21 @@
|
|
|
505
506
|
return true;
|
|
506
507
|
};
|
|
507
508
|
function WsRefined(identifier, comment, validator) {
|
|
508
|
-
this.
|
|
509
|
+
this.i2h_1 = identifier;
|
|
509
510
|
this.comment = comment;
|
|
510
511
|
this.validator = validator;
|
|
511
512
|
}
|
|
512
|
-
protoOf(WsRefined).
|
|
513
|
-
return this.
|
|
513
|
+
protoOf(WsRefined).g2d = function () {
|
|
514
|
+
return this.i2h_1;
|
|
514
515
|
};
|
|
515
|
-
protoOf(WsRefined).
|
|
516
|
+
protoOf(WsRefined).i2g = function () {
|
|
516
517
|
return this.comment;
|
|
517
518
|
};
|
|
518
|
-
protoOf(WsRefined).
|
|
519
|
+
protoOf(WsRefined).j2h = function () {
|
|
519
520
|
return this.validator;
|
|
520
521
|
};
|
|
521
522
|
protoOf(WsRefined).od = function () {
|
|
522
|
-
return this.
|
|
523
|
+
return this.i2h_1;
|
|
523
524
|
};
|
|
524
525
|
protoOf(WsRefined).pd = function () {
|
|
525
526
|
return this.comment;
|
|
@@ -527,20 +528,20 @@
|
|
|
527
528
|
protoOf(WsRefined).ph = function () {
|
|
528
529
|
return this.validator;
|
|
529
530
|
};
|
|
530
|
-
protoOf(WsRefined).
|
|
531
|
+
protoOf(WsRefined).k2h = function (identifier, comment, validator) {
|
|
531
532
|
return new WsRefined(identifier, comment, validator);
|
|
532
533
|
};
|
|
533
534
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
534
|
-
identifier = identifier === VOID ? this.
|
|
535
|
+
identifier = identifier === VOID ? this.i2h_1 : identifier;
|
|
535
536
|
comment = comment === VOID ? this.comment : comment;
|
|
536
537
|
validator = validator === VOID ? this.validator : validator;
|
|
537
|
-
return this.
|
|
538
|
+
return this.k2h(identifier, comment, validator);
|
|
538
539
|
};
|
|
539
540
|
protoOf(WsRefined).toString = function () {
|
|
540
|
-
return 'WsRefined(identifier=' + this.
|
|
541
|
+
return 'WsRefined(identifier=' + this.i2h_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
541
542
|
};
|
|
542
543
|
protoOf(WsRefined).hashCode = function () {
|
|
543
|
-
var result = getStringHashCode(this.
|
|
544
|
+
var result = getStringHashCode(this.i2h_1);
|
|
544
545
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
545
546
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
546
547
|
return result;
|
|
@@ -551,7 +552,7 @@
|
|
|
551
552
|
if (!(other instanceof WsRefined))
|
|
552
553
|
return false;
|
|
553
554
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
554
|
-
if (!(this.
|
|
555
|
+
if (!(this.i2h_1 === tmp0_other_with_cast.i2h_1))
|
|
555
556
|
return false;
|
|
556
557
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
557
558
|
return false;
|
|
@@ -622,12 +623,12 @@
|
|
|
622
623
|
protoOf(WsLiteral).od = function () {
|
|
623
624
|
return this.value;
|
|
624
625
|
};
|
|
625
|
-
protoOf(WsLiteral).
|
|
626
|
+
protoOf(WsLiteral).n2h = function (value) {
|
|
626
627
|
return new WsLiteral(value);
|
|
627
628
|
};
|
|
628
629
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
629
630
|
value = value === VOID ? this.value : value;
|
|
630
|
-
return this.
|
|
631
|
+
return this.n2h(value);
|
|
631
632
|
};
|
|
632
633
|
protoOf(WsLiteral).toString = function () {
|
|
633
634
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -649,10 +650,10 @@
|
|
|
649
650
|
this.identifier = identifier;
|
|
650
651
|
this.reference = reference;
|
|
651
652
|
}
|
|
652
|
-
protoOf(WsParam).
|
|
653
|
+
protoOf(WsParam).g2d = function () {
|
|
653
654
|
return this.identifier;
|
|
654
655
|
};
|
|
655
|
-
protoOf(WsParam).
|
|
656
|
+
protoOf(WsParam).g2h = function () {
|
|
656
657
|
return this.reference;
|
|
657
658
|
};
|
|
658
659
|
protoOf(WsParam).od = function () {
|
|
@@ -661,13 +662,13 @@
|
|
|
661
662
|
protoOf(WsParam).pd = function () {
|
|
662
663
|
return this.reference;
|
|
663
664
|
};
|
|
664
|
-
protoOf(WsParam).
|
|
665
|
+
protoOf(WsParam).o2h = function (identifier, reference) {
|
|
665
666
|
return new WsParam(identifier, reference);
|
|
666
667
|
};
|
|
667
668
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
668
669
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
669
670
|
reference = reference === VOID ? this.reference : reference;
|
|
670
|
-
return this.
|
|
671
|
+
return this.o2h(identifier, reference);
|
|
671
672
|
};
|
|
672
673
|
protoOf(WsParam).toString = function () {
|
|
673
674
|
return 'WsParam(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ')';
|
|
@@ -698,12 +699,12 @@
|
|
|
698
699
|
protoOf(Shape_0).od = function () {
|
|
699
700
|
return this.value;
|
|
700
701
|
};
|
|
701
|
-
protoOf(Shape_0).
|
|
702
|
+
protoOf(Shape_0).l2g = function (value) {
|
|
702
703
|
return new Shape_0(value);
|
|
703
704
|
};
|
|
704
705
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
705
706
|
value = value === VOID ? this.value : value;
|
|
706
|
-
return this.
|
|
707
|
+
return this.l2g(value);
|
|
707
708
|
};
|
|
708
709
|
protoOf(Shape_0).toString = function () {
|
|
709
710
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -726,10 +727,10 @@
|
|
|
726
727
|
this.reference = reference;
|
|
727
728
|
this.isNullable = isNullable;
|
|
728
729
|
}
|
|
729
|
-
protoOf(WsField).
|
|
730
|
+
protoOf(WsField).g2d = function () {
|
|
730
731
|
return this.identifier;
|
|
731
732
|
};
|
|
732
|
-
protoOf(WsField).
|
|
733
|
+
protoOf(WsField).g2h = function () {
|
|
733
734
|
return this.reference;
|
|
734
735
|
};
|
|
735
736
|
protoOf(WsField).vl = function () {
|
|
@@ -744,14 +745,14 @@
|
|
|
744
745
|
protoOf(WsField).ph = function () {
|
|
745
746
|
return this.isNullable;
|
|
746
747
|
};
|
|
747
|
-
protoOf(WsField).
|
|
748
|
+
protoOf(WsField).p2h = function (identifier, reference, isNullable) {
|
|
748
749
|
return new WsField(identifier, reference, isNullable);
|
|
749
750
|
};
|
|
750
751
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
751
752
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
752
753
|
reference = reference === VOID ? this.reference : reference;
|
|
753
754
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
754
|
-
return this.
|
|
755
|
+
return this.p2h(identifier, reference, isNullable);
|
|
755
756
|
};
|
|
756
757
|
protoOf(WsField).toString = function () {
|
|
757
758
|
return 'WsField(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -785,12 +786,12 @@
|
|
|
785
786
|
protoOf(WsIdentifier).od = function () {
|
|
786
787
|
return this.value;
|
|
787
788
|
};
|
|
788
|
-
protoOf(WsIdentifier).
|
|
789
|
+
protoOf(WsIdentifier).n2h = function (value) {
|
|
789
790
|
return new WsIdentifier(value);
|
|
790
791
|
};
|
|
791
792
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
792
793
|
value = value === VOID ? this.value : value;
|
|
793
|
-
return this.
|
|
794
|
+
return this.n2h(value);
|
|
794
795
|
};
|
|
795
796
|
protoOf(WsIdentifier).toString = function () {
|
|
796
797
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -812,35 +813,35 @@
|
|
|
812
813
|
}
|
|
813
814
|
function WsAny(isIterable, isMap) {
|
|
814
815
|
isMap = isMap === VOID ? false : isMap;
|
|
815
|
-
this.
|
|
816
|
-
this.
|
|
816
|
+
this.r2h_1 = isIterable;
|
|
817
|
+
this.s2h_1 = isMap;
|
|
817
818
|
}
|
|
818
|
-
protoOf(WsAny).
|
|
819
|
-
return this.
|
|
819
|
+
protoOf(WsAny).z22 = function () {
|
|
820
|
+
return this.r2h_1;
|
|
820
821
|
};
|
|
821
|
-
protoOf(WsAny).
|
|
822
|
-
return this.
|
|
822
|
+
protoOf(WsAny).q2h = function () {
|
|
823
|
+
return this.s2h_1;
|
|
823
824
|
};
|
|
824
825
|
protoOf(WsAny).od = function () {
|
|
825
|
-
return this.
|
|
826
|
+
return this.r2h_1;
|
|
826
827
|
};
|
|
827
828
|
protoOf(WsAny).pd = function () {
|
|
828
|
-
return this.
|
|
829
|
+
return this.s2h_1;
|
|
829
830
|
};
|
|
830
|
-
protoOf(WsAny).
|
|
831
|
+
protoOf(WsAny).k2d = function (isIterable, isMap) {
|
|
831
832
|
return new WsAny(isIterable, isMap);
|
|
832
833
|
};
|
|
833
834
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
834
|
-
isIterable = isIterable === VOID ? this.
|
|
835
|
-
isMap = isMap === VOID ? this.
|
|
836
|
-
return this.
|
|
835
|
+
isIterable = isIterable === VOID ? this.r2h_1 : isIterable;
|
|
836
|
+
isMap = isMap === VOID ? this.s2h_1 : isMap;
|
|
837
|
+
return this.k2d(isIterable, isMap);
|
|
837
838
|
};
|
|
838
839
|
protoOf(WsAny).toString = function () {
|
|
839
|
-
return 'WsAny(isIterable=' + this.
|
|
840
|
+
return 'WsAny(isIterable=' + this.r2h_1 + ', isMap=' + this.s2h_1 + ')';
|
|
840
841
|
};
|
|
841
842
|
protoOf(WsAny).hashCode = function () {
|
|
842
|
-
var result = getBooleanHashCode(this.
|
|
843
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
843
|
+
var result = getBooleanHashCode(this.r2h_1);
|
|
844
|
+
result = imul(result, 31) + getBooleanHashCode(this.s2h_1) | 0;
|
|
844
845
|
return result;
|
|
845
846
|
};
|
|
846
847
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -849,43 +850,43 @@
|
|
|
849
850
|
if (!(other instanceof WsAny))
|
|
850
851
|
return false;
|
|
851
852
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
852
|
-
if (!(this.
|
|
853
|
+
if (!(this.r2h_1 === tmp0_other_with_cast.r2h_1))
|
|
853
854
|
return false;
|
|
854
|
-
if (!(this.
|
|
855
|
+
if (!(this.s2h_1 === tmp0_other_with_cast.s2h_1))
|
|
855
856
|
return false;
|
|
856
857
|
return true;
|
|
857
858
|
};
|
|
858
859
|
function WsUnit(isIterable, isMap) {
|
|
859
860
|
isMap = isMap === VOID ? false : isMap;
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
861
|
+
this.t2h_1 = isIterable;
|
|
862
|
+
this.u2h_1 = isMap;
|
|
862
863
|
}
|
|
863
|
-
protoOf(WsUnit).
|
|
864
|
-
return this.
|
|
864
|
+
protoOf(WsUnit).z22 = function () {
|
|
865
|
+
return this.t2h_1;
|
|
865
866
|
};
|
|
866
|
-
protoOf(WsUnit).
|
|
867
|
-
return this.
|
|
867
|
+
protoOf(WsUnit).q2h = function () {
|
|
868
|
+
return this.u2h_1;
|
|
868
869
|
};
|
|
869
870
|
protoOf(WsUnit).od = function () {
|
|
870
|
-
return this.
|
|
871
|
+
return this.t2h_1;
|
|
871
872
|
};
|
|
872
873
|
protoOf(WsUnit).pd = function () {
|
|
873
|
-
return this.
|
|
874
|
+
return this.u2h_1;
|
|
874
875
|
};
|
|
875
|
-
protoOf(WsUnit).
|
|
876
|
+
protoOf(WsUnit).k2d = function (isIterable, isMap) {
|
|
876
877
|
return new WsUnit(isIterable, isMap);
|
|
877
878
|
};
|
|
878
879
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
879
|
-
isIterable = isIterable === VOID ? this.
|
|
880
|
-
isMap = isMap === VOID ? this.
|
|
881
|
-
return this.
|
|
880
|
+
isIterable = isIterable === VOID ? this.t2h_1 : isIterable;
|
|
881
|
+
isMap = isMap === VOID ? this.u2h_1 : isMap;
|
|
882
|
+
return this.k2d(isIterable, isMap);
|
|
882
883
|
};
|
|
883
884
|
protoOf(WsUnit).toString = function () {
|
|
884
|
-
return 'WsUnit(isIterable=' + this.
|
|
885
|
+
return 'WsUnit(isIterable=' + this.t2h_1 + ', isMap=' + this.u2h_1 + ')';
|
|
885
886
|
};
|
|
886
887
|
protoOf(WsUnit).hashCode = function () {
|
|
887
|
-
var result = getBooleanHashCode(this.
|
|
888
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
888
|
+
var result = getBooleanHashCode(this.t2h_1);
|
|
889
|
+
result = imul(result, 31) + getBooleanHashCode(this.u2h_1) | 0;
|
|
889
890
|
return result;
|
|
890
891
|
};
|
|
891
892
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -894,52 +895,52 @@
|
|
|
894
895
|
if (!(other instanceof WsUnit))
|
|
895
896
|
return false;
|
|
896
897
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
897
|
-
if (!(this.
|
|
898
|
+
if (!(this.t2h_1 === tmp0_other_with_cast.t2h_1))
|
|
898
899
|
return false;
|
|
899
|
-
if (!(this.
|
|
900
|
+
if (!(this.u2h_1 === tmp0_other_with_cast.u2h_1))
|
|
900
901
|
return false;
|
|
901
902
|
return true;
|
|
902
903
|
};
|
|
903
904
|
function WsCustom(value, isIterable, isMap) {
|
|
904
905
|
isMap = isMap === VOID ? false : isMap;
|
|
905
906
|
this.value = value;
|
|
906
|
-
this.
|
|
907
|
-
this.
|
|
907
|
+
this.v2h_1 = isIterable;
|
|
908
|
+
this.w2h_1 = isMap;
|
|
908
909
|
}
|
|
909
910
|
protoOf(WsCustom).b1 = function () {
|
|
910
911
|
return this.value;
|
|
911
912
|
};
|
|
912
|
-
protoOf(WsCustom).
|
|
913
|
-
return this.
|
|
913
|
+
protoOf(WsCustom).z22 = function () {
|
|
914
|
+
return this.v2h_1;
|
|
914
915
|
};
|
|
915
|
-
protoOf(WsCustom).
|
|
916
|
-
return this.
|
|
916
|
+
protoOf(WsCustom).q2h = function () {
|
|
917
|
+
return this.w2h_1;
|
|
917
918
|
};
|
|
918
919
|
protoOf(WsCustom).od = function () {
|
|
919
920
|
return this.value;
|
|
920
921
|
};
|
|
921
922
|
protoOf(WsCustom).pd = function () {
|
|
922
|
-
return this.
|
|
923
|
+
return this.v2h_1;
|
|
923
924
|
};
|
|
924
925
|
protoOf(WsCustom).ph = function () {
|
|
925
|
-
return this.
|
|
926
|
+
return this.w2h_1;
|
|
926
927
|
};
|
|
927
|
-
protoOf(WsCustom).
|
|
928
|
+
protoOf(WsCustom).n2d = function (value, isIterable, isMap) {
|
|
928
929
|
return new WsCustom(value, isIterable, isMap);
|
|
929
930
|
};
|
|
930
931
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
931
932
|
value = value === VOID ? this.value : value;
|
|
932
|
-
isIterable = isIterable === VOID ? this.
|
|
933
|
-
isMap = isMap === VOID ? this.
|
|
934
|
-
return this.
|
|
933
|
+
isIterable = isIterable === VOID ? this.v2h_1 : isIterable;
|
|
934
|
+
isMap = isMap === VOID ? this.w2h_1 : isMap;
|
|
935
|
+
return this.n2d(value, isIterable, isMap);
|
|
935
936
|
};
|
|
936
937
|
protoOf(WsCustom).toString = function () {
|
|
937
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
938
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.v2h_1 + ', isMap=' + this.w2h_1 + ')';
|
|
938
939
|
};
|
|
939
940
|
protoOf(WsCustom).hashCode = function () {
|
|
940
941
|
var result = getStringHashCode(this.value);
|
|
941
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
942
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
942
|
+
result = imul(result, 31) + getBooleanHashCode(this.v2h_1) | 0;
|
|
943
|
+
result = imul(result, 31) + getBooleanHashCode(this.w2h_1) | 0;
|
|
943
944
|
return result;
|
|
944
945
|
};
|
|
945
946
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -950,52 +951,52 @@
|
|
|
950
951
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
951
952
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
952
953
|
return false;
|
|
953
|
-
if (!(this.
|
|
954
|
+
if (!(this.v2h_1 === tmp0_other_with_cast.v2h_1))
|
|
954
955
|
return false;
|
|
955
|
-
if (!(this.
|
|
956
|
+
if (!(this.w2h_1 === tmp0_other_with_cast.w2h_1))
|
|
956
957
|
return false;
|
|
957
958
|
return true;
|
|
958
959
|
};
|
|
959
960
|
function WsPrimitive(type, isIterable, isMap) {
|
|
960
961
|
isMap = isMap === VOID ? false : isMap;
|
|
961
962
|
this.type = type;
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
963
|
+
this.x2h_1 = isIterable;
|
|
964
|
+
this.y2h_1 = isMap;
|
|
964
965
|
}
|
|
965
|
-
protoOf(WsPrimitive).
|
|
966
|
+
protoOf(WsPrimitive).z2h = function () {
|
|
966
967
|
return this.type;
|
|
967
968
|
};
|
|
968
|
-
protoOf(WsPrimitive).
|
|
969
|
-
return this.
|
|
969
|
+
protoOf(WsPrimitive).z22 = function () {
|
|
970
|
+
return this.x2h_1;
|
|
970
971
|
};
|
|
971
|
-
protoOf(WsPrimitive).
|
|
972
|
-
return this.
|
|
972
|
+
protoOf(WsPrimitive).q2h = function () {
|
|
973
|
+
return this.y2h_1;
|
|
973
974
|
};
|
|
974
975
|
protoOf(WsPrimitive).od = function () {
|
|
975
976
|
return this.type;
|
|
976
977
|
};
|
|
977
978
|
protoOf(WsPrimitive).pd = function () {
|
|
978
|
-
return this.
|
|
979
|
+
return this.x2h_1;
|
|
979
980
|
};
|
|
980
981
|
protoOf(WsPrimitive).ph = function () {
|
|
981
|
-
return this.
|
|
982
|
+
return this.y2h_1;
|
|
982
983
|
};
|
|
983
|
-
protoOf(WsPrimitive).
|
|
984
|
+
protoOf(WsPrimitive).a2i = function (type, isIterable, isMap) {
|
|
984
985
|
return new WsPrimitive(type, isIterable, isMap);
|
|
985
986
|
};
|
|
986
987
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
987
988
|
type = type === VOID ? this.type : type;
|
|
988
|
-
isIterable = isIterable === VOID ? this.
|
|
989
|
-
isMap = isMap === VOID ? this.
|
|
990
|
-
return this.
|
|
989
|
+
isIterable = isIterable === VOID ? this.x2h_1 : isIterable;
|
|
990
|
+
isMap = isMap === VOID ? this.y2h_1 : isMap;
|
|
991
|
+
return this.a2i(type, isIterable, isMap);
|
|
991
992
|
};
|
|
992
993
|
protoOf(WsPrimitive).toString = function () {
|
|
993
|
-
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.
|
|
994
|
+
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.x2h_1 + ', isMap=' + this.y2h_1 + ')';
|
|
994
995
|
};
|
|
995
996
|
protoOf(WsPrimitive).hashCode = function () {
|
|
996
997
|
var result = this.type.hashCode();
|
|
997
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
998
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
998
|
+
result = imul(result, 31) + getBooleanHashCode(this.x2h_1) | 0;
|
|
999
|
+
result = imul(result, 31) + getBooleanHashCode(this.y2h_1) | 0;
|
|
999
1000
|
return result;
|
|
1000
1001
|
};
|
|
1001
1002
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -1006,9 +1007,9 @@
|
|
|
1006
1007
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
1007
1008
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
1008
1009
|
return false;
|
|
1009
|
-
if (!(this.
|
|
1010
|
+
if (!(this.x2h_1 === tmp0_other_with_cast.x2h_1))
|
|
1010
1011
|
return false;
|
|
1011
|
-
if (!(this.
|
|
1012
|
+
if (!(this.y2h_1 === tmp0_other_with_cast.y2h_1))
|
|
1012
1013
|
return false;
|
|
1013
1014
|
return true;
|
|
1014
1015
|
};
|
|
@@ -1057,12 +1058,12 @@
|
|
|
1057
1058
|
protoOf(WsRequest).od = function () {
|
|
1058
1059
|
return this.content;
|
|
1059
1060
|
};
|
|
1060
|
-
protoOf(WsRequest).
|
|
1061
|
+
protoOf(WsRequest).d2i = function (content) {
|
|
1061
1062
|
return new WsRequest(content);
|
|
1062
1063
|
};
|
|
1063
1064
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1064
1065
|
content = content === VOID ? this.content : content;
|
|
1065
|
-
return this.
|
|
1066
|
+
return this.d2i(content);
|
|
1066
1067
|
};
|
|
1067
1068
|
protoOf(WsRequest).toString = function () {
|
|
1068
1069
|
return 'WsRequest(content=' + toString_0(this.content) + ')';
|
|
@@ -1085,10 +1086,10 @@
|
|
|
1085
1086
|
this.headers = headers;
|
|
1086
1087
|
this.content = content;
|
|
1087
1088
|
}
|
|
1088
|
-
protoOf(WsResponse).
|
|
1089
|
+
protoOf(WsResponse).e2i = function () {
|
|
1089
1090
|
return this.status;
|
|
1090
1091
|
};
|
|
1091
|
-
protoOf(WsResponse).
|
|
1092
|
+
protoOf(WsResponse).q2g = function () {
|
|
1092
1093
|
return this.headers;
|
|
1093
1094
|
};
|
|
1094
1095
|
protoOf(WsResponse).e17 = function () {
|
|
@@ -1103,14 +1104,14 @@
|
|
|
1103
1104
|
protoOf(WsResponse).ph = function () {
|
|
1104
1105
|
return this.content;
|
|
1105
1106
|
};
|
|
1106
|
-
protoOf(WsResponse).
|
|
1107
|
+
protoOf(WsResponse).f2i = function (status, headers, content) {
|
|
1107
1108
|
return new WsResponse(status, headers, content);
|
|
1108
1109
|
};
|
|
1109
1110
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1110
1111
|
status = status === VOID ? this.status : status;
|
|
1111
1112
|
headers = headers === VOID ? this.headers : headers;
|
|
1112
1113
|
content = content === VOID ? this.content : content;
|
|
1113
|
-
return this.
|
|
1114
|
+
return this.f2i(status, headers, content);
|
|
1114
1115
|
};
|
|
1115
1116
|
protoOf(WsResponse).toString = function () {
|
|
1116
1117
|
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + toString_0(this.content) + ')';
|
|
@@ -1141,10 +1142,10 @@
|
|
|
1141
1142
|
this.reference = reference;
|
|
1142
1143
|
this.isNullable = isNullable;
|
|
1143
1144
|
}
|
|
1144
|
-
protoOf(WsContent).
|
|
1145
|
+
protoOf(WsContent).z2h = function () {
|
|
1145
1146
|
return this.type;
|
|
1146
1147
|
};
|
|
1147
|
-
protoOf(WsContent).
|
|
1148
|
+
protoOf(WsContent).g2h = function () {
|
|
1148
1149
|
return this.reference;
|
|
1149
1150
|
};
|
|
1150
1151
|
protoOf(WsContent).vl = function () {
|
|
@@ -1159,14 +1160,14 @@
|
|
|
1159
1160
|
protoOf(WsContent).ph = function () {
|
|
1160
1161
|
return this.isNullable;
|
|
1161
1162
|
};
|
|
1162
|
-
protoOf(WsContent).
|
|
1163
|
+
protoOf(WsContent).g2i = function (type, reference, isNullable) {
|
|
1163
1164
|
return new WsContent(type, reference, isNullable);
|
|
1164
1165
|
};
|
|
1165
1166
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1166
1167
|
type = type === VOID ? this.type : type;
|
|
1167
1168
|
reference = reference === VOID ? this.reference : reference;
|
|
1168
1169
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1169
|
-
return this.
|
|
1170
|
+
return this.g2i(type, reference, isNullable);
|
|
1170
1171
|
};
|
|
1171
1172
|
protoOf(WsContent).toString = function () {
|
|
1172
1173
|
return 'WsContent(type=' + this.type + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1194,66 +1195,66 @@
|
|
|
1194
1195
|
function produce(_this__u8e3s4) {
|
|
1195
1196
|
var tmp;
|
|
1196
1197
|
if (_this__u8e3s4 instanceof Type) {
|
|
1197
|
-
var
|
|
1198
|
+
var tmp31_safe_receiver = _this__u8e3s4.y23_1;
|
|
1198
1199
|
var tmp_0;
|
|
1199
|
-
var tmp_1 =
|
|
1200
|
+
var tmp_1 = tmp31_safe_receiver;
|
|
1200
1201
|
if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
|
|
1201
1202
|
tmp_0 = null;
|
|
1202
1203
|
} else {
|
|
1203
|
-
tmp_0 = _Comment___get_value__impl__8r3pla(
|
|
1204
|
+
tmp_0 = _Comment___get_value__impl__8r3pla(tmp31_safe_receiver);
|
|
1204
1205
|
}
|
|
1205
|
-
tmp = new WsType(_this__u8e3s4.
|
|
1206
|
+
tmp = new WsType(_this__u8e3s4.z23_1.q2a_1, tmp_0, produce_1(_this__u8e3s4.a24_1));
|
|
1206
1207
|
} else {
|
|
1207
1208
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1208
|
-
var
|
|
1209
|
+
var tmp32_safe_receiver = _this__u8e3s4.m24_1;
|
|
1209
1210
|
var tmp_2;
|
|
1210
|
-
var tmp_3 =
|
|
1211
|
+
var tmp_3 = tmp32_safe_receiver;
|
|
1211
1212
|
if ((tmp_3 == null ? null : new Comment(tmp_3)) == null) {
|
|
1212
1213
|
tmp_2 = null;
|
|
1213
1214
|
} else {
|
|
1214
|
-
tmp_2 = _Comment___get_value__impl__8r3pla(
|
|
1215
|
+
tmp_2 = _Comment___get_value__impl__8r3pla(tmp32_safe_receiver);
|
|
1215
1216
|
}
|
|
1216
|
-
tmp = new WsEndpoint(_this__u8e3s4.
|
|
1217
|
+
tmp = new WsEndpoint(_this__u8e3s4.n24_1.q2a_1, tmp_2, produce_2(_this__u8e3s4.o24_1), produce_3(_this__u8e3s4.p24_1), produce_4(_this__u8e3s4.q24_1), produce_4(_this__u8e3s4.r24_1), produce_4(_this__u8e3s4.s24_1), produce_5(_this__u8e3s4.t24_1), produce_6(_this__u8e3s4.u24_1));
|
|
1217
1218
|
} else {
|
|
1218
1219
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1219
|
-
var
|
|
1220
|
+
var tmp33_safe_receiver = _this__u8e3s4.f24_1;
|
|
1220
1221
|
var tmp_4;
|
|
1221
|
-
var tmp_5 =
|
|
1222
|
+
var tmp_5 = tmp33_safe_receiver;
|
|
1222
1223
|
if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
|
|
1223
1224
|
tmp_4 = null;
|
|
1224
1225
|
} else {
|
|
1225
|
-
tmp_4 = _Comment___get_value__impl__8r3pla(
|
|
1226
|
+
tmp_4 = _Comment___get_value__impl__8r3pla(tmp33_safe_receiver);
|
|
1226
1227
|
}
|
|
1227
1228
|
var tmp_6 = tmp_4;
|
|
1228
1229
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1229
|
-
var this_0 = _this__u8e3s4.
|
|
1230
|
+
var this_0 = _this__u8e3s4.h24_1;
|
|
1230
1231
|
var tmp$ret$0 = copyToArray(this_0);
|
|
1231
|
-
tmp = new WsEnum(_this__u8e3s4.
|
|
1232
|
+
tmp = new WsEnum(_this__u8e3s4.g24_1.q2a_1, tmp_6, tmp$ret$0);
|
|
1232
1233
|
} else {
|
|
1233
1234
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1234
|
-
var
|
|
1235
|
+
var tmp34_safe_receiver = _this__u8e3s4.c24_1;
|
|
1235
1236
|
var tmp_7;
|
|
1236
|
-
var tmp_8 =
|
|
1237
|
+
var tmp_8 = tmp34_safe_receiver;
|
|
1237
1238
|
if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
|
|
1238
1239
|
tmp_7 = null;
|
|
1239
1240
|
} else {
|
|
1240
|
-
tmp_7 = _Comment___get_value__impl__8r3pla(
|
|
1241
|
+
tmp_7 = _Comment___get_value__impl__8r3pla(tmp34_safe_receiver);
|
|
1241
1242
|
}
|
|
1242
|
-
tmp = new WsRefined(_this__u8e3s4.
|
|
1243
|
+
tmp = new WsRefined(_this__u8e3s4.d24_1.q2a_1, tmp_7, _this__u8e3s4.e24_1.c2b_1);
|
|
1243
1244
|
} else {
|
|
1244
1245
|
if (_this__u8e3s4 instanceof Union) {
|
|
1245
|
-
var
|
|
1246
|
+
var tmp35_safe_receiver = _this__u8e3s4.u23_1;
|
|
1246
1247
|
var tmp_9;
|
|
1247
|
-
var tmp_10 =
|
|
1248
|
+
var tmp_10 = tmp35_safe_receiver;
|
|
1248
1249
|
if ((tmp_10 == null ? null : new Comment(tmp_10)) == null) {
|
|
1249
1250
|
tmp_9 = null;
|
|
1250
1251
|
} else {
|
|
1251
|
-
tmp_9 = _Comment___get_value__impl__8r3pla(
|
|
1252
|
+
tmp_9 = _Comment___get_value__impl__8r3pla(tmp35_safe_receiver);
|
|
1252
1253
|
}
|
|
1253
1254
|
var tmp_11 = tmp_9;
|
|
1254
1255
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1255
1256
|
// Inline function 'kotlin.collections.map' call
|
|
1256
|
-
var this_1 = _this__u8e3s4.
|
|
1257
|
+
var this_1 = _this__u8e3s4.w23_1;
|
|
1257
1258
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1258
1259
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
1259
1260
|
var tmp0_iterator = this_1.g();
|
|
@@ -1264,18 +1265,18 @@
|
|
|
1264
1265
|
destination.e(tmp$ret$1);
|
|
1265
1266
|
}
|
|
1266
1267
|
var tmp$ret$4 = copyToArray(destination);
|
|
1267
|
-
tmp = new WsUnion(_this__u8e3s4.
|
|
1268
|
+
tmp = new WsUnion(_this__u8e3s4.v23_1.q2a_1, tmp_11, tmp$ret$4);
|
|
1268
1269
|
} else {
|
|
1269
1270
|
if (_this__u8e3s4 instanceof Channel) {
|
|
1270
|
-
var
|
|
1271
|
+
var tmp36_safe_receiver = _this__u8e3s4.i24_1;
|
|
1271
1272
|
var tmp_12;
|
|
1272
|
-
var tmp_13 =
|
|
1273
|
+
var tmp_13 = tmp36_safe_receiver;
|
|
1273
1274
|
if ((tmp_13 == null ? null : new Comment(tmp_13)) == null) {
|
|
1274
1275
|
tmp_12 = null;
|
|
1275
1276
|
} else {
|
|
1276
|
-
tmp_12 = _Comment___get_value__impl__8r3pla(
|
|
1277
|
+
tmp_12 = _Comment___get_value__impl__8r3pla(tmp36_safe_receiver);
|
|
1277
1278
|
}
|
|
1278
|
-
tmp = new WsChannel(_this__u8e3s4.
|
|
1279
|
+
tmp = new WsChannel(_this__u8e3s4.j24_1.q2a_1, tmp_12, produce_7(_this__u8e3s4.l24_1), _this__u8e3s4.k24_1);
|
|
1279
1280
|
} else {
|
|
1280
1281
|
noWhenBranchMatchedException();
|
|
1281
1282
|
}
|
|
@@ -1332,7 +1333,7 @@
|
|
|
1332
1333
|
function produce_1(_this__u8e3s4) {
|
|
1333
1334
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1334
1335
|
// Inline function 'kotlin.collections.map' call
|
|
1335
|
-
var this_0 = _this__u8e3s4.
|
|
1336
|
+
var this_0 = _this__u8e3s4.t2a_1;
|
|
1336
1337
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1337
1338
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1338
1339
|
var tmp0_iterator = this_0.g();
|
|
@@ -1389,10 +1390,10 @@
|
|
|
1389
1390
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1390
1391
|
var tmp;
|
|
1391
1392
|
if (item instanceof Literal) {
|
|
1392
|
-
tmp = new WsLiteral(item.
|
|
1393
|
+
tmp = new WsLiteral(item.l2a_1);
|
|
1393
1394
|
} else {
|
|
1394
1395
|
if (item instanceof Param) {
|
|
1395
|
-
tmp = new WsParam(produce_9(item.
|
|
1396
|
+
tmp = new WsParam(produce_9(item.g2a_1), produce_7(item.h2a_1));
|
|
1396
1397
|
} else {
|
|
1397
1398
|
noWhenBranchMatchedException();
|
|
1398
1399
|
}
|
|
@@ -1447,16 +1448,16 @@
|
|
|
1447
1448
|
function produce_7(_this__u8e3s4) {
|
|
1448
1449
|
var tmp;
|
|
1449
1450
|
if (_this__u8e3s4 instanceof Any) {
|
|
1450
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1451
|
+
tmp = new WsAny(_this__u8e3s4.x2b_1, _this__u8e3s4.y2b_1);
|
|
1451
1452
|
} else {
|
|
1452
1453
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1453
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1454
|
+
tmp = new WsUnit(_this__u8e3s4.a2c_1, _this__u8e3s4.b2c_1);
|
|
1454
1455
|
} else {
|
|
1455
1456
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1456
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1457
|
+
tmp = new WsCustom(_this__u8e3s4.y2a_1, _this__u8e3s4.z2a_1, _this__u8e3s4.a2b_1);
|
|
1457
1458
|
} else {
|
|
1458
1459
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1459
|
-
tmp = new WsPrimitive(produce_12(_this__u8e3s4.
|
|
1460
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.u2a_1), _this__u8e3s4.v2a_1, _this__u8e3s4.w2a_1);
|
|
1460
1461
|
} else {
|
|
1461
1462
|
noWhenBranchMatchedException();
|
|
1462
1463
|
}
|
|
@@ -1477,7 +1478,7 @@
|
|
|
1477
1478
|
tmp = _Comment___init__impl__cg8s2u(tmp1_safe_receiver);
|
|
1478
1479
|
}
|
|
1479
1480
|
var tmp_0 = tmp;
|
|
1480
|
-
var tmp_1 = Companion_instance.
|
|
1481
|
+
var tmp_1 = Companion_instance.q2b(_this__u8e3s4.m2g_1);
|
|
1481
1482
|
var tmp_2 = consume_6(_this__u8e3s4.method);
|
|
1482
1483
|
// Inline function 'kotlin.collections.map' call
|
|
1483
1484
|
var this_0 = _this__u8e3s4.path;
|
|
@@ -1565,7 +1566,7 @@
|
|
|
1565
1566
|
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1566
1567
|
}
|
|
1567
1568
|
function consume_1(_this__u8e3s4) {
|
|
1568
|
-
var tmp5_identifier = Companion_instance.
|
|
1569
|
+
var tmp5_identifier = Companion_instance.q2b(_this__u8e3s4.b2h_1);
|
|
1569
1570
|
var tmp4_safe_receiver = _this__u8e3s4.comment;
|
|
1570
1571
|
var tmp;
|
|
1571
1572
|
if (tmp4_safe_receiver == null) {
|
|
@@ -1581,7 +1582,7 @@
|
|
|
1581
1582
|
return new Enum_0(tmp6_comment, tmp5_identifier, tmp7_entries);
|
|
1582
1583
|
}
|
|
1583
1584
|
function consume_2(_this__u8e3s4) {
|
|
1584
|
-
var tmp9_identifier = Companion_instance.
|
|
1585
|
+
var tmp9_identifier = Companion_instance.q2b(_this__u8e3s4.i2h_1);
|
|
1585
1586
|
var tmp8_safe_receiver = _this__u8e3s4.comment;
|
|
1586
1587
|
var tmp;
|
|
1587
1588
|
if (tmp8_safe_receiver == null) {
|
|
@@ -1597,7 +1598,7 @@
|
|
|
1597
1598
|
return new Refined(tmp10_comment, tmp9_identifier, tmp11_validator);
|
|
1598
1599
|
}
|
|
1599
1600
|
function consume_3(_this__u8e3s4) {
|
|
1600
|
-
var tmp13_identifier = Companion_instance.
|
|
1601
|
+
var tmp13_identifier = Companion_instance.q2b(_this__u8e3s4.h2g_1);
|
|
1601
1602
|
var tmp12_safe_receiver = _this__u8e3s4.comment;
|
|
1602
1603
|
var tmp;
|
|
1603
1604
|
if (tmp12_safe_receiver == null) {
|
|
@@ -1623,21 +1624,22 @@
|
|
|
1623
1624
|
destination.e(tmp$ret$2);
|
|
1624
1625
|
}
|
|
1625
1626
|
var tmp15_shape = new Shape(destination);
|
|
1626
|
-
|
|
1627
|
+
var tmp16_extends = emptyList();
|
|
1628
|
+
return new Type(tmp14_comment, tmp13_identifier, tmp15_shape, tmp16_extends);
|
|
1627
1629
|
}
|
|
1628
1630
|
function consume_4(_this__u8e3s4) {
|
|
1629
|
-
var
|
|
1630
|
-
var
|
|
1631
|
+
var tmp18_identifier = Companion_instance.q2b(_this__u8e3s4.d2h_1);
|
|
1632
|
+
var tmp17_safe_receiver = _this__u8e3s4.comment;
|
|
1631
1633
|
var tmp;
|
|
1632
|
-
if (
|
|
1634
|
+
if (tmp17_safe_receiver == null) {
|
|
1633
1635
|
tmp = null;
|
|
1634
1636
|
} else {
|
|
1635
1637
|
// Inline function 'kotlin.let' call
|
|
1636
1638
|
// Inline function 'kotlin.contracts.contract' call
|
|
1637
1639
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1638
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1640
|
+
tmp = _Comment___init__impl__cg8s2u(tmp17_safe_receiver);
|
|
1639
1641
|
}
|
|
1640
|
-
var
|
|
1642
|
+
var tmp19_comment = tmp;
|
|
1641
1643
|
// Inline function 'kotlin.collections.map' call
|
|
1642
1644
|
var this_0 = _this__u8e3s4.entries;
|
|
1643
1645
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1651,40 +1653,40 @@
|
|
|
1651
1653
|
var tmp$ret$2 = consume_11(item);
|
|
1652
1654
|
destination.e(tmp$ret$2);
|
|
1653
1655
|
}
|
|
1654
|
-
var
|
|
1655
|
-
return new Union(
|
|
1656
|
+
var tmp20_entries = toSet_0(destination);
|
|
1657
|
+
return new Union(tmp19_comment, tmp18_identifier, tmp20_entries);
|
|
1656
1658
|
}
|
|
1657
1659
|
function consume_5(_this__u8e3s4) {
|
|
1658
|
-
var
|
|
1659
|
-
var
|
|
1660
|
+
var tmp22_identifier = Companion_instance.q2b(_this__u8e3s4.f2h_1);
|
|
1661
|
+
var tmp21_safe_receiver = _this__u8e3s4.comment;
|
|
1660
1662
|
var tmp;
|
|
1661
|
-
if (
|
|
1663
|
+
if (tmp21_safe_receiver == null) {
|
|
1662
1664
|
tmp = null;
|
|
1663
1665
|
} else {
|
|
1664
1666
|
// Inline function 'kotlin.let' call
|
|
1665
1667
|
// Inline function 'kotlin.contracts.contract' call
|
|
1666
1668
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1667
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1669
|
+
tmp = _Comment___init__impl__cg8s2u(tmp21_safe_receiver);
|
|
1668
1670
|
}
|
|
1669
|
-
var
|
|
1670
|
-
var
|
|
1671
|
-
var
|
|
1672
|
-
return new Channel(
|
|
1671
|
+
var tmp23_comment = tmp;
|
|
1672
|
+
var tmp24_reference = consume_11(_this__u8e3s4.reference);
|
|
1673
|
+
var tmp25_isNullable = _this__u8e3s4.isNullable;
|
|
1674
|
+
return new Channel(tmp23_comment, tmp22_identifier, tmp25_isNullable, tmp24_reference);
|
|
1673
1675
|
}
|
|
1674
1676
|
function produce_8(_this__u8e3s4) {
|
|
1675
1677
|
return new WsField(produce_9(_this__u8e3s4.y29_1), produce_7(_this__u8e3s4.z29_1), _this__u8e3s4.a2a_1);
|
|
1676
1678
|
}
|
|
1677
1679
|
function produce_9(_this__u8e3s4) {
|
|
1678
|
-
return new WsIdentifier(_this__u8e3s4.
|
|
1680
|
+
return new WsIdentifier(_this__u8e3s4.q2a_1);
|
|
1679
1681
|
}
|
|
1680
1682
|
function produce_10(_this__u8e3s4) {
|
|
1681
|
-
var
|
|
1682
|
-
return new WsRequest(
|
|
1683
|
+
var tmp41_safe_receiver = _this__u8e3s4.x29_1;
|
|
1684
|
+
return new WsRequest(tmp41_safe_receiver == null ? null : produce_13(tmp41_safe_receiver));
|
|
1683
1685
|
}
|
|
1684
1686
|
function produce_11(_this__u8e3s4) {
|
|
1685
1687
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1686
1688
|
// Inline function 'kotlin.collections.map' call
|
|
1687
|
-
var this_0 = _this__u8e3s4.
|
|
1689
|
+
var this_0 = _this__u8e3s4.v29_1;
|
|
1688
1690
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1689
1691
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1690
1692
|
var tmp0_iterator = this_0.g();
|
|
@@ -1695,8 +1697,8 @@
|
|
|
1695
1697
|
destination.e(tmp$ret$0);
|
|
1696
1698
|
}
|
|
1697
1699
|
var tmp = copyToArray(destination);
|
|
1698
|
-
var
|
|
1699
|
-
return new WsResponse(_this__u8e3s4.
|
|
1700
|
+
var tmp42_safe_receiver = _this__u8e3s4.w29_1;
|
|
1701
|
+
return new WsResponse(_this__u8e3s4.u29_1, tmp, tmp42_safe_receiver == null ? null : produce_13(tmp42_safe_receiver));
|
|
1700
1702
|
}
|
|
1701
1703
|
function produce_12(_this__u8e3s4) {
|
|
1702
1704
|
var tmp;
|
|
@@ -1769,8 +1771,8 @@
|
|
|
1769
1771
|
return new Field(consume_12(_this__u8e3s4.identifier), consume_11(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1770
1772
|
}
|
|
1771
1773
|
function consume_9(_this__u8e3s4) {
|
|
1772
|
-
var
|
|
1773
|
-
return new Request(
|
|
1774
|
+
var tmp26_safe_receiver = _this__u8e3s4.content;
|
|
1775
|
+
return new Request(tmp26_safe_receiver == null ? null : consume_13(tmp26_safe_receiver));
|
|
1774
1776
|
}
|
|
1775
1777
|
function consume_10(_this__u8e3s4) {
|
|
1776
1778
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1787,22 +1789,22 @@
|
|
|
1787
1789
|
destination.e(tmp$ret$0);
|
|
1788
1790
|
}
|
|
1789
1791
|
var tmp = destination;
|
|
1790
|
-
var
|
|
1791
|
-
return new Response(_this__u8e3s4.status, tmp,
|
|
1792
|
+
var tmp27_safe_receiver = _this__u8e3s4.content;
|
|
1793
|
+
return new Response(_this__u8e3s4.status, tmp, tmp27_safe_receiver == null ? null : consume_13(tmp27_safe_receiver));
|
|
1792
1794
|
}
|
|
1793
1795
|
function consume_11(_this__u8e3s4) {
|
|
1794
1796
|
var tmp;
|
|
1795
1797
|
if (_this__u8e3s4 instanceof WsAny) {
|
|
1796
|
-
tmp = new Any(_this__u8e3s4.
|
|
1798
|
+
tmp = new Any(_this__u8e3s4.r2h_1, _this__u8e3s4.s2h_1);
|
|
1797
1799
|
} else {
|
|
1798
1800
|
if (_this__u8e3s4 instanceof WsUnit) {
|
|
1799
|
-
tmp = new Unit(_this__u8e3s4.
|
|
1801
|
+
tmp = new Unit(_this__u8e3s4.t2h_1, _this__u8e3s4.u2h_1);
|
|
1800
1802
|
} else {
|
|
1801
1803
|
if (_this__u8e3s4 instanceof WsCustom) {
|
|
1802
|
-
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.
|
|
1804
|
+
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.v2h_1, _this__u8e3s4.w2h_1);
|
|
1803
1805
|
} else {
|
|
1804
1806
|
if (_this__u8e3s4 instanceof WsPrimitive) {
|
|
1805
|
-
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.
|
|
1807
|
+
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.x2h_1, _this__u8e3s4.y2h_1);
|
|
1806
1808
|
} else {
|
|
1807
1809
|
noWhenBranchMatchedException();
|
|
1808
1810
|
}
|
|
@@ -1812,10 +1814,10 @@
|
|
|
1812
1814
|
return tmp;
|
|
1813
1815
|
}
|
|
1814
1816
|
function produce_13(_this__u8e3s4) {
|
|
1815
|
-
return new WsContent(_this__u8e3s4.
|
|
1817
|
+
return new WsContent(_this__u8e3s4.i2a_1, produce_7(_this__u8e3s4.j2a_1), _this__u8e3s4.k2a_1);
|
|
1816
1818
|
}
|
|
1817
1819
|
function consume_12(_this__u8e3s4) {
|
|
1818
|
-
return Companion_instance.
|
|
1820
|
+
return Companion_instance.q2b(_this__u8e3s4.value);
|
|
1819
1821
|
}
|
|
1820
1822
|
function consume_13(_this__u8e3s4) {
|
|
1821
1823
|
return new Content(_this__u8e3s4.type, consume_11(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
@@ -1902,10 +1904,10 @@
|
|
|
1902
1904
|
this.result = result;
|
|
1903
1905
|
this.errors = errors;
|
|
1904
1906
|
}
|
|
1905
|
-
protoOf(WsCompilationResult).
|
|
1907
|
+
protoOf(WsCompilationResult).h2i = function () {
|
|
1906
1908
|
return this.result;
|
|
1907
1909
|
};
|
|
1908
|
-
protoOf(WsCompilationResult).
|
|
1910
|
+
protoOf(WsCompilationResult).i2i = function () {
|
|
1909
1911
|
return this.errors;
|
|
1910
1912
|
};
|
|
1911
1913
|
function WsCompiled(value) {
|
|
@@ -1930,10 +1932,10 @@
|
|
|
1930
1932
|
this.result = result;
|
|
1931
1933
|
this.errors = errors;
|
|
1932
1934
|
}
|
|
1933
|
-
protoOf(WsParseResult).
|
|
1935
|
+
protoOf(WsParseResult).h2i = function () {
|
|
1934
1936
|
return this.result;
|
|
1935
1937
|
};
|
|
1936
|
-
protoOf(WsParseResult).
|
|
1938
|
+
protoOf(WsParseResult).i2i = function () {
|
|
1937
1939
|
return this.errors;
|
|
1938
1940
|
};
|
|
1939
1941
|
function WsStringResult(result, errors) {
|
|
@@ -1942,20 +1944,20 @@
|
|
|
1942
1944
|
this.result = result;
|
|
1943
1945
|
this.errors = errors;
|
|
1944
1946
|
}
|
|
1945
|
-
protoOf(WsStringResult).
|
|
1947
|
+
protoOf(WsStringResult).h2i = function () {
|
|
1946
1948
|
return this.result;
|
|
1947
1949
|
};
|
|
1948
|
-
protoOf(WsStringResult).
|
|
1950
|
+
protoOf(WsStringResult).i2i = function () {
|
|
1949
1951
|
return this.errors;
|
|
1950
1952
|
};
|
|
1951
1953
|
function WsEmitted(typeName, result) {
|
|
1952
1954
|
this.typeName = typeName;
|
|
1953
1955
|
this.result = result;
|
|
1954
1956
|
}
|
|
1955
|
-
protoOf(WsEmitted).
|
|
1957
|
+
protoOf(WsEmitted).j2i = function () {
|
|
1956
1958
|
return this.typeName;
|
|
1957
1959
|
};
|
|
1958
|
-
protoOf(WsEmitted).
|
|
1960
|
+
protoOf(WsEmitted).h2i = function () {
|
|
1959
1961
|
return this.result;
|
|
1960
1962
|
};
|
|
1961
1963
|
function produce_14(_this__u8e3s4) {
|
|
@@ -2036,7 +2038,7 @@
|
|
|
2036
2038
|
return tmp;
|
|
2037
2039
|
}
|
|
2038
2040
|
function produce_16(_this__u8e3s4) {
|
|
2039
|
-
return new WsEmitted(_this__u8e3s4.
|
|
2041
|
+
return new WsEmitted(_this__u8e3s4.v24_1, _this__u8e3s4.w24_1);
|
|
2040
2042
|
}
|
|
2041
2043
|
function WsTokenResult(tokens, error) {
|
|
2042
2044
|
tokens = tokens === VOID ? null : tokens;
|
|
@@ -2044,10 +2046,10 @@
|
|
|
2044
2046
|
this.tokens = tokens;
|
|
2045
2047
|
this.error = error;
|
|
2046
2048
|
}
|
|
2047
|
-
protoOf(WsTokenResult).
|
|
2049
|
+
protoOf(WsTokenResult).k2i = function () {
|
|
2048
2050
|
return this.tokens;
|
|
2049
2051
|
};
|
|
2050
|
-
protoOf(WsTokenResult).
|
|
2052
|
+
protoOf(WsTokenResult).l2i = function () {
|
|
2051
2053
|
return this.error;
|
|
2052
2054
|
};
|
|
2053
2055
|
protoOf(WsTokenResult).od = function () {
|
|
@@ -2056,13 +2058,13 @@
|
|
|
2056
2058
|
protoOf(WsTokenResult).pd = function () {
|
|
2057
2059
|
return this.error;
|
|
2058
2060
|
};
|
|
2059
|
-
protoOf(WsTokenResult).
|
|
2061
|
+
protoOf(WsTokenResult).m2i = function (tokens, error) {
|
|
2060
2062
|
return new WsTokenResult(tokens, error);
|
|
2061
2063
|
};
|
|
2062
2064
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
2063
2065
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
2064
2066
|
error = error === VOID ? this.error : error;
|
|
2065
|
-
return this.
|
|
2067
|
+
return this.m2i(tokens, error);
|
|
2066
2068
|
};
|
|
2067
2069
|
protoOf(WsTokenResult).toString = function () {
|
|
2068
2070
|
return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
|
|
@@ -2107,12 +2109,12 @@
|
|
|
2107
2109
|
protoOf(WsTokens).od = function () {
|
|
2108
2110
|
return this.value;
|
|
2109
2111
|
};
|
|
2110
|
-
protoOf(WsTokens).
|
|
2112
|
+
protoOf(WsTokens).n2i = function (value) {
|
|
2111
2113
|
return new WsTokens(value);
|
|
2112
2114
|
};
|
|
2113
2115
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
2114
2116
|
value = value === VOID ? this.value : value;
|
|
2115
|
-
return this.
|
|
2117
|
+
return this.n2i(value);
|
|
2116
2118
|
};
|
|
2117
2119
|
protoOf(WsTokens).toString = function () {
|
|
2118
2120
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -2123,13 +2125,13 @@
|
|
|
2123
2125
|
this.value = value;
|
|
2124
2126
|
this.coordinates = coordinates;
|
|
2125
2127
|
}
|
|
2126
|
-
protoOf(WsToken).
|
|
2128
|
+
protoOf(WsToken).z2h = function () {
|
|
2127
2129
|
return this.type;
|
|
2128
2130
|
};
|
|
2129
2131
|
protoOf(WsToken).b1 = function () {
|
|
2130
2132
|
return this.value;
|
|
2131
2133
|
};
|
|
2132
|
-
protoOf(WsToken).
|
|
2134
|
+
protoOf(WsToken).o2i = function () {
|
|
2133
2135
|
return this.coordinates;
|
|
2134
2136
|
};
|
|
2135
2137
|
protoOf(WsToken).od = function () {
|
|
@@ -2141,14 +2143,14 @@
|
|
|
2141
2143
|
protoOf(WsToken).ph = function () {
|
|
2142
2144
|
return this.coordinates;
|
|
2143
2145
|
};
|
|
2144
|
-
protoOf(WsToken).
|
|
2146
|
+
protoOf(WsToken).p2i = function (type, value, coordinates) {
|
|
2145
2147
|
return new WsToken(type, value, coordinates);
|
|
2146
2148
|
};
|
|
2147
2149
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
2148
2150
|
type = type === VOID ? this.type : type;
|
|
2149
2151
|
value = value === VOID ? this.value : value;
|
|
2150
2152
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
2151
|
-
return this.
|
|
2153
|
+
return this.p2i(type, value, coordinates);
|
|
2152
2154
|
};
|
|
2153
2155
|
protoOf(WsToken).toString = function () {
|
|
2154
2156
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
|
|
@@ -2181,13 +2183,13 @@
|
|
|
2181
2183
|
this.position = position;
|
|
2182
2184
|
this.idxAndLength = idxAndLength;
|
|
2183
2185
|
}
|
|
2184
|
-
protoOf(WsCoordinates).
|
|
2186
|
+
protoOf(WsCoordinates).q2i = function () {
|
|
2185
2187
|
return this.line;
|
|
2186
2188
|
};
|
|
2187
|
-
protoOf(WsCoordinates).
|
|
2189
|
+
protoOf(WsCoordinates).r2i = function () {
|
|
2188
2190
|
return this.position;
|
|
2189
2191
|
};
|
|
2190
|
-
protoOf(WsCoordinates).
|
|
2192
|
+
protoOf(WsCoordinates).s2i = function () {
|
|
2191
2193
|
return this.idxAndLength;
|
|
2192
2194
|
};
|
|
2193
2195
|
protoOf(WsCoordinates).od = function () {
|
|
@@ -2199,14 +2201,14 @@
|
|
|
2199
2201
|
protoOf(WsCoordinates).ph = function () {
|
|
2200
2202
|
return this.idxAndLength;
|
|
2201
2203
|
};
|
|
2202
|
-
protoOf(WsCoordinates).
|
|
2204
|
+
protoOf(WsCoordinates).t2i = function (line, position, idxAndLength) {
|
|
2203
2205
|
return new WsCoordinates(line, position, idxAndLength);
|
|
2204
2206
|
};
|
|
2205
2207
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
2206
2208
|
line = line === VOID ? this.line : line;
|
|
2207
2209
|
position = position === VOID ? this.position : position;
|
|
2208
2210
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
2209
|
-
return this.
|
|
2211
|
+
return this.t2i(line, position, idxAndLength);
|
|
2210
2212
|
};
|
|
2211
2213
|
protoOf(WsCoordinates).toString = function () {
|
|
2212
2214
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
|
|
@@ -2237,7 +2239,7 @@
|
|
|
2237
2239
|
this.idx = idx;
|
|
2238
2240
|
this.length = length;
|
|
2239
2241
|
}
|
|
2240
|
-
protoOf(WsIndex).
|
|
2242
|
+
protoOf(WsIndex).u2i = function () {
|
|
2241
2243
|
return this.idx;
|
|
2242
2244
|
};
|
|
2243
2245
|
protoOf(WsIndex).a = function () {
|
|
@@ -2249,13 +2251,13 @@
|
|
|
2249
2251
|
protoOf(WsIndex).pd = function () {
|
|
2250
2252
|
return this.length;
|
|
2251
2253
|
};
|
|
2252
|
-
protoOf(WsIndex).
|
|
2254
|
+
protoOf(WsIndex).v2i = function (idx, length) {
|
|
2253
2255
|
return new WsIndex(idx, length);
|
|
2254
2256
|
};
|
|
2255
2257
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
2256
2258
|
idx = idx === VOID ? this.idx : idx;
|
|
2257
2259
|
length = length === VOID ? this.length : length;
|
|
2258
|
-
return this.
|
|
2260
|
+
return this.v2i(idx, length);
|
|
2259
2261
|
};
|
|
2260
2262
|
protoOf(WsIndex).toString = function () {
|
|
2261
2263
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2278,13 +2280,13 @@
|
|
|
2278
2280
|
return true;
|
|
2279
2281
|
};
|
|
2280
2282
|
function produce_17(_this__u8e3s4) {
|
|
2281
|
-
return new WsToken(_this__u8e3s4.
|
|
2283
|
+
return new WsToken(_this__u8e3s4.e2c_1.g2c(), _this__u8e3s4.d2c_1, produce_18(_this__u8e3s4.f2c_1));
|
|
2282
2284
|
}
|
|
2283
2285
|
function produce_18(_this__u8e3s4) {
|
|
2284
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
2286
|
+
return new WsCoordinates(_this__u8e3s4.h2c_1, _this__u8e3s4.i2c_1, produce_19(_this__u8e3s4.j2c_1));
|
|
2285
2287
|
}
|
|
2286
2288
|
function produce_19(_this__u8e3s4) {
|
|
2287
|
-
return new WsIndex(_this__u8e3s4.
|
|
2289
|
+
return new WsIndex(_this__u8e3s4.u2d_1, _this__u8e3s4.v2d_1);
|
|
2288
2290
|
}
|
|
2289
2291
|
function WsError(line, position, index, length, value) {
|
|
2290
2292
|
this.line = line;
|
|
@@ -2293,13 +2295,13 @@
|
|
|
2293
2295
|
this.length = length;
|
|
2294
2296
|
this.value = value;
|
|
2295
2297
|
}
|
|
2296
|
-
protoOf(WsError).
|
|
2298
|
+
protoOf(WsError).q2i = function () {
|
|
2297
2299
|
return this.line;
|
|
2298
2300
|
};
|
|
2299
|
-
protoOf(WsError).
|
|
2301
|
+
protoOf(WsError).r2i = function () {
|
|
2300
2302
|
return this.position;
|
|
2301
2303
|
};
|
|
2302
|
-
protoOf(WsError).
|
|
2304
|
+
protoOf(WsError).w2i = function () {
|
|
2303
2305
|
return this.index;
|
|
2304
2306
|
};
|
|
2305
2307
|
protoOf(WsError).a = function () {
|
|
@@ -2317,13 +2319,13 @@
|
|
|
2317
2319
|
protoOf(WsError).ph = function () {
|
|
2318
2320
|
return this.index;
|
|
2319
2321
|
};
|
|
2320
|
-
protoOf(WsError).
|
|
2322
|
+
protoOf(WsError).u2g = function () {
|
|
2321
2323
|
return this.length;
|
|
2322
2324
|
};
|
|
2323
|
-
protoOf(WsError).
|
|
2325
|
+
protoOf(WsError).v2g = function () {
|
|
2324
2326
|
return this.value;
|
|
2325
2327
|
};
|
|
2326
|
-
protoOf(WsError).
|
|
2328
|
+
protoOf(WsError).x2i = function (line, position, index, length, value) {
|
|
2327
2329
|
return new WsError(line, position, index, length, value);
|
|
2328
2330
|
};
|
|
2329
2331
|
protoOf(WsError).copy = function (line, position, index, length, value, $super) {
|
|
@@ -2332,7 +2334,7 @@
|
|
|
2332
2334
|
index = index === VOID ? this.index : index;
|
|
2333
2335
|
length = length === VOID ? this.length : length;
|
|
2334
2336
|
value = value === VOID ? this.value : value;
|
|
2335
|
-
return this.
|
|
2337
|
+
return this.x2i(line, position, index, length, value);
|
|
2336
2338
|
};
|
|
2337
2339
|
protoOf(WsError).toString = function () {
|
|
2338
2340
|
return 'WsError(line=' + this.line + ', position=' + this.position + ', index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2364,54 +2366,54 @@
|
|
|
2364
2366
|
return true;
|
|
2365
2367
|
};
|
|
2366
2368
|
function produce_20(_this__u8e3s4) {
|
|
2367
|
-
var tmp = _this__u8e3s4.
|
|
2369
|
+
var tmp = _this__u8e3s4.k2c_1.j2c_1.u2d_1 - _this__u8e3s4.k2c_1.j2c_1.v2d_1 | 0;
|
|
2368
2370
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2369
|
-
return new WsError(_this__u8e3s4.
|
|
2371
|
+
return new WsError(_this__u8e3s4.k2c_1.h2c_1, _this__u8e3s4.k2c_1.i2c_1, tmp, _this__u8e3s4.k2c_1.j2c_1.v2d_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2370
2372
|
}
|
|
2371
2373
|
//region block: post-declaration
|
|
2372
2374
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
2373
|
-
return this.
|
|
2375
|
+
return this.g2d();
|
|
2374
2376
|
});
|
|
2375
2377
|
defineProp(protoOf(WsEndpoint), 'identifier', function () {
|
|
2376
|
-
return this.
|
|
2378
|
+
return this.g2d();
|
|
2377
2379
|
});
|
|
2378
2380
|
defineProp(protoOf(WsEnum), 'identifier', function () {
|
|
2379
|
-
return this.
|
|
2381
|
+
return this.g2d();
|
|
2380
2382
|
});
|
|
2381
2383
|
defineProp(protoOf(WsUnion), 'identifier', function () {
|
|
2382
|
-
return this.
|
|
2384
|
+
return this.g2d();
|
|
2383
2385
|
});
|
|
2384
2386
|
defineProp(protoOf(WsChannel), 'identifier', function () {
|
|
2385
|
-
return this.
|
|
2387
|
+
return this.g2d();
|
|
2386
2388
|
});
|
|
2387
2389
|
defineProp(protoOf(WsRefined), 'identifier', function () {
|
|
2388
|
-
return this.
|
|
2390
|
+
return this.g2d();
|
|
2389
2391
|
});
|
|
2390
2392
|
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).r2);
|
|
2391
2393
|
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).s2);
|
|
2392
2394
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
2393
|
-
return this.
|
|
2395
|
+
return this.z22();
|
|
2394
2396
|
});
|
|
2395
2397
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2396
|
-
return this.
|
|
2398
|
+
return this.q2h();
|
|
2397
2399
|
});
|
|
2398
2400
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2399
|
-
return this.
|
|
2401
|
+
return this.z22();
|
|
2400
2402
|
});
|
|
2401
2403
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2402
|
-
return this.
|
|
2404
|
+
return this.q2h();
|
|
2403
2405
|
});
|
|
2404
2406
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2405
|
-
return this.
|
|
2407
|
+
return this.z22();
|
|
2406
2408
|
});
|
|
2407
2409
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2408
|
-
return this.
|
|
2410
|
+
return this.q2h();
|
|
2409
2411
|
});
|
|
2410
2412
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2411
|
-
return this.
|
|
2413
|
+
return this.z22();
|
|
2412
2414
|
});
|
|
2413
2415
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2414
|
-
return this.
|
|
2416
|
+
return this.q2h();
|
|
2415
2417
|
});
|
|
2416
2418
|
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).r2);
|
|
2417
2419
|
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).s2);
|