@tuprolog/arg2p 0.16.7 → 0.16.8
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 +2734 -2734
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +406 -406
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +246 -246
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +156 -156
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +15 -15
- package/2p-dsl-unify.js.map +1 -1
- package/2p-io-lib.js +910 -910
- package/2p-io-lib.js.map +1 -1
- package/2p-parser-core.js +127 -127
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1572 -1572
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +91 -91
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve-prolog.js +972 -972
- package/2p-solve-prolog.js.map +1 -1
- package/2p-solve.js +4409 -4409
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1693 -1693
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +363 -363
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +448 -448
- package/2p-utils.js.map +1 -1
- package/arg2p-causality-solver.js +256 -256
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +3168 -2099
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +104 -104
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2682 -2647
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1544 -1544
- package/kt-math.js.map +1 -1
- package/okio-parent-okio-nodefilesystem.js +51 -51
- package/okio-parent-okio-nodefilesystem.js.map +1 -1
- package/okio-parent-okio.js +693 -693
- package/okio-parent-okio.js.map +1 -1
- package/package.json +1 -1
package/2p-dsl-theory.js
CHANGED
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
//region block: imports
|
|
30
30
|
var VOID = kotlin_kotlin.$_$.b;
|
|
31
31
|
var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
32
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
32
|
+
var protoOf = kotlin_kotlin.$_$.v7;
|
|
33
33
|
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
34
34
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a;
|
|
35
35
|
var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.c1;
|
|
36
36
|
var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
|
|
37
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
38
|
-
var toString = kotlin_kotlin.$_$.
|
|
39
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.j7;
|
|
38
|
+
var toString = kotlin_kotlin.$_$.y7;
|
|
39
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
40
40
|
var Unit_instance = kotlin_kotlin.$_$.q;
|
|
41
|
-
var equals = kotlin_kotlin.$_$.
|
|
41
|
+
var equals = kotlin_kotlin.$_$.b7;
|
|
42
42
|
var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.g1;
|
|
43
43
|
var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.e1;
|
|
44
44
|
var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.f1;
|
|
@@ -179,27 +179,27 @@
|
|
|
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 BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
183
|
-
var Scope = kotlin_it_unibo_tuprolog_core.$_$.a2;
|
|
184
|
-
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
185
|
-
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
186
|
-
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
187
182
|
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
183
|
+
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
184
|
+
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
188
185
|
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
186
|
+
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
187
|
+
var Scope = kotlin_it_unibo_tuprolog_core.$_$.a2;
|
|
188
|
+
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
189
189
|
var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
|
|
190
190
|
var TheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.f;
|
|
191
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
192
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
191
|
+
var initMetadataForClass = kotlin_kotlin.$_$.i7;
|
|
192
|
+
var constructCallableReference = kotlin_kotlin.$_$.z6;
|
|
193
193
|
var Clause = kotlin_it_unibo_tuprolog_core.$_$.p1;
|
|
194
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
194
|
+
var getKClass = kotlin_kotlin.$_$.o8;
|
|
195
195
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
196
196
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
197
|
-
var addAll = kotlin_kotlin.$_$.
|
|
198
|
-
var plus = kotlin_kotlin.$_$.
|
|
197
|
+
var addAll = kotlin_kotlin.$_$.h2;
|
|
198
|
+
var plus = kotlin_kotlin.$_$.v9;
|
|
199
199
|
var arrayConcat = kotlin_kotlin.$_$.a;
|
|
200
|
-
var listOf = kotlin_kotlin.$_$.
|
|
201
|
-
var flatten = kotlin_kotlin.$_$.
|
|
202
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
200
|
+
var listOf = kotlin_kotlin.$_$.z3;
|
|
201
|
+
var flatten = kotlin_kotlin.$_$.m3;
|
|
202
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.k7;
|
|
203
203
|
//endregion
|
|
204
204
|
//region block: pre-declaration
|
|
205
205
|
initMetadataForCompanion(Companion);
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
var item = clauseFunctions[inductionVariable];
|
|
218
218
|
inductionVariable = inductionVariable + 1 | 0;
|
|
219
219
|
var tmp$ret$2 = this.convertToClause(item(this.newScope()));
|
|
220
|
-
destination.
|
|
220
|
+
destination.l(tmp$ret$2);
|
|
221
221
|
}
|
|
222
222
|
return this.theoryOfIterable(destination);
|
|
223
223
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
var item = clauseFunctions[inductionVariable];
|
|
249
249
|
inductionVariable = inductionVariable + 1 | 0;
|
|
250
250
|
var tmp$ret$2 = this.convertToClause(item(this.newScope()));
|
|
251
|
-
destination.
|
|
251
|
+
destination.l(tmp$ret$2);
|
|
252
252
|
}
|
|
253
253
|
return this.mutableTheoryOfIterable(destination);
|
|
254
254
|
}
|
|
@@ -269,40 +269,40 @@
|
|
|
269
269
|
function mutableTheoryOfConcatenatedIterables(clauses, otherClauses) {
|
|
270
270
|
return this.mutableTheoryOfIterable(flatten(listOf(arrayConcat([[clauses], otherClauses]))));
|
|
271
271
|
}
|
|
272
|
-
initMetadataForInterface(LogicProgrammingScopeWithTheories, 'LogicProgrammingScopeWithTheories', VOID, VOID, [
|
|
273
|
-
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [
|
|
272
|
+
initMetadataForInterface(LogicProgrammingScopeWithTheories, 'LogicProgrammingScopeWithTheories', VOID, VOID, [Unificator, BaseLogicProgrammingScope, TheoryFactory]);
|
|
273
|
+
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithOperators, MinimalLogicProgrammingScope, LogicProgrammingScopeWithTheories, LogicProgrammingScopeWithPrologStandardLibrary, LogicProgrammingScopeWithUnification, Scope, BaseLogicProgrammingScope, Unificator, TheoryFactory]);
|
|
274
274
|
//endregion
|
|
275
275
|
function logicProgramming(unificator, function_0) {
|
|
276
|
-
unificator = unificator === VOID ? Companion_getInstance_0().
|
|
276
|
+
unificator = unificator === VOID ? Companion_getInstance_0().d3c_1 : unificator;
|
|
277
277
|
return function_0(Companion_getInstance_0().ofUnificator(unificator));
|
|
278
278
|
}
|
|
279
279
|
function Companion() {
|
|
280
280
|
Companion_instance_2 = this;
|
|
281
|
-
this.
|
|
281
|
+
this.d3c_1 = Companion_getInstance().s1n();
|
|
282
282
|
}
|
|
283
283
|
protoOf(Companion).empty = function () {
|
|
284
284
|
return this.of();
|
|
285
285
|
};
|
|
286
|
-
protoOf(Companion).
|
|
287
|
-
return new LogicProgrammingScopeImpl(scope, termificator.
|
|
286
|
+
protoOf(Companion).e3c = function (scope, termificator, variablesProvider, unificator, theoryFactory) {
|
|
287
|
+
return new LogicProgrammingScopeImpl(scope, termificator.m1j() === scope ? termificator : termificator.n1j(scope), variablesProvider.m1j() === scope ? variablesProvider : variablesProvider.n1j(scope), unificator, theoryFactory.z1n() === unificator ? theoryFactory : theoryFactory.r1v(unificator));
|
|
288
288
|
};
|
|
289
289
|
protoOf(Companion).of = function (scope, termificator, variablesProvider, unificator, theoryFactory, $super) {
|
|
290
290
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
291
291
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
292
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
293
|
-
unificator = unificator === VOID ? this.
|
|
292
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.a16(scope) : variablesProvider;
|
|
293
|
+
unificator = unificator === VOID ? this.d3c_1 : unificator;
|
|
294
294
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
295
|
-
return $super === VOID ? this.
|
|
295
|
+
return $super === VOID ? this.e3c(scope, termificator, variablesProvider, unificator, theoryFactory) : $super.e3c.call(this, scope, termificator, variablesProvider, unificator, theoryFactory);
|
|
296
296
|
};
|
|
297
|
-
protoOf(Companion).
|
|
298
|
-
return this.
|
|
297
|
+
protoOf(Companion).f3c = function (unificator, theoryFactory, scope, termificator, variablesProvider) {
|
|
298
|
+
return this.e3c(scope, termificator, variablesProvider, unificator, theoryFactory);
|
|
299
299
|
};
|
|
300
300
|
protoOf(Companion).ofUnificator = function (unificator, theoryFactory, scope, termificator, variablesProvider, $super) {
|
|
301
301
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
302
302
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
303
303
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
304
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
305
|
-
return $super === VOID ? this.
|
|
304
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.a16(scope) : variablesProvider;
|
|
305
|
+
return $super === VOID ? this.f3c(unificator, theoryFactory, scope, termificator, variablesProvider) : $super.f3c.call(this, unificator, theoryFactory, scope, termificator, variablesProvider);
|
|
306
306
|
};
|
|
307
307
|
var Companion_instance_2;
|
|
308
308
|
function Companion_getInstance_0() {
|
|
@@ -311,315 +311,315 @@
|
|
|
311
311
|
return Companion_instance_2;
|
|
312
312
|
}
|
|
313
313
|
function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory) {
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
314
|
+
this.g3c_1 = scope;
|
|
315
|
+
this.h3c_1 = termificator;
|
|
316
|
+
this.i3c_1 = variablesProvider;
|
|
317
|
+
this.j3c_1 = unificator;
|
|
318
|
+
this.k3c_1 = theoryFactory;
|
|
319
319
|
// Inline function 'kotlin.require' call
|
|
320
|
-
if (!(this.
|
|
320
|
+
if (!(this.g3c_1 === this.i3c_1.m1j() && this.g3c_1 === this.h3c_1.m1j())) {
|
|
321
321
|
var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
|
|
322
322
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
323
323
|
}
|
|
324
324
|
// Inline function 'kotlin.require' call
|
|
325
|
-
if (!equals(this.
|
|
325
|
+
if (!equals(this.j3c_1, this.k3c_1.z1n())) {
|
|
326
326
|
var message_0 = 'The provided Unificator should be the same object for both Unificator and TheoryFactory';
|
|
327
327
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
331
|
-
return this.
|
|
330
|
+
protoOf(LogicProgrammingScopeImpl).m1j = function () {
|
|
331
|
+
return this.g3c_1;
|
|
332
332
|
};
|
|
333
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
334
|
-
return this.
|
|
333
|
+
protoOf(LogicProgrammingScopeImpl).p3b = function () {
|
|
334
|
+
return this.h3c_1;
|
|
335
335
|
};
|
|
336
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
337
|
-
return this.
|
|
336
|
+
protoOf(LogicProgrammingScopeImpl).z1n = function () {
|
|
337
|
+
return this.j3c_1;
|
|
338
338
|
};
|
|
339
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
340
|
-
return new LogicProgrammingScopeImpl(scope, this.
|
|
339
|
+
protoOf(LogicProgrammingScopeImpl).n1j = function (scope) {
|
|
340
|
+
return new LogicProgrammingScopeImpl(scope, this.h3c_1.n1j(scope), this.i3c_1.n1j(scope), this.j3c_1, this.k3c_1);
|
|
341
341
|
};
|
|
342
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
343
|
-
return new LogicProgrammingScopeImpl(this.
|
|
342
|
+
protoOf(LogicProgrammingScopeImpl).r1v = function (unificator) {
|
|
343
|
+
return new LogicProgrammingScopeImpl(this.g3c_1, this.h3c_1, this.i3c_1, unificator, this.k3c_1.r1v(unificator));
|
|
344
344
|
};
|
|
345
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
346
|
-
return this.
|
|
345
|
+
protoOf(LogicProgrammingScopeImpl).u3b = function () {
|
|
346
|
+
return this.n1j(Companion_instance.empty());
|
|
347
347
|
};
|
|
348
348
|
protoOf(LogicProgrammingScopeImpl).newScope = function () {
|
|
349
|
-
return this.
|
|
349
|
+
return this.u3b();
|
|
350
350
|
};
|
|
351
351
|
protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
|
|
352
|
-
return this.
|
|
352
|
+
return this.i3c_1.structOf(functor, args);
|
|
353
353
|
};
|
|
354
354
|
protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
|
|
355
|
-
return this.
|
|
355
|
+
return this.i3c_1.structOfSequence(functor, args);
|
|
356
356
|
};
|
|
357
357
|
protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
|
|
358
|
-
return this.
|
|
358
|
+
return this.i3c_1.structOfIterable(functor, args);
|
|
359
359
|
};
|
|
360
360
|
protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
|
|
361
|
-
return this.
|
|
361
|
+
return this.i3c_1.structOfList(functor, args);
|
|
362
362
|
};
|
|
363
363
|
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
364
|
-
return this.
|
|
364
|
+
return this.i3c_1.tupleOf(terms);
|
|
365
365
|
};
|
|
366
366
|
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
367
|
-
return this.
|
|
367
|
+
return this.i3c_1.tupleOfIterable(terms);
|
|
368
368
|
};
|
|
369
369
|
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
370
|
-
return this.
|
|
370
|
+
return this.i3c_1.tupleOfSequence(terms);
|
|
371
371
|
};
|
|
372
372
|
protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
|
|
373
|
-
return this.
|
|
373
|
+
return this.i3c_1.logicListOf(terms);
|
|
374
374
|
};
|
|
375
375
|
protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
|
|
376
|
-
return this.
|
|
376
|
+
return this.i3c_1.logicListOfIterable(terms);
|
|
377
377
|
};
|
|
378
378
|
protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
|
|
379
|
-
return this.
|
|
379
|
+
return this.i3c_1.logicListOfSequence(terms);
|
|
380
380
|
};
|
|
381
381
|
protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
|
|
382
|
-
return this.
|
|
382
|
+
return this.i3c_1.blockOf(terms);
|
|
383
383
|
};
|
|
384
384
|
protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
|
|
385
|
-
return this.
|
|
385
|
+
return this.i3c_1.blockOfIterable(terms);
|
|
386
386
|
};
|
|
387
387
|
protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
|
|
388
|
-
return this.
|
|
388
|
+
return this.i3c_1.blockOfSequence(terms);
|
|
389
389
|
};
|
|
390
390
|
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
391
|
-
return this.
|
|
391
|
+
return this.i3c_1.factOf(head);
|
|
392
392
|
};
|
|
393
393
|
protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
|
|
394
|
-
return this.
|
|
394
|
+
return this.i3c_1.consOf(head, tail);
|
|
395
395
|
};
|
|
396
396
|
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
397
|
-
return this.
|
|
397
|
+
return this.i3c_1.directiveOf(body1, body);
|
|
398
398
|
};
|
|
399
399
|
protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
|
|
400
|
-
return this.
|
|
400
|
+
return this.i3c_1.containsVar(variable);
|
|
401
401
|
};
|
|
402
402
|
protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
|
|
403
|
-
return this.
|
|
403
|
+
return this.i3c_1.contains(variable);
|
|
404
404
|
};
|
|
405
405
|
protoOf(LogicProgrammingScopeImpl).get = function (variable) {
|
|
406
|
-
return this.
|
|
406
|
+
return this.i3c_1.get(variable);
|
|
407
407
|
};
|
|
408
408
|
protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
|
|
409
|
-
return this.
|
|
409
|
+
return this.i3c_1.where(lambda);
|
|
410
410
|
};
|
|
411
411
|
protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
|
|
412
|
-
return this.
|
|
412
|
+
return this.i3c_1.with(lambda);
|
|
413
413
|
};
|
|
414
414
|
protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
|
|
415
|
-
return this.
|
|
415
|
+
return this.i3c_1.varOf(name);
|
|
416
416
|
};
|
|
417
417
|
protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
|
|
418
|
-
return this.
|
|
418
|
+
return this.i3c_1.varOfChar(name);
|
|
419
419
|
};
|
|
420
420
|
protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
|
|
421
|
-
return this.
|
|
421
|
+
return this.i3c_1.atomOf(value);
|
|
422
422
|
};
|
|
423
423
|
protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
|
|
424
|
-
return this.
|
|
424
|
+
return this.i3c_1.atomOfChar(value);
|
|
425
425
|
};
|
|
426
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(LogicProgrammingScopeImpl).n12 = function (terms, last) {
|
|
427
|
+
return this.i3c_1.n12(terms, last);
|
|
428
428
|
};
|
|
429
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
430
|
-
return this.
|
|
429
|
+
protoOf(LogicProgrammingScopeImpl).o12 = function (terms, last) {
|
|
430
|
+
return this.i3c_1.o12(terms, last);
|
|
431
431
|
};
|
|
432
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
433
|
-
return this.
|
|
432
|
+
protoOf(LogicProgrammingScopeImpl).p12 = function (terms, last) {
|
|
433
|
+
return this.i3c_1.p12(terms, last);
|
|
434
434
|
};
|
|
435
435
|
protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
|
|
436
|
-
return this.
|
|
436
|
+
return this.i3c_1.ruleOf(head, body1, body);
|
|
437
437
|
};
|
|
438
438
|
protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
|
|
439
|
-
return this.
|
|
439
|
+
return this.i3c_1.clauseOf(head, body);
|
|
440
440
|
};
|
|
441
441
|
protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
|
|
442
|
-
return this.
|
|
442
|
+
return this.i3c_1.indicatorOf(name, arity);
|
|
443
443
|
};
|
|
444
444
|
protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
445
|
-
return this.
|
|
445
|
+
return this.i3c_1.indicatorOfStringInt(name, arity);
|
|
446
446
|
};
|
|
447
447
|
protoOf(LogicProgrammingScopeImpl).anonymous = function () {
|
|
448
|
-
return this.
|
|
448
|
+
return this.i3c_1.anonymous();
|
|
449
449
|
};
|
|
450
450
|
protoOf(LogicProgrammingScopeImpl).whatever = function () {
|
|
451
|
-
return this.
|
|
451
|
+
return this.i3c_1.whatever();
|
|
452
452
|
};
|
|
453
453
|
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
454
|
-
return this.
|
|
454
|
+
return this.i3c_1.numOfBigDecimal(value);
|
|
455
455
|
};
|
|
456
456
|
protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
|
|
457
|
-
return this.
|
|
457
|
+
return this.i3c_1.numOfDouble(value);
|
|
458
458
|
};
|
|
459
459
|
protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
|
|
460
|
-
return this.
|
|
460
|
+
return this.i3c_1.numOfFloat(value);
|
|
461
461
|
};
|
|
462
462
|
protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
|
|
463
|
-
return this.
|
|
463
|
+
return this.i3c_1.numOfBigInteger(value);
|
|
464
464
|
};
|
|
465
465
|
protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
|
|
466
|
-
return this.
|
|
466
|
+
return this.i3c_1.numOfInt(value);
|
|
467
467
|
};
|
|
468
468
|
protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
|
|
469
|
-
return this.
|
|
469
|
+
return this.i3c_1.numOfLong(value);
|
|
470
470
|
};
|
|
471
471
|
protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
|
|
472
|
-
return this.
|
|
472
|
+
return this.i3c_1.numOfShort(value);
|
|
473
473
|
};
|
|
474
474
|
protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
|
|
475
|
-
return this.
|
|
475
|
+
return this.i3c_1.numOfByte(value);
|
|
476
476
|
};
|
|
477
477
|
protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
|
|
478
|
-
return this.
|
|
478
|
+
return this.i3c_1.parseNum(value);
|
|
479
479
|
};
|
|
480
480
|
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
481
|
-
return this.
|
|
481
|
+
return this.i3c_1.numOf(value);
|
|
482
482
|
};
|
|
483
483
|
protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
|
|
484
|
-
return this.
|
|
484
|
+
return this.i3c_1.intOfBigInteger(value);
|
|
485
485
|
};
|
|
486
486
|
protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
|
|
487
|
-
return this.
|
|
487
|
+
return this.i3c_1.intOf(value);
|
|
488
488
|
};
|
|
489
489
|
protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
|
|
490
|
-
return this.
|
|
490
|
+
return this.i3c_1.intOfLong(value);
|
|
491
491
|
};
|
|
492
492
|
protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
|
|
493
|
-
return this.
|
|
493
|
+
return this.i3c_1.intOfShort(value);
|
|
494
494
|
};
|
|
495
495
|
protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
|
|
496
|
-
return this.
|
|
496
|
+
return this.i3c_1.intOfByte(value);
|
|
497
497
|
};
|
|
498
498
|
protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
|
|
499
|
-
return this.
|
|
499
|
+
return this.i3c_1.parseInt(value);
|
|
500
500
|
};
|
|
501
501
|
protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
|
|
502
|
-
return this.
|
|
502
|
+
return this.i3c_1.parseIntRadix(value, radix);
|
|
503
503
|
};
|
|
504
504
|
protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
|
|
505
|
-
return this.
|
|
505
|
+
return this.i3c_1.realOfBigDecimal(value);
|
|
506
506
|
};
|
|
507
507
|
protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
|
|
508
|
-
return this.
|
|
508
|
+
return this.i3c_1.realOf(value);
|
|
509
509
|
};
|
|
510
510
|
protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
|
|
511
|
-
return this.
|
|
511
|
+
return this.i3c_1.realOfFloat(value);
|
|
512
512
|
};
|
|
513
513
|
protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
|
|
514
|
-
return this.
|
|
514
|
+
return this.i3c_1.parseReal(value);
|
|
515
515
|
};
|
|
516
516
|
protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
|
|
517
|
-
return this.
|
|
517
|
+
return this.i3c_1.truthOf(value);
|
|
518
518
|
};
|
|
519
519
|
protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
|
|
520
|
-
return this.
|
|
520
|
+
return this.i3c_1.unifierOf(assignments);
|
|
521
521
|
};
|
|
522
522
|
protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
|
|
523
|
-
return this.
|
|
523
|
+
return this.i3c_1.unifierOfIterable(assignments);
|
|
524
524
|
};
|
|
525
525
|
protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
|
|
526
|
-
return this.
|
|
526
|
+
return this.i3c_1.unifierOfSequence(assignments);
|
|
527
527
|
};
|
|
528
528
|
protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
|
|
529
|
-
return this.
|
|
529
|
+
return this.i3c_1.substitutionOf(assignments);
|
|
530
530
|
};
|
|
531
531
|
protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
|
|
532
|
-
return this.
|
|
532
|
+
return this.i3c_1.substitutionOfIterable(assignments);
|
|
533
533
|
};
|
|
534
534
|
protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
|
|
535
|
-
return this.
|
|
535
|
+
return this.i3c_1.substitutionOfSequence(assignments);
|
|
536
536
|
};
|
|
537
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
538
|
-
return this.
|
|
537
|
+
protoOf(LogicProgrammingScopeImpl).l12 = function () {
|
|
538
|
+
return this.i3c_1.l12();
|
|
539
539
|
};
|
|
540
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
541
|
-
return this.
|
|
540
|
+
protoOf(LogicProgrammingScopeImpl).m12 = function () {
|
|
541
|
+
return this.i3c_1.m12();
|
|
542
542
|
};
|
|
543
543
|
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
544
|
-
return this.
|
|
544
|
+
return this.i3c_1.getValue(thisRef, property);
|
|
545
545
|
};
|
|
546
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
547
|
-
return this.
|
|
546
|
+
protoOf(LogicProgrammingScopeImpl).p1j = function () {
|
|
547
|
+
return this.i3c_1.p1j();
|
|
548
548
|
};
|
|
549
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
550
|
-
return this.
|
|
549
|
+
protoOf(LogicProgrammingScopeImpl).q1j = function () {
|
|
550
|
+
return this.i3c_1.q1j();
|
|
551
551
|
};
|
|
552
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
553
|
-
return this.
|
|
552
|
+
protoOf(LogicProgrammingScopeImpl).q1l = function (term1, term2, occurCheckEnabled) {
|
|
553
|
+
return this.j3c_1.q1l(term1, term2, occurCheckEnabled);
|
|
554
554
|
};
|
|
555
555
|
protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
|
|
556
|
-
return this.
|
|
556
|
+
return this.j3c_1.mgu(term1, term2);
|
|
557
557
|
};
|
|
558
558
|
protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
559
|
-
return this.
|
|
559
|
+
return this.j3c_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
560
560
|
};
|
|
561
561
|
protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
|
|
562
|
-
return this.
|
|
562
|
+
return this.j3c_1.match(term1, term2);
|
|
563
563
|
};
|
|
564
564
|
protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
565
|
-
return this.
|
|
565
|
+
return this.j3c_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
566
566
|
};
|
|
567
567
|
protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
|
|
568
|
-
return this.
|
|
568
|
+
return this.j3c_1.unify(term1, term2);
|
|
569
569
|
};
|
|
570
570
|
protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
|
|
571
|
-
return this.
|
|
571
|
+
return this.j3c_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
|
|
572
572
|
};
|
|
573
573
|
protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
|
|
574
|
-
return this.
|
|
574
|
+
return this.j3c_1.merge(substitution1, substitution2);
|
|
575
575
|
};
|
|
576
576
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
577
|
-
return this.
|
|
577
|
+
return this.k3c_1.theoryOfIterableWithUnificator(clauses, unificator);
|
|
578
578
|
};
|
|
579
579
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
|
|
580
|
-
return this.
|
|
580
|
+
return this.k3c_1.theoryOfIterable(clauses);
|
|
581
581
|
};
|
|
582
582
|
protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
|
|
583
|
-
return this.
|
|
583
|
+
return this.k3c_1.theoryOfWithUnificator(unificator, clauses);
|
|
584
584
|
};
|
|
585
585
|
protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
|
|
586
|
-
return this.
|
|
586
|
+
return this.k3c_1.theoryOf(clauses);
|
|
587
587
|
};
|
|
588
588
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
589
|
-
return this.
|
|
589
|
+
return this.k3c_1.theoryOfSequenceWithUnificator(clauses, unificator);
|
|
590
590
|
};
|
|
591
591
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
|
|
592
|
-
return this.
|
|
592
|
+
return this.k3c_1.theoryOfSequence(clauses);
|
|
593
593
|
};
|
|
594
594
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
595
|
-
return this.
|
|
595
|
+
return this.k3c_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
|
|
596
596
|
};
|
|
597
597
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
|
|
598
|
-
return this.
|
|
598
|
+
return this.k3c_1.mutableTheoryOfIterable(clauses);
|
|
599
599
|
};
|
|
600
600
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
|
|
601
|
-
return this.
|
|
601
|
+
return this.k3c_1.mutableTheoryOfWithUnificator(unificator, clauses);
|
|
602
602
|
};
|
|
603
603
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
|
|
604
|
-
return this.
|
|
604
|
+
return this.k3c_1.mutableTheoryOf(clauses);
|
|
605
605
|
};
|
|
606
606
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
607
|
-
return this.
|
|
607
|
+
return this.k3c_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
|
|
608
608
|
};
|
|
609
609
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
|
|
610
|
-
return this.
|
|
610
|
+
return this.k3c_1.mutableTheoryOfSequence(clauses);
|
|
611
611
|
};
|
|
612
612
|
protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
|
|
613
|
-
return this.
|
|
613
|
+
return this.k3c_1.emptyTheoryWithUnificator(unificator);
|
|
614
614
|
};
|
|
615
615
|
protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
|
|
616
|
-
return this.
|
|
616
|
+
return this.k3c_1.emptyTheory();
|
|
617
617
|
};
|
|
618
618
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
619
|
-
return this.
|
|
619
|
+
return this.k3c_1.emptyMutableTheoryWithUnificator(unificator);
|
|
620
620
|
};
|
|
621
621
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
|
|
622
|
-
return this.
|
|
622
|
+
return this.k3c_1.emptyMutableTheory();
|
|
623
623
|
};
|
|
624
624
|
function LogicProgrammingScopeWithTheories$clauseOf$ref(p0) {
|
|
625
625
|
return constructCallableReference(function (p0_0) {
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
|
|
643
643
|
protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
|
|
644
644
|
protoOf(LogicProgrammingScopeImpl).withScope = withScope;
|
|
645
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
645
|
+
protoOf(LogicProgrammingScopeImpl).v3b = logicList;
|
|
646
646
|
protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
|
|
647
647
|
protoOf(LogicProgrammingScopeImpl).rule = rule;
|
|
648
648
|
protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
|
|
@@ -763,11 +763,11 @@
|
|
|
763
763
|
protoOf(LogicProgrammingScopeImpl).anyMguWith = anyMguWith;
|
|
764
764
|
protoOf(LogicProgrammingScopeImpl).anyMatches = anyMatches;
|
|
765
765
|
protoOf(LogicProgrammingScopeImpl).anyUnifyWith = anyUnifyWith;
|
|
766
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
766
|
+
protoOf(LogicProgrammingScopeImpl).a3c = mgu;
|
|
767
767
|
protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
|
|
768
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
768
|
+
protoOf(LogicProgrammingScopeImpl).b3c = match;
|
|
769
769
|
protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
|
|
770
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
770
|
+
protoOf(LogicProgrammingScopeImpl).c3c = unify;
|
|
771
771
|
protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
|
|
772
772
|
protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
|
|
773
773
|
protoOf(LogicProgrammingScopeImpl).theory = theory;
|