@tuprolog/2p-full 3.0.6 → 3.0.8
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 +159 -159
- package/2p-core.js +2210 -2140
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +765 -766
- package/2p-io-lib.js.map +1 -1
- package/2p-oop-lib.js +890 -892
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +105 -115
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1421 -1418
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +56 -56
- package/2p-repl.js +149 -142
- package/2p-repl.js.map +1 -1
- package/2p-solve-plp.js +2 -2
- package/2p-solve-problog.js +1024 -964
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-prolog.js +821 -831
- package/2p-solve-prolog.js.map +1 -1
- package/2p-solve.js +3931 -3596
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +199 -199
- package/2p-unify.js +75 -75
- package/2p-utils.js +352 -330
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-mordant.js +90 -90
- package/clikt-clikt.js +1524 -1481
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +472 -472
- package/kotlin-kotlin-stdlib.js +1379 -1367
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1485 -1484
- package/kt-math.js.map +1 -1
- package/mordant-mordant.js +1442 -1442
- package/okio-parent-okio-nodefilesystem.js +46 -46
- package/okio-parent-okio.js +647 -647
- package/package.json +1 -1
- package/2p-test-dsl.js +0 -15
- package/2p-test-dsl.js.map +0 -1
- package/kotlin-kotlin-test.js +0 -15
- package/kotlin-kotlin-test.js.map +0 -1
package/2p-theory.js
CHANGED
|
@@ -22,106 +22,106 @@
|
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var asIterable = kotlin_kotlin.$_$.
|
|
27
|
-
var any = kotlin_kotlin.$_$.
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.u8;
|
|
26
|
+
var asIterable = kotlin_kotlin.$_$.z9;
|
|
27
|
+
var any = kotlin_kotlin.$_$.y9;
|
|
28
28
|
var asSequence = kotlin_kotlin.$_$.r2;
|
|
29
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
30
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
29
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.r9;
|
|
30
|
+
var joinToString = kotlin_kotlin.$_$.v3;
|
|
31
|
+
var initMetadataForClass = kotlin_kotlin.$_$.d8;
|
|
32
32
|
var Unit_instance = kotlin_kotlin.$_$.r;
|
|
33
|
-
var toList = kotlin_kotlin.$_$.
|
|
34
|
-
var none = kotlin_kotlin.$_$.
|
|
33
|
+
var toList = kotlin_kotlin.$_$.kb;
|
|
34
|
+
var none = kotlin_kotlin.$_$.ya;
|
|
35
35
|
var VOID = kotlin_kotlin.$_$.b;
|
|
36
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
36
|
+
var emptyList = kotlin_kotlin.$_$.l3;
|
|
37
37
|
var asIterable_0 = kotlin_kotlin.$_$.l2;
|
|
38
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
39
39
|
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.w;
|
|
40
40
|
var itemWiseEquals = kotlin_it_unibo_tuprolog_utils.$_$.e1;
|
|
41
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
41
|
+
var getKClass = kotlin_kotlin.$_$.s9;
|
|
42
42
|
var itemWiseHashCode = kotlin_it_unibo_tuprolog_utils.$_$.f1;
|
|
43
43
|
var itemWiseHashCode_0 = kotlin_it_unibo_tuprolog_utils.$_$.g1;
|
|
44
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
45
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
46
|
-
var first = kotlin_kotlin.$_$.
|
|
47
|
-
var toString = kotlin_kotlin.$_$.
|
|
48
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
49
|
-
var equals = kotlin_kotlin.$_$.
|
|
50
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
51
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
44
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.e8;
|
|
45
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.g8;
|
|
46
|
+
var first = kotlin_kotlin.$_$.p3;
|
|
47
|
+
var toString = kotlin_kotlin.$_$.x8;
|
|
48
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.v7;
|
|
50
|
+
var defineProp = kotlin_kotlin.$_$.u7;
|
|
51
|
+
var objectCreate = kotlin_kotlin.$_$.t8;
|
|
52
52
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
53
53
|
var asReversed = kotlin_kotlin.$_$.o2;
|
|
54
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
55
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
56
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
57
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
58
|
-
var lazy = kotlin_kotlin.$_$.
|
|
59
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
60
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
61
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
62
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
63
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
64
|
-
var sequence = kotlin_kotlin.$_$.
|
|
65
|
-
var listOf = kotlin_kotlin.$_$.
|
|
54
|
+
var isInterface = kotlin_kotlin.$_$.m8;
|
|
55
|
+
var KProperty1 = kotlin_kotlin.$_$.v9;
|
|
56
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.a8;
|
|
57
|
+
var constructCallableReference = kotlin_kotlin.$_$.t7;
|
|
58
|
+
var lazy = kotlin_kotlin.$_$.re;
|
|
59
|
+
var CoroutineImpl = kotlin_kotlin.$_$.l6;
|
|
60
|
+
var THROW_CCE = kotlin_kotlin.$_$.he;
|
|
61
|
+
var SequenceScope = kotlin_kotlin.$_$.w9;
|
|
62
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k6;
|
|
63
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.h8;
|
|
64
|
+
var sequence = kotlin_kotlin.$_$.eb;
|
|
65
|
+
var listOf = kotlin_kotlin.$_$.i4;
|
|
66
66
|
var mergeSequences = kotlin_it_unibo_tuprolog_utils.$_$.i1;
|
|
67
|
-
var sequenceOf = kotlin_kotlin.$_$.
|
|
68
|
-
var flatten = kotlin_kotlin.$_$.
|
|
69
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
67
|
+
var sequenceOf = kotlin_kotlin.$_$.cb;
|
|
68
|
+
var flatten = kotlin_kotlin.$_$.na;
|
|
69
|
+
var initMetadataForObject = kotlin_kotlin.$_$.i8;
|
|
70
70
|
var compareTo = kotlin_it_unibo_tuprolog_utils.$_$.j;
|
|
71
71
|
var LongIndexed = kotlin_it_unibo_tuprolog_utils.$_$.k;
|
|
72
72
|
var component1 = kotlin_it_unibo_tuprolog_utils.$_$.h;
|
|
73
73
|
var component2 = kotlin_it_unibo_tuprolog_utils.$_$.i;
|
|
74
74
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_utils.$_$.d;
|
|
75
75
|
var copyToArray = kotlin_kotlin.$_$.g3;
|
|
76
|
-
var plus = kotlin_kotlin.$_$.
|
|
77
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
78
|
-
var minOrNull = kotlin_kotlin.$_$.
|
|
79
|
-
var map = kotlin_kotlin.$_$.
|
|
80
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
81
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
82
|
-
var sum = kotlin_kotlin.$_$.
|
|
76
|
+
var plus = kotlin_kotlin.$_$.c5;
|
|
77
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.v;
|
|
78
|
+
var minOrNull = kotlin_kotlin.$_$.m4;
|
|
79
|
+
var map = kotlin_kotlin.$_$.wa;
|
|
80
|
+
var ensureNotNull = kotlin_kotlin.$_$.ne;
|
|
81
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
82
|
+
var sum = kotlin_kotlin.$_$.fb;
|
|
83
83
|
var Collection = kotlin_kotlin.$_$.b2;
|
|
84
|
-
var filter = kotlin_kotlin.$_$.
|
|
85
|
-
var emptySequence = kotlin_kotlin.$_$.
|
|
84
|
+
var filter = kotlin_kotlin.$_$.ia;
|
|
85
|
+
var emptySequence = kotlin_kotlin.$_$.fa;
|
|
86
86
|
var dequeOf = kotlin_it_unibo_tuprolog_utils.$_$.z;
|
|
87
87
|
var addFirst = kotlin_it_unibo_tuprolog_utils.$_$.r;
|
|
88
88
|
var buffered = kotlin_it_unibo_tuprolog_utils.$_$.s;
|
|
89
89
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w2;
|
|
90
90
|
var dequeOf_0 = kotlin_it_unibo_tuprolog_utils.$_$.x;
|
|
91
91
|
var Companion_instance_1 = kotlin_it_unibo_tuprolog_utils.$_$.b;
|
|
92
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
93
|
-
var sequenceOf_0 = kotlin_kotlin.$_$.
|
|
94
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
95
|
-
var NotImplementedError = kotlin_kotlin.$_$.
|
|
96
|
-
var take = kotlin_kotlin.$_$.
|
|
92
|
+
var flatMap = kotlin_kotlin.$_$.la;
|
|
93
|
+
var sequenceOf_0 = kotlin_kotlin.$_$.db;
|
|
94
|
+
var firstOrNull = kotlin_kotlin.$_$.ja;
|
|
95
|
+
var NotImplementedError = kotlin_kotlin.$_$.ce;
|
|
96
|
+
var take = kotlin_kotlin.$_$.hb;
|
|
97
97
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
98
|
-
var get_ONE = kotlin_kotlin.$_$.
|
|
99
|
-
var add = kotlin_kotlin.$_$.
|
|
100
|
-
var subtract = kotlin_kotlin.$_$.
|
|
98
|
+
var get_ONE = kotlin_kotlin.$_$.s6;
|
|
99
|
+
var add = kotlin_kotlin.$_$.t6;
|
|
100
|
+
var subtract = kotlin_kotlin.$_$.g7;
|
|
101
101
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.z1;
|
|
102
102
|
var Companion_instance_2 = kotlin_it_unibo_tuprolog_core.$_$.v;
|
|
103
103
|
var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.c1;
|
|
104
104
|
var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.x;
|
|
105
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
106
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
105
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.p8;
|
|
106
|
+
var plus_0 = kotlin_kotlin.$_$.bb;
|
|
107
107
|
var getTag = kotlin_it_unibo_tuprolog_utils.$_$.o;
|
|
108
108
|
var containsTag = kotlin_it_unibo_tuprolog_utils.$_$.n;
|
|
109
109
|
var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
110
110
|
var Companion_instance_3 = kotlin_it_unibo_tuprolog_core.$_$.p;
|
|
111
|
-
var first_0 = kotlin_kotlin.$_$.
|
|
112
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
111
|
+
var first_0 = kotlin_kotlin.$_$.q3;
|
|
112
|
+
var filterNotNull = kotlin_kotlin.$_$.ga;
|
|
113
113
|
var Taggable = kotlin_it_unibo_tuprolog_utils.$_$.p;
|
|
114
|
-
var filterNot = kotlin_kotlin.$_$.
|
|
114
|
+
var filterNot = kotlin_kotlin.$_$.ha;
|
|
115
115
|
var asSequence_0 = kotlin_kotlin.$_$.s2;
|
|
116
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
117
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
118
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
119
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
120
|
-
var none_0 = kotlin_kotlin.$_$.
|
|
116
|
+
var fromInt = kotlin_kotlin.$_$.y6;
|
|
117
|
+
var emptyMap = kotlin_kotlin.$_$.m3;
|
|
118
|
+
var toList_0 = kotlin_kotlin.$_$.v5;
|
|
119
|
+
var listOf_0 = kotlin_kotlin.$_$.h4;
|
|
120
|
+
var none_0 = kotlin_kotlin.$_$.w4;
|
|
121
121
|
var dequeOf_1 = kotlin_it_unibo_tuprolog_utils.$_$.y;
|
|
122
|
-
var Pair = kotlin_kotlin.$_$.
|
|
123
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
124
|
-
var toMutableList_0 = kotlin_kotlin.$_$.
|
|
122
|
+
var Pair = kotlin_kotlin.$_$.fe;
|
|
123
|
+
var toMutableList = kotlin_kotlin.$_$.b6;
|
|
124
|
+
var toMutableList_0 = kotlin_kotlin.$_$.lb;
|
|
125
125
|
var addFirst_0 = kotlin_it_unibo_tuprolog_utils.$_$.q;
|
|
126
126
|
var addAll = kotlin_kotlin.$_$.h2;
|
|
127
127
|
//endregion
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
return this.f1();
|
|
163
163
|
}
|
|
164
164
|
function plus_1(traversed) {
|
|
165
|
-
return Companion_instance_7.l1r(this.
|
|
165
|
+
return Companion_instance_7.l1r(this.vr(), this.z1p(), plus(this.h1r(), traversed));
|
|
166
166
|
}
|
|
167
167
|
initMetadataForInterface(IndexedClause, 'IndexedClause', VOID, VOID, [LongIndexed]);
|
|
168
168
|
initMetadataForClass(IndexedClause$Companion$wrap$1, VOID, VOID, VOID, [IndexedClause]);
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
protoOf(Success).f1o = function () {
|
|
509
509
|
return this.w1o_1;
|
|
510
510
|
};
|
|
511
|
-
protoOf(Success).
|
|
511
|
+
protoOf(Success).b13 = function () {
|
|
512
512
|
return true;
|
|
513
513
|
};
|
|
514
514
|
protoOf(Success).y1o = function () {
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
};
|
|
567
567
|
function RetrieveResult() {
|
|
568
568
|
}
|
|
569
|
-
protoOf(RetrieveResult).
|
|
569
|
+
protoOf(RetrieveResult).b13 = function () {
|
|
570
570
|
return false;
|
|
571
571
|
};
|
|
572
572
|
protoOf(RetrieveResult).z1o = function () {
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
function ReteClauseQueue$_get_hashCodeCache_$ref_rnll9p() {
|
|
661
661
|
return constructCallableReference(function (p0) {
|
|
662
662
|
return _get_hashCodeCache__ny3r0q(p0);
|
|
663
|
-
}, 1, 0,
|
|
663
|
+
}, 1, 0, 32);
|
|
664
664
|
}
|
|
665
665
|
function ReteClauseQueue(rete) {
|
|
666
666
|
AbstractReteClauseCollection.call(this, rete);
|
|
@@ -751,14 +751,14 @@
|
|
|
751
751
|
this.u1p_1 = $clause;
|
|
752
752
|
CoroutineImpl.call(this, resultContinuation);
|
|
753
753
|
}
|
|
754
|
-
protoOf(AbstractReteNode$removeAllLazily$slambda).
|
|
755
|
-
var tmp = this.
|
|
754
|
+
protoOf(AbstractReteNode$removeAllLazily$slambda).ks = function ($this$sequence, $completion) {
|
|
755
|
+
var tmp = this.ls($this$sequence, $completion);
|
|
756
756
|
tmp.r8_1 = Unit_instance;
|
|
757
757
|
tmp.s8_1 = null;
|
|
758
758
|
return tmp.x8();
|
|
759
759
|
};
|
|
760
760
|
protoOf(AbstractReteNode$removeAllLazily$slambda).o9 = function (p1, $completion) {
|
|
761
|
-
return this.
|
|
761
|
+
return this.ks(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
762
762
|
};
|
|
763
763
|
protoOf(AbstractReteNode$removeAllLazily$slambda).x8 = function () {
|
|
764
764
|
var suspendResult = this.r8_1;
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
it.x1p();
|
|
783
783
|
this.w1p_1.l3();
|
|
784
784
|
this.p8_1 = 2;
|
|
785
|
-
suspendResult = this.v1p_1.
|
|
785
|
+
suspendResult = this.v1p_1.se(it, this);
|
|
786
786
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
787
787
|
return suspendResult;
|
|
788
788
|
}
|
|
@@ -814,7 +814,7 @@
|
|
|
814
814
|
}
|
|
815
815
|
while (true);
|
|
816
816
|
};
|
|
817
|
-
protoOf(AbstractReteNode$removeAllLazily$slambda).
|
|
817
|
+
protoOf(AbstractReteNode$removeAllLazily$slambda).ls = function ($this$sequence, completion) {
|
|
818
818
|
var i = new AbstractReteNode$removeAllLazily$slambda(this.s1p_1, this.t1p_1, this.u1p_1, completion);
|
|
819
819
|
i.v1p_1 = $this$sequence;
|
|
820
820
|
return i;
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
function AbstractReteNode$removeAllLazily$slambda_0($source, this$0, $clause, resultContinuation) {
|
|
823
823
|
var i = new AbstractReteNode$removeAllLazily$slambda($source, this$0, $clause, resultContinuation);
|
|
824
824
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
825
|
-
return i.
|
|
825
|
+
return i.ks($this$sequence, $completion);
|
|
826
826
|
}, 1);
|
|
827
827
|
}
|
|
828
828
|
function AbstractReteNode(unificator) {
|
|
@@ -838,13 +838,13 @@
|
|
|
838
838
|
return constructCallableReference(function (p0, p1) {
|
|
839
839
|
p0.b1q(p1);
|
|
840
840
|
return Unit_instance;
|
|
841
|
-
}, 2, 0,
|
|
841
|
+
}, 2, 0, 33, 'assertA');
|
|
842
842
|
}
|
|
843
843
|
function ReteNode$assertZ$ref() {
|
|
844
844
|
return constructCallableReference(function (p0, p1) {
|
|
845
845
|
p0.c1q(p1);
|
|
846
846
|
return Unit_instance;
|
|
847
|
-
}, 2, 0,
|
|
847
|
+
}, 2, 0, 34, 'assertZ');
|
|
848
848
|
}
|
|
849
849
|
function Companion_1() {
|
|
850
850
|
}
|
|
@@ -883,13 +883,13 @@
|
|
|
883
883
|
this.p8_1 = 1;
|
|
884
884
|
continue $sm;
|
|
885
885
|
case 1:
|
|
886
|
-
if (!this.p1q_1.
|
|
886
|
+
if (!this.p1q_1.dx()) {
|
|
887
887
|
this.p8_1 = 3;
|
|
888
888
|
continue $sm;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
this.p8_1 = 2;
|
|
892
|
-
suspendResult = this.o1q_1.
|
|
892
|
+
suspendResult = this.o1q_1.se(this.p1q_1, this);
|
|
893
893
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
894
|
return suspendResult;
|
|
895
895
|
}
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
continue $sm;
|
|
902
902
|
case 3:
|
|
903
903
|
this.p8_1 = 4;
|
|
904
|
-
suspendResult = this.o1q_1.
|
|
904
|
+
suspendResult = this.o1q_1.se(this.p1q_1, this);
|
|
905
905
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
906
906
|
return suspendResult;
|
|
907
907
|
}
|
|
@@ -938,11 +938,11 @@
|
|
|
938
938
|
}
|
|
939
939
|
protoOf(Utils).s1q = function (_this__u8e3s4, nestingLevel) {
|
|
940
940
|
// Inline function 'kotlin.let' call
|
|
941
|
-
return takeFirstAfterSkipping(firstArguments(this, _this__u8e3s4), nestingLevel).castToStruct().
|
|
941
|
+
return takeFirstAfterSkipping(firstArguments(this, _this__u8e3s4), nestingLevel).castToStruct().rw();
|
|
942
942
|
};
|
|
943
943
|
protoOf(Utils).t1q = function (_this__u8e3s4, nestingLevel) {
|
|
944
944
|
// Inline function 'kotlin.let' call
|
|
945
|
-
return takeFirstAfterSkipping(firstArguments(this, _this__u8e3s4), nestingLevel).castToStruct().
|
|
945
|
+
return takeFirstAfterSkipping(firstArguments(this, _this__u8e3s4), nestingLevel).castToStruct().xw();
|
|
946
946
|
};
|
|
947
947
|
protoOf(Utils).u1q = function (_this__u8e3s4, nestingLevel) {
|
|
948
948
|
return takeFirstAfterSkipping(firstArguments(this, _this__u8e3s4), nestingLevel);
|
|
@@ -975,7 +975,7 @@
|
|
|
975
975
|
return this.c1r(asSequence(iterable));
|
|
976
976
|
};
|
|
977
977
|
protoOf(Utils).e1r = function (a, b) {
|
|
978
|
-
return a == null && b == null ? null : a == null ? b : b == null ? a : a.
|
|
978
|
+
return a == null && b == null ? null : a == null ? b : b == null ? a : a.rt(b) < 0 ? a : b;
|
|
979
979
|
};
|
|
980
980
|
var Utils_instance;
|
|
981
981
|
function Utils_getInstance() {
|
|
@@ -985,8 +985,8 @@
|
|
|
985
985
|
this.g1r_1 = $indexedClause;
|
|
986
986
|
this.f1r_1 = listOf($traversed.slice());
|
|
987
987
|
}
|
|
988
|
-
protoOf(IndexedClause$Companion$wrap$1).
|
|
989
|
-
return this.g1r_1.
|
|
988
|
+
protoOf(IndexedClause$Companion$wrap$1).vr = function () {
|
|
989
|
+
return this.g1r_1.vr();
|
|
990
990
|
};
|
|
991
991
|
protoOf(IndexedClause$Companion$wrap$1).f1 = function () {
|
|
992
992
|
return this.g1r_1.f1();
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
protoOf(IndexedClause$Companion$wrap$1).d = function (other) {
|
|
1006
|
-
return this.
|
|
1006
|
+
return this.rt((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1007
1007
|
};
|
|
1008
1008
|
function Companion_2() {
|
|
1009
1009
|
}
|
|
@@ -1011,10 +1011,10 @@
|
|
|
1011
1011
|
return new IndexedClause$Companion$wrap$1(traversed, indexedClause);
|
|
1012
1012
|
};
|
|
1013
1013
|
protoOf(Companion_2).k1r = function (index, clause, traversed) {
|
|
1014
|
-
return this.j1r(Companion_instance_0.
|
|
1014
|
+
return this.j1r(Companion_instance_0.qt(index, clause), traversed.slice());
|
|
1015
1015
|
};
|
|
1016
1016
|
protoOf(Companion_2).l1r = function (index, clause, traversed) {
|
|
1017
|
-
var tmp = Companion_instance_0.
|
|
1017
|
+
var tmp = Companion_instance_0.qt(index, clause);
|
|
1018
1018
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1019
1019
|
var tmp$ret$0 = copyToArray(traversed);
|
|
1020
1020
|
return this.j1r(tmp, tmp$ret$0.slice());
|
|
@@ -1029,8 +1029,8 @@
|
|
|
1029
1029
|
this.m1r_1 = $indexed;
|
|
1030
1030
|
this.n1r_1 = $index;
|
|
1031
1031
|
}
|
|
1032
|
-
protoOf(SituatedIndexedClause$Companion$of$1).
|
|
1033
|
-
return this.m1r_1.
|
|
1032
|
+
protoOf(SituatedIndexedClause$Companion$of$1).vr = function () {
|
|
1033
|
+
return this.m1r_1.vr();
|
|
1034
1034
|
};
|
|
1035
1035
|
protoOf(SituatedIndexedClause$Companion$of$1).f1 = function () {
|
|
1036
1036
|
return this.m1r_1.f1();
|
|
@@ -1050,12 +1050,12 @@
|
|
|
1050
1050
|
return true;
|
|
1051
1051
|
if (!(!(other == null) ? isInterface(other, SituatedIndexedClause) : false))
|
|
1052
1052
|
return false;
|
|
1053
|
-
if (!(this.
|
|
1053
|
+
if (!(this.vr() === other.vr()))
|
|
1054
1054
|
return false;
|
|
1055
1055
|
return true;
|
|
1056
1056
|
};
|
|
1057
1057
|
protoOf(SituatedIndexedClause$Companion$of$1).d = function (other) {
|
|
1058
|
-
return this.
|
|
1058
|
+
return this.rt((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1059
1059
|
};
|
|
1060
1060
|
function Companion_3() {
|
|
1061
1061
|
}
|
|
@@ -1070,8 +1070,8 @@
|
|
|
1070
1070
|
}
|
|
1071
1071
|
function SituatedIndexedClause$compareTo$ref() {
|
|
1072
1072
|
return constructCallableReference(function (p0, p1) {
|
|
1073
|
-
return p0.
|
|
1074
|
-
}, 2, 0,
|
|
1073
|
+
return p0.rt(p1);
|
|
1074
|
+
}, 2, 0, 35, 'compareTo');
|
|
1075
1075
|
}
|
|
1076
1076
|
function AbstractIndexingLeaf(unificator) {
|
|
1077
1077
|
AbstractReteNode.call(this, unificator);
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
if (actualIndex === -1) {
|
|
1119
1119
|
tmp = null;
|
|
1120
1120
|
} else {
|
|
1121
|
-
tmp = index.
|
|
1121
|
+
tmp = index.t(actualIndex);
|
|
1122
1122
|
}
|
|
1123
1123
|
return tmp;
|
|
1124
1124
|
}
|
|
@@ -1127,7 +1127,7 @@
|
|
|
1127
1127
|
return map(tmp, AtomIndex$extractGlobalSequence$lambda);
|
|
1128
1128
|
}
|
|
1129
1129
|
function nestedFirstArgument($this, $receiver) {
|
|
1130
|
-
return Utils_instance.u1q(ensureNotNull($receiver.
|
|
1130
|
+
return Utils_instance.u1q(ensureNotNull($receiver.dz()), $this.y1r_1 + 1 | 0);
|
|
1131
1131
|
}
|
|
1132
1132
|
function asInnerAtom($this, $receiver) {
|
|
1133
1133
|
return nestedFirstArgument($this, $receiver).castToAtom();
|
|
@@ -1220,7 +1220,7 @@
|
|
|
1220
1220
|
};
|
|
1221
1221
|
protoOf(AtomIndex).d1o = function (clause) {
|
|
1222
1222
|
var tmp;
|
|
1223
|
-
if (nestedFirstArgument(this, clause).
|
|
1223
|
+
if (nestedFirstArgument(this, clause).sw()) {
|
|
1224
1224
|
var tmp0_safe_receiver = this.z1r_1.j2(asInnerAtom(this, clause));
|
|
1225
1225
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : asSequence(tmp0_safe_receiver);
|
|
1226
1226
|
var tmp_0;
|
|
@@ -1282,7 +1282,7 @@
|
|
|
1282
1282
|
};
|
|
1283
1283
|
protoOf(AtomIndex).s1r = function (clause) {
|
|
1284
1284
|
var tmp;
|
|
1285
|
-
if (nestedFirstArgument(this, clause).
|
|
1285
|
+
if (nestedFirstArgument(this, clause).sw()) {
|
|
1286
1286
|
// Inline function 'kotlin.let' call
|
|
1287
1287
|
var it = this.z1r_1.j2(asInnerAtom(this, clause));
|
|
1288
1288
|
var tmp_0;
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
};
|
|
1300
1300
|
protoOf(AtomIndex).t1r = function (clause) {
|
|
1301
1301
|
var tmp;
|
|
1302
|
-
if (nestedFirstArgument(this, clause).
|
|
1302
|
+
if (nestedFirstArgument(this, clause).sw()) {
|
|
1303
1303
|
var tmp0_safe_receiver = this.z1r_1.j2(asInnerAtom(this, clause));
|
|
1304
1304
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : asSequence(tmp0_safe_receiver);
|
|
1305
1305
|
var tmp_0;
|
|
@@ -1320,7 +1320,7 @@
|
|
|
1320
1320
|
};
|
|
1321
1321
|
protoOf(AtomIndex).u1r = function (clause) {
|
|
1322
1322
|
var tmp;
|
|
1323
|
-
if (nestedFirstArgument(this, clause).
|
|
1323
|
+
if (nestedFirstArgument(this, clause).sw()) {
|
|
1324
1324
|
var partialIndex = this.z1r_1.j2(asInnerAtom(this, clause));
|
|
1325
1325
|
tmp = partialIndex == null ? emptySequence() : this.a1q(partialIndex, clause);
|
|
1326
1326
|
} else {
|
|
@@ -1389,13 +1389,13 @@
|
|
|
1389
1389
|
return tmp;
|
|
1390
1390
|
}
|
|
1391
1391
|
function nestedFunctor($this, $receiver) {
|
|
1392
|
-
return Utils_instance.t1q(ensureNotNull($receiver.
|
|
1392
|
+
return Utils_instance.t1q(ensureNotNull($receiver.dz()), $this.c1s_1);
|
|
1393
1393
|
}
|
|
1394
1394
|
function nestedFunctor_0($this, $receiver) {
|
|
1395
|
-
return Utils_instance.t1q(ensureNotNull($receiver.z1p().
|
|
1395
|
+
return Utils_instance.t1q(ensureNotNull($receiver.z1p().dz()), $this.c1s_1);
|
|
1396
1396
|
}
|
|
1397
1397
|
function isGlobal($this, $receiver) {
|
|
1398
|
-
return Utils_instance.u1q(ensureNotNull($receiver.
|
|
1398
|
+
return Utils_instance.u1q(ensureNotNull($receiver.dz()), $this.c1s_1).tx();
|
|
1399
1399
|
}
|
|
1400
1400
|
function regenerateCache($this) {
|
|
1401
1401
|
var tmp;
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
return constructCallableReference(function () {
|
|
1433
1433
|
var tmp0 = p0;
|
|
1434
1434
|
return regenerateCache(tmp0);
|
|
1435
|
-
}, 0, 0,
|
|
1435
|
+
}, 0, 0, 36, 'regenerateCache', [p0]);
|
|
1436
1436
|
}
|
|
1437
1437
|
function CompoundIndex$_get_size_$lambda_91vt0k(it) {
|
|
1438
1438
|
return it.s();
|
|
@@ -1462,7 +1462,7 @@
|
|
|
1462
1462
|
tmp.d1s_1 = LinkedHashMap_init_$Create$();
|
|
1463
1463
|
var tmp_0 = this;
|
|
1464
1464
|
var tmp_1 = Companion_instance_1;
|
|
1465
|
-
tmp_0.e1s_1 = tmp_1.
|
|
1465
|
+
tmp_0.e1s_1 = tmp_1.gr(CompoundIndex$regenerateCache$ref(this));
|
|
1466
1466
|
}
|
|
1467
1467
|
protoOf(CompoundIndex).s = function () {
|
|
1468
1468
|
var tmp = asSequence(this.d1s_1.l2());
|
|
@@ -1676,7 +1676,7 @@
|
|
|
1676
1676
|
return tmp;
|
|
1677
1677
|
};
|
|
1678
1678
|
protoOf(CompoundIndex).e1q = function () {
|
|
1679
|
-
this.e1s_1.
|
|
1679
|
+
this.e1s_1.ir();
|
|
1680
1680
|
};
|
|
1681
1681
|
function DirectiveIndex$retractFirst$lambda(it) {
|
|
1682
1682
|
return it.z1p();
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
if (actualIndex === -1) {
|
|
1794
1794
|
tmp = null;
|
|
1795
1795
|
} else {
|
|
1796
|
-
tmp = index.
|
|
1796
|
+
tmp = index.t(actualIndex);
|
|
1797
1797
|
}
|
|
1798
1798
|
return tmp;
|
|
1799
1799
|
}
|
|
@@ -1802,7 +1802,7 @@
|
|
|
1802
1802
|
return map(tmp, NumericIndex$extractGlobalSequence$lambda);
|
|
1803
1803
|
}
|
|
1804
1804
|
function nestedFirstArgument_0($this, $receiver) {
|
|
1805
|
-
return Utils_instance.u1q(ensureNotNull($receiver.
|
|
1805
|
+
return Utils_instance.u1q(ensureNotNull($receiver.dz()), $this.k1s_1 + 1 | 0);
|
|
1806
1806
|
}
|
|
1807
1807
|
function asInnerNumeric($this, $receiver) {
|
|
1808
1808
|
return nestedFirstArgument_0($this, $receiver).castToNumeric();
|
|
@@ -1895,7 +1895,7 @@
|
|
|
1895
1895
|
};
|
|
1896
1896
|
protoOf(NumericIndex).d1o = function (clause) {
|
|
1897
1897
|
var tmp;
|
|
1898
|
-
if (nestedFirstArgument_0(this, clause).
|
|
1898
|
+
if (nestedFirstArgument_0(this, clause).xx()) {
|
|
1899
1899
|
var tmp0_safe_receiver = this.l1s_1.j2(asInnerNumeric(this, clause));
|
|
1900
1900
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : asSequence(tmp0_safe_receiver);
|
|
1901
1901
|
var tmp_0;
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
tmp.l(Companion_instance_8.q1r(clause.i1r(this), this));
|
|
1957
1957
|
};
|
|
1958
1958
|
protoOf(NumericIndex).s1r = function (clause) {
|
|
1959
|
-
if (nestedFirstArgument_0(this, clause).
|
|
1959
|
+
if (nestedFirstArgument_0(this, clause).xx()) {
|
|
1960
1960
|
// Inline function 'kotlin.let' call
|
|
1961
1961
|
var it = this.l1s_1.j2(asInnerNumeric(this, clause));
|
|
1962
1962
|
var tmp;
|
|
@@ -1972,7 +1972,7 @@
|
|
|
1972
1972
|
};
|
|
1973
1973
|
protoOf(NumericIndex).t1r = function (clause) {
|
|
1974
1974
|
var tmp;
|
|
1975
|
-
if (nestedFirstArgument_0(this, clause).
|
|
1975
|
+
if (nestedFirstArgument_0(this, clause).xx()) {
|
|
1976
1976
|
var tmp0_safe_receiver = this.l1s_1.j2(asInnerNumeric(this, clause));
|
|
1977
1977
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : asSequence(tmp0_safe_receiver);
|
|
1978
1978
|
var tmp_0;
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
};
|
|
1994
1994
|
protoOf(NumericIndex).u1r = function (clause) {
|
|
1995
1995
|
var tmp;
|
|
1996
|
-
if (nestedFirstArgument_0(this, clause).
|
|
1996
|
+
if (nestedFirstArgument_0(this, clause).xx()) {
|
|
1997
1997
|
var partialIndex = this.l1s_1.j2(asInnerNumeric(this, clause));
|
|
1998
1998
|
tmp = partialIndex == null ? emptySequence() : buffered(this.a1q(partialIndex, clause));
|
|
1999
1999
|
} else {
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
if (actualIndex === -1) {
|
|
2038
2038
|
tmp = null;
|
|
2039
2039
|
} else {
|
|
2040
|
-
tmp = index.
|
|
2040
|
+
tmp = index.t(actualIndex);
|
|
2041
2041
|
}
|
|
2042
2042
|
return tmp;
|
|
2043
2043
|
}
|
|
@@ -2176,20 +2176,20 @@
|
|
|
2176
2176
|
return dequeOf_0(tmp);
|
|
2177
2177
|
}
|
|
2178
2178
|
function nestedFirstArgument_1($this, $receiver) {
|
|
2179
|
-
return Utils_instance.u1q(ensureNotNull($receiver.
|
|
2179
|
+
return Utils_instance.u1q(ensureNotNull($receiver.dz()), $this.a1t_1 + 1 | 0);
|
|
2180
2180
|
}
|
|
2181
2181
|
function assertByFirstParameter($this, clause) {
|
|
2182
2182
|
var innerFirst = nestedFirstArgument_1($this, clause.z1p());
|
|
2183
|
-
return innerFirst.
|
|
2183
|
+
return innerFirst.xx() ? $this.b1t_1 : innerFirst.sw() ? $this.c1t_1 : innerFirst.tx() ? $this.d1t_1 : $this.e1t_1;
|
|
2184
2184
|
}
|
|
2185
2185
|
function isGlobal_0($this, $receiver) {
|
|
2186
|
-
return Utils_instance.u1q(ensureNotNull($receiver.
|
|
2186
|
+
return Utils_instance.u1q(ensureNotNull($receiver.dz()), $this.a1t_1 + 1 | 0).tx();
|
|
2187
2187
|
}
|
|
2188
2188
|
function FamilyArityReteNode$regenerateCache$ref(p0) {
|
|
2189
2189
|
return constructCallableReference(function () {
|
|
2190
2190
|
var tmp0 = p0;
|
|
2191
2191
|
return regenerateCache_0(tmp0);
|
|
2192
|
-
}, 0, 0,
|
|
2192
|
+
}, 0, 0, 37, 'regenerateCache', [p0]);
|
|
2193
2193
|
}
|
|
2194
2194
|
function FamilyArityReteNode$_get_size_$lambda_sxz8zo(it) {
|
|
2195
2195
|
return it.s();
|
|
@@ -2222,7 +2222,7 @@
|
|
|
2222
2222
|
this.e1t_1 = new CompoundIndex(unificator, this.z1s_1, this.a1t_1 + 1 | 0);
|
|
2223
2223
|
var tmp = this;
|
|
2224
2224
|
var tmp_0 = Companion_instance_1;
|
|
2225
|
-
tmp.f1t_1 = tmp_0.
|
|
2225
|
+
tmp.f1t_1 = tmp_0.gr(FamilyArityReteNode$regenerateCache$ref(this));
|
|
2226
2226
|
}
|
|
2227
2227
|
protoOf(FamilyArityReteNode).l1o = function (clause) {
|
|
2228
2228
|
var tmp;
|
|
@@ -2307,11 +2307,11 @@
|
|
|
2307
2307
|
protoOf(FamilyArityReteNode).l1t = function (clause) {
|
|
2308
2308
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2309
2309
|
var tmp;
|
|
2310
|
-
if (innerFirst.
|
|
2310
|
+
if (innerFirst.xx()) {
|
|
2311
2311
|
tmp = Utils_instance.v1q([this.d1t_1.u1r(clause), this.b1t_1.u1r(clause)]);
|
|
2312
|
-
} else if (innerFirst.
|
|
2312
|
+
} else if (innerFirst.sw()) {
|
|
2313
2313
|
tmp = Utils_instance.v1q([this.d1t_1.u1r(clause), this.c1t_1.u1r(clause)]);
|
|
2314
|
-
} else if (innerFirst.
|
|
2314
|
+
} else if (innerFirst.tx()) {
|
|
2315
2315
|
tmp = Utils_instance.v1q([this.d1t_1.u1r(clause), this.b1t_1.u1r(clause), this.c1t_1.u1r(clause), this.e1t_1.u1r(clause)]);
|
|
2316
2316
|
} else {
|
|
2317
2317
|
tmp = Utils_instance.v1q([this.d1t_1.u1r(clause), this.e1t_1.u1r(clause)]);
|
|
@@ -2320,26 +2320,26 @@
|
|
|
2320
2320
|
};
|
|
2321
2321
|
protoOf(FamilyArityReteNode).k1t = function (clause) {
|
|
2322
2322
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2323
|
-
return innerFirst.
|
|
2323
|
+
return innerFirst.xx() ? Utils_instance.y1q([this.d1t_1.u1r(clause), this.b1t_1.u1r(clause)]) : innerFirst.sw() ? Utils_instance.y1q([this.d1t_1.u1r(clause), this.c1t_1.u1r(clause)]) : innerFirst.tx() ? Utils_instance.y1q([this.d1t_1.u1r(clause), this.b1t_1.u1r(clause), this.c1t_1.u1r(clause), this.e1t_1.u1r(clause)]) : Utils_instance.y1q([this.d1t_1.u1r(clause), this.e1t_1.u1r(clause)]);
|
|
2324
2324
|
};
|
|
2325
2325
|
protoOf(FamilyArityReteNode).j1t = function (clause) {
|
|
2326
2326
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2327
|
-
return innerFirst.
|
|
2327
|
+
return innerFirst.xx() ? Utils_instance.v1q([this.d1t_1.t1r(clause), this.b1t_1.t1r(clause)]) : innerFirst.sw() ? Utils_instance.v1q([this.d1t_1.t1r(clause), this.c1t_1.t1r(clause)]) : innerFirst.tx() ? Utils_instance.v1q([this.d1t_1.t1r(clause), this.b1t_1.t1r(clause), this.c1t_1.t1r(clause), this.e1t_1.t1r(clause)]) : Utils_instance.v1q([this.d1t_1.t1r(clause), this.e1t_1.t1r(clause)]);
|
|
2328
2328
|
};
|
|
2329
2329
|
protoOf(FamilyArityReteNode).i1t = function (clause) {
|
|
2330
2330
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2331
|
-
return innerFirst.
|
|
2331
|
+
return innerFirst.xx() ? Utils_instance.y1q([this.d1t_1.t1r(clause), this.b1t_1.t1r(clause)]) : innerFirst.sw() ? Utils_instance.y1q([this.d1t_1.t1r(clause), this.c1t_1.t1r(clause)]) : innerFirst.tx() ? Utils_instance.y1q([this.d1t_1.t1r(clause), this.b1t_1.t1r(clause), this.c1t_1.t1r(clause), this.e1t_1.t1r(clause)]) : Utils_instance.y1q([this.d1t_1.t1r(clause), this.e1t_1.t1r(clause)]);
|
|
2332
2332
|
};
|
|
2333
2333
|
protoOf(FamilyArityReteNode).g1t = function (clause) {
|
|
2334
2334
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2335
2335
|
var tmp;
|
|
2336
|
-
if (innerFirst.
|
|
2336
|
+
if (innerFirst.xx()) {
|
|
2337
2337
|
var tmp0_elvis_lhs = this.d1t_1.s1r(clause);
|
|
2338
2338
|
tmp = tmp0_elvis_lhs == null ? this.b1t_1.s1r(clause) : tmp0_elvis_lhs;
|
|
2339
|
-
} else if (innerFirst.
|
|
2339
|
+
} else if (innerFirst.sw()) {
|
|
2340
2340
|
var tmp1_elvis_lhs = this.d1t_1.s1r(clause);
|
|
2341
2341
|
tmp = tmp1_elvis_lhs == null ? this.c1t_1.s1r(clause) : tmp1_elvis_lhs;
|
|
2342
|
-
} else if (innerFirst.
|
|
2342
|
+
} else if (innerFirst.tx()) {
|
|
2343
2343
|
var tmp2_elvis_lhs = this.d1t_1.s1r(clause);
|
|
2344
2344
|
var tmp3_elvis_lhs = tmp2_elvis_lhs == null ? this.b1t_1.s1r(clause) : tmp2_elvis_lhs;
|
|
2345
2345
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? this.c1t_1.s1r(clause) : tmp3_elvis_lhs;
|
|
@@ -2353,11 +2353,11 @@
|
|
|
2353
2353
|
protoOf(FamilyArityReteNode).h1t = function (clause) {
|
|
2354
2354
|
var innerFirst = nestedFirstArgument_1(this, clause);
|
|
2355
2355
|
var tmp;
|
|
2356
|
-
if (innerFirst.
|
|
2356
|
+
if (innerFirst.xx()) {
|
|
2357
2357
|
tmp = Utils_instance.e1r(this.b1t_1.s1r(clause), this.d1t_1.s1r(clause));
|
|
2358
|
-
} else if (innerFirst.
|
|
2358
|
+
} else if (innerFirst.sw()) {
|
|
2359
2359
|
tmp = Utils_instance.e1r(this.c1t_1.s1r(clause), this.d1t_1.s1r(clause));
|
|
2360
|
-
} else if (innerFirst.
|
|
2360
|
+
} else if (innerFirst.tx()) {
|
|
2361
2361
|
tmp = Utils_instance.e1r(Utils_instance.e1r(this.b1t_1.s1r(clause), this.c1t_1.s1r(clause)), Utils_instance.e1r(this.d1t_1.s1r(clause), this.e1t_1.s1r(clause)));
|
|
2362
2362
|
} else {
|
|
2363
2363
|
tmp = Utils_instance.e1r(this.d1t_1.s1r(clause), this.e1t_1.s1r(clause));
|
|
@@ -2365,14 +2365,14 @@
|
|
|
2365
2365
|
return tmp;
|
|
2366
2366
|
};
|
|
2367
2367
|
protoOf(FamilyArityReteNode).e1q = function () {
|
|
2368
|
-
this.f1t_1.
|
|
2368
|
+
this.f1t_1.ir();
|
|
2369
2369
|
};
|
|
2370
2370
|
function isGlobal_1($this, $receiver) {
|
|
2371
|
-
return $receiver.
|
|
2371
|
+
return $receiver.fx() && Utils_instance.u1q($receiver.castToRule().dz(), $this.o1t_1).tx();
|
|
2372
2372
|
}
|
|
2373
2373
|
function nestedArity($this, $receiver) {
|
|
2374
2374
|
var tmp0_safe_receiver = $receiver.asRule();
|
|
2375
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2375
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.dz();
|
|
2376
2376
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : Utils_instance.s1q(tmp1_safe_receiver, $this.o1t_1);
|
|
2377
2377
|
var tmp;
|
|
2378
2378
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2385,7 +2385,7 @@
|
|
|
2385
2385
|
return tmp;
|
|
2386
2386
|
}
|
|
2387
2387
|
function nestedArity_0($this, $receiver) {
|
|
2388
|
-
return Utils_instance.s1q(ensureNotNull($receiver.z1p().
|
|
2388
|
+
return Utils_instance.s1q(ensureNotNull($receiver.z1p().dz()), $this.o1t_1);
|
|
2389
2389
|
}
|
|
2390
2390
|
function regenerateCache_1($this) {
|
|
2391
2391
|
var tmp;
|
|
@@ -2422,7 +2422,7 @@
|
|
|
2422
2422
|
return constructCallableReference(function () {
|
|
2423
2423
|
var tmp0 = p0;
|
|
2424
2424
|
return regenerateCache_1(tmp0);
|
|
2425
|
-
}, 0, 0,
|
|
2425
|
+
}, 0, 0, 38, 'regenerateCache', [p0]);
|
|
2426
2426
|
}
|
|
2427
2427
|
function FunctorIndexingNode$_get_size_$lambda_vcufvm(it) {
|
|
2428
2428
|
return it.s();
|
|
@@ -2441,7 +2441,7 @@
|
|
|
2441
2441
|
tmp.p1t_1 = LinkedHashMap_init_$Create$();
|
|
2442
2442
|
var tmp_0 = this;
|
|
2443
2443
|
var tmp_1 = Companion_instance_1;
|
|
2444
|
-
tmp_0.q1t_1 = tmp_1.
|
|
2444
|
+
tmp_0.q1t_1 = tmp_1.gr(FunctorIndexingNode$regenerateCache$ref(this));
|
|
2445
2445
|
}
|
|
2446
2446
|
protoOf(FunctorIndexingNode).s = function () {
|
|
2447
2447
|
var tmp = asSequence(this.p1t_1.l2());
|
|
@@ -2646,7 +2646,7 @@
|
|
|
2646
2646
|
return tmp;
|
|
2647
2647
|
};
|
|
2648
2648
|
protoOf(FunctorIndexingNode).e1q = function () {
|
|
2649
|
-
this.q1t_1.
|
|
2649
|
+
this.q1t_1.ir();
|
|
2650
2650
|
};
|
|
2651
2651
|
function FunctorNode(unificator) {
|
|
2652
2652
|
AbstractReteNode.call(this, unificator);
|
|
@@ -2679,7 +2679,7 @@
|
|
|
2679
2679
|
return constructCallableReference(function () {
|
|
2680
2680
|
var tmp0 = p0;
|
|
2681
2681
|
return regenerateCache_2(tmp0);
|
|
2682
|
-
}, 0, 0,
|
|
2682
|
+
}, 0, 0, 39, 'regenerateCache', [p0]);
|
|
2683
2683
|
}
|
|
2684
2684
|
function RootNode$_get_directives_$lambda_9lfp1g(it) {
|
|
2685
2685
|
return it.f1().castToDirective();
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
this.s1t_1 = isOrdered;
|
|
2713
2713
|
var tmp = this;
|
|
2714
2714
|
var tmp_0 = Companion_instance_1;
|
|
2715
|
-
tmp.t1t_1 = tmp_0.
|
|
2715
|
+
tmp.t1t_1 = tmp_0.gr(RootNode$regenerateCache$ref(this));
|
|
2716
2716
|
this.u1t_1 = new RuleNode(this.r1t_1, this.s1t_1);
|
|
2717
2717
|
this.v1t_1 = new DirectiveIndex(this.r1t_1, this.s1t_1);
|
|
2718
2718
|
this.w1t_1 = 0n;
|
|
@@ -2749,7 +2749,7 @@
|
|
|
2749
2749
|
};
|
|
2750
2750
|
protoOf(RootNode).d1o = function (clause) {
|
|
2751
2751
|
var tmp;
|
|
2752
|
-
if (clause.
|
|
2752
|
+
if (clause.gx()) {
|
|
2753
2753
|
tmp = this.v1t_1.d1o(clause);
|
|
2754
2754
|
} else {
|
|
2755
2755
|
tmp = this.u1t_1.d1o(clause);
|
|
@@ -2758,7 +2758,7 @@
|
|
|
2758
2758
|
};
|
|
2759
2759
|
protoOf(RootNode).l1o = function (clause) {
|
|
2760
2760
|
var tmp;
|
|
2761
|
-
if (clause.
|
|
2761
|
+
if (clause.gx()) {
|
|
2762
2762
|
tmp = this.v1t_1.l1o(clause);
|
|
2763
2763
|
} else {
|
|
2764
2764
|
tmp = this.u1t_1.l1o(clause);
|
|
@@ -2767,7 +2767,7 @@
|
|
|
2767
2767
|
};
|
|
2768
2768
|
protoOf(RootNode).n1o = function (clause) {
|
|
2769
2769
|
var tmp;
|
|
2770
|
-
if (clause.
|
|
2770
|
+
if (clause.gx()) {
|
|
2771
2771
|
tmp = this.v1t_1.n1o(clause);
|
|
2772
2772
|
} else {
|
|
2773
2773
|
tmp = this.u1t_1.n1o(clause);
|
|
@@ -2780,8 +2780,8 @@
|
|
|
2780
2780
|
protoOf(RootNode).h1p = function (clause) {
|
|
2781
2781
|
var indexed = assignLowerIndex(this, clause);
|
|
2782
2782
|
if (this.s1t_1) {
|
|
2783
|
-
this.t1t_1.
|
|
2784
|
-
if (clause.
|
|
2783
|
+
this.t1t_1.jr(RootNode$assertA$lambda(clause));
|
|
2784
|
+
if (clause.gx()) {
|
|
2785
2785
|
this.v1t_1.b1q(indexed);
|
|
2786
2786
|
} else {
|
|
2787
2787
|
this.u1t_1.b1q(indexed);
|
|
@@ -2792,8 +2792,8 @@
|
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(RootNode).i1o = function (clause) {
|
|
2794
2794
|
var indexed = assignHigherIndex(this, clause);
|
|
2795
|
-
this.t1t_1.
|
|
2796
|
-
if (clause.
|
|
2795
|
+
this.t1t_1.jr(RootNode$assertZ$lambda(clause));
|
|
2796
|
+
if (clause.gx()) {
|
|
2797
2797
|
this.v1t_1.c1q(indexed);
|
|
2798
2798
|
} else {
|
|
2799
2799
|
this.u1t_1.c1q(indexed);
|
|
@@ -2803,10 +2803,10 @@
|
|
|
2803
2803
|
return asSequence(this.t1t_1.f1());
|
|
2804
2804
|
};
|
|
2805
2805
|
protoOf(RootNode).e1q = function () {
|
|
2806
|
-
this.t1t_1.
|
|
2806
|
+
this.t1t_1.ir();
|
|
2807
2807
|
};
|
|
2808
2808
|
function nestedFunctor_1($this, $receiver) {
|
|
2809
|
-
return Utils_instance.t1q(ensureNotNull($receiver.
|
|
2809
|
+
return Utils_instance.t1q(ensureNotNull($receiver.dz()), 0);
|
|
2810
2810
|
}
|
|
2811
2811
|
function nestedFunctor_2($this, $receiver) {
|
|
2812
2812
|
return nestedFunctor_1($this, $receiver.z1p());
|
|
@@ -2846,7 +2846,7 @@
|
|
|
2846
2846
|
return constructCallableReference(function () {
|
|
2847
2847
|
var tmp0 = p0;
|
|
2848
2848
|
return regenerateCache_3(tmp0);
|
|
2849
|
-
}, 0, 0,
|
|
2849
|
+
}, 0, 0, 40, 'regenerateCache', [p0]);
|
|
2850
2850
|
}
|
|
2851
2851
|
function RuleNode$_get_size_$lambda_xjenvf(it) {
|
|
2852
2852
|
return it.s();
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
tmp.a1u_1 = LinkedHashMap_init_$Create$();
|
|
2860
2860
|
var tmp_0 = this;
|
|
2861
2861
|
var tmp_1 = Companion_instance_1;
|
|
2862
|
-
tmp_0.b1u_1 = tmp_1.
|
|
2862
|
+
tmp_0.b1u_1 = tmp_1.gr(RuleNode$regenerateCache$ref(this));
|
|
2863
2863
|
}
|
|
2864
2864
|
protoOf(RuleNode).d1o = function (clause) {
|
|
2865
2865
|
var tmp0_safe_receiver = this.a1u_1.j2(nestedFunctor_1(this, clause));
|
|
@@ -2953,14 +2953,14 @@
|
|
|
2953
2953
|
return asSequence(this.b1u_1.f1());
|
|
2954
2954
|
};
|
|
2955
2955
|
protoOf(RuleNode).e1q = function () {
|
|
2956
|
-
this.b1u_1.
|
|
2956
|
+
this.b1u_1.ir();
|
|
2957
2957
|
};
|
|
2958
2958
|
function selectArity($this, clause) {
|
|
2959
|
-
return $this.f1u_1.j2(Utils_instance.s1q(ensureNotNull(clause.
|
|
2959
|
+
return $this.f1u_1.j2(Utils_instance.s1q(ensureNotNull(clause.dz()), $this.e1u_1));
|
|
2960
2960
|
}
|
|
2961
2961
|
function chooseAssertionBranch($this, clause, op) {
|
|
2962
2962
|
// Inline function 'kotlin.let' call
|
|
2963
|
-
var it = Utils_instance.s1q(ensureNotNull(clause.z1p().
|
|
2963
|
+
var it = Utils_instance.s1q(ensureNotNull(clause.z1p().dz()), $this.e1u_1);
|
|
2964
2964
|
var tmp;
|
|
2965
2965
|
if (it === 0) {
|
|
2966
2966
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -3026,7 +3026,7 @@
|
|
|
3026
3026
|
return constructCallableReference(function () {
|
|
3027
3027
|
var tmp0 = p0;
|
|
3028
3028
|
return regenerateCache_4(tmp0);
|
|
3029
|
-
}, 0, 0,
|
|
3029
|
+
}, 0, 0, 41, 'regenerateCache', [p0]);
|
|
3030
3030
|
}
|
|
3031
3031
|
function TopLevelFunctorReteNode$_get_size_$lambda_6i36rr(it) {
|
|
3032
3032
|
return it.s();
|
|
@@ -3040,7 +3040,7 @@
|
|
|
3040
3040
|
tmp.f1u_1 = LinkedHashMap_init_$Create$();
|
|
3041
3041
|
var tmp_0 = this;
|
|
3042
3042
|
var tmp_1 = Companion_instance_1;
|
|
3043
|
-
tmp_0.g1u_1 = tmp_1.
|
|
3043
|
+
tmp_0.g1u_1 = tmp_1.gr(TopLevelFunctorReteNode$regenerateCache$ref(this));
|
|
3044
3044
|
}
|
|
3045
3045
|
protoOf(TopLevelFunctorReteNode).s = function () {
|
|
3046
3046
|
var tmp = asSequence(this.f1u_1.l2());
|
|
@@ -3106,7 +3106,7 @@
|
|
|
3106
3106
|
return asSequence(this.g1u_1.f1());
|
|
3107
3107
|
};
|
|
3108
3108
|
protoOf(TopLevelFunctorReteNode).e1q = function () {
|
|
3109
|
-
this.g1u_1.
|
|
3109
|
+
this.g1u_1.ir();
|
|
3110
3110
|
};
|
|
3111
3111
|
function ZeroArityReteNode$retractFirst$lambda(it) {
|
|
3112
3112
|
return it.z1p();
|
|
@@ -3173,7 +3173,7 @@
|
|
|
3173
3173
|
function AbstractTheory(tags) {
|
|
3174
3174
|
this.k1u_1 = tags;
|
|
3175
3175
|
}
|
|
3176
|
-
protoOf(AbstractTheory).
|
|
3176
|
+
protoOf(AbstractTheory).cu = function () {
|
|
3177
3177
|
return this.k1u_1;
|
|
3178
3178
|
};
|
|
3179
3179
|
protoOf(AbstractTheory).l1u = function () {
|
|
@@ -3215,19 +3215,19 @@
|
|
|
3215
3215
|
};
|
|
3216
3216
|
protoOf(AbstractTheory).p1u = function (indicator) {
|
|
3217
3217
|
// Inline function 'kotlin.require' call
|
|
3218
|
-
if (!indicator.
|
|
3218
|
+
if (!indicator.nz()) {
|
|
3219
3219
|
var message = 'The provided indicator is not well formed: ' + indicator.toString();
|
|
3220
3220
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3221
3221
|
}
|
|
3222
3222
|
var tmp = Companion_instance_2;
|
|
3223
3223
|
var tmp_0 = Companion_getInstance_0();
|
|
3224
|
-
var tmp_1 = ensureNotNull(indicator.
|
|
3224
|
+
var tmp_1 = ensureNotNull(indicator.g11());
|
|
3225
3225
|
// Inline function 'kotlin.collections.map' call
|
|
3226
|
-
var this_0 = numberRangeToNumber(1, ensureNotNull(indicator.
|
|
3226
|
+
var this_0 = numberRangeToNumber(1, ensureNotNull(indicator.h11()));
|
|
3227
3227
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3228
3228
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3229
|
-
var inductionVariable = this_0.
|
|
3230
|
-
var last = this_0.
|
|
3229
|
+
var inductionVariable = this_0.mi_1;
|
|
3230
|
+
var last = this_0.ni_1;
|
|
3231
3231
|
if (inductionVariable <= last)
|
|
3232
3232
|
do {
|
|
3233
3233
|
var item = inductionVariable;
|
|
@@ -3244,11 +3244,11 @@
|
|
|
3244
3244
|
};
|
|
3245
3245
|
protoOf(AbstractTheory).r1u = function (indicator) {
|
|
3246
3246
|
// Inline function 'kotlin.require' call
|
|
3247
|
-
if (!indicator.
|
|
3247
|
+
if (!indicator.nz()) {
|
|
3248
3248
|
var message = 'The provided indicator is not well formed: ' + indicator.toString();
|
|
3249
3249
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3250
3250
|
}
|
|
3251
|
-
return this.retractAllByHead(Companion_getInstance_0().template(ensureNotNull(indicator.
|
|
3251
|
+
return this.retractAllByHead(Companion_getInstance_0().template(ensureNotNull(indicator.g11()), ensureNotNull(indicator.h11()))).s1u();
|
|
3252
3252
|
};
|
|
3253
3253
|
protoOf(AbstractTheory).abolish = function (indicator) {
|
|
3254
3254
|
return this.r1u(indicator);
|
|
@@ -3383,7 +3383,7 @@
|
|
|
3383
3383
|
return this.g1v(clauses);
|
|
3384
3384
|
};
|
|
3385
3385
|
protoOf(AbstractTheory).x1u = function (clauses, tags, unificator, $super) {
|
|
3386
|
-
tags = tags === VOID ? this.
|
|
3386
|
+
tags = tags === VOID ? this.cu() : tags;
|
|
3387
3387
|
unificator = unificator === VOID ? this.v1n() : unificator;
|
|
3388
3388
|
return $super === VOID ? this.h1v(clauses, tags, unificator) : $super.h1v.call(this, clauses, tags, unificator);
|
|
3389
3389
|
};
|
|
@@ -3872,7 +3872,7 @@
|
|
|
3872
3872
|
var _iterator__ex2g4s = clauses.n();
|
|
3873
3873
|
while (_iterator__ex2g4s.q()) {
|
|
3874
3874
|
var element = _iterator__ex2g4s.r();
|
|
3875
|
-
if (!element.
|
|
3875
|
+
if (!element.nz()) {
|
|
3876
3876
|
tmp$ret$0 = false;
|
|
3877
3877
|
break $l$block;
|
|
3878
3878
|
}
|
|
@@ -3886,14 +3886,14 @@
|
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
3888
|
function TheoryUtils$actualCheck$lambda(it) {
|
|
3889
|
-
return it.
|
|
3889
|
+
return it.nz();
|
|
3890
3890
|
}
|
|
3891
3891
|
function TheoryUtils() {
|
|
3892
3892
|
}
|
|
3893
3893
|
protoOf(TheoryUtils).r1o = function (clause) {
|
|
3894
3894
|
// Inline function 'kotlin.also' call
|
|
3895
3895
|
// Inline function 'kotlin.require' call
|
|
3896
|
-
if (!clause.
|
|
3896
|
+
if (!clause.nz()) {
|
|
3897
3897
|
var message = 'ClauseDatabase can contain only well formed clauses: ' + ("this isn't " + clause.toString());
|
|
3898
3898
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3899
3899
|
}
|
|
@@ -4030,7 +4030,7 @@
|
|
|
4030
4030
|
function IndexedTheory$_get_hashCodeCache_$ref_4wtmhh() {
|
|
4031
4031
|
return constructCallableReference(function (p0) {
|
|
4032
4032
|
return _get_hashCodeCache__ny3r0q_0(p0);
|
|
4033
|
-
}, 1, 0,
|
|
4033
|
+
}, 1, 0, 42);
|
|
4034
4034
|
}
|
|
4035
4035
|
function IndexedTheory$sizeCache$delegate$lambda(this$0) {
|
|
4036
4036
|
return function () {
|
|
@@ -4040,7 +4040,7 @@
|
|
|
4040
4040
|
function IndexedTheory$_get_sizeCache_$ref_fqi1u9() {
|
|
4041
4041
|
return constructCallableReference(function (p0) {
|
|
4042
4042
|
return _get_sizeCache__6eswog(p0);
|
|
4043
|
-
}, 1, 0,
|
|
4043
|
+
}, 1, 0, 43);
|
|
4044
4044
|
}
|
|
4045
4045
|
function IndexedTheory(queue, tags) {
|
|
4046
4046
|
AbstractIndexedTheory.call(this, queue, tags);
|
|
@@ -4055,7 +4055,7 @@
|
|
|
4055
4055
|
protoOf(IndexedTheory).b1w = function (clause) {
|
|
4056
4056
|
var newTheory = Companion_instance_4.ofIterable(this.v1n(), this.f1o());
|
|
4057
4057
|
var retracted = newTheory.retrieveFirst(clause);
|
|
4058
|
-
return retracted.z1o() ? new Failure_0(this) : new Success_0(new IndexedTheory(retracted.x1o(), this.
|
|
4058
|
+
return retracted.z1o() ? new Failure_0(this) : new Success_0(new IndexedTheory(retracted.x1o(), this.cu()), ensureNotNull(retracted.f1o()));
|
|
4059
4059
|
};
|
|
4060
4060
|
protoOf(IndexedTheory).retract = function (clause) {
|
|
4061
4061
|
return this.b1w(clause);
|
|
@@ -4079,15 +4079,15 @@
|
|
|
4079
4079
|
while (_iterator__ex2g4s.q()) {
|
|
4080
4080
|
var clause = _iterator__ex2g4s.r();
|
|
4081
4081
|
var result = newTheory.u1o(clause);
|
|
4082
|
-
if (result.
|
|
4083
|
-
removed.
|
|
4082
|
+
if (result.b13()) {
|
|
4083
|
+
removed.x(ensureNotNull(result.f1o()));
|
|
4084
4084
|
}
|
|
4085
4085
|
}
|
|
4086
4086
|
var tmp;
|
|
4087
4087
|
if (removed.i()) {
|
|
4088
4088
|
tmp = new Failure_0(this);
|
|
4089
4089
|
} else {
|
|
4090
|
-
tmp = new Success_0(new IndexedTheory(newTheory, this.
|
|
4090
|
+
tmp = new Success_0(new IndexedTheory(newTheory, this.cu()), removed);
|
|
4091
4091
|
}
|
|
4092
4092
|
return tmp;
|
|
4093
4093
|
};
|
|
@@ -4097,7 +4097,7 @@
|
|
|
4097
4097
|
protoOf(IndexedTheory).n1o = function (clause) {
|
|
4098
4098
|
var newTheory = Companion_instance_4.ofIterable(this.v1n(), this.f1o());
|
|
4099
4099
|
var retracted = newTheory.m1o(clause);
|
|
4100
|
-
return retracted.z1o() ? new Failure_0(this) : new Success_0(new IndexedTheory(retracted.x1o(), this.
|
|
4100
|
+
return retracted.z1o() ? new Failure_0(this) : new Success_0(new IndexedTheory(retracted.x1o(), this.cu()), ensureNotNull(retracted.f1o()));
|
|
4101
4101
|
};
|
|
4102
4102
|
protoOf(IndexedTheory).retractAll = function (clause) {
|
|
4103
4103
|
return this.n1o(clause);
|
|
@@ -4108,9 +4108,9 @@
|
|
|
4108
4108
|
protoOf(IndexedTheory).s = function () {
|
|
4109
4109
|
return _get_sizeCache__6eswog(this);
|
|
4110
4110
|
};
|
|
4111
|
-
protoOf(IndexedTheory).
|
|
4111
|
+
protoOf(IndexedTheory).z12 = function (tags) {
|
|
4112
4112
|
var tmp;
|
|
4113
|
-
if (tags === this.
|
|
4113
|
+
if (tags === this.cu()) {
|
|
4114
4114
|
tmp = this;
|
|
4115
4115
|
} else {
|
|
4116
4116
|
tmp = new IndexedTheory(this.k1w(), tags);
|
|
@@ -4118,7 +4118,7 @@
|
|
|
4118
4118
|
return tmp;
|
|
4119
4119
|
};
|
|
4120
4120
|
protoOf(IndexedTheory).resetTags = function (tags) {
|
|
4121
|
-
return this.
|
|
4121
|
+
return this.z12(tags);
|
|
4122
4122
|
};
|
|
4123
4123
|
function ListedTheory_init_$Init$(unificator, clauses, tags, $this) {
|
|
4124
4124
|
tags = tags === VOID ? emptyMap() : tags;
|
|
@@ -4160,7 +4160,7 @@
|
|
|
4160
4160
|
function ListedTheory$_get_hashCodeCache_$ref_jbnoxj() {
|
|
4161
4161
|
return constructCallableReference(function (p0) {
|
|
4162
4162
|
return _get_hashCodeCache__ny3r0q_1(p0);
|
|
4163
|
-
}, 1, 0,
|
|
4163
|
+
}, 1, 0, 44);
|
|
4164
4164
|
}
|
|
4165
4165
|
function ListedTheory$sizeCache$delegate$lambda(this$0) {
|
|
4166
4166
|
return function () {
|
|
@@ -4170,7 +4170,7 @@
|
|
|
4170
4170
|
function ListedTheory$_get_sizeCache_$ref_3h5dr1() {
|
|
4171
4171
|
return constructCallableReference(function (p0) {
|
|
4172
4172
|
return _get_sizeCache__6eswog_0(p0);
|
|
4173
|
-
}, 1, 0,
|
|
4173
|
+
}, 1, 0, 45);
|
|
4174
4174
|
}
|
|
4175
4175
|
function ListedTheory(unificator, clauses, tags) {
|
|
4176
4176
|
AbstractListedTheory.call(this, unificator, clauses, tags);
|
|
@@ -4212,7 +4212,7 @@
|
|
|
4212
4212
|
}
|
|
4213
4213
|
}
|
|
4214
4214
|
var newTheory = destination_0;
|
|
4215
|
-
tmp = new Success_0(new ListedTheory(this.v1n(), newTheory, this.
|
|
4215
|
+
tmp = new Success_0(new ListedTheory(this.v1n(), newTheory, this.cu()), listOf_0(toBeActuallyRetracted));
|
|
4216
4216
|
}
|
|
4217
4217
|
return tmp;
|
|
4218
4218
|
};
|
|
@@ -4263,7 +4263,7 @@
|
|
|
4263
4263
|
if (removed.i()) {
|
|
4264
4264
|
tmp_0 = new Failure_0(this);
|
|
4265
4265
|
} else {
|
|
4266
|
-
tmp_0 = new Success_0(new ListedTheory(this.v1n(), residual, this.
|
|
4266
|
+
tmp_0 = new Success_0(new ListedTheory(this.v1n(), residual, this.cu()), removed);
|
|
4267
4267
|
}
|
|
4268
4268
|
return tmp_0;
|
|
4269
4269
|
};
|
|
@@ -4303,7 +4303,7 @@
|
|
|
4303
4303
|
var partitionedClauses = new Pair(first, second);
|
|
4304
4304
|
var newTheory = partitionedClauses.second;
|
|
4305
4305
|
var toBeActuallyRetracted = partitionedClauses.first;
|
|
4306
|
-
tmp = new Success_0(new ListedTheory(this.v1n(), newTheory, this.
|
|
4306
|
+
tmp = new Success_0(new ListedTheory(this.v1n(), newTheory, this.cu()), toBeActuallyRetracted);
|
|
4307
4307
|
}
|
|
4308
4308
|
return tmp;
|
|
4309
4309
|
};
|
|
@@ -4316,11 +4316,11 @@
|
|
|
4316
4316
|
protoOf(ListedTheory).s = function () {
|
|
4317
4317
|
return _get_sizeCache__6eswog_0(this);
|
|
4318
4318
|
};
|
|
4319
|
-
protoOf(ListedTheory).
|
|
4320
|
-
return tags === this.
|
|
4319
|
+
protoOf(ListedTheory).z12 = function (tags) {
|
|
4320
|
+
return tags === this.cu() ? this : new ListedTheory(this.v1n(), this.f1o(), tags);
|
|
4321
4321
|
};
|
|
4322
4322
|
protoOf(ListedTheory).resetTags = function (tags) {
|
|
4323
|
-
return this.
|
|
4323
|
+
return this.z12(tags);
|
|
4324
4324
|
};
|
|
4325
4325
|
protoOf(ListedTheory).y1u = function (theory) {
|
|
4326
4326
|
return this.a1o() ? theory.toImmutableTheory() : theory.a1o() ? this : protoOf(AbstractListedTheory).y1u.call(this, theory);
|
|
@@ -4346,7 +4346,7 @@
|
|
|
4346
4346
|
return MutableIndexedTheory_init_$Init$_0(unificator, clauses, tags, objectCreate(protoOf(MutableIndexedTheory)));
|
|
4347
4347
|
}
|
|
4348
4348
|
function toRetractResult($this, $receiver) {
|
|
4349
|
-
return $receiver.
|
|
4349
|
+
return $receiver.b13() ? new Success_0($this, ensureNotNull($receiver.f1o())) : new Failure_0($this);
|
|
4350
4350
|
}
|
|
4351
4351
|
function MutableIndexedTheory$retract$lambda(this$0) {
|
|
4352
4352
|
return function (it) {
|
|
@@ -4354,7 +4354,7 @@
|
|
|
4354
4354
|
};
|
|
4355
4355
|
}
|
|
4356
4356
|
function MutableIndexedTheory$retract$lambda_0(it) {
|
|
4357
|
-
return it.
|
|
4357
|
+
return it.b13();
|
|
4358
4358
|
}
|
|
4359
4359
|
function MutableIndexedTheory$retract$lambda_1(it) {
|
|
4360
4360
|
return asSequence(ensureNotNull(it.f1o()));
|
|
@@ -4499,11 +4499,11 @@
|
|
|
4499
4499
|
protoOf(MutableIndexedTheory).toImmutableTheory = function () {
|
|
4500
4500
|
return this.l1u();
|
|
4501
4501
|
};
|
|
4502
|
-
protoOf(MutableIndexedTheory).
|
|
4503
|
-
return tags === this.
|
|
4502
|
+
protoOf(MutableIndexedTheory).z12 = function (tags) {
|
|
4503
|
+
return tags === this.cu() ? this : new MutableIndexedTheory(this.a1x_1, tags);
|
|
4504
4504
|
};
|
|
4505
4505
|
protoOf(MutableIndexedTheory).resetTags = function (tags) {
|
|
4506
|
-
return this.
|
|
4506
|
+
return this.z12(tags);
|
|
4507
4507
|
};
|
|
4508
4508
|
protoOf(MutableIndexedTheory).k1v = function () {
|
|
4509
4509
|
return this.x1u(asSequence(this.f1o()));
|
|
@@ -4706,11 +4706,11 @@
|
|
|
4706
4706
|
protoOf(MutableListedTheory).toImmutableTheory = function () {
|
|
4707
4707
|
return this.l1u();
|
|
4708
4708
|
};
|
|
4709
|
-
protoOf(MutableListedTheory).
|
|
4710
|
-
return tags === this.
|
|
4709
|
+
protoOf(MutableListedTheory).z12 = function (tags) {
|
|
4710
|
+
return tags === this.cu() ? this : new MutableListedTheory(this.v1n(), this.e1x_1, tags);
|
|
4711
4711
|
};
|
|
4712
4712
|
protoOf(MutableListedTheory).resetTags = function (tags) {
|
|
4713
|
-
return this.
|
|
4713
|
+
return this.z12(tags);
|
|
4714
4714
|
};
|
|
4715
4715
|
protoOf(MutableListedTheory).k1v = function () {
|
|
4716
4716
|
return this.x1u(asSequence(this.e1x_1));
|
|
@@ -4757,14 +4757,14 @@
|
|
|
4757
4757
|
protoOf(ReteClauseQueue).d1o = get;
|
|
4758
4758
|
protoOf(IndexedClause$Companion$wrap$1).z1p = get_innerClause;
|
|
4759
4759
|
protoOf(IndexedClause$Companion$wrap$1).i1r = plus_1;
|
|
4760
|
-
protoOf(IndexedClause$Companion$wrap$1).
|
|
4761
|
-
protoOf(IndexedClause$Companion$wrap$1).
|
|
4762
|
-
protoOf(IndexedClause$Companion$wrap$1).
|
|
4760
|
+
protoOf(IndexedClause$Companion$wrap$1).rt = compareTo;
|
|
4761
|
+
protoOf(IndexedClause$Companion$wrap$1).zd = component1;
|
|
4762
|
+
protoOf(IndexedClause$Companion$wrap$1).ae = component2;
|
|
4763
4763
|
protoOf(SituatedIndexedClause$Companion$of$1).z1p = get_innerClause;
|
|
4764
4764
|
protoOf(SituatedIndexedClause$Companion$of$1).i1r = plus_1;
|
|
4765
|
-
protoOf(SituatedIndexedClause$Companion$of$1).
|
|
4766
|
-
protoOf(SituatedIndexedClause$Companion$of$1).
|
|
4767
|
-
protoOf(SituatedIndexedClause$Companion$of$1).
|
|
4765
|
+
protoOf(SituatedIndexedClause$Companion$of$1).rt = compareTo;
|
|
4766
|
+
protoOf(SituatedIndexedClause$Companion$of$1).zd = component1;
|
|
4767
|
+
protoOf(SituatedIndexedClause$Companion$of$1).ae = component2;
|
|
4768
4768
|
protoOf(AbstractTheory).l1v = get_isMutable;
|
|
4769
4769
|
protoOf(AbstractTheory).z1n = get_rules;
|
|
4770
4770
|
protoOf(AbstractTheory).y1n = get_directives;
|