@flock/wirespec 0.9.25 → 0.9.27
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 +12 -12
- package/arrow-arrow-core.js +124 -123
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1836 -1867
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +809 -544
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2144 -2002
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +5008 -5008
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +1879 -1879
- package/{kotlinx-serialization-kotlinx-serialization-core-js-ir.js → kotlinx-serialization-kotlinx-serialization-core.js} +2202 -2130
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5122 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/markdown.js +2123 -2017
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +8910 -8389
- package/mordant-mordant.js.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2069 -2069
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +469 -818
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +603 -603
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +94 -94
- package/wirespec-src-plugin-cli.js +164 -164
- package/wirespec-src-plugin-npm.d.ts +28 -69
- package/wirespec-src-plugin-npm.js +126 -50
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +36 -36
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -4583
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './wirespec-src-compiler-core.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './wirespec-src-compiler-core.js', './arrow-arrow-core.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./wirespec-src-compiler-core.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./wirespec-src-compiler-core.js'), require('./arrow-arrow-core.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
@@ -10,40 +10,37 @@
|
|
|
10
10
|
if (typeof this['wirespec-src-compiler-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'wirespec-src-compiler-core' was not found. Please, check whether 'wirespec-src-compiler-core' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof this['wirespec-src-converter-openapi'] === 'undefined') {
|
|
14
|
-
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'wirespec-src-converter-openapi' was not found. Please, check whether 'wirespec-src-converter-openapi' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
15
|
-
}
|
|
16
13
|
if (typeof this['arrow-arrow-core'] === 'undefined') {
|
|
17
14
|
throw new Error("Error loading module 'wirespec-src-compiler-lib'. Its dependency 'arrow-arrow-core' was not found. Please, check whether 'arrow-arrow-core' is loaded prior to 'wirespec-src-compiler-lib'.");
|
|
18
15
|
}
|
|
19
|
-
root['wirespec-src-compiler-lib'] = factory(typeof this['wirespec-src-compiler-lib'] === 'undefined' ? {} : this['wirespec-src-compiler-lib'], this['kotlin-kotlin-stdlib'], this['wirespec-src-compiler-core'], this['
|
|
16
|
+
root['wirespec-src-compiler-lib'] = factory(typeof this['wirespec-src-compiler-lib'] === 'undefined' ? {} : this['wirespec-src-compiler-lib'], this['kotlin-kotlin-stdlib'], this['wirespec-src-compiler-core'], this['arrow-arrow-core']);
|
|
20
17
|
}
|
|
21
|
-
}(globalThis, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core,
|
|
18
|
+
}(globalThis, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core, kotlin_io_arrow_kt_arrow_core) {
|
|
22
19
|
'use strict';
|
|
23
20
|
//region block: imports
|
|
24
21
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.ua;
|
|
26
23
|
var initMetadataForInterface = kotlin_kotlin.$_$.x9;
|
|
27
24
|
var VOID = kotlin_kotlin.$_$.g;
|
|
28
25
|
var getStringHashCode = kotlin_kotlin.$_$.s9;
|
|
29
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.ff;
|
|
30
27
|
var defineProp = kotlin_kotlin.$_$.m9;
|
|
31
28
|
var initMetadataForClass = kotlin_kotlin.$_$.u9;
|
|
32
|
-
var toString = kotlin_kotlin.$_$.
|
|
29
|
+
var toString = kotlin_kotlin.$_$.ya;
|
|
33
30
|
var hashCode = kotlin_kotlin.$_$.t9;
|
|
34
31
|
var equals = kotlin_kotlin.$_$.n9;
|
|
35
32
|
var getBooleanHashCode = kotlin_kotlin.$_$.p9;
|
|
36
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
37
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
40
|
-
var
|
|
41
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
42
|
-
var copyToArray = kotlin_kotlin.$_$.v5;
|
|
43
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.vf;
|
|
33
|
+
var THROW_IAE = kotlin_kotlin.$_$.gf;
|
|
34
|
+
var Unit_instance = kotlin_kotlin.$_$.g4;
|
|
35
|
+
var Enum = kotlin_kotlin.$_$.ve;
|
|
36
|
+
var toString_0 = kotlin_kotlin.$_$.dg;
|
|
37
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bg;
|
|
44
38
|
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.v1;
|
|
45
39
|
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.h;
|
|
46
40
|
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
41
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
42
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
43
|
+
var copyToArray = kotlin_kotlin.$_$.w5;
|
|
47
44
|
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
48
45
|
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.y;
|
|
49
46
|
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
@@ -77,25 +74,11 @@
|
|
|
77
74
|
var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
|
|
78
75
|
var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
|
|
79
76
|
var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var
|
|
83
|
-
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
84
|
-
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.w;
|
|
85
|
-
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
|
|
86
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.v9;
|
|
87
|
-
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
|
|
88
|
-
var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
|
|
89
|
-
var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.b;
|
|
90
|
-
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
|
|
91
|
-
var OpenApiV2Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
92
|
-
var initMetadataForObject = kotlin_kotlin.$_$.z9;
|
|
93
|
-
var OpenApiV3Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
|
|
94
|
-
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
95
|
-
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
96
|
-
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
77
|
+
var Right = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
78
|
+
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.f;
|
|
79
|
+
var Left = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
97
80
|
var contentEquals = kotlin_kotlin.$_$.j5;
|
|
98
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
81
|
+
var contentHashCode = kotlin_kotlin.$_$.l5;
|
|
99
82
|
//endregion
|
|
100
83
|
//region block: pre-declaration
|
|
101
84
|
initMetadataForInterface(WsNode, 'WsNode');
|
|
@@ -122,23 +105,6 @@
|
|
|
122
105
|
initMetadataForClass(WsRequest, 'WsRequest');
|
|
123
106
|
initMetadataForClass(WsResponse, 'WsResponse');
|
|
124
107
|
initMetadataForClass(WsContent, 'WsContent');
|
|
125
|
-
initMetadataForClass(Compiler, 'Compiler');
|
|
126
|
-
initMetadataForCompanion(Companion);
|
|
127
|
-
initMetadataForClass(WsToKotlin, 'WsToKotlin', WsToKotlin, Compiler);
|
|
128
|
-
initMetadataForCompanion(Companion_0);
|
|
129
|
-
initMetadataForClass(WsToTypeScript, 'WsToTypeScript', WsToTypeScript, Compiler);
|
|
130
|
-
initMetadataForCompanion(Companion_1);
|
|
131
|
-
initMetadataForClass(WsToScala, 'WsToScala', WsToScala, Compiler);
|
|
132
|
-
initMetadataForCompanion(Companion_2);
|
|
133
|
-
initMetadataForClass(WsToJava, 'WsToJava', WsToJava, Compiler);
|
|
134
|
-
initMetadataForCompanion(Companion_3);
|
|
135
|
-
initMetadataForClass(WsToWirespec, 'WsToWirespec', WsToWirespec, Compiler);
|
|
136
|
-
initMetadataForObject(OpenApiV2Parser, 'OpenApiV2Parser');
|
|
137
|
-
initMetadataForObject(OpenApiV2ToTypescript, 'OpenApiV2ToTypescript');
|
|
138
|
-
initMetadataForObject(OpenApiV2ToWirespec, 'OpenApiV2ToWirespec');
|
|
139
|
-
initMetadataForObject(OpenApiV3Parser, 'OpenApiV3Parser');
|
|
140
|
-
initMetadataForObject(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript');
|
|
141
|
-
initMetadataForObject(OpenApiV3ToWirespec, 'OpenApiV3ToWirespec');
|
|
142
108
|
initMetadataForClass(WsCompilationResult, 'WsCompilationResult', WsCompilationResult);
|
|
143
109
|
initMetadataForClass(WsCompiled, 'WsCompiled');
|
|
144
110
|
initMetadataForClass(WsCompiledFile, 'WsCompiledFile');
|
|
@@ -155,42 +121,42 @@
|
|
|
155
121
|
function WsNode() {
|
|
156
122
|
}
|
|
157
123
|
function WsType(identifier, comment, shape) {
|
|
158
|
-
this.
|
|
124
|
+
this.n2f_1 = identifier;
|
|
159
125
|
this.comment = comment;
|
|
160
126
|
this.shape = shape;
|
|
161
127
|
}
|
|
162
|
-
protoOf(WsType).
|
|
163
|
-
return this.
|
|
128
|
+
protoOf(WsType).q2c = function () {
|
|
129
|
+
return this.n2f_1;
|
|
164
130
|
};
|
|
165
|
-
protoOf(WsType).
|
|
131
|
+
protoOf(WsType).o2f = function () {
|
|
166
132
|
return this.comment;
|
|
167
133
|
};
|
|
168
|
-
protoOf(WsType).
|
|
134
|
+
protoOf(WsType).p2f = function () {
|
|
169
135
|
return this.shape;
|
|
170
136
|
};
|
|
171
|
-
protoOf(WsType).nd = function () {
|
|
172
|
-
return this.e2e_1;
|
|
173
|
-
};
|
|
174
137
|
protoOf(WsType).od = function () {
|
|
138
|
+
return this.n2f_1;
|
|
139
|
+
};
|
|
140
|
+
protoOf(WsType).pd = function () {
|
|
175
141
|
return this.comment;
|
|
176
142
|
};
|
|
177
|
-
protoOf(WsType).
|
|
143
|
+
protoOf(WsType).ph = function () {
|
|
178
144
|
return this.shape;
|
|
179
145
|
};
|
|
180
|
-
protoOf(WsType).
|
|
146
|
+
protoOf(WsType).q2f = function (identifier, comment, shape) {
|
|
181
147
|
return new WsType(identifier, comment, shape);
|
|
182
148
|
};
|
|
183
149
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
184
|
-
identifier = identifier === VOID ? this.
|
|
150
|
+
identifier = identifier === VOID ? this.n2f_1 : identifier;
|
|
185
151
|
comment = comment === VOID ? this.comment : comment;
|
|
186
152
|
shape = shape === VOID ? this.shape : shape;
|
|
187
|
-
return this.
|
|
153
|
+
return this.q2f(identifier, comment, shape);
|
|
188
154
|
};
|
|
189
155
|
protoOf(WsType).toString = function () {
|
|
190
|
-
return 'WsType(identifier=' + this.
|
|
156
|
+
return 'WsType(identifier=' + this.n2f_1 + ', comment=' + this.comment + ', shape=' + this.shape.toString() + ')';
|
|
191
157
|
};
|
|
192
158
|
protoOf(WsType).hashCode = function () {
|
|
193
|
-
var result = getStringHashCode(this.
|
|
159
|
+
var result = getStringHashCode(this.n2f_1);
|
|
194
160
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
195
161
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
196
162
|
return result;
|
|
@@ -201,7 +167,7 @@
|
|
|
201
167
|
if (!(other instanceof WsType))
|
|
202
168
|
return false;
|
|
203
169
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
204
|
-
if (!(this.
|
|
170
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
205
171
|
return false;
|
|
206
172
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
207
173
|
return false;
|
|
@@ -215,15 +181,15 @@
|
|
|
215
181
|
protoOf(WsShape).b1 = function () {
|
|
216
182
|
return this.value;
|
|
217
183
|
};
|
|
218
|
-
protoOf(WsShape).
|
|
184
|
+
protoOf(WsShape).od = function () {
|
|
219
185
|
return this.value;
|
|
220
186
|
};
|
|
221
|
-
protoOf(WsShape).
|
|
187
|
+
protoOf(WsShape).r2f = function (value) {
|
|
222
188
|
return new WsShape(value);
|
|
223
189
|
};
|
|
224
190
|
protoOf(WsShape).copy = function (value, $super) {
|
|
225
191
|
value = value === VOID ? this.value : value;
|
|
226
|
-
return this.
|
|
192
|
+
return this.r2f(value);
|
|
227
193
|
};
|
|
228
194
|
protoOf(WsShape).toString = function () {
|
|
229
195
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -242,7 +208,7 @@
|
|
|
242
208
|
return true;
|
|
243
209
|
};
|
|
244
210
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
245
|
-
this.
|
|
211
|
+
this.s2f_1 = identifier;
|
|
246
212
|
this.comment = comment;
|
|
247
213
|
this.method = method;
|
|
248
214
|
this.path = path;
|
|
@@ -252,65 +218,65 @@
|
|
|
252
218
|
this.requests = requests;
|
|
253
219
|
this.responses = responses;
|
|
254
220
|
}
|
|
255
|
-
protoOf(WsEndpoint).
|
|
256
|
-
return this.
|
|
221
|
+
protoOf(WsEndpoint).q2c = function () {
|
|
222
|
+
return this.s2f_1;
|
|
257
223
|
};
|
|
258
|
-
protoOf(WsEndpoint).
|
|
224
|
+
protoOf(WsEndpoint).o2f = function () {
|
|
259
225
|
return this.comment;
|
|
260
226
|
};
|
|
261
|
-
protoOf(WsEndpoint).
|
|
227
|
+
protoOf(WsEndpoint).t2f = function () {
|
|
262
228
|
return this.method;
|
|
263
229
|
};
|
|
264
|
-
protoOf(WsEndpoint).
|
|
230
|
+
protoOf(WsEndpoint).u2f = function () {
|
|
265
231
|
return this.path;
|
|
266
232
|
};
|
|
267
|
-
protoOf(WsEndpoint).
|
|
233
|
+
protoOf(WsEndpoint).v2f = function () {
|
|
268
234
|
return this.query;
|
|
269
235
|
};
|
|
270
|
-
protoOf(WsEndpoint).
|
|
236
|
+
protoOf(WsEndpoint).w2f = function () {
|
|
271
237
|
return this.headers;
|
|
272
238
|
};
|
|
273
|
-
protoOf(WsEndpoint).
|
|
239
|
+
protoOf(WsEndpoint).x2f = function () {
|
|
274
240
|
return this.cookies;
|
|
275
241
|
};
|
|
276
|
-
protoOf(WsEndpoint).
|
|
242
|
+
protoOf(WsEndpoint).y2f = function () {
|
|
277
243
|
return this.requests;
|
|
278
244
|
};
|
|
279
|
-
protoOf(WsEndpoint).
|
|
245
|
+
protoOf(WsEndpoint).z2f = function () {
|
|
280
246
|
return this.responses;
|
|
281
247
|
};
|
|
282
|
-
protoOf(WsEndpoint).nd = function () {
|
|
283
|
-
return this.j2e_1;
|
|
284
|
-
};
|
|
285
248
|
protoOf(WsEndpoint).od = function () {
|
|
249
|
+
return this.s2f_1;
|
|
250
|
+
};
|
|
251
|
+
protoOf(WsEndpoint).pd = function () {
|
|
286
252
|
return this.comment;
|
|
287
253
|
};
|
|
288
|
-
protoOf(WsEndpoint).
|
|
254
|
+
protoOf(WsEndpoint).ph = function () {
|
|
289
255
|
return this.method;
|
|
290
256
|
};
|
|
291
|
-
protoOf(WsEndpoint).
|
|
257
|
+
protoOf(WsEndpoint).a2g = function () {
|
|
292
258
|
return this.path;
|
|
293
259
|
};
|
|
294
|
-
protoOf(WsEndpoint).
|
|
260
|
+
protoOf(WsEndpoint).b2g = function () {
|
|
295
261
|
return this.query;
|
|
296
262
|
};
|
|
297
|
-
protoOf(WsEndpoint).
|
|
263
|
+
protoOf(WsEndpoint).c2g = function () {
|
|
298
264
|
return this.headers;
|
|
299
265
|
};
|
|
300
|
-
protoOf(WsEndpoint).
|
|
266
|
+
protoOf(WsEndpoint).d2g = function () {
|
|
301
267
|
return this.cookies;
|
|
302
268
|
};
|
|
303
|
-
protoOf(WsEndpoint).
|
|
269
|
+
protoOf(WsEndpoint).e2g = function () {
|
|
304
270
|
return this.requests;
|
|
305
271
|
};
|
|
306
|
-
protoOf(WsEndpoint).
|
|
272
|
+
protoOf(WsEndpoint).f2g = function () {
|
|
307
273
|
return this.responses;
|
|
308
274
|
};
|
|
309
|
-
protoOf(WsEndpoint).
|
|
275
|
+
protoOf(WsEndpoint).g2g = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
310
276
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
311
277
|
};
|
|
312
278
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
313
|
-
identifier = identifier === VOID ? this.
|
|
279
|
+
identifier = identifier === VOID ? this.s2f_1 : identifier;
|
|
314
280
|
comment = comment === VOID ? this.comment : comment;
|
|
315
281
|
method = method === VOID ? this.method : method;
|
|
316
282
|
path = path === VOID ? this.path : path;
|
|
@@ -319,13 +285,13 @@
|
|
|
319
285
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
320
286
|
requests = requests === VOID ? this.requests : requests;
|
|
321
287
|
responses = responses === VOID ? this.responses : responses;
|
|
322
|
-
return this.
|
|
288
|
+
return this.g2g(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
323
289
|
};
|
|
324
290
|
protoOf(WsEndpoint).toString = function () {
|
|
325
|
-
return 'WsEndpoint(identifier=' + this.
|
|
291
|
+
return 'WsEndpoint(identifier=' + this.s2f_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) + ')';
|
|
326
292
|
};
|
|
327
293
|
protoOf(WsEndpoint).hashCode = function () {
|
|
328
|
-
var result = getStringHashCode(this.
|
|
294
|
+
var result = getStringHashCode(this.s2f_1);
|
|
329
295
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
330
296
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
331
297
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -342,7 +308,7 @@
|
|
|
342
308
|
if (!(other instanceof WsEndpoint))
|
|
343
309
|
return false;
|
|
344
310
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
345
|
-
if (!(this.
|
|
311
|
+
if (!(this.s2f_1 === tmp0_other_with_cast.s2f_1))
|
|
346
312
|
return false;
|
|
347
313
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
348
314
|
return false;
|
|
@@ -363,42 +329,42 @@
|
|
|
363
329
|
return true;
|
|
364
330
|
};
|
|
365
331
|
function WsEnum(identifier, comment, entries) {
|
|
366
|
-
this.
|
|
332
|
+
this.h2g_1 = identifier;
|
|
367
333
|
this.comment = comment;
|
|
368
334
|
this.entries = entries;
|
|
369
335
|
}
|
|
370
|
-
protoOf(WsEnum).
|
|
371
|
-
return this.
|
|
336
|
+
protoOf(WsEnum).q2c = function () {
|
|
337
|
+
return this.h2g_1;
|
|
372
338
|
};
|
|
373
|
-
protoOf(WsEnum).
|
|
339
|
+
protoOf(WsEnum).o2f = function () {
|
|
374
340
|
return this.comment;
|
|
375
341
|
};
|
|
376
342
|
protoOf(WsEnum).z = function () {
|
|
377
343
|
return this.entries;
|
|
378
344
|
};
|
|
379
|
-
protoOf(WsEnum).nd = function () {
|
|
380
|
-
return this.y2e_1;
|
|
381
|
-
};
|
|
382
345
|
protoOf(WsEnum).od = function () {
|
|
346
|
+
return this.h2g_1;
|
|
347
|
+
};
|
|
348
|
+
protoOf(WsEnum).pd = function () {
|
|
383
349
|
return this.comment;
|
|
384
350
|
};
|
|
385
|
-
protoOf(WsEnum).
|
|
351
|
+
protoOf(WsEnum).ph = function () {
|
|
386
352
|
return this.entries;
|
|
387
353
|
};
|
|
388
|
-
protoOf(WsEnum).
|
|
354
|
+
protoOf(WsEnum).i2g = function (identifier, comment, entries) {
|
|
389
355
|
return new WsEnum(identifier, comment, entries);
|
|
390
356
|
};
|
|
391
357
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
392
|
-
identifier = identifier === VOID ? this.
|
|
358
|
+
identifier = identifier === VOID ? this.h2g_1 : identifier;
|
|
393
359
|
comment = comment === VOID ? this.comment : comment;
|
|
394
360
|
entries = entries === VOID ? this.entries : entries;
|
|
395
|
-
return this.
|
|
361
|
+
return this.i2g(identifier, comment, entries);
|
|
396
362
|
};
|
|
397
363
|
protoOf(WsEnum).toString = function () {
|
|
398
|
-
return 'WsEnum(identifier=' + this.
|
|
364
|
+
return 'WsEnum(identifier=' + this.h2g_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
399
365
|
};
|
|
400
366
|
protoOf(WsEnum).hashCode = function () {
|
|
401
|
-
var result = getStringHashCode(this.
|
|
367
|
+
var result = getStringHashCode(this.h2g_1);
|
|
402
368
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
403
369
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
404
370
|
return result;
|
|
@@ -409,7 +375,7 @@
|
|
|
409
375
|
if (!(other instanceof WsEnum))
|
|
410
376
|
return false;
|
|
411
377
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
412
|
-
if (!(this.
|
|
378
|
+
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
413
379
|
return false;
|
|
414
380
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
415
381
|
return false;
|
|
@@ -418,42 +384,42 @@
|
|
|
418
384
|
return true;
|
|
419
385
|
};
|
|
420
386
|
function WsUnion(identifier, comment, entries) {
|
|
421
|
-
this.
|
|
387
|
+
this.j2g_1 = identifier;
|
|
422
388
|
this.comment = comment;
|
|
423
389
|
this.entries = entries;
|
|
424
390
|
}
|
|
425
|
-
protoOf(WsUnion).
|
|
426
|
-
return this.
|
|
391
|
+
protoOf(WsUnion).q2c = function () {
|
|
392
|
+
return this.j2g_1;
|
|
427
393
|
};
|
|
428
|
-
protoOf(WsUnion).
|
|
394
|
+
protoOf(WsUnion).o2f = function () {
|
|
429
395
|
return this.comment;
|
|
430
396
|
};
|
|
431
397
|
protoOf(WsUnion).z = function () {
|
|
432
398
|
return this.entries;
|
|
433
399
|
};
|
|
434
|
-
protoOf(WsUnion).nd = function () {
|
|
435
|
-
return this.a2f_1;
|
|
436
|
-
};
|
|
437
400
|
protoOf(WsUnion).od = function () {
|
|
401
|
+
return this.j2g_1;
|
|
402
|
+
};
|
|
403
|
+
protoOf(WsUnion).pd = function () {
|
|
438
404
|
return this.comment;
|
|
439
405
|
};
|
|
440
|
-
protoOf(WsUnion).
|
|
406
|
+
protoOf(WsUnion).ph = function () {
|
|
441
407
|
return this.entries;
|
|
442
408
|
};
|
|
443
|
-
protoOf(WsUnion).
|
|
409
|
+
protoOf(WsUnion).k2g = function (identifier, comment, entries) {
|
|
444
410
|
return new WsUnion(identifier, comment, entries);
|
|
445
411
|
};
|
|
446
412
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
447
|
-
identifier = identifier === VOID ? this.
|
|
413
|
+
identifier = identifier === VOID ? this.j2g_1 : identifier;
|
|
448
414
|
comment = comment === VOID ? this.comment : comment;
|
|
449
415
|
entries = entries === VOID ? this.entries : entries;
|
|
450
|
-
return this.
|
|
416
|
+
return this.k2g(identifier, comment, entries);
|
|
451
417
|
};
|
|
452
418
|
protoOf(WsUnion).toString = function () {
|
|
453
|
-
return 'WsUnion(identifier=' + this.
|
|
419
|
+
return 'WsUnion(identifier=' + this.j2g_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
454
420
|
};
|
|
455
421
|
protoOf(WsUnion).hashCode = function () {
|
|
456
|
-
var result = getStringHashCode(this.
|
|
422
|
+
var result = getStringHashCode(this.j2g_1);
|
|
457
423
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
458
424
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
459
425
|
return result;
|
|
@@ -464,7 +430,7 @@
|
|
|
464
430
|
if (!(other instanceof WsUnion))
|
|
465
431
|
return false;
|
|
466
432
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
467
|
-
if (!(this.
|
|
433
|
+
if (!(this.j2g_1 === tmp0_other_with_cast.j2g_1))
|
|
468
434
|
return false;
|
|
469
435
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
470
436
|
return false;
|
|
@@ -473,50 +439,50 @@
|
|
|
473
439
|
return true;
|
|
474
440
|
};
|
|
475
441
|
function WsChannel(identifier, comment, reference, isNullable) {
|
|
476
|
-
this.
|
|
442
|
+
this.l2g_1 = identifier;
|
|
477
443
|
this.comment = comment;
|
|
478
444
|
this.reference = reference;
|
|
479
445
|
this.isNullable = isNullable;
|
|
480
446
|
}
|
|
481
|
-
protoOf(WsChannel).
|
|
482
|
-
return this.
|
|
447
|
+
protoOf(WsChannel).q2c = function () {
|
|
448
|
+
return this.l2g_1;
|
|
483
449
|
};
|
|
484
|
-
protoOf(WsChannel).
|
|
450
|
+
protoOf(WsChannel).o2f = function () {
|
|
485
451
|
return this.comment;
|
|
486
452
|
};
|
|
487
|
-
protoOf(WsChannel).
|
|
453
|
+
protoOf(WsChannel).m2g = function () {
|
|
488
454
|
return this.reference;
|
|
489
455
|
};
|
|
490
|
-
protoOf(WsChannel).
|
|
456
|
+
protoOf(WsChannel).vl = function () {
|
|
491
457
|
return this.isNullable;
|
|
492
458
|
};
|
|
493
|
-
protoOf(WsChannel).nd = function () {
|
|
494
|
-
return this.c2f_1;
|
|
495
|
-
};
|
|
496
459
|
protoOf(WsChannel).od = function () {
|
|
460
|
+
return this.l2g_1;
|
|
461
|
+
};
|
|
462
|
+
protoOf(WsChannel).pd = function () {
|
|
497
463
|
return this.comment;
|
|
498
464
|
};
|
|
499
|
-
protoOf(WsChannel).
|
|
465
|
+
protoOf(WsChannel).ph = function () {
|
|
500
466
|
return this.reference;
|
|
501
467
|
};
|
|
502
|
-
protoOf(WsChannel).
|
|
468
|
+
protoOf(WsChannel).a2g = function () {
|
|
503
469
|
return this.isNullable;
|
|
504
470
|
};
|
|
505
|
-
protoOf(WsChannel).
|
|
471
|
+
protoOf(WsChannel).n2g = function (identifier, comment, reference, isNullable) {
|
|
506
472
|
return new WsChannel(identifier, comment, reference, isNullable);
|
|
507
473
|
};
|
|
508
474
|
protoOf(WsChannel).copy = function (identifier, comment, reference, isNullable, $super) {
|
|
509
|
-
identifier = identifier === VOID ? this.
|
|
475
|
+
identifier = identifier === VOID ? this.l2g_1 : identifier;
|
|
510
476
|
comment = comment === VOID ? this.comment : comment;
|
|
511
477
|
reference = reference === VOID ? this.reference : reference;
|
|
512
478
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
513
|
-
return this.
|
|
479
|
+
return this.n2g(identifier, comment, reference, isNullable);
|
|
514
480
|
};
|
|
515
481
|
protoOf(WsChannel).toString = function () {
|
|
516
|
-
return 'WsChannel(identifier=' + this.
|
|
482
|
+
return 'WsChannel(identifier=' + this.l2g_1 + ', comment=' + this.comment + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
517
483
|
};
|
|
518
484
|
protoOf(WsChannel).hashCode = function () {
|
|
519
|
-
var result = getStringHashCode(this.
|
|
485
|
+
var result = getStringHashCode(this.l2g_1);
|
|
520
486
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
521
487
|
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
522
488
|
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
@@ -528,7 +494,7 @@
|
|
|
528
494
|
if (!(other instanceof WsChannel))
|
|
529
495
|
return false;
|
|
530
496
|
var tmp0_other_with_cast = other instanceof WsChannel ? other : THROW_CCE();
|
|
531
|
-
if (!(this.
|
|
497
|
+
if (!(this.l2g_1 === tmp0_other_with_cast.l2g_1))
|
|
532
498
|
return false;
|
|
533
499
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
534
500
|
return false;
|
|
@@ -539,42 +505,42 @@
|
|
|
539
505
|
return true;
|
|
540
506
|
};
|
|
541
507
|
function WsRefined(identifier, comment, validator) {
|
|
542
|
-
this.
|
|
508
|
+
this.o2g_1 = identifier;
|
|
543
509
|
this.comment = comment;
|
|
544
510
|
this.validator = validator;
|
|
545
511
|
}
|
|
546
|
-
protoOf(WsRefined).
|
|
547
|
-
return this.
|
|
512
|
+
protoOf(WsRefined).q2c = function () {
|
|
513
|
+
return this.o2g_1;
|
|
548
514
|
};
|
|
549
|
-
protoOf(WsRefined).
|
|
515
|
+
protoOf(WsRefined).o2f = function () {
|
|
550
516
|
return this.comment;
|
|
551
517
|
};
|
|
552
|
-
protoOf(WsRefined).
|
|
518
|
+
protoOf(WsRefined).p2g = function () {
|
|
553
519
|
return this.validator;
|
|
554
520
|
};
|
|
555
|
-
protoOf(WsRefined).nd = function () {
|
|
556
|
-
return this.f2f_1;
|
|
557
|
-
};
|
|
558
521
|
protoOf(WsRefined).od = function () {
|
|
522
|
+
return this.o2g_1;
|
|
523
|
+
};
|
|
524
|
+
protoOf(WsRefined).pd = function () {
|
|
559
525
|
return this.comment;
|
|
560
526
|
};
|
|
561
|
-
protoOf(WsRefined).
|
|
527
|
+
protoOf(WsRefined).ph = function () {
|
|
562
528
|
return this.validator;
|
|
563
529
|
};
|
|
564
|
-
protoOf(WsRefined).
|
|
530
|
+
protoOf(WsRefined).q2g = function (identifier, comment, validator) {
|
|
565
531
|
return new WsRefined(identifier, comment, validator);
|
|
566
532
|
};
|
|
567
533
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
568
|
-
identifier = identifier === VOID ? this.
|
|
534
|
+
identifier = identifier === VOID ? this.o2g_1 : identifier;
|
|
569
535
|
comment = comment === VOID ? this.comment : comment;
|
|
570
536
|
validator = validator === VOID ? this.validator : validator;
|
|
571
|
-
return this.
|
|
537
|
+
return this.q2g(identifier, comment, validator);
|
|
572
538
|
};
|
|
573
539
|
protoOf(WsRefined).toString = function () {
|
|
574
|
-
return 'WsRefined(identifier=' + this.
|
|
540
|
+
return 'WsRefined(identifier=' + this.o2g_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
575
541
|
};
|
|
576
542
|
protoOf(WsRefined).hashCode = function () {
|
|
577
|
-
var result = getStringHashCode(this.
|
|
543
|
+
var result = getStringHashCode(this.o2g_1);
|
|
578
544
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
579
545
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
580
546
|
return result;
|
|
@@ -585,7 +551,7 @@
|
|
|
585
551
|
if (!(other instanceof WsRefined))
|
|
586
552
|
return false;
|
|
587
553
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
588
|
-
if (!(this.
|
|
554
|
+
if (!(this.o2g_1 === tmp0_other_with_cast.o2g_1))
|
|
589
555
|
return false;
|
|
590
556
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
591
557
|
return false;
|
|
@@ -653,15 +619,15 @@
|
|
|
653
619
|
protoOf(WsLiteral).b1 = function () {
|
|
654
620
|
return this.value;
|
|
655
621
|
};
|
|
656
|
-
protoOf(WsLiteral).
|
|
622
|
+
protoOf(WsLiteral).od = function () {
|
|
657
623
|
return this.value;
|
|
658
624
|
};
|
|
659
|
-
protoOf(WsLiteral).
|
|
625
|
+
protoOf(WsLiteral).t2g = function (value) {
|
|
660
626
|
return new WsLiteral(value);
|
|
661
627
|
};
|
|
662
628
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
663
629
|
value = value === VOID ? this.value : value;
|
|
664
|
-
return this.
|
|
630
|
+
return this.t2g(value);
|
|
665
631
|
};
|
|
666
632
|
protoOf(WsLiteral).toString = function () {
|
|
667
633
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -683,25 +649,25 @@
|
|
|
683
649
|
this.identifier = identifier;
|
|
684
650
|
this.reference = reference;
|
|
685
651
|
}
|
|
686
|
-
protoOf(WsParam).
|
|
652
|
+
protoOf(WsParam).q2c = function () {
|
|
687
653
|
return this.identifier;
|
|
688
654
|
};
|
|
689
|
-
protoOf(WsParam).
|
|
655
|
+
protoOf(WsParam).m2g = function () {
|
|
690
656
|
return this.reference;
|
|
691
657
|
};
|
|
692
|
-
protoOf(WsParam).
|
|
658
|
+
protoOf(WsParam).od = function () {
|
|
693
659
|
return this.identifier;
|
|
694
660
|
};
|
|
695
|
-
protoOf(WsParam).
|
|
661
|
+
protoOf(WsParam).pd = function () {
|
|
696
662
|
return this.reference;
|
|
697
663
|
};
|
|
698
|
-
protoOf(WsParam).
|
|
664
|
+
protoOf(WsParam).u2g = function (identifier, reference) {
|
|
699
665
|
return new WsParam(identifier, reference);
|
|
700
666
|
};
|
|
701
667
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
702
668
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
703
669
|
reference = reference === VOID ? this.reference : reference;
|
|
704
|
-
return this.
|
|
670
|
+
return this.u2g(identifier, reference);
|
|
705
671
|
};
|
|
706
672
|
protoOf(WsParam).toString = function () {
|
|
707
673
|
return 'WsParam(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ')';
|
|
@@ -729,15 +695,15 @@
|
|
|
729
695
|
protoOf(Shape_0).b1 = function () {
|
|
730
696
|
return this.value;
|
|
731
697
|
};
|
|
732
|
-
protoOf(Shape_0).
|
|
698
|
+
protoOf(Shape_0).od = function () {
|
|
733
699
|
return this.value;
|
|
734
700
|
};
|
|
735
|
-
protoOf(Shape_0).
|
|
701
|
+
protoOf(Shape_0).r2f = function (value) {
|
|
736
702
|
return new Shape_0(value);
|
|
737
703
|
};
|
|
738
704
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
739
705
|
value = value === VOID ? this.value : value;
|
|
740
|
-
return this.
|
|
706
|
+
return this.r2f(value);
|
|
741
707
|
};
|
|
742
708
|
protoOf(Shape_0).toString = function () {
|
|
743
709
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -760,32 +726,32 @@
|
|
|
760
726
|
this.reference = reference;
|
|
761
727
|
this.isNullable = isNullable;
|
|
762
728
|
}
|
|
763
|
-
protoOf(WsField).
|
|
729
|
+
protoOf(WsField).q2c = function () {
|
|
764
730
|
return this.identifier;
|
|
765
731
|
};
|
|
766
|
-
protoOf(WsField).
|
|
732
|
+
protoOf(WsField).m2g = function () {
|
|
767
733
|
return this.reference;
|
|
768
734
|
};
|
|
769
|
-
protoOf(WsField).
|
|
735
|
+
protoOf(WsField).vl = function () {
|
|
770
736
|
return this.isNullable;
|
|
771
737
|
};
|
|
772
|
-
protoOf(WsField).
|
|
738
|
+
protoOf(WsField).od = function () {
|
|
773
739
|
return this.identifier;
|
|
774
740
|
};
|
|
775
|
-
protoOf(WsField).
|
|
741
|
+
protoOf(WsField).pd = function () {
|
|
776
742
|
return this.reference;
|
|
777
743
|
};
|
|
778
|
-
protoOf(WsField).
|
|
744
|
+
protoOf(WsField).ph = function () {
|
|
779
745
|
return this.isNullable;
|
|
780
746
|
};
|
|
781
|
-
protoOf(WsField).
|
|
747
|
+
protoOf(WsField).v2g = function (identifier, reference, isNullable) {
|
|
782
748
|
return new WsField(identifier, reference, isNullable);
|
|
783
749
|
};
|
|
784
750
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
785
751
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
786
752
|
reference = reference === VOID ? this.reference : reference;
|
|
787
753
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
788
|
-
return this.
|
|
754
|
+
return this.v2g(identifier, reference, isNullable);
|
|
789
755
|
};
|
|
790
756
|
protoOf(WsField).toString = function () {
|
|
791
757
|
return 'WsField(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -816,15 +782,15 @@
|
|
|
816
782
|
protoOf(WsIdentifier).b1 = function () {
|
|
817
783
|
return this.value;
|
|
818
784
|
};
|
|
819
|
-
protoOf(WsIdentifier).
|
|
785
|
+
protoOf(WsIdentifier).od = function () {
|
|
820
786
|
return this.value;
|
|
821
787
|
};
|
|
822
|
-
protoOf(WsIdentifier).
|
|
788
|
+
protoOf(WsIdentifier).t2g = function (value) {
|
|
823
789
|
return new WsIdentifier(value);
|
|
824
790
|
};
|
|
825
791
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
826
792
|
value = value === VOID ? this.value : value;
|
|
827
|
-
return this.
|
|
793
|
+
return this.t2g(value);
|
|
828
794
|
};
|
|
829
795
|
protoOf(WsIdentifier).toString = function () {
|
|
830
796
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -846,35 +812,35 @@
|
|
|
846
812
|
}
|
|
847
813
|
function WsAny(isIterable, isMap) {
|
|
848
814
|
isMap = isMap === VOID ? false : isMap;
|
|
849
|
-
this.
|
|
850
|
-
this.
|
|
815
|
+
this.x2g_1 = isIterable;
|
|
816
|
+
this.y2g_1 = isMap;
|
|
851
817
|
}
|
|
852
|
-
protoOf(WsAny).
|
|
853
|
-
return this.
|
|
818
|
+
protoOf(WsAny).x22 = function () {
|
|
819
|
+
return this.x2g_1;
|
|
854
820
|
};
|
|
855
|
-
protoOf(WsAny).
|
|
856
|
-
return this.
|
|
857
|
-
};
|
|
858
|
-
protoOf(WsAny).nd = function () {
|
|
859
|
-
return this.o2f_1;
|
|
821
|
+
protoOf(WsAny).w2g = function () {
|
|
822
|
+
return this.y2g_1;
|
|
860
823
|
};
|
|
861
824
|
protoOf(WsAny).od = function () {
|
|
862
|
-
return this.
|
|
825
|
+
return this.x2g_1;
|
|
826
|
+
};
|
|
827
|
+
protoOf(WsAny).pd = function () {
|
|
828
|
+
return this.y2g_1;
|
|
863
829
|
};
|
|
864
|
-
protoOf(WsAny).
|
|
830
|
+
protoOf(WsAny).s2c = function (isIterable, isMap) {
|
|
865
831
|
return new WsAny(isIterable, isMap);
|
|
866
832
|
};
|
|
867
833
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
868
|
-
isIterable = isIterable === VOID ? this.
|
|
869
|
-
isMap = isMap === VOID ? this.
|
|
870
|
-
return this.
|
|
834
|
+
isIterable = isIterable === VOID ? this.x2g_1 : isIterable;
|
|
835
|
+
isMap = isMap === VOID ? this.y2g_1 : isMap;
|
|
836
|
+
return this.s2c(isIterable, isMap);
|
|
871
837
|
};
|
|
872
838
|
protoOf(WsAny).toString = function () {
|
|
873
|
-
return 'WsAny(isIterable=' + this.
|
|
839
|
+
return 'WsAny(isIterable=' + this.x2g_1 + ', isMap=' + this.y2g_1 + ')';
|
|
874
840
|
};
|
|
875
841
|
protoOf(WsAny).hashCode = function () {
|
|
876
|
-
var result = getBooleanHashCode(this.
|
|
877
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
842
|
+
var result = getBooleanHashCode(this.x2g_1);
|
|
843
|
+
result = imul(result, 31) + getBooleanHashCode(this.y2g_1) | 0;
|
|
878
844
|
return result;
|
|
879
845
|
};
|
|
880
846
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -883,43 +849,43 @@
|
|
|
883
849
|
if (!(other instanceof WsAny))
|
|
884
850
|
return false;
|
|
885
851
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
886
|
-
if (!(this.
|
|
852
|
+
if (!(this.x2g_1 === tmp0_other_with_cast.x2g_1))
|
|
887
853
|
return false;
|
|
888
|
-
if (!(this.
|
|
854
|
+
if (!(this.y2g_1 === tmp0_other_with_cast.y2g_1))
|
|
889
855
|
return false;
|
|
890
856
|
return true;
|
|
891
857
|
};
|
|
892
858
|
function WsUnit(isIterable, isMap) {
|
|
893
859
|
isMap = isMap === VOID ? false : isMap;
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
860
|
+
this.z2g_1 = isIterable;
|
|
861
|
+
this.a2h_1 = isMap;
|
|
896
862
|
}
|
|
897
|
-
protoOf(WsUnit).
|
|
898
|
-
return this.
|
|
899
|
-
};
|
|
900
|
-
protoOf(WsUnit).n2f = function () {
|
|
901
|
-
return this.r2f_1;
|
|
863
|
+
protoOf(WsUnit).x22 = function () {
|
|
864
|
+
return this.z2g_1;
|
|
902
865
|
};
|
|
903
|
-
protoOf(WsUnit).
|
|
904
|
-
return this.
|
|
866
|
+
protoOf(WsUnit).w2g = function () {
|
|
867
|
+
return this.a2h_1;
|
|
905
868
|
};
|
|
906
869
|
protoOf(WsUnit).od = function () {
|
|
907
|
-
return this.
|
|
870
|
+
return this.z2g_1;
|
|
908
871
|
};
|
|
909
|
-
protoOf(WsUnit).
|
|
872
|
+
protoOf(WsUnit).pd = function () {
|
|
873
|
+
return this.a2h_1;
|
|
874
|
+
};
|
|
875
|
+
protoOf(WsUnit).s2c = function (isIterable, isMap) {
|
|
910
876
|
return new WsUnit(isIterable, isMap);
|
|
911
877
|
};
|
|
912
878
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
913
|
-
isIterable = isIterable === VOID ? this.
|
|
914
|
-
isMap = isMap === VOID ? this.
|
|
915
|
-
return this.
|
|
879
|
+
isIterable = isIterable === VOID ? this.z2g_1 : isIterable;
|
|
880
|
+
isMap = isMap === VOID ? this.a2h_1 : isMap;
|
|
881
|
+
return this.s2c(isIterable, isMap);
|
|
916
882
|
};
|
|
917
883
|
protoOf(WsUnit).toString = function () {
|
|
918
|
-
return 'WsUnit(isIterable=' + this.
|
|
884
|
+
return 'WsUnit(isIterable=' + this.z2g_1 + ', isMap=' + this.a2h_1 + ')';
|
|
919
885
|
};
|
|
920
886
|
protoOf(WsUnit).hashCode = function () {
|
|
921
|
-
var result = getBooleanHashCode(this.
|
|
922
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
887
|
+
var result = getBooleanHashCode(this.z2g_1);
|
|
888
|
+
result = imul(result, 31) + getBooleanHashCode(this.a2h_1) | 0;
|
|
923
889
|
return result;
|
|
924
890
|
};
|
|
925
891
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -928,52 +894,52 @@
|
|
|
928
894
|
if (!(other instanceof WsUnit))
|
|
929
895
|
return false;
|
|
930
896
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
931
|
-
if (!(this.
|
|
897
|
+
if (!(this.z2g_1 === tmp0_other_with_cast.z2g_1))
|
|
932
898
|
return false;
|
|
933
|
-
if (!(this.
|
|
899
|
+
if (!(this.a2h_1 === tmp0_other_with_cast.a2h_1))
|
|
934
900
|
return false;
|
|
935
901
|
return true;
|
|
936
902
|
};
|
|
937
903
|
function WsCustom(value, isIterable, isMap) {
|
|
938
904
|
isMap = isMap === VOID ? false : isMap;
|
|
939
905
|
this.value = value;
|
|
940
|
-
this.
|
|
941
|
-
this.
|
|
906
|
+
this.b2h_1 = isIterable;
|
|
907
|
+
this.c2h_1 = isMap;
|
|
942
908
|
}
|
|
943
909
|
protoOf(WsCustom).b1 = function () {
|
|
944
910
|
return this.value;
|
|
945
911
|
};
|
|
946
|
-
protoOf(WsCustom).
|
|
947
|
-
return this.
|
|
912
|
+
protoOf(WsCustom).x22 = function () {
|
|
913
|
+
return this.b2h_1;
|
|
948
914
|
};
|
|
949
|
-
protoOf(WsCustom).
|
|
950
|
-
return this.
|
|
915
|
+
protoOf(WsCustom).w2g = function () {
|
|
916
|
+
return this.c2h_1;
|
|
951
917
|
};
|
|
952
|
-
protoOf(WsCustom).
|
|
918
|
+
protoOf(WsCustom).od = function () {
|
|
953
919
|
return this.value;
|
|
954
920
|
};
|
|
955
|
-
protoOf(WsCustom).
|
|
956
|
-
return this.
|
|
921
|
+
protoOf(WsCustom).pd = function () {
|
|
922
|
+
return this.b2h_1;
|
|
957
923
|
};
|
|
958
|
-
protoOf(WsCustom).
|
|
959
|
-
return this.
|
|
924
|
+
protoOf(WsCustom).ph = function () {
|
|
925
|
+
return this.c2h_1;
|
|
960
926
|
};
|
|
961
|
-
protoOf(WsCustom).
|
|
927
|
+
protoOf(WsCustom).v2c = function (value, isIterable, isMap) {
|
|
962
928
|
return new WsCustom(value, isIterable, isMap);
|
|
963
929
|
};
|
|
964
930
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
965
931
|
value = value === VOID ? this.value : value;
|
|
966
|
-
isIterable = isIterable === VOID ? this.
|
|
967
|
-
isMap = isMap === VOID ? this.
|
|
968
|
-
return this.
|
|
932
|
+
isIterable = isIterable === VOID ? this.b2h_1 : isIterable;
|
|
933
|
+
isMap = isMap === VOID ? this.c2h_1 : isMap;
|
|
934
|
+
return this.v2c(value, isIterable, isMap);
|
|
969
935
|
};
|
|
970
936
|
protoOf(WsCustom).toString = function () {
|
|
971
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
937
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.b2h_1 + ', isMap=' + this.c2h_1 + ')';
|
|
972
938
|
};
|
|
973
939
|
protoOf(WsCustom).hashCode = function () {
|
|
974
940
|
var result = getStringHashCode(this.value);
|
|
975
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
976
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
941
|
+
result = imul(result, 31) + getBooleanHashCode(this.b2h_1) | 0;
|
|
942
|
+
result = imul(result, 31) + getBooleanHashCode(this.c2h_1) | 0;
|
|
977
943
|
return result;
|
|
978
944
|
};
|
|
979
945
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -984,52 +950,52 @@
|
|
|
984
950
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
985
951
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
986
952
|
return false;
|
|
987
|
-
if (!(this.
|
|
953
|
+
if (!(this.b2h_1 === tmp0_other_with_cast.b2h_1))
|
|
988
954
|
return false;
|
|
989
|
-
if (!(this.
|
|
955
|
+
if (!(this.c2h_1 === tmp0_other_with_cast.c2h_1))
|
|
990
956
|
return false;
|
|
991
957
|
return true;
|
|
992
958
|
};
|
|
993
959
|
function WsPrimitive(type, isIterable, isMap) {
|
|
994
960
|
isMap = isMap === VOID ? false : isMap;
|
|
995
961
|
this.type = type;
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
962
|
+
this.d2h_1 = isIterable;
|
|
963
|
+
this.e2h_1 = isMap;
|
|
998
964
|
}
|
|
999
|
-
protoOf(WsPrimitive).
|
|
965
|
+
protoOf(WsPrimitive).f2h = function () {
|
|
1000
966
|
return this.type;
|
|
1001
967
|
};
|
|
1002
|
-
protoOf(WsPrimitive).
|
|
1003
|
-
return this.
|
|
968
|
+
protoOf(WsPrimitive).x22 = function () {
|
|
969
|
+
return this.d2h_1;
|
|
1004
970
|
};
|
|
1005
|
-
protoOf(WsPrimitive).
|
|
1006
|
-
return this.
|
|
971
|
+
protoOf(WsPrimitive).w2g = function () {
|
|
972
|
+
return this.e2h_1;
|
|
1007
973
|
};
|
|
1008
|
-
protoOf(WsPrimitive).
|
|
974
|
+
protoOf(WsPrimitive).od = function () {
|
|
1009
975
|
return this.type;
|
|
1010
976
|
};
|
|
1011
|
-
protoOf(WsPrimitive).
|
|
1012
|
-
return this.
|
|
977
|
+
protoOf(WsPrimitive).pd = function () {
|
|
978
|
+
return this.d2h_1;
|
|
1013
979
|
};
|
|
1014
|
-
protoOf(WsPrimitive).
|
|
1015
|
-
return this.
|
|
980
|
+
protoOf(WsPrimitive).ph = function () {
|
|
981
|
+
return this.e2h_1;
|
|
1016
982
|
};
|
|
1017
|
-
protoOf(WsPrimitive).
|
|
983
|
+
protoOf(WsPrimitive).g2h = function (type, isIterable, isMap) {
|
|
1018
984
|
return new WsPrimitive(type, isIterable, isMap);
|
|
1019
985
|
};
|
|
1020
986
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
1021
987
|
type = type === VOID ? this.type : type;
|
|
1022
|
-
isIterable = isIterable === VOID ? this.
|
|
1023
|
-
isMap = isMap === VOID ? this.
|
|
1024
|
-
return this.
|
|
988
|
+
isIterable = isIterable === VOID ? this.d2h_1 : isIterable;
|
|
989
|
+
isMap = isMap === VOID ? this.e2h_1 : isMap;
|
|
990
|
+
return this.g2h(type, isIterable, isMap);
|
|
1025
991
|
};
|
|
1026
992
|
protoOf(WsPrimitive).toString = function () {
|
|
1027
|
-
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.
|
|
993
|
+
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.d2h_1 + ', isMap=' + this.e2h_1 + ')';
|
|
1028
994
|
};
|
|
1029
995
|
protoOf(WsPrimitive).hashCode = function () {
|
|
1030
996
|
var result = this.type.hashCode();
|
|
1031
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1032
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
997
|
+
result = imul(result, 31) + getBooleanHashCode(this.d2h_1) | 0;
|
|
998
|
+
result = imul(result, 31) + getBooleanHashCode(this.e2h_1) | 0;
|
|
1033
999
|
return result;
|
|
1034
1000
|
};
|
|
1035
1001
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -1040,9 +1006,9 @@
|
|
|
1040
1006
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
1041
1007
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
1042
1008
|
return false;
|
|
1043
|
-
if (!(this.
|
|
1009
|
+
if (!(this.d2h_1 === tmp0_other_with_cast.d2h_1))
|
|
1044
1010
|
return false;
|
|
1045
|
-
if (!(this.
|
|
1011
|
+
if (!(this.e2h_1 === tmp0_other_with_cast.e2h_1))
|
|
1046
1012
|
return false;
|
|
1047
1013
|
return true;
|
|
1048
1014
|
};
|
|
@@ -1085,18 +1051,18 @@
|
|
|
1085
1051
|
function WsRequest(content) {
|
|
1086
1052
|
this.content = content;
|
|
1087
1053
|
}
|
|
1088
|
-
protoOf(WsRequest).
|
|
1054
|
+
protoOf(WsRequest).e17 = function () {
|
|
1089
1055
|
return this.content;
|
|
1090
1056
|
};
|
|
1091
|
-
protoOf(WsRequest).
|
|
1057
|
+
protoOf(WsRequest).od = function () {
|
|
1092
1058
|
return this.content;
|
|
1093
1059
|
};
|
|
1094
|
-
protoOf(WsRequest).
|
|
1060
|
+
protoOf(WsRequest).j2h = function (content) {
|
|
1095
1061
|
return new WsRequest(content);
|
|
1096
1062
|
};
|
|
1097
1063
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1098
1064
|
content = content === VOID ? this.content : content;
|
|
1099
|
-
return this.
|
|
1065
|
+
return this.j2h(content);
|
|
1100
1066
|
};
|
|
1101
1067
|
protoOf(WsRequest).toString = function () {
|
|
1102
1068
|
return 'WsRequest(content=' + toString_0(this.content) + ')';
|
|
@@ -1119,32 +1085,32 @@
|
|
|
1119
1085
|
this.headers = headers;
|
|
1120
1086
|
this.content = content;
|
|
1121
1087
|
}
|
|
1122
|
-
protoOf(WsResponse).
|
|
1088
|
+
protoOf(WsResponse).k2h = function () {
|
|
1123
1089
|
return this.status;
|
|
1124
1090
|
};
|
|
1125
|
-
protoOf(WsResponse).
|
|
1091
|
+
protoOf(WsResponse).w2f = function () {
|
|
1126
1092
|
return this.headers;
|
|
1127
1093
|
};
|
|
1128
|
-
protoOf(WsResponse).
|
|
1094
|
+
protoOf(WsResponse).e17 = function () {
|
|
1129
1095
|
return this.content;
|
|
1130
1096
|
};
|
|
1131
|
-
protoOf(WsResponse).
|
|
1097
|
+
protoOf(WsResponse).od = function () {
|
|
1132
1098
|
return this.status;
|
|
1133
1099
|
};
|
|
1134
|
-
protoOf(WsResponse).
|
|
1100
|
+
protoOf(WsResponse).pd = function () {
|
|
1135
1101
|
return this.headers;
|
|
1136
1102
|
};
|
|
1137
|
-
protoOf(WsResponse).
|
|
1103
|
+
protoOf(WsResponse).ph = function () {
|
|
1138
1104
|
return this.content;
|
|
1139
1105
|
};
|
|
1140
|
-
protoOf(WsResponse).
|
|
1106
|
+
protoOf(WsResponse).l2h = function (status, headers, content) {
|
|
1141
1107
|
return new WsResponse(status, headers, content);
|
|
1142
1108
|
};
|
|
1143
1109
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1144
1110
|
status = status === VOID ? this.status : status;
|
|
1145
1111
|
headers = headers === VOID ? this.headers : headers;
|
|
1146
1112
|
content = content === VOID ? this.content : content;
|
|
1147
|
-
return this.
|
|
1113
|
+
return this.l2h(status, headers, content);
|
|
1148
1114
|
};
|
|
1149
1115
|
protoOf(WsResponse).toString = function () {
|
|
1150
1116
|
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + toString_0(this.content) + ')';
|
|
@@ -1175,32 +1141,32 @@
|
|
|
1175
1141
|
this.reference = reference;
|
|
1176
1142
|
this.isNullable = isNullable;
|
|
1177
1143
|
}
|
|
1178
|
-
protoOf(WsContent).
|
|
1144
|
+
protoOf(WsContent).f2h = function () {
|
|
1179
1145
|
return this.type;
|
|
1180
1146
|
};
|
|
1181
|
-
protoOf(WsContent).
|
|
1147
|
+
protoOf(WsContent).m2g = function () {
|
|
1182
1148
|
return this.reference;
|
|
1183
1149
|
};
|
|
1184
|
-
protoOf(WsContent).
|
|
1150
|
+
protoOf(WsContent).vl = function () {
|
|
1185
1151
|
return this.isNullable;
|
|
1186
1152
|
};
|
|
1187
|
-
protoOf(WsContent).
|
|
1153
|
+
protoOf(WsContent).od = function () {
|
|
1188
1154
|
return this.type;
|
|
1189
1155
|
};
|
|
1190
|
-
protoOf(WsContent).
|
|
1156
|
+
protoOf(WsContent).pd = function () {
|
|
1191
1157
|
return this.reference;
|
|
1192
1158
|
};
|
|
1193
|
-
protoOf(WsContent).
|
|
1159
|
+
protoOf(WsContent).ph = function () {
|
|
1194
1160
|
return this.isNullable;
|
|
1195
1161
|
};
|
|
1196
|
-
protoOf(WsContent).
|
|
1162
|
+
protoOf(WsContent).m2h = function (type, reference, isNullable) {
|
|
1197
1163
|
return new WsContent(type, reference, isNullable);
|
|
1198
1164
|
};
|
|
1199
1165
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1200
1166
|
type = type === VOID ? this.type : type;
|
|
1201
1167
|
reference = reference === VOID ? this.reference : reference;
|
|
1202
1168
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1203
|
-
return this.
|
|
1169
|
+
return this.m2h(type, reference, isNullable);
|
|
1204
1170
|
};
|
|
1205
1171
|
protoOf(WsContent).toString = function () {
|
|
1206
1172
|
return 'WsContent(type=' + this.type + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1226,23 +1192,9 @@
|
|
|
1226
1192
|
return true;
|
|
1227
1193
|
};
|
|
1228
1194
|
function produce(_this__u8e3s4) {
|
|
1229
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1230
|
-
// Inline function 'kotlin.collections.map' call
|
|
1231
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1232
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1233
|
-
var tmp0_iterator = _this__u8e3s4.g();
|
|
1234
|
-
while (tmp0_iterator.h()) {
|
|
1235
|
-
var item = tmp0_iterator.i();
|
|
1236
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1237
|
-
var tmp$ret$0 = produce_0(item);
|
|
1238
|
-
destination.e(tmp$ret$0);
|
|
1239
|
-
}
|
|
1240
|
-
return copyToArray(destination);
|
|
1241
|
-
}
|
|
1242
|
-
function produce_0(_this__u8e3s4) {
|
|
1243
1195
|
var tmp;
|
|
1244
1196
|
if (_this__u8e3s4 instanceof Type) {
|
|
1245
|
-
var tmp30_safe_receiver = _this__u8e3s4.
|
|
1197
|
+
var tmp30_safe_receiver = _this__u8e3s4.v23_1;
|
|
1246
1198
|
var tmp_0;
|
|
1247
1199
|
var tmp_1 = tmp30_safe_receiver;
|
|
1248
1200
|
if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
|
|
@@ -1250,10 +1202,10 @@
|
|
|
1250
1202
|
} else {
|
|
1251
1203
|
tmp_0 = _Comment___get_value__impl__8r3pla(tmp30_safe_receiver);
|
|
1252
1204
|
}
|
|
1253
|
-
tmp = new WsType(_this__u8e3s4.
|
|
1205
|
+
tmp = new WsType(_this__u8e3s4.w23_1.c2a_1, tmp_0, produce_1(_this__u8e3s4.x23_1));
|
|
1254
1206
|
} else {
|
|
1255
1207
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1256
|
-
var tmp31_safe_receiver = _this__u8e3s4.
|
|
1208
|
+
var tmp31_safe_receiver = _this__u8e3s4.i24_1;
|
|
1257
1209
|
var tmp_2;
|
|
1258
1210
|
var tmp_3 = tmp31_safe_receiver;
|
|
1259
1211
|
if ((tmp_3 == null ? null : new Comment(tmp_3)) == null) {
|
|
@@ -1261,10 +1213,10 @@
|
|
|
1261
1213
|
} else {
|
|
1262
1214
|
tmp_2 = _Comment___get_value__impl__8r3pla(tmp31_safe_receiver);
|
|
1263
1215
|
}
|
|
1264
|
-
tmp = new WsEndpoint(_this__u8e3s4.
|
|
1216
|
+
tmp = new WsEndpoint(_this__u8e3s4.j24_1.c2a_1, tmp_2, produce_2(_this__u8e3s4.k24_1), produce_3(_this__u8e3s4.l24_1), produce_4(_this__u8e3s4.m24_1), produce_4(_this__u8e3s4.n24_1), produce_4(_this__u8e3s4.o24_1), produce_5(_this__u8e3s4.p24_1), produce_6(_this__u8e3s4.q24_1));
|
|
1265
1217
|
} else {
|
|
1266
1218
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1267
|
-
var tmp32_safe_receiver = _this__u8e3s4.
|
|
1219
|
+
var tmp32_safe_receiver = _this__u8e3s4.b24_1;
|
|
1268
1220
|
var tmp_4;
|
|
1269
1221
|
var tmp_5 = tmp32_safe_receiver;
|
|
1270
1222
|
if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
|
|
@@ -1274,12 +1226,12 @@
|
|
|
1274
1226
|
}
|
|
1275
1227
|
var tmp_6 = tmp_4;
|
|
1276
1228
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1277
|
-
var this_0 = _this__u8e3s4.
|
|
1229
|
+
var this_0 = _this__u8e3s4.d24_1;
|
|
1278
1230
|
var tmp$ret$0 = copyToArray(this_0);
|
|
1279
|
-
tmp = new WsEnum(_this__u8e3s4.
|
|
1231
|
+
tmp = new WsEnum(_this__u8e3s4.c24_1.c2a_1, tmp_6, tmp$ret$0);
|
|
1280
1232
|
} else {
|
|
1281
1233
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1282
|
-
var tmp33_safe_receiver = _this__u8e3s4.
|
|
1234
|
+
var tmp33_safe_receiver = _this__u8e3s4.y23_1;
|
|
1283
1235
|
var tmp_7;
|
|
1284
1236
|
var tmp_8 = tmp33_safe_receiver;
|
|
1285
1237
|
if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
|
|
@@ -1287,10 +1239,10 @@
|
|
|
1287
1239
|
} else {
|
|
1288
1240
|
tmp_7 = _Comment___get_value__impl__8r3pla(tmp33_safe_receiver);
|
|
1289
1241
|
}
|
|
1290
|
-
tmp = new WsRefined(_this__u8e3s4.
|
|
1242
|
+
tmp = new WsRefined(_this__u8e3s4.z23_1.c2a_1, tmp_7, _this__u8e3s4.a24_1.l2a_1);
|
|
1291
1243
|
} else {
|
|
1292
1244
|
if (_this__u8e3s4 instanceof Union) {
|
|
1293
|
-
var tmp34_safe_receiver = _this__u8e3s4.
|
|
1245
|
+
var tmp34_safe_receiver = _this__u8e3s4.r23_1;
|
|
1294
1246
|
var tmp_9;
|
|
1295
1247
|
var tmp_10 = tmp34_safe_receiver;
|
|
1296
1248
|
if ((tmp_10 == null ? null : new Comment(tmp_10)) == null) {
|
|
@@ -1301,7 +1253,7 @@
|
|
|
1301
1253
|
var tmp_11 = tmp_9;
|
|
1302
1254
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1303
1255
|
// Inline function 'kotlin.collections.map' call
|
|
1304
|
-
var this_1 = _this__u8e3s4.
|
|
1256
|
+
var this_1 = _this__u8e3s4.t23_1;
|
|
1305
1257
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1306
1258
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
1307
1259
|
var tmp0_iterator = this_1.g();
|
|
@@ -1312,10 +1264,10 @@
|
|
|
1312
1264
|
destination.e(tmp$ret$1);
|
|
1313
1265
|
}
|
|
1314
1266
|
var tmp$ret$4 = copyToArray(destination);
|
|
1315
|
-
tmp = new WsUnion(_this__u8e3s4.
|
|
1267
|
+
tmp = new WsUnion(_this__u8e3s4.s23_1.c2a_1, tmp_11, tmp$ret$4);
|
|
1316
1268
|
} else {
|
|
1317
1269
|
if (_this__u8e3s4 instanceof Channel) {
|
|
1318
|
-
var tmp35_safe_receiver = _this__u8e3s4.
|
|
1270
|
+
var tmp35_safe_receiver = _this__u8e3s4.e24_1;
|
|
1319
1271
|
var tmp_12;
|
|
1320
1272
|
var tmp_13 = tmp35_safe_receiver;
|
|
1321
1273
|
if ((tmp_13 == null ? null : new Comment(tmp_13)) == null) {
|
|
@@ -1323,7 +1275,50 @@
|
|
|
1323
1275
|
} else {
|
|
1324
1276
|
tmp_12 = _Comment___get_value__impl__8r3pla(tmp35_safe_receiver);
|
|
1325
1277
|
}
|
|
1326
|
-
tmp = new WsChannel(_this__u8e3s4.
|
|
1278
|
+
tmp = new WsChannel(_this__u8e3s4.f24_1.c2a_1, tmp_12, produce_7(_this__u8e3s4.h24_1), _this__u8e3s4.g24_1);
|
|
1279
|
+
} else {
|
|
1280
|
+
noWhenBranchMatchedException();
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
return tmp;
|
|
1288
|
+
}
|
|
1289
|
+
function produce_0(_this__u8e3s4) {
|
|
1290
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1291
|
+
// Inline function 'kotlin.collections.map' call
|
|
1292
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1293
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1294
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1295
|
+
while (tmp0_iterator.h()) {
|
|
1296
|
+
var item = tmp0_iterator.i();
|
|
1297
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1298
|
+
var tmp$ret$0 = produce(item);
|
|
1299
|
+
destination.e(tmp$ret$0);
|
|
1300
|
+
}
|
|
1301
|
+
return copyToArray(destination);
|
|
1302
|
+
}
|
|
1303
|
+
function consume(_this__u8e3s4) {
|
|
1304
|
+
var tmp;
|
|
1305
|
+
if (_this__u8e3s4 instanceof WsEndpoint) {
|
|
1306
|
+
tmp = consume_0(_this__u8e3s4);
|
|
1307
|
+
} else {
|
|
1308
|
+
if (_this__u8e3s4 instanceof WsEnum) {
|
|
1309
|
+
tmp = consume_1(_this__u8e3s4);
|
|
1310
|
+
} else {
|
|
1311
|
+
if (_this__u8e3s4 instanceof WsRefined) {
|
|
1312
|
+
tmp = consume_2(_this__u8e3s4);
|
|
1313
|
+
} else {
|
|
1314
|
+
if (_this__u8e3s4 instanceof WsType) {
|
|
1315
|
+
tmp = consume_3(_this__u8e3s4);
|
|
1316
|
+
} else {
|
|
1317
|
+
if (_this__u8e3s4 instanceof WsUnion) {
|
|
1318
|
+
tmp = consume_4(_this__u8e3s4);
|
|
1319
|
+
} else {
|
|
1320
|
+
if (_this__u8e3s4 instanceof WsChannel) {
|
|
1321
|
+
tmp = consume_5(_this__u8e3s4);
|
|
1327
1322
|
} else {
|
|
1328
1323
|
noWhenBranchMatchedException();
|
|
1329
1324
|
}
|
|
@@ -1337,7 +1332,7 @@
|
|
|
1337
1332
|
function produce_1(_this__u8e3s4) {
|
|
1338
1333
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1339
1334
|
// Inline function 'kotlin.collections.map' call
|
|
1340
|
-
var this_0 = _this__u8e3s4.
|
|
1335
|
+
var this_0 = _this__u8e3s4.x29_1;
|
|
1341
1336
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1342
1337
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1343
1338
|
var tmp0_iterator = this_0.g();
|
|
@@ -1352,7 +1347,7 @@
|
|
|
1352
1347
|
}
|
|
1353
1348
|
function produce_2(_this__u8e3s4) {
|
|
1354
1349
|
var tmp;
|
|
1355
|
-
switch (_this__u8e3s4.
|
|
1350
|
+
switch (_this__u8e3s4.q2_1) {
|
|
1356
1351
|
case 0:
|
|
1357
1352
|
tmp = WsMethod_GET_getInstance();
|
|
1358
1353
|
break;
|
|
@@ -1394,10 +1389,10 @@
|
|
|
1394
1389
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1395
1390
|
var tmp;
|
|
1396
1391
|
if (item instanceof Literal) {
|
|
1397
|
-
tmp = new WsLiteral(item.
|
|
1392
|
+
tmp = new WsLiteral(item.r2a_1);
|
|
1398
1393
|
} else {
|
|
1399
1394
|
if (item instanceof Param) {
|
|
1400
|
-
tmp = new WsParam(produce_9(item.
|
|
1395
|
+
tmp = new WsParam(produce_9(item.m2a_1), produce_7(item.n2a_1));
|
|
1401
1396
|
} else {
|
|
1402
1397
|
noWhenBranchMatchedException();
|
|
1403
1398
|
}
|
|
@@ -1452,16 +1447,16 @@
|
|
|
1452
1447
|
function produce_7(_this__u8e3s4) {
|
|
1453
1448
|
var tmp;
|
|
1454
1449
|
if (_this__u8e3s4 instanceof Any) {
|
|
1455
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1450
|
+
tmp = new WsAny(_this__u8e3s4.h2b_1, _this__u8e3s4.i2b_1);
|
|
1456
1451
|
} else {
|
|
1457
1452
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1458
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1453
|
+
tmp = new WsUnit(_this__u8e3s4.k2b_1, _this__u8e3s4.l2b_1);
|
|
1459
1454
|
} else {
|
|
1460
1455
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1461
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1456
|
+
tmp = new WsCustom(_this__u8e3s4.h2a_1, _this__u8e3s4.i2a_1, _this__u8e3s4.j2a_1);
|
|
1462
1457
|
} else {
|
|
1463
1458
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1464
|
-
tmp = new WsPrimitive(produce_12(_this__u8e3s4.
|
|
1459
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.d2a_1), _this__u8e3s4.e2a_1, _this__u8e3s4.f2a_1);
|
|
1465
1460
|
} else {
|
|
1466
1461
|
noWhenBranchMatchedException();
|
|
1467
1462
|
}
|
|
@@ -1470,86 +1465,6 @@
|
|
|
1470
1465
|
}
|
|
1471
1466
|
return tmp;
|
|
1472
1467
|
}
|
|
1473
|
-
function produce_8(_this__u8e3s4) {
|
|
1474
|
-
return new WsField(produce_9(_this__u8e3s4.p28_1), produce_7(_this__u8e3s4.q28_1), _this__u8e3s4.r28_1);
|
|
1475
|
-
}
|
|
1476
|
-
function produce_9(_this__u8e3s4) {
|
|
1477
|
-
return new WsIdentifier(_this__u8e3s4.t28_1);
|
|
1478
|
-
}
|
|
1479
|
-
function produce_10(_this__u8e3s4) {
|
|
1480
|
-
var tmp40_safe_receiver = _this__u8e3s4.j29_1;
|
|
1481
|
-
return new WsRequest(tmp40_safe_receiver == null ? null : produce_13(tmp40_safe_receiver));
|
|
1482
|
-
}
|
|
1483
|
-
function produce_11(_this__u8e3s4) {
|
|
1484
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1485
|
-
// Inline function 'kotlin.collections.map' call
|
|
1486
|
-
var this_0 = _this__u8e3s4.l29_1;
|
|
1487
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
1488
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1489
|
-
var tmp0_iterator = this_0.g();
|
|
1490
|
-
while (tmp0_iterator.h()) {
|
|
1491
|
-
var item = tmp0_iterator.i();
|
|
1492
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1493
|
-
var tmp$ret$0 = produce_8(item);
|
|
1494
|
-
destination.e(tmp$ret$0);
|
|
1495
|
-
}
|
|
1496
|
-
var tmp = copyToArray(destination);
|
|
1497
|
-
var tmp41_safe_receiver = _this__u8e3s4.m29_1;
|
|
1498
|
-
return new WsResponse(_this__u8e3s4.k29_1, tmp, tmp41_safe_receiver == null ? null : produce_13(tmp41_safe_receiver));
|
|
1499
|
-
}
|
|
1500
|
-
function produce_12(_this__u8e3s4) {
|
|
1501
|
-
var tmp;
|
|
1502
|
-
switch (_this__u8e3s4.o2_1) {
|
|
1503
|
-
case 0:
|
|
1504
|
-
tmp = WsPrimitiveType_String_getInstance();
|
|
1505
|
-
break;
|
|
1506
|
-
case 1:
|
|
1507
|
-
tmp = WsPrimitiveType_Integer_getInstance();
|
|
1508
|
-
break;
|
|
1509
|
-
case 2:
|
|
1510
|
-
tmp = WsPrimitiveType_Number_getInstance();
|
|
1511
|
-
break;
|
|
1512
|
-
case 3:
|
|
1513
|
-
tmp = WsPrimitiveType_Boolean_getInstance();
|
|
1514
|
-
break;
|
|
1515
|
-
default:
|
|
1516
|
-
noWhenBranchMatchedException();
|
|
1517
|
-
break;
|
|
1518
|
-
}
|
|
1519
|
-
return tmp;
|
|
1520
|
-
}
|
|
1521
|
-
function produce_13(_this__u8e3s4) {
|
|
1522
|
-
return new WsContent(_this__u8e3s4.n29_1, produce_7(_this__u8e3s4.o29_1), _this__u8e3s4.p29_1);
|
|
1523
|
-
}
|
|
1524
|
-
function consume(_this__u8e3s4) {
|
|
1525
|
-
var tmp;
|
|
1526
|
-
if (_this__u8e3s4 instanceof WsEndpoint) {
|
|
1527
|
-
tmp = consume_0(_this__u8e3s4);
|
|
1528
|
-
} else {
|
|
1529
|
-
if (_this__u8e3s4 instanceof WsEnum) {
|
|
1530
|
-
tmp = consume_1(_this__u8e3s4);
|
|
1531
|
-
} else {
|
|
1532
|
-
if (_this__u8e3s4 instanceof WsRefined) {
|
|
1533
|
-
tmp = consume_2(_this__u8e3s4);
|
|
1534
|
-
} else {
|
|
1535
|
-
if (_this__u8e3s4 instanceof WsType) {
|
|
1536
|
-
tmp = consume_3(_this__u8e3s4);
|
|
1537
|
-
} else {
|
|
1538
|
-
if (_this__u8e3s4 instanceof WsUnion) {
|
|
1539
|
-
tmp = consume_4(_this__u8e3s4);
|
|
1540
|
-
} else {
|
|
1541
|
-
if (_this__u8e3s4 instanceof WsChannel) {
|
|
1542
|
-
tmp = consume_5(_this__u8e3s4);
|
|
1543
|
-
} else {
|
|
1544
|
-
noWhenBranchMatchedException();
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
return tmp;
|
|
1552
|
-
}
|
|
1553
1468
|
function consume_0(_this__u8e3s4) {
|
|
1554
1469
|
var tmp1_safe_receiver = _this__u8e3s4.comment;
|
|
1555
1470
|
var tmp;
|
|
@@ -1562,7 +1477,7 @@
|
|
|
1562
1477
|
tmp = _Comment___init__impl__cg8s2u(tmp1_safe_receiver);
|
|
1563
1478
|
}
|
|
1564
1479
|
var tmp_0 = tmp;
|
|
1565
|
-
var tmp_1 = Companion_instance.
|
|
1480
|
+
var tmp_1 = Companion_instance.z2a(_this__u8e3s4.s2f_1);
|
|
1566
1481
|
var tmp_2 = consume_6(_this__u8e3s4.method);
|
|
1567
1482
|
// Inline function 'kotlin.collections.map' call
|
|
1568
1483
|
var this_0 = _this__u8e3s4.path;
|
|
@@ -1650,7 +1565,7 @@
|
|
|
1650
1565
|
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1651
1566
|
}
|
|
1652
1567
|
function consume_1(_this__u8e3s4) {
|
|
1653
|
-
var tmp5_identifier = Companion_instance.
|
|
1568
|
+
var tmp5_identifier = Companion_instance.z2a(_this__u8e3s4.h2g_1);
|
|
1654
1569
|
var tmp4_safe_receiver = _this__u8e3s4.comment;
|
|
1655
1570
|
var tmp;
|
|
1656
1571
|
if (tmp4_safe_receiver == null) {
|
|
@@ -1666,7 +1581,7 @@
|
|
|
1666
1581
|
return new Enum_0(tmp6_comment, tmp5_identifier, tmp7_entries);
|
|
1667
1582
|
}
|
|
1668
1583
|
function consume_2(_this__u8e3s4) {
|
|
1669
|
-
var tmp9_identifier = Companion_instance.
|
|
1584
|
+
var tmp9_identifier = Companion_instance.z2a(_this__u8e3s4.o2g_1);
|
|
1670
1585
|
var tmp8_safe_receiver = _this__u8e3s4.comment;
|
|
1671
1586
|
var tmp;
|
|
1672
1587
|
if (tmp8_safe_receiver == null) {
|
|
@@ -1682,7 +1597,7 @@
|
|
|
1682
1597
|
return new Refined(tmp10_comment, tmp9_identifier, tmp11_validator);
|
|
1683
1598
|
}
|
|
1684
1599
|
function consume_3(_this__u8e3s4) {
|
|
1685
|
-
var tmp13_identifier = Companion_instance.
|
|
1600
|
+
var tmp13_identifier = Companion_instance.z2a(_this__u8e3s4.n2f_1);
|
|
1686
1601
|
var tmp12_safe_receiver = _this__u8e3s4.comment;
|
|
1687
1602
|
var tmp;
|
|
1688
1603
|
if (tmp12_safe_receiver == null) {
|
|
@@ -1711,7 +1626,7 @@
|
|
|
1711
1626
|
return new Type(tmp14_comment, tmp13_identifier, tmp15_shape);
|
|
1712
1627
|
}
|
|
1713
1628
|
function consume_4(_this__u8e3s4) {
|
|
1714
|
-
var tmp17_identifier = Companion_instance.
|
|
1629
|
+
var tmp17_identifier = Companion_instance.z2a(_this__u8e3s4.j2g_1);
|
|
1715
1630
|
var tmp16_safe_receiver = _this__u8e3s4.comment;
|
|
1716
1631
|
var tmp;
|
|
1717
1632
|
if (tmp16_safe_receiver == null) {
|
|
@@ -1740,7 +1655,7 @@
|
|
|
1740
1655
|
return new Union(tmp18_comment, tmp17_identifier, tmp19_entries);
|
|
1741
1656
|
}
|
|
1742
1657
|
function consume_5(_this__u8e3s4) {
|
|
1743
|
-
var tmp21_identifier = Companion_instance.
|
|
1658
|
+
var tmp21_identifier = Companion_instance.z2a(_this__u8e3s4.l2g_1);
|
|
1744
1659
|
var tmp20_safe_receiver = _this__u8e3s4.comment;
|
|
1745
1660
|
var tmp;
|
|
1746
1661
|
if (tmp20_safe_receiver == null) {
|
|
@@ -1756,9 +1671,57 @@
|
|
|
1756
1671
|
var tmp24_isNullable = _this__u8e3s4.isNullable;
|
|
1757
1672
|
return new Channel(tmp22_comment, tmp21_identifier, tmp24_isNullable, tmp23_reference);
|
|
1758
1673
|
}
|
|
1674
|
+
function produce_8(_this__u8e3s4) {
|
|
1675
|
+
return new WsField(produce_9(_this__u8e3s4.y29_1), produce_7(_this__u8e3s4.z29_1), _this__u8e3s4.a2a_1);
|
|
1676
|
+
}
|
|
1677
|
+
function produce_9(_this__u8e3s4) {
|
|
1678
|
+
return new WsIdentifier(_this__u8e3s4.c2a_1);
|
|
1679
|
+
}
|
|
1680
|
+
function produce_10(_this__u8e3s4) {
|
|
1681
|
+
var tmp40_safe_receiver = _this__u8e3s4.s2a_1;
|
|
1682
|
+
return new WsRequest(tmp40_safe_receiver == null ? null : produce_13(tmp40_safe_receiver));
|
|
1683
|
+
}
|
|
1684
|
+
function produce_11(_this__u8e3s4) {
|
|
1685
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1686
|
+
// Inline function 'kotlin.collections.map' call
|
|
1687
|
+
var this_0 = _this__u8e3s4.u2a_1;
|
|
1688
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1689
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1690
|
+
var tmp0_iterator = this_0.g();
|
|
1691
|
+
while (tmp0_iterator.h()) {
|
|
1692
|
+
var item = tmp0_iterator.i();
|
|
1693
|
+
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1694
|
+
var tmp$ret$0 = produce_8(item);
|
|
1695
|
+
destination.e(tmp$ret$0);
|
|
1696
|
+
}
|
|
1697
|
+
var tmp = copyToArray(destination);
|
|
1698
|
+
var tmp41_safe_receiver = _this__u8e3s4.v2a_1;
|
|
1699
|
+
return new WsResponse(_this__u8e3s4.t2a_1, tmp, tmp41_safe_receiver == null ? null : produce_13(tmp41_safe_receiver));
|
|
1700
|
+
}
|
|
1701
|
+
function produce_12(_this__u8e3s4) {
|
|
1702
|
+
var tmp;
|
|
1703
|
+
switch (_this__u8e3s4.q2_1) {
|
|
1704
|
+
case 0:
|
|
1705
|
+
tmp = WsPrimitiveType_String_getInstance();
|
|
1706
|
+
break;
|
|
1707
|
+
case 1:
|
|
1708
|
+
tmp = WsPrimitiveType_Integer_getInstance();
|
|
1709
|
+
break;
|
|
1710
|
+
case 2:
|
|
1711
|
+
tmp = WsPrimitiveType_Number_getInstance();
|
|
1712
|
+
break;
|
|
1713
|
+
case 3:
|
|
1714
|
+
tmp = WsPrimitiveType_Boolean_getInstance();
|
|
1715
|
+
break;
|
|
1716
|
+
default:
|
|
1717
|
+
noWhenBranchMatchedException();
|
|
1718
|
+
break;
|
|
1719
|
+
}
|
|
1720
|
+
return tmp;
|
|
1721
|
+
}
|
|
1759
1722
|
function consume_6(_this__u8e3s4) {
|
|
1760
1723
|
var tmp;
|
|
1761
|
-
switch (_this__u8e3s4.
|
|
1724
|
+
switch (_this__u8e3s4.q2_1) {
|
|
1762
1725
|
case 0:
|
|
1763
1726
|
tmp = Method_GET_getInstance();
|
|
1764
1727
|
break;
|
|
@@ -1830,16 +1793,16 @@
|
|
|
1830
1793
|
function consume_11(_this__u8e3s4) {
|
|
1831
1794
|
var tmp;
|
|
1832
1795
|
if (_this__u8e3s4 instanceof WsAny) {
|
|
1833
|
-
tmp = new Any(_this__u8e3s4.
|
|
1796
|
+
tmp = new Any(_this__u8e3s4.x2g_1, _this__u8e3s4.y2g_1);
|
|
1834
1797
|
} else {
|
|
1835
1798
|
if (_this__u8e3s4 instanceof WsUnit) {
|
|
1836
|
-
tmp = new Unit(_this__u8e3s4.
|
|
1799
|
+
tmp = new Unit(_this__u8e3s4.z2g_1, _this__u8e3s4.a2h_1);
|
|
1837
1800
|
} else {
|
|
1838
1801
|
if (_this__u8e3s4 instanceof WsCustom) {
|
|
1839
|
-
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.
|
|
1802
|
+
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.b2h_1, _this__u8e3s4.c2h_1);
|
|
1840
1803
|
} else {
|
|
1841
1804
|
if (_this__u8e3s4 instanceof WsPrimitive) {
|
|
1842
|
-
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.
|
|
1805
|
+
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.d2h_1, _this__u8e3s4.e2h_1);
|
|
1843
1806
|
} else {
|
|
1844
1807
|
noWhenBranchMatchedException();
|
|
1845
1808
|
}
|
|
@@ -1848,15 +1811,18 @@
|
|
|
1848
1811
|
}
|
|
1849
1812
|
return tmp;
|
|
1850
1813
|
}
|
|
1814
|
+
function produce_13(_this__u8e3s4) {
|
|
1815
|
+
return new WsContent(_this__u8e3s4.w2a_1, produce_7(_this__u8e3s4.x2a_1), _this__u8e3s4.y2a_1);
|
|
1816
|
+
}
|
|
1851
1817
|
function consume_12(_this__u8e3s4) {
|
|
1852
|
-
return Companion_instance.
|
|
1818
|
+
return Companion_instance.z2a(_this__u8e3s4.value);
|
|
1853
1819
|
}
|
|
1854
1820
|
function consume_13(_this__u8e3s4) {
|
|
1855
1821
|
return new Content(_this__u8e3s4.type, consume_11(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1856
1822
|
}
|
|
1857
1823
|
function consume_14(_this__u8e3s4) {
|
|
1858
1824
|
var tmp;
|
|
1859
|
-
switch (_this__u8e3s4.
|
|
1825
|
+
switch (_this__u8e3s4.q2_1) {
|
|
1860
1826
|
case 0:
|
|
1861
1827
|
tmp = Type_String_getInstance();
|
|
1862
1828
|
break;
|
|
@@ -1923,236 +1889,6 @@
|
|
|
1923
1889
|
WsPrimitiveType_initEntries();
|
|
1924
1890
|
return WsPrimitiveType_Boolean_instance;
|
|
1925
1891
|
}
|
|
1926
|
-
function Compiler() {
|
|
1927
|
-
}
|
|
1928
|
-
protoOf(Compiler).preCompile = function (source) {
|
|
1929
|
-
return compile(WirespecSpec_getInstance(), source)(get_noLogger());
|
|
1930
|
-
};
|
|
1931
|
-
protoOf(Compiler).tokenize = function (source) {
|
|
1932
|
-
return produce_18(tokenize(WirespecSpec_getInstance(), source));
|
|
1933
|
-
};
|
|
1934
|
-
protoOf(Compiler).parse = function (source) {
|
|
1935
|
-
// Inline function 'kotlin.let' call
|
|
1936
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1937
|
-
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1938
|
-
var it = tokenize(WirespecSpec_getInstance(), source);
|
|
1939
|
-
return produce_14((new Parser(get_noLogger())).c21(it));
|
|
1940
|
-
};
|
|
1941
|
-
function Companion() {
|
|
1942
|
-
Companion_instance_0 = this;
|
|
1943
|
-
this.e2g_1 = new KotlinEmitter(VOID, get_noLogger());
|
|
1944
|
-
}
|
|
1945
|
-
var Companion_instance_0;
|
|
1946
|
-
function Companion_getInstance() {
|
|
1947
|
-
if (Companion_instance_0 == null)
|
|
1948
|
-
new Companion();
|
|
1949
|
-
return Companion_instance_0;
|
|
1950
|
-
}
|
|
1951
|
-
function WsToKotlin() {
|
|
1952
|
-
Companion_getInstance();
|
|
1953
|
-
Compiler.call(this);
|
|
1954
|
-
}
|
|
1955
|
-
protoOf(WsToKotlin).compile = function (source) {
|
|
1956
|
-
return produce_15(this.preCompile(source)(Companion_getInstance().e2g_1));
|
|
1957
|
-
};
|
|
1958
|
-
function Companion_0() {
|
|
1959
|
-
Companion_instance_1 = this;
|
|
1960
|
-
this.f2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
1961
|
-
}
|
|
1962
|
-
var Companion_instance_1;
|
|
1963
|
-
function Companion_getInstance_0() {
|
|
1964
|
-
if (Companion_instance_1 == null)
|
|
1965
|
-
new Companion_0();
|
|
1966
|
-
return Companion_instance_1;
|
|
1967
|
-
}
|
|
1968
|
-
function WsToTypeScript() {
|
|
1969
|
-
Companion_getInstance_0();
|
|
1970
|
-
Compiler.call(this);
|
|
1971
|
-
}
|
|
1972
|
-
protoOf(WsToTypeScript).compile = function (source) {
|
|
1973
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_0().f2g_1));
|
|
1974
|
-
};
|
|
1975
|
-
function Companion_1() {
|
|
1976
|
-
Companion_instance_2 = this;
|
|
1977
|
-
this.g2g_1 = new ScalaEmitter(VOID, get_noLogger());
|
|
1978
|
-
}
|
|
1979
|
-
var Companion_instance_2;
|
|
1980
|
-
function Companion_getInstance_1() {
|
|
1981
|
-
if (Companion_instance_2 == null)
|
|
1982
|
-
new Companion_1();
|
|
1983
|
-
return Companion_instance_2;
|
|
1984
|
-
}
|
|
1985
|
-
function WsToScala() {
|
|
1986
|
-
Companion_getInstance_1();
|
|
1987
|
-
Compiler.call(this);
|
|
1988
|
-
}
|
|
1989
|
-
protoOf(WsToScala).compile = function (source) {
|
|
1990
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_1().g2g_1));
|
|
1991
|
-
};
|
|
1992
|
-
function Companion_2() {
|
|
1993
|
-
Companion_instance_3 = this;
|
|
1994
|
-
this.h2g_1 = new JavaEmitter(VOID, get_noLogger());
|
|
1995
|
-
}
|
|
1996
|
-
var Companion_instance_3;
|
|
1997
|
-
function Companion_getInstance_2() {
|
|
1998
|
-
if (Companion_instance_3 == null)
|
|
1999
|
-
new Companion_2();
|
|
2000
|
-
return Companion_instance_3;
|
|
2001
|
-
}
|
|
2002
|
-
function WsToJava() {
|
|
2003
|
-
Companion_getInstance_2();
|
|
2004
|
-
Compiler.call(this);
|
|
2005
|
-
}
|
|
2006
|
-
protoOf(WsToJava).compile = function (source) {
|
|
2007
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_2().h2g_1));
|
|
2008
|
-
};
|
|
2009
|
-
function Companion_3() {
|
|
2010
|
-
Companion_instance_4 = this;
|
|
2011
|
-
this.i2g_1 = new WirespecEmitter(get_noLogger());
|
|
2012
|
-
}
|
|
2013
|
-
var Companion_instance_4;
|
|
2014
|
-
function Companion_getInstance_3() {
|
|
2015
|
-
if (Companion_instance_4 == null)
|
|
2016
|
-
new Companion_3();
|
|
2017
|
-
return Companion_instance_4;
|
|
2018
|
-
}
|
|
2019
|
-
function WsToWirespec() {
|
|
2020
|
-
Companion_getInstance_3();
|
|
2021
|
-
Compiler.call(this);
|
|
2022
|
-
}
|
|
2023
|
-
protoOf(WsToWirespec).compile = function (source) {
|
|
2024
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_3().i2g_1));
|
|
2025
|
-
};
|
|
2026
|
-
function OpenApiV2Parser() {
|
|
2027
|
-
}
|
|
2028
|
-
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
2029
|
-
return produce(OpenApiV2Parser_instance.n2d(source));
|
|
2030
|
-
};
|
|
2031
|
-
var OpenApiV2Parser_instance_0;
|
|
2032
|
-
function OpenApiV2Parser_getInstance() {
|
|
2033
|
-
return OpenApiV2Parser_instance_0;
|
|
2034
|
-
}
|
|
2035
|
-
function OpenApiV2ToTypescript() {
|
|
2036
|
-
OpenApiV2ToTypescript_instance = this;
|
|
2037
|
-
this.j2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
2038
|
-
}
|
|
2039
|
-
protoOf(OpenApiV2ToTypescript).compile = function (source) {
|
|
2040
|
-
var ast = OpenApiV2Parser_instance.n2d(source);
|
|
2041
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2042
|
-
// Inline function 'kotlin.collections.map' call
|
|
2043
|
-
var this_0 = this.j2g_1.w20(ast);
|
|
2044
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2045
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2046
|
-
var tmp0_iterator = this_0.g();
|
|
2047
|
-
while (tmp0_iterator.h()) {
|
|
2048
|
-
var item = tmp0_iterator.i();
|
|
2049
|
-
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToTypescript.compile.<anonymous>' call
|
|
2050
|
-
var file = item.nd();
|
|
2051
|
-
var value = item.od();
|
|
2052
|
-
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2053
|
-
destination.e(tmp$ret$0);
|
|
2054
|
-
}
|
|
2055
|
-
return copyToArray(destination);
|
|
2056
|
-
};
|
|
2057
|
-
var OpenApiV2ToTypescript_instance;
|
|
2058
|
-
function OpenApiV2ToTypescript_getInstance() {
|
|
2059
|
-
if (OpenApiV2ToTypescript_instance == null)
|
|
2060
|
-
new OpenApiV2ToTypescript();
|
|
2061
|
-
return OpenApiV2ToTypescript_instance;
|
|
2062
|
-
}
|
|
2063
|
-
function OpenApiV2ToWirespec() {
|
|
2064
|
-
OpenApiV2ToWirespec_instance = this;
|
|
2065
|
-
this.k2g_1 = new WirespecEmitter(get_noLogger());
|
|
2066
|
-
}
|
|
2067
|
-
protoOf(OpenApiV2ToWirespec).compile = function (source) {
|
|
2068
|
-
var ast = OpenApiV2Parser_instance.n2d(source);
|
|
2069
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2070
|
-
// Inline function 'kotlin.collections.map' call
|
|
2071
|
-
var this_0 = this.k2g_1.w20(ast);
|
|
2072
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2073
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2074
|
-
var tmp0_iterator = this_0.g();
|
|
2075
|
-
while (tmp0_iterator.h()) {
|
|
2076
|
-
var item = tmp0_iterator.i();
|
|
2077
|
-
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToWirespec.compile.<anonymous>' call
|
|
2078
|
-
var file = item.nd();
|
|
2079
|
-
var value = item.od();
|
|
2080
|
-
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2081
|
-
destination.e(tmp$ret$0);
|
|
2082
|
-
}
|
|
2083
|
-
return copyToArray(destination);
|
|
2084
|
-
};
|
|
2085
|
-
var OpenApiV2ToWirespec_instance;
|
|
2086
|
-
function OpenApiV2ToWirespec_getInstance() {
|
|
2087
|
-
if (OpenApiV2ToWirespec_instance == null)
|
|
2088
|
-
new OpenApiV2ToWirespec();
|
|
2089
|
-
return OpenApiV2ToWirespec_instance;
|
|
2090
|
-
}
|
|
2091
|
-
function OpenApiV3Parser() {
|
|
2092
|
-
}
|
|
2093
|
-
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
2094
|
-
return produce(OpenApiV3Parser_instance.d2e(source));
|
|
2095
|
-
};
|
|
2096
|
-
var OpenApiV3Parser_instance_0;
|
|
2097
|
-
function OpenApiV3Parser_getInstance() {
|
|
2098
|
-
return OpenApiV3Parser_instance_0;
|
|
2099
|
-
}
|
|
2100
|
-
function OpenApiV3ToTypescript() {
|
|
2101
|
-
OpenApiV3ToTypescript_instance = this;
|
|
2102
|
-
this.l2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
2103
|
-
}
|
|
2104
|
-
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
2105
|
-
var ast = OpenApiV3Parser_instance.d2e(source);
|
|
2106
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2107
|
-
// Inline function 'kotlin.collections.map' call
|
|
2108
|
-
var this_0 = this.l2g_1.w20(ast);
|
|
2109
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2110
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2111
|
-
var tmp0_iterator = this_0.g();
|
|
2112
|
-
while (tmp0_iterator.h()) {
|
|
2113
|
-
var item = tmp0_iterator.i();
|
|
2114
|
-
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
2115
|
-
var file = item.nd();
|
|
2116
|
-
var value = item.od();
|
|
2117
|
-
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2118
|
-
destination.e(tmp$ret$0);
|
|
2119
|
-
}
|
|
2120
|
-
return copyToArray(destination);
|
|
2121
|
-
};
|
|
2122
|
-
var OpenApiV3ToTypescript_instance;
|
|
2123
|
-
function OpenApiV3ToTypescript_getInstance() {
|
|
2124
|
-
if (OpenApiV3ToTypescript_instance == null)
|
|
2125
|
-
new OpenApiV3ToTypescript();
|
|
2126
|
-
return OpenApiV3ToTypescript_instance;
|
|
2127
|
-
}
|
|
2128
|
-
function OpenApiV3ToWirespec() {
|
|
2129
|
-
OpenApiV3ToWirespec_instance = this;
|
|
2130
|
-
this.m2g_1 = new WirespecEmitter(get_noLogger());
|
|
2131
|
-
}
|
|
2132
|
-
protoOf(OpenApiV3ToWirespec).compile = function (source) {
|
|
2133
|
-
var ast = OpenApiV3Parser_instance.d2e(source);
|
|
2134
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2135
|
-
// Inline function 'kotlin.collections.map' call
|
|
2136
|
-
var this_0 = this.m2g_1.w20(ast);
|
|
2137
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2138
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2139
|
-
var tmp0_iterator = this_0.g();
|
|
2140
|
-
while (tmp0_iterator.h()) {
|
|
2141
|
-
var item = tmp0_iterator.i();
|
|
2142
|
-
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToWirespec.compile.<anonymous>' call
|
|
2143
|
-
var file = item.nd();
|
|
2144
|
-
var value = item.od();
|
|
2145
|
-
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2146
|
-
destination.e(tmp$ret$0);
|
|
2147
|
-
}
|
|
2148
|
-
return copyToArray(destination);
|
|
2149
|
-
};
|
|
2150
|
-
var OpenApiV3ToWirespec_instance;
|
|
2151
|
-
function OpenApiV3ToWirespec_getInstance() {
|
|
2152
|
-
if (OpenApiV3ToWirespec_instance == null)
|
|
2153
|
-
new OpenApiV3ToWirespec();
|
|
2154
|
-
return OpenApiV3ToWirespec_instance;
|
|
2155
|
-
}
|
|
2156
1892
|
function WsCompilationResult(result, errors) {
|
|
2157
1893
|
result = result === VOID ? null : result;
|
|
2158
1894
|
var tmp;
|
|
@@ -2166,10 +1902,10 @@
|
|
|
2166
1902
|
this.result = result;
|
|
2167
1903
|
this.errors = errors;
|
|
2168
1904
|
}
|
|
2169
|
-
protoOf(WsCompilationResult).
|
|
1905
|
+
protoOf(WsCompilationResult).n2h = function () {
|
|
2170
1906
|
return this.result;
|
|
2171
1907
|
};
|
|
2172
|
-
protoOf(WsCompilationResult).
|
|
1908
|
+
protoOf(WsCompilationResult).o2h = function () {
|
|
2173
1909
|
return this.errors;
|
|
2174
1910
|
};
|
|
2175
1911
|
function WsCompiled(value) {
|
|
@@ -2182,7 +1918,7 @@
|
|
|
2182
1918
|
this.name = name;
|
|
2183
1919
|
this.value = value;
|
|
2184
1920
|
}
|
|
2185
|
-
protoOf(WsCompiledFile).
|
|
1921
|
+
protoOf(WsCompiledFile).r2 = function () {
|
|
2186
1922
|
return this.name;
|
|
2187
1923
|
};
|
|
2188
1924
|
protoOf(WsCompiledFile).b1 = function () {
|
|
@@ -2194,10 +1930,10 @@
|
|
|
2194
1930
|
this.result = result;
|
|
2195
1931
|
this.errors = errors;
|
|
2196
1932
|
}
|
|
2197
|
-
protoOf(WsParseResult).
|
|
1933
|
+
protoOf(WsParseResult).n2h = function () {
|
|
2198
1934
|
return this.result;
|
|
2199
1935
|
};
|
|
2200
|
-
protoOf(WsParseResult).
|
|
1936
|
+
protoOf(WsParseResult).o2h = function () {
|
|
2201
1937
|
return this.errors;
|
|
2202
1938
|
};
|
|
2203
1939
|
function WsStringResult(result, errors) {
|
|
@@ -2206,20 +1942,20 @@
|
|
|
2206
1942
|
this.result = result;
|
|
2207
1943
|
this.errors = errors;
|
|
2208
1944
|
}
|
|
2209
|
-
protoOf(WsStringResult).
|
|
1945
|
+
protoOf(WsStringResult).n2h = function () {
|
|
2210
1946
|
return this.result;
|
|
2211
1947
|
};
|
|
2212
|
-
protoOf(WsStringResult).
|
|
1948
|
+
protoOf(WsStringResult).o2h = function () {
|
|
2213
1949
|
return this.errors;
|
|
2214
1950
|
};
|
|
2215
1951
|
function WsEmitted(typeName, result) {
|
|
2216
1952
|
this.typeName = typeName;
|
|
2217
1953
|
this.result = result;
|
|
2218
1954
|
}
|
|
2219
|
-
protoOf(WsEmitted).
|
|
1955
|
+
protoOf(WsEmitted).p2h = function () {
|
|
2220
1956
|
return this.typeName;
|
|
2221
1957
|
};
|
|
2222
|
-
protoOf(WsEmitted).
|
|
1958
|
+
protoOf(WsEmitted).n2h = function () {
|
|
2223
1959
|
return this.result;
|
|
2224
1960
|
};
|
|
2225
1961
|
function produce_14(_this__u8e3s4) {
|
|
@@ -2227,19 +1963,19 @@
|
|
|
2227
1963
|
if (_this__u8e3s4 instanceof Left) {
|
|
2228
1964
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2229
1965
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2230
|
-
var this_0 = _this__u8e3s4.
|
|
1966
|
+
var this_0 = _this__u8e3s4.tj_1;
|
|
2231
1967
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2232
|
-
var it = this_0.
|
|
2233
|
-
var tmp_0 =
|
|
1968
|
+
var it = this_0.dk_1;
|
|
1969
|
+
var tmp_0 = produce_20(it);
|
|
2234
1970
|
// Inline function 'kotlin.collections.map' call
|
|
2235
|
-
var this_1 = this_0.
|
|
1971
|
+
var this_1 = this_0.ek_1;
|
|
2236
1972
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2237
1973
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2238
1974
|
var tmp0_iterator = this_1.g();
|
|
2239
1975
|
while (tmp0_iterator.h()) {
|
|
2240
1976
|
var item = tmp0_iterator.i();
|
|
2241
1977
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2242
|
-
var tmp$ret$1 =
|
|
1978
|
+
var tmp$ret$1 = produce_20(item);
|
|
2243
1979
|
destination.e(tmp$ret$1);
|
|
2244
1980
|
}
|
|
2245
1981
|
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
@@ -2249,14 +1985,14 @@
|
|
|
2249
1985
|
if (_this__u8e3s4 instanceof Right) {
|
|
2250
1986
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2251
1987
|
// Inline function 'kotlin.collections.map' call
|
|
2252
|
-
var this_3 = _this__u8e3s4.
|
|
1988
|
+
var this_3 = _this__u8e3s4.zj_1;
|
|
2253
1989
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2254
1990
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2255
1991
|
var tmp0_iterator_0 = this_3.g();
|
|
2256
1992
|
while (tmp0_iterator_0.h()) {
|
|
2257
1993
|
var item_0 = tmp0_iterator_0.i();
|
|
2258
1994
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2259
|
-
var tmp$ret$6 =
|
|
1995
|
+
var tmp$ret$6 = produce(item_0);
|
|
2260
1996
|
destination_0.e(tmp$ret$6);
|
|
2261
1997
|
}
|
|
2262
1998
|
var tmp$ret$9 = copyToArray(destination_0);
|
|
@@ -2272,40 +2008,27 @@
|
|
|
2272
2008
|
if (_this__u8e3s4 instanceof Left) {
|
|
2273
2009
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2274
2010
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2275
|
-
var this_0 = _this__u8e3s4.
|
|
2011
|
+
var this_0 = _this__u8e3s4.tj_1;
|
|
2276
2012
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2277
|
-
var it = this_0.
|
|
2278
|
-
var tmp_0 =
|
|
2013
|
+
var it = this_0.dk_1;
|
|
2014
|
+
var tmp_0 = produce_20(it);
|
|
2279
2015
|
// Inline function 'kotlin.collections.map' call
|
|
2280
|
-
var this_1 = this_0.
|
|
2016
|
+
var this_1 = this_0.ek_1;
|
|
2281
2017
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2282
2018
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2283
2019
|
var tmp0_iterator = this_1.g();
|
|
2284
2020
|
while (tmp0_iterator.h()) {
|
|
2285
2021
|
var item = tmp0_iterator.i();
|
|
2286
2022
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2287
|
-
var tmp$ret$1 =
|
|
2023
|
+
var tmp$ret$1 = produce_20(item);
|
|
2288
2024
|
destination.e(tmp$ret$1);
|
|
2289
2025
|
}
|
|
2290
2026
|
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2291
2027
|
var tmp$ret$5 = copyToArray(this_2);
|
|
2292
|
-
tmp = new
|
|
2028
|
+
tmp = new WsStringResult(VOID, tmp$ret$5);
|
|
2293
2029
|
} else {
|
|
2294
2030
|
if (_this__u8e3s4 instanceof Right) {
|
|
2295
|
-
|
|
2296
|
-
// Inline function 'kotlin.collections.map' call
|
|
2297
|
-
var this_3 = _this__u8e3s4.rj_1;
|
|
2298
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2299
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2300
|
-
var tmp0_iterator_0 = this_3.g();
|
|
2301
|
-
while (tmp0_iterator_0.h()) {
|
|
2302
|
-
var item_0 = tmp0_iterator_0.i();
|
|
2303
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2304
|
-
var tmp$ret$6 = produce_16(item_0);
|
|
2305
|
-
destination_0.e(tmp$ret$6);
|
|
2306
|
-
}
|
|
2307
|
-
var tmp$ret$9 = copyToArray(destination_0);
|
|
2308
|
-
tmp = new WsCompilationResult(new WsCompiled(tmp$ret$9));
|
|
2031
|
+
tmp = new WsStringResult(_this__u8e3s4.zj_1);
|
|
2309
2032
|
} else {
|
|
2310
2033
|
noWhenBranchMatchedException();
|
|
2311
2034
|
}
|
|
@@ -2313,39 +2036,7 @@
|
|
|
2313
2036
|
return tmp;
|
|
2314
2037
|
}
|
|
2315
2038
|
function produce_16(_this__u8e3s4) {
|
|
2316
|
-
return new WsEmitted(_this__u8e3s4.
|
|
2317
|
-
}
|
|
2318
|
-
function produce_17(_this__u8e3s4) {
|
|
2319
|
-
var tmp;
|
|
2320
|
-
if (_this__u8e3s4 instanceof Left) {
|
|
2321
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2322
|
-
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2323
|
-
var this_0 = _this__u8e3s4.lj_1;
|
|
2324
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2325
|
-
var it = this_0.vj_1;
|
|
2326
|
-
var tmp_0 = produce_22(it);
|
|
2327
|
-
// Inline function 'kotlin.collections.map' call
|
|
2328
|
-
var this_1 = this_0.wj_1;
|
|
2329
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2330
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2331
|
-
var tmp0_iterator = this_1.g();
|
|
2332
|
-
while (tmp0_iterator.h()) {
|
|
2333
|
-
var item = tmp0_iterator.i();
|
|
2334
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2335
|
-
var tmp$ret$1 = produce_22(item);
|
|
2336
|
-
destination.e(tmp$ret$1);
|
|
2337
|
-
}
|
|
2338
|
-
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2339
|
-
var tmp$ret$5 = copyToArray(this_2);
|
|
2340
|
-
tmp = new WsStringResult(VOID, tmp$ret$5);
|
|
2341
|
-
} else {
|
|
2342
|
-
if (_this__u8e3s4 instanceof Right) {
|
|
2343
|
-
tmp = new WsStringResult(_this__u8e3s4.rj_1);
|
|
2344
|
-
} else {
|
|
2345
|
-
noWhenBranchMatchedException();
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
return tmp;
|
|
2039
|
+
return new WsEmitted(_this__u8e3s4.r24_1, _this__u8e3s4.s24_1);
|
|
2349
2040
|
}
|
|
2350
2041
|
function WsTokenResult(tokens, error) {
|
|
2351
2042
|
tokens = tokens === VOID ? null : tokens;
|
|
@@ -2353,25 +2044,25 @@
|
|
|
2353
2044
|
this.tokens = tokens;
|
|
2354
2045
|
this.error = error;
|
|
2355
2046
|
}
|
|
2356
|
-
protoOf(WsTokenResult).
|
|
2047
|
+
protoOf(WsTokenResult).q2h = function () {
|
|
2357
2048
|
return this.tokens;
|
|
2358
2049
|
};
|
|
2359
|
-
protoOf(WsTokenResult).
|
|
2050
|
+
protoOf(WsTokenResult).r2h = function () {
|
|
2360
2051
|
return this.error;
|
|
2361
2052
|
};
|
|
2362
|
-
protoOf(WsTokenResult).
|
|
2053
|
+
protoOf(WsTokenResult).od = function () {
|
|
2363
2054
|
return this.tokens;
|
|
2364
2055
|
};
|
|
2365
|
-
protoOf(WsTokenResult).
|
|
2056
|
+
protoOf(WsTokenResult).pd = function () {
|
|
2366
2057
|
return this.error;
|
|
2367
2058
|
};
|
|
2368
|
-
protoOf(WsTokenResult).
|
|
2059
|
+
protoOf(WsTokenResult).s2h = function (tokens, error) {
|
|
2369
2060
|
return new WsTokenResult(tokens, error);
|
|
2370
2061
|
};
|
|
2371
2062
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
2372
2063
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
2373
2064
|
error = error === VOID ? this.error : error;
|
|
2374
|
-
return this.
|
|
2065
|
+
return this.s2h(tokens, error);
|
|
2375
2066
|
};
|
|
2376
2067
|
protoOf(WsTokenResult).toString = function () {
|
|
2377
2068
|
return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
|
|
@@ -2413,15 +2104,15 @@
|
|
|
2413
2104
|
protoOf(WsTokens).hashCode = function () {
|
|
2414
2105
|
return contentHashCode(this.value);
|
|
2415
2106
|
};
|
|
2416
|
-
protoOf(WsTokens).
|
|
2107
|
+
protoOf(WsTokens).od = function () {
|
|
2417
2108
|
return this.value;
|
|
2418
2109
|
};
|
|
2419
|
-
protoOf(WsTokens).
|
|
2110
|
+
protoOf(WsTokens).t2h = function (value) {
|
|
2420
2111
|
return new WsTokens(value);
|
|
2421
2112
|
};
|
|
2422
2113
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
2423
2114
|
value = value === VOID ? this.value : value;
|
|
2424
|
-
return this.
|
|
2115
|
+
return this.t2h(value);
|
|
2425
2116
|
};
|
|
2426
2117
|
protoOf(WsTokens).toString = function () {
|
|
2427
2118
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -2432,32 +2123,32 @@
|
|
|
2432
2123
|
this.value = value;
|
|
2433
2124
|
this.coordinates = coordinates;
|
|
2434
2125
|
}
|
|
2435
|
-
protoOf(WsToken).
|
|
2126
|
+
protoOf(WsToken).f2h = function () {
|
|
2436
2127
|
return this.type;
|
|
2437
2128
|
};
|
|
2438
2129
|
protoOf(WsToken).b1 = function () {
|
|
2439
2130
|
return this.value;
|
|
2440
2131
|
};
|
|
2441
|
-
protoOf(WsToken).
|
|
2132
|
+
protoOf(WsToken).u2h = function () {
|
|
2442
2133
|
return this.coordinates;
|
|
2443
2134
|
};
|
|
2444
|
-
protoOf(WsToken).
|
|
2135
|
+
protoOf(WsToken).od = function () {
|
|
2445
2136
|
return this.type;
|
|
2446
2137
|
};
|
|
2447
|
-
protoOf(WsToken).
|
|
2138
|
+
protoOf(WsToken).pd = function () {
|
|
2448
2139
|
return this.value;
|
|
2449
2140
|
};
|
|
2450
|
-
protoOf(WsToken).
|
|
2141
|
+
protoOf(WsToken).ph = function () {
|
|
2451
2142
|
return this.coordinates;
|
|
2452
2143
|
};
|
|
2453
|
-
protoOf(WsToken).
|
|
2144
|
+
protoOf(WsToken).v2h = function (type, value, coordinates) {
|
|
2454
2145
|
return new WsToken(type, value, coordinates);
|
|
2455
2146
|
};
|
|
2456
2147
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
2457
2148
|
type = type === VOID ? this.type : type;
|
|
2458
2149
|
value = value === VOID ? this.value : value;
|
|
2459
2150
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
2460
|
-
return this.
|
|
2151
|
+
return this.v2h(type, value, coordinates);
|
|
2461
2152
|
};
|
|
2462
2153
|
protoOf(WsToken).toString = function () {
|
|
2463
2154
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
|
|
@@ -2490,32 +2181,32 @@
|
|
|
2490
2181
|
this.position = position;
|
|
2491
2182
|
this.idxAndLength = idxAndLength;
|
|
2492
2183
|
}
|
|
2493
|
-
protoOf(WsCoordinates).
|
|
2184
|
+
protoOf(WsCoordinates).w2h = function () {
|
|
2494
2185
|
return this.line;
|
|
2495
2186
|
};
|
|
2496
|
-
protoOf(WsCoordinates).
|
|
2187
|
+
protoOf(WsCoordinates).x2h = function () {
|
|
2497
2188
|
return this.position;
|
|
2498
2189
|
};
|
|
2499
|
-
protoOf(WsCoordinates).
|
|
2190
|
+
protoOf(WsCoordinates).y2h = function () {
|
|
2500
2191
|
return this.idxAndLength;
|
|
2501
2192
|
};
|
|
2502
|
-
protoOf(WsCoordinates).
|
|
2193
|
+
protoOf(WsCoordinates).od = function () {
|
|
2503
2194
|
return this.line;
|
|
2504
2195
|
};
|
|
2505
|
-
protoOf(WsCoordinates).
|
|
2196
|
+
protoOf(WsCoordinates).pd = function () {
|
|
2506
2197
|
return this.position;
|
|
2507
2198
|
};
|
|
2508
|
-
protoOf(WsCoordinates).
|
|
2199
|
+
protoOf(WsCoordinates).ph = function () {
|
|
2509
2200
|
return this.idxAndLength;
|
|
2510
2201
|
};
|
|
2511
|
-
protoOf(WsCoordinates).
|
|
2202
|
+
protoOf(WsCoordinates).z2h = function (line, position, idxAndLength) {
|
|
2512
2203
|
return new WsCoordinates(line, position, idxAndLength);
|
|
2513
2204
|
};
|
|
2514
2205
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
2515
2206
|
line = line === VOID ? this.line : line;
|
|
2516
2207
|
position = position === VOID ? this.position : position;
|
|
2517
2208
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
2518
|
-
return this.
|
|
2209
|
+
return this.z2h(line, position, idxAndLength);
|
|
2519
2210
|
};
|
|
2520
2211
|
protoOf(WsCoordinates).toString = function () {
|
|
2521
2212
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
|
|
@@ -2546,25 +2237,25 @@
|
|
|
2546
2237
|
this.idx = idx;
|
|
2547
2238
|
this.length = length;
|
|
2548
2239
|
}
|
|
2549
|
-
protoOf(WsIndex).
|
|
2240
|
+
protoOf(WsIndex).a2i = function () {
|
|
2550
2241
|
return this.idx;
|
|
2551
2242
|
};
|
|
2552
2243
|
protoOf(WsIndex).a = function () {
|
|
2553
2244
|
return this.length;
|
|
2554
2245
|
};
|
|
2555
|
-
protoOf(WsIndex).
|
|
2246
|
+
protoOf(WsIndex).od = function () {
|
|
2556
2247
|
return this.idx;
|
|
2557
2248
|
};
|
|
2558
|
-
protoOf(WsIndex).
|
|
2249
|
+
protoOf(WsIndex).pd = function () {
|
|
2559
2250
|
return this.length;
|
|
2560
2251
|
};
|
|
2561
|
-
protoOf(WsIndex).
|
|
2252
|
+
protoOf(WsIndex).b2i = function (idx, length) {
|
|
2562
2253
|
return new WsIndex(idx, length);
|
|
2563
2254
|
};
|
|
2564
2255
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
2565
2256
|
idx = idx === VOID ? this.idx : idx;
|
|
2566
2257
|
length = length === VOID ? this.length : length;
|
|
2567
|
-
return this.
|
|
2258
|
+
return this.b2i(idx, length);
|
|
2568
2259
|
};
|
|
2569
2260
|
protoOf(WsIndex).toString = function () {
|
|
2570
2261
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2586,29 +2277,14 @@
|
|
|
2586
2277
|
return false;
|
|
2587
2278
|
return true;
|
|
2588
2279
|
};
|
|
2280
|
+
function produce_17(_this__u8e3s4) {
|
|
2281
|
+
return new WsToken(_this__u8e3s4.o2b_1.q2b(), _this__u8e3s4.n2b_1, produce_18(_this__u8e3s4.p2b_1));
|
|
2282
|
+
}
|
|
2589
2283
|
function produce_18(_this__u8e3s4) {
|
|
2590
|
-
|
|
2591
|
-
// Inline function 'kotlin.collections.map' call
|
|
2592
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
2593
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
2594
|
-
var tmp0_iterator = _this__u8e3s4.g();
|
|
2595
|
-
while (tmp0_iterator.h()) {
|
|
2596
|
-
var item = tmp0_iterator.i();
|
|
2597
|
-
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2598
|
-
var tmp$ret$0 = produce_19(item);
|
|
2599
|
-
destination.e(tmp$ret$0);
|
|
2600
|
-
}
|
|
2601
|
-
var tmp$ret$3 = copyToArray(destination);
|
|
2602
|
-
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
2284
|
+
return new WsCoordinates(_this__u8e3s4.r2b_1, _this__u8e3s4.s2b_1, produce_19(_this__u8e3s4.t2b_1));
|
|
2603
2285
|
}
|
|
2604
2286
|
function produce_19(_this__u8e3s4) {
|
|
2605
|
-
return new
|
|
2606
|
-
}
|
|
2607
|
-
function produce_20(_this__u8e3s4) {
|
|
2608
|
-
return new WsCoordinates(_this__u8e3s4.i2a_1, _this__u8e3s4.j2a_1, produce_21(_this__u8e3s4.k2a_1));
|
|
2609
|
-
}
|
|
2610
|
-
function produce_21(_this__u8e3s4) {
|
|
2611
|
-
return new WsIndex(_this__u8e3s4.t2b_1, _this__u8e3s4.u2b_1);
|
|
2287
|
+
return new WsIndex(_this__u8e3s4.c2d_1, _this__u8e3s4.d2d_1);
|
|
2612
2288
|
}
|
|
2613
2289
|
function WsError(line, position, index, length, value) {
|
|
2614
2290
|
this.line = line;
|
|
@@ -2617,13 +2293,13 @@
|
|
|
2617
2293
|
this.length = length;
|
|
2618
2294
|
this.value = value;
|
|
2619
2295
|
}
|
|
2620
|
-
protoOf(WsError).
|
|
2296
|
+
protoOf(WsError).w2h = function () {
|
|
2621
2297
|
return this.line;
|
|
2622
2298
|
};
|
|
2623
|
-
protoOf(WsError).
|
|
2299
|
+
protoOf(WsError).x2h = function () {
|
|
2624
2300
|
return this.position;
|
|
2625
2301
|
};
|
|
2626
|
-
protoOf(WsError).
|
|
2302
|
+
protoOf(WsError).c2i = function () {
|
|
2627
2303
|
return this.index;
|
|
2628
2304
|
};
|
|
2629
2305
|
protoOf(WsError).a = function () {
|
|
@@ -2632,22 +2308,22 @@
|
|
|
2632
2308
|
protoOf(WsError).b1 = function () {
|
|
2633
2309
|
return this.value;
|
|
2634
2310
|
};
|
|
2635
|
-
protoOf(WsError).
|
|
2311
|
+
protoOf(WsError).od = function () {
|
|
2636
2312
|
return this.line;
|
|
2637
2313
|
};
|
|
2638
|
-
protoOf(WsError).
|
|
2314
|
+
protoOf(WsError).pd = function () {
|
|
2639
2315
|
return this.position;
|
|
2640
2316
|
};
|
|
2641
|
-
protoOf(WsError).
|
|
2317
|
+
protoOf(WsError).ph = function () {
|
|
2642
2318
|
return this.index;
|
|
2643
2319
|
};
|
|
2644
|
-
protoOf(WsError).
|
|
2320
|
+
protoOf(WsError).a2g = function () {
|
|
2645
2321
|
return this.length;
|
|
2646
2322
|
};
|
|
2647
|
-
protoOf(WsError).
|
|
2323
|
+
protoOf(WsError).b2g = function () {
|
|
2648
2324
|
return this.value;
|
|
2649
2325
|
};
|
|
2650
|
-
protoOf(WsError).
|
|
2326
|
+
protoOf(WsError).d2i = function (line, position, index, length, value) {
|
|
2651
2327
|
return new WsError(line, position, index, length, value);
|
|
2652
2328
|
};
|
|
2653
2329
|
protoOf(WsError).copy = function (line, position, index, length, value, $super) {
|
|
@@ -2656,7 +2332,7 @@
|
|
|
2656
2332
|
index = index === VOID ? this.index : index;
|
|
2657
2333
|
length = length === VOID ? this.length : length;
|
|
2658
2334
|
value = value === VOID ? this.value : value;
|
|
2659
|
-
return this.
|
|
2335
|
+
return this.d2i(line, position, index, length, value);
|
|
2660
2336
|
};
|
|
2661
2337
|
protoOf(WsError).toString = function () {
|
|
2662
2338
|
return 'WsError(line=' + this.line + ', position=' + this.position + ', index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2687,62 +2363,58 @@
|
|
|
2687
2363
|
return false;
|
|
2688
2364
|
return true;
|
|
2689
2365
|
};
|
|
2690
|
-
function
|
|
2691
|
-
var tmp = _this__u8e3s4.
|
|
2366
|
+
function produce_20(_this__u8e3s4) {
|
|
2367
|
+
var tmp = _this__u8e3s4.u2b_1.t2b_1.c2d_1 - _this__u8e3s4.u2b_1.t2b_1.d2d_1 | 0;
|
|
2692
2368
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2693
|
-
return new WsError(_this__u8e3s4.
|
|
2369
|
+
return new WsError(_this__u8e3s4.u2b_1.r2b_1, _this__u8e3s4.u2b_1.s2b_1, tmp, _this__u8e3s4.u2b_1.t2b_1.d2d_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2694
2370
|
}
|
|
2695
2371
|
//region block: post-declaration
|
|
2696
2372
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
2697
|
-
return this.
|
|
2373
|
+
return this.q2c();
|
|
2698
2374
|
});
|
|
2699
2375
|
defineProp(protoOf(WsEndpoint), 'identifier', function () {
|
|
2700
|
-
return this.
|
|
2376
|
+
return this.q2c();
|
|
2701
2377
|
});
|
|
2702
2378
|
defineProp(protoOf(WsEnum), 'identifier', function () {
|
|
2703
|
-
return this.
|
|
2379
|
+
return this.q2c();
|
|
2704
2380
|
});
|
|
2705
2381
|
defineProp(protoOf(WsUnion), 'identifier', function () {
|
|
2706
|
-
return this.
|
|
2382
|
+
return this.q2c();
|
|
2707
2383
|
});
|
|
2708
2384
|
defineProp(protoOf(WsChannel), 'identifier', function () {
|
|
2709
|
-
return this.
|
|
2385
|
+
return this.q2c();
|
|
2710
2386
|
});
|
|
2711
2387
|
defineProp(protoOf(WsRefined), 'identifier', function () {
|
|
2712
|
-
return this.
|
|
2388
|
+
return this.q2c();
|
|
2713
2389
|
});
|
|
2714
|
-
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).
|
|
2715
|
-
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).
|
|
2390
|
+
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).r2);
|
|
2391
|
+
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).s2);
|
|
2716
2392
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
2717
|
-
return this.
|
|
2393
|
+
return this.x22();
|
|
2718
2394
|
});
|
|
2719
2395
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2720
|
-
return this.
|
|
2396
|
+
return this.w2g();
|
|
2721
2397
|
});
|
|
2722
2398
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2723
|
-
return this.
|
|
2399
|
+
return this.x22();
|
|
2724
2400
|
});
|
|
2725
2401
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2726
|
-
return this.
|
|
2402
|
+
return this.w2g();
|
|
2727
2403
|
});
|
|
2728
2404
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2729
|
-
return this.
|
|
2405
|
+
return this.x22();
|
|
2730
2406
|
});
|
|
2731
2407
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2732
|
-
return this.
|
|
2408
|
+
return this.w2g();
|
|
2733
2409
|
});
|
|
2734
2410
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2735
|
-
return this.
|
|
2411
|
+
return this.x22();
|
|
2736
2412
|
});
|
|
2737
2413
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2738
|
-
return this.
|
|
2414
|
+
return this.w2g();
|
|
2739
2415
|
});
|
|
2740
|
-
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).
|
|
2741
|
-
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).
|
|
2742
|
-
//endregion
|
|
2743
|
-
//region block: init
|
|
2744
|
-
OpenApiV2Parser_instance_0 = new OpenApiV2Parser();
|
|
2745
|
-
OpenApiV3Parser_instance_0 = new OpenApiV3Parser();
|
|
2416
|
+
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).r2);
|
|
2417
|
+
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).s2);
|
|
2746
2418
|
//endregion
|
|
2747
2419
|
//region block: exports
|
|
2748
2420
|
function $jsExportAll$(_) {
|
|
@@ -2793,28 +2465,6 @@
|
|
|
2793
2465
|
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
2794
2466
|
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
2795
2467
|
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
2796
|
-
$community$flock$wirespec$compiler$lib.Compiler = Compiler;
|
|
2797
|
-
$community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
|
|
2798
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance);
|
|
2799
|
-
$community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
|
|
2800
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_0);
|
|
2801
|
-
$community$flock$wirespec$compiler$lib.WsToScala = WsToScala;
|
|
2802
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_1);
|
|
2803
|
-
$community$flock$wirespec$compiler$lib.WsToJava = WsToJava;
|
|
2804
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_2);
|
|
2805
|
-
$community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
|
|
2806
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_3);
|
|
2807
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance);
|
|
2808
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance);
|
|
2809
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance);
|
|
2810
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3Parser', OpenApiV3Parser_getInstance);
|
|
2811
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToTypescript', OpenApiV3ToTypescript_getInstance);
|
|
2812
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToWirespec', OpenApiV3ToWirespec_getInstance);
|
|
2813
|
-
var $community = _.community || (_.community = {});
|
|
2814
|
-
var $community$flock = $community.flock || ($community.flock = {});
|
|
2815
|
-
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
2816
|
-
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
2817
|
-
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
2818
2468
|
$community$flock$wirespec$compiler$lib.WsCompilationResult = WsCompilationResult;
|
|
2819
2469
|
$community$flock$wirespec$compiler$lib.WsCompiled = WsCompiled;
|
|
2820
2470
|
$community$flock$wirespec$compiler$lib.WsCompiledFile = WsCompiledFile;
|
|
@@ -2843,10 +2493,11 @@
|
|
|
2843
2493
|
_.$_$ = _.$_$ || {};
|
|
2844
2494
|
_.$_$.a = consume;
|
|
2845
2495
|
_.$_$.b = produce_14;
|
|
2846
|
-
_.$_$.c =
|
|
2847
|
-
_.$_$.d =
|
|
2848
|
-
_.$_$.e =
|
|
2849
|
-
_.$_$.f =
|
|
2496
|
+
_.$_$.c = produce_0;
|
|
2497
|
+
_.$_$.d = produce_15;
|
|
2498
|
+
_.$_$.e = produce;
|
|
2499
|
+
_.$_$.f = produce_17;
|
|
2500
|
+
_.$_$.g = produce_16;
|
|
2850
2501
|
//endregion
|
|
2851
2502
|
return _;
|
|
2852
2503
|
}));
|