@flock/wirespec 0.20.0-RC.1 → 0.20.0-RC.2
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/clikt-clikt-mordant.mjs +38 -38
- package/colormath-root-colormath.mjs +426 -426
- package/kotest-kotest-property.mjs +348 -348
- package/kotlin-kotlin-stdlib.mjs +78 -77
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +9624 -9624
- package/kotlin-rgxgen.mjs +1757 -1757
- package/kotlinx-io-kotlinx-io-core.mjs +403 -403
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1745 -1745
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1454 -1454
- package/mordant-mordant.mjs +1157 -1157
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +13 -1
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +209 -238
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +167 -167
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +214 -206
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +249 -249
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +101 -101
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +209 -209
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +26 -26
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +2546 -2422
- package/wirespec-src-compiler-ir.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +472 -472
- package/wirespec-src-converter-openapi.mjs +335 -335
- package/wirespec-src-ide-lsp.mjs +1346 -1346
- package/wirespec-src-integration-kotest.mjs +257 -257
- package/wirespec-src-plugin-arguments.mjs +128 -128
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-npm.mjs +18 -18
- package/wirespec-src-tools-generator.mjs +2 -2
|
@@ -120,18 +120,18 @@ initMetadataForClass(KotestWirespecGeneratorJsBuilder, 'KotestWirespecGeneratorJ
|
|
|
120
120
|
function KotestField() {
|
|
121
121
|
}
|
|
122
122
|
function KotestFieldString(regex, annotations) {
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
123
|
+
this.z6v_1 = regex;
|
|
124
|
+
this.a6w_1 = annotations;
|
|
125
125
|
}
|
|
126
|
-
protoOf(KotestFieldString).
|
|
127
|
-
return this.
|
|
126
|
+
protoOf(KotestFieldString).h26 = function () {
|
|
127
|
+
return this.a6w_1;
|
|
128
128
|
};
|
|
129
129
|
protoOf(KotestFieldString).toString = function () {
|
|
130
|
-
return 'KotestFieldString(regex=' + this.
|
|
130
|
+
return 'KotestFieldString(regex=' + this.z6v_1 + ', annotations=' + toString(this.a6w_1) + ')';
|
|
131
131
|
};
|
|
132
132
|
protoOf(KotestFieldString).hashCode = function () {
|
|
133
|
-
var result = this.
|
|
134
|
-
result = imul(result, 31) + hashCode(this.
|
|
133
|
+
var result = this.z6v_1 == null ? 0 : getStringHashCode(this.z6v_1);
|
|
134
|
+
result = imul(result, 31) + hashCode(this.a6w_1) | 0;
|
|
135
135
|
return result;
|
|
136
136
|
};
|
|
137
137
|
protoOf(KotestFieldString).equals = function (other) {
|
|
@@ -139,27 +139,27 @@ protoOf(KotestFieldString).equals = function (other) {
|
|
|
139
139
|
return true;
|
|
140
140
|
if (!(other instanceof KotestFieldString))
|
|
141
141
|
return false;
|
|
142
|
-
if (!(this.
|
|
142
|
+
if (!(this.z6v_1 == other.z6v_1))
|
|
143
143
|
return false;
|
|
144
|
-
if (!equals(this.
|
|
144
|
+
if (!equals(this.a6w_1, other.a6w_1))
|
|
145
145
|
return false;
|
|
146
146
|
return true;
|
|
147
147
|
};
|
|
148
148
|
function KotestFieldInteger64(min, max, annotations) {
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
149
|
+
this.b6w_1 = min;
|
|
150
|
+
this.c6w_1 = max;
|
|
151
|
+
this.d6w_1 = annotations;
|
|
152
152
|
}
|
|
153
|
-
protoOf(KotestFieldInteger64).
|
|
154
|
-
return this.
|
|
153
|
+
protoOf(KotestFieldInteger64).h26 = function () {
|
|
154
|
+
return this.d6w_1;
|
|
155
155
|
};
|
|
156
156
|
protoOf(KotestFieldInteger64).toString = function () {
|
|
157
|
-
return 'KotestFieldInteger64(min=' + toString_0(this.
|
|
157
|
+
return 'KotestFieldInteger64(min=' + toString_0(this.b6w_1) + ', max=' + toString_0(this.c6w_1) + ', annotations=' + toString(this.d6w_1) + ')';
|
|
158
158
|
};
|
|
159
159
|
protoOf(KotestFieldInteger64).hashCode = function () {
|
|
160
|
-
var result = this.
|
|
161
|
-
result = imul(result, 31) + (this.
|
|
162
|
-
result = imul(result, 31) + hashCode(this.
|
|
160
|
+
var result = this.b6w_1 == null ? 0 : this.b6w_1.hashCode();
|
|
161
|
+
result = imul(result, 31) + (this.c6w_1 == null ? 0 : this.c6w_1.hashCode()) | 0;
|
|
162
|
+
result = imul(result, 31) + hashCode(this.d6w_1) | 0;
|
|
163
163
|
return result;
|
|
164
164
|
};
|
|
165
165
|
protoOf(KotestFieldInteger64).equals = function (other) {
|
|
@@ -167,29 +167,29 @@ protoOf(KotestFieldInteger64).equals = function (other) {
|
|
|
167
167
|
return true;
|
|
168
168
|
if (!(other instanceof KotestFieldInteger64))
|
|
169
169
|
return false;
|
|
170
|
-
if (!equals(this.
|
|
170
|
+
if (!equals(this.b6w_1, other.b6w_1))
|
|
171
171
|
return false;
|
|
172
|
-
if (!equals(this.
|
|
172
|
+
if (!equals(this.c6w_1, other.c6w_1))
|
|
173
173
|
return false;
|
|
174
|
-
if (!equals(this.
|
|
174
|
+
if (!equals(this.d6w_1, other.d6w_1))
|
|
175
175
|
return false;
|
|
176
176
|
return true;
|
|
177
177
|
};
|
|
178
178
|
function KotestFieldInteger32(min, max, annotations) {
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
179
|
+
this.e6w_1 = min;
|
|
180
|
+
this.f6w_1 = max;
|
|
181
|
+
this.g6w_1 = annotations;
|
|
182
182
|
}
|
|
183
|
-
protoOf(KotestFieldInteger32).
|
|
184
|
-
return this.
|
|
183
|
+
protoOf(KotestFieldInteger32).h26 = function () {
|
|
184
|
+
return this.g6w_1;
|
|
185
185
|
};
|
|
186
186
|
protoOf(KotestFieldInteger32).toString = function () {
|
|
187
|
-
return 'KotestFieldInteger32(min=' + this.
|
|
187
|
+
return 'KotestFieldInteger32(min=' + this.e6w_1 + ', max=' + this.f6w_1 + ', annotations=' + toString(this.g6w_1) + ')';
|
|
188
188
|
};
|
|
189
189
|
protoOf(KotestFieldInteger32).hashCode = function () {
|
|
190
|
-
var result = this.
|
|
191
|
-
result = imul(result, 31) + (this.
|
|
192
|
-
result = imul(result, 31) + hashCode(this.
|
|
190
|
+
var result = this.e6w_1 == null ? 0 : this.e6w_1;
|
|
191
|
+
result = imul(result, 31) + (this.f6w_1 == null ? 0 : this.f6w_1) | 0;
|
|
192
|
+
result = imul(result, 31) + hashCode(this.g6w_1) | 0;
|
|
193
193
|
return result;
|
|
194
194
|
};
|
|
195
195
|
protoOf(KotestFieldInteger32).equals = function (other) {
|
|
@@ -197,29 +197,29 @@ protoOf(KotestFieldInteger32).equals = function (other) {
|
|
|
197
197
|
return true;
|
|
198
198
|
if (!(other instanceof KotestFieldInteger32))
|
|
199
199
|
return false;
|
|
200
|
-
if (!(this.
|
|
200
|
+
if (!(this.e6w_1 == other.e6w_1))
|
|
201
201
|
return false;
|
|
202
|
-
if (!(this.
|
|
202
|
+
if (!(this.f6w_1 == other.f6w_1))
|
|
203
203
|
return false;
|
|
204
|
-
if (!equals(this.
|
|
204
|
+
if (!equals(this.g6w_1, other.g6w_1))
|
|
205
205
|
return false;
|
|
206
206
|
return true;
|
|
207
207
|
};
|
|
208
208
|
function KotestFieldNumber64(min, max, annotations) {
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
209
|
+
this.h6w_1 = min;
|
|
210
|
+
this.i6w_1 = max;
|
|
211
|
+
this.j6w_1 = annotations;
|
|
212
212
|
}
|
|
213
|
-
protoOf(KotestFieldNumber64).
|
|
214
|
-
return this.
|
|
213
|
+
protoOf(KotestFieldNumber64).h26 = function () {
|
|
214
|
+
return this.j6w_1;
|
|
215
215
|
};
|
|
216
216
|
protoOf(KotestFieldNumber64).toString = function () {
|
|
217
|
-
return 'KotestFieldNumber64(min=' + this.
|
|
217
|
+
return 'KotestFieldNumber64(min=' + this.h6w_1 + ', max=' + this.i6w_1 + ', annotations=' + toString(this.j6w_1) + ')';
|
|
218
218
|
};
|
|
219
219
|
protoOf(KotestFieldNumber64).hashCode = function () {
|
|
220
|
-
var result = this.
|
|
221
|
-
result = imul(result, 31) + (this.
|
|
222
|
-
result = imul(result, 31) + hashCode(this.
|
|
220
|
+
var result = this.h6w_1 == null ? 0 : getNumberHashCode(this.h6w_1);
|
|
221
|
+
result = imul(result, 31) + (this.i6w_1 == null ? 0 : getNumberHashCode(this.i6w_1)) | 0;
|
|
222
|
+
result = imul(result, 31) + hashCode(this.j6w_1) | 0;
|
|
223
223
|
return result;
|
|
224
224
|
};
|
|
225
225
|
protoOf(KotestFieldNumber64).equals = function (other) {
|
|
@@ -227,29 +227,29 @@ protoOf(KotestFieldNumber64).equals = function (other) {
|
|
|
227
227
|
return true;
|
|
228
228
|
if (!(other instanceof KotestFieldNumber64))
|
|
229
229
|
return false;
|
|
230
|
-
if (!equals(this.
|
|
230
|
+
if (!equals(this.h6w_1, other.h6w_1))
|
|
231
231
|
return false;
|
|
232
|
-
if (!equals(this.
|
|
232
|
+
if (!equals(this.i6w_1, other.i6w_1))
|
|
233
233
|
return false;
|
|
234
|
-
if (!equals(this.
|
|
234
|
+
if (!equals(this.j6w_1, other.j6w_1))
|
|
235
235
|
return false;
|
|
236
236
|
return true;
|
|
237
237
|
};
|
|
238
238
|
function KotestFieldNumber32(min, max, annotations) {
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
239
|
+
this.k6w_1 = min;
|
|
240
|
+
this.l6w_1 = max;
|
|
241
|
+
this.m6w_1 = annotations;
|
|
242
242
|
}
|
|
243
|
-
protoOf(KotestFieldNumber32).
|
|
244
|
-
return this.
|
|
243
|
+
protoOf(KotestFieldNumber32).h26 = function () {
|
|
244
|
+
return this.m6w_1;
|
|
245
245
|
};
|
|
246
246
|
protoOf(KotestFieldNumber32).toString = function () {
|
|
247
|
-
return 'KotestFieldNumber32(min=' + this.
|
|
247
|
+
return 'KotestFieldNumber32(min=' + this.k6w_1 + ', max=' + this.l6w_1 + ', annotations=' + toString(this.m6w_1) + ')';
|
|
248
248
|
};
|
|
249
249
|
protoOf(KotestFieldNumber32).hashCode = function () {
|
|
250
|
-
var result = this.
|
|
251
|
-
result = imul(result, 31) + (this.
|
|
252
|
-
result = imul(result, 31) + hashCode(this.
|
|
250
|
+
var result = this.k6w_1 == null ? 0 : getNumberHashCode(this.k6w_1);
|
|
251
|
+
result = imul(result, 31) + (this.l6w_1 == null ? 0 : getNumberHashCode(this.l6w_1)) | 0;
|
|
252
|
+
result = imul(result, 31) + hashCode(this.m6w_1) | 0;
|
|
253
253
|
return result;
|
|
254
254
|
};
|
|
255
255
|
protoOf(KotestFieldNumber32).equals = function (other) {
|
|
@@ -257,71 +257,71 @@ protoOf(KotestFieldNumber32).equals = function (other) {
|
|
|
257
257
|
return true;
|
|
258
258
|
if (!(other instanceof KotestFieldNumber32))
|
|
259
259
|
return false;
|
|
260
|
-
if (!equals(this.
|
|
260
|
+
if (!equals(this.k6w_1, other.k6w_1))
|
|
261
261
|
return false;
|
|
262
|
-
if (!equals(this.
|
|
262
|
+
if (!equals(this.l6w_1, other.l6w_1))
|
|
263
263
|
return false;
|
|
264
|
-
if (!equals(this.
|
|
264
|
+
if (!equals(this.m6w_1, other.m6w_1))
|
|
265
265
|
return false;
|
|
266
266
|
return true;
|
|
267
267
|
};
|
|
268
268
|
function KotestFieldBoolean(annotations) {
|
|
269
|
-
this.
|
|
269
|
+
this.n6w_1 = annotations;
|
|
270
270
|
}
|
|
271
|
-
protoOf(KotestFieldBoolean).
|
|
272
|
-
return this.
|
|
271
|
+
protoOf(KotestFieldBoolean).h26 = function () {
|
|
272
|
+
return this.n6w_1;
|
|
273
273
|
};
|
|
274
274
|
protoOf(KotestFieldBoolean).toString = function () {
|
|
275
|
-
return 'KotestFieldBoolean(annotations=' + toString(this.
|
|
275
|
+
return 'KotestFieldBoolean(annotations=' + toString(this.n6w_1) + ')';
|
|
276
276
|
};
|
|
277
277
|
protoOf(KotestFieldBoolean).hashCode = function () {
|
|
278
|
-
return hashCode(this.
|
|
278
|
+
return hashCode(this.n6w_1);
|
|
279
279
|
};
|
|
280
280
|
protoOf(KotestFieldBoolean).equals = function (other) {
|
|
281
281
|
if (this === other)
|
|
282
282
|
return true;
|
|
283
283
|
if (!(other instanceof KotestFieldBoolean))
|
|
284
284
|
return false;
|
|
285
|
-
if (!equals(this.
|
|
285
|
+
if (!equals(this.n6w_1, other.n6w_1))
|
|
286
286
|
return false;
|
|
287
287
|
return true;
|
|
288
288
|
};
|
|
289
289
|
function KotestFieldBytes(annotations) {
|
|
290
|
-
this.
|
|
290
|
+
this.o6w_1 = annotations;
|
|
291
291
|
}
|
|
292
|
-
protoOf(KotestFieldBytes).
|
|
293
|
-
return this.
|
|
292
|
+
protoOf(KotestFieldBytes).h26 = function () {
|
|
293
|
+
return this.o6w_1;
|
|
294
294
|
};
|
|
295
295
|
protoOf(KotestFieldBytes).toString = function () {
|
|
296
|
-
return 'KotestFieldBytes(annotations=' + toString(this.
|
|
296
|
+
return 'KotestFieldBytes(annotations=' + toString(this.o6w_1) + ')';
|
|
297
297
|
};
|
|
298
298
|
protoOf(KotestFieldBytes).hashCode = function () {
|
|
299
|
-
return hashCode(this.
|
|
299
|
+
return hashCode(this.o6w_1);
|
|
300
300
|
};
|
|
301
301
|
protoOf(KotestFieldBytes).equals = function (other) {
|
|
302
302
|
if (this === other)
|
|
303
303
|
return true;
|
|
304
304
|
if (!(other instanceof KotestFieldBytes))
|
|
305
305
|
return false;
|
|
306
|
-
if (!equals(this.
|
|
306
|
+
if (!equals(this.o6w_1, other.o6w_1))
|
|
307
307
|
return false;
|
|
308
308
|
return true;
|
|
309
309
|
};
|
|
310
310
|
function KotestFieldEnum(values, annotations, type) {
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
311
|
+
this.p6w_1 = values;
|
|
312
|
+
this.q6w_1 = annotations;
|
|
313
|
+
this.r6w_1 = type;
|
|
314
314
|
}
|
|
315
|
-
protoOf(KotestFieldEnum).
|
|
316
|
-
return this.
|
|
315
|
+
protoOf(KotestFieldEnum).h26 = function () {
|
|
316
|
+
return this.q6w_1;
|
|
317
317
|
};
|
|
318
318
|
protoOf(KotestFieldEnum).toString = function () {
|
|
319
|
-
return 'KotestFieldEnum(values=' + toString(this.
|
|
319
|
+
return 'KotestFieldEnum(values=' + toString(this.p6w_1) + ', annotations=' + toString(this.q6w_1) + ', type=' + toString(this.r6w_1) + ')';
|
|
320
320
|
};
|
|
321
321
|
protoOf(KotestFieldEnum).hashCode = function () {
|
|
322
|
-
var result = hashCode(this.
|
|
323
|
-
result = imul(result, 31) + hashCode(this.
|
|
324
|
-
result = imul(result, 31) + hashCode(this.
|
|
322
|
+
var result = hashCode(this.p6w_1);
|
|
323
|
+
result = imul(result, 31) + hashCode(this.q6w_1) | 0;
|
|
324
|
+
result = imul(result, 31) + hashCode(this.r6w_1) | 0;
|
|
325
325
|
return result;
|
|
326
326
|
};
|
|
327
327
|
protoOf(KotestFieldEnum).equals = function (other) {
|
|
@@ -329,29 +329,29 @@ protoOf(KotestFieldEnum).equals = function (other) {
|
|
|
329
329
|
return true;
|
|
330
330
|
if (!(other instanceof KotestFieldEnum))
|
|
331
331
|
return false;
|
|
332
|
-
if (!equals(this.
|
|
332
|
+
if (!equals(this.p6w_1, other.p6w_1))
|
|
333
333
|
return false;
|
|
334
|
-
if (!equals(this.
|
|
334
|
+
if (!equals(this.q6w_1, other.q6w_1))
|
|
335
335
|
return false;
|
|
336
|
-
if (!equals(this.
|
|
336
|
+
if (!equals(this.r6w_1, other.r6w_1))
|
|
337
337
|
return false;
|
|
338
338
|
return true;
|
|
339
339
|
};
|
|
340
340
|
function KotestFieldUnion(variants, annotations, type) {
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
341
|
+
this.s6w_1 = variants;
|
|
342
|
+
this.t6w_1 = annotations;
|
|
343
|
+
this.u6w_1 = type;
|
|
344
344
|
}
|
|
345
|
-
protoOf(KotestFieldUnion).
|
|
346
|
-
return this.
|
|
345
|
+
protoOf(KotestFieldUnion).h26 = function () {
|
|
346
|
+
return this.t6w_1;
|
|
347
347
|
};
|
|
348
348
|
protoOf(KotestFieldUnion).toString = function () {
|
|
349
|
-
return 'KotestFieldUnion(variants=' + toString(this.
|
|
349
|
+
return 'KotestFieldUnion(variants=' + toString(this.s6w_1) + ', annotations=' + toString(this.t6w_1) + ', type=' + toString(this.u6w_1) + ')';
|
|
350
350
|
};
|
|
351
351
|
protoOf(KotestFieldUnion).hashCode = function () {
|
|
352
|
-
var result = hashCode(this.
|
|
353
|
-
result = imul(result, 31) + hashCode(this.
|
|
354
|
-
result = imul(result, 31) + hashCode(this.
|
|
352
|
+
var result = hashCode(this.s6w_1);
|
|
353
|
+
result = imul(result, 31) + hashCode(this.t6w_1) | 0;
|
|
354
|
+
result = imul(result, 31) + hashCode(this.u6w_1) | 0;
|
|
355
355
|
return result;
|
|
356
356
|
};
|
|
357
357
|
protoOf(KotestFieldUnion).equals = function (other) {
|
|
@@ -359,62 +359,62 @@ protoOf(KotestFieldUnion).equals = function (other) {
|
|
|
359
359
|
return true;
|
|
360
360
|
if (!(other instanceof KotestFieldUnion))
|
|
361
361
|
return false;
|
|
362
|
-
if (!equals(this.
|
|
362
|
+
if (!equals(this.s6w_1, other.s6w_1))
|
|
363
363
|
return false;
|
|
364
|
-
if (!equals(this.
|
|
364
|
+
if (!equals(this.t6w_1, other.t6w_1))
|
|
365
365
|
return false;
|
|
366
|
-
if (!equals(this.
|
|
366
|
+
if (!equals(this.u6w_1, other.u6w_1))
|
|
367
367
|
return false;
|
|
368
368
|
return true;
|
|
369
369
|
};
|
|
370
370
|
function KotestFieldArray(generate) {
|
|
371
|
-
this.
|
|
371
|
+
this.v6w_1 = generate;
|
|
372
372
|
}
|
|
373
373
|
protoOf(KotestFieldArray).toString = function () {
|
|
374
|
-
return 'KotestFieldArray(generate=' + toString(this.
|
|
374
|
+
return 'KotestFieldArray(generate=' + toString(this.v6w_1) + ')';
|
|
375
375
|
};
|
|
376
376
|
protoOf(KotestFieldArray).hashCode = function () {
|
|
377
|
-
return hashCode(this.
|
|
377
|
+
return hashCode(this.v6w_1);
|
|
378
378
|
};
|
|
379
379
|
protoOf(KotestFieldArray).equals = function (other) {
|
|
380
380
|
if (this === other)
|
|
381
381
|
return true;
|
|
382
382
|
if (!(other instanceof KotestFieldArray))
|
|
383
383
|
return false;
|
|
384
|
-
if (!equals(this.
|
|
384
|
+
if (!equals(this.v6w_1, other.v6w_1))
|
|
385
385
|
return false;
|
|
386
386
|
return true;
|
|
387
387
|
};
|
|
388
388
|
function KotestFieldNullable(generate) {
|
|
389
|
-
this.
|
|
389
|
+
this.w6w_1 = generate;
|
|
390
390
|
}
|
|
391
391
|
protoOf(KotestFieldNullable).toString = function () {
|
|
392
|
-
return 'KotestFieldNullable(generate=' + toString(this.
|
|
392
|
+
return 'KotestFieldNullable(generate=' + toString(this.w6w_1) + ')';
|
|
393
393
|
};
|
|
394
394
|
protoOf(KotestFieldNullable).hashCode = function () {
|
|
395
|
-
return hashCode(this.
|
|
395
|
+
return hashCode(this.w6w_1);
|
|
396
396
|
};
|
|
397
397
|
protoOf(KotestFieldNullable).equals = function (other) {
|
|
398
398
|
if (this === other)
|
|
399
399
|
return true;
|
|
400
400
|
if (!(other instanceof KotestFieldNullable))
|
|
401
401
|
return false;
|
|
402
|
-
if (!equals(this.
|
|
402
|
+
if (!equals(this.w6w_1, other.w6w_1))
|
|
403
403
|
return false;
|
|
404
404
|
return true;
|
|
405
405
|
};
|
|
406
406
|
function KotestFieldShape(annotations, generate, type) {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
407
|
+
this.x6w_1 = annotations;
|
|
408
|
+
this.y6w_1 = generate;
|
|
409
|
+
this.z6w_1 = type;
|
|
410
410
|
}
|
|
411
411
|
protoOf(KotestFieldShape).toString = function () {
|
|
412
|
-
return 'KotestFieldShape(annotations=' + toString(this.
|
|
412
|
+
return 'KotestFieldShape(annotations=' + toString(this.x6w_1) + ', generate=' + toString(this.y6w_1) + ', type=' + toString(this.z6w_1) + ')';
|
|
413
413
|
};
|
|
414
414
|
protoOf(KotestFieldShape).hashCode = function () {
|
|
415
|
-
var result = hashCode(this.
|
|
416
|
-
result = imul(result, 31) + hashCode(this.
|
|
417
|
-
result = imul(result, 31) + hashCode(this.
|
|
415
|
+
var result = hashCode(this.x6w_1);
|
|
416
|
+
result = imul(result, 31) + hashCode(this.y6w_1) | 0;
|
|
417
|
+
result = imul(result, 31) + hashCode(this.z6w_1) | 0;
|
|
418
418
|
return result;
|
|
419
419
|
};
|
|
420
420
|
protoOf(KotestFieldShape).equals = function (other) {
|
|
@@ -422,29 +422,29 @@ protoOf(KotestFieldShape).equals = function (other) {
|
|
|
422
422
|
return true;
|
|
423
423
|
if (!(other instanceof KotestFieldShape))
|
|
424
424
|
return false;
|
|
425
|
-
if (!equals(this.
|
|
425
|
+
if (!equals(this.x6w_1, other.x6w_1))
|
|
426
426
|
return false;
|
|
427
|
-
if (!equals(this.
|
|
427
|
+
if (!equals(this.y6w_1, other.y6w_1))
|
|
428
428
|
return false;
|
|
429
|
-
if (!equals(this.
|
|
429
|
+
if (!equals(this.z6w_1, other.z6w_1))
|
|
430
430
|
return false;
|
|
431
431
|
return true;
|
|
432
432
|
};
|
|
433
433
|
function KotestFieldDict(generate) {
|
|
434
|
-
this.
|
|
434
|
+
this.a6x_1 = generate;
|
|
435
435
|
}
|
|
436
436
|
protoOf(KotestFieldDict).toString = function () {
|
|
437
|
-
return 'KotestFieldDict(generate=' + toString(this.
|
|
437
|
+
return 'KotestFieldDict(generate=' + toString(this.a6x_1) + ')';
|
|
438
438
|
};
|
|
439
439
|
protoOf(KotestFieldDict).hashCode = function () {
|
|
440
|
-
return hashCode(this.
|
|
440
|
+
return hashCode(this.a6x_1);
|
|
441
441
|
};
|
|
442
442
|
protoOf(KotestFieldDict).equals = function (other) {
|
|
443
443
|
if (this === other)
|
|
444
444
|
return true;
|
|
445
445
|
if (!(other instanceof KotestFieldDict))
|
|
446
446
|
return false;
|
|
447
|
-
if (!equals(this.
|
|
447
|
+
if (!equals(this.a6x_1, other.a6x_1))
|
|
448
448
|
return false;
|
|
449
449
|
return true;
|
|
450
450
|
};
|
|
@@ -456,14 +456,14 @@ function OverrideRegistry$findPath$lambda(it) {
|
|
|
456
456
|
function OverrideRegistry() {
|
|
457
457
|
var tmp = this;
|
|
458
458
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
459
|
-
tmp.
|
|
459
|
+
tmp.b6x_1 = ArrayList_init_$Create$();
|
|
460
460
|
var tmp_0 = this;
|
|
461
461
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
462
|
-
tmp_0.
|
|
462
|
+
tmp_0.c6x_1 = LinkedHashMap_init_$Create$();
|
|
463
463
|
}
|
|
464
|
-
protoOf(OverrideRegistry).
|
|
465
|
-
var pattern = Companion_instance_2.
|
|
466
|
-
var tmp0 = this.
|
|
464
|
+
protoOf(OverrideRegistry).d6x = function (segments, factory) {
|
|
465
|
+
var pattern = Companion_instance_2.e6x(segments);
|
|
466
|
+
var tmp0 = this.b6x_1;
|
|
467
467
|
var tmp$ret$0;
|
|
468
468
|
$l$block_0: {
|
|
469
469
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -493,21 +493,21 @@ protoOf(OverrideRegistry).f6x = function (segments, factory) {
|
|
|
493
493
|
var message = 'Path override already registered for ' + pattern.toString();
|
|
494
494
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
495
495
|
}
|
|
496
|
-
var tmp0_0 = this.
|
|
496
|
+
var tmp0_0 = this.b6x_1;
|
|
497
497
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
498
498
|
var element_0 = to(pattern, factory);
|
|
499
499
|
tmp0_0.y(element_0);
|
|
500
500
|
};
|
|
501
|
-
protoOf(OverrideRegistry).
|
|
501
|
+
protoOf(OverrideRegistry).f6x = function (path) {
|
|
502
502
|
// Inline function 'kotlin.collections.filter' call
|
|
503
|
-
var tmp0 = this.
|
|
503
|
+
var tmp0 = this.b6x_1;
|
|
504
504
|
// Inline function 'kotlin.collections.filterTo' call
|
|
505
505
|
var destination = ArrayList_init_$Create$();
|
|
506
506
|
var _iterator__ex2g4s = tmp0.t();
|
|
507
507
|
while (_iterator__ex2g4s.u()) {
|
|
508
508
|
var element = _iterator__ex2g4s.v();
|
|
509
509
|
var pattern = element.mf();
|
|
510
|
-
if (pattern.
|
|
510
|
+
if (pattern.i6x(path)) {
|
|
511
511
|
destination.y(element);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
@@ -518,9 +518,9 @@ protoOf(OverrideRegistry).h6x = function (path) {
|
|
|
518
518
|
var iterator = matches.t();
|
|
519
519
|
if (!iterator.u())
|
|
520
520
|
throw NoSuchElementException_init_$Create$();
|
|
521
|
-
var maxValue = iterator.v().vf_1.
|
|
521
|
+
var maxValue = iterator.v().vf_1.h6x_1;
|
|
522
522
|
while (iterator.u()) {
|
|
523
|
-
var v = iterator.v().vf_1.
|
|
523
|
+
var v = iterator.v().vf_1.h6x_1;
|
|
524
524
|
if (compareTo(maxValue, v) < 0) {
|
|
525
525
|
maxValue = v;
|
|
526
526
|
}
|
|
@@ -532,7 +532,7 @@ protoOf(OverrideRegistry).h6x = function (path) {
|
|
|
532
532
|
var _iterator__ex2g4s_0 = matches.t();
|
|
533
533
|
while (_iterator__ex2g4s_0.u()) {
|
|
534
534
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
535
|
-
if (element_0.vf_1.
|
|
535
|
+
if (element_0.vf_1.h6x_1 === maxSpec) {
|
|
536
536
|
destination_0.y(element_0);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -545,19 +545,19 @@ protoOf(OverrideRegistry).h6x = function (path) {
|
|
|
545
545
|
}
|
|
546
546
|
return single(best).wf_1;
|
|
547
547
|
};
|
|
548
|
-
protoOf(OverrideRegistry).
|
|
549
|
-
return this.
|
|
548
|
+
protoOf(OverrideRegistry).j6x = function (key) {
|
|
549
|
+
return this.c6x_1.q2(key);
|
|
550
550
|
};
|
|
551
551
|
function FieldKey(parentTypeName, fieldName) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
552
|
+
this.k6x_1 = parentTypeName;
|
|
553
|
+
this.l6x_1 = fieldName;
|
|
554
554
|
}
|
|
555
555
|
protoOf(FieldKey).toString = function () {
|
|
556
|
-
return 'FieldKey(parentTypeName=' + this.
|
|
556
|
+
return 'FieldKey(parentTypeName=' + this.k6x_1 + ', fieldName=' + this.l6x_1 + ')';
|
|
557
557
|
};
|
|
558
558
|
protoOf(FieldKey).hashCode = function () {
|
|
559
|
-
var result = getStringHashCode(this.
|
|
560
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
559
|
+
var result = getStringHashCode(this.k6x_1);
|
|
560
|
+
result = imul(result, 31) + getStringHashCode(this.l6x_1) | 0;
|
|
561
561
|
return result;
|
|
562
562
|
};
|
|
563
563
|
protoOf(FieldKey).equals = function (other) {
|
|
@@ -565,15 +565,15 @@ protoOf(FieldKey).equals = function (other) {
|
|
|
565
565
|
return true;
|
|
566
566
|
if (!(other instanceof FieldKey))
|
|
567
567
|
return false;
|
|
568
|
-
if (!(this.
|
|
568
|
+
if (!(this.k6x_1 === other.k6x_1))
|
|
569
569
|
return false;
|
|
570
|
-
if (!(this.
|
|
570
|
+
if (!(this.l6x_1 === other.l6x_1))
|
|
571
571
|
return false;
|
|
572
572
|
return true;
|
|
573
573
|
};
|
|
574
574
|
function IdentityRefinedWrapper() {
|
|
575
575
|
}
|
|
576
|
-
protoOf(IdentityRefinedWrapper).
|
|
576
|
+
protoOf(IdentityRefinedWrapper).m6x = function (drawn, field, path) {
|
|
577
577
|
return drawn;
|
|
578
578
|
};
|
|
579
579
|
var IdentityRefinedWrapper_instance;
|
|
@@ -582,7 +582,7 @@ function IdentityRefinedWrapper_getInstance() {
|
|
|
582
582
|
}
|
|
583
583
|
function Companion() {
|
|
584
584
|
}
|
|
585
|
-
protoOf(Companion).
|
|
585
|
+
protoOf(Companion).e6x = function (segments) {
|
|
586
586
|
// Inline function 'kotlin.collections.map' call
|
|
587
587
|
// Inline function 'kotlin.collections.mapTo' call
|
|
588
588
|
var destination = ArrayList_init_$Create$_0(segments.length);
|
|
@@ -603,7 +603,7 @@ function Companion_getInstance() {
|
|
|
603
603
|
function PathPattern$toString$lambda(it) {
|
|
604
604
|
var tmp;
|
|
605
605
|
if (it instanceof Literal) {
|
|
606
|
-
tmp = it.
|
|
606
|
+
tmp = it.n6x_1;
|
|
607
607
|
} else {
|
|
608
608
|
if (equals(it, Wildcard_instance)) {
|
|
609
609
|
tmp = '*';
|
|
@@ -614,9 +614,9 @@ function PathPattern$toString$lambda(it) {
|
|
|
614
614
|
return tmp;
|
|
615
615
|
}
|
|
616
616
|
function PathPattern(segments) {
|
|
617
|
-
this.
|
|
617
|
+
this.g6x_1 = segments;
|
|
618
618
|
var tmp = this;
|
|
619
|
-
var tmp0 = this.
|
|
619
|
+
var tmp0 = this.g6x_1;
|
|
620
620
|
var tmp$ret$0;
|
|
621
621
|
$l$block: {
|
|
622
622
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -641,20 +641,20 @@ function PathPattern(segments) {
|
|
|
641
641
|
}
|
|
642
642
|
tmp$ret$0 = count;
|
|
643
643
|
}
|
|
644
|
-
tmp.
|
|
644
|
+
tmp.h6x_1 = tmp$ret$0;
|
|
645
645
|
}
|
|
646
|
-
protoOf(PathPattern).
|
|
647
|
-
if (!(path.b1() === this.
|
|
646
|
+
protoOf(PathPattern).i6x = function (path) {
|
|
647
|
+
if (!(path.b1() === this.g6x_1.b1()))
|
|
648
648
|
return false;
|
|
649
649
|
var inductionVariable = 0;
|
|
650
|
-
var last = this.
|
|
650
|
+
var last = this.g6x_1.b1() - 1 | 0;
|
|
651
651
|
if (inductionVariable <= last)
|
|
652
652
|
do {
|
|
653
653
|
var i = inductionVariable;
|
|
654
654
|
inductionVariable = inductionVariable + 1 | 0;
|
|
655
|
-
var seg = this.
|
|
655
|
+
var seg = this.g6x_1.c1(i);
|
|
656
656
|
if (seg instanceof Literal) {
|
|
657
|
-
if (!(seg.
|
|
657
|
+
if (!(seg.n6x_1 === path.c1(i)))
|
|
658
658
|
return false;
|
|
659
659
|
} else {
|
|
660
660
|
if (!equals(seg, Wildcard_instance)) {
|
|
@@ -666,35 +666,35 @@ protoOf(PathPattern).k6x = function (path) {
|
|
|
666
666
|
return true;
|
|
667
667
|
};
|
|
668
668
|
protoOf(PathPattern).toString = function () {
|
|
669
|
-
return joinToString(this.
|
|
669
|
+
return joinToString(this.g6x_1, '/', VOID, VOID, VOID, VOID, PathPattern$toString$lambda);
|
|
670
670
|
};
|
|
671
671
|
protoOf(PathPattern).hashCode = function () {
|
|
672
|
-
return hashCode(this.
|
|
672
|
+
return hashCode(this.g6x_1);
|
|
673
673
|
};
|
|
674
674
|
protoOf(PathPattern).equals = function (other) {
|
|
675
675
|
if (this === other)
|
|
676
676
|
return true;
|
|
677
677
|
if (!(other instanceof PathPattern))
|
|
678
678
|
return false;
|
|
679
|
-
if (!equals(this.
|
|
679
|
+
if (!equals(this.g6x_1, other.g6x_1))
|
|
680
680
|
return false;
|
|
681
681
|
return true;
|
|
682
682
|
};
|
|
683
683
|
function Literal(value) {
|
|
684
|
-
this.
|
|
684
|
+
this.n6x_1 = value;
|
|
685
685
|
}
|
|
686
686
|
protoOf(Literal).toString = function () {
|
|
687
|
-
return 'Literal(value=' + this.
|
|
687
|
+
return 'Literal(value=' + this.n6x_1 + ')';
|
|
688
688
|
};
|
|
689
689
|
protoOf(Literal).hashCode = function () {
|
|
690
|
-
return getStringHashCode(this.
|
|
690
|
+
return getStringHashCode(this.n6x_1);
|
|
691
691
|
};
|
|
692
692
|
protoOf(Literal).equals = function (other) {
|
|
693
693
|
if (this === other)
|
|
694
694
|
return true;
|
|
695
695
|
if (!(other instanceof Literal))
|
|
696
696
|
return false;
|
|
697
|
-
if (!(this.
|
|
697
|
+
if (!(this.n6x_1 === other.n6x_1))
|
|
698
698
|
return false;
|
|
699
699
|
return true;
|
|
700
700
|
};
|
|
@@ -723,10 +723,10 @@ function KotestWirespecGeneratorBuilder$registerPath$lambda($value) {
|
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
function KotestWirespecGeneratorBuilder() {
|
|
726
|
-
this.
|
|
726
|
+
this.o6x_1 = new OverrideRegistry();
|
|
727
727
|
}
|
|
728
|
-
protoOf(KotestWirespecGeneratorBuilder).
|
|
729
|
-
this.
|
|
728
|
+
protoOf(KotestWirespecGeneratorBuilder).p6x = function (segments, value) {
|
|
729
|
+
this.o6x_1.d6x(segments, KotestWirespecGeneratorBuilder$registerPath$lambda(value));
|
|
730
730
|
};
|
|
731
731
|
function kotestGenerator(seed, refinedWrapper, block) {
|
|
732
732
|
seed = seed === VOID ? new Long(0, 0) : seed;
|
|
@@ -742,38 +742,38 @@ function kotestGenerator(seed, refinedWrapper, block) {
|
|
|
742
742
|
var this_0 = new KotestWirespecGeneratorBuilder();
|
|
743
743
|
block(this_0);
|
|
744
744
|
var builder = this_0;
|
|
745
|
-
return new KotestWirespecGenerator(seed, builder.
|
|
745
|
+
return new KotestWirespecGenerator(seed, builder.o6x_1, refinedWrapper);
|
|
746
746
|
}
|
|
747
747
|
function ParentFrame(typeName) {
|
|
748
|
-
this.
|
|
748
|
+
this.q6x_1 = typeName;
|
|
749
749
|
}
|
|
750
750
|
protoOf(ParentFrame).toString = function () {
|
|
751
|
-
return 'ParentFrame(typeName=' + this.
|
|
751
|
+
return 'ParentFrame(typeName=' + this.q6x_1 + ')';
|
|
752
752
|
};
|
|
753
753
|
protoOf(ParentFrame).hashCode = function () {
|
|
754
|
-
return getStringHashCode(this.
|
|
754
|
+
return getStringHashCode(this.q6x_1);
|
|
755
755
|
};
|
|
756
756
|
protoOf(ParentFrame).equals = function (other) {
|
|
757
757
|
if (this === other)
|
|
758
758
|
return true;
|
|
759
759
|
if (!(other instanceof ParentFrame))
|
|
760
760
|
return false;
|
|
761
|
-
if (!(this.
|
|
761
|
+
if (!(this.q6x_1 === other.q6x_1))
|
|
762
762
|
return false;
|
|
763
763
|
return true;
|
|
764
764
|
};
|
|
765
765
|
function PendingSeed(value, target, pathPrefix) {
|
|
766
|
-
this.
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
766
|
+
this.r6x_1 = value;
|
|
767
|
+
this.s6x_1 = target;
|
|
768
|
+
this.t6x_1 = pathPrefix;
|
|
769
769
|
}
|
|
770
770
|
protoOf(PendingSeed).toString = function () {
|
|
771
|
-
return 'PendingSeed(value=' + this.
|
|
771
|
+
return 'PendingSeed(value=' + this.r6x_1 + ', target=' + this.s6x_1 + ', pathPrefix=' + toString(this.t6x_1) + ')';
|
|
772
772
|
};
|
|
773
773
|
protoOf(PendingSeed).hashCode = function () {
|
|
774
|
-
var result = getStringHashCode(this.
|
|
775
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
776
|
-
result = imul(result, 31) + hashCode(this.
|
|
774
|
+
var result = getStringHashCode(this.r6x_1);
|
|
775
|
+
result = imul(result, 31) + getStringHashCode(this.s6x_1) | 0;
|
|
776
|
+
result = imul(result, 31) + hashCode(this.t6x_1) | 0;
|
|
777
777
|
return result;
|
|
778
778
|
};
|
|
779
779
|
protoOf(PendingSeed).equals = function (other) {
|
|
@@ -781,18 +781,18 @@ protoOf(PendingSeed).equals = function (other) {
|
|
|
781
781
|
return true;
|
|
782
782
|
if (!(other instanceof PendingSeed))
|
|
783
783
|
return false;
|
|
784
|
-
if (!(this.
|
|
784
|
+
if (!(this.r6x_1 === other.r6x_1))
|
|
785
785
|
return false;
|
|
786
|
-
if (!(this.
|
|
786
|
+
if (!(this.s6x_1 === other.s6x_1))
|
|
787
787
|
return false;
|
|
788
|
-
if (!equals(this.
|
|
788
|
+
if (!equals(this.t6x_1, other.t6x_1))
|
|
789
789
|
return false;
|
|
790
790
|
return true;
|
|
791
791
|
};
|
|
792
792
|
function Capture(shapePath, fieldName) {
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
793
|
+
this.u6x_1 = shapePath;
|
|
794
|
+
this.v6x_1 = fieldName;
|
|
795
|
+
this.w6x_1 = null;
|
|
796
796
|
}
|
|
797
797
|
function pathHash($this, path) {
|
|
798
798
|
var hash = new Long(-2078137563, -873292572);
|
|
@@ -820,10 +820,10 @@ function pathHash($this, path) {
|
|
|
820
820
|
return hash;
|
|
821
821
|
}
|
|
822
822
|
function rsFor($this, path) {
|
|
823
|
-
return Companion_instance_0.
|
|
823
|
+
return Companion_instance_0.y6v(bitwiseXor($this.x6x_1, pathHash($this, path)));
|
|
824
824
|
}
|
|
825
825
|
function captureSeedIfMatches($this, path, field) {
|
|
826
|
-
var tmp0_elvis_lhs = $this.
|
|
826
|
+
var tmp0_elvis_lhs = $this.b6y_1.ze();
|
|
827
827
|
var tmp;
|
|
828
828
|
if (tmp0_elvis_lhs == null) {
|
|
829
829
|
return null;
|
|
@@ -831,9 +831,9 @@ function captureSeedIfMatches($this, path, field) {
|
|
|
831
831
|
tmp = tmp0_elvis_lhs;
|
|
832
832
|
}
|
|
833
833
|
var capture = tmp;
|
|
834
|
-
if (!(capture.
|
|
834
|
+
if (!(capture.w6x_1 == null))
|
|
835
835
|
return null;
|
|
836
|
-
var expectedPrefix = plus(capture.
|
|
836
|
+
var expectedPrefix = plus(capture.u6x_1, capture.v6x_1);
|
|
837
837
|
if (path.b1() < expectedPrefix.b1() || !equals(path.m2(0, expectedPrefix.b1()), expectedPrefix))
|
|
838
838
|
return null;
|
|
839
839
|
var rs = rsFor($this, path);
|
|
@@ -841,25 +841,25 @@ function captureSeedIfMatches($this, path, field) {
|
|
|
841
841
|
if (field instanceof KotestFieldString) {
|
|
842
842
|
// Inline function 'kotlin.also' call
|
|
843
843
|
var this_0 = generateString($this, field, path, rs);
|
|
844
|
-
capture.
|
|
844
|
+
capture.w6x_1 = this_0;
|
|
845
845
|
tmp_0 = this_0;
|
|
846
846
|
} else {
|
|
847
847
|
if (field instanceof KotestFieldInteger64) {
|
|
848
|
-
var tmp2_elvis_lhs = field.
|
|
848
|
+
var tmp2_elvis_lhs = field.b6w_1;
|
|
849
849
|
var lo = tmp2_elvis_lhs == null ? new Long(0, 0) : tmp2_elvis_lhs;
|
|
850
|
-
var tmp3_elvis_lhs = field.
|
|
850
|
+
var tmp3_elvis_lhs = field.c6w_1;
|
|
851
851
|
var hi = tmp3_elvis_lhs == null ? new Long(-1, 2147483647) : tmp3_elvis_lhs;
|
|
852
852
|
var value = next(long(Companion_instance, longRangeToLong(lo, hi)), rs);
|
|
853
|
-
capture.
|
|
853
|
+
capture.w6x_1 = value.toString();
|
|
854
854
|
tmp_0 = value;
|
|
855
855
|
} else {
|
|
856
856
|
if (field instanceof KotestFieldInteger32) {
|
|
857
|
-
var tmp4_elvis_lhs = field.
|
|
857
|
+
var tmp4_elvis_lhs = field.e6w_1;
|
|
858
858
|
var lo_0 = tmp4_elvis_lhs == null ? 0 : tmp4_elvis_lhs;
|
|
859
|
-
var tmp5_elvis_lhs = field.
|
|
859
|
+
var tmp5_elvis_lhs = field.f6w_1;
|
|
860
860
|
var hi_0 = tmp5_elvis_lhs == null ? 2147483647 : tmp5_elvis_lhs;
|
|
861
861
|
var value_0 = next(int(Companion_instance, numberRangeToNumber(lo_0, hi_0)), rs);
|
|
862
|
-
capture.
|
|
862
|
+
capture.w6x_1 = value_0.toString();
|
|
863
863
|
tmp_0 = value_0;
|
|
864
864
|
} else {
|
|
865
865
|
tmp_0 = null;
|
|
@@ -869,7 +869,7 @@ function captureSeedIfMatches($this, path, field) {
|
|
|
869
869
|
return tmp_0;
|
|
870
870
|
}
|
|
871
871
|
function consumePendingSeedIfMatches($this, path, field) {
|
|
872
|
-
var tmp0_elvis_lhs = $this.
|
|
872
|
+
var tmp0_elvis_lhs = $this.a6y_1.ze();
|
|
873
873
|
var tmp;
|
|
874
874
|
if (tmp0_elvis_lhs == null) {
|
|
875
875
|
return null;
|
|
@@ -877,24 +877,24 @@ function consumePendingSeedIfMatches($this, path, field) {
|
|
|
877
877
|
tmp = tmp0_elvis_lhs;
|
|
878
878
|
}
|
|
879
879
|
var pending = tmp;
|
|
880
|
-
if (!(path.b1() === (pending.
|
|
880
|
+
if (!(path.b1() === (pending.t6x_1.b1() + 1 | 0)))
|
|
881
881
|
return null;
|
|
882
|
-
if (!(last(path) === pending.
|
|
882
|
+
if (!(last(path) === pending.s6x_1))
|
|
883
883
|
return null;
|
|
884
|
-
if (!equals(path.m2(0, pending.
|
|
884
|
+
if (!equals(path.m2(0, pending.t6x_1.b1()), pending.t6x_1))
|
|
885
885
|
return null;
|
|
886
886
|
var tmp_0;
|
|
887
887
|
if (field instanceof KotestFieldString) {
|
|
888
|
-
$this.
|
|
889
|
-
tmp_0 = pending.
|
|
888
|
+
$this.a6y_1.df();
|
|
889
|
+
tmp_0 = pending.r6x_1;
|
|
890
890
|
} else {
|
|
891
891
|
if (field instanceof KotestFieldInteger64) {
|
|
892
|
-
$this.
|
|
893
|
-
tmp_0 = toLong(pending.
|
|
892
|
+
$this.a6y_1.df();
|
|
893
|
+
tmp_0 = toLong(pending.r6x_1);
|
|
894
894
|
} else {
|
|
895
895
|
if (field instanceof KotestFieldInteger32) {
|
|
896
|
-
$this.
|
|
897
|
-
tmp_0 = toInt(pending.
|
|
896
|
+
$this.a6y_1.df();
|
|
897
|
+
tmp_0 = toInt(pending.r6x_1);
|
|
898
898
|
} else {
|
|
899
899
|
tmp_0 = null;
|
|
900
900
|
}
|
|
@@ -922,32 +922,32 @@ function seedAnnotationValueFor($this, field, candidate) {
|
|
|
922
922
|
function generateSeededShape($this, path, field, seedFieldName) {
|
|
923
923
|
var tmp0_safe_receiver = lastOrNull(path);
|
|
924
924
|
var isArrayContext = !((tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver)) == null);
|
|
925
|
-
if (isArrayContext && $this.
|
|
925
|
+
if (isArrayContext && $this.b6y_1.r()) {
|
|
926
926
|
var capture = new Capture(path, seedFieldName);
|
|
927
927
|
// Inline function 'community.flock.wirespec.integration.kotest.withFrame' call
|
|
928
|
-
var stack = $this.
|
|
928
|
+
var stack = $this.b6y_1;
|
|
929
929
|
var mark = stack.we_1;
|
|
930
930
|
stack.bf(capture);
|
|
931
931
|
var tmp;
|
|
932
932
|
try {
|
|
933
933
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
|
|
934
|
-
var frame = new ParentFrame(toString(field.
|
|
935
|
-
$this.
|
|
934
|
+
var frame = new ParentFrame(toString(field.z6w_1));
|
|
935
|
+
$this.d6y_1.bf(frame);
|
|
936
936
|
var tmp_0;
|
|
937
937
|
try {
|
|
938
938
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
|
|
939
|
-
$this.
|
|
939
|
+
$this.c6y_1 = $this.c6y_1 + 1 | 0;
|
|
940
940
|
var tmp_1;
|
|
941
941
|
try {
|
|
942
|
-
tmp_1 = field.
|
|
942
|
+
tmp_1 = field.y6w_1(path);
|
|
943
943
|
}finally {
|
|
944
|
-
$this.
|
|
944
|
+
$this.c6y_1 = $this.c6y_1 - 1 | 0;
|
|
945
945
|
}
|
|
946
946
|
tmp_0 = tmp_1;
|
|
947
947
|
}finally {
|
|
948
|
-
$this.
|
|
948
|
+
$this.d6y_1.df();
|
|
949
949
|
}
|
|
950
|
-
var tmp0_elvis_lhs = capture.
|
|
950
|
+
var tmp0_elvis_lhs = capture.w6x_1;
|
|
951
951
|
var tmp_2;
|
|
952
952
|
if (tmp0_elvis_lhs == null) {
|
|
953
953
|
var message = 'Failed to capture @Seed value at ' + toString(path) + ' for field ' + seedFieldName;
|
|
@@ -963,13 +963,13 @@ function generateSeededShape($this, path, field, seedFieldName) {
|
|
|
963
963
|
}
|
|
964
964
|
var seed = tmp;
|
|
965
965
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
|
|
966
|
-
var frame_0 = new ParentFrame(toString(field.
|
|
967
|
-
$this.
|
|
966
|
+
var frame_0 = new ParentFrame(toString(field.z6w_1));
|
|
967
|
+
$this.d6y_1.bf(frame_0);
|
|
968
968
|
var tmp_3;
|
|
969
969
|
try {
|
|
970
|
-
tmp_3 = field.
|
|
970
|
+
tmp_3 = field.y6w_1(listOf(seed));
|
|
971
971
|
}finally {
|
|
972
|
-
$this.
|
|
972
|
+
$this.d6y_1.df();
|
|
973
973
|
}
|
|
974
974
|
return tmp_3;
|
|
975
975
|
}
|
|
@@ -981,7 +981,7 @@ function generateSeededShape($this, path, field, seedFieldName) {
|
|
|
981
981
|
tmp_4 = tmp1_elvis_lhs;
|
|
982
982
|
}
|
|
983
983
|
var candidate = tmp_4;
|
|
984
|
-
var tmp0 = $this.
|
|
984
|
+
var tmp0 = $this.a6y_1;
|
|
985
985
|
// Inline function 'community.flock.wirespec.integration.kotest.withFrame' call
|
|
986
986
|
var frame_1 = new PendingSeed(candidate, seedFieldName, path);
|
|
987
987
|
var mark_0 = tmp0.we_1;
|
|
@@ -989,21 +989,21 @@ function generateSeededShape($this, path, field, seedFieldName) {
|
|
|
989
989
|
var tmp_5;
|
|
990
990
|
try {
|
|
991
991
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
|
|
992
|
-
var frame_2 = new ParentFrame(toString(field.
|
|
993
|
-
$this.
|
|
992
|
+
var frame_2 = new ParentFrame(toString(field.z6w_1));
|
|
993
|
+
$this.d6y_1.bf(frame_2);
|
|
994
994
|
var tmp_6;
|
|
995
995
|
try {
|
|
996
996
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
|
|
997
|
-
$this.
|
|
997
|
+
$this.c6y_1 = $this.c6y_1 + 1 | 0;
|
|
998
998
|
var tmp_7;
|
|
999
999
|
try {
|
|
1000
|
-
tmp_7 = field.
|
|
1000
|
+
tmp_7 = field.y6w_1(path);
|
|
1001
1001
|
}finally {
|
|
1002
|
-
$this.
|
|
1002
|
+
$this.c6y_1 = $this.c6y_1 - 1 | 0;
|
|
1003
1003
|
}
|
|
1004
1004
|
tmp_6 = tmp_7;
|
|
1005
1005
|
}finally {
|
|
1006
|
-
$this.
|
|
1006
|
+
$this.d6y_1.df();
|
|
1007
1007
|
}
|
|
1008
1008
|
tmp_5 = tmp_6;
|
|
1009
1009
|
}finally {
|
|
@@ -1014,7 +1014,7 @@ function generateSeededShape($this, path, field, seedFieldName) {
|
|
|
1014
1014
|
return tmp_5;
|
|
1015
1015
|
}
|
|
1016
1016
|
function seedFieldNameOf($this, field) {
|
|
1017
|
-
var tmp0 = field.
|
|
1017
|
+
var tmp0 = field.x6w_1.k1();
|
|
1018
1018
|
var tmp$ret$4;
|
|
1019
1019
|
$l$block_1: {
|
|
1020
1020
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -1058,7 +1058,7 @@ function seedFieldNameOf($this, field) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
function generateString($this, field, path, rs) {
|
|
1060
1060
|
var tmp;
|
|
1061
|
-
if (field.
|
|
1061
|
+
if (field.z6v_1 == null) {
|
|
1062
1062
|
tmp = null;
|
|
1063
1063
|
} else {
|
|
1064
1064
|
// Inline function 'kotlin.let' call
|
|
@@ -1074,9 +1074,9 @@ function generateString($this, field, path, rs) {
|
|
|
1074
1074
|
tmp_0 = tmp1_elvis_lhs;
|
|
1075
1075
|
}
|
|
1076
1076
|
var prefix = tmp_0;
|
|
1077
|
-
var tmp2_elvis_lhs = field.
|
|
1077
|
+
var tmp2_elvis_lhs = field.z6v_1;
|
|
1078
1078
|
var regex = tmp2_elvis_lhs == null ? '\\w{8}' : tmp2_elvis_lhs;
|
|
1079
|
-
return prefix + Companion_instance_1.
|
|
1079
|
+
return prefix + Companion_instance_1.k5a(regex).t5a(rs.k6m_1);
|
|
1080
1080
|
}
|
|
1081
1081
|
function generateLeaf($this, field, path) {
|
|
1082
1082
|
var rs = rsFor($this, path);
|
|
@@ -1086,33 +1086,33 @@ function generateLeaf($this, field, path) {
|
|
|
1086
1086
|
tmp = !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
1087
1087
|
} else {
|
|
1088
1088
|
if (field instanceof KotestFieldInteger64) {
|
|
1089
|
-
var tmp1_elvis_lhs = field.
|
|
1089
|
+
var tmp1_elvis_lhs = field.b6w_1;
|
|
1090
1090
|
var lo = tmp1_elvis_lhs == null ? new Long(0, -2147483648) : tmp1_elvis_lhs;
|
|
1091
|
-
var tmp2_elvis_lhs = field.
|
|
1091
|
+
var tmp2_elvis_lhs = field.c6w_1;
|
|
1092
1092
|
var hi = tmp2_elvis_lhs == null ? new Long(-1, 2147483647) : tmp2_elvis_lhs;
|
|
1093
1093
|
var tmp_1 = next(long(Companion_instance, longRangeToLong(lo, hi)), rs);
|
|
1094
1094
|
tmp = !(tmp_1 == null) ? tmp_1 : THROW_CCE();
|
|
1095
1095
|
} else {
|
|
1096
1096
|
if (field instanceof KotestFieldInteger32) {
|
|
1097
|
-
var tmp3_elvis_lhs = field.
|
|
1097
|
+
var tmp3_elvis_lhs = field.e6w_1;
|
|
1098
1098
|
var lo_0 = tmp3_elvis_lhs == null ? -2147483648 : tmp3_elvis_lhs;
|
|
1099
|
-
var tmp4_elvis_lhs = field.
|
|
1099
|
+
var tmp4_elvis_lhs = field.f6w_1;
|
|
1100
1100
|
var hi_0 = tmp4_elvis_lhs == null ? 2147483647 : tmp4_elvis_lhs;
|
|
1101
1101
|
var tmp_2 = next(int(Companion_instance, numberRangeToNumber(lo_0, hi_0)), rs);
|
|
1102
1102
|
tmp = !(tmp_2 == null) ? tmp_2 : THROW_CCE();
|
|
1103
1103
|
} else {
|
|
1104
1104
|
if (field instanceof KotestFieldNumber64) {
|
|
1105
|
-
var tmp5_elvis_lhs = field.
|
|
1105
|
+
var tmp5_elvis_lhs = field.h6w_1;
|
|
1106
1106
|
var lo_1 = tmp5_elvis_lhs == null ? -1000000.0 : tmp5_elvis_lhs;
|
|
1107
|
-
var tmp6_elvis_lhs = field.
|
|
1107
|
+
var tmp6_elvis_lhs = field.i6w_1;
|
|
1108
1108
|
var hi_1 = tmp6_elvis_lhs == null ? 1000000.0 : tmp6_elvis_lhs;
|
|
1109
1109
|
var tmp_3 = next(double(Companion_instance, lo_1, hi_1), rs);
|
|
1110
1110
|
tmp = !(tmp_3 == null) ? tmp_3 : THROW_CCE();
|
|
1111
1111
|
} else {
|
|
1112
1112
|
if (field instanceof KotestFieldNumber32) {
|
|
1113
|
-
var tmp7_elvis_lhs = field.
|
|
1113
|
+
var tmp7_elvis_lhs = field.k6w_1;
|
|
1114
1114
|
var lo_2 = tmp7_elvis_lhs == null ? -1000000.0 : tmp7_elvis_lhs;
|
|
1115
|
-
var tmp8_elvis_lhs = field.
|
|
1115
|
+
var tmp8_elvis_lhs = field.l6w_1;
|
|
1116
1116
|
var hi_2 = tmp8_elvis_lhs == null ? 1000000.0 : tmp8_elvis_lhs;
|
|
1117
1117
|
var tmp_4 = next(float(Companion_instance, lo_2, hi_2), rs);
|
|
1118
1118
|
tmp = !(tmp_4 == null) ? tmp_4 : THROW_CCE();
|
|
@@ -1126,11 +1126,11 @@ function generateLeaf($this, field, path) {
|
|
|
1126
1126
|
tmp = !(tmp_6 == null) ? tmp_6 : THROW_CCE();
|
|
1127
1127
|
} else {
|
|
1128
1128
|
if (field instanceof KotestFieldEnum) {
|
|
1129
|
-
var tmp_7 = next(element(Companion_instance, field.
|
|
1129
|
+
var tmp_7 = next(element(Companion_instance, field.p6w_1), rs);
|
|
1130
1130
|
tmp = !(tmp_7 == null) ? tmp_7 : THROW_CCE();
|
|
1131
1131
|
} else {
|
|
1132
1132
|
if (field instanceof KotestFieldUnion) {
|
|
1133
|
-
var tmp_8 = next(element(Companion_instance, field.
|
|
1133
|
+
var tmp_8 = next(element(Companion_instance, field.s6w_1), rs);
|
|
1134
1134
|
tmp = !(tmp_8 == null) ? tmp_8 : THROW_CCE();
|
|
1135
1135
|
} else {
|
|
1136
1136
|
if (field instanceof KotestFieldArray) {
|
|
@@ -1146,7 +1146,7 @@ function generateLeaf($this, field, path) {
|
|
|
1146
1146
|
var item = inductionVariable;
|
|
1147
1147
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1148
1148
|
var i = item;
|
|
1149
|
-
var tmp$ret$0 = field.
|
|
1149
|
+
var tmp$ret$0 = field.v6w_1(plus(path, '' + i));
|
|
1150
1150
|
destination.y(tmp$ret$0);
|
|
1151
1151
|
}
|
|
1152
1152
|
while (!(item === last));
|
|
@@ -1158,26 +1158,26 @@ function generateLeaf($this, field, path) {
|
|
|
1158
1158
|
if (next(int(Companion_instance, numberRangeToNumber(0, 4)), rs) === 0) {
|
|
1159
1159
|
tmp_10 = (null == null ? true : !(null == null)) ? null : THROW_CCE();
|
|
1160
1160
|
} else {
|
|
1161
|
-
var tmp_11 = field.
|
|
1161
|
+
var tmp_11 = field.w6w_1(path);
|
|
1162
1162
|
tmp_10 = !(tmp_11 == null) ? tmp_11 : THROW_CCE();
|
|
1163
1163
|
}
|
|
1164
1164
|
tmp = tmp_10;
|
|
1165
1165
|
} else {
|
|
1166
1166
|
if (field instanceof KotestFieldShape) {
|
|
1167
1167
|
// Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
|
|
1168
|
-
var frame = new ParentFrame(toString(field.
|
|
1169
|
-
$this.
|
|
1168
|
+
var frame = new ParentFrame(toString(field.z6w_1));
|
|
1169
|
+
$this.d6y_1.bf(frame);
|
|
1170
1170
|
var tmp_12;
|
|
1171
1171
|
try {
|
|
1172
|
-
tmp_12 = field.
|
|
1172
|
+
tmp_12 = field.y6w_1(path);
|
|
1173
1173
|
}finally {
|
|
1174
|
-
$this.
|
|
1174
|
+
$this.d6y_1.df();
|
|
1175
1175
|
}
|
|
1176
1176
|
var tmp_13 = tmp_12;
|
|
1177
1177
|
tmp = !(tmp_13 == null) ? tmp_13 : THROW_CCE();
|
|
1178
1178
|
} else {
|
|
1179
1179
|
if (field instanceof KotestFieldDict) {
|
|
1180
|
-
var tmp_14 = mapOf(to('a', field.
|
|
1180
|
+
var tmp_14 = mapOf(to('a', field.a6x_1(plus(path, 'a'))));
|
|
1181
1181
|
tmp = !(tmp_14 == null) ? tmp_14 : THROW_CCE();
|
|
1182
1182
|
} else {
|
|
1183
1183
|
noWhenBranchMatchedException();
|
|
@@ -1198,19 +1198,19 @@ function generateLeaf($this, field, path) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
function fieldAnnotations($this, _this__u8e3s4) {
|
|
1200
1200
|
var tmp0_safe_receiver = isInterface(_this__u8e3s4, KotestLeafField) ? _this__u8e3s4 : null;
|
|
1201
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1201
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h26();
|
|
1202
1202
|
return tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
1203
1203
|
}
|
|
1204
1204
|
function KotestWirespecGenerator(baseSeed, overrides, refinedWrapper) {
|
|
1205
|
-
this.
|
|
1206
|
-
this.
|
|
1207
|
-
this.
|
|
1208
|
-
this.
|
|
1205
|
+
this.x6x_1 = baseSeed;
|
|
1206
|
+
this.y6x_1 = overrides;
|
|
1207
|
+
this.z6x_1 = refinedWrapper;
|
|
1208
|
+
this.a6y_1 = ArrayDeque_init_$Create$();
|
|
1209
|
+
this.b6y_1 = ArrayDeque_init_$Create$();
|
|
1210
|
+
this.c6y_1 = 0;
|
|
1209
1211
|
this.d6y_1 = ArrayDeque_init_$Create$();
|
|
1210
|
-
this.e6y_1 = 0;
|
|
1211
|
-
this.f6y_1 = ArrayDeque_init_$Create$();
|
|
1212
1212
|
}
|
|
1213
|
-
protoOf(KotestWirespecGenerator).
|
|
1213
|
+
protoOf(KotestWirespecGenerator).e6y = function (path, field) {
|
|
1214
1214
|
var tmp0_safe_receiver = captureSeedIfMatches(this, path, field);
|
|
1215
1215
|
if (tmp0_safe_receiver == null)
|
|
1216
1216
|
null;
|
|
@@ -1227,7 +1227,7 @@ protoOf(KotestWirespecGenerator).g6y = function (path, field) {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
var annotations = fieldAnnotations(this, field);
|
|
1229
1229
|
var tmp;
|
|
1230
|
-
if (this.
|
|
1230
|
+
if (this.c6y_1 === 0) {
|
|
1231
1231
|
var tmp$ret$2;
|
|
1232
1232
|
$l$block_0: {
|
|
1233
1233
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1272,7 +1272,7 @@ protoOf(KotestWirespecGenerator).g6y = function (path, field) {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
1274
|
var tmp_2;
|
|
1275
|
-
if (this.
|
|
1275
|
+
if (this.c6y_1 === 0) {
|
|
1276
1276
|
tmp_2 = field instanceof KotestFieldShape;
|
|
1277
1277
|
} else {
|
|
1278
1278
|
tmp_2 = false;
|
|
@@ -1293,50 +1293,50 @@ protoOf(KotestWirespecGenerator).g6y = function (path, field) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
var tmp4_safe_receiver = this.
|
|
1296
|
+
var tmp4_safe_receiver = this.y6x_1.f6x(path);
|
|
1297
1297
|
if (tmp4_safe_receiver == null)
|
|
1298
1298
|
null;
|
|
1299
1299
|
else {
|
|
1300
1300
|
// Inline function 'kotlin.let' call
|
|
1301
1301
|
var drawn = drawOne(tmp4_safe_receiver(), rsFor(this, path));
|
|
1302
|
-
var tmp_4 = this.
|
|
1302
|
+
var tmp_4 = this.z6x_1.m6x(drawn, field, path);
|
|
1303
1303
|
return (tmp_4 == null ? true : !(tmp_4 == null)) ? tmp_4 : THROW_CCE();
|
|
1304
1304
|
}
|
|
1305
|
-
var parent = this.
|
|
1305
|
+
var parent = this.d6y_1.ze();
|
|
1306
1306
|
var leafName = lastOrNull(path);
|
|
1307
1307
|
if (!(parent == null) && !(leafName == null)) {
|
|
1308
|
-
var tmp5_safe_receiver = this.
|
|
1308
|
+
var tmp5_safe_receiver = this.y6x_1.j6x(new FieldKey(parent.q6x_1, leafName));
|
|
1309
1309
|
if (tmp5_safe_receiver == null)
|
|
1310
1310
|
null;
|
|
1311
1311
|
else {
|
|
1312
1312
|
// Inline function 'kotlin.let' call
|
|
1313
1313
|
var drawn_0 = drawOne(tmp5_safe_receiver(), rsFor(this, path));
|
|
1314
|
-
var tmp_5 = this.
|
|
1314
|
+
var tmp_5 = this.z6x_1.m6x(drawn_0, field, path);
|
|
1315
1315
|
return (tmp_5 == null ? true : !(tmp_5 == null)) ? tmp_5 : THROW_CCE();
|
|
1316
1316
|
}
|
|
1317
1317
|
}
|
|
1318
1318
|
return generateLeaf(this, field, path);
|
|
1319
1319
|
};
|
|
1320
1320
|
function drawOne(_this__u8e3s4, rs) {
|
|
1321
|
-
return first(_this__u8e3s4.
|
|
1321
|
+
return first(_this__u8e3s4.t6m(rs)).v6m_1;
|
|
1322
1322
|
}
|
|
1323
1323
|
function kotestGenerator$lambda(_this__u8e3s4) {
|
|
1324
1324
|
return Unit_instance;
|
|
1325
1325
|
}
|
|
1326
1326
|
function KotestWirespecGeneratorJs(inner) {
|
|
1327
|
-
this.
|
|
1327
|
+
this.f6y_1 = inner;
|
|
1328
1328
|
}
|
|
1329
1329
|
protoOf(KotestWirespecGeneratorJs).generate = function (path, field) {
|
|
1330
1330
|
var kotlinField = jsToKotestField(field);
|
|
1331
1331
|
var tmp = toList(path);
|
|
1332
|
-
var result = this.
|
|
1332
|
+
var result = this.f6y_1.e6y(tmp, isInterface(kotlinField, KotestField) ? kotlinField : THROW_CCE());
|
|
1333
1333
|
return kotlinToJs(result);
|
|
1334
1334
|
};
|
|
1335
1335
|
function KotestWirespecGeneratorJsBuilder(inner) {
|
|
1336
|
-
this.
|
|
1336
|
+
this.g6y_1 = inner;
|
|
1337
1337
|
}
|
|
1338
1338
|
protoOf(KotestWirespecGeneratorJsBuilder).registerPath = function (segments, value) {
|
|
1339
|
-
this.
|
|
1339
|
+
this.g6y_1.p6x(segments.slice(), value);
|
|
1340
1340
|
};
|
|
1341
1341
|
function kotestWirespecGeneratorJs(seed, configure) {
|
|
1342
1342
|
configure = configure === VOID ? null : configure;
|