@tuprolog/arg2p 0.16.2 → 0.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/2p-dsl-theory.js CHANGED
@@ -29,19 +29,19 @@
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.$_$.f7;
32
+ var protoOf = kotlin_kotlin.$_$.o7;
33
33
  var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.m;
34
34
  var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a;
35
35
  var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.v;
36
36
  var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
37
- var initMetadataForCompanion = kotlin_kotlin.$_$.t6;
38
- var toString = kotlin_kotlin.$_$.i7;
39
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e1;
40
- var Unit_instance = kotlin_kotlin.$_$.o;
41
- var equals = kotlin_kotlin.$_$.l6;
42
- var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.z;
43
- var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.x;
44
- var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.y;
37
+ var initMetadataForCompanion = kotlin_kotlin.$_$.c7;
38
+ var toString = kotlin_kotlin.$_$.r7;
39
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
40
+ var Unit_instance = kotlin_kotlin.$_$.p;
41
+ var equals = kotlin_kotlin.$_$.u6;
42
+ var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.g1;
43
+ var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.e1;
44
+ var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.f1;
45
45
  var mguWithOccurCheck = kotlin_it_unibo_tuprolog_unify.$_$.b;
46
46
  var stringInvoke = kotlin_it_unibo_tuprolog_dsl_core.$_$.v4;
47
47
  var structOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.a5;
@@ -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 LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
183
- var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
182
+ var Scope = kotlin_it_unibo_tuprolog_core.$_$.a2;
184
183
  var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
185
- var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
186
- var Scope = kotlin_it_unibo_tuprolog_core.$_$.s1;
184
+ var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
187
185
  var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
188
186
  var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
187
+ var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
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.$_$.s6;
192
- var constructCallableReference = kotlin_kotlin.$_$.j6;
193
- var Clause = kotlin_it_unibo_tuprolog_core.$_$.h1;
194
- var getKClass = kotlin_kotlin.$_$.y7;
195
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
196
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.q;
197
- var addAll = kotlin_kotlin.$_$.y1;
198
- var plus = kotlin_kotlin.$_$.e9;
191
+ var initMetadataForClass = kotlin_kotlin.$_$.b7;
192
+ var constructCallableReference = kotlin_kotlin.$_$.s6;
193
+ var Clause = kotlin_it_unibo_tuprolog_core.$_$.p1;
194
+ var getKClass = kotlin_kotlin.$_$.h8;
195
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.r;
196
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
197
+ var addAll = kotlin_kotlin.$_$.d2;
198
+ var plus = kotlin_kotlin.$_$.n9;
199
199
  var arrayConcat = kotlin_kotlin.$_$.a;
200
- var listOf = kotlin_kotlin.$_$.n3;
201
- var flatten = kotlin_kotlin.$_$.a3;
202
- var initMetadataForInterface = kotlin_kotlin.$_$.u6;
200
+ var listOf = kotlin_kotlin.$_$.v3;
201
+ var flatten = kotlin_kotlin.$_$.i3;
202
+ var initMetadataForInterface = kotlin_kotlin.$_$.d7;
203
203
  //endregion
204
204
  //region block: pre-declaration
205
205
  initMetadataForCompanion(Companion);
@@ -270,39 +270,39 @@
270
270
  return this.mutableTheoryOfIterable(flatten(listOf(arrayConcat([[clauses], otherClauses]))));
271
271
  }
272
272
  initMetadataForInterface(LogicProgrammingScopeWithTheories, 'LogicProgrammingScopeWithTheories', VOID, VOID, [BaseLogicProgrammingScope, Unificator, TheoryFactory]);
273
- initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithUnification, BaseLogicProgrammingScope, Scope, LogicProgrammingScopeWithPrologStandardLibrary, MinimalLogicProgrammingScope, LogicProgrammingScopeWithTheories, Unificator, TheoryFactory]);
273
+ initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [Scope, LogicProgrammingScopeWithUnification, LogicProgrammingScopeWithTheories, LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithPrologStandardLibrary, MinimalLogicProgrammingScope, LogicProgrammingScopeWithSubstitutions, BaseLogicProgrammingScope, Unificator, TheoryFactory]);
274
274
  //endregion
275
275
  function logicProgramming(unificator, function_0) {
276
- unificator = unificator === VOID ? Companion_getInstance_0().l31_1 : unificator;
276
+ unificator = unificator === VOID ? Companion_getInstance_0().e34_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.l31_1 = Companion_getInstance().g1m();
281
+ this.e34_1 = Companion_getInstance().i1n();
282
282
  }
283
283
  protoOf(Companion).empty = function () {
284
284
  return this.of();
285
285
  };
286
- protoOf(Companion).m31 = function (scope, termificator, variablesProvider, unificator, theoryFactory) {
287
- return new LogicProgrammingScopeImpl(scope, termificator.a1i() === scope ? termificator : termificator.b1i(scope), variablesProvider.a1i() === scope ? variablesProvider : variablesProvider.b1i(scope), unificator, theoryFactory.n1m() === unificator ? theoryFactory : theoryFactory.f1u(unificator));
286
+ protoOf(Companion).f34 = function (scope, termificator, variablesProvider, unificator, theoryFactory) {
287
+ return new LogicProgrammingScopeImpl(scope, termificator.c1j() === scope ? termificator : termificator.d1j(scope), variablesProvider.c1j() === scope ? variablesProvider : variablesProvider.d1j(scope), unificator, theoryFactory.p1n() === unificator ? theoryFactory : theoryFactory.h1v(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.q14(scope) : variablesProvider;
293
- unificator = unificator === VOID ? this.l31_1 : unificator;
292
+ variablesProvider = variablesProvider === VOID ? Companion_instance_1.s15(scope) : variablesProvider;
293
+ unificator = unificator === VOID ? this.e34_1 : unificator;
294
294
  theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
295
- return $super === VOID ? this.m31(scope, termificator, variablesProvider, unificator, theoryFactory) : $super.m31.call(this, scope, termificator, variablesProvider, unificator, theoryFactory);
295
+ return $super === VOID ? this.f34(scope, termificator, variablesProvider, unificator, theoryFactory) : $super.f34.call(this, scope, termificator, variablesProvider, unificator, theoryFactory);
296
296
  };
297
- protoOf(Companion).n31 = function (unificator, theoryFactory, scope, termificator, variablesProvider) {
298
- return this.m31(scope, termificator, variablesProvider, unificator, theoryFactory);
297
+ protoOf(Companion).g34 = function (unificator, theoryFactory, scope, termificator, variablesProvider) {
298
+ return this.f34(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.q14(scope) : variablesProvider;
305
- return $super === VOID ? this.n31(unificator, theoryFactory, scope, termificator, variablesProvider) : $super.n31.call(this, unificator, theoryFactory, scope, termificator, variablesProvider);
304
+ variablesProvider = variablesProvider === VOID ? Companion_instance_1.s15(scope) : variablesProvider;
305
+ return $super === VOID ? this.g34(unificator, theoryFactory, scope, termificator, variablesProvider) : $super.g34.call(this, unificator, theoryFactory, scope, termificator, variablesProvider);
306
306
  };
307
307
  var Companion_instance_2;
308
308
  function Companion_getInstance_0() {
@@ -311,320 +311,320 @@
311
311
  return Companion_instance_2;
312
312
  }
313
313
  function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory) {
314
- this.o31_1 = scope;
315
- this.p31_1 = termificator;
316
- this.q31_1 = variablesProvider;
317
- this.r31_1 = unificator;
318
- this.s31_1 = theoryFactory;
314
+ this.h34_1 = scope;
315
+ this.i34_1 = termificator;
316
+ this.j34_1 = variablesProvider;
317
+ this.k34_1 = unificator;
318
+ this.l34_1 = theoryFactory;
319
319
  // Inline function 'kotlin.require' call
320
- if (!(this.o31_1 === this.q31_1.a1i() && this.o31_1 === this.p31_1.a1i())) {
320
+ if (!(this.h34_1 === this.j34_1.c1j() && this.h34_1 === this.i34_1.c1j())) {
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.r31_1, this.s31_1.n1m())) {
325
+ if (!equals(this.k34_1, this.l34_1.p1n())) {
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).a1i = function () {
331
- return this.o31_1;
330
+ protoOf(LogicProgrammingScopeImpl).c1j = function () {
331
+ return this.h34_1;
332
332
  };
333
- protoOf(LogicProgrammingScopeImpl).x30 = function () {
334
- return this.p31_1;
333
+ protoOf(LogicProgrammingScopeImpl).q33 = function () {
334
+ return this.i34_1;
335
335
  };
336
- protoOf(LogicProgrammingScopeImpl).n1m = function () {
337
- return this.r31_1;
336
+ protoOf(LogicProgrammingScopeImpl).p1n = function () {
337
+ return this.k34_1;
338
338
  };
339
- protoOf(LogicProgrammingScopeImpl).b1i = function (scope) {
340
- return new LogicProgrammingScopeImpl(scope, this.p31_1.b1i(scope), this.q31_1.b1i(scope), this.r31_1, this.s31_1);
339
+ protoOf(LogicProgrammingScopeImpl).d1j = function (scope) {
340
+ return new LogicProgrammingScopeImpl(scope, this.i34_1.d1j(scope), this.j34_1.d1j(scope), this.k34_1, this.l34_1);
341
341
  };
342
- protoOf(LogicProgrammingScopeImpl).f1u = function (unificator) {
343
- return new LogicProgrammingScopeImpl(this.o31_1, this.p31_1, this.q31_1, unificator, this.s31_1.f1u(unificator));
342
+ protoOf(LogicProgrammingScopeImpl).h1v = function (unificator) {
343
+ return new LogicProgrammingScopeImpl(this.h34_1, this.i34_1, this.j34_1, unificator, this.l34_1.h1v(unificator));
344
344
  };
345
- protoOf(LogicProgrammingScopeImpl).c31 = function () {
346
- return this.b1i(Companion_instance.empty());
345
+ protoOf(LogicProgrammingScopeImpl).v33 = function () {
346
+ return this.d1j(Companion_instance.empty());
347
347
  };
348
348
  protoOf(LogicProgrammingScopeImpl).newScope = function () {
349
- return this.c31();
349
+ return this.v33();
350
350
  };
351
351
  protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
352
- return this.q31_1.structOf(functor, args);
352
+ return this.j34_1.structOf(functor, args);
353
353
  };
354
354
  protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
355
- return this.q31_1.structOfSequence(functor, args);
355
+ return this.j34_1.structOfSequence(functor, args);
356
356
  };
357
357
  protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
358
- return this.q31_1.structOfIterable(functor, args);
358
+ return this.j34_1.structOfIterable(functor, args);
359
359
  };
360
360
  protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
361
- return this.q31_1.structOfList(functor, args);
361
+ return this.j34_1.structOfList(functor, args);
362
362
  };
363
363
  protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
364
- return this.q31_1.tupleOf(terms);
364
+ return this.j34_1.tupleOf(terms);
365
365
  };
366
366
  protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
367
- return this.q31_1.tupleOfIterable(terms);
367
+ return this.j34_1.tupleOfIterable(terms);
368
368
  };
369
369
  protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
370
- return this.q31_1.tupleOfSequence(terms);
370
+ return this.j34_1.tupleOfSequence(terms);
371
371
  };
372
372
  protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
373
- return this.q31_1.logicListOf(terms);
373
+ return this.j34_1.logicListOf(terms);
374
374
  };
375
375
  protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
376
- return this.q31_1.logicListOfIterable(terms);
376
+ return this.j34_1.logicListOfIterable(terms);
377
377
  };
378
378
  protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
379
- return this.q31_1.logicListOfSequence(terms);
379
+ return this.j34_1.logicListOfSequence(terms);
380
380
  };
381
381
  protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
382
- return this.q31_1.blockOf(terms);
382
+ return this.j34_1.blockOf(terms);
383
383
  };
384
384
  protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
385
- return this.q31_1.blockOfIterable(terms);
385
+ return this.j34_1.blockOfIterable(terms);
386
386
  };
387
387
  protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
388
- return this.q31_1.blockOfSequence(terms);
388
+ return this.j34_1.blockOfSequence(terms);
389
389
  };
390
390
  protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
391
- return this.q31_1.factOf(head);
391
+ return this.j34_1.factOf(head);
392
392
  };
393
393
  protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
394
- return this.q31_1.consOf(head, tail);
394
+ return this.j34_1.consOf(head, tail);
395
395
  };
396
396
  protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
397
- return this.q31_1.directiveOf(body1, body);
397
+ return this.j34_1.directiveOf(body1, body);
398
398
  };
399
399
  protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
400
- return this.q31_1.containsVar(variable);
400
+ return this.j34_1.containsVar(variable);
401
401
  };
402
402
  protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
403
- return this.q31_1.contains(variable);
403
+ return this.j34_1.contains(variable);
404
404
  };
405
405
  protoOf(LogicProgrammingScopeImpl).get = function (variable) {
406
- return this.q31_1.get(variable);
406
+ return this.j34_1.get(variable);
407
407
  };
408
408
  protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
409
- return this.q31_1.where(lambda);
409
+ return this.j34_1.where(lambda);
410
410
  };
411
411
  protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
412
- return this.q31_1.with(lambda);
412
+ return this.j34_1.with(lambda);
413
413
  };
414
414
  protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
415
- return this.q31_1.varOf(name);
415
+ return this.j34_1.varOf(name);
416
416
  };
417
417
  protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
418
- return this.q31_1.varOfChar(name);
418
+ return this.j34_1.varOfChar(name);
419
419
  };
420
420
  protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
421
- return this.q31_1.atomOf(value);
421
+ return this.j34_1.atomOf(value);
422
422
  };
423
423
  protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
424
- return this.q31_1.atomOfChar(value);
424
+ return this.j34_1.atomOfChar(value);
425
425
  };
426
- protoOf(LogicProgrammingScopeImpl).e11 = function (terms, last) {
427
- return this.q31_1.e11(terms, last);
426
+ protoOf(LogicProgrammingScopeImpl).g12 = function (terms, last) {
427
+ return this.j34_1.g12(terms, last);
428
428
  };
429
- protoOf(LogicProgrammingScopeImpl).f11 = function (terms, last) {
430
- return this.q31_1.f11(terms, last);
429
+ protoOf(LogicProgrammingScopeImpl).h12 = function (terms, last) {
430
+ return this.j34_1.h12(terms, last);
431
431
  };
432
- protoOf(LogicProgrammingScopeImpl).g11 = function (terms, last) {
433
- return this.q31_1.g11(terms, last);
432
+ protoOf(LogicProgrammingScopeImpl).i12 = function (terms, last) {
433
+ return this.j34_1.i12(terms, last);
434
434
  };
435
435
  protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
436
- return this.q31_1.ruleOf(head, body1, body);
436
+ return this.j34_1.ruleOf(head, body1, body);
437
437
  };
438
438
  protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
439
- return this.q31_1.clauseOf(head, body);
439
+ return this.j34_1.clauseOf(head, body);
440
440
  };
441
441
  protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
442
- return this.q31_1.indicatorOf(name, arity);
442
+ return this.j34_1.indicatorOf(name, arity);
443
443
  };
444
444
  protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
445
- return this.q31_1.indicatorOfStringInt(name, arity);
445
+ return this.j34_1.indicatorOfStringInt(name, arity);
446
446
  };
447
447
  protoOf(LogicProgrammingScopeImpl).anonymous = function () {
448
- return this.q31_1.anonymous();
448
+ return this.j34_1.anonymous();
449
449
  };
450
450
  protoOf(LogicProgrammingScopeImpl).whatever = function () {
451
- return this.q31_1.whatever();
451
+ return this.j34_1.whatever();
452
452
  };
453
453
  protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
454
- return this.q31_1.numOfBigDecimal(value);
454
+ return this.j34_1.numOfBigDecimal(value);
455
455
  };
456
456
  protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
457
- return this.q31_1.numOfDouble(value);
457
+ return this.j34_1.numOfDouble(value);
458
458
  };
459
459
  protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
460
- return this.q31_1.numOfFloat(value);
460
+ return this.j34_1.numOfFloat(value);
461
461
  };
462
462
  protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
463
- return this.q31_1.numOfBigInteger(value);
463
+ return this.j34_1.numOfBigInteger(value);
464
464
  };
465
465
  protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
466
- return this.q31_1.numOfInt(value);
466
+ return this.j34_1.numOfInt(value);
467
467
  };
468
468
  protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
469
- return this.q31_1.numOfLong(value);
469
+ return this.j34_1.numOfLong(value);
470
470
  };
471
471
  protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
472
- return this.q31_1.numOfShort(value);
472
+ return this.j34_1.numOfShort(value);
473
473
  };
474
474
  protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
475
- return this.q31_1.numOfByte(value);
475
+ return this.j34_1.numOfByte(value);
476
476
  };
477
477
  protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
478
- return this.q31_1.parseNum(value);
478
+ return this.j34_1.parseNum(value);
479
479
  };
480
480
  protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
481
- return this.q31_1.numOf(value);
481
+ return this.j34_1.numOf(value);
482
482
  };
483
483
  protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
484
- return this.q31_1.intOfBigInteger(value);
484
+ return this.j34_1.intOfBigInteger(value);
485
485
  };
486
486
  protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
487
- return this.q31_1.intOf(value);
487
+ return this.j34_1.intOf(value);
488
488
  };
489
489
  protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
490
- return this.q31_1.intOfLong(value);
490
+ return this.j34_1.intOfLong(value);
491
491
  };
492
492
  protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
493
- return this.q31_1.intOfShort(value);
493
+ return this.j34_1.intOfShort(value);
494
494
  };
495
495
  protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
496
- return this.q31_1.intOfByte(value);
496
+ return this.j34_1.intOfByte(value);
497
497
  };
498
498
  protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
499
- return this.q31_1.parseInt(value);
499
+ return this.j34_1.parseInt(value);
500
500
  };
501
501
  protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
502
- return this.q31_1.parseIntRadix(value, radix);
502
+ return this.j34_1.parseIntRadix(value, radix);
503
503
  };
504
504
  protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
505
- return this.q31_1.realOfBigDecimal(value);
505
+ return this.j34_1.realOfBigDecimal(value);
506
506
  };
507
507
  protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
508
- return this.q31_1.realOf(value);
508
+ return this.j34_1.realOf(value);
509
509
  };
510
510
  protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
511
- return this.q31_1.realOfFloat(value);
511
+ return this.j34_1.realOfFloat(value);
512
512
  };
513
513
  protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
514
- return this.q31_1.parseReal(value);
514
+ return this.j34_1.parseReal(value);
515
515
  };
516
516
  protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
517
- return this.q31_1.truthOf(value);
517
+ return this.j34_1.truthOf(value);
518
518
  };
519
519
  protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
520
- return this.q31_1.unifierOf(assignments);
520
+ return this.j34_1.unifierOf(assignments);
521
521
  };
522
522
  protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
523
- return this.q31_1.unifierOfIterable(assignments);
523
+ return this.j34_1.unifierOfIterable(assignments);
524
524
  };
525
525
  protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
526
- return this.q31_1.unifierOfSequence(assignments);
526
+ return this.j34_1.unifierOfSequence(assignments);
527
527
  };
528
528
  protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
529
- return this.q31_1.substitutionOf(assignments);
529
+ return this.j34_1.substitutionOf(assignments);
530
530
  };
531
531
  protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
532
- return this.q31_1.substitutionOfIterable(assignments);
532
+ return this.j34_1.substitutionOfIterable(assignments);
533
533
  };
534
534
  protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
535
- return this.q31_1.substitutionOfSequence(assignments);
535
+ return this.j34_1.substitutionOfSequence(assignments);
536
536
  };
537
- protoOf(LogicProgrammingScopeImpl).c11 = function () {
538
- return this.q31_1.c11();
537
+ protoOf(LogicProgrammingScopeImpl).e12 = function () {
538
+ return this.j34_1.e12();
539
539
  };
540
- protoOf(LogicProgrammingScopeImpl).d11 = function () {
541
- return this.q31_1.d11();
540
+ protoOf(LogicProgrammingScopeImpl).f12 = function () {
541
+ return this.j34_1.f12();
542
542
  };
543
543
  protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
544
- return this.q31_1.getValue(thisRef, property);
544
+ return this.j34_1.getValue(thisRef, property);
545
545
  };
546
- protoOf(LogicProgrammingScopeImpl).d1i = function () {
547
- return this.q31_1.d1i();
546
+ protoOf(LogicProgrammingScopeImpl).f1j = function () {
547
+ return this.j34_1.f1j();
548
548
  };
549
- protoOf(LogicProgrammingScopeImpl).e1i = function () {
550
- return this.q31_1.e1i();
549
+ protoOf(LogicProgrammingScopeImpl).g1j = function () {
550
+ return this.j34_1.g1j();
551
551
  };
552
- protoOf(LogicProgrammingScopeImpl).e1k = function (term1, term2, occurCheckEnabled) {
553
- return this.r31_1.e1k(term1, term2, occurCheckEnabled);
552
+ protoOf(LogicProgrammingScopeImpl).g1l = function (term1, term2, occurCheckEnabled) {
553
+ return this.k34_1.g1l(term1, term2, occurCheckEnabled);
554
554
  };
555
555
  protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
556
- return this.r31_1.mgu(term1, term2);
556
+ return this.k34_1.mgu(term1, term2);
557
557
  };
558
558
  protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
559
- return this.r31_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
559
+ return this.k34_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
560
560
  };
561
561
  protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
562
- return this.r31_1.match(term1, term2);
562
+ return this.k34_1.match(term1, term2);
563
563
  };
564
564
  protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
565
- return this.r31_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
565
+ return this.k34_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
566
566
  };
567
567
  protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
568
- return this.r31_1.unify(term1, term2);
568
+ return this.k34_1.unify(term1, term2);
569
569
  };
570
570
  protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
571
- return this.r31_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
571
+ return this.k34_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
572
572
  };
573
573
  protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
574
- return this.r31_1.merge(substitution1, substitution2);
574
+ return this.k34_1.merge(substitution1, substitution2);
575
575
  };
576
576
  protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
577
- return this.s31_1.theoryOfIterableWithUnificator(clauses, unificator);
577
+ return this.l34_1.theoryOfIterableWithUnificator(clauses, unificator);
578
578
  };
579
579
  protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
580
- return this.s31_1.theoryOfIterable(clauses);
580
+ return this.l34_1.theoryOfIterable(clauses);
581
581
  };
582
582
  protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
583
- return this.s31_1.theoryOfWithUnificator(unificator, clauses);
583
+ return this.l34_1.theoryOfWithUnificator(unificator, clauses);
584
584
  };
585
585
  protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
586
- return this.s31_1.theoryOf(clauses);
586
+ return this.l34_1.theoryOf(clauses);
587
587
  };
588
588
  protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
589
- return this.s31_1.theoryOfSequenceWithUnificator(clauses, unificator);
589
+ return this.l34_1.theoryOfSequenceWithUnificator(clauses, unificator);
590
590
  };
591
591
  protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
592
- return this.s31_1.theoryOfSequence(clauses);
592
+ return this.l34_1.theoryOfSequence(clauses);
593
593
  };
594
594
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
595
- return this.s31_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
595
+ return this.l34_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
596
596
  };
597
597
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
598
- return this.s31_1.mutableTheoryOfIterable(clauses);
598
+ return this.l34_1.mutableTheoryOfIterable(clauses);
599
599
  };
600
600
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
601
- return this.s31_1.mutableTheoryOfWithUnificator(unificator, clauses);
601
+ return this.l34_1.mutableTheoryOfWithUnificator(unificator, clauses);
602
602
  };
603
603
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
604
- return this.s31_1.mutableTheoryOf(clauses);
604
+ return this.l34_1.mutableTheoryOf(clauses);
605
605
  };
606
606
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
607
- return this.s31_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
607
+ return this.l34_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
608
608
  };
609
609
  protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
610
- return this.s31_1.mutableTheoryOfSequence(clauses);
610
+ return this.l34_1.mutableTheoryOfSequence(clauses);
611
611
  };
612
612
  protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
613
- return this.s31_1.emptyTheoryWithUnificator(unificator);
613
+ return this.l34_1.emptyTheoryWithUnificator(unificator);
614
614
  };
615
615
  protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
616
- return this.s31_1.emptyTheory();
616
+ return this.l34_1.emptyTheory();
617
617
  };
618
618
  protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
619
- return this.s31_1.emptyMutableTheoryWithUnificator(unificator);
619
+ return this.l34_1.emptyMutableTheoryWithUnificator(unificator);
620
620
  };
621
621
  protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
622
- return this.s31_1.emptyMutableTheory();
622
+ return this.l34_1.emptyMutableTheory();
623
623
  };
624
624
  function LogicProgrammingScopeWithTheories$clauseOf$ref(p0) {
625
625
  return constructCallableReference(function (p0_0) {
626
626
  return p0.clauseOf(p0_0, []);
627
- }, 1, 0, 108, VOID, [p0]);
627
+ }, 1, 0, 109, VOID, [p0]);
628
628
  }
629
629
  function LogicProgrammingScopeWithTheories() {
630
630
  }
@@ -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).d31 = logicList;
645
+ protoOf(LogicProgrammingScopeImpl).w33 = 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).i31 = mgu;
766
+ protoOf(LogicProgrammingScopeImpl).b34 = mgu;
767
767
  protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
768
- protoOf(LogicProgrammingScopeImpl).j31 = match;
768
+ protoOf(LogicProgrammingScopeImpl).c34 = match;
769
769
  protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
770
- protoOf(LogicProgrammingScopeImpl).k31 = unify;
770
+ protoOf(LogicProgrammingScopeImpl).d34 = unify;
771
771
  protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
772
772
  protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
773
773
  protoOf(LogicProgrammingScopeImpl).theory = theory;
package/2p-dsl-unify.js CHANGED
@@ -18,11 +18,11 @@
18
18
  }(function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_dsl_core, kotlin_it_unibo_tuprolog_unify) {
19
19
  'use strict';
20
20
  //region block: imports
21
- var protoOf = kotlin_kotlin.$_$.f7;
21
+ var protoOf = kotlin_kotlin.$_$.o7;
22
22
  var VOID = kotlin_kotlin.$_$.b;
23
23
  var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
24
24
  var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
25
- var initMetadataForInterface = kotlin_kotlin.$_$.u6;
25
+ var initMetadataForInterface = kotlin_kotlin.$_$.d7;
26
26
  //endregion
27
27
  //region block: pre-declaration
28
28
  function anyMguWith(_this__u8e3s4, other) {
@@ -35,25 +35,25 @@
35
35
  return this.unify(this.convertToTerm(_this__u8e3s4), this.convertToTerm(other));
36
36
  }
37
37
  function mgu(term1, term2, occurCheckEnabled) {
38
- return this.e1k(this.convertToTerm(term1), this.convertToTerm(term2), occurCheckEnabled);
38
+ return this.g1l(this.convertToTerm(term1), this.convertToTerm(term2), occurCheckEnabled);
39
39
  }
40
40
  function mguAny(term1, term2, occurCheckEnabled, $super) {
41
41
  occurCheckEnabled = occurCheckEnabled === VOID ? true : occurCheckEnabled;
42
- return $super === VOID ? this.i31(term1, term2, occurCheckEnabled) : mgu(term1, term2, occurCheckEnabled);
42
+ return $super === VOID ? this.b34(term1, term2, occurCheckEnabled) : mgu(term1, term2, occurCheckEnabled);
43
43
  }
44
44
  function match(term1, term2, occurCheckEnabled) {
45
45
  return this.matchWithOccurCheck(this.convertToTerm(term1), this.convertToTerm(term2), occurCheckEnabled);
46
46
  }
47
47
  function matchAny(term1, term2, occurCheckEnabled, $super) {
48
48
  occurCheckEnabled = occurCheckEnabled === VOID ? true : occurCheckEnabled;
49
- return $super === VOID ? this.j31(term1, term2, occurCheckEnabled) : match(term1, term2, occurCheckEnabled);
49
+ return $super === VOID ? this.c34(term1, term2, occurCheckEnabled) : match(term1, term2, occurCheckEnabled);
50
50
  }
51
51
  function unify(term1, term2, occurCheckEnabled) {
52
52
  return this.unifyWithOccurCheck(this.convertToTerm(term1), this.convertToTerm(term2), occurCheckEnabled);
53
53
  }
54
54
  function unifyAny(term1, term2, occurCheckEnabled, $super) {
55
55
  occurCheckEnabled = occurCheckEnabled === VOID ? true : occurCheckEnabled;
56
- return $super === VOID ? this.k31(term1, term2, occurCheckEnabled) : unify(term1, term2, occurCheckEnabled);
56
+ return $super === VOID ? this.d34(term1, term2, occurCheckEnabled) : unify(term1, term2, occurCheckEnabled);
57
57
  }
58
58
  initMetadataForInterface(LogicProgrammingScopeWithUnification, 'LogicProgrammingScopeWithUnification', VOID, VOID, [BaseLogicProgrammingScope, Unificator]);
59
59
  //endregion