@flock/wirespec 0.9.23 → 0.9.24
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-annotations.js +1 -1
- package/arrow-arrow-atomic.js +17 -18
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-continuations.js +4 -4
- package/arrow-arrow-core.js +96 -99
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +2045 -2060
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +552 -444
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +7794 -7837
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/{kotlin-kotlin-test-kotlin-test-js-ir.js → kotlin-kotlin-test.js} +3 -3
- package/kotlin-openapi-bindings.js +5331 -5326
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +2051 -2052
- package/kotlin-rgxgen.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2151 -2187
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1571 -1731
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +2308 -2317
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +2405 -2492
- package/mordant-mordant.js.map +1 -1
- package/package.json +2 -2
- package/resources-library.js +1 -1
- package/wirespec-src-compiler-core.js +2578 -2457
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +706 -600
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +1494 -1477
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +127 -124
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +236 -231
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +24 -7
- package/wirespec-src-plugin-npm.js +71 -71
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +176 -181
- package/wirespec-src-tools-generator.js.map +1 -1
- /package/{kotlin-kotlin-test-kotlin-test-js-ir.js.map → kotlin-kotlin-test.js.map} +0 -0
|
@@ -18,31 +18,32 @@
|
|
|
18
18
|
}
|
|
19
19
|
root['wirespec-src-compiler-lib'] = factory(typeof this['wirespec-src-compiler-lib'] === 'undefined' ? {} : this['wirespec-src-compiler-lib'], this['kotlin-kotlin-stdlib'], this['wirespec-src-compiler-core'], this['wirespec-src-converter-openapi'], this['arrow-arrow-core']);
|
|
20
20
|
}
|
|
21
|
-
}(
|
|
21
|
+
}(globalThis, function (_, kotlin_kotlin, kotlin_community_flock_wirespec_compiler_core, kotlin_community_flock_wirespec_converter_openapi, kotlin_io_arrow_kt_arrow_core) {
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var
|
|
27
|
-
var setMetadataFor = kotlin_kotlin.$_$.ra;
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.ta;
|
|
26
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.x9;
|
|
28
27
|
var VOID = kotlin_kotlin.$_$.g;
|
|
29
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
30
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
31
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
32
|
-
var
|
|
33
|
-
var toString = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var
|
|
28
|
+
var getStringHashCode = kotlin_kotlin.$_$.s9;
|
|
29
|
+
var THROW_CCE = kotlin_kotlin.$_$.af;
|
|
30
|
+
var defineProp = kotlin_kotlin.$_$.m9;
|
|
31
|
+
var initMetadataForClass = kotlin_kotlin.$_$.u9;
|
|
32
|
+
var toString = kotlin_kotlin.$_$.xa;
|
|
33
|
+
var hashCode = kotlin_kotlin.$_$.t9;
|
|
34
|
+
var equals = kotlin_kotlin.$_$.n9;
|
|
35
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.p9;
|
|
36
|
+
var THROW_IAE = kotlin_kotlin.$_$.bf;
|
|
37
37
|
var Unit_instance = kotlin_kotlin.$_$.i4;
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.qe;
|
|
39
|
+
var toString_0 = kotlin_kotlin.$_$.xf;
|
|
40
40
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
|
|
41
41
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
42
42
|
var copyToArray = kotlin_kotlin.$_$.v5;
|
|
43
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
43
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.vf;
|
|
44
44
|
var _Comment___get_value__impl__8r3pla = kotlin_community_flock_wirespec_compiler_core.$_$.v1;
|
|
45
45
|
var Comment = kotlin_community_flock_wirespec_compiler_core.$_$.h;
|
|
46
|
+
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.g;
|
|
46
47
|
var Union = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
|
|
47
48
|
var Refined = kotlin_community_flock_wirespec_compiler_core.$_$.y;
|
|
48
49
|
var Enum_0 = kotlin_community_flock_wirespec_compiler_core.$_$.q;
|
|
@@ -81,13 +82,14 @@
|
|
|
81
82
|
var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
|
|
82
83
|
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
|
|
83
84
|
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.w;
|
|
84
|
-
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
85
|
-
var
|
|
86
|
-
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
87
|
-
var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
88
|
-
var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
89
|
-
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.
|
|
85
|
+
var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
|
|
86
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.v9;
|
|
87
|
+
var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
|
|
88
|
+
var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
|
|
89
|
+
var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.b;
|
|
90
|
+
var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
|
|
90
91
|
var OpenApiV2Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
|
|
92
|
+
var initMetadataForObject = kotlin_kotlin.$_$.z9;
|
|
91
93
|
var OpenApiV3Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
|
|
92
94
|
var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
|
|
93
95
|
var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
|
|
@@ -96,98 +98,99 @@
|
|
|
96
98
|
var contentHashCode = kotlin_kotlin.$_$.k5;
|
|
97
99
|
//endregion
|
|
98
100
|
//region block: pre-declaration
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
101
|
+
initMetadataForInterface(WsNode, 'WsNode');
|
|
102
|
+
initMetadataForClass(WsType, 'WsType', VOID, VOID, [WsNode]);
|
|
103
|
+
initMetadataForClass(WsShape, 'WsShape');
|
|
104
|
+
initMetadataForClass(WsEndpoint, 'WsEndpoint', VOID, VOID, [WsNode]);
|
|
105
|
+
initMetadataForClass(WsEnum, 'WsEnum', VOID, VOID, [WsNode]);
|
|
106
|
+
initMetadataForClass(WsUnion, 'WsUnion', VOID, VOID, [WsNode]);
|
|
107
|
+
initMetadataForClass(WsChannel, 'WsChannel', VOID, VOID, [WsNode]);
|
|
108
|
+
initMetadataForClass(WsRefined, 'WsRefined', VOID, VOID, [WsNode]);
|
|
109
|
+
initMetadataForClass(WsMethod, 'WsMethod', VOID, Enum);
|
|
110
|
+
initMetadataForInterface(WsSegment, 'WsSegment');
|
|
111
|
+
initMetadataForClass(WsLiteral, 'WsLiteral', VOID, VOID, [WsSegment]);
|
|
112
|
+
initMetadataForClass(WsParam, 'WsParam', VOID, VOID, [WsSegment]);
|
|
113
|
+
initMetadataForClass(Shape_0, 'Shape');
|
|
114
|
+
initMetadataForClass(WsField, 'WsField');
|
|
115
|
+
initMetadataForClass(WsIdentifier, 'WsIdentifier');
|
|
116
|
+
initMetadataForInterface(WsReference, 'WsReference');
|
|
117
|
+
initMetadataForClass(WsAny, 'WsAny', VOID, VOID, [WsReference]);
|
|
118
|
+
initMetadataForClass(WsUnit, 'WsUnit', VOID, VOID, [WsReference]);
|
|
119
|
+
initMetadataForClass(WsCustom, 'WsCustom', VOID, VOID, [WsReference]);
|
|
120
|
+
initMetadataForClass(WsPrimitive, 'WsPrimitive', VOID, VOID, [WsReference]);
|
|
121
|
+
initMetadataForClass(WsPrimitiveType, 'WsPrimitiveType', VOID, Enum);
|
|
122
|
+
initMetadataForClass(WsRequest, 'WsRequest');
|
|
123
|
+
initMetadataForClass(WsResponse, 'WsResponse');
|
|
124
|
+
initMetadataForClass(WsContent, 'WsContent');
|
|
125
|
+
initMetadataForClass(Compiler, 'Compiler');
|
|
126
|
+
initMetadataForCompanion(Companion);
|
|
127
|
+
initMetadataForClass(WsToKotlin, 'WsToKotlin', WsToKotlin, Compiler);
|
|
128
|
+
initMetadataForCompanion(Companion_0);
|
|
129
|
+
initMetadataForClass(WsToTypeScript, 'WsToTypeScript', WsToTypeScript, Compiler);
|
|
130
|
+
initMetadataForCompanion(Companion_1);
|
|
131
|
+
initMetadataForClass(WsToScala, 'WsToScala', WsToScala, Compiler);
|
|
132
|
+
initMetadataForCompanion(Companion_2);
|
|
133
|
+
initMetadataForClass(WsToJava, 'WsToJava', WsToJava, Compiler);
|
|
134
|
+
initMetadataForCompanion(Companion_3);
|
|
135
|
+
initMetadataForClass(WsToWirespec, 'WsToWirespec', WsToWirespec, Compiler);
|
|
136
|
+
initMetadataForObject(OpenApiV2Parser, 'OpenApiV2Parser');
|
|
137
|
+
initMetadataForObject(OpenApiV2ToTypescript, 'OpenApiV2ToTypescript');
|
|
138
|
+
initMetadataForObject(OpenApiV2ToWirespec, 'OpenApiV2ToWirespec');
|
|
139
|
+
initMetadataForObject(OpenApiV3Parser, 'OpenApiV3Parser');
|
|
140
|
+
initMetadataForObject(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript');
|
|
141
|
+
initMetadataForObject(OpenApiV3ToWirespec, 'OpenApiV3ToWirespec');
|
|
142
|
+
initMetadataForClass(WsCompilationResult, 'WsCompilationResult', WsCompilationResult);
|
|
143
|
+
initMetadataForClass(WsCompiled, 'WsCompiled');
|
|
144
|
+
initMetadataForClass(WsCompiledFile, 'WsCompiledFile');
|
|
145
|
+
initMetadataForClass(WsParseResult, 'WsParseResult', WsParseResult);
|
|
146
|
+
initMetadataForClass(WsStringResult, 'WsStringResult', WsStringResult);
|
|
147
|
+
initMetadataForClass(WsEmitted, 'WsEmitted');
|
|
148
|
+
initMetadataForClass(WsTokenResult, 'WsTokenResult', WsTokenResult);
|
|
149
|
+
initMetadataForClass(WsTokens, 'WsTokens');
|
|
150
|
+
initMetadataForClass(WsToken, 'WsToken');
|
|
151
|
+
initMetadataForClass(WsCoordinates, 'WsCoordinates', WsCoordinates);
|
|
152
|
+
initMetadataForClass(WsIndex, 'WsIndex', WsIndex);
|
|
153
|
+
initMetadataForClass(WsError, 'WsError');
|
|
151
154
|
//endregion
|
|
152
155
|
function WsNode() {
|
|
153
156
|
}
|
|
154
157
|
function WsType(identifier, comment, shape) {
|
|
155
|
-
this.
|
|
158
|
+
this.e2e_1 = identifier;
|
|
156
159
|
this.comment = comment;
|
|
157
160
|
this.shape = shape;
|
|
158
161
|
}
|
|
159
|
-
protoOf(WsType).
|
|
160
|
-
return this.
|
|
162
|
+
protoOf(WsType).h2b = function () {
|
|
163
|
+
return this.e2e_1;
|
|
161
164
|
};
|
|
162
|
-
protoOf(WsType).
|
|
165
|
+
protoOf(WsType).f2e = function () {
|
|
163
166
|
return this.comment;
|
|
164
167
|
};
|
|
165
|
-
protoOf(WsType).
|
|
168
|
+
protoOf(WsType).g2e = function () {
|
|
166
169
|
return this.shape;
|
|
167
170
|
};
|
|
168
|
-
protoOf(WsType).
|
|
169
|
-
return this.
|
|
171
|
+
protoOf(WsType).nd = function () {
|
|
172
|
+
return this.e2e_1;
|
|
170
173
|
};
|
|
171
|
-
protoOf(WsType).
|
|
174
|
+
protoOf(WsType).od = function () {
|
|
172
175
|
return this.comment;
|
|
173
176
|
};
|
|
174
|
-
protoOf(WsType).
|
|
177
|
+
protoOf(WsType).hh = function () {
|
|
175
178
|
return this.shape;
|
|
176
179
|
};
|
|
177
|
-
protoOf(WsType).
|
|
180
|
+
protoOf(WsType).h2e = function (identifier, comment, shape) {
|
|
178
181
|
return new WsType(identifier, comment, shape);
|
|
179
182
|
};
|
|
180
183
|
protoOf(WsType).copy = function (identifier, comment, shape, $super) {
|
|
181
|
-
identifier = identifier === VOID ? this.
|
|
184
|
+
identifier = identifier === VOID ? this.e2e_1 : identifier;
|
|
182
185
|
comment = comment === VOID ? this.comment : comment;
|
|
183
186
|
shape = shape === VOID ? this.shape : shape;
|
|
184
|
-
return this.
|
|
187
|
+
return this.h2e(identifier, comment, shape);
|
|
185
188
|
};
|
|
186
189
|
protoOf(WsType).toString = function () {
|
|
187
|
-
return 'WsType(identifier=' + this.
|
|
190
|
+
return 'WsType(identifier=' + this.e2e_1 + ', comment=' + this.comment + ', shape=' + this.shape.toString() + ')';
|
|
188
191
|
};
|
|
189
192
|
protoOf(WsType).hashCode = function () {
|
|
190
|
-
var result = getStringHashCode(this.
|
|
193
|
+
var result = getStringHashCode(this.e2e_1);
|
|
191
194
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
192
195
|
result = imul(result, 31) + this.shape.hashCode() | 0;
|
|
193
196
|
return result;
|
|
@@ -198,7 +201,7 @@
|
|
|
198
201
|
if (!(other instanceof WsType))
|
|
199
202
|
return false;
|
|
200
203
|
var tmp0_other_with_cast = other instanceof WsType ? other : THROW_CCE();
|
|
201
|
-
if (!(this.
|
|
204
|
+
if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
|
|
202
205
|
return false;
|
|
203
206
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
204
207
|
return false;
|
|
@@ -209,18 +212,18 @@
|
|
|
209
212
|
function WsShape(value) {
|
|
210
213
|
this.value = value;
|
|
211
214
|
}
|
|
212
|
-
protoOf(WsShape).
|
|
215
|
+
protoOf(WsShape).b1 = function () {
|
|
213
216
|
return this.value;
|
|
214
217
|
};
|
|
215
|
-
protoOf(WsShape).
|
|
218
|
+
protoOf(WsShape).nd = function () {
|
|
216
219
|
return this.value;
|
|
217
220
|
};
|
|
218
|
-
protoOf(WsShape).
|
|
221
|
+
protoOf(WsShape).i2e = function (value) {
|
|
219
222
|
return new WsShape(value);
|
|
220
223
|
};
|
|
221
224
|
protoOf(WsShape).copy = function (value, $super) {
|
|
222
225
|
value = value === VOID ? this.value : value;
|
|
223
|
-
return this.
|
|
226
|
+
return this.i2e(value);
|
|
224
227
|
};
|
|
225
228
|
protoOf(WsShape).toString = function () {
|
|
226
229
|
return 'WsShape(value=' + toString(this.value) + ')';
|
|
@@ -239,7 +242,7 @@
|
|
|
239
242
|
return true;
|
|
240
243
|
};
|
|
241
244
|
function WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
242
|
-
this.
|
|
245
|
+
this.j2e_1 = identifier;
|
|
243
246
|
this.comment = comment;
|
|
244
247
|
this.method = method;
|
|
245
248
|
this.path = path;
|
|
@@ -249,65 +252,65 @@
|
|
|
249
252
|
this.requests = requests;
|
|
250
253
|
this.responses = responses;
|
|
251
254
|
}
|
|
252
|
-
protoOf(WsEndpoint).
|
|
253
|
-
return this.
|
|
255
|
+
protoOf(WsEndpoint).h2b = function () {
|
|
256
|
+
return this.j2e_1;
|
|
254
257
|
};
|
|
255
|
-
protoOf(WsEndpoint).
|
|
258
|
+
protoOf(WsEndpoint).f2e = function () {
|
|
256
259
|
return this.comment;
|
|
257
260
|
};
|
|
258
|
-
protoOf(WsEndpoint).
|
|
261
|
+
protoOf(WsEndpoint).k2e = function () {
|
|
259
262
|
return this.method;
|
|
260
263
|
};
|
|
261
|
-
protoOf(WsEndpoint).
|
|
264
|
+
protoOf(WsEndpoint).l2e = function () {
|
|
262
265
|
return this.path;
|
|
263
266
|
};
|
|
264
|
-
protoOf(WsEndpoint).
|
|
267
|
+
protoOf(WsEndpoint).m2e = function () {
|
|
265
268
|
return this.query;
|
|
266
269
|
};
|
|
267
|
-
protoOf(WsEndpoint).
|
|
270
|
+
protoOf(WsEndpoint).n2e = function () {
|
|
268
271
|
return this.headers;
|
|
269
272
|
};
|
|
270
|
-
protoOf(WsEndpoint).
|
|
273
|
+
protoOf(WsEndpoint).o2e = function () {
|
|
271
274
|
return this.cookies;
|
|
272
275
|
};
|
|
273
|
-
protoOf(WsEndpoint).
|
|
276
|
+
protoOf(WsEndpoint).p2e = function () {
|
|
274
277
|
return this.requests;
|
|
275
278
|
};
|
|
276
|
-
protoOf(WsEndpoint).
|
|
279
|
+
protoOf(WsEndpoint).q2e = function () {
|
|
277
280
|
return this.responses;
|
|
278
281
|
};
|
|
279
|
-
protoOf(WsEndpoint).
|
|
280
|
-
return this.
|
|
282
|
+
protoOf(WsEndpoint).nd = function () {
|
|
283
|
+
return this.j2e_1;
|
|
281
284
|
};
|
|
282
|
-
protoOf(WsEndpoint).
|
|
285
|
+
protoOf(WsEndpoint).od = function () {
|
|
283
286
|
return this.comment;
|
|
284
287
|
};
|
|
285
|
-
protoOf(WsEndpoint).
|
|
288
|
+
protoOf(WsEndpoint).hh = function () {
|
|
286
289
|
return this.method;
|
|
287
290
|
};
|
|
288
|
-
protoOf(WsEndpoint).
|
|
291
|
+
protoOf(WsEndpoint).r2e = function () {
|
|
289
292
|
return this.path;
|
|
290
293
|
};
|
|
291
|
-
protoOf(WsEndpoint).
|
|
294
|
+
protoOf(WsEndpoint).s2e = function () {
|
|
292
295
|
return this.query;
|
|
293
296
|
};
|
|
294
|
-
protoOf(WsEndpoint).
|
|
297
|
+
protoOf(WsEndpoint).t2e = function () {
|
|
295
298
|
return this.headers;
|
|
296
299
|
};
|
|
297
|
-
protoOf(WsEndpoint).
|
|
300
|
+
protoOf(WsEndpoint).u2e = function () {
|
|
298
301
|
return this.cookies;
|
|
299
302
|
};
|
|
300
|
-
protoOf(WsEndpoint).
|
|
303
|
+
protoOf(WsEndpoint).v2e = function () {
|
|
301
304
|
return this.requests;
|
|
302
305
|
};
|
|
303
|
-
protoOf(WsEndpoint).
|
|
306
|
+
protoOf(WsEndpoint).w2e = function () {
|
|
304
307
|
return this.responses;
|
|
305
308
|
};
|
|
306
|
-
protoOf(WsEndpoint).
|
|
309
|
+
protoOf(WsEndpoint).x2e = function (identifier, comment, method, path, query, headers, cookies, requests, responses) {
|
|
307
310
|
return new WsEndpoint(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
308
311
|
};
|
|
309
312
|
protoOf(WsEndpoint).copy = function (identifier, comment, method, path, query, headers, cookies, requests, responses, $super) {
|
|
310
|
-
identifier = identifier === VOID ? this.
|
|
313
|
+
identifier = identifier === VOID ? this.j2e_1 : identifier;
|
|
311
314
|
comment = comment === VOID ? this.comment : comment;
|
|
312
315
|
method = method === VOID ? this.method : method;
|
|
313
316
|
path = path === VOID ? this.path : path;
|
|
@@ -316,13 +319,13 @@
|
|
|
316
319
|
cookies = cookies === VOID ? this.cookies : cookies;
|
|
317
320
|
requests = requests === VOID ? this.requests : requests;
|
|
318
321
|
responses = responses === VOID ? this.responses : responses;
|
|
319
|
-
return this.
|
|
322
|
+
return this.x2e(identifier, comment, method, path, query, headers, cookies, requests, responses);
|
|
320
323
|
};
|
|
321
324
|
protoOf(WsEndpoint).toString = function () {
|
|
322
|
-
return 'WsEndpoint(identifier=' + this.
|
|
325
|
+
return 'WsEndpoint(identifier=' + this.j2e_1 + ', comment=' + this.comment + ', method=' + this.method.toString() + ', path=' + toString(this.path) + ', query=' + toString(this.query) + ', headers=' + toString(this.headers) + ', cookies=' + toString(this.cookies) + ', requests=' + toString(this.requests) + ', responses=' + toString(this.responses) + ')';
|
|
323
326
|
};
|
|
324
327
|
protoOf(WsEndpoint).hashCode = function () {
|
|
325
|
-
var result = getStringHashCode(this.
|
|
328
|
+
var result = getStringHashCode(this.j2e_1);
|
|
326
329
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
327
330
|
result = imul(result, 31) + this.method.hashCode() | 0;
|
|
328
331
|
result = imul(result, 31) + hashCode(this.path) | 0;
|
|
@@ -339,7 +342,7 @@
|
|
|
339
342
|
if (!(other instanceof WsEndpoint))
|
|
340
343
|
return false;
|
|
341
344
|
var tmp0_other_with_cast = other instanceof WsEndpoint ? other : THROW_CCE();
|
|
342
|
-
if (!(this.
|
|
345
|
+
if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
|
|
343
346
|
return false;
|
|
344
347
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
345
348
|
return false;
|
|
@@ -360,42 +363,42 @@
|
|
|
360
363
|
return true;
|
|
361
364
|
};
|
|
362
365
|
function WsEnum(identifier, comment, entries) {
|
|
363
|
-
this.
|
|
366
|
+
this.y2e_1 = identifier;
|
|
364
367
|
this.comment = comment;
|
|
365
368
|
this.entries = entries;
|
|
366
369
|
}
|
|
367
|
-
protoOf(WsEnum).
|
|
368
|
-
return this.
|
|
370
|
+
protoOf(WsEnum).h2b = function () {
|
|
371
|
+
return this.y2e_1;
|
|
369
372
|
};
|
|
370
|
-
protoOf(WsEnum).
|
|
373
|
+
protoOf(WsEnum).f2e = function () {
|
|
371
374
|
return this.comment;
|
|
372
375
|
};
|
|
373
|
-
protoOf(WsEnum).
|
|
376
|
+
protoOf(WsEnum).z = function () {
|
|
374
377
|
return this.entries;
|
|
375
378
|
};
|
|
376
|
-
protoOf(WsEnum).
|
|
377
|
-
return this.
|
|
379
|
+
protoOf(WsEnum).nd = function () {
|
|
380
|
+
return this.y2e_1;
|
|
378
381
|
};
|
|
379
|
-
protoOf(WsEnum).
|
|
382
|
+
protoOf(WsEnum).od = function () {
|
|
380
383
|
return this.comment;
|
|
381
384
|
};
|
|
382
|
-
protoOf(WsEnum).
|
|
385
|
+
protoOf(WsEnum).hh = function () {
|
|
383
386
|
return this.entries;
|
|
384
387
|
};
|
|
385
|
-
protoOf(WsEnum).
|
|
388
|
+
protoOf(WsEnum).z2e = function (identifier, comment, entries) {
|
|
386
389
|
return new WsEnum(identifier, comment, entries);
|
|
387
390
|
};
|
|
388
391
|
protoOf(WsEnum).copy = function (identifier, comment, entries, $super) {
|
|
389
|
-
identifier = identifier === VOID ? this.
|
|
392
|
+
identifier = identifier === VOID ? this.y2e_1 : identifier;
|
|
390
393
|
comment = comment === VOID ? this.comment : comment;
|
|
391
394
|
entries = entries === VOID ? this.entries : entries;
|
|
392
|
-
return this.
|
|
395
|
+
return this.z2e(identifier, comment, entries);
|
|
393
396
|
};
|
|
394
397
|
protoOf(WsEnum).toString = function () {
|
|
395
|
-
return 'WsEnum(identifier=' + this.
|
|
398
|
+
return 'WsEnum(identifier=' + this.y2e_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
396
399
|
};
|
|
397
400
|
protoOf(WsEnum).hashCode = function () {
|
|
398
|
-
var result = getStringHashCode(this.
|
|
401
|
+
var result = getStringHashCode(this.y2e_1);
|
|
399
402
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
400
403
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
401
404
|
return result;
|
|
@@ -406,7 +409,7 @@
|
|
|
406
409
|
if (!(other instanceof WsEnum))
|
|
407
410
|
return false;
|
|
408
411
|
var tmp0_other_with_cast = other instanceof WsEnum ? other : THROW_CCE();
|
|
409
|
-
if (!(this.
|
|
412
|
+
if (!(this.y2e_1 === tmp0_other_with_cast.y2e_1))
|
|
410
413
|
return false;
|
|
411
414
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
412
415
|
return false;
|
|
@@ -415,42 +418,42 @@
|
|
|
415
418
|
return true;
|
|
416
419
|
};
|
|
417
420
|
function WsUnion(identifier, comment, entries) {
|
|
418
|
-
this.
|
|
421
|
+
this.a2f_1 = identifier;
|
|
419
422
|
this.comment = comment;
|
|
420
423
|
this.entries = entries;
|
|
421
424
|
}
|
|
422
|
-
protoOf(WsUnion).
|
|
423
|
-
return this.
|
|
425
|
+
protoOf(WsUnion).h2b = function () {
|
|
426
|
+
return this.a2f_1;
|
|
424
427
|
};
|
|
425
|
-
protoOf(WsUnion).
|
|
428
|
+
protoOf(WsUnion).f2e = function () {
|
|
426
429
|
return this.comment;
|
|
427
430
|
};
|
|
428
|
-
protoOf(WsUnion).
|
|
431
|
+
protoOf(WsUnion).z = function () {
|
|
429
432
|
return this.entries;
|
|
430
433
|
};
|
|
431
|
-
protoOf(WsUnion).
|
|
432
|
-
return this.
|
|
434
|
+
protoOf(WsUnion).nd = function () {
|
|
435
|
+
return this.a2f_1;
|
|
433
436
|
};
|
|
434
|
-
protoOf(WsUnion).
|
|
437
|
+
protoOf(WsUnion).od = function () {
|
|
435
438
|
return this.comment;
|
|
436
439
|
};
|
|
437
|
-
protoOf(WsUnion).
|
|
440
|
+
protoOf(WsUnion).hh = function () {
|
|
438
441
|
return this.entries;
|
|
439
442
|
};
|
|
440
|
-
protoOf(WsUnion).
|
|
443
|
+
protoOf(WsUnion).b2f = function (identifier, comment, entries) {
|
|
441
444
|
return new WsUnion(identifier, comment, entries);
|
|
442
445
|
};
|
|
443
446
|
protoOf(WsUnion).copy = function (identifier, comment, entries, $super) {
|
|
444
|
-
identifier = identifier === VOID ? this.
|
|
447
|
+
identifier = identifier === VOID ? this.a2f_1 : identifier;
|
|
445
448
|
comment = comment === VOID ? this.comment : comment;
|
|
446
449
|
entries = entries === VOID ? this.entries : entries;
|
|
447
|
-
return this.
|
|
450
|
+
return this.b2f(identifier, comment, entries);
|
|
448
451
|
};
|
|
449
452
|
protoOf(WsUnion).toString = function () {
|
|
450
|
-
return 'WsUnion(identifier=' + this.
|
|
453
|
+
return 'WsUnion(identifier=' + this.a2f_1 + ', comment=' + this.comment + ', entries=' + toString(this.entries) + ')';
|
|
451
454
|
};
|
|
452
455
|
protoOf(WsUnion).hashCode = function () {
|
|
453
|
-
var result = getStringHashCode(this.
|
|
456
|
+
var result = getStringHashCode(this.a2f_1);
|
|
454
457
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
455
458
|
result = imul(result, 31) + hashCode(this.entries) | 0;
|
|
456
459
|
return result;
|
|
@@ -461,7 +464,7 @@
|
|
|
461
464
|
if (!(other instanceof WsUnion))
|
|
462
465
|
return false;
|
|
463
466
|
var tmp0_other_with_cast = other instanceof WsUnion ? other : THROW_CCE();
|
|
464
|
-
if (!(this.
|
|
467
|
+
if (!(this.a2f_1 === tmp0_other_with_cast.a2f_1))
|
|
465
468
|
return false;
|
|
466
469
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
467
470
|
return false;
|
|
@@ -469,43 +472,109 @@
|
|
|
469
472
|
return false;
|
|
470
473
|
return true;
|
|
471
474
|
};
|
|
475
|
+
function WsChannel(identifier, comment, reference, isNullable) {
|
|
476
|
+
this.c2f_1 = identifier;
|
|
477
|
+
this.comment = comment;
|
|
478
|
+
this.reference = reference;
|
|
479
|
+
this.isNullable = isNullable;
|
|
480
|
+
}
|
|
481
|
+
protoOf(WsChannel).h2b = function () {
|
|
482
|
+
return this.c2f_1;
|
|
483
|
+
};
|
|
484
|
+
protoOf(WsChannel).f2e = function () {
|
|
485
|
+
return this.comment;
|
|
486
|
+
};
|
|
487
|
+
protoOf(WsChannel).d2f = function () {
|
|
488
|
+
return this.reference;
|
|
489
|
+
};
|
|
490
|
+
protoOf(WsChannel).ll = function () {
|
|
491
|
+
return this.isNullable;
|
|
492
|
+
};
|
|
493
|
+
protoOf(WsChannel).nd = function () {
|
|
494
|
+
return this.c2f_1;
|
|
495
|
+
};
|
|
496
|
+
protoOf(WsChannel).od = function () {
|
|
497
|
+
return this.comment;
|
|
498
|
+
};
|
|
499
|
+
protoOf(WsChannel).hh = function () {
|
|
500
|
+
return this.reference;
|
|
501
|
+
};
|
|
502
|
+
protoOf(WsChannel).r2e = function () {
|
|
503
|
+
return this.isNullable;
|
|
504
|
+
};
|
|
505
|
+
protoOf(WsChannel).e2f = function (identifier, comment, reference, isNullable) {
|
|
506
|
+
return new WsChannel(identifier, comment, reference, isNullable);
|
|
507
|
+
};
|
|
508
|
+
protoOf(WsChannel).copy = function (identifier, comment, reference, isNullable, $super) {
|
|
509
|
+
identifier = identifier === VOID ? this.c2f_1 : identifier;
|
|
510
|
+
comment = comment === VOID ? this.comment : comment;
|
|
511
|
+
reference = reference === VOID ? this.reference : reference;
|
|
512
|
+
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
513
|
+
return this.e2f(identifier, comment, reference, isNullable);
|
|
514
|
+
};
|
|
515
|
+
protoOf(WsChannel).toString = function () {
|
|
516
|
+
return 'WsChannel(identifier=' + this.c2f_1 + ', comment=' + this.comment + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
517
|
+
};
|
|
518
|
+
protoOf(WsChannel).hashCode = function () {
|
|
519
|
+
var result = getStringHashCode(this.c2f_1);
|
|
520
|
+
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
521
|
+
result = imul(result, 31) + hashCode(this.reference) | 0;
|
|
522
|
+
result = imul(result, 31) + getBooleanHashCode(this.isNullable) | 0;
|
|
523
|
+
return result;
|
|
524
|
+
};
|
|
525
|
+
protoOf(WsChannel).equals = function (other) {
|
|
526
|
+
if (this === other)
|
|
527
|
+
return true;
|
|
528
|
+
if (!(other instanceof WsChannel))
|
|
529
|
+
return false;
|
|
530
|
+
var tmp0_other_with_cast = other instanceof WsChannel ? other : THROW_CCE();
|
|
531
|
+
if (!(this.c2f_1 === tmp0_other_with_cast.c2f_1))
|
|
532
|
+
return false;
|
|
533
|
+
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
534
|
+
return false;
|
|
535
|
+
if (!equals(this.reference, tmp0_other_with_cast.reference))
|
|
536
|
+
return false;
|
|
537
|
+
if (!(this.isNullable === tmp0_other_with_cast.isNullable))
|
|
538
|
+
return false;
|
|
539
|
+
return true;
|
|
540
|
+
};
|
|
472
541
|
function WsRefined(identifier, comment, validator) {
|
|
473
|
-
this.
|
|
542
|
+
this.f2f_1 = identifier;
|
|
474
543
|
this.comment = comment;
|
|
475
544
|
this.validator = validator;
|
|
476
545
|
}
|
|
477
|
-
protoOf(WsRefined).
|
|
478
|
-
return this.
|
|
546
|
+
protoOf(WsRefined).h2b = function () {
|
|
547
|
+
return this.f2f_1;
|
|
479
548
|
};
|
|
480
|
-
protoOf(WsRefined).
|
|
549
|
+
protoOf(WsRefined).f2e = function () {
|
|
481
550
|
return this.comment;
|
|
482
551
|
};
|
|
483
|
-
protoOf(WsRefined).
|
|
552
|
+
protoOf(WsRefined).g2f = function () {
|
|
484
553
|
return this.validator;
|
|
485
554
|
};
|
|
486
|
-
protoOf(WsRefined).
|
|
487
|
-
return this.
|
|
555
|
+
protoOf(WsRefined).nd = function () {
|
|
556
|
+
return this.f2f_1;
|
|
488
557
|
};
|
|
489
|
-
protoOf(WsRefined).
|
|
558
|
+
protoOf(WsRefined).od = function () {
|
|
490
559
|
return this.comment;
|
|
491
560
|
};
|
|
492
|
-
protoOf(WsRefined).
|
|
561
|
+
protoOf(WsRefined).hh = function () {
|
|
493
562
|
return this.validator;
|
|
494
563
|
};
|
|
495
|
-
protoOf(WsRefined).
|
|
564
|
+
protoOf(WsRefined).h2f = function (identifier, comment, validator) {
|
|
496
565
|
return new WsRefined(identifier, comment, validator);
|
|
497
566
|
};
|
|
498
567
|
protoOf(WsRefined).copy = function (identifier, comment, validator, $super) {
|
|
499
|
-
identifier = identifier === VOID ? this.
|
|
568
|
+
identifier = identifier === VOID ? this.f2f_1 : identifier;
|
|
500
569
|
comment = comment === VOID ? this.comment : comment;
|
|
501
570
|
validator = validator === VOID ? this.validator : validator;
|
|
502
|
-
return this.
|
|
571
|
+
return this.h2f(identifier, comment, validator);
|
|
503
572
|
};
|
|
504
573
|
protoOf(WsRefined).toString = function () {
|
|
505
|
-
return 'WsRefined(identifier=' + this.
|
|
574
|
+
return 'WsRefined(identifier=' + this.f2f_1 + ', comment=' + this.comment + ', validator=' + this.validator + ')';
|
|
506
575
|
};
|
|
507
576
|
protoOf(WsRefined).hashCode = function () {
|
|
508
|
-
var result = getStringHashCode(this.
|
|
577
|
+
var result = getStringHashCode(this.f2f_1);
|
|
509
578
|
result = imul(result, 31) + (this.comment == null ? 0 : getStringHashCode(this.comment)) | 0;
|
|
510
579
|
result = imul(result, 31) + getStringHashCode(this.validator) | 0;
|
|
511
580
|
return result;
|
|
@@ -516,7 +585,7 @@
|
|
|
516
585
|
if (!(other instanceof WsRefined))
|
|
517
586
|
return false;
|
|
518
587
|
var tmp0_other_with_cast = other instanceof WsRefined ? other : THROW_CCE();
|
|
519
|
-
if (!(this.
|
|
588
|
+
if (!(this.f2f_1 === tmp0_other_with_cast.f2f_1))
|
|
520
589
|
return false;
|
|
521
590
|
if (!(this.comment == tmp0_other_with_cast.comment))
|
|
522
591
|
return false;
|
|
@@ -581,18 +650,18 @@
|
|
|
581
650
|
function WsLiteral(value) {
|
|
582
651
|
this.value = value;
|
|
583
652
|
}
|
|
584
|
-
protoOf(WsLiteral).
|
|
653
|
+
protoOf(WsLiteral).b1 = function () {
|
|
585
654
|
return this.value;
|
|
586
655
|
};
|
|
587
|
-
protoOf(WsLiteral).
|
|
656
|
+
protoOf(WsLiteral).nd = function () {
|
|
588
657
|
return this.value;
|
|
589
658
|
};
|
|
590
|
-
protoOf(WsLiteral).
|
|
659
|
+
protoOf(WsLiteral).k2f = function (value) {
|
|
591
660
|
return new WsLiteral(value);
|
|
592
661
|
};
|
|
593
662
|
protoOf(WsLiteral).copy = function (value, $super) {
|
|
594
663
|
value = value === VOID ? this.value : value;
|
|
595
|
-
return this.
|
|
664
|
+
return this.k2f(value);
|
|
596
665
|
};
|
|
597
666
|
protoOf(WsLiteral).toString = function () {
|
|
598
667
|
return 'WsLiteral(value=' + this.value + ')';
|
|
@@ -614,28 +683,28 @@
|
|
|
614
683
|
this.identifier = identifier;
|
|
615
684
|
this.reference = reference;
|
|
616
685
|
}
|
|
617
|
-
protoOf(WsParam).
|
|
686
|
+
protoOf(WsParam).h2b = function () {
|
|
618
687
|
return this.identifier;
|
|
619
688
|
};
|
|
620
|
-
protoOf(WsParam).
|
|
689
|
+
protoOf(WsParam).d2f = function () {
|
|
621
690
|
return this.reference;
|
|
622
691
|
};
|
|
623
|
-
protoOf(WsParam).
|
|
692
|
+
protoOf(WsParam).nd = function () {
|
|
624
693
|
return this.identifier;
|
|
625
694
|
};
|
|
626
|
-
protoOf(WsParam).
|
|
695
|
+
protoOf(WsParam).od = function () {
|
|
627
696
|
return this.reference;
|
|
628
697
|
};
|
|
629
|
-
protoOf(WsParam).
|
|
698
|
+
protoOf(WsParam).l2f = function (identifier, reference) {
|
|
630
699
|
return new WsParam(identifier, reference);
|
|
631
700
|
};
|
|
632
701
|
protoOf(WsParam).copy = function (identifier, reference, $super) {
|
|
633
702
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
634
703
|
reference = reference === VOID ? this.reference : reference;
|
|
635
|
-
return this.
|
|
704
|
+
return this.l2f(identifier, reference);
|
|
636
705
|
};
|
|
637
706
|
protoOf(WsParam).toString = function () {
|
|
638
|
-
return 'WsParam(identifier=' + this.identifier + ', reference=' + this.reference + ')';
|
|
707
|
+
return 'WsParam(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ')';
|
|
639
708
|
};
|
|
640
709
|
protoOf(WsParam).hashCode = function () {
|
|
641
710
|
var result = this.identifier.hashCode();
|
|
@@ -657,18 +726,18 @@
|
|
|
657
726
|
function Shape_0(value) {
|
|
658
727
|
this.value = value;
|
|
659
728
|
}
|
|
660
|
-
protoOf(Shape_0).
|
|
729
|
+
protoOf(Shape_0).b1 = function () {
|
|
661
730
|
return this.value;
|
|
662
731
|
};
|
|
663
|
-
protoOf(Shape_0).
|
|
732
|
+
protoOf(Shape_0).nd = function () {
|
|
664
733
|
return this.value;
|
|
665
734
|
};
|
|
666
|
-
protoOf(Shape_0).
|
|
735
|
+
protoOf(Shape_0).i2e = function (value) {
|
|
667
736
|
return new Shape_0(value);
|
|
668
737
|
};
|
|
669
738
|
protoOf(Shape_0).copy = function (value, $super) {
|
|
670
739
|
value = value === VOID ? this.value : value;
|
|
671
|
-
return this.
|
|
740
|
+
return this.i2e(value);
|
|
672
741
|
};
|
|
673
742
|
protoOf(Shape_0).toString = function () {
|
|
674
743
|
return 'Shape(value=' + toString(this.value) + ')';
|
|
@@ -691,35 +760,35 @@
|
|
|
691
760
|
this.reference = reference;
|
|
692
761
|
this.isNullable = isNullable;
|
|
693
762
|
}
|
|
694
|
-
protoOf(WsField).
|
|
763
|
+
protoOf(WsField).h2b = function () {
|
|
695
764
|
return this.identifier;
|
|
696
765
|
};
|
|
697
|
-
protoOf(WsField).
|
|
766
|
+
protoOf(WsField).d2f = function () {
|
|
698
767
|
return this.reference;
|
|
699
768
|
};
|
|
700
|
-
protoOf(WsField).
|
|
769
|
+
protoOf(WsField).ll = function () {
|
|
701
770
|
return this.isNullable;
|
|
702
771
|
};
|
|
703
|
-
protoOf(WsField).
|
|
772
|
+
protoOf(WsField).nd = function () {
|
|
704
773
|
return this.identifier;
|
|
705
774
|
};
|
|
706
|
-
protoOf(WsField).
|
|
775
|
+
protoOf(WsField).od = function () {
|
|
707
776
|
return this.reference;
|
|
708
777
|
};
|
|
709
|
-
protoOf(WsField).
|
|
778
|
+
protoOf(WsField).hh = function () {
|
|
710
779
|
return this.isNullable;
|
|
711
780
|
};
|
|
712
|
-
protoOf(WsField).
|
|
781
|
+
protoOf(WsField).m2f = function (identifier, reference, isNullable) {
|
|
713
782
|
return new WsField(identifier, reference, isNullable);
|
|
714
783
|
};
|
|
715
784
|
protoOf(WsField).copy = function (identifier, reference, isNullable, $super) {
|
|
716
785
|
identifier = identifier === VOID ? this.identifier : identifier;
|
|
717
786
|
reference = reference === VOID ? this.reference : reference;
|
|
718
787
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
719
|
-
return this.
|
|
788
|
+
return this.m2f(identifier, reference, isNullable);
|
|
720
789
|
};
|
|
721
790
|
protoOf(WsField).toString = function () {
|
|
722
|
-
return 'WsField(identifier=' + this.identifier + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
791
|
+
return 'WsField(identifier=' + this.identifier.toString() + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
723
792
|
};
|
|
724
793
|
protoOf(WsField).hashCode = function () {
|
|
725
794
|
var result = this.identifier.hashCode();
|
|
@@ -744,18 +813,18 @@
|
|
|
744
813
|
function WsIdentifier(value) {
|
|
745
814
|
this.value = value;
|
|
746
815
|
}
|
|
747
|
-
protoOf(WsIdentifier).
|
|
816
|
+
protoOf(WsIdentifier).b1 = function () {
|
|
748
817
|
return this.value;
|
|
749
818
|
};
|
|
750
|
-
protoOf(WsIdentifier).
|
|
819
|
+
protoOf(WsIdentifier).nd = function () {
|
|
751
820
|
return this.value;
|
|
752
821
|
};
|
|
753
|
-
protoOf(WsIdentifier).
|
|
822
|
+
protoOf(WsIdentifier).k2f = function (value) {
|
|
754
823
|
return new WsIdentifier(value);
|
|
755
824
|
};
|
|
756
825
|
protoOf(WsIdentifier).copy = function (value, $super) {
|
|
757
826
|
value = value === VOID ? this.value : value;
|
|
758
|
-
return this.
|
|
827
|
+
return this.k2f(value);
|
|
759
828
|
};
|
|
760
829
|
protoOf(WsIdentifier).toString = function () {
|
|
761
830
|
return 'WsIdentifier(value=' + this.value + ')';
|
|
@@ -777,35 +846,35 @@
|
|
|
777
846
|
}
|
|
778
847
|
function WsAny(isIterable, isMap) {
|
|
779
848
|
isMap = isMap === VOID ? false : isMap;
|
|
780
|
-
this.
|
|
781
|
-
this.
|
|
849
|
+
this.o2f_1 = isIterable;
|
|
850
|
+
this.p2f_1 = isMap;
|
|
782
851
|
}
|
|
783
|
-
protoOf(WsAny).
|
|
784
|
-
return this.
|
|
852
|
+
protoOf(WsAny).o21 = function () {
|
|
853
|
+
return this.o2f_1;
|
|
785
854
|
};
|
|
786
|
-
protoOf(WsAny).
|
|
787
|
-
return this.
|
|
855
|
+
protoOf(WsAny).n2f = function () {
|
|
856
|
+
return this.p2f_1;
|
|
788
857
|
};
|
|
789
|
-
protoOf(WsAny).
|
|
790
|
-
return this.
|
|
858
|
+
protoOf(WsAny).nd = function () {
|
|
859
|
+
return this.o2f_1;
|
|
791
860
|
};
|
|
792
|
-
protoOf(WsAny).
|
|
793
|
-
return this.
|
|
861
|
+
protoOf(WsAny).od = function () {
|
|
862
|
+
return this.p2f_1;
|
|
794
863
|
};
|
|
795
|
-
protoOf(WsAny).
|
|
864
|
+
protoOf(WsAny).j2b = function (isIterable, isMap) {
|
|
796
865
|
return new WsAny(isIterable, isMap);
|
|
797
866
|
};
|
|
798
867
|
protoOf(WsAny).copy = function (isIterable, isMap, $super) {
|
|
799
|
-
isIterable = isIterable === VOID ? this.
|
|
800
|
-
isMap = isMap === VOID ? this.
|
|
801
|
-
return this.
|
|
868
|
+
isIterable = isIterable === VOID ? this.o2f_1 : isIterable;
|
|
869
|
+
isMap = isMap === VOID ? this.p2f_1 : isMap;
|
|
870
|
+
return this.j2b(isIterable, isMap);
|
|
802
871
|
};
|
|
803
872
|
protoOf(WsAny).toString = function () {
|
|
804
|
-
return 'WsAny(isIterable=' + this.
|
|
873
|
+
return 'WsAny(isIterable=' + this.o2f_1 + ', isMap=' + this.p2f_1 + ')';
|
|
805
874
|
};
|
|
806
875
|
protoOf(WsAny).hashCode = function () {
|
|
807
|
-
var result = getBooleanHashCode(this.
|
|
808
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
876
|
+
var result = getBooleanHashCode(this.o2f_1);
|
|
877
|
+
result = imul(result, 31) + getBooleanHashCode(this.p2f_1) | 0;
|
|
809
878
|
return result;
|
|
810
879
|
};
|
|
811
880
|
protoOf(WsAny).equals = function (other) {
|
|
@@ -814,43 +883,43 @@
|
|
|
814
883
|
if (!(other instanceof WsAny))
|
|
815
884
|
return false;
|
|
816
885
|
var tmp0_other_with_cast = other instanceof WsAny ? other : THROW_CCE();
|
|
817
|
-
if (!(this.
|
|
886
|
+
if (!(this.o2f_1 === tmp0_other_with_cast.o2f_1))
|
|
818
887
|
return false;
|
|
819
|
-
if (!(this.
|
|
888
|
+
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
820
889
|
return false;
|
|
821
890
|
return true;
|
|
822
891
|
};
|
|
823
892
|
function WsUnit(isIterable, isMap) {
|
|
824
893
|
isMap = isMap === VOID ? false : isMap;
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
894
|
+
this.q2f_1 = isIterable;
|
|
895
|
+
this.r2f_1 = isMap;
|
|
827
896
|
}
|
|
828
|
-
protoOf(WsUnit).
|
|
829
|
-
return this.
|
|
897
|
+
protoOf(WsUnit).o21 = function () {
|
|
898
|
+
return this.q2f_1;
|
|
830
899
|
};
|
|
831
|
-
protoOf(WsUnit).
|
|
832
|
-
return this.
|
|
900
|
+
protoOf(WsUnit).n2f = function () {
|
|
901
|
+
return this.r2f_1;
|
|
833
902
|
};
|
|
834
|
-
protoOf(WsUnit).
|
|
835
|
-
return this.
|
|
903
|
+
protoOf(WsUnit).nd = function () {
|
|
904
|
+
return this.q2f_1;
|
|
836
905
|
};
|
|
837
|
-
protoOf(WsUnit).
|
|
838
|
-
return this.
|
|
906
|
+
protoOf(WsUnit).od = function () {
|
|
907
|
+
return this.r2f_1;
|
|
839
908
|
};
|
|
840
|
-
protoOf(WsUnit).
|
|
909
|
+
protoOf(WsUnit).j2b = function (isIterable, isMap) {
|
|
841
910
|
return new WsUnit(isIterable, isMap);
|
|
842
911
|
};
|
|
843
912
|
protoOf(WsUnit).copy = function (isIterable, isMap, $super) {
|
|
844
|
-
isIterable = isIterable === VOID ? this.
|
|
845
|
-
isMap = isMap === VOID ? this.
|
|
846
|
-
return this.
|
|
913
|
+
isIterable = isIterable === VOID ? this.q2f_1 : isIterable;
|
|
914
|
+
isMap = isMap === VOID ? this.r2f_1 : isMap;
|
|
915
|
+
return this.j2b(isIterable, isMap);
|
|
847
916
|
};
|
|
848
917
|
protoOf(WsUnit).toString = function () {
|
|
849
|
-
return 'WsUnit(isIterable=' + this.
|
|
918
|
+
return 'WsUnit(isIterable=' + this.q2f_1 + ', isMap=' + this.r2f_1 + ')';
|
|
850
919
|
};
|
|
851
920
|
protoOf(WsUnit).hashCode = function () {
|
|
852
|
-
var result = getBooleanHashCode(this.
|
|
853
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
921
|
+
var result = getBooleanHashCode(this.q2f_1);
|
|
922
|
+
result = imul(result, 31) + getBooleanHashCode(this.r2f_1) | 0;
|
|
854
923
|
return result;
|
|
855
924
|
};
|
|
856
925
|
protoOf(WsUnit).equals = function (other) {
|
|
@@ -859,52 +928,52 @@
|
|
|
859
928
|
if (!(other instanceof WsUnit))
|
|
860
929
|
return false;
|
|
861
930
|
var tmp0_other_with_cast = other instanceof WsUnit ? other : THROW_CCE();
|
|
862
|
-
if (!(this.
|
|
931
|
+
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
863
932
|
return false;
|
|
864
|
-
if (!(this.
|
|
933
|
+
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
865
934
|
return false;
|
|
866
935
|
return true;
|
|
867
936
|
};
|
|
868
937
|
function WsCustom(value, isIterable, isMap) {
|
|
869
938
|
isMap = isMap === VOID ? false : isMap;
|
|
870
939
|
this.value = value;
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
940
|
+
this.s2f_1 = isIterable;
|
|
941
|
+
this.t2f_1 = isMap;
|
|
873
942
|
}
|
|
874
|
-
protoOf(WsCustom).
|
|
943
|
+
protoOf(WsCustom).b1 = function () {
|
|
875
944
|
return this.value;
|
|
876
945
|
};
|
|
877
|
-
protoOf(WsCustom).
|
|
878
|
-
return this.
|
|
946
|
+
protoOf(WsCustom).o21 = function () {
|
|
947
|
+
return this.s2f_1;
|
|
879
948
|
};
|
|
880
|
-
protoOf(WsCustom).
|
|
881
|
-
return this.
|
|
949
|
+
protoOf(WsCustom).n2f = function () {
|
|
950
|
+
return this.t2f_1;
|
|
882
951
|
};
|
|
883
|
-
protoOf(WsCustom).
|
|
952
|
+
protoOf(WsCustom).nd = function () {
|
|
884
953
|
return this.value;
|
|
885
954
|
};
|
|
886
|
-
protoOf(WsCustom).
|
|
887
|
-
return this.
|
|
955
|
+
protoOf(WsCustom).od = function () {
|
|
956
|
+
return this.s2f_1;
|
|
888
957
|
};
|
|
889
|
-
protoOf(WsCustom).
|
|
890
|
-
return this.
|
|
958
|
+
protoOf(WsCustom).hh = function () {
|
|
959
|
+
return this.t2f_1;
|
|
891
960
|
};
|
|
892
|
-
protoOf(WsCustom).
|
|
961
|
+
protoOf(WsCustom).m2b = function (value, isIterable, isMap) {
|
|
893
962
|
return new WsCustom(value, isIterable, isMap);
|
|
894
963
|
};
|
|
895
964
|
protoOf(WsCustom).copy = function (value, isIterable, isMap, $super) {
|
|
896
965
|
value = value === VOID ? this.value : value;
|
|
897
|
-
isIterable = isIterable === VOID ? this.
|
|
898
|
-
isMap = isMap === VOID ? this.
|
|
899
|
-
return this.
|
|
966
|
+
isIterable = isIterable === VOID ? this.s2f_1 : isIterable;
|
|
967
|
+
isMap = isMap === VOID ? this.t2f_1 : isMap;
|
|
968
|
+
return this.m2b(value, isIterable, isMap);
|
|
900
969
|
};
|
|
901
970
|
protoOf(WsCustom).toString = function () {
|
|
902
|
-
return 'WsCustom(value=' + this.value + ', isIterable=' + this.
|
|
971
|
+
return 'WsCustom(value=' + this.value + ', isIterable=' + this.s2f_1 + ', isMap=' + this.t2f_1 + ')';
|
|
903
972
|
};
|
|
904
973
|
protoOf(WsCustom).hashCode = function () {
|
|
905
974
|
var result = getStringHashCode(this.value);
|
|
906
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
907
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
975
|
+
result = imul(result, 31) + getBooleanHashCode(this.s2f_1) | 0;
|
|
976
|
+
result = imul(result, 31) + getBooleanHashCode(this.t2f_1) | 0;
|
|
908
977
|
return result;
|
|
909
978
|
};
|
|
910
979
|
protoOf(WsCustom).equals = function (other) {
|
|
@@ -915,52 +984,52 @@
|
|
|
915
984
|
var tmp0_other_with_cast = other instanceof WsCustom ? other : THROW_CCE();
|
|
916
985
|
if (!(this.value === tmp0_other_with_cast.value))
|
|
917
986
|
return false;
|
|
918
|
-
if (!(this.
|
|
987
|
+
if (!(this.s2f_1 === tmp0_other_with_cast.s2f_1))
|
|
919
988
|
return false;
|
|
920
|
-
if (!(this.
|
|
989
|
+
if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
|
|
921
990
|
return false;
|
|
922
991
|
return true;
|
|
923
992
|
};
|
|
924
993
|
function WsPrimitive(type, isIterable, isMap) {
|
|
925
994
|
isMap = isMap === VOID ? false : isMap;
|
|
926
995
|
this.type = type;
|
|
927
|
-
this.
|
|
928
|
-
this.
|
|
996
|
+
this.u2f_1 = isIterable;
|
|
997
|
+
this.v2f_1 = isMap;
|
|
929
998
|
}
|
|
930
|
-
protoOf(WsPrimitive).
|
|
999
|
+
protoOf(WsPrimitive).w2f = function () {
|
|
931
1000
|
return this.type;
|
|
932
1001
|
};
|
|
933
|
-
protoOf(WsPrimitive).
|
|
934
|
-
return this.
|
|
1002
|
+
protoOf(WsPrimitive).o21 = function () {
|
|
1003
|
+
return this.u2f_1;
|
|
935
1004
|
};
|
|
936
|
-
protoOf(WsPrimitive).
|
|
937
|
-
return this.
|
|
1005
|
+
protoOf(WsPrimitive).n2f = function () {
|
|
1006
|
+
return this.v2f_1;
|
|
938
1007
|
};
|
|
939
|
-
protoOf(WsPrimitive).
|
|
1008
|
+
protoOf(WsPrimitive).nd = function () {
|
|
940
1009
|
return this.type;
|
|
941
1010
|
};
|
|
942
|
-
protoOf(WsPrimitive).
|
|
943
|
-
return this.
|
|
1011
|
+
protoOf(WsPrimitive).od = function () {
|
|
1012
|
+
return this.u2f_1;
|
|
944
1013
|
};
|
|
945
|
-
protoOf(WsPrimitive).
|
|
946
|
-
return this.
|
|
1014
|
+
protoOf(WsPrimitive).hh = function () {
|
|
1015
|
+
return this.v2f_1;
|
|
947
1016
|
};
|
|
948
|
-
protoOf(WsPrimitive).
|
|
1017
|
+
protoOf(WsPrimitive).x2f = function (type, isIterable, isMap) {
|
|
949
1018
|
return new WsPrimitive(type, isIterable, isMap);
|
|
950
1019
|
};
|
|
951
1020
|
protoOf(WsPrimitive).copy = function (type, isIterable, isMap, $super) {
|
|
952
1021
|
type = type === VOID ? this.type : type;
|
|
953
|
-
isIterable = isIterable === VOID ? this.
|
|
954
|
-
isMap = isMap === VOID ? this.
|
|
955
|
-
return this.
|
|
1022
|
+
isIterable = isIterable === VOID ? this.u2f_1 : isIterable;
|
|
1023
|
+
isMap = isMap === VOID ? this.v2f_1 : isMap;
|
|
1024
|
+
return this.x2f(type, isIterable, isMap);
|
|
956
1025
|
};
|
|
957
1026
|
protoOf(WsPrimitive).toString = function () {
|
|
958
|
-
return 'WsPrimitive(type=' + this.type + ', isIterable=' + this.
|
|
1027
|
+
return 'WsPrimitive(type=' + this.type.toString() + ', isIterable=' + this.u2f_1 + ', isMap=' + this.v2f_1 + ')';
|
|
959
1028
|
};
|
|
960
1029
|
protoOf(WsPrimitive).hashCode = function () {
|
|
961
1030
|
var result = this.type.hashCode();
|
|
962
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
963
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1031
|
+
result = imul(result, 31) + getBooleanHashCode(this.u2f_1) | 0;
|
|
1032
|
+
result = imul(result, 31) + getBooleanHashCode(this.v2f_1) | 0;
|
|
964
1033
|
return result;
|
|
965
1034
|
};
|
|
966
1035
|
protoOf(WsPrimitive).equals = function (other) {
|
|
@@ -971,9 +1040,9 @@
|
|
|
971
1040
|
var tmp0_other_with_cast = other instanceof WsPrimitive ? other : THROW_CCE();
|
|
972
1041
|
if (!this.type.equals(tmp0_other_with_cast.type))
|
|
973
1042
|
return false;
|
|
974
|
-
if (!(this.
|
|
1043
|
+
if (!(this.u2f_1 === tmp0_other_with_cast.u2f_1))
|
|
975
1044
|
return false;
|
|
976
|
-
if (!(this.
|
|
1045
|
+
if (!(this.v2f_1 === tmp0_other_with_cast.v2f_1))
|
|
977
1046
|
return false;
|
|
978
1047
|
return true;
|
|
979
1048
|
};
|
|
@@ -1016,21 +1085,21 @@
|
|
|
1016
1085
|
function WsRequest(content) {
|
|
1017
1086
|
this.content = content;
|
|
1018
1087
|
}
|
|
1019
|
-
protoOf(WsRequest).
|
|
1088
|
+
protoOf(WsRequest).i16 = function () {
|
|
1020
1089
|
return this.content;
|
|
1021
1090
|
};
|
|
1022
|
-
protoOf(WsRequest).
|
|
1091
|
+
protoOf(WsRequest).nd = function () {
|
|
1023
1092
|
return this.content;
|
|
1024
1093
|
};
|
|
1025
|
-
protoOf(WsRequest).
|
|
1094
|
+
protoOf(WsRequest).a2g = function (content) {
|
|
1026
1095
|
return new WsRequest(content);
|
|
1027
1096
|
};
|
|
1028
1097
|
protoOf(WsRequest).copy = function (content, $super) {
|
|
1029
1098
|
content = content === VOID ? this.content : content;
|
|
1030
|
-
return this.
|
|
1099
|
+
return this.a2g(content);
|
|
1031
1100
|
};
|
|
1032
1101
|
protoOf(WsRequest).toString = function () {
|
|
1033
|
-
return 'WsRequest(content=' + this.content + ')';
|
|
1102
|
+
return 'WsRequest(content=' + toString_0(this.content) + ')';
|
|
1034
1103
|
};
|
|
1035
1104
|
protoOf(WsRequest).hashCode = function () {
|
|
1036
1105
|
return this.content == null ? 0 : this.content.hashCode();
|
|
@@ -1050,35 +1119,35 @@
|
|
|
1050
1119
|
this.headers = headers;
|
|
1051
1120
|
this.content = content;
|
|
1052
1121
|
}
|
|
1053
|
-
protoOf(WsResponse).
|
|
1122
|
+
protoOf(WsResponse).b2g = function () {
|
|
1054
1123
|
return this.status;
|
|
1055
1124
|
};
|
|
1056
|
-
protoOf(WsResponse).
|
|
1125
|
+
protoOf(WsResponse).n2e = function () {
|
|
1057
1126
|
return this.headers;
|
|
1058
1127
|
};
|
|
1059
|
-
protoOf(WsResponse).
|
|
1128
|
+
protoOf(WsResponse).i16 = function () {
|
|
1060
1129
|
return this.content;
|
|
1061
1130
|
};
|
|
1062
|
-
protoOf(WsResponse).
|
|
1131
|
+
protoOf(WsResponse).nd = function () {
|
|
1063
1132
|
return this.status;
|
|
1064
1133
|
};
|
|
1065
|
-
protoOf(WsResponse).
|
|
1134
|
+
protoOf(WsResponse).od = function () {
|
|
1066
1135
|
return this.headers;
|
|
1067
1136
|
};
|
|
1068
|
-
protoOf(WsResponse).
|
|
1137
|
+
protoOf(WsResponse).hh = function () {
|
|
1069
1138
|
return this.content;
|
|
1070
1139
|
};
|
|
1071
|
-
protoOf(WsResponse).
|
|
1140
|
+
protoOf(WsResponse).c2g = function (status, headers, content) {
|
|
1072
1141
|
return new WsResponse(status, headers, content);
|
|
1073
1142
|
};
|
|
1074
1143
|
protoOf(WsResponse).copy = function (status, headers, content, $super) {
|
|
1075
1144
|
status = status === VOID ? this.status : status;
|
|
1076
1145
|
headers = headers === VOID ? this.headers : headers;
|
|
1077
1146
|
content = content === VOID ? this.content : content;
|
|
1078
|
-
return this.
|
|
1147
|
+
return this.c2g(status, headers, content);
|
|
1079
1148
|
};
|
|
1080
1149
|
protoOf(WsResponse).toString = function () {
|
|
1081
|
-
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + this.content + ')';
|
|
1150
|
+
return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + toString_0(this.content) + ')';
|
|
1082
1151
|
};
|
|
1083
1152
|
protoOf(WsResponse).hashCode = function () {
|
|
1084
1153
|
var result = getStringHashCode(this.status);
|
|
@@ -1106,35 +1175,35 @@
|
|
|
1106
1175
|
this.reference = reference;
|
|
1107
1176
|
this.isNullable = isNullable;
|
|
1108
1177
|
}
|
|
1109
|
-
protoOf(WsContent).
|
|
1178
|
+
protoOf(WsContent).w2f = function () {
|
|
1110
1179
|
return this.type;
|
|
1111
1180
|
};
|
|
1112
|
-
protoOf(WsContent).
|
|
1181
|
+
protoOf(WsContent).d2f = function () {
|
|
1113
1182
|
return this.reference;
|
|
1114
1183
|
};
|
|
1115
|
-
protoOf(WsContent).
|
|
1184
|
+
protoOf(WsContent).ll = function () {
|
|
1116
1185
|
return this.isNullable;
|
|
1117
1186
|
};
|
|
1118
|
-
protoOf(WsContent).
|
|
1187
|
+
protoOf(WsContent).nd = function () {
|
|
1119
1188
|
return this.type;
|
|
1120
1189
|
};
|
|
1121
|
-
protoOf(WsContent).
|
|
1190
|
+
protoOf(WsContent).od = function () {
|
|
1122
1191
|
return this.reference;
|
|
1123
1192
|
};
|
|
1124
|
-
protoOf(WsContent).
|
|
1193
|
+
protoOf(WsContent).hh = function () {
|
|
1125
1194
|
return this.isNullable;
|
|
1126
1195
|
};
|
|
1127
|
-
protoOf(WsContent).
|
|
1196
|
+
protoOf(WsContent).d2g = function (type, reference, isNullable) {
|
|
1128
1197
|
return new WsContent(type, reference, isNullable);
|
|
1129
1198
|
};
|
|
1130
1199
|
protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
|
|
1131
1200
|
type = type === VOID ? this.type : type;
|
|
1132
1201
|
reference = reference === VOID ? this.reference : reference;
|
|
1133
1202
|
isNullable = isNullable === VOID ? this.isNullable : isNullable;
|
|
1134
|
-
return this.
|
|
1203
|
+
return this.d2g(type, reference, isNullable);
|
|
1135
1204
|
};
|
|
1136
1205
|
protoOf(WsContent).toString = function () {
|
|
1137
|
-
return 'WsContent(type=' + this.type + ', reference=' + this.reference + ', isNullable=' + this.isNullable + ')';
|
|
1206
|
+
return 'WsContent(type=' + this.type + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
|
|
1138
1207
|
};
|
|
1139
1208
|
protoOf(WsContent).hashCode = function () {
|
|
1140
1209
|
var result = getStringHashCode(this.type);
|
|
@@ -1161,91 +1230,103 @@
|
|
|
1161
1230
|
// Inline function 'kotlin.collections.map' call
|
|
1162
1231
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1163
1232
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1164
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1165
|
-
while (tmp0_iterator.
|
|
1166
|
-
var item = tmp0_iterator.
|
|
1233
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1234
|
+
while (tmp0_iterator.h()) {
|
|
1235
|
+
var item = tmp0_iterator.i();
|
|
1167
1236
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1168
1237
|
var tmp$ret$0 = produce_0(item);
|
|
1169
|
-
destination.
|
|
1238
|
+
destination.e(tmp$ret$0);
|
|
1170
1239
|
}
|
|
1171
1240
|
return copyToArray(destination);
|
|
1172
1241
|
}
|
|
1173
1242
|
function produce_0(_this__u8e3s4) {
|
|
1174
1243
|
var tmp;
|
|
1175
1244
|
if (_this__u8e3s4 instanceof Type) {
|
|
1176
|
-
var
|
|
1245
|
+
var tmp30_safe_receiver = _this__u8e3s4.m22_1;
|
|
1177
1246
|
var tmp_0;
|
|
1178
|
-
var tmp_1 =
|
|
1247
|
+
var tmp_1 = tmp30_safe_receiver;
|
|
1179
1248
|
if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
|
|
1180
1249
|
tmp_0 = null;
|
|
1181
1250
|
} else {
|
|
1182
|
-
tmp_0 = _Comment___get_value__impl__8r3pla(
|
|
1251
|
+
tmp_0 = _Comment___get_value__impl__8r3pla(tmp30_safe_receiver);
|
|
1183
1252
|
}
|
|
1184
|
-
tmp = new WsType(_this__u8e3s4.
|
|
1253
|
+
tmp = new WsType(_this__u8e3s4.n22_1.t28_1, tmp_0, produce_1(_this__u8e3s4.o22_1));
|
|
1185
1254
|
} else {
|
|
1186
1255
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
1187
|
-
var
|
|
1256
|
+
var tmp31_safe_receiver = _this__u8e3s4.z22_1;
|
|
1188
1257
|
var tmp_2;
|
|
1189
|
-
var tmp_3 =
|
|
1258
|
+
var tmp_3 = tmp31_safe_receiver;
|
|
1190
1259
|
if ((tmp_3 == null ? null : new Comment(tmp_3)) == null) {
|
|
1191
1260
|
tmp_2 = null;
|
|
1192
1261
|
} else {
|
|
1193
|
-
tmp_2 = _Comment___get_value__impl__8r3pla(
|
|
1262
|
+
tmp_2 = _Comment___get_value__impl__8r3pla(tmp31_safe_receiver);
|
|
1194
1263
|
}
|
|
1195
|
-
tmp = new WsEndpoint(_this__u8e3s4.
|
|
1264
|
+
tmp = new WsEndpoint(_this__u8e3s4.a23_1.t28_1, tmp_2, produce_2(_this__u8e3s4.b23_1), produce_3(_this__u8e3s4.c23_1), produce_4(_this__u8e3s4.d23_1), produce_4(_this__u8e3s4.e23_1), produce_4(_this__u8e3s4.f23_1), produce_5(_this__u8e3s4.g23_1), produce_6(_this__u8e3s4.h23_1));
|
|
1196
1265
|
} else {
|
|
1197
1266
|
if (_this__u8e3s4 instanceof Enum_0) {
|
|
1198
|
-
var
|
|
1267
|
+
var tmp32_safe_receiver = _this__u8e3s4.s22_1;
|
|
1199
1268
|
var tmp_4;
|
|
1200
|
-
var tmp_5 =
|
|
1269
|
+
var tmp_5 = tmp32_safe_receiver;
|
|
1201
1270
|
if ((tmp_5 == null ? null : new Comment(tmp_5)) == null) {
|
|
1202
1271
|
tmp_4 = null;
|
|
1203
1272
|
} else {
|
|
1204
|
-
tmp_4 = _Comment___get_value__impl__8r3pla(
|
|
1273
|
+
tmp_4 = _Comment___get_value__impl__8r3pla(tmp32_safe_receiver);
|
|
1205
1274
|
}
|
|
1206
1275
|
var tmp_6 = tmp_4;
|
|
1207
1276
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1208
|
-
var this_0 = _this__u8e3s4.
|
|
1277
|
+
var this_0 = _this__u8e3s4.u22_1;
|
|
1209
1278
|
var tmp$ret$0 = copyToArray(this_0);
|
|
1210
|
-
tmp = new WsEnum(_this__u8e3s4.
|
|
1279
|
+
tmp = new WsEnum(_this__u8e3s4.t22_1.t28_1, tmp_6, tmp$ret$0);
|
|
1211
1280
|
} else {
|
|
1212
1281
|
if (_this__u8e3s4 instanceof Refined) {
|
|
1213
|
-
var
|
|
1282
|
+
var tmp33_safe_receiver = _this__u8e3s4.p22_1;
|
|
1214
1283
|
var tmp_7;
|
|
1215
|
-
var tmp_8 =
|
|
1284
|
+
var tmp_8 = tmp33_safe_receiver;
|
|
1216
1285
|
if ((tmp_8 == null ? null : new Comment(tmp_8)) == null) {
|
|
1217
1286
|
tmp_7 = null;
|
|
1218
1287
|
} else {
|
|
1219
|
-
tmp_7 = _Comment___get_value__impl__8r3pla(
|
|
1288
|
+
tmp_7 = _Comment___get_value__impl__8r3pla(tmp33_safe_receiver);
|
|
1220
1289
|
}
|
|
1221
|
-
tmp = new WsRefined(_this__u8e3s4.
|
|
1290
|
+
tmp = new WsRefined(_this__u8e3s4.q22_1.t28_1, tmp_7, _this__u8e3s4.r22_1.c29_1);
|
|
1222
1291
|
} else {
|
|
1223
1292
|
if (_this__u8e3s4 instanceof Union) {
|
|
1224
|
-
var
|
|
1293
|
+
var tmp34_safe_receiver = _this__u8e3s4.i22_1;
|
|
1225
1294
|
var tmp_9;
|
|
1226
|
-
var tmp_10 =
|
|
1295
|
+
var tmp_10 = tmp34_safe_receiver;
|
|
1227
1296
|
if ((tmp_10 == null ? null : new Comment(tmp_10)) == null) {
|
|
1228
1297
|
tmp_9 = null;
|
|
1229
1298
|
} else {
|
|
1230
|
-
tmp_9 = _Comment___get_value__impl__8r3pla(
|
|
1299
|
+
tmp_9 = _Comment___get_value__impl__8r3pla(tmp34_safe_receiver);
|
|
1231
1300
|
}
|
|
1232
1301
|
var tmp_11 = tmp_9;
|
|
1233
1302
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1234
1303
|
// Inline function 'kotlin.collections.map' call
|
|
1235
|
-
var this_1 = _this__u8e3s4.
|
|
1304
|
+
var this_1 = _this__u8e3s4.k22_1;
|
|
1236
1305
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1237
1306
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
1238
|
-
var tmp0_iterator = this_1.
|
|
1239
|
-
while (tmp0_iterator.
|
|
1240
|
-
var item = tmp0_iterator.
|
|
1307
|
+
var tmp0_iterator = this_1.g();
|
|
1308
|
+
while (tmp0_iterator.h()) {
|
|
1309
|
+
var item = tmp0_iterator.i();
|
|
1241
1310
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1242
1311
|
var tmp$ret$1 = produce_7(item);
|
|
1243
|
-
destination.
|
|
1312
|
+
destination.e(tmp$ret$1);
|
|
1244
1313
|
}
|
|
1245
1314
|
var tmp$ret$4 = copyToArray(destination);
|
|
1246
|
-
tmp = new WsUnion(_this__u8e3s4.
|
|
1315
|
+
tmp = new WsUnion(_this__u8e3s4.j22_1.t28_1, tmp_11, tmp$ret$4);
|
|
1247
1316
|
} else {
|
|
1248
|
-
|
|
1317
|
+
if (_this__u8e3s4 instanceof Channel) {
|
|
1318
|
+
var tmp35_safe_receiver = _this__u8e3s4.v22_1;
|
|
1319
|
+
var tmp_12;
|
|
1320
|
+
var tmp_13 = tmp35_safe_receiver;
|
|
1321
|
+
if ((tmp_13 == null ? null : new Comment(tmp_13)) == null) {
|
|
1322
|
+
tmp_12 = null;
|
|
1323
|
+
} else {
|
|
1324
|
+
tmp_12 = _Comment___get_value__impl__8r3pla(tmp35_safe_receiver);
|
|
1325
|
+
}
|
|
1326
|
+
tmp = new WsChannel(_this__u8e3s4.w22_1.t28_1, tmp_12, produce_7(_this__u8e3s4.y22_1), _this__u8e3s4.x22_1);
|
|
1327
|
+
} else {
|
|
1328
|
+
noWhenBranchMatchedException();
|
|
1329
|
+
}
|
|
1249
1330
|
}
|
|
1250
1331
|
}
|
|
1251
1332
|
}
|
|
@@ -1256,22 +1337,22 @@
|
|
|
1256
1337
|
function produce_1(_this__u8e3s4) {
|
|
1257
1338
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1258
1339
|
// Inline function 'kotlin.collections.map' call
|
|
1259
|
-
var this_0 = _this__u8e3s4.
|
|
1340
|
+
var this_0 = _this__u8e3s4.o28_1;
|
|
1260
1341
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1261
1342
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1262
|
-
var tmp0_iterator = this_0.
|
|
1263
|
-
while (tmp0_iterator.
|
|
1264
|
-
var item = tmp0_iterator.
|
|
1343
|
+
var tmp0_iterator = this_0.g();
|
|
1344
|
+
while (tmp0_iterator.h()) {
|
|
1345
|
+
var item = tmp0_iterator.i();
|
|
1265
1346
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1266
1347
|
var tmp$ret$0 = produce_8(item);
|
|
1267
|
-
destination.
|
|
1348
|
+
destination.e(tmp$ret$0);
|
|
1268
1349
|
}
|
|
1269
1350
|
var tmp$ret$3 = copyToArray(destination);
|
|
1270
1351
|
return new WsShape(tmp$ret$3);
|
|
1271
1352
|
}
|
|
1272
1353
|
function produce_2(_this__u8e3s4) {
|
|
1273
1354
|
var tmp;
|
|
1274
|
-
switch (_this__u8e3s4.
|
|
1355
|
+
switch (_this__u8e3s4.o2_1) {
|
|
1275
1356
|
case 0:
|
|
1276
1357
|
tmp = WsMethod_GET_getInstance();
|
|
1277
1358
|
break;
|
|
@@ -1307,22 +1388,22 @@
|
|
|
1307
1388
|
// Inline function 'kotlin.collections.map' call
|
|
1308
1389
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1309
1390
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1310
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1311
|
-
while (tmp0_iterator.
|
|
1312
|
-
var item = tmp0_iterator.
|
|
1391
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1392
|
+
while (tmp0_iterator.h()) {
|
|
1393
|
+
var item = tmp0_iterator.i();
|
|
1313
1394
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1314
1395
|
var tmp;
|
|
1315
1396
|
if (item instanceof Literal) {
|
|
1316
|
-
tmp = new WsLiteral(item.
|
|
1397
|
+
tmp = new WsLiteral(item.i29_1);
|
|
1317
1398
|
} else {
|
|
1318
1399
|
if (item instanceof Param) {
|
|
1319
|
-
tmp = new WsParam(produce_9(item.
|
|
1400
|
+
tmp = new WsParam(produce_9(item.d29_1), produce_7(item.e29_1));
|
|
1320
1401
|
} else {
|
|
1321
1402
|
noWhenBranchMatchedException();
|
|
1322
1403
|
}
|
|
1323
1404
|
}
|
|
1324
1405
|
var tmp$ret$0 = tmp;
|
|
1325
|
-
destination.
|
|
1406
|
+
destination.e(tmp$ret$0);
|
|
1326
1407
|
}
|
|
1327
1408
|
return copyToArray(destination);
|
|
1328
1409
|
}
|
|
@@ -1331,12 +1412,12 @@
|
|
|
1331
1412
|
// Inline function 'kotlin.collections.map' call
|
|
1332
1413
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1333
1414
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1334
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1335
|
-
while (tmp0_iterator.
|
|
1336
|
-
var item = tmp0_iterator.
|
|
1415
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1416
|
+
while (tmp0_iterator.h()) {
|
|
1417
|
+
var item = tmp0_iterator.i();
|
|
1337
1418
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1338
1419
|
var tmp$ret$0 = produce_8(item);
|
|
1339
|
-
destination.
|
|
1420
|
+
destination.e(tmp$ret$0);
|
|
1340
1421
|
}
|
|
1341
1422
|
return copyToArray(destination);
|
|
1342
1423
|
}
|
|
@@ -1345,12 +1426,12 @@
|
|
|
1345
1426
|
// Inline function 'kotlin.collections.map' call
|
|
1346
1427
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1347
1428
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1348
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1349
|
-
while (tmp0_iterator.
|
|
1350
|
-
var item = tmp0_iterator.
|
|
1429
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1430
|
+
while (tmp0_iterator.h()) {
|
|
1431
|
+
var item = tmp0_iterator.i();
|
|
1351
1432
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1352
1433
|
var tmp$ret$0 = produce_10(item);
|
|
1353
|
-
destination.
|
|
1434
|
+
destination.e(tmp$ret$0);
|
|
1354
1435
|
}
|
|
1355
1436
|
return copyToArray(destination);
|
|
1356
1437
|
}
|
|
@@ -1359,28 +1440,28 @@
|
|
|
1359
1440
|
// Inline function 'kotlin.collections.map' call
|
|
1360
1441
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1361
1442
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
1362
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1363
|
-
while (tmp0_iterator.
|
|
1364
|
-
var item = tmp0_iterator.
|
|
1443
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
1444
|
+
while (tmp0_iterator.h()) {
|
|
1445
|
+
var item = tmp0_iterator.i();
|
|
1365
1446
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1366
1447
|
var tmp$ret$0 = produce_11(item);
|
|
1367
|
-
destination.
|
|
1448
|
+
destination.e(tmp$ret$0);
|
|
1368
1449
|
}
|
|
1369
1450
|
return copyToArray(destination);
|
|
1370
1451
|
}
|
|
1371
1452
|
function produce_7(_this__u8e3s4) {
|
|
1372
1453
|
var tmp;
|
|
1373
1454
|
if (_this__u8e3s4 instanceof Any) {
|
|
1374
|
-
tmp = new WsAny(_this__u8e3s4.
|
|
1455
|
+
tmp = new WsAny(_this__u8e3s4.y29_1, _this__u8e3s4.z29_1);
|
|
1375
1456
|
} else {
|
|
1376
1457
|
if (_this__u8e3s4 instanceof Unit) {
|
|
1377
|
-
tmp = new WsUnit(_this__u8e3s4.
|
|
1458
|
+
tmp = new WsUnit(_this__u8e3s4.b2a_1, _this__u8e3s4.c2a_1);
|
|
1378
1459
|
} else {
|
|
1379
1460
|
if (_this__u8e3s4 instanceof Custom) {
|
|
1380
|
-
tmp = new WsCustom(_this__u8e3s4.
|
|
1461
|
+
tmp = new WsCustom(_this__u8e3s4.y28_1, _this__u8e3s4.z28_1, _this__u8e3s4.a29_1);
|
|
1381
1462
|
} else {
|
|
1382
1463
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
1383
|
-
tmp = new WsPrimitive(produce_12(_this__u8e3s4.
|
|
1464
|
+
tmp = new WsPrimitive(produce_12(_this__u8e3s4.u28_1), _this__u8e3s4.v28_1, _this__u8e3s4.w28_1);
|
|
1384
1465
|
} else {
|
|
1385
1466
|
noWhenBranchMatchedException();
|
|
1386
1467
|
}
|
|
@@ -1390,35 +1471,35 @@
|
|
|
1390
1471
|
return tmp;
|
|
1391
1472
|
}
|
|
1392
1473
|
function produce_8(_this__u8e3s4) {
|
|
1393
|
-
return new WsField(produce_9(_this__u8e3s4.
|
|
1474
|
+
return new WsField(produce_9(_this__u8e3s4.p28_1), produce_7(_this__u8e3s4.q28_1), _this__u8e3s4.r28_1);
|
|
1394
1475
|
}
|
|
1395
1476
|
function produce_9(_this__u8e3s4) {
|
|
1396
|
-
return new WsIdentifier(_this__u8e3s4.
|
|
1477
|
+
return new WsIdentifier(_this__u8e3s4.t28_1);
|
|
1397
1478
|
}
|
|
1398
1479
|
function produce_10(_this__u8e3s4) {
|
|
1399
|
-
var
|
|
1400
|
-
return new WsRequest(
|
|
1480
|
+
var tmp40_safe_receiver = _this__u8e3s4.j29_1;
|
|
1481
|
+
return new WsRequest(tmp40_safe_receiver == null ? null : produce_13(tmp40_safe_receiver));
|
|
1401
1482
|
}
|
|
1402
1483
|
function produce_11(_this__u8e3s4) {
|
|
1403
1484
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1404
1485
|
// Inline function 'kotlin.collections.map' call
|
|
1405
|
-
var this_0 = _this__u8e3s4.
|
|
1486
|
+
var this_0 = _this__u8e3s4.l29_1;
|
|
1406
1487
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1407
1488
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1408
|
-
var tmp0_iterator = this_0.
|
|
1409
|
-
while (tmp0_iterator.
|
|
1410
|
-
var item = tmp0_iterator.
|
|
1489
|
+
var tmp0_iterator = this_0.g();
|
|
1490
|
+
while (tmp0_iterator.h()) {
|
|
1491
|
+
var item = tmp0_iterator.i();
|
|
1411
1492
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
1412
1493
|
var tmp$ret$0 = produce_8(item);
|
|
1413
|
-
destination.
|
|
1494
|
+
destination.e(tmp$ret$0);
|
|
1414
1495
|
}
|
|
1415
1496
|
var tmp = copyToArray(destination);
|
|
1416
|
-
var
|
|
1417
|
-
return new WsResponse(_this__u8e3s4.
|
|
1497
|
+
var tmp41_safe_receiver = _this__u8e3s4.m29_1;
|
|
1498
|
+
return new WsResponse(_this__u8e3s4.k29_1, tmp, tmp41_safe_receiver == null ? null : produce_13(tmp41_safe_receiver));
|
|
1418
1499
|
}
|
|
1419
1500
|
function produce_12(_this__u8e3s4) {
|
|
1420
1501
|
var tmp;
|
|
1421
|
-
switch (_this__u8e3s4.
|
|
1502
|
+
switch (_this__u8e3s4.o2_1) {
|
|
1422
1503
|
case 0:
|
|
1423
1504
|
tmp = WsPrimitiveType_String_getInstance();
|
|
1424
1505
|
break;
|
|
@@ -1438,7 +1519,7 @@
|
|
|
1438
1519
|
return tmp;
|
|
1439
1520
|
}
|
|
1440
1521
|
function produce_13(_this__u8e3s4) {
|
|
1441
|
-
return new WsContent(_this__u8e3s4.
|
|
1522
|
+
return new WsContent(_this__u8e3s4.n29_1, produce_7(_this__u8e3s4.o29_1), _this__u8e3s4.p29_1);
|
|
1442
1523
|
}
|
|
1443
1524
|
function consume(_this__u8e3s4) {
|
|
1444
1525
|
var tmp;
|
|
@@ -1457,7 +1538,11 @@
|
|
|
1457
1538
|
if (_this__u8e3s4 instanceof WsUnion) {
|
|
1458
1539
|
tmp = consume_4(_this__u8e3s4);
|
|
1459
1540
|
} else {
|
|
1460
|
-
|
|
1541
|
+
if (_this__u8e3s4 instanceof WsChannel) {
|
|
1542
|
+
tmp = consume_5(_this__u8e3s4);
|
|
1543
|
+
} else {
|
|
1544
|
+
noWhenBranchMatchedException();
|
|
1545
|
+
}
|
|
1461
1546
|
}
|
|
1462
1547
|
}
|
|
1463
1548
|
}
|
|
@@ -1466,19 +1551,19 @@
|
|
|
1466
1551
|
return tmp;
|
|
1467
1552
|
}
|
|
1468
1553
|
function consume_0(_this__u8e3s4) {
|
|
1469
|
-
var
|
|
1554
|
+
var tmp1_safe_receiver = _this__u8e3s4.comment;
|
|
1470
1555
|
var tmp;
|
|
1471
|
-
if (
|
|
1556
|
+
if (tmp1_safe_receiver == null) {
|
|
1472
1557
|
tmp = null;
|
|
1473
1558
|
} else {
|
|
1474
1559
|
// Inline function 'kotlin.let' call
|
|
1475
1560
|
// Inline function 'kotlin.contracts.contract' call
|
|
1476
1561
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1477
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1562
|
+
tmp = _Comment___init__impl__cg8s2u(tmp1_safe_receiver);
|
|
1478
1563
|
}
|
|
1479
1564
|
var tmp_0 = tmp;
|
|
1480
|
-
var tmp_1 = Companion_instance.
|
|
1481
|
-
var tmp_2 =
|
|
1565
|
+
var tmp_1 = Companion_instance.q29(_this__u8e3s4.j2e_1);
|
|
1566
|
+
var tmp_2 = consume_6(_this__u8e3s4.method);
|
|
1482
1567
|
// Inline function 'kotlin.collections.map' call
|
|
1483
1568
|
var this_0 = _this__u8e3s4.path;
|
|
1484
1569
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1489,8 +1574,8 @@
|
|
|
1489
1574
|
var item = this_0[inductionVariable];
|
|
1490
1575
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1491
1576
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1492
|
-
var tmp$ret$2 =
|
|
1493
|
-
destination.
|
|
1577
|
+
var tmp$ret$2 = consume_7(item);
|
|
1578
|
+
destination.e(tmp$ret$2);
|
|
1494
1579
|
}
|
|
1495
1580
|
var tmp_3 = destination;
|
|
1496
1581
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1503,8 +1588,8 @@
|
|
|
1503
1588
|
var item_0 = this_1[inductionVariable_0];
|
|
1504
1589
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1505
1590
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1506
|
-
var tmp$ret$5 =
|
|
1507
|
-
destination_0.
|
|
1591
|
+
var tmp$ret$5 = consume_8(item_0);
|
|
1592
|
+
destination_0.e(tmp$ret$5);
|
|
1508
1593
|
}
|
|
1509
1594
|
var tmp_4 = destination_0;
|
|
1510
1595
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1517,8 +1602,8 @@
|
|
|
1517
1602
|
var item_1 = this_2[inductionVariable_1];
|
|
1518
1603
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
1519
1604
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1520
|
-
var tmp$ret$8 =
|
|
1521
|
-
destination_1.
|
|
1605
|
+
var tmp$ret$8 = consume_8(item_1);
|
|
1606
|
+
destination_1.e(tmp$ret$8);
|
|
1522
1607
|
}
|
|
1523
1608
|
var tmp_5 = destination_1;
|
|
1524
1609
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1531,8 +1616,8 @@
|
|
|
1531
1616
|
var item_2 = this_3[inductionVariable_2];
|
|
1532
1617
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
1533
1618
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1534
|
-
var tmp$ret$11 =
|
|
1535
|
-
destination_2.
|
|
1619
|
+
var tmp$ret$11 = consume_8(item_2);
|
|
1620
|
+
destination_2.e(tmp$ret$11);
|
|
1536
1621
|
}
|
|
1537
1622
|
var tmp_6 = destination_2;
|
|
1538
1623
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1545,8 +1630,8 @@
|
|
|
1545
1630
|
var item_3 = this_4[inductionVariable_3];
|
|
1546
1631
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
1547
1632
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1548
|
-
var tmp$ret$14 =
|
|
1549
|
-
destination_3.
|
|
1633
|
+
var tmp$ret$14 = consume_9(item_3);
|
|
1634
|
+
destination_3.e(tmp$ret$14);
|
|
1550
1635
|
}
|
|
1551
1636
|
var tmp_7 = destination_3;
|
|
1552
1637
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -1559,56 +1644,56 @@
|
|
|
1559
1644
|
var item_4 = this_5[inductionVariable_4];
|
|
1560
1645
|
inductionVariable_4 = inductionVariable_4 + 1 | 0;
|
|
1561
1646
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1562
|
-
var tmp$ret$17 =
|
|
1563
|
-
destination_4.
|
|
1647
|
+
var tmp$ret$17 = consume_10(item_4);
|
|
1648
|
+
destination_4.e(tmp$ret$17);
|
|
1564
1649
|
}
|
|
1565
1650
|
return new Endpoint(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, destination_4);
|
|
1566
1651
|
}
|
|
1567
1652
|
function consume_1(_this__u8e3s4) {
|
|
1568
|
-
var
|
|
1569
|
-
var
|
|
1653
|
+
var tmp5_identifier = Companion_instance.q29(_this__u8e3s4.y2e_1);
|
|
1654
|
+
var tmp4_safe_receiver = _this__u8e3s4.comment;
|
|
1570
1655
|
var tmp;
|
|
1571
|
-
if (
|
|
1656
|
+
if (tmp4_safe_receiver == null) {
|
|
1572
1657
|
tmp = null;
|
|
1573
1658
|
} else {
|
|
1574
1659
|
// Inline function 'kotlin.let' call
|
|
1575
1660
|
// Inline function 'kotlin.contracts.contract' call
|
|
1576
1661
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1577
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1662
|
+
tmp = _Comment___init__impl__cg8s2u(tmp4_safe_receiver);
|
|
1578
1663
|
}
|
|
1579
|
-
var
|
|
1580
|
-
var
|
|
1581
|
-
return new Enum_0(
|
|
1664
|
+
var tmp6_comment = tmp;
|
|
1665
|
+
var tmp7_entries = toSet(_this__u8e3s4.entries);
|
|
1666
|
+
return new Enum_0(tmp6_comment, tmp5_identifier, tmp7_entries);
|
|
1582
1667
|
}
|
|
1583
1668
|
function consume_2(_this__u8e3s4) {
|
|
1584
|
-
var
|
|
1585
|
-
var
|
|
1669
|
+
var tmp9_identifier = Companion_instance.q29(_this__u8e3s4.f2f_1);
|
|
1670
|
+
var tmp8_safe_receiver = _this__u8e3s4.comment;
|
|
1586
1671
|
var tmp;
|
|
1587
|
-
if (
|
|
1672
|
+
if (tmp8_safe_receiver == null) {
|
|
1588
1673
|
tmp = null;
|
|
1589
1674
|
} else {
|
|
1590
1675
|
// Inline function 'kotlin.let' call
|
|
1591
1676
|
// Inline function 'kotlin.contracts.contract' call
|
|
1592
1677
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1593
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1678
|
+
tmp = _Comment___init__impl__cg8s2u(tmp8_safe_receiver);
|
|
1594
1679
|
}
|
|
1595
|
-
var
|
|
1596
|
-
var
|
|
1597
|
-
return new Refined(
|
|
1680
|
+
var tmp10_comment = tmp;
|
|
1681
|
+
var tmp11_validator = new Validator(_this__u8e3s4.validator);
|
|
1682
|
+
return new Refined(tmp10_comment, tmp9_identifier, tmp11_validator);
|
|
1598
1683
|
}
|
|
1599
1684
|
function consume_3(_this__u8e3s4) {
|
|
1600
|
-
var
|
|
1601
|
-
var
|
|
1685
|
+
var tmp13_identifier = Companion_instance.q29(_this__u8e3s4.e2e_1);
|
|
1686
|
+
var tmp12_safe_receiver = _this__u8e3s4.comment;
|
|
1602
1687
|
var tmp;
|
|
1603
|
-
if (
|
|
1688
|
+
if (tmp12_safe_receiver == null) {
|
|
1604
1689
|
tmp = null;
|
|
1605
1690
|
} else {
|
|
1606
1691
|
// Inline function 'kotlin.let' call
|
|
1607
1692
|
// Inline function 'kotlin.contracts.contract' call
|
|
1608
1693
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1609
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1694
|
+
tmp = _Comment___init__impl__cg8s2u(tmp12_safe_receiver);
|
|
1610
1695
|
}
|
|
1611
|
-
var
|
|
1696
|
+
var tmp14_comment = tmp;
|
|
1612
1697
|
// Inline function 'kotlin.collections.map' call
|
|
1613
1698
|
var this_0 = _this__u8e3s4.shape.value;
|
|
1614
1699
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1619,25 +1704,25 @@
|
|
|
1619
1704
|
var item = this_0[inductionVariable];
|
|
1620
1705
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1621
1706
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1622
|
-
var tmp$ret$2 =
|
|
1623
|
-
destination.
|
|
1707
|
+
var tmp$ret$2 = consume_8(item);
|
|
1708
|
+
destination.e(tmp$ret$2);
|
|
1624
1709
|
}
|
|
1625
|
-
var
|
|
1626
|
-
return new Type(
|
|
1710
|
+
var tmp15_shape = new Shape(destination);
|
|
1711
|
+
return new Type(tmp14_comment, tmp13_identifier, tmp15_shape);
|
|
1627
1712
|
}
|
|
1628
1713
|
function consume_4(_this__u8e3s4) {
|
|
1629
|
-
var
|
|
1630
|
-
var
|
|
1714
|
+
var tmp17_identifier = Companion_instance.q29(_this__u8e3s4.a2f_1);
|
|
1715
|
+
var tmp16_safe_receiver = _this__u8e3s4.comment;
|
|
1631
1716
|
var tmp;
|
|
1632
|
-
if (
|
|
1717
|
+
if (tmp16_safe_receiver == null) {
|
|
1633
1718
|
tmp = null;
|
|
1634
1719
|
} else {
|
|
1635
1720
|
// Inline function 'kotlin.let' call
|
|
1636
1721
|
// Inline function 'kotlin.contracts.contract' call
|
|
1637
1722
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1638
|
-
tmp = _Comment___init__impl__cg8s2u(
|
|
1723
|
+
tmp = _Comment___init__impl__cg8s2u(tmp16_safe_receiver);
|
|
1639
1724
|
}
|
|
1640
|
-
var
|
|
1725
|
+
var tmp18_comment = tmp;
|
|
1641
1726
|
// Inline function 'kotlin.collections.map' call
|
|
1642
1727
|
var this_0 = _this__u8e3s4.entries;
|
|
1643
1728
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1648,15 +1733,32 @@
|
|
|
1648
1733
|
var item = this_0[inductionVariable];
|
|
1649
1734
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1650
1735
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1651
|
-
var tmp$ret$2 =
|
|
1652
|
-
destination.
|
|
1736
|
+
var tmp$ret$2 = consume_11(item);
|
|
1737
|
+
destination.e(tmp$ret$2);
|
|
1653
1738
|
}
|
|
1654
|
-
var
|
|
1655
|
-
return new Union(
|
|
1739
|
+
var tmp19_entries = toSet_0(destination);
|
|
1740
|
+
return new Union(tmp18_comment, tmp17_identifier, tmp19_entries);
|
|
1656
1741
|
}
|
|
1657
1742
|
function consume_5(_this__u8e3s4) {
|
|
1743
|
+
var tmp21_identifier = Companion_instance.q29(_this__u8e3s4.c2f_1);
|
|
1744
|
+
var tmp20_safe_receiver = _this__u8e3s4.comment;
|
|
1658
1745
|
var tmp;
|
|
1659
|
-
|
|
1746
|
+
if (tmp20_safe_receiver == null) {
|
|
1747
|
+
tmp = null;
|
|
1748
|
+
} else {
|
|
1749
|
+
// Inline function 'kotlin.let' call
|
|
1750
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1751
|
+
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1752
|
+
tmp = _Comment___init__impl__cg8s2u(tmp20_safe_receiver);
|
|
1753
|
+
}
|
|
1754
|
+
var tmp22_comment = tmp;
|
|
1755
|
+
var tmp23_reference = consume_11(_this__u8e3s4.reference);
|
|
1756
|
+
var tmp24_isNullable = _this__u8e3s4.isNullable;
|
|
1757
|
+
return new Channel(tmp22_comment, tmp21_identifier, tmp24_isNullable, tmp23_reference);
|
|
1758
|
+
}
|
|
1759
|
+
function consume_6(_this__u8e3s4) {
|
|
1760
|
+
var tmp;
|
|
1761
|
+
switch (_this__u8e3s4.o2_1) {
|
|
1660
1762
|
case 0:
|
|
1661
1763
|
tmp = Method_GET_getInstance();
|
|
1662
1764
|
break;
|
|
@@ -1687,27 +1789,27 @@
|
|
|
1687
1789
|
}
|
|
1688
1790
|
return tmp;
|
|
1689
1791
|
}
|
|
1690
|
-
function
|
|
1792
|
+
function consume_7(_this__u8e3s4) {
|
|
1691
1793
|
var tmp;
|
|
1692
1794
|
if (_this__u8e3s4 instanceof WsLiteral) {
|
|
1693
1795
|
tmp = new Literal(_this__u8e3s4.value);
|
|
1694
1796
|
} else {
|
|
1695
1797
|
if (_this__u8e3s4 instanceof WsParam) {
|
|
1696
|
-
tmp = new Param(
|
|
1798
|
+
tmp = new Param(consume_12(_this__u8e3s4.identifier), consume_11(_this__u8e3s4.reference));
|
|
1697
1799
|
} else {
|
|
1698
1800
|
noWhenBranchMatchedException();
|
|
1699
1801
|
}
|
|
1700
1802
|
}
|
|
1701
1803
|
return tmp;
|
|
1702
1804
|
}
|
|
1703
|
-
function consume_7(_this__u8e3s4) {
|
|
1704
|
-
return new Field(consume_11(_this__u8e3s4.identifier), consume_10(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1705
|
-
}
|
|
1706
1805
|
function consume_8(_this__u8e3s4) {
|
|
1707
|
-
|
|
1708
|
-
return new Request(tmp0_safe_receiver == null ? null : consume_12(tmp0_safe_receiver));
|
|
1806
|
+
return new Field(consume_12(_this__u8e3s4.identifier), consume_11(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1709
1807
|
}
|
|
1710
1808
|
function consume_9(_this__u8e3s4) {
|
|
1809
|
+
var tmp25_safe_receiver = _this__u8e3s4.content;
|
|
1810
|
+
return new Request(tmp25_safe_receiver == null ? null : consume_13(tmp25_safe_receiver));
|
|
1811
|
+
}
|
|
1812
|
+
function consume_10(_this__u8e3s4) {
|
|
1711
1813
|
// Inline function 'kotlin.collections.map' call
|
|
1712
1814
|
var this_0 = _this__u8e3s4.headers;
|
|
1713
1815
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1718,26 +1820,26 @@
|
|
|
1718
1820
|
var item = this_0[inductionVariable];
|
|
1719
1821
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1720
1822
|
// Inline function 'community.flock.wirespec.compiler.lib.consume.<anonymous>' call
|
|
1721
|
-
var tmp$ret$0 =
|
|
1722
|
-
destination.
|
|
1823
|
+
var tmp$ret$0 = consume_8(item);
|
|
1824
|
+
destination.e(tmp$ret$0);
|
|
1723
1825
|
}
|
|
1724
1826
|
var tmp = destination;
|
|
1725
|
-
var
|
|
1726
|
-
return new Response(_this__u8e3s4.status, tmp,
|
|
1827
|
+
var tmp26_safe_receiver = _this__u8e3s4.content;
|
|
1828
|
+
return new Response(_this__u8e3s4.status, tmp, tmp26_safe_receiver == null ? null : consume_13(tmp26_safe_receiver));
|
|
1727
1829
|
}
|
|
1728
|
-
function
|
|
1830
|
+
function consume_11(_this__u8e3s4) {
|
|
1729
1831
|
var tmp;
|
|
1730
1832
|
if (_this__u8e3s4 instanceof WsAny) {
|
|
1731
|
-
tmp = new Any(_this__u8e3s4.
|
|
1833
|
+
tmp = new Any(_this__u8e3s4.o2f_1, _this__u8e3s4.p2f_1);
|
|
1732
1834
|
} else {
|
|
1733
1835
|
if (_this__u8e3s4 instanceof WsUnit) {
|
|
1734
|
-
tmp = new Unit(_this__u8e3s4.
|
|
1836
|
+
tmp = new Unit(_this__u8e3s4.q2f_1, _this__u8e3s4.r2f_1);
|
|
1735
1837
|
} else {
|
|
1736
1838
|
if (_this__u8e3s4 instanceof WsCustom) {
|
|
1737
|
-
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.
|
|
1839
|
+
tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.s2f_1, _this__u8e3s4.t2f_1);
|
|
1738
1840
|
} else {
|
|
1739
1841
|
if (_this__u8e3s4 instanceof WsPrimitive) {
|
|
1740
|
-
tmp = new Primitive(
|
|
1842
|
+
tmp = new Primitive(consume_14(_this__u8e3s4.type), _this__u8e3s4.u2f_1, _this__u8e3s4.v2f_1);
|
|
1741
1843
|
} else {
|
|
1742
1844
|
noWhenBranchMatchedException();
|
|
1743
1845
|
}
|
|
@@ -1746,15 +1848,15 @@
|
|
|
1746
1848
|
}
|
|
1747
1849
|
return tmp;
|
|
1748
1850
|
}
|
|
1749
|
-
function consume_11(_this__u8e3s4) {
|
|
1750
|
-
return Companion_instance.w28(_this__u8e3s4.value);
|
|
1751
|
-
}
|
|
1752
1851
|
function consume_12(_this__u8e3s4) {
|
|
1753
|
-
return
|
|
1852
|
+
return Companion_instance.q29(_this__u8e3s4.value);
|
|
1754
1853
|
}
|
|
1755
1854
|
function consume_13(_this__u8e3s4) {
|
|
1855
|
+
return new Content(_this__u8e3s4.type, consume_11(_this__u8e3s4.reference), _this__u8e3s4.isNullable);
|
|
1856
|
+
}
|
|
1857
|
+
function consume_14(_this__u8e3s4) {
|
|
1756
1858
|
var tmp;
|
|
1757
|
-
switch (_this__u8e3s4.
|
|
1859
|
+
switch (_this__u8e3s4.o2_1) {
|
|
1758
1860
|
case 0:
|
|
1759
1861
|
tmp = Type_String_getInstance();
|
|
1760
1862
|
break;
|
|
@@ -1834,11 +1936,11 @@
|
|
|
1834
1936
|
// Inline function 'kotlin.contracts.contract' call
|
|
1835
1937
|
// Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
|
|
1836
1938
|
var it = tokenize(WirespecSpec_getInstance(), source);
|
|
1837
|
-
return produce_14((new Parser(get_noLogger())).
|
|
1939
|
+
return produce_14((new Parser(get_noLogger())).c21(it));
|
|
1838
1940
|
};
|
|
1839
1941
|
function Companion() {
|
|
1840
1942
|
Companion_instance_0 = this;
|
|
1841
|
-
this.
|
|
1943
|
+
this.e2g_1 = new KotlinEmitter(VOID, get_noLogger());
|
|
1842
1944
|
}
|
|
1843
1945
|
var Companion_instance_0;
|
|
1844
1946
|
function Companion_getInstance() {
|
|
@@ -1851,11 +1953,11 @@
|
|
|
1851
1953
|
Compiler.call(this);
|
|
1852
1954
|
}
|
|
1853
1955
|
protoOf(WsToKotlin).compile = function (source) {
|
|
1854
|
-
return produce_15(this.preCompile(source)(Companion_getInstance().
|
|
1956
|
+
return produce_15(this.preCompile(source)(Companion_getInstance().e2g_1));
|
|
1855
1957
|
};
|
|
1856
1958
|
function Companion_0() {
|
|
1857
1959
|
Companion_instance_1 = this;
|
|
1858
|
-
this.
|
|
1960
|
+
this.f2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
1859
1961
|
}
|
|
1860
1962
|
var Companion_instance_1;
|
|
1861
1963
|
function Companion_getInstance_0() {
|
|
@@ -1868,11 +1970,11 @@
|
|
|
1868
1970
|
Compiler.call(this);
|
|
1869
1971
|
}
|
|
1870
1972
|
protoOf(WsToTypeScript).compile = function (source) {
|
|
1871
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_0().
|
|
1973
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_0().f2g_1));
|
|
1872
1974
|
};
|
|
1873
1975
|
function Companion_1() {
|
|
1874
1976
|
Companion_instance_2 = this;
|
|
1875
|
-
this.
|
|
1977
|
+
this.g2g_1 = new ScalaEmitter(VOID, get_noLogger());
|
|
1876
1978
|
}
|
|
1877
1979
|
var Companion_instance_2;
|
|
1878
1980
|
function Companion_getInstance_1() {
|
|
@@ -1885,11 +1987,11 @@
|
|
|
1885
1987
|
Compiler.call(this);
|
|
1886
1988
|
}
|
|
1887
1989
|
protoOf(WsToScala).compile = function (source) {
|
|
1888
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_1().
|
|
1990
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_1().g2g_1));
|
|
1889
1991
|
};
|
|
1890
1992
|
function Companion_2() {
|
|
1891
1993
|
Companion_instance_3 = this;
|
|
1892
|
-
this.
|
|
1994
|
+
this.h2g_1 = new JavaEmitter(VOID, get_noLogger());
|
|
1893
1995
|
}
|
|
1894
1996
|
var Companion_instance_3;
|
|
1895
1997
|
function Companion_getInstance_2() {
|
|
@@ -1902,11 +2004,11 @@
|
|
|
1902
2004
|
Compiler.call(this);
|
|
1903
2005
|
}
|
|
1904
2006
|
protoOf(WsToJava).compile = function (source) {
|
|
1905
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_2().
|
|
2007
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_2().h2g_1));
|
|
1906
2008
|
};
|
|
1907
2009
|
function Companion_3() {
|
|
1908
2010
|
Companion_instance_4 = this;
|
|
1909
|
-
this.
|
|
2011
|
+
this.i2g_1 = new WirespecEmitter(get_noLogger());
|
|
1910
2012
|
}
|
|
1911
2013
|
var Companion_instance_4;
|
|
1912
2014
|
function Companion_getInstance_3() {
|
|
@@ -1919,12 +2021,12 @@
|
|
|
1919
2021
|
Compiler.call(this);
|
|
1920
2022
|
}
|
|
1921
2023
|
protoOf(WsToWirespec).compile = function (source) {
|
|
1922
|
-
return produce_15(this.preCompile(source)(Companion_getInstance_3().
|
|
2024
|
+
return produce_15(this.preCompile(source)(Companion_getInstance_3().i2g_1));
|
|
1923
2025
|
};
|
|
1924
2026
|
function OpenApiV2Parser() {
|
|
1925
2027
|
}
|
|
1926
2028
|
protoOf(OpenApiV2Parser).parse = function (source) {
|
|
1927
|
-
return produce(OpenApiV2Parser_instance.
|
|
2029
|
+
return produce(OpenApiV2Parser_instance.n2d(source));
|
|
1928
2030
|
};
|
|
1929
2031
|
var OpenApiV2Parser_instance_0;
|
|
1930
2032
|
function OpenApiV2Parser_getInstance() {
|
|
@@ -1932,23 +2034,23 @@
|
|
|
1932
2034
|
}
|
|
1933
2035
|
function OpenApiV2ToTypescript() {
|
|
1934
2036
|
OpenApiV2ToTypescript_instance = this;
|
|
1935
|
-
this.
|
|
2037
|
+
this.j2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
1936
2038
|
}
|
|
1937
2039
|
protoOf(OpenApiV2ToTypescript).compile = function (source) {
|
|
1938
|
-
var ast = OpenApiV2Parser_instance.
|
|
2040
|
+
var ast = OpenApiV2Parser_instance.n2d(source);
|
|
1939
2041
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1940
2042
|
// Inline function 'kotlin.collections.map' call
|
|
1941
|
-
var this_0 = this.
|
|
2043
|
+
var this_0 = this.j2g_1.w20(ast);
|
|
1942
2044
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1943
2045
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1944
|
-
var tmp0_iterator = this_0.
|
|
1945
|
-
while (tmp0_iterator.
|
|
1946
|
-
var item = tmp0_iterator.
|
|
2046
|
+
var tmp0_iterator = this_0.g();
|
|
2047
|
+
while (tmp0_iterator.h()) {
|
|
2048
|
+
var item = tmp0_iterator.i();
|
|
1947
2049
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToTypescript.compile.<anonymous>' call
|
|
1948
|
-
var file = item.
|
|
1949
|
-
var value = item.
|
|
2050
|
+
var file = item.nd();
|
|
2051
|
+
var value = item.od();
|
|
1950
2052
|
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
1951
|
-
destination.
|
|
2053
|
+
destination.e(tmp$ret$0);
|
|
1952
2054
|
}
|
|
1953
2055
|
return copyToArray(destination);
|
|
1954
2056
|
};
|
|
@@ -1960,23 +2062,23 @@
|
|
|
1960
2062
|
}
|
|
1961
2063
|
function OpenApiV2ToWirespec() {
|
|
1962
2064
|
OpenApiV2ToWirespec_instance = this;
|
|
1963
|
-
this.
|
|
2065
|
+
this.k2g_1 = new WirespecEmitter(get_noLogger());
|
|
1964
2066
|
}
|
|
1965
2067
|
protoOf(OpenApiV2ToWirespec).compile = function (source) {
|
|
1966
|
-
var ast = OpenApiV2Parser_instance.
|
|
2068
|
+
var ast = OpenApiV2Parser_instance.n2d(source);
|
|
1967
2069
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1968
2070
|
// Inline function 'kotlin.collections.map' call
|
|
1969
|
-
var this_0 = this.
|
|
2071
|
+
var this_0 = this.k2g_1.w20(ast);
|
|
1970
2072
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1971
2073
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1972
|
-
var tmp0_iterator = this_0.
|
|
1973
|
-
while (tmp0_iterator.
|
|
1974
|
-
var item = tmp0_iterator.
|
|
2074
|
+
var tmp0_iterator = this_0.g();
|
|
2075
|
+
while (tmp0_iterator.h()) {
|
|
2076
|
+
var item = tmp0_iterator.i();
|
|
1975
2077
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV2ToWirespec.compile.<anonymous>' call
|
|
1976
|
-
var file = item.
|
|
1977
|
-
var value = item.
|
|
2078
|
+
var file = item.nd();
|
|
2079
|
+
var value = item.od();
|
|
1978
2080
|
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
1979
|
-
destination.
|
|
2081
|
+
destination.e(tmp$ret$0);
|
|
1980
2082
|
}
|
|
1981
2083
|
return copyToArray(destination);
|
|
1982
2084
|
};
|
|
@@ -1989,7 +2091,7 @@
|
|
|
1989
2091
|
function OpenApiV3Parser() {
|
|
1990
2092
|
}
|
|
1991
2093
|
protoOf(OpenApiV3Parser).parse = function (source) {
|
|
1992
|
-
return produce(OpenApiV3Parser_instance.
|
|
2094
|
+
return produce(OpenApiV3Parser_instance.d2e(source));
|
|
1993
2095
|
};
|
|
1994
2096
|
var OpenApiV3Parser_instance_0;
|
|
1995
2097
|
function OpenApiV3Parser_getInstance() {
|
|
@@ -1997,23 +2099,23 @@
|
|
|
1997
2099
|
}
|
|
1998
2100
|
function OpenApiV3ToTypescript() {
|
|
1999
2101
|
OpenApiV3ToTypescript_instance = this;
|
|
2000
|
-
this.
|
|
2102
|
+
this.l2g_1 = new TypeScriptEmitter(get_noLogger());
|
|
2001
2103
|
}
|
|
2002
2104
|
protoOf(OpenApiV3ToTypescript).compile = function (source) {
|
|
2003
|
-
var ast = OpenApiV3Parser_instance.
|
|
2105
|
+
var ast = OpenApiV3Parser_instance.d2e(source);
|
|
2004
2106
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2005
2107
|
// Inline function 'kotlin.collections.map' call
|
|
2006
|
-
var this_0 = this.
|
|
2108
|
+
var this_0 = this.l2g_1.w20(ast);
|
|
2007
2109
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2008
2110
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2009
|
-
var tmp0_iterator = this_0.
|
|
2010
|
-
while (tmp0_iterator.
|
|
2011
|
-
var item = tmp0_iterator.
|
|
2111
|
+
var tmp0_iterator = this_0.g();
|
|
2112
|
+
while (tmp0_iterator.h()) {
|
|
2113
|
+
var item = tmp0_iterator.i();
|
|
2012
2114
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToTypescript.compile.<anonymous>' call
|
|
2013
|
-
var file = item.
|
|
2014
|
-
var value = item.
|
|
2115
|
+
var file = item.nd();
|
|
2116
|
+
var value = item.od();
|
|
2015
2117
|
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2016
|
-
destination.
|
|
2118
|
+
destination.e(tmp$ret$0);
|
|
2017
2119
|
}
|
|
2018
2120
|
return copyToArray(destination);
|
|
2019
2121
|
};
|
|
@@ -2025,23 +2127,23 @@
|
|
|
2025
2127
|
}
|
|
2026
2128
|
function OpenApiV3ToWirespec() {
|
|
2027
2129
|
OpenApiV3ToWirespec_instance = this;
|
|
2028
|
-
this.
|
|
2130
|
+
this.m2g_1 = new WirespecEmitter(get_noLogger());
|
|
2029
2131
|
}
|
|
2030
2132
|
protoOf(OpenApiV3ToWirespec).compile = function (source) {
|
|
2031
|
-
var ast = OpenApiV3Parser_instance.
|
|
2133
|
+
var ast = OpenApiV3Parser_instance.d2e(source);
|
|
2032
2134
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2033
2135
|
// Inline function 'kotlin.collections.map' call
|
|
2034
|
-
var this_0 = this.
|
|
2136
|
+
var this_0 = this.m2g_1.w20(ast);
|
|
2035
2137
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2036
2138
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2037
|
-
var tmp0_iterator = this_0.
|
|
2038
|
-
while (tmp0_iterator.
|
|
2039
|
-
var item = tmp0_iterator.
|
|
2139
|
+
var tmp0_iterator = this_0.g();
|
|
2140
|
+
while (tmp0_iterator.h()) {
|
|
2141
|
+
var item = tmp0_iterator.i();
|
|
2040
2142
|
// Inline function 'community.flock.wirespec.compiler.lib.OpenApiV3ToWirespec.compile.<anonymous>' call
|
|
2041
|
-
var file = item.
|
|
2042
|
-
var value = item.
|
|
2143
|
+
var file = item.nd();
|
|
2144
|
+
var value = item.od();
|
|
2043
2145
|
var tmp$ret$0 = new WsCompiledFile(file, value);
|
|
2044
|
-
destination.
|
|
2146
|
+
destination.e(tmp$ret$0);
|
|
2045
2147
|
}
|
|
2046
2148
|
return copyToArray(destination);
|
|
2047
2149
|
};
|
|
@@ -2064,26 +2166,26 @@
|
|
|
2064
2166
|
this.result = result;
|
|
2065
2167
|
this.errors = errors;
|
|
2066
2168
|
}
|
|
2067
|
-
protoOf(WsCompilationResult).
|
|
2169
|
+
protoOf(WsCompilationResult).n2g = function () {
|
|
2068
2170
|
return this.result;
|
|
2069
2171
|
};
|
|
2070
|
-
protoOf(WsCompilationResult).
|
|
2172
|
+
protoOf(WsCompilationResult).o2g = function () {
|
|
2071
2173
|
return this.errors;
|
|
2072
2174
|
};
|
|
2073
2175
|
function WsCompiled(value) {
|
|
2074
2176
|
this.value = value;
|
|
2075
2177
|
}
|
|
2076
|
-
protoOf(WsCompiled).
|
|
2178
|
+
protoOf(WsCompiled).b1 = function () {
|
|
2077
2179
|
return this.value;
|
|
2078
2180
|
};
|
|
2079
2181
|
function WsCompiledFile(name, value) {
|
|
2080
2182
|
this.name = name;
|
|
2081
2183
|
this.value = value;
|
|
2082
2184
|
}
|
|
2083
|
-
protoOf(WsCompiledFile).
|
|
2185
|
+
protoOf(WsCompiledFile).p2 = function () {
|
|
2084
2186
|
return this.name;
|
|
2085
2187
|
};
|
|
2086
|
-
protoOf(WsCompiledFile).
|
|
2188
|
+
protoOf(WsCompiledFile).b1 = function () {
|
|
2087
2189
|
return this.value;
|
|
2088
2190
|
};
|
|
2089
2191
|
function WsParseResult(result, errors) {
|
|
@@ -2092,10 +2194,10 @@
|
|
|
2092
2194
|
this.result = result;
|
|
2093
2195
|
this.errors = errors;
|
|
2094
2196
|
}
|
|
2095
|
-
protoOf(WsParseResult).
|
|
2197
|
+
protoOf(WsParseResult).n2g = function () {
|
|
2096
2198
|
return this.result;
|
|
2097
2199
|
};
|
|
2098
|
-
protoOf(WsParseResult).
|
|
2200
|
+
protoOf(WsParseResult).o2g = function () {
|
|
2099
2201
|
return this.errors;
|
|
2100
2202
|
};
|
|
2101
2203
|
function WsStringResult(result, errors) {
|
|
@@ -2104,20 +2206,20 @@
|
|
|
2104
2206
|
this.result = result;
|
|
2105
2207
|
this.errors = errors;
|
|
2106
2208
|
}
|
|
2107
|
-
protoOf(WsStringResult).
|
|
2209
|
+
protoOf(WsStringResult).n2g = function () {
|
|
2108
2210
|
return this.result;
|
|
2109
2211
|
};
|
|
2110
|
-
protoOf(WsStringResult).
|
|
2212
|
+
protoOf(WsStringResult).o2g = function () {
|
|
2111
2213
|
return this.errors;
|
|
2112
2214
|
};
|
|
2113
2215
|
function WsEmitted(typeName, result) {
|
|
2114
2216
|
this.typeName = typeName;
|
|
2115
2217
|
this.result = result;
|
|
2116
2218
|
}
|
|
2117
|
-
protoOf(WsEmitted).
|
|
2219
|
+
protoOf(WsEmitted).p2g = function () {
|
|
2118
2220
|
return this.typeName;
|
|
2119
2221
|
};
|
|
2120
|
-
protoOf(WsEmitted).
|
|
2222
|
+
protoOf(WsEmitted).n2g = function () {
|
|
2121
2223
|
return this.result;
|
|
2122
2224
|
};
|
|
2123
2225
|
function produce_14(_this__u8e3s4) {
|
|
@@ -2125,20 +2227,20 @@
|
|
|
2125
2227
|
if (_this__u8e3s4 instanceof Left) {
|
|
2126
2228
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2127
2229
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2128
|
-
var this_0 = _this__u8e3s4.
|
|
2230
|
+
var this_0 = _this__u8e3s4.lj_1;
|
|
2129
2231
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2130
|
-
var it = this_0.
|
|
2232
|
+
var it = this_0.vj_1;
|
|
2131
2233
|
var tmp_0 = produce_22(it);
|
|
2132
2234
|
// Inline function 'kotlin.collections.map' call
|
|
2133
|
-
var this_1 = this_0.
|
|
2235
|
+
var this_1 = this_0.wj_1;
|
|
2134
2236
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2135
2237
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2136
|
-
var tmp0_iterator = this_1.
|
|
2137
|
-
while (tmp0_iterator.
|
|
2138
|
-
var item = tmp0_iterator.
|
|
2238
|
+
var tmp0_iterator = this_1.g();
|
|
2239
|
+
while (tmp0_iterator.h()) {
|
|
2240
|
+
var item = tmp0_iterator.i();
|
|
2139
2241
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2140
2242
|
var tmp$ret$1 = produce_22(item);
|
|
2141
|
-
destination.
|
|
2243
|
+
destination.e(tmp$ret$1);
|
|
2142
2244
|
}
|
|
2143
2245
|
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2144
2246
|
var tmp$ret$5 = copyToArray(this_2);
|
|
@@ -2147,15 +2249,15 @@
|
|
|
2147
2249
|
if (_this__u8e3s4 instanceof Right) {
|
|
2148
2250
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2149
2251
|
// Inline function 'kotlin.collections.map' call
|
|
2150
|
-
var this_3 = _this__u8e3s4.
|
|
2252
|
+
var this_3 = _this__u8e3s4.rj_1;
|
|
2151
2253
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2152
2254
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2153
|
-
var tmp0_iterator_0 = this_3.
|
|
2154
|
-
while (tmp0_iterator_0.
|
|
2155
|
-
var item_0 = tmp0_iterator_0.
|
|
2255
|
+
var tmp0_iterator_0 = this_3.g();
|
|
2256
|
+
while (tmp0_iterator_0.h()) {
|
|
2257
|
+
var item_0 = tmp0_iterator_0.i();
|
|
2156
2258
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2157
2259
|
var tmp$ret$6 = produce_0(item_0);
|
|
2158
|
-
destination_0.
|
|
2260
|
+
destination_0.e(tmp$ret$6);
|
|
2159
2261
|
}
|
|
2160
2262
|
var tmp$ret$9 = copyToArray(destination_0);
|
|
2161
2263
|
tmp = new WsParseResult(tmp$ret$9);
|
|
@@ -2170,20 +2272,20 @@
|
|
|
2170
2272
|
if (_this__u8e3s4 instanceof Left) {
|
|
2171
2273
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2172
2274
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2173
|
-
var this_0 = _this__u8e3s4.
|
|
2275
|
+
var this_0 = _this__u8e3s4.lj_1;
|
|
2174
2276
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2175
|
-
var it = this_0.
|
|
2277
|
+
var it = this_0.vj_1;
|
|
2176
2278
|
var tmp_0 = produce_22(it);
|
|
2177
2279
|
// Inline function 'kotlin.collections.map' call
|
|
2178
|
-
var this_1 = this_0.
|
|
2280
|
+
var this_1 = this_0.wj_1;
|
|
2179
2281
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2180
2282
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2181
|
-
var tmp0_iterator = this_1.
|
|
2182
|
-
while (tmp0_iterator.
|
|
2183
|
-
var item = tmp0_iterator.
|
|
2283
|
+
var tmp0_iterator = this_1.g();
|
|
2284
|
+
while (tmp0_iterator.h()) {
|
|
2285
|
+
var item = tmp0_iterator.i();
|
|
2184
2286
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2185
2287
|
var tmp$ret$1 = produce_22(item);
|
|
2186
|
-
destination.
|
|
2288
|
+
destination.e(tmp$ret$1);
|
|
2187
2289
|
}
|
|
2188
2290
|
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2189
2291
|
var tmp$ret$5 = copyToArray(this_2);
|
|
@@ -2192,15 +2294,15 @@
|
|
|
2192
2294
|
if (_this__u8e3s4 instanceof Right) {
|
|
2193
2295
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2194
2296
|
// Inline function 'kotlin.collections.map' call
|
|
2195
|
-
var this_3 = _this__u8e3s4.
|
|
2297
|
+
var this_3 = _this__u8e3s4.rj_1;
|
|
2196
2298
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2197
2299
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
2198
|
-
var tmp0_iterator_0 = this_3.
|
|
2199
|
-
while (tmp0_iterator_0.
|
|
2200
|
-
var item_0 = tmp0_iterator_0.
|
|
2300
|
+
var tmp0_iterator_0 = this_3.g();
|
|
2301
|
+
while (tmp0_iterator_0.h()) {
|
|
2302
|
+
var item_0 = tmp0_iterator_0.i();
|
|
2201
2303
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2202
2304
|
var tmp$ret$6 = produce_16(item_0);
|
|
2203
|
-
destination_0.
|
|
2305
|
+
destination_0.e(tmp$ret$6);
|
|
2204
2306
|
}
|
|
2205
2307
|
var tmp$ret$9 = copyToArray(destination_0);
|
|
2206
2308
|
tmp = new WsCompilationResult(new WsCompiled(tmp$ret$9));
|
|
@@ -2211,34 +2313,34 @@
|
|
|
2211
2313
|
return tmp;
|
|
2212
2314
|
}
|
|
2213
2315
|
function produce_16(_this__u8e3s4) {
|
|
2214
|
-
return new WsEmitted(_this__u8e3s4.
|
|
2316
|
+
return new WsEmitted(_this__u8e3s4.i23_1, _this__u8e3s4.j23_1);
|
|
2215
2317
|
}
|
|
2216
2318
|
function produce_17(_this__u8e3s4) {
|
|
2217
2319
|
var tmp;
|
|
2218
2320
|
if (_this__u8e3s4 instanceof Left) {
|
|
2219
2321
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2220
2322
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
2221
|
-
var this_0 = _this__u8e3s4.
|
|
2323
|
+
var this_0 = _this__u8e3s4.lj_1;
|
|
2222
2324
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2223
|
-
var it = this_0.
|
|
2325
|
+
var it = this_0.vj_1;
|
|
2224
2326
|
var tmp_0 = produce_22(it);
|
|
2225
2327
|
// Inline function 'kotlin.collections.map' call
|
|
2226
|
-
var this_1 = this_0.
|
|
2328
|
+
var this_1 = this_0.wj_1;
|
|
2227
2329
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2228
2330
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2229
|
-
var tmp0_iterator = this_1.
|
|
2230
|
-
while (tmp0_iterator.
|
|
2231
|
-
var item = tmp0_iterator.
|
|
2331
|
+
var tmp0_iterator = this_1.g();
|
|
2332
|
+
while (tmp0_iterator.h()) {
|
|
2333
|
+
var item = tmp0_iterator.i();
|
|
2232
2334
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2233
2335
|
var tmp$ret$1 = produce_22(item);
|
|
2234
|
-
destination.
|
|
2336
|
+
destination.e(tmp$ret$1);
|
|
2235
2337
|
}
|
|
2236
2338
|
var this_2 = new NonEmptyList(tmp_0, destination);
|
|
2237
2339
|
var tmp$ret$5 = copyToArray(this_2);
|
|
2238
2340
|
tmp = new WsStringResult(VOID, tmp$ret$5);
|
|
2239
2341
|
} else {
|
|
2240
2342
|
if (_this__u8e3s4 instanceof Right) {
|
|
2241
|
-
tmp = new WsStringResult(_this__u8e3s4.
|
|
2343
|
+
tmp = new WsStringResult(_this__u8e3s4.rj_1);
|
|
2242
2344
|
} else {
|
|
2243
2345
|
noWhenBranchMatchedException();
|
|
2244
2346
|
}
|
|
@@ -2251,28 +2353,28 @@
|
|
|
2251
2353
|
this.tokens = tokens;
|
|
2252
2354
|
this.error = error;
|
|
2253
2355
|
}
|
|
2254
|
-
protoOf(WsTokenResult).
|
|
2356
|
+
protoOf(WsTokenResult).q2g = function () {
|
|
2255
2357
|
return this.tokens;
|
|
2256
2358
|
};
|
|
2257
|
-
protoOf(WsTokenResult).
|
|
2359
|
+
protoOf(WsTokenResult).r2g = function () {
|
|
2258
2360
|
return this.error;
|
|
2259
2361
|
};
|
|
2260
|
-
protoOf(WsTokenResult).
|
|
2362
|
+
protoOf(WsTokenResult).nd = function () {
|
|
2261
2363
|
return this.tokens;
|
|
2262
2364
|
};
|
|
2263
|
-
protoOf(WsTokenResult).
|
|
2365
|
+
protoOf(WsTokenResult).od = function () {
|
|
2264
2366
|
return this.error;
|
|
2265
2367
|
};
|
|
2266
|
-
protoOf(WsTokenResult).
|
|
2368
|
+
protoOf(WsTokenResult).s2g = function (tokens, error) {
|
|
2267
2369
|
return new WsTokenResult(tokens, error);
|
|
2268
2370
|
};
|
|
2269
2371
|
protoOf(WsTokenResult).copy = function (tokens, error, $super) {
|
|
2270
2372
|
tokens = tokens === VOID ? this.tokens : tokens;
|
|
2271
2373
|
error = error === VOID ? this.error : error;
|
|
2272
|
-
return this.
|
|
2374
|
+
return this.s2g(tokens, error);
|
|
2273
2375
|
};
|
|
2274
2376
|
protoOf(WsTokenResult).toString = function () {
|
|
2275
|
-
return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
|
|
2377
|
+
return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
|
|
2276
2378
|
};
|
|
2277
2379
|
protoOf(WsTokenResult).hashCode = function () {
|
|
2278
2380
|
var result = this.tokens == null ? 0 : this.tokens.hashCode();
|
|
@@ -2294,13 +2396,13 @@
|
|
|
2294
2396
|
function WsTokens(value) {
|
|
2295
2397
|
this.value = value;
|
|
2296
2398
|
}
|
|
2297
|
-
protoOf(WsTokens).
|
|
2399
|
+
protoOf(WsTokens).b1 = function () {
|
|
2298
2400
|
return this.value;
|
|
2299
2401
|
};
|
|
2300
2402
|
protoOf(WsTokens).equals = function (other) {
|
|
2301
2403
|
if (this === other)
|
|
2302
2404
|
return true;
|
|
2303
|
-
if (other == null
|
|
2405
|
+
if (other == null || !(this.constructor == other.constructor))
|
|
2304
2406
|
return false;
|
|
2305
2407
|
if (!(other instanceof WsTokens))
|
|
2306
2408
|
THROW_CCE();
|
|
@@ -2311,15 +2413,15 @@
|
|
|
2311
2413
|
protoOf(WsTokens).hashCode = function () {
|
|
2312
2414
|
return contentHashCode(this.value);
|
|
2313
2415
|
};
|
|
2314
|
-
protoOf(WsTokens).
|
|
2416
|
+
protoOf(WsTokens).nd = function () {
|
|
2315
2417
|
return this.value;
|
|
2316
2418
|
};
|
|
2317
|
-
protoOf(WsTokens).
|
|
2419
|
+
protoOf(WsTokens).t2g = function (value) {
|
|
2318
2420
|
return new WsTokens(value);
|
|
2319
2421
|
};
|
|
2320
2422
|
protoOf(WsTokens).copy = function (value, $super) {
|
|
2321
2423
|
value = value === VOID ? this.value : value;
|
|
2322
|
-
return this.
|
|
2424
|
+
return this.t2g(value);
|
|
2323
2425
|
};
|
|
2324
2426
|
protoOf(WsTokens).toString = function () {
|
|
2325
2427
|
return 'WsTokens(value=' + toString(this.value) + ')';
|
|
@@ -2330,35 +2432,35 @@
|
|
|
2330
2432
|
this.value = value;
|
|
2331
2433
|
this.coordinates = coordinates;
|
|
2332
2434
|
}
|
|
2333
|
-
protoOf(WsToken).
|
|
2435
|
+
protoOf(WsToken).w2f = function () {
|
|
2334
2436
|
return this.type;
|
|
2335
2437
|
};
|
|
2336
|
-
protoOf(WsToken).
|
|
2438
|
+
protoOf(WsToken).b1 = function () {
|
|
2337
2439
|
return this.value;
|
|
2338
2440
|
};
|
|
2339
|
-
protoOf(WsToken).
|
|
2441
|
+
protoOf(WsToken).u2g = function () {
|
|
2340
2442
|
return this.coordinates;
|
|
2341
2443
|
};
|
|
2342
|
-
protoOf(WsToken).
|
|
2444
|
+
protoOf(WsToken).nd = function () {
|
|
2343
2445
|
return this.type;
|
|
2344
2446
|
};
|
|
2345
|
-
protoOf(WsToken).
|
|
2447
|
+
protoOf(WsToken).od = function () {
|
|
2346
2448
|
return this.value;
|
|
2347
2449
|
};
|
|
2348
|
-
protoOf(WsToken).
|
|
2450
|
+
protoOf(WsToken).hh = function () {
|
|
2349
2451
|
return this.coordinates;
|
|
2350
2452
|
};
|
|
2351
|
-
protoOf(WsToken).
|
|
2453
|
+
protoOf(WsToken).v2g = function (type, value, coordinates) {
|
|
2352
2454
|
return new WsToken(type, value, coordinates);
|
|
2353
2455
|
};
|
|
2354
2456
|
protoOf(WsToken).copy = function (type, value, coordinates, $super) {
|
|
2355
2457
|
type = type === VOID ? this.type : type;
|
|
2356
2458
|
value = value === VOID ? this.value : value;
|
|
2357
2459
|
coordinates = coordinates === VOID ? this.coordinates : coordinates;
|
|
2358
|
-
return this.
|
|
2460
|
+
return this.v2g(type, value, coordinates);
|
|
2359
2461
|
};
|
|
2360
2462
|
protoOf(WsToken).toString = function () {
|
|
2361
|
-
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
|
|
2463
|
+
return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
|
|
2362
2464
|
};
|
|
2363
2465
|
protoOf(WsToken).hashCode = function () {
|
|
2364
2466
|
var result = getStringHashCode(this.type);
|
|
@@ -2388,35 +2490,35 @@
|
|
|
2388
2490
|
this.position = position;
|
|
2389
2491
|
this.idxAndLength = idxAndLength;
|
|
2390
2492
|
}
|
|
2391
|
-
protoOf(WsCoordinates).
|
|
2493
|
+
protoOf(WsCoordinates).w2g = function () {
|
|
2392
2494
|
return this.line;
|
|
2393
2495
|
};
|
|
2394
|
-
protoOf(WsCoordinates).
|
|
2496
|
+
protoOf(WsCoordinates).x2g = function () {
|
|
2395
2497
|
return this.position;
|
|
2396
2498
|
};
|
|
2397
|
-
protoOf(WsCoordinates).
|
|
2499
|
+
protoOf(WsCoordinates).y2g = function () {
|
|
2398
2500
|
return this.idxAndLength;
|
|
2399
2501
|
};
|
|
2400
|
-
protoOf(WsCoordinates).
|
|
2502
|
+
protoOf(WsCoordinates).nd = function () {
|
|
2401
2503
|
return this.line;
|
|
2402
2504
|
};
|
|
2403
|
-
protoOf(WsCoordinates).
|
|
2505
|
+
protoOf(WsCoordinates).od = function () {
|
|
2404
2506
|
return this.position;
|
|
2405
2507
|
};
|
|
2406
|
-
protoOf(WsCoordinates).
|
|
2508
|
+
protoOf(WsCoordinates).hh = function () {
|
|
2407
2509
|
return this.idxAndLength;
|
|
2408
2510
|
};
|
|
2409
|
-
protoOf(WsCoordinates).
|
|
2511
|
+
protoOf(WsCoordinates).z2g = function (line, position, idxAndLength) {
|
|
2410
2512
|
return new WsCoordinates(line, position, idxAndLength);
|
|
2411
2513
|
};
|
|
2412
2514
|
protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
|
|
2413
2515
|
line = line === VOID ? this.line : line;
|
|
2414
2516
|
position = position === VOID ? this.position : position;
|
|
2415
2517
|
idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
|
|
2416
|
-
return this.
|
|
2518
|
+
return this.z2g(line, position, idxAndLength);
|
|
2417
2519
|
};
|
|
2418
2520
|
protoOf(WsCoordinates).toString = function () {
|
|
2419
|
-
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
|
|
2521
|
+
return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
|
|
2420
2522
|
};
|
|
2421
2523
|
protoOf(WsCoordinates).hashCode = function () {
|
|
2422
2524
|
var result = this.line;
|
|
@@ -2444,25 +2546,25 @@
|
|
|
2444
2546
|
this.idx = idx;
|
|
2445
2547
|
this.length = length;
|
|
2446
2548
|
}
|
|
2447
|
-
protoOf(WsIndex).
|
|
2549
|
+
protoOf(WsIndex).a2h = function () {
|
|
2448
2550
|
return this.idx;
|
|
2449
2551
|
};
|
|
2450
2552
|
protoOf(WsIndex).a = function () {
|
|
2451
2553
|
return this.length;
|
|
2452
2554
|
};
|
|
2453
|
-
protoOf(WsIndex).
|
|
2555
|
+
protoOf(WsIndex).nd = function () {
|
|
2454
2556
|
return this.idx;
|
|
2455
2557
|
};
|
|
2456
|
-
protoOf(WsIndex).
|
|
2558
|
+
protoOf(WsIndex).od = function () {
|
|
2457
2559
|
return this.length;
|
|
2458
2560
|
};
|
|
2459
|
-
protoOf(WsIndex).
|
|
2561
|
+
protoOf(WsIndex).b2h = function (idx, length) {
|
|
2460
2562
|
return new WsIndex(idx, length);
|
|
2461
2563
|
};
|
|
2462
2564
|
protoOf(WsIndex).copy = function (idx, length, $super) {
|
|
2463
2565
|
idx = idx === VOID ? this.idx : idx;
|
|
2464
2566
|
length = length === VOID ? this.length : length;
|
|
2465
|
-
return this.
|
|
2567
|
+
return this.b2h(idx, length);
|
|
2466
2568
|
};
|
|
2467
2569
|
protoOf(WsIndex).toString = function () {
|
|
2468
2570
|
return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
|
|
@@ -2489,56 +2591,56 @@
|
|
|
2489
2591
|
// Inline function 'kotlin.collections.map' call
|
|
2490
2592
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2491
2593
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
2492
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
2493
|
-
while (tmp0_iterator.
|
|
2494
|
-
var item = tmp0_iterator.
|
|
2594
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
2595
|
+
while (tmp0_iterator.h()) {
|
|
2596
|
+
var item = tmp0_iterator.i();
|
|
2495
2597
|
// Inline function 'community.flock.wirespec.compiler.lib.produce.<anonymous>' call
|
|
2496
2598
|
var tmp$ret$0 = produce_19(item);
|
|
2497
|
-
destination.
|
|
2599
|
+
destination.e(tmp$ret$0);
|
|
2498
2600
|
}
|
|
2499
2601
|
var tmp$ret$3 = copyToArray(destination);
|
|
2500
2602
|
return new WsTokenResult(new WsTokens(tmp$ret$3));
|
|
2501
2603
|
}
|
|
2502
2604
|
function produce_19(_this__u8e3s4) {
|
|
2503
|
-
return new WsToken(_this__u8e3s4.
|
|
2605
|
+
return new WsToken(_this__u8e3s4.f2a_1.h2a(), _this__u8e3s4.e2a_1, produce_20(_this__u8e3s4.g2a_1));
|
|
2504
2606
|
}
|
|
2505
2607
|
function produce_20(_this__u8e3s4) {
|
|
2506
|
-
return new WsCoordinates(_this__u8e3s4.
|
|
2608
|
+
return new WsCoordinates(_this__u8e3s4.i2a_1, _this__u8e3s4.j2a_1, produce_21(_this__u8e3s4.k2a_1));
|
|
2507
2609
|
}
|
|
2508
2610
|
function produce_21(_this__u8e3s4) {
|
|
2509
|
-
return new WsIndex(_this__u8e3s4.
|
|
2611
|
+
return new WsIndex(_this__u8e3s4.t2b_1, _this__u8e3s4.u2b_1);
|
|
2510
2612
|
}
|
|
2511
2613
|
function WsError(index, length, value) {
|
|
2512
2614
|
this.index = index;
|
|
2513
2615
|
this.length = length;
|
|
2514
2616
|
this.value = value;
|
|
2515
2617
|
}
|
|
2516
|
-
protoOf(WsError).
|
|
2618
|
+
protoOf(WsError).c2h = function () {
|
|
2517
2619
|
return this.index;
|
|
2518
2620
|
};
|
|
2519
2621
|
protoOf(WsError).a = function () {
|
|
2520
2622
|
return this.length;
|
|
2521
2623
|
};
|
|
2522
|
-
protoOf(WsError).
|
|
2624
|
+
protoOf(WsError).b1 = function () {
|
|
2523
2625
|
return this.value;
|
|
2524
2626
|
};
|
|
2525
|
-
protoOf(WsError).
|
|
2627
|
+
protoOf(WsError).nd = function () {
|
|
2526
2628
|
return this.index;
|
|
2527
2629
|
};
|
|
2528
|
-
protoOf(WsError).
|
|
2630
|
+
protoOf(WsError).od = function () {
|
|
2529
2631
|
return this.length;
|
|
2530
2632
|
};
|
|
2531
|
-
protoOf(WsError).
|
|
2633
|
+
protoOf(WsError).hh = function () {
|
|
2532
2634
|
return this.value;
|
|
2533
2635
|
};
|
|
2534
|
-
protoOf(WsError).
|
|
2636
|
+
protoOf(WsError).d2h = function (index, length, value) {
|
|
2535
2637
|
return new WsError(index, length, value);
|
|
2536
2638
|
};
|
|
2537
2639
|
protoOf(WsError).copy = function (index, length, value, $super) {
|
|
2538
2640
|
index = index === VOID ? this.index : index;
|
|
2539
2641
|
length = length === VOID ? this.length : length;
|
|
2540
2642
|
value = value === VOID ? this.value : value;
|
|
2541
|
-
return this.
|
|
2643
|
+
return this.d2h(index, length, value);
|
|
2542
2644
|
};
|
|
2543
2645
|
protoOf(WsError).toString = function () {
|
|
2544
2646
|
return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
|
|
@@ -2564,54 +2666,57 @@
|
|
|
2564
2666
|
return true;
|
|
2565
2667
|
};
|
|
2566
2668
|
function produce_22(_this__u8e3s4) {
|
|
2567
|
-
var tmp = _this__u8e3s4.
|
|
2669
|
+
var tmp = _this__u8e3s4.l2a_1.k2a_1.t2b_1 - _this__u8e3s4.l2a_1.k2a_1.u2b_1 | 0;
|
|
2568
2670
|
var tmp0_elvis_lhs = _this__u8e3s4.message;
|
|
2569
|
-
return new WsError(tmp, _this__u8e3s4.
|
|
2671
|
+
return new WsError(tmp, _this__u8e3s4.l2a_1.k2a_1.u2b_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
|
|
2570
2672
|
}
|
|
2571
2673
|
//region block: post-declaration
|
|
2572
2674
|
defineProp(protoOf(WsType), 'identifier', function () {
|
|
2573
|
-
return this.
|
|
2675
|
+
return this.h2b();
|
|
2574
2676
|
});
|
|
2575
2677
|
defineProp(protoOf(WsEndpoint), 'identifier', function () {
|
|
2576
|
-
return this.
|
|
2678
|
+
return this.h2b();
|
|
2577
2679
|
});
|
|
2578
2680
|
defineProp(protoOf(WsEnum), 'identifier', function () {
|
|
2579
|
-
return this.
|
|
2681
|
+
return this.h2b();
|
|
2580
2682
|
});
|
|
2581
2683
|
defineProp(protoOf(WsUnion), 'identifier', function () {
|
|
2582
|
-
return this.
|
|
2684
|
+
return this.h2b();
|
|
2685
|
+
});
|
|
2686
|
+
defineProp(protoOf(WsChannel), 'identifier', function () {
|
|
2687
|
+
return this.h2b();
|
|
2583
2688
|
});
|
|
2584
2689
|
defineProp(protoOf(WsRefined), 'identifier', function () {
|
|
2585
|
-
return this.
|
|
2690
|
+
return this.h2b();
|
|
2586
2691
|
});
|
|
2587
|
-
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).
|
|
2588
|
-
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).
|
|
2692
|
+
defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).p2);
|
|
2693
|
+
defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).q2);
|
|
2589
2694
|
defineProp(protoOf(WsAny), 'isIterable', function () {
|
|
2590
|
-
return this.
|
|
2695
|
+
return this.o21();
|
|
2591
2696
|
});
|
|
2592
2697
|
defineProp(protoOf(WsAny), 'isMap', function () {
|
|
2593
|
-
return this.
|
|
2698
|
+
return this.n2f();
|
|
2594
2699
|
});
|
|
2595
2700
|
defineProp(protoOf(WsUnit), 'isIterable', function () {
|
|
2596
|
-
return this.
|
|
2701
|
+
return this.o21();
|
|
2597
2702
|
});
|
|
2598
2703
|
defineProp(protoOf(WsUnit), 'isMap', function () {
|
|
2599
|
-
return this.
|
|
2704
|
+
return this.n2f();
|
|
2600
2705
|
});
|
|
2601
2706
|
defineProp(protoOf(WsCustom), 'isIterable', function () {
|
|
2602
|
-
return this.
|
|
2707
|
+
return this.o21();
|
|
2603
2708
|
});
|
|
2604
2709
|
defineProp(protoOf(WsCustom), 'isMap', function () {
|
|
2605
|
-
return this.
|
|
2710
|
+
return this.n2f();
|
|
2606
2711
|
});
|
|
2607
2712
|
defineProp(protoOf(WsPrimitive), 'isIterable', function () {
|
|
2608
|
-
return this.
|
|
2713
|
+
return this.o21();
|
|
2609
2714
|
});
|
|
2610
2715
|
defineProp(protoOf(WsPrimitive), 'isMap', function () {
|
|
2611
|
-
return this.
|
|
2716
|
+
return this.n2f();
|
|
2612
2717
|
});
|
|
2613
|
-
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).
|
|
2614
|
-
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).
|
|
2718
|
+
defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).p2);
|
|
2719
|
+
defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).q2);
|
|
2615
2720
|
//endregion
|
|
2616
2721
|
//region block: init
|
|
2617
2722
|
OpenApiV2Parser_instance_0 = new OpenApiV2Parser();
|
|
@@ -2629,6 +2734,7 @@
|
|
|
2629
2734
|
$community$flock$wirespec$compiler$lib.WsEndpoint = WsEndpoint;
|
|
2630
2735
|
$community$flock$wirespec$compiler$lib.WsEnum = WsEnum;
|
|
2631
2736
|
$community$flock$wirespec$compiler$lib.WsUnion = WsUnion;
|
|
2737
|
+
$community$flock$wirespec$compiler$lib.WsChannel = WsChannel;
|
|
2632
2738
|
$community$flock$wirespec$compiler$lib.WsRefined = WsRefined;
|
|
2633
2739
|
$community$flock$wirespec$compiler$lib.WsMethod = WsMethod;
|
|
2634
2740
|
$community$flock$wirespec$compiler$lib.WsMethod.values = values;
|