@flock/wirespec 0.9.11 → 0.9.13
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 +14 -15
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-continuations.js +2 -3
- package/arrow-arrow-continuations.js.map +1 -1
- package/arrow-arrow-core.js +100 -105
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1936 -2057
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +479 -504
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2368 -2480
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +5695 -5579
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +2051 -2108
- package/kotlin-rgxgen.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2155 -2140
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1636 -1700
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +2218 -2412
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +2322 -2431
- package/mordant-mordant.js.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2348 -2609
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +641 -678
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +1497 -1518
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-generator.js +86 -91
- package/wirespec-src-generator.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +137 -151
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +281 -301
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +1 -1
- package/wirespec-src-plugin-npm.js +88 -99
- package/wirespec-src-plugin-npm.js.map +1 -1
|
@@ -22,24 +22,25 @@
|
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
30
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
31
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
32
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
33
|
-
var toString = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.qa;
|
|
26
|
+
var interfaceMeta = kotlin_kotlin.$_$.v9;
|
|
27
|
+
var setMetadataFor = kotlin_kotlin.$_$.ra;
|
|
28
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
29
|
+
var getStringHashCode = kotlin_kotlin.$_$.t9;
|
|
30
|
+
var THROW_CCE = kotlin_kotlin.$_$.ye;
|
|
31
|
+
var defineProp = kotlin_kotlin.$_$.n9;
|
|
32
|
+
var classMeta = kotlin_kotlin.$_$.l9;
|
|
33
|
+
var toString = kotlin_kotlin.$_$.va;
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.u9;
|
|
35
|
+
var equals = kotlin_kotlin.$_$.o9;
|
|
36
|
+
var THROW_IAE = kotlin_kotlin.$_$.ze;
|
|
37
|
+
var Unit_instance = kotlin_kotlin.$_$.i4;
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.oe;
|
|
39
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.q9;
|
|
40
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
41
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
42
|
+
var copyToArray = kotlin_kotlin.$_$.v5;
|
|
43
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tf;
|
|
43
44
|
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.v1;
|
|
44
45
|
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.h;
|
|
45
46
|
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
@@ -54,11 +55,11 @@
|
|
|
54
55
|
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.u;
|
|
55
56
|
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.r;
|
|
56
57
|
var _Comment___init__impl__cg8s2u = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
|
|
57
|
-
var
|
|
58
|
-
var toSet = kotlin_kotlin.$_$.
|
|
58
|
+
var Companion_instance = kotlin_community_flock_wirespec_compiler_core.$_$.x1;
|
|
59
|
+
var toSet = kotlin_kotlin.$_$.o8;
|
|
59
60
|
var Validator = kotlin_community_flock_wirespec_compiler_core.$_$.x;
|
|
60
61
|
var Shape = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
61
|
-
var toSet_0 = kotlin_kotlin.$_$.
|
|
62
|
+
var toSet_0 = kotlin_kotlin.$_$.n8;
|
|
62
63
|
var Method_GET_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.j1;
|
|
63
64
|
var Method_POST_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.n1;
|
|
64
65
|
var Method_PUT_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
|
|
77
78
|
var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
|
|
78
79
|
var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
|
|
79
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
80
|
+
var objectMeta = kotlin_kotlin.$_$.pa;
|
|
80
81
|
var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.y1;
|
|
81
82
|
var compile = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
|
|
82
83
|
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
@@ -86,13 +87,13 @@
|
|
|
86
87
|
var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
|
|
87
88
|
var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
|
|
88
89
|
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
89
|
-
var
|
|
90
|
-
var
|
|
90
|
+
var Companion_instance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.c;
|
|
91
|
+
var Companion_instance_1 = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
|
|
91
92
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
92
93
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
93
94
|
var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
|
|
94
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
95
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
95
|
+
var contentEquals = kotlin_kotlin.$_$.j5;
|
|
96
|
+
var contentHashCode = kotlin_kotlin.$_$.k5;
|
|
96
97
|
//endregion
|
|
97
98
|
//region block: pre-declaration
|
|
98
99
|
setMetadataFor(WsNode, 'WsNode', interfaceMeta);
|
|
@@ -122,15 +123,15 @@
|
|
|
122
123
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
123
124
|
setMetadataFor(Compiler, 'Compiler', classMeta);
|
|
124
125
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
125
|
-
setMetadataFor(WsToKotlin, 'WsToKotlin', classMeta, Compiler);
|
|
126
|
+
setMetadataFor(WsToKotlin, 'WsToKotlin', classMeta, Compiler, VOID, WsToKotlin);
|
|
126
127
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
127
|
-
setMetadataFor(WsToTypeScript, 'WsToTypeScript', classMeta, Compiler);
|
|
128
|
+
setMetadataFor(WsToTypeScript, 'WsToTypeScript', classMeta, Compiler, VOID, WsToTypeScript);
|
|
128
129
|
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
129
|
-
setMetadataFor(WsToScala, 'WsToScala', classMeta, Compiler);
|
|
130
|
+
setMetadataFor(WsToScala, 'WsToScala', classMeta, Compiler, VOID, WsToScala);
|
|
130
131
|
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
131
|
-
setMetadataFor(WsToJava, 'WsToJava', classMeta, Compiler);
|
|
132
|
+
setMetadataFor(WsToJava, 'WsToJava', classMeta, Compiler, VOID, WsToJava);
|
|
132
133
|
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
133
|
-
setMetadataFor(WsToWirespec, 'WsToWirespec', classMeta, Compiler);
|
|
134
|
+
setMetadataFor(WsToWirespec, 'WsToWirespec', classMeta, Compiler, VOID, WsToWirespec);
|
|
134
135
|
setMetadataFor(OpenApiV2Parser, 'OpenApiV2Parser', objectMeta);
|
|
135
136
|
setMetadataFor(OpenApiV2ToTypescript$logger$1, VOID, classMeta, Logger);
|
|
136
137
|
setMetadataFor(OpenApiV2ToTypescript, 'OpenApiV2ToTypescript', objectMeta);
|
|
@@ -141,58 +142,58 @@
|
|
|
141
142
|
setMetadataFor(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript', objectMeta);
|
|
142
143
|
setMetadataFor(OpenApiV3ToWirespec$logger$1, VOID, classMeta, Logger);
|
|
143
144
|
setMetadataFor(OpenApiV3ToWirespec, 'OpenApiV3ToWirespec', objectMeta);
|
|
144
|
-
setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta);
|
|
145
|
+
setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta, VOID, VOID, WsCompilationResult);
|
|
145
146
|
setMetadataFor(WsCompiled, 'WsCompiled', classMeta);
|
|
146
147
|
setMetadataFor(WsCompiledFile, 'WsCompiledFile', classMeta);
|
|
147
|
-
setMetadataFor(WsParseResult, 'WsParseResult', classMeta);
|
|
148
|
-
setMetadataFor(WsStringResult, 'WsStringResult', classMeta);
|
|
148
|
+
setMetadataFor(WsParseResult, 'WsParseResult', classMeta, VOID, VOID, WsParseResult);
|
|
149
|
+
setMetadataFor(WsStringResult, 'WsStringResult', classMeta, VOID, VOID, WsStringResult);
|
|
149
150
|
setMetadataFor(WsEmitted, 'WsEmitted', classMeta);
|
|
150
|
-
setMetadataFor(WsTokenResult, 'WsTokenResult', classMeta);
|
|
151
|
+
setMetadataFor(WsTokenResult, 'WsTokenResult', classMeta, VOID, VOID, WsTokenResult);
|
|
151
152
|
setMetadataFor(WsTokens, 'WsTokens', classMeta);
|
|
152
153
|
setMetadataFor(WsToken, 'WsToken', classMeta);
|
|
153
|
-
setMetadataFor(WsCoordinates, 'WsCoordinates', classMeta);
|
|
154
|
-
setMetadataFor(WsIndex, 'WsIndex', classMeta);
|
|
154
|
+
setMetadataFor(WsCoordinates, 'WsCoordinates', classMeta, VOID, VOID, WsCoordinates);
|
|
155
|
+
setMetadataFor(WsIndex, 'WsIndex', classMeta, VOID, VOID, WsIndex);
|
|
155
156
|
setMetadataFor(WsError, 'WsError', classMeta);
|
|
156
157
|
//endregion
|
|
157
158
|
function WsNode() {
|
|
158
159
|
}
|
|
159
160
|
function WsType(identifier, comment, shape) {
|
|
160
|
-
this.
|
|
161
|
+
this.k2d_1 = identifier;
|
|
161
162
|
this.comment = comment;
|
|
162
163
|
this.shape = shape;
|
|
163
164
|
}
|
|
164
|
-
protoOf(WsType).
|
|
165
|
-
return this.
|
|
165
|
+
protoOf(WsType).a22 = function () {
|
|
166
|
+
return this.k2d_1;
|
|
166
167
|
};
|
|
167
|
-
protoOf(WsType).
|
|
168
|
+
protoOf(WsType).l2d = function () {
|
|
168
169
|
return this.comment;
|
|
169
170
|
};
|
|
170
|
-
protoOf(WsType).
|
|
171
|
+
protoOf(WsType).m2d = function () {
|
|
171
172
|
return this.shape;
|
|
172
173
|
};
|
|
173
|
-
protoOf(WsType).
|
|
174
|
-
return this.
|
|
174
|
+
protoOf(WsType).jd = function () {
|
|
175
|
+
return this.k2d_1;
|
|
175
176
|
};
|
|
176
|
-
protoOf(WsType).
|
|
177
|
+
protoOf(WsType).kd = function () {
|
|
177
178
|
return this.comment;
|
|
178
179
|
};
|
|
179
|
-
protoOf(WsType).
|
|
180
|
+
protoOf(WsType).dh = function () {
|
|
180
181
|
return this.shape;
|
|
181
182
|
};
|
|
182
|
-
protoOf(WsType).
|
|
183
|
+
protoOf(WsType).n2d = function (identifier, comment, shape) {
|
|
183
184
|
return new WsType(identifier, comment, shape);
|
|
184
185
|
};
|
|
185
186
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
186
|
-
identifier = identifier === VOID ? this.
|
|
187
|
+
identifier = identifier === VOID ? this.k2d_1 : identifier;
|
|
187
188
|
comment = comment === VOID ? this.comment : comment;
|
|
188
189
|
shape = shape === VOID ? this.shape : shape;
|
|
189
|
-
return this.
|
|
190
|
+
return this.n2d(identifier, comment, shape);
|
|
190
191
|
};
|
|
191
192
|
protoOf(WsType).toString = function () {
|
|
192
|
-
return 'WsType(identifier=' + this.
|
|
193
|
+
return 'WsType(identifier=' + this.k2d_1 + ', comment=' + this.comment + ', shape=' + this.shape + ')';
|
|
193
194
|
};
|
|
194
195
|
protoOf(WsType).hashCode = function () {
|
|
195
|
-
var result = getStringHashCode(this.
|
|
196
|
+
var result = getStringHashCode(this.k2d_1);
|
|
196
197
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
197
198
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
198
199
|
return result;
|
|
@@ -203,7 +204,7 @@
|
|
|
203
204
|
if (!(other instanceof WsType))
|
|
204
205
|
return false;
|
|
205
206
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
206
|
-
if (!(this.
|
|
207
|
+
if (!(this.k2d_1 === tmp0_other_with_cast.k2d_1))
|
|
207
208
|
return false;
|
|
208
209
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
209
210
|
return false;
|
|
@@ -217,15 +218,15 @@
|
|
|
217
218
|
protoOf(WsShape).p2 = function () {
|
|
218
219
|
return this.value;
|
|
219
220
|
};
|
|
220
|
-
protoOf(WsShape).
|
|
221
|
+
protoOf(WsShape).jd = function () {
|
|
221
222
|
return this.value;
|
|
222
223
|
};
|
|
223
|
-
protoOf(WsShape).
|
|
224
|
+
protoOf(WsShape).o2d = function (value) {
|
|
224
225
|
return new WsShape(value);
|
|
225
226
|
};
|
|
226
227
|
protoOf(WsShape).copy = function (value, $super) {
|
|
227
228
|
value = value === VOID ? this.value : value;
|
|
228
|
-
return this.
|
|
229
|
+
return this.o2d(value);
|
|
229
230
|
};
|
|
230
231
|
protoOf(WsShape).toString = function () {
|
|
231
232
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -244,7 +245,7 @@
|
|
|
244
245
|
return true;
|
|
245
246
|
};
|
|
246
247
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
247
|
-
this.
|
|
248
|
+
this.p2d_1 = identifier;
|
|
248
249
|
this.comment = comment;
|
|
249
250
|
this.method = method;
|
|
250
251
|
this.path = path;
|
|
@@ -254,65 +255,65 @@
|
|
|
254
255
|
this.requests = requests;
|
|
255
256
|
this.responses = responses;
|
|
256
257
|
}
|
|
257
|
-
protoOf(WsEndpoint).
|
|
258
|
-
return this.
|
|
258
|
+
protoOf(WsEndpoint).a22 = function () {
|
|
259
|
+
return this.p2d_1;
|
|
259
260
|
};
|
|
260
|
-
protoOf(WsEndpoint).
|
|
261
|
+
protoOf(WsEndpoint).l2d = function () {
|
|
261
262
|
return this.comment;
|
|
262
263
|
};
|
|
263
|
-
protoOf(WsEndpoint).
|
|
264
|
+
protoOf(WsEndpoint).q2d = function () {
|
|
264
265
|
return this.method;
|
|
265
266
|
};
|
|
266
|
-
protoOf(WsEndpoint).
|
|
267
|
+
protoOf(WsEndpoint).r2d = function () {
|
|
267
268
|
return this.path;
|
|
268
269
|
};
|
|
269
|
-
protoOf(WsEndpoint).
|
|
270
|
+
protoOf(WsEndpoint).s2d = function () {
|
|
270
271
|
return this.query;
|
|
271
272
|
};
|
|
272
|
-
protoOf(WsEndpoint).
|
|
273
|
+
protoOf(WsEndpoint).t2d = function () {
|
|
273
274
|
return this.headers;
|
|
274
275
|
};
|
|
275
|
-
protoOf(WsEndpoint).
|
|
276
|
+
protoOf(WsEndpoint).u2d = function () {
|
|
276
277
|
return this.cookies;
|
|
277
278
|
};
|
|
278
|
-
protoOf(WsEndpoint).
|
|
279
|
+
protoOf(WsEndpoint).v2d = function () {
|
|
279
280
|
return this.requests;
|
|
280
281
|
};
|
|
281
|
-
protoOf(WsEndpoint).
|
|
282
|
+
protoOf(WsEndpoint).w2d = function () {
|
|
282
283
|
return this.responses;
|
|
283
284
|
};
|
|
284
|
-
protoOf(WsEndpoint).
|
|
285
|
-
return this.
|
|
285
|
+
protoOf(WsEndpoint).jd = function () {
|
|
286
|
+
return this.p2d_1;
|
|
286
287
|
};
|
|
287
|
-
protoOf(WsEndpoint).
|
|
288
|
+
protoOf(WsEndpoint).kd = function () {
|
|
288
289
|
return this.comment;
|
|
289
290
|
};
|
|
290
|
-
protoOf(WsEndpoint).
|
|
291
|
+
protoOf(WsEndpoint).dh = function () {
|
|
291
292
|
return this.method;
|
|
292
293
|
};
|
|
293
|
-
protoOf(WsEndpoint).
|
|
294
|
+
protoOf(WsEndpoint).x2d = function () {
|
|
294
295
|
return this.path;
|
|
295
296
|
};
|
|
296
|
-
protoOf(WsEndpoint).
|
|
297
|
+
protoOf(WsEndpoint).y2d = function () {
|
|
297
298
|
return this.query;
|
|
298
299
|
};
|
|
299
|
-
protoOf(WsEndpoint).
|
|
300
|
+
protoOf(WsEndpoint).z2d = function () {
|
|
300
301
|
return this.headers;
|
|
301
302
|
};
|
|
302
|
-
protoOf(WsEndpoint).
|
|
303
|
+
protoOf(WsEndpoint).a2e = function () {
|
|
303
304
|
return this.cookies;
|
|
304
305
|
};
|
|
305
|
-
protoOf(WsEndpoint).
|
|
306
|
+
protoOf(WsEndpoint).b2e = function () {
|
|
306
307
|
return this.requests;
|
|
307
308
|
};
|
|
308
|
-
protoOf(WsEndpoint).
|
|
309
|
+
protoOf(WsEndpoint).c2e = function () {
|
|
309
310
|
return this.responses;
|
|
310
311
|
};
|
|
311
|
-
protoOf(WsEndpoint).
|
|
312
|
+
protoOf(WsEndpoint).d2e = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
312
313
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
313
314
|
};
|
|
314
315
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
315
|
-
identifier = identifier === VOID ? this.
|
|
316
|
+
identifier = identifier === VOID ? this.p2d_1 : identifier;
|
|
316
317
|
comment = comment === VOID ? this.comment : comment;
|
|
317
318
|
method = method === VOID ? this.method : method;
|
|
318
319
|
path = path === VOID ? this.path : path;
|
|
@@ -321,13 +322,13 @@
|
|
|
321
322
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
322
323
|
requests = requests === VOID ? this.requests : requests;
|
|
323
324
|
responses = responses === VOID ? this.responses : responses;
|
|
324
|
-
return this.
|
|
325
|
+
return this.d2e(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
325
326
|
};
|
|
326
327
|
protoOf(WsEndpoint).toString = function () {
|
|
327
|
-
return 'WsEndpoint(identifier=' + this.
|
|
328
|
+
return 'WsEndpoint(identifier=' + this.p2d_1 + ', comment=' + this.comment + ', method=' + this.method + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
|
|
328
329
|
};
|
|
329
330
|
protoOf(WsEndpoint).hashCode = function () {
|
|
330
|
-
var result = getStringHashCode(this.
|
|
331
|
+
var result = getStringHashCode(this.p2d_1);
|
|
331
332
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
332
333
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
333
334
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -344,7 +345,7 @@
|
|
|
344
345
|
if (!(other instanceof WsEndpoint))
|
|
345
346
|
return false;
|
|
346
347
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
347
|
-
if (!(this.
|
|
348
|
+
if (!(this.p2d_1 === tmp0_other_with_cast.p2d_1))
|
|
348
349
|
return false;
|
|
349
350
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
350
351
|
return false;
|
|
@@ -365,42 +366,42 @@
|
|
|
365
366
|
return true;
|
|
366
367
|
};
|
|
367
368
|
function WsEnum(identifier, comment, entries) {
|
|
368
|
-
this.
|
|
369
|
+
this.e2e_1 = identifier;
|
|
369
370
|
this.comment = comment;
|
|
370
371
|
this.entries = entries;
|
|
371
372
|
}
|
|
372
|
-
protoOf(WsEnum).
|
|
373
|
-
return this.
|
|
373
|
+
protoOf(WsEnum).a22 = function () {
|
|
374
|
+
return this.e2e_1;
|
|
374
375
|
};
|
|
375
|
-
protoOf(WsEnum).
|
|
376
|
+
protoOf(WsEnum).l2d = function () {
|
|
376
377
|
return this.comment;
|
|
377
378
|
};
|
|
378
379
|
protoOf(WsEnum).n2 = function () {
|
|
379
380
|
return this.entries;
|
|
380
381
|
};
|
|
381
|
-
protoOf(WsEnum).
|
|
382
|
-
return this.
|
|
382
|
+
protoOf(WsEnum).jd = function () {
|
|
383
|
+
return this.e2e_1;
|
|
383
384
|
};
|
|
384
|
-
protoOf(WsEnum).
|
|
385
|
+
protoOf(WsEnum).kd = function () {
|
|
385
386
|
return this.comment;
|
|
386
387
|
};
|
|
387
|
-
protoOf(WsEnum).
|
|
388
|
+
protoOf(WsEnum).dh = function () {
|
|
388
389
|
return this.entries;
|
|
389
390
|
};
|
|
390
|
-
protoOf(WsEnum).
|
|
391
|
+
protoOf(WsEnum).f2e = function (identifier, comment, entries) {
|
|
391
392
|
return new WsEnum(identifier, comment, entries);
|
|
392
393
|
};
|
|
393
394
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
394
|
-
identifier = identifier === VOID ? this.
|
|
395
|
+
identifier = identifier === VOID ? this.e2e_1 : identifier;
|
|
395
396
|
comment = comment === VOID ? this.comment : comment;
|
|
396
397
|
entries = entries === VOID ? this.entries : entries;
|
|
397
|
-
return this.
|
|
398
|
+
return this.f2e(identifier, comment, entries);
|
|
398
399
|
};
|
|
399
400
|
protoOf(WsEnum).toString = function () {
|
|
400
|
-
return 'WsEnum(identifier=' + this.
|
|
401
|
+
return 'WsEnum(identifier=' + this.e2e_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
401
402
|
};
|
|
402
403
|
protoOf(WsEnum).hashCode = function () {
|
|
403
|
-
var result = getStringHashCode(this.
|
|
404
|
+
var result = getStringHashCode(this.e2e_1);
|
|
404
405
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
405
406
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
406
407
|
return result;
|
|
@@ -411,7 +412,7 @@
|
|
|
411
412
|
if (!(other instanceof WsEnum))
|
|
412
413
|
return false;
|
|
413
414
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
414
|
-
if (!(this.
|
|
415
|
+
if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
|
|
415
416
|
return false;
|
|
416
417
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
417
418
|
return false;
|
|
@@ -420,42 +421,42 @@
|
|
|
420
421
|
return true;
|
|
421
422
|
};
|
|
422
423
|
function WsUnion(identifier, comment, entries) {
|
|
423
|
-
this.
|
|
424
|
+
this.g2e_1 = identifier;
|
|
424
425
|
this.comment = comment;
|
|
425
426
|
this.entries = entries;
|
|
426
427
|
}
|
|
427
|
-
protoOf(WsUnion).
|
|
428
|
-
return this.
|
|
428
|
+
protoOf(WsUnion).a22 = function () {
|
|
429
|
+
return this.g2e_1;
|
|
429
430
|
};
|
|
430
|
-
protoOf(WsUnion).
|
|
431
|
+
protoOf(WsUnion).l2d = function () {
|
|
431
432
|
return this.comment;
|
|
432
433
|
};
|
|
433
434
|
protoOf(WsUnion).n2 = function () {
|
|
434
435
|
return this.entries;
|
|
435
436
|
};
|
|
436
|
-
protoOf(WsUnion).
|
|
437
|
-
return this.
|
|
437
|
+
protoOf(WsUnion).jd = function () {
|
|
438
|
+
return this.g2e_1;
|
|
438
439
|
};
|
|
439
|
-
protoOf(WsUnion).
|
|
440
|
+
protoOf(WsUnion).kd = function () {
|
|
440
441
|
return this.comment;
|
|
441
442
|
};
|
|
442
|
-
protoOf(WsUnion).
|
|
443
|
+
protoOf(WsUnion).dh = function () {
|
|
443
444
|
return this.entries;
|
|
444
445
|
};
|
|
445
|
-
protoOf(WsUnion).
|
|
446
|
+
protoOf(WsUnion).h2e = function (identifier, comment, entries) {
|
|
446
447
|
return new WsUnion(identifier, comment, entries);
|
|
447
448
|
};
|
|
448
449
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
449
|
-
identifier = identifier === VOID ? this.
|
|
450
|
+
identifier = identifier === VOID ? this.g2e_1 : identifier;
|
|
450
451
|
comment = comment === VOID ? this.comment : comment;
|
|
451
452
|
entries = entries === VOID ? this.entries : entries;
|
|
452
|
-
return this.
|
|
453
|
+
return this.h2e(identifier, comment, entries);
|
|
453
454
|
};
|
|
454
455
|
protoOf(WsUnion).toString = function () {
|
|
455
|
-
return 'WsUnion(identifier=' + this.
|
|
456
|
+
return 'WsUnion(identifier=' + this.g2e_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
456
457
|
};
|
|
457
458
|
protoOf(WsUnion).hashCode = function () {
|
|
458
|
-
var result = getStringHashCode(this.
|
|
459
|
+
var result = getStringHashCode(this.g2e_1);
|
|
459
460
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
460
461
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
461
462
|
return result;
|
|
@@ -466,7 +467,7 @@
|
|
|
466
467
|
if (!(other instanceof WsUnion))
|
|
467
468
|
return false;
|
|
468
469
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
469
|
-
if (!(this.
|
|
470
|
+
if (!(this.g2e_1 === tmp0_other_with_cast.g2e_1))
|
|
470
471
|
return false;
|
|
471
472
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
472
473
|
return false;
|
|
@@ -475,42 +476,42 @@
|
|
|
475
476
|
return true;
|
|
476
477
|
};
|
|
477
478
|
function WsRefined(identifier, comment, validator) {
|
|
478
|
-
this.
|
|
479
|
+
this.i2e_1 = identifier;
|
|
479
480
|
this.comment = comment;
|
|
480
481
|
this.validator = validator;
|
|
481
482
|
}
|
|
482
|
-
protoOf(WsRefined).
|
|
483
|
-
return this.
|
|
483
|
+
protoOf(WsRefined).a22 = function () {
|
|
484
|
+
return this.i2e_1;
|
|
484
485
|
};
|
|
485
|
-
protoOf(WsRefined).
|
|
486
|
+
protoOf(WsRefined).l2d = function () {
|
|
486
487
|
return this.comment;
|
|
487
488
|
};
|
|
488
|
-
protoOf(WsRefined).
|
|
489
|
+
protoOf(WsRefined).j2e = function () {
|
|
489
490
|
return this.validator;
|
|
490
491
|
};
|
|
491
|
-
protoOf(WsRefined).
|
|
492
|
-
return this.
|
|
492
|
+
protoOf(WsRefined).jd = function () {
|
|
493
|
+
return this.i2e_1;
|
|
493
494
|
};
|
|
494
|
-
protoOf(WsRefined).
|
|
495
|
+
protoOf(WsRefined).kd = function () {
|
|
495
496
|
return this.comment;
|
|
496
497
|
};
|
|
497
|
-
protoOf(WsRefined).
|
|
498
|
+
protoOf(WsRefined).dh = function () {
|
|
498
499
|
return this.validator;
|
|
499
500
|
};
|
|
500
|
-
protoOf(WsRefined).
|
|
501
|
+
protoOf(WsRefined).k2e = function (identifier, comment, validator) {
|
|
501
502
|
return new WsRefined(identifier, comment, validator);
|
|
502
503
|
};
|
|
503
504
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
504
|
-
identifier = identifier === VOID ? this.
|
|
505
|
+
identifier = identifier === VOID ? this.i2e_1 : identifier;
|
|
505
506
|
comment = comment === VOID ? this.comment : comment;
|
|
506
507
|
validator = validator === VOID ? this.validator : validator;
|
|
507
|
-
return this.
|
|
508
|
+
return this.k2e(identifier, comment, validator);
|
|
508
509
|
};
|
|
509
510
|
protoOf(WsRefined).toString = function () {
|
|
510
|
-
return 'WsRefined(identifier=' + this.
|
|
511
|
+
return 'WsRefined(identifier=' + this.i2e_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
511
512
|
};
|
|
512
513
|
protoOf(WsRefined).hashCode = function () {
|
|
513
|
-
var result = getStringHashCode(this.
|
|
514
|
+
var result = getStringHashCode(this.i2e_1);
|
|
514
515
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
515
516
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
516
517
|
return result;
|
|
@@ -521,7 +522,7 @@
|
|
|
521
522
|
if (!(other instanceof WsRefined))
|
|
522
523
|
return false;
|
|
523
524
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
524
|
-
if (!(this.
|
|
525
|
+
if (!(this.i2e_1 === tmp0_other_with_cast.i2e_1))
|
|
525
526
|
return false;
|
|
526
527
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
527
528
|
return false;
|
|
@@ -560,14 +561,14 @@
|
|
|
560
561
|
return WsMethod_TRACE_getInstance();
|
|
561
562
|
default:
|
|
562
563
|
WsMethod_initEntries();
|
|
563
|
-
|
|
564
|
+
THROW_IAE('No enum constant value.');
|
|
564
565
|
break;
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
568
|
var WsMethod_entriesInitialized;
|
|
568
569
|
function WsMethod_initEntries() {
|
|
569
570
|
if (WsMethod_entriesInitialized)
|
|
570
|
-
return
|
|
571
|
+
return Unit_instance;
|
|
571
572
|
WsMethod_entriesInitialized = true;
|
|
572
573
|
WsMethod_GET_instance = new WsMethod('GET', 0);
|
|
573
574
|
WsMethod_POST_instance = new WsMethod('POST', 1);
|
|
@@ -589,15 +590,15 @@
|
|
|
589
590
|
protoOf(WsLiteral).p2 = function () {
|
|
590
591
|
return this.value;
|
|
591
592
|
};
|
|
592
|
-
protoOf(WsLiteral).
|
|
593
|
+
protoOf(WsLiteral).jd = function () {
|
|
593
594
|
return this.value;
|
|
594
595
|
};
|
|
595
|
-
protoOf(WsLiteral).
|
|
596
|
+
protoOf(WsLiteral).n2e = function (value) {
|
|
596
597
|
return new WsLiteral(value);
|
|
597
598
|
};
|
|
598
599
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
599
600
|
value = value === VOID ? this.value : value;
|
|
600
|
-
return this.
|
|
601
|
+
return this.n2e(value);
|
|
601
602
|
};
|
|
602
603
|
protoOf(WsLiteral).toString = function () {
|
|
603
604
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -619,25 +620,25 @@
|
|
|
619
620
|
this.identifier = identifier;
|
|
620
621
|
this.reference = reference;
|
|
621
622
|
}
|
|
622
|
-
protoOf(WsParam).
|
|
623
|
+
protoOf(WsParam).a22 = function () {
|
|
623
624
|
return this.identifier;
|
|
624
625
|
};
|
|
625
|
-
protoOf(WsParam).
|
|
626
|
+
protoOf(WsParam).o2e = function () {
|
|
626
627
|
return this.reference;
|
|
627
628
|
};
|
|
628
|
-
protoOf(WsParam).
|
|
629
|
+
protoOf(WsParam).jd = function () {
|
|
629
630
|
return this.identifier;
|
|
630
631
|
};
|
|
631
|
-
protoOf(WsParam).
|
|
632
|
+
protoOf(WsParam).kd = function () {
|
|
632
633
|
return this.reference;
|
|
633
634
|
};
|
|
634
|
-
protoOf(WsParam).
|
|
635
|
+
protoOf(WsParam).p2e = function (identifier, reference) {
|
|
635
636
|
return new WsParam(identifier, reference);
|
|
636
637
|
};
|
|
637
638
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
638
639
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
639
640
|
reference = reference === VOID ? this.reference : reference;
|
|
640
|
-
return this.
|
|
641
|
+
return this.p2e(identifier, reference);
|
|
641
642
|
};
|
|
642
643
|
protoOf(WsParam).toString = function () {
|
|
643
644
|
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
@@ -665,15 +666,15 @@
|
|
|
665
666
|
protoOf(Shape_0).p2 = function () {
|
|
666
667
|
return this.value;
|
|
667
668
|
};
|
|
668
|
-
protoOf(Shape_0).
|
|
669
|
+
protoOf(Shape_0).jd = function () {
|
|
669
670
|
return this.value;
|
|
670
671
|
};
|
|
671
|
-
protoOf(Shape_0).
|
|
672
|
+
protoOf(Shape_0).o2d = function (value) {
|
|
672
673
|
return new Shape_0(value);
|
|
673
674
|
};
|
|
674
675
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
675
676
|
value = value === VOID ? this.value : value;
|
|
676
|
-
return this.
|
|
677
|
+
return this.o2d(value);
|
|
677
678
|
};
|
|
678
679
|
protoOf(Shape_0).toString = function () {
|
|
679
680
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -696,32 +697,32 @@
|
|
|
696
697
|
this.reference = reference;
|
|
697
698
|
this.isNullable = isNullable;
|
|
698
699
|
}
|
|
699
|
-
protoOf(WsField).
|
|
700
|
+
protoOf(WsField).a22 = function () {
|
|
700
701
|
return this.identifier;
|
|
701
702
|
};
|
|
702
|
-
protoOf(WsField).
|
|
703
|
+
protoOf(WsField).o2e = function () {
|
|
703
704
|
return this.reference;
|
|
704
705
|
};
|
|
705
|
-
protoOf(WsField).
|
|
706
|
+
protoOf(WsField).hl = function () {
|
|
706
707
|
return this.isNullable;
|
|
707
708
|
};
|
|
708
|
-
protoOf(WsField).
|
|
709
|
+
protoOf(WsField).jd = function () {
|
|
709
710
|
return this.identifier;
|
|
710
711
|
};
|
|
711
|
-
protoOf(WsField).
|
|
712
|
+
protoOf(WsField).kd = function () {
|
|
712
713
|
return this.reference;
|
|
713
714
|
};
|
|
714
|
-
protoOf(WsField).
|
|
715
|
+
protoOf(WsField).dh = function () {
|
|
715
716
|
return this.isNullable;
|
|
716
717
|
};
|
|
717
|
-
protoOf(WsField).
|
|
718
|
+
protoOf(WsField).q2e = function (identifier, reference, isNullable) {
|
|
718
719
|
return new WsField(identifier, reference, isNullable);
|
|
719
720
|
};
|
|
720
721
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
721
722
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
722
723
|
reference = reference === VOID ? this.reference : reference;
|
|
723
724
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
724
|
-
return this.
|
|
725
|
+
return this.q2e(identifier, reference, isNullable);
|
|
725
726
|
};
|
|
726
727
|
protoOf(WsField).toString = function () {
|
|
727
728
|
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -729,7 +730,7 @@
|
|
|
729
730
|
protoOf(WsField).hashCode = function () {
|
|
730
731
|
var result = this.identifier.hashCode();
|
|
731
732
|
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
732
|
-
result = imul(result, 31) + (this.isNullable
|
|
733
|
+
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
733
734
|
return result;
|
|
734
735
|
};
|
|
735
736
|
protoOf(WsField).equals = function (other) {
|
|
@@ -752,15 +753,15 @@
|
|
|
752
753
|
protoOf(WsIdentifier).p2 = function () {
|
|
753
754
|
return this.value;
|
|
754
755
|
};
|
|
755
|
-
protoOf(WsIdentifier).
|
|
756
|
+
protoOf(WsIdentifier).jd = function () {
|
|
756
757
|
return this.value;
|
|
757
758
|
};
|
|
758
|
-
protoOf(WsIdentifier).
|
|
759
|
+
protoOf(WsIdentifier).n2e = function (value) {
|
|
759
760
|
return new WsIdentifier(value);
|
|
760
761
|
};
|
|
761
762
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
762
763
|
value = value === VOID ? this.value : value;
|
|
763
|
-
return this.
|
|
764
|
+
return this.n2e(value);
|
|
764
765
|
};
|
|
765
766
|
protoOf(WsIdentifier).toString = function () {
|
|
766
767
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -782,35 +783,35 @@
|
|
|
782
783
|
}
|
|
783
784
|
function WsAny(isIterable, isMap) {
|
|
784
785
|
isMap = isMap === VOID ? false : isMap;
|
|
785
|
-
this.
|
|
786
|
-
this.
|
|
786
|
+
this.s2e_1 = isIterable;
|
|
787
|
+
this.t2e_1 = isMap;
|
|
787
788
|
}
|
|
788
|
-
protoOf(WsAny).
|
|
789
|
-
return this.
|
|
789
|
+
protoOf(WsAny).g21 = function () {
|
|
790
|
+
return this.s2e_1;
|
|
790
791
|
};
|
|
791
|
-
protoOf(WsAny).
|
|
792
|
-
return this.
|
|
792
|
+
protoOf(WsAny).r2e = function () {
|
|
793
|
+
return this.t2e_1;
|
|
793
794
|
};
|
|
794
|
-
protoOf(WsAny).
|
|
795
|
-
return this.
|
|
795
|
+
protoOf(WsAny).jd = function () {
|
|
796
|
+
return this.s2e_1;
|
|
796
797
|
};
|
|
797
|
-
protoOf(WsAny).
|
|
798
|
-
return this.
|
|
798
|
+
protoOf(WsAny).kd = function () {
|
|
799
|
+
return this.t2e_1;
|
|
799
800
|
};
|
|
800
|
-
protoOf(WsAny).
|
|
801
|
+
protoOf(WsAny).k2a = function (isIterable, isMap) {
|
|
801
802
|
return new WsAny(isIterable, isMap);
|
|
802
803
|
};
|
|
803
804
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
804
|
-
isIterable = isIterable === VOID ? this.
|
|
805
|
-
isMap = isMap === VOID ? this.
|
|
806
|
-
return this.
|
|
805
|
+
isIterable = isIterable === VOID ? this.s2e_1 : isIterable;
|
|
806
|
+
isMap = isMap === VOID ? this.t2e_1 : isMap;
|
|
807
|
+
return this.k2a(isIterable, isMap);
|
|
807
808
|
};
|
|
808
809
|
protoOf(WsAny).toString = function () {
|
|
809
|
-
return 'WsAny(isIterable=' + this.
|
|
810
|
+
return 'WsAny(isIterable=' + this.s2e_1 + ', isMap=' + this.t2e_1 + ')';
|
|
810
811
|
};
|
|
811
812
|
protoOf(WsAny).hashCode = function () {
|
|
812
|
-
var result = this.
|
|
813
|
-
result = imul(result, 31) + (this.
|
|
813
|
+
var result = getBooleanHashCode(this.s2e_1);
|
|
814
|
+
result = imul(result, 31) + getBooleanHashCode(this.t2e_1) | 0;
|
|
814
815
|
return result;
|
|
815
816
|
};
|
|
816
817
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -819,43 +820,43 @@
|
|
|
819
820
|
if (!(other instanceof WsAny))
|
|
820
821
|
return false;
|
|
821
822
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
822
|
-
if (!(this.
|
|
823
|
+
if (!(this.s2e_1 === tmp0_other_with_cast.s2e_1))
|
|
823
824
|
return false;
|
|
824
|
-
if (!(this.
|
|
825
|
+
if (!(this.t2e_1 === tmp0_other_with_cast.t2e_1))
|
|
825
826
|
return false;
|
|
826
827
|
return true;
|
|
827
828
|
};
|
|
828
829
|
function WsUnit(isIterable, isMap) {
|
|
829
830
|
isMap = isMap === VOID ? false : isMap;
|
|
830
|
-
this.
|
|
831
|
-
this.
|
|
831
|
+
this.u2e_1 = isIterable;
|
|
832
|
+
this.v2e_1 = isMap;
|
|
832
833
|
}
|
|
833
|
-
protoOf(WsUnit).
|
|
834
|
-
return this.
|
|
834
|
+
protoOf(WsUnit).g21 = function () {
|
|
835
|
+
return this.u2e_1;
|
|
835
836
|
};
|
|
836
|
-
protoOf(WsUnit).
|
|
837
|
-
return this.
|
|
837
|
+
protoOf(WsUnit).r2e = function () {
|
|
838
|
+
return this.v2e_1;
|
|
838
839
|
};
|
|
839
|
-
protoOf(WsUnit).
|
|
840
|
-
return this.
|
|
840
|
+
protoOf(WsUnit).jd = function () {
|
|
841
|
+
return this.u2e_1;
|
|
841
842
|
};
|
|
842
|
-
protoOf(WsUnit).
|
|
843
|
-
return this.
|
|
843
|
+
protoOf(WsUnit).kd = function () {
|
|
844
|
+
return this.v2e_1;
|
|
844
845
|
};
|
|
845
|
-
protoOf(WsUnit).
|
|
846
|
+
protoOf(WsUnit).k2a = function (isIterable, isMap) {
|
|
846
847
|
return new WsUnit(isIterable, isMap);
|
|
847
848
|
};
|
|
848
849
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
849
|
-
isIterable = isIterable === VOID ? this.
|
|
850
|
-
isMap = isMap === VOID ? this.
|
|
851
|
-
return this.
|
|
850
|
+
isIterable = isIterable === VOID ? this.u2e_1 : isIterable;
|
|
851
|
+
isMap = isMap === VOID ? this.v2e_1 : isMap;
|
|
852
|
+
return this.k2a(isIterable, isMap);
|
|
852
853
|
};
|
|
853
854
|
protoOf(WsUnit).toString = function () {
|
|
854
|
-
return 'WsUnit(isIterable=' + this.
|
|
855
|
+
return 'WsUnit(isIterable=' + this.u2e_1 + ', isMap=' + this.v2e_1 + ')';
|
|
855
856
|
};
|
|
856
857
|
protoOf(WsUnit).hashCode = function () {
|
|
857
|
-
var result = this.
|
|
858
|
-
result = imul(result, 31) + (this.
|
|
858
|
+
var result = getBooleanHashCode(this.u2e_1);
|
|
859
|
+
result = imul(result, 31) + getBooleanHashCode(this.v2e_1) | 0;
|
|
859
860
|
return result;
|
|
860
861
|
};
|
|
861
862
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -864,52 +865,52 @@
|
|
|
864
865
|
if (!(other instanceof WsUnit))
|
|
865
866
|
return false;
|
|
866
867
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
867
|
-
if (!(this.
|
|
868
|
+
if (!(this.u2e_1 === tmp0_other_with_cast.u2e_1))
|
|
868
869
|
return false;
|
|
869
|
-
if (!(this.
|
|
870
|
+
if (!(this.v2e_1 === tmp0_other_with_cast.v2e_1))
|
|
870
871
|
return false;
|
|
871
872
|
return true;
|
|
872
873
|
};
|
|
873
874
|
function WsCustom(value, isIterable, isMap) {
|
|
874
875
|
isMap = isMap === VOID ? false : isMap;
|
|
875
876
|
this.value = value;
|
|
876
|
-
this.
|
|
877
|
-
this.
|
|
877
|
+
this.w2e_1 = isIterable;
|
|
878
|
+
this.x2e_1 = isMap;
|
|
878
879
|
}
|
|
879
880
|
protoOf(WsCustom).p2 = function () {
|
|
880
881
|
return this.value;
|
|
881
882
|
};
|
|
882
|
-
protoOf(WsCustom).
|
|
883
|
-
return this.
|
|
883
|
+
protoOf(WsCustom).g21 = function () {
|
|
884
|
+
return this.w2e_1;
|
|
884
885
|
};
|
|
885
|
-
protoOf(WsCustom).
|
|
886
|
-
return this.
|
|
886
|
+
protoOf(WsCustom).r2e = function () {
|
|
887
|
+
return this.x2e_1;
|
|
887
888
|
};
|
|
888
|
-
protoOf(WsCustom).
|
|
889
|
+
protoOf(WsCustom).jd = function () {
|
|
889
890
|
return this.value;
|
|
890
891
|
};
|
|
891
|
-
protoOf(WsCustom).
|
|
892
|
-
return this.
|
|
892
|
+
protoOf(WsCustom).kd = function () {
|
|
893
|
+
return this.w2e_1;
|
|
893
894
|
};
|
|
894
|
-
protoOf(WsCustom).
|
|
895
|
-
return this.
|
|
895
|
+
protoOf(WsCustom).dh = function () {
|
|
896
|
+
return this.x2e_1;
|
|
896
897
|
};
|
|
897
|
-
protoOf(WsCustom).
|
|
898
|
+
protoOf(WsCustom).t2a = function (value, isIterable, isMap) {
|
|
898
899
|
return new WsCustom(value, isIterable, isMap);
|
|
899
900
|
};
|
|
900
901
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
901
902
|
value = value === VOID ? this.value : value;
|
|
902
|
-
isIterable = isIterable === VOID ? this.
|
|
903
|
-
isMap = isMap === VOID ? this.
|
|
904
|
-
return this.
|
|
903
|
+
isIterable = isIterable === VOID ? this.w2e_1 : isIterable;
|
|
904
|
+
isMap = isMap === VOID ? this.x2e_1 : isMap;
|
|
905
|
+
return this.t2a(value, isIterable, isMap);
|
|
905
906
|
};
|
|
906
907
|
protoOf(WsCustom).toString = function () {
|
|
907
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
908
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.w2e_1 + ', isMap=' + this.x2e_1 + ')';
|
|
908
909
|
};
|
|
909
910
|
protoOf(WsCustom).hashCode = function () {
|
|
910
911
|
var result = getStringHashCode(this.value);
|
|
911
|
-
result = imul(result, 31) + (this.
|
|
912
|
-
result = imul(result, 31) + (this.
|
|
912
|
+
result = imul(result, 31) + getBooleanHashCode(this.w2e_1) | 0;
|
|
913
|
+
result = imul(result, 31) + getBooleanHashCode(this.x2e_1) | 0;
|
|
913
914
|
return result;
|
|
914
915
|
};
|
|
915
916
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -920,52 +921,52 @@
|
|
|
920
921
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
921
922
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
922
923
|
return false;
|
|
923
|
-
if (!(this.
|
|
924
|
+
if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
|
|
924
925
|
return false;
|
|
925
|
-
if (!(this.
|
|
926
|
+
if (!(this.x2e_1 === tmp0_other_with_cast.x2e_1))
|
|
926
927
|
return false;
|
|
927
928
|
return true;
|
|
928
929
|
};
|
|
929
930
|
function WsPrimitive(type, isIterable, isMap) {
|
|
930
931
|
isMap = isMap === VOID ? false : isMap;
|
|
931
932
|
this.type = type;
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
933
|
+
this.y2e_1 = isIterable;
|
|
934
|
+
this.z2e_1 = isMap;
|
|
934
935
|
}
|
|
935
|
-
protoOf(WsPrimitive).
|
|
936
|
+
protoOf(WsPrimitive).a2f = function () {
|
|
936
937
|
return this.type;
|
|
937
938
|
};
|
|
938
|
-
protoOf(WsPrimitive).
|
|
939
|
-
return this.
|
|
939
|
+
protoOf(WsPrimitive).g21 = function () {
|
|
940
|
+
return this.y2e_1;
|
|
940
941
|
};
|
|
941
|
-
protoOf(WsPrimitive).
|
|
942
|
-
return this.
|
|
942
|
+
protoOf(WsPrimitive).r2e = function () {
|
|
943
|
+
return this.z2e_1;
|
|
943
944
|
};
|
|
944
|
-
protoOf(WsPrimitive).
|
|
945
|
+
protoOf(WsPrimitive).jd = function () {
|
|
945
946
|
return this.type;
|
|
946
947
|
};
|
|
947
|
-
protoOf(WsPrimitive).
|
|
948
|
-
return this.
|
|
948
|
+
protoOf(WsPrimitive).kd = function () {
|
|
949
|
+
return this.y2e_1;
|
|
949
950
|
};
|
|
950
|
-
protoOf(WsPrimitive).
|
|
951
|
-
return this.
|
|
951
|
+
protoOf(WsPrimitive).dh = function () {
|
|
952
|
+
return this.z2e_1;
|
|
952
953
|
};
|
|
953
|
-
protoOf(WsPrimitive).
|
|
954
|
+
protoOf(WsPrimitive).b2f = function (type, isIterable, isMap) {
|
|
954
955
|
return new WsPrimitive(type, isIterable, isMap);
|
|
955
956
|
};
|
|
956
957
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
957
958
|
type = type === VOID ? this.type : type;
|
|
958
|
-
isIterable = isIterable === VOID ? this.
|
|
959
|
-
isMap = isMap === VOID ? this.
|
|
960
|
-
return this.
|
|
959
|
+
isIterable = isIterable === VOID ? this.y2e_1 : isIterable;
|
|
960
|
+
isMap = isMap === VOID ? this.z2e_1 : isMap;
|
|
961
|
+
return this.b2f(type, isIterable, isMap);
|
|
961
962
|
};
|
|
962
963
|
protoOf(WsPrimitive).toString = function () {
|
|
963
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
964
|
+
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.y2e_1 + ', isMap=' + this.z2e_1 + ')';
|
|
964
965
|
};
|
|
965
966
|
protoOf(WsPrimitive).hashCode = function () {
|
|
966
967
|
var result = this.type.hashCode();
|
|
967
|
-
result = imul(result, 31) + (this.
|
|
968
|
-
result = imul(result, 31) + (this.
|
|
968
|
+
result = imul(result, 31) + getBooleanHashCode(this.y2e_1) | 0;
|
|
969
|
+
result = imul(result, 31) + getBooleanHashCode(this.z2e_1) | 0;
|
|
969
970
|
return result;
|
|
970
971
|
};
|
|
971
972
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -976,9 +977,9 @@
|
|
|
976
977
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
977
978
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
978
979
|
return false;
|
|
979
|
-
if (!(this.
|
|
980
|
+
if (!(this.y2e_1 === tmp0_other_with_cast.y2e_1))
|
|
980
981
|
return false;
|
|
981
|
-
if (!(this.
|
|
982
|
+
if (!(this.z2e_1 === tmp0_other_with_cast.z2e_1))
|
|
982
983
|
return false;
|
|
983
984
|
return true;
|
|
984
985
|
};
|
|
@@ -1001,14 +1002,14 @@
|
|
|
1001
1002
|
return WsPrimitiveType_Boolean_getInstance();
|
|
1002
1003
|
default:
|
|
1003
1004
|
WsPrimitiveType_initEntries();
|
|
1004
|
-
|
|
1005
|
+
THROW_IAE('No enum constant value.');
|
|
1005
1006
|
break;
|
|
1006
1007
|
}
|
|
1007
1008
|
}
|
|
1008
1009
|
var WsPrimitiveType_entriesInitialized;
|
|
1009
1010
|
function WsPrimitiveType_initEntries() {
|
|
1010
1011
|
if (WsPrimitiveType_entriesInitialized)
|
|
1011
|
-
return
|
|
1012
|
+
return Unit_instance;
|
|
1012
1013
|
WsPrimitiveType_entriesInitialized = true;
|
|
1013
1014
|
WsPrimitiveType_String_instance = new WsPrimitiveType('String', 0);
|
|
1014
1015
|
WsPrimitiveType_Integer_instance = new WsPrimitiveType('Integer', 1);
|
|
@@ -1021,18 +1022,18 @@
|
|
|
1021
1022
|
function WsRequest(content) {
|
|
1022
1023
|
this.content = content;
|
|
1023
1024
|
}
|
|
1024
|
-
protoOf(WsRequest).
|
|
1025
|
+
protoOf(WsRequest).d16 = function () {
|
|
1025
1026
|
return this.content;
|
|
1026
1027
|
};
|
|
1027
|
-
protoOf(WsRequest).
|
|
1028
|
+
protoOf(WsRequest).jd = function () {
|
|
1028
1029
|
return this.content;
|
|
1029
1030
|
};
|
|
1030
|
-
protoOf(WsRequest).
|
|
1031
|
+
protoOf(WsRequest).e2f = function (content) {
|
|
1031
1032
|
return new WsRequest(content);
|
|
1032
1033
|
};
|
|
1033
1034
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1034
1035
|
content = content === VOID ? this.content : content;
|
|
1035
|
-
return this.
|
|
1036
|
+
return this.e2f(content);
|
|
1036
1037
|
};
|
|
1037
1038
|
protoOf(WsRequest).toString = function () {
|
|
1038
1039
|
return 'WsRequest(content=' + this.content + ')';
|
|
@@ -1055,32 +1056,32 @@
|
|
|
1055
1056
|
this.headers = headers;
|
|
1056
1057
|
this.content = content;
|
|
1057
1058
|
}
|
|
1058
|
-
protoOf(WsResponse).
|
|
1059
|
+
protoOf(WsResponse).f2f = function () {
|
|
1059
1060
|
return this.status;
|
|
1060
1061
|
};
|
|
1061
|
-
protoOf(WsResponse).
|
|
1062
|
+
protoOf(WsResponse).t2d = function () {
|
|
1062
1063
|
return this.headers;
|
|
1063
1064
|
};
|
|
1064
|
-
protoOf(WsResponse).
|
|
1065
|
+
protoOf(WsResponse).d16 = function () {
|
|
1065
1066
|
return this.content;
|
|
1066
1067
|
};
|
|
1067
|
-
protoOf(WsResponse).
|
|
1068
|
+
protoOf(WsResponse).jd = function () {
|
|
1068
1069
|
return this.status;
|
|
1069
1070
|
};
|
|
1070
|
-
protoOf(WsResponse).
|
|
1071
|
+
protoOf(WsResponse).kd = function () {
|
|
1071
1072
|
return this.headers;
|
|
1072
1073
|
};
|
|
1073
|
-
protoOf(WsResponse).
|
|
1074
|
+
protoOf(WsResponse).dh = function () {
|
|
1074
1075
|
return this.content;
|
|
1075
1076
|
};
|
|
1076
|
-
protoOf(WsResponse).
|
|
1077
|
+
protoOf(WsResponse).g2f = function (status, headers, content) {
|
|
1077
1078
|
return new WsResponse(status, headers, content);
|
|
1078
1079
|
};
|
|
1079
1080
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1080
1081
|
status = status === VOID ? this.status : status;
|
|
1081
1082
|
headers = headers === VOID ? this.headers : headers;
|
|
1082
1083
|
content = content === VOID ? this.content : content;
|
|
1083
|
-
return this.
|
|
1084
|
+
return this.g2f(status, headers, content);
|
|
1084
1085
|
};
|
|
1085
1086
|
protoOf(WsResponse).toString = function () {
|
|
1086
1087
|
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + this.content + ')';
|
|
@@ -1111,32 +1112,32 @@
|
|
|
1111
1112
|
this.reference = reference;
|
|
1112
1113
|
this.isNullable = isNullable;
|
|
1113
1114
|
}
|
|
1114
|
-
protoOf(WsContent).
|
|
1115
|
+
protoOf(WsContent).a2f = function () {
|
|
1115
1116
|
return this.type;
|
|
1116
1117
|
};
|
|
1117
|
-
protoOf(WsContent).
|
|
1118
|
+
protoOf(WsContent).o2e = function () {
|
|
1118
1119
|
return this.reference;
|
|
1119
1120
|
};
|
|
1120
|
-
protoOf(WsContent).
|
|
1121
|
+
protoOf(WsContent).hl = function () {
|
|
1121
1122
|
return this.isNullable;
|
|
1122
1123
|
};
|
|
1123
|
-
protoOf(WsContent).
|
|
1124
|
+
protoOf(WsContent).jd = function () {
|
|
1124
1125
|
return this.type;
|
|
1125
1126
|
};
|
|
1126
|
-
protoOf(WsContent).
|
|
1127
|
+
protoOf(WsContent).kd = function () {
|
|
1127
1128
|
return this.reference;
|
|
1128
1129
|
};
|
|
1129
|
-
protoOf(WsContent).
|
|
1130
|
+
protoOf(WsContent).dh = function () {
|
|
1130
1131
|
return this.isNullable;
|
|
1131
1132
|
};
|
|
1132
|
-
protoOf(WsContent).
|
|
1133
|
+
protoOf(WsContent).h2f = function (type, reference, isNullable) {
|
|
1133
1134
|
return new WsContent(type, reference, isNullable);
|
|
1134
1135
|
};
|
|
1135
1136
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1136
1137
|
type = type === VOID ? this.type : type;
|
|
1137
1138
|
reference = reference === VOID ? this.reference : reference;
|
|
1138
1139
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1139
|
-
return this.
|
|
1140
|
+
return this.h2f(type, reference, isNullable);
|
|
1140
1141
|
};
|
|
1141
1142
|
protoOf(WsContent).toString = function () {
|
|
1142
1143
|
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
@@ -1144,7 +1145,7 @@
|
|
|
1144
1145
|
protoOf(WsContent).hashCode = function () {
|
|
1145
1146
|
var result = getStringHashCode(this.type);
|
|
1146
1147
|
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
1147
|
-
result = imul(result, 31) + (this.isNullable
|
|
1148
|
+
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
1148
1149
|
return result;
|
|
1149
1150
|
};
|
|
1150
1151
|
protoOf(WsContent).equals = function (other) {
|
|
@@ -1165,21 +1166,20 @@
|
|
|
1165
1166
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1166
1167
|
// Inline function 'kotlin.collections.map' call
|
|
1167
1168
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1168
|
-
var
|
|
1169
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1169
1170
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
1170
1171
|
while (tmp0_iterator.w()) {
|
|
1171
1172
|
var item = tmp0_iterator.y();
|
|
1172
|
-
var tmp$ret$0;
|
|
1173
1173
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1174
|
-
tmp$ret$0 = produce_0(item);
|
|
1175
|
-
|
|
1174
|
+
var tmp$ret$0 = produce_0(item);
|
|
1175
|
+
destination.s(tmp$ret$0);
|
|
1176
1176
|
}
|
|
1177
|
-
return copyToArray(
|
|
1177
|
+
return copyToArray(destination);
|
|
1178
1178
|
}
|
|
1179
1179
|
function produce_0(_this__u8e3s4) {
|
|
1180
1180
|
var tmp;
|
|
1181
1181
|
if (_this__u8e3s4 instanceof Type) {
|
|
1182
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
1182
|
+
var tmp1_safe_receiver = _this__u8e3s4.h27_1;
|
|
1183
1183
|
var tmp_0;
|
|
1184
1184
|
var tmp_1 = tmp1_safe_receiver;
|
|
1185
1185
|
if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
|
|
@@ -1187,10 +1187,10 @@
|
|
|
1187
1187
|
} else {
|
|
1188
1188
|
tmp_0 = _Comment___get_value__impl__8r3pla(tmp1_safe_receiver);
|
|
1189
1189
|
}
|
|
1190
|
-
tmp = new WsType(_this__u8e3s4.
|
|
1190
|
+
tmp = new WsType(_this__u8e3s4.i27_1.q27_1, tmp_0, produce_1(_this__u8e3s4.j27_1));
|
|
1191
1191
|
} else {
|
|
1192
1192
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1193
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
1193
|
+
var tmp2_safe_receiver = _this__u8e3s4.n28_1;
|
|
1194
1194
|
var tmp_2;
|
|
1195
1195
|
var tmp_3 = tmp2_safe_receiver;
|
|
1196
1196
|
if ((tmp_3 == null ? null : new Comment(tmp_3)) == null) {
|
|
@@ -1198,10 +1198,10 @@
|
|
|
1198
1198
|
} else {
|
|
1199
1199
|
tmp_2 = _Comment___get_value__impl__8r3pla(tmp2_safe_receiver);
|
|
1200
1200
|
}
|
|
1201
|
-
tmp = new WsEndpoint(_this__u8e3s4.
|
|
1201
|
+
tmp = new WsEndpoint(_this__u8e3s4.o28_1.q27_1, tmp_2, produce_2(_this__u8e3s4.p28_1), produce_3(_this__u8e3s4.q28_1), produce_4(_this__u8e3s4.r28_1), produce_4(_this__u8e3s4.s28_1), produce_4(_this__u8e3s4.t28_1), produce_5(_this__u8e3s4.u28_1), produce_6(_this__u8e3s4.v28_1));
|
|
1202
1202
|
} else {
|
|
1203
1203
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1204
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
1204
|
+
var tmp3_safe_receiver = _this__u8e3s4.e27_1;
|
|
1205
1205
|
var tmp_4;
|
|
1206
1206
|
var tmp_5 = tmp3_safe_receiver;
|
|
1207
1207
|
if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
|
|
@@ -1210,14 +1210,13 @@
|
|
|
1210
1210
|
tmp_4 = _Comment___get_value__impl__8r3pla(tmp3_safe_receiver);
|
|
1211
1211
|
}
|
|
1212
1212
|
var tmp_6 = tmp_4;
|
|
1213
|
-
var tmp$ret$0;
|
|
1214
1213
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1215
|
-
var
|
|
1216
|
-
tmp$ret$0 = copyToArray(
|
|
1217
|
-
tmp = new WsEnum(_this__u8e3s4.
|
|
1214
|
+
var this_0 = _this__u8e3s4.g27_1;
|
|
1215
|
+
var tmp$ret$0 = copyToArray(this_0);
|
|
1216
|
+
tmp = new WsEnum(_this__u8e3s4.f27_1.q27_1, tmp_6, tmp$ret$0);
|
|
1218
1217
|
} else {
|
|
1219
1218
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1220
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
1219
|
+
var tmp4_safe_receiver = _this__u8e3s4.v27_1;
|
|
1221
1220
|
var tmp_7;
|
|
1222
1221
|
var tmp_8 = tmp4_safe_receiver;
|
|
1223
1222
|
if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
|
|
@@ -1225,10 +1224,10 @@
|
|
|
1225
1224
|
} else {
|
|
1226
1225
|
tmp_7 = _Comment___get_value__impl__8r3pla(tmp4_safe_receiver);
|
|
1227
1226
|
}
|
|
1228
|
-
tmp = new WsRefined(_this__u8e3s4.
|
|
1227
|
+
tmp = new WsRefined(_this__u8e3s4.w27_1.q27_1, tmp_7, _this__u8e3s4.x27_1.z27_1);
|
|
1229
1228
|
} else {
|
|
1230
1229
|
if (_this__u8e3s4 instanceof Union) {
|
|
1231
|
-
var tmp5_safe_receiver = _this__u8e3s4.
|
|
1230
|
+
var tmp5_safe_receiver = _this__u8e3s4.z28_1;
|
|
1232
1231
|
var tmp_9;
|
|
1233
1232
|
var tmp_10 = tmp5_safe_receiver;
|
|
1234
1233
|
if ((tmp_10 == null ? null : new Comment(tmp_10)) == null) {
|
|
@@ -1237,22 +1236,20 @@
|
|
|
1237
1236
|
tmp_9 = _Comment___get_value__impl__8r3pla(tmp5_safe_receiver);
|
|
1238
1237
|
}
|
|
1239
1238
|
var tmp_11 = tmp_9;
|
|
1240
|
-
var tmp$ret$4;
|
|
1241
1239
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1242
1240
|
// Inline function 'kotlin.collections.map' call
|
|
1243
|
-
var
|
|
1241
|
+
var this_1 = _this__u8e3s4.b29_1;
|
|
1244
1242
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1245
|
-
var
|
|
1246
|
-
var tmp0_iterator =
|
|
1243
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
1244
|
+
var tmp0_iterator = this_1.v();
|
|
1247
1245
|
while (tmp0_iterator.w()) {
|
|
1248
1246
|
var item = tmp0_iterator.y();
|
|
1249
|
-
var tmp$ret$1;
|
|
1250
1247
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1251
|
-
tmp$ret$1 = produce_7(item);
|
|
1252
|
-
|
|
1248
|
+
var tmp$ret$1 = produce_7(item);
|
|
1249
|
+
destination.s(tmp$ret$1);
|
|
1253
1250
|
}
|
|
1254
|
-
tmp$ret$4 = copyToArray(
|
|
1255
|
-
tmp = new WsUnion(_this__u8e3s4.
|
|
1251
|
+
var tmp$ret$4 = copyToArray(destination);
|
|
1252
|
+
tmp = new WsUnion(_this__u8e3s4.a29_1.q27_1, tmp_11, tmp$ret$4);
|
|
1256
1253
|
} else {
|
|
1257
1254
|
noWhenBranchMatchedException();
|
|
1258
1255
|
}
|
|
@@ -1263,26 +1260,24 @@
|
|
|
1263
1260
|
return tmp;
|
|
1264
1261
|
}
|
|
1265
1262
|
function produce_1(_this__u8e3s4) {
|
|
1266
|
-
var tmp$ret$3;
|
|
1267
1263
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1268
1264
|
// Inline function 'kotlin.collections.map' call
|
|
1269
|
-
var
|
|
1265
|
+
var this_0 = _this__u8e3s4.l27_1;
|
|
1270
1266
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1271
|
-
var
|
|
1272
|
-
var tmp0_iterator =
|
|
1267
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1268
|
+
var tmp0_iterator = this_0.v();
|
|
1273
1269
|
while (tmp0_iterator.w()) {
|
|
1274
1270
|
var item = tmp0_iterator.y();
|
|
1275
|
-
var tmp$ret$0;
|
|
1276
1271
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1277
|
-
tmp$ret$0 = produce_8(item);
|
|
1278
|
-
|
|
1272
|
+
var tmp$ret$0 = produce_8(item);
|
|
1273
|
+
destination.s(tmp$ret$0);
|
|
1279
1274
|
}
|
|
1280
|
-
tmp$ret$3 = copyToArray(
|
|
1275
|
+
var tmp$ret$3 = copyToArray(destination);
|
|
1281
1276
|
return new WsShape(tmp$ret$3);
|
|
1282
1277
|
}
|
|
1283
1278
|
function produce_2(_this__u8e3s4) {
|
|
1284
1279
|
var tmp;
|
|
1285
|
-
switch (_this__u8e3s4.
|
|
1280
|
+
switch (_this__u8e3s4.g9_1) {
|
|
1286
1281
|
case 0:
|
|
1287
1282
|
tmp = WsMethod_GET_getInstance();
|
|
1288
1283
|
break;
|
|
@@ -1317,85 +1312,81 @@
|
|
|
1317
1312
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1318
1313
|
// Inline function 'kotlin.collections.map' call
|
|
1319
1314
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1320
|
-
var
|
|
1315
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1321
1316
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
1322
1317
|
while (tmp0_iterator.w()) {
|
|
1323
1318
|
var item = tmp0_iterator.y();
|
|
1324
|
-
var tmp$ret$0;
|
|
1325
1319
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1326
1320
|
var tmp;
|
|
1327
1321
|
if (item instanceof Literal) {
|
|
1328
|
-
tmp = new WsLiteral(item.
|
|
1322
|
+
tmp = new WsLiteral(item.f28_1);
|
|
1329
1323
|
} else {
|
|
1330
1324
|
if (item instanceof Param) {
|
|
1331
|
-
tmp = new WsParam(produce_9(item.
|
|
1325
|
+
tmp = new WsParam(produce_9(item.a28_1), produce_7(item.b28_1));
|
|
1332
1326
|
} else {
|
|
1333
1327
|
noWhenBranchMatchedException();
|
|
1334
1328
|
}
|
|
1335
1329
|
}
|
|
1336
|
-
tmp$ret$0 = tmp;
|
|
1337
|
-
|
|
1330
|
+
var tmp$ret$0 = tmp;
|
|
1331
|
+
destination.s(tmp$ret$0);
|
|
1338
1332
|
}
|
|
1339
|
-
return copyToArray(
|
|
1333
|
+
return copyToArray(destination);
|
|
1340
1334
|
}
|
|
1341
1335
|
function produce_4(_this__u8e3s4) {
|
|
1342
1336
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1343
1337
|
// Inline function 'kotlin.collections.map' call
|
|
1344
1338
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1345
|
-
var
|
|
1339
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1346
1340
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
1347
1341
|
while (tmp0_iterator.w()) {
|
|
1348
1342
|
var item = tmp0_iterator.y();
|
|
1349
|
-
var tmp$ret$0;
|
|
1350
1343
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1351
|
-
tmp$ret$0 = produce_8(item);
|
|
1352
|
-
|
|
1344
|
+
var tmp$ret$0 = produce_8(item);
|
|
1345
|
+
destination.s(tmp$ret$0);
|
|
1353
1346
|
}
|
|
1354
|
-
return copyToArray(
|
|
1347
|
+
return copyToArray(destination);
|
|
1355
1348
|
}
|
|
1356
1349
|
function produce_5(_this__u8e3s4) {
|
|
1357
1350
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1358
1351
|
// Inline function 'kotlin.collections.map' call
|
|
1359
1352
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1360
|
-
var
|
|
1353
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1361
1354
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
1362
1355
|
while (tmp0_iterator.w()) {
|
|
1363
1356
|
var item = tmp0_iterator.y();
|
|
1364
|
-
var tmp$ret$0;
|
|
1365
1357
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1366
|
-
tmp$ret$0 = produce_10(item);
|
|
1367
|
-
|
|
1358
|
+
var tmp$ret$0 = produce_10(item);
|
|
1359
|
+
destination.s(tmp$ret$0);
|
|
1368
1360
|
}
|
|
1369
|
-
return copyToArray(
|
|
1361
|
+
return copyToArray(destination);
|
|
1370
1362
|
}
|
|
1371
1363
|
function produce_6(_this__u8e3s4) {
|
|
1372
1364
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1373
1365
|
// Inline function 'kotlin.collections.map' call
|
|
1374
1366
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1375
|
-
var
|
|
1367
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1376
1368
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
1377
1369
|
while (tmp0_iterator.w()) {
|
|
1378
1370
|
var item = tmp0_iterator.y();
|
|
1379
|
-
var tmp$ret$0;
|
|
1380
1371
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1381
|
-
tmp$ret$0 = produce_11(item);
|
|
1382
|
-
|
|
1372
|
+
var tmp$ret$0 = produce_11(item);
|
|
1373
|
+
destination.s(tmp$ret$0);
|
|
1383
1374
|
}
|
|
1384
|
-
return copyToArray(
|
|
1375
|
+
return copyToArray(destination);
|
|
1385
1376
|
}
|
|
1386
1377
|
function produce_7(_this__u8e3s4) {
|
|
1387
1378
|
var tmp;
|
|
1388
1379
|
if (_this__u8e3s4 instanceof Any) {
|
|
1389
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1380
|
+
tmp = new WsAny(_this__u8e3s4.g21(), _this__u8e3s4.y28());
|
|
1390
1381
|
} else {
|
|
1391
1382
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1392
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1383
|
+
tmp = new WsUnit(_this__u8e3s4.g21(), _this__u8e3s4.y28());
|
|
1393
1384
|
} else {
|
|
1394
1385
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1395
|
-
tmp = new WsCustom(_this__u8e3s4.p2(), _this__u8e3s4.
|
|
1386
|
+
tmp = new WsCustom(_this__u8e3s4.p2(), _this__u8e3s4.g21(), _this__u8e3s4.y28());
|
|
1396
1387
|
} else {
|
|
1397
1388
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1398
|
-
tmp = new WsPrimitive(produce_12(_this__u8e3s4.
|
|
1389
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.r27_1), _this__u8e3s4.g21(), _this__u8e3s4.y28());
|
|
1399
1390
|
} else {
|
|
1400
1391
|
noWhenBranchMatchedException();
|
|
1401
1392
|
}
|
|
@@ -1405,36 +1396,35 @@
|
|
|
1405
1396
|
return tmp;
|
|
1406
1397
|
}
|
|
1407
1398
|
function produce_8(_this__u8e3s4) {
|
|
1408
|
-
return new WsField(produce_9(_this__u8e3s4.
|
|
1399
|
+
return new WsField(produce_9(_this__u8e3s4.m27_1), produce_7(_this__u8e3s4.n27_1), _this__u8e3s4.o27_1);
|
|
1409
1400
|
}
|
|
1410
1401
|
function produce_9(_this__u8e3s4) {
|
|
1411
|
-
return new WsIdentifier(_this__u8e3s4.
|
|
1402
|
+
return new WsIdentifier(_this__u8e3s4.q27_1);
|
|
1412
1403
|
}
|
|
1413
1404
|
function produce_10(_this__u8e3s4) {
|
|
1414
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1405
|
+
var tmp0_safe_receiver = _this__u8e3s4.g28_1;
|
|
1415
1406
|
return new WsRequest(tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1416
1407
|
}
|
|
1417
1408
|
function produce_11(_this__u8e3s4) {
|
|
1418
1409
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1419
1410
|
// Inline function 'kotlin.collections.map' call
|
|
1420
|
-
var
|
|
1411
|
+
var this_0 = _this__u8e3s4.i28_1;
|
|
1421
1412
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1422
|
-
var
|
|
1423
|
-
var tmp0_iterator =
|
|
1413
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1414
|
+
var tmp0_iterator = this_0.v();
|
|
1424
1415
|
while (tmp0_iterator.w()) {
|
|
1425
1416
|
var item = tmp0_iterator.y();
|
|
1426
|
-
var tmp$ret$0;
|
|
1427
1417
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1428
|
-
tmp$ret$0 = produce_8(item);
|
|
1429
|
-
|
|
1418
|
+
var tmp$ret$0 = produce_8(item);
|
|
1419
|
+
destination.s(tmp$ret$0);
|
|
1430
1420
|
}
|
|
1431
|
-
var tmp = copyToArray(
|
|
1432
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1433
|
-
return new WsResponse(_this__u8e3s4.
|
|
1421
|
+
var tmp = copyToArray(destination);
|
|
1422
|
+
var tmp0_safe_receiver = _this__u8e3s4.j28_1;
|
|
1423
|
+
return new WsResponse(_this__u8e3s4.h28_1, tmp, tmp0_safe_receiver == null ? null : produce_13(tmp0_safe_receiver));
|
|
1434
1424
|
}
|
|
1435
1425
|
function produce_12(_this__u8e3s4) {
|
|
1436
1426
|
var tmp;
|
|
1437
|
-
switch (_this__u8e3s4.
|
|
1427
|
+
switch (_this__u8e3s4.g9_1) {
|
|
1438
1428
|
case 0:
|
|
1439
1429
|
tmp = WsPrimitiveType_String_getInstance();
|
|
1440
1430
|
break;
|
|
@@ -1454,7 +1444,7 @@
|
|
|
1454
1444
|
return tmp;
|
|
1455
1445
|
}
|
|
1456
1446
|
function produce_13(_this__u8e3s4) {
|
|
1457
|
-
return new WsContent(_this__u8e3s4.
|
|
1447
|
+
return new WsContent(_this__u8e3s4.k28_1, produce_7(_this__u8e3s4.l28_1), _this__u8e3s4.m28_1);
|
|
1458
1448
|
}
|
|
1459
1449
|
function consume(_this__u8e3s4) {
|
|
1460
1450
|
var tmp;
|
|
@@ -1493,101 +1483,95 @@
|
|
|
1493
1483
|
tmp = _Comment___init__impl__cg8s2u(tmp0_safe_receiver);
|
|
1494
1484
|
}
|
|
1495
1485
|
var tmp_0 = tmp;
|
|
1496
|
-
var tmp_1 =
|
|
1486
|
+
var tmp_1 = Companion_instance.w28(_this__u8e3s4.p2d_1);
|
|
1497
1487
|
var tmp_2 = consume_5(_this__u8e3s4.method);
|
|
1498
1488
|
// Inline function 'kotlin.collections.map' call
|
|
1499
|
-
var
|
|
1489
|
+
var this_0 = _this__u8e3s4.path;
|
|
1500
1490
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1501
|
-
var
|
|
1491
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
1502
1492
|
var inductionVariable = 0;
|
|
1503
|
-
var last =
|
|
1493
|
+
var last = this_0.length;
|
|
1504
1494
|
while (inductionVariable < last) {
|
|
1505
|
-
var item =
|
|
1495
|
+
var item = this_0[inductionVariable];
|
|
1506
1496
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1507
|
-
var tmp$ret$2;
|
|
1508
1497
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1509
|
-
tmp$ret$2 = consume_6(item);
|
|
1510
|
-
|
|
1498
|
+
var tmp$ret$2 = consume_6(item);
|
|
1499
|
+
destination.s(tmp$ret$2);
|
|
1511
1500
|
}
|
|
1512
|
-
var tmp_3 =
|
|
1501
|
+
var tmp_3 = destination;
|
|
1513
1502
|
// Inline function 'kotlin.collections.map' call
|
|
1514
|
-
var
|
|
1503
|
+
var this_1 = _this__u8e3s4.query;
|
|
1515
1504
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1516
|
-
var
|
|
1505
|
+
var destination_0 = ArrayList_init_$Create$(this_1.length);
|
|
1517
1506
|
var inductionVariable_0 = 0;
|
|
1518
|
-
var last_0 =
|
|
1507
|
+
var last_0 = this_1.length;
|
|
1519
1508
|
while (inductionVariable_0 < last_0) {
|
|
1520
|
-
var item_0 =
|
|
1509
|
+
var item_0 = this_1[inductionVariable_0];
|
|
1521
1510
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1522
|
-
var tmp$ret$5;
|
|
1523
1511
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1524
|
-
tmp$ret$5 = consume_7(item_0);
|
|
1525
|
-
|
|
1512
|
+
var tmp$ret$5 = consume_7(item_0);
|
|
1513
|
+
destination_0.s(tmp$ret$5);
|
|
1526
1514
|
}
|
|
1527
|
-
var tmp_4 =
|
|
1515
|
+
var tmp_4 = destination_0;
|
|
1528
1516
|
// Inline function 'kotlin.collections.map' call
|
|
1529
|
-
var
|
|
1517
|
+
var this_2 = _this__u8e3s4.query;
|
|
1530
1518
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1531
|
-
var
|
|
1519
|
+
var destination_1 = ArrayList_init_$Create$(this_2.length);
|
|
1532
1520
|
var inductionVariable_1 = 0;
|
|
1533
|
-
var last_1 =
|
|
1521
|
+
var last_1 = this_2.length;
|
|
1534
1522
|
while (inductionVariable_1 < last_1) {
|
|
1535
|
-
var item_1 =
|
|
1523
|
+
var item_1 = this_2[inductionVariable_1];
|
|
1536
1524
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
1537
|
-
var tmp$ret$8;
|
|
1538
1525
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1539
|
-
tmp$ret$8 = consume_7(item_1);
|
|
1540
|
-
|
|
1526
|
+
var tmp$ret$8 = consume_7(item_1);
|
|
1527
|
+
destination_1.s(tmp$ret$8);
|
|
1541
1528
|
}
|
|
1542
|
-
var tmp_5 =
|
|
1529
|
+
var tmp_5 = destination_1;
|
|
1543
1530
|
// Inline function 'kotlin.collections.map' call
|
|
1544
|
-
var
|
|
1531
|
+
var this_3 = _this__u8e3s4.query;
|
|
1545
1532
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1546
|
-
var
|
|
1533
|
+
var destination_2 = ArrayList_init_$Create$(this_3.length);
|
|
1547
1534
|
var inductionVariable_2 = 0;
|
|
1548
|
-
var last_2 =
|
|
1535
|
+
var last_2 = this_3.length;
|
|
1549
1536
|
while (inductionVariable_2 < last_2) {
|
|
1550
|
-
var item_2 =
|
|
1537
|
+
var item_2 = this_3[inductionVariable_2];
|
|
1551
1538
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
1552
|
-
var tmp$ret$11;
|
|
1553
1539
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1554
|
-
tmp$ret$11 = consume_7(item_2);
|
|
1555
|
-
|
|
1540
|
+
var tmp$ret$11 = consume_7(item_2);
|
|
1541
|
+
destination_2.s(tmp$ret$11);
|
|
1556
1542
|
}
|
|
1557
|
-
var tmp_6 =
|
|
1543
|
+
var tmp_6 = destination_2;
|
|
1558
1544
|
// Inline function 'kotlin.collections.map' call
|
|
1559
|
-
var
|
|
1545
|
+
var this_4 = _this__u8e3s4.requests;
|
|
1560
1546
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1561
|
-
var
|
|
1547
|
+
var destination_3 = ArrayList_init_$Create$(this_4.length);
|
|
1562
1548
|
var inductionVariable_3 = 0;
|
|
1563
|
-
var last_3 =
|
|
1549
|
+
var last_3 = this_4.length;
|
|
1564
1550
|
while (inductionVariable_3 < last_3) {
|
|
1565
|
-
var item_3 =
|
|
1551
|
+
var item_3 = this_4[inductionVariable_3];
|
|
1566
1552
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
1567
|
-
var tmp$ret$14;
|
|
1568
1553
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1569
|
-
tmp$ret$14 = consume_8(item_3);
|
|
1570
|
-
|
|
1554
|
+
var tmp$ret$14 = consume_8(item_3);
|
|
1555
|
+
destination_3.s(tmp$ret$14);
|
|
1571
1556
|
}
|
|
1572
|
-
var tmp_7 =
|
|
1557
|
+
var tmp_7 = destination_3;
|
|
1573
1558
|
// Inline function 'kotlin.collections.map' call
|
|
1574
|
-
var
|
|
1559
|
+
var this_5 = _this__u8e3s4.responses;
|
|
1575
1560
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1576
|
-
var
|
|
1561
|
+
var destination_4 = ArrayList_init_$Create$(this_5.length);
|
|
1577
1562
|
var inductionVariable_4 = 0;
|
|
1578
|
-
var last_4 =
|
|
1563
|
+
var last_4 = this_5.length;
|
|
1579
1564
|
while (inductionVariable_4 < last_4) {
|
|
1580
|
-
var item_4 =
|
|
1565
|
+
var item_4 = this_5[inductionVariable_4];
|
|
1581
1566
|
inductionVariable_4 = inductionVariable_4 + 1 | 0;
|
|
1582
|
-
var tmp$ret$17;
|
|
1583
1567
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1584
|
-
tmp$ret$17 = consume_9(item_4);
|
|
1585
|
-
|
|
1568
|
+
var tmp$ret$17 = consume_9(item_4);
|
|
1569
|
+
destination_4.s(tmp$ret$17);
|
|
1586
1570
|
}
|
|
1587
|
-
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7,
|
|
1571
|
+
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1588
1572
|
}
|
|
1589
1573
|
function consume_1(_this__u8e3s4) {
|
|
1590
|
-
var tmp1_identifier =
|
|
1574
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.e2e_1);
|
|
1591
1575
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1592
1576
|
var tmp;
|
|
1593
1577
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1603,7 +1587,7 @@
|
|
|
1603
1587
|
return new Enum_0(tmp2_comment, tmp1_identifier, tmp3_entries);
|
|
1604
1588
|
}
|
|
1605
1589
|
function consume_2(_this__u8e3s4) {
|
|
1606
|
-
var tmp1_identifier =
|
|
1590
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.i2e_1);
|
|
1607
1591
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1608
1592
|
var tmp;
|
|
1609
1593
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1619,7 +1603,7 @@
|
|
|
1619
1603
|
return new Refined(tmp2_comment, tmp1_identifier, tmp3_validator);
|
|
1620
1604
|
}
|
|
1621
1605
|
function consume_3(_this__u8e3s4) {
|
|
1622
|
-
var tmp1_identifier =
|
|
1606
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.k2d_1);
|
|
1623
1607
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1624
1608
|
var tmp;
|
|
1625
1609
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1632,24 +1616,23 @@
|
|
|
1632
1616
|
}
|
|
1633
1617
|
var tmp2_comment = tmp;
|
|
1634
1618
|
// Inline function 'kotlin.collections.map' call
|
|
1635
|
-
var
|
|
1619
|
+
var this_0 = _this__u8e3s4.shape.value;
|
|
1636
1620
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1637
|
-
var
|
|
1621
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
1638
1622
|
var inductionVariable = 0;
|
|
1639
|
-
var last =
|
|
1623
|
+
var last = this_0.length;
|
|
1640
1624
|
while (inductionVariable < last) {
|
|
1641
|
-
var item =
|
|
1625
|
+
var item = this_0[inductionVariable];
|
|
1642
1626
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1643
|
-
var tmp$ret$2;
|
|
1644
1627
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1645
|
-
tmp$ret$2 = consume_7(item);
|
|
1646
|
-
|
|
1628
|
+
var tmp$ret$2 = consume_7(item);
|
|
1629
|
+
destination.s(tmp$ret$2);
|
|
1647
1630
|
}
|
|
1648
|
-
var tmp3_shape = new Shape(
|
|
1631
|
+
var tmp3_shape = new Shape(destination);
|
|
1649
1632
|
return new Type(tmp2_comment, tmp1_identifier, tmp3_shape);
|
|
1650
1633
|
}
|
|
1651
1634
|
function consume_4(_this__u8e3s4) {
|
|
1652
|
-
var tmp1_identifier =
|
|
1635
|
+
var tmp1_identifier = Companion_instance.w28(_this__u8e3s4.g2e_1);
|
|
1653
1636
|
var tmp0_safe_receiver = _this__u8e3s4.comment;
|
|
1654
1637
|
var tmp;
|
|
1655
1638
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1662,25 +1645,24 @@
|
|
|
1662
1645
|
}
|
|
1663
1646
|
var tmp2_comment = tmp;
|
|
1664
1647
|
// Inline function 'kotlin.collections.map' call
|
|
1665
|
-
var
|
|
1648
|
+
var this_0 = _this__u8e3s4.entries;
|
|
1666
1649
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1667
|
-
var
|
|
1650
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
1668
1651
|
var inductionVariable = 0;
|
|
1669
|
-
var last =
|
|
1652
|
+
var last = this_0.length;
|
|
1670
1653
|
while (inductionVariable < last) {
|
|
1671
|
-
var item =
|
|
1654
|
+
var item = this_0[inductionVariable];
|
|
1672
1655
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1673
|
-
var tmp$ret$2;
|
|
1674
1656
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1675
|
-
tmp$ret$2 = consume_10(item);
|
|
1676
|
-
|
|
1657
|
+
var tmp$ret$2 = consume_10(item);
|
|
1658
|
+
destination.s(tmp$ret$2);
|
|
1677
1659
|
}
|
|
1678
|
-
var tmp3_entries = toSet_0(
|
|
1660
|
+
var tmp3_entries = toSet_0(destination);
|
|
1679
1661
|
return new Union(tmp2_comment, tmp1_identifier, tmp3_entries);
|
|
1680
1662
|
}
|
|
1681
1663
|
function consume_5(_this__u8e3s4) {
|
|
1682
1664
|
var tmp;
|
|
1683
|
-
switch (_this__u8e3s4.
|
|
1665
|
+
switch (_this__u8e3s4.g9_1) {
|
|
1684
1666
|
case 0:
|
|
1685
1667
|
tmp = Method_GET_getInstance();
|
|
1686
1668
|
break;
|
|
@@ -1733,20 +1715,19 @@
|
|
|
1733
1715
|
}
|
|
1734
1716
|
function consume_9(_this__u8e3s4) {
|
|
1735
1717
|
// Inline function 'kotlin.collections.map' call
|
|
1736
|
-
var
|
|
1718
|
+
var this_0 = _this__u8e3s4.headers;
|
|
1737
1719
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1738
|
-
var
|
|
1720
|
+
var destination = ArrayList_init_$Create$(this_0.length);
|
|
1739
1721
|
var inductionVariable = 0;
|
|
1740
|
-
var last =
|
|
1722
|
+
var last = this_0.length;
|
|
1741
1723
|
while (inductionVariable < last) {
|
|
1742
|
-
var item =
|
|
1724
|
+
var item = this_0[inductionVariable];
|
|
1743
1725
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1744
|
-
var tmp$ret$0;
|
|
1745
1726
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1746
|
-
tmp$ret$0 = consume_7(item);
|
|
1747
|
-
|
|
1727
|
+
var tmp$ret$0 = consume_7(item);
|
|
1728
|
+
destination.s(tmp$ret$0);
|
|
1748
1729
|
}
|
|
1749
|
-
var tmp =
|
|
1730
|
+
var tmp = destination;
|
|
1750
1731
|
var tmp0_safe_receiver = _this__u8e3s4.content;
|
|
1751
1732
|
return new Response(_this__u8e3s4.status, tmp, tmp0_safe_receiver == null ? null : consume_12(tmp0_safe_receiver));
|
|
1752
1733
|
}
|
|
@@ -1772,14 +1753,14 @@
|
|
|
1772
1753
|
return tmp;
|
|
1773
1754
|
}
|
|
1774
1755
|
function consume_11(_this__u8e3s4) {
|
|
1775
|
-
return
|
|
1756
|
+
return Companion_instance.w28(_this__u8e3s4.value);
|
|
1776
1757
|
}
|
|
1777
1758
|
function consume_12(_this__u8e3s4) {
|
|
1778
1759
|
return new Content(_this__u8e3s4.type, consume_10(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1779
1760
|
}
|
|
1780
1761
|
function consume_13(_this__u8e3s4) {
|
|
1781
1762
|
var tmp;
|
|
1782
|
-
switch (_this__u8e3s4.
|
|
1763
|
+
switch (_this__u8e3s4.g9_1) {
|
|
1783
1764
|
case 0:
|
|
1784
1765
|
tmp = Type_String_getInstance();
|
|
1785
1766
|
break;
|
|
@@ -1850,130 +1831,127 @@
|
|
|
1850
1831
|
Logger.call(this);
|
|
1851
1832
|
}
|
|
1852
1833
|
function Companion() {
|
|
1853
|
-
|
|
1834
|
+
Companion_instance_2 = this;
|
|
1854
1835
|
var tmp = this;
|
|
1855
1836
|
tmp.logger = new Compiler$Companion$logger$1();
|
|
1856
1837
|
}
|
|
1857
|
-
protoOf(Companion).
|
|
1838
|
+
protoOf(Companion).i2f = function () {
|
|
1858
1839
|
return this.logger;
|
|
1859
1840
|
};
|
|
1860
|
-
var
|
|
1861
|
-
function
|
|
1862
|
-
if (
|
|
1841
|
+
var Companion_instance_2;
|
|
1842
|
+
function Companion_getInstance() {
|
|
1843
|
+
if (Companion_instance_2 == null)
|
|
1863
1844
|
new Companion();
|
|
1864
|
-
return
|
|
1845
|
+
return Companion_instance_2;
|
|
1865
1846
|
}
|
|
1866
1847
|
function Compiler() {
|
|
1867
|
-
|
|
1848
|
+
Companion_getInstance();
|
|
1868
1849
|
}
|
|
1869
1850
|
protoOf(Compiler).preCompile = function (source) {
|
|
1870
|
-
return compile(WirespecSpec_getInstance(), source)(
|
|
1851
|
+
return compile(WirespecSpec_getInstance(), source)(Companion_getInstance().logger);
|
|
1871
1852
|
};
|
|
1872
1853
|
protoOf(Compiler).tokenize = function (source) {
|
|
1873
1854
|
return produce_18(tokenize(WirespecSpec_getInstance(), source));
|
|
1874
1855
|
};
|
|
1875
1856
|
protoOf(Compiler).parse = function (source) {
|
|
1876
1857
|
// Inline function 'kotlin.let' call
|
|
1877
|
-
var tmp0_let = tokenize(WirespecSpec_getInstance(), source);
|
|
1878
1858
|
// Inline function 'kotlin.contracts.contract' call
|
|
1879
1859
|
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1880
|
-
|
|
1860
|
+
var it = tokenize(WirespecSpec_getInstance(), source);
|
|
1861
|
+
return produce_14((new Parser(Companion_getInstance().logger)).u20(it));
|
|
1881
1862
|
};
|
|
1882
1863
|
function Companion_0() {
|
|
1883
|
-
|
|
1884
|
-
this.
|
|
1864
|
+
Companion_instance_3 = this;
|
|
1865
|
+
this.j2f_1 = new KotlinEmitter(VOID, Companion_getInstance().logger);
|
|
1885
1866
|
}
|
|
1886
|
-
var
|
|
1887
|
-
function
|
|
1888
|
-
if (
|
|
1867
|
+
var Companion_instance_3;
|
|
1868
|
+
function Companion_getInstance_0() {
|
|
1869
|
+
if (Companion_instance_3 == null)
|
|
1889
1870
|
new Companion_0();
|
|
1890
|
-
return
|
|
1871
|
+
return Companion_instance_3;
|
|
1891
1872
|
}
|
|
1892
1873
|
function WsToKotlin() {
|
|
1893
|
-
|
|
1874
|
+
Companion_getInstance_0();
|
|
1894
1875
|
Compiler.call(this);
|
|
1895
1876
|
}
|
|
1896
1877
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1897
|
-
return produce_15(this.preCompile(source)(
|
|
1878
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_0().j2f_1));
|
|
1898
1879
|
};
|
|
1899
1880
|
function Companion_1() {
|
|
1900
|
-
|
|
1901
|
-
this.
|
|
1881
|
+
Companion_instance_4 = this;
|
|
1882
|
+
this.k2f_1 = new TypeScriptEmitter(Companion_getInstance().logger);
|
|
1902
1883
|
}
|
|
1903
|
-
var
|
|
1904
|
-
function
|
|
1905
|
-
if (
|
|
1884
|
+
var Companion_instance_4;
|
|
1885
|
+
function Companion_getInstance_1() {
|
|
1886
|
+
if (Companion_instance_4 == null)
|
|
1906
1887
|
new Companion_1();
|
|
1907
|
-
return
|
|
1888
|
+
return Companion_instance_4;
|
|
1908
1889
|
}
|
|
1909
1890
|
function WsToTypeScript() {
|
|
1910
|
-
|
|
1891
|
+
Companion_getInstance_1();
|
|
1911
1892
|
Compiler.call(this);
|
|
1912
1893
|
}
|
|
1913
1894
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1914
|
-
return produce_15(this.preCompile(source)(
|
|
1895
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_1().k2f_1));
|
|
1915
1896
|
};
|
|
1916
1897
|
function Companion_2() {
|
|
1917
|
-
|
|
1918
|
-
this.
|
|
1898
|
+
Companion_instance_5 = this;
|
|
1899
|
+
this.l2f_1 = new ScalaEmitter(VOID, Companion_getInstance().logger);
|
|
1919
1900
|
}
|
|
1920
|
-
var
|
|
1921
|
-
function
|
|
1922
|
-
if (
|
|
1901
|
+
var Companion_instance_5;
|
|
1902
|
+
function Companion_getInstance_2() {
|
|
1903
|
+
if (Companion_instance_5 == null)
|
|
1923
1904
|
new Companion_2();
|
|
1924
|
-
return
|
|
1905
|
+
return Companion_instance_5;
|
|
1925
1906
|
}
|
|
1926
1907
|
function WsToScala() {
|
|
1927
|
-
|
|
1908
|
+
Companion_getInstance_2();
|
|
1928
1909
|
Compiler.call(this);
|
|
1929
1910
|
}
|
|
1930
1911
|
protoOf(WsToScala).compile = function (source) {
|
|
1931
|
-
return produce_15(this.preCompile(source)(
|
|
1912
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_2().l2f_1));
|
|
1932
1913
|
};
|
|
1933
1914
|
function Companion_3() {
|
|
1934
|
-
|
|
1935
|
-
this.
|
|
1915
|
+
Companion_instance_6 = this;
|
|
1916
|
+
this.m2f_1 = new JavaEmitter(VOID, Companion_getInstance().logger);
|
|
1936
1917
|
}
|
|
1937
|
-
var
|
|
1938
|
-
function
|
|
1939
|
-
if (
|
|
1918
|
+
var Companion_instance_6;
|
|
1919
|
+
function Companion_getInstance_3() {
|
|
1920
|
+
if (Companion_instance_6 == null)
|
|
1940
1921
|
new Companion_3();
|
|
1941
|
-
return
|
|
1922
|
+
return Companion_instance_6;
|
|
1942
1923
|
}
|
|
1943
1924
|
function WsToJava() {
|
|
1944
|
-
|
|
1925
|
+
Companion_getInstance_3();
|
|
1945
1926
|
Compiler.call(this);
|
|
1946
1927
|
}
|
|
1947
1928
|
protoOf(WsToJava).compile = function (source) {
|
|
1948
|
-
return produce_15(this.preCompile(source)(
|
|
1929
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_3().m2f_1));
|
|
1949
1930
|
};
|
|
1950
1931
|
function Companion_4() {
|
|
1951
|
-
|
|
1952
|
-
this.
|
|
1932
|
+
Companion_instance_7 = this;
|
|
1933
|
+
this.n2f_1 = new WirespecEmitter(Companion_getInstance().logger);
|
|
1953
1934
|
}
|
|
1954
|
-
var
|
|
1955
|
-
function
|
|
1956
|
-
if (
|
|
1935
|
+
var Companion_instance_7;
|
|
1936
|
+
function Companion_getInstance_4() {
|
|
1937
|
+
if (Companion_instance_7 == null)
|
|
1957
1938
|
new Companion_4();
|
|
1958
|
-
return
|
|
1939
|
+
return Companion_instance_7;
|
|
1959
1940
|
}
|
|
1960
1941
|
function WsToWirespec() {
|
|
1961
|
-
|
|
1942
|
+
Companion_getInstance_4();
|
|
1962
1943
|
Compiler.call(this);
|
|
1963
1944
|
}
|
|
1964
1945
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1965
|
-
return produce_15(this.preCompile(source)(
|
|
1946
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_4().n2f_1));
|
|
1966
1947
|
};
|
|
1967
1948
|
function OpenApiV2Parser() {
|
|
1968
|
-
OpenApiV2Parser_instance = this;
|
|
1969
1949
|
}
|
|
1970
1950
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1971
|
-
return produce(
|
|
1951
|
+
return produce(Companion_instance_0.h2c(source));
|
|
1972
1952
|
};
|
|
1973
1953
|
var OpenApiV2Parser_instance;
|
|
1974
1954
|
function OpenApiV2Parser_getInstance() {
|
|
1975
|
-
if (OpenApiV2Parser_instance == null)
|
|
1976
|
-
new OpenApiV2Parser();
|
|
1977
1955
|
return OpenApiV2Parser_instance;
|
|
1978
1956
|
}
|
|
1979
1957
|
function OpenApiV2ToTypescript$logger$1() {
|
|
@@ -1983,29 +1961,28 @@
|
|
|
1983
1961
|
OpenApiV2ToTypescript_instance = this;
|
|
1984
1962
|
var tmp = this;
|
|
1985
1963
|
tmp.logger = new OpenApiV2ToTypescript$logger$1();
|
|
1986
|
-
this.
|
|
1964
|
+
this.o2f_1 = new TypeScriptEmitter(this.logger);
|
|
1987
1965
|
}
|
|
1988
|
-
protoOf(OpenApiV2ToTypescript).
|
|
1966
|
+
protoOf(OpenApiV2ToTypescript).i2f = function () {
|
|
1989
1967
|
return this.logger;
|
|
1990
1968
|
};
|
|
1991
1969
|
protoOf(OpenApiV2ToTypescript).compile = function (source) {
|
|
1992
|
-
var ast =
|
|
1970
|
+
var ast = Companion_instance_0.h2c(source);
|
|
1993
1971
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1994
1972
|
// Inline function 'kotlin.collections.map' call
|
|
1995
|
-
var
|
|
1973
|
+
var this_0 = this.o2f_1.p20(ast);
|
|
1996
1974
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1997
|
-
var
|
|
1998
|
-
var tmp0_iterator =
|
|
1975
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1976
|
+
var tmp0_iterator = this_0.v();
|
|
1999
1977
|
while (tmp0_iterator.w()) {
|
|
2000
1978
|
var item = tmp0_iterator.y();
|
|
2001
|
-
var tmp$ret$0;
|
|
2002
1979
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToTypescript.compile.<anonymous>' call
|
|
2003
|
-
var file = item.
|
|
2004
|
-
var value = item.
|
|
2005
|
-
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2006
|
-
|
|
1980
|
+
var file = item.jd();
|
|
1981
|
+
var value = item.kd();
|
|
1982
|
+
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
1983
|
+
destination.s(tmp$ret$0);
|
|
2007
1984
|
}
|
|
2008
|
-
return copyToArray(
|
|
1985
|
+
return copyToArray(destination);
|
|
2009
1986
|
};
|
|
2010
1987
|
var OpenApiV2ToTypescript_instance;
|
|
2011
1988
|
function OpenApiV2ToTypescript_getInstance() {
|
|
@@ -2020,29 +1997,28 @@
|
|
|
2020
1997
|
OpenApiV2ToWirespec_instance = this;
|
|
2021
1998
|
var tmp = this;
|
|
2022
1999
|
tmp.logger = new OpenApiV2ToWirespec$logger$1();
|
|
2023
|
-
this.
|
|
2000
|
+
this.p2f_1 = new WirespecEmitter(this.logger);
|
|
2024
2001
|
}
|
|
2025
|
-
protoOf(OpenApiV2ToWirespec).
|
|
2002
|
+
protoOf(OpenApiV2ToWirespec).i2f = function () {
|
|
2026
2003
|
return this.logger;
|
|
2027
2004
|
};
|
|
2028
2005
|
protoOf(OpenApiV2ToWirespec).compile = function (source) {
|
|
2029
|
-
var ast =
|
|
2006
|
+
var ast = Companion_instance_0.h2c(source);
|
|
2030
2007
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2031
2008
|
// Inline function 'kotlin.collections.map' call
|
|
2032
|
-
var
|
|
2009
|
+
var this_0 = this.p2f_1.p20(ast);
|
|
2033
2010
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2034
|
-
var
|
|
2035
|
-
var tmp0_iterator =
|
|
2011
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2012
|
+
var tmp0_iterator = this_0.v();
|
|
2036
2013
|
while (tmp0_iterator.w()) {
|
|
2037
2014
|
var item = tmp0_iterator.y();
|
|
2038
|
-
var tmp$ret$0;
|
|
2039
2015
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToWirespec.compile.<anonymous>' call
|
|
2040
|
-
var file = item.
|
|
2041
|
-
var value = item.
|
|
2042
|
-
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2043
|
-
|
|
2016
|
+
var file = item.jd();
|
|
2017
|
+
var value = item.kd();
|
|
2018
|
+
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2019
|
+
destination.s(tmp$ret$0);
|
|
2044
2020
|
}
|
|
2045
|
-
return copyToArray(
|
|
2021
|
+
return copyToArray(destination);
|
|
2046
2022
|
};
|
|
2047
2023
|
var OpenApiV2ToWirespec_instance;
|
|
2048
2024
|
function OpenApiV2ToWirespec_getInstance() {
|
|
@@ -2051,15 +2027,12 @@
|
|
|
2051
2027
|
return OpenApiV2ToWirespec_instance;
|
|
2052
2028
|
}
|
|
2053
2029
|
function OpenApiV3Parser() {
|
|
2054
|
-
OpenApiV3Parser_instance = this;
|
|
2055
2030
|
}
|
|
2056
2031
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
2057
|
-
return produce(
|
|
2032
|
+
return produce(Companion_instance_1.y2c(source));
|
|
2058
2033
|
};
|
|
2059
2034
|
var OpenApiV3Parser_instance;
|
|
2060
2035
|
function OpenApiV3Parser_getInstance() {
|
|
2061
|
-
if (OpenApiV3Parser_instance == null)
|
|
2062
|
-
new OpenApiV3Parser();
|
|
2063
2036
|
return OpenApiV3Parser_instance;
|
|
2064
2037
|
}
|
|
2065
2038
|
function OpenApiV3ToTypescript$logger$1() {
|
|
@@ -2069,29 +2042,28 @@
|
|
|
2069
2042
|
OpenApiV3ToTypescript_instance = this;
|
|
2070
2043
|
var tmp = this;
|
|
2071
2044
|
tmp.logger = new OpenApiV3ToTypescript$logger$1();
|
|
2072
|
-
this.
|
|
2045
|
+
this.q2f_1 = new TypeScriptEmitter(this.logger);
|
|
2073
2046
|
}
|
|
2074
|
-
protoOf(OpenApiV3ToTypescript).
|
|
2047
|
+
protoOf(OpenApiV3ToTypescript).i2f = function () {
|
|
2075
2048
|
return this.logger;
|
|
2076
2049
|
};
|
|
2077
2050
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
2078
|
-
var ast =
|
|
2051
|
+
var ast = Companion_instance_1.y2c(source);
|
|
2079
2052
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2080
2053
|
// Inline function 'kotlin.collections.map' call
|
|
2081
|
-
var
|
|
2054
|
+
var this_0 = this.q2f_1.p20(ast);
|
|
2082
2055
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2083
|
-
var
|
|
2084
|
-
var tmp0_iterator =
|
|
2056
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2057
|
+
var tmp0_iterator = this_0.v();
|
|
2085
2058
|
while (tmp0_iterator.w()) {
|
|
2086
2059
|
var item = tmp0_iterator.y();
|
|
2087
|
-
var tmp$ret$0;
|
|
2088
2060
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
2089
|
-
var file = item.
|
|
2090
|
-
var value = item.
|
|
2091
|
-
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2092
|
-
|
|
2061
|
+
var file = item.jd();
|
|
2062
|
+
var value = item.kd();
|
|
2063
|
+
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2064
|
+
destination.s(tmp$ret$0);
|
|
2093
2065
|
}
|
|
2094
|
-
return copyToArray(
|
|
2066
|
+
return copyToArray(destination);
|
|
2095
2067
|
};
|
|
2096
2068
|
var OpenApiV3ToTypescript_instance;
|
|
2097
2069
|
function OpenApiV3ToTypescript_getInstance() {
|
|
@@ -2106,29 +2078,28 @@
|
|
|
2106
2078
|
OpenApiV3ToWirespec_instance = this;
|
|
2107
2079
|
var tmp = this;
|
|
2108
2080
|
tmp.logger = new OpenApiV3ToWirespec$logger$1();
|
|
2109
|
-
this.
|
|
2081
|
+
this.r2f_1 = new WirespecEmitter(this.logger);
|
|
2110
2082
|
}
|
|
2111
|
-
protoOf(OpenApiV3ToWirespec).
|
|
2083
|
+
protoOf(OpenApiV3ToWirespec).i2f = function () {
|
|
2112
2084
|
return this.logger;
|
|
2113
2085
|
};
|
|
2114
2086
|
protoOf(OpenApiV3ToWirespec).compile = function (source) {
|
|
2115
|
-
var ast =
|
|
2087
|
+
var ast = Companion_instance_1.y2c(source);
|
|
2116
2088
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2117
2089
|
// Inline function 'kotlin.collections.map' call
|
|
2118
|
-
var
|
|
2090
|
+
var this_0 = this.r2f_1.p20(ast);
|
|
2119
2091
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2120
|
-
var
|
|
2121
|
-
var tmp0_iterator =
|
|
2092
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2093
|
+
var tmp0_iterator = this_0.v();
|
|
2122
2094
|
while (tmp0_iterator.w()) {
|
|
2123
2095
|
var item = tmp0_iterator.y();
|
|
2124
|
-
var tmp$ret$0;
|
|
2125
2096
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToWirespec.compile.<anonymous>' call
|
|
2126
|
-
var file = item.
|
|
2127
|
-
var value = item.
|
|
2128
|
-
tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2129
|
-
|
|
2097
|
+
var file = item.jd();
|
|
2098
|
+
var value = item.kd();
|
|
2099
|
+
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2100
|
+
destination.s(tmp$ret$0);
|
|
2130
2101
|
}
|
|
2131
|
-
return copyToArray(
|
|
2102
|
+
return copyToArray(destination);
|
|
2132
2103
|
};
|
|
2133
2104
|
var OpenApiV3ToWirespec_instance;
|
|
2134
2105
|
function OpenApiV3ToWirespec_getInstance() {
|
|
@@ -2149,10 +2120,10 @@
|
|
|
2149
2120
|
this.result = result;
|
|
2150
2121
|
this.errors = errors;
|
|
2151
2122
|
}
|
|
2152
|
-
protoOf(WsCompilationResult).
|
|
2123
|
+
protoOf(WsCompilationResult).s2f = function () {
|
|
2153
2124
|
return this.result;
|
|
2154
2125
|
};
|
|
2155
|
-
protoOf(WsCompilationResult).
|
|
2126
|
+
protoOf(WsCompilationResult).t2f = function () {
|
|
2156
2127
|
return this.errors;
|
|
2157
2128
|
};
|
|
2158
2129
|
function WsCompiled(value) {
|
|
@@ -2165,7 +2136,7 @@
|
|
|
2165
2136
|
this.name = name;
|
|
2166
2137
|
this.value = value;
|
|
2167
2138
|
}
|
|
2168
|
-
protoOf(WsCompiledFile).
|
|
2139
|
+
protoOf(WsCompiledFile).za = function () {
|
|
2169
2140
|
return this.name;
|
|
2170
2141
|
};
|
|
2171
2142
|
protoOf(WsCompiledFile).p2 = function () {
|
|
@@ -2177,10 +2148,10 @@
|
|
|
2177
2148
|
this.result = result;
|
|
2178
2149
|
this.errors = errors;
|
|
2179
2150
|
}
|
|
2180
|
-
protoOf(WsParseResult).
|
|
2151
|
+
protoOf(WsParseResult).s2f = function () {
|
|
2181
2152
|
return this.result;
|
|
2182
2153
|
};
|
|
2183
|
-
protoOf(WsParseResult).
|
|
2154
|
+
protoOf(WsParseResult).t2f = function () {
|
|
2184
2155
|
return this.errors;
|
|
2185
2156
|
};
|
|
2186
2157
|
function WsStringResult(result, errors) {
|
|
@@ -2189,64 +2160,60 @@
|
|
|
2189
2160
|
this.result = result;
|
|
2190
2161
|
this.errors = errors;
|
|
2191
2162
|
}
|
|
2192
|
-
protoOf(WsStringResult).
|
|
2163
|
+
protoOf(WsStringResult).s2f = function () {
|
|
2193
2164
|
return this.result;
|
|
2194
2165
|
};
|
|
2195
|
-
protoOf(WsStringResult).
|
|
2166
|
+
protoOf(WsStringResult).t2f = function () {
|
|
2196
2167
|
return this.errors;
|
|
2197
2168
|
};
|
|
2198
2169
|
function WsEmitted(typeName, result) {
|
|
2199
2170
|
this.typeName = typeName;
|
|
2200
2171
|
this.result = result;
|
|
2201
2172
|
}
|
|
2202
|
-
protoOf(WsEmitted).
|
|
2173
|
+
protoOf(WsEmitted).u2f = function () {
|
|
2203
2174
|
return this.typeName;
|
|
2204
2175
|
};
|
|
2205
|
-
protoOf(WsEmitted).
|
|
2176
|
+
protoOf(WsEmitted).s2f = function () {
|
|
2206
2177
|
return this.result;
|
|
2207
2178
|
};
|
|
2208
2179
|
function produce_14(_this__u8e3s4) {
|
|
2209
2180
|
var tmp;
|
|
2210
2181
|
if (_this__u8e3s4 instanceof Left) {
|
|
2211
|
-
var tmp$ret$5;
|
|
2212
2182
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2213
2183
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2214
|
-
var
|
|
2184
|
+
var this_0 = _this__u8e3s4.hj_1;
|
|
2215
2185
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2216
|
-
var
|
|
2217
|
-
var tmp_0 = produce_22(
|
|
2186
|
+
var it = this_0.rj_1;
|
|
2187
|
+
var tmp_0 = produce_22(it);
|
|
2218
2188
|
// Inline function 'kotlin.collections.map' call
|
|
2219
|
-
var
|
|
2189
|
+
var this_1 = this_0.sj_1;
|
|
2220
2190
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2221
|
-
var
|
|
2222
|
-
var tmp0_iterator =
|
|
2191
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2192
|
+
var tmp0_iterator = this_1.v();
|
|
2223
2193
|
while (tmp0_iterator.w()) {
|
|
2224
2194
|
var item = tmp0_iterator.y();
|
|
2225
|
-
var tmp$ret$1;
|
|
2226
2195
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2227
|
-
tmp$ret$1 = produce_22(item);
|
|
2228
|
-
|
|
2196
|
+
var tmp$ret$1 = produce_22(item);
|
|
2197
|
+
destination.s(tmp$ret$1);
|
|
2229
2198
|
}
|
|
2230
|
-
var
|
|
2231
|
-
tmp$ret$5 = copyToArray(
|
|
2199
|
+
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2200
|
+
var tmp$ret$5 = copyToArray(this_2);
|
|
2232
2201
|
tmp = new WsParseResult(VOID, tmp$ret$5);
|
|
2233
2202
|
} else {
|
|
2234
2203
|
if (_this__u8e3s4 instanceof Right) {
|
|
2235
|
-
var tmp$ret$9;
|
|
2236
2204
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2237
2205
|
// Inline function 'kotlin.collections.map' call
|
|
2238
|
-
var
|
|
2206
|
+
var this_3 = _this__u8e3s4.nj_1;
|
|
2239
2207
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2240
|
-
var
|
|
2241
|
-
var tmp0_iterator_0 =
|
|
2208
|
+
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2209
|
+
var tmp0_iterator_0 = this_3.v();
|
|
2242
2210
|
while (tmp0_iterator_0.w()) {
|
|
2243
2211
|
var item_0 = tmp0_iterator_0.y();
|
|
2244
|
-
var tmp$ret$6;
|
|
2245
2212
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2246
|
-
tmp$ret$6 = produce_0(item_0);
|
|
2247
|
-
|
|
2213
|
+
var tmp$ret$6 = produce_0(item_0);
|
|
2214
|
+
destination_0.s(tmp$ret$6);
|
|
2248
2215
|
}
|
|
2249
|
-
tmp$ret$9 = copyToArray(
|
|
2216
|
+
var tmp$ret$9 = copyToArray(destination_0);
|
|
2250
2217
|
tmp = new WsParseResult(tmp$ret$9);
|
|
2251
2218
|
} else {
|
|
2252
2219
|
noWhenBranchMatchedException();
|
|
@@ -2257,45 +2224,41 @@
|
|
|
2257
2224
|
function produce_15(_this__u8e3s4) {
|
|
2258
2225
|
var tmp;
|
|
2259
2226
|
if (_this__u8e3s4 instanceof Left) {
|
|
2260
|
-
var tmp$ret$5;
|
|
2261
2227
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2262
2228
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2263
|
-
var
|
|
2229
|
+
var this_0 = _this__u8e3s4.hj_1;
|
|
2264
2230
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2265
|
-
var
|
|
2266
|
-
var tmp_0 = produce_22(
|
|
2231
|
+
var it = this_0.rj_1;
|
|
2232
|
+
var tmp_0 = produce_22(it);
|
|
2267
2233
|
// Inline function 'kotlin.collections.map' call
|
|
2268
|
-
var
|
|
2234
|
+
var this_1 = this_0.sj_1;
|
|
2269
2235
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2270
|
-
var
|
|
2271
|
-
var tmp0_iterator =
|
|
2236
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2237
|
+
var tmp0_iterator = this_1.v();
|
|
2272
2238
|
while (tmp0_iterator.w()) {
|
|
2273
2239
|
var item = tmp0_iterator.y();
|
|
2274
|
-
var tmp$ret$1;
|
|
2275
2240
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2276
|
-
tmp$ret$1 = produce_22(item);
|
|
2277
|
-
|
|
2241
|
+
var tmp$ret$1 = produce_22(item);
|
|
2242
|
+
destination.s(tmp$ret$1);
|
|
2278
2243
|
}
|
|
2279
|
-
var
|
|
2280
|
-
tmp$ret$5 = copyToArray(
|
|
2244
|
+
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2245
|
+
var tmp$ret$5 = copyToArray(this_2);
|
|
2281
2246
|
tmp = new WsCompilationResult(VOID, tmp$ret$5);
|
|
2282
2247
|
} else {
|
|
2283
2248
|
if (_this__u8e3s4 instanceof Right) {
|
|
2284
|
-
var tmp$ret$9;
|
|
2285
2249
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2286
2250
|
// Inline function 'kotlin.collections.map' call
|
|
2287
|
-
var
|
|
2251
|
+
var this_3 = _this__u8e3s4.nj_1;
|
|
2288
2252
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2289
|
-
var
|
|
2290
|
-
var tmp0_iterator_0 =
|
|
2253
|
+
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2254
|
+
var tmp0_iterator_0 = this_3.v();
|
|
2291
2255
|
while (tmp0_iterator_0.w()) {
|
|
2292
2256
|
var item_0 = tmp0_iterator_0.y();
|
|
2293
|
-
var tmp$ret$6;
|
|
2294
2257
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2295
|
-
tmp$ret$6 = produce_16(item_0);
|
|
2296
|
-
|
|
2258
|
+
var tmp$ret$6 = produce_16(item_0);
|
|
2259
|
+
destination_0.s(tmp$ret$6);
|
|
2297
2260
|
}
|
|
2298
|
-
tmp$ret$9 = copyToArray(
|
|
2261
|
+
var tmp$ret$9 = copyToArray(destination_0);
|
|
2299
2262
|
tmp = new WsCompilationResult(new WsCompiled(tmp$ret$9));
|
|
2300
2263
|
} else {
|
|
2301
2264
|
noWhenBranchMatchedException();
|
|
@@ -2304,36 +2267,34 @@
|
|
|
2304
2267
|
return tmp;
|
|
2305
2268
|
}
|
|
2306
2269
|
function produce_16(_this__u8e3s4) {
|
|
2307
|
-
return new WsEmitted(_this__u8e3s4.
|
|
2270
|
+
return new WsEmitted(_this__u8e3s4.c22_1, _this__u8e3s4.d22_1);
|
|
2308
2271
|
}
|
|
2309
2272
|
function produce_17(_this__u8e3s4) {
|
|
2310
2273
|
var tmp;
|
|
2311
2274
|
if (_this__u8e3s4 instanceof Left) {
|
|
2312
|
-
var tmp$ret$5;
|
|
2313
2275
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2314
2276
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2315
|
-
var
|
|
2277
|
+
var this_0 = _this__u8e3s4.hj_1;
|
|
2316
2278
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2317
|
-
var
|
|
2318
|
-
var tmp_0 = produce_22(
|
|
2279
|
+
var it = this_0.rj_1;
|
|
2280
|
+
var tmp_0 = produce_22(it);
|
|
2319
2281
|
// Inline function 'kotlin.collections.map' call
|
|
2320
|
-
var
|
|
2282
|
+
var this_1 = this_0.sj_1;
|
|
2321
2283
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2322
|
-
var
|
|
2323
|
-
var tmp0_iterator =
|
|
2284
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2285
|
+
var tmp0_iterator = this_1.v();
|
|
2324
2286
|
while (tmp0_iterator.w()) {
|
|
2325
2287
|
var item = tmp0_iterator.y();
|
|
2326
|
-
var tmp$ret$1;
|
|
2327
2288
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2328
|
-
tmp$ret$1 = produce_22(item);
|
|
2329
|
-
|
|
2289
|
+
var tmp$ret$1 = produce_22(item);
|
|
2290
|
+
destination.s(tmp$ret$1);
|
|
2330
2291
|
}
|
|
2331
|
-
var
|
|
2332
|
-
tmp$ret$5 = copyToArray(
|
|
2292
|
+
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2293
|
+
var tmp$ret$5 = copyToArray(this_2);
|
|
2333
2294
|
tmp = new WsStringResult(VOID, tmp$ret$5);
|
|
2334
2295
|
} else {
|
|
2335
2296
|
if (_this__u8e3s4 instanceof Right) {
|
|
2336
|
-
tmp = new WsStringResult(_this__u8e3s4.
|
|
2297
|
+
tmp = new WsStringResult(_this__u8e3s4.nj_1);
|
|
2337
2298
|
} else {
|
|
2338
2299
|
noWhenBranchMatchedException();
|
|
2339
2300
|
}
|
|
@@ -2346,25 +2307,25 @@
|
|
|
2346
2307
|
this.tokens = tokens;
|
|
2347
2308
|
this.error = error;
|
|
2348
2309
|
}
|
|
2349
|
-
protoOf(WsTokenResult).
|
|
2310
|
+
protoOf(WsTokenResult).v2f = function () {
|
|
2350
2311
|
return this.tokens;
|
|
2351
2312
|
};
|
|
2352
|
-
protoOf(WsTokenResult).
|
|
2313
|
+
protoOf(WsTokenResult).w2f = function () {
|
|
2353
2314
|
return this.error;
|
|
2354
2315
|
};
|
|
2355
|
-
protoOf(WsTokenResult).
|
|
2316
|
+
protoOf(WsTokenResult).jd = function () {
|
|
2356
2317
|
return this.tokens;
|
|
2357
2318
|
};
|
|
2358
|
-
protoOf(WsTokenResult).
|
|
2319
|
+
protoOf(WsTokenResult).kd = function () {
|
|
2359
2320
|
return this.error;
|
|
2360
2321
|
};
|
|
2361
|
-
protoOf(WsTokenResult).
|
|
2322
|
+
protoOf(WsTokenResult).x2f = function (tokens, error) {
|
|
2362
2323
|
return new WsTokenResult(tokens, error);
|
|
2363
2324
|
};
|
|
2364
2325
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
2365
2326
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
2366
2327
|
error = error === VOID ? this.error : error;
|
|
2367
|
-
return this.
|
|
2328
|
+
return this.x2f(tokens, error);
|
|
2368
2329
|
};
|
|
2369
2330
|
protoOf(WsTokenResult).toString = function () {
|
|
2370
2331
|
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
@@ -2395,7 +2356,7 @@
|
|
|
2395
2356
|
protoOf(WsTokens).equals = function (other) {
|
|
2396
2357
|
if (this === other)
|
|
2397
2358
|
return true;
|
|
2398
|
-
if (other == null ? true : !
|
|
2359
|
+
if (other == null ? true : !(this.constructor == other.constructor))
|
|
2399
2360
|
return false;
|
|
2400
2361
|
if (!(other instanceof WsTokens))
|
|
2401
2362
|
THROW_CCE();
|
|
@@ -2406,15 +2367,15 @@
|
|
|
2406
2367
|
protoOf(WsTokens).hashCode = function () {
|
|
2407
2368
|
return contentHashCode(this.value);
|
|
2408
2369
|
};
|
|
2409
|
-
protoOf(WsTokens).
|
|
2370
|
+
protoOf(WsTokens).jd = function () {
|
|
2410
2371
|
return this.value;
|
|
2411
2372
|
};
|
|
2412
|
-
protoOf(WsTokens).
|
|
2373
|
+
protoOf(WsTokens).y2f = function (value) {
|
|
2413
2374
|
return new WsTokens(value);
|
|
2414
2375
|
};
|
|
2415
2376
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
2416
2377
|
value = value === VOID ? this.value : value;
|
|
2417
|
-
return this.
|
|
2378
|
+
return this.y2f(value);
|
|
2418
2379
|
};
|
|
2419
2380
|
protoOf(WsTokens).toString = function () {
|
|
2420
2381
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -2425,32 +2386,32 @@
|
|
|
2425
2386
|
this.value = value;
|
|
2426
2387
|
this.coordinates = coordinates;
|
|
2427
2388
|
}
|
|
2428
|
-
protoOf(WsToken).
|
|
2389
|
+
protoOf(WsToken).a2f = function () {
|
|
2429
2390
|
return this.type;
|
|
2430
2391
|
};
|
|
2431
2392
|
protoOf(WsToken).p2 = function () {
|
|
2432
2393
|
return this.value;
|
|
2433
2394
|
};
|
|
2434
|
-
protoOf(WsToken).
|
|
2395
|
+
protoOf(WsToken).z2f = function () {
|
|
2435
2396
|
return this.coordinates;
|
|
2436
2397
|
};
|
|
2437
|
-
protoOf(WsToken).
|
|
2398
|
+
protoOf(WsToken).jd = function () {
|
|
2438
2399
|
return this.type;
|
|
2439
2400
|
};
|
|
2440
|
-
protoOf(WsToken).
|
|
2401
|
+
protoOf(WsToken).kd = function () {
|
|
2441
2402
|
return this.value;
|
|
2442
2403
|
};
|
|
2443
|
-
protoOf(WsToken).
|
|
2404
|
+
protoOf(WsToken).dh = function () {
|
|
2444
2405
|
return this.coordinates;
|
|
2445
2406
|
};
|
|
2446
|
-
protoOf(WsToken).
|
|
2407
|
+
protoOf(WsToken).a2g = function (type, value, coordinates) {
|
|
2447
2408
|
return new WsToken(type, value, coordinates);
|
|
2448
2409
|
};
|
|
2449
2410
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
2450
2411
|
type = type === VOID ? this.type : type;
|
|
2451
2412
|
value = value === VOID ? this.value : value;
|
|
2452
2413
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
2453
|
-
return this.
|
|
2414
|
+
return this.a2g(type, value, coordinates);
|
|
2454
2415
|
};
|
|
2455
2416
|
protoOf(WsToken).toString = function () {
|
|
2456
2417
|
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
@@ -2483,32 +2444,32 @@
|
|
|
2483
2444
|
this.position = position;
|
|
2484
2445
|
this.idxAndLength = idxAndLength;
|
|
2485
2446
|
}
|
|
2486
|
-
protoOf(WsCoordinates).
|
|
2447
|
+
protoOf(WsCoordinates).b2g = function () {
|
|
2487
2448
|
return this.line;
|
|
2488
2449
|
};
|
|
2489
|
-
protoOf(WsCoordinates).
|
|
2450
|
+
protoOf(WsCoordinates).xs = function () {
|
|
2490
2451
|
return this.position;
|
|
2491
2452
|
};
|
|
2492
|
-
protoOf(WsCoordinates).
|
|
2453
|
+
protoOf(WsCoordinates).c2g = function () {
|
|
2493
2454
|
return this.idxAndLength;
|
|
2494
2455
|
};
|
|
2495
|
-
protoOf(WsCoordinates).
|
|
2456
|
+
protoOf(WsCoordinates).jd = function () {
|
|
2496
2457
|
return this.line;
|
|
2497
2458
|
};
|
|
2498
|
-
protoOf(WsCoordinates).
|
|
2459
|
+
protoOf(WsCoordinates).kd = function () {
|
|
2499
2460
|
return this.position;
|
|
2500
2461
|
};
|
|
2501
|
-
protoOf(WsCoordinates).
|
|
2462
|
+
protoOf(WsCoordinates).dh = function () {
|
|
2502
2463
|
return this.idxAndLength;
|
|
2503
2464
|
};
|
|
2504
|
-
protoOf(WsCoordinates).
|
|
2465
|
+
protoOf(WsCoordinates).d2g = function (line, position, idxAndLength) {
|
|
2505
2466
|
return new WsCoordinates(line, position, idxAndLength);
|
|
2506
2467
|
};
|
|
2507
2468
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
2508
2469
|
line = line === VOID ? this.line : line;
|
|
2509
2470
|
position = position === VOID ? this.position : position;
|
|
2510
2471
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
2511
|
-
return this.
|
|
2472
|
+
return this.d2g(line, position, idxAndLength);
|
|
2512
2473
|
};
|
|
2513
2474
|
protoOf(WsCoordinates).toString = function () {
|
|
2514
2475
|
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
@@ -2539,25 +2500,25 @@
|
|
|
2539
2500
|
this.idx = idx;
|
|
2540
2501
|
this.length = length;
|
|
2541
2502
|
}
|
|
2542
|
-
protoOf(WsIndex).
|
|
2503
|
+
protoOf(WsIndex).e2g = function () {
|
|
2543
2504
|
return this.idx;
|
|
2544
2505
|
};
|
|
2545
2506
|
protoOf(WsIndex).a = function () {
|
|
2546
2507
|
return this.length;
|
|
2547
2508
|
};
|
|
2548
|
-
protoOf(WsIndex).
|
|
2509
|
+
protoOf(WsIndex).jd = function () {
|
|
2549
2510
|
return this.idx;
|
|
2550
2511
|
};
|
|
2551
|
-
protoOf(WsIndex).
|
|
2512
|
+
protoOf(WsIndex).kd = function () {
|
|
2552
2513
|
return this.length;
|
|
2553
2514
|
};
|
|
2554
|
-
protoOf(WsIndex).
|
|
2515
|
+
protoOf(WsIndex).f2g = function (idx, length) {
|
|
2555
2516
|
return new WsIndex(idx, length);
|
|
2556
2517
|
};
|
|
2557
2518
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
2558
2519
|
idx = idx === VOID ? this.idx : idx;
|
|
2559
2520
|
length = length === VOID ? this.length : length;
|
|
2560
|
-
return this.
|
|
2521
|
+
return this.f2g(idx, length);
|
|
2561
2522
|
};
|
|
2562
2523
|
protoOf(WsIndex).toString = function () {
|
|
2563
2524
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2580,37 +2541,35 @@
|
|
|
2580
2541
|
return true;
|
|
2581
2542
|
};
|
|
2582
2543
|
function produce_18(_this__u8e3s4) {
|
|
2583
|
-
var tmp$ret$3;
|
|
2584
2544
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2585
2545
|
// Inline function 'kotlin.collections.map' call
|
|
2586
2546
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2587
|
-
var
|
|
2547
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
2588
2548
|
var tmp0_iterator = _this__u8e3s4.v();
|
|
2589
2549
|
while (tmp0_iterator.w()) {
|
|
2590
2550
|
var item = tmp0_iterator.y();
|
|
2591
|
-
var tmp$ret$0;
|
|
2592
2551
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2593
|
-
tmp$ret$0 = produce_19(item);
|
|
2594
|
-
|
|
2552
|
+
var tmp$ret$0 = produce_19(item);
|
|
2553
|
+
destination.s(tmp$ret$0);
|
|
2595
2554
|
}
|
|
2596
|
-
tmp$ret$3 = copyToArray(
|
|
2555
|
+
var tmp$ret$3 = copyToArray(destination);
|
|
2597
2556
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
2598
2557
|
}
|
|
2599
2558
|
function produce_19(_this__u8e3s4) {
|
|
2600
|
-
return new WsToken(_this__u8e3s4.
|
|
2559
|
+
return new WsToken(_this__u8e3s4.i29_1.k29(), _this__u8e3s4.h29_1, produce_20(_this__u8e3s4.j29_1));
|
|
2601
2560
|
}
|
|
2602
2561
|
function produce_20(_this__u8e3s4) {
|
|
2603
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
2562
|
+
return new WsCoordinates(_this__u8e3s4.l29_1, _this__u8e3s4.m29_1, produce_21(_this__u8e3s4.n29_1));
|
|
2604
2563
|
}
|
|
2605
2564
|
function produce_21(_this__u8e3s4) {
|
|
2606
|
-
return new WsIndex(_this__u8e3s4.
|
|
2565
|
+
return new WsIndex(_this__u8e3s4.z2a_1, _this__u8e3s4.a2b_1);
|
|
2607
2566
|
}
|
|
2608
2567
|
function WsError(index, length, value) {
|
|
2609
2568
|
this.index = index;
|
|
2610
2569
|
this.length = length;
|
|
2611
2570
|
this.value = value;
|
|
2612
2571
|
}
|
|
2613
|
-
protoOf(WsError).
|
|
2572
|
+
protoOf(WsError).g2g = function () {
|
|
2614
2573
|
return this.index;
|
|
2615
2574
|
};
|
|
2616
2575
|
protoOf(WsError).a = function () {
|
|
@@ -2619,23 +2578,23 @@
|
|
|
2619
2578
|
protoOf(WsError).p2 = function () {
|
|
2620
2579
|
return this.value;
|
|
2621
2580
|
};
|
|
2622
|
-
protoOf(WsError).
|
|
2581
|
+
protoOf(WsError).jd = function () {
|
|
2623
2582
|
return this.index;
|
|
2624
2583
|
};
|
|
2625
|
-
protoOf(WsError).
|
|
2584
|
+
protoOf(WsError).kd = function () {
|
|
2626
2585
|
return this.length;
|
|
2627
2586
|
};
|
|
2628
|
-
protoOf(WsError).
|
|
2587
|
+
protoOf(WsError).dh = function () {
|
|
2629
2588
|
return this.value;
|
|
2630
2589
|
};
|
|
2631
|
-
protoOf(WsError).
|
|
2590
|
+
protoOf(WsError).h2g = function (index, length, value) {
|
|
2632
2591
|
return new WsError(index, length, value);
|
|
2633
2592
|
};
|
|
2634
2593
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
2635
2594
|
index = index === VOID ? this.index : index;
|
|
2636
2595
|
length = length === VOID ? this.length : length;
|
|
2637
2596
|
value = value === VOID ? this.value : value;
|
|
2638
|
-
return this.
|
|
2597
|
+
return this.h2g(index, length, value);
|
|
2639
2598
|
};
|
|
2640
2599
|
protoOf(WsError).toString = function () {
|
|
2641
2600
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2661,54 +2620,58 @@
|
|
|
2661
2620
|
return true;
|
|
2662
2621
|
};
|
|
2663
2622
|
function produce_22(_this__u8e3s4) {
|
|
2664
|
-
var tmp = _this__u8e3s4.
|
|
2623
|
+
var tmp = _this__u8e3s4.o29_1.n29_1.z2a_1 - _this__u8e3s4.o29_1.n29_1.a2b_1 | 0;
|
|
2665
2624
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2666
|
-
return new WsError(tmp, _this__u8e3s4.
|
|
2625
|
+
return new WsError(tmp, _this__u8e3s4.o29_1.n29_1.a2b_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2667
2626
|
}
|
|
2668
2627
|
//region block: post-declaration
|
|
2669
2628
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
2670
|
-
return this.
|
|
2671
|
-
}
|
|
2629
|
+
return this.a22();
|
|
2630
|
+
});
|
|
2672
2631
|
defineProp(protoOf(WsEndpoint), 'identifier', function () {
|
|
2673
|
-
return this.
|
|
2674
|
-
}
|
|
2632
|
+
return this.a22();
|
|
2633
|
+
});
|
|
2675
2634
|
defineProp(protoOf(WsEnum), 'identifier', function () {
|
|
2676
|
-
return this.
|
|
2677
|
-
}
|
|
2635
|
+
return this.a22();
|
|
2636
|
+
});
|
|
2678
2637
|
defineProp(protoOf(WsUnion), 'identifier', function () {
|
|
2679
|
-
return this.
|
|
2680
|
-
}
|
|
2638
|
+
return this.a22();
|
|
2639
|
+
});
|
|
2681
2640
|
defineProp(protoOf(WsRefined), 'identifier', function () {
|
|
2682
|
-
return this.
|
|
2683
|
-
}
|
|
2684
|
-
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).
|
|
2685
|
-
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).
|
|
2641
|
+
return this.a22();
|
|
2642
|
+
});
|
|
2643
|
+
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).za);
|
|
2644
|
+
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).ab);
|
|
2686
2645
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
2687
|
-
return this.
|
|
2688
|
-
}
|
|
2646
|
+
return this.g21();
|
|
2647
|
+
});
|
|
2689
2648
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2690
|
-
return this.
|
|
2691
|
-
}
|
|
2649
|
+
return this.r2e();
|
|
2650
|
+
});
|
|
2692
2651
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2693
|
-
return this.
|
|
2694
|
-
}
|
|
2652
|
+
return this.g21();
|
|
2653
|
+
});
|
|
2695
2654
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2696
|
-
return this.
|
|
2697
|
-
}
|
|
2655
|
+
return this.r2e();
|
|
2656
|
+
});
|
|
2698
2657
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2699
|
-
return this.
|
|
2700
|
-
}
|
|
2658
|
+
return this.g21();
|
|
2659
|
+
});
|
|
2701
2660
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2702
|
-
return this.
|
|
2703
|
-
}
|
|
2661
|
+
return this.r2e();
|
|
2662
|
+
});
|
|
2704
2663
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2705
|
-
return this.
|
|
2706
|
-
}
|
|
2664
|
+
return this.g21();
|
|
2665
|
+
});
|
|
2707
2666
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2708
|
-
return this.
|
|
2709
|
-
}
|
|
2710
|
-
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).
|
|
2711
|
-
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).
|
|
2667
|
+
return this.r2e();
|
|
2668
|
+
});
|
|
2669
|
+
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).za);
|
|
2670
|
+
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ab);
|
|
2671
|
+
//endregion
|
|
2672
|
+
//region block: init
|
|
2673
|
+
OpenApiV2Parser_instance = new OpenApiV2Parser();
|
|
2674
|
+
OpenApiV3Parser_instance = new OpenApiV3Parser();
|
|
2712
2675
|
//endregion
|
|
2713
2676
|
//region block: exports
|
|
2714
2677
|
function $jsExportAll$(_) {
|
|
@@ -2726,14 +2689,14 @@
|
|
|
2726
2689
|
$community$flock$wirespec$compiler$lib.WsMethod = WsMethod;
|
|
2727
2690
|
$community$flock$wirespec$compiler$lib.WsMethod.values = values;
|
|
2728
2691
|
$community$flock$wirespec$compiler$lib.WsMethod.valueOf = valueOf;
|
|
2729
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'GET', WsMethod_GET_getInstance
|
|
2730
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'POST', WsMethod_POST_getInstance
|
|
2731
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PUT', WsMethod_PUT_getInstance
|
|
2732
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'DELETE', WsMethod_DELETE_getInstance
|
|
2733
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'OPTIONS', WsMethod_OPTIONS_getInstance
|
|
2734
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'HEAD', WsMethod_HEAD_getInstance
|
|
2735
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PATCH', WsMethod_PATCH_getInstance
|
|
2736
|
-
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'TRACE', WsMethod_TRACE_getInstance
|
|
2692
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'GET', WsMethod_GET_getInstance);
|
|
2693
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'POST', WsMethod_POST_getInstance);
|
|
2694
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PUT', WsMethod_PUT_getInstance);
|
|
2695
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'DELETE', WsMethod_DELETE_getInstance);
|
|
2696
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'OPTIONS', WsMethod_OPTIONS_getInstance);
|
|
2697
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'HEAD', WsMethod_HEAD_getInstance);
|
|
2698
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'PATCH', WsMethod_PATCH_getInstance);
|
|
2699
|
+
defineProp($community$flock$wirespec$compiler$lib.WsMethod, 'TRACE', WsMethod_TRACE_getInstance);
|
|
2737
2700
|
$community$flock$wirespec$compiler$lib.WsLiteral = WsLiteral;
|
|
2738
2701
|
$community$flock$wirespec$compiler$lib.WsParam = WsParam;
|
|
2739
2702
|
$community$flock$wirespec$compiler$lib.Shape = Shape_0;
|
|
@@ -2746,10 +2709,10 @@
|
|
|
2746
2709
|
$community$flock$wirespec$compiler$lib.WsPrimitiveType = WsPrimitiveType;
|
|
2747
2710
|
$community$flock$wirespec$compiler$lib.WsPrimitiveType.values = values_0;
|
|
2748
2711
|
$community$flock$wirespec$compiler$lib.WsPrimitiveType.valueOf = valueOf_0;
|
|
2749
|
-
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'String', WsPrimitiveType_String_getInstance
|
|
2750
|
-
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Integer', WsPrimitiveType_Integer_getInstance
|
|
2751
|
-
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Number', WsPrimitiveType_Number_getInstance
|
|
2752
|
-
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Boolean', WsPrimitiveType_Boolean_getInstance
|
|
2712
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'String', WsPrimitiveType_String_getInstance);
|
|
2713
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Integer', WsPrimitiveType_Integer_getInstance);
|
|
2714
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Number', WsPrimitiveType_Number_getInstance);
|
|
2715
|
+
defineProp($community$flock$wirespec$compiler$lib.WsPrimitiveType, 'Boolean', WsPrimitiveType_Boolean_getInstance);
|
|
2753
2716
|
$community$flock$wirespec$compiler$lib.WsRequest = WsRequest;
|
|
2754
2717
|
$community$flock$wirespec$compiler$lib.WsResponse = WsResponse;
|
|
2755
2718
|
$community$flock$wirespec$compiler$lib.WsContent = WsContent;
|
|
@@ -2759,23 +2722,23 @@
|
|
|
2759
2722
|
var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
|
|
2760
2723
|
var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
|
|
2761
2724
|
$community$flock$wirespec$compiler$lib.Compiler = Compiler;
|
|
2762
|
-
defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion',
|
|
2725
|
+
defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance);
|
|
2763
2726
|
$community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
|
|
2764
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion',
|
|
2727
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance_0);
|
|
2765
2728
|
$community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
|
|
2766
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion',
|
|
2729
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_1);
|
|
2767
2730
|
$community$flock$wirespec$compiler$lib.WsToScala = WsToScala;
|
|
2768
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion',
|
|
2731
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_2);
|
|
2769
2732
|
$community$flock$wirespec$compiler$lib.WsToJava = WsToJava;
|
|
2770
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion',
|
|
2733
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_3);
|
|
2771
2734
|
$community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
|
|
2772
|
-
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion',
|
|
2773
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance
|
|
2774
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance
|
|
2775
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance
|
|
2776
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3Parser', OpenApiV3Parser_getInstance
|
|
2777
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToTypescript', OpenApiV3ToTypescript_getInstance
|
|
2778
|
-
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToWirespec', OpenApiV3ToWirespec_getInstance
|
|
2735
|
+
defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_4);
|
|
2736
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance);
|
|
2737
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance);
|
|
2738
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance);
|
|
2739
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3Parser', OpenApiV3Parser_getInstance);
|
|
2740
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToTypescript', OpenApiV3ToTypescript_getInstance);
|
|
2741
|
+
defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV3ToWirespec', OpenApiV3ToWirespec_getInstance);
|
|
2779
2742
|
var $community = _.community || (_.community = {});
|
|
2780
2743
|
var $community$flock = $community.flock || ($community.flock = {});
|
|
2781
2744
|
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|