@tuprolog/arg2p 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-dsl-core.js +192 -192
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +7 -7
- package/2p-dsl-theory.js +6 -6
- package/2p-dsl-unify.js +9 -9
- package/arg2p-core.js +8 -8
- package/arg2p-core.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +20 -20
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -46,17 +46,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
46
46
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
if (typeof Math.clz32 === 'undefined') {
|
|
50
|
-
Math.clz32 = function (log, LN2) {
|
|
51
|
-
return function (x) {
|
|
52
|
-
var asUint = x >>> 0;
|
|
53
|
-
if (asUint === 0) {
|
|
54
|
-
return 32;
|
|
55
|
-
}
|
|
56
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
57
|
-
};
|
|
58
|
-
}(Math.log, Math.LN2);
|
|
59
|
-
}
|
|
60
49
|
if (typeof Math.trunc === 'undefined') {
|
|
61
50
|
Math.trunc = function (x) {
|
|
62
51
|
if (isNaN(x)) {
|
|
@@ -68,6 +57,17 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
68
57
|
return Math.ceil(x);
|
|
69
58
|
};
|
|
70
59
|
}
|
|
60
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
61
|
+
Math.clz32 = function (log, LN2) {
|
|
62
|
+
return function (x) {
|
|
63
|
+
var asUint = x >>> 0;
|
|
64
|
+
if (asUint === 0) {
|
|
65
|
+
return 32;
|
|
66
|
+
}
|
|
67
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
68
|
+
};
|
|
69
|
+
}(Math.log, Math.LN2);
|
|
70
|
+
}
|
|
71
71
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
72
72
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
73
73
|
var subjectString = this.toString();
|
|
@@ -135,27 +135,27 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
135
135
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
136
136
|
initMetadataForObject(Unit, 'Unit');
|
|
137
137
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
138
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
138
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
139
139
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
140
140
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
141
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList,
|
|
141
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, MutableIterable, Collection]);
|
|
142
142
|
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
143
143
|
initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList, [AbstractMutableList, RandomAccess]);
|
|
144
144
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
145
145
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
|
|
146
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet,
|
|
146
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, MutableIterable, Collection]);
|
|
147
147
|
initMetadataForCompanion(Companion_1);
|
|
148
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList,
|
|
148
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, MutableIterable, Collection, RandomAccess]);
|
|
149
149
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
|
|
150
|
-
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet,
|
|
151
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
152
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet,
|
|
150
|
+
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection, AbstractMutableSet]);
|
|
151
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
152
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection, AbstractMutableSet]);
|
|
153
153
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
154
154
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
155
155
|
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
|
|
156
156
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
157
157
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
|
|
158
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet,
|
|
158
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, MutableIterable, Collection]);
|
|
159
159
|
initMetadataForCompanion(Companion_2);
|
|
160
160
|
initMetadataForClass(Itr, 'Itr');
|
|
161
161
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -200,7 +200,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
200
200
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
201
201
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
202
202
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
|
|
203
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet,
|
|
203
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, MutableIterable, Collection]);
|
|
204
204
|
initMetadataForClass(BaseOutput, 'BaseOutput');
|
|
205
205
|
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
|
|
206
206
|
initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
|