@tuprolog/2p-full 0.32.5 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +136 -136
- package/2p-core.js +379 -412
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +463 -463
- package/2p-oop-lib.js +594 -594
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +114 -114
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-theory.js +11 -11
- package/2p-repl.js +63 -63
- package/2p-repl.js.map +1 -1
- package/2p-solve-classic.js +794 -794
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-problog.js +922 -922
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +641 -641
- package/2p-solve.js +2877 -2867
- package/2p-solve.js.map +1 -1
- package/2p-test-dsl.js +15 -0
- package/2p-test-dsl.js.map +1 -0
- package/2p-theory.js +1342 -1065
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +160 -160
- package/2p-utils.js +3 -3
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-js-ir.js +1010 -1010
- package/kotlin-kotlin-stdlib.js +27 -27
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-test-kotlin-test-js-ir.js +15 -0
- package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +1 -0
- package/package.json +1 -1
package/2p-core.js
CHANGED
|
@@ -150,14 +150,14 @@
|
|
|
150
150
|
var itemWiseEquals = kotlin_it_unibo_tuprolog_utils.$_$.b1;
|
|
151
151
|
var toMap_0 = kotlin_kotlin.$_$.y4;
|
|
152
152
|
var synchronizedOnSelf = kotlin_it_unibo_tuprolog_utils.$_$.k1;
|
|
153
|
-
var setOf = kotlin_kotlin.$_$.o4;
|
|
154
|
-
var emptySet = kotlin_kotlin.$_$.b3;
|
|
155
153
|
var mapOf_0 = kotlin_kotlin.$_$.v3;
|
|
156
154
|
var IntCompanionObject_instance = kotlin_kotlin.$_$.s1;
|
|
155
|
+
var emptySet = kotlin_kotlin.$_$.b3;
|
|
157
156
|
var asSequence_2 = kotlin_kotlin.$_$.m2;
|
|
158
157
|
var filter = kotlin_kotlin.$_$.e8;
|
|
159
158
|
var firstOrNull_0 = kotlin_kotlin.$_$.f8;
|
|
160
159
|
var Pair = kotlin_kotlin.$_$.tb;
|
|
160
|
+
var setOf = kotlin_kotlin.$_$.o4;
|
|
161
161
|
var setOf_0 = kotlin_kotlin.$_$.n4;
|
|
162
162
|
var defineProp = kotlin_kotlin.$_$.x5;
|
|
163
163
|
var synchronizedOn = kotlin_it_unibo_tuprolog_utils.$_$.l1;
|
|
@@ -1349,15 +1349,15 @@
|
|
|
1349
1349
|
function get__() {
|
|
1350
1350
|
return this.anonymous();
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function logicListFromFrom(terms, last, $super) {
|
|
1353
1353
|
last = last === VOID ? null : last;
|
|
1354
1354
|
return $super === VOID ? this.g12(terms, last) : $super.g12.call(this, terms, last);
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1356
|
+
function logicListFromIterable(terms, last, $super) {
|
|
1357
1357
|
last = last === VOID ? null : last;
|
|
1358
1358
|
return $super === VOID ? this.h12(terms, last) : $super.h12.call(this, terms, last);
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function logicListFromSequence(terms, last, $super) {
|
|
1361
1361
|
last = last === VOID ? null : last;
|
|
1362
1362
|
return $super === VOID ? this.i12(terms, last) : $super.i12.call(this, terms, last);
|
|
1363
1363
|
}
|
|
@@ -1645,7 +1645,7 @@
|
|
|
1645
1645
|
}
|
|
1646
1646
|
function Info() {
|
|
1647
1647
|
Info_instance = this;
|
|
1648
|
-
this.xu_1 = '0.
|
|
1648
|
+
this.xu_1 = '1.0.0';
|
|
1649
1649
|
var tmp = this;
|
|
1650
1650
|
tmp.yu_1 = lazy(Info$PLATFORM$delegate$lambda);
|
|
1651
1651
|
var tmp_0 = this;
|
|
@@ -4472,7 +4472,7 @@
|
|
|
4472
4472
|
return this.tw();
|
|
4473
4473
|
};
|
|
4474
4474
|
protoOf(AbstractCons).uw = function (scope) {
|
|
4475
|
-
return setTags(scope.
|
|
4475
|
+
return setTags(scope.logicListFromSequence(this.ay()), this.vt()).castToCons();
|
|
4476
4476
|
};
|
|
4477
4477
|
protoOf(AbstractCons).freshCopyFromScope = function (scope) {
|
|
4478
4478
|
return this.uw(scope);
|
|
@@ -5155,7 +5155,7 @@
|
|
|
5155
5155
|
tmp = this;
|
|
5156
5156
|
} else {
|
|
5157
5157
|
var tmp_0 = this.jx();
|
|
5158
|
-
tmp = setTags(scope.
|
|
5158
|
+
tmp = setTags(scope.blockOfSequence(map(tmp_0, BlockImpl$freshCopy$lambda(scope))), this.vt());
|
|
5159
5159
|
}
|
|
5160
5160
|
return tmp;
|
|
5161
5161
|
};
|
|
@@ -5545,7 +5545,7 @@
|
|
|
5545
5545
|
var tmp$ret$0 = item.freshCopyFromScope(scope);
|
|
5546
5546
|
destination.o(tmp$ret$0);
|
|
5547
5547
|
}
|
|
5548
|
-
tmp = setTags(scope.
|
|
5548
|
+
tmp = setTags(scope.logicListOfIterable(destination), this.vt()).castToCons();
|
|
5549
5549
|
} else {
|
|
5550
5550
|
// Inline function 'kotlin.collections.map' call
|
|
5551
5551
|
var this_1 = this.zx();
|
|
@@ -5558,7 +5558,7 @@
|
|
|
5558
5558
|
var tmp$ret$3 = item_0.freshCopyFromScope(scope);
|
|
5559
5559
|
destination_0.o(tmp$ret$3);
|
|
5560
5560
|
}
|
|
5561
|
-
tmp = setTags(scope.
|
|
5561
|
+
tmp = setTags(scope.logicListFromIterable(destination_0), this.vt()).castToCons();
|
|
5562
5562
|
}
|
|
5563
5563
|
return tmp;
|
|
5564
5564
|
};
|
|
@@ -7083,22 +7083,28 @@
|
|
|
7083
7083
|
protoOf(ScopeImpl).varOf = function (name) {
|
|
7084
7084
|
return this.v1d(name);
|
|
7085
7085
|
};
|
|
7086
|
-
protoOf(ScopeImpl).w1d = function (
|
|
7086
|
+
protoOf(ScopeImpl).w1d = function (name) {
|
|
7087
|
+
return this.v1d(toString_0(name));
|
|
7088
|
+
};
|
|
7089
|
+
protoOf(ScopeImpl).varOfChar = function (name) {
|
|
7090
|
+
return this.w1d(name);
|
|
7091
|
+
};
|
|
7092
|
+
protoOf(ScopeImpl).x1d = function (lambda) {
|
|
7087
7093
|
// Inline function 'kotlin.also' call
|
|
7088
7094
|
// Inline function 'kotlin.contracts.contract' call
|
|
7089
7095
|
lambda(this);
|
|
7090
7096
|
return this;
|
|
7091
7097
|
};
|
|
7092
7098
|
protoOf(ScopeImpl).where = function (lambda) {
|
|
7093
|
-
return this.
|
|
7099
|
+
return this.x1d(lambda);
|
|
7094
7100
|
};
|
|
7095
|
-
protoOf(ScopeImpl).
|
|
7101
|
+
protoOf(ScopeImpl).y1d = function (lambda) {
|
|
7096
7102
|
// Inline function 'kotlin.with' call
|
|
7097
7103
|
// Inline function 'kotlin.contracts.contract' call
|
|
7098
7104
|
return lambda(this);
|
|
7099
7105
|
};
|
|
7100
7106
|
protoOf(ScopeImpl).with = function (lambda) {
|
|
7101
|
-
return this.
|
|
7107
|
+
return this.y1d(lambda);
|
|
7102
7108
|
};
|
|
7103
7109
|
protoOf(ScopeImpl).equals = function (other) {
|
|
7104
7110
|
if (this === other)
|
|
@@ -7117,86 +7123,50 @@
|
|
|
7117
7123
|
protoOf(ScopeImpl).toString = function () {
|
|
7118
7124
|
return toString(this.sw());
|
|
7119
7125
|
};
|
|
7120
|
-
protoOf(ScopeImpl).
|
|
7126
|
+
protoOf(ScopeImpl).z1d = function (value) {
|
|
7121
7127
|
return Companion_getInstance_24().of(value);
|
|
7122
7128
|
};
|
|
7123
7129
|
protoOf(ScopeImpl).truthOf = function (value) {
|
|
7124
|
-
return this.
|
|
7125
|
-
};
|
|
7126
|
-
protoOf(ScopeImpl).z1d = function (terms) {
|
|
7127
|
-
return Companion_instance_1.ofIterable(terms);
|
|
7128
|
-
};
|
|
7129
|
-
protoOf(ScopeImpl).setOfIterable = function (terms) {
|
|
7130
|
-
return this.z1d(terms);
|
|
7130
|
+
return this.z1d(value);
|
|
7131
7131
|
};
|
|
7132
7132
|
protoOf(ScopeImpl).a1e = function (terms) {
|
|
7133
|
-
return Companion_instance_1.
|
|
7133
|
+
return Companion_instance_1.ofIterable(terms);
|
|
7134
7134
|
};
|
|
7135
|
-
protoOf(ScopeImpl).
|
|
7135
|
+
protoOf(ScopeImpl).blockOfIterable = function (terms) {
|
|
7136
7136
|
return this.a1e(terms);
|
|
7137
7137
|
};
|
|
7138
|
-
protoOf(ScopeImpl).b1e = function (
|
|
7139
|
-
return
|
|
7138
|
+
protoOf(ScopeImpl).b1e = function (terms) {
|
|
7139
|
+
return Companion_instance_1.ofSequence(terms);
|
|
7140
7140
|
};
|
|
7141
|
-
protoOf(ScopeImpl).
|
|
7142
|
-
return this.b1e(
|
|
7141
|
+
protoOf(ScopeImpl).blockOfSequence = function (terms) {
|
|
7142
|
+
return this.b1e(terms);
|
|
7143
7143
|
};
|
|
7144
|
-
protoOf(ScopeImpl).c1e = function () {
|
|
7145
|
-
return
|
|
7144
|
+
protoOf(ScopeImpl).c1e = function (terms) {
|
|
7145
|
+
return Companion_instance_1.of(terms.slice());
|
|
7146
7146
|
};
|
|
7147
|
-
protoOf(ScopeImpl).
|
|
7148
|
-
return this.c1e();
|
|
7147
|
+
protoOf(ScopeImpl).blockOf = function (terms) {
|
|
7148
|
+
return this.c1e(terms);
|
|
7149
7149
|
};
|
|
7150
7150
|
protoOf(ScopeImpl).d1e = function (terms) {
|
|
7151
|
-
return
|
|
7151
|
+
return Companion_instance_11.ofIterable(terms);
|
|
7152
7152
|
};
|
|
7153
|
-
protoOf(ScopeImpl).
|
|
7153
|
+
protoOf(ScopeImpl).logicListOfIterable = function (terms) {
|
|
7154
7154
|
return this.d1e(terms);
|
|
7155
7155
|
};
|
|
7156
7156
|
protoOf(ScopeImpl).e1e = function (terms) {
|
|
7157
|
-
return Companion_instance_11.ofIterable(terms);
|
|
7158
|
-
};
|
|
7159
|
-
protoOf(ScopeImpl).listOfIterable = function (terms) {
|
|
7160
|
-
return this.e1e(terms);
|
|
7161
|
-
};
|
|
7162
|
-
protoOf(ScopeImpl).f1e = function (terms) {
|
|
7163
7157
|
return Companion_instance_11.ofSequence(terms);
|
|
7164
7158
|
};
|
|
7165
|
-
protoOf(ScopeImpl).
|
|
7166
|
-
return this.
|
|
7167
|
-
};
|
|
7168
|
-
protoOf(ScopeImpl).g1e = function (items) {
|
|
7169
|
-
return listOf(items.slice());
|
|
7170
|
-
};
|
|
7171
|
-
protoOf(ScopeImpl).ktListOf = function (items) {
|
|
7172
|
-
return this.g1e(items);
|
|
7173
|
-
};
|
|
7174
|
-
protoOf(ScopeImpl).h1e = function () {
|
|
7175
|
-
return emptyList();
|
|
7176
|
-
};
|
|
7177
|
-
protoOf(ScopeImpl).ktEmptyList = function () {
|
|
7178
|
-
return this.h1e();
|
|
7179
|
-
};
|
|
7180
|
-
protoOf(ScopeImpl).i1e = function (_this__u8e3s4, item, items) {
|
|
7181
|
-
return this.j1e(_this__u8e3s4, this.g1e(arrayConcat([[item], items])));
|
|
7182
|
-
};
|
|
7183
|
-
protoOf(ScopeImpl).append = function (_this__u8e3s4, item, items) {
|
|
7184
|
-
return this.i1e(_this__u8e3s4, (item == null ? true : !(item == null)) ? item : THROW_CCE(), items);
|
|
7185
|
-
};
|
|
7186
|
-
protoOf(ScopeImpl).j1e = function (_this__u8e3s4, other) {
|
|
7187
|
-
return plus(_this__u8e3s4, other);
|
|
7188
|
-
};
|
|
7189
|
-
protoOf(ScopeImpl).concat = function (_this__u8e3s4, other) {
|
|
7190
|
-
return this.j1e(_this__u8e3s4, other);
|
|
7159
|
+
protoOf(ScopeImpl).logicListOfSequence = function (terms) {
|
|
7160
|
+
return this.e1e(terms);
|
|
7191
7161
|
};
|
|
7192
7162
|
protoOf(ScopeImpl).e12 = function () {
|
|
7193
7163
|
return Companion_getInstance_9().invoke();
|
|
7194
7164
|
};
|
|
7195
|
-
protoOf(ScopeImpl).
|
|
7165
|
+
protoOf(ScopeImpl).f1e = function (terms) {
|
|
7196
7166
|
return Companion_instance_11.of(terms.slice());
|
|
7197
7167
|
};
|
|
7198
|
-
protoOf(ScopeImpl).
|
|
7199
|
-
return this.
|
|
7168
|
+
protoOf(ScopeImpl).logicListOf = function (terms) {
|
|
7169
|
+
return this.f1e(terms);
|
|
7200
7170
|
};
|
|
7201
7171
|
protoOf(ScopeImpl).g12 = function (terms, last) {
|
|
7202
7172
|
return Companion_instance_11.from(terms.slice(), last);
|
|
@@ -7207,247 +7177,253 @@
|
|
|
7207
7177
|
protoOf(ScopeImpl).h12 = function (terms, last) {
|
|
7208
7178
|
return Companion_instance_11.fromIterable(terms, last);
|
|
7209
7179
|
};
|
|
7210
|
-
protoOf(ScopeImpl).
|
|
7180
|
+
protoOf(ScopeImpl).g1e = function (terms) {
|
|
7211
7181
|
return Companion_instance_23.ofList(toList_0(terms));
|
|
7212
7182
|
};
|
|
7213
7183
|
protoOf(ScopeImpl).tupleOfIterable = function (terms) {
|
|
7214
|
-
return this.
|
|
7184
|
+
return this.g1e(terms);
|
|
7215
7185
|
};
|
|
7216
|
-
protoOf(ScopeImpl).
|
|
7186
|
+
protoOf(ScopeImpl).h1e = function (terms) {
|
|
7217
7187
|
return Companion_instance_23.ofList(toList_1(terms));
|
|
7218
7188
|
};
|
|
7219
7189
|
protoOf(ScopeImpl).tupleOfSequence = function (terms) {
|
|
7220
|
-
return this.
|
|
7190
|
+
return this.h1e(terms);
|
|
7221
7191
|
};
|
|
7222
|
-
protoOf(ScopeImpl).
|
|
7192
|
+
protoOf(ScopeImpl).i1e = function (terms) {
|
|
7223
7193
|
return Companion_instance_23.ofList(toList(terms));
|
|
7224
7194
|
};
|
|
7225
7195
|
protoOf(ScopeImpl).tupleOf = function (terms) {
|
|
7226
|
-
return this.
|
|
7196
|
+
return this.i1e(terms);
|
|
7227
7197
|
};
|
|
7228
|
-
protoOf(ScopeImpl).
|
|
7198
|
+
protoOf(ScopeImpl).j1e = function (value) {
|
|
7229
7199
|
return Companion_getInstance_2().of(value);
|
|
7230
7200
|
};
|
|
7231
7201
|
protoOf(ScopeImpl).atomOf = function (value) {
|
|
7232
|
-
return this.
|
|
7202
|
+
return this.j1e(value);
|
|
7203
|
+
};
|
|
7204
|
+
protoOf(ScopeImpl).k1e = function (value) {
|
|
7205
|
+
return Companion_getInstance_2().of(toString_0(value));
|
|
7206
|
+
};
|
|
7207
|
+
protoOf(ScopeImpl).atomOfChar = function (value) {
|
|
7208
|
+
return this.k1e(value);
|
|
7233
7209
|
};
|
|
7234
|
-
protoOf(ScopeImpl).
|
|
7210
|
+
protoOf(ScopeImpl).l1e = function (functor, args) {
|
|
7235
7211
|
return Companion_getInstance_19().of(functor, args.slice());
|
|
7236
7212
|
};
|
|
7237
7213
|
protoOf(ScopeImpl).structOf = function (functor, args) {
|
|
7238
|
-
return this.
|
|
7214
|
+
return this.l1e(functor, args);
|
|
7239
7215
|
};
|
|
7240
|
-
protoOf(ScopeImpl).
|
|
7216
|
+
protoOf(ScopeImpl).m1e = function (functor, args) {
|
|
7241
7217
|
return Companion_getInstance_19().ofSequence(functor, args);
|
|
7242
7218
|
};
|
|
7243
7219
|
protoOf(ScopeImpl).structOfSequence = function (functor, args) {
|
|
7244
|
-
return this.
|
|
7220
|
+
return this.m1e(functor, args);
|
|
7245
7221
|
};
|
|
7246
|
-
protoOf(ScopeImpl).
|
|
7222
|
+
protoOf(ScopeImpl).n1e = function (functor, args) {
|
|
7247
7223
|
return Companion_getInstance_19().ofIterable(functor, args);
|
|
7248
7224
|
};
|
|
7249
7225
|
protoOf(ScopeImpl).structOfIterable = function (functor, args) {
|
|
7250
|
-
return this.
|
|
7226
|
+
return this.n1e(functor, args);
|
|
7251
7227
|
};
|
|
7252
|
-
protoOf(ScopeImpl).
|
|
7228
|
+
protoOf(ScopeImpl).o1e = function (functor, args) {
|
|
7253
7229
|
return Companion_getInstance_19().ofList(functor, args);
|
|
7254
7230
|
};
|
|
7255
7231
|
protoOf(ScopeImpl).structOfList = function (functor, args) {
|
|
7256
|
-
return this.
|
|
7232
|
+
return this.o1e(functor, args);
|
|
7257
7233
|
};
|
|
7258
|
-
protoOf(ScopeImpl).
|
|
7234
|
+
protoOf(ScopeImpl).p1e = function (head) {
|
|
7259
7235
|
return Companion_instance_8.of(head);
|
|
7260
7236
|
};
|
|
7261
7237
|
protoOf(ScopeImpl).factOf = function (head) {
|
|
7262
|
-
return this.
|
|
7238
|
+
return this.p1e(head);
|
|
7263
7239
|
};
|
|
7264
|
-
protoOf(ScopeImpl).
|
|
7240
|
+
protoOf(ScopeImpl).q1e = function (head, body1, body) {
|
|
7265
7241
|
return Companion_instance_15.of(head, arrayConcat([[body1], body]));
|
|
7266
7242
|
};
|
|
7267
7243
|
protoOf(ScopeImpl).ruleOf = function (head, body1, body) {
|
|
7268
|
-
return this.
|
|
7244
|
+
return this.q1e(head, body1, body);
|
|
7269
7245
|
};
|
|
7270
|
-
protoOf(ScopeImpl).
|
|
7246
|
+
protoOf(ScopeImpl).r1e = function (body1, body) {
|
|
7271
7247
|
return Companion_instance_4.of(body1, body.slice());
|
|
7272
7248
|
};
|
|
7273
7249
|
protoOf(ScopeImpl).directiveOf = function (body1, body) {
|
|
7274
|
-
return this.
|
|
7250
|
+
return this.r1e(body1, body);
|
|
7275
7251
|
};
|
|
7276
|
-
protoOf(ScopeImpl).
|
|
7252
|
+
protoOf(ScopeImpl).s1e = function (head, body) {
|
|
7277
7253
|
return Companion_getInstance_4().yy(head, body.slice());
|
|
7278
7254
|
};
|
|
7279
7255
|
protoOf(ScopeImpl).clauseOf = function (head, body) {
|
|
7280
|
-
return this.
|
|
7256
|
+
return this.s1e(head, body);
|
|
7281
7257
|
};
|
|
7282
|
-
protoOf(ScopeImpl).
|
|
7258
|
+
protoOf(ScopeImpl).t1e = function (head, tail) {
|
|
7283
7259
|
return Companion_instance_3.of(head, tail);
|
|
7284
7260
|
};
|
|
7285
7261
|
protoOf(ScopeImpl).consOf = function (head, tail) {
|
|
7286
|
-
return this.
|
|
7262
|
+
return this.t1e(head, tail);
|
|
7287
7263
|
};
|
|
7288
|
-
protoOf(ScopeImpl).
|
|
7264
|
+
protoOf(ScopeImpl).u1e = function (name, arity) {
|
|
7289
7265
|
return Companion_instance_9.of(name, arity);
|
|
7290
7266
|
};
|
|
7291
7267
|
protoOf(ScopeImpl).indicatorOf = function (name, arity) {
|
|
7292
|
-
return this.
|
|
7268
|
+
return this.u1e(name, arity);
|
|
7293
7269
|
};
|
|
7294
|
-
protoOf(ScopeImpl).
|
|
7270
|
+
protoOf(ScopeImpl).v1e = function (name, arity) {
|
|
7295
7271
|
return Companion_instance_9.ofString(name, arity);
|
|
7296
7272
|
};
|
|
7297
7273
|
protoOf(ScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
7298
|
-
return this.
|
|
7274
|
+
return this.v1e(name, arity);
|
|
7299
7275
|
};
|
|
7300
|
-
protoOf(ScopeImpl).
|
|
7276
|
+
protoOf(ScopeImpl).w1e = function () {
|
|
7301
7277
|
return Companion_getInstance_26().anonymous();
|
|
7302
7278
|
};
|
|
7303
7279
|
protoOf(ScopeImpl).anonymous = function () {
|
|
7304
|
-
return this.
|
|
7280
|
+
return this.w1e();
|
|
7305
7281
|
};
|
|
7306
|
-
protoOf(ScopeImpl).
|
|
7307
|
-
return this.
|
|
7282
|
+
protoOf(ScopeImpl).x1e = function () {
|
|
7283
|
+
return this.w1e();
|
|
7308
7284
|
};
|
|
7309
7285
|
protoOf(ScopeImpl).whatever = function () {
|
|
7310
|
-
return this.
|
|
7286
|
+
return this.x1e();
|
|
7311
7287
|
};
|
|
7312
|
-
protoOf(ScopeImpl).
|
|
7288
|
+
protoOf(ScopeImpl).y1e = function (value) {
|
|
7313
7289
|
return Companion_getInstance_15().ofBigDecimal(value);
|
|
7314
7290
|
};
|
|
7315
7291
|
protoOf(ScopeImpl).numOfBigDecimal = function (value) {
|
|
7316
|
-
return this.
|
|
7292
|
+
return this.y1e(value);
|
|
7317
7293
|
};
|
|
7318
|
-
protoOf(ScopeImpl).
|
|
7294
|
+
protoOf(ScopeImpl).z1e = function (value) {
|
|
7319
7295
|
return Companion_getInstance_15().ofDouble(value);
|
|
7320
7296
|
};
|
|
7321
7297
|
protoOf(ScopeImpl).numOfDouble = function (value) {
|
|
7322
|
-
return this.
|
|
7298
|
+
return this.z1e(value);
|
|
7323
7299
|
};
|
|
7324
|
-
protoOf(ScopeImpl).
|
|
7300
|
+
protoOf(ScopeImpl).a1f = function (value) {
|
|
7325
7301
|
return Companion_getInstance_15().ofFloat(value);
|
|
7326
7302
|
};
|
|
7327
7303
|
protoOf(ScopeImpl).numOfFloat = function (value) {
|
|
7328
|
-
return this.
|
|
7304
|
+
return this.a1f(value);
|
|
7329
7305
|
};
|
|
7330
|
-
protoOf(ScopeImpl).
|
|
7306
|
+
protoOf(ScopeImpl).b1f = function (value) {
|
|
7331
7307
|
return Companion_getInstance_15().ofBigInteger(value);
|
|
7332
7308
|
};
|
|
7333
7309
|
protoOf(ScopeImpl).numOfBigInteger = function (value) {
|
|
7334
|
-
return this.
|
|
7310
|
+
return this.b1f(value);
|
|
7335
7311
|
};
|
|
7336
|
-
protoOf(ScopeImpl).
|
|
7312
|
+
protoOf(ScopeImpl).c1f = function (value) {
|
|
7337
7313
|
return Companion_getInstance_15().ofInteger(value);
|
|
7338
7314
|
};
|
|
7339
7315
|
protoOf(ScopeImpl).numOfInt = function (value) {
|
|
7340
|
-
return this.
|
|
7316
|
+
return this.c1f(value);
|
|
7341
7317
|
};
|
|
7342
|
-
protoOf(ScopeImpl).
|
|
7318
|
+
protoOf(ScopeImpl).d1f = function (value) {
|
|
7343
7319
|
return Companion_getInstance_15().ofLong(value);
|
|
7344
7320
|
};
|
|
7345
7321
|
protoOf(ScopeImpl).numOfLong = function (value) {
|
|
7346
|
-
return this.
|
|
7322
|
+
return this.d1f(value);
|
|
7347
7323
|
};
|
|
7348
|
-
protoOf(ScopeImpl).
|
|
7324
|
+
protoOf(ScopeImpl).e1f = function (value) {
|
|
7349
7325
|
return Companion_getInstance_15().ofShort(value);
|
|
7350
7326
|
};
|
|
7351
7327
|
protoOf(ScopeImpl).numOfShort = function (value) {
|
|
7352
|
-
return this.
|
|
7328
|
+
return this.e1f(value);
|
|
7353
7329
|
};
|
|
7354
|
-
protoOf(ScopeImpl).
|
|
7330
|
+
protoOf(ScopeImpl).f1f = function (value) {
|
|
7355
7331
|
return Companion_getInstance_15().ofByte(value);
|
|
7356
7332
|
};
|
|
7357
7333
|
protoOf(ScopeImpl).numOfByte = function (value) {
|
|
7358
|
-
return this.
|
|
7334
|
+
return this.f1f(value);
|
|
7359
7335
|
};
|
|
7360
|
-
protoOf(ScopeImpl).
|
|
7336
|
+
protoOf(ScopeImpl).g1f = function (value) {
|
|
7361
7337
|
return Companion_getInstance_15().parse(value);
|
|
7362
7338
|
};
|
|
7363
7339
|
protoOf(ScopeImpl).parseNum = function (value) {
|
|
7364
|
-
return this.
|
|
7340
|
+
return this.g1f(value);
|
|
7365
7341
|
};
|
|
7366
|
-
protoOf(ScopeImpl).
|
|
7342
|
+
protoOf(ScopeImpl).h1f = function (value) {
|
|
7367
7343
|
return Companion_getInstance_15().of(value);
|
|
7368
7344
|
};
|
|
7369
7345
|
protoOf(ScopeImpl).numOf = function (value) {
|
|
7370
|
-
return this.
|
|
7346
|
+
return this.h1f(value);
|
|
7371
7347
|
};
|
|
7372
|
-
protoOf(ScopeImpl).
|
|
7348
|
+
protoOf(ScopeImpl).i1f = function (value) {
|
|
7373
7349
|
return Companion_getInstance_12().ofBigInteger(value);
|
|
7374
7350
|
};
|
|
7375
7351
|
protoOf(ScopeImpl).intOfBigInteger = function (value) {
|
|
7376
|
-
return this.
|
|
7352
|
+
return this.i1f(value);
|
|
7377
7353
|
};
|
|
7378
|
-
protoOf(ScopeImpl).
|
|
7354
|
+
protoOf(ScopeImpl).j1f = function (value) {
|
|
7379
7355
|
return Companion_getInstance_12().ofInt(value);
|
|
7380
7356
|
};
|
|
7381
7357
|
protoOf(ScopeImpl).intOf = function (value) {
|
|
7382
|
-
return this.
|
|
7358
|
+
return this.j1f(value);
|
|
7383
7359
|
};
|
|
7384
|
-
protoOf(ScopeImpl).
|
|
7360
|
+
protoOf(ScopeImpl).k1f = function (value) {
|
|
7385
7361
|
return Companion_getInstance_12().ofLong(value);
|
|
7386
7362
|
};
|
|
7387
7363
|
protoOf(ScopeImpl).intOfLong = function (value) {
|
|
7388
|
-
return this.
|
|
7364
|
+
return this.k1f(value);
|
|
7389
7365
|
};
|
|
7390
|
-
protoOf(ScopeImpl).
|
|
7366
|
+
protoOf(ScopeImpl).l1f = function (value) {
|
|
7391
7367
|
return Companion_getInstance_12().ofShort(value);
|
|
7392
7368
|
};
|
|
7393
7369
|
protoOf(ScopeImpl).intOfShort = function (value) {
|
|
7394
|
-
return this.
|
|
7370
|
+
return this.l1f(value);
|
|
7395
7371
|
};
|
|
7396
|
-
protoOf(ScopeImpl).
|
|
7372
|
+
protoOf(ScopeImpl).m1f = function (value) {
|
|
7397
7373
|
return Companion_getInstance_12().ofByte(value);
|
|
7398
7374
|
};
|
|
7399
7375
|
protoOf(ScopeImpl).intOfByte = function (value) {
|
|
7400
|
-
return this.
|
|
7376
|
+
return this.m1f(value);
|
|
7401
7377
|
};
|
|
7402
|
-
protoOf(ScopeImpl).
|
|
7378
|
+
protoOf(ScopeImpl).n1f = function (value) {
|
|
7403
7379
|
return Companion_getInstance_12().parse(value);
|
|
7404
7380
|
};
|
|
7405
7381
|
protoOf(ScopeImpl).parseInt = function (value) {
|
|
7406
|
-
return this.
|
|
7382
|
+
return this.n1f(value);
|
|
7407
7383
|
};
|
|
7408
|
-
protoOf(ScopeImpl).
|
|
7384
|
+
protoOf(ScopeImpl).o1f = function (value, radix) {
|
|
7409
7385
|
return Companion_getInstance_12().parseRadix(value, radix);
|
|
7410
7386
|
};
|
|
7411
7387
|
protoOf(ScopeImpl).parseIntRadix = function (value, radix) {
|
|
7412
|
-
return this.
|
|
7388
|
+
return this.o1f(value, radix);
|
|
7413
7389
|
};
|
|
7414
|
-
protoOf(ScopeImpl).
|
|
7390
|
+
protoOf(ScopeImpl).p1f = function (value) {
|
|
7415
7391
|
return Companion_getInstance_16().ofBigDecimal(value);
|
|
7416
7392
|
};
|
|
7417
7393
|
protoOf(ScopeImpl).realOfBigDecimal = function (value) {
|
|
7418
|
-
return this.
|
|
7394
|
+
return this.p1f(value);
|
|
7419
7395
|
};
|
|
7420
|
-
protoOf(ScopeImpl).
|
|
7396
|
+
protoOf(ScopeImpl).q1f = function (value) {
|
|
7421
7397
|
return Companion_getInstance_16().ofDouble(value);
|
|
7422
7398
|
};
|
|
7423
7399
|
protoOf(ScopeImpl).realOf = function (value) {
|
|
7424
|
-
return this.
|
|
7400
|
+
return this.q1f(value);
|
|
7425
7401
|
};
|
|
7426
|
-
protoOf(ScopeImpl).
|
|
7402
|
+
protoOf(ScopeImpl).r1f = function (value) {
|
|
7427
7403
|
return Companion_getInstance_16().ofFloat(value);
|
|
7428
7404
|
};
|
|
7429
7405
|
protoOf(ScopeImpl).realOfFloat = function (value) {
|
|
7430
|
-
return this.
|
|
7406
|
+
return this.r1f(value);
|
|
7431
7407
|
};
|
|
7432
|
-
protoOf(ScopeImpl).
|
|
7408
|
+
protoOf(ScopeImpl).s1f = function (value) {
|
|
7433
7409
|
return Companion_getInstance_16().parse(value);
|
|
7434
7410
|
};
|
|
7435
7411
|
protoOf(ScopeImpl).parseReal = function (value) {
|
|
7436
|
-
return this.
|
|
7412
|
+
return this.s1f(value);
|
|
7437
7413
|
};
|
|
7438
|
-
protoOf(ScopeImpl).
|
|
7414
|
+
protoOf(ScopeImpl).t1f = function (assignments) {
|
|
7439
7415
|
return Companion_getInstance_20().unifierIterable(assignments);
|
|
7440
7416
|
};
|
|
7441
7417
|
protoOf(ScopeImpl).unifierOfIterable = function (assignments) {
|
|
7442
|
-
return this.
|
|
7418
|
+
return this.t1f(assignments);
|
|
7443
7419
|
};
|
|
7444
|
-
protoOf(ScopeImpl).
|
|
7445
|
-
return this.
|
|
7420
|
+
protoOf(ScopeImpl).u1f = function (assignments) {
|
|
7421
|
+
return this.t1f(asIterable_0(assignments));
|
|
7446
7422
|
};
|
|
7447
7423
|
protoOf(ScopeImpl).unifierOfSequence = function (assignments) {
|
|
7448
|
-
return this.
|
|
7424
|
+
return this.u1f(assignments);
|
|
7449
7425
|
};
|
|
7450
|
-
protoOf(ScopeImpl).
|
|
7426
|
+
protoOf(ScopeImpl).v1f = function (assignments) {
|
|
7451
7427
|
// Inline function 'kotlin.collections.map' call
|
|
7452
7428
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7453
7429
|
var destination = ArrayList_init_$Create$(assignments.length);
|
|
@@ -7462,24 +7438,24 @@
|
|
|
7462
7438
|
var tmp$ret$0 = to(this.v1d(v), t);
|
|
7463
7439
|
destination.o(tmp$ret$0);
|
|
7464
7440
|
}
|
|
7465
|
-
return this.
|
|
7441
|
+
return this.t1f(destination);
|
|
7466
7442
|
};
|
|
7467
7443
|
protoOf(ScopeImpl).unifierOf = function (assignments) {
|
|
7468
|
-
return this.
|
|
7444
|
+
return this.v1f(assignments);
|
|
7469
7445
|
};
|
|
7470
|
-
protoOf(ScopeImpl).
|
|
7446
|
+
protoOf(ScopeImpl).w1f = function (assignments) {
|
|
7471
7447
|
return Companion_getInstance_20().ofIterable(assignments);
|
|
7472
7448
|
};
|
|
7473
7449
|
protoOf(ScopeImpl).substitutionOfIterable = function (assignments) {
|
|
7474
|
-
return this.
|
|
7450
|
+
return this.w1f(assignments);
|
|
7475
7451
|
};
|
|
7476
|
-
protoOf(ScopeImpl).
|
|
7477
|
-
return this.
|
|
7452
|
+
protoOf(ScopeImpl).x1f = function (assignments) {
|
|
7453
|
+
return this.w1f(asIterable_0(assignments));
|
|
7478
7454
|
};
|
|
7479
7455
|
protoOf(ScopeImpl).substitutionOfSequence = function (assignments) {
|
|
7480
|
-
return this.
|
|
7456
|
+
return this.x1f(assignments);
|
|
7481
7457
|
};
|
|
7482
|
-
protoOf(ScopeImpl).
|
|
7458
|
+
protoOf(ScopeImpl).y1f = function (assignments) {
|
|
7483
7459
|
// Inline function 'kotlin.collections.map' call
|
|
7484
7460
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7485
7461
|
var destination = ArrayList_init_$Create$(assignments.length);
|
|
@@ -7494,10 +7470,10 @@
|
|
|
7494
7470
|
var tmp$ret$0 = to(this.v1d(v), t);
|
|
7495
7471
|
destination.o(tmp$ret$0);
|
|
7496
7472
|
}
|
|
7497
|
-
return this.
|
|
7473
|
+
return this.w1f(destination);
|
|
7498
7474
|
};
|
|
7499
7475
|
protoOf(ScopeImpl).substitutionOf = function (assignments) {
|
|
7500
|
-
return this.
|
|
7476
|
+
return this.y1f(assignments);
|
|
7501
7477
|
};
|
|
7502
7478
|
function SimpleTermFormatter(quoted, numberVars, ignoreOps) {
|
|
7503
7479
|
quoted = quoted === VOID ? true : quoted;
|
|
@@ -7516,25 +7492,25 @@
|
|
|
7516
7492
|
function StructImpl(functor, args, tags) {
|
|
7517
7493
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7518
7494
|
AbstractStruct.call(this, functor, args, tags);
|
|
7519
|
-
this.
|
|
7520
|
-
this.
|
|
7495
|
+
this.d1g_1 = functor;
|
|
7496
|
+
this.e1g_1 = args;
|
|
7521
7497
|
var tmp = this;
|
|
7522
|
-
tmp.
|
|
7498
|
+
tmp.f1g_1 = lazy(StructImpl$isGround$delegate$lambda(this));
|
|
7523
7499
|
}
|
|
7524
7500
|
protoOf(StructImpl).qw = function () {
|
|
7525
|
-
return this.
|
|
7501
|
+
return this.d1g_1;
|
|
7526
7502
|
};
|
|
7527
7503
|
protoOf(StructImpl).rw = function () {
|
|
7528
|
-
return this.
|
|
7504
|
+
return this.e1g_1;
|
|
7529
7505
|
};
|
|
7530
7506
|
protoOf(StructImpl).ux = function () {
|
|
7531
7507
|
// Inline function 'kotlin.getValue' call
|
|
7532
|
-
var this_0 = this.
|
|
7508
|
+
var this_0 = this.f1g_1;
|
|
7533
7509
|
isGround$factory();
|
|
7534
7510
|
return this_0.r2();
|
|
7535
7511
|
};
|
|
7536
7512
|
protoOf(StructImpl).a16 = function (tags) {
|
|
7537
|
-
return new StructImpl(this.
|
|
7513
|
+
return new StructImpl(this.d1g_1, this.e1g_1, tags);
|
|
7538
7514
|
};
|
|
7539
7515
|
protoOf(StructImpl).br = function () {
|
|
7540
7516
|
return this.kx();
|
|
@@ -7566,15 +7542,15 @@
|
|
|
7566
7542
|
return this.p14((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7567
7543
|
};
|
|
7568
7544
|
function OperatorDecorations(prefix, suffix) {
|
|
7569
|
-
this.
|
|
7570
|
-
this.
|
|
7545
|
+
this.j1g_1 = prefix;
|
|
7546
|
+
this.k1g_1 = suffix;
|
|
7571
7547
|
}
|
|
7572
7548
|
protoOf(OperatorDecorations).toString = function () {
|
|
7573
|
-
return 'OperatorDecorations(prefix=' + this.
|
|
7549
|
+
return 'OperatorDecorations(prefix=' + this.j1g_1 + ', suffix=' + this.k1g_1 + ')';
|
|
7574
7550
|
};
|
|
7575
7551
|
protoOf(OperatorDecorations).hashCode = function () {
|
|
7576
|
-
var result = getStringHashCode(this.
|
|
7577
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
7552
|
+
var result = getStringHashCode(this.j1g_1);
|
|
7553
|
+
result = imul(result, 31) + getStringHashCode(this.k1g_1) | 0;
|
|
7578
7554
|
return result;
|
|
7579
7555
|
};
|
|
7580
7556
|
protoOf(OperatorDecorations).equals = function (other) {
|
|
@@ -7583,26 +7559,26 @@
|
|
|
7583
7559
|
if (!(other instanceof OperatorDecorations))
|
|
7584
7560
|
return false;
|
|
7585
7561
|
var tmp0_other_with_cast = other instanceof OperatorDecorations ? other : THROW_CCE();
|
|
7586
|
-
if (!(this.
|
|
7562
|
+
if (!(this.j1g_1 === tmp0_other_with_cast.j1g_1))
|
|
7587
7563
|
return false;
|
|
7588
|
-
if (!(this.
|
|
7564
|
+
if (!(this.k1g_1 === tmp0_other_with_cast.k1g_1))
|
|
7589
7565
|
return false;
|
|
7590
7566
|
return true;
|
|
7591
7567
|
};
|
|
7592
7568
|
function _get_decorations__mnzyq(_this__u8e3s4, $this) {
|
|
7593
|
-
var tmp0_elvis_lhs = $this.
|
|
7594
|
-
return tmp0_elvis_lhs == null ? $this.
|
|
7569
|
+
var tmp0_elvis_lhs = $this.m1g_1.x2(_this__u8e3s4);
|
|
7570
|
+
return tmp0_elvis_lhs == null ? $this.l1g_1 : tmp0_elvis_lhs;
|
|
7595
7571
|
}
|
|
7596
7572
|
function _get_prefix__wiwq7t(_this__u8e3s4, $this) {
|
|
7597
|
-
return _get_decorations__mnzyq(_this__u8e3s4, $this).
|
|
7573
|
+
return _get_decorations__mnzyq(_this__u8e3s4, $this).j1g_1;
|
|
7598
7574
|
}
|
|
7599
7575
|
function _get_suffix__6yo6oq(_this__u8e3s4, $this) {
|
|
7600
|
-
return _get_decorations__mnzyq(_this__u8e3s4, $this).
|
|
7576
|
+
return _get_decorations__mnzyq(_this__u8e3s4, $this).k1g_1;
|
|
7601
7577
|
}
|
|
7602
7578
|
function Companion_29() {
|
|
7603
7579
|
Companion_instance_29 = this;
|
|
7604
|
-
this.
|
|
7605
|
-
this.
|
|
7580
|
+
this.l1g_1 = new OperatorDecorations(' ', ' ');
|
|
7581
|
+
this.m1g_1 = mapOf_0([to(',', new OperatorDecorations('', ' ')), to(';', new OperatorDecorations('', ' ')), to('\\+', new OperatorDecorations('', ' '))]);
|
|
7606
7582
|
}
|
|
7607
7583
|
var Companion_instance_29;
|
|
7608
7584
|
function Companion_getInstance_31() {
|
|
@@ -7625,7 +7601,7 @@
|
|
|
7625
7601
|
}
|
|
7626
7602
|
function addingParenthesesIfForced($this, struct, stringGenerator) {
|
|
7627
7603
|
var string = stringGenerator(struct);
|
|
7628
|
-
if ($this.
|
|
7604
|
+
if ($this.t1g_1.n(struct.qw())) {
|
|
7629
7605
|
return wrapWithinParentheses(string, $this);
|
|
7630
7606
|
}
|
|
7631
7607
|
return string;
|
|
@@ -7650,14 +7626,14 @@
|
|
|
7650
7626
|
return protoOf(AbstractTermFormatter).ry.call($this, struct);
|
|
7651
7627
|
}
|
|
7652
7628
|
function childFormatter($this, priority, forceParentheses) {
|
|
7653
|
-
return new TermFormatterWithPrettyExpressions(priority, $this.
|
|
7629
|
+
return new TermFormatterWithPrettyExpressions(priority, $this.r1g_1, $this.s1g_1, forceParentheses, $this.a17_1, $this.b17_1, $this.c17_1);
|
|
7654
7630
|
}
|
|
7655
7631
|
function childFormatter$default($this, priority, forceParentheses, $super) {
|
|
7656
7632
|
forceParentheses = forceParentheses === VOID ? emptySet() : forceParentheses;
|
|
7657
7633
|
return childFormatter($this, priority, forceParentheses);
|
|
7658
7634
|
}
|
|
7659
7635
|
function isOperator(_this__u8e3s4, $this) {
|
|
7660
|
-
return $this.
|
|
7636
|
+
return $this.s1g_1.u2(_this__u8e3s4);
|
|
7661
7637
|
}
|
|
7662
7638
|
function getSpecifierAndIndex(_this__u8e3s4, $this, functor, priorityPredicate, specifierPredicate) {
|
|
7663
7639
|
var tmp0_safe_receiver = _this__u8e3s4.x2(functor);
|
|
@@ -7695,7 +7671,7 @@
|
|
|
7695
7671
|
var tmp;
|
|
7696
7672
|
if (_this__u8e3s4.kw() === 1) {
|
|
7697
7673
|
var tmp_0 = _this__u8e3s4.qw();
|
|
7698
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.
|
|
7674
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.s1g_1, $this, tmp_0, $this.q1g_1, TermFormatterWithPrettyExpressions$isPrefix$lambda);
|
|
7699
7675
|
} else {
|
|
7700
7676
|
tmp = null;
|
|
7701
7677
|
}
|
|
@@ -7705,7 +7681,7 @@
|
|
|
7705
7681
|
var tmp;
|
|
7706
7682
|
if (_this__u8e3s4.kw() === 1) {
|
|
7707
7683
|
var tmp_0 = _this__u8e3s4.qw();
|
|
7708
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.
|
|
7684
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.s1g_1, $this, tmp_0, $this.q1g_1, TermFormatterWithPrettyExpressions$isPostfix$lambda);
|
|
7709
7685
|
} else {
|
|
7710
7686
|
tmp = null;
|
|
7711
7687
|
}
|
|
@@ -7715,7 +7691,7 @@
|
|
|
7715
7691
|
var tmp;
|
|
7716
7692
|
if (_this__u8e3s4.kw() === 2) {
|
|
7717
7693
|
var tmp_0 = _this__u8e3s4.qw();
|
|
7718
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.
|
|
7694
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this.s1g_1, $this, tmp_0, $this.q1g_1, TermFormatterWithPrettyExpressions$isInfix$lambda);
|
|
7719
7695
|
} else {
|
|
7720
7696
|
tmp = null;
|
|
7721
7697
|
}
|
|
@@ -7726,11 +7702,11 @@
|
|
|
7726
7702
|
switch (_this__u8e3s4.kw()) {
|
|
7727
7703
|
case 1:
|
|
7728
7704
|
var tmp_0 = _this__u8e3s4.qw();
|
|
7729
|
-
tmp = getSpecifierAndIndexWithGreaterPriority($this.
|
|
7705
|
+
tmp = getSpecifierAndIndexWithGreaterPriority($this.s1g_1, $this, tmp_0, $this.q1g_1, TermFormatterWithPrettyExpressions$isLowerPriority$lambda);
|
|
7730
7706
|
break;
|
|
7731
7707
|
case 2:
|
|
7732
7708
|
var tmp_1 = _this__u8e3s4.qw();
|
|
7733
|
-
tmp = getSpecifierAndIndexWithGreaterPriority($this.
|
|
7709
|
+
tmp = getSpecifierAndIndexWithGreaterPriority($this.s1g_1, $this, tmp_1, $this.q1g_1, TermFormatterWithPrettyExpressions$isLowerPriority$lambda_0);
|
|
7734
7710
|
break;
|
|
7735
7711
|
default:
|
|
7736
7712
|
tmp = null;
|
|
@@ -7765,7 +7741,7 @@
|
|
|
7765
7741
|
}
|
|
7766
7742
|
function TermFormatterWithPrettyExpressions$getSpecifierAndIndex$lambda_0(this$0) {
|
|
7767
7743
|
return function (it) {
|
|
7768
|
-
return !this$0.
|
|
7744
|
+
return !this$0.t1g_1.n(it.q2().g9_1);
|
|
7769
7745
|
};
|
|
7770
7746
|
}
|
|
7771
7747
|
function TermFormatterWithPrettyExpressions$getSpecifierAndIndex$lambda_1(it) {
|
|
@@ -7783,19 +7759,19 @@
|
|
|
7783
7759
|
};
|
|
7784
7760
|
}
|
|
7785
7761
|
function TermFormatterWithPrettyExpressions$isPrefix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7786
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7762
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.w1g();
|
|
7787
7763
|
}
|
|
7788
7764
|
function TermFormatterWithPrettyExpressions$isPostfix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7789
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7765
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.x1g();
|
|
7790
7766
|
}
|
|
7791
7767
|
function TermFormatterWithPrettyExpressions$isInfix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7792
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7768
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.y1g();
|
|
7793
7769
|
}
|
|
7794
7770
|
function TermFormatterWithPrettyExpressions$isLowerPriority$lambda($this$getSpecifierAndIndexWithGreaterPriority) {
|
|
7795
|
-
return $this$getSpecifierAndIndexWithGreaterPriority.
|
|
7771
|
+
return $this$getSpecifierAndIndexWithGreaterPriority.w1g() ? true : $this$getSpecifierAndIndexWithGreaterPriority.x1g();
|
|
7796
7772
|
}
|
|
7797
7773
|
function TermFormatterWithPrettyExpressions$isLowerPriority$lambda_0($this$getSpecifierAndIndexWithGreaterPriority) {
|
|
7798
|
-
return $this$getSpecifierAndIndexWithGreaterPriority.
|
|
7774
|
+
return $this$getSpecifierAndIndexWithGreaterPriority.y1g();
|
|
7799
7775
|
}
|
|
7800
7776
|
function TermFormatterWithPrettyExpressions(priority, delegate, operators, forceParentheses, quoted, numberVars, ignoreOps) {
|
|
7801
7777
|
Companion_getInstance_31();
|
|
@@ -7803,43 +7779,43 @@
|
|
|
7803
7779
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7804
7780
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7805
7781
|
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps);
|
|
7806
|
-
this.
|
|
7807
|
-
this.
|
|
7808
|
-
this.
|
|
7809
|
-
this.
|
|
7782
|
+
this.q1g_1 = priority;
|
|
7783
|
+
this.r1g_1 = delegate;
|
|
7784
|
+
this.s1g_1 = operators;
|
|
7785
|
+
this.t1g_1 = forceParentheses;
|
|
7810
7786
|
}
|
|
7811
7787
|
protoOf(TermFormatterWithPrettyExpressions).zy = function (term) {
|
|
7812
|
-
return term.accept(this.
|
|
7788
|
+
return term.accept(this.r1g_1);
|
|
7813
7789
|
};
|
|
7814
7790
|
protoOf(TermFormatterWithPrettyExpressions).visitVar = function (term) {
|
|
7815
7791
|
return this.zy(term);
|
|
7816
7792
|
};
|
|
7817
7793
|
protoOf(TermFormatterWithPrettyExpressions).f17 = function (term) {
|
|
7818
|
-
return term.accept(this.
|
|
7794
|
+
return term.accept(this.r1g_1);
|
|
7819
7795
|
};
|
|
7820
7796
|
protoOf(TermFormatterWithPrettyExpressions).visitAtom = function (term) {
|
|
7821
7797
|
return this.f17(term);
|
|
7822
7798
|
};
|
|
7823
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7824
|
-
return term.accept(this.
|
|
7799
|
+
protoOf(TermFormatterWithPrettyExpressions).z1g = function (term) {
|
|
7800
|
+
return term.accept(this.r1g_1);
|
|
7825
7801
|
};
|
|
7826
7802
|
protoOf(TermFormatterWithPrettyExpressions).visitInteger = function (term) {
|
|
7827
|
-
return this.
|
|
7803
|
+
return this.z1g(term);
|
|
7828
7804
|
};
|
|
7829
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7830
|
-
return term.accept(this.
|
|
7805
|
+
protoOf(TermFormatterWithPrettyExpressions).a1h = function (term) {
|
|
7806
|
+
return term.accept(this.r1g_1);
|
|
7831
7807
|
};
|
|
7832
7808
|
protoOf(TermFormatterWithPrettyExpressions).visitReal = function (term) {
|
|
7833
|
-
return this.
|
|
7809
|
+
return this.a1h(term);
|
|
7834
7810
|
};
|
|
7835
7811
|
protoOf(TermFormatterWithPrettyExpressions).py = function (term) {
|
|
7836
|
-
return term.accept(this.
|
|
7812
|
+
return term.accept(this.r1g_1);
|
|
7837
7813
|
};
|
|
7838
7814
|
protoOf(TermFormatterWithPrettyExpressions).visitEmptyBlock = function (term) {
|
|
7839
7815
|
return this.py(term);
|
|
7840
7816
|
};
|
|
7841
7817
|
protoOf(TermFormatterWithPrettyExpressions).t11 = function (term) {
|
|
7842
|
-
return term.accept(this.
|
|
7818
|
+
return term.accept(this.r1g_1);
|
|
7843
7819
|
};
|
|
7844
7820
|
protoOf(TermFormatterWithPrettyExpressions).visitEmptyList = function (term) {
|
|
7845
7821
|
return this.t11(term);
|
|
@@ -7861,7 +7837,7 @@
|
|
|
7861
7837
|
var op = ',';
|
|
7862
7838
|
var tmp = term.ay();
|
|
7863
7839
|
var string = joinToString(map(tmp, TermFormatterWithPrettyExpressions$visitTuple$lambda(this)), _get_prefix__wiwq7t(op, Companion_getInstance_31()) + op + _get_suffix__6yo6oq(op, Companion_getInstance_31()));
|
|
7864
|
-
if (this.
|
|
7840
|
+
if (this.t1g_1.n(op)) {
|
|
7865
7841
|
return wrapWithinParentheses(string, this);
|
|
7866
7842
|
}
|
|
7867
7843
|
return string;
|
|
@@ -7971,16 +7947,16 @@
|
|
|
7971
7947
|
function TruthImpl(value, isTrue, tags) {
|
|
7972
7948
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7973
7949
|
AtomImpl.call(this, value, tags);
|
|
7974
|
-
this.
|
|
7950
|
+
this.k1h_1 = isTrue;
|
|
7975
7951
|
}
|
|
7976
7952
|
protoOf(TruthImpl).ow = function () {
|
|
7977
|
-
return this.
|
|
7953
|
+
return this.k1h_1;
|
|
7978
7954
|
};
|
|
7979
7955
|
protoOf(TruthImpl).toString = function () {
|
|
7980
7956
|
return this.r2();
|
|
7981
7957
|
};
|
|
7982
7958
|
protoOf(TruthImpl).a16 = function (tags) {
|
|
7983
|
-
return new TruthImpl(this.r2(), this.
|
|
7959
|
+
return new TruthImpl(this.r2(), this.k1h_1, tags);
|
|
7984
7960
|
};
|
|
7985
7961
|
protoOf(TruthImpl).tw = function () {
|
|
7986
7962
|
return this;
|
|
@@ -8019,18 +7995,18 @@
|
|
|
8019
7995
|
return this.tx();
|
|
8020
7996
|
};
|
|
8021
7997
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
8022
|
-
this.
|
|
7998
|
+
this.l1h_1 = this$0;
|
|
8023
7999
|
}
|
|
8024
8000
|
protoOf(_no_name_provided__qut3iv_3).r = function () {
|
|
8025
8001
|
// Inline function 'it.unibo.tuprolog.core.impl.TupleImpl.<get-unfoldedSequence>.<anonymous>' call
|
|
8026
|
-
return new TupleIterator(this.
|
|
8002
|
+
return new TupleIterator(this.l1h_1);
|
|
8027
8003
|
};
|
|
8028
8004
|
function _no_name_provided__qut3iv_4(this$0) {
|
|
8029
|
-
this.
|
|
8005
|
+
this.m1h_1 = this$0;
|
|
8030
8006
|
}
|
|
8031
8007
|
protoOf(_no_name_provided__qut3iv_4).r = function () {
|
|
8032
8008
|
// Inline function 'it.unibo.tuprolog.core.impl.TupleImpl.unfold.<anonymous>' call
|
|
8033
|
-
return new TupleUnfolder(this.
|
|
8009
|
+
return new TupleUnfolder(this.m1h_1);
|
|
8034
8010
|
};
|
|
8035
8011
|
function TupleImpl$freshCopy$lambda($scope) {
|
|
8036
8012
|
return function (it) {
|
|
@@ -8041,22 +8017,22 @@
|
|
|
8041
8017
|
tags = tags === VOID ? emptyMap() : tags;
|
|
8042
8018
|
Terms_getInstance();
|
|
8043
8019
|
RecursiveImpl.call(this, ',', listOf([left, right]), tags);
|
|
8044
|
-
this.
|
|
8045
|
-
this.
|
|
8046
|
-
this.
|
|
8047
|
-
this.
|
|
8020
|
+
this.s1h_1 = left;
|
|
8021
|
+
this.t1h_1 = right;
|
|
8022
|
+
this.u1h_1 = this.d16();
|
|
8023
|
+
this.v1h_1 = ',';
|
|
8048
8024
|
}
|
|
8049
8025
|
protoOf(TupleImpl).ky = function () {
|
|
8050
|
-
return this.
|
|
8026
|
+
return this.s1h_1;
|
|
8051
8027
|
};
|
|
8052
8028
|
protoOf(TupleImpl).jy = function () {
|
|
8053
|
-
return this.
|
|
8029
|
+
return this.t1h_1;
|
|
8054
8030
|
};
|
|
8055
8031
|
protoOf(TupleImpl).ux = function () {
|
|
8056
|
-
return this.
|
|
8032
|
+
return this.u1h_1;
|
|
8057
8033
|
};
|
|
8058
8034
|
protoOf(TupleImpl).d16 = function () {
|
|
8059
|
-
return this.
|
|
8035
|
+
return this.s1h_1.ux() ? this.t1h_1.ux() : false;
|
|
8060
8036
|
};
|
|
8061
8037
|
protoOf(TupleImpl).ay = function () {
|
|
8062
8038
|
// Inline function 'kotlin.collections.Iterable' call
|
|
@@ -8075,13 +8051,13 @@
|
|
|
8075
8051
|
return this.t15();
|
|
8076
8052
|
};
|
|
8077
8053
|
protoOf(TupleImpl).qw = function () {
|
|
8078
|
-
return this.
|
|
8054
|
+
return this.v1h_1;
|
|
8079
8055
|
};
|
|
8080
8056
|
protoOf(TupleImpl).toString = function () {
|
|
8081
8057
|
return joinToString(this.ay(), ', ', '(', ')');
|
|
8082
8058
|
};
|
|
8083
8059
|
protoOf(TupleImpl).a16 = function (tags) {
|
|
8084
|
-
return new TupleImpl(this.
|
|
8060
|
+
return new TupleImpl(this.s1h_1, this.t1h_1, tags);
|
|
8085
8061
|
};
|
|
8086
8062
|
protoOf(TupleImpl).tw = function () {
|
|
8087
8063
|
return protoOf(RecursiveImpl).tw.call(this).castToTuple();
|
|
@@ -8091,7 +8067,7 @@
|
|
|
8091
8067
|
};
|
|
8092
8068
|
protoOf(TupleImpl).uw = function (scope) {
|
|
8093
8069
|
var tmp;
|
|
8094
|
-
if (this.
|
|
8070
|
+
if (this.u1h_1) {
|
|
8095
8071
|
tmp = this;
|
|
8096
8072
|
} else {
|
|
8097
8073
|
var tmp_0 = this.jx();
|
|
@@ -8130,33 +8106,33 @@
|
|
|
8130
8106
|
return this.yx();
|
|
8131
8107
|
};
|
|
8132
8108
|
function TupleUnfolder$tupleUnfolderVisitor$1(this$0) {
|
|
8133
|
-
this.
|
|
8109
|
+
this.w1h_1 = this$0;
|
|
8134
8110
|
}
|
|
8135
8111
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).fy = function (term) {
|
|
8136
|
-
this.
|
|
8112
|
+
this.w1h_1.x1h_1 = term.jy();
|
|
8137
8113
|
return term;
|
|
8138
8114
|
};
|
|
8139
8115
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).visitTuple = function (term) {
|
|
8140
8116
|
return this.fy(term);
|
|
8141
8117
|
};
|
|
8142
8118
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).ly = function (term) {
|
|
8143
|
-
this.
|
|
8119
|
+
this.w1h_1.x1h_1 = null;
|
|
8144
8120
|
return term;
|
|
8145
8121
|
};
|
|
8146
8122
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).defaultValue = function (term) {
|
|
8147
8123
|
return this.ly(term);
|
|
8148
8124
|
};
|
|
8149
8125
|
function TupleUnfolder(tuple) {
|
|
8150
|
-
this.
|
|
8126
|
+
this.x1h_1 = tuple;
|
|
8151
8127
|
var tmp = this;
|
|
8152
|
-
tmp.
|
|
8128
|
+
tmp.y1h_1 = new TupleUnfolder$tupleUnfolderVisitor$1(this);
|
|
8153
8129
|
}
|
|
8154
8130
|
protoOf(TupleUnfolder).s = function () {
|
|
8155
|
-
return !(this.
|
|
8131
|
+
return !(this.x1h_1 == null);
|
|
8156
8132
|
};
|
|
8157
8133
|
protoOf(TupleUnfolder).u = function () {
|
|
8158
|
-
var tmp0_safe_receiver = this.
|
|
8159
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.
|
|
8134
|
+
var tmp0_safe_receiver = this.x1h_1;
|
|
8135
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.y1h_1);
|
|
8160
8136
|
var tmp;
|
|
8161
8137
|
if (tmp1_elvis_lhs == null) {
|
|
8162
8138
|
throw NoSuchElementException_init_$Create$();
|
|
@@ -8166,11 +8142,11 @@
|
|
|
8166
8142
|
return tmp;
|
|
8167
8143
|
};
|
|
8168
8144
|
function instanceId($this, name) {
|
|
8169
|
-
return synchronizedOn($this.
|
|
8145
|
+
return synchronizedOn($this.z1h_1, VarImpl$Companion$instanceId$lambda(name));
|
|
8170
8146
|
}
|
|
8171
8147
|
function VarImpl$Companion$instanceId$lambda($name) {
|
|
8172
8148
|
return function () {
|
|
8173
|
-
var tmp0_safe_receiver = Companion_getInstance_32().
|
|
8149
|
+
var tmp0_safe_receiver = Companion_getInstance_32().z1h_1.x2($name);
|
|
8174
8150
|
var tmp;
|
|
8175
8151
|
if (tmp0_safe_receiver == null) {
|
|
8176
8152
|
tmp = null;
|
|
@@ -8183,7 +8159,7 @@
|
|
|
8183
8159
|
}
|
|
8184
8160
|
var tmp1_elvis_lhs = tmp;
|
|
8185
8161
|
var count = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
8186
|
-
var this_0 = Companion_getInstance_32().
|
|
8162
|
+
var this_0 = Companion_getInstance_32().z1h_1;
|
|
8187
8163
|
var key = $name;
|
|
8188
8164
|
this_0.n2(key, count);
|
|
8189
8165
|
return count;
|
|
@@ -8193,7 +8169,7 @@
|
|
|
8193
8169
|
Companion_instance_30 = this;
|
|
8194
8170
|
var tmp = this;
|
|
8195
8171
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
8196
|
-
tmp.
|
|
8172
|
+
tmp.z1h_1 = LinkedHashMap_init_$Create$();
|
|
8197
8173
|
}
|
|
8198
8174
|
var Companion_instance_30;
|
|
8199
8175
|
function Companion_getInstance_32() {
|
|
@@ -8206,18 +8182,18 @@
|
|
|
8206
8182
|
if (useVarCompleteName) {
|
|
8207
8183
|
tmp = $this.l14() === other.l14();
|
|
8208
8184
|
} else {
|
|
8209
|
-
tmp = $this.
|
|
8185
|
+
tmp = $this.b1i_1 === other.bb();
|
|
8210
8186
|
}
|
|
8211
8187
|
return tmp;
|
|
8212
8188
|
}
|
|
8213
8189
|
function VarImpl$completeName$delegate$lambda(this$0) {
|
|
8214
8190
|
return function () {
|
|
8215
|
-
return this$0.
|
|
8191
|
+
return this$0.b1i_1 + '_' + this$0.c1i_1.toString();
|
|
8216
8192
|
};
|
|
8217
8193
|
}
|
|
8218
8194
|
function VarImpl$isNameWellFormed$delegate$lambda(this$0) {
|
|
8219
8195
|
return function () {
|
|
8220
|
-
return Terms_getInstance().nv_1.o8(this$0.
|
|
8196
|
+
return Terms_getInstance().nv_1.o8(this$0.b1i_1);
|
|
8221
8197
|
};
|
|
8222
8198
|
}
|
|
8223
8199
|
function VarImpl$hashCodeCache$delegate$lambda(this$0) {
|
|
@@ -8230,31 +8206,31 @@
|
|
|
8230
8206
|
identifier = identifier === VOID ? instanceId(Companion_getInstance_32(), name) : identifier;
|
|
8231
8207
|
tags = tags === VOID ? emptyMap() : tags;
|
|
8232
8208
|
TermImpl.call(this, tags);
|
|
8233
|
-
this.
|
|
8234
|
-
this.
|
|
8209
|
+
this.b1i_1 = name;
|
|
8210
|
+
this.c1i_1 = identifier;
|
|
8235
8211
|
var tmp = this;
|
|
8236
|
-
tmp.
|
|
8237
|
-
this.
|
|
8212
|
+
tmp.d1i_1 = lazy(VarImpl$completeName$delegate$lambda(this));
|
|
8213
|
+
this.e1i_1 = get_isAnonymous.call(this);
|
|
8238
8214
|
var tmp_0 = this;
|
|
8239
|
-
tmp_0.
|
|
8215
|
+
tmp_0.f1i_1 = lazy(VarImpl$isNameWellFormed$delegate$lambda(this));
|
|
8240
8216
|
var tmp_1 = this;
|
|
8241
|
-
tmp_1.
|
|
8217
|
+
tmp_1.g1i_1 = lazy(VarImpl$hashCodeCache$delegate$lambda(this));
|
|
8242
8218
|
}
|
|
8243
8219
|
protoOf(VarImpl).bb = function () {
|
|
8244
|
-
return this.
|
|
8220
|
+
return this.b1i_1;
|
|
8245
8221
|
};
|
|
8246
8222
|
protoOf(VarImpl).l14 = function () {
|
|
8247
8223
|
// Inline function 'kotlin.getValue' call
|
|
8248
|
-
var this_0 = this.
|
|
8224
|
+
var this_0 = this.d1i_1;
|
|
8249
8225
|
completeName$factory();
|
|
8250
8226
|
return this_0.r2();
|
|
8251
8227
|
};
|
|
8252
8228
|
protoOf(VarImpl).b15 = function () {
|
|
8253
|
-
return this.
|
|
8229
|
+
return this.e1i_1;
|
|
8254
8230
|
};
|
|
8255
8231
|
protoOf(VarImpl).d15 = function () {
|
|
8256
8232
|
// Inline function 'kotlin.getValue' call
|
|
8257
|
-
var this_0 = this.
|
|
8233
|
+
var this_0 = this.f1i_1;
|
|
8258
8234
|
isNameWellFormed$factory();
|
|
8259
8235
|
return this_0.r2();
|
|
8260
8236
|
};
|
|
@@ -8265,16 +8241,16 @@
|
|
|
8265
8241
|
return this.l16(other);
|
|
8266
8242
|
};
|
|
8267
8243
|
protoOf(VarImpl).a16 = function (tags) {
|
|
8268
|
-
return new VarImpl(this.
|
|
8244
|
+
return new VarImpl(this.b1i_1, this.c1i_1, tags);
|
|
8269
8245
|
};
|
|
8270
8246
|
protoOf(VarImpl).tw = function () {
|
|
8271
|
-
return new VarImpl(this.
|
|
8247
|
+
return new VarImpl(this.b1i_1, VOID, this.vt());
|
|
8272
8248
|
};
|
|
8273
8249
|
protoOf(VarImpl).freshCopy = function () {
|
|
8274
8250
|
return this.tw();
|
|
8275
8251
|
};
|
|
8276
8252
|
protoOf(VarImpl).uw = function (scope) {
|
|
8277
|
-
return setTags(this.
|
|
8253
|
+
return setTags(this.e1i_1 ? scope.anonymous() : scope.varOf(this.b1i_1), this.vt());
|
|
8278
8254
|
};
|
|
8279
8255
|
protoOf(VarImpl).freshCopyFromScope = function (scope) {
|
|
8280
8256
|
return this.uw(scope);
|
|
@@ -8283,7 +8259,7 @@
|
|
|
8283
8259
|
return this.d15() ? this.l14() : Companion_getInstance_26().escapeName(this.l14());
|
|
8284
8260
|
};
|
|
8285
8261
|
protoOf(VarImpl).c15 = function () {
|
|
8286
|
-
return this.
|
|
8262
|
+
return this.c1i_1.toString();
|
|
8287
8263
|
};
|
|
8288
8264
|
protoOf(VarImpl).equals = function (other) {
|
|
8289
8265
|
if (this === other)
|
|
@@ -8324,7 +8300,7 @@
|
|
|
8324
8300
|
};
|
|
8325
8301
|
protoOf(VarImpl).n16 = function () {
|
|
8326
8302
|
// Inline function 'kotlin.getValue' call
|
|
8327
|
-
var this_0 = this.
|
|
8303
|
+
var this_0 = this.g1i_1;
|
|
8328
8304
|
hashCodeCache$factory_2();
|
|
8329
8305
|
return this_0.r2();
|
|
8330
8306
|
};
|
|
@@ -8368,219 +8344,210 @@
|
|
|
8368
8344
|
}, null);
|
|
8369
8345
|
}
|
|
8370
8346
|
function VariablesProviderImpl(scope) {
|
|
8371
|
-
this.
|
|
8347
|
+
this.h1i_1 = scope;
|
|
8372
8348
|
}
|
|
8373
8349
|
protoOf(VariablesProviderImpl).f12 = function () {
|
|
8374
|
-
return this.
|
|
8350
|
+
return this.h1i_1.f12();
|
|
8375
8351
|
};
|
|
8376
8352
|
protoOf(VariablesProviderImpl).e12 = function () {
|
|
8377
|
-
return this.
|
|
8353
|
+
return this.h1i_1.e12();
|
|
8378
8354
|
};
|
|
8379
8355
|
protoOf(VariablesProviderImpl).anonymous = function () {
|
|
8380
|
-
return this.
|
|
8356
|
+
return this.h1i_1.anonymous();
|
|
8357
|
+
};
|
|
8358
|
+
protoOf(VariablesProviderImpl).atomOfChar = function (value) {
|
|
8359
|
+
return this.h1i_1.atomOfChar(value);
|
|
8381
8360
|
};
|
|
8382
8361
|
protoOf(VariablesProviderImpl).atomOf = function (value) {
|
|
8383
|
-
return this.
|
|
8362
|
+
return this.h1i_1.atomOf(value);
|
|
8384
8363
|
};
|
|
8385
|
-
protoOf(VariablesProviderImpl).
|
|
8386
|
-
return this.
|
|
8364
|
+
protoOf(VariablesProviderImpl).blockOf = function (terms) {
|
|
8365
|
+
return this.h1i_1.blockOf(terms);
|
|
8387
8366
|
};
|
|
8388
|
-
protoOf(VariablesProviderImpl).
|
|
8389
|
-
return this.
|
|
8367
|
+
protoOf(VariablesProviderImpl).blockOfIterable = function (terms) {
|
|
8368
|
+
return this.h1i_1.blockOfIterable(terms);
|
|
8390
8369
|
};
|
|
8391
|
-
protoOf(VariablesProviderImpl).
|
|
8392
|
-
return this.
|
|
8370
|
+
protoOf(VariablesProviderImpl).blockOfSequence = function (terms) {
|
|
8371
|
+
return this.h1i_1.blockOfSequence(terms);
|
|
8393
8372
|
};
|
|
8394
8373
|
protoOf(VariablesProviderImpl).clauseOf = function (head, body) {
|
|
8395
|
-
return this.
|
|
8374
|
+
return this.h1i_1.clauseOf(head, body);
|
|
8396
8375
|
};
|
|
8397
8376
|
protoOf(VariablesProviderImpl).consOf = function (head, tail) {
|
|
8398
|
-
return this.
|
|
8377
|
+
return this.h1i_1.consOf(head, tail);
|
|
8399
8378
|
};
|
|
8400
8379
|
protoOf(VariablesProviderImpl).containsVar = function (variable) {
|
|
8401
|
-
return this.
|
|
8380
|
+
return this.h1i_1.containsVar(variable);
|
|
8402
8381
|
};
|
|
8403
8382
|
protoOf(VariablesProviderImpl).contains = function (variable) {
|
|
8404
|
-
return this.
|
|
8383
|
+
return this.h1i_1.contains(variable);
|
|
8405
8384
|
};
|
|
8406
8385
|
protoOf(VariablesProviderImpl).directiveOf = function (body1, body) {
|
|
8407
|
-
return this.
|
|
8386
|
+
return this.h1i_1.directiveOf(body1, body);
|
|
8408
8387
|
};
|
|
8409
8388
|
protoOf(VariablesProviderImpl).factOf = function (head) {
|
|
8410
|
-
return this.
|
|
8389
|
+
return this.h1i_1.factOf(head);
|
|
8411
8390
|
};
|
|
8412
8391
|
protoOf(VariablesProviderImpl).get = function (variable) {
|
|
8413
|
-
return this.
|
|
8392
|
+
return this.h1i_1.get(variable);
|
|
8414
8393
|
};
|
|
8415
8394
|
protoOf(VariablesProviderImpl).indicatorOf = function (name, arity) {
|
|
8416
|
-
return this.
|
|
8395
|
+
return this.h1i_1.indicatorOf(name, arity);
|
|
8417
8396
|
};
|
|
8418
8397
|
protoOf(VariablesProviderImpl).indicatorOfStringInt = function (name, arity) {
|
|
8419
|
-
return this.
|
|
8398
|
+
return this.h1i_1.indicatorOfStringInt(name, arity);
|
|
8420
8399
|
};
|
|
8421
8400
|
protoOf(VariablesProviderImpl).intOfByte = function (value) {
|
|
8422
|
-
return this.
|
|
8401
|
+
return this.h1i_1.intOfByte(value);
|
|
8423
8402
|
};
|
|
8424
8403
|
protoOf(VariablesProviderImpl).intOf = function (value) {
|
|
8425
|
-
return this.
|
|
8404
|
+
return this.h1i_1.intOf(value);
|
|
8426
8405
|
};
|
|
8427
8406
|
protoOf(VariablesProviderImpl).intOfLong = function (value) {
|
|
8428
|
-
return this.
|
|
8407
|
+
return this.h1i_1.intOfLong(value);
|
|
8429
8408
|
};
|
|
8430
8409
|
protoOf(VariablesProviderImpl).intOfShort = function (value) {
|
|
8431
|
-
return this.
|
|
8410
|
+
return this.h1i_1.intOfShort(value);
|
|
8432
8411
|
};
|
|
8433
8412
|
protoOf(VariablesProviderImpl).parseInt = function (value) {
|
|
8434
|
-
return this.
|
|
8413
|
+
return this.h1i_1.parseInt(value);
|
|
8435
8414
|
};
|
|
8436
8415
|
protoOf(VariablesProviderImpl).parseIntRadix = function (value, radix) {
|
|
8437
|
-
return this.
|
|
8416
|
+
return this.h1i_1.parseIntRadix(value, radix);
|
|
8438
8417
|
};
|
|
8439
8418
|
protoOf(VariablesProviderImpl).intOfBigInteger = function (value) {
|
|
8440
|
-
return this.
|
|
8441
|
-
};
|
|
8442
|
-
protoOf(VariablesProviderImpl).ktEmptyList = function () {
|
|
8443
|
-
return this.l1i_1.ktEmptyList();
|
|
8444
|
-
};
|
|
8445
|
-
protoOf(VariablesProviderImpl).ktEmptySet = function () {
|
|
8446
|
-
return this.l1i_1.ktEmptySet();
|
|
8447
|
-
};
|
|
8448
|
-
protoOf(VariablesProviderImpl).ktListOf = function (items) {
|
|
8449
|
-
return this.l1i_1.ktListOf(items);
|
|
8450
|
-
};
|
|
8451
|
-
protoOf(VariablesProviderImpl).ktSetOf = function (items) {
|
|
8452
|
-
return this.l1i_1.ktSetOf(items);
|
|
8419
|
+
return this.h1i_1.intOfBigInteger(value);
|
|
8453
8420
|
};
|
|
8454
8421
|
protoOf(VariablesProviderImpl).g12 = function (terms, last) {
|
|
8455
|
-
return this.
|
|
8422
|
+
return this.h1i_1.g12(terms, last);
|
|
8456
8423
|
};
|
|
8457
8424
|
protoOf(VariablesProviderImpl).h12 = function (terms, last) {
|
|
8458
|
-
return this.
|
|
8425
|
+
return this.h1i_1.h12(terms, last);
|
|
8459
8426
|
};
|
|
8460
8427
|
protoOf(VariablesProviderImpl).i12 = function (terms, last) {
|
|
8461
|
-
return this.
|
|
8428
|
+
return this.h1i_1.i12(terms, last);
|
|
8462
8429
|
};
|
|
8463
|
-
protoOf(VariablesProviderImpl).
|
|
8464
|
-
return this.
|
|
8430
|
+
protoOf(VariablesProviderImpl).logicListOf = function (terms) {
|
|
8431
|
+
return this.h1i_1.logicListOf(terms);
|
|
8465
8432
|
};
|
|
8466
|
-
protoOf(VariablesProviderImpl).
|
|
8467
|
-
return this.
|
|
8433
|
+
protoOf(VariablesProviderImpl).logicListOfIterable = function (terms) {
|
|
8434
|
+
return this.h1i_1.logicListOfIterable(terms);
|
|
8468
8435
|
};
|
|
8469
|
-
protoOf(VariablesProviderImpl).
|
|
8470
|
-
return this.
|
|
8436
|
+
protoOf(VariablesProviderImpl).logicListOfSequence = function (terms) {
|
|
8437
|
+
return this.h1i_1.logicListOfSequence(terms);
|
|
8471
8438
|
};
|
|
8472
8439
|
protoOf(VariablesProviderImpl).numOfByte = function (value) {
|
|
8473
|
-
return this.
|
|
8440
|
+
return this.h1i_1.numOfByte(value);
|
|
8474
8441
|
};
|
|
8475
8442
|
protoOf(VariablesProviderImpl).numOfDouble = function (value) {
|
|
8476
|
-
return this.
|
|
8443
|
+
return this.h1i_1.numOfDouble(value);
|
|
8477
8444
|
};
|
|
8478
8445
|
protoOf(VariablesProviderImpl).numOfFloat = function (value) {
|
|
8479
|
-
return this.
|
|
8446
|
+
return this.h1i_1.numOfFloat(value);
|
|
8480
8447
|
};
|
|
8481
8448
|
protoOf(VariablesProviderImpl).numOfInt = function (value) {
|
|
8482
|
-
return this.
|
|
8449
|
+
return this.h1i_1.numOfInt(value);
|
|
8483
8450
|
};
|
|
8484
8451
|
protoOf(VariablesProviderImpl).numOfLong = function (value) {
|
|
8485
|
-
return this.
|
|
8452
|
+
return this.h1i_1.numOfLong(value);
|
|
8486
8453
|
};
|
|
8487
8454
|
protoOf(VariablesProviderImpl).numOf = function (value) {
|
|
8488
|
-
return this.
|
|
8455
|
+
return this.h1i_1.numOf(value);
|
|
8489
8456
|
};
|
|
8490
8457
|
protoOf(VariablesProviderImpl).numOfShort = function (value) {
|
|
8491
|
-
return this.
|
|
8458
|
+
return this.h1i_1.numOfShort(value);
|
|
8492
8459
|
};
|
|
8493
8460
|
protoOf(VariablesProviderImpl).parseNum = function (value) {
|
|
8494
|
-
return this.
|
|
8461
|
+
return this.h1i_1.parseNum(value);
|
|
8495
8462
|
};
|
|
8496
8463
|
protoOf(VariablesProviderImpl).numOfBigDecimal = function (value) {
|
|
8497
|
-
return this.
|
|
8464
|
+
return this.h1i_1.numOfBigDecimal(value);
|
|
8498
8465
|
};
|
|
8499
8466
|
protoOf(VariablesProviderImpl).numOfBigInteger = function (value) {
|
|
8500
|
-
return this.
|
|
8467
|
+
return this.h1i_1.numOfBigInteger(value);
|
|
8501
8468
|
};
|
|
8502
8469
|
protoOf(VariablesProviderImpl).realOf = function (value) {
|
|
8503
|
-
return this.
|
|
8470
|
+
return this.h1i_1.realOf(value);
|
|
8504
8471
|
};
|
|
8505
8472
|
protoOf(VariablesProviderImpl).realOfFloat = function (value) {
|
|
8506
|
-
return this.
|
|
8473
|
+
return this.h1i_1.realOfFloat(value);
|
|
8507
8474
|
};
|
|
8508
8475
|
protoOf(VariablesProviderImpl).parseReal = function (value) {
|
|
8509
|
-
return this.
|
|
8476
|
+
return this.h1i_1.parseReal(value);
|
|
8510
8477
|
};
|
|
8511
8478
|
protoOf(VariablesProviderImpl).realOfBigDecimal = function (value) {
|
|
8512
|
-
return this.
|
|
8479
|
+
return this.h1i_1.realOfBigDecimal(value);
|
|
8513
8480
|
};
|
|
8514
8481
|
protoOf(VariablesProviderImpl).ruleOf = function (head, body1, body) {
|
|
8515
|
-
return this.
|
|
8482
|
+
return this.h1i_1.ruleOf(head, body1, body);
|
|
8516
8483
|
};
|
|
8517
8484
|
protoOf(VariablesProviderImpl).structOf = function (functor, args) {
|
|
8518
|
-
return this.
|
|
8485
|
+
return this.h1i_1.structOf(functor, args);
|
|
8519
8486
|
};
|
|
8520
8487
|
protoOf(VariablesProviderImpl).structOfIterable = function (functor, args) {
|
|
8521
|
-
return this.
|
|
8488
|
+
return this.h1i_1.structOfIterable(functor, args);
|
|
8522
8489
|
};
|
|
8523
8490
|
protoOf(VariablesProviderImpl).structOfList = function (functor, args) {
|
|
8524
|
-
return this.
|
|
8491
|
+
return this.h1i_1.structOfList(functor, args);
|
|
8525
8492
|
};
|
|
8526
8493
|
protoOf(VariablesProviderImpl).structOfSequence = function (functor, args) {
|
|
8527
|
-
return this.
|
|
8494
|
+
return this.h1i_1.structOfSequence(functor, args);
|
|
8528
8495
|
};
|
|
8529
8496
|
protoOf(VariablesProviderImpl).substitutionOf = function (assignments) {
|
|
8530
|
-
return this.
|
|
8497
|
+
return this.h1i_1.substitutionOf(assignments);
|
|
8531
8498
|
};
|
|
8532
8499
|
protoOf(VariablesProviderImpl).substitutionOfIterable = function (assignments) {
|
|
8533
|
-
return this.
|
|
8500
|
+
return this.h1i_1.substitutionOfIterable(assignments);
|
|
8534
8501
|
};
|
|
8535
8502
|
protoOf(VariablesProviderImpl).substitutionOfSequence = function (assignments) {
|
|
8536
|
-
return this.
|
|
8503
|
+
return this.h1i_1.substitutionOfSequence(assignments);
|
|
8537
8504
|
};
|
|
8538
8505
|
protoOf(VariablesProviderImpl).truthOf = function (value) {
|
|
8539
|
-
return this.
|
|
8506
|
+
return this.h1i_1.truthOf(value);
|
|
8540
8507
|
};
|
|
8541
8508
|
protoOf(VariablesProviderImpl).tupleOf = function (terms) {
|
|
8542
|
-
return this.
|
|
8509
|
+
return this.h1i_1.tupleOf(terms);
|
|
8543
8510
|
};
|
|
8544
8511
|
protoOf(VariablesProviderImpl).tupleOfIterable = function (terms) {
|
|
8545
|
-
return this.
|
|
8512
|
+
return this.h1i_1.tupleOfIterable(terms);
|
|
8546
8513
|
};
|
|
8547
8514
|
protoOf(VariablesProviderImpl).tupleOfSequence = function (terms) {
|
|
8548
|
-
return this.
|
|
8515
|
+
return this.h1i_1.tupleOfSequence(terms);
|
|
8549
8516
|
};
|
|
8550
8517
|
protoOf(VariablesProviderImpl).unifierOf = function (assignments) {
|
|
8551
|
-
return this.
|
|
8518
|
+
return this.h1i_1.unifierOf(assignments);
|
|
8552
8519
|
};
|
|
8553
8520
|
protoOf(VariablesProviderImpl).unifierOfIterable = function (assignments) {
|
|
8554
|
-
return this.
|
|
8521
|
+
return this.h1i_1.unifierOfIterable(assignments);
|
|
8555
8522
|
};
|
|
8556
8523
|
protoOf(VariablesProviderImpl).unifierOfSequence = function (assignments) {
|
|
8557
|
-
return this.
|
|
8524
|
+
return this.h1i_1.unifierOfSequence(assignments);
|
|
8525
|
+
};
|
|
8526
|
+
protoOf(VariablesProviderImpl).varOfChar = function (name) {
|
|
8527
|
+
return this.h1i_1.varOfChar(name);
|
|
8558
8528
|
};
|
|
8559
8529
|
protoOf(VariablesProviderImpl).varOf = function (name) {
|
|
8560
|
-
return this.
|
|
8530
|
+
return this.h1i_1.varOf(name);
|
|
8561
8531
|
};
|
|
8562
8532
|
protoOf(VariablesProviderImpl).whatever = function () {
|
|
8563
|
-
return this.
|
|
8533
|
+
return this.h1i_1.whatever();
|
|
8564
8534
|
};
|
|
8565
8535
|
protoOf(VariablesProviderImpl).where = function (lambda) {
|
|
8566
|
-
return this.
|
|
8536
|
+
return this.h1i_1.where(lambda);
|
|
8567
8537
|
};
|
|
8568
8538
|
protoOf(VariablesProviderImpl).with = function (lambda) {
|
|
8569
|
-
return this.
|
|
8539
|
+
return this.h1i_1.with(lambda);
|
|
8570
8540
|
};
|
|
8571
|
-
protoOf(VariablesProviderImpl).
|
|
8572
|
-
return this.l1i_1.append(_this__u8e3s4, item, items);
|
|
8573
|
-
};
|
|
8574
|
-
protoOf(VariablesProviderImpl).concat = function (_this__u8e3s4, other) {
|
|
8575
|
-
return this.l1i_1.concat(_this__u8e3s4, other);
|
|
8576
|
-
};
|
|
8577
|
-
protoOf(VariablesProviderImpl).m1i = function (thisRef, property) {
|
|
8541
|
+
protoOf(VariablesProviderImpl).i1i = function (thisRef, property) {
|
|
8578
8542
|
return this.varOf(property.callableName);
|
|
8579
8543
|
};
|
|
8544
|
+
protoOf(VariablesProviderImpl).getValue = function (thisRef, property) {
|
|
8545
|
+
return this.i1i(thisRef, property);
|
|
8546
|
+
};
|
|
8580
8547
|
function Companion_31() {
|
|
8581
8548
|
Companion_instance_31 = this;
|
|
8582
|
-
this.
|
|
8583
|
-
this.
|
|
8549
|
+
this.j1i_1 = 'op';
|
|
8550
|
+
this.k1i_1 = Companion_getInstance_19().of('op', [Companion_getInstance_26().of('P'), Companion_getInstance_26().of('A'), Companion_getInstance_26().of('F')]);
|
|
8584
8551
|
}
|
|
8585
8552
|
protoOf(Companion_31).fromTerms = function (priority, specifier, functor) {
|
|
8586
8553
|
return this.fromTerm(Companion_getInstance_19().of('op', [priority, specifier, functor]));
|
|
@@ -8623,33 +8590,33 @@
|
|
|
8623
8590
|
}
|
|
8624
8591
|
function Operator(functor, specifier, priority) {
|
|
8625
8592
|
Companion_getInstance_33();
|
|
8626
|
-
this.
|
|
8627
|
-
this.
|
|
8628
|
-
this.
|
|
8593
|
+
this.l1i_1 = functor;
|
|
8594
|
+
this.m1i_1 = specifier;
|
|
8595
|
+
this.n1i_1 = priority;
|
|
8629
8596
|
}
|
|
8630
|
-
protoOf(Operator).
|
|
8597
|
+
protoOf(Operator).o1i = function (other) {
|
|
8631
8598
|
var tmp;
|
|
8632
|
-
if (this.
|
|
8599
|
+
if (this.n1i_1 > other.n1i_1) {
|
|
8633
8600
|
tmp = 1;
|
|
8634
|
-
} else if (this.
|
|
8601
|
+
} else if (this.n1i_1 < other.n1i_1) {
|
|
8635
8602
|
tmp = -1;
|
|
8636
8603
|
} else {
|
|
8637
8604
|
// Inline function 'kotlin.let' call
|
|
8638
8605
|
// Inline function 'kotlin.contracts.contract' call
|
|
8639
8606
|
// Inline function 'it.unibo.tuprolog.core.operators.Operator.compareTo.<anonymous>' call
|
|
8640
|
-
var specifierCompareTo = this.
|
|
8641
|
-
tmp = specifierCompareTo === 0 ? compareTo(this.
|
|
8607
|
+
var specifierCompareTo = this.m1i_1.i9(other.m1i_1);
|
|
8608
|
+
tmp = specifierCompareTo === 0 ? compareTo(this.l1i_1, other.l1i_1) : specifierCompareTo;
|
|
8642
8609
|
}
|
|
8643
8610
|
return tmp;
|
|
8644
8611
|
};
|
|
8645
8612
|
protoOf(Operator).d = function (other) {
|
|
8646
|
-
return this.
|
|
8613
|
+
return this.o1i(other instanceof Operator ? other : THROW_CCE());
|
|
8647
8614
|
};
|
|
8648
|
-
protoOf(Operator).
|
|
8649
|
-
return Companion_getInstance_19().of('op', [intToTerm(this.
|
|
8615
|
+
protoOf(Operator).p1i = function () {
|
|
8616
|
+
return Companion_getInstance_19().of('op', [intToTerm(this.n1i_1), this.m1i_1.p1i(), stringToAtom(this.l1i_1)]);
|
|
8650
8617
|
};
|
|
8651
8618
|
protoOf(Operator).toTerm = function () {
|
|
8652
|
-
return this.
|
|
8619
|
+
return this.p1i();
|
|
8653
8620
|
};
|
|
8654
8621
|
protoOf(Operator).equals = function (other) {
|
|
8655
8622
|
if (this === other)
|
|
@@ -8658,19 +8625,19 @@
|
|
|
8658
8625
|
return false;
|
|
8659
8626
|
if (!(other instanceof Operator))
|
|
8660
8627
|
THROW_CCE();
|
|
8661
|
-
if (!(this.
|
|
8628
|
+
if (!(this.l1i_1 === other.l1i_1))
|
|
8662
8629
|
return false;
|
|
8663
|
-
if (!this.
|
|
8630
|
+
if (!this.m1i_1.equals(other.m1i_1))
|
|
8664
8631
|
return false;
|
|
8665
8632
|
return true;
|
|
8666
8633
|
};
|
|
8667
8634
|
protoOf(Operator).hashCode = function () {
|
|
8668
|
-
var result = getStringHashCode(this.
|
|
8669
|
-
result = imul(31, result) + this.
|
|
8635
|
+
var result = getStringHashCode(this.l1i_1);
|
|
8636
|
+
result = imul(31, result) + this.m1i_1.hashCode() | 0;
|
|
8670
8637
|
return result;
|
|
8671
8638
|
};
|
|
8672
8639
|
protoOf(Operator).toString = function () {
|
|
8673
|
-
return 'Operator(' + this.
|
|
8640
|
+
return 'Operator(' + this.n1i_1 + ', ' + this.m1i_1 + ", '" + this.l1i_1 + "')";
|
|
8674
8641
|
};
|
|
8675
8642
|
function OperatorSet$Companion$ARITHMETIC$lambda(it) {
|
|
8676
8643
|
return new Operator(it, Specifier_FY_getInstance(), 200);
|
|
@@ -8722,7 +8689,7 @@
|
|
|
8722
8689
|
}
|
|
8723
8690
|
function _get_operators__lk0kke($this) {
|
|
8724
8691
|
// Inline function 'kotlin.getValue' call
|
|
8725
|
-
var this_0 = $this.
|
|
8692
|
+
var this_0 = $this.r1i_1;
|
|
8726
8693
|
operators$factory();
|
|
8727
8694
|
return this_0.r2();
|
|
8728
8695
|
}
|
|
@@ -8783,28 +8750,28 @@
|
|
|
8783
8750
|
this.STANDARD = new OperatorSet(plus_2(plus_2(plus_2(plus_2(asSequence_0(this.ARITHMETIC), asSequence_0(this.ARITHMETIC_COMPARISON)), asSequence_0(this.TERM_COMPARISON)), asSequence_0(this.CONTROL_FLOW)), asSequence_0(this.CLAUSES)));
|
|
8784
8751
|
this.DEFAULT = this.STANDARD;
|
|
8785
8752
|
}
|
|
8786
|
-
protoOf(Companion_32).
|
|
8753
|
+
protoOf(Companion_32).s1i = function () {
|
|
8787
8754
|
return this.EMPTY;
|
|
8788
8755
|
};
|
|
8789
|
-
protoOf(Companion_32).
|
|
8756
|
+
protoOf(Companion_32).t1i = function () {
|
|
8790
8757
|
return this.ARITHMETIC;
|
|
8791
8758
|
};
|
|
8792
|
-
protoOf(Companion_32).
|
|
8759
|
+
protoOf(Companion_32).u1i = function () {
|
|
8793
8760
|
return this.ARITHMETIC_COMPARISON;
|
|
8794
8761
|
};
|
|
8795
|
-
protoOf(Companion_32).
|
|
8762
|
+
protoOf(Companion_32).v1i = function () {
|
|
8796
8763
|
return this.TERM_COMPARISON;
|
|
8797
8764
|
};
|
|
8798
|
-
protoOf(Companion_32).
|
|
8765
|
+
protoOf(Companion_32).w1i = function () {
|
|
8799
8766
|
return this.CONTROL_FLOW;
|
|
8800
8767
|
};
|
|
8801
|
-
protoOf(Companion_32).
|
|
8768
|
+
protoOf(Companion_32).x1i = function () {
|
|
8802
8769
|
return this.CLAUSES;
|
|
8803
8770
|
};
|
|
8804
|
-
protoOf(Companion_32).
|
|
8771
|
+
protoOf(Companion_32).y1i = function () {
|
|
8805
8772
|
return this.STANDARD;
|
|
8806
8773
|
};
|
|
8807
|
-
protoOf(Companion_32).
|
|
8774
|
+
protoOf(Companion_32).z1i = function () {
|
|
8808
8775
|
return this.DEFAULT;
|
|
8809
8776
|
};
|
|
8810
8777
|
var Companion_instance_32;
|
|
@@ -8820,32 +8787,32 @@
|
|
|
8820
8787
|
}
|
|
8821
8788
|
function OperatorSet(operators) {
|
|
8822
8789
|
Companion_getInstance_34();
|
|
8823
|
-
this.
|
|
8790
|
+
this.q1i_1 = toHashSet(operators);
|
|
8824
8791
|
var tmp = this;
|
|
8825
|
-
tmp.
|
|
8792
|
+
tmp.r1i_1 = lazy(OperatorSet$operators$delegate$lambda(operators));
|
|
8826
8793
|
}
|
|
8827
8794
|
protoOf(OperatorSet).l = function () {
|
|
8828
|
-
return this.
|
|
8795
|
+
return this.q1i_1.l();
|
|
8829
8796
|
};
|
|
8830
|
-
protoOf(OperatorSet).
|
|
8831
|
-
return this.
|
|
8797
|
+
protoOf(OperatorSet).a1j = function (element) {
|
|
8798
|
+
return this.q1i_1.n(element);
|
|
8832
8799
|
};
|
|
8833
8800
|
protoOf(OperatorSet).n = function (element) {
|
|
8834
8801
|
if (!(element instanceof Operator))
|
|
8835
8802
|
return false;
|
|
8836
|
-
return this.
|
|
8803
|
+
return this.a1j(element instanceof Operator ? element : THROW_CCE());
|
|
8837
8804
|
};
|
|
8838
|
-
protoOf(OperatorSet).
|
|
8839
|
-
return this.
|
|
8805
|
+
protoOf(OperatorSet).b1j = function (elements) {
|
|
8806
|
+
return this.q1i_1.x(elements);
|
|
8840
8807
|
};
|
|
8841
8808
|
protoOf(OperatorSet).x = function (elements) {
|
|
8842
|
-
return this.
|
|
8809
|
+
return this.b1j(elements);
|
|
8843
8810
|
};
|
|
8844
8811
|
protoOf(OperatorSet).y = function () {
|
|
8845
|
-
return this.
|
|
8812
|
+
return this.q1i_1.y();
|
|
8846
8813
|
};
|
|
8847
8814
|
protoOf(OperatorSet).r = function () {
|
|
8848
|
-
return this.
|
|
8815
|
+
return this.q1i_1.r();
|
|
8849
8816
|
};
|
|
8850
8817
|
protoOf(OperatorSet).plus = function (operator) {
|
|
8851
8818
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -8894,17 +8861,17 @@
|
|
|
8894
8861
|
var op = tmp0_iterator.u();
|
|
8895
8862
|
// Inline function 'kotlin.collections.contains' call
|
|
8896
8863
|
// Inline function 'kotlin.collections.containsKey' call
|
|
8897
|
-
var key = op.
|
|
8864
|
+
var key = op.l1i_1;
|
|
8898
8865
|
if ((isInterface(temp, Map) ? temp : THROW_CCE()).u2(key)) {
|
|
8899
|
-
var opsWithFunctor = ensureNotNull(temp.x2(op.
|
|
8866
|
+
var opsWithFunctor = ensureNotNull(temp.x2(op.l1i_1));
|
|
8900
8867
|
// Inline function 'kotlin.collections.set' call
|
|
8901
|
-
var key_0 = op.
|
|
8902
|
-
var value = op.
|
|
8868
|
+
var key_0 = op.m1i_1;
|
|
8869
|
+
var value = op.n1i_1;
|
|
8903
8870
|
opsWithFunctor.n2(key_0, value);
|
|
8904
8871
|
} else {
|
|
8905
8872
|
// Inline function 'kotlin.collections.set' call
|
|
8906
|
-
var key_1 = op.
|
|
8907
|
-
var value_0 = mutableMapOf([to(op.
|
|
8873
|
+
var key_1 = op.l1i_1;
|
|
8874
|
+
var value_0 = mutableMapOf([to(op.m1i_1, op.n1i_1)]);
|
|
8908
8875
|
temp.n2(key_1, value_0);
|
|
8909
8876
|
}
|
|
8910
8877
|
}
|
|
@@ -8926,10 +8893,10 @@
|
|
|
8926
8893
|
}
|
|
8927
8894
|
function Companion_33() {
|
|
8928
8895
|
Companion_instance_33 = this;
|
|
8929
|
-
this.
|
|
8930
|
-
this.
|
|
8931
|
-
this.
|
|
8932
|
-
this.
|
|
8896
|
+
this.c1j_1 = setOf([Specifier_FX_getInstance(), Specifier_FY_getInstance()]);
|
|
8897
|
+
this.d1j_1 = setOf([Specifier_YF_getInstance(), Specifier_XF_getInstance()]);
|
|
8898
|
+
this.e1j_1 = setOf([Specifier_XFX_getInstance(), Specifier_YFX_getInstance(), Specifier_XFY_getInstance()]);
|
|
8899
|
+
this.f1j_1 = plus_3(this.d1j_1, this.e1j_1);
|
|
8933
8900
|
}
|
|
8934
8901
|
protoOf(Companion_33).fromAtom = function (atom) {
|
|
8935
8902
|
try {
|
|
@@ -9001,20 +8968,20 @@
|
|
|
9001
8968
|
function Specifier(name, ordinal) {
|
|
9002
8969
|
Enum.call(this, name, ordinal);
|
|
9003
8970
|
}
|
|
9004
|
-
protoOf(Specifier).
|
|
9005
|
-
return Companion_getInstance_35().
|
|
8971
|
+
protoOf(Specifier).w1g = function () {
|
|
8972
|
+
return Companion_getInstance_35().c1j_1.n(this);
|
|
9006
8973
|
};
|
|
9007
|
-
protoOf(Specifier).
|
|
9008
|
-
return Companion_getInstance_35().
|
|
8974
|
+
protoOf(Specifier).y1g = function () {
|
|
8975
|
+
return Companion_getInstance_35().e1j_1.n(this);
|
|
9009
8976
|
};
|
|
9010
|
-
protoOf(Specifier).
|
|
9011
|
-
return Companion_getInstance_35().
|
|
8977
|
+
protoOf(Specifier).x1g = function () {
|
|
8978
|
+
return Companion_getInstance_35().d1j_1.n(this);
|
|
9012
8979
|
};
|
|
9013
|
-
protoOf(Specifier).
|
|
8980
|
+
protoOf(Specifier).p1i = function () {
|
|
9014
8981
|
return _get_atomRepresentation__p7qnyl(this);
|
|
9015
8982
|
};
|
|
9016
8983
|
protoOf(Specifier).toTerm = function () {
|
|
9017
|
-
return this.
|
|
8984
|
+
return this.p1i();
|
|
9018
8985
|
};
|
|
9019
8986
|
function Specifier_XF_getInstance() {
|
|
9020
8987
|
Specifier_initEntries();
|
|
@@ -9463,8 +9430,8 @@
|
|
|
9463
9430
|
protoOf(ListUnfolder$listUnfolderVisitor$1).visitDirective = visitDirective;
|
|
9464
9431
|
protoOf(RealImpl).sx = get_isReal_0;
|
|
9465
9432
|
protoOf(RealImpl).c12 = asReal_0;
|
|
9466
|
-
protoOf(ScopeImpl).
|
|
9467
|
-
protoOf(ScopeImpl).
|
|
9433
|
+
protoOf(ScopeImpl).logicListFromSequence = logicListFromSequence;
|
|
9434
|
+
protoOf(ScopeImpl).logicListFromIterable = logicListFromIterable;
|
|
9468
9435
|
protoOf(ScopeImpl).f12 = get__;
|
|
9469
9436
|
protoOf(TruthImpl).pw = get_isFail_2;
|
|
9470
9437
|
protoOf(TruthImpl).nx = get_isTruth_0;
|
|
@@ -9499,12 +9466,12 @@
|
|
|
9499
9466
|
protoOf(VarImpl).mx = get_isVar_0;
|
|
9500
9467
|
protoOf(VarImpl).e15 = asVar_0;
|
|
9501
9468
|
protoOf(VarImpl).sw = get_variables_2;
|
|
9502
|
-
protoOf(VariablesProviderImpl).
|
|
9503
|
-
protoOf(VariablesProviderImpl).
|
|
9504
|
-
protoOf(VariablesProviderImpl).
|
|
9505
|
-
defineProp(protoOf(Specifier), 'isPrefix', protoOf(Specifier).
|
|
9506
|
-
defineProp(protoOf(Specifier), 'isInfix', protoOf(Specifier).
|
|
9507
|
-
defineProp(protoOf(Specifier), 'isPostfix', protoOf(Specifier).
|
|
9469
|
+
protoOf(VariablesProviderImpl).logicListFromFrom = logicListFromFrom;
|
|
9470
|
+
protoOf(VariablesProviderImpl).logicListFromIterable = logicListFromIterable;
|
|
9471
|
+
protoOf(VariablesProviderImpl).logicListFromSequence = logicListFromSequence;
|
|
9472
|
+
defineProp(protoOf(Specifier), 'isPrefix', protoOf(Specifier).w1g);
|
|
9473
|
+
defineProp(protoOf(Specifier), 'isInfix', protoOf(Specifier).y1g);
|
|
9474
|
+
defineProp(protoOf(Specifier), 'isPostfix', protoOf(Specifier).x1g);
|
|
9508
9475
|
//endregion
|
|
9509
9476
|
//region block: init
|
|
9510
9477
|
Companion_instance = new Companion();
|