@tuprolog/arg2p 0.10.2 → 0.11.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-core.js +3187 -3471
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +737 -758
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +372 -372
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +248 -260
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +19 -20
- package/2p-dsl-unify.js.map +1 -1
- package/2p-parser-core.js +263 -303
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-js.js +5 -5
- package/2p-parser-js.js.map +1 -1
- package/2p-parser-theory.js +29 -30
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve-classic.js +1176 -1163
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve.js +5197 -5478
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +2106 -2007
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +309 -298
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +648 -604
- package/2p-utils.js.map +1 -1
- package/README.md +1 -1
- package/arg2p-causality-solver.js +187 -212
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +2174 -2214
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +148 -156
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +7137 -7365
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kt-math.js +3143 -3506
- package/kt-math.js.map +1 -1
- package/package.json +2 -3
package/2p-dsl-theory.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js', './2p-unify.js', './2p-core.js', './2p-dsl-core.js', './2p-theory.js', './2p-dsl-unify.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./2p-unify.js'), require('./2p-core.js'), require('./2p-dsl-core.js'), require('./2p-theory.js'), require('./2p-dsl-unify.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-dsl-theory'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['2p-unify'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency '2p-unify' was not found. Please, check whether '2p-unify' is loaded prior to '2p-dsl-theory'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof
|
|
13
|
+
if (typeof globalThis['2p-core'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency '2p-core' was not found. Please, check whether '2p-core' is loaded prior to '2p-dsl-theory'.");
|
|
15
15
|
}
|
|
16
|
-
if (typeof
|
|
16
|
+
if (typeof globalThis['2p-dsl-core'] === 'undefined') {
|
|
17
17
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency '2p-dsl-core' was not found. Please, check whether '2p-dsl-core' is loaded prior to '2p-dsl-theory'.");
|
|
18
18
|
}
|
|
19
|
-
if (typeof
|
|
19
|
+
if (typeof globalThis['2p-theory'] === 'undefined') {
|
|
20
20
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to '2p-dsl-theory'.");
|
|
21
21
|
}
|
|
22
|
-
if (typeof
|
|
22
|
+
if (typeof globalThis['2p-dsl-unify'] === 'undefined') {
|
|
23
23
|
throw new Error("Error loading module '2p-dsl-theory'. Its dependency '2p-dsl-unify' was not found. Please, check whether '2p-dsl-unify' is loaded prior to '2p-dsl-theory'.");
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
globalThis['2p-dsl-theory'] = factory(typeof globalThis['2p-dsl-theory'] === 'undefined' ? {} : globalThis['2p-dsl-theory'], globalThis['kotlin-kotlin-stdlib'], globalThis['2p-unify'], globalThis['2p-core'], globalThis['2p-dsl-core'], globalThis['2p-theory'], globalThis['2p-dsl-unify']);
|
|
26
26
|
}
|
|
27
|
-
}(
|
|
27
|
+
}(function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_unify, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_dsl_core, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_dsl_unify) {
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
|
-
var VOID = kotlin_kotlin.$_$.
|
|
30
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
31
31
|
var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.b;
|
|
32
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
32
|
+
var protoOf = kotlin_kotlin.$_$.m6;
|
|
33
33
|
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
34
34
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b;
|
|
35
35
|
var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.b1;
|
|
36
36
|
var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.y5;
|
|
38
|
+
var toString = kotlin_kotlin.$_$.p6;
|
|
39
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
40
|
+
var Unit_instance = kotlin_kotlin.$_$.k1;
|
|
41
|
+
var equals = kotlin_kotlin.$_$.r5;
|
|
42
42
|
var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.d;
|
|
43
43
|
var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.b;
|
|
44
44
|
var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.c;
|
|
@@ -179,33 +179,32 @@
|
|
|
179
179
|
var matchAny = kotlin_it_unibo_tuprolog_dsl_unify.$_$.a;
|
|
180
180
|
var unify = kotlin_it_unibo_tuprolog_dsl_unify.$_$.i;
|
|
181
181
|
var unifyAny = kotlin_it_unibo_tuprolog_dsl_unify.$_$.c;
|
|
182
|
-
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
183
|
-
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
184
|
-
var Scope = kotlin_it_unibo_tuprolog_core.$_$.r1;
|
|
185
182
|
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
186
|
-
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
187
|
-
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
188
183
|
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
184
|
+
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
185
|
+
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
186
|
+
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
187
|
+
var Scope = kotlin_it_unibo_tuprolog_core.$_$.r1;
|
|
188
|
+
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
189
189
|
var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
|
|
190
190
|
var TheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.f;
|
|
191
|
-
var
|
|
191
|
+
var initMetadataForClass = kotlin_kotlin.$_$.x5;
|
|
192
192
|
var Clause = kotlin_it_unibo_tuprolog_core.$_$.g1;
|
|
193
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
194
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
195
|
-
var
|
|
196
|
-
var
|
|
197
|
-
var
|
|
198
|
-
var plus = kotlin_kotlin.$_$.a8;
|
|
193
|
+
var getKClass = kotlin_kotlin.$_$.e7;
|
|
194
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
|
|
195
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
|
|
196
|
+
var addAll = kotlin_kotlin.$_$.s1;
|
|
197
|
+
var plus = kotlin_kotlin.$_$.k8;
|
|
199
198
|
var arrayConcat = kotlin_kotlin.$_$.a;
|
|
200
|
-
var listOf = kotlin_kotlin.$_$.
|
|
201
|
-
var flatten = kotlin_kotlin.$_$.
|
|
202
|
-
var
|
|
199
|
+
var listOf = kotlin_kotlin.$_$.c3;
|
|
200
|
+
var flatten = kotlin_kotlin.$_$.r2;
|
|
201
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.z5;
|
|
203
202
|
//endregion
|
|
204
203
|
//region block: pre-declaration
|
|
205
|
-
|
|
204
|
+
initMetadataForCompanion(Companion);
|
|
206
205
|
function convertToClause(_this__u8e3s4) {
|
|
207
206
|
var tmp = getKClass(Clause);
|
|
208
|
-
return this.convertToSpecificSubTypeOfTerm(_this__u8e3s4, tmp, LogicProgrammingScopeWithTheories$
|
|
207
|
+
return this.convertToSpecificSubTypeOfTerm(_this__u8e3s4, tmp, LogicProgrammingScopeWithTheories$clauseOf$ref(this));
|
|
209
208
|
}
|
|
210
209
|
function theory(clauseFunctions) {
|
|
211
210
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -216,9 +215,8 @@
|
|
|
216
215
|
while (inductionVariable < last) {
|
|
217
216
|
var item = clauseFunctions[inductionVariable];
|
|
218
217
|
inductionVariable = inductionVariable + 1 | 0;
|
|
219
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeWithTheories.theory.<anonymous>' call
|
|
220
218
|
var tmp$ret$0 = this.convertToClause(item(this.newScope()));
|
|
221
|
-
destination.
|
|
219
|
+
destination.m(tmp$ret$0);
|
|
222
220
|
}
|
|
223
221
|
return this.theoryOfIterable(destination);
|
|
224
222
|
}
|
|
@@ -231,7 +229,6 @@
|
|
|
231
229
|
while (inductionVariable < last) {
|
|
232
230
|
var element = otherClauses[inductionVariable];
|
|
233
231
|
inductionVariable = inductionVariable + 1 | 0;
|
|
234
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeWithTheories.theoryOf.<anonymous>' call
|
|
235
232
|
var list = element;
|
|
236
233
|
addAll(destination, list);
|
|
237
234
|
}
|
|
@@ -249,9 +246,8 @@
|
|
|
249
246
|
while (inductionVariable < last) {
|
|
250
247
|
var item = clauseFunctions[inductionVariable];
|
|
251
248
|
inductionVariable = inductionVariable + 1 | 0;
|
|
252
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeWithTheories.mutableTheory.<anonymous>' call
|
|
253
249
|
var tmp$ret$0 = this.convertToClause(item(this.newScope()));
|
|
254
|
-
destination.
|
|
250
|
+
destination.m(tmp$ret$0);
|
|
255
251
|
}
|
|
256
252
|
return this.mutableTheoryOfIterable(destination);
|
|
257
253
|
}
|
|
@@ -264,7 +260,6 @@
|
|
|
264
260
|
while (inductionVariable < last) {
|
|
265
261
|
var element = otherClauses[inductionVariable];
|
|
266
262
|
inductionVariable = inductionVariable + 1 | 0;
|
|
267
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeWithTheories.mutableTheoryOf.<anonymous>' call
|
|
268
263
|
var list = element;
|
|
269
264
|
addAll(destination, list);
|
|
270
265
|
}
|
|
@@ -273,40 +268,40 @@
|
|
|
273
268
|
function mutableTheoryOfConcatenatedIterables(clauses, otherClauses) {
|
|
274
269
|
return this.mutableTheoryOfIterable(flatten(listOf(arrayConcat([[clauses], otherClauses]))));
|
|
275
270
|
}
|
|
276
|
-
|
|
277
|
-
|
|
271
|
+
initMetadataForInterface(LogicProgrammingScopeWithTheories, 'LogicProgrammingScopeWithTheories', VOID, VOID, [BaseLogicProgrammingScope, Unificator, TheoryFactory]);
|
|
272
|
+
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithPrologStandardLibrary, LogicProgrammingScopeWithSubstitutions, BaseLogicProgrammingScope, LogicProgrammingScopeWithUnification, LogicProgrammingScopeWithOperators, Scope, LogicProgrammingScopeWithTheories, MinimalLogicProgrammingScope, Unificator, TheoryFactory]);
|
|
278
273
|
//endregion
|
|
279
274
|
function logicProgramming(unificator, function_0) {
|
|
280
|
-
unificator = unificator === VOID ? Companion_getInstance_0().
|
|
275
|
+
unificator = unificator === VOID ? Companion_getInstance_0().z2x_1 : unificator;
|
|
281
276
|
return function_0(Companion_getInstance_0().ofUnificator(unificator));
|
|
282
277
|
}
|
|
283
278
|
function Companion() {
|
|
284
279
|
Companion_instance_2 = this;
|
|
285
|
-
this.
|
|
280
|
+
this.z2x_1 = Companion_getInstance().u1i();
|
|
286
281
|
}
|
|
287
282
|
protoOf(Companion).empty = function () {
|
|
288
283
|
return this.of();
|
|
289
284
|
};
|
|
290
|
-
protoOf(Companion).
|
|
291
|
-
return new LogicProgrammingScopeImpl(scope, termificator.
|
|
285
|
+
protoOf(Companion).a2y = function (scope, termificator, variablesProvider, unificator, theoryFactory) {
|
|
286
|
+
return new LogicProgrammingScopeImpl(scope, termificator.a1g() === scope ? termificator : termificator.b1g(scope), variablesProvider.a1g() === scope ? variablesProvider : variablesProvider.b1g(scope), unificator, theoryFactory.b1j() === unificator ? theoryFactory : theoryFactory.t1q(unificator));
|
|
292
287
|
};
|
|
293
288
|
protoOf(Companion).of = function (scope, termificator, variablesProvider, unificator, theoryFactory, $super) {
|
|
294
289
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
295
290
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
296
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
297
|
-
unificator = unificator === VOID ? this.
|
|
291
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.w12(scope) : variablesProvider;
|
|
292
|
+
unificator = unificator === VOID ? this.z2x_1 : unificator;
|
|
298
293
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
299
|
-
return $super === VOID ? this.
|
|
294
|
+
return $super === VOID ? this.a2y(scope, termificator, variablesProvider, unificator, theoryFactory) : $super.a2y.call(this, scope, termificator, variablesProvider, unificator, theoryFactory);
|
|
300
295
|
};
|
|
301
|
-
protoOf(Companion).
|
|
302
|
-
return this.
|
|
296
|
+
protoOf(Companion).b2y = function (unificator, theoryFactory, scope, termificator, variablesProvider) {
|
|
297
|
+
return this.a2y(scope, termificator, variablesProvider, unificator, theoryFactory);
|
|
303
298
|
};
|
|
304
299
|
protoOf(Companion).ofUnificator = function (unificator, theoryFactory, scope, termificator, variablesProvider, $super) {
|
|
305
300
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
306
301
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
307
302
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
308
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
309
|
-
return $super === VOID ? this.
|
|
303
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.w12(scope) : variablesProvider;
|
|
304
|
+
return $super === VOID ? this.b2y(unificator, theoryFactory, scope, termificator, variablesProvider) : $super.b2y.call(this, unificator, theoryFactory, scope, termificator, variablesProvider);
|
|
310
305
|
};
|
|
311
306
|
var Companion_instance_2;
|
|
312
307
|
function Companion_getInstance_0() {
|
|
@@ -315,326 +310,319 @@
|
|
|
315
310
|
return Companion_instance_2;
|
|
316
311
|
}
|
|
317
312
|
function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory) {
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
313
|
+
this.c2y_1 = scope;
|
|
314
|
+
this.d2y_1 = termificator;
|
|
315
|
+
this.e2y_1 = variablesProvider;
|
|
316
|
+
this.f2y_1 = unificator;
|
|
317
|
+
this.g2y_1 = theoryFactory;
|
|
323
318
|
// Inline function 'kotlin.require' call
|
|
324
|
-
|
|
325
|
-
if (!(this.y1u_1 === this.a1v_1.z1g() ? this.y1u_1 === this.z1u_1.z1g() : false)) {
|
|
326
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeImpl.<anonymous>' call
|
|
319
|
+
if (!(this.c2y_1 === this.e2y_1.a1g() && this.c2y_1 === this.d2y_1.a1g())) {
|
|
327
320
|
var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
|
|
328
321
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
329
322
|
}
|
|
330
323
|
// Inline function 'kotlin.require' call
|
|
331
|
-
|
|
332
|
-
if (!equals(this.b1v_1, this.c1v_1.k1l())) {
|
|
333
|
-
// Inline function 'it.unibo.tuprolog.dsl.theory.LogicProgrammingScopeImpl.<anonymous>' call
|
|
324
|
+
if (!equals(this.f2y_1, this.g2y_1.b1j())) {
|
|
334
325
|
var message_0 = 'The provided Unificator should be the same object for both Unificator and TheoryFactory';
|
|
335
326
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
336
327
|
}
|
|
337
328
|
}
|
|
338
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
339
|
-
return this.
|
|
329
|
+
protoOf(LogicProgrammingScopeImpl).a1g = function () {
|
|
330
|
+
return this.c2y_1;
|
|
340
331
|
};
|
|
341
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
342
|
-
return this.
|
|
332
|
+
protoOf(LogicProgrammingScopeImpl).l2x = function () {
|
|
333
|
+
return this.d2y_1;
|
|
343
334
|
};
|
|
344
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
345
|
-
return this.
|
|
335
|
+
protoOf(LogicProgrammingScopeImpl).b1j = function () {
|
|
336
|
+
return this.f2y_1;
|
|
346
337
|
};
|
|
347
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
348
|
-
return this.
|
|
338
|
+
protoOf(LogicProgrammingScopeImpl).b1g = function (scope) {
|
|
339
|
+
return new LogicProgrammingScopeImpl(scope, this.d2y_1.b1g(scope), this.e2y_1.b1g(scope), this.f2y_1, this.g2y_1);
|
|
349
340
|
};
|
|
350
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
351
|
-
return this.
|
|
341
|
+
protoOf(LogicProgrammingScopeImpl).t1q = function (unificator) {
|
|
342
|
+
return new LogicProgrammingScopeImpl(this.c2y_1, this.d2y_1, this.e2y_1, unificator, this.g2y_1.t1q(unificator));
|
|
352
343
|
};
|
|
353
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
354
|
-
return this.
|
|
344
|
+
protoOf(LogicProgrammingScopeImpl).q2x = function () {
|
|
345
|
+
return this.b1g(Companion_instance.empty());
|
|
355
346
|
};
|
|
356
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
357
|
-
return this.
|
|
347
|
+
protoOf(LogicProgrammingScopeImpl).newScope = function () {
|
|
348
|
+
return this.q2x();
|
|
358
349
|
};
|
|
359
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
360
|
-
return this.
|
|
350
|
+
protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
|
|
351
|
+
return this.e2y_1.structOf(functor, args);
|
|
361
352
|
};
|
|
362
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
363
|
-
return this.
|
|
353
|
+
protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
|
|
354
|
+
return this.e2y_1.structOfSequence(functor, args);
|
|
364
355
|
};
|
|
365
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
366
|
-
return this.
|
|
356
|
+
protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
|
|
357
|
+
return this.e2y_1.structOfIterable(functor, args);
|
|
358
|
+
};
|
|
359
|
+
protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
|
|
360
|
+
return this.e2y_1.structOfList(functor, args);
|
|
361
|
+
};
|
|
362
|
+
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
363
|
+
return this.e2y_1.tupleOf(terms);
|
|
364
|
+
};
|
|
365
|
+
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
366
|
+
return this.e2y_1.tupleOfIterable(terms);
|
|
367
|
+
};
|
|
368
|
+
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
369
|
+
return this.e2y_1.tupleOfSequence(terms);
|
|
370
|
+
};
|
|
371
|
+
protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
|
|
372
|
+
return this.e2y_1.logicListOf(terms);
|
|
373
|
+
};
|
|
374
|
+
protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
|
|
375
|
+
return this.e2y_1.logicListOfIterable(terms);
|
|
376
|
+
};
|
|
377
|
+
protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
|
|
378
|
+
return this.e2y_1.logicListOfSequence(terms);
|
|
367
379
|
};
|
|
368
380
|
protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
|
|
369
|
-
return this.
|
|
381
|
+
return this.e2y_1.blockOf(terms);
|
|
370
382
|
};
|
|
371
383
|
protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
|
|
372
|
-
return this.
|
|
384
|
+
return this.e2y_1.blockOfIterable(terms);
|
|
373
385
|
};
|
|
374
386
|
protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
|
|
375
|
-
return this.
|
|
387
|
+
return this.e2y_1.blockOfSequence(terms);
|
|
376
388
|
};
|
|
377
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
378
|
-
return this.
|
|
389
|
+
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
390
|
+
return this.e2y_1.factOf(head);
|
|
379
391
|
};
|
|
380
392
|
protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
|
|
381
|
-
return this.
|
|
393
|
+
return this.e2y_1.consOf(head, tail);
|
|
394
|
+
};
|
|
395
|
+
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
396
|
+
return this.e2y_1.directiveOf(body1, body);
|
|
382
397
|
};
|
|
383
398
|
protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
|
|
384
|
-
return this.
|
|
399
|
+
return this.e2y_1.containsVar(variable);
|
|
385
400
|
};
|
|
386
401
|
protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
|
|
387
|
-
return this.
|
|
388
|
-
};
|
|
389
|
-
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
390
|
-
return this.a1v_1.directiveOf(body1, body);
|
|
391
|
-
};
|
|
392
|
-
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
393
|
-
return this.a1v_1.factOf(head);
|
|
402
|
+
return this.e2y_1.contains(variable);
|
|
394
403
|
};
|
|
395
404
|
protoOf(LogicProgrammingScopeImpl).get = function (variable) {
|
|
396
|
-
return this.
|
|
397
|
-
};
|
|
398
|
-
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
399
|
-
return this.a1v_1.getValue(thisRef, property);
|
|
405
|
+
return this.e2y_1.get(variable);
|
|
400
406
|
};
|
|
401
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
402
|
-
return this.
|
|
407
|
+
protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
|
|
408
|
+
return this.e2y_1.where(lambda);
|
|
403
409
|
};
|
|
404
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
405
|
-
return this.
|
|
410
|
+
protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
|
|
411
|
+
return this.e2y_1.with(lambda);
|
|
406
412
|
};
|
|
407
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
408
|
-
return this.
|
|
413
|
+
protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
|
|
414
|
+
return this.e2y_1.varOf(name);
|
|
409
415
|
};
|
|
410
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
411
|
-
return this.
|
|
416
|
+
protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
|
|
417
|
+
return this.e2y_1.varOfChar(name);
|
|
412
418
|
};
|
|
413
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
414
|
-
return this.
|
|
419
|
+
protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
|
|
420
|
+
return this.e2y_1.atomOf(value);
|
|
415
421
|
};
|
|
416
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
417
|
-
return this.
|
|
422
|
+
protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
|
|
423
|
+
return this.e2y_1.atomOfChar(value);
|
|
418
424
|
};
|
|
419
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
420
|
-
return this.
|
|
425
|
+
protoOf(LogicProgrammingScopeImpl).xz = function (terms, last) {
|
|
426
|
+
return this.e2y_1.xz(terms, last);
|
|
421
427
|
};
|
|
422
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
423
|
-
return this.
|
|
428
|
+
protoOf(LogicProgrammingScopeImpl).yz = function (terms, last) {
|
|
429
|
+
return this.e2y_1.yz(terms, last);
|
|
424
430
|
};
|
|
425
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
426
|
-
return this.
|
|
431
|
+
protoOf(LogicProgrammingScopeImpl).zz = function (terms, last) {
|
|
432
|
+
return this.e2y_1.zz(terms, last);
|
|
427
433
|
};
|
|
428
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
429
|
-
return this.
|
|
434
|
+
protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
|
|
435
|
+
return this.e2y_1.ruleOf(head, body1, body);
|
|
430
436
|
};
|
|
431
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
432
|
-
return this.
|
|
437
|
+
protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
|
|
438
|
+
return this.e2y_1.clauseOf(head, body);
|
|
433
439
|
};
|
|
434
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
435
|
-
return this.
|
|
440
|
+
protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
|
|
441
|
+
return this.e2y_1.indicatorOf(name, arity);
|
|
436
442
|
};
|
|
437
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
438
|
-
return this.
|
|
443
|
+
protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
444
|
+
return this.e2y_1.indicatorOfStringInt(name, arity);
|
|
439
445
|
};
|
|
440
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
441
|
-
return this.
|
|
446
|
+
protoOf(LogicProgrammingScopeImpl).anonymous = function () {
|
|
447
|
+
return this.e2y_1.anonymous();
|
|
442
448
|
};
|
|
443
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
444
|
-
return this.
|
|
449
|
+
protoOf(LogicProgrammingScopeImpl).whatever = function () {
|
|
450
|
+
return this.e2y_1.whatever();
|
|
445
451
|
};
|
|
446
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
447
|
-
return this.
|
|
452
|
+
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
453
|
+
return this.e2y_1.numOfBigDecimal(value);
|
|
448
454
|
};
|
|
449
455
|
protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
|
|
450
|
-
return this.
|
|
456
|
+
return this.e2y_1.numOfDouble(value);
|
|
451
457
|
};
|
|
452
458
|
protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
|
|
453
|
-
return this.
|
|
459
|
+
return this.e2y_1.numOfFloat(value);
|
|
460
|
+
};
|
|
461
|
+
protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
|
|
462
|
+
return this.e2y_1.numOfBigInteger(value);
|
|
454
463
|
};
|
|
455
464
|
protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
|
|
456
|
-
return this.
|
|
465
|
+
return this.e2y_1.numOfInt(value);
|
|
457
466
|
};
|
|
458
467
|
protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
|
|
459
|
-
return this.
|
|
460
|
-
};
|
|
461
|
-
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
462
|
-
return this.a1v_1.numOf(value);
|
|
468
|
+
return this.e2y_1.numOfLong(value);
|
|
463
469
|
};
|
|
464
470
|
protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
|
|
465
|
-
return this.
|
|
471
|
+
return this.e2y_1.numOfShort(value);
|
|
466
472
|
};
|
|
467
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
468
|
-
return this.
|
|
469
|
-
};
|
|
470
|
-
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
471
|
-
return this.a1v_1.numOfBigDecimal(value);
|
|
473
|
+
protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
|
|
474
|
+
return this.e2y_1.numOfByte(value);
|
|
472
475
|
};
|
|
473
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
474
|
-
return this.
|
|
476
|
+
protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
|
|
477
|
+
return this.e2y_1.parseNum(value);
|
|
475
478
|
};
|
|
476
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
477
|
-
return this.
|
|
479
|
+
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
480
|
+
return this.e2y_1.numOf(value);
|
|
478
481
|
};
|
|
479
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
480
|
-
return this.
|
|
482
|
+
protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
|
|
483
|
+
return this.e2y_1.intOfBigInteger(value);
|
|
481
484
|
};
|
|
482
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
483
|
-
return this.
|
|
485
|
+
protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
|
|
486
|
+
return this.e2y_1.intOf(value);
|
|
484
487
|
};
|
|
485
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
486
|
-
return this.
|
|
488
|
+
protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
|
|
489
|
+
return this.e2y_1.intOfLong(value);
|
|
487
490
|
};
|
|
488
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
489
|
-
return this.
|
|
491
|
+
protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
|
|
492
|
+
return this.e2y_1.intOfShort(value);
|
|
490
493
|
};
|
|
491
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
492
|
-
return this.
|
|
494
|
+
protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
|
|
495
|
+
return this.e2y_1.intOfByte(value);
|
|
493
496
|
};
|
|
494
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
495
|
-
return this.
|
|
497
|
+
protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
|
|
498
|
+
return this.e2y_1.parseInt(value);
|
|
496
499
|
};
|
|
497
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
498
|
-
return this.
|
|
500
|
+
protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
|
|
501
|
+
return this.e2y_1.parseIntRadix(value, radix);
|
|
499
502
|
};
|
|
500
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
501
|
-
return this.
|
|
503
|
+
protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
|
|
504
|
+
return this.e2y_1.realOfBigDecimal(value);
|
|
502
505
|
};
|
|
503
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
504
|
-
return this.
|
|
506
|
+
protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
|
|
507
|
+
return this.e2y_1.realOf(value);
|
|
505
508
|
};
|
|
506
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
507
|
-
return this.
|
|
509
|
+
protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
|
|
510
|
+
return this.e2y_1.realOfFloat(value);
|
|
508
511
|
};
|
|
509
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
510
|
-
return this.
|
|
512
|
+
protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
|
|
513
|
+
return this.e2y_1.parseReal(value);
|
|
511
514
|
};
|
|
512
515
|
protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
|
|
513
|
-
return this.
|
|
514
|
-
};
|
|
515
|
-
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
516
|
-
return this.a1v_1.tupleOf(terms);
|
|
517
|
-
};
|
|
518
|
-
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
519
|
-
return this.a1v_1.tupleOfIterable(terms);
|
|
520
|
-
};
|
|
521
|
-
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
522
|
-
return this.a1v_1.tupleOfSequence(terms);
|
|
516
|
+
return this.e2y_1.truthOf(value);
|
|
523
517
|
};
|
|
524
518
|
protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
|
|
525
|
-
return this.
|
|
519
|
+
return this.e2y_1.unifierOf(assignments);
|
|
526
520
|
};
|
|
527
521
|
protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
|
|
528
|
-
return this.
|
|
522
|
+
return this.e2y_1.unifierOfIterable(assignments);
|
|
529
523
|
};
|
|
530
524
|
protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
|
|
531
|
-
return this.
|
|
525
|
+
return this.e2y_1.unifierOfSequence(assignments);
|
|
532
526
|
};
|
|
533
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
534
|
-
return this.
|
|
527
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
|
|
528
|
+
return this.e2y_1.substitutionOf(assignments);
|
|
535
529
|
};
|
|
536
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
537
|
-
return this.
|
|
530
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
|
|
531
|
+
return this.e2y_1.substitutionOfIterable(assignments);
|
|
538
532
|
};
|
|
539
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
540
|
-
return this.
|
|
533
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
|
|
534
|
+
return this.e2y_1.substitutionOfSequence(assignments);
|
|
541
535
|
};
|
|
542
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
543
|
-
return this.
|
|
536
|
+
protoOf(LogicProgrammingScopeImpl).vz = function () {
|
|
537
|
+
return this.e2y_1.vz();
|
|
544
538
|
};
|
|
545
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
546
|
-
return this.
|
|
539
|
+
protoOf(LogicProgrammingScopeImpl).wz = function () {
|
|
540
|
+
return this.e2y_1.wz();
|
|
547
541
|
};
|
|
548
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
549
|
-
return this.
|
|
542
|
+
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
543
|
+
return this.e2y_1.getValue(thisRef, property);
|
|
550
544
|
};
|
|
551
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
552
|
-
return this.
|
|
545
|
+
protoOf(LogicProgrammingScopeImpl).d1g = function () {
|
|
546
|
+
return this.e2y_1.d1g();
|
|
553
547
|
};
|
|
554
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
555
|
-
return this.
|
|
548
|
+
protoOf(LogicProgrammingScopeImpl).e1g = function () {
|
|
549
|
+
return this.e2y_1.e1g();
|
|
556
550
|
};
|
|
557
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
558
|
-
return this.
|
|
551
|
+
protoOf(LogicProgrammingScopeImpl).u1h = function (term1, term2, occurCheckEnabled) {
|
|
552
|
+
return this.f2y_1.u1h(term1, term2, occurCheckEnabled);
|
|
559
553
|
};
|
|
560
554
|
protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
|
|
561
|
-
return this.
|
|
555
|
+
return this.f2y_1.mgu(term1, term2);
|
|
562
556
|
};
|
|
563
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
564
|
-
return this.
|
|
557
|
+
protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
558
|
+
return this.f2y_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
565
559
|
};
|
|
566
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
567
|
-
return this.
|
|
560
|
+
protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
|
|
561
|
+
return this.f2y_1.match(term1, term2);
|
|
568
562
|
};
|
|
569
563
|
protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
570
|
-
return this.
|
|
564
|
+
return this.f2y_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
571
565
|
};
|
|
572
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
573
|
-
return this.
|
|
574
|
-
};
|
|
575
|
-
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
576
|
-
return this.c1v_1.emptyMutableTheoryWithUnificator(unificator);
|
|
566
|
+
protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
|
|
567
|
+
return this.f2y_1.unify(term1, term2);
|
|
577
568
|
};
|
|
578
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
579
|
-
return this.
|
|
569
|
+
protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
|
|
570
|
+
return this.f2y_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
|
|
580
571
|
};
|
|
581
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
582
|
-
return this.
|
|
572
|
+
protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
|
|
573
|
+
return this.f2y_1.merge(substitution1, substitution2);
|
|
583
574
|
};
|
|
584
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
585
|
-
return this.
|
|
575
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
576
|
+
return this.g2y_1.theoryOfIterableWithUnificator(clauses, unificator);
|
|
586
577
|
};
|
|
587
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
588
|
-
return this.
|
|
578
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
|
|
579
|
+
return this.g2y_1.theoryOfIterable(clauses);
|
|
589
580
|
};
|
|
590
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
591
|
-
return this.
|
|
581
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
|
|
582
|
+
return this.g2y_1.theoryOfWithUnificator(unificator, clauses);
|
|
592
583
|
};
|
|
593
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
594
|
-
return this.
|
|
584
|
+
protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
|
|
585
|
+
return this.g2y_1.theoryOf(clauses);
|
|
595
586
|
};
|
|
596
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
597
|
-
return this.
|
|
587
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
588
|
+
return this.g2y_1.theoryOfSequenceWithUnificator(clauses, unificator);
|
|
598
589
|
};
|
|
599
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
600
|
-
return this.
|
|
590
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
|
|
591
|
+
return this.g2y_1.theoryOfSequence(clauses);
|
|
601
592
|
};
|
|
602
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
603
|
-
return this.
|
|
593
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
594
|
+
return this.g2y_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
|
|
604
595
|
};
|
|
605
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
606
|
-
return this.
|
|
596
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
|
|
597
|
+
return this.g2y_1.mutableTheoryOfIterable(clauses);
|
|
607
598
|
};
|
|
608
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
609
|
-
return this.
|
|
599
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
|
|
600
|
+
return this.g2y_1.mutableTheoryOfWithUnificator(unificator, clauses);
|
|
610
601
|
};
|
|
611
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
612
|
-
return this.
|
|
602
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
|
|
603
|
+
return this.g2y_1.mutableTheoryOf(clauses);
|
|
613
604
|
};
|
|
614
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
615
|
-
return this.
|
|
605
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
606
|
+
return this.g2y_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
|
|
616
607
|
};
|
|
617
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
618
|
-
return this.
|
|
608
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
|
|
609
|
+
return this.g2y_1.mutableTheoryOfSequence(clauses);
|
|
619
610
|
};
|
|
620
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
621
|
-
return
|
|
611
|
+
protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
|
|
612
|
+
return this.g2y_1.emptyTheoryWithUnificator(unificator);
|
|
622
613
|
};
|
|
623
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
624
|
-
return
|
|
614
|
+
protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
|
|
615
|
+
return this.g2y_1.emptyTheory();
|
|
625
616
|
};
|
|
626
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
627
|
-
return this.
|
|
617
|
+
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
618
|
+
return this.g2y_1.emptyMutableTheoryWithUnificator(unificator);
|
|
628
619
|
};
|
|
629
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
630
|
-
return this.
|
|
620
|
+
protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
|
|
621
|
+
return this.g2y_1.emptyMutableTheory();
|
|
631
622
|
};
|
|
632
|
-
function
|
|
633
|
-
return receiver
|
|
634
|
-
|
|
635
|
-
function LogicProgrammingScopeWithTheories$toClause$clauseOf$ref($boundThis) {
|
|
636
|
-
return function (p0) {
|
|
637
|
-
return toClause$clauseOf($boundThis, p0);
|
|
623
|
+
function LogicProgrammingScopeWithTheories$clauseOf$ref(p0) {
|
|
624
|
+
return function (receiver) {
|
|
625
|
+
return p0.clauseOf(receiver, []);
|
|
638
626
|
};
|
|
639
627
|
}
|
|
640
628
|
function LogicProgrammingScopeWithTheories() {
|
|
@@ -653,7 +641,7 @@
|
|
|
653
641
|
protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
|
|
654
642
|
protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
|
|
655
643
|
protoOf(LogicProgrammingScopeImpl).withScope = withScope;
|
|
656
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
644
|
+
protoOf(LogicProgrammingScopeImpl).r2x = logicList;
|
|
657
645
|
protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
|
|
658
646
|
protoOf(LogicProgrammingScopeImpl).rule = rule;
|
|
659
647
|
protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
|
|
@@ -774,11 +762,11 @@
|
|
|
774
762
|
protoOf(LogicProgrammingScopeImpl).anyMguWith = anyMguWith;
|
|
775
763
|
protoOf(LogicProgrammingScopeImpl).anyMatches = anyMatches;
|
|
776
764
|
protoOf(LogicProgrammingScopeImpl).anyUnifyWith = anyUnifyWith;
|
|
777
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
765
|
+
protoOf(LogicProgrammingScopeImpl).w2x = mgu;
|
|
778
766
|
protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
|
|
779
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
767
|
+
protoOf(LogicProgrammingScopeImpl).x2x = match;
|
|
780
768
|
protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
|
|
781
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
769
|
+
protoOf(LogicProgrammingScopeImpl).y2x = unify;
|
|
782
770
|
protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
|
|
783
771
|
protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
|
|
784
772
|
protoOf(LogicProgrammingScopeImpl).theory = theory;
|