@tuprolog/arg2p-core 0.16.6 → 0.16.7
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-core.js +412 -405
- package/2p-core.js.map +1 -1
- package/{2p-solve-classic.js → 2p-solve-prolog.js} +667 -643
- package/2p-solve-prolog.js.map +1 -0
- package/2p-solve.js +2399 -1191
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +81 -81
- package/2p-unify.js +70 -70
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +52 -51
- package/2p-utils.js.map +1 -1
- package/arg2p-core.js +7 -7
- package/kotlin-kotlin-stdlib.js +818 -246
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +165 -164
- package/kt-math.js.map +1 -1
- package/package.json +1 -1
- package/2p-solve-classic.js.map +0 -1
package/2p-core.js
CHANGED
|
@@ -19,170 +19,172 @@
|
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
21
|
var imul = Math.imul;
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
25
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
26
|
-
var emptySequence = kotlin_kotlin.$_$.
|
|
27
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
28
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.o6;
|
|
23
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.d6;
|
|
24
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.c6;
|
|
25
|
+
var emptyList = kotlin_kotlin.$_$.l2;
|
|
26
|
+
var emptySequence = kotlin_kotlin.$_$.p7;
|
|
27
|
+
var THROW_CCE = kotlin_kotlin.$_$.ka;
|
|
28
|
+
var isInterface = kotlin_kotlin.$_$.i6;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.b;
|
|
30
|
-
var toList = kotlin_kotlin.$_$.
|
|
31
|
-
var single = kotlin_kotlin.$_$.
|
|
32
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
33
|
-
var toList_1 = kotlin_kotlin.$_$.
|
|
34
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
30
|
+
var toList = kotlin_kotlin.$_$.e4;
|
|
31
|
+
var single = kotlin_kotlin.$_$.y3;
|
|
32
|
+
var toList_0 = kotlin_kotlin.$_$.d4;
|
|
33
|
+
var toList_1 = kotlin_kotlin.$_$.q8;
|
|
34
|
+
var initMetadataForClass = kotlin_kotlin.$_$.b6;
|
|
35
35
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
36
|
-
var map = kotlin_kotlin.$_$.
|
|
36
|
+
var map = kotlin_kotlin.$_$.d8;
|
|
37
37
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
38
38
|
var KtMap = kotlin_kotlin.$_$.s1;
|
|
39
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
40
|
-
var listOf = kotlin_kotlin.$_$.
|
|
39
|
+
var ensureNotNull = kotlin_kotlin.$_$.oa;
|
|
40
|
+
var listOf = kotlin_kotlin.$_$.b3;
|
|
41
41
|
var asIterable = kotlin_kotlin.$_$.x1;
|
|
42
42
|
var any = kotlin_kotlin.$_$.w1;
|
|
43
|
-
var toString = kotlin_kotlin.$_$.
|
|
43
|
+
var toString = kotlin_kotlin.$_$.r6;
|
|
44
44
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
45
45
|
var Unit_instance = kotlin_kotlin.$_$.n;
|
|
46
|
-
var asIterable_0 = kotlin_kotlin.$_$.
|
|
46
|
+
var asIterable_0 = kotlin_kotlin.$_$.j7;
|
|
47
47
|
var arrayConcat = kotlin_kotlin.$_$.a;
|
|
48
|
-
var until = kotlin_kotlin.$_$.
|
|
48
|
+
var until = kotlin_kotlin.$_$.c7;
|
|
49
49
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.d2;
|
|
50
50
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
51
51
|
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.e;
|
|
52
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
52
|
+
var fromInt = kotlin_kotlin.$_$.a5;
|
|
53
53
|
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.d;
|
|
54
54
|
var cursor = kotlin_it_unibo_tuprolog_utils.$_$.s;
|
|
55
55
|
var KtList = kotlin_kotlin.$_$.r1;
|
|
56
56
|
var cursor_0 = kotlin_it_unibo_tuprolog_utils.$_$.t;
|
|
57
57
|
var cursor_1 = kotlin_it_unibo_tuprolog_utils.$_$.u;
|
|
58
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
58
|
+
var toString_0 = kotlin_kotlin.$_$.va;
|
|
59
59
|
var asReversed = kotlin_kotlin.$_$.y1;
|
|
60
|
-
var last = kotlin_kotlin.$_$.
|
|
61
|
-
var count = kotlin_kotlin.$_$.
|
|
62
|
-
var NumberFormatException = kotlin_kotlin.$_$.
|
|
63
|
-
var contains = kotlin_kotlin.$_$.
|
|
60
|
+
var last = kotlin_kotlin.$_$.x2;
|
|
61
|
+
var count = kotlin_kotlin.$_$.m7;
|
|
62
|
+
var NumberFormatException = kotlin_kotlin.$_$.ha;
|
|
63
|
+
var contains = kotlin_kotlin.$_$.z8;
|
|
64
64
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
65
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
65
|
+
var toCharArray = kotlin_kotlin.$_$.r9;
|
|
66
66
|
var asSequence = kotlin_kotlin.$_$.z1;
|
|
67
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
68
|
-
var first = kotlin_kotlin.$_$.
|
|
69
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
70
|
-
var slice = kotlin_kotlin.$_$.
|
|
71
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
72
|
-
var plus = kotlin_kotlin.$_$.
|
|
73
|
-
var equals = kotlin_kotlin.$_$.
|
|
74
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
67
|
+
var emptyMap = kotlin_kotlin.$_$.m2;
|
|
68
|
+
var first = kotlin_kotlin.$_$.p2;
|
|
69
|
+
var get_lastIndex = kotlin_kotlin.$_$.v2;
|
|
70
|
+
var slice = kotlin_kotlin.$_$.a4;
|
|
71
|
+
var listOfNotNull = kotlin_kotlin.$_$.z2;
|
|
72
|
+
var plus = kotlin_kotlin.$_$.s3;
|
|
73
|
+
var equals = kotlin_kotlin.$_$.v5;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.v7;
|
|
75
75
|
var asSequence_0 = kotlin_kotlin.$_$.b2;
|
|
76
|
-
var to = kotlin_kotlin.$_$.
|
|
77
|
-
var mapOf = kotlin_kotlin.$_$.
|
|
78
|
-
var sequenceOf = kotlin_kotlin.$_$.
|
|
76
|
+
var to = kotlin_kotlin.$_$.wa;
|
|
77
|
+
var mapOf = kotlin_kotlin.$_$.d3;
|
|
78
|
+
var sequenceOf = kotlin_kotlin.$_$.i8;
|
|
79
79
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
80
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
80
|
+
var getKClass = kotlin_kotlin.$_$.e7;
|
|
81
81
|
var ClassCastException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
82
82
|
var Taggable = kotlin_it_unibo_tuprolog_utils.$_$.n;
|
|
83
83
|
var Castable = kotlin_it_unibo_tuprolog_utils.$_$.f;
|
|
84
84
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
85
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
86
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
87
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
88
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
89
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
90
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
91
|
-
var none = kotlin_kotlin.$_$.
|
|
92
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
85
|
+
var firstOrNull = kotlin_kotlin.$_$.o2;
|
|
86
|
+
var CoroutineImpl = kotlin_kotlin.$_$.r4;
|
|
87
|
+
var SequenceScope = kotlin_kotlin.$_$.g7;
|
|
88
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.q4;
|
|
89
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.e6;
|
|
90
|
+
var constructCallableReference = kotlin_kotlin.$_$.t5;
|
|
91
|
+
var none = kotlin_kotlin.$_$.f8;
|
|
92
|
+
var mapCapacity = kotlin_kotlin.$_$.c3;
|
|
93
93
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
94
|
-
var mutableSetOf = kotlin_kotlin.$_$.
|
|
95
|
-
var getValue = kotlin_kotlin.$_$.
|
|
94
|
+
var mutableSetOf = kotlin_kotlin.$_$.n3;
|
|
95
|
+
var getValue = kotlin_kotlin.$_$.r2;
|
|
96
96
|
var contains_0 = kotlin_kotlin.$_$.e2;
|
|
97
|
-
var sequence = kotlin_kotlin.$_$.
|
|
98
|
-
var lastOrNull = kotlin_kotlin.$_$.
|
|
99
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
100
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
101
|
-
var toMap = kotlin_kotlin.$_$.
|
|
102
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
103
|
-
var minus = kotlin_kotlin.$_$.
|
|
104
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
97
|
+
var sequence = kotlin_kotlin.$_$.k8;
|
|
98
|
+
var lastOrNull = kotlin_kotlin.$_$.a8;
|
|
99
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.d7;
|
|
100
|
+
var hashCode = kotlin_kotlin.$_$.a6;
|
|
101
|
+
var toMap = kotlin_kotlin.$_$.h4;
|
|
102
|
+
var plus_0 = kotlin_kotlin.$_$.p3;
|
|
103
|
+
var minus = kotlin_kotlin.$_$.h3;
|
|
104
|
+
var listOf_0 = kotlin_kotlin.$_$.a3;
|
|
105
105
|
var getTag = kotlin_it_unibo_tuprolog_utils.$_$.m;
|
|
106
106
|
var containsTag = kotlin_it_unibo_tuprolog_utils.$_$.l;
|
|
107
107
|
var castTo = kotlin_it_unibo_tuprolog_utils.$_$.e;
|
|
108
|
-
var
|
|
109
|
-
var
|
|
110
|
-
var
|
|
111
|
-
var
|
|
112
|
-
var
|
|
113
|
-
var
|
|
114
|
-
var
|
|
115
|
-
var
|
|
108
|
+
var Comparable = kotlin_kotlin.$_$.z9;
|
|
109
|
+
var Comparator = kotlin_kotlin.$_$.aa;
|
|
110
|
+
var initMetadataForObject = kotlin_kotlin.$_$.f6;
|
|
111
|
+
var compareTo = kotlin_kotlin.$_$.s5;
|
|
112
|
+
var Enum = kotlin_kotlin.$_$.ba;
|
|
113
|
+
var joinToString = kotlin_kotlin.$_$.t2;
|
|
114
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.x5;
|
|
115
|
+
var getStringHashCode = kotlin_kotlin.$_$.z5;
|
|
116
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.sa;
|
|
116
117
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
117
118
|
var toString_1 = kotlin_kotlin.$_$.g;
|
|
118
119
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.c;
|
|
119
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
120
|
-
var sequenceOf_0 = kotlin_kotlin.$_$.
|
|
121
|
-
var
|
|
122
|
-
var
|
|
120
|
+
var mutableListOf = kotlin_kotlin.$_$.l3;
|
|
121
|
+
var sequenceOf_0 = kotlin_kotlin.$_$.j8;
|
|
122
|
+
var startsWith = kotlin_kotlin.$_$.l9;
|
|
123
|
+
var objectCreate = kotlin_kotlin.$_$.n6;
|
|
124
|
+
var captureStack = kotlin_kotlin.$_$.m5;
|
|
123
125
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.n1;
|
|
124
126
|
var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.m1;
|
|
125
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
126
|
-
var lazy = kotlin_kotlin.$_$.
|
|
127
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
128
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
129
|
-
var get_lastIndex_0 = kotlin_kotlin.$_$.
|
|
130
|
-
var sliceArray = kotlin_kotlin.$_$.
|
|
131
|
-
var asSequence_1 = kotlin_kotlin.$_$.
|
|
132
|
-
var last_0 = kotlin_kotlin.$_$.
|
|
133
|
-
var take = kotlin_kotlin.$_$.
|
|
134
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
127
|
+
var RuntimeException = kotlin_kotlin.$_$.ja;
|
|
128
|
+
var lazy = kotlin_kotlin.$_$.ra;
|
|
129
|
+
var KProperty1 = kotlin_kotlin.$_$.f7;
|
|
130
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y5;
|
|
131
|
+
var get_lastIndex_0 = kotlin_kotlin.$_$.w2;
|
|
132
|
+
var sliceArray = kotlin_kotlin.$_$.z3;
|
|
133
|
+
var asSequence_1 = kotlin_kotlin.$_$.k7;
|
|
134
|
+
var last_0 = kotlin_kotlin.$_$.b8;
|
|
135
|
+
var take = kotlin_kotlin.$_$.n8;
|
|
136
|
+
var joinToString_0 = kotlin_kotlin.$_$.z7;
|
|
135
137
|
var setTags = kotlin_it_unibo_tuprolog_utils.$_$.i1;
|
|
136
138
|
var forceCast = kotlin_it_unibo_tuprolog_utils.$_$.z;
|
|
137
139
|
var itemWiseHashCode = kotlin_it_unibo_tuprolog_utils.$_$.d1;
|
|
138
|
-
var plus_1 = kotlin_kotlin.$_$.
|
|
139
|
-
var get_indices = kotlin_kotlin.$_$.
|
|
140
|
+
var plus_1 = kotlin_kotlin.$_$.t3;
|
|
141
|
+
var get_indices = kotlin_kotlin.$_$.s2;
|
|
140
142
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
141
143
|
var copyToArray = kotlin_kotlin.$_$.i2;
|
|
142
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
143
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
144
|
-
var mutableMapOf = kotlin_kotlin.$_$.
|
|
145
|
-
var drop = kotlin_kotlin.$_$.
|
|
146
|
-
var first_0 = kotlin_kotlin.$_$.
|
|
144
|
+
var numberToChar = kotlin_kotlin.$_$.l6;
|
|
145
|
+
var charSequenceLength = kotlin_kotlin.$_$.r5;
|
|
146
|
+
var mutableMapOf = kotlin_kotlin.$_$.m3;
|
|
147
|
+
var drop = kotlin_kotlin.$_$.o7;
|
|
148
|
+
var first_0 = kotlin_kotlin.$_$.u7;
|
|
147
149
|
var insertAt = kotlin_it_unibo_tuprolog_utils.$_$.a1;
|
|
148
|
-
var plus_2 = kotlin_kotlin.$_$.
|
|
150
|
+
var plus_2 = kotlin_kotlin.$_$.h8;
|
|
149
151
|
var dropLast = kotlin_it_unibo_tuprolog_utils.$_$.y;
|
|
150
152
|
var Collection = kotlin_kotlin.$_$.p1;
|
|
151
|
-
var iterator = kotlin_kotlin.$_$.
|
|
153
|
+
var iterator = kotlin_kotlin.$_$.y7;
|
|
152
154
|
var asJsReadonlyArrayView = kotlin_kotlin.$_$.q1;
|
|
153
155
|
var dequeOf = kotlin_it_unibo_tuprolog_utils.$_$.v;
|
|
154
156
|
var itemWiseHashCode_0 = kotlin_it_unibo_tuprolog_utils.$_$.f1;
|
|
155
157
|
var itemWiseEquals = kotlin_it_unibo_tuprolog_utils.$_$.b1;
|
|
156
|
-
var toMap_0 = kotlin_kotlin.$_$.
|
|
158
|
+
var toMap_0 = kotlin_kotlin.$_$.f4;
|
|
157
159
|
var synchronizedOnSelf = kotlin_it_unibo_tuprolog_utils.$_$.j1;
|
|
158
|
-
var mapOf_0 = kotlin_kotlin.$_$.
|
|
159
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
160
|
+
var mapOf_0 = kotlin_kotlin.$_$.e3;
|
|
161
|
+
var emptySet = kotlin_kotlin.$_$.n2;
|
|
160
162
|
var asSequence_2 = kotlin_kotlin.$_$.a2;
|
|
161
|
-
var filter = kotlin_kotlin.$_$.
|
|
162
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
163
|
-
var Pair = kotlin_kotlin.$_$.
|
|
164
|
-
var setOf = kotlin_kotlin.$_$.
|
|
165
|
-
var setOf_0 = kotlin_kotlin.$_$.
|
|
166
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
163
|
+
var filter = kotlin_kotlin.$_$.s7;
|
|
164
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.t7;
|
|
165
|
+
var Pair = kotlin_kotlin.$_$.ia;
|
|
166
|
+
var setOf = kotlin_kotlin.$_$.w3;
|
|
167
|
+
var setOf_0 = kotlin_kotlin.$_$.v3;
|
|
168
|
+
var defineProp = kotlin_kotlin.$_$.u5;
|
|
167
169
|
var synchronizedOn = kotlin_it_unibo_tuprolog_utils.$_$.k1;
|
|
168
|
-
var add = kotlin_kotlin.$_$.
|
|
169
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
170
|
+
var add = kotlin_kotlin.$_$.v4;
|
|
171
|
+
var singleOrNull = kotlin_kotlin.$_$.x3;
|
|
170
172
|
var Companion_instance = kotlin_kotlin.$_$.m;
|
|
171
173
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.h;
|
|
172
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
174
|
+
var createFailure = kotlin_kotlin.$_$.na;
|
|
173
175
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.j;
|
|
174
176
|
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.i;
|
|
175
177
|
var asSequence_3 = kotlin_kotlin.$_$.c2;
|
|
176
|
-
var toSet = kotlin_kotlin.$_$.
|
|
177
|
-
var toHashSet = kotlin_kotlin.$_$.
|
|
178
|
-
var minus_0 = kotlin_kotlin.$_$.
|
|
179
|
-
var minus_1 = kotlin_kotlin.$_$.
|
|
178
|
+
var toSet = kotlin_kotlin.$_$.s8;
|
|
179
|
+
var toHashSet = kotlin_kotlin.$_$.p8;
|
|
180
|
+
var minus_0 = kotlin_kotlin.$_$.k3;
|
|
181
|
+
var minus_1 = kotlin_kotlin.$_$.j3;
|
|
180
182
|
var KtSet = kotlin_kotlin.$_$.t1;
|
|
181
183
|
var Companion_instance_0 = kotlin_kotlin.$_$.l;
|
|
182
|
-
var plus_3 = kotlin_kotlin.$_$.
|
|
184
|
+
var plus_3 = kotlin_kotlin.$_$.q3;
|
|
183
185
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.d1;
|
|
184
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
185
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
186
|
+
var IllegalStateException = kotlin_kotlin.$_$.da;
|
|
187
|
+
var THROW_IAE = kotlin_kotlin.$_$.la;
|
|
186
188
|
//endregion
|
|
187
189
|
//region block: pre-declaration
|
|
188
190
|
function apply(substitution, substitutions) {
|
|
@@ -201,7 +203,7 @@
|
|
|
201
203
|
return castTo.call(this);
|
|
202
204
|
}
|
|
203
205
|
function compareTo_0(other) {
|
|
204
|
-
return DefaultComparator_instance.
|
|
206
|
+
return DefaultComparator_instance.compare_a0c51t_k$(this, other);
|
|
205
207
|
}
|
|
206
208
|
function get_isVar() {
|
|
207
209
|
return false;
|
|
@@ -535,7 +537,7 @@
|
|
|
535
537
|
function asVar() {
|
|
536
538
|
return null;
|
|
537
539
|
}
|
|
538
|
-
initMetadataForInterface(Term, 'Term', VOID, VOID, [Taggable, Castable, Applicable, Variabled]);
|
|
540
|
+
initMetadataForInterface(Term, 'Term', VOID, VOID, [Comparable, Taggable, Castable, Applicable, Variabled]);
|
|
539
541
|
function get_isStruct_0() {
|
|
540
542
|
return true;
|
|
541
543
|
}
|
|
@@ -629,7 +631,7 @@
|
|
|
629
631
|
return this.castTo_8vzplt_k$();
|
|
630
632
|
}
|
|
631
633
|
function compareTo_1(other) {
|
|
632
|
-
return this.
|
|
634
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
633
635
|
}
|
|
634
636
|
initMetadataForInterface(Struct, 'Struct', VOID, VOID, [Term]);
|
|
635
637
|
function get_isConstant_0() {
|
|
@@ -645,7 +647,7 @@
|
|
|
645
647
|
return this.castTo_8vzplt_k$();
|
|
646
648
|
}
|
|
647
649
|
function compareTo_2(other) {
|
|
648
|
-
return this.
|
|
650
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
649
651
|
}
|
|
650
652
|
initMetadataForInterface(Constant, 'Constant', VOID, VOID, [Term]);
|
|
651
653
|
function get_arity_0() {
|
|
@@ -688,7 +690,7 @@
|
|
|
688
690
|
return this.castTo_8vzplt_k$();
|
|
689
691
|
}
|
|
690
692
|
function compareTo_3(other) {
|
|
691
|
-
return this.
|
|
693
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
692
694
|
}
|
|
693
695
|
function asConstant_2() {
|
|
694
696
|
return this.asConstant_3hn112_k$();
|
|
@@ -711,7 +713,7 @@
|
|
|
711
713
|
return this.castTo_8vzplt_k$();
|
|
712
714
|
}
|
|
713
715
|
function compareTo_4(other) {
|
|
714
|
-
return this.
|
|
716
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
715
717
|
}
|
|
716
718
|
initMetadataForInterface(Recursive, 'Recursive', VOID, VOID, [Struct]);
|
|
717
719
|
function get_isBlock_1() {
|
|
@@ -754,7 +756,7 @@
|
|
|
754
756
|
return this.castTo_8vzplt_k$();
|
|
755
757
|
}
|
|
756
758
|
function compareTo_5(other) {
|
|
757
|
-
return this.
|
|
759
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
758
760
|
}
|
|
759
761
|
initMetadataForInterface(Block, 'Block', VOID, VOID, [Recursive]);
|
|
760
762
|
function visitTerm(term) {
|
|
@@ -861,7 +863,7 @@
|
|
|
861
863
|
return this.castTo_8vzplt_k$();
|
|
862
864
|
}
|
|
863
865
|
function compareTo_6(other) {
|
|
864
|
-
return this.
|
|
866
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
865
867
|
}
|
|
866
868
|
initMetadataForInterface(Clause, 'Clause', VOID, VOID, [Struct]);
|
|
867
869
|
initMetadataForCompanion(Companion_2);
|
|
@@ -895,7 +897,7 @@
|
|
|
895
897
|
return this.castTo_8vzplt_k$();
|
|
896
898
|
}
|
|
897
899
|
function compareTo_7(other) {
|
|
898
|
-
return this.
|
|
900
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
899
901
|
}
|
|
900
902
|
initMetadataForInterface(List, 'List', VOID, VOID, [Recursive]);
|
|
901
903
|
function get_isCons_1() {
|
|
@@ -929,7 +931,7 @@
|
|
|
929
931
|
return this.castTo_8vzplt_k$();
|
|
930
932
|
}
|
|
931
933
|
function compareTo_8(other) {
|
|
932
|
-
return this.
|
|
934
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
933
935
|
}
|
|
934
936
|
initMetadataForInterface(Cons, 'Cons', VOID, VOID, [List]);
|
|
935
937
|
initMetadataForCompanion(Companion_3);
|
|
@@ -961,7 +963,7 @@
|
|
|
961
963
|
return this.castTo_8vzplt_k$();
|
|
962
964
|
}
|
|
963
965
|
function compareTo_9(other) {
|
|
964
|
-
return this.
|
|
966
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
965
967
|
}
|
|
966
968
|
initMetadataForInterface(Directive, 'Directive', VOID, VOID, [Clause]);
|
|
967
969
|
initMetadataForCompanion(Companion_4);
|
|
@@ -985,7 +987,7 @@
|
|
|
985
987
|
return this.castTo_8vzplt_k$();
|
|
986
988
|
}
|
|
987
989
|
function compareTo_10(other) {
|
|
988
|
-
return this.
|
|
990
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
989
991
|
}
|
|
990
992
|
function asConstant_3() {
|
|
991
993
|
return this.asConstant_3hn112_k$();
|
|
@@ -1050,7 +1052,7 @@
|
|
|
1050
1052
|
return this.castTo_8vzplt_k$();
|
|
1051
1053
|
}
|
|
1052
1054
|
function compareTo_11(other) {
|
|
1053
|
-
return this.
|
|
1055
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1054
1056
|
}
|
|
1055
1057
|
function asConstant_4() {
|
|
1056
1058
|
return this.asConstant_3hn112_k$();
|
|
@@ -1088,7 +1090,7 @@
|
|
|
1088
1090
|
return this.castTo_8vzplt_k$();
|
|
1089
1091
|
}
|
|
1090
1092
|
function compareTo_12(other) {
|
|
1091
|
-
return this.
|
|
1093
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1092
1094
|
}
|
|
1093
1095
|
initMetadataForInterface(Rule, 'Rule', VOID, VOID, [Clause]);
|
|
1094
1096
|
function get_body() {
|
|
@@ -1116,7 +1118,7 @@
|
|
|
1116
1118
|
return this.castTo_8vzplt_k$();
|
|
1117
1119
|
}
|
|
1118
1120
|
function compareTo_13(other) {
|
|
1119
|
-
return this.
|
|
1121
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1120
1122
|
}
|
|
1121
1123
|
initMetadataForInterface(Fact, 'Fact', VOID, VOID, [Rule]);
|
|
1122
1124
|
initMetadataForCompanion(Companion_8);
|
|
@@ -1182,7 +1184,7 @@
|
|
|
1182
1184
|
return this.castTo_8vzplt_k$();
|
|
1183
1185
|
}
|
|
1184
1186
|
function compareTo_14(other) {
|
|
1185
|
-
return this.
|
|
1187
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1186
1188
|
}
|
|
1187
1189
|
initMetadataForInterface(Indicator, 'Indicator', VOID, VOID, [Struct]);
|
|
1188
1190
|
initMetadataForCompanion(Companion_9);
|
|
@@ -1193,7 +1195,7 @@
|
|
|
1193
1195
|
return emptySequence();
|
|
1194
1196
|
}
|
|
1195
1197
|
function compareValueTo(other) {
|
|
1196
|
-
return this.get_decimalValue_7pja3t_k$().
|
|
1198
|
+
return this.get_decimalValue_7pja3t_k$().compareTo_dqfxu6_k$(other.get_decimalValue_7pja3t_k$());
|
|
1197
1199
|
}
|
|
1198
1200
|
function asNumeric_0() {
|
|
1199
1201
|
return this;
|
|
@@ -1208,7 +1210,7 @@
|
|
|
1208
1210
|
return this.castTo_8vzplt_k$();
|
|
1209
1211
|
}
|
|
1210
1212
|
function compareTo_15(other) {
|
|
1211
|
-
return this.
|
|
1213
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1212
1214
|
}
|
|
1213
1215
|
initMetadataForInterface(Numeric, 'Numeric', VOID, VOID, [Constant]);
|
|
1214
1216
|
function get_isInteger_0() {
|
|
@@ -1236,7 +1238,7 @@
|
|
|
1236
1238
|
return this.castTo_8vzplt_k$();
|
|
1237
1239
|
}
|
|
1238
1240
|
function compareTo_16(other) {
|
|
1239
|
-
return this.
|
|
1241
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1240
1242
|
}
|
|
1241
1243
|
initMetadataForInterface(Integer, 'Integer', VOID, VOID, [Numeric]);
|
|
1242
1244
|
initMetadataForCompanion(Companion_10);
|
|
@@ -1272,7 +1274,7 @@
|
|
|
1272
1274
|
return this.castTo_8vzplt_k$();
|
|
1273
1275
|
}
|
|
1274
1276
|
function compareTo_17(other) {
|
|
1275
|
-
return this.
|
|
1277
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1276
1278
|
}
|
|
1277
1279
|
initMetadataForInterface(Real, 'Real', VOID, VOID, [Numeric]);
|
|
1278
1280
|
initMetadataForCompanion(Companion_14);
|
|
@@ -1282,15 +1284,15 @@
|
|
|
1282
1284
|
}
|
|
1283
1285
|
function logicListFromFrom(terms, last, $super) {
|
|
1284
1286
|
last = last === VOID ? null : last;
|
|
1285
|
-
return $super === VOID ? this.
|
|
1287
|
+
return $super === VOID ? this.logicListFrom_pxemlx_k$(terms, last) : $super.logicListFrom_pxemlx_k$.call(this, terms, last);
|
|
1286
1288
|
}
|
|
1287
1289
|
function logicListFromIterable(terms, last, $super) {
|
|
1288
1290
|
last = last === VOID ? null : last;
|
|
1289
|
-
return $super === VOID ? this.
|
|
1291
|
+
return $super === VOID ? this.logicListFrom_yn067b_k$(terms, last) : $super.logicListFrom_yn067b_k$.call(this, terms, last);
|
|
1290
1292
|
}
|
|
1291
1293
|
function logicListFromSequence(terms, last, $super) {
|
|
1292
1294
|
last = last === VOID ? null : last;
|
|
1293
|
-
return $super === VOID ? this.
|
|
1295
|
+
return $super === VOID ? this.logicListFrom_65oz79_k$(terms, last) : $super.logicListFrom_65oz79_k$.call(this, terms, last);
|
|
1294
1296
|
}
|
|
1295
1297
|
initMetadataForInterface(Scope, 'Scope');
|
|
1296
1298
|
initMetadataForCompanion(Companion_16);
|
|
@@ -1434,7 +1436,7 @@
|
|
|
1434
1436
|
return this.castTo_8vzplt_k$();
|
|
1435
1437
|
}
|
|
1436
1438
|
function compareTo_18(other) {
|
|
1437
|
-
return this.
|
|
1439
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1438
1440
|
}
|
|
1439
1441
|
function asConstant_8() {
|
|
1440
1442
|
return this.asConstant_3hn112_k$();
|
|
@@ -1481,7 +1483,7 @@
|
|
|
1481
1483
|
return this.castTo_8vzplt_k$();
|
|
1482
1484
|
}
|
|
1483
1485
|
function compareTo_19(other) {
|
|
1484
|
-
return this.
|
|
1486
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1485
1487
|
}
|
|
1486
1488
|
initMetadataForInterface(Tuple, 'Tuple', VOID, VOID, [Recursive]);
|
|
1487
1489
|
initMetadataForClass(TupleIterator$tupleIteratorVisitor$1, VOID, VOID, VOID, [TermVisitor]);
|
|
@@ -1496,6 +1498,9 @@
|
|
|
1496
1498
|
function get_isAnonymous() {
|
|
1497
1499
|
return '_' === this.get_name_woqyms_k$();
|
|
1498
1500
|
}
|
|
1501
|
+
function get_isWildcard() {
|
|
1502
|
+
return startsWith(this.get_name_woqyms_k$(), '_');
|
|
1503
|
+
}
|
|
1499
1504
|
function asVar_0() {
|
|
1500
1505
|
return this;
|
|
1501
1506
|
}
|
|
@@ -1506,7 +1511,7 @@
|
|
|
1506
1511
|
return this.castTo_8vzplt_k$();
|
|
1507
1512
|
}
|
|
1508
1513
|
function compareTo_20(other) {
|
|
1509
|
-
return this.
|
|
1514
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
1510
1515
|
}
|
|
1511
1516
|
initMetadataForInterface(Var, 'Var', VOID, VOID, [Term]);
|
|
1512
1517
|
initMetadataForCompanion(Companion_24);
|
|
@@ -1567,7 +1572,7 @@
|
|
|
1567
1572
|
initMetadataForClass(VarImpl, 'VarImpl', VOID, TermImpl, [Var]);
|
|
1568
1573
|
initMetadataForClass(VariablesProviderImpl, 'VariablesProviderImpl', VOID, VOID, [Scope]);
|
|
1569
1574
|
initMetadataForCompanion(Companion_30);
|
|
1570
|
-
initMetadataForClass(Operator, 'Operator');
|
|
1575
|
+
initMetadataForClass(Operator, 'Operator', VOID, VOID, [Comparable]);
|
|
1571
1576
|
initMetadataForCompanion(Companion_31);
|
|
1572
1577
|
initMetadataForClass(OperatorSet, 'OperatorSet', VOID, VOID, [KtSet]);
|
|
1573
1578
|
initMetadataForCompanion(Companion_32);
|
|
@@ -1644,12 +1649,12 @@
|
|
|
1644
1649
|
protoOf(BlockIteratorVisitor).visitTuple = function (term) {
|
|
1645
1650
|
return this.visitTuple_j9vfzg_k$(term);
|
|
1646
1651
|
};
|
|
1647
|
-
protoOf(BlockIteratorVisitor).
|
|
1652
|
+
protoOf(BlockIteratorVisitor).defaultValue_gnn9hx_k$ = function (term) {
|
|
1648
1653
|
this.$this_1.current_1 = null;
|
|
1649
1654
|
return term;
|
|
1650
1655
|
};
|
|
1651
1656
|
protoOf(BlockIteratorVisitor).defaultValue = function (term) {
|
|
1652
|
-
return this.
|
|
1657
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
1653
1658
|
};
|
|
1654
1659
|
function BlockIterator$outerBlockIteratorVisitor$1(this$0) {
|
|
1655
1660
|
this.this$0__1 = this$0;
|
|
@@ -1701,11 +1706,11 @@
|
|
|
1701
1706
|
}
|
|
1702
1707
|
function Clause$Companion$bodyWellFormedVisitor$1() {
|
|
1703
1708
|
}
|
|
1704
|
-
protoOf(Clause$Companion$bodyWellFormedVisitor$1).
|
|
1709
|
+
protoOf(Clause$Companion$bodyWellFormedVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
1705
1710
|
return true;
|
|
1706
1711
|
};
|
|
1707
1712
|
protoOf(Clause$Companion$bodyWellFormedVisitor$1).defaultValue = function (term) {
|
|
1708
|
-
return this.
|
|
1713
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
1709
1714
|
};
|
|
1710
1715
|
protoOf(Clause$Companion$bodyWellFormedVisitor$1).visitNumeric_xzyddi_k$ = function (term) {
|
|
1711
1716
|
return false;
|
|
@@ -1737,11 +1742,11 @@
|
|
|
1737
1742
|
function Clause$Companion$preparationForExecutionVisitor$1($unifier) {
|
|
1738
1743
|
this.$unifier_1 = $unifier;
|
|
1739
1744
|
}
|
|
1740
|
-
protoOf(Clause$Companion$preparationForExecutionVisitor$1).
|
|
1745
|
+
protoOf(Clause$Companion$preparationForExecutionVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
1741
1746
|
return term;
|
|
1742
1747
|
};
|
|
1743
1748
|
protoOf(Clause$Companion$preparationForExecutionVisitor$1).defaultValue = function (term) {
|
|
1744
|
-
return this.
|
|
1749
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
1745
1750
|
};
|
|
1746
1751
|
protoOf(Clause$Companion$preparationForExecutionVisitor$1).visitStruct_bessvw_k$ = function (term) {
|
|
1747
1752
|
var tmp;
|
|
@@ -2175,7 +2180,7 @@
|
|
|
2175
2180
|
this.this$0__1 = this$0;
|
|
2176
2181
|
}
|
|
2177
2182
|
protoOf(ListIterator$listIteratorVisitor$1).visitCons_n5mza2_k$ = function (term) {
|
|
2178
|
-
this.this$0__1.
|
|
2183
|
+
this.this$0__1.set_current_xb575s_k$(term.get_tail_wousgp_k$());
|
|
2179
2184
|
return term.get_head_won7e1_k$();
|
|
2180
2185
|
};
|
|
2181
2186
|
protoOf(ListIterator$listIteratorVisitor$1).visitCons = function (term) {
|
|
@@ -2187,19 +2192,19 @@
|
|
|
2187
2192
|
protoOf(ListIterator$listIteratorVisitor$1).visitEmptyList = function (term) {
|
|
2188
2193
|
return this.visitEmptyList_huywf4_k$(term);
|
|
2189
2194
|
};
|
|
2190
|
-
protoOf(ListIterator$listIteratorVisitor$1).
|
|
2191
|
-
this.this$0__1.
|
|
2195
|
+
protoOf(ListIterator$listIteratorVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
2196
|
+
this.this$0__1.set_current_xb575s_k$(null);
|
|
2192
2197
|
return term;
|
|
2193
2198
|
};
|
|
2194
2199
|
protoOf(ListIterator$listIteratorVisitor$1).defaultValue = function (term) {
|
|
2195
|
-
return this.
|
|
2200
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
2196
2201
|
};
|
|
2197
2202
|
function ListIterator(list) {
|
|
2198
2203
|
this.current_1 = list;
|
|
2199
2204
|
var tmp = this;
|
|
2200
2205
|
tmp.listIteratorVisitor_1 = new ListIterator$listIteratorVisitor$1(this);
|
|
2201
2206
|
}
|
|
2202
|
-
protoOf(ListIterator).
|
|
2207
|
+
protoOf(ListIterator).set_current_xb575s_k$ = function (_set____db54di) {
|
|
2203
2208
|
this.current_1 = _set____db54di;
|
|
2204
2209
|
};
|
|
2205
2210
|
protoOf(ListIterator).get_current_jwi6j4_k$ = function () {
|
|
@@ -2220,7 +2225,7 @@
|
|
|
2220
2225
|
return tmp;
|
|
2221
2226
|
};
|
|
2222
2227
|
protoOf(ListIterator).onEmptyList_7ebd2s_k$ = function (item) {
|
|
2223
|
-
this.
|
|
2228
|
+
this.set_current_xb575s_k$(null);
|
|
2224
2229
|
return item;
|
|
2225
2230
|
};
|
|
2226
2231
|
function Companion_12() {
|
|
@@ -2436,7 +2441,7 @@
|
|
|
2436
2441
|
}
|
|
2437
2442
|
function Struct$Companion$escapeFunctor$lambda($escapeSingleQuotes, $escapeDoubleQuotes) {
|
|
2438
2443
|
return function (it) {
|
|
2439
|
-
return Terms_getInstance().
|
|
2444
|
+
return Terms_getInstance().escapeChar_2um7ja_k$(it.value_1, $escapeSingleQuotes, $escapeDoubleQuotes);
|
|
2440
2445
|
};
|
|
2441
2446
|
}
|
|
2442
2447
|
function Companion_16() {
|
|
@@ -3081,11 +3086,11 @@
|
|
|
3081
3086
|
protoOf(UnifierImpl).toString = function () {
|
|
3082
3087
|
return toString(this.assignments_1);
|
|
3083
3088
|
};
|
|
3084
|
-
protoOf(UnifierImpl).
|
|
3089
|
+
protoOf(UnifierImpl).applyTo_nkt17y_k$ = function (term) {
|
|
3085
3090
|
return term.applySubstitution(this);
|
|
3086
3091
|
};
|
|
3087
3092
|
protoOf(UnifierImpl).applyTo = function (term) {
|
|
3088
|
-
return this.
|
|
3093
|
+
return this.applyTo_nkt17y_k$(term);
|
|
3089
3094
|
};
|
|
3090
3095
|
protoOf(UnifierImpl).resetTags_94corn_k$ = function (tags) {
|
|
3091
3096
|
var tmp;
|
|
@@ -3196,11 +3201,11 @@
|
|
|
3196
3201
|
protoOf(FailImpl).toString = function () {
|
|
3197
3202
|
return '{Failed Substitution}';
|
|
3198
3203
|
};
|
|
3199
|
-
protoOf(FailImpl).
|
|
3204
|
+
protoOf(FailImpl).applyTo_nkt17y_k$ = function (term) {
|
|
3200
3205
|
return null;
|
|
3201
3206
|
};
|
|
3202
3207
|
protoOf(FailImpl).applyTo = function (term) {
|
|
3203
|
-
return this.
|
|
3208
|
+
return this.applyTo_nkt17y_k$(term);
|
|
3204
3209
|
};
|
|
3205
3210
|
protoOf(FailImpl).resetTags_94corn_k$ = function (tags) {
|
|
3206
3211
|
return equals(tags, this.tags_1) ? this : new FailImpl(tags);
|
|
@@ -3446,7 +3451,7 @@
|
|
|
3446
3451
|
function RealComparator() {
|
|
3447
3452
|
}
|
|
3448
3453
|
protoOf(RealComparator).compare_wj2zdx_k$ = function (a, b) {
|
|
3449
|
-
return a.get_decimalValue_7pja3t_k$().
|
|
3454
|
+
return a.get_decimalValue_7pja3t_k$().compareTo_dqfxu6_k$(b.get_decimalValue_7pja3t_k$());
|
|
3450
3455
|
};
|
|
3451
3456
|
protoOf(RealComparator).compare = function (a, b) {
|
|
3452
3457
|
var tmp = (!(a == null) ? isInterface(a, Real) : false) ? a : THROW_CCE();
|
|
@@ -3459,7 +3464,7 @@
|
|
|
3459
3464
|
function IntegerComparator() {
|
|
3460
3465
|
}
|
|
3461
3466
|
protoOf(IntegerComparator).compare_ukbcs3_k$ = function (a, b) {
|
|
3462
|
-
return a.get_intValue_mlvnn9_k$().
|
|
3467
|
+
return a.get_intValue_mlvnn9_k$().compareTo_u56mz_k$(b.get_intValue_mlvnn9_k$());
|
|
3463
3468
|
};
|
|
3464
3469
|
protoOf(IntegerComparator).compare = function (a, b) {
|
|
3465
3470
|
var tmp = (!(a == null) ? isInterface(a, Integer) : false) ? a : THROW_CCE();
|
|
@@ -3471,7 +3476,7 @@
|
|
|
3471
3476
|
}
|
|
3472
3477
|
function DefaultComparator() {
|
|
3473
3478
|
}
|
|
3474
|
-
protoOf(DefaultComparator).
|
|
3479
|
+
protoOf(DefaultComparator).compare_a0c51t_k$ = function (a, b) {
|
|
3475
3480
|
var tmp;
|
|
3476
3481
|
if (a.get_isVar_it73p0_k$()) {
|
|
3477
3482
|
tmp = compareVarAndTerm(this, a.castToVar(), b);
|
|
@@ -3490,7 +3495,7 @@
|
|
|
3490
3495
|
};
|
|
3491
3496
|
protoOf(DefaultComparator).compare = function (a, b) {
|
|
3492
3497
|
var tmp = (!(a == null) ? isInterface(a, Term) : false) ? a : THROW_CCE();
|
|
3493
|
-
return this.
|
|
3498
|
+
return this.compare_a0c51t_k$(tmp, (!(b == null) ? isInterface(b, Term) : false) ? b : THROW_CCE());
|
|
3494
3499
|
};
|
|
3495
3500
|
var DefaultComparator_instance;
|
|
3496
3501
|
function DefaultComparator_getInstance() {
|
|
@@ -3511,7 +3516,7 @@
|
|
|
3511
3516
|
do {
|
|
3512
3517
|
var i = inductionVariable;
|
|
3513
3518
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3514
|
-
var ithArgComparison = DefaultComparator_instance.
|
|
3519
|
+
var ithArgComparison = DefaultComparator_instance.compare_a0c51t_k$(a.get(i), b.get(i));
|
|
3515
3520
|
if (!(ithArgComparison === 0)) {
|
|
3516
3521
|
return ithArgComparison;
|
|
3517
3522
|
}
|
|
@@ -3833,7 +3838,7 @@
|
|
|
3833
3838
|
this.EMPTY_BLOCK_FUNCTOR_1 = '{}';
|
|
3834
3839
|
this.INDICATOR_FUNCTOR_1 = '/';
|
|
3835
3840
|
}
|
|
3836
|
-
protoOf(Terms).
|
|
3841
|
+
protoOf(Terms).escapeChar_2um7ja_k$ = function (char, singleQuotes, doubleQuotes) {
|
|
3837
3842
|
return char === _Char___init__impl__6a9atx(10) ? '\\n' : char === _Char___init__impl__6a9atx(9) ? '\\t' : char === _Char___init__impl__6a9atx(13) ? '\\r' : char === _Char___init__impl__6a9atx(92) ? '\\\\' : char === _Char___init__impl__6a9atx(39) ? singleQuotes ? "\\'" : "'" : char === _Char___init__impl__6a9atx(34) ? doubleQuotes ? '\\"' : '"' : toString_1(char);
|
|
3838
3843
|
};
|
|
3839
3844
|
var Terms_instance;
|
|
@@ -3984,12 +3989,12 @@
|
|
|
3984
3989
|
protoOf(TupleIterator$tupleIteratorVisitor$1).visitTuple = function (term) {
|
|
3985
3990
|
return this.visitTuple_j9vfzg_k$(term);
|
|
3986
3991
|
};
|
|
3987
|
-
protoOf(TupleIterator$tupleIteratorVisitor$1).
|
|
3992
|
+
protoOf(TupleIterator$tupleIteratorVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
3988
3993
|
this.this$0__1.current_1 = null;
|
|
3989
3994
|
return term;
|
|
3990
3995
|
};
|
|
3991
3996
|
protoOf(TupleIterator$tupleIteratorVisitor$1).defaultValue = function (term) {
|
|
3992
|
-
return this.
|
|
3997
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
3993
3998
|
};
|
|
3994
3999
|
function TupleIterator(tuple) {
|
|
3995
4000
|
var tmp = this;
|
|
@@ -4247,7 +4252,7 @@
|
|
|
4247
4252
|
return this.castTo_8vzplt_k$();
|
|
4248
4253
|
};
|
|
4249
4254
|
protoOf(AbstractCons).compareTo_hpufkf_k$ = function (other) {
|
|
4250
|
-
return this.
|
|
4255
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
4251
4256
|
};
|
|
4252
4257
|
protoOf(AbstractCons).asCons = function () {
|
|
4253
4258
|
return this.asCons_nb98cd_k$();
|
|
@@ -4330,7 +4335,7 @@
|
|
|
4330
4335
|
protoOf(AbstractStruct).freshCopyFromScope = function (scope) {
|
|
4331
4336
|
return this.freshCopyFromScope_tnhsyi_k$(scope);
|
|
4332
4337
|
};
|
|
4333
|
-
protoOf(AbstractStruct).
|
|
4338
|
+
protoOf(AbstractStruct).structurallyEquals_9blifm_k$ = function (other) {
|
|
4334
4339
|
var tmp;
|
|
4335
4340
|
if (other.get_isStruct_zeoyoo_k$()) {
|
|
4336
4341
|
// Inline function 'kotlin.let' call
|
|
@@ -4342,7 +4347,7 @@
|
|
|
4342
4347
|
return tmp;
|
|
4343
4348
|
};
|
|
4344
4349
|
protoOf(AbstractStruct).structurallyEquals = function (other) {
|
|
4345
|
-
return this.
|
|
4350
|
+
return this.structurallyEquals_9blifm_k$(other);
|
|
4346
4351
|
};
|
|
4347
4352
|
protoOf(AbstractStruct).itemsAreStructurallyEqual_v1tbki_k$ = function (other) {
|
|
4348
4353
|
var inductionVariable = 0;
|
|
@@ -4409,7 +4414,7 @@
|
|
|
4409
4414
|
while (inductionVariable < last);
|
|
4410
4415
|
return true;
|
|
4411
4416
|
};
|
|
4412
|
-
protoOf(AbstractStruct).
|
|
4417
|
+
protoOf(AbstractStruct).equalsUsingVarCompleteNames_be7foz_k$ = function (other, useVarCompleteName) {
|
|
4413
4418
|
var tmp0_safe_receiver = other.asStruct();
|
|
4414
4419
|
var tmp;
|
|
4415
4420
|
if (tmp0_safe_receiver == null) {
|
|
@@ -4422,7 +4427,7 @@
|
|
|
4422
4427
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
4423
4428
|
};
|
|
4424
4429
|
protoOf(AbstractStruct).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
4425
|
-
return this.
|
|
4430
|
+
return this.equalsUsingVarCompleteNames_be7foz_k$(other, useVarCompleteName);
|
|
4426
4431
|
};
|
|
4427
4432
|
protoOf(AbstractStruct).get_hashCodeCache_8fx9tq_k$ = function () {
|
|
4428
4433
|
var tmp0 = this.hashCodeCache$delegate_1;
|
|
@@ -4439,19 +4444,19 @@
|
|
|
4439
4444
|
var quoted = Companion_getInstance_18().enquoteFunctorIfNecessary(escaped);
|
|
4440
4445
|
return quoted + (this.get_arity_iosiic_k$() > 0 ? '(' + joinToString(this.get_argsList_cw1bs4_k$(), ', ') + ')' : '');
|
|
4441
4446
|
};
|
|
4442
|
-
protoOf(AbstractStruct).
|
|
4447
|
+
protoOf(AbstractStruct).addLast_8geq7w_k$ = function (argument) {
|
|
4443
4448
|
return Companion_getInstance_18().ofList(this.get_functor_75vgt2_k$(), plus_1(this.get_argsList_cw1bs4_k$(), argument));
|
|
4444
4449
|
};
|
|
4445
4450
|
protoOf(AbstractStruct).addLast = function (argument) {
|
|
4446
|
-
return this.
|
|
4451
|
+
return this.addLast_8geq7w_k$(argument);
|
|
4447
4452
|
};
|
|
4448
|
-
protoOf(AbstractStruct).
|
|
4453
|
+
protoOf(AbstractStruct).addFirst_obxnv0_k$ = function (argument) {
|
|
4449
4454
|
return Companion_getInstance_18().ofList(this.get_functor_75vgt2_k$(), plus(listOf_0(argument), this.get_argsList_cw1bs4_k$()));
|
|
4450
4455
|
};
|
|
4451
4456
|
protoOf(AbstractStruct).addFirst = function (argument) {
|
|
4452
|
-
return this.
|
|
4457
|
+
return this.addFirst_obxnv0_k$(argument);
|
|
4453
4458
|
};
|
|
4454
|
-
protoOf(AbstractStruct).
|
|
4459
|
+
protoOf(AbstractStruct).insertAt_xv0lrl_k$ = function (index, argument) {
|
|
4455
4460
|
var tmp;
|
|
4456
4461
|
if (0 <= index ? index < this.get_arity_iosiic_k$() : false) {
|
|
4457
4462
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -4464,7 +4469,7 @@
|
|
|
4464
4469
|
return tmp;
|
|
4465
4470
|
};
|
|
4466
4471
|
protoOf(AbstractStruct).insertAt = function (index, argument) {
|
|
4467
|
-
return this.
|
|
4472
|
+
return this.insertAt_xv0lrl_k$(index, argument);
|
|
4468
4473
|
};
|
|
4469
4474
|
protoOf(AbstractStruct).setFunctor_56hc3t_k$ = function (functor) {
|
|
4470
4475
|
return Companion_getInstance_18().ofList(functor, this.get_argsList_cw1bs4_k$());
|
|
@@ -4515,7 +4520,7 @@
|
|
|
4515
4520
|
return this.castTo_8vzplt_k$();
|
|
4516
4521
|
};
|
|
4517
4522
|
protoOf(AbstractStruct).compareTo_hpufkf_k$ = function (other) {
|
|
4518
|
-
return this.
|
|
4523
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
4519
4524
|
};
|
|
4520
4525
|
protoOf(AbstractStruct).asStruct = function () {
|
|
4521
4526
|
return this.asStruct_l3eul5_k$();
|
|
@@ -4536,7 +4541,7 @@
|
|
|
4536
4541
|
if (term.get_functor_75vgt2_k$() === '$VAR' && term.get_arity_iosiic_k$() === 1) {
|
|
4537
4542
|
// Inline function 'kotlin.let' call
|
|
4538
4543
|
var it = term.get(0);
|
|
4539
|
-
tmp = (it.get_isInteger_vb3zt7_k$() && it.castToInteger().get_value_j01efc_k$().
|
|
4544
|
+
tmp = (it.get_isInteger_vb3zt7_k$() && it.castToInteger().get_value_j01efc_k$().compareTo_u56mz_k$(Companion_getInstance().ZERO) >= 0);
|
|
4540
4545
|
} else {
|
|
4541
4546
|
tmp = false;
|
|
4542
4547
|
}
|
|
@@ -4545,7 +4550,7 @@
|
|
|
4545
4550
|
function numberedVar($this, integer) {
|
|
4546
4551
|
var letterIndex = integer.get_value_j01efc_k$().rem(Companion_getInstance_29().TWENTY_SIX_1).toInt() + 65 | 0;
|
|
4547
4552
|
var varNumber = integer.get_value_j01efc_k$().div(Companion_getInstance_29().TWENTY_SIX_1);
|
|
4548
|
-
return toString_1(numberToChar(letterIndex)) + varNumber.
|
|
4553
|
+
return toString_1(numberToChar(letterIndex)) + toString(varNumber.signum > 0 ? varNumber : '');
|
|
4549
4554
|
}
|
|
4550
4555
|
function formatFunctor($this, term) {
|
|
4551
4556
|
var tmp;
|
|
@@ -4572,7 +4577,7 @@
|
|
|
4572
4577
|
}
|
|
4573
4578
|
function AbstractTermFormatter$visitCollection$lambda(this$0, $term) {
|
|
4574
4579
|
return function (it) {
|
|
4575
|
-
return this$0.
|
|
4580
|
+
return this$0.defaultValue_gnn9hx_k$($term);
|
|
4576
4581
|
};
|
|
4577
4582
|
}
|
|
4578
4583
|
function AbstractTermFormatter$visitCons$lambda$lambda(this$0) {
|
|
@@ -4595,7 +4600,7 @@
|
|
|
4595
4600
|
}
|
|
4596
4601
|
var lastString = tmp_0;
|
|
4597
4602
|
var tmp$ret$0 = base + lastString;
|
|
4598
|
-
return this$0.
|
|
4603
|
+
return this$0.plusTagsOf_2jpse1_k$(tmp$ret$0, $term);
|
|
4599
4604
|
};
|
|
4600
4605
|
}
|
|
4601
4606
|
function AbstractTermFormatter$visitBlock$lambda$lambda(this$0) {
|
|
@@ -4606,7 +4611,7 @@
|
|
|
4606
4611
|
function AbstractTermFormatter$visitBlock$lambda(this$0, $term) {
|
|
4607
4612
|
return function (it) {
|
|
4608
4613
|
var tmp = $term.get_unfoldedSequence_yne57n_k$();
|
|
4609
|
-
return this$0.
|
|
4614
|
+
return this$0.plusTagsOf_2jpse1_k$(joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractTermFormatter$visitBlock$lambda$lambda(this$0)), $term);
|
|
4610
4615
|
};
|
|
4611
4616
|
}
|
|
4612
4617
|
function AbstractTermFormatter$visitTuple$lambda$lambda(this$0) {
|
|
@@ -4617,7 +4622,7 @@
|
|
|
4617
4622
|
function AbstractTermFormatter$visitTuple$lambda(this$0, $term) {
|
|
4618
4623
|
return function (it) {
|
|
4619
4624
|
var tmp = $term.get_unfoldedSequence_yne57n_k$();
|
|
4620
|
-
return this$0.
|
|
4625
|
+
return this$0.plusTagsOf_2jpse1_k$(joinToString_0(tmp, ', ', '(', ')', VOID, VOID, AbstractTermFormatter$visitTuple$lambda$lambda(this$0)), $term);
|
|
4621
4626
|
};
|
|
4622
4627
|
}
|
|
4623
4628
|
function AbstractTermFormatter$visitClause$lambda($term, this$0) {
|
|
@@ -4636,7 +4641,7 @@
|
|
|
4636
4641
|
this.ignoreOps_1 = ignoreOps;
|
|
4637
4642
|
this.tagsOptions_1 = tagsOptions;
|
|
4638
4643
|
}
|
|
4639
|
-
protoOf(AbstractTermFormatter).
|
|
4644
|
+
protoOf(AbstractTermFormatter).plusTagsOf_2jpse1_k$ = function (_this__u8e3s4, term) {
|
|
4640
4645
|
var formattedTags = this.tagsOptions_1.formatTags_6tyvwr_k$(term.get_tags_wousf6_k$());
|
|
4641
4646
|
var tmp;
|
|
4642
4647
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -4647,14 +4652,14 @@
|
|
|
4647
4652
|
}
|
|
4648
4653
|
return tmp;
|
|
4649
4654
|
};
|
|
4650
|
-
protoOf(AbstractTermFormatter).
|
|
4651
|
-
return this.
|
|
4655
|
+
protoOf(AbstractTermFormatter).defaultValue_gnn9hx_k$ = function (term) {
|
|
4656
|
+
return this.plusTagsOf_2jpse1_k$(term.toString(), term);
|
|
4652
4657
|
};
|
|
4653
4658
|
protoOf(AbstractTermFormatter).defaultValue = function (term) {
|
|
4654
|
-
return this.
|
|
4659
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
4655
4660
|
};
|
|
4656
4661
|
protoOf(AbstractTermFormatter).visitAtom_ibpkj8_k$ = function (term) {
|
|
4657
|
-
return this.
|
|
4662
|
+
return this.plusTagsOf_2jpse1_k$(formatFunctor(this, term), term);
|
|
4658
4663
|
};
|
|
4659
4664
|
protoOf(AbstractTermFormatter).visitAtom = function (term) {
|
|
4660
4665
|
return this.visitAtom_ibpkj8_k$(term);
|
|
@@ -4671,7 +4676,7 @@
|
|
|
4671
4676
|
tmp = functor + args;
|
|
4672
4677
|
}
|
|
4673
4678
|
var tmp$ret$0 = tmp;
|
|
4674
|
-
return this.
|
|
4679
|
+
return this.plusTagsOf_2jpse1_k$(tmp$ret$0, term);
|
|
4675
4680
|
};
|
|
4676
4681
|
protoOf(AbstractTermFormatter).visitStruct = function (term) {
|
|
4677
4682
|
return this.visitStruct_bessvw_k$(term);
|
|
@@ -4689,7 +4694,7 @@
|
|
|
4689
4694
|
return this.visitList_5oxo7k_k$(term);
|
|
4690
4695
|
};
|
|
4691
4696
|
protoOf(AbstractTermFormatter).visitEmptyList_huywf4_k$ = function (term) {
|
|
4692
|
-
return this.
|
|
4697
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
4693
4698
|
};
|
|
4694
4699
|
protoOf(AbstractTermFormatter).visitEmptyList = function (term) {
|
|
4695
4700
|
return this.visitEmptyList_huywf4_k$(term);
|
|
@@ -4749,7 +4754,7 @@
|
|
|
4749
4754
|
return this.visitIndicator_b9t5yz_k$(term);
|
|
4750
4755
|
};
|
|
4751
4756
|
protoOf(AbstractTermFormatter).format = function (value) {
|
|
4752
|
-
return this.
|
|
4757
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
4753
4758
|
};
|
|
4754
4759
|
function AbstractTermFormatterForVariables(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
4755
4760
|
quoted = quoted === VOID ? true : quoted;
|
|
@@ -4786,13 +4791,13 @@
|
|
|
4786
4791
|
tmp0.put_4fpzoq_k$(tmp2, value);
|
|
4787
4792
|
tmp = this.formatVar_5njd8k_k$(term, '');
|
|
4788
4793
|
}
|
|
4789
|
-
return this.
|
|
4794
|
+
return this.plusTagsOf_2jpse1_k$(tmp, term);
|
|
4790
4795
|
};
|
|
4791
4796
|
protoOf(AbstractTermFormatterForVariables).visitVar = function (term) {
|
|
4792
4797
|
return this.visitVar_e0euaa_k$(term);
|
|
4793
4798
|
};
|
|
4794
4799
|
protoOf(AbstractTermFormatterForVariables).format = function (value) {
|
|
4795
|
-
return this.
|
|
4800
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
4796
4801
|
};
|
|
4797
4802
|
function AtomImpl(functor, tags) {
|
|
4798
4803
|
tags = tags === VOID ? emptyMap() : tags;
|
|
@@ -4836,7 +4841,7 @@
|
|
|
4836
4841
|
return this.castTo_8vzplt_k$();
|
|
4837
4842
|
};
|
|
4838
4843
|
protoOf(AtomImpl).compareTo_hpufkf_k$ = function (other) {
|
|
4839
|
-
return this.
|
|
4844
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
4840
4845
|
};
|
|
4841
4846
|
protoOf(AtomImpl).asAtom = function () {
|
|
4842
4847
|
return this.asAtom_nbael9_k$();
|
|
@@ -4933,7 +4938,7 @@
|
|
|
4933
4938
|
return this.castTo_8vzplt_k$();
|
|
4934
4939
|
};
|
|
4935
4940
|
protoOf(BlockImpl).compareTo_hpufkf_k$ = function (other) {
|
|
4936
|
-
return this.
|
|
4941
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
4937
4942
|
};
|
|
4938
4943
|
protoOf(BlockImpl).asBlock = function () {
|
|
4939
4944
|
return this.asBlock_cefc05_k$();
|
|
@@ -4960,12 +4965,12 @@
|
|
|
4960
4965
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).visitTuple = function (term) {
|
|
4961
4966
|
return this.visitTuple_j9vfzg_k$(term);
|
|
4962
4967
|
};
|
|
4963
|
-
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).
|
|
4968
|
+
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
4964
4969
|
this.this$0__1.current_1 = null;
|
|
4965
4970
|
return term;
|
|
4966
4971
|
};
|
|
4967
4972
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).defaultValue = function (term) {
|
|
4968
|
-
return this.
|
|
4973
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
4969
4974
|
};
|
|
4970
4975
|
function BlockUnfolder$blockUnfolderVisitor$1(this$0) {
|
|
4971
4976
|
this.this$0__1 = this$0;
|
|
@@ -4985,12 +4990,12 @@
|
|
|
4985
4990
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).visitBlock = function (term) {
|
|
4986
4991
|
return this.visitBlock_8q05mc_k$(term);
|
|
4987
4992
|
};
|
|
4988
|
-
protoOf(BlockUnfolder$blockUnfolderVisitor$1).
|
|
4993
|
+
protoOf(BlockUnfolder$blockUnfolderVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
4989
4994
|
this.this$0__1.current_1 = null;
|
|
4990
4995
|
return term;
|
|
4991
4996
|
};
|
|
4992
4997
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).defaultValue = function (term) {
|
|
4993
|
-
return this.
|
|
4998
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
4994
4999
|
};
|
|
4995
5000
|
function BlockUnfolder(block) {
|
|
4996
5001
|
this.current_1 = block;
|
|
@@ -5098,11 +5103,11 @@
|
|
|
5098
5103
|
protoOf(ClauseImpl).setHead = function (head) {
|
|
5099
5104
|
return this.setHead_uwzdq_k$(head);
|
|
5100
5105
|
};
|
|
5101
|
-
protoOf(ClauseImpl).
|
|
5106
|
+
protoOf(ClauseImpl).setBody_pf871z_k$ = function (body) {
|
|
5102
5107
|
return Companion_getInstance_3().of_5sz659_k$(this.get_head_won7e1_k$(), [body]);
|
|
5103
5108
|
};
|
|
5104
5109
|
protoOf(ClauseImpl).setBody = function (body) {
|
|
5105
|
-
return this.
|
|
5110
|
+
return this.setBody_pf871z_k$(body);
|
|
5106
5111
|
};
|
|
5107
5112
|
protoOf(ClauseImpl).setHeadFunctor_vsb155_k$ = function (functor) {
|
|
5108
5113
|
var tmp = Companion_getInstance_3();
|
|
@@ -5136,41 +5141,41 @@
|
|
|
5136
5141
|
protoOf(ClauseImpl).setHeadArgsSequence = function (arguments_0) {
|
|
5137
5142
|
return this.setHeadArgsSequence_5fdrv3_k$(arguments_0);
|
|
5138
5143
|
};
|
|
5139
|
-
protoOf(ClauseImpl).
|
|
5144
|
+
protoOf(ClauseImpl).insertHeadArg_kf8nk0_k$ = function (index, argument) {
|
|
5140
5145
|
var tmp = Companion_getInstance_3();
|
|
5141
5146
|
var tmp0_safe_receiver = this.get_head_won7e1_k$();
|
|
5142
5147
|
return tmp.of_5sz659_k$(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.insertAt(index, argument), [this.get_body_wojkyz_k$()]);
|
|
5143
5148
|
};
|
|
5144
5149
|
protoOf(ClauseImpl).insertHeadArg = function (index, argument) {
|
|
5145
|
-
return this.
|
|
5150
|
+
return this.insertHeadArg_kf8nk0_k$(index, argument);
|
|
5146
5151
|
};
|
|
5147
|
-
protoOf(ClauseImpl).
|
|
5152
|
+
protoOf(ClauseImpl).addFirstHeadArg_qdnvho_k$ = function (argument) {
|
|
5148
5153
|
var tmp = Companion_getInstance_3();
|
|
5149
5154
|
var tmp0_safe_receiver = this.get_head_won7e1_k$();
|
|
5150
5155
|
return tmp.of_5sz659_k$(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.addFirst(argument), [this.get_body_wojkyz_k$()]);
|
|
5151
5156
|
};
|
|
5152
5157
|
protoOf(ClauseImpl).addFirstHeadArg = function (argument) {
|
|
5153
|
-
return this.
|
|
5158
|
+
return this.addFirstHeadArg_qdnvho_k$(argument);
|
|
5154
5159
|
};
|
|
5155
|
-
protoOf(ClauseImpl).
|
|
5160
|
+
protoOf(ClauseImpl).addLastHeadArg_5qtsro_k$ = function (argument) {
|
|
5156
5161
|
var tmp = Companion_getInstance_3();
|
|
5157
5162
|
var tmp0_safe_receiver = this.get_head_won7e1_k$();
|
|
5158
5163
|
return tmp.of_5sz659_k$(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.addLast(argument), [this.get_body_wojkyz_k$()]);
|
|
5159
5164
|
};
|
|
5160
5165
|
protoOf(ClauseImpl).addLastHeadArg = function (argument) {
|
|
5161
|
-
return this.
|
|
5166
|
+
return this.addLastHeadArg_5qtsro_k$(argument);
|
|
5162
5167
|
};
|
|
5163
|
-
protoOf(ClauseImpl).
|
|
5164
|
-
return this.
|
|
5168
|
+
protoOf(ClauseImpl).appendHeadArg_eouadd_k$ = function (argument) {
|
|
5169
|
+
return this.addLastHeadArg_5qtsro_k$(argument);
|
|
5165
5170
|
};
|
|
5166
5171
|
protoOf(ClauseImpl).appendHeadArg = function (argument) {
|
|
5167
|
-
return this.
|
|
5172
|
+
return this.appendHeadArg_eouadd_k$(argument);
|
|
5168
5173
|
};
|
|
5169
|
-
protoOf(ClauseImpl).
|
|
5174
|
+
protoOf(ClauseImpl).setBodyItems_x2yi10_k$ = function (argument, arguments_0) {
|
|
5170
5175
|
return Companion_getInstance_3().of_5sz659_k$(this.get_head_won7e1_k$(), arrayConcat([[argument], arguments_0]));
|
|
5171
5176
|
};
|
|
5172
5177
|
protoOf(ClauseImpl).setBodyItems = function (argument, arguments_0) {
|
|
5173
|
-
return this.
|
|
5178
|
+
return this.setBodyItems_x2yi10_k$(argument, arguments_0);
|
|
5174
5179
|
};
|
|
5175
5180
|
protoOf(ClauseImpl).setBodyItemsIterable_9zl4el_k$ = function (arguments_0) {
|
|
5176
5181
|
return Companion_getInstance_3().of_67qcex_k$(this.get_head_won7e1_k$(), arguments_0);
|
|
@@ -5184,30 +5189,30 @@
|
|
|
5184
5189
|
protoOf(ClauseImpl).setBodyItemsSequence = function (arguments_0) {
|
|
5185
5190
|
return this.setBodyItemsSequence_ujt53i_k$(arguments_0);
|
|
5186
5191
|
};
|
|
5187
|
-
protoOf(ClauseImpl).
|
|
5192
|
+
protoOf(ClauseImpl).insertBodyItem_gskvox_k$ = function (index, argument) {
|
|
5188
5193
|
ensureIndexIsInBodyRange(this, index);
|
|
5189
5194
|
return Companion_getInstance_3().of_eazhrp_k$(this.get_head_won7e1_k$(), insertAt(_get_bodyItemsSequence__ip18gi(this), index, argument, []));
|
|
5190
5195
|
};
|
|
5191
5196
|
protoOf(ClauseImpl).insertBodyItem = function (index, argument) {
|
|
5192
|
-
return this.
|
|
5197
|
+
return this.insertBodyItem_gskvox_k$(index, argument);
|
|
5193
5198
|
};
|
|
5194
|
-
protoOf(ClauseImpl).
|
|
5199
|
+
protoOf(ClauseImpl).addFirstBodyItem_hfuqtz_k$ = function (argument) {
|
|
5195
5200
|
return Companion_getInstance_3().of_eazhrp_k$(this.get_head_won7e1_k$(), plus_2(sequenceOf_0(argument), _get_bodyItemsSequence__ip18gi(this)));
|
|
5196
5201
|
};
|
|
5197
5202
|
protoOf(ClauseImpl).addFirstBodyItem = function (argument) {
|
|
5198
|
-
return this.
|
|
5203
|
+
return this.addFirstBodyItem_hfuqtz_k$(argument);
|
|
5199
5204
|
};
|
|
5200
|
-
protoOf(ClauseImpl).
|
|
5205
|
+
protoOf(ClauseImpl).addLastBodyItem_htqlfz_k$ = function (argument) {
|
|
5201
5206
|
return Companion_getInstance_3().of_eazhrp_k$(this.get_head_won7e1_k$(), plus_2(_get_bodyItemsSequence__ip18gi(this), sequenceOf_0(argument)));
|
|
5202
5207
|
};
|
|
5203
5208
|
protoOf(ClauseImpl).addLastBodyItem = function (argument) {
|
|
5204
|
-
return this.
|
|
5209
|
+
return this.addLastBodyItem_htqlfz_k$(argument);
|
|
5205
5210
|
};
|
|
5206
|
-
protoOf(ClauseImpl).
|
|
5207
|
-
return this.
|
|
5211
|
+
protoOf(ClauseImpl).appendBodyItem_onrnnw_k$ = function (argument) {
|
|
5212
|
+
return this.addLastBodyItem_htqlfz_k$(argument);
|
|
5208
5213
|
};
|
|
5209
5214
|
protoOf(ClauseImpl).appendBodyItem = function (argument) {
|
|
5210
|
-
return this.
|
|
5215
|
+
return this.appendBodyItem_onrnnw_k$(argument);
|
|
5211
5216
|
};
|
|
5212
5217
|
protoOf(ClauseImpl).accept_bf9pe1_k$ = function (visitor) {
|
|
5213
5218
|
return visitor.visitClause(this);
|
|
@@ -5219,7 +5224,7 @@
|
|
|
5219
5224
|
return this.castTo_8vzplt_k$();
|
|
5220
5225
|
};
|
|
5221
5226
|
protoOf(ClauseImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5222
|
-
return this.
|
|
5227
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5223
5228
|
};
|
|
5224
5229
|
protoOf(ClauseImpl).asClause = function () {
|
|
5225
5230
|
return this.asClause_ssu01r_k$();
|
|
@@ -5323,7 +5328,7 @@
|
|
|
5323
5328
|
return this.castTo_8vzplt_k$();
|
|
5324
5329
|
};
|
|
5325
5330
|
protoOf(ConsImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5326
|
-
return this.
|
|
5331
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5327
5332
|
};
|
|
5328
5333
|
protoOf(ConsImpl).asCons = function () {
|
|
5329
5334
|
return this.asCons_nb98cd_k$();
|
|
@@ -5374,7 +5379,7 @@
|
|
|
5374
5379
|
return this.castTo_8vzplt_k$();
|
|
5375
5380
|
};
|
|
5376
5381
|
protoOf(DirectiveImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5377
|
-
return this.
|
|
5382
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5378
5383
|
};
|
|
5379
5384
|
protoOf(DirectiveImpl).asClause = function () {
|
|
5380
5385
|
return this.asClause_ssu01r_k$();
|
|
@@ -5431,7 +5436,7 @@
|
|
|
5431
5436
|
return this.castTo_8vzplt_k$();
|
|
5432
5437
|
};
|
|
5433
5438
|
protoOf(EmptyBlockImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5434
|
-
return this.
|
|
5439
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5435
5440
|
};
|
|
5436
5441
|
protoOf(EmptyBlockImpl).asAtom = function () {
|
|
5437
5442
|
return this.asAtom_nbael9_k$();
|
|
@@ -5527,7 +5532,7 @@
|
|
|
5527
5532
|
return this.castTo_8vzplt_k$();
|
|
5528
5533
|
};
|
|
5529
5534
|
protoOf(EmptyListImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5530
|
-
return this.
|
|
5535
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5531
5536
|
};
|
|
5532
5537
|
protoOf(EmptyListImpl).asAtom = function () {
|
|
5533
5538
|
return this.asAtom_nbael9_k$();
|
|
@@ -5608,29 +5613,29 @@
|
|
|
5608
5613
|
protoOf(FactImpl).setHeadArgsSequence = function (arguments_0) {
|
|
5609
5614
|
return this.setHeadArgsSequence_5fdrv3_k$(arguments_0);
|
|
5610
5615
|
};
|
|
5611
|
-
protoOf(FactImpl).
|
|
5612
|
-
return protoOf(RuleImpl).
|
|
5616
|
+
protoOf(FactImpl).insertHeadArg_kf8nk0_k$ = function (index, argument) {
|
|
5617
|
+
return protoOf(RuleImpl).insertHeadArg_kf8nk0_k$.call(this, index, argument).castToFact();
|
|
5613
5618
|
};
|
|
5614
5619
|
protoOf(FactImpl).insertHeadArg = function (index, argument) {
|
|
5615
|
-
return this.
|
|
5620
|
+
return this.insertHeadArg_kf8nk0_k$(index, argument);
|
|
5616
5621
|
};
|
|
5617
|
-
protoOf(FactImpl).
|
|
5618
|
-
return protoOf(RuleImpl).
|
|
5622
|
+
protoOf(FactImpl).addFirstHeadArg_qdnvho_k$ = function (argument) {
|
|
5623
|
+
return protoOf(RuleImpl).addFirstHeadArg_qdnvho_k$.call(this, argument).castToFact();
|
|
5619
5624
|
};
|
|
5620
5625
|
protoOf(FactImpl).addFirstHeadArg = function (argument) {
|
|
5621
|
-
return this.
|
|
5626
|
+
return this.addFirstHeadArg_qdnvho_k$(argument);
|
|
5622
5627
|
};
|
|
5623
|
-
protoOf(FactImpl).
|
|
5624
|
-
return protoOf(RuleImpl).
|
|
5628
|
+
protoOf(FactImpl).addLastHeadArg_5qtsro_k$ = function (argument) {
|
|
5629
|
+
return protoOf(RuleImpl).addLastHeadArg_5qtsro_k$.call(this, argument).castToFact();
|
|
5625
5630
|
};
|
|
5626
5631
|
protoOf(FactImpl).addLastHeadArg = function (argument) {
|
|
5627
|
-
return this.
|
|
5632
|
+
return this.addLastHeadArg_5qtsro_k$(argument);
|
|
5628
5633
|
};
|
|
5629
|
-
protoOf(FactImpl).
|
|
5630
|
-
return protoOf(RuleImpl).
|
|
5634
|
+
protoOf(FactImpl).appendHeadArg_eouadd_k$ = function (argument) {
|
|
5635
|
+
return protoOf(RuleImpl).appendHeadArg_eouadd_k$.call(this, argument).castToFact();
|
|
5631
5636
|
};
|
|
5632
5637
|
protoOf(FactImpl).appendHeadArg = function (argument) {
|
|
5633
|
-
return this.
|
|
5638
|
+
return this.appendHeadArg_eouadd_k$(argument);
|
|
5634
5639
|
};
|
|
5635
5640
|
protoOf(FactImpl).accept_bf9pe1_k$ = function (visitor) {
|
|
5636
5641
|
return visitor.visitFact(this);
|
|
@@ -5642,7 +5647,7 @@
|
|
|
5642
5647
|
return this.castTo_8vzplt_k$();
|
|
5643
5648
|
};
|
|
5644
5649
|
protoOf(FactImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5645
|
-
return this.
|
|
5650
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5646
5651
|
};
|
|
5647
5652
|
protoOf(FactImpl).asClause = function () {
|
|
5648
5653
|
return this.asClause_ssu01r_k$();
|
|
@@ -5705,7 +5710,7 @@
|
|
|
5705
5710
|
return this.castTo_8vzplt_k$();
|
|
5706
5711
|
};
|
|
5707
5712
|
protoOf(IndicatorImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5708
|
-
return this.
|
|
5713
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5709
5714
|
};
|
|
5710
5715
|
protoOf(IndicatorImpl).asIndicator = function () {
|
|
5711
5716
|
return this.asIndicator_wd8265_k$();
|
|
@@ -5788,21 +5793,21 @@
|
|
|
5788
5793
|
if (integer === null)
|
|
5789
5794
|
return false;
|
|
5790
5795
|
// Inline function 'it.unibo.tuprolog.core.impl.IntegerImpl.equalsToInteger' call
|
|
5791
|
-
return this.value_1.
|
|
5796
|
+
return this.value_1.compareTo_u56mz_k$(integer.get_value_j01efc_k$()) === 0;
|
|
5792
5797
|
};
|
|
5793
|
-
protoOf(IntegerImpl).
|
|
5798
|
+
protoOf(IntegerImpl).equalsUsingVarCompleteNames_be7foz_k$ = function (other, useVarCompleteName) {
|
|
5794
5799
|
var tmp;
|
|
5795
5800
|
if (other.get_isInteger_vb3zt7_k$()) {
|
|
5796
5801
|
// Inline function 'it.unibo.tuprolog.core.impl.IntegerImpl.equalsToInteger' call
|
|
5797
5802
|
var other_0 = other.castToInteger();
|
|
5798
|
-
tmp = this.value_1.
|
|
5803
|
+
tmp = this.value_1.compareTo_u56mz_k$(other_0.get_value_j01efc_k$()) === 0;
|
|
5799
5804
|
} else {
|
|
5800
5805
|
tmp = false;
|
|
5801
5806
|
}
|
|
5802
5807
|
return tmp;
|
|
5803
5808
|
};
|
|
5804
5809
|
protoOf(IntegerImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
5805
|
-
return this.
|
|
5810
|
+
return this.equalsUsingVarCompleteNames_be7foz_k$(other, useVarCompleteName);
|
|
5806
5811
|
};
|
|
5807
5812
|
protoOf(IntegerImpl).get_hashCodeCache_8fx9tq_k$ = function () {
|
|
5808
5813
|
var tmp0 = this.hashCodeCache$delegate_1;
|
|
@@ -5812,7 +5817,7 @@
|
|
|
5812
5817
|
return tmp0.get_value_j01efc_k$();
|
|
5813
5818
|
};
|
|
5814
5819
|
protoOf(IntegerImpl).compareValueTo_92o0qj_k$ = function (other) {
|
|
5815
|
-
return other.get_isInteger_vb3zt7_k$() ? this.value_1.
|
|
5820
|
+
return other.get_isInteger_vb3zt7_k$() ? this.value_1.compareTo_u56mz_k$(other.castToInteger().get_value_j01efc_k$()) : protoOf(NumericImpl).compareValueTo.call(this, other);
|
|
5816
5821
|
};
|
|
5817
5822
|
protoOf(IntegerImpl).compareValueTo = function (other) {
|
|
5818
5823
|
return this.compareValueTo_92o0qj_k$(other);
|
|
@@ -5842,7 +5847,7 @@
|
|
|
5842
5847
|
return this.castTo_8vzplt_k$();
|
|
5843
5848
|
};
|
|
5844
5849
|
protoOf(IntegerImpl).compareTo_hpufkf_k$ = function (other) {
|
|
5845
|
-
return this.
|
|
5850
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5846
5851
|
};
|
|
5847
5852
|
protoOf(IntegerImpl).asConstant = function () {
|
|
5848
5853
|
return this.asConstant_3hn112_k$();
|
|
@@ -5966,7 +5971,7 @@
|
|
|
5966
5971
|
return this.castTo_8vzplt_k$();
|
|
5967
5972
|
};
|
|
5968
5973
|
protoOf(LazyConsWithExplicitLast).compareTo_hpufkf_k$ = function (other) {
|
|
5969
|
-
return this.
|
|
5974
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
5970
5975
|
};
|
|
5971
5976
|
protoOf(LazyConsWithExplicitLast).asCons = function () {
|
|
5972
5977
|
return this.asCons_nb98cd_k$();
|
|
@@ -6090,7 +6095,7 @@
|
|
|
6090
6095
|
return this.castTo_8vzplt_k$();
|
|
6091
6096
|
};
|
|
6092
6097
|
protoOf(LazyConsWithImplicitLast).compareTo_hpufkf_k$ = function (other) {
|
|
6093
|
-
return this.
|
|
6098
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
6094
6099
|
};
|
|
6095
6100
|
protoOf(LazyConsWithImplicitLast).asCons = function () {
|
|
6096
6101
|
return this.asCons_nb98cd_k$();
|
|
@@ -6121,12 +6126,12 @@
|
|
|
6121
6126
|
protoOf(ListUnfolder$listUnfolderVisitor$1).visitEmptyList = function (term) {
|
|
6122
6127
|
return this.visitEmptyList_huywf4_k$(term);
|
|
6123
6128
|
};
|
|
6124
|
-
protoOf(ListUnfolder$listUnfolderVisitor$1).
|
|
6129
|
+
protoOf(ListUnfolder$listUnfolderVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
6125
6130
|
this.this$0__1.current_1 = null;
|
|
6126
6131
|
return term;
|
|
6127
6132
|
};
|
|
6128
6133
|
protoOf(ListUnfolder$listUnfolderVisitor$1).defaultValue = function (term) {
|
|
6129
|
-
return this.
|
|
6134
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
6130
6135
|
};
|
|
6131
6136
|
function ListUnfolder(list) {
|
|
6132
6137
|
this.current_1 = list;
|
|
@@ -6150,11 +6155,11 @@
|
|
|
6150
6155
|
function NumericImpl(tags) {
|
|
6151
6156
|
TermImpl.call(this, tags);
|
|
6152
6157
|
}
|
|
6153
|
-
protoOf(NumericImpl).
|
|
6154
|
-
return other.get_isNumber_x9n6xo_k$() && this.get_decimalValue_7pja3t_k$().
|
|
6158
|
+
protoOf(NumericImpl).structurallyEquals_9blifm_k$ = function (other) {
|
|
6159
|
+
return other.get_isNumber_x9n6xo_k$() && this.get_decimalValue_7pja3t_k$().compareTo_dqfxu6_k$(other.castToNumeric().get_decimalValue_7pja3t_k$()) === 0;
|
|
6155
6160
|
};
|
|
6156
6161
|
protoOf(NumericImpl).structurallyEquals = function (other) {
|
|
6157
|
-
return this.
|
|
6162
|
+
return this.structurallyEquals_9blifm_k$(other);
|
|
6158
6163
|
};
|
|
6159
6164
|
protoOf(NumericImpl).accept_bf9pe1_k$ = function (visitor) {
|
|
6160
6165
|
return visitor.visitNumeric(this);
|
|
@@ -6166,7 +6171,7 @@
|
|
|
6166
6171
|
return this.castTo_8vzplt_k$();
|
|
6167
6172
|
};
|
|
6168
6173
|
protoOf(NumericImpl).compareTo_hpufkf_k$ = function (other) {
|
|
6169
|
-
return this.
|
|
6174
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
6170
6175
|
};
|
|
6171
6176
|
protoOf(NumericImpl).asConstant = function () {
|
|
6172
6177
|
return this.asConstant_3hn112_k$();
|
|
@@ -6248,21 +6253,21 @@
|
|
|
6248
6253
|
if (real === null)
|
|
6249
6254
|
return false;
|
|
6250
6255
|
// Inline function 'it.unibo.tuprolog.core.impl.RealImpl.equalsToReal' call
|
|
6251
|
-
return this.value_1.
|
|
6256
|
+
return this.value_1.compareTo_dqfxu6_k$(real.get_value_j01efc_k$()) === 0;
|
|
6252
6257
|
};
|
|
6253
|
-
protoOf(RealImpl).
|
|
6258
|
+
protoOf(RealImpl).equalsUsingVarCompleteNames_be7foz_k$ = function (other, useVarCompleteName) {
|
|
6254
6259
|
var tmp;
|
|
6255
6260
|
if (other.get_isReal_ew59f5_k$()) {
|
|
6256
6261
|
// Inline function 'it.unibo.tuprolog.core.impl.RealImpl.equalsToReal' call
|
|
6257
6262
|
var other_0 = other.castToReal();
|
|
6258
|
-
tmp = this.value_1.
|
|
6263
|
+
tmp = this.value_1.compareTo_dqfxu6_k$(other_0.get_value_j01efc_k$()) === 0;
|
|
6259
6264
|
} else {
|
|
6260
6265
|
tmp = false;
|
|
6261
6266
|
}
|
|
6262
6267
|
return tmp;
|
|
6263
6268
|
};
|
|
6264
6269
|
protoOf(RealImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
6265
|
-
return this.
|
|
6270
|
+
return this.equalsUsingVarCompleteNames_be7foz_k$(other, useVarCompleteName);
|
|
6266
6271
|
};
|
|
6267
6272
|
protoOf(RealImpl).get_hashCodeCache_8fx9tq_k$ = function () {
|
|
6268
6273
|
var tmp0 = this.hashCodeCache$delegate_1;
|
|
@@ -6296,7 +6301,7 @@
|
|
|
6296
6301
|
return this.castTo_8vzplt_k$();
|
|
6297
6302
|
};
|
|
6298
6303
|
protoOf(RealImpl).compareTo_hpufkf_k$ = function (other) {
|
|
6299
|
-
return this.
|
|
6304
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
6300
6305
|
};
|
|
6301
6306
|
protoOf(RealImpl).asConstant = function () {
|
|
6302
6307
|
return this.asConstant_3hn112_k$();
|
|
@@ -6655,7 +6660,7 @@
|
|
|
6655
6660
|
return this.castTo_8vzplt_k$();
|
|
6656
6661
|
};
|
|
6657
6662
|
protoOf(RecursiveImpl).compareTo_hpufkf_k$ = function (other) {
|
|
6658
|
-
return this.
|
|
6663
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
6659
6664
|
};
|
|
6660
6665
|
protoOf(RecursiveImpl).asStruct = function () {
|
|
6661
6666
|
return this.asStruct_l3eul5_k$();
|
|
@@ -6702,11 +6707,11 @@
|
|
|
6702
6707
|
protoOf(RuleImpl).getHeadArg = function (index) {
|
|
6703
6708
|
return this.getHeadArg_na4y0o_k$(index);
|
|
6704
6709
|
};
|
|
6705
|
-
protoOf(RuleImpl).
|
|
6706
|
-
return protoOf(ClauseImpl).
|
|
6710
|
+
protoOf(RuleImpl).setBody_pf871z_k$ = function (body) {
|
|
6711
|
+
return protoOf(ClauseImpl).setBody_pf871z_k$.call(this, body).castToRule();
|
|
6707
6712
|
};
|
|
6708
6713
|
protoOf(RuleImpl).setBody = function (body) {
|
|
6709
|
-
return this.
|
|
6714
|
+
return this.setBody_pf871z_k$(body);
|
|
6710
6715
|
};
|
|
6711
6716
|
protoOf(RuleImpl).setHeadFunctor_vsb155_k$ = function (functor) {
|
|
6712
6717
|
return protoOf(ClauseImpl).setHeadFunctor_vsb155_k$.call(this, functor).castToRule();
|
|
@@ -6732,35 +6737,35 @@
|
|
|
6732
6737
|
protoOf(RuleImpl).setHeadArgsSequence = function (arguments_0) {
|
|
6733
6738
|
return this.setHeadArgsSequence_5fdrv3_k$(arguments_0);
|
|
6734
6739
|
};
|
|
6735
|
-
protoOf(RuleImpl).
|
|
6736
|
-
return protoOf(ClauseImpl).
|
|
6740
|
+
protoOf(RuleImpl).insertHeadArg_kf8nk0_k$ = function (index, argument) {
|
|
6741
|
+
return protoOf(ClauseImpl).insertHeadArg_kf8nk0_k$.call(this, index, argument).castToRule();
|
|
6737
6742
|
};
|
|
6738
6743
|
protoOf(RuleImpl).insertHeadArg = function (index, argument) {
|
|
6739
|
-
return this.
|
|
6744
|
+
return this.insertHeadArg_kf8nk0_k$(index, argument);
|
|
6740
6745
|
};
|
|
6741
|
-
protoOf(RuleImpl).
|
|
6742
|
-
return protoOf(ClauseImpl).
|
|
6746
|
+
protoOf(RuleImpl).addFirstHeadArg_qdnvho_k$ = function (argument) {
|
|
6747
|
+
return protoOf(ClauseImpl).addFirstHeadArg_qdnvho_k$.call(this, argument).castToRule();
|
|
6743
6748
|
};
|
|
6744
6749
|
protoOf(RuleImpl).addFirstHeadArg = function (argument) {
|
|
6745
|
-
return this.
|
|
6750
|
+
return this.addFirstHeadArg_qdnvho_k$(argument);
|
|
6746
6751
|
};
|
|
6747
|
-
protoOf(RuleImpl).
|
|
6748
|
-
return protoOf(ClauseImpl).
|
|
6752
|
+
protoOf(RuleImpl).addLastHeadArg_5qtsro_k$ = function (argument) {
|
|
6753
|
+
return protoOf(ClauseImpl).addLastHeadArg_5qtsro_k$.call(this, argument).castToRule();
|
|
6749
6754
|
};
|
|
6750
6755
|
protoOf(RuleImpl).addLastHeadArg = function (argument) {
|
|
6751
|
-
return this.
|
|
6756
|
+
return this.addLastHeadArg_5qtsro_k$(argument);
|
|
6752
6757
|
};
|
|
6753
|
-
protoOf(RuleImpl).
|
|
6754
|
-
return protoOf(ClauseImpl).
|
|
6758
|
+
protoOf(RuleImpl).appendHeadArg_eouadd_k$ = function (argument) {
|
|
6759
|
+
return protoOf(ClauseImpl).appendHeadArg_eouadd_k$.call(this, argument).castToRule();
|
|
6755
6760
|
};
|
|
6756
6761
|
protoOf(RuleImpl).appendHeadArg = function (argument) {
|
|
6757
|
-
return this.
|
|
6762
|
+
return this.appendHeadArg_eouadd_k$(argument);
|
|
6758
6763
|
};
|
|
6759
|
-
protoOf(RuleImpl).
|
|
6760
|
-
return protoOf(ClauseImpl).
|
|
6764
|
+
protoOf(RuleImpl).setBodyItems_x2yi10_k$ = function (argument, arguments_0) {
|
|
6765
|
+
return protoOf(ClauseImpl).setBodyItems_x2yi10_k$.call(this, argument, arguments_0.slice()).castToRule();
|
|
6761
6766
|
};
|
|
6762
6767
|
protoOf(RuleImpl).setBodyItems = function (argument, arguments_0) {
|
|
6763
|
-
return this.
|
|
6768
|
+
return this.setBodyItems_x2yi10_k$(argument, arguments_0);
|
|
6764
6769
|
};
|
|
6765
6770
|
protoOf(RuleImpl).setBodyItemsIterable_9zl4el_k$ = function (arguments_0) {
|
|
6766
6771
|
return protoOf(ClauseImpl).setBodyItemsIterable_9zl4el_k$.call(this, arguments_0).castToRule();
|
|
@@ -6774,29 +6779,29 @@
|
|
|
6774
6779
|
protoOf(RuleImpl).setBodyItemsSequence = function (arguments_0) {
|
|
6775
6780
|
return this.setBodyItemsSequence_ujt53i_k$(arguments_0);
|
|
6776
6781
|
};
|
|
6777
|
-
protoOf(RuleImpl).
|
|
6778
|
-
return protoOf(ClauseImpl).
|
|
6782
|
+
protoOf(RuleImpl).insertBodyItem_gskvox_k$ = function (index, argument) {
|
|
6783
|
+
return protoOf(ClauseImpl).insertBodyItem_gskvox_k$.call(this, index, argument).castToRule();
|
|
6779
6784
|
};
|
|
6780
6785
|
protoOf(RuleImpl).insertBodyItem = function (index, argument) {
|
|
6781
|
-
return this.
|
|
6786
|
+
return this.insertBodyItem_gskvox_k$(index, argument);
|
|
6782
6787
|
};
|
|
6783
|
-
protoOf(RuleImpl).
|
|
6784
|
-
return protoOf(ClauseImpl).
|
|
6788
|
+
protoOf(RuleImpl).addFirstBodyItem_hfuqtz_k$ = function (argument) {
|
|
6789
|
+
return protoOf(ClauseImpl).addFirstBodyItem_hfuqtz_k$.call(this, argument).castToRule();
|
|
6785
6790
|
};
|
|
6786
6791
|
protoOf(RuleImpl).addFirstBodyItem = function (argument) {
|
|
6787
|
-
return this.
|
|
6792
|
+
return this.addFirstBodyItem_hfuqtz_k$(argument);
|
|
6788
6793
|
};
|
|
6789
|
-
protoOf(RuleImpl).
|
|
6790
|
-
return protoOf(ClauseImpl).
|
|
6794
|
+
protoOf(RuleImpl).addLastBodyItem_htqlfz_k$ = function (argument) {
|
|
6795
|
+
return protoOf(ClauseImpl).addLastBodyItem_htqlfz_k$.call(this, argument).castToRule();
|
|
6791
6796
|
};
|
|
6792
6797
|
protoOf(RuleImpl).addLastBodyItem = function (argument) {
|
|
6793
|
-
return this.
|
|
6798
|
+
return this.addLastBodyItem_htqlfz_k$(argument);
|
|
6794
6799
|
};
|
|
6795
|
-
protoOf(RuleImpl).
|
|
6796
|
-
return protoOf(ClauseImpl).
|
|
6800
|
+
protoOf(RuleImpl).appendBodyItem_onrnnw_k$ = function (argument) {
|
|
6801
|
+
return protoOf(ClauseImpl).appendBodyItem_onrnnw_k$.call(this, argument).castToRule();
|
|
6797
6802
|
};
|
|
6798
6803
|
protoOf(RuleImpl).appendBodyItem = function (argument) {
|
|
6799
|
-
return this.
|
|
6804
|
+
return this.appendBodyItem_onrnnw_k$(argument);
|
|
6800
6805
|
};
|
|
6801
6806
|
protoOf(RuleImpl).accept_bf9pe1_k$ = function (visitor) {
|
|
6802
6807
|
return visitor.visitRule(this);
|
|
@@ -6808,7 +6813,7 @@
|
|
|
6808
6813
|
return this.castTo_8vzplt_k$();
|
|
6809
6814
|
};
|
|
6810
6815
|
protoOf(RuleImpl).compareTo_hpufkf_k$ = function (other) {
|
|
6811
|
-
return this.
|
|
6816
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
6812
6817
|
};
|
|
6813
6818
|
protoOf(RuleImpl).asClause = function () {
|
|
6814
6819
|
return this.asClause_ssu01r_k$();
|
|
@@ -6863,11 +6868,11 @@
|
|
|
6863
6868
|
protoOf(ScopeImpl).varOf = function (name) {
|
|
6864
6869
|
return this.varOf_qgygkc_k$(name);
|
|
6865
6870
|
};
|
|
6866
|
-
protoOf(ScopeImpl).
|
|
6871
|
+
protoOf(ScopeImpl).varOfChar_on0j7b_k$ = function (name) {
|
|
6867
6872
|
return this.varOf_qgygkc_k$(toString_1(name));
|
|
6868
6873
|
};
|
|
6869
6874
|
protoOf(ScopeImpl).varOfChar = function (name) {
|
|
6870
|
-
return this.
|
|
6875
|
+
return this.varOfChar_on0j7b_k$(name);
|
|
6871
6876
|
};
|
|
6872
6877
|
protoOf(ScopeImpl).where_57nhgz_k$ = function (lambda) {
|
|
6873
6878
|
// Inline function 'kotlin.also' call
|
|
@@ -6946,19 +6951,19 @@
|
|
|
6946
6951
|
protoOf(ScopeImpl).logicListOf = function (terms) {
|
|
6947
6952
|
return this.logicListOf_kogscq_k$(terms);
|
|
6948
6953
|
};
|
|
6949
|
-
protoOf(ScopeImpl).
|
|
6954
|
+
protoOf(ScopeImpl).logicListFrom_pxemlx_k$ = function (terms, last) {
|
|
6950
6955
|
return Companion_instance_12.from(terms.slice(), last);
|
|
6951
6956
|
};
|
|
6952
6957
|
protoOf(ScopeImpl).logicListFromFrom = function (terms, last, $super) {
|
|
6953
6958
|
return this.logicListFromFrom(terms, last, ($super == null ? true : $super instanceof ScopeImpl) ? $super : THROW_CCE());
|
|
6954
6959
|
};
|
|
6955
|
-
protoOf(ScopeImpl).
|
|
6960
|
+
protoOf(ScopeImpl).logicListFrom_65oz79_k$ = function (terms, last) {
|
|
6956
6961
|
return Companion_instance_12.fromSequence(terms, last);
|
|
6957
6962
|
};
|
|
6958
6963
|
protoOf(ScopeImpl).logicListFromSequence = function (terms, last, $super) {
|
|
6959
6964
|
return this.logicListFromSequence(terms, last, ($super == null ? true : $super instanceof ScopeImpl) ? $super : THROW_CCE());
|
|
6960
6965
|
};
|
|
6961
|
-
protoOf(ScopeImpl).
|
|
6966
|
+
protoOf(ScopeImpl).logicListFrom_yn067b_k$ = function (terms, last) {
|
|
6962
6967
|
return Companion_instance_12.fromIterable(terms, last);
|
|
6963
6968
|
};
|
|
6964
6969
|
protoOf(ScopeImpl).logicListFromIterable = function (terms, last, $super) {
|
|
@@ -6988,11 +6993,11 @@
|
|
|
6988
6993
|
protoOf(ScopeImpl).atomOf = function (value) {
|
|
6989
6994
|
return this.atomOf_6749ki_k$(value);
|
|
6990
6995
|
};
|
|
6991
|
-
protoOf(ScopeImpl).
|
|
6996
|
+
protoOf(ScopeImpl).atomOfChar_w0g4f3_k$ = function (value) {
|
|
6992
6997
|
return Companion_getInstance_1().of(toString_1(value));
|
|
6993
6998
|
};
|
|
6994
6999
|
protoOf(ScopeImpl).atomOfChar = function (value) {
|
|
6995
|
-
return this.
|
|
7000
|
+
return this.atomOfChar_w0g4f3_k$(value);
|
|
6996
7001
|
};
|
|
6997
7002
|
protoOf(ScopeImpl).structOf_m0041d_k$ = function (functor, args) {
|
|
6998
7003
|
return Companion_getInstance_18().of(functor, args.slice());
|
|
@@ -7024,17 +7029,17 @@
|
|
|
7024
7029
|
protoOf(ScopeImpl).factOf = function (head) {
|
|
7025
7030
|
return this.factOf_g8x5i9_k$(head);
|
|
7026
7031
|
};
|
|
7027
|
-
protoOf(ScopeImpl).
|
|
7032
|
+
protoOf(ScopeImpl).ruleOf_o0v09j_k$ = function (head, body1, body) {
|
|
7028
7033
|
return Companion_instance_16.of(head, arrayConcat([[body1], body]));
|
|
7029
7034
|
};
|
|
7030
7035
|
protoOf(ScopeImpl).ruleOf = function (head, body1, body) {
|
|
7031
|
-
return this.
|
|
7036
|
+
return this.ruleOf_o0v09j_k$(head, body1, body);
|
|
7032
7037
|
};
|
|
7033
|
-
protoOf(ScopeImpl).
|
|
7038
|
+
protoOf(ScopeImpl).directiveOf_iy5vny_k$ = function (body1, body) {
|
|
7034
7039
|
return Companion_instance_5.of(body1, body.slice());
|
|
7035
7040
|
};
|
|
7036
7041
|
protoOf(ScopeImpl).directiveOf = function (body1, body) {
|
|
7037
|
-
return this.
|
|
7042
|
+
return this.directiveOf_iy5vny_k$(body1, body);
|
|
7038
7043
|
};
|
|
7039
7044
|
protoOf(ScopeImpl).clauseOf_clwadq_k$ = function (head, body) {
|
|
7040
7045
|
return Companion_getInstance_3().of_5sz659_k$(head, body.slice());
|
|
@@ -7042,17 +7047,17 @@
|
|
|
7042
7047
|
protoOf(ScopeImpl).clauseOf = function (head, body) {
|
|
7043
7048
|
return this.clauseOf_clwadq_k$(head, body);
|
|
7044
7049
|
};
|
|
7045
|
-
protoOf(ScopeImpl).
|
|
7050
|
+
protoOf(ScopeImpl).consOf_q75de6_k$ = function (head, tail) {
|
|
7046
7051
|
return Companion_instance_4.of(head, tail);
|
|
7047
7052
|
};
|
|
7048
7053
|
protoOf(ScopeImpl).consOf = function (head, tail) {
|
|
7049
|
-
return this.
|
|
7054
|
+
return this.consOf_q75de6_k$(head, tail);
|
|
7050
7055
|
};
|
|
7051
|
-
protoOf(ScopeImpl).
|
|
7056
|
+
protoOf(ScopeImpl).indicatorOf_4vhkmo_k$ = function (name, arity) {
|
|
7052
7057
|
return Companion_instance_10.of(name, arity);
|
|
7053
7058
|
};
|
|
7054
7059
|
protoOf(ScopeImpl).indicatorOf = function (name, arity) {
|
|
7055
|
-
return this.
|
|
7060
|
+
return this.indicatorOf_4vhkmo_k$(name, arity);
|
|
7056
7061
|
};
|
|
7057
7062
|
protoOf(ScopeImpl).indicatorOfStringInt_di17u2_k$ = function (name, arity) {
|
|
7058
7063
|
return Companion_instance_10.ofString(name, arity);
|
|
@@ -7072,11 +7077,11 @@
|
|
|
7072
7077
|
protoOf(ScopeImpl).whatever = function () {
|
|
7073
7078
|
return this.whatever_vzojxe_k$();
|
|
7074
7079
|
};
|
|
7075
|
-
protoOf(ScopeImpl).
|
|
7080
|
+
protoOf(ScopeImpl).numOfBigDecimal_ep4rpc_k$ = function (value) {
|
|
7076
7081
|
return Companion_getInstance_14().ofBigDecimal(value);
|
|
7077
7082
|
};
|
|
7078
7083
|
protoOf(ScopeImpl).numOfBigDecimal = function (value) {
|
|
7079
|
-
return this.
|
|
7084
|
+
return this.numOfBigDecimal_ep4rpc_k$(value);
|
|
7080
7085
|
};
|
|
7081
7086
|
protoOf(ScopeImpl).numOfDouble_yww7oo_k$ = function (value) {
|
|
7082
7087
|
return Companion_getInstance_14().ofDouble(value);
|
|
@@ -7090,11 +7095,11 @@
|
|
|
7090
7095
|
protoOf(ScopeImpl).numOfFloat = function (value) {
|
|
7091
7096
|
return this.numOfFloat_260s3r_k$(value);
|
|
7092
7097
|
};
|
|
7093
|
-
protoOf(ScopeImpl).
|
|
7098
|
+
protoOf(ScopeImpl).numOfBigInteger_y6nzvk_k$ = function (value) {
|
|
7094
7099
|
return Companion_getInstance_14().ofBigInteger(value);
|
|
7095
7100
|
};
|
|
7096
7101
|
protoOf(ScopeImpl).numOfBigInteger = function (value) {
|
|
7097
|
-
return this.
|
|
7102
|
+
return this.numOfBigInteger_y6nzvk_k$(value);
|
|
7098
7103
|
};
|
|
7099
7104
|
protoOf(ScopeImpl).numOfInt_3mxjmi_k$ = function (value) {
|
|
7100
7105
|
return Companion_getInstance_14().ofInteger(value);
|
|
@@ -7102,11 +7107,11 @@
|
|
|
7102
7107
|
protoOf(ScopeImpl).numOfInt = function (value) {
|
|
7103
7108
|
return this.numOfInt_3mxjmi_k$(value);
|
|
7104
7109
|
};
|
|
7105
|
-
protoOf(ScopeImpl).
|
|
7110
|
+
protoOf(ScopeImpl).numOfLong_h93bpn_k$ = function (value) {
|
|
7106
7111
|
return Companion_getInstance_14().ofLong(value);
|
|
7107
7112
|
};
|
|
7108
7113
|
protoOf(ScopeImpl).numOfLong = function (value) {
|
|
7109
|
-
return this.
|
|
7114
|
+
return this.numOfLong_h93bpn_k$(value);
|
|
7110
7115
|
};
|
|
7111
7116
|
protoOf(ScopeImpl).numOfShort_wlhnjb_k$ = function (value) {
|
|
7112
7117
|
return Companion_getInstance_14().ofShort(value);
|
|
@@ -7132,11 +7137,11 @@
|
|
|
7132
7137
|
protoOf(ScopeImpl).numOf = function (value) {
|
|
7133
7138
|
return this.numOf_fev8r6_k$(value);
|
|
7134
7139
|
};
|
|
7135
|
-
protoOf(ScopeImpl).
|
|
7140
|
+
protoOf(ScopeImpl).intOfBigInteger_t8fow9_k$ = function (value) {
|
|
7136
7141
|
return Companion_getInstance_11().ofBigInteger(value);
|
|
7137
7142
|
};
|
|
7138
7143
|
protoOf(ScopeImpl).intOfBigInteger = function (value) {
|
|
7139
|
-
return this.
|
|
7144
|
+
return this.intOfBigInteger_t8fow9_k$(value);
|
|
7140
7145
|
};
|
|
7141
7146
|
protoOf(ScopeImpl).intOf_o10os2_k$ = function (value) {
|
|
7142
7147
|
return Companion_getInstance_11().ofInt(value);
|
|
@@ -7144,11 +7149,11 @@
|
|
|
7144
7149
|
protoOf(ScopeImpl).intOf = function (value) {
|
|
7145
7150
|
return this.intOf_o10os2_k$(value);
|
|
7146
7151
|
};
|
|
7147
|
-
protoOf(ScopeImpl).
|
|
7152
|
+
protoOf(ScopeImpl).intOfLong_dzseym_k$ = function (value) {
|
|
7148
7153
|
return Companion_getInstance_11().ofLong(value);
|
|
7149
7154
|
};
|
|
7150
7155
|
protoOf(ScopeImpl).intOfLong = function (value) {
|
|
7151
|
-
return this.
|
|
7156
|
+
return this.intOfLong_dzseym_k$(value);
|
|
7152
7157
|
};
|
|
7153
7158
|
protoOf(ScopeImpl).intOfShort_van3ni_k$ = function (value) {
|
|
7154
7159
|
return Companion_getInstance_11().ofShort(value);
|
|
@@ -7174,11 +7179,11 @@
|
|
|
7174
7179
|
protoOf(ScopeImpl).parseIntRadix = function (value, radix) {
|
|
7175
7180
|
return this.parseIntRadix_xkh8ee_k$(value, radix);
|
|
7176
7181
|
};
|
|
7177
|
-
protoOf(ScopeImpl).
|
|
7182
|
+
protoOf(ScopeImpl).realOfBigDecimal_931o7s_k$ = function (value) {
|
|
7178
7183
|
return Companion_getInstance_15().ofBigDecimal(value);
|
|
7179
7184
|
};
|
|
7180
7185
|
protoOf(ScopeImpl).realOfBigDecimal = function (value) {
|
|
7181
|
-
return this.
|
|
7186
|
+
return this.realOfBigDecimal_931o7s_k$(value);
|
|
7182
7187
|
};
|
|
7183
7188
|
protoOf(ScopeImpl).realOf_8soorz_k$ = function (value) {
|
|
7184
7189
|
return Companion_getInstance_15().ofDouble(value);
|
|
@@ -7268,7 +7273,7 @@
|
|
|
7268
7273
|
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
7269
7274
|
}
|
|
7270
7275
|
protoOf(SimpleTermFormatter).format = function (value) {
|
|
7271
|
-
return this.
|
|
7276
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7272
7277
|
};
|
|
7273
7278
|
function StructImpl$isGround$delegate$lambda(this$0) {
|
|
7274
7279
|
return function () {
|
|
@@ -7308,7 +7313,7 @@
|
|
|
7308
7313
|
return this.castTo_8vzplt_k$();
|
|
7309
7314
|
};
|
|
7310
7315
|
protoOf(StructImpl).compareTo_hpufkf_k$ = function (other) {
|
|
7311
|
-
return this.
|
|
7316
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
7312
7317
|
};
|
|
7313
7318
|
protoOf(StructImpl).asStruct = function () {
|
|
7314
7319
|
return this.asStruct_l3eul5_k$();
|
|
@@ -7327,7 +7332,7 @@
|
|
|
7327
7332
|
return this.visitVar_e0euaa_k$(term);
|
|
7328
7333
|
};
|
|
7329
7334
|
protoOf(TermFormatterWithAnonymousVariables).format = function (value) {
|
|
7330
|
-
return this.
|
|
7335
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7331
7336
|
};
|
|
7332
7337
|
function OperatorDecorations(prefix, suffix) {
|
|
7333
7338
|
this.prefix_1 = prefix;
|
|
@@ -7419,7 +7424,7 @@
|
|
|
7419
7424
|
}
|
|
7420
7425
|
var lowerPriority = isLowerPriority($this, struct);
|
|
7421
7426
|
if (!(lowerPriority == null)) {
|
|
7422
|
-
return $this.
|
|
7427
|
+
return $this.plusTagsOf_2jpse1_k$(wrapWithinParentheses($this, struct.accept(childFormatter($this, lowerPriority.second))), struct);
|
|
7423
7428
|
}
|
|
7424
7429
|
return protoOf(AbstractTermFormatter).visitStruct_bessvw_k$.call($this, struct);
|
|
7425
7430
|
}
|
|
@@ -7649,7 +7654,7 @@
|
|
|
7649
7654
|
return childFormatter(this, 2147483647, setOf_0(','));
|
|
7650
7655
|
};
|
|
7651
7656
|
protoOf(TermFormatterWithPrettyExpressions).format = function (value) {
|
|
7652
|
-
return this.
|
|
7657
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7653
7658
|
};
|
|
7654
7659
|
function TermFormatterWithPrettyVariables(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7655
7660
|
quoted = quoted === VOID ? true : quoted;
|
|
@@ -7669,7 +7674,7 @@
|
|
|
7669
7674
|
return tmp;
|
|
7670
7675
|
};
|
|
7671
7676
|
protoOf(TermFormatterWithPrettyVariables).format = function (value) {
|
|
7672
|
-
return this.
|
|
7677
|
+
return this.format_12olus_k$((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7673
7678
|
};
|
|
7674
7679
|
function TermImpl(tags) {
|
|
7675
7680
|
tags = tags === VOID ? emptyMap() : tags;
|
|
@@ -7736,7 +7741,7 @@
|
|
|
7736
7741
|
return this.castTo_8vzplt_k$();
|
|
7737
7742
|
};
|
|
7738
7743
|
protoOf(TermImpl).compareTo_hpufkf_k$ = function (other) {
|
|
7739
|
-
return this.
|
|
7744
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
7740
7745
|
};
|
|
7741
7746
|
function TruthImpl(value, isTrue, tags) {
|
|
7742
7747
|
tags = tags === VOID ? emptyMap() : tags;
|
|
@@ -7774,7 +7779,7 @@
|
|
|
7774
7779
|
return this.castTo_8vzplt_k$();
|
|
7775
7780
|
};
|
|
7776
7781
|
protoOf(TruthImpl).compareTo_hpufkf_k$ = function (other) {
|
|
7777
|
-
return this.
|
|
7782
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
7778
7783
|
};
|
|
7779
7784
|
protoOf(TruthImpl).asAtom = function () {
|
|
7780
7785
|
return this.asAtom_nbael9_k$();
|
|
@@ -7879,7 +7884,7 @@
|
|
|
7879
7884
|
return this.castTo_8vzplt_k$();
|
|
7880
7885
|
};
|
|
7881
7886
|
protoOf(TupleImpl).compareTo_hpufkf_k$ = function (other) {
|
|
7882
|
-
return this.
|
|
7887
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
7883
7888
|
};
|
|
7884
7889
|
protoOf(TupleImpl).asStruct = function () {
|
|
7885
7890
|
return this.asStruct_l3eul5_k$();
|
|
@@ -7906,12 +7911,12 @@
|
|
|
7906
7911
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).visitTuple = function (term) {
|
|
7907
7912
|
return this.visitTuple_j9vfzg_k$(term);
|
|
7908
7913
|
};
|
|
7909
|
-
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).
|
|
7914
|
+
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).defaultValue_gnn9hx_k$ = function (term) {
|
|
7910
7915
|
this.this$0__1.current_1 = null;
|
|
7911
7916
|
return term;
|
|
7912
7917
|
};
|
|
7913
7918
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).defaultValue = function (term) {
|
|
7914
|
-
return this.
|
|
7919
|
+
return this.defaultValue_gnn9hx_k$(term);
|
|
7915
7920
|
};
|
|
7916
7921
|
function TupleUnfolder(tuple) {
|
|
7917
7922
|
this.current_1 = tuple;
|
|
@@ -8041,11 +8046,11 @@
|
|
|
8041
8046
|
/* dead property reference removed */
|
|
8042
8047
|
return tmp0.get_value_j01efc_k$();
|
|
8043
8048
|
};
|
|
8044
|
-
protoOf(VarImpl).
|
|
8049
|
+
protoOf(VarImpl).structurallyEquals_9blifm_k$ = function (other) {
|
|
8045
8050
|
return other.get_isVar_it73p0_k$();
|
|
8046
8051
|
};
|
|
8047
8052
|
protoOf(VarImpl).structurallyEquals = function (other) {
|
|
8048
|
-
return this.
|
|
8053
|
+
return this.structurallyEquals_9blifm_k$(other);
|
|
8049
8054
|
};
|
|
8050
8055
|
protoOf(VarImpl).copyWithTags_4mdmvl_k$ = function (tags) {
|
|
8051
8056
|
return new VarImpl(this.name_1, this.identifier_1, tags);
|
|
@@ -8099,11 +8104,11 @@
|
|
|
8099
8104
|
// Inline function 'it.unibo.tuprolog.core.impl.VarImpl.equalsByCompleteName' call
|
|
8100
8105
|
return this.get_completeName_28np03_k$() === otherVar.get_completeName_28np03_k$();
|
|
8101
8106
|
};
|
|
8102
|
-
protoOf(VarImpl).
|
|
8107
|
+
protoOf(VarImpl).equalsUsingVarCompleteNames_be7foz_k$ = function (other, useVarCompleteName) {
|
|
8103
8108
|
return other.get_isVar_it73p0_k$() && equalsToVar(this, other.castToVar(), useVarCompleteName);
|
|
8104
8109
|
};
|
|
8105
8110
|
protoOf(VarImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
8106
|
-
return this.
|
|
8111
|
+
return this.equalsUsingVarCompleteNames_be7foz_k$(other, useVarCompleteName);
|
|
8107
8112
|
};
|
|
8108
8113
|
protoOf(VarImpl).get_hashCodeCache_8fx9tq_k$ = function () {
|
|
8109
8114
|
var tmp0 = this.hashCodeCache$delegate_1;
|
|
@@ -8131,7 +8136,7 @@
|
|
|
8131
8136
|
return this.castTo_8vzplt_k$();
|
|
8132
8137
|
};
|
|
8133
8138
|
protoOf(VarImpl).compareTo_hpufkf_k$ = function (other) {
|
|
8134
|
-
return this.
|
|
8139
|
+
return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
8135
8140
|
};
|
|
8136
8141
|
protoOf(VarImpl).asVar = function () {
|
|
8137
8142
|
return this.asVar_1jfb85_k$();
|
|
@@ -8205,14 +8210,14 @@
|
|
|
8205
8210
|
protoOf(VariablesProviderImpl).logicListOfSequence = function (terms) {
|
|
8206
8211
|
return this.scope_1.logicListOfSequence(terms);
|
|
8207
8212
|
};
|
|
8208
|
-
protoOf(VariablesProviderImpl).
|
|
8209
|
-
return this.scope_1.
|
|
8213
|
+
protoOf(VariablesProviderImpl).logicListFrom_pxemlx_k$ = function (terms, last) {
|
|
8214
|
+
return this.scope_1.logicListFrom_pxemlx_k$(terms, last);
|
|
8210
8215
|
};
|
|
8211
|
-
protoOf(VariablesProviderImpl).
|
|
8212
|
-
return this.scope_1.
|
|
8216
|
+
protoOf(VariablesProviderImpl).logicListFrom_yn067b_k$ = function (terms, last) {
|
|
8217
|
+
return this.scope_1.logicListFrom_yn067b_k$(terms, last);
|
|
8213
8218
|
};
|
|
8214
|
-
protoOf(VariablesProviderImpl).
|
|
8215
|
-
return this.scope_1.
|
|
8219
|
+
protoOf(VariablesProviderImpl).logicListFrom_65oz79_k$ = function (terms, last) {
|
|
8220
|
+
return this.scope_1.logicListFrom_65oz79_k$(terms, last);
|
|
8216
8221
|
};
|
|
8217
8222
|
protoOf(VariablesProviderImpl).blockOf = function (terms) {
|
|
8218
8223
|
return this.scope_1.blockOf(terms);
|
|
@@ -8434,7 +8439,7 @@
|
|
|
8434
8439
|
this.specifier_1 = specifier;
|
|
8435
8440
|
this.priority_1 = priority;
|
|
8436
8441
|
}
|
|
8437
|
-
protoOf(Operator).
|
|
8442
|
+
protoOf(Operator).compareTo_v5u0k2_k$ = function (other) {
|
|
8438
8443
|
var tmp;
|
|
8439
8444
|
if (this.priority_1 > other.priority_1) {
|
|
8440
8445
|
tmp = 1;
|
|
@@ -8448,7 +8453,7 @@
|
|
|
8448
8453
|
return tmp;
|
|
8449
8454
|
};
|
|
8450
8455
|
protoOf(Operator).compareTo_hpufkf_k$ = function (other) {
|
|
8451
|
-
return this.
|
|
8456
|
+
return this.compareTo_v5u0k2_k$(other instanceof Operator ? other : THROW_CCE());
|
|
8452
8457
|
};
|
|
8453
8458
|
protoOf(Operator).toTerm_edaxrt_k$ = function () {
|
|
8454
8459
|
return Companion_getInstance_18().of('op', [intToTerm(this.priority_1), this.specifier_1.toTerm_edaxrt_k$(), stringToAtom(this.functor_1)]);
|
|
@@ -8672,13 +8677,13 @@
|
|
|
8672
8677
|
protoOf(OperatorSet).isEmpty_y1axqb_k$ = function () {
|
|
8673
8678
|
return this.$$delegate_0__1.isEmpty_y1axqb_k$();
|
|
8674
8679
|
};
|
|
8675
|
-
protoOf(OperatorSet).
|
|
8680
|
+
protoOf(OperatorSet).contains_q42uj5_k$ = function (element) {
|
|
8676
8681
|
return this.$$delegate_0__1.contains_aljjnj_k$(element);
|
|
8677
8682
|
};
|
|
8678
8683
|
protoOf(OperatorSet).contains_aljjnj_k$ = function (element) {
|
|
8679
8684
|
if (!(element instanceof Operator))
|
|
8680
8685
|
return false;
|
|
8681
|
-
return this.
|
|
8686
|
+
return this.contains_q42uj5_k$(element instanceof Operator ? element : THROW_CCE());
|
|
8682
8687
|
};
|
|
8683
8688
|
protoOf(OperatorSet).iterator_jk1svi_k$ = function () {
|
|
8684
8689
|
return this.$$delegate_0__1.iterator_jk1svi_k$();
|
|
@@ -8973,7 +8978,7 @@
|
|
|
8973
8978
|
protoOf(TupleIterator$tupleIteratorVisitor$1).visitFact = visitFact;
|
|
8974
8979
|
protoOf(TupleIterator$tupleIteratorVisitor$1).visitDirective = visitDirective;
|
|
8975
8980
|
protoOf(TermImpl).castTo_8vzplt_k$ = castTo_0;
|
|
8976
|
-
protoOf(TermImpl).
|
|
8981
|
+
protoOf(TermImpl).compareTo_kfa5id_k$ = compareTo_0;
|
|
8977
8982
|
protoOf(TermImpl).get_isVar_it73p0_k$ = get_isVar;
|
|
8978
8983
|
protoOf(TermImpl).get_isStruct_zeoyoo_k$ = get_isStruct;
|
|
8979
8984
|
protoOf(TermImpl).get_isTruth_zhwyo8_k$ = get_isTruth;
|
|
@@ -9076,7 +9081,7 @@
|
|
|
9076
9081
|
protoOf(AbstractCons).asList_nb3lsg_k$ = asList_0;
|
|
9077
9082
|
protoOf(AbstractCons).get_arity_iosiic_k$ = get_arity_2;
|
|
9078
9083
|
protoOf(AbstractCons).get_size_woubt6_k$ = get_size;
|
|
9079
|
-
protoOf(AbstractTermFormatter).
|
|
9084
|
+
protoOf(AbstractTermFormatter).format_12olus_k$ = format;
|
|
9080
9085
|
protoOf(AbstractTermFormatter).visitTerm = visitTerm;
|
|
9081
9086
|
protoOf(AbstractTermFormatter).visitVar = visitVar;
|
|
9082
9087
|
protoOf(AbstractTermFormatter).visitConstant = visitConstant;
|
|
@@ -9254,6 +9259,7 @@
|
|
|
9254
9259
|
protoOf(VarImpl).get_isVar_it73p0_k$ = get_isVar_0;
|
|
9255
9260
|
protoOf(VarImpl).asVar_1jfb85_k$ = asVar_0;
|
|
9256
9261
|
protoOf(VarImpl).get_variables_75f0zy_k$ = get_variables_2;
|
|
9262
|
+
protoOf(VarImpl).get_isWildcard_ic6nql_k$ = get_isWildcard;
|
|
9257
9263
|
protoOf(VariablesProviderImpl).logicListFromFrom = logicListFromFrom;
|
|
9258
9264
|
protoOf(VariablesProviderImpl).logicListFromIterable = logicListFromIterable;
|
|
9259
9265
|
protoOf(VariablesProviderImpl).logicListFromSequence = logicListFromSequence;
|
|
@@ -9289,73 +9295,74 @@
|
|
|
9289
9295
|
//endregion
|
|
9290
9296
|
//region block: exports
|
|
9291
9297
|
_.$_$ = _.$_$ || {};
|
|
9292
|
-
_.$_$.a =
|
|
9293
|
-
_.$_$.b =
|
|
9294
|
-
_.$_$.c =
|
|
9295
|
-
_.$_$.d =
|
|
9296
|
-
_.$_$.e =
|
|
9297
|
-
_.$_$.f =
|
|
9298
|
-
_.$_$.g =
|
|
9299
|
-
_.$_$.h =
|
|
9300
|
-
_.$_$.i =
|
|
9301
|
-
_.$_$.j =
|
|
9302
|
-
_.$_$.k =
|
|
9303
|
-
_.$_$.l =
|
|
9304
|
-
_.$_$.m =
|
|
9305
|
-
_.$_$.n =
|
|
9306
|
-
_.$_$.o =
|
|
9307
|
-
_.$_$.p =
|
|
9308
|
-
_.$_$.q =
|
|
9309
|
-
_.$_$.r =
|
|
9310
|
-
_.$_$.s =
|
|
9311
|
-
_.$_$.t =
|
|
9312
|
-
_.$_$.u =
|
|
9313
|
-
_.$_$.v = OperatorSet_init_$Create
|
|
9314
|
-
_.$_$.w =
|
|
9315
|
-
_.$_$.x =
|
|
9316
|
-
_.$_$.y =
|
|
9317
|
-
_.$_$.z =
|
|
9318
|
-
_.$_$.a1 =
|
|
9319
|
-
_.$_$.b1 =
|
|
9320
|
-
_.$_$.c1 =
|
|
9321
|
-
_.$_$.d1 =
|
|
9322
|
-
_.$_$.e1 =
|
|
9323
|
-
_.$_$.f1 =
|
|
9324
|
-
_.$_$.g1 =
|
|
9325
|
-
_.$_$.h1 =
|
|
9326
|
-
_.$_$.i1 =
|
|
9327
|
-
_.$_$.j1 =
|
|
9328
|
-
_.$_$.k1 =
|
|
9329
|
-
_.$_$.l1 =
|
|
9330
|
-
_.$_$.m1 =
|
|
9331
|
-
_.$_$.n1 =
|
|
9332
|
-
_.$_$.o1 =
|
|
9333
|
-
_.$_$.p1 =
|
|
9334
|
-
_.$_$.q1 =
|
|
9335
|
-
_.$_$.r1 =
|
|
9336
|
-
_.$_$.s1 =
|
|
9337
|
-
_.$_$.t1 =
|
|
9338
|
-
_.$_$.u1 =
|
|
9339
|
-
_.$_$.v1 =
|
|
9340
|
-
_.$_$.w1 =
|
|
9341
|
-
_.$_$.x1 =
|
|
9342
|
-
_.$_$.y1 =
|
|
9343
|
-
_.$_$.z1 =
|
|
9344
|
-
_.$_$.a2 =
|
|
9345
|
-
_.$_$.b2 =
|
|
9346
|
-
_.$_$.c2 =
|
|
9347
|
-
_.$_$.d2 =
|
|
9348
|
-
_.$_$.e2 =
|
|
9349
|
-
_.$_$.f2 =
|
|
9350
|
-
_.$_$.g2 =
|
|
9351
|
-
_.$_$.h2 =
|
|
9352
|
-
_.$_$.i2 =
|
|
9353
|
-
_.$_$.j2 =
|
|
9354
|
-
_.$_$.k2 =
|
|
9355
|
-
_.$_$.l2 =
|
|
9356
|
-
_.$_$.m2 =
|
|
9357
|
-
_.$_$.n2 =
|
|
9358
|
-
_.$_$.o2 =
|
|
9298
|
+
_.$_$.a = Specifier_XFX_getInstance;
|
|
9299
|
+
_.$_$.b = Companion_getInstance_32;
|
|
9300
|
+
_.$_$.c = Companion_getInstance_33;
|
|
9301
|
+
_.$_$.d = Companion_getInstance_34;
|
|
9302
|
+
_.$_$.e = Companion_getInstance_1;
|
|
9303
|
+
_.$_$.f = Companion_getInstance_3;
|
|
9304
|
+
_.$_$.g = Companion_instance_9;
|
|
9305
|
+
_.$_$.h = Companion_instance_10;
|
|
9306
|
+
_.$_$.i = Companion_getInstance_11;
|
|
9307
|
+
_.$_$.j = Companion_instance_12;
|
|
9308
|
+
_.$_$.k = Companion_getInstance_14;
|
|
9309
|
+
_.$_$.l = Companion_getInstance_15;
|
|
9310
|
+
_.$_$.m = Companion_instance_16;
|
|
9311
|
+
_.$_$.n = Companion_instance_17;
|
|
9312
|
+
_.$_$.o = Companion_getInstance_18;
|
|
9313
|
+
_.$_$.p = Companion_getInstance_19;
|
|
9314
|
+
_.$_$.q = Companion_instance_22;
|
|
9315
|
+
_.$_$.r = Companion_getInstance_23;
|
|
9316
|
+
_.$_$.s = Companion_getInstance_25;
|
|
9317
|
+
_.$_$.t = Companion_instance_26;
|
|
9318
|
+
_.$_$.u = TuPrologException_init_$Init$;
|
|
9319
|
+
_.$_$.v = OperatorSet_init_$Create$;
|
|
9320
|
+
_.$_$.w = OperatorSet_init_$Create$_0;
|
|
9321
|
+
_.$_$.x = TuPrologException;
|
|
9322
|
+
_.$_$.y = OperatorSet;
|
|
9323
|
+
_.$_$.z = Operator;
|
|
9324
|
+
_.$_$.a1 = Atom;
|
|
9325
|
+
_.$_$.b1 = Clause;
|
|
9326
|
+
_.$_$.c1 = Constant;
|
|
9327
|
+
_.$_$.d1 = Directive;
|
|
9328
|
+
_.$_$.e1 = Fact;
|
|
9329
|
+
_.$_$.f1 = Indicator;
|
|
9330
|
+
_.$_$.g1 = Integer;
|
|
9331
|
+
_.$_$.h1 = List;
|
|
9332
|
+
_.$_$.i1 = Numeric;
|
|
9333
|
+
_.$_$.j1 = Real;
|
|
9334
|
+
_.$_$.k1 = Rule;
|
|
9335
|
+
_.$_$.l1 = Struct;
|
|
9336
|
+
_.$_$.m1 = Unifier;
|
|
9337
|
+
_.$_$.n1 = visitAtom;
|
|
9338
|
+
_.$_$.o1 = visitBlock;
|
|
9339
|
+
_.$_$.p1 = visitClause;
|
|
9340
|
+
_.$_$.q1 = visitCollection;
|
|
9341
|
+
_.$_$.r1 = visitConstant;
|
|
9342
|
+
_.$_$.s1 = visitCons;
|
|
9343
|
+
_.$_$.t1 = visitDirective;
|
|
9344
|
+
_.$_$.u1 = visitEmptyBlock;
|
|
9345
|
+
_.$_$.v1 = visitEmptyList;
|
|
9346
|
+
_.$_$.w1 = visitEmpty;
|
|
9347
|
+
_.$_$.x1 = visitFact;
|
|
9348
|
+
_.$_$.y1 = visitIndicator;
|
|
9349
|
+
_.$_$.z1 = visitInteger;
|
|
9350
|
+
_.$_$.a2 = visitList;
|
|
9351
|
+
_.$_$.b2 = visitNumeric;
|
|
9352
|
+
_.$_$.c2 = visitReal;
|
|
9353
|
+
_.$_$.d2 = visitRule;
|
|
9354
|
+
_.$_$.e2 = visitTerm;
|
|
9355
|
+
_.$_$.f2 = visitTruth;
|
|
9356
|
+
_.$_$.g2 = visitTuple;
|
|
9357
|
+
_.$_$.h2 = visitVar;
|
|
9358
|
+
_.$_$.i2 = TermVisitor;
|
|
9359
|
+
_.$_$.j2 = Term;
|
|
9360
|
+
_.$_$.k2 = Tuple;
|
|
9361
|
+
_.$_$.l2 = Var;
|
|
9362
|
+
_.$_$.m2 = format_0;
|
|
9363
|
+
_.$_$.n2 = prepareForExecutionWithUnifier;
|
|
9364
|
+
_.$_$.o2 = prepareForExecution;
|
|
9365
|
+
_.$_$.p2 = stringToAtom;
|
|
9359
9366
|
//endregion
|
|
9360
9367
|
return _;
|
|
9361
9368
|
}));
|