@tuprolog/2p-full 0.31.1-dev0u → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +141 -141
- package/2p-core.js +1 -1
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +479 -479
- package/2p-oop-lib.js +606 -606
- package/2p-parser-core.js +116 -116
- package/2p-parser-theory.js +9 -9
- package/2p-repl.js +56 -56
- package/2p-repl.js.map +1 -1
- package/2p-solve-classic.js +760 -760
- package/2p-solve-problog.js +751 -751
- package/2p-solve-streams.js +549 -549
- package/2p-solve.js +2549 -2438
- package/2p-solve.js.map +1 -1
- package/clikt-clikt-js-ir.js +1007 -1007
- package/kotlin-kotlin-stdlib-js-ir.js +6 -6
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/package.json +1 -1
package/2p-solve-streams.js
CHANGED
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
setMetadataFor(AlreadyExecutedState, 'AlreadyExecutedState', classMeta, undefined, undefined, undefined, undefined, []);
|
|
165
165
|
setMetadataFor(FinalState, 'FinalState', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
166
166
|
function get_context() {
|
|
167
|
-
var tmp = this.
|
|
167
|
+
var tmp = this.k4c().context;
|
|
168
168
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
169
169
|
}
|
|
170
170
|
setMetadataFor(IntermediateState, 'IntermediateState', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -198,19 +198,19 @@
|
|
|
198
198
|
//endregion
|
|
199
199
|
function SolverStrategies$Companion$prologStandard$1() {
|
|
200
200
|
}
|
|
201
|
-
SolverStrategies$Companion$prologStandard$1.prototype.
|
|
201
|
+
SolverStrategies$Companion$prologStandard$1.prototype.g4c = function (predicationSequence, context) {
|
|
202
202
|
return first(predicationSequence);
|
|
203
203
|
};
|
|
204
|
-
SolverStrategies$Companion$prologStandard$1.prototype.
|
|
204
|
+
SolverStrategies$Companion$prologStandard$1.prototype.h4c = function (unifiableClauses, context) {
|
|
205
205
|
return first(unifiableClauses);
|
|
206
206
|
};
|
|
207
|
-
SolverStrategies$Companion$prologStandard$1.prototype.
|
|
207
|
+
SolverStrategies$Companion$prologStandard$1.prototype.i4c = function (term, context) {
|
|
208
208
|
return term.dw();
|
|
209
209
|
};
|
|
210
210
|
function Companion() {
|
|
211
211
|
Companion_instance = this;
|
|
212
212
|
var tmp = this;
|
|
213
|
-
tmp.
|
|
213
|
+
tmp.j4c_1 = new SolverStrategies$Companion$prologStandard$1();
|
|
214
214
|
}
|
|
215
215
|
var Companion_instance;
|
|
216
216
|
function Companion_getInstance_15() {
|
|
@@ -223,11 +223,11 @@
|
|
|
223
223
|
}
|
|
224
224
|
function StreamsSolver$Companion$solveToFinalStates$lambda_0($goalRequest) {
|
|
225
225
|
return function (it) {
|
|
226
|
-
return it.
|
|
226
|
+
return it.k4c().solution.x1v().equals($goalRequest.x1v());
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
function StreamsSolver$Companion$solveToResponses$lambda(it) {
|
|
230
|
-
return it.
|
|
230
|
+
return it.k4c();
|
|
231
231
|
}
|
|
232
232
|
function StreamsSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $this) {
|
|
233
233
|
StreamsSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_getInstance().p1y(stdIn), Companion_getInstance_0().s1y(stdOut, stdErr, warnings));
|
|
@@ -239,17 +239,17 @@
|
|
|
239
239
|
function Companion_0() {
|
|
240
240
|
Companion_instance_0 = this;
|
|
241
241
|
}
|
|
242
|
-
Companion_0.prototype.
|
|
242
|
+
Companion_0.prototype.l4c = function (goalRequest) {
|
|
243
243
|
var tmp$ret$0;
|
|
244
244
|
// Inline function 'kotlin.sequences.filterIsInstance' call
|
|
245
|
-
var tmp0_filterIsInstance = StateMachineExecutor_getInstance().
|
|
245
|
+
var tmp0_filterIsInstance = StateMachineExecutor_getInstance().m4c(new StateInit(goalRequest));
|
|
246
246
|
var tmp = filter(tmp0_filterIsInstance, StreamsSolver$Companion$solveToFinalStates$lambda);
|
|
247
247
|
tmp$ret$0 = isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
248
248
|
var tmp_0 = tmp$ret$0;
|
|
249
249
|
return filter(tmp_0, StreamsSolver$Companion$solveToFinalStates$lambda_0(goalRequest));
|
|
250
250
|
};
|
|
251
|
-
Companion_0.prototype.
|
|
252
|
-
var tmp = this.
|
|
251
|
+
Companion_0.prototype.n4c = function (goalRequest) {
|
|
252
|
+
var tmp = this.l4c(goalRequest);
|
|
253
253
|
return map(tmp, StreamsSolver$Companion$solveToResponses$lambda);
|
|
254
254
|
};
|
|
255
255
|
var Companion_instance_0;
|
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
}
|
|
261
261
|
function StreamsSolver$solve$lambda(this$0) {
|
|
262
262
|
return function (it) {
|
|
263
|
-
this$0.
|
|
264
|
-
return it.
|
|
263
|
+
this$0.o4c_1 = it.j5().c37(it.k4c().sideEffects);
|
|
264
|
+
return it.k4c().solution.cleanUp();
|
|
265
265
|
};
|
|
266
266
|
}
|
|
267
267
|
function StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
@@ -270,9 +270,9 @@
|
|
|
270
270
|
var tmp_0 = toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb]));
|
|
271
271
|
var tmp_1 = new Long(0, 0);
|
|
272
272
|
var tmp_2 = new Long(0, 0);
|
|
273
|
-
tmp.
|
|
273
|
+
tmp.o4c_1 = StreamsExecutionContext_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, tmp_0, inputChannels, outputChannels, null, null, tmp_1, tmp_2, null, null, 16128, null);
|
|
274
274
|
}
|
|
275
|
-
StreamsSolver.prototype.
|
|
275
|
+
StreamsSolver.prototype.c2c = function (goal, options) {
|
|
276
276
|
var tmp = this;
|
|
277
277
|
var tmp_0 = this.k1l();
|
|
278
278
|
var tmp_1 = this.w1u();
|
|
@@ -283,13 +283,13 @@
|
|
|
283
283
|
var tmp_6 = this.b1v();
|
|
284
284
|
var tmp_7 = new Long(0, 0);
|
|
285
285
|
var tmp_8 = options.j1x();
|
|
286
|
-
tmp.
|
|
286
|
+
tmp.o4c_1 = StreamsExecutionContext_init_$Create$(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, null, tmp_5, tmp_6, null, null, tmp_7, tmp_8, null, null, 14112, null);
|
|
287
287
|
var tmp_9 = Companion_getInstance_16();
|
|
288
288
|
var tmp_10 = extractSignature(goal);
|
|
289
289
|
var tmp_11 = goal.gw();
|
|
290
|
-
var tmp_12 = this.
|
|
290
|
+
var tmp_12 = this.o4c_1;
|
|
291
291
|
var tmp_13 = new Long(0, 0);
|
|
292
|
-
var tmp_14 = tmp_9.
|
|
292
|
+
var tmp_14 = tmp_9.l4c(Request_init_$Create$(tmp_10, tmp_11, tmp_12, tmp_13, new Long(0, 0), 24, null));
|
|
293
293
|
var solutionSequence = map(tmp_14, StreamsSolver$solve$lambda(this));
|
|
294
294
|
if (options.k1x() > 0) {
|
|
295
295
|
solutionSequence = take(solutionSequence, options.k1x());
|
|
@@ -300,34 +300,34 @@
|
|
|
300
300
|
return solutionSequence;
|
|
301
301
|
};
|
|
302
302
|
StreamsSolver.prototype.solveWithOptions = function (goal, options) {
|
|
303
|
-
return this.
|
|
303
|
+
return this.c2c(goal, options);
|
|
304
304
|
};
|
|
305
305
|
StreamsSolver.prototype.p1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
306
306
|
return StreamsSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
307
307
|
};
|
|
308
308
|
StreamsSolver.prototype.k1l = function () {
|
|
309
|
-
return this.
|
|
309
|
+
return this.o4c_1.p4c_1;
|
|
310
310
|
};
|
|
311
311
|
StreamsSolver.prototype.w1u = function () {
|
|
312
|
-
return this.
|
|
312
|
+
return this.o4c_1.q4c_1;
|
|
313
313
|
};
|
|
314
314
|
StreamsSolver.prototype.x1u = function () {
|
|
315
|
-
return this.
|
|
315
|
+
return this.o4c_1.r4c_1;
|
|
316
316
|
};
|
|
317
317
|
StreamsSolver.prototype.y1u = function () {
|
|
318
|
-
return this.
|
|
318
|
+
return this.o4c_1.s4c_1;
|
|
319
319
|
};
|
|
320
320
|
StreamsSolver.prototype.z1u = function () {
|
|
321
|
-
return this.
|
|
321
|
+
return this.o4c_1.t4c_1;
|
|
322
322
|
};
|
|
323
323
|
StreamsSolver.prototype.a1v = function () {
|
|
324
|
-
return this.
|
|
324
|
+
return this.o4c_1.v4c_1;
|
|
325
325
|
};
|
|
326
326
|
StreamsSolver.prototype.b1v = function () {
|
|
327
|
-
return this.
|
|
327
|
+
return this.o4c_1.w4c_1;
|
|
328
328
|
};
|
|
329
329
|
StreamsSolver.prototype.h1v = function () {
|
|
330
|
-
return this.
|
|
330
|
+
return this.o4c_1.u4c_1;
|
|
331
331
|
};
|
|
332
332
|
function StreamsSolverFactory() {
|
|
333
333
|
StreamsSolverFactory_instance = this;
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
380
380
|
var tmp$ret$2;
|
|
381
381
|
// Inline function 'kotlin.collections.filter' call
|
|
382
|
-
var tmp0_filter = $this.
|
|
382
|
+
var tmp0_filter = $this.e4d_1;
|
|
383
383
|
var tmp$ret$1;
|
|
384
384
|
// Inline function 'kotlin.collections.filterTo' call
|
|
385
385
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
var element = tmp0_iterator.p();
|
|
389
389
|
var tmp$ret$0;
|
|
390
390
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.getFirstChoicePointContext.<anonymous>' call
|
|
391
|
-
tmp$ret$0 = element.
|
|
391
|
+
tmp$ret$0 = element.c4d_1.f4d_1;
|
|
392
392
|
if (tmp$ret$0) {
|
|
393
393
|
tmp0_filterTo.g(element);
|
|
394
394
|
}
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
407
407
|
var tmp$ret$3;
|
|
408
408
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.getFirstChoicePointContext.<anonymous>' call
|
|
409
|
-
tmp$ret$3 = firstOrNull(element_0.
|
|
409
|
+
tmp$ret$3 = firstOrNull(element_0.c4d_1.e4d_1);
|
|
410
410
|
var tmp0_safe_receiver = tmp$ret$3;
|
|
411
411
|
if (tmp0_safe_receiver == null)
|
|
412
412
|
null;
|
|
@@ -423,35 +423,35 @@
|
|
|
423
423
|
return tmp$ret$6;
|
|
424
424
|
}
|
|
425
425
|
function SideEffectManagerImpl(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) {
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
426
|
+
this.e4d_1 = clauseScopedParents;
|
|
427
|
+
this.f4d_1 = isChoicePointChild;
|
|
428
|
+
this.g4d_1 = toCutContextsParent;
|
|
429
|
+
this.h4d_1 = logicalParentRequests;
|
|
430
|
+
this.i4d_1 = throwNonSelectableParentContexts;
|
|
431
|
+
this.j4d_1 = throwRelatedToCutContextsParent;
|
|
432
432
|
}
|
|
433
|
-
SideEffectManagerImpl.prototype.
|
|
434
|
-
var tmp = plus(this.
|
|
435
|
-
return this.
|
|
433
|
+
SideEffectManagerImpl.prototype.k4d = function () {
|
|
434
|
+
var tmp = plus(this.g4d_1, getFirstChoicePointContext(this));
|
|
435
|
+
return this.l4d(null, false, tmp, null, null, null, 59, null);
|
|
436
436
|
};
|
|
437
437
|
SideEffectManagerImpl.prototype.cut = function () {
|
|
438
|
-
return this.
|
|
438
|
+
return this.k4d();
|
|
439
439
|
};
|
|
440
|
-
SideEffectManagerImpl.prototype.
|
|
440
|
+
SideEffectManagerImpl.prototype.m4d = function (currentContext) {
|
|
441
441
|
var tmp$ret$0;
|
|
442
442
|
// Inline function 'kotlin.apply' call
|
|
443
|
-
var tmp0_apply = toMutableList(this.
|
|
443
|
+
var tmp0_apply = toMutableList(this.e4d_1);
|
|
444
444
|
// Inline function 'kotlin.contracts.contract' call
|
|
445
445
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.stateInitInitialize.<anonymous>' call
|
|
446
446
|
tmp0_apply.ua(0, currentContext);
|
|
447
447
|
tmp$ret$0 = tmp0_apply;
|
|
448
448
|
var tmp = tmp$ret$0;
|
|
449
|
-
return this.
|
|
449
|
+
return this.l4d(tmp, false, null, null, null, null, 60, null);
|
|
450
450
|
};
|
|
451
|
-
SideEffectManagerImpl.prototype.
|
|
451
|
+
SideEffectManagerImpl.prototype.n4d = function (currentContext, isChoicePointChild, logicalParentRequest) {
|
|
452
452
|
var tmp$ret$0;
|
|
453
453
|
// Inline function 'kotlin.apply' call
|
|
454
|
-
var tmp0_apply = toMutableList(this.
|
|
454
|
+
var tmp0_apply = toMutableList(this.e4d_1);
|
|
455
455
|
// Inline function 'kotlin.contracts.contract' call
|
|
456
456
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.creatingNewRequest.<anonymous>' call
|
|
457
457
|
tmp0_apply.ua(0, currentContext);
|
|
@@ -459,10 +459,10 @@
|
|
|
459
459
|
var tmp = tmp$ret$0;
|
|
460
460
|
var tmp0_subject = logicalParentRequest;
|
|
461
461
|
var tmp_0;
|
|
462
|
-
if (this.
|
|
462
|
+
if (this.h4d_1.v(tmp0_subject)) {
|
|
463
463
|
var tmp$ret$2;
|
|
464
464
|
// Inline function 'kotlin.collections.dropWhile' call
|
|
465
|
-
var tmp1_dropWhile = this.
|
|
465
|
+
var tmp1_dropWhile = this.h4d_1;
|
|
466
466
|
var yielding = false;
|
|
467
467
|
var list = ArrayList_init_$Create$();
|
|
468
468
|
var tmp0_iterator = tmp1_dropWhile.j();
|
|
@@ -485,7 +485,7 @@
|
|
|
485
485
|
} else {
|
|
486
486
|
var tmp$ret$3;
|
|
487
487
|
// Inline function 'kotlin.apply' call
|
|
488
|
-
var tmp2_apply = toMutableList(this.
|
|
488
|
+
var tmp2_apply = toMutableList(this.h4d_1);
|
|
489
489
|
// Inline function 'kotlin.contracts.contract' call
|
|
490
490
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.creatingNewRequest.<anonymous>' call
|
|
491
491
|
tmp2_apply.ua(0, logicalParentRequest);
|
|
@@ -493,32 +493,32 @@
|
|
|
493
493
|
tmp_0 = tmp$ret$3;
|
|
494
494
|
}
|
|
495
495
|
var tmp_1 = tmp_0;
|
|
496
|
-
return this.
|
|
496
|
+
return this.l4d(tmp, isChoicePointChild, null, tmp_1, null, null, 52, null);
|
|
497
497
|
};
|
|
498
|
-
SideEffectManagerImpl.prototype.
|
|
499
|
-
var tmp = listOf(first_0(this.
|
|
500
|
-
return this.
|
|
498
|
+
SideEffectManagerImpl.prototype.o4d = function () {
|
|
499
|
+
var tmp = listOf(first_0(this.e4d_1));
|
|
500
|
+
return this.l4d(tmp, false, null, null, null, null, 62, null);
|
|
501
501
|
};
|
|
502
|
-
SideEffectManagerImpl.prototype.
|
|
502
|
+
SideEffectManagerImpl.prototype.p4d = function (upperScopeSideEffectsManager) {
|
|
503
503
|
var tmp$ret$0;
|
|
504
504
|
// Inline function 'kotlin.apply' call
|
|
505
|
-
var tmp0_apply = toMutableList(this.
|
|
505
|
+
var tmp0_apply = toMutableList(this.e4d_1);
|
|
506
506
|
// Inline function 'kotlin.contracts.contract' call
|
|
507
507
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.extendParentScopeWith.<anonymous>' call
|
|
508
|
-
tmp0_apply.t(upperScopeSideEffectsManager.
|
|
508
|
+
tmp0_apply.t(upperScopeSideEffectsManager.e4d_1);
|
|
509
509
|
tmp$ret$0 = tmp0_apply;
|
|
510
510
|
var tmp = tmp$ret$0;
|
|
511
|
-
return this.
|
|
511
|
+
return this.l4d(tmp, false, null, null, null, null, 62, null);
|
|
512
512
|
};
|
|
513
|
-
SideEffectManagerImpl.prototype.
|
|
514
|
-
return contains(this.
|
|
513
|
+
SideEffectManagerImpl.prototype.q4d = function () {
|
|
514
|
+
return contains(this.g4d_1, lastOrNull(this.e4d_1)) ? true : this.r4d();
|
|
515
515
|
};
|
|
516
|
-
SideEffectManagerImpl.prototype.
|
|
516
|
+
SideEffectManagerImpl.prototype.s4d = function (toUnifyArgument) {
|
|
517
517
|
var tmp$ret$5;
|
|
518
518
|
// Inline function 'kotlin.collections.filterNot' call
|
|
519
519
|
var tmp$ret$2;
|
|
520
520
|
// Inline function 'kotlin.collections.filter' call
|
|
521
|
-
var tmp0_filter = this.
|
|
521
|
+
var tmp0_filter = this.h4d_1;
|
|
522
522
|
var tmp$ret$1;
|
|
523
523
|
// Inline function 'kotlin.collections.filterTo' call
|
|
524
524
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
var element_0 = tmp0_iterator_0.p();
|
|
544
544
|
var tmp$ret$3;
|
|
545
545
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.retrieveAncestorCatchRequest.<anonymous>' call
|
|
546
|
-
tmp$ret$3 = contains(this.
|
|
546
|
+
tmp$ret$3 = contains(this.i4d_1, element_0.context);
|
|
547
547
|
if (!tmp$ret$3) {
|
|
548
548
|
tmp0_filterNotTo.g(element_0);
|
|
549
549
|
}
|
|
@@ -572,24 +572,24 @@
|
|
|
572
572
|
tmp$ret$8 = tmp$ret$7;
|
|
573
573
|
return tmp$ret$8;
|
|
574
574
|
};
|
|
575
|
-
SideEffectManagerImpl.prototype.
|
|
576
|
-
return this.
|
|
575
|
+
SideEffectManagerImpl.prototype.t4d = function (ancestorCatchContext) {
|
|
576
|
+
return this.l4d(null, false, null, null, null, ancestorCatchContext, 31, null);
|
|
577
577
|
};
|
|
578
|
-
SideEffectManagerImpl.prototype.
|
|
579
|
-
return equals(this.
|
|
578
|
+
SideEffectManagerImpl.prototype.u4d = function (contextImpl) {
|
|
579
|
+
return equals(this.j4d_1, contextImpl);
|
|
580
580
|
};
|
|
581
|
-
SideEffectManagerImpl.prototype.
|
|
582
|
-
var tmp = plus_0(this.
|
|
583
|
-
return this.
|
|
581
|
+
SideEffectManagerImpl.prototype.v4d = function (contextImpl) {
|
|
582
|
+
var tmp = plus_0(this.i4d_1, contextImpl);
|
|
583
|
+
return this.l4d(null, false, null, null, tmp, null, 47, null);
|
|
584
584
|
};
|
|
585
|
-
SideEffectManagerImpl.prototype.
|
|
586
|
-
return this.
|
|
585
|
+
SideEffectManagerImpl.prototype.w4d = function (toRecoverSituation) {
|
|
586
|
+
return this.l4d(null, false, toRecoverSituation.g4d_1, null, null, null, 59, null);
|
|
587
587
|
};
|
|
588
|
-
SideEffectManagerImpl.prototype.
|
|
588
|
+
SideEffectManagerImpl.prototype.r4d = function () {
|
|
589
589
|
var tmp$ret$0;
|
|
590
590
|
$l$block_0: {
|
|
591
591
|
// Inline function 'kotlin.collections.any' call
|
|
592
|
-
var tmp0_any = this.
|
|
592
|
+
var tmp0_any = this.h4d_1;
|
|
593
593
|
var tmp;
|
|
594
594
|
if (isInterface(tmp0_any, Collection)) {
|
|
595
595
|
tmp = tmp0_any.d();
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
var element = tmp0_iterator.p();
|
|
606
606
|
var tmp$ret$1;
|
|
607
607
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.SideEffectManagerImpl.shouldExecuteThrowCut.<anonymous>' call
|
|
608
|
-
tmp$ret$1 = element.context.equals(this.
|
|
608
|
+
tmp$ret$1 = element.context.equals(this.j4d_1);
|
|
609
609
|
if (tmp$ret$1) {
|
|
610
610
|
tmp$ret$0 = true;
|
|
611
611
|
break $l$block_0;
|
|
@@ -615,34 +615,34 @@
|
|
|
615
615
|
}
|
|
616
616
|
return tmp$ret$0;
|
|
617
617
|
};
|
|
618
|
-
SideEffectManagerImpl.prototype.
|
|
618
|
+
SideEffectManagerImpl.prototype.x4d = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) {
|
|
619
619
|
return new SideEffectManagerImpl(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
|
|
620
620
|
};
|
|
621
|
-
SideEffectManagerImpl.prototype.
|
|
621
|
+
SideEffectManagerImpl.prototype.l4d = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent, $mask0, $handler) {
|
|
622
622
|
if (!(($mask0 & 1) === 0))
|
|
623
|
-
clauseScopedParents = this.
|
|
623
|
+
clauseScopedParents = this.e4d_1;
|
|
624
624
|
if (!(($mask0 & 2) === 0))
|
|
625
|
-
isChoicePointChild = this.
|
|
625
|
+
isChoicePointChild = this.f4d_1;
|
|
626
626
|
if (!(($mask0 & 4) === 0))
|
|
627
|
-
toCutContextsParent = this.
|
|
627
|
+
toCutContextsParent = this.g4d_1;
|
|
628
628
|
if (!(($mask0 & 8) === 0))
|
|
629
|
-
logicalParentRequests = this.
|
|
629
|
+
logicalParentRequests = this.h4d_1;
|
|
630
630
|
if (!(($mask0 & 16) === 0))
|
|
631
|
-
throwNonSelectableParentContexts = this.
|
|
631
|
+
throwNonSelectableParentContexts = this.i4d_1;
|
|
632
632
|
if (!(($mask0 & 32) === 0))
|
|
633
|
-
throwRelatedToCutContextsParent = this.
|
|
634
|
-
return this.
|
|
633
|
+
throwRelatedToCutContextsParent = this.j4d_1;
|
|
634
|
+
return this.x4d(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
|
|
635
635
|
};
|
|
636
636
|
SideEffectManagerImpl.prototype.toString = function () {
|
|
637
|
-
return 'SideEffectManagerImpl(clauseScopedParents=' + this.
|
|
637
|
+
return 'SideEffectManagerImpl(clauseScopedParents=' + this.e4d_1 + ', isChoicePointChild=' + this.f4d_1 + ', toCutContextsParent=' + this.g4d_1 + ', logicalParentRequests=' + this.h4d_1 + ', throwNonSelectableParentContexts=' + this.i4d_1 + ', throwRelatedToCutContextsParent=' + this.j4d_1 + ')';
|
|
638
638
|
};
|
|
639
639
|
SideEffectManagerImpl.prototype.hashCode = function () {
|
|
640
|
-
var result = hashCode(this.
|
|
641
|
-
result = imul(result, 31) + (this.
|
|
642
|
-
result = imul(result, 31) + hashCode(this.
|
|
643
|
-
result = imul(result, 31) + hashCode(this.
|
|
644
|
-
result = imul(result, 31) + hashCode(this.
|
|
645
|
-
result = imul(result, 31) + (this.
|
|
640
|
+
var result = hashCode(this.e4d_1);
|
|
641
|
+
result = imul(result, 31) + (this.f4d_1 | 0) | 0;
|
|
642
|
+
result = imul(result, 31) + hashCode(this.g4d_1) | 0;
|
|
643
|
+
result = imul(result, 31) + hashCode(this.h4d_1) | 0;
|
|
644
|
+
result = imul(result, 31) + hashCode(this.i4d_1) | 0;
|
|
645
|
+
result = imul(result, 31) + (this.j4d_1 == null ? 0 : this.j4d_1.hashCode()) | 0;
|
|
646
646
|
return result;
|
|
647
647
|
};
|
|
648
648
|
SideEffectManagerImpl.prototype.equals = function (other) {
|
|
@@ -651,42 +651,42 @@
|
|
|
651
651
|
if (!(other instanceof SideEffectManagerImpl))
|
|
652
652
|
return false;
|
|
653
653
|
var tmp0_other_with_cast = other instanceof SideEffectManagerImpl ? other : THROW_CCE();
|
|
654
|
-
if (!equals(this.
|
|
654
|
+
if (!equals(this.e4d_1, tmp0_other_with_cast.e4d_1))
|
|
655
655
|
return false;
|
|
656
|
-
if (!(this.
|
|
656
|
+
if (!(this.f4d_1 === tmp0_other_with_cast.f4d_1))
|
|
657
657
|
return false;
|
|
658
|
-
if (!equals(this.
|
|
658
|
+
if (!equals(this.g4d_1, tmp0_other_with_cast.g4d_1))
|
|
659
659
|
return false;
|
|
660
|
-
if (!equals(this.
|
|
660
|
+
if (!equals(this.h4d_1, tmp0_other_with_cast.h4d_1))
|
|
661
661
|
return false;
|
|
662
|
-
if (!equals(this.
|
|
662
|
+
if (!equals(this.i4d_1, tmp0_other_with_cast.i4d_1))
|
|
663
663
|
return false;
|
|
664
|
-
if (!equals(this.
|
|
664
|
+
if (!equals(this.j4d_1, tmp0_other_with_cast.j4d_1))
|
|
665
665
|
return false;
|
|
666
666
|
return true;
|
|
667
667
|
};
|
|
668
668
|
function resetCutWorkChanges(_this__u8e3s4, toRecoverSituation) {
|
|
669
669
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
670
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
670
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w4d(toRecoverSituation);
|
|
671
671
|
}
|
|
672
672
|
function isSelectedThrowCatch(_this__u8e3s4, context) {
|
|
673
673
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
674
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
674
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u4d(context);
|
|
675
675
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
676
676
|
}
|
|
677
677
|
function shouldExecuteThrowCut(_this__u8e3s4) {
|
|
678
678
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
679
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
679
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r4d();
|
|
680
680
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
681
681
|
}
|
|
682
682
|
function shouldCutExecuteInRuleSelection(_this__u8e3s4) {
|
|
683
683
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
684
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
684
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q4d();
|
|
685
685
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
686
686
|
}
|
|
687
687
|
function extendParentScopeWith(_this__u8e3s4, upperScopeSideEffectsManager) {
|
|
688
688
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
|
|
689
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
689
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p4d(upperScopeSideEffectsManager);
|
|
690
690
|
}
|
|
691
691
|
function isWellFormed(_this__u8e3s4) {
|
|
692
692
|
return _this__u8e3s4.accept(Companion_getInstance_2().bodyWellFormedVisitor);
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
704
704
|
var tmp0_toTypedArray = otherResponse.sideEffects;
|
|
705
705
|
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
706
|
-
tmp$ret$1 = _this__u8e3s4.
|
|
706
|
+
tmp$ret$1 = _this__u8e3s4.y2i(otherResponse.solution, tmp, tmp$ret$0.slice());
|
|
707
707
|
tmp$ret$2 = tmp$ret$1;
|
|
708
708
|
return tmp$ret$2;
|
|
709
709
|
}
|
|
@@ -716,12 +716,12 @@
|
|
|
716
716
|
var tmp_4 = toPropagateContextData.z1u();
|
|
717
717
|
var tmp_5 = toPropagateContextData.a1v();
|
|
718
718
|
var tmp_6 = toPropagateContextData.b1v();
|
|
719
|
-
var tmp_7 = _this__u8e3s4.context.
|
|
719
|
+
var tmp_7 = _this__u8e3s4.context.y4c_1.plus(toAddSubstitutions);
|
|
720
720
|
var tmp_8 = isInterface(tmp_7, Unifier) ? tmp_7 : THROW_CCE();
|
|
721
721
|
var tmp_9 = new Long(0, 0);
|
|
722
722
|
var tmp_10 = new Long(0, 0);
|
|
723
|
-
var tmp_11 = _this__u8e3s4.context.
|
|
724
|
-
return _this__u8e3s4.
|
|
723
|
+
var tmp_11 = _this__u8e3s4.context.y4d(null, tmp_1, tmp_2, tmp_3, tmp_4, null, tmp_5, tmp_6, null, tmp_8, tmp_9, tmp_10, null, baseSideEffectManager.n4d(_this__u8e3s4.context, isChoicePointChild, _this__u8e3s4), 7457, null);
|
|
724
|
+
return _this__u8e3s4.j2j(tmp, tmp_0, tmp_11, requestIssuingInstant, new Long(0, 0), 16, null);
|
|
725
725
|
}
|
|
726
726
|
function newSolveRequest$default(_this__u8e3s4, newGoal, toAddSubstitutions, toPropagateContextData, baseSideEffectManager, requestIssuingInstant, isChoicePointChild, $mask0, $handler) {
|
|
727
727
|
if (!(($mask0 & 2) === 0))
|
|
@@ -729,9 +729,9 @@
|
|
|
729
729
|
if (!(($mask0 & 4) === 0))
|
|
730
730
|
toPropagateContextData = _this__u8e3s4.context;
|
|
731
731
|
if (!(($mask0 & 8) === 0))
|
|
732
|
-
baseSideEffectManager = _this__u8e3s4.context.
|
|
732
|
+
baseSideEffectManager = _this__u8e3s4.context.c4d_1;
|
|
733
733
|
if (!(($mask0 & 16) === 0))
|
|
734
|
-
requestIssuingInstant = _this__u8e3s4.
|
|
734
|
+
requestIssuingInstant = _this__u8e3s4.d2a_1;
|
|
735
735
|
if (!(($mask0 & 32) === 0))
|
|
736
736
|
isChoicePointChild = false;
|
|
737
737
|
return newSolveRequest(_this__u8e3s4, newGoal, toAddSubstitutions, toPropagateContextData, baseSideEffectManager, requestIssuingInstant, isChoicePointChild);
|
|
@@ -806,19 +806,19 @@
|
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
808
|
function orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
|
|
809
|
-
this.
|
|
810
|
-
this.
|
|
811
|
-
this.
|
|
809
|
+
this.h4e_1 = $selectionStrategy;
|
|
810
|
+
this.i4e_1 = $this_orderWithStrategy;
|
|
811
|
+
this.j4e_1 = $context;
|
|
812
812
|
CoroutineImpl.call(this, resultContinuation);
|
|
813
813
|
}
|
|
814
|
-
orderWithStrategy$slambda.prototype.
|
|
815
|
-
var tmp = this.
|
|
814
|
+
orderWithStrategy$slambda.prototype.m4e = function ($this$sequence, $cont) {
|
|
815
|
+
var tmp = this.n4e($this$sequence, $cont);
|
|
816
816
|
tmp.ei_1 = Unit_getInstance();
|
|
817
817
|
tmp.fi_1 = null;
|
|
818
818
|
return tmp.ki();
|
|
819
819
|
};
|
|
820
820
|
orderWithStrategy$slambda.prototype.wi = function (p1, $cont) {
|
|
821
|
-
return this.
|
|
821
|
+
return this.m4e(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
822
822
|
};
|
|
823
823
|
orderWithStrategy$slambda.prototype.ki = function () {
|
|
824
824
|
var suspendResult = this.ei_1;
|
|
@@ -829,9 +829,9 @@
|
|
|
829
829
|
case 0:
|
|
830
830
|
this.di_1 = 3;
|
|
831
831
|
var tmp_0 = this;
|
|
832
|
-
tmp_0.
|
|
832
|
+
tmp_0.l4e_1 = this.h4e_1(this.i4e_1, this.j4e_1);
|
|
833
833
|
this.ci_1 = 1;
|
|
834
|
-
suspendResult = this.
|
|
834
|
+
suspendResult = this.k4e_1.z4(this.l4e_1, this);
|
|
835
835
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
836
836
|
return suspendResult;
|
|
837
837
|
}
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
continue $sm;
|
|
840
840
|
case 1:
|
|
841
841
|
this.ci_1 = 2;
|
|
842
|
-
suspendResult = this.
|
|
842
|
+
suspendResult = this.k4e_1.c5(orderWithStrategy(filterIndexed(this.i4e_1, orderWithStrategy$slambda$lambda(this.i4e_1, this.l4e_1)), this.j4e_1, this.h4e_1), this);
|
|
843
843
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
844
844
|
return suspendResult;
|
|
845
845
|
}
|
|
@@ -860,15 +860,15 @@
|
|
|
860
860
|
}
|
|
861
861
|
while (true);
|
|
862
862
|
};
|
|
863
|
-
orderWithStrategy$slambda.prototype.
|
|
864
|
-
var i = new orderWithStrategy$slambda(this.
|
|
865
|
-
i.
|
|
863
|
+
orderWithStrategy$slambda.prototype.n4e = function ($this$sequence, completion) {
|
|
864
|
+
var i = new orderWithStrategy$slambda(this.h4e_1, this.i4e_1, this.j4e_1, completion);
|
|
865
|
+
i.k4e_1 = $this$sequence;
|
|
866
866
|
return i;
|
|
867
867
|
};
|
|
868
868
|
function orderWithStrategy$slambda_0($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
|
|
869
869
|
var i = new orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation);
|
|
870
870
|
var l = function ($this$sequence, $cont) {
|
|
871
|
-
return i.
|
|
871
|
+
return i.m4e($this$sequence, $cont);
|
|
872
872
|
};
|
|
873
873
|
l.$arity = 1;
|
|
874
874
|
return l;
|
|
@@ -888,11 +888,11 @@
|
|
|
888
888
|
operators = toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb]));
|
|
889
889
|
if (!(($mask0 & 64) === 0)) {
|
|
890
890
|
var tmp = Companion_getInstance();
|
|
891
|
-
inputChannels = tmp.
|
|
891
|
+
inputChannels = tmp.v1z(null, 1, null);
|
|
892
892
|
}
|
|
893
893
|
if (!(($mask0 & 128) === 0)) {
|
|
894
894
|
var tmp_0 = Companion_getInstance_0();
|
|
895
|
-
outputChannels = tmp_0.
|
|
895
|
+
outputChannels = tmp_0.w1z(null, null, null, 7, null);
|
|
896
896
|
}
|
|
897
897
|
if (!(($mask0 & 256) === 0))
|
|
898
898
|
customData = Companion_getInstance_8().empty();
|
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
maxDuration = new Long(-1, 2147483647);
|
|
906
906
|
}
|
|
907
907
|
if (!(($mask0 & 4096) === 0))
|
|
908
|
-
solverStrategies = Companion_getInstance_15().
|
|
908
|
+
solverStrategies = Companion_getInstance_15().j4c_1;
|
|
909
909
|
if (!(($mask0 & 8192) === 0)) {
|
|
910
910
|
sideEffectManager = SideEffectManagerImpl_init_$Create$(null, false, null, null, null, null, 63, null);
|
|
911
911
|
}
|
|
@@ -928,10 +928,10 @@
|
|
|
928
928
|
var tmp_8 = new Long(0, 0);
|
|
929
929
|
var tmp_9 = new Long(0, 0);
|
|
930
930
|
var tmp0_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
|
|
931
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
932
|
-
var tmp_10 = tmp1_elvis_lhs == null ? Companion_getInstance_15().
|
|
931
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b4d_1;
|
|
932
|
+
var tmp_10 = tmp1_elvis_lhs == null ? Companion_getInstance_15().j4c_1 : tmp1_elvis_lhs;
|
|
933
933
|
var tmp2_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
|
|
934
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
934
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c4d_1;
|
|
935
935
|
var tmp_11;
|
|
936
936
|
if (tmp3_elvis_lhs == null) {
|
|
937
937
|
tmp_11 = SideEffectManagerImpl_init_$Create$(null, false, null, null, null, null, 63, null);
|
|
@@ -949,68 +949,68 @@
|
|
|
949
949
|
}
|
|
950
950
|
function StreamsExecutionContext$logicStackTrace$delegate$lambda(this$0) {
|
|
951
951
|
return function () {
|
|
952
|
-
var tmp = asSequence(this$0.
|
|
952
|
+
var tmp = asSequence(this$0.c4d_1.h4d_1);
|
|
953
953
|
return toList(map(tmp, StreamsExecutionContext$logicStackTrace$delegate$lambda$lambda));
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
956
|
function StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
965
|
-
this.
|
|
966
|
-
this.
|
|
967
|
-
this.
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
957
|
+
this.p4c_1 = unificator;
|
|
958
|
+
this.q4c_1 = libraries;
|
|
959
|
+
this.r4c_1 = flags;
|
|
960
|
+
this.s4c_1 = staticKb;
|
|
961
|
+
this.t4c_1 = dynamicKb;
|
|
962
|
+
this.u4c_1 = operators;
|
|
963
|
+
this.v4c_1 = inputChannels;
|
|
964
|
+
this.w4c_1 = outputChannels;
|
|
965
|
+
this.x4c_1 = customData;
|
|
966
|
+
this.y4c_1 = substitution;
|
|
967
|
+
this.z4c_1 = startTime;
|
|
968
|
+
this.a4d_1 = maxDuration;
|
|
969
|
+
this.b4d_1 = solverStrategies;
|
|
970
|
+
this.c4d_1 = sideEffectManager;
|
|
971
971
|
var tmp = this;
|
|
972
|
-
tmp.
|
|
972
|
+
tmp.d4d_1 = lazy(StreamsExecutionContext$logicStackTrace$delegate$lambda(this));
|
|
973
973
|
}
|
|
974
974
|
StreamsExecutionContext.prototype.k1l = function () {
|
|
975
|
-
return this.
|
|
975
|
+
return this.p4c_1;
|
|
976
976
|
};
|
|
977
977
|
StreamsExecutionContext.prototype.w1u = function () {
|
|
978
|
-
return this.
|
|
978
|
+
return this.q4c_1;
|
|
979
979
|
};
|
|
980
980
|
StreamsExecutionContext.prototype.x1u = function () {
|
|
981
|
-
return this.
|
|
981
|
+
return this.r4c_1;
|
|
982
982
|
};
|
|
983
983
|
StreamsExecutionContext.prototype.y1u = function () {
|
|
984
|
-
return this.
|
|
984
|
+
return this.s4c_1;
|
|
985
985
|
};
|
|
986
986
|
StreamsExecutionContext.prototype.z1u = function () {
|
|
987
|
-
return this.
|
|
987
|
+
return this.t4c_1;
|
|
988
988
|
};
|
|
989
989
|
StreamsExecutionContext.prototype.h1v = function () {
|
|
990
|
-
return this.
|
|
990
|
+
return this.u4c_1;
|
|
991
991
|
};
|
|
992
992
|
StreamsExecutionContext.prototype.a1v = function () {
|
|
993
|
-
return this.
|
|
993
|
+
return this.v4c_1;
|
|
994
994
|
};
|
|
995
995
|
StreamsExecutionContext.prototype.b1v = function () {
|
|
996
|
-
return this.
|
|
996
|
+
return this.w4c_1;
|
|
997
997
|
};
|
|
998
998
|
StreamsExecutionContext.prototype.t1u = function () {
|
|
999
|
-
return this.
|
|
999
|
+
return this.x4c_1;
|
|
1000
1000
|
};
|
|
1001
1001
|
StreamsExecutionContext.prototype.r1u = function () {
|
|
1002
|
-
return this.
|
|
1002
|
+
return this.y4c_1;
|
|
1003
1003
|
};
|
|
1004
1004
|
StreamsExecutionContext.prototype.l1u = function () {
|
|
1005
|
-
return this.
|
|
1005
|
+
return this.z4c_1;
|
|
1006
1006
|
};
|
|
1007
1007
|
StreamsExecutionContext.prototype.n1u = function () {
|
|
1008
|
-
return this.
|
|
1008
|
+
return this.a4d_1;
|
|
1009
1009
|
};
|
|
1010
1010
|
StreamsExecutionContext.prototype.q1u = function () {
|
|
1011
1011
|
var tmp$ret$2;
|
|
1012
1012
|
// Inline function 'kotlin.collections.map' call
|
|
1013
|
-
var tmp0_map = this.
|
|
1013
|
+
var tmp0_map = this.c4d_1.h4d_1;
|
|
1014
1014
|
var tmp$ret$1;
|
|
1015
1015
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1016
1016
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
var tmp$ret$0;
|
|
1031
1031
|
// Inline function 'kotlin.getValue' call
|
|
1032
1032
|
var tmp0_getValue = logicStackTrace$factory();
|
|
1033
|
-
tmp$ret$0 = this.
|
|
1033
|
+
tmp$ret$0 = this.d4d_1.b1();
|
|
1034
1034
|
return tmp$ret$0;
|
|
1035
1035
|
};
|
|
1036
1036
|
StreamsExecutionContext.prototype.u1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
@@ -1039,84 +1039,84 @@
|
|
|
1039
1039
|
StreamsExecutionContext.prototype.c1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
|
|
1040
1040
|
throw new NotImplementedError('An operation is not implemented: Not yet implemented');
|
|
1041
1041
|
};
|
|
1042
|
-
StreamsExecutionContext.prototype.
|
|
1042
|
+
StreamsExecutionContext.prototype.b37 = function (sideEffect) {
|
|
1043
1043
|
var tmp = apply.call(this, sideEffect);
|
|
1044
1044
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
1045
1045
|
};
|
|
1046
1046
|
StreamsExecutionContext.prototype.apply = function (sideEffect) {
|
|
1047
|
-
return this.
|
|
1047
|
+
return this.b37(sideEffect);
|
|
1048
1048
|
};
|
|
1049
|
-
StreamsExecutionContext.prototype.
|
|
1049
|
+
StreamsExecutionContext.prototype.c37 = function (sideEffects) {
|
|
1050
1050
|
var tmp = applyIterable.call(this, sideEffects);
|
|
1051
1051
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
1052
1052
|
};
|
|
1053
1053
|
StreamsExecutionContext.prototype.applyIterable = function (sideEffects) {
|
|
1054
|
-
return this.
|
|
1054
|
+
return this.c37(sideEffects);
|
|
1055
1055
|
};
|
|
1056
|
-
StreamsExecutionContext.prototype.
|
|
1056
|
+
StreamsExecutionContext.prototype.d37 = function (sideEffects) {
|
|
1057
1057
|
var tmp = applySequence.call(this, sideEffects);
|
|
1058
1058
|
return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
|
|
1059
1059
|
};
|
|
1060
1060
|
StreamsExecutionContext.prototype.applySequence = function (sideEffects) {
|
|
1061
|
-
return this.
|
|
1061
|
+
return this.d37(sideEffects);
|
|
1062
1062
|
};
|
|
1063
1063
|
StreamsExecutionContext.prototype.f1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
|
|
1064
1064
|
var tmp = new Long(0, 0);
|
|
1065
1065
|
var tmp_0 = new Long(0, 0);
|
|
1066
|
-
return this.
|
|
1066
|
+
return this.y4d(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, null, tmp, tmp_0, null, null, 15872, null);
|
|
1067
1067
|
};
|
|
1068
|
-
StreamsExecutionContext.prototype.
|
|
1068
|
+
StreamsExecutionContext.prototype.o4e = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
|
|
1069
1069
|
return new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
|
|
1070
1070
|
};
|
|
1071
|
-
StreamsExecutionContext.prototype.
|
|
1071
|
+
StreamsExecutionContext.prototype.y4d = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager, $mask0, $handler) {
|
|
1072
1072
|
if (!(($mask0 & 1) === 0))
|
|
1073
|
-
unificator = this.
|
|
1073
|
+
unificator = this.p4c_1;
|
|
1074
1074
|
if (!(($mask0 & 2) === 0))
|
|
1075
|
-
libraries = this.
|
|
1075
|
+
libraries = this.q4c_1;
|
|
1076
1076
|
if (!(($mask0 & 4) === 0))
|
|
1077
|
-
flags = this.
|
|
1077
|
+
flags = this.r4c_1;
|
|
1078
1078
|
if (!(($mask0 & 8) === 0))
|
|
1079
|
-
staticKb = this.
|
|
1079
|
+
staticKb = this.s4c_1;
|
|
1080
1080
|
if (!(($mask0 & 16) === 0))
|
|
1081
|
-
dynamicKb = this.
|
|
1081
|
+
dynamicKb = this.t4c_1;
|
|
1082
1082
|
if (!(($mask0 & 32) === 0))
|
|
1083
|
-
operators = this.
|
|
1083
|
+
operators = this.u4c_1;
|
|
1084
1084
|
if (!(($mask0 & 64) === 0))
|
|
1085
|
-
inputChannels = this.
|
|
1085
|
+
inputChannels = this.v4c_1;
|
|
1086
1086
|
if (!(($mask0 & 128) === 0))
|
|
1087
|
-
outputChannels = this.
|
|
1087
|
+
outputChannels = this.w4c_1;
|
|
1088
1088
|
if (!(($mask0 & 256) === 0))
|
|
1089
|
-
customData = this.
|
|
1089
|
+
customData = this.x4c_1;
|
|
1090
1090
|
if (!(($mask0 & 512) === 0))
|
|
1091
|
-
substitution = this.
|
|
1091
|
+
substitution = this.y4c_1;
|
|
1092
1092
|
if (!(($mask0 & 1024) === 0))
|
|
1093
|
-
startTime = this.
|
|
1093
|
+
startTime = this.z4c_1;
|
|
1094
1094
|
if (!(($mask0 & 2048) === 0))
|
|
1095
|
-
maxDuration = this.
|
|
1095
|
+
maxDuration = this.a4d_1;
|
|
1096
1096
|
if (!(($mask0 & 4096) === 0))
|
|
1097
|
-
solverStrategies = this.
|
|
1097
|
+
solverStrategies = this.b4d_1;
|
|
1098
1098
|
if (!(($mask0 & 8192) === 0))
|
|
1099
|
-
sideEffectManager = this.
|
|
1100
|
-
return this.
|
|
1099
|
+
sideEffectManager = this.c4d_1;
|
|
1100
|
+
return this.o4e(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
|
|
1101
1101
|
};
|
|
1102
1102
|
StreamsExecutionContext.prototype.toString = function () {
|
|
1103
|
-
return 'StreamsExecutionContext(unificator=' + this.
|
|
1103
|
+
return 'StreamsExecutionContext(unificator=' + this.p4c_1 + ', libraries=' + this.q4c_1 + ', flags=' + this.r4c_1 + ', staticKb=' + this.s4c_1 + ', dynamicKb=' + this.t4c_1 + ', operators=' + this.u4c_1 + ', inputChannels=' + this.v4c_1 + ', outputChannels=' + this.w4c_1 + ', customData=' + this.x4c_1 + ', substitution=' + this.y4c_1 + ', startTime=' + toString(this.z4c_1) + ', maxDuration=' + toString(this.a4d_1) + ', solverStrategies=' + this.b4d_1 + ', sideEffectManager=' + this.c4d_1 + ')';
|
|
1104
1104
|
};
|
|
1105
1105
|
StreamsExecutionContext.prototype.hashCode = function () {
|
|
1106
|
-
var result = hashCode(this.
|
|
1107
|
-
result = imul(result, 31) + hashCode(this.n4c_1) | 0;
|
|
1108
|
-
result = imul(result, 31) + this.o4c_1.hashCode() | 0;
|
|
1109
|
-
result = imul(result, 31) + hashCode(this.p4c_1) | 0;
|
|
1106
|
+
var result = hashCode(this.p4c_1);
|
|
1110
1107
|
result = imul(result, 31) + hashCode(this.q4c_1) | 0;
|
|
1111
1108
|
result = imul(result, 31) + this.r4c_1.hashCode() | 0;
|
|
1112
1109
|
result = imul(result, 31) + hashCode(this.s4c_1) | 0;
|
|
1113
1110
|
result = imul(result, 31) + hashCode(this.t4c_1) | 0;
|
|
1114
1111
|
result = imul(result, 31) + this.u4c_1.hashCode() | 0;
|
|
1115
1112
|
result = imul(result, 31) + hashCode(this.v4c_1) | 0;
|
|
1116
|
-
result = imul(result, 31) + this.w4c_1
|
|
1113
|
+
result = imul(result, 31) + hashCode(this.w4c_1) | 0;
|
|
1117
1114
|
result = imul(result, 31) + this.x4c_1.hashCode() | 0;
|
|
1118
1115
|
result = imul(result, 31) + hashCode(this.y4c_1) | 0;
|
|
1119
1116
|
result = imul(result, 31) + this.z4c_1.hashCode() | 0;
|
|
1117
|
+
result = imul(result, 31) + this.a4d_1.hashCode() | 0;
|
|
1118
|
+
result = imul(result, 31) + hashCode(this.b4d_1) | 0;
|
|
1119
|
+
result = imul(result, 31) + this.c4d_1.hashCode() | 0;
|
|
1120
1120
|
return result;
|
|
1121
1121
|
};
|
|
1122
1122
|
StreamsExecutionContext.prototype.equals = function (other) {
|
|
@@ -1125,12 +1125,6 @@
|
|
|
1125
1125
|
if (!(other instanceof StreamsExecutionContext))
|
|
1126
1126
|
return false;
|
|
1127
1127
|
var tmp0_other_with_cast = other instanceof StreamsExecutionContext ? other : THROW_CCE();
|
|
1128
|
-
if (!equals(this.m4c_1, tmp0_other_with_cast.m4c_1))
|
|
1129
|
-
return false;
|
|
1130
|
-
if (!equals(this.n4c_1, tmp0_other_with_cast.n4c_1))
|
|
1131
|
-
return false;
|
|
1132
|
-
if (!this.o4c_1.equals(tmp0_other_with_cast.o4c_1))
|
|
1133
|
-
return false;
|
|
1134
1128
|
if (!equals(this.p4c_1, tmp0_other_with_cast.p4c_1))
|
|
1135
1129
|
return false;
|
|
1136
1130
|
if (!equals(this.q4c_1, tmp0_other_with_cast.q4c_1))
|
|
@@ -1145,7 +1139,7 @@
|
|
|
1145
1139
|
return false;
|
|
1146
1140
|
if (!equals(this.v4c_1, tmp0_other_with_cast.v4c_1))
|
|
1147
1141
|
return false;
|
|
1148
|
-
if (!this.w4c_1
|
|
1142
|
+
if (!equals(this.w4c_1, tmp0_other_with_cast.w4c_1))
|
|
1149
1143
|
return false;
|
|
1150
1144
|
if (!this.x4c_1.equals(tmp0_other_with_cast.x4c_1))
|
|
1151
1145
|
return false;
|
|
@@ -1153,11 +1147,17 @@
|
|
|
1153
1147
|
return false;
|
|
1154
1148
|
if (!this.z4c_1.equals(tmp0_other_with_cast.z4c_1))
|
|
1155
1149
|
return false;
|
|
1150
|
+
if (!this.a4d_1.equals(tmp0_other_with_cast.a4d_1))
|
|
1151
|
+
return false;
|
|
1152
|
+
if (!equals(this.b4d_1, tmp0_other_with_cast.b4d_1))
|
|
1153
|
+
return false;
|
|
1154
|
+
if (!this.c4d_1.equals(tmp0_other_with_cast.c4d_1))
|
|
1155
|
+
return false;
|
|
1156
1156
|
return true;
|
|
1157
1157
|
};
|
|
1158
1158
|
function getSideEffectManager(_this__u8e3s4) {
|
|
1159
1159
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof StreamsExecutionContext ? _this__u8e3s4 : null;
|
|
1160
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1160
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c4d_1;
|
|
1161
1161
|
}
|
|
1162
1162
|
function logicStackTrace$factory() {
|
|
1163
1163
|
return getPropertyCallableRef('logicStackTrace', 1, KProperty1, function (receiver) {
|
|
@@ -1165,24 +1165,24 @@
|
|
|
1165
1165
|
}, null);
|
|
1166
1166
|
}
|
|
1167
1167
|
function AbstractState(solve) {
|
|
1168
|
-
this.
|
|
1169
|
-
this.
|
|
1168
|
+
this.p4e_1 = solve;
|
|
1169
|
+
this.q4e_1 = false;
|
|
1170
1170
|
}
|
|
1171
|
-
AbstractState.prototype.
|
|
1172
|
-
return this.
|
|
1171
|
+
AbstractState.prototype.r4e = function () {
|
|
1172
|
+
return this.q4e_1;
|
|
1173
1173
|
};
|
|
1174
1174
|
function AlreadyExecutedState(wrappedState) {
|
|
1175
|
-
this.
|
|
1176
|
-
this.
|
|
1175
|
+
this.t4e_1 = wrappedState;
|
|
1176
|
+
this.u4e_1 = true;
|
|
1177
1177
|
}
|
|
1178
|
-
AlreadyExecutedState.prototype.
|
|
1179
|
-
return this.
|
|
1178
|
+
AlreadyExecutedState.prototype.s4e = function () {
|
|
1179
|
+
return this.t4e_1.s4e();
|
|
1180
1180
|
};
|
|
1181
|
-
AlreadyExecutedState.prototype.
|
|
1182
|
-
return this.
|
|
1181
|
+
AlreadyExecutedState.prototype.r4e = function () {
|
|
1182
|
+
return this.u4e_1;
|
|
1183
1183
|
};
|
|
1184
1184
|
AlreadyExecutedState.prototype.toString = function () {
|
|
1185
|
-
return 'AlreadyExecutedState of: ' + this.
|
|
1185
|
+
return 'AlreadyExecutedState of: ' + this.t4e_1;
|
|
1186
1186
|
};
|
|
1187
1187
|
function asAlreadyExecuted(_this__u8e3s4) {
|
|
1188
1188
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof AlreadyExecutedState ? _this__u8e3s4 : null;
|
|
@@ -1208,7 +1208,7 @@
|
|
|
1208
1208
|
}
|
|
1209
1209
|
function internalExecute($this, state) {
|
|
1210
1210
|
var tmp;
|
|
1211
|
-
if (state.
|
|
1211
|
+
if (state.r4e()) {
|
|
1212
1212
|
tmp = sequenceOf([state]);
|
|
1213
1213
|
} else {
|
|
1214
1214
|
tmp = sequence(StateMachineExecutor$internalExecute$slambda_0(state, null));
|
|
@@ -1216,23 +1216,23 @@
|
|
|
1216
1216
|
return tmp;
|
|
1217
1217
|
}
|
|
1218
1218
|
function StateMachineExecutor$execute$lambda(it) {
|
|
1219
|
-
return StateMachineExecutor_getInstance().
|
|
1219
|
+
return StateMachineExecutor_getInstance().v4e(it);
|
|
1220
1220
|
}
|
|
1221
1221
|
function StateMachineExecutor$executeWrapping$lambda(it) {
|
|
1222
1222
|
return asAlreadyExecuted(it);
|
|
1223
1223
|
}
|
|
1224
1224
|
function StateMachineExecutor$internalExecute$slambda($state, resultContinuation) {
|
|
1225
|
-
this.
|
|
1225
|
+
this.e4f_1 = $state;
|
|
1226
1226
|
CoroutineImpl.call(this, resultContinuation);
|
|
1227
1227
|
}
|
|
1228
|
-
StateMachineExecutor$internalExecute$slambda.prototype.
|
|
1229
|
-
var tmp = this.
|
|
1228
|
+
StateMachineExecutor$internalExecute$slambda.prototype.j4f = function ($this$sequence, $cont) {
|
|
1229
|
+
var tmp = this.k4f($this$sequence, $cont);
|
|
1230
1230
|
tmp.ei_1 = Unit_getInstance();
|
|
1231
1231
|
tmp.fi_1 = null;
|
|
1232
1232
|
return tmp.ki();
|
|
1233
1233
|
};
|
|
1234
1234
|
StateMachineExecutor$internalExecute$slambda.prototype.wi = function (p1, $cont) {
|
|
1235
|
-
return this.
|
|
1235
|
+
return this.j4f(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
1236
1236
|
};
|
|
1237
1237
|
StateMachineExecutor$internalExecute$slambda.prototype.ki = function () {
|
|
1238
1238
|
var suspendResult = this.ei_1;
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
case 0:
|
|
1244
1244
|
this.di_1 = 5;
|
|
1245
1245
|
this.ci_1 = 1;
|
|
1246
|
-
suspendResult = this.
|
|
1246
|
+
suspendResult = this.f4f_1.z4(this.e4f_1, this);
|
|
1247
1247
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1248
1248
|
return suspendResult;
|
|
1249
1249
|
}
|
|
@@ -1251,19 +1251,19 @@
|
|
|
1251
1251
|
continue $sm;
|
|
1252
1252
|
case 1:
|
|
1253
1253
|
var tmp_0 = this;
|
|
1254
|
-
tmp_0.
|
|
1255
|
-
this.
|
|
1254
|
+
tmp_0.g4f_1 = this.e4f_1.s4e();
|
|
1255
|
+
this.h4f_1 = this.g4f_1.j();
|
|
1256
1256
|
this.ci_1 = 2;
|
|
1257
1257
|
continue $sm;
|
|
1258
1258
|
case 2:
|
|
1259
|
-
if (!this.
|
|
1259
|
+
if (!this.h4f_1.m()) {
|
|
1260
1260
|
this.ci_1 = 4;
|
|
1261
1261
|
continue $sm;
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
|
-
this.
|
|
1264
|
+
this.i4f_1 = this.h4f_1.p();
|
|
1265
1265
|
this.ci_1 = 3;
|
|
1266
|
-
suspendResult = this.
|
|
1266
|
+
suspendResult = this.f4f_1.c5(internalExecute(StateMachineExecutor_getInstance(), this.i4f_1), this);
|
|
1267
1267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1268
1268
|
return suspendResult;
|
|
1269
1269
|
}
|
|
@@ -1287,15 +1287,15 @@
|
|
|
1287
1287
|
}
|
|
1288
1288
|
while (true);
|
|
1289
1289
|
};
|
|
1290
|
-
StateMachineExecutor$internalExecute$slambda.prototype.
|
|
1291
|
-
var i = new StateMachineExecutor$internalExecute$slambda(this.
|
|
1292
|
-
i.
|
|
1290
|
+
StateMachineExecutor$internalExecute$slambda.prototype.k4f = function ($this$sequence, completion) {
|
|
1291
|
+
var i = new StateMachineExecutor$internalExecute$slambda(this.e4f_1, completion);
|
|
1292
|
+
i.f4f_1 = $this$sequence;
|
|
1293
1293
|
return i;
|
|
1294
1294
|
};
|
|
1295
1295
|
function StateMachineExecutor$internalExecute$slambda_0($state, resultContinuation) {
|
|
1296
1296
|
var i = new StateMachineExecutor$internalExecute$slambda($state, resultContinuation);
|
|
1297
1297
|
var l = function ($this$sequence, $cont) {
|
|
1298
|
-
return i.
|
|
1298
|
+
return i.j4f($this$sequence, $cont);
|
|
1299
1299
|
};
|
|
1300
1300
|
l.$arity = 1;
|
|
1301
1301
|
return l;
|
|
@@ -1303,9 +1303,9 @@
|
|
|
1303
1303
|
function StateMachineExecutor() {
|
|
1304
1304
|
StateMachineExecutor_instance = this;
|
|
1305
1305
|
}
|
|
1306
|
-
StateMachineExecutor.prototype.
|
|
1306
|
+
StateMachineExecutor.prototype.m4c = function (state) {
|
|
1307
1307
|
var tmp;
|
|
1308
|
-
if (state.
|
|
1308
|
+
if (state.r4e()) {
|
|
1309
1309
|
tmp = emptySequence();
|
|
1310
1310
|
} else {
|
|
1311
1311
|
var tmp_0 = drop_0(internalExecute(this, state), 1);
|
|
@@ -1313,15 +1313,15 @@
|
|
|
1313
1313
|
}
|
|
1314
1314
|
return tmp;
|
|
1315
1315
|
};
|
|
1316
|
-
StateMachineExecutor.prototype.
|
|
1317
|
-
var tmp = this.
|
|
1316
|
+
StateMachineExecutor.prototype.l4f = function (state) {
|
|
1317
|
+
var tmp = this.m4c(state);
|
|
1318
1318
|
return map(tmp, StateMachineExecutor$executeWrapping$lambda);
|
|
1319
1319
|
};
|
|
1320
|
-
StateMachineExecutor.prototype.
|
|
1320
|
+
StateMachineExecutor.prototype.v4e = function (_this__u8e3s4) {
|
|
1321
1321
|
var tmp0_subject = _this__u8e3s4;
|
|
1322
1322
|
var tmp;
|
|
1323
1323
|
if (tmp0_subject instanceof AlreadyExecutedState) {
|
|
1324
|
-
tmp = _this__u8e3s4.
|
|
1324
|
+
tmp = _this__u8e3s4.t4e_1;
|
|
1325
1325
|
} else {
|
|
1326
1326
|
tmp = _this__u8e3s4;
|
|
1327
1327
|
}
|
|
@@ -1334,15 +1334,15 @@
|
|
|
1334
1334
|
return StateMachineExecutor_instance;
|
|
1335
1335
|
}
|
|
1336
1336
|
function statEndHaltTimeout(_this__u8e3s4, $this) {
|
|
1337
|
-
var tmp = 'Given time for `' + _this__u8e3s4.
|
|
1338
|
-
var tmp_0 = TimeOutException_init_$Create$(tmp, null, _this__u8e3s4.
|
|
1337
|
+
var tmp = 'Given time for `' + _this__u8e3s4.k4c().x1v() + '` computation (' + toString(_this__u8e3s4.k4c().e2a_1) + ") wasn't enough for completion";
|
|
1338
|
+
var tmp_0 = TimeOutException_init_$Create$(tmp, null, _this__u8e3s4.k4c().context, _this__u8e3s4.k4c().e2a_1, 2, null);
|
|
1339
1339
|
return stateEndHalt$default(_this__u8e3s4, tmp_0, null, [], 6, null);
|
|
1340
1340
|
}
|
|
1341
1341
|
function _get_stateCurrentTime__3c8uza($this) {
|
|
1342
1342
|
var tmp$ret$0;
|
|
1343
1343
|
// Inline function 'kotlin.getValue' call
|
|
1344
1344
|
var tmp0_getValue = stateCurrentTime$factory();
|
|
1345
|
-
tmp$ret$0 = $this.
|
|
1345
|
+
tmp$ret$0 = $this.p4f_1.b1();
|
|
1346
1346
|
return tmp$ret$0;
|
|
1347
1347
|
}
|
|
1348
1348
|
function timeIsOver($this, currentDuration, maxDuration) {
|
|
@@ -1363,33 +1363,33 @@
|
|
|
1363
1363
|
function AbstractTimedState(solve) {
|
|
1364
1364
|
Companion_getInstance_17();
|
|
1365
1365
|
AbstractState.call(this, solve);
|
|
1366
|
-
this.
|
|
1366
|
+
this.o4f_1 = solve;
|
|
1367
1367
|
var tmp = this;
|
|
1368
|
-
tmp.
|
|
1368
|
+
tmp.p4f_1 = lazy(AbstractTimedState$stateCurrentTime$delegate$lambda);
|
|
1369
1369
|
}
|
|
1370
|
-
AbstractTimedState.prototype.
|
|
1371
|
-
return this.
|
|
1370
|
+
AbstractTimedState.prototype.k4c = function () {
|
|
1371
|
+
return this.o4f_1;
|
|
1372
1372
|
};
|
|
1373
|
-
AbstractTimedState.prototype.
|
|
1373
|
+
AbstractTimedState.prototype.s4e = function () {
|
|
1374
1374
|
var tmp;
|
|
1375
|
-
var tmp_0 = this.
|
|
1375
|
+
var tmp_0 = this.k4c().e2a_1;
|
|
1376
1376
|
Companion_getInstance_9();
|
|
1377
1377
|
if (tmp_0.equals(new Long(-1, 2147483647))) {
|
|
1378
|
-
tmp = this.
|
|
1378
|
+
tmp = this.q4f();
|
|
1379
1379
|
} else {
|
|
1380
|
-
if (timeIsOver(this, _get_stateCurrentTime__3c8uza(this).ch(this.
|
|
1380
|
+
if (timeIsOver(this, _get_stateCurrentTime__3c8uza(this).ch(this.k4c().d2a_1), this.k4c().e2a_1)) {
|
|
1381
1381
|
tmp = sequenceOf([statEndHaltTimeout(this, Companion_getInstance_17())]);
|
|
1382
1382
|
} else {
|
|
1383
|
-
tmp = this.
|
|
1383
|
+
tmp = this.q4f();
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
1386
|
return tmp;
|
|
1387
1387
|
};
|
|
1388
|
-
AbstractTimedState.prototype.
|
|
1389
|
-
return timeIsOver(this, currentTimeInstant().ch(_this__u8e3s4.
|
|
1388
|
+
AbstractTimedState.prototype.r4f = function (_this__u8e3s4, toYieldState) {
|
|
1389
|
+
return timeIsOver(this, currentTimeInstant().ch(_this__u8e3s4.k4c().d2a_1), _this__u8e3s4.k4c().e2a_1) ? statEndHaltTimeout(_this__u8e3s4, Companion_getInstance_17()) : toYieldState;
|
|
1390
1390
|
};
|
|
1391
1391
|
AbstractTimedState.prototype.toString = function () {
|
|
1392
|
-
return '' + getKClassFromExpression(this) + ' with ' + this.
|
|
1392
|
+
return '' + getKClassFromExpression(this) + ' with ' + this.k4c();
|
|
1393
1393
|
};
|
|
1394
1394
|
function stateCurrentTime$factory() {
|
|
1395
1395
|
return getPropertyCallableRef('stateCurrentTime', 1, KProperty1, function (receiver) {
|
|
@@ -1398,35 +1398,35 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
function StateEnd$Halt$exception$delegate$lambda(this$0) {
|
|
1400
1400
|
return function () {
|
|
1401
|
-
var tmp = this$0.
|
|
1401
|
+
var tmp = this$0.y4f_1.solution;
|
|
1402
1402
|
return (isInterface(tmp, Halt) ? tmp : THROW_CCE()).c1w();
|
|
1403
1403
|
};
|
|
1404
1404
|
}
|
|
1405
1405
|
function True(sourceContext, solve) {
|
|
1406
1406
|
StateEnd.call(this, sourceContext, solve);
|
|
1407
|
-
this.
|
|
1408
|
-
this.
|
|
1407
|
+
this.f4g_1 = sourceContext;
|
|
1408
|
+
this.g4g_1 = solve;
|
|
1409
1409
|
// Inline function 'kotlin.require' call
|
|
1410
|
-
var tmp = this.
|
|
1410
|
+
var tmp = this.g4g_1.solution;
|
|
1411
1411
|
var tmp0_require = isInterface(tmp, Yes);
|
|
1412
1412
|
// Inline function 'kotlin.contracts.contract' call
|
|
1413
1413
|
if (!tmp0_require) {
|
|
1414
1414
|
var tmp$ret$0;
|
|
1415
1415
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.fsm.impl.True.<anonymous>' call
|
|
1416
|
-
tmp$ret$0 = 'True end state can be created only with Solution.Yes. Current: `' + this.
|
|
1416
|
+
tmp$ret$0 = 'True end state can be created only with Solution.Yes. Current: `' + this.g4g_1.solution + '`';
|
|
1417
1417
|
var message = tmp$ret$0;
|
|
1418
1418
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
|
-
True.prototype.
|
|
1422
|
-
return this.
|
|
1421
|
+
True.prototype.k4c = function () {
|
|
1422
|
+
return this.g4g_1;
|
|
1423
1423
|
};
|
|
1424
1424
|
True.prototype.toString = function () {
|
|
1425
|
-
return 'True(sourceContext=' + this.
|
|
1425
|
+
return 'True(sourceContext=' + this.f4g_1 + ', solve=' + this.g4g_1 + ')';
|
|
1426
1426
|
};
|
|
1427
1427
|
True.prototype.hashCode = function () {
|
|
1428
|
-
var result = hashCode(this.
|
|
1429
|
-
result = imul(result, 31) + this.
|
|
1428
|
+
var result = hashCode(this.f4g_1);
|
|
1429
|
+
result = imul(result, 31) + this.g4g_1.hashCode() | 0;
|
|
1430
1430
|
return result;
|
|
1431
1431
|
};
|
|
1432
1432
|
True.prototype.equals = function (other) {
|
|
@@ -1435,37 +1435,37 @@
|
|
|
1435
1435
|
if (!(other instanceof True))
|
|
1436
1436
|
return false;
|
|
1437
1437
|
var tmp0_other_with_cast = other instanceof True ? other : THROW_CCE();
|
|
1438
|
-
if (!equals(this.
|
|
1438
|
+
if (!equals(this.f4g_1, tmp0_other_with_cast.f4g_1))
|
|
1439
1439
|
return false;
|
|
1440
|
-
if (!this.
|
|
1440
|
+
if (!this.g4g_1.equals(tmp0_other_with_cast.g4g_1))
|
|
1441
1441
|
return false;
|
|
1442
1442
|
return true;
|
|
1443
1443
|
};
|
|
1444
1444
|
function False(sourceContext, solve) {
|
|
1445
1445
|
StateEnd.call(this, sourceContext, solve);
|
|
1446
|
-
this.
|
|
1447
|
-
this.
|
|
1446
|
+
this.r4g_1 = sourceContext;
|
|
1447
|
+
this.s4g_1 = solve;
|
|
1448
1448
|
// Inline function 'kotlin.require' call
|
|
1449
|
-
var tmp = this.
|
|
1449
|
+
var tmp = this.s4g_1.solution;
|
|
1450
1450
|
var tmp0_require = isInterface(tmp, No);
|
|
1451
1451
|
// Inline function 'kotlin.contracts.contract' call
|
|
1452
1452
|
if (!tmp0_require) {
|
|
1453
1453
|
var tmp$ret$0;
|
|
1454
1454
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.fsm.impl.False.<anonymous>' call
|
|
1455
|
-
tmp$ret$0 = 'False end state can be created only with Solution.No. Current: `' + this.
|
|
1455
|
+
tmp$ret$0 = 'False end state can be created only with Solution.No. Current: `' + this.s4g_1.solution + '`';
|
|
1456
1456
|
var message = tmp$ret$0;
|
|
1457
1457
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
|
-
False.prototype.
|
|
1461
|
-
return this.
|
|
1460
|
+
False.prototype.k4c = function () {
|
|
1461
|
+
return this.s4g_1;
|
|
1462
1462
|
};
|
|
1463
1463
|
False.prototype.toString = function () {
|
|
1464
|
-
return 'False(sourceContext=' + this.
|
|
1464
|
+
return 'False(sourceContext=' + this.r4g_1 + ', solve=' + this.s4g_1 + ')';
|
|
1465
1465
|
};
|
|
1466
1466
|
False.prototype.hashCode = function () {
|
|
1467
|
-
var result = hashCode(this.
|
|
1468
|
-
result = imul(result, 31) + this.
|
|
1467
|
+
var result = hashCode(this.r4g_1);
|
|
1468
|
+
result = imul(result, 31) + this.s4g_1.hashCode() | 0;
|
|
1469
1469
|
return result;
|
|
1470
1470
|
};
|
|
1471
1471
|
False.prototype.equals = function (other) {
|
|
@@ -1474,39 +1474,39 @@
|
|
|
1474
1474
|
if (!(other instanceof False))
|
|
1475
1475
|
return false;
|
|
1476
1476
|
var tmp0_other_with_cast = other instanceof False ? other : THROW_CCE();
|
|
1477
|
-
if (!equals(this.
|
|
1477
|
+
if (!equals(this.r4g_1, tmp0_other_with_cast.r4g_1))
|
|
1478
1478
|
return false;
|
|
1479
|
-
if (!this.
|
|
1479
|
+
if (!this.s4g_1.equals(tmp0_other_with_cast.s4g_1))
|
|
1480
1480
|
return false;
|
|
1481
1481
|
return true;
|
|
1482
1482
|
};
|
|
1483
1483
|
function Halt_0(sourceContext, solve) {
|
|
1484
1484
|
StateEnd.call(this, sourceContext, solve);
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1485
|
+
this.x4f_1 = sourceContext;
|
|
1486
|
+
this.y4f_1 = solve;
|
|
1487
1487
|
// Inline function 'kotlin.require' call
|
|
1488
|
-
var tmp = this.
|
|
1488
|
+
var tmp = this.y4f_1.solution;
|
|
1489
1489
|
var tmp0_require = isInterface(tmp, Halt);
|
|
1490
1490
|
// Inline function 'kotlin.contracts.contract' call
|
|
1491
1491
|
if (!tmp0_require) {
|
|
1492
1492
|
var tmp$ret$0;
|
|
1493
1493
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.fsm.impl.Halt.<anonymous>' call
|
|
1494
|
-
tmp$ret$0 = 'Halt end state can be created only with Solution.Halt. Current: `' + this.
|
|
1494
|
+
tmp$ret$0 = 'Halt end state can be created only with Solution.Halt. Current: `' + this.y4f_1.solution + '`';
|
|
1495
1495
|
var message = tmp$ret$0;
|
|
1496
1496
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1497
1497
|
}
|
|
1498
1498
|
var tmp_0 = this;
|
|
1499
|
-
tmp_0.
|
|
1499
|
+
tmp_0.z4f_1 = lazy(StateEnd$Halt$exception$delegate$lambda(this));
|
|
1500
1500
|
}
|
|
1501
|
-
Halt_0.prototype.
|
|
1502
|
-
return this.
|
|
1501
|
+
Halt_0.prototype.k4c = function () {
|
|
1502
|
+
return this.y4f_1;
|
|
1503
1503
|
};
|
|
1504
1504
|
Halt_0.prototype.toString = function () {
|
|
1505
|
-
return 'Halt(sourceContext=' + this.
|
|
1505
|
+
return 'Halt(sourceContext=' + this.x4f_1 + ', solve=' + this.y4f_1 + ')';
|
|
1506
1506
|
};
|
|
1507
1507
|
Halt_0.prototype.hashCode = function () {
|
|
1508
|
-
var result = hashCode(this.
|
|
1509
|
-
result = imul(result, 31) + this.
|
|
1508
|
+
var result = hashCode(this.x4f_1);
|
|
1509
|
+
result = imul(result, 31) + this.y4f_1.hashCode() | 0;
|
|
1510
1510
|
return result;
|
|
1511
1511
|
};
|
|
1512
1512
|
Halt_0.prototype.equals = function (other) {
|
|
@@ -1515,44 +1515,44 @@
|
|
|
1515
1515
|
if (!(other instanceof Halt_0))
|
|
1516
1516
|
return false;
|
|
1517
1517
|
var tmp0_other_with_cast = other instanceof Halt_0 ? other : THROW_CCE();
|
|
1518
|
-
if (!equals(this.
|
|
1518
|
+
if (!equals(this.x4f_1, tmp0_other_with_cast.x4f_1))
|
|
1519
1519
|
return false;
|
|
1520
|
-
if (!this.
|
|
1520
|
+
if (!this.y4f_1.equals(tmp0_other_with_cast.y4f_1))
|
|
1521
1521
|
return false;
|
|
1522
1522
|
return true;
|
|
1523
1523
|
};
|
|
1524
1524
|
function StateEnd$context$delegate$lambda(this$0) {
|
|
1525
1525
|
return function () {
|
|
1526
|
-
var tmp = this$0.
|
|
1526
|
+
var tmp = this$0.k4c().solution.r1u();
|
|
1527
1527
|
var tmp0_elvis_lhs = isInterface(tmp, Unifier) ? tmp : null;
|
|
1528
|
-
return StreamsExecutionContext_init_$Create$_0(this$0.
|
|
1528
|
+
return StreamsExecutionContext_init_$Create$_0(this$0.j4g_1, tmp0_elvis_lhs == null ? Companion_getInstance_3().empty() : tmp0_elvis_lhs);
|
|
1529
1529
|
};
|
|
1530
1530
|
}
|
|
1531
1531
|
function StateEnd(sourceContext, solve) {
|
|
1532
1532
|
AbstractState.call(this, solve);
|
|
1533
|
-
this.
|
|
1534
|
-
this.
|
|
1533
|
+
this.j4g_1 = sourceContext;
|
|
1534
|
+
this.k4g_1 = solve;
|
|
1535
1535
|
var tmp = this;
|
|
1536
|
-
tmp.
|
|
1536
|
+
tmp.l4g_1 = lazy(StateEnd$context$delegate$lambda(this));
|
|
1537
1537
|
}
|
|
1538
|
-
StateEnd.prototype.
|
|
1539
|
-
return this.
|
|
1538
|
+
StateEnd.prototype.k4c = function () {
|
|
1539
|
+
return this.k4g_1;
|
|
1540
1540
|
};
|
|
1541
|
-
StateEnd.prototype.
|
|
1541
|
+
StateEnd.prototype.s4e = function () {
|
|
1542
1542
|
return emptySequence();
|
|
1543
1543
|
};
|
|
1544
1544
|
StateEnd.prototype.j5 = function () {
|
|
1545
1545
|
var tmp$ret$0;
|
|
1546
1546
|
// Inline function 'kotlin.getValue' call
|
|
1547
1547
|
var tmp0_getValue = context$factory();
|
|
1548
|
-
tmp$ret$0 = this.
|
|
1548
|
+
tmp$ret$0 = this.l4g_1.b1();
|
|
1549
1549
|
return tmp$ret$0;
|
|
1550
1550
|
};
|
|
1551
1551
|
function stateEndTrue(_this__u8e3s4, substitution, sideEffectManager, sideEffects) {
|
|
1552
1552
|
var tmp = _this__u8e3s4.j5();
|
|
1553
|
-
var tmp_0 = _this__u8e3s4.
|
|
1553
|
+
var tmp_0 = _this__u8e3s4.k4c();
|
|
1554
1554
|
var tmp0_elvis_lhs = sideEffectManager;
|
|
1555
|
-
return new True(tmp, tmp_0.
|
|
1555
|
+
return new True(tmp, tmp_0.p2i(substitution, tmp0_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.k4c().context) : tmp0_elvis_lhs, sideEffects.slice()));
|
|
1556
1556
|
}
|
|
1557
1557
|
function stateEndTrue$default(_this__u8e3s4, substitution, sideEffectManager, sideEffects, $mask0, $handler) {
|
|
1558
1558
|
if (!(($mask0 & 1) === 0))
|
|
@@ -1563,9 +1563,9 @@
|
|
|
1563
1563
|
}
|
|
1564
1564
|
function stateEndFalse(_this__u8e3s4, sideEffectManager, sideEffects) {
|
|
1565
1565
|
var tmp = _this__u8e3s4.j5();
|
|
1566
|
-
var tmp_0 = _this__u8e3s4.
|
|
1566
|
+
var tmp_0 = _this__u8e3s4.k4c();
|
|
1567
1567
|
var tmp0_elvis_lhs = sideEffectManager;
|
|
1568
|
-
return new False(tmp, tmp_0.
|
|
1568
|
+
return new False(tmp, tmp_0.q2i(tmp0_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.k4c().context) : tmp0_elvis_lhs, sideEffects.slice()));
|
|
1569
1569
|
}
|
|
1570
1570
|
function stateEndFalse$default(_this__u8e3s4, sideEffectManager, sideEffects, $mask0, $handler) {
|
|
1571
1571
|
if (!(($mask0 & 1) === 0))
|
|
@@ -1574,10 +1574,10 @@
|
|
|
1574
1574
|
}
|
|
1575
1575
|
function stateEndHalt(_this__u8e3s4, exception, sideEffectManager, sideEffects) {
|
|
1576
1576
|
var tmp = _this__u8e3s4.j5();
|
|
1577
|
-
var tmp_0 = _this__u8e3s4.
|
|
1577
|
+
var tmp_0 = _this__u8e3s4.k4c();
|
|
1578
1578
|
var tmp0_elvis_lhs = sideEffectManager;
|
|
1579
1579
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getSideEffectManager(exception.j5()) : tmp0_elvis_lhs;
|
|
1580
|
-
return new Halt_0(tmp, tmp_0.
|
|
1580
|
+
return new Halt_0(tmp, tmp_0.r2i(exception, tmp1_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.k4c().context) : tmp1_elvis_lhs, sideEffects.slice()));
|
|
1581
1581
|
}
|
|
1582
1582
|
function stateEndHalt$default(_this__u8e3s4, exception, sideEffectManager, sideEffects, $mask0, $handler) {
|
|
1583
1583
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1621,7 +1621,7 @@
|
|
|
1621
1621
|
}
|
|
1622
1622
|
tmp$ret$1 = tmp;
|
|
1623
1623
|
var tmp0_elvis_lhs = tmp$ret$1;
|
|
1624
|
-
return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.
|
|
1624
|
+
return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.k4c().context.r1u() : tmp0_elvis_lhs, $sideEffectManager, $sideEffects.slice());
|
|
1625
1625
|
};
|
|
1626
1626
|
}
|
|
1627
1627
|
function stateEnd$lambda_0($this_stateEnd, $sideEffectManager, $sideEffects) {
|
|
@@ -1645,9 +1645,9 @@
|
|
|
1645
1645
|
// Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
|
|
1646
1646
|
var tmp0__get_functor__thl4dk = Throw_getInstance();
|
|
1647
1647
|
tmp$ret$0 = tmp0__get_functor__thl4dk.signature.name;
|
|
1648
|
-
var tmp_0 = tmp.of(tmp$ret$0, [error.
|
|
1648
|
+
var tmp_0 = tmp.of(tmp$ret$0, [error.n25()]);
|
|
1649
1649
|
var tmp0_elvis_lhs = getSideEffectManager(error.j5());
|
|
1650
|
-
var tmp_1 = tmp0_elvis_lhs == null ? _this__u8e3s4.context.
|
|
1650
|
+
var tmp_1 = tmp0_elvis_lhs == null ? _this__u8e3s4.context.c4d_1 : tmp0_elvis_lhs;
|
|
1651
1651
|
var tmp_2 = currentTimeInstant();
|
|
1652
1652
|
return newSolveRequest$default(_this__u8e3s4, tmp_0, null, null, tmp_1, tmp_2, false, 38, null);
|
|
1653
1653
|
}
|
|
@@ -1661,17 +1661,17 @@
|
|
|
1661
1661
|
return Companion_instance_2;
|
|
1662
1662
|
}
|
|
1663
1663
|
function StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation) {
|
|
1664
|
-
this.
|
|
1664
|
+
this.b4h_1 = this$0;
|
|
1665
1665
|
CoroutineImpl.call(this, resultContinuation);
|
|
1666
1666
|
}
|
|
1667
|
-
StateGoalEvaluation$behaveTimed$slambda.prototype.
|
|
1668
|
-
var tmp = this.
|
|
1667
|
+
StateGoalEvaluation$behaveTimed$slambda.prototype.j4f = function ($this$sequence, $cont) {
|
|
1668
|
+
var tmp = this.k4f($this$sequence, $cont);
|
|
1669
1669
|
tmp.ei_1 = Unit_getInstance();
|
|
1670
1670
|
tmp.fi_1 = null;
|
|
1671
1671
|
return tmp.ki();
|
|
1672
1672
|
};
|
|
1673
1673
|
StateGoalEvaluation$behaveTimed$slambda.prototype.wi = function (p1, $cont) {
|
|
1674
|
-
return this.
|
|
1674
|
+
return this.j4f(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
1675
1675
|
};
|
|
1676
1676
|
StateGoalEvaluation$behaveTimed$slambda.prototype.ki = function () {
|
|
1677
1677
|
var suspendResult = this.ei_1;
|
|
@@ -1682,17 +1682,17 @@
|
|
|
1682
1682
|
case 0:
|
|
1683
1683
|
this.di_1 = 11;
|
|
1684
1684
|
var tmp_0 = this;
|
|
1685
|
-
var tmp0_with = this.
|
|
1686
|
-
tmp_0.
|
|
1687
|
-
this.
|
|
1688
|
-
if (this.
|
|
1689
|
-
this.
|
|
1685
|
+
var tmp0_with = this.b4h_1.u4h_1;
|
|
1686
|
+
tmp_0.d4h_1 = tmp0_with.context.q4c_1.n2e().a3(tmp0_with.signature);
|
|
1687
|
+
this.e4h_1 = this.d4h_1;
|
|
1688
|
+
if (this.e4h_1 == null) {
|
|
1689
|
+
this.f4h_1 = null;
|
|
1690
1690
|
this.ci_1 = 8;
|
|
1691
1691
|
continue $sm;
|
|
1692
1692
|
} else {
|
|
1693
|
-
this.
|
|
1693
|
+
this.g4h_1 = null;
|
|
1694
1694
|
this.di_1 = 1;
|
|
1695
|
-
this.
|
|
1695
|
+
this.g4h_1 = this.d4h_1.solve(this.b4h_1.u4h_1);
|
|
1696
1696
|
this.di_1 = 11;
|
|
1697
1697
|
this.ci_1 = 3;
|
|
1698
1698
|
continue $sm;
|
|
@@ -1703,9 +1703,9 @@
|
|
|
1703
1703
|
this.di_1 = 11;
|
|
1704
1704
|
var tmp_1 = this.fi_1;
|
|
1705
1705
|
if (tmp_1 instanceof HaltException) {
|
|
1706
|
-
this.
|
|
1706
|
+
this.h4h_1 = this.fi_1;
|
|
1707
1707
|
this.ci_1 = 2;
|
|
1708
|
-
suspendResult = this.
|
|
1708
|
+
suspendResult = this.c4h_1.z4(stateEndHalt$default(this.b4h_1, this.h4h_1, null, [], 6, null), this);
|
|
1709
1709
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1710
1710
|
return suspendResult;
|
|
1711
1711
|
}
|
|
@@ -1713,8 +1713,8 @@
|
|
|
1713
1713
|
} else {
|
|
1714
1714
|
var tmp_2 = this.fi_1;
|
|
1715
1715
|
if (tmp_2 instanceof LogicError) {
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1716
|
+
this.i4h_1 = this.fi_1;
|
|
1717
|
+
this.g4h_1 = Companion_getInstance_16().n4c(newThrowSolveRequest(this.b4h_1.u4h_1, Companion_getInstance_18(), this.i4h_1));
|
|
1718
1718
|
this.ci_1 = 3;
|
|
1719
1719
|
continue $sm;
|
|
1720
1720
|
} else {
|
|
@@ -1728,60 +1728,60 @@
|
|
|
1728
1728
|
continue $sm;
|
|
1729
1729
|
case 3:
|
|
1730
1730
|
this.di_1 = 11;
|
|
1731
|
-
this.
|
|
1732
|
-
this.
|
|
1733
|
-
if (this.
|
|
1734
|
-
this.
|
|
1731
|
+
this.j4h_1 = emptyList();
|
|
1732
|
+
this.k4h_1 = this.g4h_1;
|
|
1733
|
+
if (this.k4h_1 == null) {
|
|
1734
|
+
this.l4h_1 = null;
|
|
1735
1735
|
this.ci_1 = 7;
|
|
1736
1736
|
continue $sm;
|
|
1737
1737
|
} else {
|
|
1738
|
-
this.
|
|
1738
|
+
this.m4h_1 = this.k4h_1.j();
|
|
1739
1739
|
this.ci_1 = 4;
|
|
1740
1740
|
continue $sm;
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
1743
|
break;
|
|
1744
1744
|
case 4:
|
|
1745
|
-
if (!this.
|
|
1745
|
+
if (!this.m4h_1.m()) {
|
|
1746
1746
|
this.ci_1 = 6;
|
|
1747
1747
|
continue $sm;
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1750
|
+
this.n4h_1 = this.m4h_1.p();
|
|
1751
|
+
this.j4h_1 = addWithNoDuplicates(this.j4h_1, this.n4h_1.sideEffects);
|
|
1752
1752
|
this.ci_1 = 5;
|
|
1753
|
-
suspendResult = this.
|
|
1753
|
+
suspendResult = this.c4h_1.z4(this.b4h_1.r4f(this.b4h_1, stateEnd(this.b4h_1, this.n4h_1.o2j(null, null, this.j4h_1, 3, null))), this);
|
|
1754
1754
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1755
1755
|
return suspendResult;
|
|
1756
1756
|
}
|
|
1757
1757
|
|
|
1758
1758
|
continue $sm;
|
|
1759
1759
|
case 5:
|
|
1760
|
-
var tmp_3 = this.
|
|
1760
|
+
var tmp_3 = this.n4h_1.solution;
|
|
1761
1761
|
if (isInterface(tmp_3, Halt))
|
|
1762
1762
|
return Unit_getInstance();
|
|
1763
1763
|
this.ci_1 = 4;
|
|
1764
1764
|
continue $sm;
|
|
1765
1765
|
case 6:
|
|
1766
|
-
this.
|
|
1766
|
+
this.l4h_1 = Unit_getInstance();
|
|
1767
1767
|
this.ci_1 = 7;
|
|
1768
1768
|
continue $sm;
|
|
1769
1769
|
case 7:
|
|
1770
1770
|
;
|
|
1771
|
-
this.
|
|
1771
|
+
this.f4h_1 = this.e4h_1;
|
|
1772
1772
|
this.ci_1 = 8;
|
|
1773
1773
|
continue $sm;
|
|
1774
1774
|
case 8:
|
|
1775
|
-
this.
|
|
1776
|
-
if (this.
|
|
1775
|
+
this.o4h_1 = this.f4h_1;
|
|
1776
|
+
if (this.o4h_1 == null) {
|
|
1777
1777
|
this.ci_1 = 9;
|
|
1778
|
-
suspendResult = this.
|
|
1778
|
+
suspendResult = this.c4h_1.z4(new StateRuleSelection(this.b4h_1.u4h_1), this);
|
|
1779
1779
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1780
1780
|
return suspendResult;
|
|
1781
1781
|
}
|
|
1782
1782
|
continue $sm;
|
|
1783
1783
|
} else {
|
|
1784
|
-
this.
|
|
1784
|
+
this.p4h_1 = this.o4h_1;
|
|
1785
1785
|
this.ci_1 = 10;
|
|
1786
1786
|
continue $sm;
|
|
1787
1787
|
}
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
break;
|
|
1791
1791
|
case 9:
|
|
1792
1792
|
var tmp_4 = this;
|
|
1793
|
-
tmp_4.
|
|
1793
|
+
tmp_4.p4h_1 = Unit_getInstance();
|
|
1794
1794
|
this.ci_1 = 10;
|
|
1795
1795
|
continue $sm;
|
|
1796
1796
|
case 10:
|
|
@@ -1809,15 +1809,15 @@
|
|
|
1809
1809
|
}
|
|
1810
1810
|
while (true);
|
|
1811
1811
|
};
|
|
1812
|
-
StateGoalEvaluation$behaveTimed$slambda.prototype.
|
|
1813
|
-
var i = new StateGoalEvaluation$behaveTimed$slambda(this.
|
|
1814
|
-
i.
|
|
1812
|
+
StateGoalEvaluation$behaveTimed$slambda.prototype.k4f = function ($this$sequence, completion) {
|
|
1813
|
+
var i = new StateGoalEvaluation$behaveTimed$slambda(this.b4h_1, completion);
|
|
1814
|
+
i.c4h_1 = $this$sequence;
|
|
1815
1815
|
return i;
|
|
1816
1816
|
};
|
|
1817
1817
|
function StateGoalEvaluation$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
1818
1818
|
var i = new StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation);
|
|
1819
1819
|
var l = function ($this$sequence, $cont) {
|
|
1820
|
-
return i.
|
|
1820
|
+
return i.j4f($this$sequence, $cont);
|
|
1821
1821
|
};
|
|
1822
1822
|
l.$arity = 1;
|
|
1823
1823
|
return l;
|
|
@@ -1825,26 +1825,26 @@
|
|
|
1825
1825
|
function StateGoalEvaluation(solve) {
|
|
1826
1826
|
Companion_getInstance_18();
|
|
1827
1827
|
AbstractTimedState.call(this, solve);
|
|
1828
|
-
this.
|
|
1828
|
+
this.u4h_1 = solve;
|
|
1829
1829
|
}
|
|
1830
|
-
StateGoalEvaluation.prototype.
|
|
1831
|
-
return this.
|
|
1830
|
+
StateGoalEvaluation.prototype.k4c = function () {
|
|
1831
|
+
return this.u4h_1;
|
|
1832
1832
|
};
|
|
1833
|
-
StateGoalEvaluation.prototype.
|
|
1833
|
+
StateGoalEvaluation.prototype.q4f = function () {
|
|
1834
1834
|
return sequence(StateGoalEvaluation$behaveTimed$slambda_0(this, null));
|
|
1835
1835
|
};
|
|
1836
1836
|
function StateInit$behaveTimed$slambda(this$0, resultContinuation) {
|
|
1837
|
-
this.
|
|
1837
|
+
this.d4i_1 = this$0;
|
|
1838
1838
|
CoroutineImpl.call(this, resultContinuation);
|
|
1839
1839
|
}
|
|
1840
|
-
StateInit$behaveTimed$slambda.prototype.
|
|
1841
|
-
var tmp = this.
|
|
1840
|
+
StateInit$behaveTimed$slambda.prototype.j4f = function ($this$sequence, $cont) {
|
|
1841
|
+
var tmp = this.k4f($this$sequence, $cont);
|
|
1842
1842
|
tmp.ei_1 = Unit_getInstance();
|
|
1843
1843
|
tmp.fi_1 = null;
|
|
1844
1844
|
return tmp.ki();
|
|
1845
1845
|
};
|
|
1846
1846
|
StateInit$behaveTimed$slambda.prototype.wi = function (p1, $cont) {
|
|
1847
|
-
return this.
|
|
1847
|
+
return this.j4f(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
1848
1848
|
};
|
|
1849
1849
|
StateInit$behaveTimed$slambda.prototype.ki = function () {
|
|
1850
1850
|
var suspendResult = this.ei_1;
|
|
@@ -1855,37 +1855,37 @@
|
|
|
1855
1855
|
case 0:
|
|
1856
1856
|
this.di_1 = 6;
|
|
1857
1857
|
var tmp_0 = this;
|
|
1858
|
-
var tmp0_with = this.
|
|
1859
|
-
tmp_0.
|
|
1860
|
-
this.
|
|
1861
|
-
var tmp1_with = this.
|
|
1862
|
-
if (tmp1_with.
|
|
1858
|
+
var tmp0_with = this.d4i_1.m4i_1.context;
|
|
1859
|
+
tmp_0.f4i_1 = tmp0_with.c4d_1.m4d(tmp0_with);
|
|
1860
|
+
this.g4i_1 = this.d4i_1.m4i_1.x1v();
|
|
1861
|
+
var tmp1_with = this.d4i_1.m4i_1.context;
|
|
1862
|
+
if (tmp1_with.b4d_1.i4c(this.g4i_1, tmp1_with)) {
|
|
1863
1863
|
this.ci_1 = 4;
|
|
1864
|
-
suspendResult = this.
|
|
1864
|
+
suspendResult = this.e4i_1.z4(this.d4i_1.r4f(this.d4i_1, stateEndTrue$default(this.d4i_1, this.d4i_1.m4i_1.context.y4c_1, this.f4i_1, [], 4, null)), this);
|
|
1865
1865
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1866
1866
|
return suspendResult;
|
|
1867
1867
|
}
|
|
1868
1868
|
continue $sm;
|
|
1869
1869
|
} else {
|
|
1870
|
-
if (isWellFormed(this.
|
|
1870
|
+
if (isWellFormed(this.g4i_1)) {
|
|
1871
1871
|
var tmp_1 = this;
|
|
1872
|
-
tmp_1.
|
|
1872
|
+
tmp_1.h4i_1 = prepareForExecutionAsGoal(this.g4i_1);
|
|
1873
1873
|
this.ci_1 = 2;
|
|
1874
|
-
var tmp_2 = extractSignature(this.
|
|
1875
|
-
var tmp_3 = this.
|
|
1876
|
-
var tmp0_with_0 = this.
|
|
1874
|
+
var tmp_2 = extractSignature(this.h4i_1);
|
|
1875
|
+
var tmp_3 = this.h4i_1.gw();
|
|
1876
|
+
var tmp0_with_0 = this.d4i_1.m4i_1.context;
|
|
1877
1877
|
var tmp_4 = new Long(0, 0);
|
|
1878
1878
|
var tmp_5 = new Long(0, 0);
|
|
1879
|
-
var tmp_6 = tmp0_with_0.
|
|
1879
|
+
var tmp_6 = tmp0_with_0.y4d(null, null, null, null, null, null, null, null, null, null, tmp_4, tmp_5, null, this.f4i_1, 8191, null);
|
|
1880
1880
|
var tmp_7 = new Long(0, 0);
|
|
1881
|
-
suspendResult = this.
|
|
1881
|
+
suspendResult = this.e4i_1.z4(new StateGoalEvaluation(this.d4i_1.m4i_1.j2j(tmp_2, tmp_3, tmp_6, tmp_7, new Long(0, 0), 24, null)), this);
|
|
1882
1882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1883
1883
|
return suspendResult;
|
|
1884
1884
|
}
|
|
1885
1885
|
continue $sm;
|
|
1886
1886
|
} else {
|
|
1887
1887
|
this.ci_1 = 1;
|
|
1888
|
-
suspendResult = this.
|
|
1888
|
+
suspendResult = this.e4i_1.z4(stateEndFalse$default(this.d4i_1, this.f4i_1, [], 2, null), this);
|
|
1889
1889
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1890
1890
|
return suspendResult;
|
|
1891
1891
|
}
|
|
@@ -1922,27 +1922,27 @@
|
|
|
1922
1922
|
}
|
|
1923
1923
|
while (true);
|
|
1924
1924
|
};
|
|
1925
|
-
StateInit$behaveTimed$slambda.prototype.
|
|
1926
|
-
var i = new StateInit$behaveTimed$slambda(this.
|
|
1927
|
-
i.
|
|
1925
|
+
StateInit$behaveTimed$slambda.prototype.k4f = function ($this$sequence, completion) {
|
|
1926
|
+
var i = new StateInit$behaveTimed$slambda(this.d4i_1, completion);
|
|
1927
|
+
i.e4i_1 = $this$sequence;
|
|
1928
1928
|
return i;
|
|
1929
1929
|
};
|
|
1930
1930
|
function StateInit$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
1931
1931
|
var i = new StateInit$behaveTimed$slambda(this$0, resultContinuation);
|
|
1932
1932
|
var l = function ($this$sequence, $cont) {
|
|
1933
|
-
return i.
|
|
1933
|
+
return i.j4f($this$sequence, $cont);
|
|
1934
1934
|
};
|
|
1935
1935
|
l.$arity = 1;
|
|
1936
1936
|
return l;
|
|
1937
1937
|
}
|
|
1938
1938
|
function StateInit(solve) {
|
|
1939
1939
|
AbstractTimedState.call(this, solve);
|
|
1940
|
-
this.
|
|
1940
|
+
this.m4i_1 = solve;
|
|
1941
1941
|
}
|
|
1942
|
-
StateInit.prototype.
|
|
1943
|
-
return this.
|
|
1942
|
+
StateInit.prototype.k4c = function () {
|
|
1943
|
+
return this.m4i_1;
|
|
1944
1944
|
};
|
|
1945
|
-
StateInit.prototype.
|
|
1945
|
+
StateInit.prototype.q4f = function () {
|
|
1946
1946
|
return sequence(StateInit$behaveTimed$slambda_0(this, null));
|
|
1947
1947
|
};
|
|
1948
1948
|
function retrieveRulesMatching(_this__u8e3s4, $this, currentGoal) {
|
|
@@ -1987,11 +1987,11 @@
|
|
|
1987
1987
|
// Inline function 'it.unibo.tuprolog.solve.streams.solver.fsm.impl.Companion.initializeForSubRuleScope.<anonymous>' call
|
|
1988
1988
|
var tmp = new Long(0, 0);
|
|
1989
1989
|
var tmp_0 = new Long(0, 0);
|
|
1990
|
-
tmp$ret$0 = tmp0_with.
|
|
1990
|
+
tmp$ret$0 = tmp0_with.y4d(null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, tmp0_with.c4d_1.o4d(), 8191, null);
|
|
1991
1991
|
tmp$ret$1 = tmp$ret$0;
|
|
1992
1992
|
var tmp_1 = tmp$ret$1;
|
|
1993
1993
|
var tmp_2 = new Long(0, 0);
|
|
1994
|
-
return _this__u8e3s4.
|
|
1994
|
+
return _this__u8e3s4.j2j(null, null, tmp_1, tmp_2, new Long(0, 0), 27, null);
|
|
1995
1995
|
}
|
|
1996
1996
|
function removeSubstitutionFor(_this__u8e3s4, $this, unusedVariables) {
|
|
1997
1997
|
var tmp0_subject = _this__u8e3s4;
|
|
@@ -2010,7 +2010,7 @@
|
|
|
2010
2010
|
}
|
|
2011
2011
|
function SolverStrategies$clauseChoiceStrategy$ref($boundThis) {
|
|
2012
2012
|
var l = function (p0, p1) {
|
|
2013
|
-
return $boundThis.
|
|
2013
|
+
return $boundThis.h4c(p0, p1);
|
|
2014
2014
|
};
|
|
2015
2015
|
l.callableName = 'clauseChoiceStrategy';
|
|
2016
2016
|
return l;
|
|
@@ -2030,23 +2030,23 @@
|
|
|
2030
2030
|
}
|
|
2031
2031
|
function StateMachineExecutor$executeWrapping$ref($boundThis) {
|
|
2032
2032
|
var l = function (p0) {
|
|
2033
|
-
return $boundThis.
|
|
2033
|
+
return $boundThis.l4f(p0);
|
|
2034
2034
|
};
|
|
2035
2035
|
l.callableName = 'executeWrapping';
|
|
2036
2036
|
return l;
|
|
2037
2037
|
}
|
|
2038
2038
|
function StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation) {
|
|
2039
|
-
this.
|
|
2039
|
+
this.v4i_1 = this$0;
|
|
2040
2040
|
CoroutineImpl.call(this, resultContinuation);
|
|
2041
2041
|
}
|
|
2042
|
-
StateRuleSelection$behaveTimed$slambda.prototype.
|
|
2043
|
-
var tmp = this.
|
|
2042
|
+
StateRuleSelection$behaveTimed$slambda.prototype.j4f = function ($this$sequence, $cont) {
|
|
2043
|
+
var tmp = this.k4f($this$sequence, $cont);
|
|
2044
2044
|
tmp.ei_1 = Unit_getInstance();
|
|
2045
2045
|
tmp.fi_1 = null;
|
|
2046
2046
|
return tmp.ki();
|
|
2047
2047
|
};
|
|
2048
2048
|
StateRuleSelection$behaveTimed$slambda.prototype.wi = function (p1, $cont) {
|
|
2049
|
-
return this.
|
|
2049
|
+
return this.j4f(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
2050
2050
|
};
|
|
2051
2051
|
StateRuleSelection$behaveTimed$slambda.prototype.ki = function () {
|
|
2052
2052
|
var suspendResult = this.ei_1;
|
|
@@ -2056,102 +2056,102 @@
|
|
|
2056
2056
|
switch (tmp) {
|
|
2057
2057
|
case 0:
|
|
2058
2058
|
this.di_1 = 12;
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2062
|
-
if (none(this.
|
|
2059
|
+
this.x4i_1 = this.v4i_1.t4j_1.x1v();
|
|
2060
|
+
this.y4i_1 = retrieveRulesMatching(this.v4i_1.t4j_1.context, Companion_getInstance_19(), this.x4i_1);
|
|
2061
|
+
this.z4i_1 = moreThanOne(this.y4i_1);
|
|
2062
|
+
if (none(this.y4i_1)) {
|
|
2063
2063
|
this.ci_1 = 10;
|
|
2064
|
-
suspendResult = this.
|
|
2064
|
+
suspendResult = this.w4i_1.z4(stateEndFalse$default(this.v4i_1, null, [], 3, null), this);
|
|
2065
2065
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2066
2066
|
return suspendResult;
|
|
2067
2067
|
}
|
|
2068
2068
|
continue $sm;
|
|
2069
2069
|
} else {
|
|
2070
2070
|
var tmp_0 = this;
|
|
2071
|
-
var tmp0_with = this.
|
|
2072
|
-
var tmp_1 = orderWithStrategy(this.
|
|
2073
|
-
tmp_0.
|
|
2071
|
+
var tmp0_with = this.v4i_1.t4j_1.context;
|
|
2072
|
+
var tmp_1 = orderWithStrategy(this.y4i_1, tmp0_with, SolverStrategies$clauseChoiceStrategy$ref(tmp0_with.b4d_1));
|
|
2073
|
+
tmp_0.a4j_1 = map(tmp_1, StateRuleSelection$behaveTimed$slambda$lambda);
|
|
2074
2074
|
var tmp_2 = this;
|
|
2075
|
-
tmp_2.
|
|
2075
|
+
tmp_2.b4j_1 = this.a4j_1.j();
|
|
2076
2076
|
this.ci_1 = 1;
|
|
2077
2077
|
continue $sm;
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
2080
2080
|
break;
|
|
2081
2081
|
case 1:
|
|
2082
|
-
if (!this.
|
|
2082
|
+
if (!this.b4j_1.m()) {
|
|
2083
2083
|
this.ci_1 = 9;
|
|
2084
2084
|
continue $sm;
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
2087
|
var tmp_3 = this;
|
|
2088
|
-
tmp_3.
|
|
2088
|
+
tmp_3.c4j_1 = this.b4j_1.p();
|
|
2089
2089
|
var tmp_4 = this;
|
|
2090
|
-
tmp_4.
|
|
2091
|
-
this.
|
|
2090
|
+
tmp_4.d4j_1 = this.b4j_1.m();
|
|
2091
|
+
this.e4j_1 = this.v4i_1.j5().p4c_1.mgu(this.x4i_1, this.c4j_1.ly());
|
|
2092
2092
|
var tmp_5 = this;
|
|
2093
|
-
var tmp_6 = this.
|
|
2094
|
-
tmp_5.
|
|
2093
|
+
var tmp_6 = this.c4j_1.my().applySubstitution(this.e4j_1);
|
|
2094
|
+
tmp_5.f4j_1 = isInterface(tmp_6, Struct) ? tmp_6 : THROW_CCE();
|
|
2095
2095
|
var tmp_7 = this;
|
|
2096
|
-
var tmp0_$receiver = this.
|
|
2096
|
+
var tmp0_$receiver = this.v4i_1.t4j_1;
|
|
2097
2097
|
var tmp1_requestIssuingInstant = currentTimeInstant();
|
|
2098
|
-
tmp_7.
|
|
2098
|
+
tmp_7.g4j_1 = newSolveRequest$default(tmp0_$receiver, this.f4j_1, this.e4j_1, null, null, tmp1_requestIssuingInstant, this.z4i_1, 12, null);
|
|
2099
2099
|
var tmp_8 = this;
|
|
2100
|
-
tmp_8.
|
|
2100
|
+
tmp_8.h4j_1 = new StateInit(initializeForSubRuleScope(this.g4j_1, Companion_getInstance_19()));
|
|
2101
2101
|
this.ci_1 = 2;
|
|
2102
|
-
suspendResult = this.
|
|
2102
|
+
suspendResult = this.w4i_1.z4(asAlreadyExecuted(this.h4j_1), this);
|
|
2103
2103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2104
2104
|
return suspendResult;
|
|
2105
2105
|
}
|
|
2106
2106
|
|
|
2107
2107
|
continue $sm;
|
|
2108
2108
|
case 2:
|
|
2109
|
-
this.
|
|
2110
|
-
this.
|
|
2109
|
+
this.i4j_1 = this.h4j_1;
|
|
2110
|
+
this.j4j_1 = false;
|
|
2111
2111
|
var tmp_9 = this;
|
|
2112
|
-
tmp_9.
|
|
2113
|
-
this.
|
|
2112
|
+
tmp_9.k4j_1 = this.v4i_1.u4j_1(this.i4j_1);
|
|
2113
|
+
this.l4j_1 = this.k4j_1.j();
|
|
2114
2114
|
this.ci_1 = 3;
|
|
2115
2115
|
continue $sm;
|
|
2116
2116
|
case 3:
|
|
2117
|
-
if (!this.
|
|
2117
|
+
if (!this.l4j_1.m()) {
|
|
2118
2118
|
this.ci_1 = 8;
|
|
2119
2119
|
continue $sm;
|
|
2120
2120
|
}
|
|
2121
2121
|
|
|
2122
|
-
this.
|
|
2123
|
-
this.
|
|
2122
|
+
this.m4j_1 = this.l4j_1.p();
|
|
2123
|
+
this.n4j_1 = this.m4j_1.t4e_1;
|
|
2124
2124
|
var tmp_10;
|
|
2125
|
-
var tmp_11 = this.
|
|
2125
|
+
var tmp_11 = this.n4j_1;
|
|
2126
2126
|
if (isInterface(tmp_11, FinalState)) {
|
|
2127
|
-
tmp_10 = this.
|
|
2127
|
+
tmp_10 = this.n4j_1.k4c().solution.x1v().equals(this.g4j_1.x1v());
|
|
2128
2128
|
} else {
|
|
2129
2129
|
tmp_10 = false;
|
|
2130
2130
|
}
|
|
2131
2131
|
|
|
2132
2132
|
if (tmp_10) {
|
|
2133
|
-
if (shouldCutExecuteInRuleSelection(this.
|
|
2134
|
-
this.
|
|
2133
|
+
if (shouldCutExecuteInRuleSelection(this.n4j_1.k4c().sideEffectManager)) {
|
|
2134
|
+
this.j4j_1 = true;
|
|
2135
2135
|
}
|
|
2136
2136
|
var tmp_12;
|
|
2137
2137
|
var tmp_13;
|
|
2138
|
-
var tmp_14 = this.
|
|
2138
|
+
var tmp_14 = this.n4j_1;
|
|
2139
2139
|
if (!(tmp_14 instanceof False)) {
|
|
2140
2140
|
tmp_13 = true;
|
|
2141
2141
|
} else {
|
|
2142
|
-
tmp_13 = !this.
|
|
2142
|
+
tmp_13 = !this.d4j_1;
|
|
2143
2143
|
}
|
|
2144
2144
|
if (tmp_13) {
|
|
2145
2145
|
tmp_12 = true;
|
|
2146
2146
|
} else {
|
|
2147
|
-
tmp_12 = this.
|
|
2147
|
+
tmp_12 = this.j4j_1;
|
|
2148
2148
|
}
|
|
2149
2149
|
if (tmp_12) {
|
|
2150
|
-
this.
|
|
2150
|
+
this.o4j_1 = extendParentScopeWith(this.n4j_1.k4c().sideEffectManager, this.v4i_1.t4j_1.context.c4d_1);
|
|
2151
2151
|
this.ci_1 = 5;
|
|
2152
|
-
var tmp_15 = this.
|
|
2153
|
-
var tmp_16 = removeSubstitutionFor(this.
|
|
2154
|
-
suspendResult = this.
|
|
2152
|
+
var tmp_15 = this.n4j_1.k4c();
|
|
2153
|
+
var tmp_16 = removeSubstitutionFor(this.n4j_1.k4c().solution, Companion_getInstance_19(), this.c4j_1.hw());
|
|
2154
|
+
suspendResult = this.w4i_1.z4(stateEnd(this.v4i_1, tmp_15.o2j(tmp_16, this.o4j_1, null, 4, null)), this);
|
|
2155
2155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2156
2156
|
return suspendResult;
|
|
2157
2157
|
}
|
|
@@ -2162,7 +2162,7 @@
|
|
|
2162
2162
|
}
|
|
2163
2163
|
} else {
|
|
2164
2164
|
this.ci_1 = 4;
|
|
2165
|
-
suspendResult = this.
|
|
2165
|
+
suspendResult = this.w4i_1.z4(this.m4j_1, this);
|
|
2166
2166
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2167
2167
|
return suspendResult;
|
|
2168
2168
|
}
|
|
@@ -2177,7 +2177,7 @@
|
|
|
2177
2177
|
this.ci_1 = 6;
|
|
2178
2178
|
continue $sm;
|
|
2179
2179
|
case 6:
|
|
2180
|
-
var tmp_17 = this.
|
|
2180
|
+
var tmp_17 = this.n4j_1;
|
|
2181
2181
|
if (tmp_17 instanceof Halt_0)
|
|
2182
2182
|
return Unit_getInstance();
|
|
2183
2183
|
this.ci_1 = 7;
|
|
@@ -2186,7 +2186,7 @@
|
|
|
2186
2186
|
this.ci_1 = 3;
|
|
2187
2187
|
continue $sm;
|
|
2188
2188
|
case 8:
|
|
2189
|
-
if (this.
|
|
2189
|
+
if (this.j4j_1)
|
|
2190
2190
|
return Unit_getInstance();
|
|
2191
2191
|
this.ci_1 = 1;
|
|
2192
2192
|
continue $sm;
|
|
@@ -2211,15 +2211,15 @@
|
|
|
2211
2211
|
}
|
|
2212
2212
|
while (true);
|
|
2213
2213
|
};
|
|
2214
|
-
StateRuleSelection$behaveTimed$slambda.prototype.
|
|
2215
|
-
var i = new StateRuleSelection$behaveTimed$slambda(this.
|
|
2216
|
-
i.
|
|
2214
|
+
StateRuleSelection$behaveTimed$slambda.prototype.k4f = function ($this$sequence, completion) {
|
|
2215
|
+
var i = new StateRuleSelection$behaveTimed$slambda(this.v4i_1, completion);
|
|
2216
|
+
i.w4i_1 = $this$sequence;
|
|
2217
2217
|
return i;
|
|
2218
2218
|
};
|
|
2219
2219
|
function StateRuleSelection$behaveTimed$slambda_0(this$0, resultContinuation) {
|
|
2220
2220
|
var i = new StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation);
|
|
2221
2221
|
var l = function ($this$sequence, $cont) {
|
|
2222
|
-
return i.
|
|
2222
|
+
return i.j4f($this$sequence, $cont);
|
|
2223
2223
|
};
|
|
2224
2224
|
l.$arity = 1;
|
|
2225
2225
|
return l;
|
|
@@ -2227,21 +2227,21 @@
|
|
|
2227
2227
|
function StateRuleSelection(solve) {
|
|
2228
2228
|
Companion_getInstance_19();
|
|
2229
2229
|
AbstractTimedState.call(this, solve);
|
|
2230
|
-
this.
|
|
2230
|
+
this.t4j_1 = solve;
|
|
2231
2231
|
var tmp = this;
|
|
2232
|
-
tmp.
|
|
2232
|
+
tmp.u4j_1 = StateMachineExecutor$executeWrapping$ref(StateMachineExecutor_getInstance());
|
|
2233
2233
|
}
|
|
2234
|
-
StateRuleSelection.prototype.
|
|
2235
|
-
return this.
|
|
2234
|
+
StateRuleSelection.prototype.k4c = function () {
|
|
2235
|
+
return this.t4j_1;
|
|
2236
2236
|
};
|
|
2237
|
-
StateRuleSelection.prototype.
|
|
2237
|
+
StateRuleSelection.prototype.q4f = function () {
|
|
2238
2238
|
return sequence(StateRuleSelection$behaveTimed$slambda_0(this, null));
|
|
2239
2239
|
};
|
|
2240
2240
|
function DefaultBuiltins() {
|
|
2241
2241
|
DefaultBuiltins_instance = this;
|
|
2242
2242
|
ExtensionLibrary.call(this, CommonBuiltins_getInstance());
|
|
2243
2243
|
}
|
|
2244
|
-
DefaultBuiltins.prototype.
|
|
2244
|
+
DefaultBuiltins.prototype.b2f = function () {
|
|
2245
2245
|
return listOf_0([Call_getInstance(), Catch_getInstance(), Conjunction_getInstance(), Cut_getInstance(), Throw_getInstance(), Not_getInstance()]);
|
|
2246
2246
|
};
|
|
2247
2247
|
var DefaultBuiltins_instance;
|
|
@@ -2252,18 +2252,18 @@
|
|
|
2252
2252
|
}
|
|
2253
2253
|
function Call$uncheckedImplementation$lambda($request) {
|
|
2254
2254
|
return function (it) {
|
|
2255
|
-
var tmp = resetCutWorkChanges(it.sideEffectManager, $request.context.
|
|
2256
|
-
return replyWith($request, it.
|
|
2255
|
+
var tmp = resetCutWorkChanges(it.sideEffectManager, $request.context.c4d_1);
|
|
2256
|
+
return replyWith($request, it.o2j(null, tmp, null, 5, null));
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
2259
2259
|
function Call() {
|
|
2260
2260
|
Call_instance = this;
|
|
2261
2261
|
PrimitiveWrapper_init_$Init$('call', 1, false, 4, null, this);
|
|
2262
2262
|
}
|
|
2263
|
-
Call.prototype.
|
|
2263
|
+
Call.prototype.c4k = function (request) {
|
|
2264
2264
|
var tmp$ret$1;
|
|
2265
2265
|
// Inline function 'kotlin.let' call
|
|
2266
|
-
var tmp0_let = single(Companion_getInstance_11().
|
|
2266
|
+
var tmp0_let = single(Companion_getInstance_11().b2g(request).arguments);
|
|
2267
2267
|
// Inline function 'kotlin.contracts.contract' call
|
|
2268
2268
|
var tmp$ret$0;
|
|
2269
2269
|
// Inline function 'it.unibo.tuprolog.solve.streams.stdlib.primitive.Call.uncheckedImplementation.<anonymous>' call
|
|
@@ -2272,7 +2272,7 @@
|
|
|
2272
2272
|
var tmp_0 = Companion_getInstance_16();
|
|
2273
2273
|
var tmp_1 = prepareForExecutionAsGoal(tmp0_let);
|
|
2274
2274
|
var tmp_2 = new Long(0, 0);
|
|
2275
|
-
var tmp_3 = tmp_0.
|
|
2275
|
+
var tmp_3 = tmp_0.n4c(newSolveRequest$default(request, tmp_1, null, null, null, tmp_2, false, 62, null));
|
|
2276
2276
|
tmp = map(tmp_3, Call$uncheckedImplementation$lambda(request));
|
|
2277
2277
|
} else {
|
|
2278
2278
|
var tmp_4 = Expected_CALLABLE_getInstance();
|
|
@@ -2282,8 +2282,8 @@
|
|
|
2282
2282
|
tmp$ret$1 = tmp$ret$0;
|
|
2283
2283
|
return tmp$ret$1;
|
|
2284
2284
|
};
|
|
2285
|
-
Call.prototype.
|
|
2286
|
-
return this.
|
|
2285
|
+
Call.prototype.q2g = function (request) {
|
|
2286
|
+
return this.c4k(request);
|
|
2287
2287
|
};
|
|
2288
2288
|
var Call_instance;
|
|
2289
2289
|
function Call_getInstance() {
|
|
@@ -2307,22 +2307,22 @@
|
|
|
2307
2307
|
function ensureNoMoreSelectableCatch(_this__u8e3s4, $this, notSelectableContext) {
|
|
2308
2308
|
var tmp = new Long(0, 0);
|
|
2309
2309
|
var tmp_0 = new Long(0, 0);
|
|
2310
|
-
var tmp_1 = _this__u8e3s4.context.
|
|
2310
|
+
var tmp_1 = _this__u8e3s4.context.y4d(null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, _this__u8e3s4.context.c4d_1.v4d(notSelectableContext), 8191, null);
|
|
2311
2311
|
var tmp_2 = new Long(0, 0);
|
|
2312
|
-
return _this__u8e3s4.
|
|
2312
|
+
return _this__u8e3s4.j2j(null, null, tmp_1, tmp_2, new Long(0, 0), 27, null);
|
|
2313
2313
|
}
|
|
2314
2314
|
function Catch$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2315
|
-
this.
|
|
2315
|
+
this.l4k_1 = $request;
|
|
2316
2316
|
CoroutineImpl.call(this, resultContinuation);
|
|
2317
2317
|
}
|
|
2318
|
-
Catch$uncheckedImplementation$slambda.prototype.
|
|
2319
|
-
var tmp = this.
|
|
2318
|
+
Catch$uncheckedImplementation$slambda.prototype.e2t = function ($this$sequence, $cont) {
|
|
2319
|
+
var tmp = this.f2t($this$sequence, $cont);
|
|
2320
2320
|
tmp.ei_1 = Unit_getInstance();
|
|
2321
2321
|
tmp.fi_1 = null;
|
|
2322
2322
|
return tmp.ki();
|
|
2323
2323
|
};
|
|
2324
2324
|
Catch$uncheckedImplementation$slambda.prototype.wi = function (p1, $cont) {
|
|
2325
|
-
return this.
|
|
2325
|
+
return this.e2t(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
2326
2326
|
};
|
|
2327
2327
|
Catch$uncheckedImplementation$slambda.prototype.ki = function () {
|
|
2328
2328
|
var suspendResult = this.ei_1;
|
|
@@ -2332,39 +2332,39 @@
|
|
|
2332
2332
|
switch (tmp) {
|
|
2333
2333
|
case 0:
|
|
2334
2334
|
this.di_1 = 6;
|
|
2335
|
-
this.
|
|
2335
|
+
this.n4k_1 = first_0(this.l4k_1.arguments);
|
|
2336
2336
|
var tmp_0 = this;
|
|
2337
2337
|
var tmp_1 = Companion_getInstance_16();
|
|
2338
|
-
var tmp_2 = call(Catch_getInstance(), this.
|
|
2338
|
+
var tmp_2 = call(Catch_getInstance(), this.n4k_1);
|
|
2339
2339
|
var tmp_3 = new Long(0, 0);
|
|
2340
|
-
tmp_0.
|
|
2341
|
-
this.
|
|
2340
|
+
tmp_0.o4k_1 = tmp_1.n4c(newSolveRequest$default(this.l4k_1, tmp_2, null, null, null, tmp_3, false, 62, null));
|
|
2341
|
+
this.p4k_1 = this.o4k_1.j();
|
|
2342
2342
|
this.ci_1 = 1;
|
|
2343
2343
|
continue $sm;
|
|
2344
2344
|
case 1:
|
|
2345
|
-
if (!this.
|
|
2345
|
+
if (!this.p4k_1.m()) {
|
|
2346
2346
|
this.ci_1 = 5;
|
|
2347
2347
|
continue $sm;
|
|
2348
2348
|
}
|
|
2349
2349
|
|
|
2350
|
-
this.
|
|
2351
|
-
if (isSelectedThrowCatch(this.
|
|
2352
|
-
this.
|
|
2350
|
+
this.q4k_1 = this.p4k_1.p();
|
|
2351
|
+
if (isSelectedThrowCatch(this.q4k_1.sideEffectManager, this.l4k_1.context)) {
|
|
2352
|
+
this.r4k_1 = last(this.l4k_1.arguments).applySubstitution(this.q4k_1.solution.r1u());
|
|
2353
2353
|
var tmp_4 = this;
|
|
2354
|
-
var tmp_5 = call(Catch_getInstance(), this.
|
|
2355
|
-
var tmp_6 = this.
|
|
2354
|
+
var tmp_5 = call(Catch_getInstance(), this.r4k_1);
|
|
2355
|
+
var tmp_6 = this.q4k_1.solution.r1u().minus(this.l4k_1.context.y4c_1);
|
|
2356
2356
|
var tmp_7 = currentTimeInstant();
|
|
2357
|
-
tmp_4.
|
|
2357
|
+
tmp_4.s4k_1 = ensureNoMoreSelectableCatch(newSolveRequest$default(this.l4k_1, tmp_5, tmp_6, null, null, tmp_7, false, 44, null), Catch_getInstance(), this.l4k_1.context);
|
|
2358
2358
|
this.ci_1 = 3;
|
|
2359
|
-
var tmp_8 = Companion_getInstance_16().
|
|
2360
|
-
suspendResult = this.
|
|
2359
|
+
var tmp_8 = Companion_getInstance_16().n4c(this.s4k_1);
|
|
2360
|
+
suspendResult = this.m4k_1.c5(map(tmp_8, Catch$uncheckedImplementation$slambda$lambda(this.l4k_1)), this);
|
|
2361
2361
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2362
2362
|
return suspendResult;
|
|
2363
2363
|
}
|
|
2364
2364
|
continue $sm;
|
|
2365
2365
|
} else {
|
|
2366
2366
|
this.ci_1 = 2;
|
|
2367
|
-
suspendResult = this.
|
|
2367
|
+
suspendResult = this.m4k_1.z4(replyWith(this.l4k_1, this.q4k_1), this);
|
|
2368
2368
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2369
2369
|
return suspendResult;
|
|
2370
2370
|
}
|
|
@@ -2396,15 +2396,15 @@
|
|
|
2396
2396
|
}
|
|
2397
2397
|
while (true);
|
|
2398
2398
|
};
|
|
2399
|
-
Catch$uncheckedImplementation$slambda.prototype.
|
|
2400
|
-
var i = new Catch$uncheckedImplementation$slambda(this.
|
|
2401
|
-
i.
|
|
2399
|
+
Catch$uncheckedImplementation$slambda.prototype.f2t = function ($this$sequence, completion) {
|
|
2400
|
+
var i = new Catch$uncheckedImplementation$slambda(this.l4k_1, completion);
|
|
2401
|
+
i.m4k_1 = $this$sequence;
|
|
2402
2402
|
return i;
|
|
2403
2403
|
};
|
|
2404
2404
|
function Catch$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2405
2405
|
var i = new Catch$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2406
2406
|
var l = function ($this$sequence, $cont) {
|
|
2407
|
-
return i.
|
|
2407
|
+
return i.e2t($this$sequence, $cont);
|
|
2408
2408
|
};
|
|
2409
2409
|
l.$arity = 1;
|
|
2410
2410
|
return l;
|
|
@@ -2413,11 +2413,11 @@
|
|
|
2413
2413
|
Catch_instance = this;
|
|
2414
2414
|
PrimitiveWrapper_init_$Init$('catch', 3, false, 4, null, this);
|
|
2415
2415
|
}
|
|
2416
|
-
Catch.prototype.
|
|
2416
|
+
Catch.prototype.c4k = function (request) {
|
|
2417
2417
|
return sequence(Catch$uncheckedImplementation$slambda_0(request, null));
|
|
2418
2418
|
};
|
|
2419
|
-
Catch.prototype.
|
|
2420
|
-
return this.
|
|
2419
|
+
Catch.prototype.q2g = function (request) {
|
|
2420
|
+
return this.c4k(request);
|
|
2421
2421
|
};
|
|
2422
2422
|
var Catch_instance;
|
|
2423
2423
|
function Catch_getInstance() {
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
}
|
|
2428
2428
|
function SolverStrategies$predicationChoiceStrategy$ref($boundThis) {
|
|
2429
2429
|
var l = function (p0, p1) {
|
|
2430
|
-
return $boundThis.
|
|
2430
|
+
return $boundThis.g4c(p0, p1);
|
|
2431
2431
|
};
|
|
2432
2432
|
l.callableName = 'predicationChoiceStrategy';
|
|
2433
2433
|
return l;
|
|
@@ -2439,17 +2439,17 @@
|
|
|
2439
2439
|
return tmp.ki();
|
|
2440
2440
|
}
|
|
2441
2441
|
function Conjunction$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2442
|
-
this.
|
|
2442
|
+
this.c4m_1 = $request;
|
|
2443
2443
|
CoroutineImpl.call(this, resultContinuation);
|
|
2444
2444
|
}
|
|
2445
|
-
Conjunction$uncheckedImplementation$slambda.prototype.
|
|
2446
|
-
var tmp = this.
|
|
2445
|
+
Conjunction$uncheckedImplementation$slambda.prototype.e2t = function ($this$sequence, $cont) {
|
|
2446
|
+
var tmp = this.f2t($this$sequence, $cont);
|
|
2447
2447
|
tmp.ei_1 = Unit_getInstance();
|
|
2448
2448
|
tmp.fi_1 = null;
|
|
2449
2449
|
return tmp.ki();
|
|
2450
2450
|
};
|
|
2451
2451
|
Conjunction$uncheckedImplementation$slambda.prototype.wi = function (p1, $cont) {
|
|
2452
|
-
return this.
|
|
2452
|
+
return this.e2t(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
2453
2453
|
};
|
|
2454
2454
|
Conjunction$uncheckedImplementation$slambda.prototype.ki = function () {
|
|
2455
2455
|
var suspendResult = this.ei_1;
|
|
@@ -2460,10 +2460,10 @@
|
|
|
2460
2460
|
case 0:
|
|
2461
2461
|
this.di_1 = 2;
|
|
2462
2462
|
var tmp_0 = this;
|
|
2463
|
-
var tmp_1 = this.
|
|
2464
|
-
tmp_0.
|
|
2463
|
+
var tmp_1 = this.c4m_1.x1v().castToTuple().ju();
|
|
2464
|
+
tmp_0.e4m_1 = toList(orderWithStrategy(tmp_1, this.c4m_1.context, SolverStrategies$predicationChoiceStrategy$ref(this.c4m_1.context.b4d_1)));
|
|
2465
2465
|
this.ci_1 = 1;
|
|
2466
|
-
suspendResult = solveConjunctionGoals(this.
|
|
2466
|
+
suspendResult = solveConjunctionGoals(this.d4m_1, Conjunction_getInstance(), this.c4m_1, this.e4m_1, this.c4m_1.context, Companion_getInstance_3().empty(), emptyList(), this.c4m_1.context.c4d_1, false, this);
|
|
2467
2467
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2468
2468
|
return suspendResult;
|
|
2469
2469
|
}
|
|
@@ -2485,30 +2485,30 @@
|
|
|
2485
2485
|
}
|
|
2486
2486
|
while (true);
|
|
2487
2487
|
};
|
|
2488
|
-
Conjunction$uncheckedImplementation$slambda.prototype.
|
|
2489
|
-
var i = new Conjunction$uncheckedImplementation$slambda(this.
|
|
2490
|
-
i.
|
|
2488
|
+
Conjunction$uncheckedImplementation$slambda.prototype.f2t = function ($this$sequence, completion) {
|
|
2489
|
+
var i = new Conjunction$uncheckedImplementation$slambda(this.c4m_1, completion);
|
|
2490
|
+
i.d4m_1 = $this$sequence;
|
|
2491
2491
|
return i;
|
|
2492
2492
|
};
|
|
2493
2493
|
function Conjunction$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2494
2494
|
var i = new Conjunction$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2495
2495
|
var l = function ($this$sequence, $cont) {
|
|
2496
|
-
return i.
|
|
2496
|
+
return i.e2t($this$sequence, $cont);
|
|
2497
2497
|
};
|
|
2498
2498
|
l.$arity = 1;
|
|
2499
2499
|
return l;
|
|
2500
2500
|
}
|
|
2501
2501
|
function $solveConjunctionGoalsCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, resultContinuation) {
|
|
2502
2502
|
CoroutineImpl.call(this, resultContinuation);
|
|
2503
|
-
this.
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2506
|
-
this.
|
|
2507
|
-
this.
|
|
2508
|
-
this.
|
|
2509
|
-
this.
|
|
2510
|
-
this.
|
|
2511
|
-
this.
|
|
2503
|
+
this.c4l_1 = _this__u8e3s4;
|
|
2504
|
+
this.d4l_1 = _this__u8e3s4_0;
|
|
2505
|
+
this.e4l_1 = mainRequest;
|
|
2506
|
+
this.f4l_1 = goals;
|
|
2507
|
+
this.g4l_1 = toPropagateContext;
|
|
2508
|
+
this.h4l_1 = accumulatedSubstitutions;
|
|
2509
|
+
this.i4l_1 = accumulatedSideEffects;
|
|
2510
|
+
this.j4l_1 = previousResponseSideEffectManager;
|
|
2511
|
+
this.k4l_1 = previousGoalsHadAlternatives;
|
|
2512
2512
|
}
|
|
2513
2513
|
$solveConjunctionGoalsCOROUTINE$0.prototype.ki = function () {
|
|
2514
2514
|
var suspendResult = this.ei_1;
|
|
@@ -2518,57 +2518,57 @@
|
|
|
2518
2518
|
switch (tmp) {
|
|
2519
2519
|
case 0:
|
|
2520
2520
|
this.di_1 = 7;
|
|
2521
|
-
this.
|
|
2521
|
+
this.l4l_1 = prepareForExecutionAsGoal(first_1(this.f4l_1).applySubstitution(this.h4l_1));
|
|
2522
2522
|
var tmp_0 = this;
|
|
2523
|
-
var tmp0_elvis_lhs = this.
|
|
2524
|
-
var tmp_1 = tmp0_elvis_lhs == null ? this.
|
|
2523
|
+
var tmp0_elvis_lhs = this.j4l_1;
|
|
2524
|
+
var tmp_1 = tmp0_elvis_lhs == null ? this.e4l_1.context.c4d_1 : tmp0_elvis_lhs;
|
|
2525
2525
|
var tmp_2 = new Long(0, 0);
|
|
2526
|
-
tmp_0.
|
|
2527
|
-
this.
|
|
2528
|
-
this.
|
|
2526
|
+
tmp_0.m4l_1 = newSolveRequest$default(this.e4l_1, this.l4l_1, this.h4l_1, this.g4l_1, tmp_1, tmp_2, false, 48, null);
|
|
2527
|
+
this.n4l_1 = false;
|
|
2528
|
+
this.o4l_1 = emptyList();
|
|
2529
2529
|
var tmp_3 = this;
|
|
2530
|
-
tmp_3.
|
|
2530
|
+
tmp_3.p4l_1 = Companion_getInstance_16().l4c(this.m4l_1);
|
|
2531
2531
|
var tmp_4 = this;
|
|
2532
|
-
tmp_4.
|
|
2532
|
+
tmp_4.q4l_1 = this.p4l_1.j();
|
|
2533
2533
|
this.ci_1 = 1;
|
|
2534
2534
|
continue $sm;
|
|
2535
2535
|
case 1:
|
|
2536
|
-
if (!this.
|
|
2536
|
+
if (!this.q4l_1.m()) {
|
|
2537
2537
|
this.ci_1 = 6;
|
|
2538
2538
|
continue $sm;
|
|
2539
2539
|
}
|
|
2540
2540
|
|
|
2541
2541
|
var tmp_5 = this;
|
|
2542
|
-
tmp_5.
|
|
2542
|
+
tmp_5.r4l_1 = this.q4l_1.p();
|
|
2543
2543
|
var tmp_6 = this;
|
|
2544
|
-
tmp_6.
|
|
2545
|
-
this.
|
|
2544
|
+
tmp_6.s4l_1 = this.q4l_1.m();
|
|
2545
|
+
this.t4l_1 = this.r4l_1.k4c();
|
|
2546
2546
|
var tmp_7;
|
|
2547
2547
|
var tmp0__get_functor__thl4dk = Cut_getInstance();
|
|
2548
|
-
if (tmp0__get_functor__thl4dk.signature.name === this.
|
|
2548
|
+
if (tmp0__get_functor__thl4dk.signature.name === this.l4l_1.fw()) {
|
|
2549
2549
|
tmp_7 = true;
|
|
2550
2550
|
} else {
|
|
2551
|
-
var tmp0_safe_receiver = this.
|
|
2551
|
+
var tmp0_safe_receiver = this.t4l_1.sideEffectManager;
|
|
2552
2552
|
tmp_7 = (tmp0_safe_receiver == null ? null : shouldExecuteThrowCut(tmp0_safe_receiver)) === true;
|
|
2553
2553
|
}
|
|
2554
2554
|
|
|
2555
2555
|
if (tmp_7) {
|
|
2556
|
-
this.
|
|
2556
|
+
this.n4l_1 = true;
|
|
2557
2557
|
}
|
|
2558
2558
|
|
|
2559
|
-
this.
|
|
2559
|
+
this.o4l_1 = addWithNoDuplicates(this.o4l_1, this.t4l_1.sideEffects);
|
|
2560
2560
|
var tmp_8;
|
|
2561
2561
|
var tmp_9;
|
|
2562
|
-
var tmp1_safe_receiver = this.
|
|
2562
|
+
var tmp1_safe_receiver = this.t4l_1.sideEffectManager;
|
|
2563
2563
|
if ((tmp1_safe_receiver == null ? null : shouldExecuteThrowCut(tmp1_safe_receiver)) === false) {
|
|
2564
|
-
var tmp_10 = this.
|
|
2564
|
+
var tmp_10 = this.t4l_1.solution;
|
|
2565
2565
|
tmp_9 = isInterface(tmp_10, Yes);
|
|
2566
2566
|
} else {
|
|
2567
2567
|
tmp_9 = false;
|
|
2568
2568
|
}
|
|
2569
2569
|
|
|
2570
2570
|
if (tmp_9) {
|
|
2571
|
-
tmp_8 = moreThanOne(asSequence(this.
|
|
2571
|
+
tmp_8 = moreThanOne(asSequence(this.f4l_1));
|
|
2572
2572
|
} else {
|
|
2573
2573
|
tmp_8 = false;
|
|
2574
2574
|
}
|
|
@@ -2576,12 +2576,12 @@
|
|
|
2576
2576
|
if (tmp_8) {
|
|
2577
2577
|
this.ci_1 = 4;
|
|
2578
2578
|
var tmp_11 = Conjunction_getInstance();
|
|
2579
|
-
var tmp_12 = drop(this.
|
|
2580
|
-
var tmp_13 = this.
|
|
2581
|
-
var tmp_14 = this.
|
|
2582
|
-
var tmp_15 = this.
|
|
2583
|
-
var tmp_16 = this.
|
|
2584
|
-
suspendResult = solveConjunctionGoals(this.
|
|
2579
|
+
var tmp_12 = drop(this.f4l_1, 1);
|
|
2580
|
+
var tmp_13 = this.r4l_1.j5().c37(this.o4l_1);
|
|
2581
|
+
var tmp_14 = this.t4l_1.solution.r1u().minus(this.e4l_1.context.y4c_1);
|
|
2582
|
+
var tmp_15 = this.o4l_1;
|
|
2583
|
+
var tmp_16 = this.t4l_1.sideEffectManager;
|
|
2584
|
+
suspendResult = solveConjunctionGoals(this.d4l_1, tmp_11, this.e4l_1, tmp_12, tmp_13, tmp_14, tmp_15, tmp_16 instanceof SideEffectManagerImpl ? tmp_16 : null, this.k4l_1 ? true : this.s4l_1, this);
|
|
2585
2585
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2586
2586
|
return suspendResult;
|
|
2587
2587
|
}
|
|
@@ -2589,20 +2589,20 @@
|
|
|
2589
2589
|
} else {
|
|
2590
2590
|
var tmp_17;
|
|
2591
2591
|
var tmp_18;
|
|
2592
|
-
var tmp_19 = this.
|
|
2592
|
+
var tmp_19 = this.t4l_1.solution;
|
|
2593
2593
|
if (!isInterface(tmp_19, No)) {
|
|
2594
2594
|
tmp_18 = true;
|
|
2595
2595
|
} else {
|
|
2596
|
-
tmp_18 = !this.
|
|
2596
|
+
tmp_18 = !this.k4l_1 ? !this.s4l_1 : false;
|
|
2597
2597
|
}
|
|
2598
2598
|
if (tmp_18) {
|
|
2599
2599
|
tmp_17 = true;
|
|
2600
2600
|
} else {
|
|
2601
|
-
tmp_17 = this.
|
|
2601
|
+
tmp_17 = this.n4l_1;
|
|
2602
2602
|
}
|
|
2603
2603
|
if (tmp_17) {
|
|
2604
2604
|
this.ci_1 = 2;
|
|
2605
|
-
suspendResult = this.
|
|
2605
|
+
suspendResult = this.d4l_1.z4(replyWith(this.e4l_1, this.t4l_1.o2j(null, null, plus_1(this.i4l_1, this.o4l_1), 3, null)), this);
|
|
2606
2606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2607
2607
|
return suspendResult;
|
|
2608
2608
|
}
|
|
@@ -2623,29 +2623,29 @@
|
|
|
2623
2623
|
case 4:
|
|
2624
2624
|
var sideEffectPair = suspendResult;
|
|
2625
2625
|
if (sideEffectPair.g4_1) {
|
|
2626
|
-
this.
|
|
2626
|
+
this.n4l_1 = true;
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
|
-
this.
|
|
2629
|
+
this.o4l_1 = sideEffectPair.h4_1;
|
|
2630
2630
|
this.ci_1 = 5;
|
|
2631
2631
|
continue $sm;
|
|
2632
2632
|
case 5:
|
|
2633
2633
|
var tmp_20;
|
|
2634
|
-
if (this.
|
|
2634
|
+
if (this.n4l_1) {
|
|
2635
2635
|
tmp_20 = true;
|
|
2636
2636
|
} else {
|
|
2637
|
-
var tmp_21 = this.
|
|
2637
|
+
var tmp_21 = this.t4l_1.solution;
|
|
2638
2638
|
tmp_20 = isInterface(tmp_21, Halt);
|
|
2639
2639
|
}
|
|
2640
2640
|
|
|
2641
2641
|
if (tmp_20) {
|
|
2642
|
-
return new Pair(true, plus_1(this.
|
|
2642
|
+
return new Pair(true, plus_1(this.i4l_1, this.o4l_1));
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
2645
2645
|
this.ci_1 = 1;
|
|
2646
2646
|
continue $sm;
|
|
2647
2647
|
case 6:
|
|
2648
|
-
return new Pair(this.
|
|
2648
|
+
return new Pair(this.n4l_1, plus_1(this.i4l_1, this.o4l_1));
|
|
2649
2649
|
case 7:
|
|
2650
2650
|
throw this.fi_1;
|
|
2651
2651
|
}
|
|
@@ -2664,11 +2664,11 @@
|
|
|
2664
2664
|
Companion_getInstance_12();
|
|
2665
2665
|
PrimitiveWrapper_init_$Init$(',', 2, false, 4, null, this);
|
|
2666
2666
|
}
|
|
2667
|
-
Conjunction.prototype.
|
|
2667
|
+
Conjunction.prototype.c4k = function (request) {
|
|
2668
2668
|
return sequence(Conjunction$uncheckedImplementation$slambda_0(request, null));
|
|
2669
2669
|
};
|
|
2670
|
-
Conjunction.prototype.
|
|
2671
|
-
return this.
|
|
2670
|
+
Conjunction.prototype.q2g = function (request) {
|
|
2671
|
+
return this.c4k(request);
|
|
2672
2672
|
};
|
|
2673
2673
|
var Conjunction_instance;
|
|
2674
2674
|
function Conjunction_getInstance() {
|
|
@@ -2680,18 +2680,18 @@
|
|
|
2680
2680
|
Cut_instance = this;
|
|
2681
2681
|
PrimitiveWrapper_init_$Init$('!', 0, false, 4, null, this);
|
|
2682
2682
|
}
|
|
2683
|
-
Cut.prototype.
|
|
2683
|
+
Cut.prototype.c4k = function (request) {
|
|
2684
2684
|
var tmp$ret$1;
|
|
2685
2685
|
// Inline function 'kotlin.with' call
|
|
2686
2686
|
// Inline function 'kotlin.contracts.contract' call
|
|
2687
2687
|
var tmp$ret$0;
|
|
2688
2688
|
// Inline function 'it.unibo.tuprolog.solve.streams.stdlib.primitive.Cut.uncheckedImplementation.<anonymous>' call
|
|
2689
|
-
tmp$ret$0 = sequenceOf([request.
|
|
2689
|
+
tmp$ret$0 = sequenceOf([request.p2g(request.context.y4c_1, request.context.c4d_1.k4d(), [], 4, null)]);
|
|
2690
2690
|
tmp$ret$1 = tmp$ret$0;
|
|
2691
2691
|
return tmp$ret$1;
|
|
2692
2692
|
};
|
|
2693
|
-
Cut.prototype.
|
|
2694
|
-
return this.
|
|
2693
|
+
Cut.prototype.q2g = function (request) {
|
|
2694
|
+
return this.c4k(request);
|
|
2695
2695
|
};
|
|
2696
2696
|
var Cut_instance;
|
|
2697
2697
|
function Cut_getInstance() {
|
|
@@ -2700,17 +2700,17 @@
|
|
|
2700
2700
|
return Cut_instance;
|
|
2701
2701
|
}
|
|
2702
2702
|
function Not$uncheckedImplementation$slambda($request, resultContinuation) {
|
|
2703
|
-
this.
|
|
2703
|
+
this.p4m_1 = $request;
|
|
2704
2704
|
CoroutineImpl.call(this, resultContinuation);
|
|
2705
2705
|
}
|
|
2706
|
-
Not$uncheckedImplementation$slambda.prototype.
|
|
2707
|
-
var tmp = this.
|
|
2706
|
+
Not$uncheckedImplementation$slambda.prototype.e2t = function ($this$sequence, $cont) {
|
|
2707
|
+
var tmp = this.f2t($this$sequence, $cont);
|
|
2708
2708
|
tmp.ei_1 = Unit_getInstance();
|
|
2709
2709
|
tmp.fi_1 = null;
|
|
2710
2710
|
return tmp.ki();
|
|
2711
2711
|
};
|
|
2712
2712
|
Not$uncheckedImplementation$slambda.prototype.wi = function (p1, $cont) {
|
|
2713
|
-
return this.
|
|
2713
|
+
return this.e2t(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
2714
2714
|
};
|
|
2715
2715
|
Not$uncheckedImplementation$slambda.prototype.ki = function () {
|
|
2716
2716
|
var suspendResult = this.ei_1;
|
|
@@ -2720,45 +2720,45 @@
|
|
|
2720
2720
|
switch (tmp) {
|
|
2721
2721
|
case 0:
|
|
2722
2722
|
this.di_1 = 7;
|
|
2723
|
-
this.
|
|
2723
|
+
this.r4m_1 = single(this.p4m_1.arguments);
|
|
2724
2724
|
var tmp_0 = this;
|
|
2725
2725
|
var tmp_1 = Companion_getInstance_16();
|
|
2726
2726
|
var tmp_2 = Companion_getInstance_10();
|
|
2727
2727
|
var tmp0__get_functor__thl4dk = Call_getInstance();
|
|
2728
|
-
var tmp_3 = tmp_2.of(tmp0__get_functor__thl4dk.signature.name, [this.
|
|
2728
|
+
var tmp_3 = tmp_2.of(tmp0__get_functor__thl4dk.signature.name, [this.r4m_1]);
|
|
2729
2729
|
var tmp_4 = new Long(0, 0);
|
|
2730
|
-
tmp_0.
|
|
2731
|
-
this.
|
|
2730
|
+
tmp_0.s4m_1 = tmp_1.n4c(newSolveRequest$default(this.p4m_1, tmp_3, null, null, null, tmp_4, false, 62, null));
|
|
2731
|
+
this.t4m_1 = this.s4m_1.j();
|
|
2732
2732
|
this.ci_1 = 1;
|
|
2733
2733
|
continue $sm;
|
|
2734
2734
|
case 1:
|
|
2735
|
-
if (!this.
|
|
2735
|
+
if (!this.t4m_1.m()) {
|
|
2736
2736
|
this.ci_1 = 6;
|
|
2737
2737
|
continue $sm;
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
2740
|
-
this.
|
|
2741
|
-
this.
|
|
2742
|
-
var tmp_5 = this.
|
|
2740
|
+
this.u4m_1 = this.t4m_1.p();
|
|
2741
|
+
this.v4m_1 = this.u4m_1.solution;
|
|
2742
|
+
var tmp_5 = this.v4m_1;
|
|
2743
2743
|
if (isInterface(tmp_5, Yes)) {
|
|
2744
2744
|
this.ci_1 = 5;
|
|
2745
|
-
suspendResult = this.
|
|
2745
|
+
suspendResult = this.q4m_1.z4(this.p4m_1.o2g(null, [], 3, null), this);
|
|
2746
2746
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2747
2747
|
return suspendResult;
|
|
2748
2748
|
}
|
|
2749
2749
|
continue $sm;
|
|
2750
2750
|
} else {
|
|
2751
|
-
var tmp_6 = this.
|
|
2751
|
+
var tmp_6 = this.v4m_1;
|
|
2752
2752
|
if (isInterface(tmp_6, No)) {
|
|
2753
2753
|
this.ci_1 = 3;
|
|
2754
|
-
suspendResult = this.
|
|
2754
|
+
suspendResult = this.q4m_1.z4(this.p4m_1.p2g(this.p4m_1.context.y4c_1, null, [], 6, null), this);
|
|
2755
2755
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2756
2756
|
return suspendResult;
|
|
2757
2757
|
}
|
|
2758
2758
|
continue $sm;
|
|
2759
2759
|
} else {
|
|
2760
2760
|
this.ci_1 = 2;
|
|
2761
|
-
suspendResult = this.
|
|
2761
|
+
suspendResult = this.q4m_1.z4(replyWith(this.p4m_1, this.u4m_1), this);
|
|
2762
2762
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2763
2763
|
return suspendResult;
|
|
2764
2764
|
}
|
|
@@ -2793,15 +2793,15 @@
|
|
|
2793
2793
|
}
|
|
2794
2794
|
while (true);
|
|
2795
2795
|
};
|
|
2796
|
-
Not$uncheckedImplementation$slambda.prototype.
|
|
2797
|
-
var i = new Not$uncheckedImplementation$slambda(this.
|
|
2798
|
-
i.
|
|
2796
|
+
Not$uncheckedImplementation$slambda.prototype.f2t = function ($this$sequence, completion) {
|
|
2797
|
+
var i = new Not$uncheckedImplementation$slambda(this.p4m_1, completion);
|
|
2798
|
+
i.q4m_1 = $this$sequence;
|
|
2799
2799
|
return i;
|
|
2800
2800
|
};
|
|
2801
2801
|
function Not$uncheckedImplementation$slambda_0($request, resultContinuation) {
|
|
2802
2802
|
var i = new Not$uncheckedImplementation$slambda($request, resultContinuation);
|
|
2803
2803
|
var l = function ($this$sequence, $cont) {
|
|
2804
|
-
return i.
|
|
2804
|
+
return i.e2t($this$sequence, $cont);
|
|
2805
2805
|
};
|
|
2806
2806
|
l.$arity = 1;
|
|
2807
2807
|
return l;
|
|
@@ -2810,11 +2810,11 @@
|
|
|
2810
2810
|
Not_instance = this;
|
|
2811
2811
|
PrimitiveWrapper_init_$Init$('\\+', 1, false, 4, null, this);
|
|
2812
2812
|
}
|
|
2813
|
-
Not.prototype.
|
|
2813
|
+
Not.prototype.c4k = function (request) {
|
|
2814
2814
|
return sequence(Not$uncheckedImplementation$slambda_0(request, null));
|
|
2815
2815
|
};
|
|
2816
|
-
Not.prototype.
|
|
2817
|
-
return this.
|
|
2816
|
+
Not.prototype.q2g = function (request) {
|
|
2817
|
+
return this.c4k(request);
|
|
2818
2818
|
};
|
|
2819
2819
|
var Not_instance;
|
|
2820
2820
|
function Not_getInstance() {
|
|
@@ -2878,7 +2878,7 @@
|
|
|
2878
2878
|
var extra = tmp0_safe_receiver.o3();
|
|
2879
2879
|
var tmp0_$this = Companion_getInstance_13();
|
|
2880
2880
|
var tmp1_cause = extractErrorCauseChain(extra, Throw_getInstance(), withContext);
|
|
2881
|
-
tmp$ret$0 = tmp0_$this.
|
|
2881
|
+
tmp$ret$0 = tmp0_$this.u25(null, tmp1_cause, withContext, type, extra, 1, null);
|
|
2882
2882
|
tmp$ret$1 = tmp$ret$0;
|
|
2883
2883
|
tmp = tmp$ret$1;
|
|
2884
2884
|
}
|
|
@@ -2888,16 +2888,16 @@
|
|
|
2888
2888
|
Throw_instance = this;
|
|
2889
2889
|
NonBacktrackable.call(this, 'throw');
|
|
2890
2890
|
}
|
|
2891
|
-
Throw.prototype.
|
|
2891
|
+
Throw.prototype.y4m = function (_this__u8e3s4, first) {
|
|
2892
2892
|
var tmp;
|
|
2893
2893
|
try {
|
|
2894
2894
|
var tmp$ret$3;
|
|
2895
2895
|
// Inline function 'kotlin.let' call
|
|
2896
|
-
var tmp0_let = single(Companion_getInstance_11().
|
|
2896
|
+
var tmp0_let = single(Companion_getInstance_11().b2g(_this__u8e3s4).arguments).freshCopy();
|
|
2897
2897
|
// Inline function 'kotlin.contracts.contract' call
|
|
2898
2898
|
var tmp$ret$2;
|
|
2899
2899
|
// Inline function 'it.unibo.tuprolog.solve.streams.stdlib.primitive.Throw.computeOne.<anonymous>' call
|
|
2900
|
-
var ancestorCatch = _this__u8e3s4.context.
|
|
2900
|
+
var ancestorCatch = _this__u8e3s4.context.c4d_1.s4d(tmp0_let);
|
|
2901
2901
|
var tmp0_safe_receiver = ancestorCatch;
|
|
2902
2902
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.arguments;
|
|
2903
2903
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n(1);
|
|
@@ -2910,16 +2910,16 @@
|
|
|
2910
2910
|
// Inline function 'kotlin.contracts.contract' call
|
|
2911
2911
|
var tmp$ret$0;
|
|
2912
2912
|
// Inline function 'it.unibo.tuprolog.solve.streams.stdlib.primitive.Throw.computeOne.<anonymous>.<anonymous>' call
|
|
2913
|
-
tmp$ret$0 = Companion_getInstance_11().
|
|
2913
|
+
tmp$ret$0 = Companion_getInstance_11().e2h(_this__u8e3s4, tmp2_safe_receiver, tmp0_let);
|
|
2914
2914
|
tmp$ret$1 = tmp$ret$0;
|
|
2915
2915
|
tmp_0 = tmp$ret$1;
|
|
2916
2916
|
}
|
|
2917
2917
|
var catcher = tmp_0;
|
|
2918
2918
|
var tmp_1;
|
|
2919
2919
|
if (!(catcher == null) ? isInterface(catcher, Unifier) : false) {
|
|
2920
|
-
var tmp_2 = _this__u8e3s4.context.
|
|
2920
|
+
var tmp_2 = _this__u8e3s4.context.y4c_1.plus(catcher);
|
|
2921
2921
|
var newSubstitution = isInterface(tmp_2, Unifier) ? tmp_2 : THROW_CCE();
|
|
2922
|
-
tmp_1 = _this__u8e3s4.
|
|
2922
|
+
tmp_1 = _this__u8e3s4.p2g(newSubstitution, _this__u8e3s4.context.c4d_1.t4d(ancestorCatch.context), [], 4, null);
|
|
2923
2923
|
} else {
|
|
2924
2924
|
var errorCause = extractErrorCauseChain(tmp0_let, Throw_getInstance(), _this__u8e3s4.context);
|
|
2925
2925
|
var tmp_3;
|
|
@@ -2936,7 +2936,7 @@
|
|
|
2936
2936
|
} catch ($p) {
|
|
2937
2937
|
var tmp_4;
|
|
2938
2938
|
if ($p instanceof LogicError) {
|
|
2939
|
-
tmp_4 = _this__u8e3s4.
|
|
2939
|
+
tmp_4 = _this__u8e3s4.f2j($p, null, [], 6, null);
|
|
2940
2940
|
} else {
|
|
2941
2941
|
throw $p;
|
|
2942
2942
|
}
|
|
@@ -2944,8 +2944,8 @@
|
|
|
2944
2944
|
}
|
|
2945
2945
|
return tmp;
|
|
2946
2946
|
};
|
|
2947
|
-
Throw.prototype.
|
|
2948
|
-
return this.
|
|
2947
|
+
Throw.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2948
|
+
return this.y4m(_this__u8e3s4, first);
|
|
2949
2949
|
};
|
|
2950
2950
|
var Throw_instance;
|
|
2951
2951
|
function Throw_getInstance() {
|
|
@@ -3004,7 +3004,7 @@
|
|
|
3004
3004
|
DefaultBuiltins.prototype.containsOperator = containsOperator;
|
|
3005
3005
|
DefaultBuiltins.prototype.hasPrimitive = hasPrimitive;
|
|
3006
3006
|
DefaultBuiltins.prototype.hasFunction = hasFunction;
|
|
3007
|
-
DefaultBuiltins.prototype.
|
|
3007
|
+
DefaultBuiltins.prototype.p2e = get_ruleSignatures;
|
|
3008
3008
|
DefaultBuiltins.prototype.hasProtected = hasProtected;
|
|
3009
3009
|
//endregion
|
|
3010
3010
|
//region block: exports
|