@tuprolog/arg2p 0.17.2 → 0.18.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-core.js +2567 -2558
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +428 -422
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +260 -264
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +161 -155
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +6 -6
- package/2p-io-lib.js +936 -936
- package/2p-io-lib.js.map +1 -1
- package/2p-parser-core.js +136 -136
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1461 -1451
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +89 -94
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve.js +4712 -4965
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1460 -1460
- package/2p-unify.js +349 -349
- package/2p-utils.js +488 -489
- package/2p-utils.js.map +1 -1
- package/README.md +26 -19
- package/arg2p-causality-solver.js +569 -486
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +13492 -5266
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +26 -551
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3337 -3145
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1530 -1530
- package/okio-parent-okio-nodefilesystem.js +52 -52
- package/okio-parent-okio.js +685 -685
- package/okio-parent-okio.js.map +1 -1
- package/package.json +1 -1
- package/2p-solve-prolog.js +0 -2856
- package/2p-solve-prolog.js.map +0 -1
package/2p-dsl-solve.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './2p-core.js', './2p-dsl-core.js', './2p-unify.js', './2p-theory.js', './2p-solve.js', './2p-dsl-unify.js', './2p-dsl-theory.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./2p-core.js'), require('./2p-dsl-core.js'), require('./2p-unify.js'), require('./2p-theory.js'), require('./2p-solve.js'), require('./2p-dsl-unify.js'), require('./2p-dsl-theory.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof globalThis['2p-solve'] === 'undefined') {
|
|
8
|
-
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to '2p-dsl-solve'.");
|
|
9
|
-
}
|
|
10
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
8
|
throw new Error("Error loading module '2p-dsl-solve'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-dsl-solve'.");
|
|
12
9
|
}
|
|
@@ -22,36 +19,38 @@
|
|
|
22
19
|
if (typeof globalThis['2p-theory'] === 'undefined') {
|
|
23
20
|
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to '2p-dsl-solve'.");
|
|
24
21
|
}
|
|
22
|
+
if (typeof globalThis['2p-solve'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to '2p-dsl-solve'.");
|
|
24
|
+
}
|
|
25
25
|
if (typeof globalThis['2p-dsl-unify'] === 'undefined') {
|
|
26
26
|
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-dsl-unify' was not found. Please, check whether '2p-dsl-unify' is loaded prior to '2p-dsl-solve'.");
|
|
27
27
|
}
|
|
28
28
|
if (typeof globalThis['2p-dsl-theory'] === 'undefined') {
|
|
29
29
|
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-dsl-theory' was not found. Please, check whether '2p-dsl-theory' is loaded prior to '2p-dsl-solve'.");
|
|
30
30
|
}
|
|
31
|
-
globalThis['2p-dsl-solve'] = factory(typeof globalThis['2p-dsl-solve'] === 'undefined' ? {} : globalThis['2p-dsl-solve'], globalThis['
|
|
31
|
+
globalThis['2p-dsl-solve'] = factory(typeof globalThis['2p-dsl-solve'] === 'undefined' ? {} : globalThis['2p-dsl-solve'], globalThis['kotlin-kotlin-stdlib'], globalThis['2p-core'], globalThis['2p-dsl-core'], globalThis['2p-unify'], globalThis['2p-theory'], globalThis['2p-solve'], globalThis['2p-dsl-unify'], globalThis['2p-dsl-theory']);
|
|
32
32
|
}
|
|
33
|
-
}(function (_,
|
|
33
|
+
}(function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_dsl_core, kotlin_it_unibo_tuprolog_unify, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_solve, kotlin_it_unibo_tuprolog_dsl_unify, kotlin_it_unibo_tuprolog_dsl_theory) {
|
|
34
34
|
'use strict';
|
|
35
35
|
//region block: imports
|
|
36
|
-
var
|
|
37
|
-
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
-
var protoOf = kotlin_kotlin.$_$.v7;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.e8;
|
|
39
37
|
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
38
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
40
39
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a;
|
|
41
40
|
var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.c1;
|
|
42
|
-
var
|
|
41
|
+
var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
43
42
|
var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
|
|
44
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
45
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
46
|
-
var toString = kotlin_kotlin.$_$.
|
|
47
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
48
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
49
|
-
var equals = kotlin_kotlin.$_$.
|
|
43
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
|
|
44
|
+
var objectCreate = kotlin_kotlin.$_$.d8;
|
|
45
|
+
var toString = kotlin_kotlin.$_$.h8;
|
|
46
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
47
|
+
var Unit_instance = kotlin_kotlin.$_$.r;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.k7;
|
|
50
49
|
var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.g1;
|
|
51
50
|
var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.e1;
|
|
52
51
|
var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.f1;
|
|
53
|
-
var copy = kotlin_it_unibo_tuprolog_solve.$_$.
|
|
54
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
52
|
+
var copy = kotlin_it_unibo_tuprolog_solve.$_$.v1;
|
|
53
|
+
var THROW_CCE = kotlin_kotlin.$_$.pc;
|
|
55
54
|
var mguWithOccurCheck = kotlin_it_unibo_tuprolog_unify.$_$.b;
|
|
56
55
|
var stringInvoke = kotlin_it_unibo_tuprolog_dsl_core.$_$.v4;
|
|
57
56
|
var structOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.a5;
|
|
@@ -196,101 +195,93 @@
|
|
|
196
195
|
var mutableTheory = kotlin_it_unibo_tuprolog_dsl_theory.$_$.c;
|
|
197
196
|
var mutableTheoryOfConcatenatedSequences = kotlin_it_unibo_tuprolog_dsl_theory.$_$.a;
|
|
198
197
|
var mutableTheoryOfConcatenatedIterables = kotlin_it_unibo_tuprolog_dsl_theory.$_$.b;
|
|
199
|
-
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
200
198
|
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
201
|
-
var
|
|
199
|
+
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
202
200
|
var LogicProgrammingScopeWithTheories = kotlin_it_unibo_tuprolog_dsl_theory.$_$.h;
|
|
203
|
-
var
|
|
204
|
-
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
201
|
+
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
205
202
|
var Scope = kotlin_it_unibo_tuprolog_core.$_$.a2;
|
|
203
|
+
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
206
204
|
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
205
|
+
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
207
206
|
var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
|
|
208
207
|
var TheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.f;
|
|
209
|
-
var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.
|
|
210
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
211
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
208
|
+
var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.x3;
|
|
209
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
210
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.t7;
|
|
212
211
|
//endregion
|
|
213
212
|
//region block: pre-declaration
|
|
214
213
|
initMetadataForCompanion(Companion);
|
|
215
214
|
function solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
216
|
-
return this.
|
|
215
|
+
return this.s3q().b22(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
217
216
|
}
|
|
218
217
|
function solverOf_0(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
219
|
-
unificator = unificator === VOID ? this.
|
|
220
|
-
otherLibraries = otherLibraries === VOID ? this.
|
|
221
|
-
flags = flags === VOID ? this.
|
|
222
|
-
staticKb = staticKb === VOID ? this.
|
|
223
|
-
dynamicKb = dynamicKb === VOID ? this.
|
|
224
|
-
stdIn = stdIn === VOID ? this.
|
|
225
|
-
stdOut = stdOut === VOID ? this.
|
|
226
|
-
stdErr = stdErr === VOID ? this.
|
|
227
|
-
warnings = warnings === VOID ? this.
|
|
228
|
-
return $super === VOID ? this.
|
|
218
|
+
unificator = unificator === VOID ? this.i1o() : unificator;
|
|
219
|
+
otherLibraries = otherLibraries === VOID ? this.s3q().g21() : otherLibraries;
|
|
220
|
+
flags = flags === VOID ? this.s3q().j21() : flags;
|
|
221
|
+
staticKb = staticKb === VOID ? this.s3q().m21() : staticKb;
|
|
222
|
+
dynamicKb = dynamicKb === VOID ? this.s3q().n21() : dynamicKb;
|
|
223
|
+
stdIn = stdIn === VOID ? this.s3q().o21() : stdIn;
|
|
224
|
+
stdOut = stdOut === VOID ? this.s3q().p21() : stdOut;
|
|
225
|
+
stdErr = stdErr === VOID ? this.s3q().q21() : stdErr;
|
|
226
|
+
warnings = warnings === VOID ? this.s3q().r21() : warnings;
|
|
227
|
+
return $super === VOID ? this.y21(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) : solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
229
228
|
}
|
|
230
229
|
function staticKbByArray(clauses) {
|
|
231
|
-
return this.
|
|
230
|
+
return this.t3q().loadStaticClauses(clauses.slice());
|
|
232
231
|
}
|
|
233
232
|
function staticKbByIterable(clauses) {
|
|
234
|
-
return this.
|
|
233
|
+
return this.t3q().loadStaticClausesIterable(clauses);
|
|
235
234
|
}
|
|
236
235
|
function staticKbBySequence(clauses) {
|
|
237
|
-
return this.
|
|
236
|
+
return this.t3q().loadStaticClausesSequence(clauses);
|
|
238
237
|
}
|
|
239
238
|
function staticKbByTheory(theory) {
|
|
240
|
-
return this.
|
|
239
|
+
return this.t3q().loadStaticKb(theory);
|
|
241
240
|
}
|
|
242
241
|
function dynamicKbByArray(clauses) {
|
|
243
|
-
return this.
|
|
242
|
+
return this.t3q().loadDynamicClauses(clauses.slice());
|
|
244
243
|
}
|
|
245
244
|
function dynamicKbByIterable(clauses) {
|
|
246
|
-
return this.
|
|
245
|
+
return this.t3q().loadDynamicClausesIterable(clauses);
|
|
247
246
|
}
|
|
248
247
|
function dynamicKbBySequence(clauses) {
|
|
249
|
-
return this.
|
|
248
|
+
return this.t3q().loadDynamicClausesSequence(clauses);
|
|
250
249
|
}
|
|
251
250
|
function dynamicKbByTheory(theory) {
|
|
252
|
-
return this.
|
|
251
|
+
return this.t3q().loadDynamicKb(theory);
|
|
253
252
|
}
|
|
254
253
|
initMetadataForInterface(LogicProgrammingScopeWithResolution, 'LogicProgrammingScopeWithResolution', VOID, VOID, [Unificator, BaseLogicProgrammingScope, MutableSolver]);
|
|
255
|
-
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [
|
|
254
|
+
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithResolution, LogicProgrammingScopeWithUnification, MinimalLogicProgrammingScope, LogicProgrammingScopeWithTheories, BaseLogicProgrammingScope, Scope, LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithPrologStandardLibrary, Unificator, TheoryFactory, MutableSolver]);
|
|
256
255
|
//endregion
|
|
257
|
-
function prolog(unificator, function_0) {
|
|
258
|
-
unificator = unificator === VOID ? Companion_getInstance().a21().f21() : unificator;
|
|
259
|
-
return logicProgramming(Companion_getInstance().a21(), unificator, function_0);
|
|
260
|
-
}
|
|
261
|
-
function logicProgramming(solverFactory, unificator, function_0) {
|
|
262
|
-
unificator = unificator === VOID ? solverFactory.f21() : unificator;
|
|
263
|
-
return function_0(Companion_instance_2.ofSolverFactory(solverFactory, unificator));
|
|
264
|
-
}
|
|
265
256
|
function Companion() {
|
|
266
257
|
}
|
|
267
|
-
protoOf(Companion).
|
|
268
|
-
return _this__u8e3s4.
|
|
258
|
+
protoOf(Companion).i3q = function (_this__u8e3s4, unificator) {
|
|
259
|
+
return _this__u8e3s4.i21() === unificator ? _this__u8e3s4 : _this__u8e3s4.newBuilder().setUnificator(unificator).toFactory();
|
|
269
260
|
};
|
|
270
|
-
protoOf(Companion).
|
|
271
|
-
return LogicProgrammingScopeImpl_init_$Create$(scope, termificator.
|
|
261
|
+
protoOf(Companion).j3q = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) {
|
|
262
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, termificator.t1j() === scope ? termificator : termificator.u1j(scope), variablesProvider.t1j() === scope ? variablesProvider : variablesProvider.u1j(scope), unificator, theoryFactory.i1o() === unificator ? theoryFactory : theoryFactory.a1w(unificator), this.i3q(solverFactory, unificator));
|
|
272
263
|
};
|
|
273
264
|
protoOf(Companion).of = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, $super) {
|
|
274
265
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
275
266
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
276
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
277
|
-
unificator = unificator === VOID ?
|
|
267
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.h16(scope) : variablesProvider;
|
|
268
|
+
unificator = unificator === VOID ? Companion_getInstance().b1o() : unificator;
|
|
278
269
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
279
|
-
return $super === VOID ? this.
|
|
270
|
+
return $super === VOID ? this.j3q(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) : $super.j3q.call(this, scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
280
271
|
};
|
|
281
|
-
protoOf(Companion).
|
|
282
|
-
return this.
|
|
272
|
+
protoOf(Companion).k3q = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) {
|
|
273
|
+
return this.j3q(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
283
274
|
};
|
|
284
275
|
protoOf(Companion).ofSolverFactory = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory, $super) {
|
|
285
|
-
unificator = unificator === VOID ? solverFactory.
|
|
276
|
+
unificator = unificator === VOID ? solverFactory.i21() : unificator;
|
|
286
277
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
287
278
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
288
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
279
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.h16(scope) : variablesProvider;
|
|
289
280
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
290
|
-
return $super === VOID ? this.
|
|
281
|
+
return $super === VOID ? this.k3q(solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) : $super.k3q.call(this, solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory);
|
|
291
282
|
};
|
|
292
283
|
var Companion_instance_2;
|
|
293
|
-
function
|
|
284
|
+
function Companion_getInstance_0() {
|
|
294
285
|
return Companion_instance_2;
|
|
295
286
|
}
|
|
296
287
|
function LogicProgrammingScopeImpl_init_$Init$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, $this) {
|
|
@@ -301,485 +292,491 @@
|
|
|
301
292
|
return LogicProgrammingScopeImpl_init_$Init$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, objectCreate(protoOf(LogicProgrammingScopeImpl)));
|
|
302
293
|
}
|
|
303
294
|
function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, defaultSolver) {
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
295
|
+
this.l3q_1 = scope;
|
|
296
|
+
this.m3q_1 = termificator;
|
|
297
|
+
this.n3q_1 = variablesProvider;
|
|
298
|
+
this.o3q_1 = unificator;
|
|
299
|
+
this.p3q_1 = theoryFactory;
|
|
300
|
+
this.q3q_1 = solverFactory;
|
|
301
|
+
this.r3q_1 = defaultSolver;
|
|
311
302
|
// Inline function 'kotlin.require' call
|
|
312
|
-
if (!(this.
|
|
303
|
+
if (!(this.l3q_1 === this.n3q_1.t1j() && this.l3q_1 === this.m3q_1.t1j())) {
|
|
313
304
|
var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
|
|
314
305
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
315
306
|
}
|
|
316
307
|
// Inline function 'kotlin.require' call
|
|
317
|
-
if (!(equals(this.
|
|
308
|
+
if (!(equals(this.o3q_1, this.p3q_1.i1o()) && equals(this.o3q_1, this.q3q_1.i21()) && equals(this.o3q_1, this.r3q_1.i1o()))) {
|
|
318
309
|
var message_0 = 'The provided Unificator should be the same object for both Solver, SolverFactory, and TheoryFactory';
|
|
319
310
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
320
311
|
}
|
|
321
312
|
}
|
|
322
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
323
|
-
return this.
|
|
313
|
+
protoOf(LogicProgrammingScopeImpl).t1j = function () {
|
|
314
|
+
return this.l3q_1;
|
|
324
315
|
};
|
|
325
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
326
|
-
return this.
|
|
316
|
+
protoOf(LogicProgrammingScopeImpl).m3p = function () {
|
|
317
|
+
return this.m3q_1;
|
|
327
318
|
};
|
|
328
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
329
|
-
return this.
|
|
319
|
+
protoOf(LogicProgrammingScopeImpl).i1o = function () {
|
|
320
|
+
return this.o3q_1;
|
|
330
321
|
};
|
|
331
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
332
|
-
return this.
|
|
322
|
+
protoOf(LogicProgrammingScopeImpl).s3q = function () {
|
|
323
|
+
return this.q3q_1;
|
|
333
324
|
};
|
|
334
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
335
|
-
return this.
|
|
325
|
+
protoOf(LogicProgrammingScopeImpl).t3q = function () {
|
|
326
|
+
return this.r3q_1;
|
|
336
327
|
};
|
|
337
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
338
|
-
return this.
|
|
328
|
+
protoOf(LogicProgrammingScopeImpl).r3p = function () {
|
|
329
|
+
return this.u1j(Companion_instance.empty());
|
|
339
330
|
};
|
|
340
331
|
protoOf(LogicProgrammingScopeImpl).newScope = function () {
|
|
341
|
-
return this.
|
|
332
|
+
return this.r3p();
|
|
342
333
|
};
|
|
343
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
344
|
-
return LogicProgrammingScopeImpl_init_$Create$(scope, this.
|
|
334
|
+
protoOf(LogicProgrammingScopeImpl).u1j = function (scope) {
|
|
335
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, this.m3q_1.u1j(scope), this.n3q_1.u1j(scope), this.o3q_1, this.p3q_1, this.q3q_1);
|
|
345
336
|
};
|
|
346
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
347
|
-
return LogicProgrammingScopeImpl_init_$Create$(this.
|
|
337
|
+
protoOf(LogicProgrammingScopeImpl).a1w = function (unificator) {
|
|
338
|
+
return LogicProgrammingScopeImpl_init_$Create$(this.l3q_1, this.m3q_1, this.n3q_1, unificator, this.p3q_1.a1w(unificator), Companion_instance_2.i3q(this.q3q_1, unificator));
|
|
348
339
|
};
|
|
349
340
|
protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
|
|
350
|
-
return this.
|
|
341
|
+
return this.n3q_1.structOf(functor, args);
|
|
351
342
|
};
|
|
352
343
|
protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
|
|
353
|
-
return this.
|
|
344
|
+
return this.n3q_1.structOfSequence(functor, args);
|
|
354
345
|
};
|
|
355
346
|
protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
|
|
356
|
-
return this.
|
|
347
|
+
return this.n3q_1.structOfIterable(functor, args);
|
|
357
348
|
};
|
|
358
349
|
protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
|
|
359
|
-
return this.
|
|
350
|
+
return this.n3q_1.structOfList(functor, args);
|
|
360
351
|
};
|
|
361
352
|
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
362
|
-
return this.
|
|
353
|
+
return this.n3q_1.tupleOf(terms);
|
|
363
354
|
};
|
|
364
355
|
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
365
|
-
return this.
|
|
356
|
+
return this.n3q_1.tupleOfIterable(terms);
|
|
366
357
|
};
|
|
367
358
|
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
368
|
-
return this.
|
|
359
|
+
return this.n3q_1.tupleOfSequence(terms);
|
|
369
360
|
};
|
|
370
361
|
protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
|
|
371
|
-
return this.
|
|
362
|
+
return this.n3q_1.logicListOf(terms);
|
|
372
363
|
};
|
|
373
364
|
protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
|
|
374
|
-
return this.
|
|
365
|
+
return this.n3q_1.logicListOfIterable(terms);
|
|
375
366
|
};
|
|
376
367
|
protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
|
|
377
|
-
return this.
|
|
368
|
+
return this.n3q_1.logicListOfSequence(terms);
|
|
378
369
|
};
|
|
379
370
|
protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
|
|
380
|
-
return this.
|
|
371
|
+
return this.n3q_1.blockOf(terms);
|
|
381
372
|
};
|
|
382
373
|
protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
|
|
383
|
-
return this.
|
|
374
|
+
return this.n3q_1.blockOfIterable(terms);
|
|
384
375
|
};
|
|
385
376
|
protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
|
|
386
|
-
return this.
|
|
377
|
+
return this.n3q_1.blockOfSequence(terms);
|
|
387
378
|
};
|
|
388
379
|
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
389
|
-
return this.
|
|
380
|
+
return this.n3q_1.factOf(head);
|
|
390
381
|
};
|
|
391
382
|
protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
|
|
392
|
-
return this.
|
|
383
|
+
return this.n3q_1.consOf(head, tail);
|
|
393
384
|
};
|
|
394
385
|
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
395
|
-
return this.
|
|
386
|
+
return this.n3q_1.directiveOf(body1, body);
|
|
396
387
|
};
|
|
397
388
|
protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
|
|
398
|
-
return this.
|
|
389
|
+
return this.n3q_1.containsVar(variable);
|
|
399
390
|
};
|
|
400
391
|
protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
|
|
401
|
-
return this.
|
|
392
|
+
return this.n3q_1.contains(variable);
|
|
402
393
|
};
|
|
403
394
|
protoOf(LogicProgrammingScopeImpl).get = function (variable) {
|
|
404
|
-
return this.
|
|
395
|
+
return this.n3q_1.get(variable);
|
|
405
396
|
};
|
|
406
397
|
protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
|
|
407
|
-
return this.
|
|
398
|
+
return this.n3q_1.where(lambda);
|
|
408
399
|
};
|
|
409
400
|
protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
|
|
410
|
-
return this.
|
|
401
|
+
return this.n3q_1.with(lambda);
|
|
411
402
|
};
|
|
412
403
|
protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
|
|
413
|
-
return this.
|
|
404
|
+
return this.n3q_1.varOf(name);
|
|
414
405
|
};
|
|
415
406
|
protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
|
|
416
|
-
return this.
|
|
407
|
+
return this.n3q_1.varOfChar(name);
|
|
417
408
|
};
|
|
418
409
|
protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
|
|
419
|
-
return this.
|
|
410
|
+
return this.n3q_1.atomOf(value);
|
|
420
411
|
};
|
|
421
412
|
protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
|
|
422
|
-
return this.
|
|
413
|
+
return this.n3q_1.atomOfChar(value);
|
|
423
414
|
};
|
|
424
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
425
|
-
return this.
|
|
415
|
+
protoOf(LogicProgrammingScopeImpl).u12 = function (terms, last) {
|
|
416
|
+
return this.n3q_1.u12(terms, last);
|
|
426
417
|
};
|
|
427
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
428
|
-
return this.
|
|
418
|
+
protoOf(LogicProgrammingScopeImpl).v12 = function (terms, last) {
|
|
419
|
+
return this.n3q_1.v12(terms, last);
|
|
429
420
|
};
|
|
430
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
431
|
-
return this.
|
|
421
|
+
protoOf(LogicProgrammingScopeImpl).w12 = function (terms, last) {
|
|
422
|
+
return this.n3q_1.w12(terms, last);
|
|
432
423
|
};
|
|
433
424
|
protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
|
|
434
|
-
return this.
|
|
425
|
+
return this.n3q_1.ruleOf(head, body1, body);
|
|
435
426
|
};
|
|
436
427
|
protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
|
|
437
|
-
return this.
|
|
428
|
+
return this.n3q_1.clauseOf(head, body);
|
|
438
429
|
};
|
|
439
430
|
protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
|
|
440
|
-
return this.
|
|
431
|
+
return this.n3q_1.indicatorOf(name, arity);
|
|
441
432
|
};
|
|
442
433
|
protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
443
|
-
return this.
|
|
434
|
+
return this.n3q_1.indicatorOfStringInt(name, arity);
|
|
444
435
|
};
|
|
445
436
|
protoOf(LogicProgrammingScopeImpl).anonymous = function () {
|
|
446
|
-
return this.
|
|
437
|
+
return this.n3q_1.anonymous();
|
|
447
438
|
};
|
|
448
439
|
protoOf(LogicProgrammingScopeImpl).whatever = function () {
|
|
449
|
-
return this.
|
|
440
|
+
return this.n3q_1.whatever();
|
|
450
441
|
};
|
|
451
442
|
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
452
|
-
return this.
|
|
443
|
+
return this.n3q_1.numOfBigDecimal(value);
|
|
453
444
|
};
|
|
454
445
|
protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
|
|
455
|
-
return this.
|
|
446
|
+
return this.n3q_1.numOfDouble(value);
|
|
456
447
|
};
|
|
457
448
|
protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
|
|
458
|
-
return this.
|
|
449
|
+
return this.n3q_1.numOfFloat(value);
|
|
459
450
|
};
|
|
460
451
|
protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
|
|
461
|
-
return this.
|
|
452
|
+
return this.n3q_1.numOfBigInteger(value);
|
|
462
453
|
};
|
|
463
454
|
protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
|
|
464
|
-
return this.
|
|
455
|
+
return this.n3q_1.numOfInt(value);
|
|
465
456
|
};
|
|
466
457
|
protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
|
|
467
|
-
return this.
|
|
458
|
+
return this.n3q_1.numOfLong(value);
|
|
468
459
|
};
|
|
469
460
|
protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
|
|
470
|
-
return this.
|
|
461
|
+
return this.n3q_1.numOfShort(value);
|
|
471
462
|
};
|
|
472
463
|
protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
|
|
473
|
-
return this.
|
|
464
|
+
return this.n3q_1.numOfByte(value);
|
|
474
465
|
};
|
|
475
466
|
protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
|
|
476
|
-
return this.
|
|
467
|
+
return this.n3q_1.parseNum(value);
|
|
477
468
|
};
|
|
478
469
|
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
479
|
-
return this.
|
|
470
|
+
return this.n3q_1.numOf(value);
|
|
480
471
|
};
|
|
481
472
|
protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
|
|
482
|
-
return this.
|
|
473
|
+
return this.n3q_1.intOfBigInteger(value);
|
|
483
474
|
};
|
|
484
475
|
protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
|
|
485
|
-
return this.
|
|
476
|
+
return this.n3q_1.intOf(value);
|
|
486
477
|
};
|
|
487
478
|
protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
|
|
488
|
-
return this.
|
|
479
|
+
return this.n3q_1.intOfLong(value);
|
|
489
480
|
};
|
|
490
481
|
protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
|
|
491
|
-
return this.
|
|
482
|
+
return this.n3q_1.intOfShort(value);
|
|
492
483
|
};
|
|
493
484
|
protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
|
|
494
|
-
return this.
|
|
485
|
+
return this.n3q_1.intOfByte(value);
|
|
495
486
|
};
|
|
496
487
|
protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
|
|
497
|
-
return this.
|
|
488
|
+
return this.n3q_1.parseInt(value);
|
|
498
489
|
};
|
|
499
490
|
protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
|
|
500
|
-
return this.
|
|
491
|
+
return this.n3q_1.parseIntRadix(value, radix);
|
|
501
492
|
};
|
|
502
493
|
protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
|
|
503
|
-
return this.
|
|
494
|
+
return this.n3q_1.realOfBigDecimal(value);
|
|
504
495
|
};
|
|
505
496
|
protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
|
|
506
|
-
return this.
|
|
497
|
+
return this.n3q_1.realOf(value);
|
|
507
498
|
};
|
|
508
499
|
protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
|
|
509
|
-
return this.
|
|
500
|
+
return this.n3q_1.realOfFloat(value);
|
|
510
501
|
};
|
|
511
502
|
protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
|
|
512
|
-
return this.
|
|
503
|
+
return this.n3q_1.parseReal(value);
|
|
513
504
|
};
|
|
514
505
|
protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
|
|
515
|
-
return this.
|
|
506
|
+
return this.n3q_1.truthOf(value);
|
|
516
507
|
};
|
|
517
508
|
protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
|
|
518
|
-
return this.
|
|
509
|
+
return this.n3q_1.unifierOf(assignments);
|
|
519
510
|
};
|
|
520
511
|
protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
|
|
521
|
-
return this.
|
|
512
|
+
return this.n3q_1.unifierOfIterable(assignments);
|
|
522
513
|
};
|
|
523
514
|
protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
|
|
524
|
-
return this.
|
|
515
|
+
return this.n3q_1.unifierOfSequence(assignments);
|
|
525
516
|
};
|
|
526
517
|
protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
|
|
527
|
-
return this.
|
|
518
|
+
return this.n3q_1.substitutionOf(assignments);
|
|
528
519
|
};
|
|
529
520
|
protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
|
|
530
|
-
return this.
|
|
521
|
+
return this.n3q_1.substitutionOfIterable(assignments);
|
|
531
522
|
};
|
|
532
523
|
protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
|
|
533
|
-
return this.
|
|
524
|
+
return this.n3q_1.substitutionOfSequence(assignments);
|
|
534
525
|
};
|
|
535
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
536
|
-
return this.
|
|
526
|
+
protoOf(LogicProgrammingScopeImpl).s12 = function () {
|
|
527
|
+
return this.n3q_1.s12();
|
|
537
528
|
};
|
|
538
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
539
|
-
return this.
|
|
529
|
+
protoOf(LogicProgrammingScopeImpl).t12 = function () {
|
|
530
|
+
return this.n3q_1.t12();
|
|
540
531
|
};
|
|
541
532
|
protoOf(LogicProgrammingScopeImpl).retract = function (clause) {
|
|
542
|
-
return this.
|
|
533
|
+
return this.r3q_1.retract(clause);
|
|
543
534
|
};
|
|
544
535
|
protoOf(LogicProgrammingScopeImpl).retractByHead = function (fact) {
|
|
545
|
-
return this.
|
|
536
|
+
return this.r3q_1.retractByHead(fact);
|
|
546
537
|
};
|
|
547
538
|
protoOf(LogicProgrammingScopeImpl).solveWithTimeout = function (goal, timeout) {
|
|
548
|
-
return this.
|
|
539
|
+
return this.r3q_1.solveWithTimeout(goal, timeout);
|
|
549
540
|
};
|
|
550
541
|
protoOf(LogicProgrammingScopeImpl).solve = function (goal) {
|
|
551
|
-
return this.
|
|
542
|
+
return this.r3q_1.solve(goal);
|
|
552
543
|
};
|
|
553
544
|
protoOf(LogicProgrammingScopeImpl).solveWithOptions = function (goal, options) {
|
|
554
|
-
return this.
|
|
545
|
+
return this.r3q_1.solveWithOptions(goal, options);
|
|
555
546
|
};
|
|
556
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
557
|
-
return this.
|
|
547
|
+
protoOf(LogicProgrammingScopeImpl).o1z = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
548
|
+
return this.r3q_1.o1z(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
558
549
|
};
|
|
559
550
|
protoOf(LogicProgrammingScopeImpl).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
560
551
|
return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof LogicProgrammingScopeImpl) ? $super : THROW_CCE());
|
|
561
552
|
};
|
|
562
553
|
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
563
|
-
return this.
|
|
554
|
+
return this.n3q_1.getValue(thisRef, property);
|
|
555
|
+
};
|
|
556
|
+
protoOf(LogicProgrammingScopeImpl).w1j = function () {
|
|
557
|
+
return this.n3q_1.w1j();
|
|
564
558
|
};
|
|
565
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
566
|
-
return this.
|
|
559
|
+
protoOf(LogicProgrammingScopeImpl).x1j = function () {
|
|
560
|
+
return this.n3q_1.x1j();
|
|
567
561
|
};
|
|
568
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
569
|
-
return this.
|
|
562
|
+
protoOf(LogicProgrammingScopeImpl).y1j = function () {
|
|
563
|
+
return this.n3q_1.y1j();
|
|
570
564
|
};
|
|
571
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
572
|
-
return this.
|
|
565
|
+
protoOf(LogicProgrammingScopeImpl).z1j = function () {
|
|
566
|
+
return this.n3q_1.z1j();
|
|
567
|
+
};
|
|
568
|
+
protoOf(LogicProgrammingScopeImpl).z1l = function (term1, term2, occurCheckEnabled) {
|
|
569
|
+
return this.o3q_1.z1l(term1, term2, occurCheckEnabled);
|
|
573
570
|
};
|
|
574
571
|
protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
|
|
575
|
-
return this.
|
|
572
|
+
return this.o3q_1.mgu(term1, term2);
|
|
576
573
|
};
|
|
577
574
|
protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
578
|
-
return this.
|
|
575
|
+
return this.o3q_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
579
576
|
};
|
|
580
577
|
protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
|
|
581
|
-
return this.
|
|
578
|
+
return this.o3q_1.match(term1, term2);
|
|
582
579
|
};
|
|
583
580
|
protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
584
|
-
return this.
|
|
581
|
+
return this.o3q_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
585
582
|
};
|
|
586
583
|
protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
|
|
587
|
-
return this.
|
|
584
|
+
return this.o3q_1.unify(term1, term2);
|
|
588
585
|
};
|
|
589
586
|
protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
|
|
590
|
-
return this.
|
|
587
|
+
return this.o3q_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
|
|
591
588
|
};
|
|
592
589
|
protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
|
|
593
|
-
return this.
|
|
590
|
+
return this.o3q_1.merge(substitution1, substitution2);
|
|
594
591
|
};
|
|
595
592
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
596
|
-
return this.
|
|
593
|
+
return this.p3q_1.theoryOfIterableWithUnificator(clauses, unificator);
|
|
597
594
|
};
|
|
598
595
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
|
|
599
|
-
return this.
|
|
596
|
+
return this.p3q_1.theoryOfIterable(clauses);
|
|
600
597
|
};
|
|
601
598
|
protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
|
|
602
|
-
return this.
|
|
599
|
+
return this.p3q_1.theoryOfWithUnificator(unificator, clauses);
|
|
603
600
|
};
|
|
604
601
|
protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
|
|
605
|
-
return this.
|
|
602
|
+
return this.p3q_1.theoryOf(clauses);
|
|
606
603
|
};
|
|
607
604
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
608
|
-
return this.
|
|
605
|
+
return this.p3q_1.theoryOfSequenceWithUnificator(clauses, unificator);
|
|
609
606
|
};
|
|
610
607
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
|
|
611
|
-
return this.
|
|
608
|
+
return this.p3q_1.theoryOfSequence(clauses);
|
|
612
609
|
};
|
|
613
610
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
614
|
-
return this.
|
|
611
|
+
return this.p3q_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
|
|
615
612
|
};
|
|
616
613
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
|
|
617
|
-
return this.
|
|
614
|
+
return this.p3q_1.mutableTheoryOfIterable(clauses);
|
|
618
615
|
};
|
|
619
616
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
|
|
620
|
-
return this.
|
|
617
|
+
return this.p3q_1.mutableTheoryOfWithUnificator(unificator, clauses);
|
|
621
618
|
};
|
|
622
619
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
|
|
623
|
-
return this.
|
|
620
|
+
return this.p3q_1.mutableTheoryOf(clauses);
|
|
624
621
|
};
|
|
625
622
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
626
|
-
return this.
|
|
623
|
+
return this.p3q_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
|
|
627
624
|
};
|
|
628
625
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
|
|
629
|
-
return this.
|
|
626
|
+
return this.p3q_1.mutableTheoryOfSequence(clauses);
|
|
630
627
|
};
|
|
631
628
|
protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
|
|
632
|
-
return this.
|
|
629
|
+
return this.p3q_1.emptyTheoryWithUnificator(unificator);
|
|
633
630
|
};
|
|
634
631
|
protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
|
|
635
|
-
return this.
|
|
632
|
+
return this.p3q_1.emptyTheory();
|
|
636
633
|
};
|
|
637
634
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
638
|
-
return this.
|
|
635
|
+
return this.p3q_1.emptyMutableTheoryWithUnificator(unificator);
|
|
639
636
|
};
|
|
640
637
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
|
|
641
|
-
return this.
|
|
638
|
+
return this.p3q_1.emptyMutableTheory();
|
|
642
639
|
};
|
|
643
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
644
|
-
return this.
|
|
640
|
+
protoOf(LogicProgrammingScopeImpl).j1y = function () {
|
|
641
|
+
return this.r3q_1.j1y();
|
|
645
642
|
};
|
|
646
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
647
|
-
return this.
|
|
643
|
+
protoOf(LogicProgrammingScopeImpl).k1y = function () {
|
|
644
|
+
return this.r3q_1.k1y();
|
|
648
645
|
};
|
|
649
646
|
protoOf(LogicProgrammingScopeImpl).loadLibrary = function (library) {
|
|
650
|
-
this.
|
|
647
|
+
this.r3q_1.loadLibrary(library);
|
|
651
648
|
};
|
|
652
649
|
protoOf(LogicProgrammingScopeImpl).unloadLibrary = function (library) {
|
|
653
|
-
this.
|
|
650
|
+
this.r3q_1.unloadLibrary(library);
|
|
654
651
|
};
|
|
655
652
|
protoOf(LogicProgrammingScopeImpl).setLibraries = function (libraries) {
|
|
656
|
-
this.
|
|
653
|
+
this.r3q_1.setLibraries(libraries);
|
|
657
654
|
};
|
|
658
655
|
protoOf(LogicProgrammingScopeImpl).loadStaticKb = function (theory) {
|
|
659
|
-
this.
|
|
656
|
+
this.r3q_1.loadStaticKb(theory);
|
|
660
657
|
};
|
|
661
658
|
protoOf(LogicProgrammingScopeImpl).loadStaticClauses = function (clauses) {
|
|
662
|
-
this.
|
|
659
|
+
this.r3q_1.loadStaticClauses(clauses);
|
|
663
660
|
};
|
|
664
661
|
protoOf(LogicProgrammingScopeImpl).loadStaticClausesIterable = function (clauses) {
|
|
665
|
-
this.
|
|
662
|
+
this.r3q_1.loadStaticClausesIterable(clauses);
|
|
666
663
|
};
|
|
667
664
|
protoOf(LogicProgrammingScopeImpl).loadStaticClausesSequence = function (clauses) {
|
|
668
|
-
this.
|
|
665
|
+
this.r3q_1.loadStaticClausesSequence(clauses);
|
|
669
666
|
};
|
|
670
667
|
protoOf(LogicProgrammingScopeImpl).appendStaticKb = function (theory) {
|
|
671
|
-
this.
|
|
668
|
+
this.r3q_1.appendStaticKb(theory);
|
|
672
669
|
};
|
|
673
670
|
protoOf(LogicProgrammingScopeImpl).resetStaticKb = function () {
|
|
674
|
-
this.
|
|
671
|
+
this.r3q_1.resetStaticKb();
|
|
675
672
|
};
|
|
676
673
|
protoOf(LogicProgrammingScopeImpl).loadDynamicKb = function (theory) {
|
|
677
|
-
this.
|
|
674
|
+
this.r3q_1.loadDynamicKb(theory);
|
|
678
675
|
};
|
|
679
676
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClauses = function (clauses) {
|
|
680
|
-
this.
|
|
677
|
+
this.r3q_1.loadDynamicClauses(clauses);
|
|
681
678
|
};
|
|
682
679
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesIterable = function (clauses) {
|
|
683
|
-
this.
|
|
680
|
+
this.r3q_1.loadDynamicClausesIterable(clauses);
|
|
684
681
|
};
|
|
685
682
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesSequence = function (clauses) {
|
|
686
|
-
this.
|
|
683
|
+
this.r3q_1.loadDynamicClausesSequence(clauses);
|
|
687
684
|
};
|
|
688
685
|
protoOf(LogicProgrammingScopeImpl).appendDynamicKb = function (theory) {
|
|
689
|
-
this.
|
|
686
|
+
this.r3q_1.appendDynamicKb(theory);
|
|
690
687
|
};
|
|
691
688
|
protoOf(LogicProgrammingScopeImpl).resetDynamicKb = function () {
|
|
692
|
-
this.
|
|
689
|
+
this.r3q_1.resetDynamicKb();
|
|
693
690
|
};
|
|
694
691
|
protoOf(LogicProgrammingScopeImpl).assertA = function (clause) {
|
|
695
|
-
this.
|
|
692
|
+
this.r3q_1.assertA(clause);
|
|
696
693
|
};
|
|
697
694
|
protoOf(LogicProgrammingScopeImpl).assertAFact = function (fact) {
|
|
698
|
-
this.
|
|
695
|
+
this.r3q_1.assertAFact(fact);
|
|
699
696
|
};
|
|
700
697
|
protoOf(LogicProgrammingScopeImpl).assertZ = function (clause) {
|
|
701
|
-
this.
|
|
698
|
+
this.r3q_1.assertZ(clause);
|
|
702
699
|
};
|
|
703
700
|
protoOf(LogicProgrammingScopeImpl).assertZFact = function (fact) {
|
|
704
|
-
this.
|
|
701
|
+
this.r3q_1.assertZFact(fact);
|
|
705
702
|
};
|
|
706
703
|
protoOf(LogicProgrammingScopeImpl).retractAll = function (clause) {
|
|
707
|
-
return this.
|
|
704
|
+
return this.r3q_1.retractAll(clause);
|
|
708
705
|
};
|
|
709
706
|
protoOf(LogicProgrammingScopeImpl).retractAllBeHead = function (fact) {
|
|
710
|
-
return this.
|
|
707
|
+
return this.r3q_1.retractAllBeHead(fact);
|
|
711
708
|
};
|
|
712
709
|
protoOf(LogicProgrammingScopeImpl).setFlag = function (name, value) {
|
|
713
|
-
this.
|
|
710
|
+
this.r3q_1.setFlag(name, value);
|
|
714
711
|
};
|
|
715
712
|
protoOf(LogicProgrammingScopeImpl).setFlagPair = function (flag) {
|
|
716
|
-
this.
|
|
713
|
+
this.r3q_1.setFlagPair(flag);
|
|
717
714
|
};
|
|
718
715
|
protoOf(LogicProgrammingScopeImpl).setFlagNotable = function (flag) {
|
|
719
|
-
this.
|
|
716
|
+
this.r3q_1.setFlagNotable(flag);
|
|
720
717
|
};
|
|
721
718
|
protoOf(LogicProgrammingScopeImpl).setStandardInput = function (stdIn) {
|
|
722
|
-
this.
|
|
719
|
+
this.r3q_1.setStandardInput(stdIn);
|
|
723
720
|
};
|
|
724
721
|
protoOf(LogicProgrammingScopeImpl).setStandardError = function (stdErr) {
|
|
725
|
-
this.
|
|
722
|
+
this.r3q_1.setStandardError(stdErr);
|
|
726
723
|
};
|
|
727
724
|
protoOf(LogicProgrammingScopeImpl).setStandardOutput = function (stdOut) {
|
|
728
|
-
this.
|
|
725
|
+
this.r3q_1.setStandardOutput(stdOut);
|
|
729
726
|
};
|
|
730
727
|
protoOf(LogicProgrammingScopeImpl).setWarnings = function (warnings) {
|
|
731
|
-
this.
|
|
728
|
+
this.r3q_1.setWarnings(warnings);
|
|
732
729
|
};
|
|
733
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
734
|
-
return this.
|
|
730
|
+
protoOf(LogicProgrammingScopeImpl).x1v = function () {
|
|
731
|
+
return this.r3q_1.x1v();
|
|
735
732
|
};
|
|
736
733
|
protoOf(LogicProgrammingScopeImpl).clone = function () {
|
|
737
|
-
return this.
|
|
734
|
+
return this.x1v();
|
|
738
735
|
};
|
|
739
736
|
protoOf(LogicProgrammingScopeImpl).solveListWithTimeout = function (goal, timeout) {
|
|
740
|
-
return this.
|
|
737
|
+
return this.r3q_1.solveListWithTimeout(goal, timeout);
|
|
741
738
|
};
|
|
742
739
|
protoOf(LogicProgrammingScopeImpl).solveList = function (goal) {
|
|
743
|
-
return this.
|
|
740
|
+
return this.r3q_1.solveList(goal);
|
|
744
741
|
};
|
|
745
742
|
protoOf(LogicProgrammingScopeImpl).solveListWithOptions = function (goal, options) {
|
|
746
|
-
return this.
|
|
743
|
+
return this.r3q_1.solveListWithOptions(goal, options);
|
|
747
744
|
};
|
|
748
745
|
protoOf(LogicProgrammingScopeImpl).solveOnceWithTimeout = function (goal, timeout) {
|
|
749
|
-
return this.
|
|
746
|
+
return this.r3q_1.solveOnceWithTimeout(goal, timeout);
|
|
750
747
|
};
|
|
751
748
|
protoOf(LogicProgrammingScopeImpl).solveOnce = function (goal) {
|
|
752
|
-
return this.
|
|
749
|
+
return this.r3q_1.solveOnce(goal);
|
|
753
750
|
};
|
|
754
751
|
protoOf(LogicProgrammingScopeImpl).solveOnceWithOptions = function (goal, options) {
|
|
755
|
-
return this.
|
|
752
|
+
return this.r3q_1.solveOnceWithOptions(goal, options);
|
|
756
753
|
};
|
|
757
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
758
|
-
return this.
|
|
754
|
+
protoOf(LogicProgrammingScopeImpl).h1y = function () {
|
|
755
|
+
return this.r3q_1.h1y();
|
|
759
756
|
};
|
|
760
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
761
|
-
return this.
|
|
757
|
+
protoOf(LogicProgrammingScopeImpl).i1y = function () {
|
|
758
|
+
return this.r3q_1.i1y();
|
|
762
759
|
};
|
|
763
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
764
|
-
return this.
|
|
760
|
+
protoOf(LogicProgrammingScopeImpl).q1y = function () {
|
|
761
|
+
return this.r3q_1.q1y();
|
|
765
762
|
};
|
|
766
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
767
|
-
return this.
|
|
763
|
+
protoOf(LogicProgrammingScopeImpl).l1y = function () {
|
|
764
|
+
return this.r3q_1.l1y();
|
|
768
765
|
};
|
|
769
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
770
|
-
return this.
|
|
766
|
+
protoOf(LogicProgrammingScopeImpl).m1y = function () {
|
|
767
|
+
return this.r3q_1.m1y();
|
|
771
768
|
};
|
|
772
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
773
|
-
return this.
|
|
769
|
+
protoOf(LogicProgrammingScopeImpl).r1y = function () {
|
|
770
|
+
return this.r3q_1.r1y();
|
|
774
771
|
};
|
|
775
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
776
|
-
return this.
|
|
772
|
+
protoOf(LogicProgrammingScopeImpl).s1y = function () {
|
|
773
|
+
return this.r3q_1.s1y();
|
|
777
774
|
};
|
|
778
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
779
|
-
return this.
|
|
775
|
+
protoOf(LogicProgrammingScopeImpl).t1y = function () {
|
|
776
|
+
return this.r3q_1.t1y();
|
|
780
777
|
};
|
|
781
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
782
|
-
return this.
|
|
778
|
+
protoOf(LogicProgrammingScopeImpl).u1y = function () {
|
|
779
|
+
return this.r3q_1.u1y();
|
|
783
780
|
};
|
|
784
781
|
function LogicProgrammingScopeWithResolution() {
|
|
785
782
|
}
|
|
@@ -798,7 +795,7 @@
|
|
|
798
795
|
protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
|
|
799
796
|
protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
|
|
800
797
|
protoOf(LogicProgrammingScopeImpl).withScope = withScope;
|
|
801
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
798
|
+
protoOf(LogicProgrammingScopeImpl).s3p = logicList;
|
|
802
799
|
protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
|
|
803
800
|
protoOf(LogicProgrammingScopeImpl).rule = rule;
|
|
804
801
|
protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
|
|
@@ -919,11 +916,11 @@
|
|
|
919
916
|
protoOf(LogicProgrammingScopeImpl).anyMguWith = anyMguWith;
|
|
920
917
|
protoOf(LogicProgrammingScopeImpl).anyMatches = anyMatches;
|
|
921
918
|
protoOf(LogicProgrammingScopeImpl).anyUnifyWith = anyUnifyWith;
|
|
922
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
919
|
+
protoOf(LogicProgrammingScopeImpl).x3p = mgu;
|
|
923
920
|
protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
|
|
924
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
921
|
+
protoOf(LogicProgrammingScopeImpl).y3p = match;
|
|
925
922
|
protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
|
|
926
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
923
|
+
protoOf(LogicProgrammingScopeImpl).z3p = unify;
|
|
927
924
|
protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
|
|
928
925
|
protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
|
|
929
926
|
protoOf(LogicProgrammingScopeImpl).theory = theory;
|
|
@@ -932,7 +929,7 @@
|
|
|
932
929
|
protoOf(LogicProgrammingScopeImpl).mutableTheory = mutableTheory;
|
|
933
930
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedSequences = mutableTheoryOfConcatenatedSequences;
|
|
934
931
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedIterables = mutableTheoryOfConcatenatedIterables;
|
|
935
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
932
|
+
protoOf(LogicProgrammingScopeImpl).y21 = solverOf;
|
|
936
933
|
protoOf(LogicProgrammingScopeImpl).solverOf = solverOf_0;
|
|
937
934
|
protoOf(LogicProgrammingScopeImpl).staticKbByArray = staticKbByArray;
|
|
938
935
|
protoOf(LogicProgrammingScopeImpl).staticKbByIterable = staticKbByIterable;
|
|
@@ -951,7 +948,6 @@
|
|
|
951
948
|
_.$_$.a = Companion_instance_2;
|
|
952
949
|
_.$_$.b = solverOf_0;
|
|
953
950
|
_.$_$.c = LogicProgrammingScopeWithResolution;
|
|
954
|
-
_.$_$.d = prolog;
|
|
955
951
|
//endregion
|
|
956
952
|
return _;
|
|
957
953
|
}));
|