@tuprolog/2p-full 1.4.1 → 1.5.1
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/2p-bdd.js +152 -152
- package/2p-core.js +2379 -2379
- package/2p-core.js.map +1 -1
- package/2p-solve-classic.js +853 -853
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +2 -2
- package/2p-solve-problog.js +1166 -1166
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +818 -818
- package/2p-solve.js +3245 -3250
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1352 -1352
- package/2p-unify.js +321 -321
- package/2p-utils.js +352 -352
- package/README.md +4 -3
- package/kotlin-kotlin-stdlib.js +1282 -1244
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1460 -1460
- package/okio-parent-okio-nodefilesystem.js +15 -0
- package/okio-parent-okio-nodefilesystem.js.map +1 -0
- package/okio-parent-okio.js +15 -0
- package/okio-parent-okio.js.map +1 -0
- package/package.json +1 -1
package/2p-solve-streams.js
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.d;
|
|
48
48
|
var objectCreate = kotlin_kotlin.$_$.o6;
|
|
49
49
|
var filter = kotlin_kotlin.$_$.v7;
|
|
50
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
50
|
+
var THROW_CCE = kotlin_kotlin.$_$.oa;
|
|
51
51
|
var Sequence = kotlin_kotlin.$_$.j7;
|
|
52
52
|
var map = kotlin_kotlin.$_$.h8;
|
|
53
53
|
var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.c4;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
var Solver = kotlin_it_unibo_tuprolog_solve.$_$.z3;
|
|
74
74
|
var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.g1;
|
|
75
75
|
var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.f1;
|
|
76
|
-
var NotImplementedError = kotlin_kotlin.$_$.
|
|
76
|
+
var NotImplementedError = kotlin_kotlin.$_$.ja;
|
|
77
77
|
var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.c1;
|
|
78
78
|
var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.d1;
|
|
79
79
|
var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.w3;
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
var plus_0 = kotlin_kotlin.$_$.k8;
|
|
108
108
|
var Collection = kotlin_kotlin.$_$.p1;
|
|
109
109
|
var toString = kotlin_kotlin.$_$.s6;
|
|
110
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
110
|
+
var toString_0 = kotlin_kotlin.$_$.ya;
|
|
111
111
|
var hashCode = kotlin_kotlin.$_$.z5;
|
|
112
112
|
var getBooleanHashCode = kotlin_kotlin.$_$.v5;
|
|
113
113
|
var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.e;
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
var toList = kotlin_kotlin.$_$.v8;
|
|
132
132
|
var Companion_instance_7 = kotlin_it_unibo_tuprolog_solve.$_$.e;
|
|
133
133
|
var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.a4;
|
|
134
|
-
var lazy = kotlin_kotlin.$_$.
|
|
134
|
+
var lazy = kotlin_kotlin.$_$.ua;
|
|
135
135
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.d2;
|
|
136
136
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.n;
|
|
137
137
|
var KProperty1 = kotlin_kotlin.$_$.h7;
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
var TypeError_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.i1;
|
|
177
177
|
var last = kotlin_kotlin.$_$.y2;
|
|
178
178
|
var first_1 = kotlin_kotlin.$_$.q2;
|
|
179
|
-
var Pair = kotlin_kotlin.$_$.
|
|
179
|
+
var Pair = kotlin_kotlin.$_$.ma;
|
|
180
180
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.c6;
|
|
181
181
|
var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.k;
|
|
182
182
|
var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.d2;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
initMetadataForClass(AlreadyExecutedState, 'AlreadyExecutedState');
|
|
196
196
|
initMetadataForInterface(FinalState, 'FinalState');
|
|
197
197
|
function get_context() {
|
|
198
|
-
var tmp = this.
|
|
198
|
+
var tmp = this.f3d().context;
|
|
199
199
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
200
200
|
}
|
|
201
201
|
initMetadataForInterface(IntermediateState, 'IntermediateState');
|
|
@@ -229,19 +229,19 @@
|
|
|
229
229
|
//endregion
|
|
230
230
|
function SolverStrategies$Companion$prologStandard$1() {
|
|
231
231
|
}
|
|
232
|
-
protoOf(SolverStrategies$Companion$prologStandard$1).
|
|
232
|
+
protoOf(SolverStrategies$Companion$prologStandard$1).b3d = function (predicationSequence, context) {
|
|
233
233
|
return first(predicationSequence);
|
|
234
234
|
};
|
|
235
|
-
protoOf(SolverStrategies$Companion$prologStandard$1).
|
|
235
|
+
protoOf(SolverStrategies$Companion$prologStandard$1).c3d = function (unifiableClauses, context) {
|
|
236
236
|
return first(unifiableClauses);
|
|
237
237
|
};
|
|
238
|
-
protoOf(SolverStrategies$Companion$prologStandard$1).
|
|
239
|
-
return term.
|
|
238
|
+
protoOf(SolverStrategies$Companion$prologStandard$1).d3d = function (term, context) {
|
|
239
|
+
return term.yt();
|
|
240
240
|
};
|
|
241
241
|
function Companion() {
|
|
242
242
|
Companion_instance_10 = this;
|
|
243
243
|
var tmp = this;
|
|
244
|
-
tmp.
|
|
244
|
+
tmp.e3d_1 = new SolverStrategies$Companion$prologStandard$1();
|
|
245
245
|
}
|
|
246
246
|
var Companion_instance_10;
|
|
247
247
|
function Companion_getInstance_5() {
|
|
@@ -251,12 +251,12 @@
|
|
|
251
251
|
}
|
|
252
252
|
function SolverStrategies$clauseChoiceStrategy$ref(p0) {
|
|
253
253
|
return constructCallableReference(function (p0_0, p1) {
|
|
254
|
-
return p0.
|
|
254
|
+
return p0.c3d(p0_0, p1);
|
|
255
255
|
}, 2, 0, 94, 'clauseChoiceStrategy', [p0]);
|
|
256
256
|
}
|
|
257
257
|
function SolverStrategies$predicationChoiceStrategy$ref(p0) {
|
|
258
258
|
return constructCallableReference(function (p0_0, p1) {
|
|
259
|
-
return p0.
|
|
259
|
+
return p0.b3d(p0_0, p1);
|
|
260
260
|
}, 2, 0, 95, 'predicationChoiceStrategy', [p0]);
|
|
261
261
|
}
|
|
262
262
|
function StreamsSolver$Companion$solveToFinalStates$lambda(it) {
|
|
@@ -264,14 +264,14 @@
|
|
|
264
264
|
}
|
|
265
265
|
function StreamsSolver$Companion$solveToFinalStates$lambda_0($goalRequest) {
|
|
266
266
|
return function (it) {
|
|
267
|
-
return it.
|
|
267
|
+
return it.f3d().solution.q1v().equals($goalRequest.q1v());
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
function StreamsSolver$Companion$solveToResponses$lambda(it) {
|
|
271
|
-
return it.
|
|
271
|
+
return it.f3d();
|
|
272
272
|
}
|
|
273
273
|
function StreamsSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $this) {
|
|
274
|
-
unificator = unificator === VOID ? Companion_getInstance().
|
|
274
|
+
unificator = unificator === VOID ? Companion_getInstance().n1k() : unificator;
|
|
275
275
|
libraries = libraries === VOID ? Companion_instance.empty() : libraries;
|
|
276
276
|
flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
|
|
277
277
|
staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
stdOut = stdOut === VOID ? Companion_instance_3.stdOut() : stdOut;
|
|
281
281
|
stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
|
|
282
282
|
warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
|
|
283
|
-
StreamsSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.
|
|
283
|
+
StreamsSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.q1x(stdIn), Companion_instance_5.t1x(stdOut, stdErr, warnings));
|
|
284
284
|
return $this;
|
|
285
285
|
}
|
|
286
286
|
function StreamsSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
@@ -288,15 +288,15 @@
|
|
|
288
288
|
}
|
|
289
289
|
function Companion_0() {
|
|
290
290
|
}
|
|
291
|
-
protoOf(Companion_0).
|
|
291
|
+
protoOf(Companion_0).g3d = function (goalRequest) {
|
|
292
292
|
// Inline function 'kotlin.sequences.filterIsInstance' call
|
|
293
|
-
var this_0 = StateMachineExecutor_instance.
|
|
293
|
+
var this_0 = StateMachineExecutor_instance.h3d(new StateInit(goalRequest));
|
|
294
294
|
var tmp = filter(this_0, StreamsSolver$Companion$solveToFinalStates$lambda);
|
|
295
295
|
var tmp_0 = isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
296
296
|
return filter(tmp_0, StreamsSolver$Companion$solveToFinalStates$lambda_0(goalRequest));
|
|
297
297
|
};
|
|
298
|
-
protoOf(Companion_0).
|
|
299
|
-
var tmp = this.
|
|
298
|
+
protoOf(Companion_0).i3d = function (goalRequest) {
|
|
299
|
+
var tmp = this.g3d(goalRequest);
|
|
300
300
|
return map(tmp, StreamsSolver$Companion$solveToResponses$lambda);
|
|
301
301
|
};
|
|
302
302
|
var Companion_instance_11;
|
|
@@ -305,83 +305,83 @@
|
|
|
305
305
|
}
|
|
306
306
|
function StreamsSolver$solve$lambda(this$0) {
|
|
307
307
|
return function (it) {
|
|
308
|
-
this$0.
|
|
309
|
-
return it.
|
|
308
|
+
this$0.j3d_1 = it.i8().z30(it.f3d().sideEffects);
|
|
309
|
+
return it.f3d().solution.cleanUp();
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
function StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
313
|
-
unificator = unificator === VOID ? Companion_getInstance().
|
|
313
|
+
unificator = unificator === VOID ? Companion_getInstance().n1k() : unificator;
|
|
314
314
|
libraries = libraries === VOID ? Companion_instance.empty() : libraries;
|
|
315
315
|
flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
|
|
316
316
|
staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
|
|
317
317
|
dynamicKb = dynamicKb === VOID ? Companion_instance_0.empty(unificator) : dynamicKb;
|
|
318
318
|
inputChannels = inputChannels === VOID ? Companion_instance_4.fromStandard() : inputChannels;
|
|
319
319
|
outputChannels = outputChannels === VOID ? Companion_instance_5.fromStandard() : outputChannels;
|
|
320
|
-
this.
|
|
320
|
+
this.j3d_1 = new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb])), inputChannels, outputChannels);
|
|
321
321
|
}
|
|
322
|
-
protoOf(StreamsSolver).
|
|
323
|
-
this.
|
|
324
|
-
var tmp = Companion_instance_11.
|
|
322
|
+
protoOf(StreamsSolver).o2a = function (goal, options) {
|
|
323
|
+
this.j3d_1 = new StreamsExecutionContext(this.u1k(), this.r1u(), this.s1u(), this.t1u(), this.u1u(), VOID, this.v1u(), this.w1u(), VOID, VOID, VOID, options.y1w());
|
|
324
|
+
var tmp = Companion_instance_11.g3d(new Request(extractSignature(goal), goal.bu(), this.j3d_1));
|
|
325
325
|
var solutionSequence = map(tmp, StreamsSolver$solve$lambda(this));
|
|
326
|
-
if (options.
|
|
327
|
-
solutionSequence = take(solutionSequence, options.
|
|
326
|
+
if (options.z1w() > 0) {
|
|
327
|
+
solutionSequence = take(solutionSequence, options.z1w());
|
|
328
328
|
}
|
|
329
|
-
if (options.
|
|
329
|
+
if (options.x1w()) {
|
|
330
330
|
solutionSequence = buffered(solutionSequence);
|
|
331
331
|
}
|
|
332
332
|
return solutionSequence;
|
|
333
333
|
};
|
|
334
334
|
protoOf(StreamsSolver).solveWithOptions = function (goal, options) {
|
|
335
|
-
return this.
|
|
335
|
+
return this.o2a(goal, options);
|
|
336
336
|
};
|
|
337
|
-
protoOf(StreamsSolver).
|
|
337
|
+
protoOf(StreamsSolver).i1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
338
338
|
return StreamsSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
339
339
|
};
|
|
340
340
|
protoOf(StreamsSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
341
341
|
return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolver) ? $super : THROW_CCE());
|
|
342
342
|
};
|
|
343
|
-
protoOf(StreamsSolver).
|
|
344
|
-
return this.
|
|
345
|
-
};
|
|
346
|
-
protoOf(StreamsSolver).o1u = function () {
|
|
347
|
-
return this.g3d_1.i3d_1;
|
|
348
|
-
};
|
|
349
|
-
protoOf(StreamsSolver).p1u = function () {
|
|
350
|
-
return this.g3d_1.j3d_1;
|
|
351
|
-
};
|
|
352
|
-
protoOf(StreamsSolver).q1u = function () {
|
|
353
|
-
return this.g3d_1.k3d_1;
|
|
343
|
+
protoOf(StreamsSolver).u1k = function () {
|
|
344
|
+
return this.j3d_1.k3d_1;
|
|
354
345
|
};
|
|
355
346
|
protoOf(StreamsSolver).r1u = function () {
|
|
356
|
-
return this.
|
|
347
|
+
return this.j3d_1.l3d_1;
|
|
357
348
|
};
|
|
358
349
|
protoOf(StreamsSolver).s1u = function () {
|
|
359
|
-
return this.
|
|
350
|
+
return this.j3d_1.m3d_1;
|
|
360
351
|
};
|
|
361
352
|
protoOf(StreamsSolver).t1u = function () {
|
|
362
|
-
return this.
|
|
353
|
+
return this.j3d_1.n3d_1;
|
|
354
|
+
};
|
|
355
|
+
protoOf(StreamsSolver).u1u = function () {
|
|
356
|
+
return this.j3d_1.o3d_1;
|
|
357
|
+
};
|
|
358
|
+
protoOf(StreamsSolver).v1u = function () {
|
|
359
|
+
return this.j3d_1.q3d_1;
|
|
363
360
|
};
|
|
364
|
-
protoOf(StreamsSolver).
|
|
365
|
-
return this.
|
|
361
|
+
protoOf(StreamsSolver).w1u = function () {
|
|
362
|
+
return this.j3d_1.r3d_1;
|
|
363
|
+
};
|
|
364
|
+
protoOf(StreamsSolver).a1v = function () {
|
|
365
|
+
return this.j3d_1.p3d_1;
|
|
366
366
|
};
|
|
367
367
|
function StreamsSolverFactory() {
|
|
368
368
|
}
|
|
369
|
-
protoOf(StreamsSolverFactory).
|
|
369
|
+
protoOf(StreamsSolverFactory).d1x = function () {
|
|
370
370
|
return DefaultBuiltins_getInstance();
|
|
371
371
|
};
|
|
372
|
-
protoOf(StreamsSolverFactory).
|
|
372
|
+
protoOf(StreamsSolverFactory).o1x = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
|
|
373
373
|
return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
|
|
374
374
|
};
|
|
375
375
|
protoOf(StreamsSolverFactory).rawSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
|
|
376
376
|
return this.rawSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
|
|
377
377
|
};
|
|
378
|
-
protoOf(StreamsSolverFactory).
|
|
379
|
-
return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.
|
|
378
|
+
protoOf(StreamsSolverFactory).u1x = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
379
|
+
return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.q1x(stdIn), Companion_instance_5.t1x(stdOut, stdErr, warnings));
|
|
380
380
|
};
|
|
381
381
|
protoOf(StreamsSolverFactory).solverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
382
382
|
return this.solverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
|
|
383
383
|
};
|
|
384
|
-
protoOf(StreamsSolverFactory).
|
|
384
|
+
protoOf(StreamsSolverFactory).w1x = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
385
385
|
// Inline function 'kotlin.TODO' call
|
|
386
386
|
var reason = 'Mutable stream solver is not supported yet';
|
|
387
387
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
protoOf(StreamsSolverFactory).mutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
390
390
|
return this.mutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
|
|
391
391
|
};
|
|
392
|
-
protoOf(StreamsSolverFactory).
|
|
392
|
+
protoOf(StreamsSolverFactory).y1x = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
|
|
393
393
|
// Inline function 'kotlin.TODO' call
|
|
394
394
|
var reason = 'Mutable stream solver is not supported yet';
|
|
395
395
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
@@ -403,13 +403,13 @@
|
|
|
403
403
|
}
|
|
404
404
|
function getFirstChoicePointContext($this) {
|
|
405
405
|
// Inline function 'kotlin.collections.filter' call
|
|
406
|
-
var tmp0 = $this.
|
|
406
|
+
var tmp0 = $this.z3d_1;
|
|
407
407
|
// Inline function 'kotlin.collections.filterTo' call
|
|
408
408
|
var destination = ArrayList_init_$Create$();
|
|
409
409
|
var _iterator__ex2g4s = tmp0.n();
|
|
410
410
|
while (_iterator__ex2g4s.q()) {
|
|
411
411
|
var element = _iterator__ex2g4s.r();
|
|
412
|
-
if (element.
|
|
412
|
+
if (element.x3d_1.a3e_1) {
|
|
413
413
|
destination.l(element);
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
var _iterator__ex2g4s_0 = destination.n();
|
|
421
421
|
while (_iterator__ex2g4s_0.q()) {
|
|
422
422
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
423
|
-
var tmp0_safe_receiver = firstOrNull(element_0.
|
|
423
|
+
var tmp0_safe_receiver = firstOrNull(element_0.x3d_1.z3d_1);
|
|
424
424
|
if (tmp0_safe_receiver == null)
|
|
425
425
|
null;
|
|
426
426
|
else {
|
|
@@ -437,34 +437,34 @@
|
|
|
437
437
|
logicalParentRequests = logicalParentRequests === VOID ? emptyList() : logicalParentRequests;
|
|
438
438
|
throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? emptySequence() : throwNonSelectableParentContexts;
|
|
439
439
|
throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? null : throwRelatedToCutContextsParent;
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
440
|
+
this.z3d_1 = clauseScopedParents;
|
|
441
|
+
this.a3e_1 = isChoicePointChild;
|
|
442
|
+
this.b3e_1 = toCutContextsParent;
|
|
443
|
+
this.c3e_1 = logicalParentRequests;
|
|
444
|
+
this.d3e_1 = throwNonSelectableParentContexts;
|
|
445
|
+
this.e3e_1 = throwRelatedToCutContextsParent;
|
|
446
446
|
}
|
|
447
|
-
protoOf(SideEffectManagerImpl).
|
|
448
|
-
return this.
|
|
447
|
+
protoOf(SideEffectManagerImpl).f3e = function () {
|
|
448
|
+
return this.g3e(VOID, VOID, plus(this.b3e_1, getFirstChoicePointContext(this)));
|
|
449
449
|
};
|
|
450
450
|
protoOf(SideEffectManagerImpl).cut = function () {
|
|
451
|
-
return this.
|
|
451
|
+
return this.f3e();
|
|
452
452
|
};
|
|
453
|
-
protoOf(SideEffectManagerImpl).
|
|
453
|
+
protoOf(SideEffectManagerImpl).h3e = function (currentContext) {
|
|
454
454
|
// Inline function 'kotlin.apply' call
|
|
455
|
-
var this_0 = toMutableList(this.
|
|
456
|
-
this_0.
|
|
457
|
-
return this.
|
|
455
|
+
var this_0 = toMutableList(this.z3d_1);
|
|
456
|
+
this_0.s3(0, currentContext);
|
|
457
|
+
return this.g3e(this_0, false);
|
|
458
458
|
};
|
|
459
|
-
protoOf(SideEffectManagerImpl).
|
|
459
|
+
protoOf(SideEffectManagerImpl).i3e = function (currentContext, isChoicePointChild, logicalParentRequest) {
|
|
460
460
|
// Inline function 'kotlin.apply' call
|
|
461
|
-
var this_0 = toMutableList(this.
|
|
462
|
-
this_0.
|
|
461
|
+
var this_0 = toMutableList(this.z3d_1);
|
|
462
|
+
this_0.s3(0, currentContext);
|
|
463
463
|
var tmp = this_0;
|
|
464
464
|
var tmp_0;
|
|
465
|
-
if (this.
|
|
465
|
+
if (this.c3e_1.y(logicalParentRequest)) {
|
|
466
466
|
// Inline function 'kotlin.collections.dropWhile' call
|
|
467
|
-
var this_1 = this.
|
|
467
|
+
var this_1 = this.c3e_1;
|
|
468
468
|
var yielding = false;
|
|
469
469
|
var list = ArrayList_init_$Create$();
|
|
470
470
|
var _iterator__ex2g4s = this_1.n();
|
|
@@ -482,27 +482,27 @@
|
|
|
482
482
|
tmp_0 = list;
|
|
483
483
|
} else {
|
|
484
484
|
// Inline function 'kotlin.apply' call
|
|
485
|
-
var this_2 = toMutableList(this.
|
|
486
|
-
this_2.
|
|
485
|
+
var this_2 = toMutableList(this.c3e_1);
|
|
486
|
+
this_2.s3(0, logicalParentRequest);
|
|
487
487
|
tmp_0 = this_2;
|
|
488
488
|
}
|
|
489
|
-
return this.
|
|
489
|
+
return this.g3e(tmp, isChoicePointChild, VOID, tmp_0);
|
|
490
490
|
};
|
|
491
|
-
protoOf(SideEffectManagerImpl).
|
|
492
|
-
return this.
|
|
491
|
+
protoOf(SideEffectManagerImpl).j3e = function () {
|
|
492
|
+
return this.g3e(listOf(first_0(this.z3d_1)));
|
|
493
493
|
};
|
|
494
|
-
protoOf(SideEffectManagerImpl).
|
|
494
|
+
protoOf(SideEffectManagerImpl).k3e = function (upperScopeSideEffectsManager) {
|
|
495
495
|
// Inline function 'kotlin.apply' call
|
|
496
|
-
var this_0 = toMutableList(this.
|
|
497
|
-
this_0.w(upperScopeSideEffectsManager.
|
|
498
|
-
return this.
|
|
496
|
+
var this_0 = toMutableList(this.z3d_1);
|
|
497
|
+
this_0.w(upperScopeSideEffectsManager.z3d_1);
|
|
498
|
+
return this.g3e(this_0);
|
|
499
499
|
};
|
|
500
|
-
protoOf(SideEffectManagerImpl).
|
|
501
|
-
return contains(this.
|
|
500
|
+
protoOf(SideEffectManagerImpl).l3e = function () {
|
|
501
|
+
return contains(this.b3e_1, lastOrNull(this.z3d_1)) || this.m3e();
|
|
502
502
|
};
|
|
503
|
-
protoOf(SideEffectManagerImpl).
|
|
503
|
+
protoOf(SideEffectManagerImpl).n3e = function (toUnifyArgument) {
|
|
504
504
|
// Inline function 'kotlin.collections.filter' call
|
|
505
|
-
var tmp0 = this.
|
|
505
|
+
var tmp0 = this.c3e_1;
|
|
506
506
|
// Inline function 'kotlin.collections.filterTo' call
|
|
507
507
|
var destination = ArrayList_init_$Create$();
|
|
508
508
|
var _iterator__ex2g4s = tmp0.n();
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
var _iterator__ex2g4s_0 = destination.n();
|
|
519
519
|
while (_iterator__ex2g4s_0.q()) {
|
|
520
520
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
521
|
-
if (!contains(this.
|
|
521
|
+
if (!contains(this.d3e_1, element_0.context)) {
|
|
522
522
|
destination_0.l(element_0);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
@@ -539,20 +539,20 @@
|
|
|
539
539
|
}
|
|
540
540
|
return tmp$ret$7;
|
|
541
541
|
};
|
|
542
|
-
protoOf(SideEffectManagerImpl).
|
|
543
|
-
return this.
|
|
542
|
+
protoOf(SideEffectManagerImpl).o3e = function (ancestorCatchContext) {
|
|
543
|
+
return this.g3e(VOID, VOID, VOID, VOID, VOID, ancestorCatchContext);
|
|
544
544
|
};
|
|
545
|
-
protoOf(SideEffectManagerImpl).
|
|
546
|
-
return equals(this.
|
|
545
|
+
protoOf(SideEffectManagerImpl).p3e = function (contextImpl) {
|
|
546
|
+
return equals(this.e3e_1, contextImpl);
|
|
547
547
|
};
|
|
548
|
-
protoOf(SideEffectManagerImpl).
|
|
549
|
-
return this.
|
|
548
|
+
protoOf(SideEffectManagerImpl).q3e = function (contextImpl) {
|
|
549
|
+
return this.g3e(VOID, VOID, VOID, VOID, plus_0(this.d3e_1, contextImpl));
|
|
550
550
|
};
|
|
551
|
-
protoOf(SideEffectManagerImpl).
|
|
552
|
-
return this.
|
|
551
|
+
protoOf(SideEffectManagerImpl).r3e = function (toRecoverSituation) {
|
|
552
|
+
return this.g3e(VOID, VOID, toRecoverSituation.b3e_1);
|
|
553
553
|
};
|
|
554
|
-
protoOf(SideEffectManagerImpl).
|
|
555
|
-
var tmp0 = this.
|
|
554
|
+
protoOf(SideEffectManagerImpl).m3e = function () {
|
|
555
|
+
var tmp0 = this.c3e_1;
|
|
556
556
|
var tmp$ret$0;
|
|
557
557
|
$l$block_0: {
|
|
558
558
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
var _iterator__ex2g4s = tmp0.n();
|
|
570
570
|
while (_iterator__ex2g4s.q()) {
|
|
571
571
|
var element = _iterator__ex2g4s.r();
|
|
572
|
-
if (element.context.equals(this.
|
|
572
|
+
if (element.context.equals(this.e3e_1)) {
|
|
573
573
|
tmp$ret$0 = true;
|
|
574
574
|
break $l$block_0;
|
|
575
575
|
}
|
|
@@ -578,28 +578,28 @@
|
|
|
578
578
|
}
|
|
579
579
|
return tmp$ret$0;
|
|
580
580
|
};
|
|
581
|
-
protoOf(SideEffectManagerImpl).
|
|
581
|
+
protoOf(SideEffectManagerImpl).s3e = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) {
|
|
582
582
|
return new SideEffectManagerImpl(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
|
|
583
583
|
};
|
|
584
|
-
protoOf(SideEffectManagerImpl).
|
|
585
|
-
clauseScopedParents = clauseScopedParents === VOID ? this.
|
|
586
|
-
isChoicePointChild = isChoicePointChild === VOID ? this.
|
|
587
|
-
toCutContextsParent = toCutContextsParent === VOID ? this.
|
|
588
|
-
logicalParentRequests = logicalParentRequests === VOID ? this.
|
|
589
|
-
throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? this.
|
|
590
|
-
throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? this.
|
|
591
|
-
return $super === VOID ? this.
|
|
584
|
+
protoOf(SideEffectManagerImpl).g3e = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent, $super) {
|
|
585
|
+
clauseScopedParents = clauseScopedParents === VOID ? this.z3d_1 : clauseScopedParents;
|
|
586
|
+
isChoicePointChild = isChoicePointChild === VOID ? this.a3e_1 : isChoicePointChild;
|
|
587
|
+
toCutContextsParent = toCutContextsParent === VOID ? this.b3e_1 : toCutContextsParent;
|
|
588
|
+
logicalParentRequests = logicalParentRequests === VOID ? this.c3e_1 : logicalParentRequests;
|
|
589
|
+
throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? this.d3e_1 : throwNonSelectableParentContexts;
|
|
590
|
+
throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? this.e3e_1 : throwRelatedToCutContextsParent;
|
|
591
|
+
return $super === VOID ? this.s3e(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) : $super.s3e.call(this, clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
|
|
592
592
|
};
|
|
593
593
|
protoOf(SideEffectManagerImpl).toString = function () {
|
|
594
|
-
return 'SideEffectManagerImpl(clauseScopedParents=' + toString(this.
|
|
594
|
+
return 'SideEffectManagerImpl(clauseScopedParents=' + toString(this.z3d_1) + ', isChoicePointChild=' + this.a3e_1 + ', toCutContextsParent=' + toString(this.b3e_1) + ', logicalParentRequests=' + toString(this.c3e_1) + ', throwNonSelectableParentContexts=' + toString(this.d3e_1) + ', throwRelatedToCutContextsParent=' + toString_0(this.e3e_1) + ')';
|
|
595
595
|
};
|
|
596
596
|
protoOf(SideEffectManagerImpl).hashCode = function () {
|
|
597
|
-
var result = hashCode(this.
|
|
598
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
599
|
-
result = imul(result, 31) + hashCode(this.
|
|
600
|
-
result = imul(result, 31) + hashCode(this.
|
|
601
|
-
result = imul(result, 31) + hashCode(this.
|
|
602
|
-
result = imul(result, 31) + (this.
|
|
597
|
+
var result = hashCode(this.z3d_1);
|
|
598
|
+
result = imul(result, 31) + getBooleanHashCode(this.a3e_1) | 0;
|
|
599
|
+
result = imul(result, 31) + hashCode(this.b3e_1) | 0;
|
|
600
|
+
result = imul(result, 31) + hashCode(this.c3e_1) | 0;
|
|
601
|
+
result = imul(result, 31) + hashCode(this.d3e_1) | 0;
|
|
602
|
+
result = imul(result, 31) + (this.e3e_1 == null ? 0 : this.e3e_1.hashCode()) | 0;
|
|
603
603
|
return result;
|
|
604
604
|
};
|
|
605
605
|
protoOf(SideEffectManagerImpl).equals = function (other) {
|
|
@@ -607,42 +607,42 @@
|
|
|
607
607
|
return true;
|
|
608
608
|
if (!(other instanceof SideEffectManagerImpl))
|
|
609
609
|
return false;
|
|
610
|
-
if (!equals(this.
|
|
610
|
+
if (!equals(this.z3d_1, other.z3d_1))
|
|
611
611
|
return false;
|
|
612
|
-
if (!(this.
|
|
612
|
+
if (!(this.a3e_1 === other.a3e_1))
|
|
613
613
|
return false;
|
|
614
|
-
if (!equals(this.
|
|
614
|
+
if (!equals(this.b3e_1, other.b3e_1))
|
|
615
615
|
return false;
|
|
616
|
-
if (!equals(this.
|
|
616
|
+
if (!equals(this.c3e_1, other.c3e_1))
|
|
617
617
|
return false;
|
|
618
|
-
if (!equals(this.
|
|
618
|
+
if (!equals(this.d3e_1, other.d3e_1))
|
|
619
619
|
return false;
|
|
620
|
-
if (!equals(this.
|
|
620
|
+
if (!equals(this.e3e_1, other.e3e_1))
|
|
621
621
|
return false;
|
|
622
622
|
return true;
|
|
623
623
|
};
|
|
624
624
|
function resetCutWorkChanges(_this__u8e3s4, toRecoverSituation) {
|
|
625
625
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
626
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
626
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r3e(toRecoverSituation);
|
|
627
627
|
}
|
|
628
628
|
function isSelectedThrowCatch(_this__u8e3s4, context) {
|
|
629
629
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
630
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
630
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p3e(context);
|
|
631
631
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
632
632
|
}
|
|
633
633
|
function shouldExecuteThrowCut(_this__u8e3s4) {
|
|
634
634
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
635
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
635
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m3e();
|
|
636
636
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
637
637
|
}
|
|
638
638
|
function shouldCutExecuteInRuleSelection(_this__u8e3s4) {
|
|
639
639
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
640
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
640
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l3e();
|
|
641
641
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
642
642
|
}
|
|
643
643
|
function extendParentScopeWith(_this__u8e3s4, upperScopeSideEffectsManager) {
|
|
644
644
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
645
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
645
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k3e(upperScopeSideEffectsManager);
|
|
646
646
|
}
|
|
647
647
|
function isWellFormed(_this__u8e3s4) {
|
|
648
648
|
return _this__u8e3s4.accept(Companion_getInstance_1().bodyWellFormedVisitor);
|
|
@@ -650,22 +650,22 @@
|
|
|
650
650
|
function newSolveRequest(_this__u8e3s4, newGoal, toAddSubstitutions, toPropagateContextData, baseSideEffectManager, requestIssuingInstant, isChoicePointChild) {
|
|
651
651
|
toAddSubstitutions = toAddSubstitutions === VOID ? Companion_getInstance_2().empty() : toAddSubstitutions;
|
|
652
652
|
toPropagateContextData = toPropagateContextData === VOID ? _this__u8e3s4.context : toPropagateContextData;
|
|
653
|
-
baseSideEffectManager = baseSideEffectManager === VOID ? _this__u8e3s4.context.
|
|
654
|
-
requestIssuingInstant = requestIssuingInstant === VOID ? _this__u8e3s4.
|
|
653
|
+
baseSideEffectManager = baseSideEffectManager === VOID ? _this__u8e3s4.context.x3d_1 : baseSideEffectManager;
|
|
654
|
+
requestIssuingInstant = requestIssuingInstant === VOID ? _this__u8e3s4.p28_1 : requestIssuingInstant;
|
|
655
655
|
isChoicePointChild = isChoicePointChild === VOID ? false : isChoicePointChild;
|
|
656
656
|
var tmp = extractSignature(newGoal);
|
|
657
|
-
var tmp_0 = newGoal.
|
|
658
|
-
var tmp_1 = toPropagateContextData.
|
|
659
|
-
var tmp_2 = toPropagateContextData.
|
|
660
|
-
var tmp_3 = toPropagateContextData.
|
|
661
|
-
var tmp_4 = toPropagateContextData.
|
|
662
|
-
var tmp_5 = toPropagateContextData.
|
|
663
|
-
var tmp_6 = toPropagateContextData.
|
|
664
|
-
var tmp_7 = _this__u8e3s4.context.
|
|
665
|
-
return _this__u8e3s4.
|
|
657
|
+
var tmp_0 = newGoal.bu();
|
|
658
|
+
var tmp_1 = toPropagateContextData.r1u();
|
|
659
|
+
var tmp_2 = toPropagateContextData.s1u();
|
|
660
|
+
var tmp_3 = toPropagateContextData.t1u();
|
|
661
|
+
var tmp_4 = toPropagateContextData.u1u();
|
|
662
|
+
var tmp_5 = toPropagateContextData.v1u();
|
|
663
|
+
var tmp_6 = toPropagateContextData.w1u();
|
|
664
|
+
var tmp_7 = _this__u8e3s4.context.t3d_1.plus(toAddSubstitutions);
|
|
665
|
+
return _this__u8e3s4.l2h(tmp, tmp_0, _this__u8e3s4.context.t3e(VOID, tmp_1, tmp_2, tmp_3, tmp_4, VOID, tmp_5, tmp_6, VOID, isInterface(tmp_7, Unifier) ? tmp_7 : THROW_CCE(), VOID, VOID, VOID, baseSideEffectManager.i3e(_this__u8e3s4.context, isChoicePointChild, _this__u8e3s4)), requestIssuingInstant);
|
|
666
666
|
}
|
|
667
667
|
function prepareForExecutionAsGoal(_this__u8e3s4) {
|
|
668
|
-
return single(prepareForExecution(Companion_instance_6.of(_this__u8e3s4, [])).
|
|
668
|
+
return single(prepareForExecution(Companion_instance_6.of(_this__u8e3s4, [])).bu()).uu();
|
|
669
669
|
}
|
|
670
670
|
function replyWith(_this__u8e3s4, otherResponse) {
|
|
671
671
|
// Inline function 'kotlin.with' call
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
675
675
|
var this_0 = otherResponse.sideEffects;
|
|
676
676
|
var tmp$ret$2 = copyToArray(this_0);
|
|
677
|
-
return _this__u8e3s4.
|
|
677
|
+
return _this__u8e3s4.e2h(otherResponse.solution, tmp, tmp$ret$2.slice());
|
|
678
678
|
}
|
|
679
679
|
function orderWithStrategy(_this__u8e3s4, context, selectionStrategy) {
|
|
680
680
|
var tmp;
|
|
@@ -729,39 +729,39 @@
|
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
function orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
734
|
-
this.
|
|
732
|
+
this.c3f_1 = $selectionStrategy;
|
|
733
|
+
this.d3f_1 = $this_orderWithStrategy;
|
|
734
|
+
this.e3f_1 = $context;
|
|
735
735
|
CoroutineImpl.call(this, resultContinuation);
|
|
736
736
|
}
|
|
737
|
-
protoOf(orderWithStrategy$slambda).
|
|
738
|
-
var tmp = this.
|
|
739
|
-
tmp.
|
|
740
|
-
tmp.
|
|
741
|
-
return tmp.
|
|
737
|
+
protoOf(orderWithStrategy$slambda).h3f = function ($this$sequence, $completion) {
|
|
738
|
+
var tmp = this.i3f($this$sequence, $completion);
|
|
739
|
+
tmp.e8_1 = Unit_instance;
|
|
740
|
+
tmp.f8_1 = null;
|
|
741
|
+
return tmp.k8();
|
|
742
742
|
};
|
|
743
|
-
protoOf(orderWithStrategy$slambda).
|
|
744
|
-
return this.
|
|
743
|
+
protoOf(orderWithStrategy$slambda).b9 = function (p1, $completion) {
|
|
744
|
+
return this.h3f(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
745
745
|
};
|
|
746
|
-
protoOf(orderWithStrategy$slambda).
|
|
747
|
-
var suspendResult = this.
|
|
746
|
+
protoOf(orderWithStrategy$slambda).k8 = function () {
|
|
747
|
+
var suspendResult = this.e8_1;
|
|
748
748
|
$sm: do
|
|
749
749
|
try {
|
|
750
|
-
var tmp = this.
|
|
750
|
+
var tmp = this.c8_1;
|
|
751
751
|
switch (tmp) {
|
|
752
752
|
case 0:
|
|
753
|
-
this.
|
|
754
|
-
this.
|
|
755
|
-
this.
|
|
756
|
-
suspendResult = this.
|
|
753
|
+
this.d8_1 = 3;
|
|
754
|
+
this.g3f_1 = this.c3f_1(this.d3f_1, this.e3f_1);
|
|
755
|
+
this.c8_1 = 1;
|
|
756
|
+
suspendResult = this.f3f_1.cd(this.g3f_1, this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
continue $sm;
|
|
762
762
|
case 1:
|
|
763
|
-
this.
|
|
764
|
-
suspendResult = this.
|
|
763
|
+
this.c8_1 = 2;
|
|
764
|
+
suspendResult = this.f3f_1.fd(orderWithStrategy(filterIndexed(this.d3f_1, orderWithStrategy$slambda$lambda(this.d3f_1, this.g3f_1)), this.e3f_1, this.c3f_1), this);
|
|
765
765
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
766
766
|
return suspendResult;
|
|
767
767
|
}
|
|
@@ -770,45 +770,45 @@
|
|
|
770
770
|
case 2:
|
|
771
771
|
return Unit_instance;
|
|
772
772
|
case 3:
|
|
773
|
-
throw this.
|
|
773
|
+
throw this.f8_1;
|
|
774
774
|
}
|
|
775
775
|
} catch ($p) {
|
|
776
776
|
var e = $p;
|
|
777
|
-
if (this.
|
|
777
|
+
if (this.d8_1 === 3) {
|
|
778
778
|
throw e;
|
|
779
779
|
} else {
|
|
780
|
-
this.
|
|
781
|
-
this.
|
|
780
|
+
this.c8_1 = this.d8_1;
|
|
781
|
+
this.f8_1 = e;
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
while (true);
|
|
785
785
|
};
|
|
786
|
-
protoOf(orderWithStrategy$slambda).
|
|
787
|
-
var i = new orderWithStrategy$slambda(this.
|
|
788
|
-
i.
|
|
786
|
+
protoOf(orderWithStrategy$slambda).i3f = function ($this$sequence, completion) {
|
|
787
|
+
var i = new orderWithStrategy$slambda(this.c3f_1, this.d3f_1, this.e3f_1, completion);
|
|
788
|
+
i.f3f_1 = $this$sequence;
|
|
789
789
|
return i;
|
|
790
790
|
};
|
|
791
791
|
function orderWithStrategy$slambda_0($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
|
|
792
792
|
var i = new orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation);
|
|
793
793
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
794
|
-
return i.
|
|
794
|
+
return i.h3f($this$sequence, $completion);
|
|
795
795
|
}, 1);
|
|
796
796
|
}
|
|
797
797
|
function StreamsExecutionContext_init_$Init$(context, newCurrentSubstitution, $this) {
|
|
798
|
-
var tmp = context.
|
|
799
|
-
var tmp_0 = context.
|
|
800
|
-
var tmp_1 = context.
|
|
801
|
-
var tmp_2 = context.
|
|
802
|
-
var tmp_3 = context.
|
|
803
|
-
var tmp_4 = context.
|
|
804
|
-
var tmp_5 = context.
|
|
805
|
-
var tmp_6 = context.
|
|
806
|
-
var tmp_7 = context.
|
|
798
|
+
var tmp = context.u1k();
|
|
799
|
+
var tmp_0 = context.r1u();
|
|
800
|
+
var tmp_1 = context.s1u();
|
|
801
|
+
var tmp_2 = context.t1u();
|
|
802
|
+
var tmp_3 = context.u1u();
|
|
803
|
+
var tmp_4 = context.a1v();
|
|
804
|
+
var tmp_5 = context.v1u();
|
|
805
|
+
var tmp_6 = context.w1u();
|
|
806
|
+
var tmp_7 = context.p1u();
|
|
807
807
|
var tmp0_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
|
|
808
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
809
|
-
var tmp_8 = tmp1_elvis_lhs == null ? Companion_getInstance_5().
|
|
808
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w3d_1;
|
|
809
|
+
var tmp_8 = tmp1_elvis_lhs == null ? Companion_getInstance_5().e3d_1 : tmp1_elvis_lhs;
|
|
810
810
|
var tmp2_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
|
|
811
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
811
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.x3d_1;
|
|
812
812
|
StreamsExecutionContext.call($this, tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, newCurrentSubstitution, VOID, VOID, tmp_8, tmp3_elvis_lhs == null ? new SideEffectManagerImpl() : tmp3_elvis_lhs);
|
|
813
813
|
return $this;
|
|
814
814
|
}
|
|
@@ -816,21 +816,21 @@
|
|
|
816
816
|
return StreamsExecutionContext_init_$Init$(context, newCurrentSubstitution, objectCreate(protoOf(StreamsExecutionContext)));
|
|
817
817
|
}
|
|
818
818
|
function StreamsExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
|
|
819
|
-
return it.
|
|
819
|
+
return it.q1v();
|
|
820
820
|
}
|
|
821
821
|
function StreamsExecutionContext$logicStackTrace$delegate$lambda(this$0) {
|
|
822
822
|
return function () {
|
|
823
|
-
var tmp = asSequence(this$0.
|
|
823
|
+
var tmp = asSequence(this$0.x3d_1.c3e_1);
|
|
824
824
|
return toList(map(tmp, StreamsExecutionContext$logicStackTrace$delegate$lambda$lambda));
|
|
825
825
|
};
|
|
826
826
|
}
|
|
827
827
|
function StreamsExecutionContext$_get_logicStackTrace_$ref_tj4lit() {
|
|
828
828
|
return constructCallableReference(function (p0) {
|
|
829
|
-
return p0.
|
|
829
|
+
return p0.o1u();
|
|
830
830
|
}, 1, 0, 96);
|
|
831
831
|
}
|
|
832
832
|
function StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
|
|
833
|
-
unificator = unificator === VOID ? Companion_getInstance().
|
|
833
|
+
unificator = unificator === VOID ? Companion_getInstance().n1k() : unificator;
|
|
834
834
|
libraries = libraries === VOID ? Companion_instance.empty() : libraries;
|
|
835
835
|
flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
|
|
836
836
|
staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
|
|
@@ -842,88 +842,88 @@
|
|
|
842
842
|
substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
|
|
843
843
|
startTime = startTime === VOID ? currentTimeInstant() : startTime;
|
|
844
844
|
maxDuration = maxDuration === VOID ? 9223372036854775807n : maxDuration;
|
|
845
|
-
solverStrategies = solverStrategies === VOID ? Companion_getInstance_5().
|
|
845
|
+
solverStrategies = solverStrategies === VOID ? Companion_getInstance_5().e3d_1 : solverStrategies;
|
|
846
846
|
sideEffectManager = sideEffectManager === VOID ? new SideEffectManagerImpl() : sideEffectManager;
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
849
|
-
this.
|
|
850
|
-
this.
|
|
851
|
-
this.
|
|
852
|
-
this.
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
847
|
+
this.k3d_1 = unificator;
|
|
848
|
+
this.l3d_1 = libraries;
|
|
849
|
+
this.m3d_1 = flags;
|
|
850
|
+
this.n3d_1 = staticKb;
|
|
851
|
+
this.o3d_1 = dynamicKb;
|
|
852
|
+
this.p3d_1 = operators;
|
|
853
|
+
this.q3d_1 = inputChannels;
|
|
854
|
+
this.r3d_1 = outputChannels;
|
|
855
|
+
this.s3d_1 = customData;
|
|
856
|
+
this.t3d_1 = substitution;
|
|
857
|
+
this.u3d_1 = startTime;
|
|
858
|
+
this.v3d_1 = maxDuration;
|
|
859
|
+
this.w3d_1 = solverStrategies;
|
|
860
|
+
this.x3d_1 = sideEffectManager;
|
|
861
861
|
var tmp = this;
|
|
862
|
-
tmp.
|
|
862
|
+
tmp.y3d_1 = lazy(StreamsExecutionContext$logicStackTrace$delegate$lambda(this));
|
|
863
863
|
}
|
|
864
|
-
protoOf(StreamsExecutionContext).
|
|
865
|
-
return this.h3d_1;
|
|
866
|
-
};
|
|
867
|
-
protoOf(StreamsExecutionContext).o1u = function () {
|
|
868
|
-
return this.i3d_1;
|
|
869
|
-
};
|
|
870
|
-
protoOf(StreamsExecutionContext).p1u = function () {
|
|
871
|
-
return this.j3d_1;
|
|
872
|
-
};
|
|
873
|
-
protoOf(StreamsExecutionContext).q1u = function () {
|
|
864
|
+
protoOf(StreamsExecutionContext).u1k = function () {
|
|
874
865
|
return this.k3d_1;
|
|
875
866
|
};
|
|
876
867
|
protoOf(StreamsExecutionContext).r1u = function () {
|
|
877
868
|
return this.l3d_1;
|
|
878
869
|
};
|
|
879
|
-
protoOf(StreamsExecutionContext).
|
|
870
|
+
protoOf(StreamsExecutionContext).s1u = function () {
|
|
880
871
|
return this.m3d_1;
|
|
881
872
|
};
|
|
882
|
-
protoOf(StreamsExecutionContext).
|
|
873
|
+
protoOf(StreamsExecutionContext).t1u = function () {
|
|
883
874
|
return this.n3d_1;
|
|
884
875
|
};
|
|
885
|
-
protoOf(StreamsExecutionContext).
|
|
876
|
+
protoOf(StreamsExecutionContext).u1u = function () {
|
|
886
877
|
return this.o3d_1;
|
|
887
878
|
};
|
|
888
|
-
protoOf(StreamsExecutionContext).
|
|
879
|
+
protoOf(StreamsExecutionContext).a1v = function () {
|
|
889
880
|
return this.p3d_1;
|
|
890
881
|
};
|
|
891
|
-
protoOf(StreamsExecutionContext).
|
|
882
|
+
protoOf(StreamsExecutionContext).v1u = function () {
|
|
892
883
|
return this.q3d_1;
|
|
893
884
|
};
|
|
894
|
-
protoOf(StreamsExecutionContext).
|
|
885
|
+
protoOf(StreamsExecutionContext).w1u = function () {
|
|
895
886
|
return this.r3d_1;
|
|
896
887
|
};
|
|
897
|
-
protoOf(StreamsExecutionContext).
|
|
888
|
+
protoOf(StreamsExecutionContext).p1u = function () {
|
|
898
889
|
return this.s3d_1;
|
|
899
890
|
};
|
|
891
|
+
protoOf(StreamsExecutionContext).n1u = function () {
|
|
892
|
+
return this.t3d_1;
|
|
893
|
+
};
|
|
894
|
+
protoOf(StreamsExecutionContext).h1u = function () {
|
|
895
|
+
return this.u3d_1;
|
|
896
|
+
};
|
|
900
897
|
protoOf(StreamsExecutionContext).j1u = function () {
|
|
898
|
+
return this.v3d_1;
|
|
899
|
+
};
|
|
900
|
+
protoOf(StreamsExecutionContext).m1u = function () {
|
|
901
901
|
// Inline function 'kotlin.collections.map' call
|
|
902
|
-
var this_0 = this.
|
|
902
|
+
var this_0 = this.x3d_1.c3e_1;
|
|
903
903
|
// Inline function 'kotlin.collections.mapTo' call
|
|
904
904
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
905
905
|
var _iterator__ex2g4s = this_0.n();
|
|
906
906
|
while (_iterator__ex2g4s.q()) {
|
|
907
907
|
var item = _iterator__ex2g4s.r();
|
|
908
|
-
var tmp$ret$2 = item.
|
|
908
|
+
var tmp$ret$2 = item.q1v();
|
|
909
909
|
destination.l(tmp$ret$2);
|
|
910
910
|
}
|
|
911
911
|
return firstOrNull(destination);
|
|
912
912
|
};
|
|
913
|
-
protoOf(StreamsExecutionContext).
|
|
914
|
-
var tmp0 = this.
|
|
913
|
+
protoOf(StreamsExecutionContext).o1u = function () {
|
|
914
|
+
var tmp0 = this.y3d_1;
|
|
915
915
|
var tmp = KProperty1;
|
|
916
916
|
// Inline function 'kotlin.getValue' call
|
|
917
917
|
getPropertyCallableRef('logicStackTrace', 1, tmp, StreamsExecutionContext$_get_logicStackTrace_$ref_tj4lit(), null);
|
|
918
|
-
return tmp0.
|
|
918
|
+
return tmp0.f2();
|
|
919
919
|
};
|
|
920
|
-
protoOf(StreamsExecutionContext).
|
|
920
|
+
protoOf(StreamsExecutionContext).q1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
921
921
|
return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels);
|
|
922
922
|
};
|
|
923
923
|
protoOf(StreamsExecutionContext).createSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
|
|
924
924
|
return this.createSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
|
|
925
925
|
};
|
|
926
|
-
protoOf(StreamsExecutionContext).
|
|
926
|
+
protoOf(StreamsExecutionContext).x1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
927
927
|
// Inline function 'kotlin.TODO' call
|
|
928
928
|
var reason = 'Not yet implemented';
|
|
929
929
|
throw new NotImplementedError('An operation is not implemented: ' + reason);
|
|
@@ -931,71 +931,71 @@
|
|
|
931
931
|
protoOf(StreamsExecutionContext).createMutableSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
|
|
932
932
|
return this.createMutableSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
|
|
933
933
|
};
|
|
934
|
-
protoOf(StreamsExecutionContext).
|
|
934
|
+
protoOf(StreamsExecutionContext).y30 = function (sideEffect) {
|
|
935
935
|
var tmp = apply.call(this, sideEffect);
|
|
936
936
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
937
937
|
};
|
|
938
938
|
protoOf(StreamsExecutionContext).apply = function (sideEffect) {
|
|
939
|
-
return this.
|
|
939
|
+
return this.y30(sideEffect);
|
|
940
940
|
};
|
|
941
|
-
protoOf(StreamsExecutionContext).
|
|
941
|
+
protoOf(StreamsExecutionContext).z30 = function (sideEffects) {
|
|
942
942
|
var tmp = applyIterable.call(this, sideEffects);
|
|
943
943
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
944
944
|
};
|
|
945
945
|
protoOf(StreamsExecutionContext).applyIterable = function (sideEffects) {
|
|
946
|
-
return this.
|
|
946
|
+
return this.z30(sideEffects);
|
|
947
947
|
};
|
|
948
|
-
protoOf(StreamsExecutionContext).
|
|
948
|
+
protoOf(StreamsExecutionContext).a31 = function (sideEffects) {
|
|
949
949
|
var tmp = applySequence.call(this, sideEffects);
|
|
950
950
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
951
951
|
};
|
|
952
952
|
protoOf(StreamsExecutionContext).applySequence = function (sideEffects) {
|
|
953
|
-
return this.
|
|
953
|
+
return this.a31(sideEffects);
|
|
954
954
|
};
|
|
955
|
-
protoOf(StreamsExecutionContext).
|
|
956
|
-
return this.
|
|
955
|
+
protoOf(StreamsExecutionContext).z1u = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
|
|
956
|
+
return this.t3e(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData);
|
|
957
957
|
};
|
|
958
958
|
protoOf(StreamsExecutionContext).update = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, $super) {
|
|
959
959
|
return this.update(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
|
|
960
960
|
};
|
|
961
|
-
protoOf(StreamsExecutionContext).
|
|
961
|
+
protoOf(StreamsExecutionContext).j3f = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
|
|
962
962
|
return new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
|
|
963
963
|
};
|
|
964
|
-
protoOf(StreamsExecutionContext).
|
|
965
|
-
unificator = unificator === VOID ? this.
|
|
966
|
-
libraries = libraries === VOID ? this.
|
|
967
|
-
flags = flags === VOID ? this.
|
|
968
|
-
staticKb = staticKb === VOID ? this.
|
|
969
|
-
dynamicKb = dynamicKb === VOID ? this.
|
|
970
|
-
operators = operators === VOID ? this.
|
|
971
|
-
inputChannels = inputChannels === VOID ? this.
|
|
972
|
-
outputChannels = outputChannels === VOID ? this.
|
|
973
|
-
customData = customData === VOID ? this.
|
|
974
|
-
substitution = substitution === VOID ? this.
|
|
975
|
-
startTime = startTime === VOID ? this.
|
|
976
|
-
maxDuration = maxDuration === VOID ? this.
|
|
977
|
-
solverStrategies = solverStrategies === VOID ? this.
|
|
978
|
-
sideEffectManager = sideEffectManager === VOID ? this.
|
|
979
|
-
return $super === VOID ? this.
|
|
964
|
+
protoOf(StreamsExecutionContext).t3e = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager, $super) {
|
|
965
|
+
unificator = unificator === VOID ? this.k3d_1 : unificator;
|
|
966
|
+
libraries = libraries === VOID ? this.l3d_1 : libraries;
|
|
967
|
+
flags = flags === VOID ? this.m3d_1 : flags;
|
|
968
|
+
staticKb = staticKb === VOID ? this.n3d_1 : staticKb;
|
|
969
|
+
dynamicKb = dynamicKb === VOID ? this.o3d_1 : dynamicKb;
|
|
970
|
+
operators = operators === VOID ? this.p3d_1 : operators;
|
|
971
|
+
inputChannels = inputChannels === VOID ? this.q3d_1 : inputChannels;
|
|
972
|
+
outputChannels = outputChannels === VOID ? this.r3d_1 : outputChannels;
|
|
973
|
+
customData = customData === VOID ? this.s3d_1 : customData;
|
|
974
|
+
substitution = substitution === VOID ? this.t3d_1 : substitution;
|
|
975
|
+
startTime = startTime === VOID ? this.u3d_1 : startTime;
|
|
976
|
+
maxDuration = maxDuration === VOID ? this.v3d_1 : maxDuration;
|
|
977
|
+
solverStrategies = solverStrategies === VOID ? this.w3d_1 : solverStrategies;
|
|
978
|
+
sideEffectManager = sideEffectManager === VOID ? this.x3d_1 : sideEffectManager;
|
|
979
|
+
return $super === VOID ? this.j3f(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) : $super.j3f.call(this, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
|
|
980
980
|
};
|
|
981
981
|
protoOf(StreamsExecutionContext).toString = function () {
|
|
982
|
-
return 'StreamsExecutionContext(unificator=' + toString(this.
|
|
982
|
+
return 'StreamsExecutionContext(unificator=' + toString(this.k3d_1) + ', libraries=' + toString(this.l3d_1) + ', flags=' + this.m3d_1.toString() + ', staticKb=' + toString(this.n3d_1) + ', dynamicKb=' + toString(this.o3d_1) + ', operators=' + this.p3d_1.toString() + ', inputChannels=' + toString(this.q3d_1) + ', outputChannels=' + toString(this.r3d_1) + ', customData=' + this.s3d_1.toString() + ', substitution=' + toString(this.t3d_1) + ', startTime=' + this.u3d_1.toString() + ', maxDuration=' + this.v3d_1.toString() + ', solverStrategies=' + toString(this.w3d_1) + ', sideEffectManager=' + this.x3d_1.toString() + ')';
|
|
983
983
|
};
|
|
984
984
|
protoOf(StreamsExecutionContext).hashCode = function () {
|
|
985
|
-
var result = hashCode(this.
|
|
986
|
-
result = imul(result, 31) + hashCode(this.i3d_1) | 0;
|
|
987
|
-
result = imul(result, 31) + this.j3d_1.hashCode() | 0;
|
|
988
|
-
result = imul(result, 31) + hashCode(this.k3d_1) | 0;
|
|
985
|
+
var result = hashCode(this.k3d_1);
|
|
989
986
|
result = imul(result, 31) + hashCode(this.l3d_1) | 0;
|
|
990
987
|
result = imul(result, 31) + this.m3d_1.hashCode() | 0;
|
|
991
988
|
result = imul(result, 31) + hashCode(this.n3d_1) | 0;
|
|
992
989
|
result = imul(result, 31) + hashCode(this.o3d_1) | 0;
|
|
993
990
|
result = imul(result, 31) + this.p3d_1.hashCode() | 0;
|
|
994
991
|
result = imul(result, 31) + hashCode(this.q3d_1) | 0;
|
|
995
|
-
result = imul(result, 31) +
|
|
996
|
-
result = imul(result, 31) +
|
|
992
|
+
result = imul(result, 31) + hashCode(this.r3d_1) | 0;
|
|
993
|
+
result = imul(result, 31) + this.s3d_1.hashCode() | 0;
|
|
997
994
|
result = imul(result, 31) + hashCode(this.t3d_1) | 0;
|
|
998
|
-
result = imul(result, 31) + this.u3d_1
|
|
995
|
+
result = imul(result, 31) + getBigIntHashCode(this.u3d_1) | 0;
|
|
996
|
+
result = imul(result, 31) + getBigIntHashCode(this.v3d_1) | 0;
|
|
997
|
+
result = imul(result, 31) + hashCode(this.w3d_1) | 0;
|
|
998
|
+
result = imul(result, 31) + this.x3d_1.hashCode() | 0;
|
|
999
999
|
return result;
|
|
1000
1000
|
};
|
|
1001
1001
|
protoOf(StreamsExecutionContext).equals = function (other) {
|
|
@@ -1003,12 +1003,6 @@
|
|
|
1003
1003
|
return true;
|
|
1004
1004
|
if (!(other instanceof StreamsExecutionContext))
|
|
1005
1005
|
return false;
|
|
1006
|
-
if (!equals(this.h3d_1, other.h3d_1))
|
|
1007
|
-
return false;
|
|
1008
|
-
if (!equals(this.i3d_1, other.i3d_1))
|
|
1009
|
-
return false;
|
|
1010
|
-
if (!this.j3d_1.equals(other.j3d_1))
|
|
1011
|
-
return false;
|
|
1012
1006
|
if (!equals(this.k3d_1, other.k3d_1))
|
|
1013
1007
|
return false;
|
|
1014
1008
|
if (!equals(this.l3d_1, other.l3d_1))
|
|
@@ -1023,42 +1017,48 @@
|
|
|
1023
1017
|
return false;
|
|
1024
1018
|
if (!equals(this.q3d_1, other.q3d_1))
|
|
1025
1019
|
return false;
|
|
1026
|
-
if (!(this.r3d_1
|
|
1020
|
+
if (!equals(this.r3d_1, other.r3d_1))
|
|
1027
1021
|
return false;
|
|
1028
|
-
if (!
|
|
1022
|
+
if (!this.s3d_1.equals(other.s3d_1))
|
|
1029
1023
|
return false;
|
|
1030
1024
|
if (!equals(this.t3d_1, other.t3d_1))
|
|
1031
1025
|
return false;
|
|
1032
|
-
if (!this.u3d_1
|
|
1026
|
+
if (!(this.u3d_1 === other.u3d_1))
|
|
1027
|
+
return false;
|
|
1028
|
+
if (!(this.v3d_1 === other.v3d_1))
|
|
1029
|
+
return false;
|
|
1030
|
+
if (!equals(this.w3d_1, other.w3d_1))
|
|
1031
|
+
return false;
|
|
1032
|
+
if (!this.x3d_1.equals(other.x3d_1))
|
|
1033
1033
|
return false;
|
|
1034
1034
|
return true;
|
|
1035
1035
|
};
|
|
1036
1036
|
function getSideEffectManager(_this__u8e3s4) {
|
|
1037
1037
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof StreamsExecutionContext ? _this__u8e3s4 : null;
|
|
1038
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1038
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x3d_1;
|
|
1039
1039
|
}
|
|
1040
1040
|
function AbstractState(solve) {
|
|
1041
|
-
this.
|
|
1042
|
-
this.
|
|
1041
|
+
this.k3f_1 = solve;
|
|
1042
|
+
this.l3f_1 = false;
|
|
1043
1043
|
}
|
|
1044
|
-
protoOf(AbstractState).
|
|
1045
|
-
return this.
|
|
1044
|
+
protoOf(AbstractState).m3f = function () {
|
|
1045
|
+
return this.l3f_1;
|
|
1046
1046
|
};
|
|
1047
1047
|
function AlreadyExecutedState(wrappedState) {
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1048
|
+
this.o3f_1 = wrappedState;
|
|
1049
|
+
this.p3f_1 = true;
|
|
1050
1050
|
}
|
|
1051
|
-
protoOf(AlreadyExecutedState).
|
|
1052
|
-
return this.
|
|
1051
|
+
protoOf(AlreadyExecutedState).m3f = function () {
|
|
1052
|
+
return this.p3f_1;
|
|
1053
1053
|
};
|
|
1054
1054
|
protoOf(AlreadyExecutedState).toString = function () {
|
|
1055
|
-
return 'AlreadyExecutedState of: ' + toString(this.
|
|
1055
|
+
return 'AlreadyExecutedState of: ' + toString(this.o3f_1);
|
|
1056
1056
|
};
|
|
1057
|
-
protoOf(AlreadyExecutedState).
|
|
1058
|
-
return this.
|
|
1057
|
+
protoOf(AlreadyExecutedState).n3f = function () {
|
|
1058
|
+
return this.o3f_1.n3f();
|
|
1059
1059
|
};
|
|
1060
|
-
protoOf(AlreadyExecutedState).
|
|
1061
|
-
return this.
|
|
1060
|
+
protoOf(AlreadyExecutedState).i8 = function () {
|
|
1061
|
+
return this.o3f_1.i8();
|
|
1062
1062
|
};
|
|
1063
1063
|
function asAlreadyExecuted(_this__u8e3s4) {
|
|
1064
1064
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof AlreadyExecutedState ? _this__u8e3s4 : null;
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
}
|
|
1079
1079
|
function internalExecute($this, state) {
|
|
1080
1080
|
var tmp;
|
|
1081
|
-
if (state.
|
|
1081
|
+
if (state.m3f()) {
|
|
1082
1082
|
tmp = sequenceOf(state);
|
|
1083
1083
|
} else {
|
|
1084
1084
|
tmp = sequence(StateMachineExecutor$internalExecute$slambda_0(state, null));
|
|
@@ -1086,92 +1086,92 @@
|
|
|
1086
1086
|
return tmp;
|
|
1087
1087
|
}
|
|
1088
1088
|
function StateMachineExecutor$execute$lambda(it) {
|
|
1089
|
-
return StateMachineExecutor_instance.
|
|
1089
|
+
return StateMachineExecutor_instance.q3f(it);
|
|
1090
1090
|
}
|
|
1091
1091
|
function StateMachineExecutor$executeWrapping$lambda(it) {
|
|
1092
1092
|
return asAlreadyExecuted(it);
|
|
1093
1093
|
}
|
|
1094
1094
|
function StateMachineExecutor$internalExecute$slambda($state, resultContinuation) {
|
|
1095
|
-
this.
|
|
1095
|
+
this.z3f_1 = $state;
|
|
1096
1096
|
CoroutineImpl.call(this, resultContinuation);
|
|
1097
1097
|
}
|
|
1098
|
-
protoOf(StateMachineExecutor$internalExecute$slambda).
|
|
1099
|
-
var tmp = this.
|
|
1100
|
-
tmp.
|
|
1101
|
-
tmp.
|
|
1102
|
-
return tmp.
|
|
1098
|
+
protoOf(StateMachineExecutor$internalExecute$slambda).c3g = function ($this$sequence, $completion) {
|
|
1099
|
+
var tmp = this.d3g($this$sequence, $completion);
|
|
1100
|
+
tmp.e8_1 = Unit_instance;
|
|
1101
|
+
tmp.f8_1 = null;
|
|
1102
|
+
return tmp.k8();
|
|
1103
1103
|
};
|
|
1104
|
-
protoOf(StateMachineExecutor$internalExecute$slambda).
|
|
1105
|
-
return this.
|
|
1104
|
+
protoOf(StateMachineExecutor$internalExecute$slambda).b9 = function (p1, $completion) {
|
|
1105
|
+
return this.c3g(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1106
1106
|
};
|
|
1107
|
-
protoOf(StateMachineExecutor$internalExecute$slambda).
|
|
1108
|
-
var suspendResult = this.
|
|
1107
|
+
protoOf(StateMachineExecutor$internalExecute$slambda).k8 = function () {
|
|
1108
|
+
var suspendResult = this.e8_1;
|
|
1109
1109
|
$sm: do
|
|
1110
1110
|
try {
|
|
1111
|
-
var tmp = this.
|
|
1111
|
+
var tmp = this.c8_1;
|
|
1112
1112
|
switch (tmp) {
|
|
1113
1113
|
case 0:
|
|
1114
|
-
this.
|
|
1115
|
-
this.
|
|
1116
|
-
suspendResult = this.
|
|
1114
|
+
this.d8_1 = 5;
|
|
1115
|
+
this.c8_1 = 1;
|
|
1116
|
+
suspendResult = this.a3g_1.cd(this.z3f_1, this);
|
|
1117
1117
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1118
1118
|
return suspendResult;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
1121
|
continue $sm;
|
|
1122
1122
|
case 1:
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1123
|
+
this.b3g_1 = this.z3f_1.n3f().n();
|
|
1124
|
+
this.c8_1 = 2;
|
|
1125
1125
|
continue $sm;
|
|
1126
1126
|
case 2:
|
|
1127
|
-
if (!this.
|
|
1128
|
-
this.
|
|
1127
|
+
if (!this.b3g_1.q()) {
|
|
1128
|
+
this.c8_1 = 4;
|
|
1129
1129
|
continue $sm;
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
var element = this.
|
|
1133
|
-
this.
|
|
1134
|
-
suspendResult = this.
|
|
1132
|
+
var element = this.b3g_1.r();
|
|
1133
|
+
this.c8_1 = 3;
|
|
1134
|
+
suspendResult = this.a3g_1.fd(internalExecute(StateMachineExecutor_instance, element), this);
|
|
1135
1135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1136
1136
|
return suspendResult;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
1139
|
continue $sm;
|
|
1140
1140
|
case 3:
|
|
1141
|
-
this.
|
|
1141
|
+
this.c8_1 = 2;
|
|
1142
1142
|
continue $sm;
|
|
1143
1143
|
case 4:
|
|
1144
1144
|
return Unit_instance;
|
|
1145
1145
|
case 5:
|
|
1146
|
-
throw this.
|
|
1146
|
+
throw this.f8_1;
|
|
1147
1147
|
}
|
|
1148
1148
|
} catch ($p) {
|
|
1149
1149
|
var e = $p;
|
|
1150
|
-
if (this.
|
|
1150
|
+
if (this.d8_1 === 5) {
|
|
1151
1151
|
throw e;
|
|
1152
1152
|
} else {
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1153
|
+
this.c8_1 = this.d8_1;
|
|
1154
|
+
this.f8_1 = e;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
while (true);
|
|
1158
1158
|
};
|
|
1159
|
-
protoOf(StateMachineExecutor$internalExecute$slambda).
|
|
1160
|
-
var i = new StateMachineExecutor$internalExecute$slambda(this.
|
|
1161
|
-
i.
|
|
1159
|
+
protoOf(StateMachineExecutor$internalExecute$slambda).d3g = function ($this$sequence, completion) {
|
|
1160
|
+
var i = new StateMachineExecutor$internalExecute$slambda(this.z3f_1, completion);
|
|
1161
|
+
i.a3g_1 = $this$sequence;
|
|
1162
1162
|
return i;
|
|
1163
1163
|
};
|
|
1164
1164
|
function StateMachineExecutor$internalExecute$slambda_0($state, resultContinuation) {
|
|
1165
1165
|
var i = new StateMachineExecutor$internalExecute$slambda($state, resultContinuation);
|
|
1166
1166
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
1167
|
-
return i.
|
|
1167
|
+
return i.c3g($this$sequence, $completion);
|
|
1168
1168
|
}, 1);
|
|
1169
1169
|
}
|
|
1170
1170
|
function StateMachineExecutor() {
|
|
1171
1171
|
}
|
|
1172
|
-
protoOf(StateMachineExecutor).
|
|
1172
|
+
protoOf(StateMachineExecutor).h3d = function (state) {
|
|
1173
1173
|
var tmp;
|
|
1174
|
-
if (state.
|
|
1174
|
+
if (state.m3f()) {
|
|
1175
1175
|
tmp = emptySequence();
|
|
1176
1176
|
} else {
|
|
1177
1177
|
var tmp_0 = drop_0(internalExecute(this, state), 1);
|
|
@@ -1179,14 +1179,14 @@
|
|
|
1179
1179
|
}
|
|
1180
1180
|
return tmp;
|
|
1181
1181
|
};
|
|
1182
|
-
protoOf(StateMachineExecutor).
|
|
1183
|
-
var tmp = this.
|
|
1182
|
+
protoOf(StateMachineExecutor).e3g = function (state) {
|
|
1183
|
+
var tmp = this.h3d(state);
|
|
1184
1184
|
return map(tmp, StateMachineExecutor$executeWrapping$lambda);
|
|
1185
1185
|
};
|
|
1186
|
-
protoOf(StateMachineExecutor).
|
|
1186
|
+
protoOf(StateMachineExecutor).q3f = function (_this__u8e3s4) {
|
|
1187
1187
|
var tmp;
|
|
1188
1188
|
if (_this__u8e3s4 instanceof AlreadyExecutedState) {
|
|
1189
|
-
tmp = _this__u8e3s4.
|
|
1189
|
+
tmp = _this__u8e3s4.o3f_1;
|
|
1190
1190
|
} else {
|
|
1191
1191
|
tmp = _this__u8e3s4;
|
|
1192
1192
|
}
|
|
@@ -1198,18 +1198,18 @@
|
|
|
1198
1198
|
}
|
|
1199
1199
|
function StateMachineExecutor$executeWrapping$ref(p0) {
|
|
1200
1200
|
return constructCallableReference(function (p0_0) {
|
|
1201
|
-
return p0.
|
|
1201
|
+
return p0.e3g(p0_0);
|
|
1202
1202
|
}, 1, 0, 97, 'executeWrapping', [p0]);
|
|
1203
1203
|
}
|
|
1204
1204
|
function statEndHaltTimeout($this, $receiver) {
|
|
1205
|
-
return stateEndHalt($receiver, TimeOutException_init_$Create$('Given time for `' + $receiver.
|
|
1205
|
+
return stateEndHalt($receiver, TimeOutException_init_$Create$('Given time for `' + $receiver.f3d().q1v().toString() + '` computation (' + $receiver.f3d().q28_1.toString() + ") wasn't enough for completion", VOID, $receiver.f3d().context, $receiver.f3d().q28_1), VOID, []);
|
|
1206
1206
|
}
|
|
1207
1207
|
function _get_stateCurrentTime__3c8uza($this) {
|
|
1208
|
-
var tmp0 = $this.
|
|
1208
|
+
var tmp0 = $this.i3g_1;
|
|
1209
1209
|
var tmp = KProperty1;
|
|
1210
1210
|
// Inline function 'kotlin.getValue' call
|
|
1211
1211
|
getPropertyCallableRef('stateCurrentTime', 1, tmp, AbstractTimedState$_get_stateCurrentTime_$ref_pw5vcd(), null);
|
|
1212
|
-
return tmp0.
|
|
1212
|
+
return tmp0.f2();
|
|
1213
1213
|
}
|
|
1214
1214
|
function timeIsOver($this, currentDuration, maxDuration) {
|
|
1215
1215
|
return currentDuration >= maxDuration;
|
|
@@ -1230,48 +1230,48 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
function AbstractTimedState(solve) {
|
|
1232
1232
|
AbstractState.call(this, solve);
|
|
1233
|
-
this.
|
|
1233
|
+
this.h3g_1 = solve;
|
|
1234
1234
|
var tmp = this;
|
|
1235
|
-
tmp.
|
|
1235
|
+
tmp.i3g_1 = lazy(AbstractTimedState$stateCurrentTime$delegate$lambda);
|
|
1236
1236
|
}
|
|
1237
|
-
protoOf(AbstractTimedState).
|
|
1238
|
-
return this.
|
|
1237
|
+
protoOf(AbstractTimedState).f3d = function () {
|
|
1238
|
+
return this.h3g_1;
|
|
1239
1239
|
};
|
|
1240
|
-
protoOf(AbstractTimedState).
|
|
1241
|
-
return this.
|
|
1240
|
+
protoOf(AbstractTimedState).n3f = function () {
|
|
1241
|
+
return this.f3d().q28_1 === 9223372036854775807n ? this.j3g() : timeIsOver(this, subtract(_get_stateCurrentTime__3c8uza(this), this.f3d().p28_1), this.f3d().q28_1) ? sequenceOf(statEndHaltTimeout(Companion_instance_12, this)) : this.j3g();
|
|
1242
1242
|
};
|
|
1243
|
-
protoOf(AbstractTimedState).
|
|
1244
|
-
return timeIsOver(this, subtract(currentTimeInstant(), _this__u8e3s4.
|
|
1243
|
+
protoOf(AbstractTimedState).k3g = function (_this__u8e3s4, toYieldState) {
|
|
1244
|
+
return timeIsOver(this, subtract(currentTimeInstant(), _this__u8e3s4.f3d().p28_1), _this__u8e3s4.f3d().q28_1) ? statEndHaltTimeout(Companion_instance_12, _this__u8e3s4) : toYieldState;
|
|
1245
1245
|
};
|
|
1246
1246
|
protoOf(AbstractTimedState).toString = function () {
|
|
1247
|
-
return toString(getKClassFromExpression(this)) + ' with ' + this.
|
|
1247
|
+
return toString(getKClassFromExpression(this)) + ' with ' + this.f3d().toString();
|
|
1248
1248
|
};
|
|
1249
1249
|
function StateEnd$Halt$exception$delegate$lambda(this$0) {
|
|
1250
1250
|
return function () {
|
|
1251
|
-
var tmp = this$0.
|
|
1252
|
-
return (isInterface(tmp, Halt) ? tmp : THROW_CCE()).
|
|
1251
|
+
var tmp = this$0.r3g_1.solution;
|
|
1252
|
+
return (isInterface(tmp, Halt) ? tmp : THROW_CCE()).t1v();
|
|
1253
1253
|
};
|
|
1254
1254
|
}
|
|
1255
1255
|
function True(sourceContext, solve) {
|
|
1256
1256
|
StateEnd.call(this, sourceContext, solve);
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1259
|
-
var tmp = this.
|
|
1257
|
+
this.y3g_1 = sourceContext;
|
|
1258
|
+
this.z3g_1 = solve;
|
|
1259
|
+
var tmp = this.z3g_1.solution;
|
|
1260
1260
|
// Inline function 'kotlin.require' call
|
|
1261
1261
|
if (!isInterface(tmp, Yes)) {
|
|
1262
|
-
var message = 'True end state can be created only with Solution.Yes. Current: `' + toString(this.
|
|
1262
|
+
var message = 'True end state can be created only with Solution.Yes. Current: `' + toString(this.z3g_1.solution) + '`';
|
|
1263
1263
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
protoOf(True).
|
|
1267
|
-
return this.
|
|
1266
|
+
protoOf(True).f3d = function () {
|
|
1267
|
+
return this.z3g_1;
|
|
1268
1268
|
};
|
|
1269
1269
|
protoOf(True).toString = function () {
|
|
1270
|
-
return 'True(sourceContext=' + toString(this.
|
|
1270
|
+
return 'True(sourceContext=' + toString(this.y3g_1) + ', solve=' + this.z3g_1.toString() + ')';
|
|
1271
1271
|
};
|
|
1272
1272
|
protoOf(True).hashCode = function () {
|
|
1273
|
-
var result = hashCode(this.
|
|
1274
|
-
result = imul(result, 31) + this.
|
|
1273
|
+
var result = hashCode(this.y3g_1);
|
|
1274
|
+
result = imul(result, 31) + this.z3g_1.hashCode() | 0;
|
|
1275
1275
|
return result;
|
|
1276
1276
|
};
|
|
1277
1277
|
protoOf(True).equals = function (other) {
|
|
@@ -1279,32 +1279,32 @@
|
|
|
1279
1279
|
return true;
|
|
1280
1280
|
if (!(other instanceof True))
|
|
1281
1281
|
return false;
|
|
1282
|
-
if (!equals(this.
|
|
1282
|
+
if (!equals(this.y3g_1, other.y3g_1))
|
|
1283
1283
|
return false;
|
|
1284
|
-
if (!this.
|
|
1284
|
+
if (!this.z3g_1.equals(other.z3g_1))
|
|
1285
1285
|
return false;
|
|
1286
1286
|
return true;
|
|
1287
1287
|
};
|
|
1288
1288
|
function False(sourceContext, solve) {
|
|
1289
1289
|
StateEnd.call(this, sourceContext, solve);
|
|
1290
|
-
this.
|
|
1291
|
-
this.
|
|
1292
|
-
var tmp = this.
|
|
1290
|
+
this.k3h_1 = sourceContext;
|
|
1291
|
+
this.l3h_1 = solve;
|
|
1292
|
+
var tmp = this.l3h_1.solution;
|
|
1293
1293
|
// Inline function 'kotlin.require' call
|
|
1294
1294
|
if (!isInterface(tmp, No)) {
|
|
1295
|
-
var message = 'False end state can be created only with Solution.No. Current: `' + toString(this.
|
|
1295
|
+
var message = 'False end state can be created only with Solution.No. Current: `' + toString(this.l3h_1.solution) + '`';
|
|
1296
1296
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
|
-
protoOf(False).
|
|
1300
|
-
return this.
|
|
1299
|
+
protoOf(False).f3d = function () {
|
|
1300
|
+
return this.l3h_1;
|
|
1301
1301
|
};
|
|
1302
1302
|
protoOf(False).toString = function () {
|
|
1303
|
-
return 'False(sourceContext=' + toString(this.
|
|
1303
|
+
return 'False(sourceContext=' + toString(this.k3h_1) + ', solve=' + this.l3h_1.toString() + ')';
|
|
1304
1304
|
};
|
|
1305
1305
|
protoOf(False).hashCode = function () {
|
|
1306
|
-
var result = hashCode(this.
|
|
1307
|
-
result = imul(result, 31) + this.
|
|
1306
|
+
var result = hashCode(this.k3h_1);
|
|
1307
|
+
result = imul(result, 31) + this.l3h_1.hashCode() | 0;
|
|
1308
1308
|
return result;
|
|
1309
1309
|
};
|
|
1310
1310
|
protoOf(False).equals = function (other) {
|
|
@@ -1312,34 +1312,34 @@
|
|
|
1312
1312
|
return true;
|
|
1313
1313
|
if (!(other instanceof False))
|
|
1314
1314
|
return false;
|
|
1315
|
-
if (!equals(this.
|
|
1315
|
+
if (!equals(this.k3h_1, other.k3h_1))
|
|
1316
1316
|
return false;
|
|
1317
|
-
if (!this.
|
|
1317
|
+
if (!this.l3h_1.equals(other.l3h_1))
|
|
1318
1318
|
return false;
|
|
1319
1319
|
return true;
|
|
1320
1320
|
};
|
|
1321
1321
|
function Halt_0(sourceContext, solve) {
|
|
1322
1322
|
StateEnd.call(this, sourceContext, solve);
|
|
1323
|
-
this.
|
|
1324
|
-
this.
|
|
1325
|
-
var tmp = this.
|
|
1323
|
+
this.q3g_1 = sourceContext;
|
|
1324
|
+
this.r3g_1 = solve;
|
|
1325
|
+
var tmp = this.r3g_1.solution;
|
|
1326
1326
|
// Inline function 'kotlin.require' call
|
|
1327
1327
|
if (!isInterface(tmp, Halt)) {
|
|
1328
|
-
var message = 'Halt end state can be created only with Solution.Halt. Current: `' + toString(this.
|
|
1328
|
+
var message = 'Halt end state can be created only with Solution.Halt. Current: `' + toString(this.r3g_1.solution) + '`';
|
|
1329
1329
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1330
1330
|
}
|
|
1331
1331
|
var tmp_0 = this;
|
|
1332
|
-
tmp_0.
|
|
1332
|
+
tmp_0.s3g_1 = lazy(StateEnd$Halt$exception$delegate$lambda(this));
|
|
1333
1333
|
}
|
|
1334
|
-
protoOf(Halt_0).
|
|
1335
|
-
return this.
|
|
1334
|
+
protoOf(Halt_0).f3d = function () {
|
|
1335
|
+
return this.r3g_1;
|
|
1336
1336
|
};
|
|
1337
1337
|
protoOf(Halt_0).toString = function () {
|
|
1338
|
-
return 'Halt(sourceContext=' + toString(this.
|
|
1338
|
+
return 'Halt(sourceContext=' + toString(this.q3g_1) + ', solve=' + this.r3g_1.toString() + ')';
|
|
1339
1339
|
};
|
|
1340
1340
|
protoOf(Halt_0).hashCode = function () {
|
|
1341
|
-
var result = hashCode(this.
|
|
1342
|
-
result = imul(result, 31) + this.
|
|
1341
|
+
var result = hashCode(this.q3g_1);
|
|
1342
|
+
result = imul(result, 31) + this.r3g_1.hashCode() | 0;
|
|
1343
1343
|
return result;
|
|
1344
1344
|
};
|
|
1345
1345
|
protoOf(Halt_0).equals = function (other) {
|
|
@@ -1347,63 +1347,63 @@
|
|
|
1347
1347
|
return true;
|
|
1348
1348
|
if (!(other instanceof Halt_0))
|
|
1349
1349
|
return false;
|
|
1350
|
-
if (!equals(this.
|
|
1350
|
+
if (!equals(this.q3g_1, other.q3g_1))
|
|
1351
1351
|
return false;
|
|
1352
|
-
if (!this.
|
|
1352
|
+
if (!this.r3g_1.equals(other.r3g_1))
|
|
1353
1353
|
return false;
|
|
1354
1354
|
return true;
|
|
1355
1355
|
};
|
|
1356
1356
|
function StateEnd$context$delegate$lambda(this$0) {
|
|
1357
1357
|
return function () {
|
|
1358
|
-
var tmp = this$0.
|
|
1358
|
+
var tmp = this$0.f3d().solution.n1u();
|
|
1359
1359
|
var tmp0_elvis_lhs = isInterface(tmp, Unifier) ? tmp : null;
|
|
1360
|
-
return StreamsExecutionContext_init_$Create$(this$0.
|
|
1360
|
+
return StreamsExecutionContext_init_$Create$(this$0.c3h_1, tmp0_elvis_lhs == null ? Companion_getInstance_2().empty() : tmp0_elvis_lhs);
|
|
1361
1361
|
};
|
|
1362
1362
|
}
|
|
1363
1363
|
function StateEnd$_get_context_$ref_fll2gn() {
|
|
1364
1364
|
return constructCallableReference(function (p0) {
|
|
1365
|
-
return p0.
|
|
1365
|
+
return p0.i8();
|
|
1366
1366
|
}, 1, 0, 99);
|
|
1367
1367
|
}
|
|
1368
1368
|
function StateEnd(sourceContext, solve) {
|
|
1369
1369
|
AbstractState.call(this, solve);
|
|
1370
|
-
this.
|
|
1371
|
-
this.
|
|
1370
|
+
this.c3h_1 = sourceContext;
|
|
1371
|
+
this.d3h_1 = solve;
|
|
1372
1372
|
var tmp = this;
|
|
1373
|
-
tmp.
|
|
1373
|
+
tmp.e3h_1 = lazy(StateEnd$context$delegate$lambda(this));
|
|
1374
1374
|
}
|
|
1375
|
-
protoOf(StateEnd).
|
|
1376
|
-
return this.
|
|
1375
|
+
protoOf(StateEnd).f3d = function () {
|
|
1376
|
+
return this.d3h_1;
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(StateEnd).
|
|
1378
|
+
protoOf(StateEnd).n3f = function () {
|
|
1379
1379
|
return emptySequence();
|
|
1380
1380
|
};
|
|
1381
|
-
protoOf(StateEnd).
|
|
1382
|
-
var tmp0 = this.
|
|
1381
|
+
protoOf(StateEnd).i8 = function () {
|
|
1382
|
+
var tmp0 = this.e3h_1;
|
|
1383
1383
|
var tmp = KProperty1;
|
|
1384
1384
|
// Inline function 'kotlin.getValue' call
|
|
1385
1385
|
getPropertyCallableRef('context', 1, tmp, StateEnd$_get_context_$ref_fll2gn(), null);
|
|
1386
|
-
return tmp0.
|
|
1386
|
+
return tmp0.f2();
|
|
1387
1387
|
};
|
|
1388
1388
|
function stateEndTrue(_this__u8e3s4, substitution, sideEffectManager, sideEffects) {
|
|
1389
1389
|
substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
|
|
1390
1390
|
sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
|
|
1391
|
-
var tmp = _this__u8e3s4.
|
|
1392
|
-
var tmp_0 = _this__u8e3s4.
|
|
1393
|
-
return new True(tmp, tmp_0.
|
|
1391
|
+
var tmp = _this__u8e3s4.i8();
|
|
1392
|
+
var tmp_0 = _this__u8e3s4.f3d();
|
|
1393
|
+
return new True(tmp, tmp_0.w2g(substitution, sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.f3d().context) : sideEffectManager, sideEffects.slice()));
|
|
1394
1394
|
}
|
|
1395
1395
|
function stateEndFalse(_this__u8e3s4, sideEffectManager, sideEffects) {
|
|
1396
1396
|
sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
|
|
1397
|
-
var tmp = _this__u8e3s4.
|
|
1398
|
-
var tmp_0 = _this__u8e3s4.
|
|
1399
|
-
return new False(tmp, tmp_0.
|
|
1397
|
+
var tmp = _this__u8e3s4.i8();
|
|
1398
|
+
var tmp_0 = _this__u8e3s4.f3d();
|
|
1399
|
+
return new False(tmp, tmp_0.x2g(sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.f3d().context) : sideEffectManager, sideEffects.slice()));
|
|
1400
1400
|
}
|
|
1401
1401
|
function stateEndHalt(_this__u8e3s4, exception, sideEffectManager, sideEffects) {
|
|
1402
1402
|
sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
|
|
1403
|
-
var tmp = _this__u8e3s4.
|
|
1404
|
-
var tmp_0 = _this__u8e3s4.
|
|
1405
|
-
var tmp1_elvis_lhs = sideEffectManager == null ? getSideEffectManager(exception.
|
|
1406
|
-
return new Halt_0(tmp, tmp_0.
|
|
1403
|
+
var tmp = _this__u8e3s4.i8();
|
|
1404
|
+
var tmp_0 = _this__u8e3s4.f3d();
|
|
1405
|
+
var tmp1_elvis_lhs = sideEffectManager == null ? getSideEffectManager(exception.i8()) : sideEffectManager;
|
|
1406
|
+
return new Halt_0(tmp, tmp_0.y2g(exception, tmp1_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.f3d().context) : tmp1_elvis_lhs, sideEffects.slice()));
|
|
1407
1407
|
}
|
|
1408
1408
|
function stateEnd(_this__u8e3s4, response) {
|
|
1409
1409
|
// Inline function 'kotlin.with' call
|
|
@@ -1421,7 +1421,7 @@
|
|
|
1421
1421
|
function stateEnd$lambda($this_stateEnd, $sideEffectManager, $sideEffects) {
|
|
1422
1422
|
return function (sol) {
|
|
1423
1423
|
// Inline function 'kotlin.takeUnless' call
|
|
1424
|
-
var this_0 = sol.
|
|
1424
|
+
var this_0 = sol.n1u();
|
|
1425
1425
|
var tmp;
|
|
1426
1426
|
if (!this_0.h()) {
|
|
1427
1427
|
tmp = this_0;
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
tmp = null;
|
|
1430
1430
|
}
|
|
1431
1431
|
var tmp0_elvis_lhs = tmp;
|
|
1432
|
-
return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.
|
|
1432
|
+
return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.f3d().context.n1u() : tmp0_elvis_lhs, $sideEffectManager, $sideEffects.slice());
|
|
1433
1433
|
};
|
|
1434
1434
|
}
|
|
1435
1435
|
function stateEnd$lambda_0($this_stateEnd, $sideEffectManager, $sideEffects) {
|
|
@@ -1439,16 +1439,16 @@
|
|
|
1439
1439
|
}
|
|
1440
1440
|
function stateEnd$lambda_1($this_stateEnd, $sideEffectManager, $sideEffects) {
|
|
1441
1441
|
return function (it) {
|
|
1442
|
-
return stateEndHalt($this_stateEnd, it.
|
|
1442
|
+
return stateEndHalt($this_stateEnd, it.t1v(), $sideEffectManager, $sideEffects.slice());
|
|
1443
1443
|
};
|
|
1444
1444
|
}
|
|
1445
1445
|
function newThrowSolveRequest($this, $receiver, error) {
|
|
1446
1446
|
var tmp = Companion_getInstance_3();
|
|
1447
1447
|
// Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
|
|
1448
1448
|
var tmp$ret$0 = Throw_getInstance().signature.name;
|
|
1449
|
-
var tmp_0 = tmp.of(tmp$ret$0, [error.
|
|
1450
|
-
var tmp0_elvis_lhs = getSideEffectManager(error.
|
|
1451
|
-
return newSolveRequest($receiver, tmp_0, VOID, VOID, tmp0_elvis_lhs == null ? $receiver.context.
|
|
1449
|
+
var tmp_0 = tmp.of(tmp$ret$0, [error.b24()]);
|
|
1450
|
+
var tmp0_elvis_lhs = getSideEffectManager(error.i8());
|
|
1451
|
+
return newSolveRequest($receiver, tmp_0, VOID, VOID, tmp0_elvis_lhs == null ? $receiver.context.x3d_1 : tmp0_elvis_lhs, currentTimeInstant());
|
|
1452
1452
|
}
|
|
1453
1453
|
function Companion_2() {
|
|
1454
1454
|
}
|
|
@@ -1457,218 +1457,218 @@
|
|
|
1457
1457
|
return Companion_instance_13;
|
|
1458
1458
|
}
|
|
1459
1459
|
function StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation) {
|
|
1460
|
-
this.
|
|
1460
|
+
this.u3h_1 = this$0;
|
|
1461
1461
|
CoroutineImpl.call(this, resultContinuation);
|
|
1462
1462
|
}
|
|
1463
|
-
protoOf(StateGoalEvaluation$behaveTimed$slambda).
|
|
1464
|
-
var tmp = this.
|
|
1465
|
-
tmp.
|
|
1466
|
-
tmp.
|
|
1467
|
-
return tmp.
|
|
1463
|
+
protoOf(StateGoalEvaluation$behaveTimed$slambda).c3g = function ($this$sequence, $completion) {
|
|
1464
|
+
var tmp = this.d3g($this$sequence, $completion);
|
|
1465
|
+
tmp.e8_1 = Unit_instance;
|
|
1466
|
+
tmp.f8_1 = null;
|
|
1467
|
+
return tmp.k8();
|
|
1468
1468
|
};
|
|
1469
|
-
protoOf(StateGoalEvaluation$behaveTimed$slambda).
|
|
1470
|
-
return this.
|
|
1469
|
+
protoOf(StateGoalEvaluation$behaveTimed$slambda).b9 = function (p1, $completion) {
|
|
1470
|
+
return this.c3g(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1471
1471
|
};
|
|
1472
|
-
protoOf(StateGoalEvaluation$behaveTimed$slambda).
|
|
1473
|
-
var suspendResult = this.
|
|
1472
|
+
protoOf(StateGoalEvaluation$behaveTimed$slambda).k8 = function () {
|
|
1473
|
+
var suspendResult = this.e8_1;
|
|
1474
1474
|
$sm: do
|
|
1475
1475
|
try {
|
|
1476
|
-
var tmp = this.
|
|
1476
|
+
var tmp = this.c8_1;
|
|
1477
1477
|
switch (tmp) {
|
|
1478
1478
|
case 0:
|
|
1479
|
-
this.
|
|
1480
|
-
var $this$with = this.
|
|
1481
|
-
var primitive = $this$with.context.
|
|
1479
|
+
this.d8_1 = 11;
|
|
1480
|
+
var $this$with = this.u3h_1.i3i_1;
|
|
1481
|
+
var primitive = $this$with.context.l3d_1.e2d().i2($this$with.signature);
|
|
1482
1482
|
if (primitive == null) {
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1483
|
+
this.x3h_1 = null;
|
|
1484
|
+
this.c8_1 = 8;
|
|
1485
1485
|
continue $sm;
|
|
1486
1486
|
} else {
|
|
1487
|
-
this.
|
|
1488
|
-
this.
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1493
|
-
this.
|
|
1487
|
+
this.y3h_1 = primitive;
|
|
1488
|
+
this.y3h_1;
|
|
1489
|
+
this.d3i_1 = null;
|
|
1490
|
+
this.d8_1 = 1;
|
|
1491
|
+
this.d3i_1 = primitive.solve(this.u3h_1.i3i_1);
|
|
1492
|
+
this.d8_1 = 11;
|
|
1493
|
+
this.c8_1 = 3;
|
|
1494
1494
|
continue $sm;
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
1497
|
case 1:
|
|
1498
|
-
this.
|
|
1499
|
-
var tmp_0 = this.
|
|
1498
|
+
this.d8_1 = 11;
|
|
1499
|
+
var tmp_0 = this.f8_1;
|
|
1500
1500
|
if (tmp_0 instanceof HaltException) {
|
|
1501
|
-
var exception = this.
|
|
1502
|
-
this.
|
|
1503
|
-
suspendResult = this.
|
|
1501
|
+
var exception = this.f8_1;
|
|
1502
|
+
this.c8_1 = 2;
|
|
1503
|
+
suspendResult = this.v3h_1.cd(stateEndHalt(this.u3h_1, exception, VOID, []), this);
|
|
1504
1504
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1505
1505
|
return suspendResult;
|
|
1506
1506
|
}
|
|
1507
1507
|
continue $sm;
|
|
1508
1508
|
} else {
|
|
1509
|
-
var tmp_1 = this.
|
|
1509
|
+
var tmp_1 = this.f8_1;
|
|
1510
1510
|
if (tmp_1 instanceof LogicError) {
|
|
1511
|
-
var logicError = this.
|
|
1512
|
-
this.
|
|
1513
|
-
this.
|
|
1511
|
+
var logicError = this.f8_1;
|
|
1512
|
+
this.d3i_1 = Companion_instance_11.i3d(newThrowSolveRequest(Companion_instance_13, this.u3h_1.i3i_1, logicError));
|
|
1513
|
+
this.c8_1 = 3;
|
|
1514
1514
|
continue $sm;
|
|
1515
1515
|
} else {
|
|
1516
|
-
throw this.
|
|
1516
|
+
throw this.f8_1;
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
1520
|
case 2:
|
|
1521
|
-
this.
|
|
1521
|
+
this.c8_1 = 3;
|
|
1522
1522
|
continue $sm;
|
|
1523
1523
|
case 3:
|
|
1524
|
-
this.
|
|
1525
|
-
this.
|
|
1526
|
-
var tmp0_safe_receiver = this.
|
|
1524
|
+
this.d8_1 = 11;
|
|
1525
|
+
this.b3i_1 = emptyList();
|
|
1526
|
+
var tmp0_safe_receiver = this.d3i_1;
|
|
1527
1527
|
if (tmp0_safe_receiver == null) {
|
|
1528
|
-
this.
|
|
1529
|
-
this.
|
|
1528
|
+
this.z3h_1 = null;
|
|
1529
|
+
this.c8_1 = 7;
|
|
1530
1530
|
continue $sm;
|
|
1531
1531
|
} else {
|
|
1532
|
-
this.
|
|
1533
|
-
this.
|
|
1532
|
+
this.c3i_1 = tmp0_safe_receiver.n();
|
|
1533
|
+
this.c8_1 = 4;
|
|
1534
1534
|
continue $sm;
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
case 4:
|
|
1538
|
-
if (!this.
|
|
1539
|
-
this.
|
|
1538
|
+
if (!this.c3i_1.q()) {
|
|
1539
|
+
this.c8_1 = 6;
|
|
1540
1540
|
continue $sm;
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
|
-
var element = this.
|
|
1544
|
-
this.
|
|
1545
|
-
this.
|
|
1546
|
-
this.
|
|
1547
|
-
suspendResult = this.
|
|
1543
|
+
var element = this.c3i_1.r();
|
|
1544
|
+
this.a3i_1 = element;
|
|
1545
|
+
this.b3i_1 = addWithNoDuplicates(this.b3i_1, this.a3i_1.sideEffects);
|
|
1546
|
+
this.c8_1 = 5;
|
|
1547
|
+
suspendResult = this.v3h_1.cd(this.u3h_1.k3g(this.u3h_1, stateEnd(this.u3h_1, this.a3i_1.q2h(VOID, VOID, this.b3i_1))), this);
|
|
1548
1548
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1549
1549
|
return suspendResult;
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
1552
|
continue $sm;
|
|
1553
1553
|
case 5:
|
|
1554
|
-
var tmp_2 = this.
|
|
1554
|
+
var tmp_2 = this.a3i_1.solution;
|
|
1555
1555
|
if (isInterface(tmp_2, Halt))
|
|
1556
1556
|
return Unit_instance;
|
|
1557
|
-
this.
|
|
1557
|
+
this.c8_1 = 4;
|
|
1558
1558
|
continue $sm;
|
|
1559
1559
|
case 6:
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1560
|
+
this.z3h_1 = Unit_instance;
|
|
1561
|
+
this.c8_1 = 7;
|
|
1562
1562
|
continue $sm;
|
|
1563
1563
|
case 7:
|
|
1564
|
-
this.
|
|
1565
|
-
this.
|
|
1564
|
+
this.x3h_1 = this.y3h_1;
|
|
1565
|
+
this.c8_1 = 8;
|
|
1566
1566
|
continue $sm;
|
|
1567
1567
|
case 8:
|
|
1568
|
-
var tmp1_elvis_lhs = this.
|
|
1568
|
+
var tmp1_elvis_lhs = this.x3h_1;
|
|
1569
1569
|
if (tmp1_elvis_lhs == null) {
|
|
1570
|
-
this.
|
|
1571
|
-
suspendResult = this.
|
|
1570
|
+
this.c8_1 = 9;
|
|
1571
|
+
suspendResult = this.v3h_1.cd(new StateRuleSelection(this.u3h_1.i3i_1), this);
|
|
1572
1572
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1573
1573
|
return suspendResult;
|
|
1574
1574
|
}
|
|
1575
1575
|
continue $sm;
|
|
1576
1576
|
} else {
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1577
|
+
this.w3h_1 = tmp1_elvis_lhs;
|
|
1578
|
+
this.c8_1 = 10;
|
|
1579
1579
|
continue $sm;
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
1582
|
case 9:
|
|
1583
1583
|
var tmp_3 = this;
|
|
1584
|
-
tmp_3.
|
|
1585
|
-
this.
|
|
1584
|
+
tmp_3.w3h_1 = Unit_instance;
|
|
1585
|
+
this.c8_1 = 10;
|
|
1586
1586
|
continue $sm;
|
|
1587
1587
|
case 10:
|
|
1588
1588
|
return Unit_instance;
|
|
1589
1589
|
case 11:
|
|
1590
|
-
throw this.
|
|
1590
|
+
throw this.f8_1;
|
|
1591
1591
|
}
|
|
1592
1592
|
} catch ($p) {
|
|
1593
1593
|
var e = $p;
|
|
1594
|
-
if (this.
|
|
1594
|
+
if (this.d8_1 === 11) {
|
|
1595
1595
|
throw e;
|
|
1596
1596
|
} else {
|
|
1597
|
-
this.
|
|
1598
|
-
this.
|
|
1597
|
+
this.c8_1 = this.d8_1;
|
|
1598
|
+
this.f8_1 = e;
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
1601
|
while (true);
|
|
1602
1602
|
};
|
|
1603
|
-
protoOf(StateGoalEvaluation$behaveTimed$slambda).
|
|
1604
|
-
var i = new StateGoalEvaluation$behaveTimed$slambda(this.
|
|
1605
|
-
i.
|
|
1603
|
+
protoOf(StateGoalEvaluation$behaveTimed$slambda).d3g = function ($this$sequence, completion) {
|
|
1604
|
+
var i = new StateGoalEvaluation$behaveTimed$slambda(this.u3h_1, completion);
|
|
1605
|
+
i.v3h_1 = $this$sequence;
|
|
1606
1606
|
return i;
|
|
1607
1607
|
};
|
|
1608
1608
|
function StateGoalEvaluation$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
1609
1609
|
var i = new StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation);
|
|
1610
1610
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
1611
|
-
return i.
|
|
1611
|
+
return i.c3g($this$sequence, $completion);
|
|
1612
1612
|
}, 1);
|
|
1613
1613
|
}
|
|
1614
1614
|
function StateGoalEvaluation(solve) {
|
|
1615
1615
|
AbstractTimedState.call(this, solve);
|
|
1616
|
-
this.
|
|
1616
|
+
this.i3i_1 = solve;
|
|
1617
1617
|
}
|
|
1618
|
-
protoOf(StateGoalEvaluation).
|
|
1619
|
-
return this.
|
|
1618
|
+
protoOf(StateGoalEvaluation).f3d = function () {
|
|
1619
|
+
return this.i3i_1;
|
|
1620
1620
|
};
|
|
1621
|
-
protoOf(StateGoalEvaluation).
|
|
1621
|
+
protoOf(StateGoalEvaluation).j3g = function () {
|
|
1622
1622
|
return sequence(StateGoalEvaluation$behaveTimed$slambda_0(this, null));
|
|
1623
1623
|
};
|
|
1624
1624
|
function StateInit$behaveTimed$slambda(this$0, resultContinuation) {
|
|
1625
|
-
this.
|
|
1625
|
+
this.r3i_1 = this$0;
|
|
1626
1626
|
CoroutineImpl.call(this, resultContinuation);
|
|
1627
1627
|
}
|
|
1628
|
-
protoOf(StateInit$behaveTimed$slambda).
|
|
1629
|
-
var tmp = this.
|
|
1630
|
-
tmp.
|
|
1631
|
-
tmp.
|
|
1632
|
-
return tmp.
|
|
1628
|
+
protoOf(StateInit$behaveTimed$slambda).c3g = function ($this$sequence, $completion) {
|
|
1629
|
+
var tmp = this.d3g($this$sequence, $completion);
|
|
1630
|
+
tmp.e8_1 = Unit_instance;
|
|
1631
|
+
tmp.f8_1 = null;
|
|
1632
|
+
return tmp.k8();
|
|
1633
1633
|
};
|
|
1634
|
-
protoOf(StateInit$behaveTimed$slambda).
|
|
1635
|
-
return this.
|
|
1634
|
+
protoOf(StateInit$behaveTimed$slambda).b9 = function (p1, $completion) {
|
|
1635
|
+
return this.c3g(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1636
1636
|
};
|
|
1637
|
-
protoOf(StateInit$behaveTimed$slambda).
|
|
1638
|
-
var suspendResult = this.
|
|
1637
|
+
protoOf(StateInit$behaveTimed$slambda).k8 = function () {
|
|
1638
|
+
var suspendResult = this.e8_1;
|
|
1639
1639
|
$sm: do
|
|
1640
1640
|
try {
|
|
1641
|
-
var tmp = this.
|
|
1641
|
+
var tmp = this.c8_1;
|
|
1642
1642
|
switch (tmp) {
|
|
1643
1643
|
case 0:
|
|
1644
|
-
this.
|
|
1645
|
-
var $this$with = this.
|
|
1646
|
-
var initializedSideEffectsManager = $this$with.
|
|
1647
|
-
var currentGoal = this.
|
|
1648
|
-
var $this$with_0 = this.
|
|
1649
|
-
if ($this$with_0.
|
|
1650
|
-
this.
|
|
1651
|
-
suspendResult = this.
|
|
1644
|
+
this.d8_1 = 6;
|
|
1645
|
+
var $this$with = this.r3i_1.a3j_1.context;
|
|
1646
|
+
var initializedSideEffectsManager = $this$with.x3d_1.h3e($this$with);
|
|
1647
|
+
var currentGoal = this.r3i_1.a3j_1.q1v();
|
|
1648
|
+
var $this$with_0 = this.r3i_1.a3j_1.context;
|
|
1649
|
+
if ($this$with_0.w3d_1.d3d(currentGoal, $this$with_0)) {
|
|
1650
|
+
this.c8_1 = 4;
|
|
1651
|
+
suspendResult = this.s3i_1.cd(this.r3i_1.k3g(this.r3i_1, stateEndTrue(this.r3i_1, this.r3i_1.a3j_1.context.t3d_1, initializedSideEffectsManager, [])), this);
|
|
1652
1652
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1653
1653
|
return suspendResult;
|
|
1654
1654
|
}
|
|
1655
1655
|
continue $sm;
|
|
1656
1656
|
} else {
|
|
1657
1657
|
if (isWellFormed(currentGoal)) {
|
|
1658
|
-
this.
|
|
1659
|
-
var preparedGoal = this.
|
|
1660
|
-
this.
|
|
1658
|
+
this.v3i_1 = prepareForExecutionAsGoal(currentGoal);
|
|
1659
|
+
var preparedGoal = this.v3i_1;
|
|
1660
|
+
this.c8_1 = 2;
|
|
1661
1661
|
var tmp_0 = extractSignature(preparedGoal);
|
|
1662
|
-
var tmp_1 = preparedGoal.
|
|
1663
|
-
var $this$with_1 = this.
|
|
1664
|
-
suspendResult = this.
|
|
1662
|
+
var tmp_1 = preparedGoal.bu();
|
|
1663
|
+
var $this$with_1 = this.r3i_1.a3j_1.context;
|
|
1664
|
+
suspendResult = this.s3i_1.cd(new StateGoalEvaluation(this.r3i_1.a3j_1.l2h(tmp_0, tmp_1, $this$with_1.t3e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, initializedSideEffectsManager))), this);
|
|
1665
1665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1666
1666
|
return suspendResult;
|
|
1667
1667
|
}
|
|
1668
1668
|
continue $sm;
|
|
1669
1669
|
} else {
|
|
1670
|
-
this.
|
|
1671
|
-
suspendResult = this.
|
|
1670
|
+
this.c8_1 = 1;
|
|
1671
|
+
suspendResult = this.s3i_1.cd(stateEndFalse(this.r3i_1, initializedSideEffectsManager, []), this);
|
|
1672
1672
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1673
1673
|
return suspendResult;
|
|
1674
1674
|
}
|
|
@@ -1678,64 +1678,64 @@
|
|
|
1678
1678
|
|
|
1679
1679
|
case 1:
|
|
1680
1680
|
var tmp_2 = this;
|
|
1681
|
-
tmp_2.
|
|
1682
|
-
this.
|
|
1681
|
+
tmp_2.u3i_1 = Unit_instance;
|
|
1682
|
+
this.c8_1 = 3;
|
|
1683
1683
|
continue $sm;
|
|
1684
1684
|
case 2:
|
|
1685
|
-
this.
|
|
1686
|
-
this.
|
|
1685
|
+
this.u3i_1 = this.v3i_1;
|
|
1686
|
+
this.c8_1 = 3;
|
|
1687
1687
|
continue $sm;
|
|
1688
1688
|
case 3:
|
|
1689
|
-
this.
|
|
1690
|
-
this.
|
|
1689
|
+
this.t3i_1 = this.u3i_1;
|
|
1690
|
+
this.c8_1 = 5;
|
|
1691
1691
|
continue $sm;
|
|
1692
1692
|
case 4:
|
|
1693
1693
|
var tmp_3 = this;
|
|
1694
|
-
tmp_3.
|
|
1695
|
-
this.
|
|
1694
|
+
tmp_3.t3i_1 = Unit_instance;
|
|
1695
|
+
this.c8_1 = 5;
|
|
1696
1696
|
continue $sm;
|
|
1697
1697
|
case 5:
|
|
1698
1698
|
return Unit_instance;
|
|
1699
1699
|
case 6:
|
|
1700
|
-
throw this.
|
|
1700
|
+
throw this.f8_1;
|
|
1701
1701
|
}
|
|
1702
1702
|
} catch ($p) {
|
|
1703
1703
|
var e = $p;
|
|
1704
|
-
if (this.
|
|
1704
|
+
if (this.d8_1 === 6) {
|
|
1705
1705
|
throw e;
|
|
1706
1706
|
} else {
|
|
1707
|
-
this.
|
|
1708
|
-
this.
|
|
1707
|
+
this.c8_1 = this.d8_1;
|
|
1708
|
+
this.f8_1 = e;
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
1711
|
while (true);
|
|
1712
1712
|
};
|
|
1713
|
-
protoOf(StateInit$behaveTimed$slambda).
|
|
1714
|
-
var i = new StateInit$behaveTimed$slambda(this.
|
|
1715
|
-
i.
|
|
1713
|
+
protoOf(StateInit$behaveTimed$slambda).d3g = function ($this$sequence, completion) {
|
|
1714
|
+
var i = new StateInit$behaveTimed$slambda(this.r3i_1, completion);
|
|
1715
|
+
i.s3i_1 = $this$sequence;
|
|
1716
1716
|
return i;
|
|
1717
1717
|
};
|
|
1718
1718
|
function StateInit$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
1719
1719
|
var i = new StateInit$behaveTimed$slambda(this$0, resultContinuation);
|
|
1720
1720
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
1721
|
-
return i.
|
|
1721
|
+
return i.c3g($this$sequence, $completion);
|
|
1722
1722
|
}, 1);
|
|
1723
1723
|
}
|
|
1724
1724
|
function StateInit(solve) {
|
|
1725
1725
|
AbstractTimedState.call(this, solve);
|
|
1726
|
-
this.
|
|
1726
|
+
this.a3j_1 = solve;
|
|
1727
1727
|
}
|
|
1728
|
-
protoOf(StateInit).
|
|
1729
|
-
return this.
|
|
1728
|
+
protoOf(StateInit).f3d = function () {
|
|
1729
|
+
return this.a3j_1;
|
|
1730
1730
|
};
|
|
1731
|
-
protoOf(StateInit).
|
|
1731
|
+
protoOf(StateInit).j3g = function () {
|
|
1732
1732
|
return sequence(StateInit$behaveTimed$slambda_0(this, null));
|
|
1733
1733
|
};
|
|
1734
1734
|
function retrieveRulesMatching($this, $receiver, currentGoal) {
|
|
1735
1735
|
// Inline function 'kotlin.let' call
|
|
1736
|
-
var refreshedGoal = currentGoal.
|
|
1736
|
+
var refreshedGoal = currentGoal.du();
|
|
1737
1737
|
// Inline function 'kotlin.takeIf' call
|
|
1738
|
-
var this_0 = $receiver.
|
|
1738
|
+
var this_0 = $receiver.r1u().asTheory($receiver.u1k()).getByHead(refreshedGoal);
|
|
1739
1739
|
var tmp;
|
|
1740
1740
|
if (any(this_0)) {
|
|
1741
1741
|
tmp = this_0;
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
var tmp0_elvis_lhs = tmp;
|
|
1746
1746
|
var tmp_0;
|
|
1747
1747
|
if (tmp0_elvis_lhs == null) {
|
|
1748
|
-
var tmp_1 = sequenceOf_0([$receiver.
|
|
1748
|
+
var tmp_1 = sequenceOf_0([$receiver.t1u(), $receiver.u1u()]);
|
|
1749
1749
|
tmp_0 = flatMap(tmp_1, StateRuleSelection$Companion$retrieveRulesMatching$lambda(refreshedGoal));
|
|
1750
1750
|
} else {
|
|
1751
1751
|
tmp_0 = tmp0_elvis_lhs;
|
|
@@ -1755,13 +1755,13 @@
|
|
|
1755
1755
|
function initializeForSubRuleScope($this, $receiver) {
|
|
1756
1756
|
// Inline function 'kotlin.with' call
|
|
1757
1757
|
var $this$with = $receiver.context;
|
|
1758
|
-
var tmp$ret$0 = $this$with.
|
|
1759
|
-
return $receiver.
|
|
1758
|
+
var tmp$ret$0 = $this$with.t3e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$with.x3d_1.j3e());
|
|
1759
|
+
return $receiver.l2h(VOID, VOID, tmp$ret$0);
|
|
1760
1760
|
}
|
|
1761
1761
|
function removeSubstitutionFor($this, $receiver, unusedVariables) {
|
|
1762
1762
|
var tmp;
|
|
1763
1763
|
if (isInterface($receiver, Yes)) {
|
|
1764
|
-
tmp = $receiver.copy(VOID, $receiver.
|
|
1764
|
+
tmp = $receiver.copy(VOID, $receiver.n1u().yz(asIterable(unusedVariables)));
|
|
1765
1765
|
} else {
|
|
1766
1766
|
tmp = $receiver;
|
|
1767
1767
|
}
|
|
@@ -1773,7 +1773,7 @@
|
|
|
1773
1773
|
};
|
|
1774
1774
|
}
|
|
1775
1775
|
function StateRuleSelection$behaveTimed$slambda$lambda(it) {
|
|
1776
|
-
var tmp = prepareForExecution(it).
|
|
1776
|
+
var tmp = prepareForExecution(it).du();
|
|
1777
1777
|
return isInterface(tmp, Rule) ? tmp : THROW_CCE();
|
|
1778
1778
|
}
|
|
1779
1779
|
function Companion_3() {
|
|
@@ -1783,124 +1783,124 @@
|
|
|
1783
1783
|
return Companion_instance_14;
|
|
1784
1784
|
}
|
|
1785
1785
|
function StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation) {
|
|
1786
|
-
this.
|
|
1786
|
+
this.j3j_1 = this$0;
|
|
1787
1787
|
CoroutineImpl.call(this, resultContinuation);
|
|
1788
1788
|
}
|
|
1789
|
-
protoOf(StateRuleSelection$behaveTimed$slambda).
|
|
1790
|
-
var tmp = this.
|
|
1791
|
-
tmp.
|
|
1792
|
-
tmp.
|
|
1793
|
-
return tmp.
|
|
1789
|
+
protoOf(StateRuleSelection$behaveTimed$slambda).c3g = function ($this$sequence, $completion) {
|
|
1790
|
+
var tmp = this.d3g($this$sequence, $completion);
|
|
1791
|
+
tmp.e8_1 = Unit_instance;
|
|
1792
|
+
tmp.f8_1 = null;
|
|
1793
|
+
return tmp.k8();
|
|
1794
1794
|
};
|
|
1795
|
-
protoOf(StateRuleSelection$behaveTimed$slambda).
|
|
1796
|
-
return this.
|
|
1795
|
+
protoOf(StateRuleSelection$behaveTimed$slambda).b9 = function (p1, $completion) {
|
|
1796
|
+
return this.c3g(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1797
1797
|
};
|
|
1798
|
-
protoOf(StateRuleSelection$behaveTimed$slambda).
|
|
1799
|
-
var suspendResult = this.
|
|
1798
|
+
protoOf(StateRuleSelection$behaveTimed$slambda).k8 = function () {
|
|
1799
|
+
var suspendResult = this.e8_1;
|
|
1800
1800
|
$sm: do
|
|
1801
1801
|
try {
|
|
1802
|
-
var tmp = this.
|
|
1802
|
+
var tmp = this.c8_1;
|
|
1803
1803
|
switch (tmp) {
|
|
1804
1804
|
case 0:
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1807
|
-
var matchingRules = retrieveRulesMatching(Companion_instance_14, this.
|
|
1808
|
-
this.
|
|
1805
|
+
this.d8_1 = 12;
|
|
1806
|
+
this.t3j_1 = this.j3j_1.z3j_1.q1v();
|
|
1807
|
+
var matchingRules = retrieveRulesMatching(Companion_instance_14, this.j3j_1.z3j_1.context, this.t3j_1);
|
|
1808
|
+
this.s3j_1 = moreThanOne(matchingRules);
|
|
1809
1809
|
if (none(matchingRules)) {
|
|
1810
|
-
this.
|
|
1811
|
-
suspendResult = this.
|
|
1810
|
+
this.c8_1 = 10;
|
|
1811
|
+
suspendResult = this.k3j_1.cd(stateEndFalse(this.j3j_1, VOID, []), this);
|
|
1812
1812
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1813
1813
|
return suspendResult;
|
|
1814
1814
|
}
|
|
1815
1815
|
continue $sm;
|
|
1816
1816
|
} else {
|
|
1817
|
-
var $this$with = this.
|
|
1818
|
-
var tmp_0 = orderWithStrategy(matchingRules, $this$with, SolverStrategies$clauseChoiceStrategy$ref($this$with.
|
|
1819
|
-
this.
|
|
1820
|
-
this.
|
|
1817
|
+
var $this$with = this.j3j_1.z3j_1.context;
|
|
1818
|
+
var tmp_0 = orderWithStrategy(matchingRules, $this$with, SolverStrategies$clauseChoiceStrategy$ref($this$with.w3d_1));
|
|
1819
|
+
this.u3j_1 = map(tmp_0, StateRuleSelection$behaveTimed$slambda$lambda).n();
|
|
1820
|
+
this.c8_1 = 1;
|
|
1821
1821
|
continue $sm;
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
1824
|
case 1:
|
|
1825
|
-
if (!this.
|
|
1826
|
-
this.
|
|
1825
|
+
if (!this.u3j_1.q()) {
|
|
1826
|
+
this.c8_1 = 9;
|
|
1827
1827
|
continue $sm;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
|
-
var tmp0 = this.
|
|
1831
|
-
var tmp2 = this.
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
var unifyingSubstitution = this.
|
|
1835
|
-
var tmp_1 = this.
|
|
1830
|
+
var tmp0 = this.u3j_1.r();
|
|
1831
|
+
var tmp2 = this.u3j_1.q();
|
|
1832
|
+
this.n3j_1 = tmp0;
|
|
1833
|
+
this.o3j_1 = tmp2;
|
|
1834
|
+
var unifyingSubstitution = this.j3j_1.i8().k3d_1.mgu(this.t3j_1, this.n3j_1.gw());
|
|
1835
|
+
var tmp_1 = this.n3j_1.hw().applySubstitution(unifyingSubstitution);
|
|
1836
1836
|
var wellFormedRuleBody = isInterface(tmp_1, Struct) ? tmp_1 : THROW_CCE();
|
|
1837
1837
|
var tmp_2 = this;
|
|
1838
|
-
var tmp0_$receiver = this.
|
|
1838
|
+
var tmp0_$receiver = this.j3j_1.z3j_1;
|
|
1839
1839
|
var tmp1_requestIssuingInstant = currentTimeInstant();
|
|
1840
|
-
tmp_2.
|
|
1841
|
-
this.
|
|
1842
|
-
var it = this.
|
|
1843
|
-
this.
|
|
1844
|
-
suspendResult = this.
|
|
1840
|
+
tmp_2.p3j_1 = newSolveRequest(tmp0_$receiver, wellFormedRuleBody, unifyingSubstitution, VOID, VOID, tmp1_requestIssuingInstant, this.s3j_1);
|
|
1841
|
+
this.r3j_1 = new StateInit(initializeForSubRuleScope(Companion_instance_14, this.p3j_1));
|
|
1842
|
+
var it = this.r3j_1;
|
|
1843
|
+
this.c8_1 = 2;
|
|
1844
|
+
suspendResult = this.k3j_1.cd(asAlreadyExecuted(it), this);
|
|
1845
1845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1846
1846
|
return suspendResult;
|
|
1847
1847
|
}
|
|
1848
1848
|
|
|
1849
1849
|
continue $sm;
|
|
1850
1850
|
case 2:
|
|
1851
|
-
var subInitialState = this.
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1854
|
-
this.
|
|
1851
|
+
var subInitialState = this.r3j_1;
|
|
1852
|
+
this.l3j_1 = false;
|
|
1853
|
+
this.q3j_1 = this.j3j_1.a3k_1(subInitialState).n();
|
|
1854
|
+
this.c8_1 = 3;
|
|
1855
1855
|
continue $sm;
|
|
1856
1856
|
case 3:
|
|
1857
|
-
if (!this.
|
|
1858
|
-
this.
|
|
1857
|
+
if (!this.q3j_1.q()) {
|
|
1858
|
+
this.c8_1 = 8;
|
|
1859
1859
|
continue $sm;
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
-
var element = this.
|
|
1863
|
-
this.
|
|
1862
|
+
var element = this.q3j_1.r();
|
|
1863
|
+
this.m3j_1 = element.o3f_1;
|
|
1864
1864
|
var tmp_3;
|
|
1865
|
-
var tmp_4 = this.
|
|
1865
|
+
var tmp_4 = this.m3j_1;
|
|
1866
1866
|
if (isInterface(tmp_4, FinalState)) {
|
|
1867
|
-
tmp_3 = this.
|
|
1867
|
+
tmp_3 = this.m3j_1.f3d().solution.q1v().equals(this.p3j_1.q1v());
|
|
1868
1868
|
} else {
|
|
1869
1869
|
tmp_3 = false;
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
1872
|
if (tmp_3) {
|
|
1873
|
-
if (shouldCutExecuteInRuleSelection(this.
|
|
1874
|
-
this.
|
|
1873
|
+
if (shouldCutExecuteInRuleSelection(this.m3j_1.f3d().sideEffectManager)) {
|
|
1874
|
+
this.l3j_1 = true;
|
|
1875
1875
|
}
|
|
1876
1876
|
var tmp_5;
|
|
1877
1877
|
var tmp_6;
|
|
1878
|
-
var tmp_7 = this.
|
|
1878
|
+
var tmp_7 = this.m3j_1;
|
|
1879
1879
|
if (!(tmp_7 instanceof False)) {
|
|
1880
1880
|
tmp_6 = true;
|
|
1881
1881
|
} else {
|
|
1882
|
-
tmp_6 = !this.
|
|
1882
|
+
tmp_6 = !this.o3j_1;
|
|
1883
1883
|
}
|
|
1884
1884
|
if (tmp_6) {
|
|
1885
1885
|
tmp_5 = true;
|
|
1886
1886
|
} else {
|
|
1887
|
-
tmp_5 = this.
|
|
1887
|
+
tmp_5 = this.l3j_1;
|
|
1888
1888
|
}
|
|
1889
1889
|
if (tmp_5) {
|
|
1890
|
-
var extendedScopeSideEffectManager = extendParentScopeWith(this.
|
|
1891
|
-
this.
|
|
1892
|
-
suspendResult = this.
|
|
1890
|
+
var extendedScopeSideEffectManager = extendParentScopeWith(this.m3j_1.f3d().sideEffectManager, this.j3j_1.z3j_1.context.x3d_1);
|
|
1891
|
+
this.c8_1 = 5;
|
|
1892
|
+
suspendResult = this.k3j_1.cd(stateEnd(this.j3j_1, this.m3j_1.f3d().q2h(removeSubstitutionFor(Companion_instance_14, this.m3j_1.f3d().solution, this.n3j_1.cu()), extendedScopeSideEffectManager)), this);
|
|
1893
1893
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1894
1894
|
return suspendResult;
|
|
1895
1895
|
}
|
|
1896
1896
|
continue $sm;
|
|
1897
1897
|
} else {
|
|
1898
|
-
this.
|
|
1898
|
+
this.c8_1 = 6;
|
|
1899
1899
|
continue $sm;
|
|
1900
1900
|
}
|
|
1901
1901
|
} else {
|
|
1902
|
-
this.
|
|
1903
|
-
suspendResult = this.
|
|
1902
|
+
this.c8_1 = 4;
|
|
1903
|
+
suspendResult = this.k3j_1.cd(element, this);
|
|
1904
1904
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1905
1905
|
return suspendResult;
|
|
1906
1906
|
}
|
|
@@ -1908,75 +1908,75 @@
|
|
|
1908
1908
|
}
|
|
1909
1909
|
|
|
1910
1910
|
case 4:
|
|
1911
|
-
this.
|
|
1911
|
+
this.c8_1 = 7;
|
|
1912
1912
|
continue $sm;
|
|
1913
1913
|
case 5:
|
|
1914
|
-
this.
|
|
1914
|
+
this.c8_1 = 6;
|
|
1915
1915
|
continue $sm;
|
|
1916
1916
|
case 6:
|
|
1917
|
-
var tmp_8 = this.
|
|
1917
|
+
var tmp_8 = this.m3j_1;
|
|
1918
1918
|
if (tmp_8 instanceof Halt_0)
|
|
1919
1919
|
return Unit_instance;
|
|
1920
|
-
this.
|
|
1920
|
+
this.c8_1 = 7;
|
|
1921
1921
|
continue $sm;
|
|
1922
1922
|
case 7:
|
|
1923
|
-
this.
|
|
1923
|
+
this.c8_1 = 3;
|
|
1924
1924
|
continue $sm;
|
|
1925
1925
|
case 8:
|
|
1926
|
-
if (this.
|
|
1926
|
+
if (this.l3j_1)
|
|
1927
1927
|
return Unit_instance;
|
|
1928
|
-
this.
|
|
1928
|
+
this.c8_1 = 1;
|
|
1929
1929
|
continue $sm;
|
|
1930
1930
|
case 9:
|
|
1931
|
-
this.
|
|
1931
|
+
this.c8_1 = 11;
|
|
1932
1932
|
continue $sm;
|
|
1933
1933
|
case 10:
|
|
1934
|
-
this.
|
|
1934
|
+
this.c8_1 = 11;
|
|
1935
1935
|
continue $sm;
|
|
1936
1936
|
case 11:
|
|
1937
1937
|
return Unit_instance;
|
|
1938
1938
|
case 12:
|
|
1939
|
-
throw this.
|
|
1939
|
+
throw this.f8_1;
|
|
1940
1940
|
}
|
|
1941
1941
|
} catch ($p) {
|
|
1942
1942
|
var e = $p;
|
|
1943
|
-
if (this.
|
|
1943
|
+
if (this.d8_1 === 12) {
|
|
1944
1944
|
throw e;
|
|
1945
1945
|
} else {
|
|
1946
|
-
this.
|
|
1947
|
-
this.
|
|
1946
|
+
this.c8_1 = this.d8_1;
|
|
1947
|
+
this.f8_1 = e;
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
1950
|
while (true);
|
|
1951
1951
|
};
|
|
1952
|
-
protoOf(StateRuleSelection$behaveTimed$slambda).
|
|
1953
|
-
var i = new StateRuleSelection$behaveTimed$slambda(this.
|
|
1954
|
-
i.
|
|
1952
|
+
protoOf(StateRuleSelection$behaveTimed$slambda).d3g = function ($this$sequence, completion) {
|
|
1953
|
+
var i = new StateRuleSelection$behaveTimed$slambda(this.j3j_1, completion);
|
|
1954
|
+
i.k3j_1 = $this$sequence;
|
|
1955
1955
|
return i;
|
|
1956
1956
|
};
|
|
1957
1957
|
function StateRuleSelection$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
1958
1958
|
var i = new StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation);
|
|
1959
1959
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
1960
|
-
return i.
|
|
1960
|
+
return i.c3g($this$sequence, $completion);
|
|
1961
1961
|
}, 1);
|
|
1962
1962
|
}
|
|
1963
1963
|
function StateRuleSelection(solve) {
|
|
1964
1964
|
AbstractTimedState.call(this, solve);
|
|
1965
|
-
this.
|
|
1965
|
+
this.z3j_1 = solve;
|
|
1966
1966
|
var tmp = this;
|
|
1967
|
-
tmp.
|
|
1967
|
+
tmp.a3k_1 = StateMachineExecutor$executeWrapping$ref(StateMachineExecutor_instance);
|
|
1968
1968
|
}
|
|
1969
|
-
protoOf(StateRuleSelection).
|
|
1970
|
-
return this.
|
|
1969
|
+
protoOf(StateRuleSelection).f3d = function () {
|
|
1970
|
+
return this.z3j_1;
|
|
1971
1971
|
};
|
|
1972
|
-
protoOf(StateRuleSelection).
|
|
1972
|
+
protoOf(StateRuleSelection).j3g = function () {
|
|
1973
1973
|
return sequence(StateRuleSelection$behaveTimed$slambda_0(this, null));
|
|
1974
1974
|
};
|
|
1975
1975
|
function DefaultBuiltins() {
|
|
1976
1976
|
DefaultBuiltins_instance = this;
|
|
1977
1977
|
ExtensionLibrary.call(this, CommonBuiltins_getInstance());
|
|
1978
1978
|
}
|
|
1979
|
-
protoOf(DefaultBuiltins).
|
|
1979
|
+
protoOf(DefaultBuiltins).s2d = function () {
|
|
1980
1980
|
return listOf_0([Call_getInstance(), Catch_getInstance(), Conjunction_getInstance(), Cut_getInstance(), Throw_getInstance(), Not_getInstance()]);
|
|
1981
1981
|
};
|
|
1982
1982
|
var DefaultBuiltins_instance;
|
|
@@ -1987,27 +1987,27 @@
|
|
|
1987
1987
|
}
|
|
1988
1988
|
function Call$uncheckedImplementation$lambda($request) {
|
|
1989
1989
|
return function (it) {
|
|
1990
|
-
return replyWith($request, it.
|
|
1990
|
+
return replyWith($request, it.q2h(VOID, resetCutWorkChanges(it.sideEffectManager, $request.context.x3d_1)));
|
|
1991
1991
|
};
|
|
1992
1992
|
}
|
|
1993
1993
|
function Call() {
|
|
1994
1994
|
Call_instance = this;
|
|
1995
1995
|
PrimitiveWrapper_init_$Init$('call', 1, VOID, this);
|
|
1996
1996
|
}
|
|
1997
|
-
protoOf(Call).
|
|
1997
|
+
protoOf(Call).i3k = function (request) {
|
|
1998
1998
|
// Inline function 'kotlin.let' call
|
|
1999
|
-
var toBeCalledGoal = single(Companion_getInstance_4().
|
|
1999
|
+
var toBeCalledGoal = single(Companion_getInstance_4().s2e(request).arguments);
|
|
2000
2000
|
var tmp;
|
|
2001
2001
|
if (isWellFormed(toBeCalledGoal)) {
|
|
2002
|
-
var tmp_0 = Companion_instance_11.
|
|
2002
|
+
var tmp_0 = Companion_instance_11.i3d(newSolveRequest(request, prepareForExecutionAsGoal(toBeCalledGoal)));
|
|
2003
2003
|
tmp = map(tmp_0, Call$uncheckedImplementation$lambda(request));
|
|
2004
2004
|
} else {
|
|
2005
2005
|
throw TypeError_init_$Create$('call/1 argument is neither a Variable nor a well-formed goal', VOID, request.context, Expected_CALLABLE_getInstance(), toBeCalledGoal);
|
|
2006
2006
|
}
|
|
2007
2007
|
return tmp;
|
|
2008
2008
|
};
|
|
2009
|
-
protoOf(Call).
|
|
2010
|
-
return this.
|
|
2009
|
+
protoOf(Call).e2f = function (request) {
|
|
2010
|
+
return this.i3k(request);
|
|
2011
2011
|
};
|
|
2012
2012
|
var Call_instance;
|
|
2013
2013
|
function Call_getInstance() {
|
|
@@ -2027,53 +2027,53 @@
|
|
|
2027
2027
|
return tmp.of(tmp$ret$0, [goal]);
|
|
2028
2028
|
}
|
|
2029
2029
|
function ensureNoMoreSelectableCatch($this, $receiver, notSelectableContext) {
|
|
2030
|
-
return $receiver.
|
|
2030
|
+
return $receiver.l2h(VOID, VOID, $receiver.context.t3e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $receiver.context.x3d_1.q3e(notSelectableContext)));
|
|
2031
2031
|
}
|
|
2032
2032
|
function Catch$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2033
|
-
this.
|
|
2033
|
+
this.r3k_1 = $request;
|
|
2034
2034
|
CoroutineImpl.call(this, resultContinuation);
|
|
2035
2035
|
}
|
|
2036
|
-
protoOf(Catch$uncheckedImplementation$slambda).
|
|
2037
|
-
var tmp = this.
|
|
2038
|
-
tmp.
|
|
2039
|
-
tmp.
|
|
2040
|
-
return tmp.
|
|
2036
|
+
protoOf(Catch$uncheckedImplementation$slambda).n2p = function ($this$sequence, $completion) {
|
|
2037
|
+
var tmp = this.o2p($this$sequence, $completion);
|
|
2038
|
+
tmp.e8_1 = Unit_instance;
|
|
2039
|
+
tmp.f8_1 = null;
|
|
2040
|
+
return tmp.k8();
|
|
2041
2041
|
};
|
|
2042
|
-
protoOf(Catch$uncheckedImplementation$slambda).
|
|
2043
|
-
return this.
|
|
2042
|
+
protoOf(Catch$uncheckedImplementation$slambda).b9 = function (p1, $completion) {
|
|
2043
|
+
return this.n2p(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
2044
2044
|
};
|
|
2045
|
-
protoOf(Catch$uncheckedImplementation$slambda).
|
|
2046
|
-
var suspendResult = this.
|
|
2045
|
+
protoOf(Catch$uncheckedImplementation$slambda).k8 = function () {
|
|
2046
|
+
var suspendResult = this.e8_1;
|
|
2047
2047
|
$sm: do
|
|
2048
2048
|
try {
|
|
2049
|
-
var tmp = this.
|
|
2049
|
+
var tmp = this.c8_1;
|
|
2050
2050
|
switch (tmp) {
|
|
2051
2051
|
case 0:
|
|
2052
|
-
this.
|
|
2053
|
-
var goalArgument = first_0(this.
|
|
2054
|
-
this.
|
|
2055
|
-
this.
|
|
2052
|
+
this.d8_1 = 6;
|
|
2053
|
+
var goalArgument = first_0(this.r3k_1.arguments);
|
|
2054
|
+
this.t3k_1 = Companion_instance_11.i3d(newSolveRequest(this.r3k_1, call(Catch_getInstance(), goalArgument))).n();
|
|
2055
|
+
this.c8_1 = 1;
|
|
2056
2056
|
continue $sm;
|
|
2057
2057
|
case 1:
|
|
2058
|
-
if (!this.
|
|
2059
|
-
this.
|
|
2058
|
+
if (!this.t3k_1.q()) {
|
|
2059
|
+
this.c8_1 = 5;
|
|
2060
2060
|
continue $sm;
|
|
2061
2061
|
}
|
|
2062
2062
|
|
|
2063
|
-
var element = this.
|
|
2064
|
-
if (isSelectedThrowCatch(element.sideEffectManager, this.
|
|
2065
|
-
var recoverGoalArgument = last(this.
|
|
2066
|
-
var recoverGoalSolveRequest = ensureNoMoreSelectableCatch(Catch_getInstance(), newSolveRequest(this.
|
|
2067
|
-
this.
|
|
2068
|
-
var tmp_0 = Companion_instance_11.
|
|
2069
|
-
suspendResult = this.
|
|
2063
|
+
var element = this.t3k_1.r();
|
|
2064
|
+
if (isSelectedThrowCatch(element.sideEffectManager, this.r3k_1.context)) {
|
|
2065
|
+
var recoverGoalArgument = last(this.r3k_1.arguments).applySubstitution(element.solution.n1u());
|
|
2066
|
+
var recoverGoalSolveRequest = ensureNoMoreSelectableCatch(Catch_getInstance(), newSolveRequest(this.r3k_1, call(Catch_getInstance(), recoverGoalArgument), element.solution.n1u().minus(this.r3k_1.context.t3d_1), VOID, VOID, currentTimeInstant()), this.r3k_1.context);
|
|
2067
|
+
this.c8_1 = 3;
|
|
2068
|
+
var tmp_0 = Companion_instance_11.i3d(recoverGoalSolveRequest);
|
|
2069
|
+
suspendResult = this.s3k_1.fd(map(tmp_0, Catch$uncheckedImplementation$slambda$lambda(this.r3k_1)), this);
|
|
2070
2070
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2071
2071
|
return suspendResult;
|
|
2072
2072
|
}
|
|
2073
2073
|
continue $sm;
|
|
2074
2074
|
} else {
|
|
2075
|
-
this.
|
|
2076
|
-
suspendResult = this.
|
|
2075
|
+
this.c8_1 = 2;
|
|
2076
|
+
suspendResult = this.s3k_1.cd(replyWith(this.r3k_1, element), this);
|
|
2077
2077
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2078
2078
|
return suspendResult;
|
|
2079
2079
|
}
|
|
@@ -2081,50 +2081,50 @@
|
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
2083
|
case 2:
|
|
2084
|
-
this.
|
|
2084
|
+
this.c8_1 = 4;
|
|
2085
2085
|
continue $sm;
|
|
2086
2086
|
case 3:
|
|
2087
|
-
this.
|
|
2087
|
+
this.c8_1 = 4;
|
|
2088
2088
|
continue $sm;
|
|
2089
2089
|
case 4:
|
|
2090
|
-
this.
|
|
2090
|
+
this.c8_1 = 1;
|
|
2091
2091
|
continue $sm;
|
|
2092
2092
|
case 5:
|
|
2093
2093
|
return Unit_instance;
|
|
2094
2094
|
case 6:
|
|
2095
|
-
throw this.
|
|
2095
|
+
throw this.f8_1;
|
|
2096
2096
|
}
|
|
2097
2097
|
} catch ($p) {
|
|
2098
2098
|
var e = $p;
|
|
2099
|
-
if (this.
|
|
2099
|
+
if (this.d8_1 === 6) {
|
|
2100
2100
|
throw e;
|
|
2101
2101
|
} else {
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2102
|
+
this.c8_1 = this.d8_1;
|
|
2103
|
+
this.f8_1 = e;
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
2106
|
while (true);
|
|
2107
2107
|
};
|
|
2108
|
-
protoOf(Catch$uncheckedImplementation$slambda).
|
|
2109
|
-
var i = new Catch$uncheckedImplementation$slambda(this.
|
|
2110
|
-
i.
|
|
2108
|
+
protoOf(Catch$uncheckedImplementation$slambda).o2p = function ($this$sequence, completion) {
|
|
2109
|
+
var i = new Catch$uncheckedImplementation$slambda(this.r3k_1, completion);
|
|
2110
|
+
i.s3k_1 = $this$sequence;
|
|
2111
2111
|
return i;
|
|
2112
2112
|
};
|
|
2113
2113
|
function Catch$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2114
2114
|
var i = new Catch$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2115
2115
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
2116
|
-
return i.
|
|
2116
|
+
return i.n2p($this$sequence, $completion);
|
|
2117
2117
|
}, 1);
|
|
2118
2118
|
}
|
|
2119
2119
|
function Catch() {
|
|
2120
2120
|
Catch_instance = this;
|
|
2121
2121
|
PrimitiveWrapper_init_$Init$('catch', 3, VOID, this);
|
|
2122
2122
|
}
|
|
2123
|
-
protoOf(Catch).
|
|
2123
|
+
protoOf(Catch).i3k = function (request) {
|
|
2124
2124
|
return sequence(Catch$uncheckedImplementation$slambda_0(request, null));
|
|
2125
2125
|
};
|
|
2126
|
-
protoOf(Catch).
|
|
2127
|
-
return this.
|
|
2126
|
+
protoOf(Catch).e2f = function (request) {
|
|
2127
|
+
return this.i3k(request);
|
|
2128
2128
|
};
|
|
2129
2129
|
var Catch_instance;
|
|
2130
2130
|
function Catch_getInstance() {
|
|
@@ -2134,36 +2134,36 @@
|
|
|
2134
2134
|
}
|
|
2135
2135
|
function solveConjunctionGoals($this, $receiver, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion) {
|
|
2136
2136
|
var tmp = new $solveConjunctionGoalsCOROUTINE$($this, $receiver, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion);
|
|
2137
|
-
tmp.
|
|
2138
|
-
tmp.
|
|
2139
|
-
return tmp.
|
|
2137
|
+
tmp.e8_1 = Unit_instance;
|
|
2138
|
+
tmp.f8_1 = null;
|
|
2139
|
+
return tmp.k8();
|
|
2140
2140
|
}
|
|
2141
2141
|
function Conjunction$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2142
|
-
this.
|
|
2142
|
+
this.z3l_1 = $request;
|
|
2143
2143
|
CoroutineImpl.call(this, resultContinuation);
|
|
2144
2144
|
}
|
|
2145
|
-
protoOf(Conjunction$uncheckedImplementation$slambda).
|
|
2146
|
-
var tmp = this.
|
|
2147
|
-
tmp.
|
|
2148
|
-
tmp.
|
|
2149
|
-
return tmp.
|
|
2145
|
+
protoOf(Conjunction$uncheckedImplementation$slambda).n2p = function ($this$sequence, $completion) {
|
|
2146
|
+
var tmp = this.o2p($this$sequence, $completion);
|
|
2147
|
+
tmp.e8_1 = Unit_instance;
|
|
2148
|
+
tmp.f8_1 = null;
|
|
2149
|
+
return tmp.k8();
|
|
2150
2150
|
};
|
|
2151
|
-
protoOf(Conjunction$uncheckedImplementation$slambda).
|
|
2152
|
-
return this.
|
|
2151
|
+
protoOf(Conjunction$uncheckedImplementation$slambda).b9 = function (p1, $completion) {
|
|
2152
|
+
return this.n2p(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
2153
2153
|
};
|
|
2154
|
-
protoOf(Conjunction$uncheckedImplementation$slambda).
|
|
2155
|
-
var suspendResult = this.
|
|
2154
|
+
protoOf(Conjunction$uncheckedImplementation$slambda).k8 = function () {
|
|
2155
|
+
var suspendResult = this.e8_1;
|
|
2156
2156
|
$sm: do
|
|
2157
2157
|
try {
|
|
2158
|
-
var tmp = this.
|
|
2158
|
+
var tmp = this.c8_1;
|
|
2159
2159
|
switch (tmp) {
|
|
2160
2160
|
case 0:
|
|
2161
|
-
this.
|
|
2162
|
-
var $this$with = this.
|
|
2163
|
-
var tmp_0 = $this$with.
|
|
2164
|
-
var subGoals = toList(orderWithStrategy(tmp_0, $this$with.context, SolverStrategies$predicationChoiceStrategy$ref($this$with.context.
|
|
2165
|
-
this.
|
|
2166
|
-
suspendResult = solveConjunctionGoals(Conjunction_getInstance(), this.
|
|
2161
|
+
this.d8_1 = 2;
|
|
2162
|
+
var $this$with = this.z3l_1;
|
|
2163
|
+
var tmp_0 = $this$with.q1v().castToTuple().qs();
|
|
2164
|
+
var subGoals = toList(orderWithStrategy(tmp_0, $this$with.context, SolverStrategies$predicationChoiceStrategy$ref($this$with.context.w3d_1)));
|
|
2165
|
+
this.c8_1 = 1;
|
|
2166
|
+
suspendResult = solveConjunctionGoals(Conjunction_getInstance(), this.a3m_1, this.z3l_1, subGoals, this.z3l_1.context, Companion_getInstance_2().empty(), emptyList(), this.z3l_1.context.x3d_1, false, this);
|
|
2167
2167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2168
2168
|
return suspendResult;
|
|
2169
2169
|
}
|
|
@@ -2172,105 +2172,105 @@
|
|
|
2172
2172
|
case 1:
|
|
2173
2173
|
return Unit_instance;
|
|
2174
2174
|
case 2:
|
|
2175
|
-
throw this.
|
|
2175
|
+
throw this.f8_1;
|
|
2176
2176
|
}
|
|
2177
2177
|
} catch ($p) {
|
|
2178
2178
|
var e = $p;
|
|
2179
|
-
if (this.
|
|
2179
|
+
if (this.d8_1 === 2) {
|
|
2180
2180
|
throw e;
|
|
2181
2181
|
} else {
|
|
2182
|
-
this.
|
|
2183
|
-
this.
|
|
2182
|
+
this.c8_1 = this.d8_1;
|
|
2183
|
+
this.f8_1 = e;
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
2186
|
while (true);
|
|
2187
2187
|
};
|
|
2188
|
-
protoOf(Conjunction$uncheckedImplementation$slambda).
|
|
2189
|
-
var i = new Conjunction$uncheckedImplementation$slambda(this.
|
|
2190
|
-
i.
|
|
2188
|
+
protoOf(Conjunction$uncheckedImplementation$slambda).o2p = function ($this$sequence, completion) {
|
|
2189
|
+
var i = new Conjunction$uncheckedImplementation$slambda(this.z3l_1, completion);
|
|
2190
|
+
i.a3m_1 = $this$sequence;
|
|
2191
2191
|
return i;
|
|
2192
2192
|
};
|
|
2193
2193
|
function Conjunction$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2194
2194
|
var i = new Conjunction$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2195
2195
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
2196
|
-
return i.
|
|
2196
|
+
return i.n2p($this$sequence, $completion);
|
|
2197
2197
|
}, 1);
|
|
2198
2198
|
}
|
|
2199
2199
|
function $solveConjunctionGoalsCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, resultContinuation) {
|
|
2200
2200
|
CoroutineImpl.call(this, resultContinuation);
|
|
2201
|
-
this.
|
|
2202
|
-
this.
|
|
2203
|
-
this.
|
|
2204
|
-
this.
|
|
2205
|
-
this.
|
|
2206
|
-
this.
|
|
2207
|
-
this.
|
|
2208
|
-
this.
|
|
2209
|
-
this.
|
|
2210
|
-
}
|
|
2211
|
-
protoOf($solveConjunctionGoalsCOROUTINE$).
|
|
2212
|
-
var suspendResult = this.
|
|
2201
|
+
this.d3l_1 = _this__u8e3s4;
|
|
2202
|
+
this.e3l_1 = _this__u8e3s4_0;
|
|
2203
|
+
this.f3l_1 = mainRequest;
|
|
2204
|
+
this.g3l_1 = goals;
|
|
2205
|
+
this.h3l_1 = toPropagateContext;
|
|
2206
|
+
this.i3l_1 = accumulatedSubstitutions;
|
|
2207
|
+
this.j3l_1 = accumulatedSideEffects;
|
|
2208
|
+
this.k3l_1 = previousResponseSideEffectManager;
|
|
2209
|
+
this.l3l_1 = previousGoalsHadAlternatives;
|
|
2210
|
+
}
|
|
2211
|
+
protoOf($solveConjunctionGoalsCOROUTINE$).k8 = function () {
|
|
2212
|
+
var suspendResult = this.e8_1;
|
|
2213
2213
|
$sm: do
|
|
2214
2214
|
try {
|
|
2215
|
-
var tmp = this.
|
|
2215
|
+
var tmp = this.c8_1;
|
|
2216
2216
|
switch (tmp) {
|
|
2217
2217
|
case 0:
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
var tmp0_elvis_lhs = this.
|
|
2221
|
-
var goalRequest = newSolveRequest(this.
|
|
2222
|
-
this.
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2218
|
+
this.d8_1 = 7;
|
|
2219
|
+
this.p3l_1 = prepareForExecutionAsGoal(first_1(this.g3l_1).applySubstitution(this.i3l_1));
|
|
2220
|
+
var tmp0_elvis_lhs = this.k3l_1;
|
|
2221
|
+
var goalRequest = newSolveRequest(this.f3l_1, this.p3l_1, this.i3l_1, this.h3l_1, tmp0_elvis_lhs == null ? this.f3l_1.context.x3d_1 : tmp0_elvis_lhs);
|
|
2222
|
+
this.n3l_1 = false;
|
|
2223
|
+
this.m3l_1 = emptyList();
|
|
2224
|
+
this.q3l_1 = Companion_instance_11.g3d(goalRequest).n();
|
|
2225
|
+
this.c8_1 = 1;
|
|
2226
2226
|
continue $sm;
|
|
2227
2227
|
case 1:
|
|
2228
|
-
if (!this.
|
|
2229
|
-
this.
|
|
2228
|
+
if (!this.q3l_1.q()) {
|
|
2229
|
+
this.c8_1 = 6;
|
|
2230
2230
|
continue $sm;
|
|
2231
2231
|
}
|
|
2232
2232
|
|
|
2233
|
-
var tmp0 = this.
|
|
2234
|
-
var currentHasAlternatives = this.
|
|
2235
|
-
this.
|
|
2233
|
+
var tmp0 = this.q3l_1.r();
|
|
2234
|
+
var currentHasAlternatives = this.q3l_1.q();
|
|
2235
|
+
this.o3l_1 = tmp0.f3d();
|
|
2236
2236
|
var tmp_0;
|
|
2237
|
-
if (Cut_getInstance().signature.name === this.
|
|
2237
|
+
if (Cut_getInstance().signature.name === this.p3l_1.au()) {
|
|
2238
2238
|
tmp_0 = true;
|
|
2239
2239
|
} else {
|
|
2240
|
-
var tmp0_safe_receiver = this.
|
|
2240
|
+
var tmp0_safe_receiver = this.o3l_1.sideEffectManager;
|
|
2241
2241
|
tmp_0 = (tmp0_safe_receiver == null ? null : shouldExecuteThrowCut(tmp0_safe_receiver)) === true;
|
|
2242
2242
|
}
|
|
2243
2243
|
|
|
2244
2244
|
if (tmp_0) {
|
|
2245
|
-
this.
|
|
2245
|
+
this.n3l_1 = true;
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
-
this.
|
|
2248
|
+
this.m3l_1 = addWithNoDuplicates(this.m3l_1, this.o3l_1.sideEffects);
|
|
2249
2249
|
var tmp_1;
|
|
2250
2250
|
var tmp_2;
|
|
2251
|
-
var tmp1_safe_receiver = this.
|
|
2251
|
+
var tmp1_safe_receiver = this.o3l_1.sideEffectManager;
|
|
2252
2252
|
if ((tmp1_safe_receiver == null ? null : shouldExecuteThrowCut(tmp1_safe_receiver)) === false) {
|
|
2253
|
-
var tmp_3 = this.
|
|
2253
|
+
var tmp_3 = this.o3l_1.solution;
|
|
2254
2254
|
tmp_2 = isInterface(tmp_3, Yes);
|
|
2255
2255
|
} else {
|
|
2256
2256
|
tmp_2 = false;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
2259
|
if (tmp_2) {
|
|
2260
|
-
tmp_1 = moreThanOne(asSequence(this.
|
|
2260
|
+
tmp_1 = moreThanOne(asSequence(this.g3l_1));
|
|
2261
2261
|
} else {
|
|
2262
2262
|
tmp_1 = false;
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
2265
|
if (tmp_1) {
|
|
2266
|
-
this.
|
|
2266
|
+
this.c8_1 = 4;
|
|
2267
2267
|
var tmp_4 = Conjunction_getInstance();
|
|
2268
|
-
var tmp_5 = drop(this.
|
|
2269
|
-
var tmp_6 = tmp0.
|
|
2270
|
-
var tmp_7 = this.
|
|
2271
|
-
var tmp_8 = this.
|
|
2272
|
-
var tmp_9 = this.
|
|
2273
|
-
suspendResult = solveConjunctionGoals(tmp_4, this.
|
|
2268
|
+
var tmp_5 = drop(this.g3l_1, 1);
|
|
2269
|
+
var tmp_6 = tmp0.i8().z30(this.m3l_1);
|
|
2270
|
+
var tmp_7 = this.o3l_1.solution.n1u().minus(this.f3l_1.context.t3d_1);
|
|
2271
|
+
var tmp_8 = this.m3l_1;
|
|
2272
|
+
var tmp_9 = this.o3l_1.sideEffectManager;
|
|
2273
|
+
suspendResult = solveConjunctionGoals(tmp_4, this.e3l_1, this.f3l_1, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9 instanceof SideEffectManagerImpl ? tmp_9 : null, this.l3l_1 || currentHasAlternatives, this);
|
|
2274
2274
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2275
2275
|
return suspendResult;
|
|
2276
2276
|
}
|
|
@@ -2278,72 +2278,72 @@
|
|
|
2278
2278
|
} else {
|
|
2279
2279
|
var tmp_10;
|
|
2280
2280
|
var tmp_11;
|
|
2281
|
-
var tmp_12 = this.
|
|
2281
|
+
var tmp_12 = this.o3l_1.solution;
|
|
2282
2282
|
if (!isInterface(tmp_12, No)) {
|
|
2283
2283
|
tmp_11 = true;
|
|
2284
2284
|
} else {
|
|
2285
|
-
tmp_11 = (!this.
|
|
2285
|
+
tmp_11 = (!this.l3l_1 && !currentHasAlternatives);
|
|
2286
2286
|
}
|
|
2287
2287
|
if (tmp_11) {
|
|
2288
2288
|
tmp_10 = true;
|
|
2289
2289
|
} else {
|
|
2290
|
-
tmp_10 = this.
|
|
2290
|
+
tmp_10 = this.n3l_1;
|
|
2291
2291
|
}
|
|
2292
2292
|
if (tmp_10) {
|
|
2293
|
-
this.
|
|
2294
|
-
suspendResult = this.
|
|
2293
|
+
this.c8_1 = 2;
|
|
2294
|
+
suspendResult = this.e3l_1.cd(replyWith(this.f3l_1, this.o3l_1.q2h(VOID, VOID, plus_1(this.j3l_1, this.m3l_1))), this);
|
|
2295
2295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2296
2296
|
return suspendResult;
|
|
2297
2297
|
}
|
|
2298
2298
|
continue $sm;
|
|
2299
2299
|
} else {
|
|
2300
|
-
this.
|
|
2300
|
+
this.c8_1 = 3;
|
|
2301
2301
|
continue $sm;
|
|
2302
2302
|
}
|
|
2303
2303
|
}
|
|
2304
2304
|
|
|
2305
2305
|
case 2:
|
|
2306
|
-
this.
|
|
2306
|
+
this.c8_1 = 3;
|
|
2307
2307
|
continue $sm;
|
|
2308
2308
|
case 3:
|
|
2309
|
-
this.
|
|
2309
|
+
this.c8_1 = 5;
|
|
2310
2310
|
continue $sm;
|
|
2311
2311
|
case 4:
|
|
2312
2312
|
var sideEffectPair = suspendResult;
|
|
2313
2313
|
if (sideEffectPair.first) {
|
|
2314
|
-
this.
|
|
2314
|
+
this.n3l_1 = true;
|
|
2315
2315
|
}
|
|
2316
2316
|
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2317
|
+
this.m3l_1 = sideEffectPair.second;
|
|
2318
|
+
this.c8_1 = 5;
|
|
2319
2319
|
continue $sm;
|
|
2320
2320
|
case 5:
|
|
2321
2321
|
var tmp_13;
|
|
2322
|
-
if (this.
|
|
2322
|
+
if (this.n3l_1) {
|
|
2323
2323
|
tmp_13 = true;
|
|
2324
2324
|
} else {
|
|
2325
|
-
var tmp_14 = this.
|
|
2325
|
+
var tmp_14 = this.o3l_1.solution;
|
|
2326
2326
|
tmp_13 = isInterface(tmp_14, Halt);
|
|
2327
2327
|
}
|
|
2328
2328
|
|
|
2329
2329
|
if (tmp_13) {
|
|
2330
|
-
return new Pair(true, plus_1(this.
|
|
2330
|
+
return new Pair(true, plus_1(this.j3l_1, this.m3l_1));
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
|
-
this.
|
|
2333
|
+
this.c8_1 = 1;
|
|
2334
2334
|
continue $sm;
|
|
2335
2335
|
case 6:
|
|
2336
|
-
return new Pair(this.
|
|
2336
|
+
return new Pair(this.n3l_1, plus_1(this.j3l_1, this.m3l_1));
|
|
2337
2337
|
case 7:
|
|
2338
|
-
throw this.
|
|
2338
|
+
throw this.f8_1;
|
|
2339
2339
|
}
|
|
2340
2340
|
} catch ($p) {
|
|
2341
2341
|
var e = $p;
|
|
2342
|
-
if (this.
|
|
2342
|
+
if (this.d8_1 === 7) {
|
|
2343
2343
|
throw e;
|
|
2344
2344
|
} else {
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2345
|
+
this.c8_1 = this.d8_1;
|
|
2346
|
+
this.f8_1 = e;
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
2349
|
while (true);
|
|
@@ -2352,11 +2352,11 @@
|
|
|
2352
2352
|
Conjunction_instance = this;
|
|
2353
2353
|
PrimitiveWrapper_init_$Init$(',', 2, VOID, this);
|
|
2354
2354
|
}
|
|
2355
|
-
protoOf(Conjunction).
|
|
2355
|
+
protoOf(Conjunction).i3k = function (request) {
|
|
2356
2356
|
return sequence(Conjunction$uncheckedImplementation$slambda_0(request, null));
|
|
2357
2357
|
};
|
|
2358
|
-
protoOf(Conjunction).
|
|
2359
|
-
return this.
|
|
2358
|
+
protoOf(Conjunction).e2f = function (request) {
|
|
2359
|
+
return this.i3k(request);
|
|
2360
2360
|
};
|
|
2361
2361
|
var Conjunction_instance;
|
|
2362
2362
|
function Conjunction_getInstance() {
|
|
@@ -2368,12 +2368,12 @@
|
|
|
2368
2368
|
Cut_instance = this;
|
|
2369
2369
|
PrimitiveWrapper_init_$Init$('!', 0, VOID, this);
|
|
2370
2370
|
}
|
|
2371
|
-
protoOf(Cut).
|
|
2371
|
+
protoOf(Cut).i3k = function (request) {
|
|
2372
2372
|
// Inline function 'kotlin.with' call
|
|
2373
|
-
return sequenceOf(request.replySuccess(request.context.
|
|
2373
|
+
return sequenceOf(request.replySuccess(request.context.t3d_1, request.context.x3d_1.f3e(), []));
|
|
2374
2374
|
};
|
|
2375
|
-
protoOf(Cut).
|
|
2376
|
-
return this.
|
|
2375
|
+
protoOf(Cut).e2f = function (request) {
|
|
2376
|
+
return this.i3k(request);
|
|
2377
2377
|
};
|
|
2378
2378
|
var Cut_instance;
|
|
2379
2379
|
function Cut_getInstance() {
|
|
@@ -2382,59 +2382,59 @@
|
|
|
2382
2382
|
return Cut_instance;
|
|
2383
2383
|
}
|
|
2384
2384
|
function Not$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2385
|
-
this.
|
|
2385
|
+
this.l3m_1 = $request;
|
|
2386
2386
|
CoroutineImpl.call(this, resultContinuation);
|
|
2387
2387
|
}
|
|
2388
|
-
protoOf(Not$uncheckedImplementation$slambda).
|
|
2389
|
-
var tmp = this.
|
|
2390
|
-
tmp.
|
|
2391
|
-
tmp.
|
|
2392
|
-
return tmp.
|
|
2388
|
+
protoOf(Not$uncheckedImplementation$slambda).n2p = function ($this$sequence, $completion) {
|
|
2389
|
+
var tmp = this.o2p($this$sequence, $completion);
|
|
2390
|
+
tmp.e8_1 = Unit_instance;
|
|
2391
|
+
tmp.f8_1 = null;
|
|
2392
|
+
return tmp.k8();
|
|
2393
2393
|
};
|
|
2394
|
-
protoOf(Not$uncheckedImplementation$slambda).
|
|
2395
|
-
return this.
|
|
2394
|
+
protoOf(Not$uncheckedImplementation$slambda).b9 = function (p1, $completion) {
|
|
2395
|
+
return this.n2p(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
2396
2396
|
};
|
|
2397
|
-
protoOf(Not$uncheckedImplementation$slambda).
|
|
2398
|
-
var suspendResult = this.
|
|
2397
|
+
protoOf(Not$uncheckedImplementation$slambda).k8 = function () {
|
|
2398
|
+
var suspendResult = this.e8_1;
|
|
2399
2399
|
$sm: do
|
|
2400
2400
|
try {
|
|
2401
|
-
var tmp = this.
|
|
2401
|
+
var tmp = this.c8_1;
|
|
2402
2402
|
switch (tmp) {
|
|
2403
2403
|
case 0:
|
|
2404
|
-
this.
|
|
2405
|
-
var goalArgument = single(this.
|
|
2404
|
+
this.d8_1 = 7;
|
|
2405
|
+
var goalArgument = single(this.l3m_1.arguments);
|
|
2406
2406
|
var tmp_0 = Companion_instance_11;
|
|
2407
2407
|
var tmp_1 = Companion_getInstance_3();
|
|
2408
2408
|
var this_0 = Call_getInstance();
|
|
2409
|
-
this.
|
|
2410
|
-
this.
|
|
2409
|
+
this.n3m_1 = tmp_0.i3d(newSolveRequest(this.l3m_1, tmp_1.of(this_0.signature.name, [goalArgument]))).n();
|
|
2410
|
+
this.c8_1 = 1;
|
|
2411
2411
|
continue $sm;
|
|
2412
2412
|
case 1:
|
|
2413
|
-
if (!this.
|
|
2414
|
-
this.
|
|
2413
|
+
if (!this.n3m_1.q()) {
|
|
2414
|
+
this.c8_1 = 6;
|
|
2415
2415
|
continue $sm;
|
|
2416
2416
|
}
|
|
2417
2417
|
|
|
2418
|
-
var element = this.
|
|
2418
|
+
var element = this.n3m_1.r();
|
|
2419
2419
|
var tmp0_subject = element.solution;
|
|
2420
2420
|
if (isInterface(tmp0_subject, Yes)) {
|
|
2421
|
-
this.
|
|
2422
|
-
suspendResult = this.
|
|
2421
|
+
this.c8_1 = 5;
|
|
2422
|
+
suspendResult = this.m3m_1.cd(this.l3m_1.replyFail(VOID, []), this);
|
|
2423
2423
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2424
2424
|
return suspendResult;
|
|
2425
2425
|
}
|
|
2426
2426
|
continue $sm;
|
|
2427
2427
|
} else {
|
|
2428
2428
|
if (isInterface(tmp0_subject, No)) {
|
|
2429
|
-
this.
|
|
2430
|
-
suspendResult = this.
|
|
2429
|
+
this.c8_1 = 3;
|
|
2430
|
+
suspendResult = this.m3m_1.cd(this.l3m_1.replySuccess(this.l3m_1.context.t3d_1, VOID, []), this);
|
|
2431
2431
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2432
2432
|
return suspendResult;
|
|
2433
2433
|
}
|
|
2434
2434
|
continue $sm;
|
|
2435
2435
|
} else {
|
|
2436
|
-
this.
|
|
2437
|
-
suspendResult = this.
|
|
2436
|
+
this.c8_1 = 2;
|
|
2437
|
+
suspendResult = this.m3m_1.cd(replyWith(this.l3m_1, element), this);
|
|
2438
2438
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2439
2439
|
return suspendResult;
|
|
2440
2440
|
}
|
|
@@ -2443,52 +2443,52 @@
|
|
|
2443
2443
|
}
|
|
2444
2444
|
|
|
2445
2445
|
case 2:
|
|
2446
|
-
this.
|
|
2446
|
+
this.c8_1 = 4;
|
|
2447
2447
|
continue $sm;
|
|
2448
2448
|
case 3:
|
|
2449
|
-
this.
|
|
2449
|
+
this.c8_1 = 4;
|
|
2450
2450
|
continue $sm;
|
|
2451
2451
|
case 4:
|
|
2452
|
-
this.
|
|
2452
|
+
this.c8_1 = 1;
|
|
2453
2453
|
continue $sm;
|
|
2454
2454
|
case 5:
|
|
2455
2455
|
return Unit_instance;
|
|
2456
2456
|
case 6:
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
case 7:
|
|
2459
|
-
throw this.
|
|
2459
|
+
throw this.f8_1;
|
|
2460
2460
|
}
|
|
2461
2461
|
} catch ($p) {
|
|
2462
2462
|
var e = $p;
|
|
2463
|
-
if (this.
|
|
2463
|
+
if (this.d8_1 === 7) {
|
|
2464
2464
|
throw e;
|
|
2465
2465
|
} else {
|
|
2466
|
-
this.
|
|
2467
|
-
this.
|
|
2466
|
+
this.c8_1 = this.d8_1;
|
|
2467
|
+
this.f8_1 = e;
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
2470
|
while (true);
|
|
2471
2471
|
};
|
|
2472
|
-
protoOf(Not$uncheckedImplementation$slambda).
|
|
2473
|
-
var i = new Not$uncheckedImplementation$slambda(this.
|
|
2474
|
-
i.
|
|
2472
|
+
protoOf(Not$uncheckedImplementation$slambda).o2p = function ($this$sequence, completion) {
|
|
2473
|
+
var i = new Not$uncheckedImplementation$slambda(this.l3m_1, completion);
|
|
2474
|
+
i.m3m_1 = $this$sequence;
|
|
2475
2475
|
return i;
|
|
2476
2476
|
};
|
|
2477
2477
|
function Not$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2478
2478
|
var i = new Not$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2479
2479
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
2480
|
-
return i.
|
|
2480
|
+
return i.n2p($this$sequence, $completion);
|
|
2481
2481
|
}, 1);
|
|
2482
2482
|
}
|
|
2483
2483
|
function Not() {
|
|
2484
2484
|
Not_instance = this;
|
|
2485
2485
|
PrimitiveWrapper_init_$Init$('\\+', 1, VOID, this);
|
|
2486
2486
|
}
|
|
2487
|
-
protoOf(Not).
|
|
2487
|
+
protoOf(Not).i3k = function (request) {
|
|
2488
2488
|
return sequence(Not$uncheckedImplementation$slambda_0(request, null));
|
|
2489
2489
|
};
|
|
2490
|
-
protoOf(Not).
|
|
2491
|
-
return this.
|
|
2490
|
+
protoOf(Not).e2f = function (request) {
|
|
2491
|
+
return this.i3k(request);
|
|
2492
2492
|
};
|
|
2493
2493
|
var Not_instance;
|
|
2494
2494
|
function Not_getInstance() {
|
|
@@ -2501,20 +2501,20 @@
|
|
|
2501
2501
|
var $this$with = isInterface($receiver, Struct) ? $receiver : null;
|
|
2502
2502
|
var tmp;
|
|
2503
2503
|
var tmp_0;
|
|
2504
|
-
if (($this$with == null ? null : $this$with.
|
|
2505
|
-
tmp_0 = $this$with.
|
|
2504
|
+
if (($this$with == null ? null : $this$with.au()) === 'error') {
|
|
2505
|
+
tmp_0 = $this$with.ut() === 2;
|
|
2506
2506
|
} else {
|
|
2507
2507
|
tmp_0 = false;
|
|
2508
2508
|
}
|
|
2509
2509
|
if (tmp_0) {
|
|
2510
|
-
var tmp_1 = firstOrNull($this$with.
|
|
2510
|
+
var tmp_1 = firstOrNull($this$with.bu());
|
|
2511
2511
|
var tmp0_safe_receiver = (!(tmp_1 == null) ? isInterface(tmp_1, Struct) : false) ? tmp_1 : null;
|
|
2512
2512
|
var tmp_2;
|
|
2513
2513
|
if (tmp0_safe_receiver == null) {
|
|
2514
2514
|
tmp_2 = null;
|
|
2515
2515
|
} else {
|
|
2516
2516
|
// Inline function 'kotlin.let' call
|
|
2517
|
-
tmp_2 = new Pair(tmp0_safe_receiver, $this$with.
|
|
2517
|
+
tmp_2 = new Pair(tmp0_safe_receiver, $this$with.bu().x(1));
|
|
2518
2518
|
}
|
|
2519
2519
|
tmp = tmp_2;
|
|
2520
2520
|
} else {
|
|
@@ -2529,8 +2529,8 @@
|
|
|
2529
2529
|
tmp = null;
|
|
2530
2530
|
} else {
|
|
2531
2531
|
// Inline function 'kotlin.let' call
|
|
2532
|
-
var type = tmp0_safe_receiver.
|
|
2533
|
-
var extra = tmp0_safe_receiver.
|
|
2532
|
+
var type = tmp0_safe_receiver.pc();
|
|
2533
|
+
var extra = tmp0_safe_receiver.qc();
|
|
2534
2534
|
var tmp1_cause = extractErrorCauseChain(Throw_getInstance(), extra, withContext);
|
|
2535
2535
|
tmp = Companion_instance_8.of(VOID, tmp1_cause, withContext, type, extra);
|
|
2536
2536
|
}
|
|
@@ -2540,12 +2540,12 @@
|
|
|
2540
2540
|
Throw_instance = this;
|
|
2541
2541
|
NonBacktrackable.call(this, 'throw');
|
|
2542
2542
|
}
|
|
2543
|
-
protoOf(Throw).
|
|
2543
|
+
protoOf(Throw).q3m = function (_this__u8e3s4, first) {
|
|
2544
2544
|
var tmp;
|
|
2545
2545
|
try {
|
|
2546
2546
|
// Inline function 'kotlin.let' call
|
|
2547
|
-
var throwArgument = single(Companion_getInstance_4().
|
|
2548
|
-
var ancestorCatch = _this__u8e3s4.context.
|
|
2547
|
+
var throwArgument = single(Companion_getInstance_4().s2e(_this__u8e3s4).arguments).freshCopy();
|
|
2548
|
+
var ancestorCatch = _this__u8e3s4.context.x3d_1.n3e(throwArgument);
|
|
2549
2549
|
var tmp1_safe_receiver = ancestorCatch == null ? null : ancestorCatch.arguments;
|
|
2550
2550
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x(1);
|
|
2551
2551
|
var tmp_0;
|
|
@@ -2553,14 +2553,14 @@
|
|
|
2553
2553
|
tmp_0 = null;
|
|
2554
2554
|
} else {
|
|
2555
2555
|
// Inline function 'kotlin.let' call
|
|
2556
|
-
tmp_0 = Companion_getInstance_4().
|
|
2556
|
+
tmp_0 = Companion_getInstance_4().q2f(_this__u8e3s4, tmp2_safe_receiver, throwArgument);
|
|
2557
2557
|
}
|
|
2558
2558
|
var catcher = tmp_0;
|
|
2559
2559
|
var tmp_1;
|
|
2560
2560
|
if (!(catcher == null) ? isInterface(catcher, Unifier) : false) {
|
|
2561
|
-
var tmp_2 = _this__u8e3s4.context.
|
|
2561
|
+
var tmp_2 = _this__u8e3s4.context.t3d_1.plus(catcher);
|
|
2562
2562
|
var newSubstitution = isInterface(tmp_2, Unifier) ? tmp_2 : THROW_CCE();
|
|
2563
|
-
tmp_1 = _this__u8e3s4.replySuccess(newSubstitution, _this__u8e3s4.context.
|
|
2563
|
+
tmp_1 = _this__u8e3s4.replySuccess(newSubstitution, _this__u8e3s4.context.x3d_1.o3e(ancestorCatch.context), []);
|
|
2564
2564
|
} else {
|
|
2565
2565
|
var errorCause = extractErrorCauseChain(Throw_getInstance(), throwArgument, _this__u8e3s4.context);
|
|
2566
2566
|
if (!(errorCause == null))
|
|
@@ -2581,8 +2581,8 @@
|
|
|
2581
2581
|
}
|
|
2582
2582
|
return tmp;
|
|
2583
2583
|
};
|
|
2584
|
-
protoOf(Throw).
|
|
2585
|
-
return this.
|
|
2584
|
+
protoOf(Throw).d2i = function (_this__u8e3s4, first) {
|
|
2585
|
+
return this.q3m(_this__u8e3s4, first);
|
|
2586
2586
|
};
|
|
2587
2587
|
var Throw_instance;
|
|
2588
2588
|
function Throw_getInstance() {
|
|
@@ -2601,39 +2601,39 @@
|
|
|
2601
2601
|
protoOf(StreamsSolver).solveOnce = solveOnce;
|
|
2602
2602
|
protoOf(StreamsSolver).solveOnceWithOptions = solveOnceWithOptions;
|
|
2603
2603
|
protoOf(StreamsSolver).clone = clone;
|
|
2604
|
-
protoOf(StreamsSolver).
|
|
2605
|
-
protoOf(StreamsSolver).
|
|
2606
|
-
protoOf(StreamsSolver).
|
|
2607
|
-
protoOf(StreamsSolver).
|
|
2604
|
+
protoOf(StreamsSolver).b1v = get_standardInput;
|
|
2605
|
+
protoOf(StreamsSolver).c1v = get_standardOutput;
|
|
2606
|
+
protoOf(StreamsSolver).d1v = get_standardError;
|
|
2607
|
+
protoOf(StreamsSolver).e1v = get_warnings;
|
|
2608
2608
|
protoOf(StreamsSolverFactory).rawSolverOf = rawSolverOf;
|
|
2609
2609
|
protoOf(StreamsSolverFactory).solverOf = solverOf;
|
|
2610
2610
|
protoOf(StreamsSolverFactory).mutableSolverOf = mutableSolverOf;
|
|
2611
2611
|
protoOf(StreamsSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
|
|
2612
2612
|
protoOf(StreamsSolverFactory).newBuilder = newBuilder;
|
|
2613
|
-
protoOf(StreamsSolverFactory).
|
|
2614
|
-
protoOf(StreamsSolverFactory).
|
|
2615
|
-
protoOf(StreamsSolverFactory).
|
|
2616
|
-
protoOf(StreamsSolverFactory).
|
|
2617
|
-
protoOf(StreamsSolverFactory).
|
|
2618
|
-
protoOf(StreamsSolverFactory).
|
|
2619
|
-
protoOf(StreamsSolverFactory).
|
|
2620
|
-
protoOf(StreamsSolverFactory).
|
|
2621
|
-
protoOf(StreamsSolverFactory).
|
|
2622
|
-
protoOf(StreamsSolverFactory).
|
|
2613
|
+
protoOf(StreamsSolverFactory).c1x = get_defaultRuntime;
|
|
2614
|
+
protoOf(StreamsSolverFactory).e1x = get_defaultUnificator;
|
|
2615
|
+
protoOf(StreamsSolverFactory).f1x = get_defaultFlags;
|
|
2616
|
+
protoOf(StreamsSolverFactory).i1x = get_defaultStaticKb;
|
|
2617
|
+
protoOf(StreamsSolverFactory).j1x = get_defaultDynamicKb;
|
|
2618
|
+
protoOf(StreamsSolverFactory).k1x = get_defaultInputChannel;
|
|
2619
|
+
protoOf(StreamsSolverFactory).l1x = get_defaultOutputChannel;
|
|
2620
|
+
protoOf(StreamsSolverFactory).m1x = get_defaultErrorChannel;
|
|
2621
|
+
protoOf(StreamsSolverFactory).n1x = get_defaultWarningsChannel;
|
|
2622
|
+
protoOf(StreamsSolverFactory).v1x = solverWithDefaultBuiltins;
|
|
2623
2623
|
protoOf(StreamsSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
|
|
2624
|
-
protoOf(StreamsSolverFactory).
|
|
2624
|
+
protoOf(StreamsSolverFactory).x1x = mutableSolverWithDefaultBuiltins;
|
|
2625
2625
|
protoOf(StreamsSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
|
|
2626
2626
|
protoOf(StreamsExecutionContext).createSolver = createSolver;
|
|
2627
2627
|
protoOf(StreamsExecutionContext).createMutableSolver = createMutableSolver;
|
|
2628
2628
|
protoOf(StreamsExecutionContext).update = update;
|
|
2629
|
-
protoOf(StreamsExecutionContext).
|
|
2630
|
-
protoOf(StreamsExecutionContext).
|
|
2631
|
-
protoOf(StreamsExecutionContext).
|
|
2632
|
-
protoOf(StreamsExecutionContext).
|
|
2633
|
-
protoOf(StreamsExecutionContext).
|
|
2634
|
-
protoOf(StreamsExecutionContext).
|
|
2635
|
-
protoOf(StreamsExecutionContext).
|
|
2636
|
-
protoOf(AbstractTimedState).
|
|
2629
|
+
protoOf(StreamsExecutionContext).b1v = get_standardInput;
|
|
2630
|
+
protoOf(StreamsExecutionContext).c1v = get_standardOutput;
|
|
2631
|
+
protoOf(StreamsExecutionContext).d1v = get_standardError;
|
|
2632
|
+
protoOf(StreamsExecutionContext).e1v = get_warnings;
|
|
2633
|
+
protoOf(StreamsExecutionContext).i1u = get_endTime;
|
|
2634
|
+
protoOf(StreamsExecutionContext).k1u = get_remainingTime;
|
|
2635
|
+
protoOf(StreamsExecutionContext).l1u = get_elapsedTime;
|
|
2636
|
+
protoOf(AbstractTimedState).i8 = get_context;
|
|
2637
2637
|
//endregion
|
|
2638
2638
|
//region block: init
|
|
2639
2639
|
Companion_instance_11 = new Companion_0();
|