@tuprolog/arg2p-core 0.6.7 → 0.6.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/LICENSE +21 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/basic/basic.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/graph/builder/builder.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/graph/extension/extension.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/graph/graph.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/graph/labelling/labelling.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/language/language.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/structured/structured.kjsm +0 -0
- package/kotlin/arg2p-core/it/unibo/tuprolog/argumentation/core/libs/utils/utils.kjsm +0 -0
- package/kotlin/arg2p-core.js +271 -142
- package/kotlin/arg2p-core.js.map +1 -1
- package/kotlin/arg2p-core.meta.js +1 -1
- package/package.json +3 -18
- package/package.json.hash +0 -1
- package/pre-package.json +0 -29
package/kotlin/arg2p-core.js
CHANGED
|
@@ -6,25 +6,35 @@
|
|
|
6
6
|
else {
|
|
7
7
|
if (typeof kotlin === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency 'kotlin' was not found. Please, check whether 'kotlin' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
|
+
if (typeof this['@tuprolog/2p-solve'] === 'undefined') {
|
|
10
11
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-solve' was not found. Please, check whether '@tuprolog/2p-solve' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
11
|
-
}
|
|
12
|
+
}
|
|
13
|
+
if (typeof this['@tuprolog/2p-dsl-theory'] === 'undefined') {
|
|
12
14
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-dsl-theory' was not found. Please, check whether '@tuprolog/2p-dsl-theory' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
13
|
-
}
|
|
15
|
+
}
|
|
16
|
+
if (typeof this['@tuprolog/2p-dsl-core'] === 'undefined') {
|
|
14
17
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-dsl-core' was not found. Please, check whether '@tuprolog/2p-dsl-core' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
15
|
-
}
|
|
18
|
+
}
|
|
19
|
+
if (typeof this['@tuprolog/2p-unify'] === 'undefined') {
|
|
16
20
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-unify' was not found. Please, check whether '@tuprolog/2p-unify' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
17
|
-
}
|
|
21
|
+
}
|
|
22
|
+
if (typeof this['@tuprolog/2p-core'] === 'undefined') {
|
|
18
23
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-core' was not found. Please, check whether '@tuprolog/2p-core' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
19
|
-
}
|
|
24
|
+
}
|
|
25
|
+
if (typeof this['@tuprolog/2p-theory'] === 'undefined') {
|
|
20
26
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-theory' was not found. Please, check whether '@tuprolog/2p-theory' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
21
|
-
}
|
|
27
|
+
}
|
|
28
|
+
if (typeof this['@tuprolog/2p-parser-theory'] === 'undefined') {
|
|
22
29
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-parser-theory' was not found. Please, check whether '@tuprolog/2p-parser-theory' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
23
|
-
}
|
|
30
|
+
}
|
|
31
|
+
if (typeof this['@tuprolog/2p-solve-classic'] === 'undefined') {
|
|
24
32
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-solve-classic' was not found. Please, check whether '@tuprolog/2p-solve-classic' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
25
|
-
}
|
|
33
|
+
}
|
|
34
|
+
if (typeof this['@tuprolog/2p-parser-core'] === 'undefined') {
|
|
26
35
|
throw new Error("Error loading module '@tuprolog/arg2p-core'. Its dependency '@tuprolog/2p-parser-core' was not found. Please, check whether '@tuprolog/2p-parser-core' is loaded prior to '@tuprolog/arg2p-core'.");
|
|
27
|
-
}
|
|
36
|
+
}
|
|
37
|
+
root['@tuprolog/arg2p-core'] = factory(typeof this['@tuprolog/arg2p-core'] === 'undefined' ? {} : this['@tuprolog/arg2p-core'], kotlin, this['@tuprolog/2p-solve'], this['@tuprolog/2p-dsl-theory'], this['@tuprolog/2p-dsl-core'], this['@tuprolog/2p-unify'], this['@tuprolog/2p-core'], this['@tuprolog/2p-theory'], this['@tuprolog/2p-parser-theory'], this['@tuprolog/2p-solve-classic'], this['@tuprolog/2p-parser-core']);
|
|
28
38
|
}
|
|
29
39
|
}(this, function (_, Kotlin, $module$_2p_solve, $module$_2p_dsl_theory, $module$_2p_dsl_core, $module$_2p_unify, $module$_2p_core, $module$_2p_theory, $module$_2p_parser_theory, $module$_2p_solve_classic, $module$_2p_parser_core) {
|
|
30
40
|
'use strict';
|
|
@@ -122,9 +132,8 @@
|
|
|
122
132
|
var sortedWith = Kotlin.kotlin.sequences.sortedWith_vjgqpk$;
|
|
123
133
|
var mapIndexed = Kotlin.kotlin.sequences.mapIndexed_b7yuyq$;
|
|
124
134
|
var Pair = Kotlin.kotlin.Pair;
|
|
125
|
-
var firstOrNull = Kotlin.kotlin.sequences.firstOrNull_veqyi0$;
|
|
126
135
|
var NoSuchElementException_init = Kotlin.kotlin.NoSuchElementException;
|
|
127
|
-
var
|
|
136
|
+
var firstOrNull = Kotlin.kotlin.collections.firstOrNull_2p1efm$;
|
|
128
137
|
var plus_0 = Kotlin.kotlin.collections.plus_qloxvw$;
|
|
129
138
|
var Cons = $module$_2p_core.it.unibo.tuprolog.core.Cons;
|
|
130
139
|
DynamicLoader$WithLib.prototype = Object.create(DynamicLoader$AbstractWithLib.prototype);
|
|
@@ -314,7 +323,8 @@
|
|
|
314
323
|
function Arg2pSolver$Companion_getInstance() {
|
|
315
324
|
if (Arg2pSolver$Companion_instance === null) {
|
|
316
325
|
new Arg2pSolver$Companion();
|
|
317
|
-
}
|
|
326
|
+
}
|
|
327
|
+
return Arg2pSolver$Companion_instance;
|
|
318
328
|
}
|
|
319
329
|
Arg2pSolver.$metadata$ = {
|
|
320
330
|
kind: Kind_INTERFACE,
|
|
@@ -1274,7 +1284,8 @@
|
|
|
1274
1284
|
throw this.exception_0;
|
|
1275
1285
|
case 2:
|
|
1276
1286
|
return this.result_0;
|
|
1277
|
-
default:
|
|
1287
|
+
default:
|
|
1288
|
+
this.state_0 = 1;
|
|
1278
1289
|
throw new Error('State Machine Unreachable execution');
|
|
1279
1290
|
}
|
|
1280
1291
|
} catch (e) {
|
|
@@ -1540,7 +1551,8 @@
|
|
|
1540
1551
|
throw this.exception_0;
|
|
1541
1552
|
case 2:
|
|
1542
1553
|
return this.result_0;
|
|
1543
|
-
default:
|
|
1554
|
+
default:
|
|
1555
|
+
this.state_0 = 1;
|
|
1544
1556
|
throw new Error('State Machine Unreachable execution');
|
|
1545
1557
|
}
|
|
1546
1558
|
} catch (e) {
|
|
@@ -1618,7 +1630,8 @@
|
|
|
1618
1630
|
throw this.exception_0;
|
|
1619
1631
|
case 2:
|
|
1620
1632
|
return this.result_0;
|
|
1621
|
-
default:
|
|
1633
|
+
default:
|
|
1634
|
+
this.state_0 = 1;
|
|
1622
1635
|
throw new Error('State Machine Unreachable execution');
|
|
1623
1636
|
}
|
|
1624
1637
|
} catch (e) {
|
|
@@ -1721,7 +1734,7 @@
|
|
|
1721
1734
|
switch (this.state_0) {
|
|
1722
1735
|
case 0:
|
|
1723
1736
|
this.state_0 = 2;
|
|
1724
|
-
this.result_0 = this.local$$receiver.yieldAll_swo9gw$(map(this.local$closure$solver.solveWithOptions(this.local$closure$goal, SolveOptions.Companion.
|
|
1737
|
+
this.result_0 = this.local$$receiver.yieldAll_swo9gw$(map(this.local$closure$solver.solveWithOptions(this.local$closure$goal, SolveOptions.Companion.allLazilyWithTimeout(Long$Companion$MAX_VALUE)), DynamicLoader$AbstractWithLib$solve$lambda$lambda(this.local$closure$request)), this);
|
|
1725
1738
|
if (this.result_0 === COROUTINE_SUSPENDED)
|
|
1726
1739
|
return COROUTINE_SUSPENDED;
|
|
1727
1740
|
continue;
|
|
@@ -1729,7 +1742,8 @@
|
|
|
1729
1742
|
throw this.exception_0;
|
|
1730
1743
|
case 2:
|
|
1731
1744
|
return this.result_0;
|
|
1732
|
-
default:
|
|
1745
|
+
default:
|
|
1746
|
+
this.state_0 = 1;
|
|
1733
1747
|
throw new Error('State Machine Unreachable execution');
|
|
1734
1748
|
}
|
|
1735
1749
|
} catch (e) {
|
|
@@ -1758,9 +1772,11 @@
|
|
|
1758
1772
|
var goal = request.arguments.get_za3lpa$(1);
|
|
1759
1773
|
if (!Kotlin.isType(lib, Atom)) {
|
|
1760
1774
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, lib);
|
|
1761
|
-
}
|
|
1775
|
+
}
|
|
1776
|
+
if (!Kotlin.isType(goal, Struct)) {
|
|
1762
1777
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.CALLABLE, goal);
|
|
1763
|
-
}
|
|
1778
|
+
}
|
|
1779
|
+
var $receiver = this.$outer.solver_0.dynamicLibraries();
|
|
1764
1780
|
var firstOrNull$result;
|
|
1765
1781
|
firstOrNull$break: do {
|
|
1766
1782
|
var tmp$_0;
|
|
@@ -1771,14 +1787,16 @@
|
|
|
1771
1787
|
if (equals((Kotlin.isType(tmp$_1 = element, Loadable) ? tmp$_1 : throwCCE()).identifier(), lib.toString())) {
|
|
1772
1788
|
firstOrNull$result = element;
|
|
1773
1789
|
break firstOrNull$break;
|
|
1774
|
-
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1775
1792
|
firstOrNull$result = null;
|
|
1776
1793
|
}
|
|
1777
1794
|
while (false);
|
|
1778
1795
|
tmp$ = firstOrNull$result;
|
|
1779
1796
|
if (tmp$ == null) {
|
|
1780
1797
|
throw DomainError.Companion.forGoal(request.context, request.signature, DomainError$Expected.Companion.of('Loadable Lib'), lib);
|
|
1781
|
-
}
|
|
1798
|
+
}
|
|
1799
|
+
this.$outer;
|
|
1782
1800
|
var this$DynamicLoader = this.$outer;
|
|
1783
1801
|
var tmp$_2 = request.context;
|
|
1784
1802
|
var tmp$_3 = Libraries.Companion;
|
|
@@ -1913,7 +1931,8 @@
|
|
|
1913
1931
|
function DynamicLoader$Companion_getInstance() {
|
|
1914
1932
|
if (DynamicLoader$Companion_instance === null) {
|
|
1915
1933
|
new DynamicLoader$Companion();
|
|
1916
|
-
}
|
|
1934
|
+
}
|
|
1935
|
+
return DynamicLoader$Companion_instance;
|
|
1917
1936
|
}
|
|
1918
1937
|
DynamicLoader.$metadata$ = {
|
|
1919
1938
|
kind: Kind_CLASS,
|
|
@@ -2021,7 +2040,8 @@
|
|
|
2021
2040
|
function FlagsBuilder$Companion_getInstance() {
|
|
2022
2041
|
if (FlagsBuilder$Companion_instance === null) {
|
|
2023
2042
|
new FlagsBuilder$Companion();
|
|
2024
|
-
}
|
|
2043
|
+
}
|
|
2044
|
+
return FlagsBuilder$Companion_instance;
|
|
2025
2045
|
}
|
|
2026
2046
|
FlagsBuilder.prototype.queryMode_6taknv$ = function (queryMode) {
|
|
2027
2047
|
this.queryMode = queryMode;
|
|
@@ -2180,7 +2200,8 @@
|
|
|
2180
2200
|
function MetaInterpreter_getInstance() {
|
|
2181
2201
|
if (MetaInterpreter_instance === null) {
|
|
2182
2202
|
new MetaInterpreter();
|
|
2183
|
-
}
|
|
2203
|
+
}
|
|
2204
|
+
return MetaInterpreter_instance;
|
|
2184
2205
|
}
|
|
2185
2206
|
function ModuleCalls() {
|
|
2186
2207
|
ModuleCalls_instance = this;
|
|
@@ -2216,7 +2237,8 @@
|
|
|
2216
2237
|
function ModuleCalls_getInstance() {
|
|
2217
2238
|
if (ModuleCalls_instance === null) {
|
|
2218
2239
|
new ModuleCalls();
|
|
2219
|
-
}
|
|
2240
|
+
}
|
|
2241
|
+
return ModuleCalls_instance;
|
|
2220
2242
|
}
|
|
2221
2243
|
function ModulesPath() {
|
|
2222
2244
|
ModulesPath_instance = this;
|
|
@@ -2239,7 +2261,8 @@
|
|
|
2239
2261
|
function ModulesPath_getInstance() {
|
|
2240
2262
|
if (ModulesPath_instance === null) {
|
|
2241
2263
|
new ModulesPath();
|
|
2242
|
-
}
|
|
2264
|
+
}
|
|
2265
|
+
return ModulesPath_instance;
|
|
2243
2266
|
}
|
|
2244
2267
|
function ModuleCall() {
|
|
2245
2268
|
ModuleCall_instance = this;
|
|
@@ -2283,7 +2306,8 @@
|
|
|
2283
2306
|
throw this.exception_0;
|
|
2284
2307
|
case 2:
|
|
2285
2308
|
return this.result_0;
|
|
2286
|
-
default:
|
|
2309
|
+
default:
|
|
2310
|
+
this.state_0 = 1;
|
|
2287
2311
|
throw new Error('State Machine Unreachable execution');
|
|
2288
2312
|
}
|
|
2289
2313
|
} catch (e) {
|
|
@@ -2311,9 +2335,11 @@
|
|
|
2311
2335
|
var goal = request.arguments.get_za3lpa$(1);
|
|
2312
2336
|
if (!Kotlin.isType(modules, List)) {
|
|
2313
2337
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, modules);
|
|
2314
|
-
}
|
|
2338
|
+
}
|
|
2339
|
+
if (!Kotlin.isType(goal, Struct)) {
|
|
2315
2340
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.CALLABLE, goal);
|
|
2316
|
-
}
|
|
2341
|
+
}
|
|
2342
|
+
var tmp$ = request.context;
|
|
2317
2343
|
var tmp$_0 = this.mineModulesPath_0(request.context);
|
|
2318
2344
|
var $receiver = modules.toList();
|
|
2319
2345
|
var destination = ArrayList_init(collectionSizeOrDefault($receiver, 10));
|
|
@@ -2371,7 +2397,8 @@
|
|
|
2371
2397
|
function ModuleCall_getInstance() {
|
|
2372
2398
|
if (ModuleCall_instance === null) {
|
|
2373
2399
|
new ModuleCall();
|
|
2374
|
-
}
|
|
2400
|
+
}
|
|
2401
|
+
return ModuleCall_instance;
|
|
2375
2402
|
}
|
|
2376
2403
|
function AbstractModeBase() {
|
|
2377
2404
|
LazyRawPrologContent.call(this);
|
|
@@ -2431,7 +2458,8 @@
|
|
|
2431
2458
|
function GraphExtension_getInstance() {
|
|
2432
2459
|
if (GraphExtension_instance === null) {
|
|
2433
2460
|
new GraphExtension();
|
|
2434
|
-
}
|
|
2461
|
+
}
|
|
2462
|
+
return GraphExtension_instance;
|
|
2435
2463
|
}
|
|
2436
2464
|
function ArgumentLabellingMode() {
|
|
2437
2465
|
ArgumentLabellingMode_instance = this;
|
|
@@ -2454,7 +2482,8 @@
|
|
|
2454
2482
|
function ArgumentLabellingMode_getInstance() {
|
|
2455
2483
|
if (ArgumentLabellingMode_instance === null) {
|
|
2456
2484
|
new ArgumentLabellingMode();
|
|
2457
|
-
}
|
|
2485
|
+
}
|
|
2486
|
+
return ArgumentLabellingMode_instance;
|
|
2458
2487
|
}
|
|
2459
2488
|
function StatementLabellingMode() {
|
|
2460
2489
|
StatementLabellingMode_instance = this;
|
|
@@ -2477,7 +2506,8 @@
|
|
|
2477
2506
|
function StatementLabellingMode_getInstance() {
|
|
2478
2507
|
if (StatementLabellingMode_instance === null) {
|
|
2479
2508
|
new StatementLabellingMode();
|
|
2480
|
-
}
|
|
2509
|
+
}
|
|
2510
|
+
return StatementLabellingMode_instance;
|
|
2481
2511
|
}
|
|
2482
2512
|
function GraphBuildMode() {
|
|
2483
2513
|
GraphBuildMode_instance = this;
|
|
@@ -2500,7 +2530,8 @@
|
|
|
2500
2530
|
function GraphBuildMode_getInstance() {
|
|
2501
2531
|
if (GraphBuildMode_instance === null) {
|
|
2502
2532
|
new GraphBuildMode();
|
|
2503
|
-
}
|
|
2533
|
+
}
|
|
2534
|
+
return GraphBuildMode_instance;
|
|
2504
2535
|
}
|
|
2505
2536
|
function ArgumentationGraphBuilderBase() {
|
|
2506
2537
|
LazyRawPrologContent.call(this);
|
|
@@ -2765,7 +2796,8 @@
|
|
|
2765
2796
|
function BinaryStatementLabeller_getInstance() {
|
|
2766
2797
|
if (BinaryStatementLabeller_instance === null) {
|
|
2767
2798
|
new BinaryStatementLabeller();
|
|
2768
|
-
}
|
|
2799
|
+
}
|
|
2800
|
+
return BinaryStatementLabeller_instance;
|
|
2769
2801
|
}
|
|
2770
2802
|
function BinaryLabelling() {
|
|
2771
2803
|
BinaryLabelling_instance = this;
|
|
@@ -2786,7 +2818,8 @@
|
|
|
2786
2818
|
function BinaryLabelling_getInstance() {
|
|
2787
2819
|
if (BinaryLabelling_instance === null) {
|
|
2788
2820
|
new BinaryLabelling();
|
|
2789
|
-
}
|
|
2821
|
+
}
|
|
2822
|
+
return BinaryLabelling_instance;
|
|
2790
2823
|
}
|
|
2791
2824
|
function BpCompleteLabellerBase() {
|
|
2792
2825
|
LazyRawPrologContent.call(this);
|
|
@@ -3051,7 +3084,8 @@
|
|
|
3051
3084
|
function PassThroughStatementLabeller_getInstance() {
|
|
3052
3085
|
if (PassThroughStatementLabeller_instance === null) {
|
|
3053
3086
|
new PassThroughStatementLabeller();
|
|
3054
|
-
}
|
|
3087
|
+
}
|
|
3088
|
+
return PassThroughStatementLabeller_instance;
|
|
3055
3089
|
}
|
|
3056
3090
|
function Labelling() {
|
|
3057
3091
|
Labelling_instance = this;
|
|
@@ -3072,7 +3106,8 @@
|
|
|
3072
3106
|
function Labelling_getInstance() {
|
|
3073
3107
|
if (Labelling_instance === null) {
|
|
3074
3108
|
new Labelling();
|
|
3075
|
-
}
|
|
3109
|
+
}
|
|
3110
|
+
return Labelling_instance;
|
|
3076
3111
|
}
|
|
3077
3112
|
function StatementLabellerBase() {
|
|
3078
3113
|
LazyRawPrologContent.call(this);
|
|
@@ -3173,7 +3208,8 @@
|
|
|
3173
3208
|
function RuleParserBase$Companion_getInstance() {
|
|
3174
3209
|
if (RuleParserBase$Companion_instance === null) {
|
|
3175
3210
|
new RuleParserBase$Companion();
|
|
3176
|
-
}
|
|
3211
|
+
}
|
|
3212
|
+
return RuleParserBase$Companion_instance;
|
|
3177
3213
|
}
|
|
3178
3214
|
RuleParserBase.$metadata$ = {
|
|
3179
3215
|
kind: Kind_CLASS,
|
|
@@ -3201,7 +3237,8 @@
|
|
|
3201
3237
|
function AutoTransposition_getInstance() {
|
|
3202
3238
|
if (AutoTransposition_instance === null) {
|
|
3203
3239
|
new AutoTransposition();
|
|
3204
|
-
}
|
|
3240
|
+
}
|
|
3241
|
+
return AutoTransposition_instance;
|
|
3205
3242
|
}
|
|
3206
3243
|
function PrologStrictCompatibility() {
|
|
3207
3244
|
PrologStrictCompatibility_instance = this;
|
|
@@ -3224,7 +3261,8 @@
|
|
|
3224
3261
|
function PrologStrictCompatibility_getInstance() {
|
|
3225
3262
|
if (PrologStrictCompatibility_instance === null) {
|
|
3226
3263
|
new PrologStrictCompatibility();
|
|
3227
|
-
}
|
|
3264
|
+
}
|
|
3265
|
+
return PrologStrictCompatibility_instance;
|
|
3228
3266
|
}
|
|
3229
3267
|
function ConversionUtils() {
|
|
3230
3268
|
ConversionUtils_instance = this;
|
|
@@ -3276,7 +3314,8 @@
|
|
|
3276
3314
|
function ConversionUtils_getInstance() {
|
|
3277
3315
|
if (ConversionUtils_instance === null) {
|
|
3278
3316
|
new ConversionUtils();
|
|
3279
|
-
}
|
|
3317
|
+
}
|
|
3318
|
+
return ConversionUtils_instance;
|
|
3280
3319
|
}
|
|
3281
3320
|
function StrictRules() {
|
|
3282
3321
|
StrictRules_instance = this;
|
|
@@ -3316,7 +3355,8 @@
|
|
|
3316
3355
|
function StrictRules_getInstance() {
|
|
3317
3356
|
if (StrictRules_instance === null) {
|
|
3318
3357
|
new StrictRules();
|
|
3319
|
-
}
|
|
3358
|
+
}
|
|
3359
|
+
return StrictRules_instance;
|
|
3320
3360
|
}
|
|
3321
3361
|
function Axioms() {
|
|
3322
3362
|
Axioms_instance = this;
|
|
@@ -3352,7 +3392,8 @@
|
|
|
3352
3392
|
function Axioms_getInstance() {
|
|
3353
3393
|
if (Axioms_instance === null) {
|
|
3354
3394
|
new Axioms();
|
|
3355
|
-
}
|
|
3395
|
+
}
|
|
3396
|
+
return Axioms_instance;
|
|
3356
3397
|
}
|
|
3357
3398
|
function Premises() {
|
|
3358
3399
|
Premises_instance = this;
|
|
@@ -3388,7 +3429,8 @@
|
|
|
3388
3429
|
function Premises_getInstance() {
|
|
3389
3430
|
if (Premises_instance === null) {
|
|
3390
3431
|
new Premises();
|
|
3391
|
-
}
|
|
3432
|
+
}
|
|
3433
|
+
return Premises_instance;
|
|
3392
3434
|
}
|
|
3393
3435
|
function DefeasibleRules() {
|
|
3394
3436
|
DefeasibleRules_instance = this;
|
|
@@ -3438,7 +3480,8 @@
|
|
|
3438
3480
|
function DefeasibleRules_getInstance() {
|
|
3439
3481
|
if (DefeasibleRules_instance === null) {
|
|
3440
3482
|
new DefeasibleRules();
|
|
3441
|
-
}
|
|
3483
|
+
}
|
|
3484
|
+
return DefeasibleRules_instance;
|
|
3442
3485
|
}
|
|
3443
3486
|
function Bps() {
|
|
3444
3487
|
Bps_instance = this;
|
|
@@ -3475,7 +3518,8 @@
|
|
|
3475
3518
|
function Bps_getInstance() {
|
|
3476
3519
|
if (Bps_instance === null) {
|
|
3477
3520
|
new Bps();
|
|
3478
|
-
}
|
|
3521
|
+
}
|
|
3522
|
+
return Bps_instance;
|
|
3479
3523
|
}
|
|
3480
3524
|
function ExtractStrictIds() {
|
|
3481
3525
|
ExtractStrictIds_instance = this;
|
|
@@ -3504,7 +3548,8 @@
|
|
|
3504
3548
|
function ExtractStrictIds_getInstance() {
|
|
3505
3549
|
if (ExtractStrictIds_instance === null) {
|
|
3506
3550
|
new ExtractStrictIds();
|
|
3507
|
-
}
|
|
3551
|
+
}
|
|
3552
|
+
return ExtractStrictIds_instance;
|
|
3508
3553
|
}
|
|
3509
3554
|
function RuleToClause() {
|
|
3510
3555
|
RuleToClause_instance = this;
|
|
@@ -3531,7 +3576,8 @@
|
|
|
3531
3576
|
case 3:
|
|
3532
3577
|
block$result = Clause.Companion.of(Struct.Companion.of('rl', [it.get_za3lpa$(2)]), [item]);
|
|
3533
3578
|
break block$break;
|
|
3534
|
-
default:
|
|
3579
|
+
default:
|
|
3580
|
+
throw IllegalArgumentException_init();
|
|
3535
3581
|
}
|
|
3536
3582
|
}
|
|
3537
3583
|
while (false);
|
|
@@ -3548,7 +3594,8 @@
|
|
|
3548
3594
|
function RuleToClause_getInstance() {
|
|
3549
3595
|
if (RuleToClause_instance === null) {
|
|
3550
3596
|
new RuleToClause();
|
|
3551
|
-
}
|
|
3597
|
+
}
|
|
3598
|
+
return RuleToClause_instance;
|
|
3552
3599
|
}
|
|
3553
3600
|
function StructuredModeBase() {
|
|
3554
3601
|
LazyRawPrologContent.call(this);
|
|
@@ -3608,7 +3655,8 @@
|
|
|
3608
3655
|
function QueryMode_getInstance() {
|
|
3609
3656
|
if (QueryMode_instance === null) {
|
|
3610
3657
|
new QueryMode();
|
|
3611
|
-
}
|
|
3658
|
+
}
|
|
3659
|
+
return QueryMode_instance;
|
|
3612
3660
|
}
|
|
3613
3661
|
function AmbiguityBlocking() {
|
|
3614
3662
|
AmbiguityBlocking_instance = this;
|
|
@@ -3631,7 +3679,8 @@
|
|
|
3631
3679
|
function AmbiguityBlocking_getInstance() {
|
|
3632
3680
|
if (AmbiguityBlocking_instance === null) {
|
|
3633
3681
|
new AmbiguityBlocking();
|
|
3634
|
-
}
|
|
3682
|
+
}
|
|
3683
|
+
return AmbiguityBlocking_instance;
|
|
3635
3684
|
}
|
|
3636
3685
|
function DebugBase() {
|
|
3637
3686
|
LazyRawPrologContent.call(this);
|
|
@@ -3728,7 +3777,8 @@
|
|
|
3728
3777
|
function OrderingPrinciple_getInstance() {
|
|
3729
3778
|
if (OrderingPrinciple_instance === null) {
|
|
3730
3779
|
new OrderingPrinciple();
|
|
3731
|
-
}
|
|
3780
|
+
}
|
|
3781
|
+
return OrderingPrinciple_instance;
|
|
3732
3782
|
}
|
|
3733
3783
|
function OrderingComparator() {
|
|
3734
3784
|
OrderingComparator_instance = this;
|
|
@@ -3751,7 +3801,8 @@
|
|
|
3751
3801
|
function OrderingComparator_getInstance() {
|
|
3752
3802
|
if (OrderingComparator_instance === null) {
|
|
3753
3803
|
new OrderingComparator();
|
|
3754
|
-
}
|
|
3804
|
+
}
|
|
3805
|
+
return OrderingComparator_instance;
|
|
3755
3806
|
}
|
|
3756
3807
|
function UtilsBase() {
|
|
3757
3808
|
LazyRawPrologContent.call(this);
|
|
@@ -3832,7 +3883,8 @@
|
|
|
3832
3883
|
throw this.exception_0;
|
|
3833
3884
|
case 2:
|
|
3834
3885
|
return this.result_0;
|
|
3835
|
-
default:
|
|
3886
|
+
default:
|
|
3887
|
+
this.state_0 = 1;
|
|
3836
3888
|
throw new Error('State Machine Unreachable execution');
|
|
3837
3889
|
}
|
|
3838
3890
|
} catch (e) {
|
|
@@ -3861,11 +3913,14 @@
|
|
|
3861
3913
|
var res = request.arguments.get_za3lpa$(2);
|
|
3862
3914
|
if (!Kotlin.isType(list1, List)) {
|
|
3863
3915
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list1);
|
|
3864
|
-
}
|
|
3916
|
+
}
|
|
3917
|
+
if (!Kotlin.isType(list2, List)) {
|
|
3865
3918
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list2);
|
|
3866
|
-
}
|
|
3919
|
+
}
|
|
3920
|
+
if (!Kotlin.isType(res, Var)) {
|
|
3867
3921
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.VARIABLE, res);
|
|
3868
|
-
}
|
|
3922
|
+
}
|
|
3923
|
+
return sequence(AppendOptimized$solve$lambda(request, res, list1, list2));
|
|
3869
3924
|
};
|
|
3870
3925
|
AppendOptimized.$metadata$ = {
|
|
3871
3926
|
kind: Kind_OBJECT,
|
|
@@ -3876,7 +3931,8 @@
|
|
|
3876
3931
|
function AppendOptimized_getInstance() {
|
|
3877
3932
|
if (AppendOptimized_instance === null) {
|
|
3878
3933
|
new AppendOptimized();
|
|
3879
|
-
}
|
|
3934
|
+
}
|
|
3935
|
+
return AppendOptimized_instance;
|
|
3880
3936
|
}
|
|
3881
3937
|
function AssertAll() {
|
|
3882
3938
|
AssertAll_instance = this;
|
|
@@ -3922,7 +3978,8 @@
|
|
|
3922
3978
|
throw this.exception_0;
|
|
3923
3979
|
case 2:
|
|
3924
3980
|
return this.result_0;
|
|
3925
|
-
default:
|
|
3981
|
+
default:
|
|
3982
|
+
this.state_0 = 1;
|
|
3926
3983
|
throw new Error('State Machine Unreachable execution');
|
|
3927
3984
|
}
|
|
3928
3985
|
} catch (e) {
|
|
@@ -3949,7 +4006,8 @@
|
|
|
3949
4006
|
var list = request.arguments.get_za3lpa$(0);
|
|
3950
4007
|
if (!Kotlin.isType(list, List)) {
|
|
3951
4008
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list);
|
|
3952
|
-
}
|
|
4009
|
+
}
|
|
4010
|
+
arg2pScope(AssertAll$solve$lambda(list, request));
|
|
3953
4011
|
return sequence(AssertAll$solve$lambda_0(request));
|
|
3954
4012
|
};
|
|
3955
4013
|
AssertAll.$metadata$ = {
|
|
@@ -3961,7 +4019,8 @@
|
|
|
3961
4019
|
function AssertAll_getInstance() {
|
|
3962
4020
|
if (AssertAll_instance === null) {
|
|
3963
4021
|
new AssertAll();
|
|
3964
|
-
}
|
|
4022
|
+
}
|
|
4023
|
+
return AssertAll_instance;
|
|
3965
4024
|
}
|
|
3966
4025
|
function ArgumentHash() {
|
|
3967
4026
|
ArgumentHash_instance = this;
|
|
@@ -3979,7 +4038,8 @@
|
|
|
3979
4038
|
function ArgumentHash_getInstance() {
|
|
3980
4039
|
if (ArgumentHash_instance === null) {
|
|
3981
4040
|
new ArgumentHash();
|
|
3982
|
-
}
|
|
4041
|
+
}
|
|
4042
|
+
return ArgumentHash_instance;
|
|
3983
4043
|
}
|
|
3984
4044
|
function Contains() {
|
|
3985
4045
|
Contains_instance = this;
|
|
@@ -4014,14 +4074,16 @@
|
|
|
4014
4074
|
if (Kotlin.isType($receiver, Collection) && $receiver.isEmpty()) {
|
|
4015
4075
|
any$result = false;
|
|
4016
4076
|
break any$break;
|
|
4017
|
-
}
|
|
4077
|
+
}
|
|
4078
|
+
tmp$_0 = $receiver.iterator();
|
|
4018
4079
|
while (tmp$_0.hasNext()) {
|
|
4019
4080
|
var element = tmp$_0.next();
|
|
4020
4081
|
var closure$elem = this.local$closure$elem;
|
|
4021
4082
|
if (Unificator.Companion.default.match(element, closure$elem)) {
|
|
4022
4083
|
any$result = true;
|
|
4023
4084
|
break any$break;
|
|
4024
|
-
}
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4025
4087
|
any$result = false;
|
|
4026
4088
|
}
|
|
4027
4089
|
while (false);
|
|
@@ -4034,7 +4096,8 @@
|
|
|
4034
4096
|
throw this.exception_0;
|
|
4035
4097
|
case 2:
|
|
4036
4098
|
return this.result_0;
|
|
4037
|
-
default:
|
|
4099
|
+
default:
|
|
4100
|
+
this.state_0 = 1;
|
|
4038
4101
|
throw new Error('State Machine Unreachable execution');
|
|
4039
4102
|
}
|
|
4040
4103
|
} catch (e) {
|
|
@@ -4062,7 +4125,8 @@
|
|
|
4062
4125
|
var list = request.arguments.get_za3lpa$(1);
|
|
4063
4126
|
if (!Kotlin.isType(list, List)) {
|
|
4064
4127
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list);
|
|
4065
|
-
}
|
|
4128
|
+
}
|
|
4129
|
+
return sequence(Contains$solve$lambda(request, list, elem));
|
|
4066
4130
|
};
|
|
4067
4131
|
Contains.$metadata$ = {
|
|
4068
4132
|
kind: Kind_OBJECT,
|
|
@@ -4073,7 +4137,8 @@
|
|
|
4073
4137
|
function Contains_getInstance() {
|
|
4074
4138
|
if (Contains_instance === null) {
|
|
4075
4139
|
new Contains();
|
|
4076
|
-
}
|
|
4140
|
+
}
|
|
4141
|
+
return Contains_instance;
|
|
4077
4142
|
}
|
|
4078
4143
|
function ContainsAny() {
|
|
4079
4144
|
ContainsAny_instance = this;
|
|
@@ -4118,14 +4183,16 @@
|
|
|
4118
4183
|
if (Unificator.Companion.default.match(element, element_0)) {
|
|
4119
4184
|
any$result_0 = true;
|
|
4120
4185
|
break any$break_0;
|
|
4121
|
-
}
|
|
4186
|
+
}
|
|
4187
|
+
}
|
|
4122
4188
|
any$result_0 = false;
|
|
4123
4189
|
}
|
|
4124
4190
|
while (false);
|
|
4125
4191
|
if (any$result_0) {
|
|
4126
4192
|
any$result = true;
|
|
4127
4193
|
break any$break;
|
|
4128
|
-
}
|
|
4194
|
+
}
|
|
4195
|
+
}
|
|
4129
4196
|
any$result = false;
|
|
4130
4197
|
}
|
|
4131
4198
|
while (false);
|
|
@@ -4138,7 +4205,8 @@
|
|
|
4138
4205
|
throw this.exception_0;
|
|
4139
4206
|
case 2:
|
|
4140
4207
|
return this.result_0;
|
|
4141
|
-
default:
|
|
4208
|
+
default:
|
|
4209
|
+
this.state_0 = 1;
|
|
4142
4210
|
throw new Error('State Machine Unreachable execution');
|
|
4143
4211
|
}
|
|
4144
4212
|
} catch (e) {
|
|
@@ -4166,9 +4234,11 @@
|
|
|
4166
4234
|
var list = request.arguments.get_za3lpa$(1);
|
|
4167
4235
|
if (!Kotlin.isType(list, List)) {
|
|
4168
4236
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list);
|
|
4169
|
-
}
|
|
4237
|
+
}
|
|
4238
|
+
if (!Kotlin.isType(elemList, List)) {
|
|
4170
4239
|
throw TypeError.Companion.forGoal(request.context, request.signature, TypeError$Expected.LIST, list);
|
|
4171
|
-
}
|
|
4240
|
+
}
|
|
4241
|
+
return sequence(ContainsAny$solve$lambda(request, list, elemList));
|
|
4172
4242
|
};
|
|
4173
4243
|
ContainsAny.$metadata$ = {
|
|
4174
4244
|
kind: Kind_OBJECT,
|
|
@@ -4179,7 +4249,8 @@
|
|
|
4179
4249
|
function ContainsAny_getInstance() {
|
|
4180
4250
|
if (ContainsAny_instance === null) {
|
|
4181
4251
|
new ContainsAny();
|
|
4182
|
-
}
|
|
4252
|
+
}
|
|
4253
|
+
return ContainsAny_instance;
|
|
4183
4254
|
}
|
|
4184
4255
|
function MetaInterpreterLib() {
|
|
4185
4256
|
MetaInterpreterLib_instance = this;
|
|
@@ -4236,7 +4307,8 @@
|
|
|
4236
4307
|
function MetaInterpreterLib_getInstance() {
|
|
4237
4308
|
if (MetaInterpreterLib_instance === null) {
|
|
4238
4309
|
new MetaInterpreterLib();
|
|
4239
|
-
}
|
|
4310
|
+
}
|
|
4311
|
+
return MetaInterpreterLib_instance;
|
|
4240
4312
|
}
|
|
4241
4313
|
function graph($receiver, context) {
|
|
4242
4314
|
var it = arguments_0($receiver, context);
|
|
@@ -4297,7 +4369,8 @@
|
|
|
4297
4369
|
if (element.hashCode() === solution.first.hashCode()) {
|
|
4298
4370
|
first$result = element;
|
|
4299
4371
|
break first$break;
|
|
4300
|
-
}
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4301
4374
|
throw new NoSuchElementException_init('Collection contains no element matching the predicate.');
|
|
4302
4375
|
}
|
|
4303
4376
|
while (false);
|
|
@@ -4312,7 +4385,8 @@
|
|
|
4312
4385
|
if (element_0.hashCode() === solution.second.hashCode()) {
|
|
4313
4386
|
first$result_0 = element_0;
|
|
4314
4387
|
break first$break;
|
|
4315
|
-
}
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4316
4390
|
throw new NoSuchElementException_init('Collection contains no element matching the predicate.');
|
|
4317
4391
|
}
|
|
4318
4392
|
while (false);
|
|
@@ -4349,7 +4423,8 @@
|
|
|
4349
4423
|
if (element.hashCode() === solution.second.hashCode()) {
|
|
4350
4424
|
first$result = element;
|
|
4351
4425
|
break first$break;
|
|
4352
|
-
}
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4353
4428
|
throw new NoSuchElementException_init('Collection contains no element matching the predicate.');
|
|
4354
4429
|
}
|
|
4355
4430
|
while (false);
|
|
@@ -4364,7 +4439,8 @@
|
|
|
4364
4439
|
if (element_0.hashCode() === solution.first.hashCode()) {
|
|
4365
4440
|
first$result_0 = element_0;
|
|
4366
4441
|
break first$break;
|
|
4367
|
-
}
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4368
4444
|
throw new NoSuchElementException_init('Collection contains no element matching the predicate.');
|
|
4369
4445
|
}
|
|
4370
4446
|
while (false);
|
|
@@ -4384,32 +4460,43 @@
|
|
|
4384
4460
|
function labels$checkFunctor$lambda$lambda(it) {
|
|
4385
4461
|
return it.isYes;
|
|
4386
4462
|
}
|
|
4387
|
-
function labels$checkFunctor$lambda$lambda_0(closure$functor) {
|
|
4388
|
-
return function (
|
|
4389
|
-
|
|
4463
|
+
function labels$checkFunctor$lambda$lambda_0(closure$arguments, this$, closure$functor) {
|
|
4464
|
+
return function (res) {
|
|
4465
|
+
var $receiver = closure$arguments;
|
|
4466
|
+
var first$result;
|
|
4467
|
+
first$break: do {
|
|
4468
|
+
var tmp$;
|
|
4469
|
+
tmp$ = $receiver.iterator();
|
|
4470
|
+
while (tmp$.hasNext()) {
|
|
4471
|
+
var element = tmp$.next();
|
|
4472
|
+
var this$_0 = this$;
|
|
4473
|
+
var tmp$_0 = element.hashCode();
|
|
4474
|
+
var $receiver_0 = res.substitution.get_11rb$(this$_0.X);
|
|
4475
|
+
var tmp$_1;
|
|
4476
|
+
if (tmp$_0 === ((tmp$_1 = $receiver_0 != null ? hashCode($receiver_0) : null) != null ? tmp$_1 : 0)) {
|
|
4477
|
+
first$result = element;
|
|
4478
|
+
break first$break;
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
throw new NoSuchElementException_init('Collection contains no element matching the predicate.');
|
|
4482
|
+
}
|
|
4483
|
+
while (false);
|
|
4484
|
+
return new LabelledArgument(first$result, closure$functor);
|
|
4390
4485
|
};
|
|
4391
4486
|
}
|
|
4392
|
-
function labels$checkFunctor$lambda(this$labels, closure$context, closure$functor, closure$
|
|
4487
|
+
function labels$checkFunctor$lambda(this$labels, closure$context, closure$functor, closure$arguments) {
|
|
4393
4488
|
return function ($receiver) {
|
|
4394
|
-
return
|
|
4489
|
+
return toList(map(filter(this$labels.solve($receiver.stringInvoke('context_check', closure$context, [$receiver.stringInvoke(closure$functor, $receiver.X, [])])), labels$checkFunctor$lambda$lambda), labels$checkFunctor$lambda$lambda_0(closure$arguments, $receiver, closure$functor)));
|
|
4395
4490
|
};
|
|
4396
4491
|
}
|
|
4397
|
-
function labels$checkFunctor(this$labels, closure$context) {
|
|
4398
|
-
return function (functor
|
|
4399
|
-
return prolog(labels$checkFunctor$lambda(this$labels, closure$context, functor,
|
|
4492
|
+
function labels$checkFunctor(this$labels, closure$context, closure$arguments) {
|
|
4493
|
+
return function (functor) {
|
|
4494
|
+
return prolog(labels$checkFunctor$lambda(this$labels, closure$context, functor, closure$arguments));
|
|
4400
4495
|
};
|
|
4401
4496
|
}
|
|
4402
4497
|
function labels($receiver, context, arguments_0) {
|
|
4403
|
-
var checkFunctor = labels$checkFunctor($receiver, context);
|
|
4404
|
-
|
|
4405
|
-
var tmp$;
|
|
4406
|
-
tmp$ = arguments_0.iterator();
|
|
4407
|
-
while (tmp$.hasNext()) {
|
|
4408
|
-
var item = tmp$.next();
|
|
4409
|
-
var tmp$_0, tmp$_1;
|
|
4410
|
-
destination.add_11rb$(new LabelledArgument(item, (tmp$_1 = (tmp$_0 = checkFunctor('in', item)) != null ? tmp$_0 : checkFunctor('out', item)) != null ? tmp$_1 : 'und'));
|
|
4411
|
-
}
|
|
4412
|
-
return destination;
|
|
4498
|
+
var checkFunctor = labels$checkFunctor($receiver, context, arguments_0);
|
|
4499
|
+
return plus(plus(checkFunctor('in'), checkFunctor('out')), checkFunctor('und'));
|
|
4413
4500
|
}
|
|
4414
4501
|
function Argument(rules, topRule, conclusion, groundings, defeasibleRules, defeasiblePremises, lastDefeasibleRules, term) {
|
|
4415
4502
|
Argument$Companion_getInstance();
|
|
@@ -4445,7 +4532,7 @@
|
|
|
4445
4532
|
var tmp$, tmp$_0, tmp$_1;
|
|
4446
4533
|
tmp$_1 = this.identifier + ' : ';
|
|
4447
4534
|
if (equals(this.topRule, 'none'))
|
|
4448
|
-
tmp$_0 = (tmp$ =
|
|
4535
|
+
tmp$_0 = (tmp$ = firstOrNull(this.rules)) != null ? tmp$ : '';
|
|
4449
4536
|
else {
|
|
4450
4537
|
var $receiver = this.supports;
|
|
4451
4538
|
var destination = ArrayList_init(collectionSizeOrDefault($receiver, 10));
|
|
@@ -4549,7 +4636,8 @@
|
|
|
4549
4636
|
function Argument$Companion_getInstance() {
|
|
4550
4637
|
if (Argument$Companion_instance === null) {
|
|
4551
4638
|
new Argument$Companion();
|
|
4552
|
-
}
|
|
4639
|
+
}
|
|
4640
|
+
return Argument$Companion_instance;
|
|
4553
4641
|
}
|
|
4554
4642
|
Argument.$metadata$ = {
|
|
4555
4643
|
kind: Kind_CLASS,
|
|
@@ -4665,7 +4753,8 @@
|
|
|
4665
4753
|
function Graph$Companion_getInstance() {
|
|
4666
4754
|
if (Graph$Companion_instance === null) {
|
|
4667
4755
|
new Graph$Companion();
|
|
4668
|
-
}
|
|
4756
|
+
}
|
|
4757
|
+
return Graph$Companion_instance;
|
|
4669
4758
|
}
|
|
4670
4759
|
Graph.$metadata$ = {
|
|
4671
4760
|
kind: Kind_CLASS,
|
|
@@ -4891,7 +4980,8 @@
|
|
|
4891
4980
|
function EngineInterface_getInstance() {
|
|
4892
4981
|
if (EngineInterface_instance === null) {
|
|
4893
4982
|
new EngineInterface();
|
|
4894
|
-
}
|
|
4983
|
+
}
|
|
4984
|
+
return EngineInterface_instance;
|
|
4895
4985
|
}
|
|
4896
4986
|
function AbstractMode() {
|
|
4897
4987
|
AbstractMode_instance = this;
|
|
@@ -4912,7 +5002,8 @@
|
|
|
4912
5002
|
function AbstractMode_getInstance() {
|
|
4913
5003
|
if (AbstractMode_instance === null) {
|
|
4914
5004
|
new AbstractMode();
|
|
4915
|
-
}
|
|
5005
|
+
}
|
|
5006
|
+
return AbstractMode_instance;
|
|
4916
5007
|
}
|
|
4917
5008
|
function ArgumentationGraphBuilder() {
|
|
4918
5009
|
ArgumentationGraphBuilder_instance = this;
|
|
@@ -4933,7 +5024,8 @@
|
|
|
4933
5024
|
function ArgumentationGraphBuilder_getInstance() {
|
|
4934
5025
|
if (ArgumentationGraphBuilder_instance === null) {
|
|
4935
5026
|
new ArgumentationGraphBuilder();
|
|
4936
|
-
}
|
|
5027
|
+
}
|
|
5028
|
+
return ArgumentationGraphBuilder_instance;
|
|
4937
5029
|
}
|
|
4938
5030
|
function AttackRestrictionHandler() {
|
|
4939
5031
|
AttackRestrictionHandler_instance = this;
|
|
@@ -4954,7 +5046,8 @@
|
|
|
4954
5046
|
function AttackRestrictionHandler_getInstance() {
|
|
4955
5047
|
if (AttackRestrictionHandler_instance === null) {
|
|
4956
5048
|
new AttackRestrictionHandler();
|
|
4957
|
-
}
|
|
5049
|
+
}
|
|
5050
|
+
return AttackRestrictionHandler_instance;
|
|
4958
5051
|
}
|
|
4959
5052
|
function BpMetaGraphHandler() {
|
|
4960
5053
|
BpMetaGraphHandler_instance = this;
|
|
@@ -4975,7 +5068,8 @@
|
|
|
4975
5068
|
function BpMetaGraphHandler_getInstance() {
|
|
4976
5069
|
if (BpMetaGraphHandler_instance === null) {
|
|
4977
5070
|
new BpMetaGraphHandler();
|
|
4978
|
-
}
|
|
5071
|
+
}
|
|
5072
|
+
return BpMetaGraphHandler_instance;
|
|
4979
5073
|
}
|
|
4980
5074
|
function DefeasiblePreferencesHandler() {
|
|
4981
5075
|
DefeasiblePreferencesHandler_instance = this;
|
|
@@ -4996,7 +5090,8 @@
|
|
|
4996
5090
|
function DefeasiblePreferencesHandler_getInstance() {
|
|
4997
5091
|
if (DefeasiblePreferencesHandler_instance === null) {
|
|
4998
5092
|
new DefeasiblePreferencesHandler();
|
|
4999
|
-
}
|
|
5093
|
+
}
|
|
5094
|
+
return DefeasiblePreferencesHandler_instance;
|
|
5000
5095
|
}
|
|
5001
5096
|
function GenericDefeasiblePreferencesHandler() {
|
|
5002
5097
|
GenericDefeasiblePreferencesHandler_instance = this;
|
|
@@ -5017,7 +5112,8 @@
|
|
|
5017
5112
|
function GenericDefeasiblePreferencesHandler_getInstance() {
|
|
5018
5113
|
if (GenericDefeasiblePreferencesHandler_instance === null) {
|
|
5019
5114
|
new GenericDefeasiblePreferencesHandler();
|
|
5020
|
-
}
|
|
5115
|
+
}
|
|
5116
|
+
return GenericDefeasiblePreferencesHandler_instance;
|
|
5021
5117
|
}
|
|
5022
5118
|
function StrictPreferencesHandler() {
|
|
5023
5119
|
StrictPreferencesHandler_instance = this;
|
|
@@ -5038,7 +5134,8 @@
|
|
|
5038
5134
|
function StrictPreferencesHandler_getInstance() {
|
|
5039
5135
|
if (StrictPreferencesHandler_instance === null) {
|
|
5040
5136
|
new StrictPreferencesHandler();
|
|
5041
|
-
}
|
|
5137
|
+
}
|
|
5138
|
+
return StrictPreferencesHandler_instance;
|
|
5042
5139
|
}
|
|
5043
5140
|
function BpCompleteLabeller() {
|
|
5044
5141
|
BpCompleteLabeller_instance = this;
|
|
@@ -5059,7 +5156,8 @@
|
|
|
5059
5156
|
function BpCompleteLabeller_getInstance() {
|
|
5060
5157
|
if (BpCompleteLabeller_instance === null) {
|
|
5061
5158
|
new BpCompleteLabeller();
|
|
5062
|
-
}
|
|
5159
|
+
}
|
|
5160
|
+
return BpCompleteLabeller_instance;
|
|
5063
5161
|
}
|
|
5064
5162
|
function BpLabeller() {
|
|
5065
5163
|
BpLabeller_instance = this;
|
|
@@ -5080,7 +5178,8 @@
|
|
|
5080
5178
|
function BpLabeller_getInstance() {
|
|
5081
5179
|
if (BpLabeller_instance === null) {
|
|
5082
5180
|
new BpLabeller();
|
|
5083
|
-
}
|
|
5181
|
+
}
|
|
5182
|
+
return BpLabeller_instance;
|
|
5084
5183
|
}
|
|
5085
5184
|
function BpPartialLabeller() {
|
|
5086
5185
|
BpPartialLabeller_instance = this;
|
|
@@ -5101,7 +5200,8 @@
|
|
|
5101
5200
|
function BpPartialLabeller_getInstance() {
|
|
5102
5201
|
if (BpPartialLabeller_instance === null) {
|
|
5103
5202
|
new BpPartialLabeller();
|
|
5104
|
-
}
|
|
5203
|
+
}
|
|
5204
|
+
return BpPartialLabeller_instance;
|
|
5105
5205
|
}
|
|
5106
5206
|
function CompleteLabeller() {
|
|
5107
5207
|
CompleteLabeller_instance = this;
|
|
@@ -5122,7 +5222,8 @@
|
|
|
5122
5222
|
function CompleteLabeller_getInstance() {
|
|
5123
5223
|
if (CompleteLabeller_instance === null) {
|
|
5124
5224
|
new CompleteLabeller();
|
|
5125
|
-
}
|
|
5225
|
+
}
|
|
5226
|
+
return CompleteLabeller_instance;
|
|
5126
5227
|
}
|
|
5127
5228
|
function GroundedLabeller() {
|
|
5128
5229
|
GroundedLabeller_instance = this;
|
|
@@ -5143,7 +5244,8 @@
|
|
|
5143
5244
|
function GroundedLabeller_getInstance() {
|
|
5144
5245
|
if (GroundedLabeller_instance === null) {
|
|
5145
5246
|
new GroundedLabeller();
|
|
5146
|
-
}
|
|
5247
|
+
}
|
|
5248
|
+
return GroundedLabeller_instance;
|
|
5147
5249
|
}
|
|
5148
5250
|
function GroundedLabellerOptimized() {
|
|
5149
5251
|
GroundedLabellerOptimized_instance = this;
|
|
@@ -5164,7 +5266,8 @@
|
|
|
5164
5266
|
function GroundedLabellerOptimized_getInstance() {
|
|
5165
5267
|
if (GroundedLabellerOptimized_instance === null) {
|
|
5166
5268
|
new GroundedLabellerOptimized();
|
|
5167
|
-
}
|
|
5269
|
+
}
|
|
5270
|
+
return GroundedLabellerOptimized_instance;
|
|
5168
5271
|
}
|
|
5169
5272
|
function StatementLabeller() {
|
|
5170
5273
|
StatementLabeller_instance = this;
|
|
@@ -5185,7 +5288,8 @@
|
|
|
5185
5288
|
function StatementLabeller_getInstance() {
|
|
5186
5289
|
if (StatementLabeller_instance === null) {
|
|
5187
5290
|
new StatementLabeller();
|
|
5188
|
-
}
|
|
5291
|
+
}
|
|
5292
|
+
return StatementLabeller_instance;
|
|
5189
5293
|
}
|
|
5190
5294
|
function RuleParser() {
|
|
5191
5295
|
RuleParser_instance = this;
|
|
@@ -5206,7 +5310,8 @@
|
|
|
5206
5310
|
function RuleParser_getInstance() {
|
|
5207
5311
|
if (RuleParser_instance === null) {
|
|
5208
5312
|
new RuleParser();
|
|
5209
|
-
}
|
|
5313
|
+
}
|
|
5314
|
+
return RuleParser_instance;
|
|
5210
5315
|
}
|
|
5211
5316
|
function AbstractMode_0() {
|
|
5212
5317
|
AbstractMode_instance_0 = this;
|
|
@@ -5221,7 +5326,8 @@
|
|
|
5221
5326
|
function AbstractMode_getInstance_0() {
|
|
5222
5327
|
if (AbstractMode_instance_0 === null) {
|
|
5223
5328
|
new AbstractMode_0();
|
|
5224
|
-
}
|
|
5329
|
+
}
|
|
5330
|
+
return AbstractMode_instance_0;
|
|
5225
5331
|
}
|
|
5226
5332
|
function ArgumentationEngineInterface() {
|
|
5227
5333
|
ArgumentationEngineInterface_instance = this;
|
|
@@ -5236,7 +5342,8 @@
|
|
|
5236
5342
|
function ArgumentationEngineInterface_getInstance() {
|
|
5237
5343
|
if (ArgumentationEngineInterface_instance === null) {
|
|
5238
5344
|
new ArgumentationEngineInterface();
|
|
5239
|
-
}
|
|
5345
|
+
}
|
|
5346
|
+
return ArgumentationEngineInterface_instance;
|
|
5240
5347
|
}
|
|
5241
5348
|
function ArgumentationGraph() {
|
|
5242
5349
|
ArgumentationGraph_instance = this;
|
|
@@ -5251,7 +5358,8 @@
|
|
|
5251
5358
|
function ArgumentationGraph_getInstance() {
|
|
5252
5359
|
if (ArgumentationGraph_instance === null) {
|
|
5253
5360
|
new ArgumentationGraph();
|
|
5254
|
-
}
|
|
5361
|
+
}
|
|
5362
|
+
return ArgumentationGraph_instance;
|
|
5255
5363
|
}
|
|
5256
5364
|
function AttackRestriction() {
|
|
5257
5365
|
AttackRestriction_instance = this;
|
|
@@ -5266,7 +5374,8 @@
|
|
|
5266
5374
|
function AttackRestriction_getInstance() {
|
|
5267
5375
|
if (AttackRestriction_instance === null) {
|
|
5268
5376
|
new AttackRestriction();
|
|
5269
|
-
}
|
|
5377
|
+
}
|
|
5378
|
+
return AttackRestriction_instance;
|
|
5270
5379
|
}
|
|
5271
5380
|
function Bp() {
|
|
5272
5381
|
Bp_instance = this;
|
|
@@ -5281,7 +5390,8 @@
|
|
|
5281
5390
|
function Bp_getInstance() {
|
|
5282
5391
|
if (Bp_instance === null) {
|
|
5283
5392
|
new Bp();
|
|
5284
|
-
}
|
|
5393
|
+
}
|
|
5394
|
+
return Bp_instance;
|
|
5285
5395
|
}
|
|
5286
5396
|
function BpGrounded() {
|
|
5287
5397
|
BpGrounded_instance = this;
|
|
@@ -5296,7 +5406,8 @@
|
|
|
5296
5406
|
function BpGrounded_getInstance() {
|
|
5297
5407
|
if (BpGrounded_instance === null) {
|
|
5298
5408
|
new BpGrounded();
|
|
5299
|
-
}
|
|
5409
|
+
}
|
|
5410
|
+
return BpGrounded_instance;
|
|
5300
5411
|
}
|
|
5301
5412
|
function BpGroundedComplete() {
|
|
5302
5413
|
BpGroundedComplete_instance = this;
|
|
@@ -5311,7 +5422,8 @@
|
|
|
5311
5422
|
function BpGroundedComplete_getInstance() {
|
|
5312
5423
|
if (BpGroundedComplete_instance === null) {
|
|
5313
5424
|
new BpGroundedComplete();
|
|
5314
|
-
}
|
|
5425
|
+
}
|
|
5426
|
+
return BpGroundedComplete_instance;
|
|
5315
5427
|
}
|
|
5316
5428
|
function BpGroundedPartial() {
|
|
5317
5429
|
BpGroundedPartial_instance = this;
|
|
@@ -5326,7 +5438,8 @@
|
|
|
5326
5438
|
function BpGroundedPartial_getInstance() {
|
|
5327
5439
|
if (BpGroundedPartial_instance === null) {
|
|
5328
5440
|
new BpGroundedPartial();
|
|
5329
|
-
}
|
|
5441
|
+
}
|
|
5442
|
+
return BpGroundedPartial_instance;
|
|
5330
5443
|
}
|
|
5331
5444
|
function Complete() {
|
|
5332
5445
|
Complete_instance = this;
|
|
@@ -5341,7 +5454,8 @@
|
|
|
5341
5454
|
function Complete_getInstance() {
|
|
5342
5455
|
if (Complete_instance === null) {
|
|
5343
5456
|
new Complete();
|
|
5344
|
-
}
|
|
5457
|
+
}
|
|
5458
|
+
return Complete_instance;
|
|
5345
5459
|
}
|
|
5346
5460
|
function Debug() {
|
|
5347
5461
|
Debug_instance = this;
|
|
@@ -5356,7 +5470,8 @@
|
|
|
5356
5470
|
function Debug_getInstance() {
|
|
5357
5471
|
if (Debug_instance === null) {
|
|
5358
5472
|
new Debug();
|
|
5359
|
-
}
|
|
5473
|
+
}
|
|
5474
|
+
return Debug_instance;
|
|
5360
5475
|
}
|
|
5361
5476
|
function DefPreferences() {
|
|
5362
5477
|
DefPreferences_instance = this;
|
|
@@ -5371,7 +5486,8 @@
|
|
|
5371
5486
|
function DefPreferences_getInstance() {
|
|
5372
5487
|
if (DefPreferences_instance === null) {
|
|
5373
5488
|
new DefPreferences();
|
|
5374
|
-
}
|
|
5489
|
+
}
|
|
5490
|
+
return DefPreferences_instance;
|
|
5375
5491
|
}
|
|
5376
5492
|
function GenericDefPreferences() {
|
|
5377
5493
|
GenericDefPreferences_instance = this;
|
|
@@ -5386,7 +5502,8 @@
|
|
|
5386
5502
|
function GenericDefPreferences_getInstance() {
|
|
5387
5503
|
if (GenericDefPreferences_instance === null) {
|
|
5388
5504
|
new GenericDefPreferences();
|
|
5389
|
-
}
|
|
5505
|
+
}
|
|
5506
|
+
return GenericDefPreferences_instance;
|
|
5390
5507
|
}
|
|
5391
5508
|
function Grounded() {
|
|
5392
5509
|
Grounded_instance = this;
|
|
@@ -5401,7 +5518,8 @@
|
|
|
5401
5518
|
function Grounded_getInstance() {
|
|
5402
5519
|
if (Grounded_instance === null) {
|
|
5403
5520
|
new Grounded();
|
|
5404
|
-
}
|
|
5521
|
+
}
|
|
5522
|
+
return Grounded_instance;
|
|
5405
5523
|
}
|
|
5406
5524
|
function GroundedOptimized() {
|
|
5407
5525
|
GroundedOptimized_instance = this;
|
|
@@ -5416,7 +5534,8 @@
|
|
|
5416
5534
|
function GroundedOptimized_getInstance() {
|
|
5417
5535
|
if (GroundedOptimized_instance === null) {
|
|
5418
5536
|
new GroundedOptimized();
|
|
5419
|
-
}
|
|
5537
|
+
}
|
|
5538
|
+
return GroundedOptimized_instance;
|
|
5420
5539
|
}
|
|
5421
5540
|
function Preferences() {
|
|
5422
5541
|
Preferences_instance = this;
|
|
@@ -5431,7 +5550,8 @@
|
|
|
5431
5550
|
function Preferences_getInstance() {
|
|
5432
5551
|
if (Preferences_instance === null) {
|
|
5433
5552
|
new Preferences();
|
|
5434
|
-
}
|
|
5553
|
+
}
|
|
5554
|
+
return Preferences_instance;
|
|
5435
5555
|
}
|
|
5436
5556
|
function QueryMode_0() {
|
|
5437
5557
|
QueryMode_instance_0 = this;
|
|
@@ -5446,7 +5566,8 @@
|
|
|
5446
5566
|
function QueryMode_getInstance_0() {
|
|
5447
5567
|
if (QueryMode_instance_0 === null) {
|
|
5448
5568
|
new QueryMode_0();
|
|
5449
|
-
}
|
|
5569
|
+
}
|
|
5570
|
+
return QueryMode_instance_0;
|
|
5450
5571
|
}
|
|
5451
5572
|
function RuleTranslator() {
|
|
5452
5573
|
RuleTranslator_instance = this;
|
|
@@ -5461,7 +5582,8 @@
|
|
|
5461
5582
|
function RuleTranslator_getInstance() {
|
|
5462
5583
|
if (RuleTranslator_instance === null) {
|
|
5463
5584
|
new RuleTranslator();
|
|
5464
|
-
}
|
|
5585
|
+
}
|
|
5586
|
+
return RuleTranslator_instance;
|
|
5465
5587
|
}
|
|
5466
5588
|
function StatementLabelling() {
|
|
5467
5589
|
StatementLabelling_instance = this;
|
|
@@ -5476,7 +5598,8 @@
|
|
|
5476
5598
|
function StatementLabelling_getInstance() {
|
|
5477
5599
|
if (StatementLabelling_instance === null) {
|
|
5478
5600
|
new StatementLabelling();
|
|
5479
|
-
}
|
|
5601
|
+
}
|
|
5602
|
+
return StatementLabelling_instance;
|
|
5480
5603
|
}
|
|
5481
5604
|
function SuperiorityRelation() {
|
|
5482
5605
|
SuperiorityRelation_instance = this;
|
|
@@ -5491,7 +5614,8 @@
|
|
|
5491
5614
|
function SuperiorityRelation_getInstance() {
|
|
5492
5615
|
if (SuperiorityRelation_instance === null) {
|
|
5493
5616
|
new SuperiorityRelation();
|
|
5494
|
-
}
|
|
5617
|
+
}
|
|
5618
|
+
return SuperiorityRelation_instance;
|
|
5495
5619
|
}
|
|
5496
5620
|
function Utils() {
|
|
5497
5621
|
Utils_instance = this;
|
|
@@ -5506,7 +5630,8 @@
|
|
|
5506
5630
|
function Utils_getInstance() {
|
|
5507
5631
|
if (Utils_instance === null) {
|
|
5508
5632
|
new Utils();
|
|
5509
|
-
}
|
|
5633
|
+
}
|
|
5634
|
+
return Utils_instance;
|
|
5510
5635
|
}
|
|
5511
5636
|
function StructuredMode() {
|
|
5512
5637
|
StructuredMode_instance = this;
|
|
@@ -5527,7 +5652,8 @@
|
|
|
5527
5652
|
function StructuredMode_getInstance() {
|
|
5528
5653
|
if (StructuredMode_instance === null) {
|
|
5529
5654
|
new StructuredMode();
|
|
5530
|
-
}
|
|
5655
|
+
}
|
|
5656
|
+
return StructuredMode_instance;
|
|
5531
5657
|
}
|
|
5532
5658
|
function Debug_0() {
|
|
5533
5659
|
Debug_instance_0 = this;
|
|
@@ -5548,7 +5674,8 @@
|
|
|
5548
5674
|
function Debug_getInstance_0() {
|
|
5549
5675
|
if (Debug_instance_0 === null) {
|
|
5550
5676
|
new Debug_0();
|
|
5551
|
-
}
|
|
5677
|
+
}
|
|
5678
|
+
return Debug_instance_0;
|
|
5552
5679
|
}
|
|
5553
5680
|
function SuperiorityRelation_0() {
|
|
5554
5681
|
SuperiorityRelation_instance_0 = this;
|
|
@@ -5569,7 +5696,8 @@
|
|
|
5569
5696
|
function SuperiorityRelation_getInstance_0() {
|
|
5570
5697
|
if (SuperiorityRelation_instance_0 === null) {
|
|
5571
5698
|
new SuperiorityRelation_0();
|
|
5572
|
-
}
|
|
5699
|
+
}
|
|
5700
|
+
return SuperiorityRelation_instance_0;
|
|
5573
5701
|
}
|
|
5574
5702
|
function Utils_0() {
|
|
5575
5703
|
Utils_instance_0 = this;
|
|
@@ -5590,7 +5718,8 @@
|
|
|
5590
5718
|
function Utils_getInstance_0() {
|
|
5591
5719
|
if (Utils_instance_0 === null) {
|
|
5592
5720
|
new Utils_0();
|
|
5593
|
-
}
|
|
5721
|
+
}
|
|
5722
|
+
return Utils_instance_0;
|
|
5594
5723
|
}
|
|
5595
5724
|
Object.defineProperty(Arg2pSolver, 'Companion', {
|
|
5596
5725
|
get: Arg2pSolver$Companion_getInstance
|
|
@@ -6081,9 +6210,9 @@
|
|
|
6081
6210
|
PrologWithArgumentationImpl.prototype.anyMguWith = PrologWithArgumentation.prototype.anyMguWith;
|
|
6082
6211
|
PrologWithArgumentationImpl.prototype.anyUnifyWith = PrologWithArgumentation.prototype.anyUnifyWith;
|
|
6083
6212
|
PrologWithArgumentationImpl.prototype.list = PrologWithArgumentation.prototype.list;
|
|
6213
|
+
PrologWithArgumentationImpl.prototype.listFrom = PrologWithArgumentation.prototype.listFrom;
|
|
6084
6214
|
PrologWithArgumentationImpl.prototype.listFromIterable = PrologWithArgumentation.prototype.listFromIterable;
|
|
6085
6215
|
PrologWithArgumentationImpl.prototype.listFromSequence = PrologWithArgumentation.prototype.listFromSequence;
|
|
6086
|
-
PrologWithArgumentationImpl.prototype.listFrom = PrologWithArgumentation.prototype.listFrom;
|
|
6087
6216
|
PrologWithArgumentationImpl.prototype.matchAny = PrologWithArgumentation.prototype.matchAny;
|
|
6088
6217
|
PrologWithArgumentationImpl.prototype.mguWithOccurCheck = PrologWithArgumentation.prototype.mguWithOccurCheck;
|
|
6089
6218
|
PrologWithArgumentationImpl.prototype.mguAny = PrologWithArgumentation.prototype.mguAny;
|